:root{--font-main: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--font-display: "Rajdhani", "Outfit", -apple-system, sans-serif;--accent-cyan: #00f0ff;--accent-cyan-hover: #38bdf8;--accent-amber: #ff9d00;--accent-orange: #ff4500;--accent-emerald: #10b981;--accent-purple: #a855f7}*{box-sizing:border-box;margin:0;padding:0;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}html,body{width:100%;height:100%;overflow:hidden;background-color:#050814;font-family:var(--font-main);color:#fff;touch-action:none}#renderCanvas{width:100%;height:100%;display:block;outline:none}.garage-menu{position:fixed;inset:0;z-index:80;display:block;pointer-events:none;background:radial-gradient(circle at 50% 35%,rgba(0,240,255,.07),transparent 50%),linear-gradient(180deg,rgba(2,6,18,.45) 0%,transparent 22%,transparent 68%,rgba(2,6,18,.65) 100%);overflow:hidden}.arcade-nav{position:absolute;top:14px;left:50%;transform:translate(-50%);z-index:85;pointer-events:auto;width:min(940px,calc(100vw - 28px));height:54px;display:flex;align-items:center;gap:6px;padding:6px 12px;box-sizing:border-box;background:linear-gradient(180deg,#0a1224e0,#050a16eb);border:1px solid rgba(56,189,248,.28);border-radius:18px;backdrop-filter:blur(24px) saturate(1.4);-webkit-backdrop-filter:blur(24px) saturate(1.4);box-shadow:0 12px 35px #000000a6,0 0 20px #00f0ff14,inset 0 1px #fff3}.arcade-nav img{height:38px;width:auto;max-width:125px;object-fit:contain;padding-right:12px;margin-right:4px;border-right:1px solid rgba(255,255,255,.12);filter:drop-shadow(0 2px 8px rgba(0,240,255,.35))}.arcade-nav button{flex:1;min-height:38px;padding:6px 8px;border:1px solid transparent;border-radius:10px;background:#ffffff0a;color:#94a3b8;font-family:var(--font-display);font-size:.82rem;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;cursor:pointer;white-space:nowrap;transition:all .2s cubic-bezier(.16,1,.3,1);display:flex;align-items:center;justify-content:center}.arcade-nav button:hover{background:#38bdf81f;color:#f1f5f9;border-color:#38bdf859;transform:translateY(-1px)}.arcade-nav button.active{background:linear-gradient(135deg,#00f0ff38,#0ea5e959);color:#fff;border-color:#00f0ffb3;box-shadow:0 0 16px #00f0ff59,inset 0 1px #fff6;text-shadow:0 0 10px rgba(0,240,255,.7)}.garage-panel{position:absolute;left:50%;bottom:14px;transform:translate(-50%);z-index:85;pointer-events:auto;width:min(1160px,calc(100vw - 28px));box-sizing:border-box;display:grid;grid-template-columns:190px minmax(0,1fr);gap:12px;padding:12px 14px;background:linear-gradient(165deg,#0a1226e0,#040916f0);border:1px solid rgba(56,189,248,.3);border-radius:20px;backdrop-filter:blur(24px) saturate(1.4);-webkit-backdrop-filter:blur(24px) saturate(1.4);box-shadow:0 20px 50px #000000bf,0 0 35px #00f0ff14,inset 0 1px #fff3;text-align:left}.garage-dock-header{display:flex;flex-direction:column;justify-content:space-between;gap:8px;padding:10px 12px;background:#ffffff08;border:1px solid rgba(255,255,255,.07);border-radius:14px;text-align:center}.garage-dock-header .smk-logo{width:100%;height:42px;object-fit:contain;filter:drop-shadow(0 2px 6px rgba(0,0,0,.5))}.garage-dock-header .garage-kicker{font-family:var(--font-display);font-size:.65rem;font-weight:700;letter-spacing:2px;color:#00f0ff;text-transform:uppercase;text-shadow:0 0 8px rgba(0,240,255,.5);margin:0}.garage-dock-header h1{font-family:var(--font-display);font-size:1.15rem;font-weight:800;font-style:italic;letter-spacing:.8px;color:#fff;margin:1px 0 0;text-shadow:0 2px 4px rgba(0,0,0,.6)}.garage-dock-header .garage-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:3px;background:#00000073;border:1px solid rgba(255,255,255,.08);border-radius:10px}.garage-dock-header .garage-tabs button{min-height:32px;padding:5px;border:0;border-radius:8px;background:transparent;color:#94a3b8;font-family:var(--font-display);font-size:.75rem;font-weight:700;letter-spacing:1px;text-transform:uppercase;cursor:pointer;transition:all .2s cubic-bezier(.16,1,.3,1)}.garage-dock-header .garage-tabs button:hover{color:#fff}.garage-dock-header .garage-tabs button.active{background:linear-gradient(135deg,#00f0ff,#0284c7);color:#031024;font-weight:900;box-shadow:0 2px 10px #00f0ff73}.garage-dock-content{display:grid;gap:10px;min-width:0}.garage-config-card{min-width:0;padding:10px 14px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:#ffffff08;display:flex;flex-direction:column;justify-content:space-between}.garage-config-card .section-label{margin:0 0 6px;color:#38bdf8;font-family:var(--font-display);font-size:.68rem;font-weight:700;letter-spacing:1.8px;text-transform:uppercase}.kart-carousel,.driver-carousel,.track-carousel{display:grid;grid-template-columns:36px minmax(0,1fr) 36px;align-items:center;gap:10px;min-height:46px}.carousel-arrow{width:36px;height:36px;min-height:36px;border-radius:10px;border:1px solid rgba(56,189,248,.3);background:#0f172aa6;color:#00f0ff;font-size:1.1rem;display:grid;place-items:center;cursor:pointer;transition:all .15s cubic-bezier(.16,1,.3,1);box-shadow:0 2px 8px #0006}.carousel-arrow:hover{background:#00f0ff33;border-color:#00f0ff;color:#fff;box-shadow:0 0 14px #00f0ff73;transform:scale(1.06)}.carousel-arrow:active{transform:scale(.94)}.kart-choice,.driver-choice,.track-choice{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;text-align:center}.kart-choice strong,.driver-choice strong,.track-choice strong{font-family:var(--font-display);font-size:1.15rem;font-weight:800;font-style:italic;letter-spacing:.5px;color:#fff;text-shadow:0 2px 6px rgba(0,0,0,.7);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.kart-choice span,.track-choice span{font-family:var(--font-main);font-size:.62rem;font-weight:600;letter-spacing:1.2px;color:#94a3b8;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.driver-choice{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px}.driver-choice .driver-capsule{width:32px;height:36px}.kart-dots{display:flex;justify-content:center;align-items:center;gap:6px;margin:6px 0 2px}.kart-dots i{width:6px;height:6px;border-radius:50%;background:#fff3;transition:all .2s ease}.kart-dots i.active{width:18px;border-radius:4px;background:#00f0ff;box-shadow:0 0 8px #00f0ff99}.color-strip{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:4px}.color-strip button{width:22px;height:22px;border-radius:50%;border:2px solid rgba(255,255,255,.25);cursor:pointer;box-shadow:0 2px 6px #0006;transition:transform .15s cubic-bezier(.16,1,.3,1),box-shadow .15s}.color-strip button:hover{transform:scale(1.15)}.color-strip button.active{outline:2px solid #00f0ff;outline-offset:3px;transform:scale(1.2);box-shadow:0 0 12px #00f0ff}.kart-roster{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.roster-card,.driver-card,.map-card{min-height:48px;padding:8px 10px;border:1px solid rgba(255,255,255,.1);border-radius:12px;color:#fff;background:#0f172a99;display:grid;place-items:center;gap:3px;cursor:pointer;transition:all .2s cubic-bezier(.16,1,.3,1)}.roster-card:hover,.driver-card:hover,.map-card:hover{border-color:#38bdf866;background:#38bdf81a;transform:translateY(-1px)}.roster-card.selected,.driver-card.selected,.map-card.selected{border-color:#00f0ff;background:linear-gradient(135deg,#00f0ff33,#0ea5e94d);box-shadow:0 0 16px #00f0ff40,inset 0 1px #ffffff4d}.roster-card.locked{opacity:.45;cursor:not-allowed}.driver-capsule{width:26px;height:38px;border-radius:14px 14px 10px 10px;display:block;box-shadow:inset -4px -4px #00000040,inset 3px 3px #ffffff40,0 3px 8px #0006}.driver-capsule.rabbit{background:radial-gradient(circle at 50% 30%,#fff 0 23%,#a9d8ff 24% 48%,#3b82f6 49% 100%)}.driver-capsule.duck{background:radial-gradient(circle at 50% 35%,#fff37b 0 32%,#f59e0b 33% 65%,#d97706 66% 100%)}.driver-capsule.hazel{background:radial-gradient(circle at 50% 30%,#ffd4b5 0 25%,#7a4435 26% 52%,#db2777 53% 100%)}.driver-capsule:before{content:"";display:block;width:14px;height:9px;margin:7px auto 0;border-radius:6px;background:#041320d9}.c1{background:#38bdf8}.c2{background:#f97316}.c3{background:#22c55e}.c4{background:#a855f7}.start-race{width:100%;min-height:48px;margin-top:6px;padding:8px 16px;border:1px solid rgba(255,255,255,.35);border-radius:12px;background:linear-gradient(135deg,#ff9500,#ff4500,#e11d48);color:#fff;display:flex;align-items:center;justify-content:center;gap:10px;cursor:pointer;box-shadow:0 6px 20px #ff450073,inset 0 1px #fff6;font-family:var(--font-display);font-style:italic;text-transform:uppercase;transition:all .2s cubic-bezier(.16,1,.3,1)}.start-race:hover{filter:brightness(1.15);transform:translateY(-2px);box-shadow:0 10px 28px #ff450099,inset 0 1px #fff9}.start-race:active{transform:translateY(1px);box-shadow:0 3px 10px #ff450066}.start-race span{font-size:.72rem;font-weight:700;letter-spacing:1.5px;opacity:.95;background:#00000047;padding:3px 8px;border-radius:6px}.start-race b{font-size:1.25rem;font-weight:800;letter-spacing:1.5px;text-shadow:0 2px 4px rgba(0,0,0,.4)}.preview-copy{position:absolute;left:50%;top:76px;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;gap:2px;text-align:center;pointer-events:none;z-index:10}.preview-copy span{font-family:var(--font-display);font-size:.62rem;font-weight:700;letter-spacing:2px;color:#00f0ff;text-transform:uppercase;text-shadow:0 0 10px rgba(0,240,255,.6)}.preview-copy strong{font-family:var(--font-display);font-size:1.35rem;font-weight:800;font-style:italic;letter-spacing:1px;color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.8)}.preview-copy small{font-family:var(--font-main);font-size:.65rem;color:#fff9;text-shadow:0 1px 4px rgba(0,0,0,.8)}#loadingScreen{position:absolute;top:0;left:0;width:100%;height:100%;background:radial-gradient(circle at center,#1b2038,#080a10);display:flex;justify-content:center;align-items:center;z-index:100;transition:opacity .5s ease}#loadingScreen.transition-loading{z-index:240}.loader-content{text-align:center}.game-title{font-size:2.8rem;font-weight:900;letter-spacing:4px;background:linear-gradient(135deg,#00f2fe,#4facfe);-webkit-background-clip:text;-webkit-text-fill-color:transparent;margin-bottom:24px;text-shadow:0 0 20px rgba(79,172,254,.4)}.spinner{width:54px;height:54px;margin:0 auto 16px;border:4px solid rgba(255,255,255,.1);border-top-color:#00f2fe;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}#loadingStatus{font-size:1rem;color:#94a3b8;letter-spacing:1px}.hud-container{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:10;display:flex;flex-direction:column;justify-content:space-between;padding:16px 20px;transition:opacity .3s ease}.hidden{display:none!important}.top-bar{display:flex;justify-content:space-between;align-items:center;width:100%}.hud-pill{background:#0f172aa6;backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.15);padding:6px 16px;border-radius:20px;font-weight:700;box-shadow:0 4px 12px #0000004d}.timer-box{display:flex;align-items:center;gap:8px}.hud-label{font-size:.75rem;color:#38bdf8;letter-spacing:1px}.hud-val{font-size:1.1rem;font-family:monospace;color:#f8fafc}.fps-box{font-size:.85rem;color:#a7f3d0}.btn-icon{pointer-events:auto;background:#0f172aa6;backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.2);color:#fff;font-size:1.2rem;width:40px;height:40px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .15s ease,background .2s ease}.btn-icon:hover{background:#1e293bd9;transform:scale(1.08)}.btn-icon:active{transform:scale(.95)}.race-status{position:absolute;top:72px;left:20px;display:flex;gap:10px;z-index:30}.position-card,.lap-card,.minimap-panel{background:linear-gradient(145deg,#0d1e30e0,#19374bb8);border:1px solid rgba(116,218,255,.3);box-shadow:0 12px 32px #030f1c47,inset 0 1px #ffffff1a;backdrop-filter:blur(16px) saturate(1.2)}.position-card{min-width:112px;border-radius:16px;padding:8px 13px;display:flex;align-items:baseline;gap:7px}#rankValue{font-size:2rem;font-weight:950;font-style:italic;color:#38d9ff}.position-card small{font-size:.62rem;letter-spacing:.8px;color:#b8d7e7;font-weight:800}.lap-card{border-radius:16px;padding:8px 14px;display:grid;align-content:center}.lap-card span{color:#8bbbd0;font-size:.62rem;font-weight:900;letter-spacing:1.2px}.lap-card strong{font-size:1.15rem;color:#f4fbff}.minimap-panel{position:absolute;right:20px;top:72px;width:250px;border-radius:18px;padding:10px;overflow:hidden;z-index:30;pointer-events:auto}.minimap-title{display:flex;justify-content:space-between;font-size:.68rem;font-weight:900;letter-spacing:1.2px;color:#d9f4ff;padding:0 4px 7px}.minimap-title b{color:#4dffc4;font-size:.62rem}#minimapSvg{display:block;width:100%;height:150px;border-radius:11px;background:linear-gradient(145deg,#03111ed1,#0d2b3cdb)}.map-reset{width:100%;height:34px;margin-top:8px;border:1px solid rgba(93,214,255,.35);border-radius:10px;background:#1b4a60c7;color:#eafaff;font-size:.7rem;font-weight:900;letter-spacing:1px;cursor:pointer}.map-reset:hover{background:#246984eb}.map-reset span{color:#4de1ff;font-size:1rem;vertical-align:-1px}.countdown-overlay{position:absolute;inset:0;display:grid;place-items:center;font-size:clamp(7rem,18vw,14rem);font-style:italic;font-weight:1000;color:#fff;text-shadow:0 8px 0 #078dc8,0 0 48px rgba(34,211,238,.95);animation:countdownPop .72s cubic-bezier(.18,.86,.24,1) both}@keyframes countdownPop{0%{transform:scale(1.8);opacity:0;filter:blur(10px)}28%{transform:scale(.92);opacity:1;filter:blur(0)}to{transform:scale(1.05);opacity:.9}}@media(max-width:760px){.minimap-panel{width:170px;right:10px;top:62px}#minimapSvg{height:105px}.race-status{left:10px;top:62px;transform:scale(.86);transform-origin:top left}}.speed-cluster{position:absolute;bottom:85px;left:50%;transform:translate(-50%);display:flex;align-items:baseline;background:#0f172abf;backdrop-filter:blur(12px);padding:8px 24px;border-radius:24px;border:1px solid rgba(56,189,248,.3);box-shadow:0 8px 24px #0006,0 0 15px #38bdf833}.speed-display{display:flex;align-items:baseline;gap:6px}#speedValue{font-size:2.6rem;font-weight:900;font-family:monospace;color:#38bdf8;text-shadow:0 0 10px rgba(56,189,248,.5)}.speed-unit{font-size:.8rem;font-weight:700;color:#94a3b8;letter-spacing:1px}.gear-indicator{margin-left:14px;padding-left:14px;border-left:1px solid rgba(255,255,255,.2)}#gearValue{font-size:1.4rem;font-weight:900;color:#facc15}.controls-hint{text-align:center;font-size:.8rem;color:#ffffffb3;background:#0006;backdrop-filter:blur(4px);padding:4px 12px;border-radius:12px;align-self:center;margin-bottom:2px}.touch-controls{pointer-events:none;position:absolute;bottom:16px;left:0;width:100%;display:flex;justify-content:space-between;padding:0 24px}.touch-group{display:flex;gap:14px;pointer-events:auto}.steer-group,.pedals-group{align-items:flex-end}.touch-btn{background:#0f172abf;backdrop-filter:blur(10px);border:1.5px solid rgba(255,255,255,.25);color:#fff;border-radius:16px;font-weight:800;touch-action:none;cursor:pointer;box-shadow:0 4px 12px #0006;transition:transform .08s ease,background .08s ease}.touch-btn:active,.touch-btn.active{transform:scale(.92);background:#38bdf866;border-color:#38bdf8}.steer-btn{width:68px;height:68px;font-size:1.5rem;border-radius:50%}.gas-btn{width:72px;height:72px;font-size:1rem;background:#10b9814d;border-color:#34d39980}.gas-btn:active,.gas-btn.active{background:#10b981b3}.brake-btn{width:68px;height:68px;font-size:.85rem;background:#ef44444d;border-color:#f8717180}.brake-btn:active,.brake-btn.active{background:#ef4444b3}.drift-btn{width:60px;height:60px;font-size:.75rem;background:#eab3084d;border-color:#facc1580}.drift-btn:active,.drift-btn.active{background:#eab308b3}@media(hover:hover)and (pointer:fine)and (min-width:900px){.touch-controls{opacity:.6;transition:opacity .2s ease}.touch-controls:hover{opacity:1}}.race-place{position:absolute;left:20px;top:134px;color:#ffd22e;font-size:2.1rem;font-weight:1000;font-style:italic;text-shadow:3px 3px #713500,-1px -1px #fff;z-index:35}.racer-chip{top:184px;background:none;border:0;box-shadow:none;padding:0;font-size:1rem;text-shadow:2px 2px #061d43}.racer-chip .driver-capsule{width:44px;height:48px;border:3px solid white;border-radius:10px}.item-slots{top:24px;z-index:36}.item-slots button{position:relative;width:64px;height:64px;padding:0;border:4px solid white;border-radius:12px;background:#10264ccc;box-shadow:0 3px #536b88,inset 0 0 12px #0007;overflow:hidden}.item-slots button i{display:block;width:100%;height:100%;background:url(/ui/smk-vfx-atlas.png) 100% 100%/400% 200% no-repeat}.item-slots button b{position:absolute;right:2px;bottom:1px;padding:1px 5px;border-radius:5px;background:#ff9d00;color:#fff;font-size:.65rem}.item-slots .powerup-ready{animation:itemReady 1s ease-in-out infinite alternate;cursor:pointer}.item-slots .powerup-used{filter:grayscale(1);opacity:.35}.item-slots .powerup-used i{display:none}.item-slots small{top:70px;font-size:.65rem;text-shadow:1px 2px #001d4c}@keyframes itemReady{to{box-shadow:0 0 18px #55e9ff,inset 0 0 12px #0007}}.timer-box{position:fixed!important;right:285px;top:25px;left:auto!important;background:none!important;border:0!important;box-shadow:none!important;font-size:1.25rem;text-shadow:2px 2px #04255e}.fps-box{opacity:.55}.race-status{left:auto;right:285px;top:66px}.lap-card{display:flex;gap:12px;align-items:center;background:none;border:0;box-shadow:none;padding:0;text-shadow:2px 2px #06356e}.lap-card span{font-size:.8rem}.lap-card strong{font-size:1.45rem;color:#dfff3f}.minimap-panel{top:112px;background:transparent;border:0;box-shadow:none;backdrop-filter:none}.minimap-title{display:none}#minimapSvg{height:170px;border:0;background:transparent;filter:drop-shadow(3px 4px 1px #001b3a)}.map-reset{height:28px;opacity:.78}.speed-cluster{left:auto;right:26px;bottom:30px;transform:none;min-width:245px;padding:38px 22px 12px}.speed-arc{height:68px;border-width:8px}.speed-display #speedValue{font-size:3rem}.pedals-group{right:300px}.controls-hint{opacity:.25}.steer-group{opacity:.58}@media(max-width:760px){.race-place{top:105px;left:10px;font-size:1.5rem}.item-slots{top:12px}.item-slots button{width:50px;height:50px}.timer-box{right:10px;top:8px;transform:scale(.8);transform-origin:top right}.race-status{right:12px;top:43px}.minimap-panel{top:75px}.speed-cluster{right:8px;bottom:68px;transform:scale(.67);transform-origin:bottom right}.pedals-group{right:8px}}#hud{--hud-x:max(18px,env(safe-area-inset-left));--hud-y:max(16px,env(safe-area-inset-top));overflow:hidden;isolation:isolate}#hud .top-bar{position:absolute;inset:0;pointer-events:none}#hud .fps-box{top:var(--hud-y);left:50%;right:auto;transform:translate(-50%);opacity:.42;padding:5px 13px;font-size:.67rem}#hud .item-slots{left:var(--hud-x);top:var(--hud-y);width:176px;height:92px;gap:6px;padding:10px 11px;box-sizing:border-box;background:url(/ui/smk-hud-atlas.png) 0 0/200% 200% no-repeat;filter:drop-shadow(0 7px 8px #00142c88)}#hud .item-slots button{width:62px;height:62px;border:0;border-radius:13px;background:linear-gradient(145deg,#0d386d,#07182e);box-shadow:inset 0 0 13px #0009;overflow:hidden}#hud .item-slots button i{background:none;position:relative}#hud .item-slots button i:after{content:"⚡";position:absolute;inset:0;display:grid;place-items:center;color:#55eaff;font-size:2rem;text-shadow:0 0 12px #28bcff}#hud .item-slots button b{right:4px;bottom:4px;background:#ffae16;color:#132f52;border:2px solid #fff;font-size:.62rem}#hud .item-slots small{left:14px;top:84px;color:#fff;font-size:.55rem;letter-spacing:.12em;text-shadow:0 2px 3px #001a3d}#hud .race-place{left:var(--hud-x);top:124px;font-size:2.45rem;line-height:1;color:#ffd326;text-shadow:0 3px 0 #9b4e00,2px 5px 8px #0008}#hud .racer-chip{left:var(--hud-x);top:174px;width:196px;height:72px;padding:6px 10px 6px 70px;box-sizing:border-box;background:url(/ui/smk-hud-atlas.png) 0 100%/200% 200% no-repeat;border:0;box-shadow:none;filter:drop-shadow(0 7px 8px #00142c88);font-size:.82rem}#hud .racer-chip .driver-capsule{position:absolute;left:14px;top:10px;width:48px;height:48px;border:0;border-radius:50%;box-shadow:none}#hud .timer-box{position:absolute!important;right:var(--hud-x);top:var(--hud-y);left:auto!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;font-size:1rem;text-shadow:0 2px 0 #00376c,0 3px 6px #0008}#hud .race-status{left:auto;right:var(--hud-x);top:51px}#hud .lap-card{gap:8px;color:#56e8ff;text-shadow:0 2px 0 #06356e,0 3px 6px #0008}#hud .lap-card strong{font-size:1.55rem;color:#dfff35}#hud .minimap-panel{right:var(--hud-x);top:82px;width:260px;height:226px;padding:18px 17px 12px;box-sizing:border-box;background:url(/ui/smk-hud-atlas.png) 100% 0/200% 200% no-repeat;border:0;box-shadow:none;filter:drop-shadow(0 8px 10px #00142c88)}#hud #minimapSvg{height:156px;width:100%;border:0;background:#071b30b8;border-radius:15px;filter:none}#hud .map-reset{height:31px;margin-top:5px;border:1px solid #67ddff;border-radius:9px;background:#076fa5;color:#fff;font-size:.66rem}#hud .speed-cluster{left:auto;right:var(--hud-x);bottom:max(18px,env(safe-area-inset-bottom));width:286px;height:156px;min-width:0;padding:63px 37px 18px;box-sizing:border-box;background:url(/ui/smk-hud-atlas.png) 100% 100%/200% 200% no-repeat;border:0;border-radius:0;box-shadow:none;filter:drop-shadow(0 9px 10px #00142c99);transform:none}#hud .speed-arc{display:none}#hud .speed-display #speedValue{font-size:2.65rem;color:#75ff4d;text-shadow:0 0 8px #28e833,2px 3px #001b30}#hud .speed-unit{color:#dff8ff;font-size:.67rem}#hud .gear-indicator{min-width:42px;padding-left:12px}#hud .touch-controls{bottom:max(20px,env(safe-area-inset-bottom));padding:0 var(--hud-x)}#hud .steer-group{gap:12px;opacity:.82}#hud .pedals-group{position:absolute;right:326px;bottom:0;gap:10px}#hud .touch-btn{border-width:2px;border-color:#bceeff99;box-shadow:inset 0 2px #fff3,0 6px 12px #00122599}#hud .steer-btn{width:68px;height:68px}#hud .gas-btn{width:82px;height:82px}#hud .brake-btn{width:76px;height:76px}#hud .drift-btn{width:70px;height:70px}#hud .controls-hint{bottom:6px;opacity:.2}@media(max-width:980px){#hud .minimap-panel{width:210px;height:184px;padding:14px}#hud #minimapSvg{height:121px}#hud .speed-cluster{width:224px;height:122px;padding:49px 27px 13px}#hud .speed-display #speedValue{font-size:2rem}#hud .pedals-group{right:238px}#hud .gas-btn{width:68px;height:68px}#hud .brake-btn{width:64px;height:64px}#hud .drift-btn{width:60px;height:60px}}@media(max-width:680px){#hud{--hud-x:max(8px,env(safe-area-inset-left));--hud-y:max(8px,env(safe-area-inset-top))}#hud .item-slots{width:132px;height:69px;padding:7px 8px;background-size:200% 200%}#hud .item-slots button{width:46px;height:46px}#hud .item-slots button i:after{font-size:1.35rem}#hud .item-slots small{top:62px}#hud .race-place{top:88px;font-size:1.5rem}#hud .racer-chip{display:flex;top:118px;width:145px;height:54px;padding-left:52px;font-size:.62rem}#hud .racer-chip .driver-capsule{left:10px;top:8px;width:37px;height:37px}#hud .timer-box{font-size:.72rem}#hud .race-status{top:34px}#hud .lap-card strong{font-size:1.05rem}#hud .minimap-panel{top:60px;width:150px;height:131px;padding:10px}#hud #minimapSvg{height:84px}#hud .map-reset{height:22px;font-size:.5rem}#hud .speed-cluster{right:5px;bottom:62px;width:170px;height:93px;padding:36px 20px 9px}#hud .speed-display #speedValue{font-size:1.5rem}#hud .pedals-group{right:8px}.controls-hint{display:none}}#hud .item-slots{display:block;width:224px;height:122px;padding:0;background:url(/ui/hud-powerups.png) center/100% 100% no-repeat}#hud .item-slots button{position:absolute;top:27px;width:82px;height:76px}#hud .item-slots button:first-of-type{left:19px}#hud .item-slots button:nth-of-type(2){left:124px}#hud .item-slots small{left:24px;top:112px}#hud .race-place{top:151px;font-size:2.8rem}#hud .racer-chip{top:203px;width:260px;height:169px;padding:111px 30px 20px 40px;background:url(/ui/hud-racer.png) center/100% 100% no-repeat;align-items:center;justify-content:center;text-align:center;font-size:1rem}#hud .racer-chip .driver-capsule{left:31px;top:22px;width:86px;height:86px}#hud .minimap-panel{top:91px;width:332px;height:219px;padding:0;background:url(/ui/hud-minimap.png) center/100% 100% no-repeat}#hud #minimapSvg{position:absolute;left:39px;top:48px;width:254px;height:126px;border-radius:11px}#hud .map-reset{position:absolute;left:42px;right:42px;bottom:-35px;width:auto;height:34px;margin:0}#hud .speed-cluster{width:372px;height:244px;padding:122px 61px 31px;background:url(/ui/hud-speed.png) center/100% 100% no-repeat}#hud .speed-display #speedValue{font-size:3.55rem}#hud .speed-unit{font-size:.78rem}#hud .gear-indicator{font-size:1.7rem}#hud .pedals-group{right:410px}@media(max-width:1150px){#hud .item-slots{width:190px;height:104px}#hud .item-slots button{top:23px;width:69px;height:64px}#hud .item-slots button:first-of-type{left:17px}#hud .item-slots button:nth-of-type(2){left:106px}#hud .item-slots small{top:95px}#hud .race-place{top:128px;font-size:2.25rem}#hud .racer-chip{top:171px;width:220px;height:143px;padding:93px 25px 17px 34px}#hud .racer-chip .driver-capsule{left:26px;top:19px;width:72px;height:72px}#hud .minimap-panel{width:270px;height:178px}#hud #minimapSvg{left:32px;top:39px;width:206px;height:102px}#hud .map-reset{left:35px;right:35px;bottom:-30px;height:29px}#hud .speed-cluster{width:305px;height:200px;padding:98px 49px 25px}#hud .speed-display #speedValue{font-size:2.8rem}#hud .pedals-group{right:330px}}@media(max-width:680px){#hud .item-slots{width:142px;height:77px}#hud .item-slots button{top:17px;width:52px;height:48px}#hud .item-slots button:first-of-type{left:12px}#hud .item-slots button:nth-of-type(2){left:79px}#hud .item-slots small{left:14px;top:70px}#hud .race-place{top:94px;font-size:1.65rem}#hud .racer-chip{top:126px;width:164px;height:107px;padding:70px 18px 10px 26px}#hud .racer-chip .driver-capsule{left:20px;top:14px;width:53px;height:53px}#hud .minimap-panel{top:58px;width:176px;height:116px}#hud #minimapSvg{left:21px;top:25px;width:134px;height:67px}#hud .map-reset{left:23px;right:23px;bottom:-21px;height:21px}#hud .speed-cluster{right:5px;bottom:69px;width:210px;height:138px;padding:67px 34px 17px}#hud .speed-display #speedValue{font-size:1.9rem}#hud .pedals-group{right:8px}}#hud .racer-chip .driver-capsule{left:45px;top:21px;width:56px;height:88px;border-radius:28px 28px 20px 20px;overflow:hidden}#hud .racer-chip .driver-capsule:before{width:32px;height:18px;margin-top:18px;border-radius:12px}#hud .touch-btn{padding:0!important;border:0!important;background-color:transparent!important;background-position:center!important;background-repeat:no-repeat!important;background-size:contain!important;box-shadow:none!important;backdrop-filter:none;color:transparent;text-shadow:none;font-size:0!important;filter:drop-shadow(0 7px 7px #00142c88)}#hud #btnLeft{background-image:url(/ui/control-left.png)!important}#hud #btnRight{background-image:url(/ui/control-right.png)!important}#hud #btnBrake{background-image:url(/ui/control-brake.png)!important}#hud #btnGas{background-image:url(/ui/control-gas.png)!important}#hud #btnDrift{background-image:url(/ui/control-drift.png)!important}#hud .steer-btn{width:82px;height:82px}#hud .brake-btn,#hud .gas-btn,#hud .drift-btn{width:88px;height:88px}#hud .touch-btn:active,#hud .touch-btn.active{transform:scale(.9);filter:brightness(1.2) drop-shadow(0 0 13px #53e9ff)}@media(max-width:1150px){#hud .racer-chip .driver-capsule{left:38px;top:18px;width:48px;height:73px}#hud .racer-chip .driver-capsule:before{width:27px;height:15px;margin-top:15px}#hud .steer-btn{width:72px;height:72px}#hud .brake-btn,#hud .gas-btn,#hud .drift-btn{width:76px;height:76px}}@media(max-width:680px){#hud .racer-chip .driver-capsule{left:29px;top:13px;width:35px;height:54px}#hud .racer-chip .driver-capsule:before{width:20px;height:11px;margin-top:11px}#hud .steer-btn{width:58px;height:58px}#hud .brake-btn,#hud .gas-btn,#hud .drift-btn{width:62px;height:62px}}#hud .racer-chip .driver-capsule{left:22px;top:17px;width:104px;height:104px;border-radius:50%;background:radial-gradient(circle at 50% 38%,#7cf0ff 0 18%,#1fb9e8 19% 55%,#073a70 56% 100%);box-shadow:inset 0 0 0 5px #072957,inset 0 0 18px #001b45;overflow:hidden}#hud .racer-chip .driver-capsule:after{content:"";position:absolute;left:31px;top:18px;width:42px;height:72px;border-radius:23px 23px 17px 17px;background:linear-gradient(145deg,#6be9ff,#169ed7);box-shadow:inset -7px -6px #08689b,inset 5px 4px #baf8ff}#hud .racer-chip .driver-capsule:before{position:absolute;z-index:2;left:39px;top:36px;width:27px;height:16px;margin:0;border-radius:10px;background:#061b38;box-shadow:inset 0 2px #88eaff}#hud .touch-controls,#hud .touch-group{overflow:visible!important}#hud #btnLeft{background-image:url(/ui/control-left-v2.png?v=3)!important}#hud #btnRight{background-image:url(/ui/control-right-v2.png?v=3)!important}#hud #btnBrake{background-image:url(/ui/control-brake-v2.png?v=3)!important}#hud #btnGas{background-image:url(/ui/control-gas-v2.png?v=3)!important}#hud #btnDrift{background-image:url(/ui/control-drift-v2.png?v=3)!important}#hud .speed-cluster{background-color:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;filter:none!important}#hud .nitro-btn{position:relative;width:88px;height:88px;border:0;border-radius:50%;background:url(/ui/nitro-button-v1.png) center/contain no-repeat!important;color:transparent;font-weight:1000;overflow:hidden;filter:drop-shadow(0 4px 7px #001b4c);text-shadow:none}.nitro-btn span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.nitro-btn i{position:absolute;inset:auto 8% 8%;height:var(--cooldown,0%);max-height:84%;border-radius:0 0 50% 50%;background:#031a40bb;pointer-events:none}.nitro-btn.active{animation:nitroHudPulse .18s ease-in-out infinite alternate;filter:brightness(1.45) drop-shadow(0 0 18px #ffe654) drop-shadow(0 0 25px #17dfff)}.nitro-btn.cooldown{filter:grayscale(.75) brightness(.6)}.speed-cluster.nitro-active{filter:drop-shadow(0 0 15px #35eaff)!important}@keyframes nitroHudPulse{to{transform:scale(1.07)}}@media(max-width:1150px){#hud .nitro-btn{width:76px;height:76px}}@media(max-width:680px){#hud .nitro-btn{width:62px;height:62px;font-size:.62rem}}.wallet-gate{position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 50% 40%,rgba(0,240,255,.08),transparent 60%),linear-gradient(135deg,#020612,#071126)}.wallet-gate.hidden{display:none}.wallet-card{width:min(480px,92vw);display:grid;gap:12px;padding:32px 36px;border:1px solid rgba(56,189,248,.35);border-radius:24px;background:linear-gradient(165deg,#0c162cf2,#050a18fa);backdrop-filter:blur(28px);-webkit-backdrop-filter:blur(28px);box-shadow:0 30px 90px #000000d9,0 0 40px #00f0ff1f,inset 0 1px #fff3;color:#fff;text-align:center}.wallet-card img{width:min(300px,80%);max-height:100px;object-fit:contain;margin:auto;filter:drop-shadow(0 4px 12px rgba(0,240,255,.4))}.wallet-card p{margin:0;color:#00f0ff;font-family:var(--font-display);font-size:.75rem;font-weight:800;letter-spacing:3px;text-transform:uppercase}.wallet-card h1{margin:0;font-family:var(--font-display);font-size:clamp(1.6rem,5vw,2.2rem);font-weight:900;font-style:italic;letter-spacing:.5px;color:#fff}.wallet-card span{color:#94a3b8;font-family:var(--font-main);font-size:.85rem;line-height:1.5}.wallet-card button{min-height:50px;border:1px solid rgba(0,240,255,.4);border-radius:12px;background:linear-gradient(135deg,#00f0ff,#0284c7);color:#031024;font-family:var(--font-display);font-size:.95rem;font-weight:900;font-style:italic;letter-spacing:1px;text-transform:uppercase;cursor:pointer;box-shadow:0 6px 20px #00f0ff59,inset 0 1px #fff6;transition:all .2s cubic-bezier(.16,1,.3,1)}.wallet-card button:hover{filter:brightness(1.15);transform:translateY(-1px);box-shadow:0 10px 28px #00f0ff80}.wallet-card .guest-login{background:#ffffff0d;border:1px solid rgba(255,255,255,.12);color:#cbd5e1;box-shadow:none}.wallet-card .guest-login:hover{background:#ffffff1a;color:#fff;border-color:#ffffff40}.wallet-card small{min-height:16px;color:#64748b;font-size:.68rem;font-weight:600}.wallet-sheet-backdrop{position:fixed;inset:0;z-index:210;background:#000000b3;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.wallet-sheet{position:fixed;z-index:220;left:50%;top:50%;transform:translate(-50%,-50%);width:min(460px,calc(100vw - 28px));max-height:min(680px,calc(100dvh - 28px));display:flex;flex-direction:column;gap:14px;box-sizing:border-box;padding:26px 26px 22px;overflow-y:auto;border:1px solid rgba(56,189,248,.35);border-radius:24px;background:linear-gradient(165deg,#0e1830fa,#060c1cfa);backdrop-filter:blur(28px) saturate(1.4);-webkit-backdrop-filter:blur(28px) saturate(1.4);box-shadow:0 30px 100px #000000e6,0 0 40px #00f0ff1f,inset 0 1px #fff3;color:#fff;text-align:center;scrollbar-width:thin;scrollbar-color:rgba(0,240,255,.3) transparent}.wallet-sheet.hidden,.wallet-sheet-backdrop.hidden{display:none}.wallet-sheet-close{position:absolute;right:14px;top:14px;width:32px;height:32px;border:1px solid rgba(255,255,255,.12);border-radius:50%;background:#ffffff0d;color:#94a3b8;font-size:1.3rem;line-height:1;display:grid;place-items:center;cursor:pointer;transition:all .2s cubic-bezier(.16,1,.3,1);z-index:2}.wallet-sheet-close:hover{background:#ef444440;border-color:#ef444480;color:#f87171;transform:rotate(90deg)}.wallet-sheet-head{display:flex;flex-direction:column;align-items:center;gap:3px}.wallet-sheet-logo{max-width:170px;height:38px;object-fit:contain;margin-bottom:2px;filter:drop-shadow(0 2px 10px rgba(0,240,255,.45))}.wallet-sheet-head p{margin:0;color:#00f0ff;font-family:var(--font-display);font-size:.68rem;font-weight:800;letter-spacing:2px;text-transform:uppercase;text-shadow:0 0 8px rgba(0,240,255,.4)}.wallet-sheet-head h2{margin:0;font-family:var(--font-display);font-size:1.4rem;font-weight:900;font-style:italic;letter-spacing:.5px;color:#fff}.wallet-sheet-head span{color:#94a3b8;font-family:var(--font-main);font-size:.78rem;line-height:1.4}.wallet-sheet-head small{min-height:20px;color:#38bdf8;font-family:var(--font-main);font-size:.72rem;font-weight:600;line-height:1.3}.wallet-sheet-body{display:flex;flex-direction:column;gap:8px}.wallet-options{display:grid;gap:8px}.wallet-options>button,.wallet-confirm,.wallet-sheet-guest{display:flex;align-items:center;gap:12px;min-height:48px;padding:8px 16px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:#ffffff0a;color:#fff;font-family:var(--font-main);font-size:.88rem;font-weight:700;cursor:pointer;transition:all .2s cubic-bezier(.16,1,.3,1)}.wallet-options>button:hover{border-color:#00f0ff;background:#00f0ff1a;box-shadow:0 0 16px #00f0ff33;transform:translateY(-1px)}.wallet-options>button b,.wallet-options>button img{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:8px;background:#ffffff14;color:#00f0ff;font-size:1.1rem}.wallet-confirm{justify-content:center;border-color:#00f0ff80;background:linear-gradient(135deg,#00f0ff,#0284c7);color:#031024;font-family:var(--font-display);font-size:.92rem;font-weight:900;font-style:italic;letter-spacing:1px}.wallet-sheet-guest{justify-content:center;min-height:36px;background:transparent;border-color:transparent;color:#64748b;font-size:.78rem}.wallet-sheet-guest:hover{color:#cbd5e1}.wallet-sheet footer{margin-top:2px;color:#64748b;font-size:.62rem;letter-spacing:.8px}.wallet-sheet footer strong{color:#a855f7}.wallet-empty{margin:0;padding:14px;border:1px dashed rgba(255,255,255,.15);border-radius:12px;color:#94a3b8;font-size:.78rem;line-height:1.4}body:has(.wallet-gate:not(.hidden)) #rotateDevicePrompt{display:none}@media(max-width:680px)and (orientation:portrait){.wallet-sheet{inset:auto 0 0;width:100%;max-height:min(84dvh,640px);padding:22px max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));border-width:1px 0 0;border-radius:24px 24px 0 0;transform:none;gap:10px}.wallet-sheet-logo{height:32px}.wallet-sheet-head h2{font-size:1.2rem}.wallet-options>button{min-height:44px}}@media(max-height:520px)and (orientation:landscape),(pointer:coarse)and (orientation:landscape)and (max-height:540px){.wallet-sheet{left:50%;top:50%;bottom:auto;transform:translate(-50%,-50%);width:min(620px,calc(100vw - 24px));max-height:min(340px,calc(100dvh - 16px));display:grid;grid-template-columns:210px minmax(0,1fr);gap:14px;padding:16px 20px 14px;border-radius:18px;border-width:1px;overflow:hidden}.wallet-sheet-head{text-align:left;align-items:flex-start;justify-content:center;border-right:1px solid rgba(255,255,255,.08);padding-right:12px;gap:2px}.wallet-sheet-logo{max-width:130px;height:30px;margin:0 0 2px}.wallet-sheet-head h2{font-size:1.05rem}.wallet-sheet-head span{font-size:.68rem;line-height:1.3}.wallet-sheet-head small{font-size:.62rem;min-height:16px}.wallet-sheet-body{min-height:0;overflow-y:auto;gap:6px;padding-right:4px;scrollbar-width:thin;scrollbar-color:rgba(0,240,255,.3) transparent}.wallet-options{gap:6px}.wallet-options>button{min-height:38px;padding:4px 12px;font-size:.78rem;border-radius:10px}.wallet-options>button b,.wallet-options>button img{flex:0 0 26px;width:26px;height:26px;font-size:.9rem}.wallet-confirm{min-height:36px;font-size:.82rem}.wallet-sheet-guest{min-height:28px;font-size:.7rem}.wallet-sheet footer{font-size:.58rem}}#hud .racer-chip{left:var(--hud-x);top:190px;width:112px;height:auto;padding:0;background:none;filter:none;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px;text-align:center}#hud .racer-chip .driver-capsule{display:none}#hud .racer-chip #hudRacerAvatar{position:relative;left:auto;top:auto;width:92px;height:92px;border:0;border-radius:50%;object-fit:cover;background:transparent;box-shadow:0 6px 14px #00162a87}#hud .racer-chip #hudRacerName{max-width:112px;color:#fff;font-size:.82rem;font-weight:950;text-shadow:0 2px 3px rgba(0,25,54,1);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:1150px){#hud .racer-chip{top:168px;width:94px;padding:0}#hud .racer-chip #hudRacerAvatar{left:auto;top:auto;width:76px;height:76px}#hud .racer-chip #hudRacerName{max-width:94px;font-size:.72rem}}@media(max-width:680px){#hud .racer-chip{top:122px;width:72px;padding:0}#hud .racer-chip #hudRacerAvatar{left:auto;top:auto;width:58px;height:58px}#hud .racer-chip #hudRacerName{max-width:72px;font-size:.58rem}}html,body,#app{width:100%;height:100%;height:100dvh;overflow:hidden;overscroll-behavior:none}#rotateDevicePrompt{display:none;position:fixed;inset:0;z-index:10000;place-content:center;justify-items:center;gap:14px;padding:24px;background:radial-gradient(circle,#0a1937fa,#020612 70%);color:#fff;text-align:center}#rotateDevicePrompt .rotate-phone{display:grid;place-items:center;width:86px;height:136px;border:5px solid #00f0ff;border-radius:20px;color:#f59e0b;font-size:4rem;line-height:1;box-shadow:0 0 35px #00f0ff66;animation:rotatePhone 1.4s ease-in-out infinite alternate}#rotateDevicePrompt strong{font-family:var(--font-display);font-size:clamp(1.4rem,7vw,2.2rem);font-weight:900;font-style:italic;letter-spacing:1px;color:#00f0ff;text-shadow:0 2px 10px rgba(0,240,255,.5)}#rotateDevicePrompt span{font-family:var(--font-main);color:#94a3b8;font-size:.9rem;font-weight:600}@keyframes rotatePhone{to{transform:rotate(90deg)}}@media(pointer:coarse)and (orientation:portrait){#rotateDevicePrompt{display:grid}}@media(display-mode:fullscreen),(display-mode:standalone){html,body,#app{height:100dvh}}#hud #exitRace{position:absolute;top:max(37px,calc(env(safe-area-inset-top) + 24px));left:50%;transform:translate(-50%);z-index:41;min-height:38px;padding:5px 14px;border:2px solid #bcefff;border-radius:10px;background:linear-gradient(#134f91,#05294f);box-shadow:0 4px 10px #00152a99;color:#fff;font-size:.7rem;font-weight:900;letter-spacing:.06em;cursor:pointer;touch-action:manipulation}#hud #exitRace:hover{background:linear-gradient(#e86767,#9e263a)}#hud #powerupSlot:disabled{cursor:default}#hud #powerupSlot.powerup-used i:after{content:"?";color:#8eb2cd;text-shadow:none}#hud #powerupSlot.powerup-ready i:after{content:"⚡";color:#ffe955;text-shadow:0 0 12px #fff07a}@media(max-width:900px)and (max-height:540px){#hud #exitRace{top:max(3px,env(safe-area-inset-top));min-height:30px;padding:3px 9px;font-size:.58rem}#hud .item-slots{display:block!important;left:75px;top:5px;width:66px;height:63px;padding:0;background:none;filter:none}#hud .item-slots #powerupSlot{left:0;top:0;width:58px;height:58px;border:2px solid #8feaff;border-radius:11px;background:#08294bdc}#hud .item-slots .powerup-empty,#hud .item-slots small{display:none}}.feature-panel{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:95;width:min(580px,92vw);max-height:min(720px,90dvh);overflow-y:auto;box-sizing:border-box;padding:30px 34px;border:1px solid rgba(56,189,248,.35);border-radius:22px;background:linear-gradient(165deg,#0c162cf2,#050a18fa);backdrop-filter:blur(28px) saturate(1.4);-webkit-backdrop-filter:blur(28px) saturate(1.4);box-shadow:0 30px 90px #000000d9,0 0 40px #00f0ff1f,inset 0 1px #fff3;color:#fff;scrollbar-width:thin;scrollbar-color:rgba(0,240,255,.3) transparent}.feature-close{position:absolute;right:16px;top:16px;width:36px;height:36px;border-radius:50%;border:1px solid rgba(255,255,255,.12);background:#ffffff0d;color:#94a3b8;font-size:1.4rem;line-height:1;display:grid;place-items:center;cursor:pointer;transition:all .2s cubic-bezier(.16,1,.3,1)}.feature-close:hover{background:#ef444433;border-color:#ef444480;color:#f87171;transform:rotate(90deg)}.feature-page{display:none}.feature-page.active{display:grid;gap:14px}.feature-page h2{font-family:var(--font-display);font-size:1.5rem;font-weight:800;font-style:italic;letter-spacing:1px;color:#fff;text-align:center;margin:0;text-shadow:0 2px 6px rgba(0,0,0,.6)}.feature-page p{font-family:var(--font-main);font-size:.82rem;color:#94a3b8;text-align:center;margin:0 0 6px;line-height:1.4}.feature-page label{display:grid;gap:6px;font-family:var(--font-display);font-size:.72rem;font-weight:700;letter-spacing:1.5px;color:#38bdf8;text-transform:uppercase}.feature-page input{width:100%;min-height:46px;padding:10px 16px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:#00000073;color:#fff;font-family:var(--font-main);font-size:.95rem;font-weight:600;box-sizing:border-box;transition:border-color .2s,box-shadow .2s}.feature-page input:focus{border-color:#00f0ff;outline:none;box-shadow:0 0 16px #00f0ff4d}.feature-action{width:100%;min-height:48px;padding:12px;border:1px solid rgba(0,240,255,.4);border-radius:12px;background:linear-gradient(135deg,#0ea5e9,#0284c7);color:#fff;font-family:var(--font-display);font-size:.95rem;font-weight:800;font-style:italic;letter-spacing:1.2px;text-transform:uppercase;cursor:pointer;box-shadow:0 6px 20px #0284c759,inset 0 1px #ffffff4d;transition:all .2s cubic-bezier(.16,1,.3,1)}.feature-action:hover{filter:brightness(1.15);transform:translateY(-1px);box-shadow:0 8px 24px #0284c780}.mode-card{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:#ffffff08;color:#fff;cursor:pointer;transition:all .2s cubic-bezier(.16,1,.3,1)}.mode-card:hover{border-color:#38bdf866;background:#38bdf814;transform:translateY(-1px)}.mode-card.selected{border-color:#00f0ff;background:linear-gradient(135deg,#00f0ff2e,#0ea5e947);box-shadow:0 0 20px #00f0ff40,inset 0 1px #ffffff4d}.mode-card.locked{opacity:.45;cursor:not-allowed}.mode-card b{font-family:var(--font-display);font-size:1.15rem;font-weight:800;font-style:italic;letter-spacing:.5px}.mode-card span{font-family:var(--font-main);font-size:.68rem;font-weight:600;letter-spacing:1px;color:#94a3b8}.key-grid{display:grid;grid-template-columns:90px 1fr;gap:10px;align-items:center;padding:16px 18px;border-radius:14px;background:#00000059;border:1px solid rgba(255,255,255,.06)}.key-grid kbd{display:inline-block;padding:7px 10px;text-align:center;border:1px solid rgba(255,255,255,.2);border-bottom:3px solid rgba(0,0,0,.6);border-radius:8px;background:linear-gradient(180deg,#1e293b,#0f172a);color:#38bdf8;font-family:monospace;font-size:.85rem;font-weight:800;box-shadow:0 2px 6px #0006}.key-grid span{font-family:var(--font-display);font-size:.78rem;font-weight:700;letter-spacing:1.2px;color:#e2e8f0;text-transform:uppercase}.module-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:6px 0}.module-grid b{padding:16px 12px;border:1px solid rgba(56,189,248,.25);border-radius:12px;background:#0f172aa6;color:#e2e8f0;font-family:var(--font-display);font-size:.85rem;font-weight:800;letter-spacing:1px;text-align:center;text-transform:uppercase}.progress-board{margin-top:14px;padding:14px 16px;border:1px solid rgba(56,189,248,.25);border-radius:14px;background:#00000059;text-align:left}.progress-board h3{font-family:var(--font-display);font-size:.95rem;font-weight:800;font-style:italic;letter-spacing:1px;color:#f59e0b;margin:14px 0 6px}.progress-board h3:first-child{margin-top:0}.progress-board p,.progress-board li,.progress-board small{font-family:var(--font-main);font-size:.74rem;line-height:1.4;color:#cbd5e1}.progress-board code{display:block;padding:8px 12px;margin-top:4px;background:#00000080;border:1px solid rgba(255,255,255,.1);border-radius:8px;color:#38bdf8;font-family:monospace;font-size:.85rem;overflow-wrap:anywhere}.progress-board form{display:flex;gap:8px;margin-top:8px}.progress-board input{min-height:38px;padding:6px 12px;font-size:.85rem}.progress-board button{min-height:38px;padding:0 16px;border:1px solid rgba(0,240,255,.4);border-radius:8px;background:#0284c7;color:#fff;font-family:var(--font-display);font-size:.78rem;font-weight:800;cursor:pointer}.progress-board ol{margin:6px 0;padding-left:20px}.unlock-badge{display:inline-block;margin:3px 4px 3px 0;padding:4px 8px;border-radius:6px;background:#0ea5e940;border:1px solid rgba(14,165,233,.4);color:#38bdf8;font-family:var(--font-display);font-size:.72rem;font-weight:700}.ranked-lobby{position:fixed;inset:0;z-index:180;display:grid;place-items:center;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));background:#020612e0;color:#fff;font-family:var(--font-main);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.ranked-lobby.hidden{display:none}.lobby-shell{width:min(1100px,96vw);height:min(580px,92dvh);display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border:1px solid rgba(56,189,248,.35);border-radius:20px;background:linear-gradient(165deg,#0c162cf5,#050a18fa);box-shadow:0 30px 90px #000000d9,0 0 40px #00f0ff1f,inset 0 1px #fff3}.lobby-header{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:14px 20px;border-bottom:1px solid rgba(255,255,255,.08);background:#ffffff08}.lobby-header small{display:flex;align-items:center;gap:8px;color:#94a3b8;font-family:var(--font-display);font-size:.72rem;font-weight:700;letter-spacing:1.5px}.lobby-zone{padding:3px 8px;border-radius:6px;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;font-weight:900}.lobby-header h2{font-family:var(--font-display);font-size:1.45rem;font-weight:900;font-style:italic;color:#fff;margin:2px 0 0}.lobby-header h2 span{color:#00f0ff}.lobby-header p{margin:0;color:#64748b;font-size:.74rem}.lobby-header button{min-height:38px;padding:0 16px;border:1px solid rgba(239,68,68,.4);border-radius:10px;background:#ef444433;color:#fca5a5;font-family:var(--font-display);font-size:.82rem;font-weight:800;cursor:pointer;transition:all .2s}.lobby-header button:hover{background:#ef4444;color:#fff}.lobby-content{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:12px;padding:14px}.lobby-main{min-width:0;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) 110px;gap:10px}.lobby-slots{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;align-items:stretch;min-height:0}.lobby-slot{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:4px;padding:24px 6px 8px;border:1px solid rgba(56,189,248,.25);border-radius:12px;background:#ffffff08;transition:all .2s}.lobby-slot.empty{background:#00000040;border-style:dashed;border-color:#ffffff1f}.lobby-slot.is-you{border-color:#00f0ff;box-shadow:0 0 16px #00f0ff40}.lobby-slot-badge{position:absolute;top:6px;left:6px;padding:2px 6px;border-radius:4px;background:#38bdf833;border:1px solid rgba(56,189,248,.4);color:#38bdf8;font-family:var(--font-display);font-size:.62rem;font-weight:800}.lobby-slot img{width:54px;height:54px;border-radius:50%;border:2px solid #38bdf8;object-fit:cover;background:#0b1e3b;margin-top:8px}.lobby-kart{--kart-paint: #00f0ff;position:relative;width:90%;height:44px;margin-top:-4px;filter:drop-shadow(0 4px 6px rgba(0,0,0,.5))}.lobby-kart-0{--kart-paint: #00f0ff}.lobby-kart-1{--kart-paint: #f97316}.lobby-kart-2{--kart-paint: #22c55e}.lobby-kart-3{--kart-paint: #a855f7}.lobby-kart-4{--kart-paint: #ec4899}.lobby-kart-body{position:absolute;left:12%;right:12%;bottom:8px;height:24px;border:2px solid rgba(255,255,255,.4);border-radius:8px 8px 4px 4px;background:linear-gradient(135deg,#fff4 0%,var(--kart-paint) 30%,#0b152d 100%);box-shadow:inset 0 -4px #0006}.lobby-kart-wheel{position:absolute;bottom:2px;width:16px;height:16px;border:3px solid #0f172a;border-radius:50%;background:#38bdf8;z-index:2}.lobby-kart-wheel.left{left:6%}.lobby-kart-wheel.right{right:6%}.lobby-slot strong{color:#fff;font-family:var(--font-display);font-size:.85rem;font-weight:800;max-width:95%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lobby-slot em{font-size:.6rem;font-style:normal;color:#94a3b8;max-width:95%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lobby-slot .ready{color:#4ade80;font-family:var(--font-display);font-size:.95rem;font-weight:900;font-style:italic;text-shadow:0 0 10px rgba(74,222,128,.5)}.lobby-slot .waiting{color:#f59e0b;font-family:var(--font-display);font-size:.8rem;font-weight:800}.lobby-chat{display:grid;grid-template-rows:minmax(0,1fr) auto;min-height:0;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:#00000059;overflow:hidden}.lobby-messages{overflow-y:auto;padding:8px 12px;font-size:.75rem}.lobby-messages p{margin:0 0 4px}.lobby-messages b{color:#38bdf8}.lobby-chat form{display:flex;border-top:1px solid rgba(255,255,255,.08)}.lobby-chat input{min-width:0;flex:1;padding:8px 12px;background:#0006;color:#fff;border:0;font-size:14px}.lobby-chat button{min-height:34px;padding:0 16px;border:0;background:#0284c7;color:#fff;font-family:var(--font-display);font-weight:800;cursor:pointer}.lobby-side{display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:12px;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:#ffffff08;text-align:center}.lobby-side img{width:100%;height:48px;object-fit:contain}.lobby-side p{margin:0;color:#94a3b8;font-size:.72rem;line-height:1.4}.lobby-side #lobbyStatus{min-height:36px;display:grid;place-items:center;padding:6px;border-radius:8px;background:#0006;color:#f59e0b;font-family:var(--font-display);font-size:.75rem;font-weight:800}.lobby-side #lobbyReady{min-height:46px;border:1px solid rgba(255,255,255,.3);border-radius:10px;background:linear-gradient(135deg,#ff9500,#ff4500);color:#fff;font-family:var(--font-display);font-size:1rem;font-weight:900;font-style:italic;cursor:pointer;transition:all .2s}.lobby-side #lobbyReady.active{background:linear-gradient(135deg,#22c55e,#15803d);border-color:#4ade8080;box-shadow:0 0 16px #22c55e66}.lobby-side #lobbyStart{min-height:40px;border:1px solid rgba(255,255,255,.3);border-radius:10px;background:linear-gradient(135deg,#00f0ff,#0284c7);color:#031024;font-family:var(--font-display);font-size:.95rem;font-weight:900;font-style:italic;cursor:pointer}.lobby-side #lobbyStart:disabled{filter:grayscale(1);opacity:.4;cursor:not-allowed}.lobby-map-label{display:grid;gap:4px;color:#38bdf8;font-family:var(--font-display);font-size:.65rem;font-weight:700;letter-spacing:1px;text-align:left}.lobby-map-label select{width:100%;min-height:36px;padding:6px 10px;border:1px solid rgba(255,255,255,.15);border-radius:8px;background:#00000080;color:#fff;font-family:var(--font-display);font-weight:700}.lobby-bot-controls{display:grid;grid-template-columns:1fr 1fr;gap:6px}.lobby-bot-controls button{min-height:34px;padding:4px;border:1px solid rgba(168,85,247,.4);border-radius:8px;background:#a855f733;color:#d8b4fe;font-family:var(--font-display);font-size:.72rem;font-weight:800;cursor:pointer}.lobby-bot-controls button:disabled{filter:grayscale(1);opacity:.35;cursor:not-allowed}.lobby-rule{display:grid;place-items:center;min-height:56px;padding:6px;border:1px solid rgba(56,189,248,.2);border-radius:8px;background:#0000004d;color:#f59e0b;font-family:var(--font-display);font-size:.68rem;font-weight:700;line-height:1.4}.garage-menu[data-garage-tab=kart] .driver-config,.garage-menu[data-garage-tab=driver] .paint-config,.garage-menu[data-garage-tab=driver] .collection-config,.garage-menu .collection-config{display:none}.garage-menu[data-garage-tab=kart] .garage-dock-content,.garage-menu[data-garage-tab=driver] .garage-dock-content{grid-template-columns:minmax(0,1.8fr) minmax(240px,1.2fr)}.driver-roster,.map-roster{display:none!important}@media(max-width:900px){.arcade-nav{width:min(760px,calc(100vw - 20px));height:48px;padding:4px 8px}.arcade-nav img{height:30px;max-width:90px;padding-right:6px}.arcade-nav button{min-height:32px;padding:4px 6px;font-size:.72rem}.garage-menu .garage-panel{grid-template-columns:150px minmax(0,1fr);padding:8px 10px;gap:8px}.garage-dock-header .smk-logo{height:32px}.garage-dock-header h1{font-size:.95rem}.start-race{min-height:42px}.start-race b{font-size:1.05rem}}@media(pointer:coarse)and (orientation:landscape)and (max-height:520px){.arcade-nav{top:max(6px,env(safe-area-inset-top));width:min(720px,calc(100vw - 16px));height:42px;padding:3px 6px;gap:4px;border-radius:12px}.arcade-nav img{height:26px;max-width:80px;padding-right:4px}.arcade-nav button{min-height:28px;padding:2px 4px;font-size:.65rem;border-radius:6px}.garage-menu .garage-panel{bottom:max(6px,env(safe-area-inset-bottom));width:min(1000px,calc(100vw - 16px));grid-template-columns:130px minmax(0,1fr);gap:6px;padding:6px 8px;border-radius:14px}.garage-dock-header{padding:4px 6px;gap:3px}.garage-dock-header .smk-logo{height:26px}.garage-dock-header .garage-kicker{display:none}.garage-dock-header h1{font-size:.8rem;margin:0}.garage-dock-header .garage-tabs{padding:2px}.garage-dock-header .garage-tabs button{min-height:24px;font-size:.65rem;padding:1px}.garage-config-card{padding:6px 8px;border-radius:10px}.garage-config-card .section-label{margin-bottom:2px;font-size:.52rem}.kart-carousel,.driver-carousel,.track-carousel{min-height:32px;gap:6px}.carousel-arrow{width:28px;height:28px;min-height:28px;font-size:.85rem;border-radius:6px}.kart-choice strong,.driver-choice strong,.track-choice strong{font-size:.85rem}.kart-choice span,.track-choice span{font-size:.5rem}.kart-dots{margin:2px 0 1px}.color-strip button{width:18px;height:18px}.start-race{min-height:34px;margin-top:3px;padding:4px 10px;border-radius:8px}.start-race span{font-size:.58rem;padding:2px 5px}.start-race b{font-size:.88rem}.preview-copy{display:none}.feature-panel{width:min(520px,90vw);max-height:94dvh;padding:18px 22px;border-radius:16px}.feature-page{gap:8px}.feature-page h2{font-size:1.15rem}.feature-page input{min-height:38px;padding:6px 10px;font-size:.85rem}.feature-action{min-height:40px;padding:8px;font-size:.82rem}.wallet-card{width:min(520px,88vw);grid-template-columns:1fr 1fr;gap:8px 12px;padding:14px 20px;border-radius:16px}.wallet-card img,.wallet-card p,.wallet-card h1,.wallet-card span,.wallet-card small{grid-column:1 / -1}.wallet-card img{height:48px}.wallet-card h1{font-size:1.25rem}.wallet-card span{font-size:.72rem;line-height:1.3}.wallet-card button{min-height:38px;font-size:.78rem}#hud{--hud-x: max(6px, env(safe-area-inset-left));--hud-y: max(5px, env(safe-area-inset-top))}#hud .item-slots{display:none}#hud .race-place{top:8px;font-size:1.55rem}#hud .racer-chip{top:45px;width:64px}#hud .racer-chip #hudRacerAvatar{width:46px;height:46px}#hud .racer-chip #hudRacerName{max-width:64px;font-size:.48rem}#hud .timer-box{right:12px;top:7px;font-size:.72rem}#hud .race-status{right:12px;top:32px}#hud .lap-card{gap:5px}#hud .lap-card span{font-size:.55rem}#hud .lap-card strong{font-size:1rem}#hud .minimap-panel{right:8px;top:52px;width:210px;height:139px;padding:0}#hud #minimapSvg{left:25px;top:24px;width:160px;height:76px}#hud .map-reset{display:none}#hud .speed-cluster{right:7px;bottom:4px;width:220px;height:144px;padding:71px 36px 18px}#hud .speed-display #speedValue{font-size:1.55rem;line-height:1}#hud .touch-controls{bottom:max(3px,env(safe-area-inset-bottom));padding:0 max(3px,env(safe-area-inset-left))}#hud .steer-group{gap:2px}#hud .pedals-group{position:absolute;right:220px;bottom:0;width:174px;height:142px;display:block}#hud .steer-btn{position:relative;width:96px;height:96px;background-size:76px 76px!important;background-position:center!important;background-repeat:no-repeat!important;border:0!important}#hud .brake-btn,#hud .drift-btn,#hud .nitro-btn{position:relative;width:78px;height:78px;background-size:58px 58px!important;background-position:center!important;background-repeat:no-repeat!important;border:0!important}#hud .pedals-group .brake-btn{position:absolute;left:0;bottom:0}#hud .pedals-group .drift-btn{position:absolute;right:0;bottom:0}#hud .pedals-group .nitro-btn{position:absolute;right:0;top:0;background-size:62px 62px!important}#hud .touch-btn{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}#hud .controls-hint,#hud .fps-box{display:none!important}}
