@font-face{font-family:Michroma;src:url(/fonts/michroma.woff2)format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Manrope;src:url(/fonts/manrope.woff2)format("woff2");font-weight:200 800;font-style:normal;font-display:swap}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-synthesis:none;--title-font:Michroma, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--ink:#f1f4f3;--muted:#bdc9cc;--accent:#8cc8de;--glass:#1a2429c7;--panel:#1a2429f0;--tint:#ffffff08;--glass-filter:blur(4px) saturate(130%) brightness(.96);--glass-sheen:linear-gradient(180deg, #ffffff0f, #fff0 50%);--glass-shadow:0 16px 48px #00000029, 0 2px 8px #00000014;--glass-text:0 1px 3px #000000a6, 0 0 16px #0006;--edge:#e2f1f629;--control:#d9ecf214;--hover:#d9ecf229;--space:clamp(16px, 2.5vw, 36px);--wheel-size:min(40vh, 25vw, 320px);font-family:Manrope,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body{width:100%;height:100%;color:var(--ink);background:#162027;margin:0;overflow:hidden}body{-webkit-font-smoothing:antialiased;font-size:14px;line-height:1.5}#app{isolation:isolate;width:100%;height:100%;position:relative}canvas{display:block}[hidden]{display:none!important}button,input,select{font:inherit;color:inherit}button,select,summary{cursor:pointer;touch-action:manipulation}button{border:1px solid #0000}button,input,select,summary{-webkit-tap-highlight-color:transparent}button{transition:background-color .14s,color .14s,border-color .14s}button:disabled{opacity:.45;cursor:default}button:not(:disabled):hover{background-color:var(--hover)}:focus-visible{outline:2px solid var(--accent);outline-offset:4px}input,select{min-width:0}select{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}select option{color:var(--ink);background:#263239}input,select,button{max-width:100%}h1,h2,h3,p{margin:0}svg{display:block}kbd{border:1px solid var(--edge);min-width:24px;color:var(--ink);text-align:center;background:var(--control);border-radius:5px;padding:2px 6px;font-family:inherit;font-size:12px;line-height:1.5;display:inline-block}.world-ui{z-index:5;top:max(var(--space), env(safe-area-inset-top));right:max(var(--space), env(safe-area-inset-right));max-width:calc(100% - 2 * var(--space));color:var(--ink);border-radius:20px;align-items:center;gap:3px;padding:6px;display:flex;position:absolute}.world-ui:before{content:"";z-index:-1;border-radius:inherit;pointer-events:none;position:absolute;inset:0}#app[data-sky=bright]{--tint:#0a10140f;--glass-filter:blur(5px) saturate(120%) brightness(.86)}.world-ui,.hud-instruments,.settings-card,.touch-controls,.hud-paused{--control:#ffffff1f;--hover:#fff3;--selected:#ffffff42;--edge:#ffffff17;--muted:#d3dde0}.world-ui:before,.world-panel,.hud-instruments,.settings-card,.hud-paused,.touch-btn{background-color:var(--tint);background-image:var(--glass-sheen);box-shadow:var(--glass-shadow);-webkit-backdrop-filter:var(--glass-filter);border:0}.world-ui :is(button,select,input),.hud-instruments button,.settings-card :is(button,select,input){border-color:#0000}.world-ui,.hud-instruments,.settings-card,.hud-paused,.touch-btn{text-shadow:var(--glass-text)}.world-ui select,.world-ui input,.settings-card select{text-shadow:none}.world-ui select option,.settings-card select option{background:#263239}.world-toggle{white-space:nowrap;background:0 0;border-radius:14px;justify-content:center;align-items:center;gap:9px;min-height:42px;padding:9px 13px;font-size:13px;font-weight:500;display:inline-flex}.world-toggle svg{flex:none;width:19px;height:19px}.world-toggle[aria-expanded=true]{background:var(--selected);color:#fff}.world-mute,.settings-gear,.toolbar-help{width:42px;padding:10px}.world-mute span{display:none}.settings-gear{order:5}.toolbar-help{order:4}.world-mute{order:3}.world-toggle.world-mute[aria-pressed=true]{color:var(--muted)}.world-panel{width:352px;max-width:calc(100vw - 2 * var(--space));overscroll-behavior:contain;scrollbar-color:#ffffff4d transparent;border-radius:24px;gap:16px;max-height:calc(100dvh - 125px);padding:16px 18px 20px;display:grid;position:absolute;top:calc(100% + 12px);right:0;overflow-y:auto}.drive-tabs{background:#0000001a;border-radius:14px;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;padding:3px;display:grid}.world-panel .drive-tabs button.drive-tab{min-height:34px;color:var(--muted);background:0 0;border:0;border-radius:11px;padding:6px 10px;font-size:13px;font-weight:600}.world-panel .drive-tabs button.drive-tab:hover{background:var(--hover);color:var(--ink)}.world-panel .drive-tabs button.drive-tab[aria-selected=true]{color:#fff;background:#ffffff47;box-shadow:0 2px 8px #0000001f}.world-panel .drive-tabs button.drive-tab:focus-visible{outline-offset:1px}.drive-pane{gap:14px;display:grid}.world-share{border-top:1px solid var(--edge);padding-top:10px}.world-share summary{min-height:32px;color:var(--muted);border-radius:6px;align-items:center;gap:8px;font-size:13px;font-weight:500;list-style:none;display:flex}.world-share summary::-webkit-details-marker{display:none}.world-share summary:before{content:"";border:1.6px solid;border-width:0 1.6px 1.6px 0;width:6px;height:6px;margin:0 3px 0 2px;transition:transform .14s;transform:rotate(-45deg)}.world-share[open] summary:before{transform:rotate(45deg)}.world-share summary:hover{color:var(--ink)}.world-share-body{gap:12px;padding-top:8px;display:grid}.world-panel h2{letter-spacing:-.03em;font-size:20px;font-weight:500}.world-panel header p,.world-panel-subtitle,.world-note,.world-status{color:var(--muted);font-size:12px;line-height:1.6}.world-row{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.world-label{flex:0 0 56px;font-size:13px;font-weight:500}.world-input,.world-select,.world-row select{border:1px solid var(--edge);background:var(--control);border-radius:12px;flex:1;width:100%;min-height:40px;padding:8px 12px}.world-select:disabled{opacity:.45;cursor:not-allowed}.world-code{font:12px/1.5 ui-monospace,monospace}.world-value{text-align:center;flex:1}.world-action,.world-step,.world-build,.world-restart,.world-panel button:not(.world-toggle),.settings-reset,.settings-home,.settings-close{border:1px solid var(--edge);background:var(--control);border-radius:999px;min-height:36px;padding:7px 14px;font-size:12px;font-weight:500}.world-step{min-width:36px}.world-footer{justify-content:space-between}.world-build,.world-panel button.world-build{color:#172a33;background:var(--accent);border-color:#0000}.world-build:not(:disabled):hover{background:#b9e3ee}.world-status{flex:1}.world-restart-confirm,.world-confirm{gap:12px;display:grid}.world-restart-confirm{border-top:1px solid var(--edge);padding-top:14px}.world-confirm-actions{gap:8px;display:flex}.world-panel .world-restart{color:var(--muted)}.hud{pointer-events:none;color:var(--ink);font-variant-numeric:tabular-nums;position:absolute;inset:0}.hud-instruments{right:max(var(--space), env(safe-area-inset-right));bottom:max(var(--space), env(safe-area-inset-bottom));border-radius:24px;width:270px;padding:18px 20px;position:absolute}.hud-readouts{border-bottom:1px solid var(--edge);justify-content:space-between;align-items:baseline;gap:18px;margin-bottom:12px;padding-bottom:16px;display:flex}.hud-speed{align-items:baseline;gap:7px;display:flex}.hud-speed .hud-value{letter-spacing:-.055em;font-size:40px;font-weight:400;line-height:1}.hud-unit{color:var(--muted);font-size:12px}.hud-odometer{align-items:baseline;gap:4px;font-size:16px;display:flex}.hud-paused{z-index:6;border-radius:24px;padding:9px 18px;font-size:13px;position:absolute;top:24px;left:50%;transform:translate(-50%)}.hud-wheel{left:max(var(--space), env(safe-area-inset-left));bottom:max(var(--space), env(safe-area-inset-bottom));width:var(--wheel-size);height:var(--wheel-size);pointer-events:auto;touch-action:none;cursor:grab;filter:drop-shadow(0 4px 9px #0000004d);border-radius:50%;transition:opacity .16s;position:absolute}.hud[data-wheel-presentation=compact]{--wheel-size:112px}.hud-wheel-mouse-steering{opacity:.5}.touch-controls{right:max(var(--space), env(safe-area-inset-right));bottom:max(var(--space), env(safe-area-inset-bottom));pointer-events:auto;grid-template:"camera reset"46px"handbrake boost"46px"brake gas"112px/76px 76px;gap:10px;display:grid;position:absolute}.touch-controls[hidden]{display:none}.touch-btn{color:var(--ink);touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;border-radius:14px;justify-content:center;align-items:center;padding:4px;font-size:12px;font-weight:500;display:flex}.touch-camera{grid-area:camera}.touch-reset{grid-area:reset}.touch-handbrake{grid-area:handbrake}.touch-boost{grid-area:boost}.touch-brake{border-radius:16px;grid-area:brake;font-size:14px}.touch-gas{background-color:#8cc8de4d;border-color:#8cc8de8c;border-radius:16px;grid-area:gas;font-size:14px}.touch-btn:not(.touch-pressed):hover{background-color:var(--tint)}.touch-gas:not(.touch-pressed):hover{background-color:#8cc8de4d}.touch-pressed{background-color:var(--accent);text-shadow:none;border-color:var(--accent);color:#172a33;background-image:none}.hud[data-touch=on]{--wheel-size:min(46vw, 44vh, 210px)}.hud[data-touch=on] .hud-instruments{top:max(var(--space), env(safe-area-inset-top));bottom:auto;right:auto;left:max(var(--space), env(safe-area-inset-left));width:220px}.hud-wheel-dragging{cursor:grabbing}.hud-wheel-svg{will-change:transform;width:100%;height:100%}.hud-wheel-rim{fill:none;stroke:#263339db;stroke-width:11px}.hud-wheel-edge{fill:none;stroke:#daebf17a;stroke-width:.7px}.hud-wheel-spoke{fill:none;stroke:#b1c1c7;stroke-width:5px;stroke-linecap:round}.hud-wheel-hub{fill:#29363c;stroke:#aebfc5;stroke-width:1.2px}.hud-wheel-mark{fill:var(--accent)}.hud-wheel-label{text-align:center;color:#fff;text-shadow:0 1px 5px #000;pointer-events:none;opacity:0;width:100%;font-size:11px;position:absolute;bottom:calc(100% + 8px);left:0}.hud-wheel:hover .hud-wheel-label,.hud-wheel:focus-visible .hud-wheel-label{opacity:1}.assist{pointer-events:auto;gap:6px;display:grid}.assist-row{align-items:center;gap:8px;min-height:40px;display:flex}.assist-btn,.assist-arrow{background:var(--control);color:var(--ink);border-radius:12px;justify-content:center;align-items:center;padding:6px;display:flex}.assist-btn{gap:8px;min-height:38px;padding-right:10px}.assist-btn svg{flex:none;width:24px;height:24px}.assist-caption{font-size:12px}.assist-arrow{width:30px;height:30px}.assist-arrow svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:13px;height:13px}.assist-up svg{transform:rotate(-90deg)}.assist-down svg{transform:rotate(90deg)}.assist-steps{gap:3px;margin-left:auto;display:flex}.assist-max{flex-direction:column;align-items:center;gap:3px;min-width:28px;line-height:1.15;display:flex}.assist-max-value{font-size:16px}.assist-max-label{color:var(--muted);font-size:9px;font-weight:500}.assist-wheel-rim,.assist-wheel-spoke{fill:none;stroke:currentColor;stroke-width:6px;stroke-linecap:round}.assist-wheel-hub{fill:currentColor}.assist-lock-body{fill:none;stroke:currentColor;stroke-width:1.8px}.assist-lock-shackle{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round}.assist-lock-closed{display:none}.assist-locked .assist-lock-closed{display:inline}.assist-locked .assist-lock-open{display:none}.assist-btn.assist-on,.assist-btn.assist-locked{color:#f0fbff;background:#8cc8de61}.settings-backdrop{z-index:20;padding:max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));place-items:center;display:grid;position:absolute;inset:0}.settings-backdrop:before{content:"";z-index:-1;-webkit-backdrop-filter:blur(6px);background:#08101547;position:absolute;inset:0}.settings-card{border-radius:28px;flex-direction:column;width:min(900px,100%);max-height:min(800px,100dvh - 40px);display:flex;overflow:hidden}.settings-header{border-bottom:1px solid var(--edge);flex:none;align-items:center;gap:12px;padding:25px 28px;display:flex}.settings-header>div{flex:1;min-width:0}.settings-title{letter-spacing:-.035em;font-size:25px;font-weight:500}.settings-section-note{color:var(--muted);margin-top:5px;font-size:13px;line-height:1.6}.settings-close{flex:none;width:36px;padding:6px}.settings-body{grid-template-columns:155px minmax(0,1fr);min-height:0;display:grid}.settings-tabs{border-right:1px solid var(--edge);padding:20px 14px;overflow-y:auto}.settings-tablist{gap:5px;display:grid}.settings-tab{min-height:43px;color:var(--muted);text-align:left;background:0 0;border-radius:12px;padding:10px 14px;font-size:14px;font-weight:500}.settings-tab[aria-selected=true]{background:var(--selected);color:#fff}.settings-content{overscroll-behavior:contain;scrollbar-color:#ffffff4d transparent;padding:4px 28px 24px;overflow-y:auto}.settings-pane{outline-offset:-2px}.settings-section{padding:22px 0}.settings-section+.settings-section{border-top:1px solid var(--edge)}.settings-section-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.settings-section-title{letter-spacing:-.015em;font-size:16px;font-weight:500}.settings-reset{color:var(--muted);background:0 0;border-color:#0000;min-height:30px;padding:4px 9px}.settings-row{grid-template-columns:minmax(0,1fr) 125px 56px;align-items:center;gap:6px 12px;padding:12px 0;display:grid}.settings-label{font-size:14px;font-weight:500}.settings-help{color:var(--muted);margin:4px 0 0;font-size:12px;line-height:1.55}.settings-range{width:100%;accent-color:var(--accent);cursor:pointer;height:24px;margin:0}.settings-value{text-align:right;font-variant-numeric:tabular-nums;font-size:12px}.settings-select{border:1px solid var(--edge);background:var(--control);border-radius:12px;grid-column:2/4;width:100%;min-height:40px;padding:8px 10px;font-size:13px}.settings-check{appearance:none;cursor:pointer;background:#ffffff2e;border:0;border-radius:20px;grid-column:2/4;justify-self:end;width:40px;height:24px;margin:0;position:relative}.settings-check:before{content:"";background:#d5e1e4;border-radius:50%;width:16px;height:16px;transition:transform .14s;position:absolute;top:3px;left:3px}.settings-check:checked{background:var(--accent);border-color:var(--accent)}.settings-check:checked:before{background:#26383f;transform:translate(16px)}.settings-shortcuts{margin:20px 0 0}.settings-link{color:var(--accent);text-underline-offset:3px}.settings-key-group{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;margin:18px 0 2px;font-size:12px;font-weight:500}.settings-key-row{padding:6px 0}.settings-key-slots{grid-column:2/4;grid-template-columns:1fr 1fr;gap:6px;display:grid}.settings-key{border:1px solid var(--edge);background:var(--control);white-space:nowrap;text-overflow:ellipsis;border-radius:10px;min-height:36px;padding:6px 8px;font-size:13px;font-weight:500;overflow:hidden}.settings-key:hover{background:var(--hover)}.settings-key-empty{color:var(--muted)}.settings-key-waiting,.settings-card .settings-key-waiting{border-color:var(--accent);color:var(--accent)}.settings-pad-slots{grid-template-columns:1fr}.settings-pad-found{color:var(--muted);margin:8px 0 0;font-size:13px}.settings-key-status{min-height:1.5em;color:var(--accent);margin:8px 0 0;font-size:13px}.settings-shortcut{border-bottom:1px solid var(--edge);grid-template-columns:125px 1fr;align-items:baseline;gap:14px;padding:9px 0;display:grid}.settings-shortcut-keys{color:var(--muted)}.settings-shortcut dd{color:var(--muted);margin:0;font-size:13px}.on-title>.hud,.on-title>.world-ui,.on-title>.hud-paused{visibility:hidden}.title-screen{z-index:30;font-family:var(--title-font);text-transform:uppercase;background:radial-gradient(52% 62% at 18% 56%,#080c16bd,#080c1666 58%,#080c1600 100%),url(/title-cover.webp) 58%/cover,#10141c;align-items:center;padding:clamp(28px,8vw,120px);display:flex;position:absolute;inset:0;overflow-y:auto}.title-screen.title-over-scene{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:linear-gradient(90deg,#0d191fe6,#0d191f8c 60%,#0d191f2e)}.title-screen{--title-ease:.22s cubic-bezier(.2, .7, .2, 1);--title-dim:#ecf4f79e;--title-lit:#f6fafc}.title-screen button{text-transform:uppercase}.title-card{justify-items:start;gap:clamp(10px,2.2vh,20px);width:min(560px,100%);padding-block:clamp(8px,2.2vh,20px);display:grid;position:relative}.title-home{padding-block:clamp(20px,5vh,120px);overflow:clip}.title-home .title-card{transform:scale(var(--title-fit,1));transform-origin:0}.title-name{letter-spacing:.02em;font-size:clamp(34px,3.2vw + 32px,78px);font-weight:400;line-height:1.12}.title-line{letter-spacing:.16em;color:#e2ecf0c7;max-width:34ch;font-size:clamp(11.5px,.3vw + 9px,13px);line-height:2}.title-message{color:var(--ink);letter-spacing:.08em;text-transform:none;background:#8cc8de24;border-radius:9px;padding:12px 14px;font-family:inherit;font-size:11px;line-height:1.7}.title-actions{flex-wrap:wrap;gap:6px;margin:clamp(0px,1.6vh,14px) 0 0 -18px;display:flex}.title-screen .title-button{min-height:48px;color:var(--title-dim);letter-spacing:.14em;transition:color var(--title-ease), background-color var(--title-ease);background:0 0;border:0;border-radius:10px;padding:12px 18px;font-size:14px}.title-screen .title-button:not(:disabled):hover,.title-screen .title-button:focus-visible{color:var(--title-lit);background:#dcecf41a}.title-quiet-focus .title-primary:focus-visible{outline:none}.title-screen .title-primary{color:#f6fafceb}.title-quiet-focus .title-primary:focus-visible:not(:hover){color:#f6fafceb;background:0 0}.title-link{color:var(--title-dim);letter-spacing:.14em;transition:color var(--title-ease);background:0 0;padding:6px 0;font-size:11px;position:relative}.title-link:after{content:"";transform-origin:0;height:1px;transition:transform var(--title-ease);background:currentColor;position:absolute;bottom:2px;left:0;right:0;transform:scaleX(0)}.title-link:hover,.title-link:focus-visible{color:var(--title-lit)}.title-screen .title-link:not(:disabled):hover,.title-screen .title-howto-toggle:not(:disabled):hover{background-color:#0000}.title-link:hover:after,.title-link:focus-visible:after{transform:scaleX(1)}.title-howto{justify-items:start;display:grid}.title-howto-toggle{min-height:36px;color:var(--title-dim);letter-spacing:.14em;transition:color var(--title-ease);background:0 0;align-items:center;gap:10px;padding:6px 0;font-size:11px;display:inline-flex}.title-howto-toggle:hover,.title-howto-toggle:focus-visible,.title-howto-open .title-howto-toggle{color:var(--title-lit)}.title-chevron{border-bottom:1.5px solid;border-right:1.5px solid;width:7px;height:7px;margin-top:-3px;transition:transform .18s cubic-bezier(.2,.7,.2,1),margin .18s cubic-bezier(.2,.7,.2,1);transform:rotate(45deg)}.title-howto-open .title-chevron{margin-top:4px;transform:rotate(-135deg)}.title-keys{letter-spacing:.1em;color:#e2ecf0d9;opacity:0;visibility:hidden;grid-template-columns:auto 1fr;gap:clamp(8px,1.4vh,12px) 20px;max-width:520px;margin:8px 0 0;font-size:10.5px;line-height:1.6;transition:opacity .18s,transform .18s cubic-bezier(.2,.7,.2,1),visibility 0s linear .18s;display:grid;transform:translateY(-6px)}.title-howto-open .title-keys{opacity:1;visibility:visible;transition:opacity .18s,transform .18s cubic-bezier(.2,.7,.2,1),visibility;transform:none}.title-keys dt{white-space:nowrap}.title-keys dd{margin:0}.title-keys kbd{font-family:var(--title-font);text-transform:uppercase;font-size:10px}.title-screen.setup-screen{background:radial-gradient(60% 75% at 22% 52%,#080c16cc,#080c1680 60%,#080c161a 100%),url(/setup-backdrop.webp) 60%/cover,#10141c}.setup-card{gap:26px;width:min(660px,100%)}.setup-title{letter-spacing:.04em;font-size:clamp(26px,3.4vw,44px);font-weight:400;line-height:1.1}.setup-rows{gap:10px;display:grid}.setup-row{grid-template-columns:104px minmax(0,1fr);align-items:center;column-gap:14px;display:grid}.setup-row[hidden]{display:none}.setup-label{letter-spacing:.16em;color:#e2ecf080;font-size:10.5px}.setup-options{flex-wrap:wrap;gap:4px;margin-left:-12px;display:flex}.title-screen .setup-option{min-height:36px;color:var(--title-dim);letter-spacing:.12em;transition:color var(--title-ease), background-color var(--title-ease);background:0 0;border:0;border-radius:8px;padding:8px 12px;font-size:11.5px}.title-screen .setup-option:not(:disabled):hover{color:var(--title-lit);background:#dcecf414}.title-screen .setup-option[aria-checked=true]{color:var(--title-lit);background:#dcecf426}.setup-actions{margin-top:10px}@media (aspect-ratio<=3/2) and (width>=481px){.title-screen:not(.title-over-scene){background-position:50%,26%,50%}}.loading-screen{z-index:35;background:#1a282f;place-items:center;padding:24px;display:grid;position:absolute;inset:0}.loading-screen.loading-over-scene{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#101b21c7}.loading-card{text-align:center;gap:18px;width:min(320px,100%);display:grid}.loading-title{letter-spacing:-.025em;font-size:22px;font-weight:400}.loading-stage{color:var(--muted);font-size:13px}.loading-bar{background:var(--control);border-radius:8px;height:3px;overflow:hidden}.loading-fill{background:var(--accent);width:0;height:100%}.perf-notice{z-index:40}.perf-card{max-width:500px;padding:28px;display:block;overflow-y:auto}.settings-card.perf-card{background:var(--panel);border-color:var(--edge);-webkit-backdrop-filter:none;text-shadow:none;box-shadow:0 24px 100px #0000004d}.perf-card p{color:var(--muted);margin-top:14px}.perf-actions{justify-content:flex-end;margin-top:20px;display:flex}.perf-tip{z-index:15;right:var(--space);border:1px solid var(--edge);background:var(--panel);text-align:left;border-radius:12px;width:260px;padding:15px 18px;font-size:13px;position:absolute;top:100px}.perf-tip strong{font-weight:500;display:block}.profile-actions{gap:5px;display:flex}.profile-status{color:var(--accent);margin:12px 0;font-size:13px}.profile-status:empty{display:none}.profile-stats{margin:14px 0 0}.profile-stat{border-bottom:1px solid var(--edge);justify-content:space-between;align-items:baseline;gap:16px;padding:10px 0;display:flex}.profile-stat dd{font-variant-numeric:tabular-nums;margin:0}.profile-sub{color:var(--muted);font-size:13px}.profile-sub dt{padding-left:14px}.profile-worlds{gap:12px;margin:16px 0 0;padding:0;list-style:none;display:grid}.profile-world{border:1px solid var(--edge);border-radius:10px;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;padding:14px;display:grid}.profile-world-name{font-weight:500}.profile-world-meta,.profile-world-code{color:var(--muted);overflow-wrap:anywhere;grid-column:1;font-size:12px}.profile-drive{grid-area:1/2/4;align-self:center}.profile-empty{color:var(--muted)}.debug-overlay{color:#fff;pointer-events:none;background:#000c;border-radius:8px;margin:0;padding:12px;font:11px/1.5 ui-monospace,monospace;position:absolute;top:90px;left:16px}.startup-error{background:#1a282f;align-content:center;justify-items:start;gap:22px;min-height:100%;padding:clamp(24px,8vw,100px);display:grid}.startup-error h1{letter-spacing:-.04em;font-size:clamp(28px,5vw,48px);font-weight:400;line-height:1.15}.startup-error .title-button{background:var(--accent);color:#20333d}.startup-error p{max-width:55ch;color:var(--muted)}@media (width<=700px){:root{--space:16px;--wheel-size:min(30vw, 190px)}.world-ui{border-radius:13px;gap:0;padding:4px}.world-toggle{gap:6px;min-height:42px;padding:10px}.world-toggle svg{width:18px;height:18px}.settings-gear,.toolbar-help,.world-mute{width:40px}.settings-backdrop{padding:12px}.settings-card{border-radius:16px;max-height:calc(100dvh - 24px)}.settings-header{gap:8px;padding:18px}.settings-title{font-size:22px}.settings-header .settings-section-note{display:none}.settings-body{flex-direction:column;display:flex}.settings-tabs{border-right:0;border-bottom:1px solid var(--edge);flex:none;padding:8px 10px}.settings-tablist{grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;display:grid}.settings-tab{text-align:center;flex:1 0 auto;min-height:38px;padding:8px 10px;font-size:12px}.settings-content{padding:0 18px 20px}.settings-row{grid-template-columns:minmax(0,1fr) 48px;column-gap:12px}.settings-label-group{grid-column:1}.settings-range{grid-area:2/1/auto/3}.settings-value{grid-area:1/2}.settings-select{grid-column:1/3}.settings-check{grid-area:1/2}.settings-key-row{grid-template-columns:minmax(0,1fr) 170px}.settings-key-slots{grid-column:2}.settings-shortcut{grid-template-columns:95px 1fr}.hud-instruments{width:235px;padding:14px}.hud-speed .hud-value{font-size:34px}.hud-readouts{gap:10px}.assist-row{gap:5px}.assist-btn{gap:5px;padding-right:8px}.assist-arrow{width:27px}}@media (width<=480px){:root{--space:12px;--wheel-size:96px}.world-ui{right:max(12px, env(safe-area-inset-right));max-width:calc(100vw - 24px)}.world-toggle{flex-direction:column;gap:3px;min-width:42px;min-height:48px;padding:6px 8px;font-size:10px}.settings-gear,.toolbar-help,.world-mute{flex-direction:row}.world-panel{width:calc(100vw - 24px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 100px);padding:18px}.world-panel input,.world-panel select,.settings-select{font-size:16px}.hud-instruments{border-radius:16px;width:200px;padding:12px}.hud-speed .hud-value{font-size:30px}.hud-odometer{font-size:13px}.hud-readouts{margin-bottom:8px;padding-bottom:10px}.assist-caption{font-size:11px}.assist-btn{min-height:34px;padding:4px 6px}.assist-btn svg{width:20px;height:20px}.assist-arrow{width:26px;height:28px}.assist-max-value{font-size:13px}.assist-max{min-width:21px}.assist-steps{gap:2px}.title-screen{background:linear-gradient(#080c1600 22%,#080c16b3 52%,#080c16e0 100%),url(/title-cover.webp) 57%/cover,#10141c;align-items:flex-end;padding:30px 28px}.title-card{gap:16px}.title-name{font-size:34px}.title-home .title-card{transform-origin:0 100%}.title-actions{margin-left:-14px}.setup-row{grid-template-columns:1fr;row-gap:2px}.title-screen.setup-screen{background:linear-gradient(#080c168c,#080c16d9 40%),url(/setup-backdrop.webp) 55%/cover,#10141c;align-items:flex-start}.title-screen .title-button{padding:12px 14px;font-size:13px}.title-button{padding:12px 18px}.hud-paused{top:84px}.hud[data-touch=on] .hud-instruments{width:200px;top:84px}.perf-tip{top:88px}}@media (width<=350px){.world-toggle{padding-inline:5px}.hud-instruments{width:200px}:root,.hud[data-wheel-presentation=compact]{--wheel-size:80px}}@media (height<=500px) and (width>=481px){:root{--space:12px;--wheel-size:130px}.settings-backdrop{padding:8px}.settings-card{max-height:calc(100dvh - 16px)}.settings-header{padding:12px 20px}.title-screen{align-items:flex-start;padding:24px 50px}.title-name{font-size:44px}.title-card{gap:12px}.title-home .title-card{transform-origin:0 0}.hud-instruments{padding:10px 16px}.world-panel{max-height:calc(100dvh - 90px)}}@media (pointer:coarse){.world-action,.world-build,.world-panel button,.settings-reset,.settings-close,.settings-home,.assist-btn,.assist-arrow,.world-panel .drive-tabs button.drive-tab,.world-share summary{min-height:44px}.settings-check{width:44px;height:28px}.settings-check:before{width:20px;height:20px}.assist-arrow{min-width:32px}}@media (prefers-reduced-transparency:reduce){.world-ui:before,.hud-instruments,.touch-btn:not(.touch-pressed):not(.touch-gas){background:var(--glass);-webkit-backdrop-filter:blur(14px)}.world-panel,.settings-card,.hud-paused{background:var(--panel);-webkit-backdrop-filter:none}.world-ui:before,.world-panel,.hud-instruments,.settings-card,.hud-paused,.touch-btn{border-color:var(--edge);box-shadow:0 10px 32px #0000002e}.world-ui,.hud-instruments,.settings-card,.hud-paused,.touch-btn{text-shadow:none}.touch-btn:not(.touch-pressed):hover{background-color:var(--glass)}}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){.world-ui:before,.hud-instruments,.touch-btn:not(.touch-pressed):not(.touch-gas){background:var(--glass)}.world-panel,.settings-card,.hud-paused{background:var(--panel)}.world-ui:before,.world-panel,.hud-instruments,.settings-card,.hud-paused,.touch-btn{border-color:var(--edge);box-shadow:0 10px 32px #0000002e}.world-ui,.hud-instruments,.settings-card,.hud-paused,.touch-btn{text-shadow:none}.touch-btn:not(.touch-pressed):hover{background-color:var(--glass)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}.hud-wheel-svg{will-change:auto}}@media (forced-colors:active){.settings-check{appearance:auto}.settings-check:before{display:none}.hud-wheel-rim,.hud-wheel-spoke,.hud-wheel-edge{stroke:canvastext}}@media (pointer:coarse) and (width<=480px){.assist-caption{display:none}.assist-btn,.assist-arrow{min-width:44px}.assist-row{gap:6px}}
