#rotate-phone{display:none}.mobile-game .ops-mode .match-top{transform:none}.mobile-game{--safe-left:max(12px,env(safe-area-inset-left));--safe-right:max(12px,env(safe-area-inset-right));--safe-bottom:max(12px,env(safe-area-inset-bottom))}.mobile-game body{overscroll-behavior:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.mobile-game canvas,.mobile-game button,.mobile-game #joystick{touch-action:none}.mobile-game button{cursor:pointer}.mobile-game body.in-game header{display:none}.mobile-game .match-top .pause-button{display:inline-grid}.mobile-game header{left:var(--safe-left);right:var(--safe-right)}.mobile-game .touch-ui{left:var(--safe-left);right:var(--safe-right);bottom:var(--safe-bottom);pointer-events:none;z-index:20;justify-content:space-between;align-items:end;display:flex;position:absolute}.mobile-game .touch-ui button,.mobile-game #joystick{pointer-events:auto}.mobile-game #joystick{background:#dff8ff70;border:2px solid #171039;border-radius:50%;width:98px;height:98px;position:relative;box-shadow:0 4px #17103980}.mobile-game #joystick-knob{background:#60d7f5;border:2px solid #171039;border-radius:50%;width:44px;height:44px;position:absolute;top:25px;left:25px}.mobile-game .touch-actions{grid-template-columns:repeat(3,48px);align-items:center;gap:7px;display:grid}.mobile-game .touch-actions button{color:#171039;background:#f4f3e8;border:2px solid #171039;border-radius:12px;width:48px;height:44px;font-size:9px;font-weight:900}.mobile-game .touch-actions #touch-attack{background:#d6f96e;grid-column:span 2;width:auto;height:49px}.mobile-game .touch-actions button[aria-pressed=true]{background:#d6f96e}.mobile-game .touch-controls{bottom:var(--safe-bottom);left:var(--safe-left);right:var(--safe-right);gap:9px;display:flex;position:absolute}.mobile-game .touch-controls button{background:#fff5da;border:2px solid #25243e;border-radius:13px;width:56px;height:52px;font-size:10px;font-weight:900;box-shadow:0 3px #25243e}.mobile-game .touch-controls button:nth-child(3){margin-left:auto}.mobile-game .touch-controls button:last-child{background:#d6f96e;width:70px}.mobile-game .touch-controls button.pressed{background:#78ddff}.mobile-game .vignette,.mobile-game .scene-shade{pointer-events:none}.mobile-game dialog::backdrop,.mobile-game .overlay{-webkit-backdrop-filter:none}@media (orientation:portrait){.mobile-game body:not(.ops-mode) .countdown{white-space:nowrap;width:max-content;max-width:96%;font-size:clamp(38px,14vw,65px);top:43%}.mobile-game body:not(.in-game):not(.racing) header{grid-template-rows:30px 25px;grid-template-columns:1fr auto;gap:2px;height:76px;padding:7px 12px;display:grid}.mobile-game body:not(.in-game):not(.racing) header>.logo,.mobile-game body:not(.in-game):not(.racing) header>.brand{grid-area:1/1}.mobile-game body:not(.in-game):not(.racing) header>nav{grid-area:2/1/auto/-1;justify-content:center;display:flex}.mobile-game body:not(.in-game):not(.racing) header>.header-right,.mobile-game body:not(.in-game):not(.racing) header>.header-end,.mobile-game body:not(.in-game):not(.racing) header>#settings-btn{grid-area:1/2;justify-self:end}.mobile-game body{overflow:hidden}.mobile-game header{gap:7px;height:54px;padding:0 9px;position:absolute;top:8px}.mobile-game .logo,.mobile-game .brand{font-size:25px}.mobile-game .logo i,.mobile-game .local-badge,.mobile-game .header-end>span{display:none}.mobile-game nav a,.mobile-game .mode-tabs a{padding:7px 5px;font-size:8px}.mobile-game .mode-tabs{gap:2px;margin:0}.mobile-game .header-right{gap:3px}.mobile-game .header-right .icon-button,.mobile-game header .square{width:32px;height:34px;font-size:16px}.mobile-game .graphics-button{padding:5px!important;font-size:8px!important}.mobile-game .ops-mode header .logo{font-size:21px}.mobile-game .menu-copy,.mobile-game .ops-mode .menu-copy{width:calc(100% - 32px);max-width:none;padding:22px;top:90px;bottom:auto;left:16px;transform:none}.mobile-game .menu h1,.mobile-game .ops-mode .menu h1{margin:12px 0;font-size:43px;line-height:1}.mobile-game .menu-description,.mobile-game .ops-mode .menu-description{font-size:14px;line-height:1.5}.mobile-game .menu-buttons{gap:10px;margin-top:18px;display:grid}.mobile-game .play-button,.mobile-game .secondary-button{min-height:46px;padding:10px 14px;font-size:15px}.mobile-game .menu-controls,.mobile-game .world-caption,.mobile-game .menu-footer{display:none}.mobile-game .ops-loadout{gap:5px}.mobile-game .ops-loadout span{font-size:8px}.mobile-game .menu-copy .eyebrow{font-size:9px}.mobile-game .match-top,.mobile-game .ops-mode .match-top{top:8px;left:var(--safe-left);right:var(--safe-right);border-radius:16px;grid-template-columns:1fr 66px 36px;width:auto;max-width:none;padding:7px 9px;transform:none}.mobile-game .round-label strong{font-size:13px}.mobile-game .round-label span{font-size:8px}.mobile-game .timer{padding:5px}.mobile-game .timer strong{font-size:21px}.mobile-game .timer small{font-size:7px}.mobile-game .pause-button{width:35px;height:38px}.mobile-game #view-btn{top:79px;right:var(--safe-right);padding:8px 10px;font-size:9px}.mobile-game #minimap,.mobile-game .ops-mode #minimap{top:122px;right:var(--safe-right);width:88px;height:88px}.mobile-game #roster{display:none}.mobile-game #ops-feed{left:var(--safe-left);max-width:180px;font-size:8px;top:83px}.mobile-game #ops-feed div{padding:4px 6px}.mobile-game .event-text{max-width:90%;font-size:13px;top:30%}.mobile-game .countdown{font-size:85px}.mobile-game #target-hint{max-width:80%;font-size:10px;top:57%}.mobile-game .ops-mode .ops-bottom{left:var(--safe-left);right:var(--safe-right);flex-direction:column;gap:8px;display:flex;bottom:175px}.mobile-game .ops-vitals{border-width:2px;border-radius:11px;align-items:center;gap:8px;width:100%;padding:5px 10px;display:flex;box-shadow:0 3px #638527}.mobile-game .ops-vitals strong{font-size:23px}.mobile-game .ops-vitals small,.mobile-game .ops-vitals>span,.mobile-game #movement-state{display:none}.mobile-game .ops-vitals .hp-track{flex:1;height:8px}.mobile-game .ops-vitals #stamina{width:45px;min-width:45px;max-width:45px;margin:0}.mobile-game .ops-inventory{flex-basis:auto;gap:4px;width:100%}.mobile-game .ops-inventory .slot{border-width:2px;border-radius:8px;flex:1;width:auto;min-width:0;padding:5px 3px}.mobile-game .slot kbd{display:none}.mobile-game .ops-inventory .slot strong{margin:4px 0;font-size:10px}.mobile-game .ops-inventory .slot small{font-size:7px}.mobile-game .ops-help{display:none}.mobile-game body:not(.ops-mode) .match-bottom{left:var(--safe-left);right:var(--safe-right);align-items:stretch;gap:7px;width:auto;display:flex;bottom:136px}.mobile-game .match-bottom .player-hud{border-radius:12px;min-width:85px;padding:6px 9px}.mobile-game .match-bottom .player-hud strong{font-size:14px}.mobile-game .match-bottom .player-hud small,.mobile-game .match-bottom .desktop-help{display:none}.mobile-game .match-bottom .equipment{border-radius:12px;flex:1;gap:12px;padding:7px 9px}.mobile-game .match-bottom .equipment strong{font-size:19px}.mobile-game .match-bottom .equipment small{font-size:7px}.mobile-game body:not(.ops-mode) .touch-actions{display:flex}.mobile-game body:not(.ops-mode) .touch-actions #touch-bomb{border-radius:50%;width:74px;height:74px}.mobile-game body:not(.ops-mode) .touch-actions #touch-jump{width:48px;height:48px}.mobile-game #lobby{min-height:0;padding:86px 18px 28px;display:block;position:absolute;inset:0;overflow-y:auto}.mobile-game .intro,.mobile-game .course-panel,.mobile-game .garage{width:auto;max-width:none;margin:0 0 20px;position:relative;inset:auto}.mobile-game .intro h1{margin:14px 0;font-size:44px;line-height:.98}.mobile-game .intro .lead{font-size:12px}.mobile-game .intro>.eyebrow{font-size:8px}.mobile-game .intro .mini-controls{display:none}.mobile-game .intro .primary{min-height:48px;padding:13px}.mobile-game .course-panel{padding:13px}.mobile-game .garage{padding:10px}.mobile-game .garage-heading,.mobile-game .driver-tag,.mobile-game #lobby footer{display:none}.mobile-game .track-art{width:70px;height:48px}.mobile-game .kart-card{min-height:95px}.mobile-game .kart-card svg{width:62px}.mobile-game .kart-card strong{font-size:12px}.mobile-game .race-top{inset:10px var(--safe-right) auto var(--safe-left);gap:7px}.mobile-game .position-card{border-radius:14px;min-width:80px;padding:5px 9px 18px}.mobile-game .position-card strong{font-size:38px}.mobile-game .position-card>span{font-size:12px}.mobile-game .position-card small{font-size:6px}.mobile-game .lap-card{min-width:130px;padding:8px}.mobile-game .lap-card strong{font-size:18px}.mobile-game .lap-card small{font-size:7px}.mobile-game .race-top>.square{width:37px;height:37px}.mobile-game #race-map{top:96px;right:var(--safe-right);width:105px;height:97px}.mobile-game .map-label{display:none}.mobile-game .speed-card{left:var(--safe-left);width:115px;bottom:152px}.mobile-game .speed-card>strong{font-size:42px}.mobile-game .speed-card>small{font-size:8px}.mobile-game .item-card{right:var(--safe-right);border-radius:13px;grid-template-columns:32px 1fr;gap:5px;width:155px;min-height:88px;padding:18px 8px 8px;bottom:149px}.mobile-game .item-card>strong{font-size:26px}.mobile-game .item-card>span:not(.item-shortcut){font-size:12px}.mobile-game .item-card small{font-size:8px}.mobile-game .item-shortcut{font-size:7px}.mobile-game .drift-card{width:225px;bottom:93px}.mobile-game .drift-card>span,.mobile-game .drift-card small{font-size:8px}.mobile-game #race-callout{max-width:90%;padding:8px;font-size:11px;top:27%}.mobile-game #countdown{font-size:95px;top:39%}.mobile-game .touch-controls{gap:6px}.mobile-game .touch-controls button{width:51px;height:60px;font-size:9px}.mobile-game .touch-controls button:last-child{width:64px}.mobile-game .results-card,.mobile-game .pause-card,.mobile-game .result-card{max-height:92vh;padding:20px;overflow:auto}.mobile-game dialog{max-height:92vh}.mobile-game .overlay{padding:12px}.mobile-game #finish-banner{width:90%;padding:18px}}@media (orientation:landscape) and (height<=600px){.mobile-game body:not(.ops-mode) .match-bottom{left:130px;right:180px;bottom:var(--safe-bottom);justify-content:center;align-items:end;gap:8px;width:auto;display:flex}.mobile-game .match-bottom .player-hud{border-radius:10px;min-width:80px;padding:6px 10px}.mobile-game .match-bottom .player-hud strong{font-size:14px}.mobile-game .match-bottom .player-hud small,.mobile-game .match-bottom .desktop-help{display:none}.mobile-game .match-bottom .equipment{border-radius:10px;gap:15px;padding:7px 12px}.mobile-game .match-bottom .equipment strong{font-size:18px}.mobile-game .match-bottom .equipment small{font-size:7px}.mobile-game body:not(.ops-mode) #minimap{width:90px;height:90px;top:80px;right:var(--safe-right)}.mobile-game body:not(.ops-mode) .touch-actions{display:flex}.mobile-game body:not(.ops-mode) .touch-actions #touch-bomb{width:64px;height:64px}.mobile-game header{height:48px;padding:0 14px;top:8px}.mobile-game .logo,.mobile-game .brand{font-size:26px}.mobile-game nav a,.mobile-game .mode-tabs a{padding:6px;font-size:9px}.mobile-game .local-badge,.mobile-game .header-end>span{display:none}.mobile-game .menu-copy,.mobile-game .ops-mode .menu-copy{top:65px;bottom:auto;left:var(--safe-left);width:420px;max-width:65%;padding:18px 22px;transform:none}.mobile-game .menu h1,.mobile-game .ops-mode .menu h1{margin:8px 0;font-size:37px;line-height:.96}.mobile-game .menu-description,.mobile-game .ops-mode .menu-description{margin:8px 0;font-size:12px}.mobile-game .menu-controls,.mobile-game .menu-footer,.mobile-game .world-caption,.mobile-game .ops-loadout{display:none}.mobile-game .menu-buttons{gap:8px;margin-top:12px}.mobile-game .play-button,.mobile-game .secondary-button{min-height:38px;padding:8px 13px;font-size:13px}.mobile-game .menu-copy .eyebrow{font-size:8px}.mobile-game .ops-mode .match-top{top:8px;left:var(--safe-left);right:var(--safe-right);grid-template-columns:1fr 65px 36px;width:auto;max-width:330px;padding:6px 8px}.mobile-game .round-label strong{font-size:15px}.mobile-game .timer strong{font-size:20px}.mobile-game #view-btn{top:10px;right:var(--safe-right);padding:8px;font-size:9px}.mobile-game .ops-mode #minimap{top:50px;right:var(--safe-right);width:90px;height:90px}.mobile-game #ops-feed{top:66px;left:var(--safe-left);font-size:8px}.mobile-game .ops-mode .ops-bottom{left:130px;right:185px;bottom:var(--safe-bottom);pointer-events:none;display:block}.mobile-game .ops-vitals{border-width:2px;border-radius:9px;align-items:center;gap:5px;width:165px;margin:0 auto 6px;padding:4px 7px;display:flex}.mobile-game .ops-vitals strong{font-size:20px}.mobile-game .ops-vitals small,.mobile-game .ops-vitals>span,.mobile-game #movement-state{display:none}.mobile-game .ops-vitals .hp-track{width:60px;height:6px}.mobile-game .ops-vitals #stamina{width:30px;min-width:30px;margin:0}.mobile-game .ops-inventory{pointer-events:auto;gap:4px}.mobile-game .ops-inventory .slot{border-width:2px;border-radius:8px;flex:1;width:auto;min-width:0;padding:3px}.mobile-game .slot kbd{display:none}.mobile-game .ops-inventory .slot strong{margin:4px 0;font-size:9px}.mobile-game .ops-inventory .slot small{font-size:7px}.mobile-game .ops-help{display:none}.mobile-game #target-hint{font-size:10px;top:60%}.mobile-game #lobby{grid-template-columns:1fr 1fr;align-content:start;gap:15px;min-height:0;padding:68px 18px 18px;display:grid;inset:0;overflow:auto}.mobile-game .intro,.mobile-game .course-panel,.mobile-game .garage{width:auto;max-width:none;margin:0;position:relative;inset:auto}.mobile-game .intro{padding:0 10px}.mobile-game .intro h1{margin:8px 0;font-size:35px}.mobile-game .intro .lead{margin:7px 0;font-size:10px}.mobile-game .intro .eyebrow{font-size:8px}.mobile-game #format-description{margin:8px 0;font-size:9px}.mobile-game .mini-controls{display:none}.mobile-game .course-panel{padding:12px}.mobile-game .panel-heading h2{margin:5px 0;font-size:20px}.mobile-game .track-card{margin-top:5px;padding:4px}.mobile-game .track-art{width:56px;height:40px}.mobile-game .track-copy strong{margin:2px 0;font-size:13px}.mobile-game .track-copy span{font-size:7px}.mobile-game .course-foot{margin-top:7px;padding-top:7px;font-size:7px}.mobile-game .garage{grid-column:span 2;padding:9px}.mobile-game .garage-heading,.mobile-game .driver-tag,.mobile-game #lobby footer{display:none}.mobile-game .kart-card svg{width:45px}.mobile-game .kart-card strong{font-size:13px}.mobile-game .kart-card small{font-size:7px}.mobile-game .race-top{inset:9px var(--safe-right) auto var(--safe-left);gap:8px}.mobile-game .position-card{border-radius:12px;min-width:90px;padding:3px 10px 14px}.mobile-game .position-card strong{font-size:34px}.mobile-game .position-card small{font-size:6px;bottom:5px}.mobile-game .lap-card{min-width:130px;padding:5px 9px}.mobile-game .lap-card strong{font-size:17px}.mobile-game .lap-card small{font-size:7px}.mobile-game #race-map{width:100px;height:92px;top:65px;right:var(--safe-right)}.mobile-game .map-label{display:none}.mobile-game .speed-card{width:100px;bottom:18px;left:145px}.mobile-game .speed-card>strong{font-size:32px}.mobile-game .speed-card>small{font-size:8px}.mobile-game .item-card{right:var(--safe-right);border-radius:12px;grid-template-columns:30px 1fr;width:145px;min-height:65px;padding:14px 7px 6px;bottom:82px}.mobile-game .item-card>strong{font-size:24px}.mobile-game .item-card>span:not(.item-shortcut){font-size:11px}.mobile-game .item-card small{font-size:7px}.mobile-game .item-shortcut{font-size:6px;top:5px}.mobile-game .drift-card{width:200px;bottom:85px}.mobile-game #race-callout{font-size:10px;top:23%}.mobile-game #countdown{font-size:80px}.mobile-game .overlay{padding:8px}.mobile-game .pause-card,.mobile-game .result-card{max-height:94vh;padding:18px;overflow:auto}.mobile-game .pause-card h2,.mobile-game .result-card h2{margin:7px;font-size:32px}.mobile-game dialog{max-height:94vh}}.control-icon{pointer-events:none;width:26px;height:26px;margin:auto;display:block}.touch-actions button,.touch-controls button{place-items:center;display:grid}.mobile-game .touch-actions button{box-shadow:0 3px #17103980,inset 0 1px #ffffffb0}.mobile-game .touch-actions button:active,.mobile-game .touch-controls button:active{transform:translateY(2px);box-shadow:0 1px #17103980}.mobile-game #touch-bomb{border-radius:50%;background:#ef78dd!important}.mobile-game #touch-bomb .control-icon{width:36px;height:36px}.mobile-game #touch-attack .control-icon{width:31px;height:31px}.mobile-game .touch-actions button[aria-pressed=true]{border-color:#4b7423;box-shadow:0 0 0 2px #d6f96e70,0 3px #314b25}.mobile-game .drift-card small,.mobile-game .item-card #item-description{display:none}
