:root{--accent:#ff3b3b;--accent2:#00d0ff;--gold:#ffc23d;--panel:#0c0e149e;--line:#ffffff1a;--text:#f2f4f8;--muted:#9aa3b2;--display:"Orbitron", "Segoe UI", sans-serif;--body:"Rajdhani", "Segoe UI", sans-serif}*{box-sizing:border-box;margin:0;padding:0}html,body{width:100%;height:100%;color:var(--text);font-family:var(--body);-webkit-user-select:none;user-select:none;background:#000;overflow:hidden}#canvas-wrap,#canvas-wrap canvas{touch-action:none;width:100%;height:100%;display:block;position:fixed;inset:0}.hidden{display:none!important}.muted{color:var(--muted)}h2{font-family:var(--display);letter-spacing:.12em;margin:18px 0 12px;font-size:20px;font-weight:800}h3{font-family:var(--display);letter-spacing:.14em;color:var(--muted);margin:18px 0 10px;font-size:12px;font-weight:600}.panel{background:var(--panel);border:1px solid var(--line);-webkit-backdrop-filter:blur(14px)saturate(140%);border-radius:14px;box-shadow:0 10px 40px #00000059}.btn{font-family:var(--display);letter-spacing:.1em;color:var(--text);cursor:pointer;clip-path:polygon(10px 0,100% 0,calc(100% - 10px) 100%,0 100%);background:#ffffff0f;border:1px solid #ffffff29;border-radius:10px;padding:14px 26px;font-size:15px;font-weight:800;transition:transform .12s,background .15s,border-color .15s,box-shadow .15s}.btn:hover{background:#ffffff24;border-color:#ffffff59;transform:translateY(-1px)}.btn:active{transform:translateY(1px)}.btn.primary{background:linear-gradient(135deg,#ff4848,#c4121a);border-color:#0000;box-shadow:0 6px 24px #ff282859}.btn.primary:hover{box-shadow:0 8px 32px #ff28288c}.btn.big{padding:18px 48px;font-size:18px}.btn.small{padding:10px 18px;font-size:12px}.btn.ghost{background:0 0}.btn.danger{color:#ff8080;border-color:#ff505080}.btn:focus-visible,.track-card:focus-visible,.car-item:focus-visible,.btn:focus{outline:none;border-color:var(--accent2)!important;box-shadow:0 0 0 2px var(--accent2), 0 0 22px #00d0ff73!important}.track-card:focus-visible,.car-item:focus-visible{transform:translateY(-2px)}.btn:disabled{opacity:.4;cursor:not-allowed;transform:none}.screen{z-index:10;animation:.35s fadeIn;display:none;position:fixed;inset:0}.screen.active{display:block}.screen.dim{background:#00000073}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.topbar{pointer-events:none;justify-content:space-between;align-items:center;padding:20px 28px;display:flex;position:absolute;top:0;left:0;right:0}.topbar>*{pointer-events:auto}.topbar .money-chip{margin-left:auto}.money-chip{font-family:var(--display);color:var(--gold);text-shadow:0 0 14px #ffc23d66;background:#00000080;border:1px solid #ffc23d59;border-radius:999px;padding:10px 18px;font-size:20px;font-weight:800}.money-chip.bump{animation:.4s bump}@keyframes bump{50%{transform:scale(1.15)}}.menu-left{max-width:520px;position:absolute;top:50%;left:7vw;transform:translateY(-50%)}.logo{font-family:var(--display);letter-spacing:.02em;text-shadow:0 0 30px #ff3b3b59;font-size:clamp(48px,8vw,96px);font-style:italic;font-weight:900;line-height:.9}.logo span{color:var(--accent);display:block}.tagline{color:var(--muted);letter-spacing:.08em;margin:14px 0 34px;font-size:22px}.menu-buttons{flex-direction:column;gap:12px;width:280px;display:flex}.menu-row{gap:8px;display:flex}.menu-row>.btn{white-space:nowrap;letter-spacing:.1em;flex:1;padding-left:6px;padding-right:6px}.career{color:var(--muted);letter-spacing:.05em;margin-top:26px;font-size:16px}#screen-select{overflow-y:auto}.select-wrap{text-align:center;width:min(1220px,94vw);margin:64px auto 0;padding-bottom:104px;position:relative}.select-wrap h2{margin:12px 0 8px;font-size:18px}.select-wrap h2:first-child{margin-top:0}@media (height>=900px){.select-wrap{margin-top:9vh}}.track-list{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;display:grid}.select-actions{z-index:2;background:linear-gradient(#05060a00,#05060af0 45%);flex-wrap:wrap;justify-content:center;align-items:center;gap:12px 28px;padding:26px 20px 18px;display:flex;position:fixed;bottom:0;left:0;right:0}.select-actions .prize-preview{margin:0}.select-actions .btn.big{padding:14px 46px}.seg.filter{margin-bottom:14px}.ttype{vertical-align:middle;border-radius:4px;margin-left:4px;padding:2px 6px;font-size:10px;font-weight:800}.ttype.circuit{color:#7cf0a0;background:#7cf0a02e}.ttype.offroad{color:#e9b27a;background:#d9a06633}.track-card{text-align:left;cursor:pointer;padding:12px 14px;transition:border-color .15s,transform .15s}.track-card:hover{transform:translateY(-2px)}.track-card.sel{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent), 0 10px 40px #ff3b3b40}.track-card canvas{background:#0000004d;border-radius:8px;width:100%;height:86px;margin-bottom:8px;display:block}.track-card h4{font-family:var(--display);letter-spacing:.05em;font-size:15px}.track-card p{color:var(--muted);margin-top:4px;font-size:13.5px;line-height:1.3}.track-card .tag{color:var(--gold);margin-top:6px;font-weight:700;display:inline-block}.diff-list{justify-content:center;gap:12px;display:flex}.diff-list .btn.sel{border-color:var(--accent);background:#ff3b3b33}.prize-preview{color:var(--muted);margin:18px 0;font-size:18px}.prize-preview b{color:var(--gold)}.garage-left{width:270px;padding:6px 16px 16px;position:absolute;top:86px;bottom:24px;left:24px;overflow-y:auto}.garage-right{width:380px;padding:6px 22px 22px;position:absolute;top:86px;bottom:24px;right:24px;overflow-y:auto}.garage-right h2{margin-top:16px;margin-bottom:4px;font-size:24px}.car-item{border:1px solid var(--line);cursor:pointer;border-radius:10px;align-items:center;gap:12px;margin-bottom:10px;padding:12px 14px;transition:border-color .15s,background .15s;display:flex}.car-item:hover{background:#ffffff0f}.car-item.viewing{border-color:var(--accent2);background:#00d0ff14}.car-item .sw{border-radius:50%;flex:none;width:14px;height:14px;box-shadow:0 0 0 2px #fff3}.car-item .grow{flex:1}.cls{font-family:var(--display);color:#000;vertical-align:middle;border-radius:5px;padding:3px 7px;font-size:11px;font-weight:800}.cls-D{background:#9aa3b2}.cls-C{background:#4ade80}.cls-B{background:#38bdf8}.cls-A{background:#f5b400}.cls-S{color:#fff;background:linear-gradient(135deg,#ff3b3b,#c026d3)}.real{font-family:var(--display);border:1px solid var(--accent2);color:var(--accent2);border-radius:4px;margin-right:5px;padding:3px 5px;font-size:9px;font-weight:800}.garage-right h2 .cls{margin-left:6px;font-size:13px}.car-item .nm{font-family:var(--display);letter-spacing:.05em;font-size:14px;font-weight:600}.car-item .st{color:var(--muted);font-size:14px}.car-item .st.own{color:#4ade80}.car-item .st.lock{color:var(--gold)}.stats .stat{margin:9px 0}.stats .stat .lbl{color:var(--muted);letter-spacing:.06em;justify-content:space-between;font-size:14px;font-weight:600;display:flex}.bar{background:#ffffff14;border-radius:4px;height:7px;margin-top:4px;overflow:hidden}.bar>div{background:linear-gradient(90deg, var(--accent2), #6ff);border-radius:4px;height:100%;transition:width .4s}.upg{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding:10px 0;display:flex}.upg .ico{text-align:center;width:30px;font-size:22px}.upg .info{flex:1}.upg .info .t{letter-spacing:.04em;font-size:16px;font-weight:700}.upg .info .d{color:var(--muted);font-size:13px}.pips{gap:3px;margin-top:4px;display:flex}.pips i{background:#ffffff1f;border-radius:2px;width:18px;height:5px}.pips i.on{background:var(--accent);box-shadow:0 0 6px #ff3b3bb3}.upg .btn{min-width:96px;padding:8px 12px;font-size:12px}.paints{flex-wrap:wrap;gap:8px;display:flex}.paints button{cursor:pointer;border:2px solid #fff3;border-radius:50%;width:32px;height:32px;transition:transform .12s}.paints button:hover{transform:scale(1.12)}.paints button.cur{border-color:#fff;box-shadow:0 0 0 3px #ffffff40}#g-action{gap:10px;margin-top:20px;display:flex}#g-action .btn{flex:1}.center-panel{text-align:center;flex-direction:column;gap:10px;width:min(460px,92vw);padding:24px 30px 30px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.center-panel h2{margin-top:4px}.seg{justify-content:center;gap:8px;display:flex}.seg .btn.sel{border-color:var(--accent);background:#ff3b3b33}input[type=range]{width:100%;accent-color:var(--accent)}.credits{text-align:left;width:min(640px,94vw);max-height:80vh;overflow-y:auto}.credits h2{text-align:center}.credit{border-bottom:1px solid var(--line);flex-direction:column;gap:2px;padding:10px 0;display:flex}.credit b{font-size:16px}.credit span{color:var(--muted);font-size:15px}.credit i{color:var(--gold);font-style:normal}.credit a{color:var(--accent2);word-break:break-all;font-size:13px;text-decoration:none}.results{width:min(560px,94vw)}.res-pos{font-family:var(--display);color:var(--text);font-size:84px;font-style:italic;font-weight:900;line-height:1}.res-pos.win{color:var(--gold);text-shadow:0 0 40px #ffc23d99}.res-grid{grid-template-columns:1fr 1fr;gap:10px;margin:12px 0;display:grid}.res-grid div{background:#ffffff0d;border-radius:10px;padding:10px}.res-grid span{color:var(--muted);letter-spacing:.12em;font-size:12px;display:block}.res-grid b{font-family:var(--display);font-size:20px}.standings{text-align:left}.standings .r{border-radius:8px;align-items:center;gap:10px;padding:7px 10px;font-size:17px;display:flex}.standings .r.me{background:#ff3b3b26}.standings .r .p{font-family:var(--display);width:36px}.standings .r .n{flex:1;font-weight:700}.standings .sw{border-radius:50%;width:12px;height:12px}.reward{color:var(--muted);margin:10px 0;font-size:17px}.reward .total{font-family:var(--display);color:var(--gold);text-shadow:0 0 20px #ffc23d73;margin-top:4px;font-size:34px;font-weight:900;display:block}.res-buttons{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}#hud{z-index:5;pointer-events:none;font-family:var(--display);position:fixed;inset:0}.hud-tl{padding:12px 20px;position:absolute;top:20px;left:20px}.hud-pos{font-size:46px;font-style:italic;font-weight:900;line-height:1}.hud-pos small{color:var(--muted);margin-left:4px;font-size:20px}.hud-lap{color:var(--muted);letter-spacing:.1em;margin-top:4px;font-size:15px}.hud-lap b{color:var(--text);font-size:20px}.hud-tr{min-width:210px;padding:12px 18px;position:absolute;top:20px;right:20px}.hud-tr .row{color:var(--muted);letter-spacing:.1em;justify-content:space-between;gap:18px;margin:3px 0;font-size:13px;display:flex}.hud-tr .row b{color:var(--text);font-variant-numeric:tabular-nums;font-size:16px}#minimap{width:190px;height:190px;position:absolute;bottom:20px;left:20px}.speedo{width:220px;height:220px;position:absolute;bottom:22px;right:26px}.speedo svg{filter:drop-shadow(0 0 8px #ff3b3b80);position:absolute;inset:0;transform:rotate(135deg)}.speedo circle{fill:none;stroke-width:6px;stroke-linecap:round}.speedo .track{stroke:#ffffff1f;stroke-dasharray:212 283}.speedo .fill{stroke:var(--accent);stroke-dasharray:283 283;stroke-dashoffset:283px;transition:stroke-dashoffset 80ms linear}.speed-num{text-align:center;text-shadow:0 2px 16px #0009;font-variant-numeric:tabular-nums;width:100%;font-size:62px;font-style:italic;font-weight:900;position:absolute;top:62px}.speed-unit{text-align:center;width:100%;color:var(--muted);letter-spacing:.3em;font-size:12px;position:absolute;top:134px}.gear{text-align:center;width:100%;color:var(--accent2);font-size:20px;font-weight:800;position:absolute;top:24px}.nitro{background:#ffffff1a;border-radius:5px;height:10px;position:absolute;bottom:6px;left:40px;right:40px;overflow:hidden}.nitro div{background:linear-gradient(90deg,#2a7bff,#00e0ff);width:100%;height:100%;transition:width .1s;box-shadow:0 0 10px #00d0ff}.nitro div.active{background:linear-gradient(90deg,#ff8a00,#fff200);box-shadow:0 0 16px #ffae00}.nitro span{letter-spacing:.3em;text-align:center;color:#fffc;font-size:8px;line-height:10px;position:absolute;inset:0}#hud-msg{text-align:center;opacity:0;text-shadow:0 4px 30px #000000b3;width:100%;font-size:64px;font-style:italic;font-weight:900;position:absolute;top:30%}#hud-msg.show{animation:.9s forwards pop}#hud-msg.count{font-size:140px}#hud-msg.go{color:#4ade80;font-size:150px}#hud-msg.gold{color:var(--gold)}@keyframes pop{0%{opacity:0;transform:scale(1.8)}20%{opacity:1;transform:scale(1)}80%{opacity:1}to{opacity:1}}#hud-wrong{text-align:center;color:#ff4040;opacity:0;width:100%;font-size:36px;font-weight:900;transition:opacity .2s;position:absolute;top:18%}#hud-wrong.show{opacity:1;animation:.6s infinite alternate blink}@keyframes blink{to{opacity:.3}}.hint{font-family:var(--body);color:#ffffff8c;letter-spacing:.04em;white-space:nowrap;font-size:14px;position:absolute;bottom:10px;left:50%;transform:translate(-50%)}.pause-btn{pointer-events:auto;border:1px solid var(--line);background:var(--panel);color:#fff;cursor:pointer;border-radius:50%;width:42px;height:42px;font-weight:900;position:absolute;top:20px;left:50%;transform:translate(-50%)}.touch{display:none}@media (pointer:coarse){.hint{display:none}.touch{pointer-events:none;justify-content:space-between;align-items:flex-end;display:flex;position:absolute;bottom:16px;left:16px;right:16px}.tgroup{pointer-events:auto;align-items:flex-end;gap:10px;display:flex}.touch button{color:#fff;touch-action:none;background:#00000059;border:1px solid #ffffff40;border-radius:50%;width:74px;height:74px;font-size:24px}.touch button.held{background:#ff3b3b73}.touch .t-gas{width:90px;height:90px}.touch .t-small,.touch .t-nitro{width:62px;height:62px;font-size:12px;font-weight:800}#minimap{width:120px;height:120px;top:110px;bottom:auto}.speedo{transform-origin:100% 0;top:110px;bottom:auto;transform:scale(.7)}.hud-tr{display:none}.garage-left{width:auto;max-height:30vh;bottom:auto;right:24px}.garage-right{width:auto;height:46vh;top:auto;left:24px}}#loading{z-index:50;font-family:var(--display);letter-spacing:.3em;color:var(--muted);background:#050608;flex-direction:column;justify-content:center;align-items:center;gap:18px;display:flex;position:fixed;inset:0}.spinner{border:4px solid #ffffff1a;border-top-color:var(--accent);border-radius:50%;width:48px;height:48px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}#toast{z-index:60;border:1px solid var(--line);opacity:0;pointer-events:none;background:#0a0c12e6;border-radius:10px;padding:12px 22px;font-size:17px;font-weight:700;transition:opacity .2s,transform .2s;position:fixed;top:92px;left:50%;transform:translate(-50%,20px)}#toast.show{opacity:1;transform:translate(-50%)}#toast.err{color:#ff9a9a;border-color:#ff505099}#toast.ok{color:#8ff0b0;border-color:#4ade8099}.driver{border:1px solid var(--line);background:#00000073;border-radius:12px;align-items:center;gap:12px;width:280px;margin-top:22px;padding:10px 14px;display:flex}.driver .lv{font-family:var(--display);text-align:center;min-width:44px;line-height:1}.driver .lv small{color:var(--muted);letter-spacing:.2em;font-size:10px;display:block}.driver .lv b{color:var(--accent2);text-shadow:0 0 14px #00d0ff80;font-size:28px;font-style:italic;font-weight:900}.driver .grow{flex:1}.driver .t{font-family:var(--display);letter-spacing:.18em;color:var(--muted);font-size:11px}.driver .t .title{color:var(--gold)}.driver .bar{margin:5px 0 3px}.driver small{color:var(--muted);font-size:13px}.menu-buttons+.driver{margin-top:22px}.career{margin-top:12px}#screen-career{overflow-y:auto}.career-wrap{width:min(980px,94vw);margin:70px auto 30px;position:relative}.career-wrap>h2{text-align:center}.career-wrap>.driver{width:320px;margin:0 auto 16px}.champ-list{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;display:grid}.champ-card{cursor:pointer;flex-direction:column;gap:4px;min-height:124px;padding:14px 16px;transition:border-color .15s,transform .15s;display:flex}.champ-card:hover{transform:translateY(-2px)}.champ-card.sel{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent), 0 10px 40px #ff3b3b40}.champ-card.locked{opacity:.55}.champ-card.locked.sel{opacity:.85}.champ-card:focus-visible{outline:none;transform:translateY(-2px);border-color:var(--accent2)!important;box-shadow:0 0 0 2px var(--accent2), 0 0 22px #00d0ff73!important}.champ-card .ch-top{justify-content:space-between;align-items:center;min-height:30px;display:flex}.champ-card h4{font-family:var(--display);letter-spacing:.06em;font-size:16px}.ch-st{font-family:var(--display);letter-spacing:.1em;font-size:11px;font-weight:600}.ch-st.live{color:var(--accent2)}.ch-st.lock{color:var(--muted)}.ch-st.done{color:var(--gold)}.ch-st.open{color:#4ade80}.champ-card .tag{color:var(--gold);margin-top:auto;font-size:15px;font-weight:700}.champ-detail{margin-top:16px;padding:6px 24px 22px}.champ-detail h2 .cls,.champ-panel h2 .cls,.podium-panel h2 .cls{margin-left:6px;font-size:13px}.cd-head{justify-content:space-between;align-items:center;display:flex}.champ-detail>p.muted{font-size:17px}.lock-why{color:var(--gold);background:#ffc23d14;border:1px solid #ffc23d59;border-radius:10px;margin-top:12px;padding:10px 14px;font-size:17px;font-weight:700}.events .ev{border-bottom:1px solid var(--line);border-radius:8px;align-items:center;gap:12px;padding:8px 10px;font-size:17px;display:flex}.events .ev.cur{background:#00d0ff14}.events .ev .n{font-family:var(--display);width:22px;color:var(--muted)}.events .ev .grow{flex:1}.events .tier{color:var(--accent);letter-spacing:2px;font-size:10px}.ev-res{font-family:var(--display);background:#ffffff14;border-radius:5px;padding:3px 8px;font-size:12px;font-weight:800}.ev-res.p1{color:var(--gold)}.ev-res.p2{color:#cfd6e0}.ev-res.p3{color:#e0a060}.ev-next{font-family:var(--display);color:var(--accent2);font-size:12px;font-weight:800}.cd-info{grid-template-columns:1fr 1fr;gap:10px;margin:16px 0 4px;display:grid}.cd-info div{background:#ffffff0d;border-radius:10px;padding:8px 12px}.cd-info span{color:var(--muted);letter-spacing:.14em;font-size:11px;font-family:var(--display);display:block}.cd-info b{color:var(--gold);font-size:16px}.seg.wrap{flex-wrap:wrap;justify-content:flex-start}.seg .btn .cls{margin-left:4px;padding:2px 5px;font-size:9px}.warn{color:var(--gold);margin-top:10px;font-size:16px}.champ-detail .res-buttons{justify-content:flex-start;margin-top:18px}.champ-panel{width:min(640px,94vw)}.champ-steps{flex-wrap:wrap;justify-content:center;gap:6px;margin:4px 0 6px;display:flex}.champ-steps span{border:1px solid var(--line);color:var(--muted);border-radius:999px;padding:4px 10px;font-size:13px;font-weight:700}.champ-steps span.done{color:#4ade80;border-color:#4ade8066}.champ-steps span.cur{color:var(--accent2);border-color:var(--accent2)}.champ-table{text-align:left}.champ-table .r{border-radius:8px;align-items:center;gap:10px;padding:8px 10px;font-size:18px;display:flex}.champ-table .r.h{font-family:var(--display);color:var(--muted);letter-spacing:.12em;padding-bottom:2px;font-size:11px}.champ-table .r.me{background:#ff3b3b26}.champ-table .p{font-family:var(--display);width:40px}.champ-table .sw{border-radius:50%;flex:none;width:12px;height:12px}.champ-table .r.h .sw{visibility:hidden}.champ-table .n{flex:1;font-weight:700}.champ-table .e{text-align:center;width:36px;color:var(--muted);font-variant-numeric:tabular-nums}.champ-table .t{text-align:right;width:48px;font-family:var(--display);color:var(--gold);font-weight:900}.champ-table .r.h .t{color:var(--muted)}.podium-panel{width:min(600px,94vw)}.pod-stage{justify-content:center;align-items:flex-end;gap:10px;margin:6px 0 4px;display:flex}.pod-stage .step{flex-direction:column;align-items:center;width:150px;animation:.6s both rise;display:flex}.pod-stage .step.s1{animation-delay:.25s}.pod-stage .step.s3{animation-delay:.1s}@keyframes rise{0%{opacity:0;transform:translateY(30px)}}.pod-stage .nm{align-items:center;gap:6px;margin:4px 0 6px;font-size:17px;font-weight:700;display:flex}.pod-stage .nm .sw{border-radius:50%;width:10px;height:10px}.pod-stage .me .nm{color:var(--accent)}.pod-stage .block{border:1px solid var(--line);background:linear-gradient(#ffffff29,#ffffff0a);border-bottom:none;border-radius:10px 10px 0 0;flex-direction:column;justify-content:center;align-items:center;width:100%;display:flex}.pod-stage .block b{font-family:var(--display);font-size:34px;font-style:italic;font-weight:900}.pod-stage .block small{color:var(--muted);letter-spacing:.1em;font-size:13px}.pod-stage .s1 .block{border-color:#ffc23d80;height:110px}.pod-stage .s1 .block b{color:var(--gold)}.pod-stage .s2 .block{height:80px}.pod-stage .s3 .block{height:60px}.trophy{filter:drop-shadow(0 4px 14px #00000080);display:block}.trophy.t1{filter:drop-shadow(0 0 18px #ffc23d8c)}.unlocks{flex-direction:column;gap:6px;margin:2px 0 8px;list-style:none;display:flex}.unlocks li{color:#8ff0b0;background:#4ade801a;border:1px solid #4ade8059;border-radius:8px;padding:8px 12px;font-size:17px;font-weight:700}.res-trophy{justify-content:center;display:flex}.res-trophy:empty{display:none}.res-trophy .trophy{animation:.5s both rise}.res-pos.p2{color:#dfe5ee;text-shadow:0 0 30px #cfd6e073}.res-pos.p3{color:#e39a55;text-shadow:0 0 30px #cd7f3273}.res-extra{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.res-extra span{font-family:var(--display);letter-spacing:.08em;border-radius:6px;padding:5px 10px;font-size:12px;font-weight:800}.res-extra .pts{color:#ff8a8a;background:#ff3b3b33}.res-extra .xp{color:var(--accent2);background:#00d0ff26}.res-extra .rec{color:var(--gold);background:#ffc23d26}#screen-records .records{text-align:left;width:min(640px,94vw);max-height:86vh;overflow-y:auto}.records h2,.records h3{text-align:center}#records-list .r{border-bottom:1px solid var(--line);grid-template-columns:1.4fr 1fr 1fr;align-items:center;gap:10px;padding:9px 6px;font-size:17px;display:grid}#records-list .r.h{font-family:var(--display);color:var(--muted);letter-spacing:.12em;font-size:11px}#records-list .n{font-weight:700}#records-list small{color:var(--muted);font-size:13px;font-weight:600;display:block}#records-list b{font-family:var(--display);color:var(--gold);font-variant-numeric:tabular-nums;font-size:16px}#records-list i{color:var(--muted)}.cabinet{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}.cabinet .slot{width:96px;font-family:var(--display);letter-spacing:.08em;color:var(--muted);flex-direction:column;align-items:center;gap:4px;font-size:10px;display:flex}.cabinet .ph{color:#ffffff40;border:2px dashed #ffffff26;border-radius:50%;justify-content:center;align-items:center;width:52px;height:52px;font-size:20px;display:flex}.car-item .st s,#g-action s{opacity:.55;margin-right:4px}.free{color:#4ade80}.podium-panel .res-pos{font-size:52px}.podium-panel{max-height:96vh;overflow-y:auto}@media (height<=820px){.logo{font-size:clamp(40px,5.6vw,64px)}.menu-buttons .btn{padding-top:10px;padding-bottom:10px}.tagline{margin:8px 0 18px;font-size:19px}.menu-buttons{gap:8px}.menu-buttons .btn{padding:11px 26px}.menu-buttons .btn.small{padding:8px 18px}.driver{margin-top:14px;padding:8px 14px}.career-wrap>.driver{margin-top:0}}#screen-replay,#screen-photo{pointer-events:none}#screen-replay>*,#screen-photo>*{pointer-events:auto}#screen-photo{pointer-events:auto;cursor:grab}#screen-photo:active{cursor:grabbing}.rp-top{align-items:center;gap:14px;display:flex;position:absolute;top:18px;left:22px;right:22px;pointer-events:none!important}.rp-badge{font-family:var(--display);letter-spacing:.14em;border-left:3px solid var(--accent);background:#0a0c1299;border-radius:4px;align-items:center;gap:8px;padding:6px 14px 6px 12px;font-size:18px;font-style:italic;font-weight:900;display:flex}.rp-badge i{background:var(--accent);width:10px;height:10px;box-shadow:0 0 10px var(--accent);border-radius:50%;animation:1.2s infinite rpBlink}@keyframes rpBlink{50%{opacity:.2}}#rp-car{font:700 17px var(--body);letter-spacing:.06em;background:#0a0c128c;border-radius:4px;align-items:center;gap:8px;padding:6px 12px;display:flex}#rp-car .sw{border-radius:50%;width:12px;height:12px;box-shadow:0 0 0 2px #ffffff40}#rp-cam{font:800 12px var(--display);letter-spacing:.16em;color:var(--accent2);text-shadow:0 0 12px #00d0ff80;margin-left:auto}.rp-bar{flex-wrap:wrap;align-items:center;gap:10px;width:min(980px,100vw - 32px);padding:10px 14px;display:flex;position:absolute;bottom:34px;left:50%;transform:translate(-50%)}.rp-bar .btn.small{padding:8px 12px;font-size:11px}.rp-bar .seg{gap:4px}.rp-bar .seg .btn{padding:8px 9px}#rp-play{min-width:46px}.rp-seekwrap{font:700 14px var(--body);color:var(--muted);font-variant-numeric:tabular-nums;flex:200px;align-items:center;gap:8px;display:flex}.rp-seekwrap input{flex:1}.rp-help,.ph-help{text-align:center;font:600 13px var(--body);letter-spacing:.08em;color:var(--muted);text-shadow:0 1px 4px #000;position:absolute;bottom:10px;left:0;right:0;pointer-events:none!important}#ph-panel{cursor:default;width:260px;max-height:calc(100vh - 36px);padding:4px 18px 16px;position:absolute;top:18px;right:18px;overflow-y:auto}#ph-panel h2{margin:14px 0 6px;font-size:17px}.ph-row{margin:9px 0}.ph-row label{color:var(--muted);letter-spacing:.06em;justify-content:space-between;font-size:14px;font-weight:600;display:flex}.ph-row label b{color:var(--text);font-weight:700}.ph-row input:disabled{opacity:.35}#ph-panel .btn{width:100%;margin-top:8px}.ph-btns{gap:6px;display:flex}.ph-btns .btn{padding:10px 6px}#ph-post-note{color:var(--gold);margin:4px 0;font-size:13px}#ph-flash{opacity:0;background:#fff;position:fixed;inset:0;pointer-events:none!important}#ph-flash.go{animation:.45s ease-out phFlash}@keyframes phFlash{0%{opacity:.85}to{opacity:0}}@media (width<=700px),(height<=460px){.rp-bar{gap:6px;padding:6px 8px;bottom:26px}.rp-help,.ph-help{font-size:11px;bottom:4px}.rp-badge,#rp-car{font-size:14px}#ph-panel{width:210px;max-height:calc(100vh - 16px);padding:0 12px 10px;top:8px;right:8px}#ph-panel h2{margin:6px 0 0;font-size:13px}.ph-row{margin:1px 0}.ph-row input{height:14px}.ph-help{text-align:left;left:10px;right:220px}.ph-btns .btn{font-size:10px}.ph-row label{font-size:12px}#ph-panel .btn{margin-top:5px;padding:7px 10px}}#hud.split .hud-tl,#hud.split .hud-tr,#hud.split .speedo,#hud.split .hint,#hud.split #hud-draft,#hud.split #hud-ticker,#hud.split #hud-wrong,#hud.split .touch{display:none}#hud.split #hud-msg{z-index:3;top:calc(50% - .6em)}#hud.split #minimap{--mm:min(130px, 24vh);width:var(--mm);height:var(--mm);left:10px;right:auto;top:calc(50% - 10px - var(--mm));z-index:2;bottom:auto}#hud.split-v #minimap{--mm:min(130px, 18vw);left:calc(50% - var(--mm) / 2);top:calc(50% - var(--mm) / 2)}#hud.split .pause-btn{z-index:2}.ss-divider{z-index:1;background:#05060a;position:absolute;box-shadow:0 0 0 1px #ffffff1f}#hud.split-h .ss-divider{height:4px;top:calc(50% - 2px);left:0;right:0}#hud.split-v .ss-divider{width:4px;top:0;bottom:0;left:calc(50% - 2px)}.ss-hud{position:absolute;overflow:hidden}.ss-tl{align-items:center;gap:12px;padding:6px 14px;display:flex;position:absolute;top:10px;left:10px}.ss-tag{color:#fff;text-shadow:0 1px 3px #000;border-radius:4px;padding:3px 8px;font-size:13px;font-weight:900}.ss-pos b{font-size:28px;font-style:italic;font-weight:900}.ss-pos small{color:var(--muted);margin-left:2px;font-size:13px}.ss-lap{color:var(--muted);letter-spacing:.1em;font-size:11px}.ss-lap b{color:var(--text);font-size:15px}.ss-tr{color:var(--muted);letter-spacing:.1em;grid-template-columns:auto auto;align-items:baseline;gap:2px 12px;padding:6px 12px;font-size:10px;display:grid;position:absolute;top:10px;right:10px}.ss-tr b{color:var(--text);font-variant-numeric:tabular-nums;text-align:right;font-size:13px}.ss-speedo{text-align:right;width:150px;padding:4px 12px 16px;position:absolute;bottom:10px;right:10px}.ss-kmh{font-variant-numeric:tabular-nums;font-size:32px;font-style:italic;font-weight:900}.ss-speedo small{color:var(--muted);letter-spacing:.2em;margin-left:4px;font-size:9px}.ss-gear{color:var(--accent2);font-size:18px;font-weight:800;position:absolute;top:12px;left:12px}.ss-speedo .nitro{height:6px;bottom:6px;left:12px;right:12px}.ss-msg{text-align:center;opacity:0;text-shadow:0 4px 30px #000000b3;width:100%;font-size:40px;font-style:italic;font-weight:900;position:absolute;top:26%}.ss-msg.show{animation:.9s forwards pop}.ss-msg.gold{color:var(--gold)}.ss-wrong{text-align:center;color:#ff4040;opacity:0;width:100%;font-size:26px;font-weight:900;transition:opacity .2s;position:absolute;top:42%}.ss-wrong.show{opacity:1;animation:.6s infinite alternate blink}.ss-hint{font-family:var(--body);color:#ffffffbf;white-space:nowrap;text-shadow:0 1px 4px #000;font-size:13px;transition:opacity .6s;position:absolute;bottom:12px;left:50%;transform:translate(-50%)}.ss-hud.racing .ss-hint{opacity:0}.p2-wrap{width:min(820px,92vw);max-height:calc(100vh - 90px);padding:18px 24px;position:absolute;top:50%;left:50%;overflow-y:auto;transform:translate(-50%,-50%)}.p2-cols{grid-template-columns:1fr 1fr;gap:12px;margin-top:10px;display:grid}@media (width<=700px){.p2-cols{grid-template-columns:1fr}}.p2-col{border:1px solid var(--line);border-radius:10px;padding:12px 14px}.p2-lbl{font-family:var(--display);letter-spacing:.2em;color:var(--accent2);margin-bottom:8px;font-size:12px}.p2-pick{align-items:center;gap:10px;margin-bottom:6px;display:flex}.p2-car{text-align:center;flex:1;justify-content:center;align-items:center;gap:8px;font-size:17px;display:flex}.p2-car .sw,.p2-res .sw{border-radius:50%;width:14px;height:14px;display:inline-block}.p2-wrap .seg{justify-content:flex-start}.p2-wrap .small-print{margin:14px 0;font-size:14px}.p2-res{justify-content:center;align-items:center;gap:14px;margin:2px 0;font-size:17px;display:flex}@media (height<=520px){.logo{font-size:40px}.tagline{margin:4px 0 10px;font-size:15px}.menu-buttons{grid-template-columns:1fr 1fr;gap:6px;width:380px;display:grid}.menu-buttons .btn{padding:8px 10px;font-size:13px}.menu-row{grid-column:1/-1}.driver{width:380px;margin-top:8px;padding:4px 12px}.menu-left{left:5vw}.track-list{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}.track-card{padding:8px 10px}.track-card h4{font-size:12px}.select-wrap h2{margin:6px 0 4px;font-size:14px}.seg.filter{margin-bottom:8px}.diff-list .btn{padding:8px 16px}.career{display:none}.select-wrap{margin-top:56px;padding-bottom:76px}.track-card canvas{height:46px}.track-card p{display:none}.select-actions{padding:14px 12px 10px}.select-actions .prize-preview{font-size:14px}.select-actions .btn.big{padding:10px 30px;font-size:15px}}
