.game-content{position:absolute;inset:0}.touch-mode{overscroll-behavior:none}.touch-mode .world{touch-action:none}.touch-mode button{-webkit-tap-highlight-color:transparent}.touch-controls{z-index:14;pointer-events:none;-webkit-user-select:none;user-select:none;position:absolute;inset:0}.touch-controls>div{bottom:max(14px, env(safe-area-inset-bottom));pointer-events:auto;position:absolute}.touch-button{color:#ecf7fc;touch-action:none;-webkit-touch-callout:none;background:#112432cf;border:1px solid #d6edff55;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-width:48px;min-height:48px;padding:8px;display:flex;box-shadow:0 4px 15px #0003}.touch-button strong{letter-spacing:1px;font-size:12px}.touch-button small{letter-spacing:.5px;color:#b3c9d5;white-space:nowrap;font-size:8px}.touch-button.pressed{color:#101e21;background:#d7fc70;border-color:#e9ffa9;box-shadow:0 0 22px #d7fc7040}.touch-button.pressed small{color:#25352b}.touch-steering{left:max(16px, env(safe-area-inset-left));width:154px}.touch-steer-row{grid-template-columns:1fr 1fr;gap:8px;display:grid}.touch-direction{min-height:70px}.touch-direction strong{font-size:23px}.touch-drift{flex-direction:row;gap:10px;width:100%;min-height:45px;margin-bottom:8px}.touch-drift small{font-size:7px}.touch-driving{right:max(16px, env(safe-area-inset-right));width:208px}.touch-abilities{grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:8px;display:grid}.touch-abilities .touch-button{min-height:52px}.touch-boost{border-color:#6bdcfe99}.touch-boost strong{color:#8ee8ff}.touch-jump{border-color:#d7fc7099}.touch-jump strong{color:#d7fc70}.touch-item{border-color:#d79dff99}.touch-item small{font-size:7px}.touch-item>svg{width:24px;height:24px;color:var(--item-color)}.touch-button.pressed strong{color:#101e21}.touch-pedals{grid-template-columns:.85fr 1.15fr;gap:8px;display:grid}.touch-pedals .touch-button{min-height:70px}.touch-gas{background:#b8e97126;border-color:#d7fc7080}.touch-tools{gap:7px;display:flex;left:calc(50% - 26px);transform:translate(-50%)}.touch-tools .touch-button{border-radius:10px;width:46px;min-width:46px;padding:6px 3px}.touch-tools strong{font-size:9px}.touch-mode .topbar,.touch-mode.in-race .topbar{top:max(8px, env(safe-area-inset-top));left:max(16px, env(safe-area-inset-left));right:max(16px, env(safe-area-inset-right))}.touch-mode .top-actions{gap:7px}.touch-mode .topbar .icon-button{width:44px;height:44px}.touch-mode .wordmark{font-size:27px}.touch-mode .wordmark b,.touch-mode .build-tag{display:none}.touch-mode .race-top{top:max(10px, env(safe-area-inset-top));gap:16px;left:46%}.touch-mode .race-top strong{font-size:28px}.touch-mode .race-top strong small{font-size:15px}.touch-mode .race-top span{letter-spacing:1.2px;font-size:7px}.touch-mode .time-block>small,.touch-mode .race-controls,.touch-mode .race-map{display:none}.touch-mode .race-standing{top:65px;left:max(16px, env(safe-area-inset-left));gap:2px;width:125px}.touch-mode .race-standing>div{-webkit-backdrop-filter:none;backdrop-filter:none;gap:5px;height:23px;padding:0 6px}.touch-mode .race-standing>div:not(.current){opacity:.75}.touch-mode .race-standing strong{font-size:8px}.touch-mode .race-standing>div>span{font-size:14px}.touch-mode .next-gate{top:62px;right:max(16px, env(safe-area-inset-right))}.touch-mode .next-gate>span{font-size:7px}.touch-mode .next-gate strong{font-size:20px}.touch-mode .next-gate strong i{font-size:24px}.touch-mode .next-gate strong small{font-size:12px}.touch-mode .telemetry{bottom:calc(max(14px, env(safe-area-inset-bottom)) + 62px);-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;width:126px;padding:0;left:calc(50% - 26px);right:auto;transform:translate(-50%)}.touch-mode .speed{justify-content:center;gap:8px}.touch-mode .speed>strong{font-size:43px}.touch-mode .speed>div{gap:3px;padding-top:4px}.touch-mode .speed span{font-size:7px}.touch-mode .speed b{font-size:6px}.touch-mode .telemetry>:not(.speed){display:none}.touch-mode .race-center-message{text-align:center;white-space:normal;width:auto;top:80px;left:155px;right:150px;transform:none}.touch-mode .race-center-message strong{letter-spacing:.5px;padding:7px;font-size:9px;display:inline-block}.touch-mode .countdown>strong{font-size:84px}.touch-mode .countdown>span{font-size:9px}.touch-mode .countdown>p{font-size:8px}.touch-mode .overlay{padding:max(12px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left))}.touch-mode .panel{overscroll-behavior:contain;touch-action:pan-y;max-height:94dvh;padding:20px;overflow-y:auto}.touch-mode .panel input{font-size:16px}.touch-mode .touch-guide{grid-template-columns:1fr 1fr;column-gap:18px}.touch-mode .touch-guide kbd{white-space:nowrap}.touch-mode .tip{display:none}.touch-mode.home-screen .hero{top:max(62px, calc(env(safe-area-inset-top) + 50px));left:max(22px, env(safe-area-inset-left));width:min(44vw,360px);max-height:calc(100dvh - 78px - env(safe-area-inset-bottom));overscroll-behavior:contain;touch-action:pan-y;padding:2px 6px 12px 2px;overflow-y:auto}.touch-mode.home-screen .hero h1{margin:0 0 12px;font-size:clamp(35px,8.8vh,65px)}.touch-mode.home-screen .hero h1 br{display:none}.touch-mode.home-screen .hero h1 em:before{content:" ";white-space:pre}.touch-mode.home-screen .driver-row{gap:12px;width:100%;margin:0}.touch-mode.home-screen .name-label{width:130px}.touch-mode.home-screen .name-label input{padding-bottom:5px;font-size:16px}.touch-mode.home-screen .colors{gap:2px;padding:0}.touch-mode.home-screen .colors button{border-radius:6px;width:28px;height:32px}.touch-mode.home-screen .plate-name-hint{font-size:6px}.touch-mode.home-screen .compact-circuit-picker{max-width:none;margin-top:10px;display:block}.touch-mode.home-screen .compact-circuit-picker .circuit-picker{margin:0}.touch-mode.home-screen .compact-circuit-picker button{min-height:44px;padding:6px;font-size:10px}.touch-mode.home-screen .compact-circuit-picker button span{display:none}.touch-mode.home-screen .play-actions{grid-template-columns:1.1fr 1fr;gap:7px;width:100%;margin-top:8px;display:grid}.touch-mode.home-screen .play-actions>button{letter-spacing:.5px;min-height:44px;padding:0 10px;font-size:10px}.touch-mode.home-screen .play-actions .friends-button{grid-column:1/-1;gap:12px}.touch-mode.home-screen .track-card,.touch-mode.home-screen .menu-hint,.touch-mode.home-screen .menu-footer>span{display:none}.touch-mode.home-screen .menu-footer{left:auto;bottom:max(12px, env(safe-area-inset-bottom));right:max(16px, env(safe-area-inset-right))}.touch-mode.home-screen .menu-footer button{min-height:44px;padding:10px}.rotate-screen{z-index:100;padding:max(28px, env(safe-area-inset-top)) 28px max(28px, env(safe-area-inset-bottom));text-align:center;background:radial-gradient(at 50% 35%,#1d3b50,#07121f 72%);flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.rotate-screen h1{margin:20px 0;font:800 clamp(36px,10vw,60px)/1.05 Barlow Condensed,Impact,sans-serif}.rotate-screen>p:not(.eyebrow){color:#bbced8;font-size:14px;line-height:1.8}.rotate-screen>small{color:#ffbd89;margin-top:22px;font-size:12px}.rotate-phone{border:2px solid #c7e3ed;border-radius:12px;place-items:center;width:110px;height:64px;margin:0 0 50px;animation:3s ease-in-out infinite phone-turn;display:grid;box-shadow:0 0 40px #78dfff22}.rotate-phone>span{font:800 28px Barlow Condensed,sans-serif}.rotate-phone span span{color:var(--acid)}@keyframes phone-turn{0%,12%{transform:rotate(-90deg)}45%,85%,to{transform:rotate(0)}}@media (max-width:650px) and (orientation:landscape){.touch-steering{width:136px;left:max(10px, env(safe-area-inset-left))}.touch-driving{width:184px;right:max(10px, env(safe-area-inset-right))}.touch-button strong{font-size:10px}.touch-direction strong{font-size:21px}.touch-tools{gap:4px}.touch-tools .touch-button{width:42px;min-width:42px}.touch-tools strong{font-size:8px}.touch-mode .race-standing>div:not(.current){display:none}.touch-mode .race-center-message{left:145px;right:135px}.touch-mode.home-screen .hero{width:49vw}}@media (prefers-reduced-motion:reduce){.rotate-phone{animation:none}}.mobile-settings{margin-bottom:18px}.mobile-settings fieldset{border:0;margin:0;padding:0}.mobile-settings legend,.home-screen-advice>strong{color:var(--acid);font-size:11px}.steering-options{flex-wrap:wrap;gap:16px;margin:12px 0;display:flex}.steering-options label{align-items:center;gap:6px;min-height:44px;font-size:12px;display:flex}.steering-options input{accent-color:var(--acid)}.sensor-settings p,.home-screen-advice p{margin:6px 0;font-size:12px;line-height:1.5}.home-screen-advice{border-top:1px solid var(--mobile-border);margin-top:16px;padding-top:12px}.touch-mode.home-screen .home-screen-advice{margin-top:10px}.touch-mode.home-screen .home-screen-advice p{font-size:11px}.steering-wheel{touch-action:none;width:112px;height:112px;color:var(--mobile-text);background:0 0;border:0;place-items:center;margin:0 auto;padding:0;display:grid}.steering-wheel svg{width:108px;height:108px;fill:var(--mobile-surface);stroke:var(--mobile-text);stroke-width:7px;filter:drop-shadow(var(--mobile-shadow))}.steering-wheel .wheel-marker{stroke:var(--acid)}.tilt-centre{width:100%;height:70px}.tilt-centre strong{font-size:25px}.enable-sensors{width:100%;min-height:44px;margin-top:6px}.touch-mode.in-race .top-actions{gap:3px}.touch-mode.in-race .topbar .icon-button{width:36px;height:40px}.rotate-screen .home-screen-advice{max-width:340px;margin-top:24px}.rotate-screen .home-screen-advice p{font-size:11px}.touch-button .control-icon{width:28px;height:28px}.touch-pedals .control-icon{width:32px;height:32px}.touch-tools .control-icon{width:22px;height:22px}.touch-boost .control-icon{color:#8ee8ff}.touch-jump .control-icon{color:var(--acid)}.touch-button.pressed .control-icon{color:#101e21}.touch-brake small{font-size:7px}.install-overlay{z-index:60;padding:max(12px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));background:#030a14d9;place-items:center;display:grid;position:absolute;inset:0}.install-panel{touch-action:pan-y;overscroll-behavior:contain;background:radial-gradient(at 0 0,#1e4356,#0c1b2a 65%);border:1px solid #9bc9e54d;border-radius:20px;grid-template-columns:.85fr 1.15fr;gap:24px;width:min(760px,100%);max-height:100%;padding:28px;display:grid;position:relative;overflow-y:auto;box-shadow:0 24px 90px #0009}.install-panel:focus{outline:none}.install-close{color:#cfdee8;background:0 0;width:44px;height:44px;font-size:27px;position:absolute;top:4px;right:5px}.install-intro img{border-radius:15px;margin-bottom:16px;display:block}.install-intro .eyebrow{letter-spacing:1.5px;color:#abccd8;font-size:8px}.install-intro h2{margin:10px 0;font:800 42px/.98 Barlow Condensed,Impact,sans-serif}.install-intro>p:last-child{color:#c3d4de;font-size:12px;line-height:1.5}.install-directions{align-self:center}.install-platform{letter-spacing:1.4px;color:var(--acid);padding-right:12px;font-size:9px}.install-steps{counter-reset:install;gap:12px;margin:16px 0;padding:0;list-style:none;display:grid}.install-steps li{counter-increment:install;color:#d6e3eb;padding-left:31px;font-size:12px;line-height:1.5;position:relative}.install-steps li:before{content:counter(install);width:22px;height:22px;color:var(--acid);border:1px solid #d7fc7055;border-radius:50%;place-items:center;font-size:10px;font-weight:700;display:grid;position:absolute;top:0;left:0}.install-actions{flex-wrap:wrap;gap:8px;display:flex}.install-actions>button{letter-spacing:.6px;flex:1;min-height:44px;padding:10px 12px;font-size:10px}.install-later,.install-message{color:#a8becd;margin-top:10px;font-size:11px;line-height:1.5}.install-message{color:#e8dcab;margin-bottom:10px}.home-screen-advice .install-steps{gap:8px}.home-screen-advice .install-steps li{font-size:11px}@media (max-height:420px) and (orientation:landscape){.install-panel{gap:20px;padding:20px 24px}.install-intro img{border-radius:10px;width:42px;height:42px;margin-bottom:8px}.install-intro h2{margin:8px 0;font-size:34px}.install-intro>p:last-child,.install-steps li{font-size:11px}.install-steps{gap:9px;margin:12px 0}}@media (max-height:360px) and (orientation:landscape){.touch-mode .race-standing>div:not(.current){display:none}}
