:root{color:#f4f4f0;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--surface:#1b1e1b;--surface-light:#262a26;--muted:#929993;--orange:#ff8d3a;--blue:#53c7e8;--token-rally-accent:#facc15;--token-rally-accent-rgb:250, 204, 21;--line:#3a403a;background:#111311;font-family:Courier New,Courier,monospace}*{box-sizing:border-box}body{background:#111311;min-width:320px;margin:0}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}.app-shell{min-height:100vh}.app-shell.hub-route{background:#070a12}.app-shell.guardrail-route{background:#111827}.app-shell.token-rally-route{--token-asphalt:#0b0e14;--token-panel:#121720;--token-panel-light:#1a212d;--token-line:#2b3748;--neon-yellow:var(--token-rally-accent);--neon-green:#48ff7a}.app-shell.guardrail-route .top-navigation,.app-shell.guardrail-route .page-content{background:#111827}.top-navigation{border-bottom:1px solid var(--line);justify-content:flex-end;align-items:center;gap:32px;max-width:1180px;margin:0 auto;padding:22px 32px;display:flex}.game-switcher{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.game-switcher a{color:var(--muted);letter-spacing:.6px;padding:8px 10px;font-size:14px;text-decoration:none}.game-switcher a:hover,.game-switcher a.active{color:#fff}.game-switcher .nav-game.active{border-bottom:2px solid var(--orange)}.game-switcher .nav-home.active{color:#c4b5fd;border-bottom:2px solid #c4b5fd}.game-switcher .nav-game:nth-child(3).active{border-color:var(--blue)}.game-switcher .nav-leaderboard{border:1px solid var(--line);margin-left:8px}.game-switcher .nav-leaderboard:hover,.game-switcher .nav-leaderboard.active{border-color:#fff}.page-content{max-width:1180px;margin:0 auto;padding:72px 32px 96px}.game-page-content{max-width:none;padding:0}.return-main-page-link{z-index:100;color:#cbd5e1;letter-spacing:.08em;background:#0f172aeb;border:1px solid #64748b;border-radius:4px;padding:8px 12px;font-family:Courier New,Courier,monospace;font-size:.65rem;font-weight:700;text-decoration:none;position:fixed;bottom:14px;right:14px}.return-main-page-link:hover,.return-main-page-link:focus-visible{color:#fff;border-color:#22d3ee}.app-shell.guardrail-route .return-main-page-link:hover,.app-shell.guardrail-route .return-main-page-link:focus-visible{border-color:#54f29b}.app-shell.token-rally-route .return-main-page-link:hover,.app-shell.token-rally-route .return-main-page-link:focus-visible{border-color:var(--token-rally-accent)}.return-main-page-link:focus-visible{outline-offset:2px;outline:2px solid #22d3ee}.app-shell.guardrail-route .return-main-page-link:focus-visible{outline-color:#54f29b}.app-shell.token-rally-route .return-main-page-link:focus-visible{outline-color:var(--token-rally-accent)}.hub-page{color:#fff;background:#070a12;gap:20px;margin:-72px -32px -96px;padding:32px;display:grid}.hub-branding{background:#0b101d;border:1px solid #1e293b;border-radius:16px;justify-content:space-between;align-items:center;gap:20px;width:100%;max-width:1120px;margin:0 auto;padding:12px;display:flex;box-shadow:0 16px 32px #00000052}.hub-logo-slot{align-items:center;min-width:150px;min-height:40px;display:flex}.hub-logo-slot img{object-fit:contain;background:#fff;border-radius:6px;width:auto;max-width:240px;height:64px;padding:10px}.hub-logo-slot:last-child{justify-content:flex-end}.hub-logo-fallback{color:#fff;letter-spacing:.06em;font-family:Courier New,Courier,monospace;font-size:.9rem;font-weight:900}.hub-header{text-align:center;gap:12px;width:100%;max-width:1120px;margin:0 auto;display:grid}.hub-card-topline,.hub-card-badges{letter-spacing:.12em;font-family:Courier New,Courier,monospace;font-size:.7rem;font-weight:700}.hub-header h1{color:#f4f4f0;letter-spacing:-.03em;margin:0;font-size:clamp(2.25rem,7vw,5rem);font-weight:700;line-height:1}.hub-header p{color:var(--muted);max-width:620px;margin:0;font-family:system-ui,sans-serif;font-size:clamp(1rem,2vw,1.1rem)}.hub-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;width:100%;max-width:1120px;margin:0 auto;display:grid}.hub-game-card{background:#0b101d;border:2px solid #1e293b;border-radius:16px;flex-direction:column;min-height:360px;padding:clamp(22px,4vw,36px);transition:border-color .2s,box-shadow .2s;display:flex;position:relative;overflow:hidden;box-shadow:0 18px 36px #00000052}.hub-game-card:hover,.hub-game-card:focus-within{box-shadow:0 20px 38px #0000006b}.hub-game-card-green:hover,.hub-game-card-green:focus-within{border-color:#10b981}.hub-game-card-yellow:hover,.hub-game-card-yellow:focus-within{border-color:var(--token-rally-accent)}.hub-card-topline{color:#64748b;justify-content:space-between;min-height:82px;display:flex}.hub-card-topline>span:last-child{color:#64748b;align-self:flex-start;padding-top:4px;font-size:.7rem}.hub-card-visual{width:180px;height:82px;overflow:visible}.hub-visual-grid{fill:none;stroke:#334155;stroke-width:.7px}.hub-visual-green-line,.hub-visual-yellow-line{fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.hub-visual-green-line{stroke:#34d399;filter:drop-shadow(0 0 4px #34d399b3)}.hub-visual-yellow-line{stroke:var(--token-rally-accent);filter:drop-shadow(0 0 4px rgba(var(--token-rally-accent-rgb), .7))}.hub-visual-shield{fill:#10b9811f;stroke:#34d399;stroke-width:1.5px;filter:drop-shadow(0 0 7px #34d39966)}.hub-visual-shield-check{fill:none;stroke:#d1fae5;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px}.hub-visual-road{fill:none;stroke:#64748b;stroke-dasharray:4 4;stroke-width:5px}.hub-visual-car{fill:none;stroke:#fde68a;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px}.hub-visual-key{fill:none;stroke:var(--token-rally-accent);stroke-width:1.5px;filter:drop-shadow(0 0 5px rgba(var(--token-rally-accent-rgb), .55))}.hub-visual-node{fill:#f8fafc;stroke:currentColor;stroke-width:1px}.hub-game-card h2{color:#fff;letter-spacing:-.03em;margin:18px 0 14px;font-size:clamp(1.75rem,4vw,3rem);font-weight:700;line-height:1;transition:color .2s}.hub-game-card-green h2{text-shadow:0 0 18px #34d39933}.hub-game-card-yellow h2{text-shadow:0 0 18px rgba(var(--token-rally-accent-rgb), .2)}.hub-game-card-green:hover h2,.hub-game-card-green:focus-within h2{color:#34d399}.hub-game-card-yellow:hover h2,.hub-game-card-yellow:focus-within h2{color:var(--token-rally-accent)}.hub-game-card p{color:#94a3b8;max-width:48ch;margin:0;font-family:system-ui,sans-serif;font-size:1rem;line-height:1.55}.hub-card-badges{flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:28px;display:flex}.hub-card-badges span{color:#cbd5e1;background:#0f172a;border:1px solid #1e293b;border-radius:8px;padding:7px 9px}.hub-launch-button{color:#0b101d;letter-spacing:.08em;border-radius:12px;justify-content:space-between;align-items:center;margin-top:28px;padding:15px 16px;font-family:Courier New,Courier,monospace;font-size:.75rem;font-weight:900;text-decoration:none;transition:filter .15s,transform .15s;display:flex}.hub-game-card-green .hub-launch-button{background:#38ef7d}.hub-game-card-yellow .hub-launch-button{background:var(--token-rally-accent)}.hub-launch-button:hover,.hub-launch-button:focus-visible{filter:brightness(1.08);transform:translateY(-2px)}.hub-launch-button:focus-visible{outline-offset:3px;outline:2px solid #f8fafc}.preserved-game-hidden{display:none}.token-rally-briefing-overlay{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:70;background:#020617d9;place-items:center;padding:16px;display:grid;position:fixed;inset:0;overflow:auto}.token-rally-briefing-card{color:#fff;background:#070a12;border:1px solid #1e293b;border-radius:16px;width:100%;max-width:768px;max-height:92dvh;padding:clamp(20px,3vw,32px);overflow-y:auto;box-shadow:0 25px 70px #0000008c}.token-rally-briefing-header{border-bottom:1px solid #1e293bcc;gap:9px;margin-bottom:16px;padding-bottom:14px;display:grid}.token-rally-briefing-header-meta{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;display:flex}.token-rally-briefing-status{color:#64748b;letter-spacing:.1em;text-transform:uppercase;font-family:Courier New,Courier,monospace;font-size:.65rem}.token-rally-briefing-header h1{color:#fff;letter-spacing:-.03em;margin:0;font-size:clamp(1.5rem,3vw,1.875rem);font-weight:700;line-height:1.08}.token-rally-briefing-objective,.token-rally-briefing-scoring{background:#0b101d;border:1px solid #1e293b;border-radius:12px;padding:14px}.token-rally-briefing-objective{margin-bottom:12px}.token-rally-briefing-section-kicker{color:var(--neon-yellow);letter-spacing:.1em;margin:0 0 8px;font-family:Courier New,Courier,monospace;font-size:.62rem;font-weight:800;display:block}.token-rally-briefing-objective p{color:#94a3b8;max-width:72ch;margin:0 0 8px;font-family:system-ui,sans-serif;font-size:1rem;line-height:1.55}.token-rally-briefing-objective p:last-child{margin-bottom:0}.token-rally-briefing-context{color:#cbd5e1!important}.token-rally-briefing-scoring{margin-bottom:12px}.token-rally-briefing-scoring .token-rally-briefing-section-kicker{color:var(--neon-yellow);margin-bottom:9px}.token-rally-briefing-scoring-pills{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.token-rally-briefing-scoring-pill{text-align:center;background:#070a12;border:1px solid #1e293be6;border-radius:9px;align-content:start;justify-items:center;gap:3px;min-width:0;padding:8px 6px;display:grid}.token-rally-briefing-scoring-pill>span:first-child{color:var(--neon-yellow);font-size:.9rem;line-height:1.2}.token-rally-briefing-scoring-pill strong{color:#fff;letter-spacing:.06em;font-family:Courier New,Courier,monospace;font-size:.75rem}.token-rally-briefing-scoring-pill>span:last-child{color:#94a3b8;font-size:.75rem;line-height:1.35}.token-rally-briefing-button{background:var(--neon-yellow);border:1px solid var(--neon-yellow);color:#020617;letter-spacing:.08em;border-radius:10px;justify-content:center;width:100%;margin-top:14px;padding:14px 18px;font-family:Courier New,Courier,monospace;font-size:.75rem;font-weight:900;transition:filter .12s,transform .12s;display:flex}.token-rally-briefing-button:disabled{color:#94a3b8;cursor:not-allowed;background:#334155;border-color:#334155;transform:none}.token-rally-briefing-button:hover:not(:disabled){filter:brightness(1.08);transform:translateY(-2px)}.token-rally-briefing-button:active:not(:disabled){transform:translateY(1px)}.token-rally-briefing-driver{margin-top:16px}.token-rally-briefing-driver label{color:var(--neon-yellow);letter-spacing:.1em;margin-bottom:7px;font-family:Courier New,Courier,monospace;font-size:.62rem;font-weight:800;display:block}.token-rally-briefing-driver input{color:#f8fafc;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;letter-spacing:.1em;text-transform:uppercase;background:#070a12;border:1px solid #1e293b;border-radius:9px;outline:none;width:100%;padding:11px 12px;font-family:Courier New,Courier,monospace;font-size:1rem;font-weight:700}.token-rally-briefing-driver input:focus{border-color:var(--neon-yellow);box-shadow:0 0 0 1px var(--neon-yellow)}.token-rally-briefing-driver p{color:#64748b;margin:7px 0 0;font-family:system-ui,sans-serif;font-size:.875rem;line-height:1.45}.token-rally-victory-overlay{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);z-index:70;background:#020617f0;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0;overflow:auto}.token-rally-victory-card{border:2px solid var(--neon-yellow);box-shadow:inset 0 0 0 1px rgba(var(--token-rally-accent-rgb), .65), 0 24px 80px #000000a6, 0 0 30px rgba(var(--token-rally-accent-rgb), .08);background:#0b101d;border-radius:16px;width:100%;max-width:1080px;max-height:calc(100vh - 32px);padding:clamp(20px,4vw,32px);overflow-y:auto}.token-rally-floor-debrief-overlay{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);z-index:50;background:#020617e6;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.token-rally-floor-debrief-card{border:2px solid rgba(var(--token-rally-accent-rgb), .5);background:#0b101d;border-radius:16px;width:100%;max-width:512px;padding:clamp(24px,5vw,32px);box-shadow:0 24px 80px #000000a6}.token-rally-floor-debrief-header{border-bottom:1px solid #1e293b;margin-bottom:20px;padding-bottom:12px}.token-rally-floor-debrief-kicker{color:var(--neon-yellow);letter-spacing:2px;margin:0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;font-weight:700}.token-rally-floor-debrief-card h2{color:#fff;letter-spacing:-.03em;margin:4px 0 0;font-family:Courier New,Courier,monospace;font-size:32px}.token-rally-floor-debrief-rows{background:#020617cc;border:1px solid #1e293b;border-radius:12px;padding:12px 16px}.token-rally-floor-debrief-rows div,.token-rally-floor-debrief-total{justify-content:space-between;align-items:center;padding:5px 0;display:flex}.token-rally-floor-debrief-rows span,.token-rally-floor-debrief-total span{color:#a5aead;letter-spacing:1px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px}.token-rally-floor-debrief-rows strong{color:var(--neon-yellow);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px}.token-rally-scoring-details{color:#c7d0d8;max-width:72ch;margin-top:12px;font-family:system-ui,sans-serif;font-size:1rem;line-height:1.55}.token-rally-scoring-details summary{color:var(--neon-yellow);cursor:pointer;letter-spacing:.08em;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.72rem;font-weight:700}.token-rally-scoring-details summary:focus-visible{outline:2px solid var(--neon-yellow);outline-offset:3px}.token-rally-scoring-details ul{gap:8px;margin:10px 0 0;padding-left:20px;display:grid}.token-rally-scoring-details li strong{color:var(--neon-yellow)}.token-rally-floor-debrief-total{color:#fff;margin-top:10px;padding:10px 0 0}.token-rally-floor-debrief-total strong{color:#fff;font-size:18px}.token-rally-floor-debrief-cumulative{background:rgba(var(--token-rally-accent-rgb), .1);border:1px solid rgba(var(--token-rally-accent-rgb), .3);text-align:center;border-radius:12px;margin-top:20px;padding:16px}.token-rally-floor-debrief-cumulative p,.token-rally-floor-debrief-cumulative-label{color:var(--neon-yellow);letter-spacing:1.5px;text-transform:uppercase;margin:0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;font-weight:600}.token-rally-floor-debrief-cumulative strong{color:var(--neon-yellow);filter:drop-shadow(0 0 10px rgba(var(--token-rally-accent-rgb), .3));margin:4px 0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:30px;font-weight:900;display:block}.token-rally-floor-debrief-cumulative strong span{font-size:12px}.token-rally-floor-debrief-continue{background:var(--neon-yellow);box-shadow:0 10px 24px rgba(var(--token-rally-accent-rgb), .12);color:#0f172a;cursor:pointer;letter-spacing:1.5px;text-transform:uppercase;border:0;border-radius:12px;width:100%;margin-top:20px;padding:16px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;font-weight:900;transition:filter .15s}.token-rally-floor-debrief-continue:hover{filter:brightness(1.08)}.token-rally-victory-header{border-bottom:1px solid #1e293b;justify-content:space-between;align-items:flex-start;margin-bottom:20px;padding-bottom:18px;display:flex}.token-rally-victory-header p{color:var(--neon-yellow);letter-spacing:.14em;margin:0 0 6px;font-family:Courier New,Courier,monospace;font-size:11px;font-weight:700}.token-rally-victory-header h1{color:#fff;letter-spacing:-.03em;text-transform:uppercase;margin:0 0 10px;font-size:clamp(2rem,8vw,3rem);font-weight:700;line-height:1}.token-rally-victory-header span{color:#94a3b8;letter-spacing:.08em;text-transform:uppercase;font-family:Courier New,Courier,monospace;font-size:13px;display:inline-block}.token-rally-victory-flag{color:var(--neon-yellow);flex:none;width:52px;height:52px;margin:2px 0 0 16px}.token-rally-victory-score-card,.token-rally-victory-rank-card{background:#070a12;border:1px solid #1e293b;border-radius:12px;padding:18px 20px}.token-rally-victory-score-card{margin-bottom:12px}.token-rally-victory-score-card p,.token-rally-victory-rank-card p,.token-rally-victory-run-stats span{color:var(--neon-yellow);letter-spacing:.12em;text-transform:uppercase;margin:0;font-family:Courier New,Courier,monospace;font-size:11px;font-weight:700}.token-rally-victory-score-card strong{color:var(--neon-yellow);text-shadow:0 0 12px rgba(var(--token-rally-accent-rgb), .3);margin-top:8px;font-family:Courier New,Courier,monospace;font-size:clamp(2.5rem,9vw,4rem);line-height:1;display:block}.token-rally-victory-rank-card{border-color:#38ef7d99;margin-bottom:0}.token-rally-victory-rank-card p{color:#38ef7d}.token-rally-victory-rank-card strong{color:#f8fafc;margin-top:8px;font-family:Courier New,Courier,monospace;font-size:clamp(1.25rem,4vw,1.7rem);display:block}.token-rally-victory-rank-card strong span{color:var(--neon-yellow);margin-left:10px;font-size:.72em}.token-rally-victory-rank-card small,.token-rally-victory-rank-card em{color:#64748b;letter-spacing:.08em;text-transform:uppercase;margin-top:6px;font-family:Courier New,Courier,monospace;font-size:10px;font-style:normal;display:block}.token-rally-victory-run-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:0;display:grid}.token-rally-victory-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.token-rally-victory-run-stats>div{background:#070a12;border:1px solid #1e293b;border-radius:10px;padding:14px}.token-rally-victory-run-stats strong{color:#f8fafc;margin-top:7px;font-family:Courier New,Courier,monospace;font-size:clamp(1rem,3vw,1.25rem);display:block}.token-rally-victory-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.token-rally-briefing-floors{gap:14px;margin:16px 0;display:grid}.token-rally-briefing-floor{background:#070a12cc;border:1px solid #293449;border-radius:12px;padding:16px}.token-rally-briefing-floor-header{border-bottom:1px solid #1e293b;justify-content:space-between;align-items:center;margin-bottom:14px;padding-bottom:10px;display:flex}.token-rally-briefing-floor-header span,.token-rally-briefing-floor-header strong,.token-rally-briefing-metrics dt,.token-rally-briefing-prompts h3,.token-rally-briefing-prompts li span{color:var(--neon-yellow);letter-spacing:.1em;text-transform:uppercase;font-family:Courier New,Courier,monospace;font-size:10px;font-weight:700}.token-rally-briefing-floor-header h2{color:#f8fafc;margin:4px 0 0;font-size:18px}.token-rally-briefing-floor-header strong{color:var(--neon-yellow);white-space:nowrap;font-size:14px}.token-rally-briefing-floor-content{grid-template-columns:minmax(230px,.8fr) minmax(320px,1.2fr);align-items:start;gap:16px;display:grid}.token-rally-briefing-map .token-rally-map{box-shadow:none;min-height:0;padding:8px}.token-rally-briefing-map .token-rally-map-svg{flex:none;height:auto}.token-rally-briefing-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;display:grid}.token-rally-briefing-metrics div{background:#0b101d;border:1px solid #1e293b;border-radius:8px;padding:9px}.token-rally-briefing-metrics dt{color:#94a3b8;font-size:9px}.token-rally-briefing-metrics dd{color:#f8fafc;margin:5px 0 0;font-family:Courier New,Courier,monospace;font-size:13px;font-weight:700}.token-rally-briefing-prompts{margin-top:14px}.token-rally-briefing-prompts h3{margin:0 0 8px}.token-rally-briefing-prompts ol{gap:8px;margin:0;padding:0;list-style:none;display:grid}.token-rally-briefing-prompts li{background:#0b101d;border:1px solid #1e293b;border-radius:8px;padding:10px}.token-rally-briefing-prompts li span{color:#94a3b8;font-size:9px}.token-rally-briefing-prompts p{color:#e2e8f0;overflow-wrap:anywhere;white-space:pre-wrap;margin:5px 0 0;font-size:13px;line-height:1.45}.token-rally-victory-actions button{color:#e2e8f0;cursor:pointer;letter-spacing:.06em;text-transform:uppercase;background:0 0;border:1px solid #475569;border-radius:10px;justify-content:center;align-items:center;padding:12px 8px;font-family:Courier New,Courier,monospace;font-size:11px;font-weight:700;transition:background .12s,border-color .12s,color .12s,filter .12s;display:flex}.token-rally-victory-actions button:hover{border-color:#94a3b8}.token-rally-victory-actions .token-rally-victory-leaderboard{border-color:var(--neon-yellow);color:var(--neon-yellow)}.token-rally-victory-actions .token-rally-victory-leaderboard:hover{background:rgba(var(--token-rally-accent-rgb), .1)}.token-rally-victory-actions .token-rally-victory-race-again{background:var(--neon-yellow);border-color:var(--neon-yellow);color:var(--token-asphalt);font-weight:900}.token-rally-victory-actions .token-rally-victory-race-again:hover{filter:brightness(1.08)}.npc-riddle-overlay{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);z-index:60;background:#020617e6;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.npc-riddle-card{background:#0f172a;border:1px solid #334155;border-radius:12px;width:100%;max-width:520px;padding:24px;transition:border-color .16s,box-shadow .16s;box-shadow:0 24px 70px #00000080}.npc-riddle-card.incorrect{border-color:#f43f5ecc;animation:.36s npc-riddle-shake;box-shadow:0 0 28px #f43f5e2e}.npc-riddle-card.correct{border-color:#10b981d9;box-shadow:0 0 32px #10b9813d}.npc-riddle-header{border-bottom:1px solid #1e293b;align-items:center;gap:12px;margin-bottom:16px;padding-bottom:16px;display:flex}.npc-riddle-avatar{background:#1e293b;border:1px solid #10b98180;border-radius:50%;flex:none;justify-content:center;align-items:center;width:48px;height:48px;font-size:24px;display:flex}.npc-riddle-kicker{color:#34d399;letter-spacing:.12em;margin:0 0 5px;font-size:10px}.npc-riddle-header h2{color:#fff;margin:0;font-family:Courier New,Courier,monospace;font-size:1rem;font-weight:700;line-height:1.35}.npc-riddle-statement{background:#020617cc;border:1px solid #1e293b;border-radius:8px;margin-bottom:16px;padding:16px}.npc-riddle-statement p{color:#e2e8f0;margin:0;font-size:.9rem;font-style:italic;line-height:1.6}.npc-riddle-feedback{border-radius:8px;margin-bottom:16px;padding:12px;font-size:.75rem;line-height:1.5}.npc-riddle-feedback.incorrect{color:#fda4af;background:#7f1d1d99;border:1px solid #f43f5e80;justify-content:space-between;align-items:center;gap:12px;display:flex}.npc-riddle-feedback.incorrect strong{color:#fb7185;flex:none;font-size:.65rem}.npc-riddle-feedback.error{color:#fda4af;background:#7f1d1d99;border:1px solid #f43f5e80}.npc-riddle-feedback.correct{color:#6ee7b7;background:#064e3b99;border:1px solid #10b98180}.npc-riddle-hint-button{border:1px solid var(--neon-yellow);color:var(--neon-yellow);cursor:pointer;letter-spacing:.1em;background:0 0;border-radius:4px;margin-bottom:16px;padding:10px 12px;font-size:.7rem;font-weight:700}.npc-riddle-hint-button:hover{background:rgba(var(--token-rally-accent-rgb), .12)}.npc-riddle-hint{color:#a7f3d0;background:#064e3b59;border:1px solid #10b98180;border-radius:8px;margin-bottom:16px;padding:12px;font-size:.8rem;line-height:1.5}.npc-riddle-card form{gap:10px;display:grid}.npc-riddle-card label{color:#94a3b8;letter-spacing:.1em;font-size:.65rem}.npc-riddle-card input{color:#fff;background:#020617;border:1px solid #475569;border-radius:4px;outline:none;width:100%;padding:12px;font-size:.85rem}.npc-riddle-card input:focus{border-color:var(--neon-yellow);box-shadow:0 0 0 1px var(--neon-yellow)}.npc-riddle-card input:disabled{opacity:.7}.npc-riddle-card form button{background:var(--neon-yellow);border:1px solid var(--neon-yellow);color:var(--token-asphalt);letter-spacing:.1em;border-radius:4px;padding:13px 12px;font-size:.72rem;font-weight:700;transition:filter .12s,opacity .12s}.npc-riddle-card form button:hover:not(:disabled){filter:brightness(1.08)}.npc-riddle-card form button:disabled{cursor:not-allowed;opacity:.45}@keyframes npc-riddle-shake{0%,to{transform:translate(0)}25%{transform:translate(-8px)}75%{transform:translate(8px)}}@media (width<=640px){.token-rally-briefing-overlay{padding:12px}.token-rally-briefing-card{max-height:calc(100vh - 24px);padding:22px 16px}.token-rally-briefing-scoring-pills{grid-template-columns:1fr}.token-rally-briefing-scoring-pill{text-align:left;grid-template-columns:auto auto 1fr;place-items:center start;gap:8px}.token-rally-briefing-scoring-pill>span:last-child{justify-self:end}.npc-riddle-card{padding:18px}.npc-riddle-feedback.incorrect{flex-direction:column;align-items:flex-start;gap:4px}.token-rally-victory-actions,.token-rally-victory-summary,.token-rally-briefing-floor-content{grid-template-columns:1fr}.token-rally-briefing-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.token-rally-victory-run-stats{grid-template-columns:1fr}}.game-page,.leaderboard-page{max-width:900px;margin:0 auto}.game-hero{max-width:760px;margin-bottom:42px}.eyebrow{color:var(--orange);letter-spacing:2px;margin:0 0 16px;font-size:12px;font-weight:700}.accent-blue .eyebrow{color:var(--blue)}h1,h2,p{margin-top:0}h1{letter-spacing:-3px;margin-bottom:24px;font-family:Georgia,serif;font-size:clamp(42px,7vw,76px);font-weight:400;line-height:.95}h2{font-family:Georgia,serif;font-size:clamp(26px,4vw,38px);font-weight:400;line-height:1.1}.game-description{color:var(--muted);max-width:600px;font-family:system-ui,sans-serif;font-size:17px;line-height:1.6}.game-card,.leaderboard-card{background:var(--surface);border:1px solid var(--line);padding:clamp(24px,5vw,54px);box-shadow:12px 12px #0a0c0a}.game-card{min-height:430px}.question-header,.leaderboard-heading{color:var(--muted);letter-spacing:1px;text-transform:uppercase;gap:16px;font-size:11px;display:grid}.question-header{grid-template-columns:1fr auto;margin-bottom:60px}.answer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:34px 0;display:grid}.answer-button{border:1px solid var(--line);color:#f4f4f0;text-align:left;background:0 0;min-height:58px;padding:14px 16px;transition:border-color .15s,background .15s}.answer-button:hover,.answer-button.selected{background:var(--surface-light);border-color:var(--orange)}.accent-blue .answer-button:hover,.accent-blue .answer-button.selected{border-color:var(--blue)}.primary-button,.secondary-button{letter-spacing:1px;border:0;padding:14px 18px;font-size:11px;font-weight:700;text-decoration:none;display:inline-block}.primary-button{background:var(--orange);color:#111311}.accent-blue .primary-button{background:var(--blue)}.primary-button:disabled{cursor:not-allowed;opacity:.35}.continue-button{margin-top:2px}.result-panel{max-width:600px}.result-panel h2{margin-bottom:32px;font-size:clamp(42px,7vw,68px)}.result-stats{border-bottom:1px solid var(--line);border-top:1px solid var(--line);gap:48px;margin-bottom:38px;padding:18px 0;display:flex}.result-stats span{color:var(--muted);text-transform:uppercase;flex-direction:column;gap:3px;font-size:11px;display:flex}.result-stats strong{color:#fff;font-size:20px}.score-form label{letter-spacing:1px;text-transform:uppercase;margin-bottom:10px;font-size:11px;display:block}.form-row{gap:10px;display:flex}.form-row input{border:1px solid var(--line);color:#fff;background:0 0;width:100%;min-width:0;padding:12px 14px}.form-row input:focus{border-color:var(--orange);outline:none}.accent-blue .form-row input:focus{border-color:var(--blue)}.success-message{color:var(--orange);font-size:14px}.accent-blue .success-message{color:var(--blue)}.leaderboard-card{padding:0}.leaderboard-heading,.leaderboard-row{grid-template-columns:.5fr 2fr 1fr 1fr .7fr;align-items:center;gap:16px;padding:18px 24px;display:grid}.leaderboard-heading{border-bottom:1px solid var(--line);font-size:10px}.leaderboard-row{border-bottom:1px solid var(--line);font-family:system-ui,sans-serif;font-size:14px}.leaderboard-row:last-child{border-bottom:0}.leaderboard-row strong{font-family:Courier New,Courier,monospace}.empty-leaderboard{color:var(--muted);padding:32px 24px;font-family:system-ui,sans-serif}.secondary-button{border:1px solid var(--line);color:#fff;margin-top:28px}.secondary-button:hover{border-color:#fff}.leaderboard-screen{--leaderboard-line:#334155;--leaderboard-text:#edf4f1;--leaderboard-muted:#8291a5;--leaderboard-accent:#54f29b;--leaderboard-accent-rgb:84, 242, 155;--leaderboard-mono:"SFMono-Regular", Consolas, "Liberation Mono", monospace;--leaderboard-sans:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;width:100%;min-height:100vh;color:var(--leaderboard-text);font-family:var(--leaderboard-sans);background:#0b0e14;margin:0;padding:clamp(30px,5vw,64px) clamp(24px,5vw,80px) 30px}.leaderboard-screen.accent-yellow{--leaderboard-accent:var(--token-rally-accent);--leaderboard-accent-rgb:var(--token-rally-accent-rgb)}.leaderboard-screen .eyebrow{color:var(--leaderboard-accent)}.leaderboard-screen-header{border-bottom:1px solid var(--leaderboard-line);justify-content:space-between;align-items:flex-end;gap:24px;padding-bottom:26px;display:flex}.leaderboard-screen-header h1{color:var(--leaderboard-text);font-family:var(--leaderboard-sans);letter-spacing:.06em;margin:8px 0 0;font-size:clamp(1.6rem,4vw,3.2rem);font-weight:800;line-height:1}.leaderboard-screen-header h1 span{color:var(--leaderboard-accent)}.leaderboard-screen.accent-yellow .leaderboard-screen-header h1{color:#fff;letter-spacing:-.03em;margin-top:0;font-family:Courier New,Courier,monospace;font-size:clamp(1.75rem,4vw,3rem);font-weight:700}.leaderboard-screen.accent-yellow .leaderboard-screen-header{border-bottom:0;padding-bottom:0}.leaderboard-screen-header p{color:var(--leaderboard-muted);font-family:var(--leaderboard-mono);margin:14px 0 0;font-size:.72rem}.leaderboard-actions{flex-wrap:wrap;gap:10px;display:flex}.leaderboard-home{border:1px solid var(--leaderboard-line);min-height:48px;color:var(--leaderboard-text);font-family:var(--leaderboard-mono);letter-spacing:.08em;white-space:nowrap;background:#ffffff08;border-radius:4px;padding:14px 18px;font-size:.7rem;font-weight:700;text-decoration:none}.leaderboard-home:hover{border-color:var(--leaderboard-accent);color:var(--leaderboard-accent)}.leaderboard-return{border:1px solid var(--leaderboard-accent);min-height:48px;color:var(--leaderboard-accent);background:rgba(var(--leaderboard-accent-rgb), .07);font-family:var(--leaderboard-mono);letter-spacing:.08em;white-space:nowrap;border-radius:4px;padding:14px 18px;font-size:.7rem;font-weight:700;text-decoration:none}.leaderboard-screen.accent-yellow .leaderboard-return{justify-content:center;align-items:center;min-height:0;padding:8px 16px;line-height:1;display:inline-flex}.leaderboard-screen-panel{--leaderboard-columns:80px minmax(0, 1fr) 180px 160px 160px;background:#11161f;border:1px solid #34404f;border-radius:8px;margin-top:28px;padding:clamp(24px,3vw,40px);box-shadow:0 18px 55px #0000006b}.leaderboard-screen-panel .leaderboard-heading{border:0;justify-content:space-between;align-items:flex-end;gap:16px;margin:0 0 14px;padding:0;display:flex}.leaderboard-screen-panel .leaderboard-heading h2{color:#fff;font-family:var(--leaderboard-sans);letter-spacing:.04em;margin:6px 0 0;font-size:clamp(2.5rem,4vw,3rem);font-weight:900;line-height:1}.leaderboard-grid-header{grid-template-columns:var(--leaderboard-columns);color:#9ca3af;font-family:var(--leaderboard-mono);letter-spacing:.08em;text-align:center;gap:24px;margin-top:32px;padding:0 24px 12px;font-size:.78rem;font-weight:700;display:grid}.leaderboard-grid-header span:nth-child(2){text-align:left}.leaderboard-grid-header span:nth-child(5){text-align:right}.leaderboard-screen-panel .leaderboard-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.leaderboard-screen-panel .leaderboard-list li{grid-template-columns:var(--leaderboard-columns);background:#151a24;border:1px solid #293241;border-radius:6px;align-items:center;gap:24px;min-height:70px;padding:18px 24px;font-size:1.5rem;display:grid}.leaderboard-screen-panel .leaderboard-rank{color:#fff;text-align:center;font-size:1.6rem;font-weight:800}.leaderboard-medal{margin-right:12px;font-size:1.8rem;line-height:1;display:inline-block}.leaderboard-medal-1{filter:drop-shadow(0 0 8px #ffd70073)}.leaderboard-medal-2{filter:drop-shadow(0 0 8px #e0e6ed59)}.leaderboard-medal-3{filter:drop-shadow(0 0 8px #cd7f3266)}.leaderboard-podium-row-1{box-shadow:0 0 18px #ffd70038;border-color:gold!important}.leaderboard-podium-row-2{box-shadow:0 0 16px #e0e6ed24;border-color:#e0e6ed!important}.leaderboard-podium-row-3{box-shadow:0 0 16px #cd7f322e;border-color:#cd7f32!important}.leaderboard-screen-panel .leaderboard-driver{color:#fff;text-align:left;align-items:center;min-width:0;font-size:1.6rem;font-weight:800;display:flex;overflow:hidden}.leaderboard-screen-panel .leaderboard-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.leaderboard-screen-panel .leaderboard-list strong{color:#00ff87;font-family:var(--leaderboard-mono);text-align:center;font-size:1.5rem;font-weight:800}.leaderboard-screen-panel .leaderboard-accuracy{color:#00ff87;font-family:var(--leaderboard-mono);text-align:center;font-size:1.5rem;font-weight:700}.leaderboard-screen-panel .leaderboard-time{color:#fff;font-family:var(--leaderboard-mono);text-align:right;font-size:1.5rem;font-weight:700}.leaderboard-footnote,.leaderboard-empty{color:var(--leaderboard-muted);font-family:var(--leaderboard-mono);margin:14px 0 0;font-size:.7rem}.leaderboard-screen-footer{border-top:1px solid var(--leaderboard-line);color:var(--leaderboard-muted);font-family:var(--leaderboard-mono);letter-spacing:.08em;justify-content:space-between;gap:20px;margin-top:26px;padding-top:16px;font-size:.62rem;display:flex}@media (width<=760px){.top-navigation{flex-direction:column;align-items:flex-start;gap:18px;padding:18px 20px}.game-switcher{justify-content:flex-start}.game-switcher .nav-leaderboard{margin-left:0}.page-content{padding:48px 20px 72px}.hub-page{gap:24px;margin:-48px -20px -72px;padding:20px}.hub-branding{flex-wrap:wrap;justify-content:center;gap:8px 20px;padding:12px}.hub-logo-slot,.hub-logo-slot:last-child{justify-content:center;min-width:0}.hub-card-grid{grid-template-columns:1fr}.hub-game-card{min-height:0}.hub-game-card h2{margin-top:32px}.answer-grid{grid-template-columns:1fr}.form-row{flex-direction:column;align-items:stretch}.leaderboard-card{overflow-x:auto}.leaderboard-heading,.leaderboard-row{min-width:560px}}@media (width<=900px){.leaderboard-screen{margin:0;padding:22px 12px 24px}.leaderboard-screen-header{flex-direction:column;align-items:flex-start;gap:18px}.leaderboard-screen-header p{line-height:1.5}.leaderboard-actions{flex-direction:column;width:100%}.leaderboard-home,.leaderboard-return{text-align:center;width:100%}.leaderboard-screen.accent-yellow .leaderboard-return{min-height:44px}.leaderboard-screen-panel .leaderboard-grid-header{grid-template-columns:30px minmax(0,1fr) 56px 70px;gap:7px;padding-inline:8px;font-size:.52rem}.leaderboard-screen-panel .leaderboard-heading h2{font-size:1.8rem}.leaderboard-screen-panel .leaderboard-grid-header span:last-child,.leaderboard-screen-panel .leaderboard-time{display:none}.leaderboard-screen-panel .leaderboard-list li{grid-template-columns:30px minmax(0,1fr) 56px 70px;gap:7px;min-height:54px;padding-inline:8px;font-size:.68rem}.leaderboard-screen-panel .leaderboard-driver,.leaderboard-screen-panel .leaderboard-rank{font-size:.9rem}.leaderboard-screen-panel .leaderboard-list strong,.leaderboard-screen-panel .leaderboard-accuracy{font-size:.72rem}.leaderboard-medal{margin-right:5px;font-size:1.1rem}.leaderboard-screen-footer{flex-direction:column;align-items:flex-start;gap:8px}}.token-rally-page{box-sizing:border-box;background:linear-gradient(#0b0e14f2,#0b0e14f2),repeating-linear-gradient(135deg,#0000 0 11px,#ffffff06 11px 12px);flex-direction:column;height:100dvh;min-height:0;max-height:100dvh;margin:0;padding:24px 32px;font-family:Courier New,Courier,monospace;display:flex;overflow:hidden}.app-shell.token-rally-route button:focus-visible{outline:2px solid var(--neon-yellow);outline-offset:3px}.token-rally-title-bar{border-bottom:2px solid rgba(var(--token-rally-accent-rgb), .4);flex:none;justify-content:space-between;align-items:flex-end;margin-bottom:12px;padding-bottom:12px;display:flex}.token-rally-title-bar h1{color:#fff;letter-spacing:-.03em;text-transform:uppercase;margin:0;font-size:clamp(1.75rem,4vw,3rem);font-weight:700;line-height:1}.token-rally-status-badge{color:#cbd5e1;letter-spacing:1px;text-transform:uppercase;background:#0f172a;border:1px solid #1e293b;border-radius:8px;flex:none;align-items:center;gap:8px;padding:6px 12px;font-size:12px;font-weight:700;display:flex}.token-rally-status-badge span{background:#34d399;border-radius:999px;width:10px;height:10px;animation:1.8s ease-in-out infinite token-status-pulse}.prompt-label,.gatekeeper-label,.map-legend{color:var(--neon-green);letter-spacing:1.8px;font-size:10px;font-weight:700}.token-rally-page h1{margin:0}.token-rally-layout{flex:1;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);align-items:stretch;gap:24px;width:100%;max-width:1180px;min-height:0;margin:0 auto;display:grid}.carpark-panel,.command-deck{background:var(--token-panel);border:1px solid var(--token-line);min-height:0;box-shadow:9px 9px #080a0e}.carpark-panel{flex-direction:column;min-width:0;padding:16px;display:flex}.carpark-hud{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:12px;display:grid}.carpark-hud .telemetry-stat{background:#0b101d;border:1px solid #1e293b;border-radius:12px;min-width:0;padding:12px;transition:background-color .15s,border-color .15s,box-shadow .15s;box-shadow:0 8px 18px #0000004d}.carpark-hud .telemetry-stat.keys-complete{background:rgba(var(--token-rally-accent-rgb), .1);border-color:rgba(var(--token-rally-accent-rgb), .8);box-shadow:0 0 18px rgba(var(--token-rally-accent-rgb), .1)}.carpark-hud span,.carpark-hud strong{display:block}.carpark-hud span{color:#8490a0;letter-spacing:1.5px;margin-bottom:7px;font-size:9px}.carpark-hud strong{color:var(--neon-yellow);letter-spacing:.5px;white-space:nowrap;align-items:center;gap:6px;font-family:Courier New,Courier,monospace;font-size:15px;display:flex}.carpark-hud strong small{color:#8490a0;font-size:11px;font-weight:400}.carpark-hud .telemetry-icon{letter-spacing:0;margin:0;font-size:17px;line-height:1;display:inline-block}.carpark-hud .telemetry-coin-icon svg{width:20px;height:20px;display:block}.carpark-hud strong.hud-value-pulse{animation:.52s ease-out token-hud-pulse}.carpark-hud strong.telemetry-penalty{color:#fb7185}.carpark-hud strong.keys-complete{color:#fbbf24}.flying-item-overlay{pointer-events:none;z-index:50;position:fixed;inset:0}.flying-item{pointer-events:none;border-radius:999px;justify-content:center;align-items:center;width:28px;height:28px;font-size:18px;animation:.7s cubic-bezier(.22,1,.36,1) forwards token-flying-item;display:flex;position:fixed;top:0;left:0}.flying-item-key{background:var(--neon-yellow);box-shadow:0 0 20px rgba(var(--token-rally-accent-rgb), .9);color:#8b6422}.flying-item-coin{background:var(--neon-yellow);box-shadow:0 0 20px rgba(var(--token-rally-accent-rgb), .9);color:#8e6418}@keyframes token-flying-item{0%{opacity:1;transform:translate(-50%,-50%)scale(1)}45%{opacity:1;transform:translate(calc(-50% + var(--fly-mid-x)), calc(-50% + var(--fly-mid-y))) scale(1.4)}to{opacity:0;transform:translate(calc(-50% + var(--fly-delta-x)), calc(-50% + var(--fly-delta-y))) scale(.3)}}@keyframes token-hud-pulse{0%{filter:drop-shadow(0 0 0 rgba(var(--token-rally-accent-rgb), 0));transform:scale(1)}45%{filter:drop-shadow(0 0 10px rgba(var(--token-rally-accent-rgb), .95));transform:scale(1.25)}to{filter:drop-shadow(0 0 0 rgba(var(--token-rally-accent-rgb), 0));transform:scale(1)}}.token-rally-map{background:#0f172a;border:1px solid #1e293b;border-radius:12px;flex-direction:column;flex:1;justify-content:center;align-items:center;width:100%;max-width:680px;min-height:0;margin:0 auto;padding:16px;display:flex;overflow:visible;box-shadow:0 20px 40px #0000004d}.token-rally-map-svg{object-fit:contain;background:#181c24;flex:auto;width:100%;height:100%;min-height:0;max-height:100%;display:block}.token-nail-hit-interstitial{z-index:100;background:#05080fc2;justify-content:center;align-items:center;padding:24px;animation:.18s ease-out both token-nail-hit-overlay;display:flex;position:fixed;inset:0}.token-nail-hit-card{color:#fecdd3;text-align:center;background:#23151b;border:2px solid #fb7185;border-radius:12px;flex-direction:column;align-items:center;gap:10px;width:100%;max-width:420px;padding:32px 48px;animation:.22s cubic-bezier(.2,.8,.2,1) both token-nail-hit-card;display:flex;box-shadow:0 0 50px #f43f5e59,10px 10px #080a0e}.token-nail-hit-icon{color:#fbbf24;font-size:38px;line-height:1}.token-nail-hit-card p,.token-nail-hit-card small{color:#fda4af;letter-spacing:1.5px;margin:0;font-size:11px;font-weight:700}.token-nail-hit-card h2{color:#fff;letter-spacing:2px;margin:0;font-family:Courier New,Courier,monospace;font-size:clamp(30px,7vw,48px)}.token-nail-hit-card strong{color:#fb7185;font-family:Courier New,Courier,monospace;font-size:30px}@keyframes token-nail-hit-overlay{0%{opacity:0}to{opacity:1}}@keyframes token-nail-hit-card{0%{opacity:0;transform:scale(.88)translateY(8px)}to{opacity:1;transform:scale(1)translateY(0)}}.map-parking-markings path{stroke-linecap:square}.map-lane-dividers path{stroke-linecap:butt}.map-curbs rect{shape-rendering:crispedges}.map-key-sprite,.map-coin-sprite{filter:drop-shadow(0 4px 12px #ffd70080)}.map-key-sprite{filter:drop-shadow(0 4px 12px #ffd700a6)}.map-barrier-sprite{filter:drop-shadow(0 2px 5px #e54c428c)}.map-exit-sprite{filter:drop-shadow(0 3px 6px #d34a2da6)}.map-nail-sprite{filter:drop-shadow(0 2px 4px #d44b4ba6)}.map-nail-hit-burst{fill:none;pointer-events:none;stroke:#ffca54;stroke-linecap:round;stroke-width:3px;transform-box:fill-box;transform-origin:50%;animation:.6s ease-out both map-nail-hit-burst}@keyframes map-nail-hit-burst{0%{opacity:1;transform:scale(.35)}to{opacity:0;transform:scale(1.25)}}.map-player-car{filter:drop-shadow(0 3px 2px #000000bf);transform-box:fill-box;transform-origin:50%}.map-floating-sprite{transform-box:fill-box;transform-origin:50%;animation:1.5s ease-in-out infinite token-sprite-float}.start-pulse{transform-box:fill-box;transform-origin:50%;animation:1.4s ease-in-out infinite start-marker-pulse}@keyframes token-sprite-float{0%,to{transform:translateY(0)}50%{transform:translateY(-1.5px)}}@keyframes start-marker-pulse{0%,to{opacity:.35;transform:scale(.92)}50%{opacity:1;transform:scale(1.08)}}.map-legend{box-sizing:border-box;background:#070a12;border:1px solid #1e293bcc;border-radius:12px;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px;width:100%;max-width:100%;margin-top:8px;padding:6px;display:flex;overflow:visible}.map-legend-item{color:#cbd5e1;cursor:help;white-space:nowrap;background:#0b101d;border:1px solid #1e293b;border-radius:8px;flex:none;align-items:center;gap:4px;padding:5px 7px;font-family:Courier New,Courier,monospace;font-size:11px;font-weight:700;transition:border-color .15s,background-color .15s;display:inline-flex;position:relative}.map-legend-item:hover{border-color:rgba(var(--token-rally-accent-rgb), .5);background:#101827}.map-legend-item:focus-visible{border-color:rgba(var(--token-rally-accent-rgb), .8);outline:2px solid rgba(var(--token-rally-accent-rgb), .35);outline-offset:2px}.legend-icon{font-size:15px;line-height:1}.legend-icon svg{width:18px;height:18px;display:block}.map-legend-tooltip{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid rgba(var(--token-rally-accent-rgb), .4);color:#e2e8f0;opacity:0;pointer-events:none;text-align:center;visibility:hidden;white-space:normal;z-index:30;background:#0f172af5;border-radius:8px;align-items:center;width:208px;max-width:calc(100vw - 32px);padding:8px;font-family:Courier New,Courier,monospace;font-size:10px;line-height:1.4;transition:opacity .15s,transform .15s,visibility .15s;display:flex;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%,4px);box-shadow:0 12px 24px #00000073}.map-legend-item:hover .map-legend-tooltip,.map-legend-item:focus-visible .map-legend-tooltip{opacity:1;visibility:visible;transform:translate(-50%)}.map-legend-tooltip-caret{background:#0f172a;border-bottom:1px solid #475569;border-right:1px solid #475569;width:9px;height:9px;position:absolute;bottom:-5px;left:50%;transform:translate(-50%)rotate(45deg)}@media (width<=900px){.map-legend{gap:4px;padding:6px}.map-legend-item:first-child .map-legend-tooltip{left:0;transform:translateY(4px)}.map-legend-item:first-child:hover .map-legend-tooltip,.map-legend-item:first-child:focus-visible .map-legend-tooltip{transform:translateY(0)}.map-legend-item:first-child .map-legend-tooltip-caret{left:24px}.map-legend-item:last-child .map-legend-tooltip{left:auto;right:0;transform:translateY(4px)}.map-legend-item:last-child:hover .map-legend-tooltip,.map-legend-item:last-child:focus-visible .map-legend-tooltip{transform:translateY(0)}.map-legend-item:last-child .map-legend-tooltip-caret{left:auto;right:24px}}.legend-swatch{width:18px;height:18px}.command-deck{flex-direction:column;justify-content:flex-start;gap:12px;padding:24px;display:flex;overflow:hidden}.token-prompt-feedback{background:var(--token-asphalt);border:1px solid var(--token-line);color:#e2e8f0;flex:0 auto;gap:7px;max-height:112px;padding:10px 12px;font-size:12px;line-height:1.4;display:grid;overflow:auto}.token-run-progress{border:1px solid var(--token-line);transform-origin:100%;background:#090e14c7;gap:14px;padding:20px;animation:.36s cubic-bezier(.16,1,.3,1) both token-run-progress-enter;display:grid;overflow:hidden}.token-run-progress.is-exiting{pointer-events:none;animation:.25s cubic-bezier(.4,0,.2,1) both token-run-progress-exit}.token-run-progress-header{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 12px;display:flex}.token-run-progress-header h2{color:#f4f4f0;letter-spacing:-.025em;flex:12ch;margin:0;font-size:22px;font-weight:700;line-height:1.05}.token-run-progress-header>span{color:var(--neon-yellow);letter-spacing:.07em;flex:none;margin-left:auto;font-size:11px;font-weight:700}.token-run-progress-meter{background:#788a8a33;height:4px;overflow:hidden}.token-run-progress-meter>span{background:linear-gradient(90deg, var(--neon-green), var(--neon-yellow));height:100%;transform:scaleX(var(--token-progress-scale,0));transform-origin:0;transition:transform .42s cubic-bezier(.16,1,.3,1);display:block}.token-run-progress-prompt{border-left:2px solid var(--neon-yellow);background:#788a8a14;max-height:120px;padding:10px 12px;overflow-y:auto}.token-run-progress-prompt>span{color:var(--neon-yellow);letter-spacing:.08em;margin-bottom:6px;font-size:10px;font-weight:700;display:block}.token-run-progress-prompt p{color:#d5dcda;overflow-wrap:anywhere;white-space:pre-wrap;margin:0;font-size:12px;line-height:1.5}.token-run-progress-stages{margin:0;padding:0;list-style:none}.token-run-progress-stage{color:#8d9998;isolation:isolate;align-items:center;gap:12px;min-height:50px;padding:0 9px;transition:background-color .2s,color .2s,transform .2s;animation:.28s cubic-bezier(.16,1,.3,1) both token-progress-stage-enter;display:flex;position:relative}.token-run-progress-stage:first-child{animation-delay:45ms}.token-run-progress-stage:nth-child(2){animation-delay:85ms}.token-run-progress-stage:nth-child(3){animation-delay:.125s}.token-run-progress-stage:nth-child(4){animation-delay:.165s}.token-run-progress-stage+.token-run-progress-stage{border-top:1px solid #788a8a2e}.token-run-progress-check{z-index:1;border:1px solid #54605f;border-radius:50%;flex:0 0 30px;justify-content:center;align-items:center;width:30px;height:30px;font-size:11px;transition:background-color .18s,border-color .18s,box-shadow .18s,color .18s;display:inline-flex}.token-run-progress-check svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:17px;height:17px}.token-run-progress-check path{stroke-dasharray:16;stroke-dashoffset:16px;animation:.26s cubic-bezier(.16,1,.3,1) 70ms forwards token-progress-check-draw}.token-run-progress-stage strong{letter-spacing:.055em;z-index:1;flex:1;font-size:14px;position:relative}.token-run-progress-stage small{color:#a5aead;z-index:1;font-size:11px;position:relative}.token-run-progress-stage.is-active{background:rgba(var(--token-rally-accent-rgb), .075);color:#f4f4f0;transform:translate(3px)}.token-run-progress-stage.is-active .token-run-progress-check{background:rgba(var(--token-rally-accent-rgb), .08);border-color:var(--neon-yellow);box-shadow:0 0 0 2px rgba(var(--token-rally-accent-rgb), .08);color:var(--neon-yellow)}.token-run-progress-stage.is-complete{color:#a7f3d0}.token-run-progress-stage.is-complete:after{content:"";opacity:0;pointer-events:none;transform-origin:0;z-index:0;background:linear-gradient(90deg,#48ff7a33,#48ff7a09);animation:.4s cubic-bezier(.16,1,.3,1) both token-progress-complete-sweep;position:absolute;inset:0;transform:scaleX(0)}.token-run-progress-stage.is-complete .token-run-progress-check{background:var(--neon-green);border-color:var(--neon-green);color:#06251c;animation:.34s cubic-bezier(.16,1,.3,1) both token-progress-check-pop}.token-run-progress-status{color:#e2e8f0;border-top:1px solid #788a8a2e;min-height:38px;margin:0;padding-top:12px;font-size:13px;line-height:1.45}.token-run-progress-status-copy{animation:.18s ease-out both token-progress-copy-change;display:inline-block}.token-run-progress-result{color:#a5aead;margin:0;font-size:13px;line-height:1.45}.token-driver-route{flex-wrap:wrap;gap:6px;max-height:92px;margin:0;padding:0;list-style:none;display:flex;overflow:auto}.token-driver-route-step{border:1px solid var(--token-line);color:#d1d5db;background:#0f172ad1;flex:none;align-items:center;gap:6px;padding:5px 8px;font-size:11px;transition:background-color .17s,border-color .17s,color .17s,opacity .17s;display:inline-flex}.token-driver-route-step span{color:var(--neon-yellow)}.token-driver-route-step.is-current{border-color:var(--neon-green);color:#a7f3d0;background:#10b98124;animation:.26s cubic-bezier(.16,1,.3,1) both token-driver-step-activate}.token-driver-route-step.is-current span{color:#fef08a}.token-driver-route-step.is-complete{color:#8e9998}.token-driver-route-step.is-complete span{color:#c4b75f}@keyframes token-run-progress-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes token-run-progress-exit{0%{opacity:1;transform:translateY(0)}to{opacity:.16;transform:translateY(-8px)}}@keyframes token-progress-stage-enter{0%{opacity:0;transform:translate(7px)}to{opacity:1;transform:translate(0)}}@keyframes token-progress-check-draw{to{stroke-dashoffset:0}}@keyframes token-progress-complete-sweep{0%{opacity:.82;transform:scaleX(.025)}58%{opacity:.72;transform:scaleX(1)}to{opacity:0;transform:scaleX(1)}}@keyframes token-progress-check-pop{0%{transform:scale(.76);box-shadow:0 0 #48ff7a00}48%{transform:scale(1.13);box-shadow:0 0 0 5px #48ff7a29}to{transform:scale(1);box-shadow:0 0 #48ff7a00}}@keyframes token-progress-copy-change{0%{opacity:.35;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes token-driver-step-activate{0%{transform:scale(.96)}55%{transform:scale(1.035)}to{transform:scale(1)}}@media (prefers-reduced-motion:reduce){.token-run-progress,.token-run-progress-stage,.token-run-progress-stage.is-active,.token-run-progress-stage.is-complete:after,.token-run-progress-stage.is-complete .token-run-progress-check,.token-run-progress-check path,.token-run-progress-status-copy,.token-driver-route-step.is-current,.token-run-failed:not(.is-entering-from-checklist),.map-nail-hit-burst,.token-nail-hit-interstitial,.token-nail-hit-card{animation-duration:1ms!important;animation-delay:0s!important}.token-run-progress-meter>span,.token-run-progress-stage,.token-run-progress-check,.token-driver-route-step{transition-duration:1ms!important}}.token-prompt-feedback p,.token-prompt-error{color:#fecaca;background:#2b1115;border:1px solid #8f313d;margin:0;padding:9px 11px;font-size:12px;line-height:1.4}.gatekeeper-label{color:var(--neon-green);margin-bottom:10px;font-size:9px;display:block}.prompt-label{color:#a5aead;margin-bottom:0;font-size:9px;display:block}.command-deck textarea,.token-score-form input{background:var(--token-asphalt);border:1px solid var(--token-line);color:#f4f4f0;resize:vertical;width:100%;padding:13px;font-size:13px;line-height:1.5;display:block}.command-deck textarea{resize:none;background:#0f172a;border-color:#10b98166;flex:0 0 128px;height:128px;min-height:128px}.command-deck textarea:focus,.token-score-form input:focus{border-color:var(--neon-yellow);box-shadow:0 0 0 3px rgba(var(--token-rally-accent-rgb), .16);outline:none}.command-deck textarea:disabled{cursor:wait;opacity:.55}.token-primary-button{background:var(--neon-yellow);color:var(--token-asphalt);letter-spacing:1px;border:0;padding:14px 16px;font-size:11px;font-weight:700}.token-primary-button:disabled{cursor:not-allowed;opacity:.4}.execute-button{background:var(--neon-yellow);color:var(--token-asphalt);width:100%;margin-top:0;transition:filter .16s,transform .16s}.execute-button:hover:not(:disabled){filter:brightness(1.08);transform:translateY(-1px)}.reset-level-button,.token-secondary-button{border:1px solid var(--token-line);color:#a5aead;letter-spacing:1px;background:0 0;flex:none;margin-top:0;padding:11px 14px;font-size:10px}@keyframes token-status-pulse{0%,to{opacity:.85;box-shadow:0 0 #34d39940}50%{opacity:1;box-shadow:0 0 0 5px #34d39900}}.token-secondary-button{margin-top:16px}.reset-level-button:hover,.token-secondary-button:hover{border-color:var(--neon-yellow);color:var(--neon-yellow)}.final-result h2{color:var(--neon-yellow);letter-spacing:-.03em;margin:12px 0 22px;font-size:clamp(2rem,8vw,3rem);line-height:1}.command-deck-failed{justify-content:center}.token-run-failed{flex-direction:column;width:100%;max-width:440px;margin:auto 0;display:flex}.token-run-failed:not(.is-entering-from-checklist){animation:.26s cubic-bezier(.16,1,.3,1) both token-run-failed-enter}.token-run-failed.is-entering-from-checklist{animation:none}@keyframes token-run-failed-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.token-run-failed h2{color:#ff8585;margin:0 0 14px;font-size:clamp(32px,3vw,42px);font-weight:900;line-height:1}.token-failure-reason{color:#e2e8f0;max-width:44ch;margin:0 0 22px;font-size:14px;line-height:1.55}.token-run-again-button{box-shadow:0 10px 22px rgba(var(--token-rally-accent-rgb), .12);letter-spacing:.12em;justify-content:center;align-items:center;width:100%;min-height:56px;margin:0;font-size:13px;transition:filter .14s,box-shadow .14s,transform .14s;display:flex}.token-run-again-button:hover:not(:disabled){filter:brightness(1.08);box-shadow:0 12px 26px rgba(var(--token-rally-accent-rgb), .2);transform:translateY(-2px)}.token-run-again-button:active:not(:disabled){transform:translateY(1px)}.final-result-stats{border-bottom:1px solid var(--token-line);border-top:1px solid var(--token-line);grid-template-columns:repeat(3,1fr);margin-bottom:22px;padding:14px 0;display:grid}.final-result-stats span{color:var(--neon-green);font-size:18px}.final-result-stats small{color:#8490a0;text-transform:uppercase;margin-top:3px;font-size:9px;display:block}.token-score-form label{color:#a5aead;letter-spacing:1px;margin-bottom:8px;font-size:9px;display:block}.token-score-form input{margin-bottom:10px}.token-success{color:var(--neon-green);font-size:11px;line-height:1.5}@media (width<=900px){.token-rally-page{height:auto;max-height:none;margin:0;padding:24px 20px 32px;overflow:visible}.token-rally-layout{flex:initial;grid-template-columns:1fr}.carpark-panel,.command-deck{min-height:auto}.token-rally-map{min-height:420px}.command-deck{overflow:visible}.command-deck-failed{justify-content:flex-start}.token-run-failed{max-width:none;margin:0 auto}.command-deck textarea{min-height:145px}}@media (width<=520px){.token-rally-title-bar{flex-direction:column;align-items:flex-start;gap:12px}.token-rally-status-badge{font-size:10px}.carpark-panel,.command-deck{padding:16px}.carpark-hud strong{font-size:14px}.map-legend{gap:10px}}
