.campus-panel{padding-top:24px!important}.campus-panel .section-label{margin-bottom:14px}.campus-panel .section-label button{margin-left:auto;color:var(--lime,#bed17c);border:0;background:none;font:inherit;cursor:pointer}
#campus-map{display:block;width:100%;height:230px;object-fit:contain;background:#10241f;border:1px solid #33483d;border-radius:5px;cursor:crosshair}.map-credit{display:block;font:9px monospace;color:#9eafa3;text-align:right;margin:7px 0 14px;text-decoration:none}.map-credit:hover{text-decoration:underline}
.campus-search-row{display:flex;gap:6px;margin:14px 0 8px}.campus-search-row input,.campus-search-row select{min-width:0;border:1px solid #34483d;border-radius:4px;background:#14251f;color:#d9e2d7;padding:10px;font:12px inherit}.campus-search-row input{flex:1;width:55%}.campus-search-row select{width:100px}
.campus-shortcuts{display:flex;gap:6px;flex-wrap:wrap}.campus-shortcuts button{border:1px solid #384c3e;color:#bfccb9;border-radius:20px;padding:6px 9px;background:#1b2d24;font:11px inherit;cursor:pointer}.campus-shortcuts button:hover{background:#3b5030;color:#e6efbc}
.campus-result-count{font:10px monospace;color:#a7b49e;margin:8px 0}.campus-results{max-height:145px;overflow:auto;border-bottom:1px solid #33483d;margin-bottom:12px}.campus-result{display:block;width:100%;text-align:left;color:#b4c1b2;background:none;border:0;padding:8px 7px;border-radius:3px;cursor:pointer;font:12px inherit}.campus-result:hover,.campus-result[aria-pressed=true]{color:#e0e9b5;background:#293d2d}.campus-results p{font-size:12px}
.campus-place-type{font:10px monospace;color:#9eae90;text-transform:uppercase}.campus-selected{display:block;background:none;border:0;color:#e4ebd7;font:600 17px inherit;text-align:left;margin:5px 0 14px;padding:0;cursor:pointer}.campus-actions{display:flex;gap:7px}.campus-actions button{flex:1;border:1px solid #49603e;padding:11px 6px;border-radius:4px;background:#263c28;color:#e0e9c2;font:12px inherit;cursor:pointer}.campus-actions button:hover{background:#3f5631}
.campus-legend{display:flex;gap:12px;font:9px monospace;color:#a8b6a3;margin-top:10px}.campus-legend span:first-child{color:#d8ffff}.campus-legend span:last-child{color:#edb171}
.campus-shortcuts button{font-size:11px}.campus-result{font-size:12px}.campus-selected{font-size:17px;font-weight:600}.campus-actions button{font-size:12px}.campus-search-row input,.campus-search-row select{font-size:12px;font-family:inherit}.campus-panel{grid-column:1/-1}
#campus-aerial{margin-top:7px}#campus-aerial[hidden]{display:none}
#ceng-view-actions{margin-top:7px}#ceng-view-actions[hidden]{display:none}
.stage-footer .world-credit{background:#10211de6;border-radius:3px;padding:3px 5px;color:#c6d1bb}
.stage-heading h1{max-width:420px;overflow-wrap:anywhere}.stage-heading h1.place-title{font-size:clamp(22px,3vw,38px);max-width:350px;line-height:1.15}.stage-footer .world-credit{font-size:8px;color:#9faf9e;text-decoration:none}.stage-footer{flex-wrap:wrap;gap:5px}
.touch-walk{position:absolute;left:18px;bottom:110px;display:none;grid-template-columns:repeat(3,42px);gap:4px;z-index:5}.touch-walk button{width:42px;height:42px;background:#14271fd9;border:1px solid #6e8258;color:#e4edbf;border-radius:7px;touch-action:none}.touch-walk button:first-child{grid-column:2}.touch-walk button:nth-child(2){grid-column:1}
.world-labels{position:absolute;inset:0;pointer-events:none;z-index:2}.air-camera .world-labels{display:none}.world-labels .place-label{position:absolute;left:0;top:0;max-width:190px;text-align:center;border:1px solid #738755;background:#10231bf2;color:#f0f5db;padding:5px 8px;font:11px/1.3 sans-serif;border-radius:5px;box-shadow:0 2px 8px #101b1766}.world-labels .stop-label{border-color:#86bbf1;background:#143653f2;color:#fff}
.transit-panel{border:1px solid #67806c;background:#162b22}.transit-panel .section-label{flex-wrap:wrap}.transit-panel h3{font-size:12px}.transit-panel p{font-size:12px;line-height:1.5;color:#d4e6cb}.transit-panel small{display:block;font-size:11px;line-height:1.5;color:#a9c0aa}.transit-panel ul{list-style:none;margin:12px 0;padding:0}.transit-panel li{display:flex;justify-content:space-between;gap:12px;font-size:12px;border-top:1px solid #3b5140;padding:9px 0}.transit-panel li strong{white-space:nowrap;color:#d4e995}.transit-panel output{font-size:11px;color:#d4e995;margin-left:auto}body.driving .inspector{scroll-behavior:smooth}body.driving #transit-panel{position:sticky;top:0;z-index:6;max-height:65dvh;overflow:auto}@media(max-width:700px){.transit-panel{grid-column:1/-1}body.driving #transit-panel{position:static;max-height:none}}
.air-only{display:none}body.air-camera .air-only{display:block}body.air-camera .stage-footer{letter-spacing:0}.scene-tools{max-width:calc(100% - 42px);flex-wrap:wrap}
@media(pointer:coarse){body.walking .touch-walk{display:grid}}@media(max-width:700px){#campus-map{height:260px}.stage-heading h1.place-title{max-width:220px;font-size:25px}.scene-tools button{padding:7px 6px}.scene-tools button span{font-size:10px;margin-left:2px}}
/* One flowing bottom dock: longer instructions never collide with playback. */
.scene-bottom{position:absolute;left:24px;right:24px;bottom:16px;display:grid;grid-template-columns:minmax(0,1fr);gap:8px;z-index:4;pointer-events:none}
.scene-bottom>*{pointer-events:auto;min-width:0}
.scene-bottom .playback{position:static;min-height:60px;height:auto;margin:0}
.scene-bottom .touch-walk{position:static;width:max-content}
.bus-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;width:max-content;max-width:100%}/* Hide the row only when every context button is hidden, including the court,
   car and passenger buttons added later (they were invisible before this list). */
.bus-controls:has(#bus-action[hidden]):has(#heli-action[hidden]):has(output[hidden]):has(#ride-action[hidden]):has(#car-action[hidden]):has(#court-bot[hidden]):has(#court-online[hidden]):has(#court-invite[hidden]):has(#court-leave[hidden]){display:none}.bus-controls button,.bus-controls output{padding:10px 14px;border:1px solid #7e9462;border-radius:6px;background:#152c23f5;color:#eef5da;font:600 12px monospace}.drive-only{display:none}body.driving .drive-only{display:block}
.scene-bottom .stage-footer{position:static;display:block;padding:12px 14px;border:1px solid #60735d;border-radius:7px;background:#14231bf5;color:#edf3e7;box-shadow:0 2px 12px #0003;letter-spacing:0;font-size:12px;line-height:1.6}
#interaction-hint{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px}
.hint-item{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
#interaction-hint kbd{font:600 11px monospace;color:#f4f8e9;background:#3a4c31;border:1px solid #798d61;border-bottom-width:2px;border-radius:4px;padding:2px 6px}
.stage-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 14px;margin-top:9px;padding-top:7px;border-top:1px solid #425344;color:#b9c9b9;font:10px/1.5 monospace}
.stage-meta .world-credit{padding:0;background:none;color:#c4d4c3;font-size:10px}
.stage-meta #fps{white-space:nowrap}
.feedback-link{display:flex;flex-direction:column;gap:5px;padding:7px;border-left:1px solid #415343;font-size:12px;color:#e7efd8}.feedback-link small{font-size:10px;color:#b8ccb7}.feedback-link:hover{color:var(--lime)}
.welcome-dialog{width:480px;max-width:calc(100% - 32px);max-height:calc(100dvh - 32px);overflow:auto;padding:36px;border:1px solid #6b8058;border-radius:16px;background:#14231d;color:#eef2e4;box-shadow:0 24px 100px #0009}
.welcome-dialog::backdrop{background:#08120dbd;backdrop-filter:blur(6px)}
.welcome-dialog h2{font-size:32px;line-height:1.1;letter-spacing:-1px;margin:24px 0 14px}.welcome-dialog h3{font-size:13px;margin:24px 0 12px}.welcome-dialog p{font-size:14px;line-height:1.65;color:#bdcbbf}
.welcome-dialog .welcome-close{position:absolute;right:12px;top:10px;width:36px;height:36px;font-size:26px;color:#d1ddc8}.welcome-dialog .eyebrow{padding-right:18px}
.avatar-choice{display:flex;flex-direction:row;gap:6px}.avatar-choice button{flex:1;min-height:42px}.welcome-dialog .welcome-note{font-size:11px;margin:12px 0 20px}.welcome-dialog .primary{width:100%;font-size:14px;padding:15px}
.welcome-feedback{border-top:1px solid #435741;margin-top:24px;padding-top:4px}.welcome-feedback h3{margin-top:16px}.welcome-feedback p{margin:4px 0}.welcome-feedback a{display:block;color:#d8ecab;font-size:13px;overflow-wrap:anywhere;margin:10px 0 0}
.welcome-dialog .welcome-independence{font-size:12px;color:#aebda9}.welcome-new{padding:14px 16px;background:#253b2b;border:1px solid #526b42;border-radius:8px}.welcome-new h3{margin:0 0 7px;color:#d6e9a5}.welcome-new p{margin:0;font-size:13px}.welcome-new strong{color:#ecf4d9}
.map-controls{display:flex;gap:5px;align-items:center;flex-wrap:wrap;margin-top:8px}.map-controls button{min-height:36px;padding:6px 10px;border:1px solid #4e6655;border-radius:5px;background:#20392d;color:#e4efd7;cursor:pointer}.map-controls button[aria-pressed="true"]{background:#4d613b;border-color:#b9d17d}.map-controls button:disabled{opacity:.4;cursor:default}.map-controls output{margin-left:auto;color:#bcceaa;font:11px monospace}.map-location{font:11px/1.5 sans-serif;color:#c4d8bf;margin:9px 0}.campus-legend{flex-wrap:wrap}
#campus-map{height:auto;aspect-ratio:4/3;touch-action:none;cursor:grab}#campus-map:active{cursor:grabbing}
.walk-only{display:none}body.walking:not(.driving):not(.air-camera) .walk-only{display:block}
.stage-top-right #play-panels,.stage-top-right #play-camera{width:auto;padding:0 10px;font:11px monospace;background:#10231bee;color:#e7efd8}
body.play-focus .workspace{grid-template-columns:minmax(0,1fr)}body.play-focus .inspector{display:none}body.play-focus .scene-tools{top:18px;left:18px;max-width:calc(100% - 340px)}body.play-focus .stage-top-right{top:18px;right:18px}
body.play-focus .playback{display:none}body.play-focus .scene-bottom .stage-footer{padding:7px 10px;background:#14231bdc;font-size:11px}body.play-focus .stage-meta{display:none}
#play-hud{display:none;position:absolute;inset:0;pointer-events:none;z-index:3}body.play-focus #play-hud{display:block}
.play-radar{position:absolute;left:24px;bottom:133px;width:184px;padding:5px;border:1px solid #89b5a388;border-radius:10px;background:#0c211ae8;box-shadow:0 8px 25px #0004}.play-radar button{display:block;width:100%;padding:0;pointer-events:auto}.play-radar canvas{display:block;width:100%;border-radius:6px}.play-radar p{font:10px/1.4 sans-serif;color:#d9eee2;margin:6px 3px}.play-radar small{font:7px monospace;color:#b0c0ac;display:block;margin:0 3px 3px}
.play-dashboard{position:absolute;right:24px;top:78px;width:242px;border-top:3px solid #a8d0bc;border-radius:6px;background:#0d211ae8;padding:14px;color:#e4efdb;box-shadow:0 8px 25px #0003}.play-dashboard>span{font:10px monospace;letter-spacing:2px;color:#abc5b4}.play-dashboard p{font:11px/1.5 sans-serif;margin:7px 0 0}.play-dashboard #play-speed{display:flex;align-items:baseline;gap:8px}.play-dashboard strong{font:600 48px/1.2 monospace;color:#d5e4ac;font-variant-numeric:tabular-nums}.play-dashboard small{font:10px monospace}.play-dashboard b{margin-left:auto;border:1px solid #779579;padding:4px 7px;font:14px monospace;color:#d4dfb3}#play-destinations{white-space:pre-line;border-top:1px solid #496550;padding-top:8px;color:#b7cab5;max-height:120px;overflow:hidden}
@media(max-width:700px){body.play-focus .stage{height:calc(100dvh - 112px);min-height:570px}body.play-focus .scene-tools{top:58px;left:12px;max-width:calc(100% - 24px)}body.play-focus .stage-top-right{top:12px;right:12px}.play-dashboard{right:12px;top:105px;width:170px;padding:9px}.play-dashboard strong{font-size:34px}.play-dashboard p{font-size:10px}.play-dashboard #play-destinations{max-height:72px}.play-radar{left:12px;bottom:180px;width:130px}.play-radar p{font-size:9px}body.play-focus .bus-controls{gap:5px}body.play-focus .bus-controls button,body.play-focus .bus-controls output{padding:8px;font-size:10px}body.play-focus .stage-footer .hint-item{font-size:10px}body.play-focus .touch-walk{position:absolute;right:0;left:auto;bottom:130px}body.play-focus .scene-bottom{bottom:10px}}
@media(max-width:1100px){.header-links .live{display:none}.topbar{gap:12px;padding-left:18px;padding-right:18px}.topbar nav{gap:12px}.header-links{gap:8px}}
@media(max-width:700px){.topbar{height:auto;min-height:96px;flex-wrap:wrap;padding:10px 16px;gap:8px 12px}.topbar nav{margin-left:auto}.header-links{width:100%;justify-content:space-between}.feedback-link{align-items:flex-end;border-left:0;padding:3px}.profile-link{padding:2px}.profile-heading{display:flex}.workspace{height:auto}.welcome-dialog{padding:28px 22px}.welcome-dialog h2{font-size:28px}}
@media(max-width:700px){.scene-bottom{left:12px;right:12px;bottom:12px;gap:7px}.scene-bottom .stage-footer{padding:10px 11px}#interaction-hint{gap:7px 14px}.scene-bottom .playback{min-height:48px;padding:5px 8px}.scene-bottom .playback .eyebrow{display:none}.scene-bottom .timecode{font-size:17px;margin:0}}
/* Aircraft shares the existing touch steering and compact play view. */
.helicopter-only{display:none!important}body.helicopter .helicopter-only{display:inline-flex!important}body.helicopter .walk-only{display:none!important}
/* Full-screen game layout (2026-12): the scene fills the window; a slim top bar,
   one mode bar, an always-on minimap and a slide-in menu replace the old
   two-column workspace, camera row, timeline and long side panel. */
body.game-ui{height:100dvh;overflow:hidden}
.game-ui .topbar{position:fixed;inset:0 0 auto 0;height:62px;z-index:30;border:0;padding:0 16px;background:linear-gradient(#0b1511e0,#0b151100);pointer-events:none;justify-content:flex-start;gap:12px}
.game-ui .topbar>*{pointer-events:auto}.game-ui .brand{font-size:25px;margin-right:auto;text-decoration:none}.game-ui .brand-mark{font-size:28px;margin-right:10px}
.online-pill{display:flex;align-items:center;gap:8px;height:38px;padding:0 14px;border:1px solid #4f6b58;border-radius:999px;background:#0d1d17e6;color:#e5efdc;font:600 13px system-ui,sans-serif;white-space:nowrap}
.online-pill i{width:8px;height:8px;border-radius:50%;background:#7c8a80}.online-pill[data-state=online] i{background:#9be37b;box-shadow:0 0 8px #9be37b}.online-pill[data-state=connecting] i,.online-pill[data-state=retrying] i{background:#e0c068;animation:mp-blink 1s infinite alternate}
@keyframes mp-blink{to{opacity:.3}}@media(prefers-reduced-motion:reduce){.online-pill i{animation:none!important}}
button.menu-open{width:40px;height:40px;border:1px solid #4f6b58;border-radius:10px;background:#0d1d17e6;color:#e5efdc;font-size:19px}
.game-ui .workspace{display:block;height:100dvh;min-height:0}
.game-ui .stage{position:fixed;inset:0;height:100dvh;min-height:0}
.place-title{position:absolute;top:66px;left:16px;margin:0;padding:6px 11px;border-radius:9px;background:#0d1d17cc;color:#e9f1e0;font:600 13px system-ui,sans-serif;pointer-events:none;z-index:4;max-width:calc(100% - 32px)}
body.playing .place-title,.place-title:empty{display:none}
.game-ui .stage-top-right{top:70px;right:16px;z-index:5}.game-ui .stage-top-right #play-camera{width:auto;padding:0 10px;height:32px;font:600 12px system-ui,sans-serif;background:#0d1d17e6;color:#e7efd8;border-radius:8px}
.player-labels{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:2}
.player-label{position:absolute;left:0;top:0;padding:3px 8px;border-radius:7px;background:#0d1d17d9;border:1px solid #ffffff2e;color:#fff;font:600 12px system-ui,sans-serif;white-space:nowrap;will-change:transform}
.player-label:after{content:'';position:absolute;left:50%;top:100%;transform:translateX(-50%);border:5px solid transparent;border-top-color:#0d1d17d9}
/* Minimap, bottom right, every mode; the dashboard only while driving or flying. */
.game-ui #play-hud{display:block}.game-ui #play-hud[hidden]{display:block}
.game-ui .play-radar{left:auto;right:16px;bottom:96px;width:224px;border-radius:14px;border-color:#4f6b58;z-index:3}
.game-ui .play-dashboard{top:70px;left:16px;right:auto}body:not(.driving):not(.helicopter):not(.car-driving) .play-dashboard{display:none}
/* Bottom: contextual vehicle buttons above one mode bar. */
.game-ui .scene-bottom{left:16px;right:16px;bottom:14px;display:flex;flex-direction:column;align-items:center;gap:8px}
.mode-bar{display:flex;gap:6px;padding:6px;border-radius:16px;background:#0d1d17ee;border:1px solid #4f6b58;box-shadow:0 10px 30px #0006}
.mode-bar button{display:flex;flex-direction:column;align-items:center;gap:1px;min-width:80px;white-space:nowrap;padding:8px 12px;border-radius:11px;color:#d8e6d0;font:600 13px system-ui,sans-serif}
.mode-bar button b{font-size:14px;font-weight:400}.mode-bar button small{font:500 10px system-ui,sans-serif;color:#97ad98}
.mode-bar button:hover{background:#1c3127}.mode-bar button.active{background:#c7e08a;color:#14211a}.mode-bar button.active small{color:#3b4d30}
.game-ui .scene-bottom .stage-footer{position:fixed;left:16px;bottom:18px;width:max-content;max-width:calc(50% - 270px);padding:6px 9px;border:0;border-radius:8px;background:#0d1d17cc;font-size:11px;line-height:1.5;box-shadow:none;pointer-events:none}
.game-ui #interaction-hint{display:flex;flex-wrap:wrap;gap:2px 10px}.game-ui .hint-item kbd{font-size:9px}
.game-ui .bus-controls button,.game-ui .bus-controls output{border-radius:10px;font:600 12px system-ui,sans-serif}
.game-ui .scene-bottom .touch-walk{position:fixed;left:14px;bottom:96px}
/* The menu: a drawer over the scene instead of a permanent column. */
.game-ui .inspector{position:fixed;top:0;right:0;bottom:0;width:min(390px,100vw);z-index:40;border-left:1px solid var(--line);box-shadow:-14px 0 40px #0009;transform:translateX(105%);visibility:hidden;transition:transform .22s ease,visibility 0s .22s;overscroll-behavior:contain}
body.menu-open .inspector{transform:none;visibility:visible;transition:transform .22s ease}
@media(prefers-reduced-motion:reduce){.game-ui .inspector{transition:none}}
.menu-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:12px 20px;background:#0f1a15;border-bottom:1px solid var(--line)}
.menu-head h2{margin:0;font-size:20px}.menu-head button{width:36px;height:36px;font-size:24px;color:#dfe9d6;border-radius:8px}.menu-head button:hover{background:#1b2a20}
.menu-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.chip-button{display:inline-flex;align-items:center;gap:6px;padding:8px 11px;border:1px solid #42583f;border-radius:9px;background:#15241c;color:#dfe9d6;font:500 12px system-ui,sans-serif;text-decoration:none;white-space:nowrap}
.chip-button:hover{border-color:var(--lime)}.chip-button[aria-pressed=true],.chip-button.active{background:#c7e08a;color:#14211a;border-color:#c7e08a}
.game-ui .profile-link{flex-direction:row;min-height:0;color:#dfe9d6;font-size:12px;padding:8px 11px}
.online-me{margin:0 0 6px!important;color:#c9d8c2!important}
.online-list{list-style:none;margin:0;padding:0;max-height:min(400px,50dvh);overflow:auto;scrollbar-gutter:stable;overflow-anchor:none}
.online-list li{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;padding:12px 3px;border-top:1px solid #2c3e33;font:600 15px/1.4 system-ui,sans-serif;color:#e1ead9;overflow-wrap:anywhere}
.online-list li small{color:#adc1ad;font-size:13px;font-weight:400}
.online-list li div{display:flex;flex-wrap:wrap;gap:6px;margin-top:3px}
.online-list .chip-button{min-height:40px;padding:5px 9px;font-size:13px}
.online-list button[hidden],body:not(.car-driving) .car-only,body.car-driving .walk-only{display:none!important}
@media(pointer:coarse){.online-list .chip-button{min-height:44px}}
@media(max-width:400px){.game-ui .mode-bar button{padding-inline:4px}}
.online-panel output{font-size:10px!important}.legend-others{color:#ffb35c}
.menu-more summary{cursor:pointer;margin:16px 0 8px;font:10px monospace;letter-spacing:1.4px;color:#bac8b5;text-transform:uppercase}
.game-ui .campus-search-row{margin-top:0}
.about-panel .map-credit{display:block;margin-top:8px}
.about-person{margin:16px 0;padding-top:16px;border-top:1px solid var(--line)}
.about-person h4{margin:0;color:#e1ead9;font:600 14px system-ui,sans-serif}
.about-person p{margin:3px 0 0;color:#b7c9bd;font:12px/1.5 system-ui,sans-serif}
.about-person .menu-row{margin-top:9px}
.menu-footer #online-toggle{width:100%;justify-content:center;min-height:40px}
/* Welcome: a nickname and a character, nothing else to read first. */
.welcome-form{display:grid;gap:8px;margin-top:18px}.welcome-form label{font:600 13px system-ui,sans-serif;color:#dfe9d6}
.welcome-form input{height:44px;padding:0 13px;border:1px solid #5d7458;border-radius:10px;background:#0f1d17;color:#eef2e4;font:16px system-ui,sans-serif}
.welcome-form input:focus{outline:2px solid var(--lime);outline-offset:1px}
.welcome-form h3{margin:8px 0 0;font:600 13px system-ui,sans-serif}
.welcome-error{min-height:16px;margin:0;color:#ffb3a0;font-size:12px}
.welcome-form .primary{margin-top:8px;font:600 14px system-ui,sans-serif;justify-content:center}
.welcome-form .text-button{justify-content:center;padding:8px 0;font-size:12px}
@media(max-width:900px){.game-ui .scene-bottom .stage-footer{display:none}}
@media(max-width:700px){
  .game-ui .topbar{height:56px;padding:0 10px;gap:8px}.game-ui .brand{font-size:21px}.game-ui .brand-mark{font-size:23px;margin-right:6px}
  .online-pill{height:34px;padding:0 11px;font-size:12px}button.menu-open{width:36px;height:36px}
  .place-title{top:58px;left:10px;font-size:12px}
  .game-ui .inspector{display:block;grid-template-columns:none}.game-ui .inspector .panel{border-right:0}
  .game-ui .play-radar{top:104px;bottom:auto;right:10px;width:128px}.game-ui .play-radar p,.game-ui .play-radar small{display:none}
  /* Under the minimap on phones: the top-left corner belongs to the chat button. */
  .game-ui .play-dashboard{top:214px;left:auto;right:10px;width:128px}
  .game-ui .scene-bottom{left:8px;right:8px;bottom:10px}
  .mode-bar{gap:2px;padding:5px}.mode-bar button{min-width:0;flex:1 0 auto;padding:7px 8px;font-size:12px}.mode-bar button small{display:none}
  .game-ui .scene-bottom .touch-walk{bottom:92px;left:10px}
  .game-ui .bus-controls{justify-content:center}.game-ui .bus-controls button,.game-ui .bus-controls output{padding:8px 10px;font-size:11px}
  .welcome-dialog{padding:26px 20px}
}

/* A still from the original campus, framed inside the screenshot's game view. */
.welcome-scenery,.welcome-map-credit,.powered-by{display:none}
[data-experience=campus] .welcome-dialog[open] ~ .welcome-scenery{
  display:block;position:fixed;inset:0;z-index:100;background:#0d1c16
}
.welcome-scenery svg{width:100%;height:100%;opacity:.78}
.welcome-scenery::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,#101d1820,#101d18a8)}
[data-experience=campus] .welcome-dialog[open]{position:fixed;inset:0;margin:auto;height:fit-content;z-index:101;box-shadow:0 24px 90px #07120db0}
[data-experience=campus] .welcome-dialog::backdrop{background:transparent;backdrop-filter:none}
[data-experience=campus] .welcome-map-credit{display:block;color:#aebda9;font:10px system-ui,sans-serif}
[data-experience=campus] .powered-by{display:flex;align-items:center;justify-content:center;gap:8px;margin:6px auto 4px;color:#b7c9bd;font:12px/1.4 system-ui,sans-serif}
.powered-by b{padding:0;color:#eff5eb;font-weight:600}.powered-by img{filter:invert(1)}
.welcome-dialog #mp-name-error{color:#ffb3a0;font-size:12px}
.welcome-dialog #mp-name-error:empty{display:none}
.welcome-dialog #welcome-start:disabled{cursor:wait}
.welcome-dialog #welcome-cancel{color:#eff5eb}
[data-experience=campus] #loading{display:none}
@media(min-width:960px){
  [data-experience=campus] .welcome-dialog[open]{margin-right:clamp(32px,5vw,120px)}
  .welcome-scenery svg{width:82%}
}
#render-settings{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;font:600 13px system-ui,sans-serif}
#render-settings label{grid-column:1/-1}
.rate-picker{position:relative}
.rate-picker::after{content:"";position:absolute;right:14px;top:50%;width:6px;height:6px;border:solid #b7c9bd;border-width:0 1.5px 1.5px 0;transform:translateY(-75%) rotate(45deg);pointer-events:none}
#frame-rate{appearance:none;color-scheme:dark;width:100%;min-height:42px;background:#14231d;color:#edf3e7;border:1px solid #64816c;border-radius:9px;padding:8px 30px 8px 12px;font:500 13px system-ui,sans-serif;cursor:pointer}
#frame-rate:hover{border-color:var(--lime)}
#frame-rate:focus-visible{outline:2px solid var(--lime);outline-offset:2px}
#pause-toggle{justify-content:center;min-width:88px;font-size:13px}
.sponsor-link:not([hidden]){display:flex;align-items:center;gap:4px;min-height:38px;padding:4px 8px;border-radius:9px;text-decoration:none;font:500 13px/1.25 system-ui,sans-serif;text-shadow:0 1px 2px #101912,0 0 6px #101912;white-space:nowrap}
.sponsor-link img{margin-right:3px;object-fit:contain;filter:drop-shadow(0 1px 2px #10191299)}
.sponsor-link b{padding:0;color:inherit;font-weight:650}
.sponsor-link:focus-visible{outline:2px solid currentColor}
.sponsor-link:hover b,#offer-visit:hover{text-decoration:underline}
#sponsor-marker{position:absolute;top:0;left:0;z-index:2;width:92px;padding:6px 0;border:1px solid #ff815e;border-radius:10px;background:#192320f5;color:#ffab90;font:600 11px/1.35 system-ui,sans-serif}
#sponsor-marker b{display:block;font-size:13px;color:#fff6ee}
#sponsor-marker::after{content:"";position:absolute;top:100%;left:50%;transform:translateX(-50%);border:5px solid transparent;border-top-color:#ff815e}
#sponsor-offer{position:absolute;top:68px;left:50%;transform:translateX(-50%);z-index:6;width:310px;padding:14px 16px;border:1px solid #ff815e;border-radius:14px;color:#fff6ee;background:#192320f5;box-shadow:0 8px 28px #11132550;font:14px/1.45 system-ui,sans-serif}
#sponsor-offer p{margin:5px 0 10px;font:inherit;color:inherit}
#offer-discount{white-space:nowrap}
#offer-code{font:700 15px monospace;color:#ffab90;user-select:all;-webkit-user-select:all;cursor:text}
#offer-dismiss{position:absolute;right:2px;top:2px;width:36px;height:36px;font:22px system-ui;color:inherit}
#sponsor-offer div{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}
#offer-visit{display:inline-flex;align-items:center;gap:5px;font:700 14px system-ui,sans-serif;color:#fff;text-decoration:none}
#offer-copy{background:#ff815e;color:#161c18;padding:10px 12px;border-radius:8px;font:600 12px system-ui,sans-serif}
#offer-feedback:not(:empty){display:block;margin-top:6px}
.menu-open #sponsor-offer,.menu-open #sponsor-marker{display:none}
@media(max-width:700px){
  .game-ui .topbar{flex-wrap:nowrap;min-height:0}
  .sponsor-link:not([hidden]){gap:3px;padding:4px 2px}
  .sponsor-link span{display:none}
  .sponsor-link b{display:block;font-size:11px}
  #sponsor-offer{top:62px;left:10px;transform:none;max-width:calc(100% - 158px);padding:10px;font-size:13px}
  #offer-copy{flex:auto}
}
@media(max-width:460px){
  .game-ui .brand-mark{display:none}.sponsor-link img{width:22px;height:auto}
  .game-ui .topbar{gap:5px}.game-ui .brand{font-size:17px}
  .game-ui .online-pill{padding:0 6px;gap:4px;font-size:11px}
}
@media(max-height:500px) and (min-width:500px){
  .game-ui .play-radar{top:108px;right:10px;bottom:auto;width:128px}
  .game-ui .play-radar p,.game-ui .play-radar small{display:none}
  /* Use the radar's space to leave both the walking controls and visitor in view. */
  body:not(.menu-open) .stage:has(#sponsor-offer:not([hidden])) .play-radar{display:none}
  #sponsor-offer{top:108px;left:auto;right:10px;transform:none;max-width:40vw;max-height:calc(100% - 184px);overflow:auto;padding:10px;font-size:12px}
}
/* Chat (2026-12): bottom-left above the hints on desktop, a top sheet on phones.
   Relayed only, never stored; the panel says so. */
.chat{position:absolute;left:16px;bottom:100px;z-index:7;display:flex;flex-direction:column-reverse;align-items:flex-start;gap:6px;width:min(360px,calc(50% - 200px));min-width:260px;font:13px/1.4 system-ui,sans-serif}
.chat-toggle{display:flex;align-items:center;gap:8px;height:34px;padding:0 12px;border:1px solid #4f6b58;border-radius:10px;background:#0d1d17e6;color:#e5efdc;font:600 13px system-ui,sans-serif}
.chat-toggle small{color:#97ad98;font:500 10px system-ui,sans-serif}.chat[data-open=true] .chat-toggle small{display:none}
.chat-unread{min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#ffb35c;color:#14211a;font:700 11px/18px system-ui,sans-serif;text-align:center}
.chat-body{position:relative;isolation:isolate;width:100%;display:flex;flex-direction:column;padding:1px;border-radius:14px;overflow:hidden}
/* Fade the panel and its outline together, keeping text and focus rings intact. */
.chat-body::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border:1px solid #b8d8bd44;border-radius:inherit;background:rgb(13 29 23 / 50%);-webkit-mask-image:linear-gradient(transparent,#000 24%);mask-image:linear-gradient(transparent,#000 24%)}
.chat-log,.chat-hint{text-shadow:0 1px 2px #04100b,0 0 4px #04100b}
.chat-tab:not([aria-selected=true]),.chat-tab-close{background:#0d1d17bd;border-radius:8px}
.chat-body[hidden]{display:none}
.chat-tabs{display:flex;flex-wrap:wrap;gap:4px;padding:8px 8px 0}
.chat-tab{display:inline-flex;align-items:center;gap:5px;max-width:150px;padding:5px 9px;border-radius:8px;color:#c9d8c2;font:600 12px system-ui,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chat-tab[aria-selected=true]{background:#c7e08a;color:#14211a}.chat-tab b{min-width:16px;padding:0 4px;border-radius:8px;background:#ffb35c;color:#14211a;font-size:10px;text-align:center}
.chat-tab-close{margin-left:-4px;padding:0 5px;color:#97ad98;font-size:15px}.chat-tab-close:hover{color:#fff}
.chat-log{list-style:none;margin:6px 0 0;padding:0 10px;height:170px;overflow-y:auto;overscroll-behavior:contain}
.chat-log li{padding:2px 0;color:#f3f9ed;overflow-wrap:anywhere}.chat-log time{margin-right:6px;color:#d6e4d6;font-size:11px}
.chat-log b{margin-right:6px;color:#ffb35c}.chat-log li.mine b{color:#c7e08a}
.chat-log .chat-note-line{color:#d6e4d6;font-style:italic;font-size:12px}
.chat-form{display:flex;gap:6px;padding:8px}
.chat-form input{flex:1;min-width:0;height:36px;padding:0 10px;border:1px solid #5d7458;border-radius:9px;background:#0f1d17;color:#eef2e4;font:14px system-ui,sans-serif}
.chat-form input:focus{outline:2px solid var(--lime);outline-offset:0}
.chat-form button{padding:0 12px;border-radius:9px;background:#c7e08a;color:#14211a;font:600 12px system-ui,sans-serif}
.chat-hint{margin:0;padding:0 10px 8px;color:#d6e4d6;font-size:11px}
.menu-open .chat{display:none}
/* General chat floats briefly above the speaker; private messages never do. */
.player-label{display:flex;flex-direction:column;align-items:center;gap:3px}
.player-say{max-width:220px;margin:0;padding:5px 9px;border-radius:10px;background:#f3f6ea;color:#14211a;font:500 12px/1.35 system-ui,sans-serif;white-space:normal;text-align:center;overflow-wrap:anywhere;box-shadow:0 3px 10px #0005}
.player-say[hidden]{display:none}
.ride-riders{margin:0;padding:5px 11px;border-radius:9px;background:#0d1d17e6;border:1px solid #4f6b58;color:#e5efdc;font:600 12px system-ui,sans-serif}
.ride-riders[hidden]{display:none}
#ride-action:not([hidden]){background:#ffb35c;color:#14211a;border-color:#ffb35c}
body.riding .touch-walk,body.riding #player-avatar{display:none}
@media(max-width:900px){.chat{bottom:84px;width:min(340px,calc(100% - 180px))}}
@media(max-width:700px){
  .chat{left:10px;right:auto;top:104px;bottom:auto;width:auto;min-width:0;flex-direction:column}
  .chat[data-open=true]{right:10px}.chat-body{width:calc(100vw - 20px)}
  .chat-log{height:min(30vh,200px)}
  .chat-toggle{height:32px;padding:0 10px;font-size:12px}.chat-toggle small{display:none}
}
/* Shared campus clock (flowing day, 48 real minutes per day). Dimmed when the
   visitor has fixed the light locally; the hour keeps flowing for everyone else. */
.game-clock{display:flex;align-items:center;height:38px;padding:0 11px;border:1px solid #4f6b58;border-radius:999px;background:#0d1d17e6;color:#e5efdc;font:600 13px/1 ui-monospace,monospace;letter-spacing:.5px;pointer-events:auto}
.game-clock.fixed{color:#8fa38f}
.segmented:has([data-light=flow]){flex-wrap:wrap}.segmented [data-light=flow]{flex-basis:100%}
@media(max-width:700px){.game-clock{height:34px;padding:0 9px;font-size:12px}}
@media(max-width:460px){.game-clock{display:none}}
#car-action:not([hidden]){background:#c7e08a;color:#14211a;border-color:#c7e08a}
/* Court match: scoreboard at the top, context buttons with the vehicle ones. */
.court-hud{position:absolute;top:66px;left:50%;transform:translateX(-50%);z-index:6;min-width:280px;max-width:calc(100% - 32px);padding:8px 14px;border:1px solid #4f6b58;border-radius:12px;background:#0d1d17ee;text-align:center;pointer-events:none}
.court-hud[hidden]{display:none}.court-hud p{margin:0;color:#eef3e6;font:700 14px system-ui,sans-serif}.court-hud #court-status{margin-top:3px;color:#c7e08a;font:500 12px system-ui,sans-serif}
#court-bot:not([hidden]),#court-online:not([hidden]),#court-invite:not([hidden]){background:#d9f23e;color:#14211a;border-color:#d9f23e}
#court-swing:not([hidden]){background:#c7e08a;color:#14211a;border-color:#c7e08a;min-width:110px}
body:not(.walking) #court-swing{display:none}
@media(hover:hover) and (pointer:fine){#court-swing{display:none}}
@media(max-width:700px){.court-hud{top:58px;min-width:0}.court-hud p{font-size:12px}}

/* Place names float at a court's centre, right over the net: hide them during a match. */
.on-court .world-labels{display:none}

/* Radyo ODTÜ: a top-bar pill and a small panel under it. */
.radio-toggle{display:flex;align-items:center;gap:6px;height:38px;padding:0 13px;border:1px solid #4f6b58;border-radius:999px;background:#0d1d17e6;color:#e5efdc;font:600 13px system-ui,sans-serif;cursor:pointer;pointer-events:auto}
.radio-toggle.on{border-color:#c6f36b;color:#c6f36b;box-shadow:0 0 10px #c6f36b55}
.radio-panel{position:fixed;top:62px;right:120px;z-index:40;width:280px;padding:12px 14px;border:1px solid #4f6b58;border-radius:14px;background:#0d1d17f2;color:#e5efdc;font:13px/1.4 system-ui,sans-serif;pointer-events:auto;box-shadow:0 10px 30px #0008}
.radio-panel[hidden]{display:none}
.radio-panel h2{margin:0 0 8px;font-size:15px}.radio-panel h2 small{color:#c6f36b;font-weight:600}
.radio-channels{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}.radio-channels button[aria-pressed=true]{background:#c6f36b;color:#10231a;border-color:#c6f36b}
.radio-row{display:flex;align-items:center;gap:10px}.radio-row label{display:flex;align-items:center;gap:6px;flex:1}.radio-row input{flex:1;min-width:0;accent-color:#c6f36b}
.radio-play{height:34px;padding:0 14px;border:0;border-radius:999px;background:#c6f36b;color:#10231a;font-weight:700;cursor:pointer}
.radio-status{margin:8px 0 2px;color:#b9cbb5}.radio-note{margin:0;font-size:12px;color:#8fa38f}.radio-note a{color:#c6f36b}
@media(max-width:700px){.radio-toggle{height:34px;padding:0 10px}.radio-toggle span{display:none}.radio-panel{top:54px;right:10px;left:10px;width:auto}}

/* Named NPCs: listed under the real visitors and always marked as NPC. */
.npc-count{margin-left:4px;color:#9fb59c;font-weight:500}.npc-count:empty{display:none}
@media(max-width:520px){.npc-count{display:none}}
.npc-head{margin:16px 3px 2px;font:700 14px system-ui,sans-serif;color:#e1ead9}.npc-head small{display:block;font-weight:400;font-size:12px;color:#8fa38f}
.npc-list li span::after{content:'NPC';margin-left:8px;padding:1px 6px;border-radius:6px;background:#2c3e33;color:#c6f36b;font-size:11px;font-weight:700;vertical-align:2px}
