/* Original GRAVELSHIFT cockpit HUD. Desktop and touch layouts share game controls. */
body.playing .topbar{height:64px;padding:0 24px}body.playing .brand{font-size:20px}body.playing .brand-icon{font-size:30px}body.playing .live-label{display:none}body.playing .icon-button{height:32px;font-size:16px}
.race-info{top:78px;left:24px;gap:22px;padding:14px 18px;background:#0c1820e0;border:1px solid #d4e8ed2a;border-radius:8px;box-shadow:0 8px 24px #0003}.race-info>div{padding-right:22px}.race-info small{font-size:11px;letter-spacing:1.7px;color:#adbfc8}.race-info strong{font-size:44px;line-height:1.12;font-variant-numeric:tabular-nums}.race-info #position{color:#ff9b5c}.race-info .time-block strong{font-size:29px;margin:8px 0 3px}.time-block>span{font-size:11px;letter-spacing:.5px}.race-info strong span{font-size:14px}
.leaderboard{left:auto;right:24px;top:78px;width:190px}.standing{background:#0c1820cc;padding:9px 12px;margin-bottom:3px;font-size:12px;border-radius:3px;border-left-width:3px}.standing.you{background:#1b3540ed;border-color:#ff9b5c}.standing span{font-size:11px;color:#c7d8df}.standing i{width:6px;height:10px;border-radius:1px}
.minimap{bottom:24px;left:24px;width:185px;background:#0c1820db;border:1px solid #d4e8ed2a;border-radius:8px;padding:12px}.minimap canvas{height:108px}.minimap .section-label{font-size:9px;letter-spacing:.9px}.minimap .section-label span{display:none}
.telemetry{right:24px;bottom:72px;width:220px;background:#0c1820e3;border:1px solid #d4e8ed2a;border-radius:10px;padding:15px 18px;box-shadow:0 8px 24px #0003}#power-status{min-height:14px;font-size:10px;letter-spacing:.8px;color:#b9d4d9}.speed{gap:12px}.speed>strong{font-size:86px;line-height:1.05}.speed>span{font-size:11px;margin-top:14px}.speed b{display:inline-block;min-width:24px;font-size:28px;color:#ff9b5c}.rpm{height:5px;border-radius:2px;background:#bed3dc25}.rpm i{background:linear-gradient(90deg,#a3d5d0 0%,#d4e7dd 70%,#ff9b5c 90%)}.nitro-label{font-size:10px;letter-spacing:.8px;margin:13px 0 7px}.nitro{height:7px;border-radius:3px;background:#bed3dc25}.nitro i{background:repeating-linear-gradient(90deg,#ff9b5c 0,#ff9b5c 15px,#d77b4020 15px,#d77b4020 18px)}.nitro-label kbd{font-size:9px}
.drive-tools{bottom:25px;right:24px;gap:8px}.drive-tools button{font-size:11px;background:#0c1820df;border-radius:5px;padding:10px 12px}.drive-tools kbd{font-size:9px}.toast{border-radius:5px;background:#0c1820ed;font-size:14px}
#stage-progress{position:absolute;top:78px;left:50%;transform:translateX(-50%);width:220px;padding:10px 12px;background:#0c1820dc;border:1px solid #d4e8ed2a;border-radius:6px;font-size:10px;letter-spacing:1.2px;color:#c3d6dc}#stage-progress span{display:block;margin-bottom:7px}#stage-progress>div{height:3px;background:#bed3dc30}#stage-progress i{display:block;width:0;height:3px;background:#ff9b5c}
body.result-open #stage-progress{display:none}
@media(max-width:1100px){#stage-progress{top:184px;left:24px;transform:none;width:210px}.leaderboard{width:160px}.standing{font-size:11px}}
@media(max-width:800px){body.playing .topbar{height:58px;padding:0 4%}body.playing .brand{font-size:17px}.race-info{top:68px;left:4%;gap:12px;padding:10px 12px}.race-info>div{padding-right:12px}.race-info small{font-size:9px;letter-spacing:1px}.race-info strong{font-size:32px}.race-info .time-block strong{font-size:23px;margin-top:5px}.race-info strong span{font-size:12px}.time-block>span{font-size:9px}.leaderboard{display:none}.minimap{left:4%;bottom:160px;width:132px;padding:9px}.minimap canvas{height:75px}.minimap .section-label{font-size:8px}.telemetry{right:4%;bottom:160px;width:156px;padding:10px 12px}.speed>strong{font-size:62px}.speed>span{font-size:9px}.speed b{font-size:24px}#power-status{font-size:8px;letter-spacing:.2px}.nitro-label{font-size:8px}.nitro-label kbd{display:none}.drive-tools{bottom:120px;right:4%}.drive-tools button{padding:8px;font-size:10px}#stage-progress{top:155px;left:4%;width:185px;font-size:9px;padding:8px}.toast{font-size:12px}}
@media(max-width:1000px) and (max-height:600px){.race-info{top:65px;left:3%;padding:8px 10px;gap:12px}.race-info strong{font-size:29px}.race-info small{font-size:9px}.race-info>div{padding-right:12px}.race-info .time-block strong{font-size:23px;margin-top:4px}.time-block>span{display:none}.leaderboard,#stage-progress{display:none}.minimap{left:3%;bottom:78px;width:125px;padding:8px}.minimap canvas{height:55px}.minimap .section-label{font-size:8px}.telemetry{right:3%;bottom:78px;width:156px;padding:8px 11px}.speed>strong{font-size:52px}.speed>span{font-size:9px;margin-top:4px}.speed b{font-size:22px}#power-status{font-size:8px;min-height:10px}.nitro-label{font-size:8px;margin:6px 0}.nitro-label kbd{display:none}.drive-tools{top:67px;bottom:auto;right:3%}.drive-tools button{font-size:10px;padding:8px}.toast{top:36%;font-size:11px}}
@media(max-width:450px){body.playing .topbar{padding:0 3%}.race-info{left:3%;right:3%;justify-content:space-between}.minimap{bottom:180px}.telemetry{bottom:180px}#stage-progress{left:3%;top:150px;width:175px}}
@media(max-width:600px) and (min-height:601px){.drive-tools{top:200px;bottom:auto;right:4%;gap:5px}.drive-tools button{font-size:9px;padding:8px 6px}}
