@font-face{font-family:Fredoka;font-style:normal;font-weight:400;font-display:block;src:url(/fonts/Fredoka-Regular.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Fredoka;font-style:normal;font-weight:500;font-display:block;src:url(/fonts/Fredoka-Medium.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+2215,U+FEFF,U+FFFD}:root{color-scheme:dark;font-family:PT Sans,system-ui,sans-serif}html,body{margin:0;padding:0;height:100%;background:#1b1725;color:#e8e4d8}html.cursor-overlay-active,body.cursor-overlay-active,html.cursor-overlay-active *,body.cursor-overlay-active *{cursor:none!important}#app{min-height:100%;display:grid;place-items:center;font-size:18px;letter-spacing:.02em}.unsupported-screen{padding:2rem}.unsupported-card{max-width:36rem;padding:2.25rem 2.5rem;border-radius:.55rem;background:#2a2436;border:1px solid #3a3247;box-shadow:0 1.5rem 4rem #0006;line-height:1.55}.unsupported-card h1{margin:0 0 1rem;font-size:1.6rem;font-weight:600;color:#f0e2c0}.unsupported-card p{margin:0 0 .85rem;color:#d6cfe0}.unsupported-card ul{margin:0 0 1rem;padding-left:1.25rem;color:#e8e4d8}.unsupported-card .unsupported-note{font-size:.9rem;color:#a89fb8}.unsupported-card .unsupported-detail{margin-top:1.25rem;padding-top:1rem;border-top:1px solid #3a3247;font-family:ui-monospace,monospace;font-size:.8rem;color:#8c8b86;word-break:break-word}.loading-screen{position:fixed;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;background:radial-gradient(circle at top,rgba(244,194,107,.12),transparent 38%),linear-gradient(180deg,#1d1826,#120f18);z-index:10}.loading-screen.is-hidden{display:none}.cursor-overlay{--cursor-neutral: #e8e4d8;--cursor-active: #79c7e8;--cursor-risk: #f4c26b;--cursor-blocked: #e8826b;position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:40;opacity:0;color:var(--cursor-neutral);transition:opacity .16s ease-out}.cursor-overlay--visible{opacity:1}.cursor-overlay--disabled{opacity:0!important}.cursor-overlay[data-tone=active]{color:var(--cursor-active)}.cursor-overlay[data-tone=risky]{color:var(--cursor-risk)}.cursor-overlay[data-tone=blocked]{color:var(--cursor-blocked)}.cursor-overlay__dot-wrap,.cursor-overlay__ring-wrap,.cursor-overlay__icon-wrap{position:absolute;left:0;top:0;will-change:transform}.cursor-overlay__dot-wrap{width:8px;height:8px;opacity:0;transition:opacity .14s ease-out,transform .16s ease-out}.cursor-overlay__ring-wrap{width:28px;height:28px;opacity:0;transition:opacity .16s ease-out,transform .18s ease-out}.cursor-overlay__dot{display:block;width:8px;height:8px;border-radius:999px;background:currentColor;box-shadow:0 0 0 3px #0a080e38}.cursor-overlay__ring{display:block;width:28px;height:28px;border-radius:999px;border:1.5px solid currentColor;opacity:.72;box-shadow:0 0 0 1px #0a080e1f,0 12px 28px #0000002e;transition:transform .16s ease-out,opacity .16s ease-out}.cursor-overlay--pressed .cursor-overlay__ring{transform:scale(.84);opacity:.92}.cursor-overlay__icon-wrap{width:64px;height:64px}.cursor-overlay__icon-stage{position:absolute;top:0;right:0;bottom:0;left:0}.cursor-overlay__icon{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;opacity:0;visibility:hidden;transform:scale(.85);transition:opacity .16s ease-out,transform .16s ease-out,visibility 0s linear .16s}.cursor-overlay__icon svg{width:44px;height:44px;overflow:visible}.cursor-overlay__icon[data-active=true]{opacity:1;visibility:visible;transform:scale(1);transition-delay:0s}.cursor-overlay[data-variant=default] .cursor-overlay__dot-wrap,.cursor-overlay[data-variant=default] .cursor-overlay__ring-wrap{opacity:1}.cursor-svg{fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 8px 16px rgba(0,0,0,.2))}.cursor-svg--grab path,.cursor-svg--grab rect,.cursor-svg--hand path,.cursor-svg--hand circle,.cursor-svg--observer path,.cursor-svg--observer circle,.cursor-svg--pet circle,.cursor-svg--switch path,.cursor-svg--switch rect,.cursor-svg--switch circle{vector-effect:non-scaling-stroke}.cursor-svg--grab .cursor-hand-fingers{transform-origin:32px 20px}.cursor-overlay[data-variant=grab] .cursor-hand-fingers{animation:cursor-grab-fingers .9s ease-in-out infinite}.cursor-svg--observer .cursor-eye-pupil{fill:currentColor}.cursor-svg--observer .cursor-eye-highlight{fill:#fffc;stroke:none}.cursor-overlay[data-variant=observer] .cursor-eye-ball{transform-origin:center;animation:cursor-eye-blink 3.2s ease-in-out infinite}.cursor-overlay[data-variant=hand] .cursor-svg--hand{animation:cursor-glove-bob 1s ease-in-out infinite}.cursor-overlay[data-variant=pet] .cursor-svg--pet{animation:cursor-pet-bounce .95s ease-in-out infinite}.cursor-overlay[data-variant=switch] .cursor-svg--switch{animation:cursor-switch-tilt .85s ease-in-out infinite}@keyframes cursor-grab-fingers{0%,to{transform:translateY(0) scaleY(1)}50%{transform:translateY(2px) scaleY(.86)}}@keyframes cursor-eye-blink{0%,44%,48%,to{transform:scaleY(1)}46%{transform:scaleY(.08)}}@keyframes cursor-glove-bob{0%,to{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(-2px) rotate(2deg)}}@keyframes cursor-pet-bounce{0%,to{transform:translateY(0) scale(1)}50%{transform:translateY(-2px) scale(1.03)}}@keyframes cursor-switch-tilt{0%,to{transform:rotate(-2deg) translateY(0)}50%{transform:rotate(3deg) translateY(-1px)}}.loading-card{width:min(22rem,calc(100vw - 2rem));padding:1.8rem 2rem 1.6rem;border-radius:.6rem;background:#221c2ce6;border:1px solid rgba(98,84,118,.55);box-shadow:0 1.8rem 4rem #0000006b;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.loading-card h2{margin:0 0 .7rem;font-size:1.7rem;color:#f0e2c0;letter-spacing:.04em;text-align:center}.loading-card .loading-phase{display:none}.loading-card .loading-message{margin:0 0 1rem;color:#d6cfe0;font-size:.98rem;line-height:1.45;text-align:center}.loading-progress-row{display:grid;grid-template-columns:1fr;align-items:center}.loading-progress-track{position:relative;height:.55rem;overflow:hidden;border-radius:.22rem;background:#0e0a18bf;border:1px solid rgba(98,84,118,.45)}.loading-progress-fill{position:absolute;top:0;right:0;bottom:0;left:0;transform-origin:left center;transform:scaleX(0);border-radius:inherit;background:linear-gradient(90deg,#f4c26b,#e8e4d8);transition:transform .18s ease-out}.loading-progress-value,.loading-card .loading-detail{display:none}.loading-screen--failed .loading-card{border-color:#e8826b}.loading-screen--failed .loading-progress-fill{background:linear-gradient(90deg,#e8826b,#f0b09e)}.loading-screen--indeterminate .loading-progress-fill{width:36%;transform:translate(-100%);animation:loading-sweep 1.25s ease-in-out infinite}@keyframes loading-sweep{0%{transform:translate(-100%)}to{transform:translate(280%)}}.game-canvas{display:block;width:100vw;height:100vh;position:fixed;top:0;right:0;bottom:0;left:0}#app{display:block;position:relative;width:100vw;height:100vh}.hud{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;display:grid;grid-template-areas:"stats    settings pause     " ".        timer    focus     " ".        .        focus     " "status   status   focus     " "recover  recover  focus     " ".        controls focus     ";grid-template-columns:auto 1fr auto;grid-template-rows:auto auto 1fr auto auto auto;padding:1rem 1.5rem;gap:.6rem 1rem;font-family:system-ui,sans-serif;color:#e8e4d8;text-shadow:0 1px 2px rgba(0,0,0,.6);z-index:5}body.intro-scene-active .tutorial-panel,body.intro-scene-active .editor-overlay{display:none}body.intro-scene-active .hud{z-index:10}body.intro-scene-active .hud>:not(.hud-settings){display:none}.hud-stats{grid-area:stats;justify-self:start;align-self:start;min-width:12rem;display:grid;gap:.45rem;padding:.65rem .8rem .72rem;border-radius:.55rem;border:1px solid rgba(244,194,107,.22);background:radial-gradient(circle at 18% 0%,rgba(244,194,107,.24),transparent 42%),linear-gradient(135deg,#3a2f44f5,#191522f5 58%,#0b0c14eb);box-shadow:0 18px 42px #00000057,inset 0 1px #ffffff14}.hud-lives{display:flex;align-items:center;gap:.12rem;min-height:1.45rem;font-size:1.35rem;letter-spacing:0;line-height:1}.hud-score{display:flex;align-items:baseline;gap:.45rem;font-size:1.55rem;line-height:1;font-weight:700;font-variant-numeric:tabular-nums;color:#f4c26b;letter-spacing:.03em}.hud-score:before{content:"Score";color:#a89fb8;font-size:.64rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase}.hud-lives .pip{display:inline-block;width:1.18rem;text-align:center;filter:drop-shadow(0 2px 4px rgba(0,0,0,.42))}.hud-controls{grid-area:controls;justify-self:center;align-self:end;display:flex;align-items:flex-end;gap:.75rem;margin-bottom:.1rem}.hud-dock{display:flex;flex-direction:column;gap:.42rem;padding:.58rem .65rem .65rem;border-radius:.5rem;border:1px solid rgba(232,228,216,.14);background:linear-gradient(180deg,#251f2ef0,#12101af0),#14121ed6;box-shadow:0 18px 40px #00000038,inset 0 1px #ffffff0d;pointer-events:auto}.hud-dock--rails{min-width:22.2rem}.hud-dock--tools{min-width:10.1rem}.hud-dock--poi{grid-area:focus;justify-self:end;align-self:center;flex-direction:column;align-items:stretch;gap:.35rem;padding:.5rem .4rem}.hud-dock--poi .hud-dock-label{text-align:center}.hud-poi-list{display:flex;flex-direction:column;gap:.35rem;align-items:stretch}.hud-poi-button{font-size:1.2rem;line-height:1;min-width:2.4rem;min-height:2.4rem;padding:.25rem .4rem;display:inline-flex;align-items:center;justify-content:center;position:relative}.hud-icon-mask{display:inline-block;width:1em;height:1em;flex:0 0 auto;background:currentColor;-webkit-mask:var(--hud-icon-url) center / contain no-repeat;mask:var(--hud-icon-url) center / contain no-repeat}.hud-icon-text{display:inline-block;line-height:1}.hud-icon-image-wrap{display:inline-grid;width:1em;height:1em;place-items:center;flex:0 0 auto}.hud-icon-image{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none}.hud-button-icon.hud-icon-mask{width:1.2rem;height:1.2rem}.hud-button-icon.hud-icon-image-wrap{width:1.46rem;height:1.46rem}.hud-poi-button .hud-button-icon.hud-icon-mask{width:1.34rem;height:1.34rem}.hud-poi-button .hud-button-icon.hud-icon-image-wrap{width:1.72rem;height:1.72rem}.hud-poi-button:after{content:attr(data-tooltip);position:absolute;right:calc(100% + .55rem);top:50%;transform:translateY(-50%) translate(4px);padding:.32rem .65rem;border-radius:.28rem;background:#12101af5;border:1px solid #3a3247;color:#e8e4d8;font-size:.78rem;letter-spacing:.02em;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .12s ease,transform .12s ease;z-index:10;box-shadow:0 6px 14px #00000059}.hud-poi-button:before{content:"";position:absolute;right:calc(100% + .2rem);top:50%;transform:translateY(-50%);border:6px solid transparent;border-left-color:#12101af5;opacity:0;pointer-events:none;transition:opacity .12s ease;z-index:10}.hud-poi-button:hover:after,.hud-poi-button:focus-visible:after{opacity:1;transform:translateY(-50%) translate(0)}.hud-poi-button:hover:before,.hud-poi-button:focus-visible:before{opacity:1}.hud-dock-label{font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:#a89fb8}.hud-rail-list,.hud-tool-list{display:flex;gap:.5rem}.hud-tool-list{align-items:stretch}.hud-inv-slot{position:relative;overflow:hidden;background:#14121ecc;border:1px solid rgba(232,228,216,.16);padding:0;border-radius:.38rem;min-width:4.9rem;min-height:4.35rem;display:grid;grid-template-rows:minmax(2.75rem,1fr) auto;align-items:stretch;color:inherit;font:inherit;cursor:pointer;transition:background .12s ease-out,border-color .12s ease-out,transform .12s ease-out}.hud-inv-slot:hover{background:#1e1a28e0;border-color:#5a5068}.hud-inv-slot--active{background:#f4c26b26;border-color:#f4c26b;box-shadow:0 0 0 1px #f4c26b59,0 10px 20px #0000002e;transform:translateY(-2px)}.hud-inv-slot--active .hud-inv-icon{color:#f4c26b}.hud-inv-slot--active .hud-inv-name{background:#f4c26b;color:#241d2d}.hud-inv-visual{display:grid;place-items:center;min-height:2.75rem;padding:.48rem .7rem .38rem}.hud-inv-icon{font-size:1.6rem;line-height:1;color:#e8e4d8;letter-spacing:0}.hud-inv-icon.hud-icon-mask{width:2rem;height:2rem;font-size:1rem}.hud-inv-icon.hud-icon-image-wrap{width:2.35rem;height:2.35rem;font-size:1rem}.hud-inv-name{display:flex;align-items:center;justify-content:center;min-height:1.34rem;padding:.24rem .48rem .25rem;background:#d9caa8;color:#241d2d;font-size:.66rem;font-weight:700;letter-spacing:.04em;line-height:1.05;text-align:center;text-transform:uppercase;text-shadow:none;white-space:nowrap}.hud-inv-count{position:absolute;top:.32rem;right:.32rem;min-width:1.2rem;padding:.08rem .34rem;border-radius:.28rem;background:#0a080ec2;border:1px solid rgba(232,228,216,.16);color:#f0e2c0;font-size:.72rem;font-weight:700;line-height:1.05;font-variant-numeric:tabular-nums;text-align:center;text-shadow:none}.hud-inv-slot--active .hud-inv-count{background:#f4c26b;color:#2a2436;border-color:#f4c26b}.hud-tool-slot{min-width:4.85rem}.hud-tool-slot--hand{border-color:#4a4052}.hud-tool-slot--hand .hud-inv-icon{color:#f4c26b;font-size:1.4rem}.hud-tool-slot--hand .hud-inv-icon.hud-icon-mask{width:1.85rem;height:1.85rem}.hud-tool-slot--hand .hud-inv-icon.hud-icon-image-wrap{width:2.28rem;height:2.28rem}.hud-tool-slot--hand.hud-inv-slot--active{background:#f4c26b2e;border-color:#f4c26b}.hud-tool-slot--hand.hud-inv-slot--active .hud-inv-icon{color:#f4c26b}.hud-tool-slot--observer{border-color:#3a4552}.hud-tool-slot--observer .hud-inv-icon{color:#79c7e8;font-size:1.3rem;filter:none}.hud-tool-slot--observer .hud-inv-icon.hud-icon-mask{width:1.85rem;height:1.85rem}.hud-tool-slot--observer .hud-inv-icon.hud-icon-image-wrap{width:2.28rem;height:2.28rem}.hud-tool-slot--observer.hud-inv-slot--active{background:#79c7e82e;border-color:#79c7e8;box-shadow:0 0 0 1px #79c7e859,0 10px 20px #0000002e}.hud-tool-slot--observer.hud-inv-slot--active .hud-inv-icon{color:#79c7e8}.hud-tool-slot--observer.hud-inv-slot--active .hud-inv-name,.hud-booster-slot.hud-inv-slot--active .hud-inv-name{background:#79c7e8;color:#121827}.hud-dock--boosters{min-width:15.4rem}.hud-booster-list{display:flex;gap:.5rem}.hud-booster-slot{min-width:4.75rem}.hud-booster-slot.hud-inv-slot--active{background:#79c7e82e;border-color:#79c7e8;box-shadow:0 0 0 1px #79c7e859,0 10px 20px #0000002e}.hud-booster-slot.hud-inv-slot--cooldown{filter:grayscale(.7);opacity:.8}.hud-booster-slot.hud-inv-slot--disabled{opacity:.45;cursor:default}.hud-booster-cooldown{--cooldown-progress: 0%;position:absolute;top:0;right:0;bottom:0;left:0;border-radius:inherit;pointer-events:none;background:conic-gradient(rgba(121,199,232,.35) calc(var(--cooldown-progress)),transparent calc(var(--cooldown-progress)));mask:radial-gradient(circle,transparent 64%,#000 66%,#000 100%);-webkit-mask:radial-gradient(circle,transparent 64%,#000 66%,#000 100%);opacity:0;transition:opacity .14s ease-out}.hud-booster-cooldown[data-visible=true]{opacity:1}.hud-booster-levelup{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:flex-end;justify-content:center;pointer-events:none;overflow:hidden}.hud-booster-levelup-arrow{display:block;color:#7be89e;font-size:1.2rem;opacity:0;text-shadow:0 0 8px rgba(123,232,158,.8);transform:translateY(110%)}.hud-booster-levelup--playing .hud-booster-levelup-arrow{animation:hud-booster-levelup 1.2s ease-in-out}@keyframes hud-booster-levelup{0%{opacity:0;transform:translateY(110%)}14%{opacity:1;transform:translateY(60%)}33%{opacity:0;transform:translateY(-40%)}34%{opacity:0;transform:translateY(110%)}48%{opacity:1;transform:translateY(60%)}66%{opacity:0;transform:translateY(-40%)}67%{opacity:0;transform:translateY(110%)}80%{opacity:1;transform:translateY(60%)}to{opacity:0;transform:translateY(-40%)}}.hud-hints{position:fixed;left:1.25rem;bottom:1.15rem;transform:none;transform-origin:left bottom;width:min(11.75rem,calc(100vw - 2.5rem));height:min(14rem,calc(100dvh - 2.3rem));display:flex;flex-direction:column;gap:.32rem;padding:.42rem .52rem .46rem;border:1px solid rgba(232,228,216,.1);border-radius:.5rem .5rem .5rem .18rem;background:#12101aa8;box-shadow:0 16px 34px #00000042,inset 0 1px #ffffff0d;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);pointer-events:none;z-index:8;transition:width .16s ease-out,transform .16s ease-out,background .16s ease-out}.hud-hints[data-collapsed=true]{width:auto;height:auto;min-width:8.2rem;transform:translate(-.34rem,.34rem);border-radius:.46rem .46rem .18rem .18rem;background:#12101acc}.hud-hints-header{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.hud-hints-body{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:.24rem;min-height:0;overflow-y:auto;padding-right:.06rem;scrollbar-width:thin}.hud-hints-heading{color:#f0e2c0;font-size:.62rem;letter-spacing:.12em;text-transform:uppercase}.hud-hints-toggle{border:1px solid rgba(232,228,216,.18);border-radius:.24rem;background:#12101a9e;color:#d6cfe0;font:inherit;font-size:.6rem;letter-spacing:.1em;text-transform:uppercase;padding:.18rem .38rem;cursor:pointer;pointer-events:auto}.hud-hints-toggle:hover{border-color:#f4c26b61;color:#f0e2c0}.hud-hint{display:flex;flex-flow:row wrap;align-items:center;gap:.18rem .34rem;padding:.2rem .42rem;border-radius:.26rem;border:1px solid rgba(232,228,216,.1);background:#14121e6b;color:#d6cfe0;font-size:.68rem;letter-spacing:.03em}.hud-hint--primary{border-color:#f4c26b66;background:#f4c26b1f}.hud-hint-gesture{display:inline-flex;align-items:center;justify-content:center;min-width:2rem;padding:.08rem .34rem;border-radius:.18rem;background:#ffffff12;color:#f0e2c0;font-size:.58rem;letter-spacing:.08em;text-transform:uppercase}.hud-inv-slot[data-hotkey]:after{content:attr(data-hotkey);position:absolute;left:.34rem;bottom:1.54rem;z-index:3;min-width:1.2rem;height:1.08rem;display:inline-flex;align-items:center;justify-content:center;padding:0 .28rem;border-radius:.24rem;border:1px solid rgba(232,228,216,.16);background:#0a080ead;color:#f0e2c0e0;font-size:.58rem;font-weight:800;line-height:1;letter-spacing:.04em;text-shadow:none;pointer-events:none;opacity:.46;transform:translateY(2px);transition:opacity .12s ease-out,transform .12s ease-out,background .12s ease-out,border-color .12s ease-out,color .12s ease-out,box-shadow .12s ease-out}.hud[data-hotkeys-visible=true] .hud-inv-slot[data-hotkey]:after{opacity:1;transform:translateY(0);background:#f4c26b;border-color:#f4c26b;color:#241d2d;box-shadow:0 0 0 1px #f4c26b61,0 0 18px #f4c26b66}.hud-hint-desc{flex:1 1 auto;min-width:0;line-height:1.18;white-space:normal}.hud-action-pill{display:flex;align-items:center;justify-content:center;padding:.26rem .44rem;border-radius:.26rem;border:1px solid rgba(232,228,216,.1);background:#14121e75;font-size:.68rem;letter-spacing:.03em;line-height:1.18;text-align:center;color:#f0e2c0}.hud-action-pill--allowed{border-color:#79c7e861;background:#79c7e81f}.hud-action-pill--interactive{border-color:#79c7e861;background:#79c7e824}.hud-action-pill--risky{border-color:#f4c26b6b;background:#f4c26b1f}.hud-action-pill--blocked{border-color:#e8826b6b;background:#e8826b24}.hud-timer{grid-area:timer;justify-self:center;align-self:start}.hud-recovery,.hud-active-booster{grid-area:recover;justify-self:center;align-self:center}.hud-timer,.hud-recovery,.hud-active-booster{--timer-progress: 0%;width:min(16rem,calc(100vw - 3rem));display:none;flex-direction:column;gap:.34rem;padding:.48rem .62rem .54rem;background:#14121eb8;border:1px solid #3a3247;border-radius:.42rem;color:#f0e2c0;text-align:center;pointer-events:none;box-shadow:0 12px 24px #00000038,inset 0 1px #ffffff0d}.hud-recovery[data-visible=true],.hud-active-booster[data-visible=true]{cursor:pointer;pointer-events:auto}.hud-recovery[data-visible=true]:hover,.hud-active-booster[data-visible=true]:hover,.hud-recovery[data-visible=true]:focus-visible,.hud-active-booster[data-visible=true]:focus-visible{border-color:#f4c26b8c;box-shadow:0 14px 28px #00000042,0 0 0 1px #f4c26b33,inset 0 1px #ffffff0f}.hud-timer[data-visible=true],.hud-recovery[data-visible=true],.hud-active-booster[data-visible=true]{display:flex}.hud-timer-panel-label{font-size:.72rem;font-weight:800;letter-spacing:.14em;line-height:1}.hud-timer-panel-bar{display:block;height:.42rem;overflow:hidden;border-radius:.24rem;background:#ffffff1f}.hud-timer-panel-fill{display:block;width:var(--timer-progress);height:100%;border-radius:inherit;background:#f4c26b;transition:width .18s ease-out}.hud-recovery .hud-timer-panel-fill{background:#79c7e8}.hud-active-booster[data-tone=brake] .hud-timer-panel-fill{background:#f08a4b}.hud-active-booster[data-tone=nitro] .hud-timer-panel-fill{background:#79c7e8}.hud-active-booster[data-tone=ram] .hud-timer-panel-fill{background:#e8826b}.hud-timer-panel-hint{color:#d6cfe0;font-size:.68rem;line-height:1.16}.hud-timer-panel--urgent{background:#2a181cc7;border-color:#e8826bb8;animation:hud-pulse .7s ease-in-out infinite alternate}@keyframes hud-pulse{0%{transform:scale(1)}to{transform:scale(1.06)}}.hud-status{grid-area:status;justify-self:center;align-self:end;font-size:1rem;color:#f4c26b;opacity:0;transition:opacity .25s ease-in-out;text-align:center}.hud-status--visible{opacity:1}.hud-status--gameover{font-size:1.6rem;color:#e8826b;opacity:1}.hud-level{display:grid;grid-template-columns:auto minmax(4.5rem,1fr) auto;align-items:center;gap:.45rem;font-size:.8rem;transition:border-color .25s ease-out,transform .25s ease-out}.hud-level-badge{font-weight:600;color:#f0e2c0;letter-spacing:.04em}.hud-level-bar{display:inline-block;width:100%;height:.35rem;background:#ffffff1f;border-radius:.18rem;overflow:hidden}.hud-level-fill{display:block;height:100%;background:#79c7e8;transition:width .25s ease-out}.hud-level-xp{color:#d6cfe0;font-variant-numeric:tabular-nums;font-size:.78rem}.hud-level--flash{animation:hud-level-flash .9s ease-out}.hud-settings{grid-area:settings;justify-self:start;align-self:start;display:inline-flex;align-items:center;gap:.45rem;pointer-events:auto}.hud-audio-mount{display:inline-flex;align-items:center}.hud-pause{position:fixed;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;color:#f0e2c0;font-size:clamp(3rem,12vw,8rem);font-weight:900;letter-spacing:.16em;text-transform:uppercase;opacity:0;pointer-events:none;text-shadow:0 3px 0 rgba(10,8,14,.9),0 0 30px rgba(244,194,107,.36);transform:translateY(.18rem) scale(.98);transition:opacity .16s ease-out,transform .16s ease-out;z-index:7}.hud-pause[data-visible=true]{opacity:.92;transform:translateY(0) scale(1)}.hud-button{background:transparent;border:1px solid transparent;color:#d6cfe0;font:inherit;font-size:.85rem;padding:.25rem .65rem;border-radius:.34rem;cursor:pointer;transition:background .15s,color .15s,border-color .15s}.hud-icon-button{width:2.5rem;height:2.5rem;display:inline-grid;place-items:center;padding:0;border-radius:.42rem;border-color:#e8e4d824;background:radial-gradient(circle at 35% 20%,rgba(244,194,107,.2),transparent 48%),#14121ec7;box-shadow:0 12px 28px #00000047,inset 0 1px #ffffff0f;color:#f0e2c0;font-size:1.05rem;line-height:1}.hud-button:hover{background:#ffffff0f;color:#f0e2c0}.hud-button.hud-icon-button:hover{border-color:#f4c26b6b;background:radial-gradient(circle at 35% 20%,rgba(244,194,107,.28),transparent 48%),#1e1a28e0}.hud-button--active{background:#f4c26b;color:#2a2436;border-color:#f4c26b}.hud-button--active:hover{background:#e5b35c;color:#2a2436}@keyframes hud-level-flash{0%{transform:scale(1);border-color:#79c7e8;box-shadow:0 0 #f4c26be6}40%{transform:scale(1.12);border-color:#f4c26b;box-shadow:0 0 0 .6rem #f4c26b00}to{transform:scale(1);border-color:#3a3247}}.run-summary{position:fixed;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:1.5rem;background:#07080c47;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);opacity:0;pointer-events:none;transition:opacity .22s ease-out;z-index:7}.run-summary--visible{opacity:1;pointer-events:auto}.run-summary-card{width:min(34rem,calc(100vw - 2rem));padding:1.35rem 1.4rem 1.25rem;border-radius:.6rem;border:1px solid rgba(244,194,107,.28);background:radial-gradient(circle at top,rgba(244,194,107,.16),transparent 55%),linear-gradient(180deg,#1e1826fa,#0f0d16fa);box-shadow:0 24px 60px #0006,inset 0 1px #ffffff0f;color:#e8e4d8}.run-summary-card h2{margin:0;font-size:1.4rem;letter-spacing:.08em;text-transform:uppercase;color:#f4c26b}.run-summary-subtitle{margin:.35rem 0 0;color:#d6cfe0;line-height:1.45}.run-summary-metrics{margin-top:1rem;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}.run-summary-metric{display:flex;flex-direction:column;gap:.2rem;padding:.7rem .8rem;border-radius:.42rem;border:1px solid rgba(232,228,216,.1);background:#ffffff08}.run-summary-label{font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:#a89fb8}.run-summary-value{font-size:1.1rem;color:#f0e2c0}.run-summary-zones{margin:.9rem 0 0;color:#bfb7cc;line-height:1.45}.run-summary-actions{margin-top:1rem;display:flex;gap:.7rem;justify-content:flex-end}.run-summary-btn{border:1px solid #4a4052;background:#ffffff0a;color:#e8e4d8;font:inherit;padding:.7rem 1rem;border-radius:.36rem;cursor:pointer;transition:background .15s ease,border-color .15s ease,transform .15s ease}.run-summary-btn:hover{background:#ffffff14;border-color:#6a6078;transform:translateY(-1px)}.run-summary-btn--primary{background:#f4c26b;border-color:#f4c26b;color:#2a2436}.run-summary-btn--primary:hover{background:#e5b35c;border-color:#e5b35c}.settings-overlay{position:fixed;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:1.25rem;overflow-y:auto;background:#07080c6b;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);opacity:0;pointer-events:none;visibility:hidden;transition:opacity .2s ease-out;z-index:9}.settings-overlay--visible{opacity:1;pointer-events:auto;visibility:visible}.settings-panel{box-sizing:border-box;width:min(54rem,calc(100vw - 2.5rem));max-height:calc(100dvh - 2.5rem);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:1.05rem 1.05rem .95rem;border-radius:.6rem;border:1px solid rgba(244,194,107,.18);background:radial-gradient(circle at top right,rgba(121,199,232,.12),transparent 38%),radial-gradient(circle at top left,rgba(244,194,107,.14),transparent 34%),linear-gradient(180deg,#1f1927fa,#0f0d16fa);box-shadow:0 24px 60px #0000006b,inset 0 1px #ffffff0f;color:#e8e4d8}.settings-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.9rem}.settings-kicker{margin:0 0 .3rem;color:#a89fb8;font-size:.7rem;letter-spacing:.15em;text-transform:uppercase}.settings-panel h2{margin:0;font-size:1.2rem;color:#f0e2c0;letter-spacing:.04em}.settings-close{width:2rem;height:2rem;border-radius:.36rem;border:1px solid #4a4052;background:#ffffff0a;color:#d6cfe0;font:inherit;font-size:1.15rem;line-height:1;cursor:pointer;transition:background .15s ease,border-color .15s ease}.settings-close:hover{background:#ffffff14;border-color:#6a6078}.settings-tabs{display:flex;flex-wrap:wrap;gap:.3rem;margin:.9rem 0 .2rem;padding:.2rem;border-radius:.42rem;border:1px solid rgba(232,228,216,.08);background:#ffffff05}.settings-tab{flex:1 1 6rem;padding:.5rem .75rem;border:none;background:transparent;color:#bfb7cc;font:inherit;font-size:.88rem;letter-spacing:.02em;border-radius:.28rem;cursor:pointer;transition:background .14s ease,color .14s ease}.settings-tab:hover{color:#e8e4d8;background:#ffffff0a}.settings-tab--active{background:#f4c26b24;color:#f0e2c0;box-shadow:inset 0 0 0 1px #f4c26b52}.settings-tab-panels{display:grid}.settings-tab-panel{grid-area:1 / 1;min-width:0;opacity:0;pointer-events:none;visibility:hidden}.settings-tab-panel--active{opacity:1;pointer-events:auto;visibility:visible}.settings-tab-panel--help{padding-top:.75rem}.settings-checkbox{display:flex;align-items:center;gap:.6rem;margin-top:.65rem;padding:.55rem .7rem;border-radius:.36rem;border:1px solid rgba(232,228,216,.1);background:#ffffff05;cursor:pointer;transition:border-color .14s ease,background .14s ease}.settings-checkbox:hover{border-color:#f4c26b52;background:#ffffff0d}.settings-checkbox input[type=checkbox]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:1.15rem;height:1.15rem;border:1px solid #4a4052;border-radius:.3rem;background:#00000040;cursor:pointer;position:relative;transition:border-color .14s ease,background .14s ease}.settings-checkbox input[type=checkbox]:checked{border-color:#f4c26bb3;background:#f4c26b38}.settings-checkbox input[type=checkbox]:checked:after{content:"";position:absolute;left:.32rem;top:.08rem;width:.32rem;height:.6rem;border-right:2px solid #f0e2c0;border-bottom:2px solid #f0e2c0;transform:rotate(45deg)}.settings-checkbox-label{color:#e8e4d8;font-size:.92rem}.settings-checkbox-hint{display:block;margin-top:.35rem;color:#8d869e;font-size:.78rem;line-height:1.4}.settings-sliders{display:grid;gap:.65rem;margin-top:.75rem}.settings-slider-row{display:grid;grid-template-columns:4.5rem 1fr 2.5rem;align-items:center;gap:.8rem}.settings-slider-label{color:#e8e4d8;font-size:.9rem;letter-spacing:.02em}.settings-slider{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:.4rem;border-radius:.2rem;background:linear-gradient(90deg,#f4c26b66,#79c7e84d);outline:none;cursor:pointer}.settings-slider::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:1.05rem;height:1.05rem;border-radius:50%;background:#f0e2c0;border:1px solid rgba(0,0,0,.4);box-shadow:0 1px 3px #0006;cursor:pointer}.settings-slider::-moz-range-thumb{width:1.05rem;height:1.05rem;border-radius:50%;background:#f0e2c0;border:1px solid rgba(0,0,0,.4);box-shadow:0 1px 3px #0006;cursor:pointer}.settings-slider-value{color:#a89fb8;font-size:.82rem;font-variant-numeric:tabular-nums;text-align:right}.settings-hint,.settings-footer,.settings-section-copy{color:#bfb7cc;line-height:1.45}.settings-hint{margin:.65rem 0 0;font-size:.88rem}.settings-section{margin-top:.95rem;padding-top:.95rem;border-top:1px solid rgba(232,228,216,.08)}.settings-section h3{margin:0;color:#f4c26b;font-size:.8rem;letter-spacing:.13em;text-transform:uppercase}.settings-section-copy{margin:.35rem 0 0;font-size:.86rem}.settings-options{margin-top:.75rem;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}.settings-choice{border:1px solid #3a3247;background:#ffffff08;color:#e8e4d8;font:inherit;font-size:.9rem;padding:.7rem .8rem;border-radius:.36rem;cursor:pointer;transition:transform .14s ease,border-color .14s ease,background .14s ease}.settings-choice:hover{transform:translateY(-1px);border-color:#6a6078;background:#ffffff0f}.settings-choice--active{border-color:#f4c26bb3;background:#f4c26b24;box-shadow:0 0 0 1px #f4c26b40;color:#f0e2c0}.settings-footer{margin:1rem 0 0;font-size:.82rem}.help-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(16rem,100%),1fr));gap:1rem;margin-top:1.15rem}.help-group{padding:.9rem 1rem 1rem;border-radius:.42rem;border:1px solid rgba(232,228,216,.08);background:#ffffff04}.help-group-head{display:flex;align-items:baseline;justify-content:space-between;gap:.6rem;margin-bottom:.7rem}.help-group-head h3{margin:0;color:#f4c26b;font-size:.78rem;letter-spacing:.15em;text-transform:uppercase}.help-group-subtitle{color:#8d869e;font-size:.72rem;letter-spacing:.04em}.help-entries{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}.help-entry{display:grid;grid-template-columns:minmax(6.5rem,auto) 1fr;align-items:center;gap:.75rem;padding:.35rem 0}.help-keys{display:inline-flex;align-items:center;gap:.25rem;flex-wrap:wrap}.help-keys--cluster{gap:.2rem}.help-keys-sep{color:#6a6078;font-size:.8rem;padding:0 .1rem}.help-key{display:inline-flex;align-items:center;justify-content:center;min-width:1.7rem;height:1.7rem;padding:0 .45rem;border-radius:.24rem;border:1px solid rgba(244,194,107,.32);background:linear-gradient(180deg,#3e354bf2,#221d2cf2);box-shadow:0 1px #00000080,inset 0 1px #ffffff14;color:#f0e2c0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.78rem;font-weight:600;letter-spacing:.02em;line-height:1}.help-key--wide{min-width:2.6rem;padding:0 .55rem}.help-entry-text{display:flex;flex-direction:column;gap:.15rem;min-width:0}.help-entry-label{color:#e8e4d8;font-size:.88rem;line-height:1.3}.help-entry-hint{color:#8d869e;font-size:.76rem;line-height:1.35}.game-menu-overlay{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;padding:2.5rem 1.5rem;background:#07080c7a;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);opacity:0;pointer-events:none;transition:opacity .2s ease-out;z-index:7}.game-menu-overlay--visible{opacity:1;pointer-events:auto}.game-menu-panel{width:min(26rem,calc(100vw - 3rem));max-height:calc(100dvh - 5rem);overflow-y:auto;overscroll-behavior:contain;padding:1.5rem 1.5rem 1.25rem;border-radius:.6rem;border:1px solid rgba(244,194,107,.22);background:radial-gradient(circle at top right,rgba(121,199,232,.12),transparent 38%),radial-gradient(circle at top left,rgba(244,194,107,.16),transparent 34%),linear-gradient(180deg,#1f1927fa,#0f0d16fa);box-shadow:0 32px 80px #0000008c,inset 0 1px #ffffff0f;color:#e8e4d8}.game-menu-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding-bottom:1rem;border-bottom:1px solid rgba(232,228,216,.08)}.game-menu-heading{display:flex;flex-direction:column;gap:.2rem}.game-menu-title{margin:0;font-size:1.8rem;letter-spacing:.04em;color:#f0e2c0;font-weight:600}.game-menu-subtitle{margin:0;color:#a89fb8;font-size:.8rem;letter-spacing:.18em;text-transform:uppercase}.game-menu-close{width:2rem;height:2rem;border-radius:.36rem;border:1px solid #4a4052;background:#ffffff0a;color:#d6cfe0;font-size:1.2rem;line-height:1;cursor:pointer;transition:background .15s ease,border-color .15s ease}.game-menu-close:hover{background:#ffffff14;border-color:#6a6078}.game-menu-buttons{display:flex;flex-direction:column;gap:.55rem;margin-top:1.1rem}.game-menu-button{display:flex;flex-direction:column;align-items:stretch;gap:.18rem;padding:.75rem 1rem;border-radius:.38rem;border:1px solid rgba(232,228,216,.12);background:#ffffff08;color:#e8e4d8;font:inherit;text-align:left;cursor:pointer;transition:transform .14s ease,border-color .14s ease,background .14s ease}.game-menu-button:hover{transform:translateY(-1px);border-color:#6a6078;background:#ffffff12}.game-menu-button-label{font-size:1.02rem;letter-spacing:.02em;color:#f0e2c0}.game-menu-button-hint{font-size:.78rem;color:#8d869e}.game-menu-button--primary{border-color:#f4c26b80;background:#f4c26b24}.game-menu-button--primary:hover{border-color:#f4c26bbf;background:#f4c26b33}.game-menu-button--danger{border-color:#e8786e59}.game-menu-button--danger:hover{border-color:#e8786e99;background:#e8786e1f}.game-menu-button--danger .game-menu-button-label{color:#f0c6be}.game-menu-footer{margin-top:1rem;padding-top:.85rem;border-top:1px solid rgba(232,228,216,.08);color:#8d869e;font-size:.8rem;text-align:center;letter-spacing:.03em}@media (max-width: 900px){.hud{grid-template-areas:"stats stats" "settings settings" "timer timer" "status status" "recover recover" "focus focus" "pause pause" "controls controls";grid-template-columns:1fr 1fr;grid-template-rows:auto auto auto auto auto 1fr auto auto;padding:.85rem;gap:.55rem}.hud-stats{min-width:11rem;padding:.55rem .65rem .6rem}.hud-lives{min-height:1.25rem;font-size:1.18rem}.hud-score{font-size:1.3rem}.hud-level{grid-template-columns:auto minmax(3.4rem,1fr) auto;gap:.35rem}.hud-settings{justify-self:start}.hud-dock--poi{justify-self:stretch;flex-direction:row;flex-wrap:wrap;justify-content:center}.hud-dock--poi .hud-poi-list{flex-direction:row;flex-wrap:wrap;justify-content:center}.hud-poi-button:after{right:auto;left:50%;top:auto;bottom:calc(100% + .55rem);transform:translate(-50%) translateY(4px)}.hud-poi-button:before{right:auto;left:50%;top:auto;bottom:calc(100% + .2rem);transform:translate(-50%);border-left-color:transparent;border-top-color:#12101af5}.hud-poi-button:hover:after,.hud-poi-button:focus-visible:after{transform:translate(-50%) translateY(0)}.hud-controls{width:100%;flex-direction:column}.hud-dock--rails,.hud-dock--tools,.hud-dock--boosters{min-width:0}.hud-rail-list,.hud-tool-list,.hud-booster-list{flex-wrap:wrap;justify-content:center}.hud-hints{left:.85rem;bottom:6.6rem;width:min(11.75rem,calc(100vw - 1.7rem));height:min(14rem,calc(100dvh - 8rem))}.hud-hints[data-collapsed=true]{width:auto;bottom:11.2rem;transform:translate(-.24rem)}.hud-hint-desc{white-space:normal}.run-summary-card{width:min(100%,28rem)}.run-summary-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.run-summary-actions{flex-direction:column}.settings-overlay{place-items:center;padding:.75rem}.settings-panel{width:min(48rem,calc(100vw - 1.5rem));max-height:calc(100dvh - 1.5rem)}.settings-options{grid-template-columns:1fr}}.tutorial-panel{position:fixed;top:1.2rem;left:50%;transform:translate(-50%);width:min(34rem,calc(100vw - 2rem));background:#14121ef0;border:1px solid #3a3247;border-radius:.5rem;padding:.85rem 1.1rem .7rem;z-index:6;color:#e8e4d8;box-shadow:0 .8rem 2.4rem #0000008c;font-family:system-ui,sans-serif;pointer-events:auto}.tutorial-panel[data-visible=false]{display:none}.tutorial-panel-header{display:flex;align-items:baseline;gap:.6rem;margin-bottom:.35rem}.tutorial-panel-progress{font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;color:#a89fb8;flex-shrink:0}.tutorial-panel-title{margin:0;color:#f4c26b;font-size:.95rem;letter-spacing:.05em;flex:1}.tutorial-panel-body{margin:0 0 .55rem;font-size:.95rem;line-height:1.4}.tutorial-panel-checklist{list-style:none;margin:0 0 .6rem;padding:0;display:flex;flex-direction:column;gap:.18rem}.tutorial-panel-checklist[data-visible=false]{display:none}.tutorial-panel-check{display:flex;align-items:center;gap:.45rem;font-size:.88rem;color:#c8bdd8;transition:color .18s ease-out}.tutorial-panel-check.is-done{color:#6fffa0}.tutorial-panel-check-mark{display:inline-flex;align-items:center;justify-content:center;width:1rem;height:1rem;font-weight:700}.tutorial-panel-footer{display:flex;justify-content:flex-end;gap:.5rem}.tutorial-panel-skip-step,.tutorial-panel-skip-all{background:none;border:1px solid #3a3247;border-radius:.32rem;color:#a89fb8;font:inherit;font-size:.82rem;padding:.28rem .7rem;cursor:pointer;transition:color .15s ease-out,border-color .15s ease-out}.tutorial-panel-skip-step:hover,.tutorial-panel-skip-all:hover{color:#f0e2c0;border-color:#5a4f6f}.tutorial-panel-skip-step[hidden]{display:none}@keyframes tutorial-slot-pulse{0%,to{box-shadow:0 0 #6fffa0d9}50%{box-shadow:0 0 0 .5rem #6fffa000}}.hud[data-tutorial-highlight^="rail:"] [data-track-kind].is-tutorial-highlighted,.hud[data-tutorial-highlight^="tool:"] [data-tool-mode].is-tutorial-highlighted,.hud[data-tutorial-highlight^="booster:"] [data-booster-kind].is-tutorial-highlighted{animation:tutorial-slot-pulse 1.15s ease-out infinite;outline:2px solid #6fffa0;outline-offset:2px;border-radius:.42rem}.editor-overlay{position:fixed;top:1rem;right:1rem;bottom:1rem;width:22rem;display:flex;flex-direction:column;background:#14121ef0;border:1px solid #3a3247;border-radius:.44rem;padding:.9rem 1rem;z-index:8;color:#e8e4d8;box-shadow:0 1rem 3rem #0000008c;font-family:system-ui,sans-serif}.editor-overlay h3{margin:0 0 .5rem;color:#f4c26b;font-size:.85rem;letter-spacing:.15em;text-transform:uppercase}.editor-tabs{display:flex;gap:.3rem;margin-bottom:.6rem}.editor-tab{flex:1;background:transparent;border:1px solid #3a3247;color:#a89fb8;font:inherit;font-size:.8rem;padding:.35rem .4rem;border-radius:.32rem;cursor:pointer;letter-spacing:.08em;text-transform:uppercase}.editor-tab[data-active=true]{background:#f4c26b;color:#2a2436;border-color:#f4c26b}.editor-toolbar{display:flex;flex-wrap:wrap;gap:.3rem;margin-bottom:.4rem}.editor-tool{flex:1 1 auto;background:transparent;border:1px solid #3a3247;color:#e8e4d8;font:inherit;font-size:.78rem;padding:.32rem .55rem;border-radius:.28rem;cursor:pointer}.editor-tool[data-active=true]{background:#f4c26b2e;border-color:#f4c26b;color:#f4c26b}.editor-palette{display:flex;flex-wrap:wrap;gap:.3rem .4rem;margin-bottom:.5rem;font-size:.75rem;align-items:stretch;color:#a89fb8}.editor-room-field{display:flex;flex-direction:column;gap:.12rem;flex:1 1 4.6rem;min-width:4rem}.editor-room-field-label{font-size:.62rem;letter-spacing:.06em;text-transform:uppercase;color:#a89fb8}.editor-room-field input[type=number]{width:100%;box-sizing:border-box;background:#0000004d;border:1px solid #3a3247;color:#e8e4d8;font:inherit;font-size:.74rem;padding:.22rem .32rem;border-radius:.2rem;font-variant-numeric:tabular-nums}.editor-room-toggle{display:inline-flex;align-items:center;gap:.32rem;padding:.22rem .5rem;background:#00000040;border:1px solid #3a3247;border-radius:.24rem;color:#d6cfe0;font-size:.72rem;letter-spacing:.04em;text-transform:uppercase;-webkit-user-select:none;user-select:none;cursor:pointer;flex:0 0 auto;align-self:flex-end}.editor-room-toggle input{margin:0;accent-color:#f4c26b;cursor:pointer}.editor-palette-label{letter-spacing:.08em;text-transform:uppercase;font-size:.68rem}.editor-palette-btn{background:transparent;border:1px solid #3a3247;color:#e8e4d8;font:inherit;font-size:.75rem;padding:.2rem .5rem;border-radius:.24rem;cursor:pointer}.editor-palette-btn[data-active=true]{border-color:currentColor;background:#ffffff0f}.editor-summary{font-variant-numeric:tabular-nums;font-size:.78rem;margin:0 0 .4rem;color:#d6cfe0}.editor-list{flex:1 1 auto;overflow-y:auto;margin:0 -.3rem .5rem;padding:0 .3rem}.editor-row{display:grid;grid-template-columns:1.4rem 1.4rem 1fr auto;align-items:center;gap:.3rem;padding:.3rem .4rem;border:1px solid transparent;border-radius:.26rem;font-size:.78rem;cursor:pointer;background:#ffffff05;margin-bottom:.2rem;font-variant-numeric:tabular-nums}.editor-row:hover{background:#ffffff0f}.editor-row[data-selected=true]{border-color:#f4c26b;background:#f4c26b1a}.editor-row-idx{color:#a89fb8}.editor-row-badge{width:1.2rem;height:1.2rem;border-radius:.2rem;text-align:center;line-height:1.2rem;font-weight:700;font-size:.7rem;color:#1a1422}.editor-row-info{color:#d6cfe0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.editor-row-actions{display:flex;gap:.18rem}.editor-row-btn{background:transparent;border:1px solid #3a3247;color:#a89fb8;font:inherit;font-size:.72rem;width:1.4rem;height:1.4rem;border-radius:.22rem;cursor:pointer;padding:0}.editor-row-btn:hover{color:#e8e4d8;border-color:#5a5067}.editor-row-fields{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:.3rem;margin-top:.25rem}.editor-row-fields>*{flex:1 1 4rem;min-width:3.6rem}.editor-row-fields input{background:#0000004d;border:1px solid #3a3247;color:#e8e4d8;font:inherit;font-size:.72rem;padding:.18rem .32rem;border-radius:.2rem;width:100%;box-sizing:border-box}.editor-row-fields--collider{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.25rem .4rem}.editor-row-fields--collider>*{flex:initial;min-width:0}.editor-buttons{display:flex;gap:.4rem;flex-wrap:wrap}.editor-btn{background:transparent;border:1px solid #3a3247;color:#e8e4d8;font:inherit;font-size:.82rem;padding:.35rem .8rem;border-radius:.32rem;cursor:pointer;transition:background .15s,color .15s,border-color .15s}.editor-btn:hover{background:#ffffff0f}.editor-btn--primary{background:#f4c26b;color:#2a2436;border-color:#f4c26b}.editor-btn--primary:hover{background:#e5b35c}.editor-btn--check{display:inline-flex;align-items:center;gap:.4rem;-webkit-user-select:none;user-select:none}.editor-btn--check input{margin:0;accent-color:#f4c26b;cursor:pointer}body[data-ui-mode=editor] #app>*:not(canvas){display:none!important}.intro-overlay{box-sizing:border-box;position:fixed;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:clamp(.75rem,2vw,1.5rem);background:none;opacity:0;pointer-events:none;visibility:hidden;transition:opacity .25s ease-out,visibility 0s linear .25s;z-index:8}.intro-overlay:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:none;background:radial-gradient(circle at 50% 43%,rgba(244,194,107,.12),transparent 30rem),radial-gradient(circle at 52% 74%,transparent 0 14rem,rgba(5,4,10,.34) 38rem),linear-gradient(90deg,rgba(7,6,13,.58),transparent 30%,transparent 70%,rgba(7,6,13,.58)),linear-gradient(180deg,rgba(7,6,13,.08),transparent 36%,rgba(7,6,13,.72))}.intro-overlay.is-visible{opacity:1;pointer-events:auto;visibility:visible;transition:opacity .25s ease-out}.intro-card{box-sizing:border-box;position:relative;z-index:2;width:min(118rem,calc(100vw - 2rem));height:min(62rem,calc(100dvh - 2rem));display:grid;grid-template-columns:minmax(18rem,24rem) minmax(22rem,1fr) minmax(17rem,23rem);grid-template-rows:auto minmax(0,1fr) auto;grid-template-areas:"leader brand player" "leader note player" "leader note player";gap:clamp(.8rem,1.6vw,1.4rem);padding:clamp(.35rem,1.2vw,1rem);color:#e8e4d8;pointer-events:none}.intro-card *{box-sizing:border-box}.intro-leaderboard,.intro-profile,.intro-start,.intro-help{pointer-events:auto}.intro-help{position:absolute;right:clamp(.8rem,1.6vw,1.6rem);bottom:clamp(.8rem,1.6vw,1.6rem);display:inline-flex;align-items:center;gap:.55rem;padding:.5rem .8rem .55rem .55rem;border:1px solid rgba(255,242,168,.25);border-radius:.55rem;background:linear-gradient(180deg,#302638d9,#1c161eeb);color:#f4ecd6;font:inherit;font-size:clamp(.78rem,.95vw,.92rem);font-weight:600;letter-spacing:.04em;cursor:pointer;box-shadow:0 .4rem .9rem #0000006b,inset 0 1px #ffffff14;transition:border-color .15s ease,transform .15s ease,background .15s ease;z-index:3}.intro-help:hover{transform:translateY(-1px);border-color:#fff2a88c;background:linear-gradient(180deg,#403248eb,#241c26f5)}.intro-help-key{display:inline-grid;place-items:center;min-width:1.85rem;padding:.18rem .42rem;border:1px solid rgba(255,242,168,.35);border-radius:.32rem;background:#0006;color:#fff2a8;font-family:inherit;font-weight:800;letter-spacing:.04em;font-size:.82em;line-height:1;text-transform:uppercase}.intro-help-label{white-space:nowrap;text-transform:uppercase;letter-spacing:.08em;font-size:.86em;color:#ddd2bd}.intro-player-stack{grid-area:player;align-self:center;justify-self:end;width:min(22rem,100%);display:flex;flex-direction:column;gap:clamp(.65rem,1vw,.95rem)}.intro-leaderboard{grid-area:leader;align-self:center;display:flex;flex-direction:column;min-width:0;min-height:0;max-height:min(33rem,calc(100dvh - 5rem));border:2px solid rgba(255,231,147,.56);border-radius:.72rem;background:linear-gradient(180deg,#2f545df2,#101520ed 58%,#0b0b14f0),radial-gradient(circle at 25% 0%,rgba(244,194,107,.3),transparent 42%),radial-gradient(circle at 92% 12%,rgba(121,199,232,.22),transparent 38%);box-shadow:0 1.3rem 2.8rem #00000080,0 0 0 .22rem #1f121cb8,0 0 2rem #79c7e81f,inset 0 1px #ffffff2e,inset 0 -.22rem #0000002e}.intro-leaderboard-header{display:flex;align-items:baseline;justify-content:space-between;gap:.7rem;padding:.78rem .9rem .42rem}.intro-leaderboard-header h3{display:flex;align-items:center;margin:0;font-size:.9rem;letter-spacing:.14em;text-transform:uppercase;color:#fff2a8;text-shadow:0 2px 0 rgba(38,27,39,.9),0 0 14px rgba(244,194,107,.35)}.intro-leaderboard-header h3:before{content:"";display:inline-grid;place-items:center;width:1.45rem;height:1.45rem;margin-right:.45rem;border-radius:999px;background:url(/images/ui-leaderboard-medal.svg) center / cover no-repeat;box-shadow:0 0 12px #f4c26b73}.intro-leaderboard-status{font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;padding:.18rem .52rem;border-radius:999px;background:#060a1094;border:1px solid rgba(244,194,107,.25);color:#f0e2c0}.intro-leaderboard-status[data-status=online]{color:#9ad8a0;border-color:#9ad8a059;background:#9ad8a01a}.intro-leaderboard-status[data-status=offline]{color:#e5b35c;border-color:#e5b35c59}.intro-leaderboard-list{max-height:none;min-height:0;overflow-y:auto;padding:.3rem .56rem .72rem;scrollbar-width:thin;scrollbar-color:rgba(232,228,216,.2) transparent}.intro-leaderboard-list::-webkit-scrollbar{width:6px}.intro-leaderboard-list::-webkit-scrollbar-thumb{background:#e8e4d833;border-radius:999px}.intro-leaderboard-empty{padding:1.3rem 1rem;color:#d6cfe0;font-size:.88rem;text-align:center}.intro-leaderboard-row{display:grid;grid-template-columns:2.2rem 2.5rem minmax(0,1fr) auto;align-items:center;gap:.64rem;padding:.52rem .58rem;border-radius:.5rem;border:1px solid rgba(244,194,107,.16);background:linear-gradient(180deg,#ffffff0f,#00000005),#05080d80;box-shadow:inset 0 1px #ffffff14,0 .35rem .8rem #00000029}.intro-leaderboard-row+.intro-leaderboard-row{margin-top:.25rem}.intro-leaderboard-row.is-self{background:#f4c26b29;border-color:#f4c26b73}.intro-leaderboard-rank{font-variant-numeric:tabular-nums;color:#f4c26b;font-size:.85rem;font-weight:700;text-align:right}.intro-leaderboard-avatar{width:2.5rem;height:2.5rem;border-radius:999px;overflow:hidden;border:1px solid rgba(244,194,107,.28);background:#ffffff14;display:grid;place-items:center}.intro-leaderboard-avatar img,.intro-leaderboard-avatar svg{width:100%;height:100%;display:block}.intro-leaderboard-meta{display:flex;flex-direction:column;gap:.15rem;min-width:0}.intro-leaderboard-name{font-size:.95rem;color:#e8e4d8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.intro-leaderboard-submeta{font-size:.72rem;color:#8e879e}.intro-leaderboard-score{font-variant-numeric:tabular-nums;font-size:1.05rem;color:#fff2a8;font-weight:800}.intro-brand{grid-area:brand;justify-self:center;align-self:start;width:min(58.8rem,100%);display:flex;flex-direction:column;align-items:center;gap:.3rem;padding-top:clamp(.3rem,1.4vw,.9rem);text-align:center}.intro-title{margin:0;line-height:1}.intro-title img{display:block;width:min(100%,54rem);height:auto;filter:drop-shadow(0 .35rem 0 rgba(28,17,29,.78)) drop-shadow(0 0 1.5rem rgba(244,194,107,.22))}@media (min-width: 901px){.intro-brand{padding-top:0;transform:translateY(clamp(-1.8rem,-1.5vw,-.8rem))}}.intro-subtitle{margin:0;padding:.28rem .84rem .34rem;border-radius:999px;border:1px solid rgba(244,194,107,.22);background:#08080e7a;color:#f0e2c0;line-height:1.25;font-size:.96rem;text-shadow:0 2px 0 rgba(0,0,0,.42)}.intro-pickup-note{--intro-pickup-accent: #f4c26b;grid-area:note;justify-self:center;align-self:end;width:min(33rem,100%);min-height:6.8rem;padding:.78rem .95rem .9rem;border-radius:.68rem;border:2px solid color-mix(in srgb,var(--intro-pickup-accent) 58%,transparent);background:linear-gradient(180deg,#325860db,#0c121fdb 60%,#07080fe6),radial-gradient(circle at 14% 18%,color-mix(in srgb,var(--intro-pickup-accent) 28%,transparent),transparent 44%),radial-gradient(circle at 92% 6%,rgba(121,199,232,.18),transparent 38%);color:#e8e4d8;box-shadow:0 1.1rem 2.3rem #00000061,0 0 0 .2rem #1f121ca8,inset 0 1px #ffffff24,inset 0 -.2rem #0000002e}.intro-pickup-note[data-kind=track]{--intro-pickup-accent: #79c7e8}.intro-pickup-note[data-kind=nitro]{--intro-pickup-accent: #fff2a8}.intro-pickup-note[data-kind=brake]{--intro-pickup-accent: #ff7a2b}.intro-pickup-note[data-kind=ram]{--intro-pickup-accent: #e86b9c}.intro-pickup-note[data-kind=life]{--intro-pickup-accent: #ff90b8}.intro-pickup-note[data-kind=levelup]{--intro-pickup-accent: #ffe066}.intro-pickup-kicker{display:inline-flex;align-items:center;gap:.42rem;color:var(--intro-pickup-accent);font-size:.68rem;font-weight:800;letter-spacing:.14em;line-height:1;text-transform:uppercase;text-shadow:0 2px 0 rgba(0,0,0,.35)}.intro-pickup-kicker:before{content:"";width:.62rem;height:.62rem;border-radius:999px;background:var(--intro-pickup-accent);box-shadow:0 0 .55rem color-mix(in srgb,var(--intro-pickup-accent) 62%,transparent),inset 0 1px #ffffff73}.intro-pickup-note h2{margin:.38rem 0 .24rem;color:#fff2a8;font-size:clamp(1.05rem,2vw,1.55rem);line-height:1.05;letter-spacing:.06em;text-transform:uppercase;text-shadow:0 2px 0 rgba(38,27,39,.9),0 0 1rem color-mix(in srgb,var(--intro-pickup-accent) 34%,transparent)}.intro-pickup-note p{margin:0;max-width:30rem;color:#f0e2c0;font-size:.96rem;line-height:1.24;text-wrap:balance}.intro-profile{position:relative;width:100%;min-height:8.9rem;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.85rem;padding:1.05rem 1.1rem 1.35rem;border-radius:.76rem;border:2px solid rgba(255,231,147,.56);background:linear-gradient(180deg,#325860f5,#0e1623eb 62%,#0c0c15f0),radial-gradient(circle at 100% 0%,rgba(121,199,232,.28),transparent 46%),radial-gradient(circle at 10% 100%,rgba(244,194,107,.18),transparent 42%);color:inherit;text-align:left;font:inherit;cursor:pointer;box-shadow:0 1.3rem 2.8rem #00000080,0 0 0 .22rem #1f121cb8,inset 0 1px #ffffff2e,inset 0 -.22rem #00000029;transition:transform .15s ease,background .15s ease,border-color .15s ease}.intro-profile:after{content:"";position:absolute;left:1rem;right:1rem;bottom:.72rem;height:.34rem;border-radius:999px;background:linear-gradient(90deg,#f4c26b 0,#f4c26b 72%,#f4c26b2e 72%),#04070cad;box-shadow:inset 0 1px #ffffff29,0 0 .8rem #f4c26b2e}.intro-profile:hover{transform:translateY(-1px);border-color:#f4c26bb8}.intro-profile-avatar{width:3.2rem;height:3.2rem;border-radius:999px;overflow:hidden;border:2px solid rgba(244,194,107,.48);background:#ffffff14;display:grid;place-items:center}.intro-profile-avatar img,.intro-profile-avatar svg{width:100%;height:100%;display:block}.intro-profile-meta{display:flex;flex-direction:column;min-width:0;gap:.18rem}.intro-profile-caption{font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:#79c7e8;font-weight:700}.intro-profile-name{font-size:1.05rem;color:#fff2a8;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.intro-profile-score{display:flex;align-items:baseline;gap:.42rem;min-width:0;color:#f0e2c0;font-size:.76rem;letter-spacing:.08em;text-transform:uppercase}.intro-profile-score span{color:#f0e2c0b8}.intro-profile-score strong{min-width:0;color:#fff;font-size:.95rem;font-weight:800;letter-spacing:.03em;overflow:hidden;text-overflow:ellipsis}.intro-profile-edit{font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;color:#f4c26b}.intro-start{display:inline-grid;grid-template-columns:minmax(0,1fr);align-items:center;justify-content:center;font:inherit;font-size:clamp(1.1rem,1.55vw,1.55rem);font-weight:800;letter-spacing:.1em;text-transform:uppercase;width:100%;min-width:0;padding:1.5rem 1.6rem 1.65rem;border-radius:.8rem;border:2px solid #fff2a8;background:linear-gradient(180deg,#fff2a8,#f4c26b 52%,#d9903f);color:#2a2436;cursor:pointer;text-shadow:0 1px 0 rgba(255,255,255,.45);box-shadow:0 16px 34px #0000007a,0 0 0 3px #301c1ab3,0 0 26px #f4c26b5c,inset 0 2px #ffffff73,inset 0 -4px #4e291b38;transition:background .15s ease,transform .15s ease}.intro-start [data-ui=intro-start-label]{min-width:0;white-space:nowrap}.intro-start:hover:not(:disabled){background:linear-gradient(180deg,#fff7c9,#ffd26c 52%,#e5a441);transform:translateY(-1px)}.intro-start:disabled{opacity:.7;cursor:wait}.profile-overlay{position:fixed;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:1.5rem;background:#07080c99;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);z-index:9}.profile-card{width:min(24rem,calc(100vw - 2rem));padding:1.4rem 1.4rem 1.2rem;border-radius:.42rem;border:1px solid rgba(244,194,107,.28);background:linear-gradient(180deg,#1e1826fa,#0f0d16fa);box-shadow:0 24px 60px #00000080;color:#e8e4d8;display:flex;flex-direction:column;align-items:stretch;gap:.8rem}.profile-heading{margin:0;font-size:1.1rem;letter-spacing:.12em;text-transform:uppercase;color:#f4c26b;text-align:center}.profile-avatar{width:7rem;height:7rem;border-radius:999px;margin:0 auto;overflow:hidden;background:#ffffff0d;display:grid;place-items:center;border:1px solid rgba(232,228,216,.15)}.profile-avatar img,.profile-avatar svg{width:100%;height:100%;display:block}.profile-label{font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:#a89fb8;margin-top:.2rem}.profile-name-row{display:flex;gap:.5rem}.profile-input{flex:1;min-width:0;font:inherit;padding:.6rem .8rem;border-radius:.35rem;border:1px solid rgba(232,228,216,.18);background:#ffffff0a;color:#e8e4d8}.profile-input:focus{outline:none;border-color:#f4c26b80;background:#ffffff12}.profile-actions{display:flex;gap:.6rem;justify-content:flex-end;margin-top:.4rem}.profile-btn{font:inherit;font-size:.88rem;padding:.55rem .95rem;border-radius:.4rem;border:1px solid rgba(232,228,216,.16);background:#ffffff0a;color:#e8e4d8;cursor:pointer;transition:background .15s ease,border-color .15s ease,transform .15s ease}.profile-btn:hover{background:#ffffff14;border-color:#6a6078;transform:translateY(-1px)}.profile-btn--ghost{background:transparent}.profile-btn--primary{background:#f4c26b;border-color:#f4c26b;color:#2a2436}.profile-btn--primary:hover{background:#e5b35c;border-color:#e5b35c}@media (max-width: 900px){.intro-overlay{padding:.65rem}.intro-card{width:min(32rem,calc(100vw - 1.3rem));height:calc(100dvh - 1.3rem);max-width:100%;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto auto auto;grid-template-areas:"brand" "note" "player" "leader";align-content:start;gap:.7rem;padding:.7rem;overflow-y:auto}.intro-leaderboard,.intro-player-stack{width:100%;justify-self:stretch;align-self:auto}.intro-leaderboard{max-height:min(17rem,36dvh)}.intro-title img{width:min(100%,21rem);margin-inline:auto}.intro-subtitle,.intro-pickup-note{overflow-wrap:anywhere}.intro-pickup-note{width:100%;min-height:6.8rem}.intro-start{min-width:0;font-size:clamp(1.05rem,6vw,1.45rem);padding-inline:1rem}}.audio-consent-popup{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:50}.audio-consent-popup__card{pointer-events:auto;box-sizing:border-box;width:min(18rem,calc(100vw - 2rem));padding:.7rem .85rem .75rem;border-radius:.5rem;border:1px solid rgba(244,194,107,.22);background:#0f0d16b8;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);box-shadow:0 12px 28px #00000052;color:#e8e4d8}.audio-consent-popup__title{margin:0 0 .55rem;font-size:.85rem;line-height:1.35;letter-spacing:.01em;color:#f0e2c0;font-weight:500}.audio-consent-popup__buttons{display:flex;flex-direction:row;gap:.4rem}.audio-consent-popup__btn{padding:.4rem .65rem;border-radius:.34rem;border:1px solid rgba(74,64,82,.7);background:#ffffff0a;color:#d6cfe0;font:inherit;font-size:.8rem;letter-spacing:.01em;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease}.audio-consent-popup__btn:hover{background:#ffffff14;border-color:#6a6078}.audio-consent-popup__btn--primary{flex:1;border-color:#f4c26b8c;background:linear-gradient(180deg,#f4c26b33,#f4c26b0f);color:#f4e4c0}.audio-consent-popup__btn--primary:hover{border-color:#f4c26bd9;background:linear-gradient(180deg,#f4c26b4d,#f4c26b1a);color:#fff3d4}.audio-consent-hint{position:fixed;left:1rem;bottom:1rem;padding:.5rem .75rem;border-radius:.36rem;border:1px solid rgba(232,228,216,.18);background:#0f0d16c7;color:#d6cfe0;font-size:.82rem;letter-spacing:.02em;pointer-events:none;opacity:.92;transition:opacity .4s ease-out;z-index:50}.audio-consent-hint--leaving{opacity:0}
