@font-face{font-family:Rajdhani;src:url('./assets/fonts/Rajdhani-Bold.ttf') format('truetype');font-display:swap;font-weight:700 900}
:root{--bg:#10191e;--panel:#142128;--text:#f3f3ec;--muted:#a7b4b9;--accent:#ff743d;--mint:#ff743d;--line:#daeaf329;font-family:Rajdhani,Helvetica,sans-serif;color:var(--text);color-scheme:dark}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:var(--bg);overscroll-behavior:none}body{position:fixed;inset:0;-webkit-tap-highlight-color:transparent}button,a,input,select{touch-action:manipulation}button,input,select{font:inherit}button,a{color:inherit}button{cursor:pointer;border:0}button:disabled{cursor:wait;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[role=slider]:focus-visible{outline:3px solid var(--mint);outline-offset:4px}a{text-decoration:none}button svg{display:block;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px}[hidden]{display:none!important}#scene{position:fixed;inset:0;width:100%;height:100%;display:block;touch-action:none}.screen-shade{position:fixed;inset:0;pointer-events:none;background:linear-gradient(90deg,#091217f0 0%,#091217bc 30%,#09121708 72%),linear-gradient(0deg,#071015cc,transparent 26%);transition:opacity .55s}.racing .screen-shade{opacity:0}
.menu{position:fixed;inset:0;padding:max(30px,env(safe-area-inset-top)) max(48px,env(safe-area-inset-right)) max(28px,env(safe-area-inset-bottom)) max(48px,env(safe-area-inset-left));display:flex;flex-direction:column;pointer-events:none}.menu button,.menu a,.menu select{pointer-events:auto}.menu-header{display:flex;align-items:center;justify-content:space-between;gap:20px}.wordmark{display:inline-flex;align-items:center;gap:15px;font-size:15px;font-weight:800;letter-spacing:2px;line-height:1.04}.brand-icon{display:inline-block;position:relative;color:var(--accent);font-family:Rajdhani,Impact,sans-serif;font-size:46px;line-height:1;font-style:italic;letter-spacing:-4px;width:51px}.brand-icon span{position:absolute;left:20px;top:9px;color:var(--text);font-size:32px}.header-actions{display:flex;align-items:center;gap:12px}.edition{font-size:12px;letter-spacing:2px;margin-right:24px}.edition i{font-style:normal;color:var(--accent);padding-left:10px}.icon-button{width:44px;height:44px;border:1px solid var(--line);border-radius:50%;display:flex;align-items:center;justify-content:center;background:#121e2380;font-size:28px;backdrop-filter:blur(10px)}.icon-button:hover{background:#ebf8fa26}.icon-button.muted{opacity:.5}.menu-copy{margin:auto 0;width:min(500px,46%);padding-top:16px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:2px;display:flex;align-items:center;gap:10px}.accent-line{display:inline-block;width:26px;height:2px;background:var(--accent)}h1{font-family:Rajdhani,Impact,'Rajdhani Narrow',sans-serif;font-weight:800;line-height:.88;letter-spacing:-.5px;margin:25px 0 24px;font-size:clamp(65px,8.5vw,132px)}h1 span{color:var(--accent)}.menu-copy>p{font-size:16px;line-height:1.65;color:var(--muted);margin:0 0 28px}.race-info{display:flex;gap:16px;align-items:center;margin:0 0 22px;font-size:11px;letter-spacing:1.25px;font-weight:700}.race-info b{font-size:14px;color:var(--accent);padding-right:8px}.race-info>span+span{border-left:1px solid var(--line);padding-left:16px;color:var(--muted)}.button{min-height:53px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;gap:24px;text-align:left;font-size:13px;font-weight:800;letter-spacing:1px;border-radius:3px;transition:background .16s,transform .16s}.button:active{transform:scale(.985)}.button.primary{background:var(--accent);color:#172127}.button.primary:hover{background:#ff9266}.button.primary>span{font-size:24px}.button.secondary{background:#dcedf50f;color:var(--text);border:1px solid var(--line);font-weight:400;letter-spacing:0}.button.secondary:hover{background:#dcedf51f}.menu-play{display:flex;flex-direction:column;gap:9px;max-width:330px}.menu-play .secondary{min-height:43px;font-size:14px}.difficulty-line{display:flex;align-items:center;gap:14px;color:var(--muted);font-size:12px;margin-top:18px}.difficulty-line select{border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;padding:4px 24px 4px 5px;color:var(--text);font-size:12px}select option{background:var(--panel)}.car-caption{position:absolute;right:8%;bottom:17%;display:flex;flex-direction:column;align-items:flex-start;gap:10px;text-shadow:0 2px 10px #0005}.car-caption>strong{font-size:24px;letter-spacing:2px;font-weight:400}.car-caption em{color:var(--accent);font-weight:700;font-style:normal}.car-caption>.eyebrow{font-size:10px;color:var(--muted)}.car-caption>span:last-child{font-size:12px;color:var(--muted)}.paint-options{display:flex;gap:10px;margin-top:4px}.paint-swatch{width:24px;height:24px;border-radius:50%;background:var(--paint);box-shadow:inset 0 0 0 2px #0002;position:relative}.paint-swatch[aria-pressed=true]:after{content:'';position:absolute;inset:-4px;border:1px solid white;border-radius:50%}.menu-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:22px;margin-top:10px}.text-button{background:none;padding:9px 0;font-size:13px;color:var(--muted)}.text-button:hover{color:white}.text-button span{margin-left:18px;color:var(--text)}.local-stats{display:flex;gap:36px;font-size:10px;letter-spacing:1px;color:var(--muted)}.local-stats b{color:var(--text);font-size:17px;margin-right:7px}.footer-location{font-size:11px;letter-spacing:1.7px;color:var(--muted)}.footer-location>span{padding-left:30px;color:var(--text)}
.loading-screen{position:fixed;inset:0;z-index:30;background:var(--bg);padding:38px 48px;display:flex;flex-direction:column;justify-content:space-between}.loading-center{width:min(620px,100%);align-self:center}.loading-center h1{font-size:clamp(48px,7vw,96px);line-height:1}.loading-center p{color:var(--muted);font-size:14px;line-height:1.6}.loading-track{height:2px;background:var(--line);margin-top:40px}.loading-track span{display:block;height:100%;width:5%;background:var(--accent);transition:width .3s}.loading-foot{font-size:11px;letter-spacing:3px;color:var(--muted)}
.game-ui{position:fixed;inset:0;pointer-events:none;padding:max(20px,env(safe-area-inset-top)) max(26px,env(safe-area-inset-right)) max(22px,env(safe-area-inset-bottom)) max(26px,env(safe-area-inset-left));background:linear-gradient(180deg,#0b18294d,transparent 20%,transparent 80%,#0b182957);user-select:none}.game-ui button{pointer-events:auto}.race-hud{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.round-chip{display:flex;flex-direction:column;padding:10px 16px;background:#10202bdc;backdrop-filter:blur(12px);border-left:3px solid var(--accent);gap:3px;min-width:135px}.round-chip>span{font-size:11px;letter-spacing:1.5px;color:var(--muted)}.round-chip>b{font-family:Rajdhani,Impact,sans-serif;font-size:28px}.round-chip small{font-family:Rajdhani,sans-serif;font-size:10px;letter-spacing:1.5px;padding-left:5px}.timer{position:absolute;left:50%;transform:translateX(-50%);text-align:center;filter:drop-shadow(0 2px 8px #0008);display:flex;flex-direction:column;gap:2px}.timer>span{font-size:10px;font-weight:700;letter-spacing:2px}.timer>strong{font-family:Rajdhani,Impact,sans-serif;font-size:64px;line-height:1}.timer>strong span{font-size:34px;opacity:.65}.timer.urgent{color:#ff8657}.hud-actions{display:flex;gap:10px}.hud-actions .icon-button{background:#14252ed9}.left-hud{position:absolute;left:max(26px,env(safe-area-inset-left));top:max(110px,calc(env(safe-area-inset-top) + 90px))}.spots-chip{display:flex;align-items:center;gap:10px;text-shadow:0 1px 8px #000;background:#101f26b8;padding:10px 13px}.parking-icon{border:1px solid var(--mint);border-radius:4px;color:var(--mint);padding:3px 8px;font-size:22px;font-weight:700}.spots-chip>div{display:flex;flex-direction:column;gap:3px}.spots-chip strong{font-size:11px;letter-spacing:.7px;color:var(--mint)}.spots-chip div>span{font-size:10px;color:var(--muted)}.roster{list-style:none;margin:14px 0;padding:0;display:flex;flex-direction:column;gap:5px;width:156px}.roster li{display:flex;align-items:center;justify-content:space-between;font-size:10px;padding:5px 8px;background:#14202899;letter-spacing:.8px;gap:10px}.roster li>span:first-child{display:flex;align-items:center;gap:7px}.roster i{width:5px;height:5px;border-radius:50%;background:var(--paint)}.roster li.parked{color:var(--mint)}.roster li.eliminated{opacity:.35;text-decoration:line-through}.roster li.human{border-left:2px solid var(--accent)}.minimap{position:absolute;right:max(26px,env(safe-area-inset-right));top:max(92px,calc(env(safe-area-inset-top) + 70px));width:150px;background:#14212dd6;border:1px solid var(--line);border-radius:5px;padding:8px;display:flex;align-items:center;flex-direction:column;gap:5px}.minimap canvas{width:100%;height:auto}.minimap>span{font-size:8px;letter-spacing:1.5px;color:var(--muted)}.announcement{position:absolute;inset:30% 12% auto;display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;filter:drop-shadow(0 5px 18px #001820cc)}.announcement>span{font-size:13px;letter-spacing:3px;font-weight:700}.announcement>strong{font-family:Rajdhani,Impact,sans-serif;font-size:clamp(64px,10vw,145px);line-height:.9}.announcement>p{font-size:14px;line-height:1.5;margin:8px 0;max-width:420px}.announcement.countdown>strong{font-size:160px}.announcement.success{color:var(--mint)}.parking-guide{position:absolute;bottom:145px;left:50%;transform:translateX(-50%);width:min(350px,45vw);background:#112028de;border:1px solid #cbdfeb26;padding:11px 18px;text-align:center;border-radius:4px}.parking-guide>span{font-size:12px}.parking-guide.ready{border-color:var(--mint);color:var(--mint)}.parking-track{height:3px;background:#ffffff13;margin-top:8px;overflow:hidden}.parking-track>span{display:block;background:var(--mint);width:0;height:100%}.speedometer{position:absolute;bottom:42px;right:38px;width:150px;text-align:right;display:grid;grid-template-columns:28px 1fr 30px;gap:8px;align-items:baseline;text-shadow:0 2px 8px #0b1520}.speedometer>span{color:var(--accent);font-size:23px}.speedometer>strong{font-family:Rajdhani,Impact,sans-serif;font-size:67px;line-height:1}.speedometer>small{font-size:11px;color:var(--muted)}.rpm-track{grid-column:1/4;height:3px;background:#fff3;overflow:hidden}.rpm-track>span{display:block;height:100%;background:var(--accent);width:0}.keyboard-help{position:absolute;bottom:26px;left:26px;display:flex;gap:16px;color:var(--muted);font-size:10px}.keyboard-help>span{display:flex;align-items:center;gap:7px}kbd{font:10px Rajdhani,sans-serif;letter-spacing:.6px;border:1px solid #ffffff3b;border-radius:3px;padding:4px;color:#e2e9ed;background:#192a3488}.boost-control{position:absolute;bottom:65px;left:50%;transform:translateX(-50%);min-width:134px;padding:10px 15px 14px;background:#14242ede;border:1px solid #b5d6e52a;border-radius:5px;font-size:10px;letter-spacing:1.8px}.boost-control>span{font-size:22px;color:#7fc4ff;vertical-align:middle}.boost-control>kbd{margin-left:8px}.boost-control>i{position:absolute;bottom:0;left:0;right:0;height:3px;background:#0003}.boost-control b{display:block;width:100%;height:100%;background:#80c4ff}.boost-control.pressed{border-color:#80c4ff;color:#80c4ff}.touch-controls{display:none}.control{touch-action:none;user-select:none;-webkit-user-select:none}.control.pressed{filter:brightness(1.45)}
.dialog{padding:32px;width:min(470px,calc(100vw - 32px));max-height:calc(100dvh - 32px);background:var(--panel);color:var(--text);border:1px solid #59717b55;border-radius:9px;box-shadow:0 25px 120px #0009;overflow-y:auto;overscroll-behavior:contain}.dialog::backdrop{background:#030d15a8;backdrop-filter:blur(10px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:15px}.dialog-top>.eyebrow{font-size:10px;color:var(--muted)}.dialog-top .icon-button{width:34px;height:34px}.dialog h2{font-family:Rajdhani,Impact,sans-serif;font-size:51px;line-height:1;margin:18px 0 27px}.dialog>.button{width:100%;margin-top:10px}.setting{display:flex;align-items:center;justify-content:space-between;gap:25px;font-size:14px;border-bottom:1px solid var(--line);padding:18px 0;line-height:1.4}.setting input{accent-color:var(--accent)}.setting input[type=checkbox]{width:20px;height:20px;flex-shrink:0}.setting input[type=range]{width:120px}.setting select{max-width:144px;background:#22333b;padding:8px;border:1px solid var(--line);border-radius:3px;font-size:12px}.fine-print{font-size:12px;color:var(--muted);line-height:1.65;margin:22px 0}.help-steps{display:flex;flex-direction:column;gap:16px}.help-steps>div{display:flex;gap:15px}.help-steps b{color:var(--accent);font-family:Rajdhani,Impact,sans-serif;font-size:27px}.help-steps p{font-size:13px;color:var(--muted);line-height:1.6;margin:0}.help-steps strong{display:block;color:var(--text);font-size:15px}.help-rule{font-size:12px;line-height:1.7;padding:15px;border-left:2px solid var(--mint);background:#ff743d08;margin:22px 0;color:#bed1d6}.controls-table{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:22px}.controls-table>span{display:flex;flex-direction:column;gap:5px;align-items:flex-start;font-size:12px;color:var(--muted)}details{font-size:11px;color:var(--muted);line-height:1.6;margin-top:22px}summary{cursor:pointer}details a{text-decoration:underline}.pause-dialog,.results-dialog{text-align:center}.pause-dialog>.eyebrow,.results-dialog>.eyebrow{justify-content:center;color:var(--accent)}.pause-dialog h2{font-size:66px}.pause-dialog>.text-button{margin-top:20px}.result-rank{font-family:Rajdhani,Impact,sans-serif;font-size:116px;line-height:1;color:var(--accent);margin-top:28px}.result-rank>span{font-size:37px;color:#6d848f}.results-dialog h2{font-size:42px;margin:14px 0}.results-dialog>p{font-size:14px;color:var(--muted);line-height:1.6}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);margin:24px 0;padding:20px 0;border-block:1px solid var(--line);gap:10px}.result-stats>div{display:flex;flex-direction:column;gap:7px}.result-stats b{font-family:Rajdhani,Impact,sans-serif;font-size:30px}.result-stats span{font-size:8px;letter-spacing:1px;color:var(--muted)}.results-dialog>.text-button{margin-top:15px}.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);padding:14px 20px;background:#21343feb;border:1px solid var(--line);border-radius:6px;font-size:13px;text-align:center;z-index:100;max-width:calc(100vw - 32px)}.noscript{position:fixed;inset:0;display:grid;place-items:center;background:#102028;padding:30px;font-size:24px}
@media(pointer:coarse),(max-width:760px){.touch-controls{display:block}.keyboard-help{display:none}.steer-zone{position:absolute;width:154px;height:168px;bottom:24px;left:max(28px,env(safe-area-inset-left));pointer-events:auto;touch-action:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.steering-wheel{width:138px;height:138px;border-radius:50%;background:radial-gradient(circle,#14293399,#122632bb);box-shadow:0 3px 20px #09131f5e;will-change:transform}.steering-wheel svg{width:100%;height:100%;fill:none;stroke:#c4d5d8ae;stroke-width:4.5;stroke-linecap:round}.steer-zone>span{font-size:9px;letter-spacing:2px;color:#d5e7eb88}.pedals{position:absolute;right:max(24px,env(safe-area-inset-right));bottom:25px;width:184px;height:180px;pointer-events:none}.pedals>.control{pointer-events:auto}.gas-control,.brake-control{position:absolute;bottom:0;width:68px;border:1px solid #d4e5ea40;border-radius:12px;background:#162c37bb;display:flex;flex-direction:column;align-items:center;gap:5px;justify-content:center;color:#d5e3e8}.gas-control{right:0;height:108px}.brake-control{right:80px;height:85px}.gas-control svg{width:30px;height:48px;fill:#ffffff16;stroke-width:1.4}.brake-control svg{width:34px;height:39px;fill:#ffffff10;stroke-width:1.3}.gas-control>span,.brake-control>span{font-size:8px;letter-spacing:1px}.park-control{position:absolute;top:0;right:2px;width:68px;height:62px;border:1px solid var(--mint);border-radius:9px;background:#70371999;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--mint);font-size:27px;font-weight:700;gap:2px}.park-control>span{font-size:7px;letter-spacing:.7px}.drift-control{position:absolute;right:82px;bottom:98px;font-size:9px;letter-spacing:1px;border:1px solid #d4e5ea40;border-radius:7px;background:#162c37bb;width:66px;height:43px}.speedometer{bottom:40px;right:auto;left:50%;transform:translateX(-50%);width:108px;gap:5px;grid-template-columns:18px 1fr 24px}.speedometer>strong{font-size:47px}.speedometer>span{font-size:16px}.speedometer>small{font-size:9px}.boost-control{bottom:111px;min-width:104px;padding:6px 12px 10px;font-size:9px}.boost-control>kbd{display:none}.parking-guide{bottom:196px;width:min(320px,65vw);padding:8px 12px}.parking-guide>span{font-size:11px}.minimap{width:119px}.roster{width:120px}.game-ui{padding:16px 18px}.left-hud{left:18px;top:97px}.minimap{right:18px;top:80px}.round-chip{min-width:112px;padding:8px 10px}.round-chip>b{font-size:24px}.round-chip>span{font-size:9px}.timer>strong{font-size:50px}.timer>span{font-size:8px}.hud-actions{gap:7px}.hud-actions>.icon-button{height:38px;width:38px}.spots-chip{padding:7px 8px;gap:8px}.spots-chip strong{font-size:9px}.spots-chip div>span{font-size:8px}.parking-icon{font-size:18px;padding:2px 6px}.roster li{font-size:8px}.announcement.countdown>strong{font-size:110px}}
@media(max-height:700px) and (min-width:761px){.menu{padding-top:22px;padding-bottom:18px}.menu-copy{padding-top:0}.menu-copy h1{font-size:88px;margin:20px 0}.menu-copy>p{margin-bottom:16px;font-size:14px}.race-info{margin-bottom:15px}.menu-play>.button{min-height:45px}.menu-play>.secondary{min-height:36px}.menu-footer{padding-top:15px}.difficulty-line{margin-top:12px}.car-caption{bottom:19%}}
@media(max-width:760px) and (orientation:portrait){.menu{padding:24px 24px 20px}.wordmark{font-size:11px;letter-spacing:1.7px;gap:10px}.brand-icon{font-size:36px;width:40px}.brand-icon span{font-size:27px;left:16px;top:7px}.edition{display:none}.header-actions{gap:8px}.header-actions>.icon-button{width:36px;height:36px}.header-actions svg{width:18px;height:18px}.screen-shade{background:linear-gradient(180deg,#0c1922ad 0%,#0c19226a 28%,transparent 52%,#0c1922ea 73%,#0c1922 100%)}.menu-copy{width:100%;margin:28px 0 0;padding:0;flex:1;position:relative}.menu-copy>.eyebrow{font-size:9px;letter-spacing:1.7px}.menu-copy h1{font-size:67px;line-height:.87;margin:17px 0 14px}.menu-copy>p{font-size:12px;line-height:1.55;margin:0}.race-info{position:absolute;left:0;right:0;bottom:147px;font-size:9px;margin:0}.menu-play{position:absolute;bottom:41px;width:100%;max-width:none;gap:8px}.menu-play>.primary{min-height:51px}.menu-play>.secondary{min-height:38px}.difficulty-line{position:absolute;bottom:5px;left:0;right:0;justify-content:center;font-size:11px;margin:0}.car-caption{right:24px;bottom:calc(250px + env(safe-area-inset-bottom));gap:6px;align-items:flex-end}.car-caption>.eyebrow,.car-caption>strong,.car-caption>span:last-child{display:none}.paint-options{gap:12px}.paint-swatch{width:21px;height:21px}.menu-footer{padding-top:12px;margin-top:15px;gap:10px}.footer-location{display:none}.local-stats{gap:16px;font-size:8px}.local-stats b{font-size:13px;margin-right:4px}.menu-footer .text-button{font-size:11px}.left-hud{top:88px}.roster{display:none}.minimap{top:93px;width:100px}.parking-guide{bottom:219px;width:80vw}.steer-zone{width:132px;height:154px;left:13px;bottom:34px}.steering-wheel{width:122px;height:122px}.pedals{right:14px;bottom:43px;width:151px;height:180px}.gas-control{width:59px}.brake-control{width:59px;right:69px}.park-control{width:59px;right:0}.drift-control{width:59px;right:69px}.speedometer{width:75px;bottom:29px;left:47%;grid-template-columns:12px 1fr;gap:3px}.speedometer>strong{font-size:38px}.speedometer>small{display:none}.rpm-track{grid-column:1/3}.boost-control{bottom:96px;left:45%;min-width:65px;font-size:8px;letter-spacing:.3px;padding:5px 8px 8px}.boost-control>span{font-size:19px}.announcement{inset:33% 6% auto}.announcement>span{font-size:11px}.announcement>p{font-size:12px}.timer>strong{font-size:44px}.timer>strong>span{font-size:24px}.timer>span{font-size:7px;letter-spacing:.5px}.round-chip{min-width:100px}.round-chip small{font-size:8px}.hud-actions>.icon-button{width:32px;height:32px}.hud-actions svg{width:17px;height:17px}.loading-screen{padding:30px 24px}.loading-center h1{font-size:61px}}
@media(max-height:540px) and (orientation:landscape){.menu{padding:18px max(28px,env(safe-area-inset-right)) 14px max(28px,env(safe-area-inset-left))}.wordmark{font-size:10px;gap:9px}.brand-icon{font-size:31px;width:35px}.brand-icon span{font-size:23px;left:14px;top:6px}.edition{font-size:9px;margin-right:9px}.header-actions>.icon-button{width:32px;height:32px}.header-actions svg{width:17px;height:17px}.menu-copy{padding:8px 0 0;width:46%;margin:auto 0}.menu-copy h1{font-size:61px;margin:10px 0}.menu-copy>.eyebrow{font-size:8px}.menu-copy>p{display:none}.race-info{font-size:8px;margin:8px 0 11px;gap:10px}.menu-play{gap:6px;max-width:275px}.menu-play .primary{min-height:40px;font-size:10px;padding:0 15px}.menu-play .secondary{min-height:30px;font-size:11px;padding:0 15px}.difficulty-line{font-size:9px;margin-top:7px}.difficulty-line select{font-size:9px}.menu-footer{padding-top:9px;margin-top:5px}.menu-footer .text-button{font-size:10px;padding:4px 0}.local-stats{font-size:8px;gap:18px}.local-stats b{font-size:12px}.footer-location{font-size:8px}.car-caption{bottom:19%;right:9%;gap:7px}.car-caption>strong{font-size:19px}.car-caption>.eyebrow{font-size:8px}.car-caption>span:last-child{font-size:9px}.paint-swatch{width:18px;height:18px}.paint-options{gap:9px}.game-ui{padding:10px 18px}.left-hud{top:81px;left:18px}.roster{display:none}.round-chip{padding:6px 10px;min-width:105px}.round-chip>b{font-size:21px}.round-chip>span{font-size:8px}.round-chip small{font-size:8px}.timer>strong{font-size:43px}.timer>strong>span{font-size:26px}.timer>span{font-size:7px}.hud-actions>.icon-button{width:32px;height:32px}.minimap{width:100px;top:53px;right:18px;padding:5px}.minimap>span{font-size:6px}.steer-zone{width:123px;height:126px;bottom:8px;left:max(20px,env(safe-area-inset-left))}.steering-wheel{width:109px;height:109px}.steer-zone>span{font-size:8px}.pedals{right:max(20px,env(safe-area-inset-right));bottom:14px;transform:scale(.8);transform-origin:bottom right}.parking-guide{bottom:104px;padding:7px 12px;width:280px}.parking-guide>span{font-size:10px}.parking-track{margin-top:5px}.speedometer{bottom:15px;left:calc(50% + 91px);width:90px}.speedometer>strong{font-size:39px}.boost-control{bottom:24px;left:calc(50% - 36px);min-width:101px}.announcement{inset:27% 15% auto;gap:5px}.announcement>strong{font-size:68px}.announcement.countdown>strong{font-size:98px}.announcement>p{font-size:11px;margin:3px}.announcement>span{font-size:9px}.dialog{padding:22px}.dialog h2{font-size:39px;margin:10px 0 20px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}
/* Readable labels on high-density mobile displays. Numeric instruments retain their hierarchy. */
.edition,.race-info,.difficulty-line,.difficulty-line select,.car-caption>.eyebrow,.car-caption>span:last-child,.footer-location,.local-stats,.menu-footer .text-button,.menu-copy>.eyebrow,.dialog-top>.eyebrow,.fine-print,.help-rule,details,.controls-table>span,.roster li,.spots-chip strong,.spots-chip div>span,.round-chip>span,.round-chip small,.timer>span,.parking-guide>span,.announcement>span,.announcement>p,.keyboard-help,.keyboard-help kbd,.minimap>span,.result-stats span{font-size:12px}
.button,.menu-play .primary,.menu-play .secondary{font-size:14px}.menu-copy>p{font-size:16px}.car-caption>strong{font-size:24px}.setting{font-size:14px}.setting select{font-size:14px}.help-steps p{font-size:14px}.result-stats{gap:6px}.roster{width:170px}.minimap>span{letter-spacing:.3px;text-align:center}.steer-zone>span,.gas-control>span,.brake-control>span,.park-control>span,.drift-control{font-size:12px;letter-spacing:.1px}.boost-control{font-size:12px;letter-spacing:.8px}.keyboard-help{gap:10px}.keyboard-help kbd{font-size:11px}
@media(max-width:760px){.menu-copy>p{font-size:14px}.local-stats{gap:10px;letter-spacing:0}.menu-footer{gap:8px}.race-info{gap:8px;letter-spacing:.4px}.race-info>span+span{padding-left:8px}.timer>span{font-size:10px;letter-spacing:.5px}.round-chip small{font-size:10px}.round-chip{min-width:105px}.spots-chip div>span{display:none}.spots-chip strong{font-size:11px}.minimap>span{font-size:10px}.parking-guide>span{font-size:12px}.boost-control{font-size:10px}.menu-copy>.eyebrow{font-size:10px}.menu-footer .text-button,.local-stats{font-size:11px}.result-stats span{font-size:10px}}
@media(max-height:540px) and (orientation:landscape){.menu-copy>.eyebrow,.race-info,.edition,.footer-location{font-size:10px}.menu-copy h1{font-size:58px}.menu-copy{width:47%}.menu-play .primary{font-size:12px}.menu-play .secondary{font-size:12px}.difficulty-line,.difficulty-line select{font-size:11px}.menu-footer .text-button,.local-stats{font-size:10px}.pedals{transform:none;width:162px;height:146px}.gas-control{height:91px;width:60px}.brake-control{height:74px;width:60px;right:71px}.park-control{height:47px;width:60px;right:0;font-size:23px}.drift-control{width:60px;right:71px;bottom:86px;height:39px}.park-control>span,.gas-control>span,.brake-control>span,.drift-control{font-size:10px}.round-chip>span{font-size:10px}.round-chip small{font-size:9px}.announcement>span,.announcement>p{font-size:12px}.parking-guide{bottom:108px}.minimap>span{font-size:8px}.spots-chip strong{font-size:10px}}


/* Driver camera keeps the same GT dashboard and touch controls. */
.pov-cockpit{display:none;position:absolute;bottom:0;left:0;right:0;height:15vh;background:linear-gradient(175deg,#1c242a 0%,#0a1015 60%);border-top:3px solid #434b4d;border-radius:35% 35% 0 0;pointer-events:none;box-shadow:0 -6px 28px #0005}
.pov-cockpit span{position:absolute;left:50%;top:28px;transform:translateX(-50%);color:#96a29f;font-size:10px;letter-spacing:3px;white-space:nowrap}
.pov-view .pov-cockpit{display:block}

.floor-counts{font:10px system-ui,sans-serif;color:#b4c6c8;text-align:center;margin-top:5px;letter-spacing:.3px}
#floor-label{color:#ff743d}#boost-control{min-width:46px;padding-left:12px;padding-right:12px}#boost-control>span{font-size:28px}
#gas-control>span,#brake-control>span{font-size:18px;font-weight:700}

.spots-chip #qualified-count{display:block;font-family:Rajdhani,Impact,sans-serif;font-size:30px;line-height:1.1;letter-spacing:1px}.spots-chip .qualified-label{font-size:9px;letter-spacing:1px;color:var(--mint)}

.round-chip{min-width:0;padding:12px 16px}.round-chip>span{font-family:Rajdhani,Impact,sans-serif;font-size:25px;letter-spacing:.5px}

.parking-guide{width:100px;padding:0;border:0;background:none}.parking-guide .parking-track{margin:0;height:4px;border-radius:2px}

#vehicle-select{font-family:Rajdhani,Impact,sans-serif;font-size:23px;color:var(--text);border:1px solid var(--line);border-radius:5px;background:#142128ed;padding:8px 28px 8px 12px;max-width:210px;pointer-events:auto}.car-caption>label{margin-bottom:2px}@media(max-width:760px){#vehicle-select{font-size:17px;padding:5px 23px 5px 9px;max-width:160px}.car-caption>label{display:none}}

/* Sculpted driving hardware: leather rim, machined alloy and inset rubber. */
.steering-wheel{background:none!important;box-shadow:none!important;filter:drop-shadow(0 7px 5px #0009)}
.steering-wheel svg{fill:initial;stroke:none;stroke-width:initial;stroke-linecap:initial;overflow:visible;pointer-events:none}
#gas-control,#brake-control{isolation:isolate;padding:9px 8px 7px;border:2px solid #89939d;border-top-color:#e3e7eb;border-bottom-color:#353d46;border-radius:10px 10px 15px 15px;background:repeating-linear-gradient(92deg,#ffffff06 0 1px,#00000006 1px 3px),linear-gradient(105deg,#59636c 0%,#d3d8dc 14%,#87929b 32%,#d7dce0 54%,#77828c 81%,#3b454f 100%);box-shadow:inset 1px 1px 1px #fff9,inset -2px -2px 2px #0008,0 5px 0 #222b34,0 7px 0 #080c11,0 10px 12px #0009;gap:5px;transition:transform 70ms,box-shadow 70ms;transform:perspective(350px) rotateX(9deg);transform-origin:center bottom;color:#f2f4f6}
#gas-control::before,#brake-control::before{content:"";position:absolute;inset:5px;border:1px solid #212a3370;border-radius:5px 5px 10px 10px;pointer-events:none}
.pedal-grip{display:block;width:100%;flex:1;min-height:18px;border-radius:4px;background:repeating-linear-gradient(0deg,#080b0f 0 4px,#39424c 4px 5px,#171e25 5px 9px,#69737d 9px 10px);box-shadow:inset 0 2px 3px #000c,0 1px 0 #eff5fb8c;pointer-events:none}
#gas-control>span,#brake-control>span{font:700 17px/1 Rajdhani,sans-serif;position:relative;background:linear-gradient(#333d46,#151c23);border:1px solid #9aa4ad;border-radius:4px;padding:2px 7px;box-shadow:0 1px 2px #0006;text-shadow:0 1px 2px #000;pointer-events:none}
#gas-control.pressed,#brake-control.pressed{filter:brightness(1.08);transform:perspective(350px) rotateX(18deg) translateY(5px);box-shadow:inset 1px 1px 2px #fff7,inset -2px -2px 3px #0008,0 1px 0 #151c23,0 4px 5px #0009;border-color:#e99152}
#park-control,#drift-control{background:linear-gradient(145deg,#434c56,#171e26 50%,#0d1218);border:1px solid #727e89;border-bottom:3px solid #080d12;box-shadow:inset 0 1px 0 #ffffff40,0 4px 7px #0008;text-shadow:0 1px 3px #000}
#park-control{color:#ff9c55;border-top-color:#d59a6d}
#park-control.pressed,#drift-control.pressed{box-shadow:inset 0 2px 5px #0009,0 1px 3px #0008;filter:brightness(1.15);border-color:#f28b40}
#steer-zone:focus-visible,.pedals button:focus-visible{outline:2px solid #ff9b50;outline-offset:5px}

/* Compact championship HUD: qualifiers left, round and clock centered. */
.race-hud>.spots-chip{position:relative;isolation:isolate;flex:0 0 auto;min-width:128px;min-height:54px;padding:8px 16px 8px 10px;gap:12px;border:1px solid #a2b0bb55;border-top-color:#d2d9df77;border-bottom-color:#05090e;border-radius:5px 14px 5px 5px;background:linear-gradient(125deg,#414c58ed 0%,#1b242fed 35%,#101720f5 100%);box-shadow:inset 0 1px 0 #ffffff14,0 5px 14px #0006;backdrop-filter:blur(14px);text-shadow:0 2px 3px #0008}
.race-hud>.spots-chip::after{content:"";position:absolute;left:10px;right:14px;bottom:-1px;height:2px;background:linear-gradient(90deg,#ff8c3c,#ffad6666,transparent);box-shadow:0 2px 7px #fa7c3226}
.race-hud .parking-icon{display:grid;place-items:center;width:32px;height:34px;padding:0;flex-shrink:0;border:1px solid #ffc18e80;border-radius:4px;background:linear-gradient(145deg,#ffad60,#ee742e);box-shadow:inset 0 1px 0 #ffe2c8aa,0 2px 4px #0007;color:#25190f;font-family:Rajdhani,Impact,sans-serif;font-size:27px;line-height:1;text-shadow:0 1px 0 #ffd3a760}
.race-hud .spots-chip #qualified-count{font-size:34px;line-height:1;color:#f4f6f8;letter-spacing:1px;font-variant-numeric:tabular-nums;white-space:nowrap}
.timer>#timer-label{font-family:Rajdhani,Impact,sans-serif;font-size:21px;line-height:1.1;letter-spacing:1.8px;color:#f0f3f6;text-transform:uppercase;text-shadow:0 2px 5px #000}
@media(max-width:760px){.race-hud>.spots-chip{min-width:100px;min-height:46px;padding:7px 11px 7px 8px;gap:8px}.race-hud .parking-icon{width:26px;height:29px;font-size:23px}.race-hud .spots-chip #qualified-count{font-size:28px;letter-spacing:.3px}.timer>#timer-label{font-size:17px;letter-spacing:1.2px}}
@media(max-height:540px) and (orientation:landscape){.race-hud>.spots-chip{min-height:44px;padding-top:6px;padding-bottom:6px}.timer>#timer-label{font-size:17px}}

/* Bottom-mounted telemetry binnacle. Only the button captures touch input. */
.telemetry-panel{position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:280px;padding:15px 38px max(10px,env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:center;gap:9px;isolation:isolate;pointer-events:none;filter:drop-shadow(0 -3px 9px #0007)}
.telemetry-panel::before,.telemetry-panel::after{content:"";position:absolute;inset:0;z-index:-2;clip-path:polygon(14% 0,86% 0,100% 100%,0 100%);background:linear-gradient(130deg,#c4cbd3,#57626f 25%,#29323e 60%,#aab4be)}
.telemetry-panel::after{inset:2px 2px 0;z-index:-1;background:repeating-linear-gradient(115deg,#ffffff02 0 1px,transparent 1px 5px),linear-gradient(180deg,#293440f5,#0b111afc 72%)}
.telemetry-panel .speedometer{position:static;inset:auto;transform:none;width:100%;display:flex;flex-direction:column;align-items:center;gap:2px;text-align:center;text-shadow:0 2px 6px #0009}
.telemetry-panel .speedometer>strong{font-size:62px;line-height:.9;font-variant-numeric:tabular-nums;letter-spacing:1px}
.telemetry-panel .speedometer>small{display:block;font-size:10px;line-height:1.2;letter-spacing:2px;color:#b3c0ce}
.telemetry-panel .rpm-track{width:72%;height:2px;margin-top:4px;background:#65707e44;border-radius:2px}
.telemetry-panel #boost-control{position:relative;inset:auto;transform:none;width:100%;min-width:0;min-height:44px;padding:0 12px 5px;display:grid;place-items:center;border:1px solid #ffbd8580;border-radius:5px;background:linear-gradient(180deg,#754427,#382218);box-shadow:inset 0 1px 0 #ffd1ab40,0 3px 5px #0008;overflow:hidden;pointer-events:auto}
.telemetry-panel #boost-control>span{font-size:28px;line-height:1;color:#ffb36e;text-shadow:0 0 12px #ff873d66;pointer-events:none}
.telemetry-panel #boost-control>i{height:4px;background:#080c12;pointer-events:none}
.telemetry-panel #boost-fill{background:linear-gradient(90deg,#e7752c,#ffc48d);box-shadow:0 0 8px #ff8b48}
.telemetry-panel #boost-control.pressed{background:linear-gradient(#b36530,#623316);border-color:#ffd0a2;box-shadow:inset 0 2px 6px #0007,0 0 14px #ff873d44;filter:none}
@media(max-height:540px) and (orientation:landscape){.telemetry-panel{width:240px;padding-top:10px;gap:6px}.telemetry-panel .speedometer>strong{font-size:45px}.telemetry-panel #boost-control{min-height:44px}.parking-guide{bottom:145px}}
@media(max-width:760px) and (orientation:portrait){.telemetry-panel{width:clamp(110px,calc(100vw - 248px),180px);padding:12px 13px max(9px,env(safe-area-inset-bottom));gap:7px}.telemetry-panel .speedometer>strong{font-size:42px}.telemetry-panel .speedometer>small{font-size:9px;letter-spacing:1px}.telemetry-panel .rpm-track{width:85%}.steer-zone{left:8px;width:110px}.steering-wheel{width:104px;height:104px}.pedals{right:8px;width:118px}.gas-control,.park-control{right:0;width:54px}.brake-control,.drift-control{right:64px;width:54px}}
@media(max-width:380px) and (orientation:portrait){.telemetry-panel{width:96px;padding-left:9px;padding-right:9px}.steer-zone{left:4px;width:94px}.steering-wheel{width:88px;height:88px}.pedals{right:4px;width:98px}.gas-control,.park-control{width:44px}.brake-control,.drift-control{right:54px;width:44px}}

/* Low-profile telemetry and matching machined HUD buttons. */
.telemetry-panel{width:286px;padding:8px 39px max(6px,env(safe-area-inset-bottom));gap:4px}
.telemetry-panel .speedometer{position:relative;gap:0}
.telemetry-panel .speedometer>strong{font-size:43px;line-height:.95}
.telemetry-panel .speedometer>small{position:absolute;left:calc(50% + 39px);bottom:9px;font-size:8px;letter-spacing:.6px}
.telemetry-panel .rpm-track{margin-top:3px}
.telemetry-panel #boost-control{min-height:36px;padding-bottom:3px}
.telemetry-panel #boost-control>span{font-size:25px}
.hud-actions #camera,.hud-actions #pause{border-radius:7px;border:1px solid #8c9aa966;border-top-color:#c0cbd880;border-bottom:2px solid #080c12;background:linear-gradient(145deg,#4b5661,#212b36 45%,#10171f);box-shadow:inset 0 1px 0 #ffffff20,0 3px 7px #0006;color:#e3eaf1}
.hud-actions #camera svg,.hud-actions #pause svg{width:26px;height:26px;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round;fill:none;filter:drop-shadow(0 1px 1px #0008)}
.hud-actions .icon-accent{stroke:#ffab68}.hud-actions .lens-core{fill:#ffab6830;stroke:#ffab68}.hud-actions .pause-bar{fill:#dde5ed;stroke:#fff;stroke-width:.5}
.hud-actions #camera:active,.hud-actions #pause:active{background:#714427;border-color:#ffad70;transform:translateY(1px)}
@media(max-height:540px) and (orientation:landscape){.telemetry-panel{width:260px;padding-top:6px;gap:3px}.telemetry-panel .speedometer>strong{font-size:38px}.parking-guide{bottom:115px}}
@media(max-width:760px) and (orientation:portrait){.telemetry-panel{width:clamp(110px,calc(100vw - 248px),180px);padding:7px 12px max(6px,env(safe-area-inset-bottom));gap:3px}.telemetry-panel .speedometer>strong{font-size:34px}.telemetry-panel .speedometer>small{position:static;font-size:8px;line-height:1}.telemetry-panel #boost-control{min-height:40px}.hud-actions #camera svg,.hud-actions #pause svg{width:23px;height:23px}}
@media(max-width:380px) and (orientation:portrait){.telemetry-panel{width:96px;padding-left:9px;padding-right:9px}}

/* Shared dimensions keep instruments inside the curved frame at every size. */
.game-ui{isolation:isolate;--instrument-width:286px;--frame-height:88px;--clock-height:86px;--rail-inset:12px;--hud-card-height:54px;--telemetry-fill:#111821}
.game-ui::before,.game-ui::after{content:"";position:absolute;left:0;right:0;height:calc(var(--rail-inset) + 3px);background:var(--telemetry-fill);z-index:-2;pointer-events:none}
.game-ui::before{top:0}.game-ui::after{bottom:0}
.hud-frame{position:absolute;left:0;right:0;display:flex;align-items:flex-end;height:calc(var(--frame-height) + env(safe-area-inset-bottom));pointer-events:none;z-index:-1}
.hud-frame-bottom{bottom:var(--rail-inset)}
.hud-frame::before,.hud-frame::after{content:"";flex:1;height:2.5px;margin-bottom:.5px;background:#d5dbe2}
.hud-frame>svg{display:block;flex:none;width:calc(var(--instrument-width) + 48px);height:100%;overflow:visible}
.hud-frame .frame-surface{fill:var(--telemetry-fill);stroke:none}
.hud-frame .frame-outline{fill:none;stroke:#d5dbe2;stroke-width:2.5;vector-effect:non-scaling-stroke}
.hud-frame-top{top:var(--rail-inset);height:calc(var(--clock-height) + env(safe-area-inset-top));transform:scaleY(-1)}
.telemetry-panel{bottom:var(--rail-inset);width:var(--instrument-width);height:calc(var(--frame-height) + env(safe-area-inset-bottom));justify-content:flex-end;padding:4px 0 max(5px,env(safe-area-inset-bottom));filter:none;gap:2px}
.telemetry-panel::before,.telemetry-panel::after{display:none}
.telemetry-panel .speedometer{width:calc((var(--instrument-width) + 48px) * .44);max-width:100%;gap:0}
.telemetry-panel .speedometer>strong{font-size:34px;line-height:.95}
.telemetry-panel .speedometer>small{position:static;display:block;font-size:8px;line-height:1;letter-spacing:.5px}
.telemetry-panel .speedometer .rpm-track{width:calc((var(--instrument-width) + 48px) * .28);max-width:100%;height:2px;margin-top:2px;overflow:hidden}
.telemetry-panel #boost-control{width:calc((var(--instrument-width) + 48px) * .48 - 10px);max-width:100%;height:34px;min-height:34px;padding:0 8px 3px;flex-shrink:0;box-shadow:inset 0 1px 0 #ffd1ab40,0 2px 3px #0006}
.telemetry-panel #boost-control>span{font-size:23px}
.timer{top:var(--rail-inset);width:var(--instrument-width);height:calc(var(--clock-height) + env(safe-area-inset-top));padding-top:max(8px,env(safe-area-inset-top));gap:3px;filter:none}
.timer>strong{font-size:40px;line-height:1;text-shadow:0 2px 6px #0008}.timer>strong span{font-size:22px}
.timer>#timer-label{font-size:15px;line-height:1.1;letter-spacing:1px}
.race-hud{align-items:flex-start}
.race-hud>.spots-chip{height:var(--hud-card-height);min-height:var(--hud-card-height)}
.hud-actions{align-items:flex-start}
.hud-actions #camera,.hud-actions #pause{width:var(--hud-card-height);height:var(--hud-card-height);flex-shrink:0}
.hud-actions #camera svg,.hud-actions #pause svg{width:29px;height:29px}
.steer-zone{transform:translate(6px,-8px)}
.steering-wheel{width:166px;height:166px}
@media(max-height:540px) and (orientation:landscape){.game-ui{--instrument-width:260px;--frame-height:78px;--clock-height:74px;--hud-card-height:44px}.telemetry-panel .speedometer>strong{font-size:28px}.telemetry-panel #boost-control{height:30px;min-height:30px}.timer>strong{font-size:34px}.timer>#timer-label{font-size:14px}.steering-wheel{width:134px;height:134px}.hud-actions #camera svg,.hud-actions #pause svg{width:27px;height:27px}}
@media(max-width:760px) and (orientation:portrait){.game-ui{--instrument-width:clamp(110px,calc(100vw - 248px),180px);--frame-height:86px;--clock-height:80px;--hud-card-height:46px}.telemetry-panel .speedometer>strong{font-size:30px}.timer>#timer-label{font-size:14px}.timer>strong{font-size:36px}.steering-wheel{width:130px;height:130px}.hud-actions #camera svg,.hud-actions #pause svg{width:28px;height:28px}}
@media(max-width:380px) and (orientation:portrait){.game-ui{--instrument-width:96px;--hud-card-height:44px}.steering-wheel{width:110px;height:110px}.hud-actions{gap:6px}.timer>#timer-label{font-size:13px}}

/* Keep the corner cards below the upper instrument frame. */
.race-hud>.spots-chip,.race-hud>.hud-actions{position:relative;top:12px}

/* Showroom controls share the brushed-metal race UI. */
#vehicle-title{font-size:clamp(52px,6.7vw,108px);text-transform:uppercase;pointer-events:auto;touch-action:pan-y;user-select:none}
.header-actions .icon-button{border-radius:7px;border:1px solid #8c9aa966;border-top-color:#c0cbd880;border-bottom:2px solid #080c12;background:linear-gradient(145deg,#4b5661,#212b36 45%,#10171f);box-shadow:inset 0 1px 0 #ffffff20,0 3px 7px #0006;color:#e3eaf1}
.header-actions .icon-button svg{stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 1px 1px #0008)}
.header-actions .icon-button:active{background:#714427;border-color:#ffad70}
.hud-actions #pause .pause-bar{fill:#ff9e56;stroke:#ffc18e}
@media(max-width:760px) and (orientation:portrait){#vehicle-title{font-size:clamp(45px,12vw,65px)}}
@media(max-height:540px) and (orientation:landscape){#vehicle-title{font-size:48px}}

#scene{touch-action:none}

/* Garage actions: consistent type, inset chevrons and softer corners. */
.button{border-radius:7px}
.menu-play #play,.menu-play #practice,.race-action{font-family:Rajdhani,sans-serif;font-size:14px;font-weight:800;letter-spacing:1px;text-transform:uppercase;min-height:53px;padding-right:10px}
.launch-arrow{display:grid;place-items:center;flex:none;width:34px;height:32px;border-radius:5px;background:linear-gradient(145deg,#ffffff20,#00000014);border:1px solid #ffffff26;box-shadow:inset 0 1px 0 #ffffff24,0 1px 2px #0002}
.launch-arrow svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.launch-arrow .arrow-trail{opacity:.4}
.menu-play #practice .launch-arrow{color:#ffac70}
.header-actions .icon-button{border-radius:9px}
.header-actions #help-open>span{font-family:Rajdhani,Impact,sans-serif;font-size:25px;line-height:1;color:#ffae72;text-shadow:0 1px 2px #0008}
@media(max-height:540px) and (orientation:landscape){.menu-play #play,.menu-play #practice,.race-action{min-height:42px;font-size:12px}.launch-arrow{height:28px;width:30px}}
@media(max-width:380px) and (orientation:portrait){.menu-header{gap:10px}.wordmark{font-size:10px;gap:8px}.header-actions{gap:6px}.header-actions>.icon-button{width:32px;height:34px}.menu-play #play,.menu-play #practice,.race-action{font-size:12px;min-height:48px}}

#vehicle-title,.menu-play .button{font-style:italic;letter-spacing:1.3px}
.victory-view .race-hud,.victory-view .left-hud,.victory-view .touch-controls,.victory-view .telemetry-panel,.victory-view .hud-frame,.victory-view .keyboard-help{display:none!important}

.race-action{font-style:italic;text-align:left;gap:12px}.race-action.secondary .launch-arrow{color:#ffac70}
#rear-mirror{position:fixed;top:calc(env(safe-area-inset-top) + 132px);left:50%;transform:translateX(-50%);width:clamp(170px,42vw,290px);aspect-ratio:2.7;border:2px solid #aab6bf;border-radius:6px;box-shadow:0 3px 12px #0009;pointer-events:none;background:transparent;overflow:hidden}
@media(max-height:540px) and (orientation:landscape){#rear-mirror{top:90px;width:190px}}
