:root{font-family:DM Sans,system-ui,sans-serif;color:#f1eee1;background:#182521;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--ink: #f1eee1;--soft: #c7c8b9;--muted: #a0aa9e;--gold: #e3bd83;--glass: #14231fc9;--line: #e9e7d629}*{box-sizing:border-box}html,body,#game{width:100%;height:100%;margin:0;overflow:hidden}body{user-select:none}button{font:inherit;color:inherit;cursor:pointer}#game{position:relative;isolation:isolate;background:#23332e}#scene{position:absolute;inset:0;display:block;width:100%;height:100%}.speed-effects{--wind-opacity: 0;--wind-duration: 1.2s;position:absolute;z-index:1;inset:0;overflow:hidden;opacity:var(--wind-opacity);pointer-events:none;transition:opacity .2s linear}.wind-streak{position:absolute;width:var(--length);height:1px;border-radius:2px;background:linear-gradient(90deg,transparent,#f2eee0c9 48%,transparent);box-shadow:none;animation-duration:var(--wind-duration);animation-timing-function:ease-out;animation-iteration-count:infinite;will-change:transform,opacity}.wind-streak.from-left{left:0;animation-name:wind-flow-left}.wind-streak.from-right{right:0;background:linear-gradient(270deg,transparent,#f2eee0c9 48%,transparent);animation-name:wind-flow-right}@keyframes wind-flow-left{0%{transform:translate3d(12vw,0,0) rotate(var(--angle)) scaleX(.25);opacity:0}18%{opacity:.38}to{transform:translate3d(-7vw,2vh,0) rotate(var(--angle)) scaleX(1);opacity:0}}@keyframes wind-flow-right{0%{transform:translate3d(-12vw,0,0) rotate(var(--angle)) scaleX(.25);opacity:0}18%{opacity:.38}to{transform:translate3d(7vw,-2vh,0) rotate(var(--angle)) scaleX(1);opacity:0}}.vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#111f201a 0%,transparent 30%,#10191731 100%),radial-gradient(ellipse at 50% 54%,transparent 48%,#111b1945 100%)}.topbar{position:absolute;z-index:3;top:0;left:0;right:0;height:82px;display:flex;align-items:center;justify-content:space-between;padding:0 42px;border-bottom:1px solid #ffffff12;background:linear-gradient(180deg,#14211fb8,#14211f00)}.brand-lockup,.ride-meta,.top-actions,.brand-mark{display:flex;align-items:center}.brand-lockup{gap:12px}.brand-mark{gap:3px;height:28px;transform:skew(-18deg)}.brand-mark span{display:block;width:4px;background:var(--gold);border-radius:2px}.brand-mark span:nth-child(1){height:13px;opacity:.58}.brand-mark span:nth-child(2){height:21px;opacity:.78}.brand-mark span:nth-child(3){height:28px}.brand-name{font-size:11px;font-weight:700;letter-spacing:3px}.brand-note{margin-top:4px;color:#c6cbbc9e;font-family:DM Mono,monospace;font-size:8px;letter-spacing:1.5px}.ride-meta{gap:11px;margin-left:auto;margin-right:clamp(22px,3vw,38px);color:#e1e2d1;font-family:DM Mono,monospace;font-size:9px;letter-spacing:1.4px;white-space:nowrap}.live-dot,.speed-dot{width:6px;height:6px;border-radius:50%;background:#d4bd86;box-shadow:0 0 12px #e9c47e7a}.meta-divider{width:1px;height:12px;margin:0 4px;background:#eee6ce54}.top-actions{flex:0 0 auto;gap:7px}.mobile-top-actions{display:flex;align-items:center;gap:7px}.mobile-control-guide,#mobile-pause-button,#mobile-menu-button,.mobile-only-action{display:none}.top-select-control{display:grid;gap:3px;color:#dedbc9bd;font-family:DM Mono,monospace;font-size:7px;letter-spacing:1px}.top-select-control select{max-width:122px;padding:4px 19px 4px 7px;border:1px solid #ffffff2a;border-radius:3px;background:#10201ee8;color:#f1eee1;font:10px DM Sans,sans-serif}.top-select-control select:focus-visible{outline:1px solid var(--gold);outline-offset:2px}.icon-button{display:grid;width:34px;height:34px;place-items:center;border:1px solid #ffffff2a;border-radius:50%;background:#10201e45;color:#e5e5d8;font-size:15px;transition:.18s ease}.icon-button:hover{border-color:#e3bd83a8;color:var(--gold);background:#10201ea8}.icon-button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.icon-button.is-muted{color:#83908a}.music-volume-button svg{width:20px;height:20px}.fullscreen-button svg{width:17px;height:17px}.settings-menu-button svg{width:18px;height:18px}.fullscreen-exit,.fullscreen-button[data-fullscreen=true] .fullscreen-enter{display:none}.fullscreen-button[data-fullscreen=true] .fullscreen-exit{display:block}.music-volume-button .music-wave-off,.music-volume-button[data-mode=quiet] .music-wave-normal,.music-volume-button[data-mode=off] .music-wave-quiet,.music-volume-button[data-mode=off] .music-wave-normal{display:none}.music-volume-button[data-mode=off] .music-wave-off{display:block}.music-volume-button[data-mode=off]{color:#a1aaa1}.music-volume-button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.help-button{font-family:Georgia,serif;font-size:18px;font-style:italic}.help-button.is-active{border-color:#e3bd83a8;color:var(--gold);background:#10201ea8}.mode-button{width:auto;min-width:54px;padding:0 9px;border-radius:4px;font-family:DM Mono,monospace;font-size:8px;font-weight:700;letter-spacing:.7px}.mode-button.is-manual,.first-person-camera-button.is-active{border-color:#e3bd83a8;color:var(--gold)}.first-person-camera-button{width:auto;min-width:38px;padding:0 7px;border-radius:4px;font-family:DM Mono,monospace;font-size:8px;font-weight:700;letter-spacing:.7px}.welcome{position:absolute;z-index:2;inset:0;display:flex;align-items:center;overflow-y:auto;padding:100px 8.5vw;transition:opacity .6s ease,visibility .6s ease}.welcome-card{width:min(100%,650px);max-width:650px;min-width:0;padding-top:28px}.eyebrow{display:flex;align-items:center;gap:12px;color:#e5c38f;font-family:DM Mono,monospace;font-size:9px;letter-spacing:2.4px}.eyebrow-line{width:27px;height:1px;background:var(--gold);opacity:.85}.welcome h1,.paused-card h2{margin:21px 0 15px;font-family:Playfair Display,Georgia,serif;font-weight:400;font-size:clamp(72px,9vw,132px);letter-spacing:-5px;line-height:.96;text-shadow:0 4px 30px #17201b44}.welcome h1>span,.paused-card h2>span{color:var(--gold)}.welcome p{margin:20px 0 30px;color:#e2e3d5;font-size:16px;font-weight:400;line-height:1.8;text-shadow:0 2px 12px #101a18b5}.welcome-start-row{display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:12px}.welcome-start-row>.start-button{grid-column:1;grid-row:1;height:100%}.welcome-start-row>.run-setup-card{grid-column:2;grid-row:1 / span 2}.welcome-start-row>.welcome-leaderboard-button{grid-column:1;grid-row:2;height:100%}.start-button{display:flex;width:100%;min-width:0;height:59px;align-items:center;gap:15px;padding:0 17px;border:1px solid #f0d19c77;border-radius:4px;background:#e6c18a;color:#1b2925;font-size:12px;font-weight:700;letter-spacing:.15px;box-shadow:0 12px 34px #101b1850;transition:.2s ease}.start-button:hover:not(:disabled){transform:translateY(-2px);background:#f1d4a2;box-shadow:0 17px 42px #101b1868}.start-button:disabled{cursor:wait;opacity:.78}.secondary-button{min-height:42px;padding:0 14px;border:1px solid #eee3c347;border-radius:4px;background:#172723a8;color:#eee9d9;font-size:11px;font-weight:600;transition:.18s ease}.secondary-button:hover{border-color:#e3bd83a8;background:#1c302bd9;color:var(--gold)}.run-setup-card{display:grid;width:100%;min-width:0;grid-template-columns:minmax(0,1fr) auto;align-content:center;align-items:center;gap:6px 12px;padding:9px 12px;border:1px solid #eee3c347;border-radius:4px;background:#172723e6;box-shadow:0 12px 34px #101b1830;backdrop-filter:blur(10px)}.run-setup-card label{color:#e5c38f;font:8px DM Mono,monospace;letter-spacing:1.2px}.run-setup-card select{width:154px;min-width:0;padding:5px 22px 5px 8px;border:1px solid #ffffff35;border-radius:3px;background:#10201e;color:var(--ink);font:11px DM Sans,sans-serif}.run-setup-card select:focus-visible{outline:1px solid var(--gold);outline-offset:2px}.run-setup-card p{grid-column:1 / -1;margin:0;color:#d1d3c3c4;font-size:9px;line-height:1.4}.run-setup-card .custom-difficulty-controls{grid-column:1 / -1;display:grid;gap:6px}.run-setup-card .custom-difficulty-controls[hidden]{display:none}.run-setup-card .difficulty-control{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.run-setup-card .difficulty-control select{width:154px}.run-setup-card .difficulty-settings-summary{color:#d1d3c3c4}.welcome-leaderboard-button{width:100%;min-width:0;margin:0}.play-icon{display:grid;width:25px;height:25px;place-items:center;border-radius:50%;background:#1a2c27;color:#e8c98f;font-size:8px}.play-icon svg{display:block;width:12px;height:12px}.button-arrow{display:grid;margin-left:auto;place-items:center}.button-arrow svg{display:block;width:20px;height:20px}.start-hint{margin:17px 0 23px;color:#e0e1d0ba;font-family:DM Mono,monospace;font-size:8px;letter-spacing:1.4px}.welcome-controls{display:flex;width:100%;max-width:650px;flex-wrap:wrap;align-items:center;gap:9px 12px;margin-top:18px;padding:12px 13px;border:1px solid #eee3c333;border-radius:5px;background:#172723a8;box-shadow:0 12px 34px #101b1830;color:#e3e1d0c9;font-family:DM Mono,monospace;font-size:9px;backdrop-filter:blur(8px)}.welcome-control{display:flex;align-items:center;gap:5px;white-space:nowrap}kbd{display:inline-grid;min-width:22px;height:22px;place-items:center;padding:0 5px;border:1px solid #ffffff3d;border-radius:3px;background:#1e2c2887;color:#f1e9d9;font-family:DM Mono,monospace;font-size:9px}.edition-mark{position:absolute;right:7vw;bottom:90px;color:#e6dfc8;font-family:DM Mono,monospace;font-size:10px;letter-spacing:3px;text-align:right;text-shadow:0 2px 12px #111b16}.edition-mark span{display:block;margin-top:8px;color:#f0c68d;font-size:8px;letter-spacing:2px}.paused-card{position:absolute;z-index:5;top:50%;left:50%;width:min(420px,calc(100vw - 36px));padding:33px 36px 36px;border:1px solid #eee3c32a;border-radius:7px;background:#14231fe8;box-shadow:0 24px 90px #0a1514a6;backdrop-filter:blur(18px);transform:translate(-50%,-50%)}.paused-card h2{margin:17px 0 25px;font-size:64px;letter-spacing:-2px}.end-ride-button{width:100%;margin-top:10px;border-color:#d9957a6b;color:#f0d8ca}.end-ride-button:hover{border-color:#e7a183;background:#472b25a8;color:#ffe2d1}.run-summary{width:min(560px,calc(100vw - 36px));max-height:min(92vh,900px);overflow-y:auto;padding:28px 32px;scrollbar-color:#dbc08b66 transparent}.run-summary h2{margin:12px 0 10px;font-size:clamp(42px,7vw,58px)}.run-summary>p{margin:0 0 17px;color:#e2e3d5;font-size:13px;line-height:1.6}.summary-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:17px 0 10px}.summary-stats>div{min-width:0;padding:10px 11px;border:1px solid #eee3c32b;border-radius:4px;background:#ffffff08}.summary-stats>div>span,.run-result-form>label{display:block;color:#d7d5c5a6;font:8px DM Mono,monospace;letter-spacing:1.4px}.summary-stats strong{display:block;margin-top:6px;color:#f2e8d2;font:18px DM Mono,monospace;white-space:nowrap}.summary-stats small{color:#d4d5c5b5;font:9px DM Sans,sans-serif}.summary-score{margin:0 0 17px;color:var(--gold);font:10px DM Mono,monospace;letter-spacing:.5px}.run-result-form{margin-bottom:8px}.nickname-row{display:flex;gap:8px;margin-top:7px}.nickname-row input{min-width:0;flex:1;height:42px;padding:0 11px;border:1px solid #eee3c347;border-radius:4px;background:#0e1b19c7;color:var(--ink);font:12px DM Sans,sans-serif;user-select:text}.nickname-row input:focus-visible{outline:1px solid var(--gold);outline-offset:2px}.nickname-row input:disabled{cursor:not-allowed;border-color:#eee3c321;background:#ffffff08;color:#c7c8b9b5;opacity:.7}.save-run-button{min-width:130px;padding:0 12px;border:1px solid #f0d19c77;border-radius:4px;background:#e6c18a;color:#1b2925;font-size:10px;font-weight:700}.save-run-button:hover:not(:disabled){background:#f1d4a2}.save-run-button:disabled{cursor:default;opacity:.65}.run-summary .storage-note{margin:7px 0 14px;color:#c7c8b9b5;font-size:10px}.summary-actions{display:flex;flex-wrap:wrap;gap:7px}.summary-actions .secondary-button{flex:1 1 auto}.summary-run-setup{width:100%;margin:0 0 12px}.summary-run-setup select{justify-self:end}.run-summary .start-hint{margin:13px 0 0}.leaderboard-dialog{width:min(1020px,calc(100vw - 36px));max-height:min(86vh,820px);overflow-y:auto;padding:25px 28px 28px;border:1px solid #eee3c33a;border-radius:7px;background:#14231ff5;color:var(--ink);box-shadow:0 24px 90px #0a1514a6;backdrop-filter:blur(18px)}.leaderboard-dialog::backdrop{background:#08110fbd;backdrop-filter:blur(5px)}.leaderboard-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.leaderboard-heading h2{margin:12px 0 0;font:48px/1 Playfair Display,Georgia,serif;letter-spacing:-1.5px}.leaderboard-heading h2 span{color:var(--gold)}.leaderboard-close{flex:0 0 auto;border-radius:4px;font-size:20px}.leaderboard-dialog>.storage-note{margin:13px 0 20px;color:#c7c8b9b5;font-size:11px;line-height:1.5}.leaderboard-tabs{display:flex;gap:7px;margin:17px 0 10px}.leaderboard-tab{min-height:34px;padding:0 13px;border:1px solid #eee3c338;border-radius:4px;background:#ffffff06;color:#d8d7c8b8;font-size:10px;font-weight:700}.leaderboard-tab:hover,.leaderboard-tab.is-active{border-color:#e6c18a88;background:#e6c18a18;color:#f3dbb0}.leaderboard-sign-in{display:inline-block;margin:-8px 0 18px;color:var(--gold);font-size:11px;text-decoration:underline;text-underline-offset:3px}.run-summary .leaderboard-sign-in{margin:-4px 0 14px}.leaderboard-sign-in[hidden]{display:none}.leaderboard-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.leaderboard-columns>section{min-width:0;padding:13px;border:1px solid #eee3c32b;border-radius:5px;background:#ffffff06}.leaderboard-columns h3{margin:0 0 12px;color:var(--gold);font:10px DM Mono,monospace;letter-spacing:1.3px;text-transform:uppercase}.leaderboard-columns ol{display:grid;gap:6px;margin:0;padding:0;list-style:none}.leaderboard-columns li{display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:7px;min-width:0;padding:7px 0;border-top:1px solid #eee3c31c}.leaderboard-rank{color:#c7c8b982;font:9px DM Mono,monospace}.leaderboard-name{overflow:hidden;color:#eee9d9;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.leaderboard-value{color:#f3dbb0;font:10px DM Mono,monospace;white-space:nowrap}.leaderboard-empty{grid-template-columns:1fr!important;color:#c7c8b9a8;font-size:10px}.hud{position:absolute;z-index:2;inset:0;pointer-events:none}.dashboard-cluster{position:absolute;left:42px;bottom:46px;display:flex;width:290px;flex-direction:column;gap:7px}.speed-cluster{display:flex;align-items:flex-end;gap:15px}.rpm-panel{position:relative;width:100%;padding:9px 12px 7px;border:1px solid #eee3c333;border-radius:5px;background:#17231fb8;box-shadow:0 8px 30px #101b1a2e;backdrop-filter:blur(9px)}.rpm-panel-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:7px}.rpm-label,.rpm-scale,.gear-label,.gear-count{color:#dedbc9bd;font-family:DM Mono,monospace;font-size:8px;letter-spacing:1.2px}.rpm-label{display:flex;align-items:center;gap:7px}.rpm-dot{width:5px;height:5px;border-radius:50%;background:#8cca9e;box-shadow:0 0 8px #8cca9e80}.rpm-panel.is-launch-control{border-color:#edaa6280;box-shadow:0 8px 30px #101b1a2e,0 0 16px #e99c6924}.rpm-panel.is-launch-control .rpm-dot{background:#f0a565;box-shadow:0 0 8px #f0a565aa}.rpm-number{color:#f4efdf;font-family:DM Mono,monospace;font-size:14px;font-weight:400;letter-spacing:.3px}.rpm-number small{margin-left:6px;color:#d4d5c5a8;font-family:DM Sans,sans-serif;font-size:8px}.rpm-meter{height:7px;overflow:hidden;border-radius:2px;background:#e9e4d51c}.rpm-meter-fill{position:relative;width:100%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#90c99e,#d3cf86 67%,#e99c69 88%,#ec735e);transform:scaleX(.086);transform-origin:left center;transition:transform .12s linear}.rpm-meter.is-rev-limiting .rpm-meter-fill:after{position:absolute;inset:0;border-radius:inherit;background:#ff3546;content:"";opacity:0;animation:rev-limiter-flash .12s steps(1,end) infinite}.rpm-meter.is-near-redline .rpm-meter-fill{filter:saturate(1.3) brightness(1.12)}.rpm-scale{display:flex;justify-content:space-between;margin-top:5px;color:#d5d5c5a3;font-size:7px;letter-spacing:.2px}.rpm-scale span:last-child{color:#e9a07b}.speed-readout{min-width:200px;padding:0 0 1px 1px;text-shadow:0 3px 20px #101b1a95}.speed-label{display:flex;align-items:center;gap:9px;color:#eee7d3;font-family:DM Mono,monospace;font-size:9px;letter-spacing:1.7px}.speed-dot{width:5px;height:5px}.speed-value{display:flex;width:max-content;align-items:baseline;gap:9px;margin-top:1px;font-family:DM Mono,monospace;font-size:68px;font-weight:400;letter-spacing:-5px;line-height:1.15}.hud.is-speed-boosted .speed-value{color:#fff2bd;animation:speedometer-boost-glow .8s ease-in-out infinite alternate}.hud.is-speed-boosted .rpm-panel,.hud.is-speed-boosted .gear-readout{border-color:#ffd477c9;box-shadow:0 0 24px #ffbc5866,0 5px 20px #101b1a3d}.hud.is-speed-boosted .rpm-meter-fill{filter:brightness(1.2) saturate(1.2)}.speed-value small{color:#dddcc9;font-family:DM Sans,sans-serif;font-size:12px;letter-spacing:.5px}.gear-readout{display:grid;width:72px;height:70px;margin-bottom:2px;place-content:center;justify-items:center;gap:1px;border:1px solid #e5c78973;border-radius:4px;background:#182722bd;box-shadow:0 5px 20px #101b1a3d;text-shadow:0 2px 12px #101b1a95}.gear-label{color:#e4d6b5;font-size:7px;letter-spacing:1.6px}.gear-readout strong{color:#f1cf91;font-family:DM Mono,monospace;font-size:38px;font-weight:400;line-height:.96;transition:color .12s ease,text-shadow .12s ease}.gear-readout strong.is-shift-hint{color:#ff625b;text-shadow:0 0 12px #ff514b99,0 2px 12px #101b1a95}.gear-readout strong.is-rev-limiting{animation:rev-limiter-gear-flash .12s steps(1,end) infinite}.gear-count{font-size:7px;letter-spacing:.4px}@keyframes rev-limiter-flash{0%,44%{opacity:.92}45%,to{opacity:0}}@keyframes rev-limiter-gear-flash{0%,44%{color:#ff4d51;text-shadow:0 0 12px #ff514b99,0 2px 12px #101b1a95}45%,to{color:#f1cf91;text-shadow:0 2px 12px #101b1a95}}@media(prefers-reduced-motion:reduce){.rpm-meter.is-rev-limiting .rpm-meter-fill:after{animation:none;opacity:.85}.gear-readout strong.is-rev-limiting{animation:none;color:#ff4d51;text-shadow:0 0 12px #ff514b99,0 2px 12px #101b1a95}}.ride-stats{position:absolute;left:354px;bottom:63px;display:flex;gap:28px;padding:2px 28px;border-left:1px solid #f5e9ce54}.stat-block{display:flex;flex-direction:column;gap:7px;min-width:58px}.stat-block>span{color:#d6d8c6b5;font-family:DM Mono,monospace;font-size:8px;letter-spacing:1.4px}.stat-block strong{color:#f4efdf;font-family:DM Mono,monospace;font-size:16px;font-weight:400}.stat-block strong small{font-size:10px}.biome-announcement{position:absolute;top:calc(13vh + env(safe-area-inset-top));left:50%;z-index:3;width:min(90vw,900px);opacity:0;pointer-events:none;text-align:center;transform:translate(-50%,8px);transition:opacity .9s ease,transform .9s ease}.biome-announcement.is-visible{opacity:1;transform:translate(-50%)}.biome-announcement-title{color:#f2eddc;font-family:Playfair Display,Georgia,serif;font-size:clamp(25px,3.4vw,46px);line-height:1.15;text-shadow:0 3px 24px #101b1ad9,0 1px 3px #101b1a}.road-layout{position:absolute;right:40px;bottom:52px;color:#e7ca8d;font:8px DM Mono,monospace;letter-spacing:1.2px}@media(prefers-reduced-motion:reduce){.biome-announcement{transition:none}}.challenge-panel{position:fixed;top:96px;left:34px;z-index:4;display:grid;gap:9px;min-width:202px;padding:0;color:#f7f0de;text-shadow:0 2px 8px #081411e0;transition:opacity .18s ease,transform .18s ease}.challenge-panel-score,.challenge-panel-combo{display:flex;align-items:baseline;justify-content:space-between;gap:14px}.challenge-panel-score{display:grid;gap:5px}.challenge-panel-line{display:flex;align-items:baseline;justify-content:space-between;gap:20px}.challenge-panel-line.is-current{padding-top:5px}.challenge-panel-label{color:#a9c5bd;font:8px DM Mono,monospace;letter-spacing:1.5px}.challenge-panel-line strong{color:#f7f0de;font:19px DM Mono,monospace;letter-spacing:-.7px}.challenge-panel-line.is-current strong{color:#ffd58a}.challenge-panel-combo strong{color:#80ece5;font:9px DM Mono,monospace;letter-spacing:1px;text-shadow:0 0 12px #67e7df8a}.challenge-panel-combo span{color:#b5c2b7;font:7px DM Mono,monospace;letter-spacing:.7px}.challenge-panel-speed{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:8px}.challenge-panel-speed>div{display:grid;gap:3px}.challenge-panel-speed span{color:#9cebe0;font:7px DM Mono,monospace;letter-spacing:1.3px}.challenge-panel-speed:not(.is-active) span{color:#b5c2b7}.challenge-panel-speed strong{color:#ffe091;font:16px DM Mono,monospace;text-shadow:0 0 14px #ffe18d6b}.challenge-panel-speed small{color:#b5c2b7;font:8px DM Mono,monospace;white-space:nowrap}.challenge-panel-distance span{color:#e5c38f}.challenge-panel-distance strong{color:#f4efdf;text-shadow:none}.challenge-live{position:fixed;right:34px;bottom:176px;left:auto;z-index:4;width:min(410px,calc(100vw - 36px));padding:15px 21px 13px;border:1px solid #81eee380;border-radius:5px;background:linear-gradient(115deg,#10201fef,#1c2928ec 52%,#132321f2);box-shadow:0 18px 55px #07110f80,inset 4px 0 #7cf0e7,0 0 32px #63e6df24;backdrop-filter:blur(14px);color:#f5f0df;transition:opacity .16s ease,transform .16s ease}.challenge-live[data-kind=slalom]{border-color:#f0a968a8;box-shadow:0 18px 55px #07110f80,inset 4px 0 #f3a45f,0 0 32px #f3a45f29}.challenge-live[data-kind=speed-trap]{border-color:#c5a0ffa8;box-shadow:0 18px 55px #07110f80,inset 4px 0 #b994ff,0 0 32px #b994ff29}.challenge-live-head,.challenge-live-footer{display:flex;align-items:baseline;justify-content:space-between;gap:16px}.challenge-live-head>span:first-child{color:#c6f5ed;font:8px DM Mono,monospace;letter-spacing:2px}.challenge-live-head>span:last-child{color:#d3d8cbbb;font:8px DM Mono,monospace;letter-spacing:.6px;text-align:right}.challenge-live-value-row{display:flex;align-items:baseline;justify-content:center;gap:13px;margin:2px 0 1px}.challenge-live-value-row strong{color:#fff8e8;font:57px/.98 DM Mono,monospace;letter-spacing:-4px;text-shadow:0 0 28px #cfffff42}.challenge-live-value-row span{color:#e4c789;font:9px DM Mono,monospace;letter-spacing:1.3px}.challenge-live[data-kind=slalom] .challenge-live-value-row strong{font-size:47px;letter-spacing:-2px}.challenge-live-progress{height:5px;overflow:hidden;border-radius:4px;background:#e9e7d627}.challenge-live-progress span{display:block;width:100%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#81ece2,#ecd08d);box-shadow:0 0 12px #8cf2e79c;transform:scaleX(0);transform-origin:left;transition:transform .2s linear}.challenge-live[data-kind=slalom] .challenge-live-progress span{background:linear-gradient(90deg,#74e7e6,#f2a16d)}.challenge-live-footer{margin-top:9px;color:#c9d1c8;font:8px DM Mono,monospace;letter-spacing:.7px}.challenge-live-footer strong{color:#91eee5;font:9px DM Mono,monospace;letter-spacing:1px}.challenge-feedback{position:fixed;z-index:5;right:auto;bottom:245px;left:34px;display:grid;width:min(360px,calc(100vw - 36px));min-width:0;justify-items:center;gap:5px;padding:14px 26px 16px;border:1px solid #b8f7ee66;border-radius:6px;background:linear-gradient(135deg,#112b2bea,#202a2be8);box-shadow:0 14px 50px #060e0b66,0 0 30px #62e9df30;color:#f5f0df;opacity:0;transform:translateY(14px) scale(.92);pointer-events:none;text-align:center}.challenge-feedback.is-active{animation:challenge-pop .32s cubic-bezier(.18,.8,.22,1.15) forwards}.challenge-feedback.is-impact{border-color:#ffe28e;box-shadow:0 0 42px #fff0a65c,0 14px 50px #060e0b66}.challenge-feedback.is-miss{border-color:#f0968170;box-shadow:0 0 20px #ef796b20,0 14px 50px #060e0b66}.challenge-feedback-kicker{color:#9cebe0;font:7px DM Mono,monospace;letter-spacing:2.1px}.challenge-feedback strong{font:19px Playfair Display,Georgia,serif;letter-spacing:.3px}.challenge-feedback-detail{color:#e5e5d6d9;font:9px DM Mono,monospace;letter-spacing:.25px}.challenge-feedback-points{color:#ffe091;font:22px DM Mono,monospace;text-shadow:0 0 18px #ffe18d91}.challenge-flash{position:absolute;z-index:4;inset:0;pointer-events:none;opacity:0;mix-blend-mode:screen}.challenge-flash.is-active{animation:challenge-flash .38s ease-out forwards}.challenge-flash.is-near-miss.is-active{animation:near-miss-flash .38s ease-out forwards}.challenge-flash:before{content:"";position:absolute;top:12%;left:50%;width:min(250px,42vw);height:min(410px,62vh);background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20180%20360'%20fill='none'%3e%3cdefs%3e%3clinearGradient%20id='gold'%20x1='35'%20y1='30'%20x2='135'%20y2='290'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23c18b39'/%3e%3cstop%20offset='.28'%20stop-color='%23ffffff'/%3e%3cstop%20offset='.48'%20stop-color='%23ffe4a0'/%3e%3cstop%20offset='.52'%20stop-color='%23cf922d'/%3e%3cstop%20offset='.7'%20stop-color='%23fff8db'/%3e%3cstop%20offset='1'%20stop-color='%23ffc65c'/%3e%3c/linearGradient%3e%3cpath%20id='bolt'%20d='M91%209h54l-40%20113%2053-8L35%20351l35-158-48%209Z'/%3e%3c/defs%3e%3cuse%20href='%23bolt'%20stroke='%23ffe6a6'%20stroke-width='12'%20opacity='.18'/%3e%3cuse%20href='%23bolt'%20fill='url(%23gold)'%20stroke='%23fff8db'%20stroke-width='2'/%3e%3cpath%20d='m96%2017-61%20172%2046-9-34%20132%2094-184-48%208%2039-119Z'%20fill='%23ffffff'%20opacity='.35'/%3e%3cpath%20d='m96%2017-61%20172%2046-9-34%20132'%20stroke='%23ffffff'%20stroke-width='3'/%3e%3cpath%20d='m151%2041-16%2046m24%2088-32%2063M20%20225l-7%2037'%20stroke='%23ffe9af'%20stroke-width='3'%20opacity='.6'/%3e%3c/svg%3e") center / contain no-repeat;clip-path:none;filter:drop-shadow(0 0 8px #fff1ba) drop-shadow(0 0 28px #ffbb50);transform:translate(-50%);opacity:1}.challenge-flash:after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 50% 36%,#fff2bd80 0%,#ffc75b36 12%,#ffb54d12 28%,transparent 52%)}.challenge-flash.is-near-miss:before{top:24%;left:auto;right:clamp(10px,2vw,40px);width:min(220px,27vw);height:min(450px,55vh);background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20180%20360'%20fill='none'%3e%3cdefs%3e%3clinearGradient%20id='silver'%20x1='35'%20y1='30'%20x2='135'%20y2='290'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23a6bdcc'/%3e%3cstop%20offset='.28'%20stop-color='%23ffffff'/%3e%3cstop%20offset='.48'%20stop-color='%23d3e4ee'/%3e%3cstop%20offset='.52'%20stop-color='%2391acbf'/%3e%3cstop%20offset='.7'%20stop-color='%23f5fcff'/%3e%3cstop%20offset='1'%20stop-color='%23b7d1e3'/%3e%3c/linearGradient%3e%3cpath%20id='bolt'%20d='M91%209h54l-40%20113%2053-8L35%20351l35-158-48%209Z'/%3e%3c/defs%3e%3cuse%20href='%23bolt'%20stroke='%23e5f6ff'%20stroke-width='12'%20opacity='.18'/%3e%3cuse%20href='%23bolt'%20fill='url(%23silver)'%20stroke='%23f5fcff'%20stroke-width='2'/%3e%3cpath%20d='m96%2017-61%20172%2046-9-34%20132%2094-184-48%208%2039-119Z'%20fill='%23ffffff'%20opacity='.35'/%3e%3cpath%20d='m96%2017-61%20172%2046-9-34%20132'%20stroke='%23ffffff'%20stroke-width='3'/%3e%3cpath%20d='m151%2041-16%2046m24%2088-32%2063M20%20225l-7%2037'%20stroke='%23dcefff'%20stroke-width='3'%20opacity='.6'/%3e%3c/svg%3e") center / contain no-repeat;clip-path:none;filter:drop-shadow(0 0 9px #f0faff) drop-shadow(0 0 30px #b5d5ed);transform:none;opacity:clamp(.8,var(--near-miss-flash-opacity, .8),1)}.challenge-flash.is-near-miss.is-left:before{left:clamp(10px,2vw,40px);right:auto;transform:scaleX(-1)}.challenge-flash.is-near-miss:after{background:linear-gradient(270deg,#f5fbffe6 0%,#deefff99 2%,#aacde752 7%,#94b9d41f 16%,transparent 30%);opacity:clamp(.75,var(--near-miss-flash-opacity, .8),1)}.challenge-flash.is-near-miss.is-left:after{transform:scaleX(-1)}.crash-score{margin:-7px 0 24px;color:#f4d794;font:11px DM Mono,monospace;letter-spacing:1px}@keyframes challenge-pop{0%{opacity:0;transform:translateY(14px) scale(.92)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes challenge-flash{0%{opacity:0}12%,42%{opacity:1}65%{opacity:.7}to{opacity:0}}@keyframes near-miss-flash{0%{opacity:0}8%,32%{opacity:1}62%{opacity:.65}to{opacity:0}}@keyframes speedometer-boost-glow{0%{filter:drop-shadow(0 0 4px #ffe2979c)}to{filter:drop-shadow(0 0 15px #ffb849ef)}}.controls-hint{position:absolute;z-index:4;top:91px;right:42px;display:none;width:min(520px,calc(100vw - 32px));flex-wrap:wrap;align-items:center;gap:7px;padding:13px 15px;border:1px solid #eee3c33a;border-radius:5px;background:#172723ed;box-shadow:0 14px 40px #101b1a70;color:#ece7d4e0;font-family:DM Mono,monospace;font-size:8px;text-shadow:0 2px 9px #15201b;backdrop-filter:blur(14px)}.controls-hint.is-visible{display:flex}.controls-hint kbd{min-width:19px;height:19px;font-size:8px}.controls-hint kbd:not(:first-child){margin-left:8px}.error-card{position:absolute;z-index:8;left:50%;top:20px;max-width:calc(100vw - 40px);padding:16px 20px;border:1px solid #ed9b7caa;border-radius:5px;background:#291d1bf2;color:#ffe4d3;font:12px/1.6 DM Mono,monospace;transform:translate(-50%)}.touch-controls{position:absolute;z-index:4;inset:auto max(16px,env(safe-area-inset-right,0px)) calc(190px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));display:none;grid-template-columns:54px 54px minmax(0,1fr) 68px;align-items:center;gap:8px;pointer-events:none}.touch-controls button{height:48px;border:1px solid #f4ebd657;border-radius:50%;background:#1a2b2670;color:#f0e8d6;font-size:18px;pointer-events:auto;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;backdrop-filter:blur(8px)}.touch-controls button[data-control=throttle]{justify-self:end;width:70px;border-color:#e2c18a99;background:#c7a773b0;color:#17231f;font-family:DM Mono,monospace;font-size:8px;letter-spacing:.4px}.touch-controls button[data-control=brake]{width:58px;border-radius:30px;font-family:DM Mono,monospace;font-size:7px}.touch-controls button:active{transform:scale(.96)}.toast{position:absolute;z-index:6;left:50%;top:104px;max-width:calc(100vw - 32px);padding:9px 15px;border:1px solid #eee3c33a;border-radius:4px;background:#172723ed;color:#f0e8d5;font-family:DM Mono,monospace;font-size:9px;letter-spacing:.8px;transform:translate(-50%)}.hidden{opacity:0!important;visibility:hidden!important;pointer-events:none!important}.welcome.hidden{transform:translateY(-7px)}@media(max-width:760px){.topbar{height:69px;padding:0 20px}.ride-meta{gap:7px;font-size:7px;letter-spacing:.6px}.meta-divider{margin:0 1px}.top-actions{gap:4px}.top-select-control>span{display:none}.top-select-control select{width:82px;padding:4px 13px 4px 5px;font-size:9px}.icon-button{width:31px;height:31px}.mode-button{width:auto;padding:0 7px}.brand-mark{display:none}.brand-name{font-size:9px;letter-spacing:1.8px}.brand-note{font-size:7px;letter-spacing:.8px}.welcome{padding:90px 8vw 140px;align-items:center}.welcome h1{font-size:clamp(66px,16vw,100px);letter-spacing:-4px}.welcome p{font-size:14px}.welcome-start-row{flex-wrap:wrap}.run-summary{padding:24px 22px}.summary-stats{gap:5px}.summary-stats>div{padding:9px 7px}.summary-stats strong{font-size:15px}.leaderboard-dialog{padding:22px 18px}.leaderboard-columns{grid-template-columns:1fr}.edition-mark{right:25px;bottom:38px}.dashboard-cluster{left:22px;bottom:25px;width:min(290px,calc(100vw - 44px));gap:6px}.speed-cluster{gap:8px}.speed-readout{min-width:120px}.speed-value{font-size:55px}.gear-readout{width:59px;height:60px;margin-bottom:0}.gear-readout strong{font-size:32px}.ride-stats{left:22px;bottom:254px;gap:18px;padding:0;border:0}.stat-block>span{font-size:7px}.stat-block strong{font-size:12px}.challenge-panel{top:78px;left:16px;min-width:156px;gap:6px}.challenge-panel-line strong{font-size:16px}.challenge-panel-speed strong{font-size:14px}.challenge-live{right:16px;bottom:184px;width:min(380px,calc(100vw - 32px));padding:12px 15px 10px}.challenge-live-value-row strong{font-size:45px}.challenge-live-footer{font-size:7px}.challenge-feedback{right:16px;bottom:342px;left:auto;width:min(350px,calc(100vw - 32px));padding:12px 16px 14px}.biome-announcement-title{font-size:16px}.controls-hint{top:75px;right:10px;width:min(420px,calc(100vw - 20px))}}@media(max-width:760px),(any-pointer:coarse),(max-height:600px)and (max-width:1200px){.touch-controls.is-active{display:grid}}@media(max-width:430px){.ride-meta{display:none}.brand-lockup{gap:0}.brand-note,.top-select-control>span{display:none}.topbar{padding:0 8px}.top-actions{gap:2px}.top-select-control select{width:68px;padding:4px 11px 4px 4px;font-size:8px}.icon-button{width:25px;height:25px}.mode-button{min-width:38px;padding:0 3px;font-size:7px}.first-person-camera-button{min-width:31px;padding:0 3px;font-size:7px}.brand-name{font-size:8px;letter-spacing:1.2px}.welcome-start-row{max-width:290px}.run-setup-card{min-width:0;flex:1 1 100%}.run-setup-card label{font-size:7px}.run-setup-card select{width:154px}.run-setup-card p{font-size:8px}.nickname-row{flex-direction:column}.save-run-button{min-height:40px}.summary-actions .secondary-button{flex-basis:45%}.welcome-controls{max-width:290px;gap:8px 9px;margin-top:15px;padding:10px}.ride-stats{gap:12px}.road-layout{right:12px;bottom:20px}.challenge-panel{top:73px;left:10px;min-width:145px}.challenge-live{right:10px;bottom:180px;width:calc(100vw - 20px)}.challenge-feedback{right:10px;bottom:335px;left:auto;width:calc(100vw - 20px)}.dashboard-cluster{bottom:20px}.ride-stats{bottom:254px;gap:12px}}@media(max-width:760px),(any-pointer:coarse),(max-height:600px)and (max-width:1200px){#game{height:100dvh}.topbar{z-index:7;height:calc(46px + env(safe-area-inset-top));padding:env(safe-area-inset-top) calc(10px + env(safe-area-inset-right)) 0 calc(10px + env(safe-area-inset-left));background:linear-gradient(#15231fdc,#15231fa8)}.brand-mark,.brand-note,.ride-meta{display:none}.brand-name{font-size:11px;letter-spacing:1.8px}.mobile-top-actions{display:flex;gap:7px;margin-left:auto}.mobile-top-actions .icon-button{width:35px;height:35px;font-size:16px}#mobile-menu-button{display:grid}#mobile-pause-button{display:none}.topbar.is-driving #mobile-pause-button{display:grid}.top-actions{display:none;position:absolute;top:calc(46px + env(safe-area-inset-top));right:calc(8px + env(safe-area-inset-right));width:min(224px,calc(100vw - 16px));flex-wrap:wrap;justify-content:space-between;gap:8px;padding:12px;border:1px solid #e7d8b365;border-radius:7px;background:#14231ff5;box-shadow:0 14px 38px #07110f99}.topbar.is-mobile-menu-open .top-actions{display:flex}.top-actions .music-volume-button{flex:0 0 34px}.top-actions .icon-button{width:34px;height:34px}.top-actions .mobile-only-action{display:grid}.top-actions .mode-button{width:auto}.top-actions #pause-button{display:none}.welcome{overflow-y:auto;align-items:flex-start;padding:calc(65px + env(safe-area-inset-top)) 18px calc(24px + env(safe-area-inset-bottom));background:linear-gradient(90deg,#15221dd6,#15221d6b)}.welcome-card{width:100%;max-width:460px;padding-top:0}.welcome .eyebrow{font-size:8px;letter-spacing:1.1px}.welcome h1{margin:12px 0 7px;font-size:clamp(54px,14vw,78px)}.welcome p{margin:10px 0 16px;font-size:12px;line-height:1.45}.welcome-start-row{display:grid;max-width:none;grid-template-columns:1fr;grid-template-rows:none;gap:8px}.welcome-start-row>.start-button,.welcome-start-row>.run-setup-card,.welcome-start-row>.welcome-leaderboard-button{grid-column:1;grid-row:auto}.start-button,.welcome-leaderboard-button{width:100%;min-width:0}.welcome-start-row>.start-button{height:48px}.welcome-start-row>.welcome-leaderboard-button{height:42px}.run-setup-card{min-width:0;padding:8px 10px}.run-setup-card select{min-height:32px}.welcome-controls,.edition-mark{display:none}.mobile-control-guide{display:block;max-width:340px;margin:10px 0 0!important;color:#f2e9d0d9!important;font:10px/1.45 DM Mono,monospace!important}.paused-card,.run-summary{max-height:calc(100dvh - 70px);overflow-y:auto}.dashboard-cluster{left:calc(10px + env(safe-area-inset-left));bottom:calc(113px + env(safe-area-inset-bottom));width:147px;gap:3px}.speed-cluster{gap:5px}.speed-readout{min-width:0}.speed-label{gap:5px;font-size:7px;letter-spacing:1px}.speed-value{gap:4px;font-size:39px;letter-spacing:-3px}.speed-value small{font-size:8px}.gear-readout{width:35px;height:39px;margin:0 0 3px;gap:0;background:#1827229c}.gear-label,.gear-count{display:none}.gear-readout strong{font-size:25px}.rpm-panel{padding:4px 6px 5px;border-color:#eee3c326;background:#17231f9e}.rpm-panel-head{margin-bottom:3px}.rpm-label{font-size:6px;letter-spacing:.4px}.rpm-number{font-size:9px}.rpm-meter{height:4px}.rpm-scale{display:none}.ride-stats,.controls-hint{display:none!important}.biome-announcement{top:calc(18vh + env(safe-area-inset-top));width:calc(100vw - 28px)}.biome-announcement-title{font-size:clamp(19px,5vw,27px)}.challenge-panel{top:calc(54px + env(safe-area-inset-top));left:calc(8px + env(safe-area-inset-left));min-width:0;width:124px;gap:3px}.challenge-panel-score{gap:2px}.challenge-panel-line{gap:5px}.challenge-panel-line.is-current{padding-top:2px}.challenge-panel-label{font-size:6px;letter-spacing:.3px}.challenge-panel-line strong{font-size:12px}.challenge-panel-combo strong{font-size:7px;letter-spacing:0}.challenge-panel-combo span,.challenge-panel-speed{display:none}.challenge-live{top:calc(54px + env(safe-area-inset-top));right:calc(8px + env(safe-area-inset-right));bottom:auto;width:min(150px,calc(100vw - 148px));padding:6px 8px 7px;border-width:1px;background:#10201fbb;box-shadow:none!important}.challenge-live-head>span:first-child{font-size:7px;letter-spacing:.7px}.challenge-live-head>span:last-child,.challenge-live-footer{display:none}.challenge-live-value-row{justify-content:flex-start;gap:4px;margin:2px 0}.challenge-live-value-row strong,.challenge-live[data-kind=slalom] .challenge-live-value-row strong{font-size:23px;letter-spacing:-1px}.challenge-live-value-row span{font-size:6px;letter-spacing:0}.challenge-live-progress{height:3px}.challenge-feedback{top:calc(112px + env(safe-area-inset-top));right:calc(8px + env(safe-area-inset-right));bottom:auto;left:auto;width:max-content;max-width:min(180px,calc(100vw - 16px));justify-items:end;gap:0;padding:4px 7px;border-color:#b8f7ee42;background:#112b2bbf;box-shadow:none;text-align:right}.challenge-feedback-kicker,.challenge-feedback-detail{display:none}.challenge-feedback strong{font:11px DM Sans,sans-serif}.challenge-feedback-points{font-size:11px}.challenge-flash:before{top:16%;width:min(110px,24vw);height:min(220px,36vh);opacity:1}.toast{top:calc(50px + env(safe-area-inset-top));width:max-content;max-width:calc(100vw - 156px);padding:5px 7px;font-size:8px;text-align:center}.touch-controls{z-index:6;inset:auto calc(10px + env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) calc(10px + env(safe-area-inset-left));grid-template-columns:132px 92px;justify-content:space-between;align-items:end}.touch-pad{display:flex;align-items:center;justify-content:center;border:1px solid #eee3c351;background:#14231f8c;color:#f1e9d9;pointer-events:auto;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;backdrop-filter:blur(7px)}.touch-pad.is-engaged{border-color:#e3bd83c9;background:#172824b5}.touch-pad-title{position:absolute;color:#f4e8d5c9;font:8px DM Mono,monospace;letter-spacing:.6px;pointer-events:none}.touch-steer{position:relative;width:132px;height:84px;border-radius:44px}.touch-steer .touch-pad-title{top:8px}.touch-steer-track{position:absolute;top:51px;width:92px;height:1px;background:#e3bd8375}.touch-steer-thumb{position:absolute;top:-19px;left:27px;display:grid;width:38px;height:38px;place-items:center;border:1px solid #f4dda9b5;border-radius:50%;background:#d7b983b8;color:#18251f;font-size:22px;transform:translate(var(--drag-x, 0px))}.touch-drive{position:relative;width:92px;height:126px;flex-direction:column;justify-content:space-between;padding:9px 0;border-radius:48px}.touch-drive .touch-pad-title{position:static}.touch-drive-track{position:absolute;top:34px;left:50%;width:1px;height:58px;background:#e3bd8375;transform:translate(-50%)}.touch-drive-thumb{position:absolute;top:12px;left:-17px;width:34px;height:34px;border:1px solid #f4dda9b5;border-radius:50%;background:#d7b983b8;transform:translateY(var(--drag-y, 0px))}.touch-drive[data-action=throttle] .touch-drive-thumb{background:#f1cc87;box-shadow:0 0 12px #f1cc8799}.touch-drive[data-action=brake] .touch-drive-thumb{background:#ee9b88;box-shadow:0 0 12px #ee9b8899}#tuuchen-save-status{right:8px;bottom:calc(148px + env(safe-area-inset-bottom));max-width:160px;font-size:8px}}@media(max-height:600px)and (max-width:1200px){.dashboard-cluster{bottom:calc(78px + env(safe-area-inset-bottom))}.touch-controls{bottom:calc(5px + env(safe-area-inset-bottom))}.touch-steer{height:70px}.touch-steer-track{top:44px}.touch-drive{height:90px}.touch-drive-track{top:26px;height:38px}.touch-drive-thumb{top:2px}.welcome{padding-top:calc(51px + env(safe-area-inset-top))}.welcome h1{font-size:52px}}#tuuchen-save-status{position:fixed;z-index:1000;right:16px;bottom:16px;max-width:min(360px,calc(100vw - 32px));padding:9px 12px;border:1px solid #eee3c33a;border-radius:5px;background:#14231ff2;color:var(--ink);font:10px DM Mono,monospace;box-shadow:0 8px 28px #0a15146b}#tuuchen-save-status[hidden],#tuuchen-save-status[data-state=local]{display:none}@media(max-width:760px),(any-pointer:coarse),(max-height:600px)and (max-width:1200px){#tuuchen-save-status{right:8px;bottom:calc(148px + env(safe-area-inset-bottom));max-width:160px;font-size:8px}}@media(max-width:760px),(any-pointer:coarse),(max-height:600px)and (max-width:1200px){.topbar.is-driving{height:calc(42px + env(safe-area-inset-top));border:0;background:none}.topbar.is-driving .brand-lockup{display:none}.topbar.is-driving .mobile-top-actions .icon-button{width:31px;height:31px;border-color:#eee3c333;background:#14231f35;font-size:13px}.topbar.is-driving .mobile-top-actions .settings-menu-button{border-color:#e7d8b370;background:#14231fba;box-shadow:0 0 14px #07110f66}.welcome .run-setup-card{padding:5px 0;border:0;background:none;box-shadow:none;backdrop-filter:none}.challenge-panel,.ride-stats,.road-layout{display:none!important}.dashboard-cluster{width:117px;gap:1px}.speed-cluster{gap:4px}.speed-label,.gear-label,.gear-count,.rpm-label,.rpm-number{display:none}.speed-value{gap:3px;margin:0;font-size:31px;letter-spacing:-2px;line-height:1}.speed-value small{font-size:7px}.gear-readout,.hud.is-speed-boosted .gear-readout{width:24px;height:30px;margin:0;padding:0;border:0;background:none;box-shadow:none}.gear-readout strong{font-size:20px}.rpm-panel,.hud.is-speed-boosted .rpm-panel{padding:2px 0 0;border:0;background:none;box-shadow:none;backdrop-filter:none}.rpm-panel-head,.rpm-scale{display:none}.rpm-meter{height:3px;background:#efe7cf52}.challenge-live,.challenge-live[data-kind=slalom],.challenge-live[data-kind=speed-trap]{top:calc(50px + env(safe-area-inset-top));right:calc(10px + env(safe-area-inset-right));bottom:auto;width:auto;max-width:125px;padding:0;border:0;background:none;box-shadow:none!important;backdrop-filter:none;text-align:right}.challenge-live-head{justify-content:flex-end}.challenge-live-head>span:first-child{font-size:7px;letter-spacing:.6px;text-shadow:0 1px 5px #07110f}.challenge-live-value-row{justify-content:flex-end;margin:1px 0 0}.challenge-live-value-row strong,.challenge-live[data-kind=slalom] .challenge-live-value-row strong{font-size:19px;text-shadow:0 1px 6px #07110f}.challenge-live-value-row span{font-size:6px;text-shadow:0 1px 5px #07110f}.challenge-live-progress{display:none}.challenge-feedback,.challenge-feedback.is-impact,.challenge-feedback.is-miss{top:calc(102px + env(safe-area-inset-top));right:calc(10px + env(safe-area-inset-right));width:auto;max-width:145px;padding:0;border:0;background:none;box-shadow:none;text-shadow:0 1px 6px #07110f}.challenge-feedback strong{font-size:10px}.challenge-feedback-points{font-size:11px}.toast{border:0;background:none;box-shadow:none;text-shadow:0 1px 6px #07110f}.touch-pad{border-color:#eee3c33d;background:none;backdrop-filter:none}.touch-pad.is-engaged{border-color:#e3bd839c;background:none}.touch-steer-thumb,.touch-drive-thumb{background:#d7b983a8}#tuuchen-save-status{border:0;background:none;box-shadow:none;text-shadow:0 1px 6px #07110f}}@media(max-width:760px),(any-pointer:coarse),(max-height:600px)and (max-width:1200px){.welcome{scrollbar-width:none}.welcome::-webkit-scrollbar{display:none}}@media(max-height:600px)and (min-width:680px)and (max-width:1200px){.welcome{padding:calc(58px + env(safe-area-inset-top)) 18px 12px}.welcome-card{display:grid;width:100%;max-width:1050px;grid-template-columns:minmax(0,1fr) minmax(300px,1fr);grid-template-rows:repeat(6,auto);align-content:start;gap:6px 22px}.welcome-start-row{display:contents}.welcome-card>.eyebrow{grid-column:1;grid-row:1}.welcome h1{grid-column:1;grid-row:2;margin:0;font-size:clamp(44px,9vh,56px)}.welcome-card>p:not(.mobile-control-guide){grid-column:1;grid-row:3;margin:0 0 4px;font-size:11px;line-height:1.3}.welcome-start-row>.start-button{grid-column:1;grid-row:4;height:46px}.welcome-start-row>.welcome-leaderboard-button{grid-column:1;grid-row:5;height:40px}.welcome-start-row>.run-setup-card{grid-column:2;grid-row:1 / 7;align-self:start}.mobile-control-guide{grid-column:1;grid-row:6;max-width:none;margin:0!important;font-size:9px!important}}.controller-guide,.controller-control-guide{display:none}.controller-connected .controller-guide{display:block;font:11px/1.7 var(--font-mono, monospace);color:#ddd9ca;margin:14px 0 0}.controller-connected .welcome-controls,.controller-connected .mobile-control-guide,.controller-connected .touch-controls,.controller-connected .controls-hint>:not(.controller-control-guide){display:none!important}.controller-connected .controller-control-guide{display:block;max-width:620px;line-height:1.8}.is-controller-focused{outline:3px solid #f7d38a!important;outline-offset:4px;box-shadow:0 0 18px #f7d38a55!important}.controller-keyboard{width:min(680px,calc(100vw - 32px));max-height:calc(100dvh - 32px);box-sizing:border-box;overflow:auto;padding:24px;background:#1c2828;color:#edeada;border:1px solid #8e8268;border-radius:12px}.controller-keyboard::backdrop{background:#0009}.controller-keyboard h2{margin:0 0 12px;font-size:28px}.controller-keyboard-preview{display:block;min-height:32px;overflow-wrap:anywhere;margin-bottom:16px;color:#f7d38a;font:22px monospace}.controller-keyboard-keys{display:grid;grid-template-columns:repeat(10,1fr);gap:8px}.controller-keyboard-actions{display:flex;gap:8px;margin-top:18px;flex-wrap:wrap}.controller-keyboard button{min-height:40px;padding:8px;border:1px solid #7f897c;border-radius:5px;background:#263737;color:inherit;font:700 15px monospace;cursor:pointer}.controller-keyboard p{margin:16px 0 0;font:11px/1.5 monospace}@media(max-width:600px){.controller-keyboard{padding:16px}.controller-keyboard-keys{grid-template-columns:repeat(7,1fr)}.controller-connected .controller-guide{font-size:9px}}.speed-effects{mask-image:linear-gradient(90deg,#000,transparent 23%,transparent 77%,#000)}.challenge-flash{mix-blend-mode:normal}.challenge-flash:after{opacity:.5}@media(prefers-reduced-motion:reduce){.wind-streak{animation:none}.challenge-flash.is-active,.challenge-flash.is-near-miss.is-active{animation-duration:.12s}}.challenge-flash.is-speed-zone:before{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20180%20360'%20fill='none'%3e%3cdefs%3e%3clinearGradient%20id='gold'%20x1='35'%20y1='30'%20x2='135'%20y2='290'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23288f89'/%3e%3cstop%20offset='.28'%20stop-color='%23ffffff'/%3e%3cstop%20offset='.48'%20stop-color='%23a0fff7'/%3e%3cstop%20offset='.52'%20stop-color='%23229c95'/%3e%3cstop%20offset='.7'%20stop-color='%23dcfffa'/%3e%3cstop%20offset='1'%20stop-color='%237aeee5'/%3e%3c/linearGradient%3e%3cpath%20id='bolt'%20d='M91%209h54l-40%20113%2053-8L35%20351l35-158-48%209Z'/%3e%3c/defs%3e%3cuse%20href='%23bolt'%20stroke='%23a6fff7'%20stroke-width='12'%20opacity='.18'/%3e%3cuse%20href='%23bolt'%20fill='url(%23gold)'%20stroke='%23dcfffa'%20stroke-width='2'/%3e%3cpath%20d='m96%2017-61%20172%2046-9-34%20132%2094-184-48%208%2039-119Z'%20fill='%23ffffff'%20opacity='.35'/%3e%3cpath%20d='m96%2017-61%20172%2046-9-34%20132'%20stroke='%23ffffff'%20stroke-width='3'/%3e%3cpath%20d='m151%2041-16%2046m24%2088-32%2063M20%20225l-7%2037'%20stroke='%23affff9'%20stroke-width='3'%20opacity='.6'/%3e%3c/svg%3e");filter:drop-shadow(0 0 8px #dcfffa) drop-shadow(0 0 28px #7aeee5)}.challenge-flash.is-speed-zone:after{background:radial-gradient(ellipse at 50% 36%,#dcfffa80 0%,#7aeee536 12%,#7aeee512 28%,transparent 52%)}.challenge-flash.is-speed-trap:before{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20180%20360'%20fill='none'%3e%3cdefs%3e%3clinearGradient%20id='gold'%20x1='35'%20y1='30'%20x2='135'%20y2='290'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%237540b8'/%3e%3cstop%20offset='.28'%20stop-color='%23ffffff'/%3e%3cstop%20offset='.48'%20stop-color='%23d9bdff'/%3e%3cstop%20offset='.52'%20stop-color='%238142cd'/%3e%3cstop%20offset='.7'%20stop-color='%23f1dbff'/%3e%3cstop%20offset='1'%20stop-color='%23b994ff'/%3e%3c/linearGradient%3e%3cpath%20id='bolt'%20d='M91%209h54l-40%20113%2053-8L35%20351l35-158-48%209Z'/%3e%3c/defs%3e%3cuse%20href='%23bolt'%20stroke='%23e0c7ff'%20stroke-width='12'%20opacity='.18'/%3e%3cuse%20href='%23bolt'%20fill='url(%23gold)'%20stroke='%23f1dbff'%20stroke-width='2'/%3e%3cpath%20d='m96%2017-61%20172%2046-9-34%20132%2094-184-48%208%2039-119Z'%20fill='%23ffffff'%20opacity='.35'/%3e%3cpath%20d='m96%2017-61%20172%2046-9-34%20132'%20stroke='%23ffffff'%20stroke-width='3'/%3e%3cpath%20d='m151%2041-16%2046m24%2088-32%2063M20%20225l-7%2037'%20stroke='%23e5cfff'%20stroke-width='3'%20opacity='.6'/%3e%3c/svg%3e");filter:drop-shadow(0 0 8px #f1dbff) drop-shadow(0 0 28px #b994ff)}.challenge-flash.is-speed-trap:after{background:radial-gradient(ellipse at 50% 36%,#f1dbff80 0%,#b994ff36 12%,#b994ff12 28%,transparent 52%)}
