/* Driving stays on the canvas. Detailed information belongs in the menus. */
.playing .skill-hud,.playing .race-controls,.playing #best-hud,.playing .progress-box,.playing .telemetry>span,.playing .score-row,.playing .speed-meter,.playing #nitro-hint,.playing .speed-number small{display:none!important}
.playing .hud-top{top:100px;left:24px;right:24px}
.playing .timer-box,.drift-selected.playing .hud-top .timer-box{position:static;width:auto;min-width:140px;padding:10px 14px}
.playing .timer-box>strong{font-size:36px}.playing .timer-box>strong span{font-size:20px}
.playing .cup-hud{top:100px;right:24px;left:auto;transform:none;min-width:0;width:154px;padding:8px 10px;border-radius:8px;background:#12272ec9;backdrop-filter:none;pointer-events:none}
.playing .cup-status{gap:12px;align-items:center}.playing .cup-status>div+div{padding-left:12px}.playing .cup-status span{font-size:10px;letter-spacing:.06em}.playing .cup-status strong{font-size:25px;line-height:1.1}.playing .cup-status small{font-size:14px}
.playing #race-gap,.playing .live-standings{display:none!important}
@media(max-height:520px) and (orientation:landscape){.playing:not(.touch-device) .cup-hud{top:70px}}
.playing .drift-hud{top:100px;right:24px;left:auto;transform:none;width:180px;padding:10px 14px;text-align:right}
.playing .drift-hud>strong{font-size:36px}.playing .drift-hud .drift-meter,.playing #drift-target-label{display:none}
.playing .drift-live{top:189px;right:24px;left:auto;transform:none;width:180px;min-width:0;grid-template-columns:1fr 1fr;padding:7px 10px;gap:2px 12px;background:#14282eb0}
.playing .drift-live>div:first-child,.playing #drift-transition{display:none}.playing .drift-live strong{display:inline;font-size:20px;margin-left:5px}
.playing #drift-feedback{font-size:12px;grid-column:1/-1;min-height:0;line-height:1.4;margin:3px 0 0}
.playing .drift-live:not(.perfect) #drift-feedback{display:none}
.playing .direction-indicator,.drift-selected.playing .direction-indicator,.cup-selected.playing .direction-indicator{top:22%;font-size:30px;opacity:.8}
.playing .toast,.drift-selected.playing .toast,.cup-selected.playing .toast{top:29%;font-size:14px;padding:8px 14px;max-width:75%;pointer-events:none}
.playing .map-panel{width:115px}.playing .hud-bottom{bottom:24px;left:24px;right:24px}
.playing .telemetry{width:110px}.playing .speed-number>strong{font-size:48px}.playing .speed-number{gap:7px}.playing .nitro-hud>div:first-child{font-size:12px}
.touch-help{display:none;font-size:14px;line-height:1.5;color:#c4d4d4}.touch-device .touch-help{display:block}.touch-device .control-note{display:none}
.pause-card .subtle-button{display:block;width:100%;min-height:44px;margin:10px 0}
.skill-results summary{cursor:pointer;font-size:14px;padding:12px 0}.skill-results[open] summary{margin-bottom:8px}
.touch-controls{touch-action:none;user-select:none;-webkit-user-select:none;pointer-events:none!important;align-items:flex-end!important;left:max(20px,env(safe-area-inset-left))!important;right:max(20px,env(safe-area-inset-right))!important;bottom:max(20px,env(safe-area-inset-bottom))!important}
.steering-stick{position:relative;width:min(43vw,260px);height:164px;pointer-events:auto;touch-action:none;flex-shrink:0}
.stick-base{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:120px;height:120px;border:1px solid #ffffff42;border-radius:50%;background:#11292e65;box-shadow:inset 0 0 0 18px #ffffff09;pointer-events:none}
.stick-axis{position:absolute;left:17px;right:17px;top:50%;height:1px;background:#ffffff35}.stick-axis:before,.stick-axis:after{content:'';position:absolute;top:-3px;width:7px;height:7px;border-top:1px solid #ffffff80;border-left:1px solid #ffffff80;transform:rotate(-45deg)}.stick-axis:after{right:0;transform:rotate(135deg)}
.stick-knob{position:absolute;top:calc(50% - 25px);left:calc(50% - 25px);width:50px;height:50px;border:1px solid #ffffffab;background:#cbdcd4aa;border-radius:50%;box-shadow:0 3px 12px #0003;will-change:transform}.steering-stick.pressed .stick-knob{background:#d6f581d9;border-color:#eaffb9}
.pedal-cluster{display:flex;align-items:flex-end;gap:12px;pointer-events:none}
.touch-controls .drive-pedal{position:relative;display:flex;flex-direction:column;width:88px!important;height:138px!important;border:1px solid #f2ffc5aa;border-radius:22px;background:#122b32b8;overflow:hidden;pointer-events:auto;touch-action:none;padding:0;box-shadow:0 3px 12px #0002}
.drive-pedal .boost-zone,.drive-pedal .gas-zone{position:relative;z-index:1;width:100%;display:grid;place-items:center;font-size:14px;font-weight:800;letter-spacing:.03em}.drive-pedal .boost-zone{height:47%;color:#a9f0ff;border-bottom:1px solid #ffffff35;background:#5bd3e721}.drive-pedal .gas-zone{height:53%;color:#efffd0}
.drive-pedal .pedal-fuel{position:absolute;bottom:0;right:0;width:4px;background:#83eafa;transition:height .07s linear}.drive-pedal.pressed .gas-zone{background:#d6f58140}.drive-pedal.boost-pressed .boost-zone{background:#5dd8edc9;color:#103847}.drive-pedal.empty .boost-zone{color:#b5c4c7;background:#6a7d811f}
.touch-controls .brake-pedal{width:56px!important;height:52px!important;min-width:44px;font-size:12px!important;border-radius:14px;background:#14282e99;border:1px solid #ffffff40;pointer-events:auto;touch-action:none}.brake-pedal.pressed{background:#ff783e99}
.touch-device.playing .topbar{padding:12px max(16px,env(safe-area-inset-right));justify-content:flex-end}
.touch-device.playing .brand,.touch-device.playing .track-label,.touch-device.playing #sound,.touch-device.playing #fullscreen,.touch-device.playing #camera-button{display:none}
.touch-device.playing .icon-button{width:44px;height:44px;background:#14282ea6}
.touch-device.playing .hud-top{top:max(14px,env(safe-area-inset-top));left:max(16px,env(safe-area-inset-left));right:72px}
.touch-device.playing .timer-box,.touch-device.drift-selected.playing .hud-top .timer-box{min-width:0;width:132px;padding:8px 10px;border-radius:8px}
.touch-device.playing .timer-box>strong{font-size:27px}.touch-device.playing .timer-box>strong span{font-size:17px}.touch-device.playing .hud-label{font-size:12px;letter-spacing:.03em}
.touch-device.playing .drift-hud{top:max(14px,env(safe-area-inset-top));right:72px;left:auto;width:126px;transform:none;padding:8px 10px;border-radius:8px}.touch-device.playing .drift-hud>strong{font-size:27px}
.touch-device.playing .drift-live{top:90px;right:20px;width:164px;padding:5px 8px;gap:2px 5px}.touch-device.playing .drift-live strong{font-size:19px}.touch-device.playing .drift-live>div>span{font-size:12px}
.touch-device.playing .map-panel,.touch-device.playing .live-standings,.touch-device.playing .desktop-help{display:none!important}
.touch-device.playing .hud-bottom{bottom:26px;left:50%;right:auto;transform:translateX(-50%);width:64px}.touch-device.playing .telemetry{width:64px}.touch-device.playing .speed-number>strong{font-size:33px}.touch-device.playing .speed-number{gap:4px;justify-content:center}.touch-device.playing .speed-number>span{font-size:12px}.touch-device.playing .nitro-hud{display:none}
.touch-device.playing .cup-hud{top:max(14px,env(safe-area-inset-top));left:auto;right:max(72px,calc(env(safe-area-inset-right) + 56px));transform:none;min-width:0;width:136px;padding:7px 8px}.touch-device.playing .cup-status{gap:9px}.touch-device.playing .cup-status strong{font-size:23px}.touch-device.playing .cup-status>div+div{padding-left:9px}
@media(max-width:380px){.touch-device.playing .cup-hud{width:120px;right:max(68px,calc(env(safe-area-inset-right) + 56px));padding:7px 6px}.steering-stick{width:120px;height:120px}.touch-controls .drive-pedal{width:76px!important;height:128px!important}.pedal-cluster{gap:8px}.touch-device.playing .hud-bottom{display:none}.touch-device.playing .timer-box,.touch-device.drift-selected.playing .hud-top .timer-box{width:112px}.touch-device.playing .drift-hud{width:110px;right:68px}.touch-controls{left:14px!important;right:14px!important}}
@media(max-height:520px) and (orientation:landscape){.steering-stick{width:116px;height:116px}.touch-controls .drive-pedal{height:116px!important;width:82px!important}.touch-controls{bottom:max(12px,env(safe-area-inset-bottom))!important}.touch-device.playing .drift-live{top:89px}.touch-device.playing .hud-bottom{bottom:16px}.touch-device.playing .direction-indicator{top:23%}.touch-device.playing .toast{top:34%}}
@media(prefers-reduced-motion:reduce){.pedal-fuel{transition:none!important}}
@media(max-width:380px){.steering-stick{width:43vw;height:150px}.stick-base{width:112px;height:112px}}
@media(max-height:520px) and (orientation:landscape){.steering-stick{width:min(37vw,260px);height:126px}.stick-base{width:108px;height:108px}}

/* Online racing is a separate menu, never another overlay on top of the car. */
.online-overlay{z-index:25}.admin-overlay{z-index:30}.legal-overlay{z-index:35}
.online-card{width:min(940px,100%);max-height:calc(100dvh - 40px);overflow:auto;background:#14282e;color:#f2f3e8;border:1px solid #66848066;border-radius:16px;padding:30px;box-shadow:0 18px 80px #07151766}
.modal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.modal-heading .icon-button{flex-shrink:0}.modal-heading h2{font:800 46px/.95 var(--display);margin:8px 0 24px}.modal-heading h2 em{font-style:italic;color:var(--lime)}
.season-heading{display:flex;justify-content:space-between;gap:20px;align-items:start;padding-bottom:18px;border-bottom:1px solid #ffffff21}.season-heading h3{margin:0 0 5px}.season-heading p{margin:5px 0;color:#becfcf;font-size:14px}.season-heading #season-prize{color:#d6f581}
.online-layout{display:grid;grid-template-columns:1.35fr 1fr;gap:28px;margin-top:20px}.entry-panel{border-left:1px solid #ffffff22;padding-left:24px}.entry-panel h3{margin-top:0}.entry-panel p{font-size:14px;line-height:1.5;color:#c2d1d1}
.service-status{background:#294248;padding:12px 14px;border-left:3px solid var(--orange);font-size:14px;line-height:1.5;min-height:45px}
.online-card label{display:block;font-size:14px;line-height:1.5;color:#d0dddd;margin:12px 0}.online-card input:not([type=checkbox]):not([type=hidden]):not([type=range]),.online-card select,.online-card textarea{font:inherit;font-size:16px;line-height:1.4;background:#0c2026;color:#f2f3e8;border:1px solid #647d80;border-radius:7px;padding:10px 12px;min-height:44px;width:100%;margin-top:6px}.online-card textarea{font-size:16px;resize:vertical}.online-card input[type=checkbox]{accent-color:var(--lime);width:19px;height:19px;flex-shrink:0;margin:2px 0 0}
.online-card label.check-line{display:flex;gap:10px;align-items:start;font-size:14px}.online-card button{min-height:44px}.online-card .primary-button,.online-card .secondary-button{width:100%;margin-top:10px}.online-card .text-button{font-size:14px;text-align:left}.online-card button:disabled{opacity:.5;cursor:not-allowed}
.table-scroll{overflow:auto}.board-table{border-collapse:collapse;width:100%;font-size:14px;font-variant-numeric:tabular-nums}.board-table th{text-align:left;font-size:12px;letter-spacing:.04em;color:#aec4c5;padding:10px 9px;border-bottom:1px solid #ffffff35}.board-table td{padding:13px 9px;border-bottom:1px solid #ffffff18}.board-table td:nth-last-child(-n+2){white-space:nowrap}.board-table .is-player td{color:var(--lime);background:#d6f58110}
.empty-state{font-size:14px;color:#bed0d0;line-height:1.6;padding:28px 0}.own-result{padding:16px;background:#d6f58110;border-radius:9px;margin-top:16px}.own-result b{font-size:16px;color:var(--lime)}.own-result p{font-size:14px;line-height:1.5;margin-bottom:0;color:#c7d6d6}
.online-card details{margin:18px 0;padding:15px 0;border-top:1px solid #ffffff26}.online-card summary{cursor:pointer;font-size:16px;font-weight:700;min-height:30px}.online-card details p{font-size:14px;line-height:1.6}.online-card pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.8;color:#becdcd;max-height:240px;overflow:auto}
.legal-card{max-width:780px}.legal-card h3{margin:27px 0 12px}.legal-card p{font-size:15px;line-height:1.7;color:#d0dcdb}.legal-card a{color:var(--lime);text-decoration:underline}.notice{padding:16px;background:#ff783e14;border-left:3px solid var(--orange)}.legal-version{border-top:1px solid #ffffff28;padding-top:14px;font-size:12px!important}
#account-button{margin-top:10px;font-size:16px;min-height:44px}.legal-menu-link{display:block;width:100%;text-align:center;font-size:12px;padding:8px}.online-result{background:#d6f58115;border-left:3px solid var(--lime);padding:10px 14px;margin:10px 0}.online-result p{font-size:14px;line-height:1.5}.run-reference{overflow-wrap:anywhere;font-size:12px;color:#b3c5c6}
#replay-canvas{width:100%;max-width:600px;height:auto;background:#0e2229;border:1px solid #678281;border-radius:9px}#replay-scrub{width:100%;min-height:44px;accent-color:var(--lime)}.replay-tools{display:flex;gap:10px;align-items:center}.replay-tools .secondary-button{width:auto}.prize-form{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.prize-form p,.prize-form .check-line,.prize-form label:has(textarea),.prize-form button{grid-column:1/-1}
@media(max-width:700px){.online-card{padding:20px;max-height:calc(100dvh - 24px)}.online-layout{display:block}.entry-panel{padding:20px 0 0;margin-top:15px;border-left:0;border-top:1px solid #ffffff28}.modal-heading h2{font-size:36px}.season-heading{flex-direction:column;gap:3px}.season-heading label{width:100%}.board-table th,.board-table td{padding:10px 6px}.prize-form{display:block}.online-card .eyebrow{font-size:12px}.board-table{font-size:13px}}

/* v7: choose a drive first; optional explanations stay behind disclosures. */
.start-screen,.cup-selected .start-screen{top:100px;bottom:auto;left:5.5%;right:auto;width:390px;max-height:calc(100dvh - 120px);display:block;transform:none;padding:0 6px 6px 0}
.start-copy,#start-caption,#start-footer{display:none!important}.setup-panel,.cup-selected .setup-panel{padding:18px}
.mode-choices{margin:0 0 16px;grid-template-columns:repeat(3,minmax(0,1fr))}.mode-choices span{min-height:44px;display:grid;place-items:center;padding:9px 4px}
.car-choices legend,.car-name small{display:none}.car-photo,.cup-selected .car-photo{height:60px}.car-name{font-size:13px;padding:8px}.car-choices{margin-bottom:16px}
.drift-formats span{min-height:44px;display:grid;place-items:center;padding:9px 4px}.mode-hint{margin:9px 0 13px;color:#b7cccc;font-size:12px;text-align:center}
.setup-details{margin:0;border-top:1px solid #ffffff20}.setup-details>summary,.drift-results>summary{min-height:44px;cursor:pointer;font-size:13px;color:#bed0d0;padding:13px 0}.setup-details[open]{padding-bottom:10px}.setup-details p{font-size:13px;line-height:1.55;color:#bfd1cf}.setup-details .handling-note{margin-bottom:0}.setup-details .paint-choices{margin:8px 0 16px}
#start-button{margin-top:13px;min-height:54px;font-size:22px}.setup-panel #account-button{display:block;width:100%;margin:7px 0 0;padding:9px;font-size:14px;min-height:44px}.legal-menu-link{padding:5px;min-height:32px}.personal-best:empty,#result-message:empty,.record-message:empty,.share-status:empty{display:none}
.results-card{display:block;width:470px;max-height:calc(100dvh - 32px)}.result-main{padding:24px 26px 12px}.result-main h2{font-size:40px;margin:8px 0 18px}.result-main .eyebrow{font-size:12px;margin-bottom:8px}.result-main .medal{display:none}.result-stats{margin:10px 0;padding:14px 0;grid-template-columns:1fr 1.25fr 1fr}.result-stats>div:nth-child(2) strong{color:var(--lime);font-size:34px}.result-stats strong{font-size:25px}.result-stats span{font-size:11px}.record-message{margin:10px 0 12px}.drift-results{margin:0;text-align:left;border-top:1px solid #ffffff20}.drift-results table{margin:0 0 10px}.skill-results{border-top:1px solid #ffffff20;text-align:left}.skill-results summary{padding:13px 0;color:#bed0d0;min-height:44px;font-size:13px}
#retry-button{justify-content:center;min-height:54px;margin:12px 0 4px;font-size:22px}#share-challenge{display:inline-block;width:auto;min-height:44px;border:0;background:none;margin:0;padding:10px 8px;font-size:13px;text-decoration:underline;text-underline-offset:4px}#result-menu{display:block;width:100%;min-height:44px;padding:8px;font-size:14px}
.result-product{display:grid;grid-template-columns:74px 1fr;gap:2px 14px;padding:15px 24px;text-align:left;align-items:center;justify-content:stretch}.result-product img{width:74px;height:76px;grid-row:1/3;margin:0;border-radius:5px}.result-product h3{font:700 21px var(--display);margin:0}.result-product .shop-button{display:block;width:auto;font-size:13px;padding:9px 0;background:none;color:#14282e;text-decoration:underline;text-underline-offset:3px}
.playing .drift-live.edge-active{border-color:#ffdb81a0}.playing .drift-live.edge-active #drift-edge{color:#ffdb81}.playing .drift-live.edge-active #drift-feedback,.playing .drift-live.chain-break #drift-feedback{display:block}.playing .drift-live.chain-break #drift-feedback{color:#e7e7dc;font-size:11px}
.online-card .modal-heading h2{font-size:38px;margin:5px 0 18px}.online-card .modal-heading .eyebrow{display:none}
@media(max-width:760px){.start-screen,.cup-selected .start-screen{top:82px;left:16px;right:16px;width:auto;max-height:calc(100dvh - 98px);padding:0}.setup-panel,.cup-selected .setup-panel{max-width:420px;padding:16px;margin:auto}.car-photo,.cup-selected .car-photo{height:57px}.results-card{width:430px}.result-main{padding:21px 20px 10px}.result-product{padding:14px 20px}.online-card .modal-heading h2{font-size:34px}}
@media(max-height:520px) and (orientation:landscape){.start-screen,.cup-selected .start-screen{top:70px;left:24px;right:auto;width:360px;max-height:calc(100dvh - 82px)}.setup-panel,.cup-selected .setup-panel{padding:14px}.results-card{width:450px;max-height:calc(100dvh - 24px)}}

/* House prototype: route controls stay in the menu; the track owns the screen. */
.house-setup{margin:15px 0 9px}
.house-setup>label{display:block;color:#b8c9cd;font-size:12px;letter-spacing:.12em;font-weight:700;margin:0 0 6px}
.house-setup>select{width:100%;border:1px solid #ffffff38;border-radius:6px;padding:11px 12px;background:#213b44;color:#f5f6ed;font:600 15px var(--font);color-scheme:dark}
.house-selected .score-row,.house-selected #gate-dots{display:none}
.house-selected .progress-box{max-width:230px}
.house-selected .progress-box>strong{font-size:15px}
.house-selected .timer-box>strong{font-size:45px}
.house-selected #result-jumps{font-size:23px}
.house-selected #menu-heading{font-size:clamp(48px,4.8vw,70px)}
@media(max-width:760px){.house-selected #menu-heading{font-size:43px}.house-selected .progress-box{max-width:155px}.house-selected .progress-box>strong{font-size:12px}.house-selected .timer-box>strong{font-size:34px}.house-selected .timer-box{min-width:112px}.house-selected #result-jumps{font-size:19px}}

.account-card{width:min(480px,100%)}.account-card .entry-panel{border:0;background:transparent;padding:0}.account-card>p{font-size:16px;line-height:1.5}.account-card .text-button{font-size:14px}

/* v16: three destinations; route picking belongs to Cup practice. */
.cup-formats{margin:0 0 14px;grid-template-columns:1fr 1fr}.cup-formats span{font-size:14px}
#cup-route-summary{font-size:14px;margin:10px 0}.house-setup>label{font-size:14px}
.ranked-preview{padding:16px;border:1px solid #d6f58155;border-radius:10px;background:#19353b;margin-bottom:14px}
.ranked-preview .ranked-tag{color:var(--lime);font-size:12px;letter-spacing:.09em;font-weight:800;margin:0 0 6px}
.ranked-preview h3{font:800 32px/1.1 var(--display);margin:0 0 7px}.ranked-preview>p{font-size:14px;line-height:1.5;margin:6px 0;color:#c2d3d4}
.ranked-preview .ranked-state{margin-top:14px;color:#f1e7c4}.ranked-preview .setup-details{margin-top:12px}
.ranked-preview .setup-details>summary{font-size:14px}.ranked-preview .setup-details p{font-size:14px;margin-bottom:0}

/* v17: a visible, non-interactive multiplayer destination. */
.mode-choices{grid-template-columns:repeat(4,minmax(0,1fr))}.mode-choices span{min-height:56px;font-size:13px;padding:8px 2px}
.mode-locked span{cursor:not-allowed;color:#a6b8bc;background:#ffffff04}.mode-locked b{font-size:12px;font-weight:600}.mode-locked small{display:flex;align-items:center;gap:3px;font-size:10px;margin:2px 0 0;opacity:.8;white-space:nowrap}.mode-locked svg{width:9px;height:11px;flex-shrink:0}
@media(max-width:350px){.mode-choices{gap:2px}.mode-choices span{font-size:12px}.mode-locked small{font-size:9px;gap:2px}}

/* Season actions live in menus/results, leaving the road unobstructed. */
.ranked-preview .check-line{display:flex;flex-wrap:wrap;align-items:center;gap:5px;font-size:13px;line-height:1.5;margin-top:14px}
.ranked-preview input[type=checkbox]{width:18px;height:18px;accent-color:var(--lime)}
.inline-link{display:inline;background:none;border:0;padding:0;color:var(--lime);font:inherit;text-decoration:underline;cursor:pointer}
#ranked-start{min-height:52px;font-size:20px;margin-top:12px}#ranked-start:disabled{opacity:.5;cursor:not-allowed}
#house-board-screen .online-card{width:min(560px,100%)}#house-board-state{font-size:14px;line-height:1.5;color:#c2d3d4}
#house-board-own{font-size:14px;line-height:1.6}#house-result{margin:12px 0;text-align:left}#house-result .text-button{width:100%;text-align:center}

/* Sign-in is the first screen; the saved garage opens only after server acknowledgement. */
.auth-overlay{z-index:32;background:#10252ceb;padding:24px;position:fixed}
.auth-card{width:min(440px,100%);margin:auto;text-align:left;padding:32px}
.auth-card .eyebrow{font-size:14px;letter-spacing:.07em;line-height:1.5}
.auth-card h1{font-size:clamp(38px,8vw,56px);line-height:1.02;overflow-wrap:anywhere;margin:16px 0}
.auth-card>p{font-size:16px;line-height:1.5}.auth-card .auth-note,.auth-card .text-button{font-size:14px}
.auth-card .primary-button{margin-top:18px;min-height:54px;font-size:22px}.auth-card .text-button{display:block;margin:20px auto 0}
.auth-card .auth-note{color:#bfcdcd;margin:16px 0;text-align:center}
.account-locked #start-screen,.account-locked .topbar,.account-locked #start-footer,.account-locked #start-caption{visibility:hidden}
@media(max-width:480px){.auth-overlay{padding:18px}.auth-card{padding:24px}.auth-card .eyebrow{font-size:14px;letter-spacing:.035em}}

.ranked-clock{padding:12px 0;border-top:1px solid #ffffff25;border-bottom:1px solid #ffffff25}.ranked-clock span{display:block;font-size:14px;color:#b8cccf}.ranked-clock strong{display:block;font:700 28px/1.3 var(--display);font-variant-numeric:tabular-nums;color:var(--lime);margin-top:3px}

.ranked-prize{display:grid;gap:4px;padding:12px 0;border-bottom:1px solid #ffffff20}.ranked-prize>span{font-size:10px;letter-spacing:.08em;color:var(--lime,#d7f879)}.ranked-prize>a{color:inherit;font-weight:700}.ranked-prize>small{opacity:.75}

/* Ranked entry is a short, account-backed first-run step. */
.ranked-join-card{width:min(510px,100%)}.ranked-join-card>p,.ranked-join-card small{font-size:14px;line-height:1.5;color:#c2d3d4}.ranked-join-card .modal-heading h2{font-size:32px;margin-bottom:8px}.ranked-join-card .modal-heading{align-items:flex-start}.ranked-join-card details{margin:14px 0;padding:12px 0}.ranked-join-card details p{margin:8px 0}.ranked-join-status{font-size:14px;line-height:1.5;color:#ffd7bd}.ranked-join-status:empty{display:none}.ranked-selected #start-button{background:transparent;color:#c2d3d4;border:1px solid #ffffff45;font:inherit;font-size:15px;font-weight:600;line-height:1.4;padding:13px}.ranked-selected #start-button:after{display:none}

/* Shared garage scale, with numbers and duplicate selection controls removed. */
.garage-stats>div{grid-template-columns:80px minmax(0,1fr);gap:10px;font-size:12px;margin:8px 0}.garage-stats meter{appearance:none;-webkit-appearance:none;width:100%;height:10px;border:0;border-radius:3px;background:#0c2026;overflow:hidden}.garage-stats meter::-webkit-meter-bar{background:#0c2026;border:1px solid #68848666;border-radius:3px;box-shadow:none}.garage-stats meter::-webkit-meter-optimum-value{background:var(--lime);border-radius:2px}.garage-stats meter::-moz-meter-bar{background:var(--lime);border-radius:2px}.garage-preview>div{min-width:0}.garage-grid small:empty,#garage-lock:empty,#garage-nitro:empty,#cup-description:empty,#personal-best:empty,#result-message:empty,.service-status:empty{display:none}#garage-nitro{display:block;margin-top:10px;font-size:12px;color:#c2d3d4}#online-status:empty{display:none}#progress-status{min-height:0;border:0;background:transparent;padding:0;color:#c2d3d4;font-size:14px}
#online-name:empty{display:none}
