.mobile-hud,.rotate-prompt{display:none}
.touch-controls{display:none!important}
.settings-grid input[type=range]{width:100%;accent-color:#edcc85;min-height:40px}
body.mobile-ui.racing .mobile-hud{display:flex}
.mobile-hud{position:absolute;z-index:4;top:0;left:0;right:0;min-height:62px;padding:calc(7px + env(safe-area-inset-top)) calc(146px + env(safe-area-inset-right)) 7px calc(18px + env(safe-area-inset-left));align-items:center;gap:18px;background:linear-gradient(180deg,#202425ed,#24262b9c);border-bottom:1px solid #edcc8545;pointer-events:none;color:#fff0d4}
.mobile-brand{font:800 italic 19px var(--display);white-space:nowrap}.mobile-brand>span{color:#edcc85}
.mobile-driver{max-width:min(24vw,170px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#edcc85;font:700 9px var(--mono);letter-spacing:.4px}
body.mobile-ui.racing .player-account{display:none!important}body.mobile-ui.racing .mobile-brand{display:none}body.mobile-ui.racing .mobile-driver:not([hidden]){display:block;flex:0 1 auto}
.mobile-stat{display:flex;align-items:baseline;gap:6px;white-space:nowrap}.mobile-stat small{font:700 9px var(--mono);color:#edcc85}.mobile-stat b{font:700 20px var(--display)}
.mobile-speed{display:flex;align-items:baseline;gap:7px;margin-left:auto;white-space:nowrap}.mobile-speed strong{font:800 33px/.9 var(--display)}.mobile-speed>span{font:8px var(--mono)}.mobile-speed b{margin-left:4px;color:#edcc85}
.mobile-energy{width:84px;flex-shrink:0}.mobile-energy>span{display:flex;justify-content:space-between;font:700 9px var(--mono);color:#edcc85}.mobile-energy>i{display:block;height:5px;border-radius:4px;margin-top:6px;background:#ffffff20;overflow:hidden}.mobile-energy em{display:block;width:100%;height:100%;background:#edcc85;transition:width .12s linear}
body.mobile-ui .hud-top{left:auto!important;right:calc(12px + env(safe-area-inset-right))!important;top:calc(11px + env(safe-area-inset-top))!important;bottom:auto!important;transform:none;z-index:5}
body.mobile-ui .session-actions{gap:5px}body.mobile-ui .session-actions .glass-icon{height:38px;width:38px;display:none!important;border-radius:9px;background:#24262b99}
body.mobile-ui .session-actions #camera-button,body.mobile-ui .session-actions #pause-button{display:grid!important}
body.mobile-ui .minimap,body.mobile-ui.racing .minimap{top:calc(72px + env(safe-area-inset-top))!important;left:calc(17px + env(safe-area-inset-left))!important;bottom:auto!important;width:104px!important;height:75px!important;border-radius:12px!important;border-width:1px!important;background:#293d2e80!important}
body.mobile-ui.racing .touch-controls{display:flex!important;position:absolute;z-index:5;left:calc(18px + env(safe-area-inset-left));right:calc(18px + env(safe-area-inset-right));bottom:calc(18px + env(safe-area-inset-bottom))!important;align-items:flex-end;justify-content:space-between;pointer-events:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.steering-controls{display:flex;align-items:center;gap:10px;pointer-events:auto}.touch-controls #touch-recover{display:grid;place-items:center;width:46px;height:46px;padding:0;border:2px solid #edcc85a8;border-radius:50%;background:#24262bd9;color:#ffe1a6;font:800 19px var(--display);box-shadow:0 3px 14px #0004;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.touch-controls #touch-recover:active{background:#edcc85;color:#24262b}
.touch-controls .steer-pad{--steer:0;position:relative;display:flex;align-items:center;justify-content:space-between;width:clamp(155px,28vw,255px);height:82px;gap:13px;padding:18px 18px 7px;border:2px solid #f4dfb995;border-radius:44px;background:#20252abf;touch-action:none;pointer-events:auto;box-shadow:0 3px 14px #0003}
.steer-label{position:absolute;top:9px;left:0;right:0;text-align:center;font:700 9px var(--mono);letter-spacing:2px;color:#fff0d4}.steer-arrow{font:35px var(--body);color:#f6dfb4;line-height:1}
.steer-track{position:relative;flex:1;height:6px;border-radius:3px;background:repeating-linear-gradient(90deg,#ffffff25 0,#ffffff25 16px,#ffffff40 17px,#ffffff40 18px)}.steer-track i{position:absolute;width:35px;height:35px;left:50%;top:50%;transform:translate(calc(-50% + var(--steer)*43px),-50%);background:#edcc8570;border:2px solid #ffebc3;border-radius:50%;box-shadow:0 0 10px #edcc8520}
.touch-controls .pedal-pad{display:flex;align-items:flex-end;gap:14px;pointer-events:auto;touch-action:none}
.touch-controls .pedal-pad button{display:flex;min-width:0;border:2px solid #f1d5a177;border-radius:22px;overflow:hidden;align-items:center;justify-content:center;padding:0;touch-action:none;backdrop-filter:none;-webkit-tap-highlight-color:transparent;color:#fff0d4;font-family:var(--mono);box-shadow:0 4px 16px #0003}
.touch-controls .touch-brake{flex-direction:column;gap:6px;width:80px;height:103px;background:#24262bce;border-color:#ef9b8e!important}.touch-brake b{font-size:10px;letter-spacing:1px}.brake-symbol{font:34px Arial;color:#ef9b8e;line-height:1}
.touch-controls .drive-pad{width:100px;height:145px;flex-direction:column;background:#292a2bce;border-color:#edcc85bb!important}.drive-pad>span{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.touch-boost{height:42%;gap:1px;background:#edcc851a;border-bottom:1px solid #edcc8555;color:#edcc85}.touch-boost i{font:26px/.8 Arial;font-style:normal}.touch-boost b{font-size:11px;letter-spacing:1px}.touch-controls small{font:6px var(--mono);letter-spacing:.6px}.touch-gas{height:58%;gap:4px}.touch-gas>b{font:800 28px var(--display);letter-spacing:2px}.touch-mode{position:absolute;bottom:4px;left:50%;transform:translateX(-50%);font:7px var(--mono);letter-spacing:1px;background:#24262bc2;border:1px solid #f1d5a13d;border-radius:12px;padding:7px 11px;color:#ead4b1;white-space:nowrap}
.touch-controls .pedal-pad .drive-pad:active{background:#292a2bce;color:#fff0d4}
.touch-controls .touch-brake.pressed{background:#dd8270;color:#231e1d}.touch-brake.pressed .brake-symbol{color:#231e1d}.drive-pad.pressed .touch-gas{background:#edcc85;color:#2b2923}.drive-pad.boosting .touch-boost{background:#b8f4fb;color:#19343c}.drive-pad.boosting{border-color:#b8f4fb!important;box-shadow:0 0 20px #93efff44}
.rotate-prompt:not([hidden]){position:fixed;inset:0;z-index:30;display:grid;place-content:center;padding:28px;background:#1b2429f5;text-align:center;color:#fff0d4}.rotate-prompt>div{max-width:340px}.rotate-phone{display:block;font:90px/1 Arial;color:#edcc85;margin-bottom:24px}.rotate-prompt .eyebrow{font:9px var(--mono);letter-spacing:2px;color:#edcc85}.rotate-prompt h2{font:800 italic 44px/.95 var(--display);margin:18px 0}.rotate-prompt p{font:13px/1.7 var(--body);color:#c7c6b4}
body.mobile-ui .race-message{top:23%;font-size:9px;max-width:62%}body.mobile-ui .start-lights{top:29%}
body.photo #arcade-hud,body.photo .mobile-hud,body.overview .mobile-hud,body.on-title .mobile-hud{display:none!important}
@media(max-width:690px){.mobile-hud{gap:10px;padding-left:calc(12px + env(safe-area-inset-left));padding-right:calc(137px + env(safe-area-inset-right));min-height:56px}.mobile-brand{display:none}.mobile-driver{max-width:clamp(54px,17vw,110px);font-size:8px}.mobile-stat small{font-size:7px}.mobile-stat b{font-size:18px}.mobile-speed strong{font-size:29px}.mobile-energy{width:65px}.mobile-energy>span{font-size:8px}.touch-mode{display:none}.touch-controls .steer-pad{height:76px;padding-left:12px;padding-right:12px;gap:8px}.steer-track i{transform:translate(calc(-50% + var(--steer)*27px),-50%)}.touch-controls .drive-pad{width:90px;height:132px}.touch-controls .touch-brake{width:72px;height:96px}.touch-controls .pedal-pad{gap:12px}}
@media(max-height:345px) and (orientation:landscape){.touch-controls .drive-pad{height:120px;width:88px}.touch-controls .touch-brake{height:88px;width:70px}.touch-controls .steer-pad{height:70px}body.mobile-ui .minimap,body.mobile-ui.racing .minimap{width:87px!important;height:61px!important;top:64px!important}body.mobile-ui .touch-controls{bottom:calc(10px + env(safe-area-inset-bottom))!important}}

