
:root{--cyan:#5df7f6;--orange:#ffac65;--ice:#effaff;--sub:#9cb6c8;--panel:#091626e8;color-scheme:dark}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;background:#060e20;color:var(--ice);font-family:Arial, system-ui, sans-serif,system-ui,sans-serif;overflow:hidden}button,select,input{font:inherit}button{cursor:pointer;transition:background .18s,transform .18s,border .18s,filter .18s}button:hover{filter:brightness(1.14)}button:active{transform:scale(.975)}button:focus-visible,select:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}#game{position:fixed;inset:0;width:100%;height:100%;display:block;touch-action:none}#shade{pointer-events:none;position:fixed;inset:0;background:linear-gradient(90deg,#050c1bf2 0%,#081126cd 34%,#0711242b 64%,#090e255c 100%);transition:opacity .5s}body.playing #shade{opacity:0}.view{position:absolute;inset:0;z-index:2}.hidden{display:none!important}.topbar{height:85px;padding:0 clamp(18px,4vw,64px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff18;background:#07102273;gap:20px}.brand{display:flex;align-items:center;gap:12px;font:900 26px/1 'Arial Narrow', Impact, sans-serif,sans-serif;letter-spacing:.02em}.brand-icon{width:37px;height:37px;border:2px solid var(--cyan);display:grid;place-items:center;transform:skew(-9deg);color:var(--cyan)}.brand-icon span{font-size:10px;position:absolute;top:-7px;right:-5px;color:var(--orange)}.brand-accent,.hud-logo span,.boot-logo span{color:var(--cyan)}.brand small{display:block;color:#8ba3b8;font:700 7px/1.2 Arial, system-ui, sans-serif,sans-serif;letter-spacing:.34em;margin-top:4px}.toplinks{display:flex;gap:26px}.navbutton{background:none;border:none;color:#c8d5e1;font-size:11px;letter-spacing:.12em;font-weight:800}.topright{display:flex;align-items:center;gap:10px;color:#8ca4b8;font:800 9px Arial, system-ui, sans-serif,sans-serif;letter-spacing:.11em}.dot,.rec-dot{width:7px;height:7px;background:#43f9ae;border-radius:50%;box-shadow:0 0 17px #43f9ae}.hero{display:grid;grid-template-columns:minmax(380px,1fr) minmax(250px,420px);min-height:calc(100vh - 174px);padding:clamp(26px,4vw,64px) clamp(18px,7vw,112px);align-items:center;gap:4vw}.eyebrow,.dossier-top,.dossier-bottom small{font:800 10px Arial, system-ui, sans-serif,sans-serif;color:var(--cyan);letter-spacing:.23em}.eyebar{display:inline-block;width:22px;height:2px;background:var(--cyan);vertical-align:middle;margin-right:12px}.hero-title{font:900 clamp(70px,9vw,155px)/.77 'Arial Narrow', Impact, sans-serif,'Impact',sans-serif;letter-spacing:-.028em;margin:27px 0 30px;text-shadow:0 10px 55px #06132555}.hero-title em{font-style:normal;color:var(--cyan)}.hero-description{font-size:13px;line-height:1.8;max-width:460px;color:#b5c8d8;margin-bottom:32px}.hero-buttons{display:flex;flex-wrap:wrap;gap:10px}.btn-primary,.btn-light{border:1px solid var(--cyan);height:53px;padding:0 22px;font:900 14px 'Arial Narrow', Impact, sans-serif,sans-serif;letter-spacing:.08em;display:flex;justify-content:center;align-items:center;gap:18px;transform:skew(-5deg)}.btn-primary{background:var(--cyan);color:#041622;min-width:209px;box-shadow:0 7px 40px #4af5f32e}.btn-light{background:#0b1935cc;color:#effcff;border-color:#a1d4e250}.playtri{font-size:15px}.hero-caption{color:#91afc4;font:700 9px Arial, system-ui, sans-serif;letter-spacing:.09em;margin-top:28px}.hero-caption b{color:#d9faff}.hero-caption span{margin:0 10px;color:#406b82}.hero-right{display:flex;align-items:center;justify-content:center}.hero-dossier{width:min(100%,390px);height:385px;border:1px solid #8df2ff44;transform:skew(-4deg);background:linear-gradient(155deg,#173049bb,#0a1525aa 56%,#20435683);box-shadow:0 15px 90px #0008;position:relative;overflow:hidden}.hero-dossier:before{content:'';position:absolute;width:270px;height:270px;border:1px solid #5df7f638;top:42px;left:calc(50% - 135px);transform:rotate(42deg);box-shadow:0 0 0 26px #5df7f60a,0 0 0 62px #5df7f605}.dossier-top{padding:19px 22px;display:flex;justify-content:space-between;position:relative;color:#d3ecff;font-size:9px}.dossier-emoji{height:212px;display:grid;place-items:center;font-size:104px;filter:drop-shadow(0 9px 35px #3ffff570);position:relative}.dossier-bottom{position:relative;display:flex;align-items:end;justify-content:space-between;border-top:1px solid #ffffff26;padding:14px 22px}.dossier-bottom small{color:var(--cyan);font-size:8px}.dossier-bottom h3{font:900 35px/1 'Arial Narrow', Impact, sans-serif;margin:6px 0 2px}.dossier-bottom p{font:700 9px Arial, system-ui, sans-serif;color:#9fbbd1;letter-spacing:.06em;margin:0}.dossier-bottom button{width:37px;height:37px;background:var(--cyan);border:0;color:#061d2f;font-size:20px}.menu-foot{height:89px;border-top:1px solid #ffffff21;padding:10px clamp(18px,4vw,64px);display:flex;align-items:center;justify-content:space-between;gap:12px;background:#060e20bd}.quick{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.quick>span{font:800 10px Arial, system-ui, sans-serif;letter-spacing:.15em;color:#7c9ab4;margin-right:12px}.quick button{background:#ffffff0b;border:1px solid #ffffff35;color:#e6f4fa;padding:11px 15px;font:800 10px Arial, system-ui, sans-serif;letter-spacing:.02em}.profile{font:800 9px Arial, system-ui, sans-serif;letter-spacing:.08em;color:#a6bdce;white-space:nowrap}.profile b{display:block;color:var(--cyan);font:900 20px 'Arial Narrow', Impact, sans-serif;text-align:right}
#hud{pointer-events:none}#hud button,#hud .touch{pointer-events:auto}.hud-top{position:absolute;top:0;left:0;right:0;display:flex;align-items:flex-start;justify-content:space-between;padding:16px 28px;background:linear-gradient(#050e24c7,#050e2400)}.hud-logo{font:900 29px 'Arial Narrow', Impact, sans-serif;line-height:1}.hud-logo small{display:block;font:800 10px Arial, system-ui, sans-serif;color:#a4c4d3;margin-top:5px}.scoreboard{display:flex;align-items:stretch;justify-content:center;height:70px;filter:drop-shadow(0 4px 18px #04121a80)}.teamname{align-self:start;padding:18px 23px;font:900 16px 'Arial Narrow', Impact, sans-serif;background:#071b33ec;min-width:99px;text-align:center}.cyan{color:var(--cyan);border-left:3px solid var(--cyan)}.orange{color:var(--orange);border-right:3px solid var(--orange)}.sc{min-width:67px;display:grid;place-items:center;background:#091b31;font:900 48px/1 'Arial Narrow', Impact, sans-serif}.matchclock{text-align:center;padding:12px 17px;min-width:138px;background:#061222ee}.matchclock b{font:900 33px/.9 'Arial Narrow', Impact, sans-serif;letter-spacing:.04em}.matchclock small{display:block;font:800 8px Arial, system-ui, sans-serif;letter-spacing:.06em;color:#9fb5c4;margin-top:8px}.pausebutton{width:42px;height:42px;background:#08142c94;border:1px solid #86dceb77;color:white;font-size:17px}.center-notice{position:absolute;top:32%;left:0;right:0;text-align:center;font:900 clamp(60px,11vw,168px)/.8 'Arial Narrow', Impact, sans-serif;color:#fff;text-shadow:0 5px 0 #192f48,0 15px 60px #0af4fd8c;pointer-events:none}.center-notice small{font:800 14px Arial, system-ui, sans-serif;display:block;color:#a2e9f8;letter-spacing:.35em;margin-top:20px}.hud-lower{position:absolute;left:26px;right:26px;bottom:20px;display:flex;align-items:flex-end;justify-content:space-between}.mode-status{font:900 12px 'Arial Narrow', Impact, sans-serif;letter-spacing:.1em;background:#061122ca;border:1px solid #4f91a377;display:inline-flex;gap:9px;padding:10px 13px}.mode-status b{color:var(--cyan)}.hint{margin-top:9px;font:800 9px Arial, system-ui, sans-serif;color:#e7f7fe;background:#06112299;padding:9px 11px}.hint span{color:#89aabb;font-weight:600}.mini-hints{color:#b4d8e9;font:900 10px 'Arial Narrow', Impact, sans-serif;margin-top:9px}.boostbg{width:132px;height:132px;position:relative;background:#08152bd1;border-radius:50%;border:1px solid #7bb9c74e}.boostbg svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}.boostbg circle{fill:none;stroke-width:9;stroke-dasharray:307.9;stroke-linecap:round}.ring-track{stroke:#204150}.ring-bar{stroke:var(--orange);stroke-dashoffset:0;filter:drop-shadow(0 0 6px #ffaa66)}.boostbg>div{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column}.boostbg strong{font:900 59px/.9 'Arial Narrow', Impact, sans-serif}.boostbg small{font:900 12px 'Arial Narrow', Impact, sans-serif;color:var(--orange);letter-spacing:.17em}.replay-banner{position:absolute;bottom:132px;left:50%;transform:translateX(-50%);width:min(560px,88%);height:94px;background:#061225ec;border-top:3px solid var(--cyan);display:flex;align-items:center;gap:16px;padding:14px 17px;box-shadow:0 8px 70px #000a}.rec-dot{background:var(--orange);box-shadow:0 0 16px #ff9b4e;width:10px;height:10px;align-self:start;margin-top:10px}.replay-banner>div:nth-child(2){display:flex;flex-direction:column}.replay-banner small{font:900 10px Arial, system-ui, sans-serif;letter-spacing:.2em;color:var(--cyan)}.replay-banner strong{font:900 28px 'Arial Narrow', Impact, sans-serif}.replay-banner span{font:700 9px Arial, system-ui, sans-serif;color:#a4c1cf}.replay-right{margin-left:auto;align-items:flex-end;display:flex;flex-direction:column;gap:9px}.replay-right button{background:transparent;border:1px solid #668ca4;color:white;padding:7px;font:800 9px Arial, system-ui, sans-serif}.replay-progress{height:3px;background:#ffffff33;position:absolute;bottom:0;left:0;right:0}.replay-progress>div{height:100%;width:0;background:var(--cyan)}.local-labels{pointer-events:none;position:absolute;top:108px;left:0;width:100%;display:flex;justify-content:space-around;font:900 16px 'Arial Narrow', Impact, sans-serif;text-shadow:0 2px 10px #000}.overlay{z-index:15;position:fixed;inset:0;background:#030a16d9;backdrop-filter:blur(10px);display:flex;justify-content:center;align-items:center;padding:18px}.panel{width:min(750px,100%);max-height:min(89vh,810px);overflow:auto;border:1px solid #529eb2;background:linear-gradient(140deg,#0f2c3bec,#09152bea);padding:clamp(22px,4vw,42px);position:relative;box-shadow:0 25px 95px #0009}.panel:before{content:'';height:4px;position:absolute;top:0;left:0;width:105px;background:var(--cyan)}.close{position:absolute;right:14px;top:14px;background:transparent;color:#e4f9ff;border:1px solid #ffffff4d;width:34px;height:34px}.panel .kicker{color:var(--cyan);font:900 10px Arial, system-ui, sans-serif;letter-spacing:.26em;margin-bottom:11px}.panel h2{font:900 clamp(40px,6vw,76px)/.9 'Arial Narrow', Impact, sans-serif;margin:0 35px 14px 0}.panel p{font-size:12px;color:#b5c9d7;line-height:1.75;max-width:580px}.modegrid,.garagegrid,.settingsgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:22px}.mode-card,.garage-card{background:#11263a;border:1px solid #57788b80;padding:18px;color:#f0fcff;text-align:left;min-height:105px}.mode-card b,.garage-card b{font:900 26px 'Arial Narrow', Impact, sans-serif;display:block}.mode-card small,.garage-card small{display:block;font:600 10px Arial, system-ui, sans-serif;color:#aac4d1;line-height:1.5;margin-top:7px}.mode-card:hover,.garage-card:hover,.garage-card.selected{background:#173d50;border-color:var(--cyan)}.garage-card{min-height:120px}.garage-card .g-emoji{font-size:31px;float:right}.panel .actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.panel .actions button,.settingbtn{border:1px solid var(--cyan);padding:13px 18px;background:var(--cyan);color:#0b1927;font:900 13px 'Arial Narrow', Impact, sans-serif;letter-spacing:.08em}.panel .actions .secondary{background:transparent;color:#e6f8ff;border-color:#637d90}.field{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:17px 0;border-bottom:1px solid #ffffff20}.field b{font-size:12px}.field small{font-size:11px;color:#98b7c8;display:block;margin-top:5px}.field select,.field input{background:#122f42;color:white;border:1px solid #6f9cac;padding:9px;min-width:126px}.swatches{display:flex;gap:8px;flex-wrap:wrap;margin-top:19px}.swatch{width:38px;height:38px;border-radius:50%;border:3px solid transparent;box-shadow:0 0 0 1px #ffffff33}.swatch.active{border-color:white;box-shadow:0 0 0 2px var(--cyan)}.control-table{display:grid;grid-template-columns:1fr 1fr;gap:15px}.control-table article{border:1px solid #40657a;padding:15px;background:#082038}.control-table b{font:900 18px 'Arial Narrow', Impact, sans-serif}.control-table p{margin-bottom:0}kbd{font-family:inherit;border:1px solid #678598;padding:2px 5px;background:#102a3d;color:var(--cyan);border-radius:3px}#toast{position:fixed;left:50%;top:100px;transform:translateX(-50%) translateY(-20px);opacity:0;transition:.2s;z-index:30;font:900 13px 'Arial Narrow', Impact, sans-serif;letter-spacing:.08em;padding:11px 21px;background:#103648;border:1px solid #5dece8;color:#edfeff;pointer-events:none;white-space:nowrap;max-width:94vw;overflow:hidden;text-overflow:ellipsis}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.error{position:fixed;inset:20px;z-index:100;padding:30px;color:#fff;background:#401b25;border:2px solid #ff7070;font:15px Arial, system-ui, sans-serif}.touch{position:absolute;left:10px;right:10px;bottom:12px;display:flex;justify-content:space-between;align-items:end}.touch-l,.touch-r{display:flex;gap:8px;align-items:end}.touch-l{flex-direction:column}.touch-steer,.touch-gas{display:flex;gap:8px}.touch button{touch-action:none;user-select:none;border:1px solid #ffffff7d;background:#0b1a2dcc;color:white;min-width:55px;height:50px;font:900 12px 'Arial Narrow', Impact, sans-serif}.touch .gas,.touch .boostbtn{background:#4de6edbd;color:#061e2e}.touch button.down{background:var(--orange);color:#071322}#boot{position:fixed;inset:0;z-index:80;background:#051025;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px}#boot .boot-logo{font:900 75px 'Arial Narrow', Impact, sans-serif;letter-spacing:-.04em}.loaderline{height:3px;width:240px;background:#164a61}.loaderline i{display:block;background:var(--cyan);height:100%;width:40%;animation:load 1.2s linear infinite}#boot small{color:#abcbd9;font:800 9px Arial, system-ui, sans-serif;letter-spacing:.2em}@keyframes load{from{transform:translateX(-90%)}to{transform:translateX(240%)}}
@media(max-width:1050px){.topright{display:none}.hero{grid-template-columns:1fr 300px;padding:35px}.hero-title{font-size:clamp(67px,11vw,115px)}.hero-dossier{height:320px}.dossier-emoji{height:155px;font-size:79px}.menu-foot .quick{gap:5px}.menu-foot .quick>span{display:none}.quick button{padding:10px 9px;font-size:9px}}@media(max-width:760px){.topbar{height:65px}.toplinks{gap:8px}.navbutton{font-size:9px}.brand{font-size:22px}.brand-icon{display:none}.hero{grid-template-columns:1fr;padding:26px;min-height:calc(100vh - 143px)}.hero-title{font-size:clamp(64px,15vw,125px);margin:18px 0}.hero-right{display:none}.hero-description{max-width:450px}.menu-foot{height:78px;overflow-x:auto}.profile{display:none}.quick{flex-wrap:nowrap}.quick button{white-space:nowrap}.hud-logo{display:none}.scoreboard{height:57px}.teamname{padding:14px 9px;min-width:53px;font-size:12px}.sc{font-size:37px;min-width:42px}.matchclock{padding:7px 6px;min-width:96px}.matchclock b{font-size:28px}.matchclock small{font-size:7px}.hud-top{padding:10px 7px}.pausebutton{width:32px;height:32px}.hud-lower{bottom:7px;left:9px;right:9px}.hint,.mini-hints{display:none}.boostbg{width:95px;height:95px}.boostbg strong{font-size:42px}.boostbg small{font-size:10px}.modegrid,.garagegrid,.control-table{grid-template-columns:1fr 1fr}.replay-banner{bottom:110px;width:92%;height:94px}}@media(max-width:450px){.toplinks{gap:3px}.navbutton{font-size:8px;padding:5px}.hero{padding:20px}.hero-title{font-size:67px}.hero-description{font-size:12px}.btn-primary,.btn-light{height:46px;min-width:0;padding:0 13px;font-size:12px}.hero-caption{font-size:8px}.modegrid,.garagegrid,.control-table{grid-template-columns:1fr}.panel{padding:23px}.panel h2{font-size:47px}}

#engineStatus{position:fixed;bottom:8px;left:10px;z-index:6;pointer-events:none;color:#95deef;font-size:9px;letter-spacing:.08em;padding:6px 8px;background:#091729c9;border:1px solid #24607899}#engineStatus.ready{color:#80f4b6;border-color:#2b8a68}body.playing #engineStatus{opacity:.45;bottom:auto;top:97px;left:14px}@media(max-width:750px){#engineStatus{font-size:8px;max-width:52vw;white-space:normal}}

[hidden]{display:none!important}
/* BEASTBALL WILD ARENA — Mobile-first gameplay controls and HUD V6 */
#game{position:fixed;inset:0;width:100vw;height:100dvh;display:block;touch-action:none}
body{overflow:hidden;overscroll-behavior:none}button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.touch{z-index:9;position:fixed;left:0;right:0;bottom:0;padding:0 max(12px,env(safe-area-inset-right)) max(13px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));height:clamp(155px,33vh,240px);display:flex;justify-content:space-between;align-items:end;pointer-events:none;gap:10px}
.touch>div,.touch button,.joystick{pointer-events:auto;touch-action:none;user-select:none;-webkit-user-select:none}
.touch-left{display:flex;align-items:end;justify-content:start;height:100%}
.joystick{position:relative;width:clamp(118px,25vh,178px);height:clamp(118px,25vh,178px);border-radius:50%;border:2px solid #91f3f2aa;background:radial-gradient(circle,#11435c88 0%,#061b34e3 70%);box-shadow:inset 0 0 30px #2cfafa29,0 5px 28px #0008;display:grid;place-items:center;overflow:hidden}
.joy-rim{position:absolute;width:64%;height:64%;border:1px dashed #a3e5ed66;border-radius:50%;pointer-events:none}
.joy-knob{position:relative;width:48%;height:48%;display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#60f9edcc,#237b91e8);box-shadow:0 3px 17px #0008,inset 0 0 20px #fff2;font:bold 28px Arial;pointer-events:none;color:#062536;will-change:transform}
.joy-label{position:absolute;bottom:10px;color:#daeff5;letter-spacing:.12em;font:800 8px Arial;pointer-events:none}
.touch-right{display:flex;flex-direction:column;justify-content:end;gap:9px;align-items:flex-end}
.touch-upper,.touch-lower{display:flex;gap:10px;align-items:end;justify-content:flex-end}
.touch button{width:clamp(60px,14vh,93px);min-width:0;height:clamp(49px,12vh,78px);border-radius:16px;font:900 clamp(10px,2.25vh,15px)/1.1 Arial,sans-serif;letter-spacing:.03em;border:2px solid #8bc2d2a3;background:linear-gradient(150deg,#133952ed,#071a31ef);box-shadow:0 4px 18px #0009;color:#f0faff}
.touch button small{font-size:8px;color:#bed6e4}
.touch button:active,.touch button.down{transform:scale(.95);border-color:#fff;color:#061426;background:#fff0a1}
.touch .touch-jump{background:linear-gradient(150deg,#f6ffff,#6cbac7);color:#072a3c;border-color:#eaffff}
.touch .touch-boost{background:linear-gradient(150deg,#ffd998,#ff964d);color:#23120c;border-color:#ffd9a1}
.touch .touch-drift,.touch .touch-camera{height:clamp(38px,9vh,56px);font-size:11px}
.fullscreen-btn{position:fixed;z-index:11;top:calc(75px + env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right));background:#061f37cc;color:#d5f9ff;border:1px solid #70d9e8a1;border-radius:9px;width:41px;height:36px;font-size:25px;display:none}
body.playing .fullscreen-btn{display:block}
.landscape-hint{display:none}
body.playing .hud-lower{bottom:calc(10px + env(safe-area-inset-bottom));left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right))}
body.playing .boostbg{width:105px;height:105px;transform:translateY(-100px)}
body.playing .hint{opacity:.6}
body.playing .replay-banner{bottom:clamp(152px,35vh,260px);height:82px;max-width:580px;pointer-events:auto}
body.playing #engineStatus{display:none}
@media(pointer:coarse){body.playing .hud-info{display:none}body.playing .boostmeter{pointer-events:none}body.playing .boostbg{width:68px;height:68px;transform:translateY(calc(-1 * clamp(105px,23vh,150px))) translateX(-4px);opacity:.94}body.playing .boostbg strong{font-size:28px}body.playing .boostbg small{font-size:8px}body.playing .hud-top{padding:calc(6px + env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) 0 max(10px,env(safe-area-inset-left))}body.playing .hud-logo{display:none}body.playing .scoreboard{height:45px}body.playing .scoreboard .sc{font-size:27px;min-width:35px}body.playing .scoreboard .teamname{font-size:9px;min-width:49px;padding:10px 6px}body.playing .matchclock{min-width:88px;padding:6px 4px}body.playing .matchclock b{font-size:23px}body.playing .matchclock small{font-size:7px;margin-top:3px}body.playing .pausebutton{width:39px;height:39px}body.playing .center-notice{top:27%;font-size:clamp(48px,8vw,85px)}body.playing .fullscreen-btn{top:calc(57px + env(safe-area-inset-top))}}
@media(pointer:coarse) and (orientation:portrait){.landscape-hint{display:block;position:fixed;z-index:8;left:50%;top:calc(65px + env(safe-area-inset-top));transform:translateX(-50%);width:max-content;max-width:93vw;text-align:center;color:#ffdb94;background:#08172ddd;border:1px solid #ffa25055;border-radius:9px;font:800 10px Arial;padding:10px 12px;pointer-events:none}body:not(.playing) .landscape-hint{display:none}.touch{height:210px;bottom:env(safe-area-inset-bottom)}.touch-right{gap:6px}.touch button{width:55px;height:52px;font-size:10px}.touch .touch-camera,.touch .touch-drift{height:39px;width:55px;font-size:9px}.joystick{width:125px;height:125px}body.playing .boostbg{transform:translateY(-166px)}body.playing .center-notice{top:38%}body.playing .replay-banner{bottom:224px}.fullscreen-btn{right:10px}}
@media(max-height:400px) and (pointer:coarse){body.playing .hud-lower{bottom:0}body.playing .boostbg{width:60px;height:60px;transform:translateY(-76px)}.touch{height:125px;padding-bottom:5px}.joystick{height:114px;width:114px}.touch button{height:52px;width:61px}.touch .touch-camera,.touch .touch-drift{height:35px}.fullscreen-btn{display:none!important}.replay-banner{bottom:130px!important;max-height:72px}#centerNotice{top:26%}}
@media(pointer:fine){.touch{display:none!important}body.playing .boostbg{transform:none}}

/* Mobile usability corrections */
@media(pointer:coarse){body.playing .boostmeter{display:none!important}body.playing .hud-top{position:relative;display:flex;justify-content:flex-end}body.playing .scoreboard{position:absolute;left:50%;top:calc(6px + env(safe-area-inset-top));transform:translateX(-50%);margin:0}#toast{top:65px;font-size:10px;max-width:57vw;padding:8px 10px}body.playing .touch-boost small{color:#2b1b11;font-size:13px;font-weight:900}}
@media(max-height:500px) and (orientation:landscape){#menu .topbar{height:50px;padding:0 18px}#menu .brand{font-size:19px}#menu .brand-icon{display:none}#menu .toplinks{gap:6px}#menu .toplinks button{padding:6px;font-size:9px}#menu .topright{display:none}#menu .hero{min-height:0;height:calc(100dvh - 100px);padding:12px 22px 5px;grid-template-columns:1fr;display:block}#menu .hero-left{height:100%;display:flex;flex-direction:column;justify-content:center}#menu .hero-right{display:none}#menu .eyebrow{font-size:9px;margin:0 0 8px}#menu .hero-title{font-size:clamp(43px,12vh,61px)!important;line-height:.83;margin:2px 0 10px;letter-spacing:-.05em}#menu .hero-description{max-width:680px;font-size:10px;line-height:1.4;margin:3px 0 9px}#menu .hero-buttons{display:flex;gap:8px;margin:2px 0}#menu .hero-buttons button{height:36px;font-size:10px;min-width:0;padding:0 16px}#menu .hero-caption{font-size:8px;margin-top:8px}#menu .menu-foot{height:50px;padding:0 14px}#menu .menu-foot .quick button{font-size:9px;padding:8px}#menu .profile{display:none}#menu .dossier-emoji{display:none}}
@media(max-width:500px) and (orientation:portrait){#menu .hero-title{font-size:clamp(56px,14vw,74px)}#menu .topbar{padding:0 12px}#menu .toplinks button{font-size:8px;padding:6px 3px}#menu .brand{font-size:19px}#menu .hero{min-height:calc(100dvh - 145px)}#menu .menu-foot{height:70px}#menu .hero-buttons{flex-wrap:wrap}#menu .hero-buttons button{max-width:100%}}
