@font-face{font-family:Game Over;src:local("Game Over"),local("GameOver"),url(./game-over-CnSbGI8R.otf) format("opentype");font-weight:400 900;font-display:swap}:root{color-scheme:dark;font-family:Arial,sans-serif;background:#05000d;color:#fff}*{box-sizing:border-box}html,body,#root{width:100%;min-width:320px;min-height:100%;margin:0}body{min-height:100svh;overflow:hidden;background:#05000d}button{font:inherit}.racer-shell{position:relative;width:100vw;height:100svh;min-height:620px;overflow:hidden;background:#05000d;isolation:isolate}.racer-shell:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(11,0,40,.28),transparent 28%,transparent 72%,rgba(0,8,42,.25)),linear-gradient(0deg,rgba(1,0,9,.46),transparent 42%)}.three-stage{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0}.three-stage canvas{display:block;width:100%;height:100%}.speed-hud{position:absolute;z-index:3;left:clamp(1rem,4vw,4rem);bottom:clamp(3.4rem,9vh,6.5rem);pointer-events:none;filter:drop-shadow(0 0 1rem rgba(255,0,130,.22));transition:filter .25s ease}.speed-gauge{display:block}.gauge-track{fill:none;stroke:#b285eb2e}.gauge-value{fill:none;transition:stroke-dasharray .12s linear}.gauge-value-speed{filter:drop-shadow(0 0 .5rem rgba(255,31,157,.55))}.gauge-value-torque{filter:drop-shadow(0 0 .4rem rgba(87,201,255,.6))}.speed-gauge.is-maxed{filter:drop-shadow(0 0 1.3rem rgba(255,140,0,.55))}.speed-gauge.is-maxed .gauge-value-torque{filter:drop-shadow(0 0 .6rem rgba(255,140,0,.7))}.speed-gauge.is-shifting .gauge-value-torque{filter:drop-shadow(0 0 .7rem rgba(255,200,60,.8))}.gauge-speed-number{font:italic 900 2.55rem/1 Arial,sans-serif;fill:#fff;letter-spacing:-.03em}.gauge-speed-unit{font:italic 800 .72rem/1 Arial,sans-serif;fill:#ff4cb1;letter-spacing:.04em}.gauge-gear{font:700 .82rem/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;fill:#fff;letter-spacing:.1em}.speed-gauge.is-shifting .gauge-gear{fill:#ffd25a}.gauge-rpm{font:600 .5rem/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;fill:#927f99;letter-spacing:.1em}.top-controls{position:absolute;z-index:5;top:clamp(1rem,3vw,2.6rem);right:clamp(1rem,3vw,3rem);display:flex;gap:.5rem}.stat-tally{position:absolute;z-index:5;top:clamp(1rem,3vw,2.6rem);left:clamp(1rem,3vw,3rem);display:flex;gap:.5rem;pointer-events:none}.stat-chip{display:flex;align-items:center;gap:.4rem;height:2.7rem;padding:0 .85rem;color:#ff9bd0;border:1px solid rgba(255,61,158,.4);border-radius:999px;background:#05000d99;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.stat-chip b{font:800 .95rem/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#fff;letter-spacing:.03em}.stat-chip-coin{color:#ffd25a;border-color:#ffd25a73}.icon-button{display:grid;place-items:center;width:2.7rem;height:2.7rem;padding:0;color:#c8bdca;border:1px solid rgba(255,255,255,.22);border-radius:50%;background:#05000d99;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);cursor:pointer;transition:.16s ease}.icon-button:hover,.icon-button:focus-visible,.icon-button[aria-pressed=true],.icon-button[aria-expanded=true]{color:#fff;border-color:#ff3d9e;background:#ff007d33;box-shadow:0 0 1.2rem #ff007d40}.settings-panel{position:absolute;z-index:5;top:calc(clamp(1rem,3vw,2.6rem) + 3.3rem);right:clamp(1rem,3vw,3rem);width:min(16rem,70vw);display:grid;gap:.95rem;padding:1rem;border:1px solid rgba(255,255,255,.2);background:#05000dd1;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.settings-panel label{display:grid;gap:.45rem}.settings-panel span{display:flex;justify-content:space-between;font:700 .58rem/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.14em;color:#b9adbe}.settings-panel i{font-style:normal;color:#ff68b7}.settings-panel input[type=range]{width:100%;height:1rem;accent-color:#ff3d9e;cursor:pointer}.settings-panel em{font:500 .5rem/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.1em;font-style:normal;color:#7d7186;text-align:center}.settings-heading{margin:0;padding-bottom:.35rem;border-bottom:1px solid rgba(255,61,158,.3);font:700 .58rem/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.18em;color:#ff68b7}.settings-heading+label{margin-top:-.2rem}.controls-panel{position:absolute;z-index:5;top:calc(clamp(1rem,3vw,2.6rem) + 3.3rem);right:clamp(1rem,3vw,3rem);width:min(19rem,78vw);display:grid;gap:.7rem;padding:1rem;border:1px solid rgba(255,255,255,.2);background:#05000dd1;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.controls-panel ul{display:grid;gap:.5rem;margin:0;padding:0;list-style:none}.controls-panel li{display:flex;align-items:baseline;gap:.7rem;font:600 .68rem/1.3 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.04em}.controls-panel li b{flex:0 0 auto;min-width:4.6rem;color:#ff68b7;font-weight:700}.controls-panel li span{color:#d7d0db}.controls-panel em{font:500 .58rem/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.04em;font-style:normal;color:#7d7186}.start-screen{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:grid;place-items:center;align-content:center;gap:1.6rem}.start-screen #race-start{min-height:10.5rem;max-width:92vw;padding:2.75rem 8.5rem;color:#fff;border:1px solid rgba(255,255,255,.3);background:#0a00168c;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);text-transform:uppercase;letter-spacing:.14em;font:900 clamp(1.8rem,7vw,2.625rem)/1 "Game Over",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;cursor:pointer;box-shadow:0 0 2.4rem #ff007d47;transition:.18s ease}.start-screen #race-start:hover,.start-screen #race-start:focus-visible{color:#fff;border-color:#ff3d9e;background:#ff007d38;box-shadow:0 0 3.2rem #ff007d73;transform:translateY(-2px)}.start-screen #race-start:disabled{opacity:.45;cursor:default;box-shadow:none;transform:none}.start-hints{margin:0;max-width:92vw;text-align:center;text-wrap:balance;font:600 .58rem/1.9 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.16em;text-transform:uppercase;color:#9c8ea5}.start-hints b{color:#ff68b7;font-weight:700}.loading-screen{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;display:grid;place-content:center;background:#05000d;transition:opacity .7s ease .2s,visibility .7s ease .2s}.loading-screen.is-ready{opacity:0;visibility:hidden;pointer-events:none}.loading-line{width:10rem;height:1px;overflow:hidden;background:#ffffff26}.loading-line:after{content:"";display:block;width:55%;height:100%;background:#ff359c;animation:load .9s ease-in-out infinite alternate}@keyframes load{0%{transform:translate(-100%)}to{transform:translate(180%)}}@media(max-width:760px){.racer-shell{min-height:540px}.speed-hud{left:.75rem;bottom:6.2rem}.speed-gauge{width:168px;height:168px}.stat-tally{top:.75rem;left:.75rem}.stat-chip{height:2.3rem;padding:0 .65rem}.start-screen #race-start{min-height:6.5rem;padding:2.5rem 3.4rem;letter-spacing:.1em}.start-hints{font-size:.52rem;letter-spacing:.1em}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
