/* BLOCK RUSH — original voxel-inspired interface, no external fonts or art. */
:root{--paper:#f9f4dc;--mint:#a3f185;--gold:#ffdc68;--navy:#152638;--line:#7b929d66;--panel:#142738f5;font-family:Arial,Helvetica,sans-serif;color-scheme:dark}
body{font-family:Arial,Helvetica,sans-serif;background:#132b3c}.screen{background:#0c2032ed;padding:24px 20px}.menu-bg{background:radial-gradient(ellipse at 90% 0,#314f6a 0,transparent 55%),linear-gradient(145deg,#112939,#1c3442 65%,#132633)}.grid-glow{background-size:48px 48px;transform:none;opacity:.17}.menu-orb{display:none}.menu-content{width:min(1110px,100%)}.menu-title{display:flex;align-items:baseline;gap:15px;text-align:left;padding:0 2px 20px;flex-wrap:wrap}.menu-title .eyebrow{order:3;margin-left:auto;letter-spacing:1px;font-size:10px;color:#a9c1d0}.menu-title h1{font-size:37px;letter-spacing:-1.5px;line-height:1;margin:0;text-shadow:3px 3px 0 #08131d}.menu-title h1 em{background:none;color:var(--mint)}.subhead{font-size:9px;letter-spacing:1px;color:#c0d3db}.subhead span{color:var(--gold);padding:0 6px}.menu-footer{letter-spacing:1px;color:#8da8ba}
.lobby-hero{display:grid;grid-template-columns:1.2fr 1fr;min-height:245px;background:linear-gradient(120deg,#233f4b,#315c65);border:2px solid #718c9366;box-shadow:0 5px 0 #081a27;border-radius:9px;margin-bottom:21px;overflow:hidden;position:relative}.lobby-hero>div:first-child{padding:32px 34px}.hero-tag{font-size:10px;letter-spacing:1.4px;font-weight:900;color:#b4d7bf}.lobby-hero h2{font-size:clamp(36px,5vw,60px);line-height:1.03;letter-spacing:-2px;color:var(--paper);margin:14px 0 12px;text-shadow:3px 4px 0 #172d34}.lobby-hero p{color:#c0d5d2;font-size:13px}.lobby-hero #loadout-summary{font-size:11px;font-weight:900;color:var(--gold);margin-top:21px;letter-spacing:.7px}
.voxel-art{position:relative;min-height:245px;overflow:hidden;background:linear-gradient(140deg,transparent,#5bada55c)}.voxel-island{position:absolute;left:20%;top:47%;width:180px;height:100px;background:#70b862;transform:skewY(-18deg) rotate(7deg);box-shadow:16px 25px 0 #6b513e,24px 37px 0 #493f38,28px 51px 0 #263c39}.voxel-island i{display:block;width:80px;height:35px;background:#c9dc80;position:absolute;right:0;top:0}.voxel-island b{display:block;background:#77cdd3;width:60px;height:100%;position:absolute;left:40px;top:0;opacity:.8}.voxel-island span{display:block;position:absolute;width:47px;height:42px;background:#f1ca73;left:90px;top:16px;box-shadow:6px 8px 0 #a18449}.voxel-tree{position:absolute;left:30%;top:28%;width:16px;height:95px;background:#825743;transform:skewY(-18deg);box-shadow:7px 3px 0 #5c443a}.voxel-tree:before{content:'';position:absolute;left:-32px;top:-24px;width:82px;height:64px;background:#a6d978;box-shadow:9px 8px 0 #4c9c63,-10px -15px 0 #8bc36b}.voxel-cube{position:absolute;width:50px;height:50px;background:#ee927a;box-shadow:8px 11px 0 #aa6e65;transform:skewY(-18deg)}.cube-a{left:67%;top:27%}.cube-b{left:75%;top:58%;width:30px;height:30px;background:#e4c66a;box-shadow:6px 8px 0 #998350}.voxel-cloud{width:100px;height:20px;background:#cce4db78;position:absolute;left:40%;top:10%;box-shadow:30px -14px 0 #e1eee35e,-90px 18px 0 #cce4db50}
.config-card{background:#122637ed;border:2px solid #58717d66;box-shadow:0 5px 0 #091b28;border-radius:9px;padding:22px;backdrop-filter:none}.config-title{letter-spacing:1px;color:#bacfdd;font-size:10px;margin-bottom:12px}.config-title small{color:#698b9c}.config-title span:before{background:var(--mint);height:10px}.menu-nav{top:-1px;padding:0 0 13px;margin-bottom:12px;gap:5px;background:#122637f5}.menu-nav button{border:1px solid #71909d4d;background:#213d4e;color:#c2d2d9;border-radius:4px;padding:11px 8px;font-size:10px;letter-spacing:.3px}.menu-nav button:hover{background:#365e6e}.menu-actions{margin:0 0 22px}.primary-button{background:var(--mint);color:#152b20;box-shadow:0 4px 0 #527d43;border:2px solid #d0f8b780;border-radius:5px;padding:16px;font-size:16px;letter-spacing:1px}.primary-button:hover{filter:brightness(1.07);transform:translateY(-1px)}.ghost-button{background:#233d4f;border:1px solid #6e859666;border-radius:5px}.setting-grid>label{font-size:9px;letter-spacing:1px;color:#93b2c4}.setting-grid select,.range-row{background:#091d2d;border:1px solid #7994a05c;border-radius:4px;font-size:11px;height:39px}.advanced{border-top:1px solid #8da2ac3b;padding:14px 0 0}.advanced>summary,.network-panel>summary{font-size:11px;letter-spacing:.8px;color:#bdd3d9;list-style-position:inside}.network-panel{background:#122f3d;border-radius:5px;border-color:#7d9da24d}.help{color:#91adba;font-size:11px;line-height:1.8}.career-info{background:#1c3c47;border-radius:4px;color:#b0deb0;font-size:10px}.menu-message{font-size:20px}.webgl-note{padding:12px 16px;background:#483a2a;border:1px solid #a38b5c;color:#f7df9d;font-size:12px;line-height:1.6;border-radius:5px;margin-bottom:17px}
.world-cards{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin-bottom:12px}.world-card{min-height:96px;position:relative;isolation:isolate;overflow:hidden;text-align:left;border:2px solid #7e99a14d;background:var(--world-bg,#345163);border-radius:5px;padding:44px 10px 10px;box-shadow:0 3px 0 #071824;color:#fff;font-size:10px;font-weight:900}.world-card:before{content:'';width:50px;height:35px;position:absolute;right:14px;top:10px;background:var(--world-block,#83b4ad);box-shadow:-35px 10px 0 #22354966,8px 10px 0 #102d3244;transform:skewY(-18deg);z-index:-1}.world-card span{display:block;font-size:8px;color:#dbeae2b8;font-weight:600;margin-top:6px}.world-card.selected{border-color:var(--mint);box-shadow:0 3px 0 #577a45}.mode-cards{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin-bottom:20px}.mode-card{background:#203c4d;border:1px solid #7794a34d;border-radius:4px;color:#b7d0db;padding:10px 7px;font-size:9px;font-weight:900;text-align:center}.mode-card.selected{background:#345853;color:#d7f2b6;border-color:#a3c983}
.armory-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:16px}.armory-card{background:#1d3547;border:2px solid #7a95aa33;border-radius:5px;color:var(--paper);padding:15px 12px;text-align:left}.armory-card.selected{border-color:var(--mint);background:#254a4e}.armory-card svg{width:100%;height:66px;filter:drop-shadow(3px 4px 0 #08162199)}.armory-card strong{display:block;font-size:11px;letter-spacing:.6px;margin:9px 0 5px}.armory-card small{font-size:9px;color:#8fb0c5}.weapon-detail{margin-top:14px;background:#0d2130;padding:18px;border-radius:5px;display:grid;grid-template-columns:1fr 1.2fr;gap:20px}.weapon-detail h3{font-size:19px;margin:0 0 5px;color:var(--paper)}.weapon-detail p{font-size:11px;color:#9bb9c8;line-height:1.8}.weapon-detail svg{width:100%;height:110px}.weapon-bars{display:grid;gap:8px}.weapon-bars label{font-size:9px;font-weight:bold;color:#9fbecb;display:flex;justify-content:space-between}.weapon-bars .bar{background:#1b3848;height:6px;margin-top:4px;display:block}.weapon-bars .bar i{display:block;height:100%;background:var(--gold)}.weapon-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;font-size:11px;color:#b9d0db;margin-top:14px}.weapon-stats b{color:var(--paper);display:block;margin-top:5px;font-size:14px}
.unlock-row{display:flex;gap:8px;margin:12px 0}.unlock-row input{background:#091c28;border:1px solid #78939966;border-radius:4px;padding:12px;color:#fff;max-width:180px;letter-spacing:7px}.unlock-row button,#clear-cheats,.shop-grid button{background:#2b4d5b;color:#e0f0eb;border:1px solid #6e929b80;border-radius:4px;padding:11px 17px;font-weight:bold;font-size:11px}#cheat-lock>label{display:block;font-size:9px;color:#97b4bf;margin-top:16px}.cheat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:16px 0}.cheat-grid label{display:flex;align-items:center;gap:12px;border:1px solid #6c89954d;background:#1b3648;padding:12px;border-radius:4px;font-size:11px;color:#d9e8df}.cheat-grid input{width:18px;height:18px;accent-color:var(--mint)}.cheat-grid small{display:block;color:#91b0bf;font-size:10px;margin-top:4px}#cheat-status,#shop-status{font-size:11px;color:#c4dca3;line-height:1.7}.shop-grid{display:flex;gap:10px;margin-top:15px}.shop-grid button{flex:1;padding:18px;text-align:left;background:#284b48}.shop-grid button:nth-child(2){background:#593b39}.shop-grid span{display:block;color:#c3d7ce;font-size:10px;margin-top:8px}.shop-grid button:disabled{opacity:.55;cursor:default}
/* A quiet centre, an eight-slot block hotbar, and the numbers that matter. */
.hud-top{left:18px;right:18px;top:15px}.brand-mark{font-size:12px;letter-spacing:.8px;color:var(--paper);padding:9px 11px;background:#0b2031b8;border:1px solid #7896aa4d;border-radius:3px}.brand-mark b{color:var(--mint)}.brand-mark small{font-size:7px;letter-spacing:1.5px;margin-left:0}.diamond{display:none}.hud-top #scorecard{top:49px;left:0;transform:none;background:#0a2031b8;padding:7px 10px;border-radius:3px;min-width:132px;border-color:#7896aa4d;text-align:left}.tiny{font-size:7px;letter-spacing:1px}#scorecard b{font-size:25px}#kill-goal{font-size:15px}.right-top{position:absolute;left:50%;top:0;transform:translateX(-50%);align-items:center;gap:0;border:1px solid #8da0aa6b;border-radius:4px;background:#0b1d2de0;overflow:hidden}.pill{font-size:9px;padding:11px;border:0;background:none;border-radius:0;letter-spacing:1px}.timer{background:#34515d66;border:0;border-radius:0;padding:8px 12px;font-family:monospace;font-weight:bold;font-size:19px;min-width:75px}.fps{font-size:9px;padding:0 7px}.right-top .fps{position:fixed;top:55px;right:-28vw;white-space:nowrap}.right-top #ping{right:-22vw}.hud-bottom{left:18px;right:18px;bottom:24px;align-items:flex-end}.status-box{width:180px;background:#0a2031c9;border:1px solid #7896aa4d;padding:12px;border-radius:4px}.stat-caption{font-size:7px;letter-spacing:1px;display:flex;justify-content:space-between;gap:7px}.hp-number{margin-top:5px;line-height:1.2}.hp-number b{font-size:37px;color:var(--paper)}.hp-number small{font-size:9px}.hp-number .pulse{color:#ff8b8b;font-size:20px}.healthbar{height:5px;background:#3c2635;margin-top:7px}#healthfill{background:#ea7f7f!important}#health-segments{display:flex;gap:3px;margin-top:6px}#health-segments span{height:7px;flex:1;background:#673f49;border:1px solid #0f2631}#health-segments span.filled{background:#ff9990}.stat-small{font-size:8px;letter-spacing:.6px}.status-box .stat-small{margin-top:9px;color:#b5d6be}.weapon-box{width:180px;padding:12px;background:#0a2031c9;border:1px solid #7896aa4d;border-radius:4px}.weapon-caption{font-size:8px;letter-spacing:.5px}.weapon-caption #hud-class{display:none}.ammo b{font-size:37px;color:var(--paper)}.ammo span:last-child{font-size:15px;color:#b3c8d2}.ammo{line-height:1.2;margin-top:8px}.center-bottom{position:fixed;left:50%;bottom:124px;transform:translateX(-50%);padding:0;background:none;border:0;white-space:nowrap}.center-bottom span{font-size:8px;letter-spacing:1px;color:#dce8dcaa}.objective-hud{font-size:11px;border-radius:4px;background:#0c2135d4;border:1px solid #819c9b66;top:72px;padding:9px 14px;max-width:56vw;color:#f2e5bc;letter-spacing:.5px}
#combat-stats{top:125px;left:20px;right:auto;font-family:monospace;font-size:10px;color:#a9c6d2}#profile-hud{position:absolute;right:18px;top:15px;background:#0b2031c9;border:1px solid #7896aa4d;border-radius:4px;font-size:11px;padding:10px;color:#b9d9c2;font-family:monospace}#profile-hud span{display:inline-block;margin-left:14px;color:var(--gold)}#minimap-frame{top:161px;left:18px;width:124px;height:144px;border:1px solid #7896aa66;border-radius:4px;background:#0a2031b3;padding:6px}#minimap{width:110px;height:110px;border-radius:3px}#minimap-frame>span{font-size:7px;letter-spacing:1px}#feed{top:96px;right:18px;width:230px}.feed-item{font-size:9px;padding:7px 10px;background:#0c2434ce;border-radius:3px;border-color:#89bdb96b}.crosshair{filter:drop-shadow(0 1px 1px #000)}#banner{font-size:clamp(18px,3vw,32px);letter-spacing:1px;color:var(--gold);text-shadow:3px 3px 0 #132635}
#hotbar-wrap{position:absolute;left:50%;bottom:24px;transform:translateX(-50%);width:min(540px,calc(100vw - 430px));min-width:280px}#hotbar-wrap #weapon-slots{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:4px;max-width:none;margin:0;padding:5px;background:#102333d4;border:2px solid #7792a080;box-shadow:0 3px 0 #061823;border-radius:3px}#hotbar-wrap .weapon-slot{min-width:0;position:relative;border:2px solid #849aa23d;border-radius:1px;background:#21394ad9;aspect-ratio:1;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#a9c0cf;padding:4px 1px;pointer-events:auto;cursor:pointer;transition:background .1s}#hotbar-wrap .weapon-slot.active{background:#405750;border:2px solid #f1f5ce;box-shadow:inset 0 0 0 1px #b3d47b;color:var(--paper)}.weapon-slot svg{width:94%;height:35px;filter:drop-shadow(2px 3px 0 #061522)}.weapon-slot kbd{position:absolute;top:3px;left:4px;font-size:8px;font-family:monospace;background:none;padding:0}.weapon-slot small{font-size:7px;color:#cfddd4;margin-top:1px}#selected-weapon-label{color:var(--paper);font-size:10px;letter-spacing:1px;font-weight:900;text-align:center;margin-bottom:8px;text-shadow:0 2px 3px #000}#reload-progress{height:3px;background:#6d7e884d;margin:4px 5px 0}#reload-progress span{display:block;height:100%;background:var(--gold);width:0}#xp-hud{height:4px;background:#2c443b;margin:3px 5px 0}#xp-hud-fill{display:block;height:100%;background:var(--mint);width:0}#assist-badge{position:absolute;top:118px;left:50%;transform:translateX(-50%);padding:6px 10px;background:#6b4528e0;border:1px solid #f1c276a6;border-radius:3px;color:#ffe5aa;font-size:9px;font-weight:900;letter-spacing:.8px}#aim-lock{position:absolute;z-index:13;color:var(--mint);font-size:33px;line-height:1;text-shadow:0 0 5px #152135;transform:translate(-50%,-50%)}
#scoreboard{background:#0b2334ef;border:2px solid #a1c1c180;border-radius:5px;box-shadow:0 5px 0 #091825}.result-stats div{background:#173747;border-radius:4px;border-color:#698d9e66}.result-stats b{color:var(--paper)}.touch-button{border-radius:14px;background:#16364ccc;border:2px solid #b5d3d994}.touch-button.shoot{background:#a7db78dd;color:#192f24;border-color:#dbf5c6}.touch-button:active,.touch-button.active{background:#e2d080;color:#182f2b}
@media(max-width:1000px){.world-cards{grid-template-columns:repeat(3,1fr)}#hotbar-wrap{width:calc(100vw - 370px);min-width:260px}.status-box,.weapon-box{width:150px}.weapon-slot svg{height:28px}.menu-nav button{flex:1 1 20%}.right-top .fps{display:none}}
@media(max-width:720px){.screen{padding:12px 10px}.menu-title{padding-top:5px;gap:9px}.menu-title h1{font-size:29px}.menu-title .eyebrow{font-size:8px}.menu-title .subhead{display:none}.lobby-hero{min-height:180px;grid-template-columns:1fr 1fr}.lobby-hero>div:first-child{padding:20px}.lobby-hero h2{font-size:37px}.lobby-hero p{font-size:10px}.hero-tag{font-size:8px}.voxel-art{min-height:180px;transform:scale(.85);transform-origin:center}.voxel-island{left:0;width:150px}.voxel-tree{left:15%}.voxel-cube.cube-a{left:65%}.config-card{padding:15px}.menu-nav button{font-size:9px}.world-card{min-height:81px;padding-top:38px;font-size:9px}.world-card span{font-size:7px}.mode-cards{grid-template-columns:repeat(3,1fr)}.armory-cards{grid-template-columns:repeat(2,1fr)}.weapon-detail{grid-template-columns:1fr}.weapon-detail svg{height:85px}.cheat-grid{grid-template-columns:1fr}.shop-grid{flex-direction:column}.hud-top .brand-mark{display:none}.hud-top #scorecard{top:0;min-width:90px;padding:5px 8px}#scorecard b{font-size:22px}.right-top{left:52%;top:0}.right-top .pill{display:block;max-width:100px;font-size:8px;padding:8px}.right-top .timer{font-size:15px;padding:8px;min-width:58px}#profile-hud{font-size:9px;padding:7px;right:10px;top:66px}#minimap-frame{top:109px;width:94px;height:111px;left:10px;padding:3px}#minimap{width:86px;height:86px}#combat-stats{top:74px;left:11px;font-size:9px}#feed{top:113px;right:10px;width:170px}.objective-hud{top:68px;max-width:58vw;font-size:9px;padding:7px}.hud-bottom{bottom:99px;left:10px;right:10px}.status-box,.weapon-box{width:128px;padding:8px}.hp-number b,.ammo b{font-size:28px}.stat-caption,.weapon-caption{font-size:7px}.status-box .stat-small{font-size:7px;margin-top:5px}#hotbar-wrap{bottom:15px;width:min(500px,calc(100vw - 20px));min-width:0}#hotbar-wrap .weapon-slot{aspect-ratio:1.12}.weapon-slot svg{height:28px}#selected-weapon-label{font-size:8px;margin-bottom:5px}.center-bottom{display:none}#assist-badge{top:103px;font-size:8px}#health-segments{gap:2px}}
body.touch #hotbar-wrap{display:block;width:52vw;min-width:230px;bottom:9px}body.touch #hotbar-wrap .weapon-slot{aspect-ratio:1.2}body.touch .weapon-slot kbd{display:none}body.touch .weapon-slot small{font-size:6px}body.touch #selected-weapon-label{font-size:8px}body.touch #xp-hud{height:2px}body.touch .hud-bottom{bottom:90px}body.touch #profile-hud{top:49px;font-size:8px}body.touch #combat-stats{top:55px}body.touch #minimap-frame{top:80px;width:88px;height:103px}body.touch #minimap{width:78px;height:78px}body.touch .touch-button.swap{bottom:23%}body.touch .touch-button.reload{bottom:26%}body.touch .objective-hud{top:48px;font-size:8px}body.touch #assist-badge{top:79px;font-size:7px}body.touch .touch-button.pause-touch{top:18%;width:36px;height:36px}body.touch .status-box,body.touch .weapon-box{width:112px}body.touch #health-segments span{height:4px}
@media(max-height:520px){.lobby-hero{display:none}#minimap-frame{display:none}.hud-bottom{bottom:15px}.status-box,.weapon-box{padding:7px}#hotbar-wrap{bottom:12px;width:min(400px,48vw);min-width:240px}.weapon-slot svg{height:25px}.hp-number b,.ammo b{font-size:27px}.objective-hud{top:55px;font-size:9px}#assist-badge{top:89px;font-size:8px}#combat-stats{top:113px}.brand-mark{font-size:10px}.hud-top #scorecard{top:43px}body.touch .hud-bottom{bottom:10px}body.touch #hotbar-wrap{bottom:8px}}

.mode-cards{grid-template-columns:repeat(6,1fr)}@media(max-width:720px){.mode-cards{grid-template-columns:repeat(3,1fr)}}

.world-card{padding-top:98px;min-height:136px}.world-card:before{display:none}.world-card>img{position:absolute;top:1px;left:0;width:100%;height:100px;object-fit:contain;pointer-events:none}.armory-card>img{width:100%;height:82px;object-fit:contain;filter:drop-shadow(3px 4px 0 #06182366)}.weapon-detail>div>img{width:100%;height:146px;object-fit:contain;filter:drop-shadow(4px 5px 0 #06182388)}@media(max-width:720px){.world-card{padding-top:80px;min-height:117px}.world-card>img{height:82px}.armory-card>img{height:75px}.weapon-detail>div>img{height:120px}}

@media(min-width:721px){.center-bottom{bottom:155px}}

#builder-hud{position:fixed;z-index:20;bottom:135px;left:50%;transform:translateX(-50%);display:flex;gap:5px;flex-wrap:wrap;justify-content:center;padding:10px;background:#10273eee;border:1px solid #8be0d6;max-width:95vw;width:760px}#builder-hud.hidden{display:none}#builder-hud button,#builder-hud label{font-size:11px;padding:9px;color:white;background:#24445e;border:1px solid #7799aa;cursor:pointer}#block-palette{display:flex;gap:3px}#block-palette .selected{outline:3px solid white}#world-import{max-width:160px}@media(max-width:700px){#builder-hud{bottom:220px;width:95vw}#builder-hud button{padding:7px}}
/* VOLT 6: quieter playfield, clear progression and high-contrast combat HUD. */
.arsenal-track{max-width:340px;margin:16px 0;color:#d8f5ff;font-size:11px;font-weight:800;letter-spacing:.06em}.arsenal-meter{height:7px;margin-top:9px;background:#102333;border-radius:8px;overflow:hidden}.arsenal-meter i{display:block;height:100%;background:linear-gradient(90deg,#59e6ba,#b8f272);transition:width .3s}.gun-unlock{display:block;margin-top:10px;font-size:10px;font-weight:900;color:#9bf4cc}.armory-card.weapon-locked{opacity:.65;border-style:dashed}.weapon-locked img{filter:grayscale(1)}.weapon-locked .gun-unlock{color:#ffd291}#weapon-slots .weapon-locked{opacity:.35;filter:grayscale(1)}#unlock-hud{position:absolute;top:57px;right:20px;font-size:10px;font-weight:800;letter-spacing:.05em;color:#b4f0d8;background:#102739e8;padding:8px 11px;border-radius:5px}.hud-bottom .status-box,.hud-bottom .weapon-box{background:#102333ed!important;border:1px solid #789db466!important;box-shadow:0 8px 24px #0004;border-radius:10px!important}.hp-number,.ammo{text-shadow:0 2px 3px #0008}.hud-top .brand-mark{background:#102333eb!important;border-radius:7px}.objective-hud{background:#102333e8!important;color:#efffff!important;border-left:3px solid #7de9c1;padding:11px 17px!important;border-radius:6px}#minimap-frame{opacity:.88;transform:scale(.85);transform-origin:left top}#combat-stats{font-size:11px!important;text-shadow:0 1px 3px #000}#hotbar-wrap{padding:7px 10px;background:#102333d9;border-radius:10px;border:1px solid #789db444}#event-hint{color:#e5f5ff!important;background:#102333db;padding:7px 12px;border-radius:20px;text-shadow:none!important}.armory-card{position:relative;border-radius:10px!important}.menu-title .eyebrow{color:#9bf4cc}.hero-tag{color:#b4f0d8!important}.primary-button{border-radius:8px!important;background:linear-gradient(135deg,#9cf3b8,#5bd7cb)!important;color:#102333!important;box-shadow:0 6px 0 #236a68,0 14px 30px #0003!important}.menu-nav button{border-radius:5px}.world-card{border-radius:9px!important;overflow:hidden}@media(max-width:700px){#unlock-hud{top:85px;right:10px;font-size:9px}#minimap-frame{transform:scale(.6)}.arsenal-track{max-width:100%}}
body.explore-mode #hotbar-wrap,body.explore-mode .weapon-box,body.explore-mode #grenade-indicator,body.explore-mode #minimap-frame,body.explore-mode #combat-stats,body.explore-mode #crosshair,body.explore-mode #unlock-hud{display:none!important}body.explore-mode .center-bottom{bottom:30px}body[data-active-mode="parkour"] #scorecard .tiny{font-size:0}body[data-active-mode="parkour"] #scorecard .tiny:after{content:'CHECKPOINTS';font-size:8px}body.explore-mode .status-box{display:none}body.explore-mode #objective-hud{background:#153d38ef!important;border-color:#83c6a1}

#adventure-hud{position:fixed;z-index:19;bottom:20px;left:50%;transform:translateX(-50%);max-width:92vw;width:650px;padding:12px;background:#173e36ed;border:2px solid #47876b;border-radius:9px;text-align:center;color:#e6efd1;font-size:11px}#adventure-hud button{background:#d5ac44;border:1px solid #ffe097;border-radius:5px;color:#283c29;padding:8px 12px;margin:8px 4px 0;font-weight:bold;font-size:10px}#adventure-resource{margin:0 12px}body:not(.explore-mode) #adventure-hud{bottom:125px}body:not(.playing) #adventure-hud,body:not(.playing) #builder-hud{display:none!important}@media(max-width:700px){#adventure-hud{font-size:9px;bottom:12px}#adventure-hud button{padding:8px;font-size:9px}}
body:not(.explore-mode) #builder-hud{bottom:245px}@media(max-height:650px){#builder-hud{bottom:160px;max-height:100px;overflow-y:auto}body:not(.explore-mode) #builder-hud{bottom:235px}}

/* Playful combat: compact outlined instruments leave room for the world. */
@media(min-width:721px){.hud-top .brand-mark{display:none}.hud-top #scorecard{top:16px;left:18px;background:linear-gradient(#ffcf58,#ef9b36);color:#fff;border:3px solid #62482e;border-radius:11px;box-shadow:0 4px #4a3b2c;padding:8px 14px;min-width:104px}.hud-top #scorecard .tiny{color:#6a4423;font-size:8px;font-weight:1000}.hud-top #scorecard b{font-family:Arial Black,Arial,sans-serif;color:white;font-size:27px;text-shadow:0 2px #a3652e}.hud-top .right-top{background:linear-gradient(#304f78,#203958);border:3px solid #152d48;border-radius:11px;box-shadow:0 3px #102b40}.hud-top .pill{color:#b8edf6}.hud-top .timer{font-family:Arial Black,Arial,sans-serif;font-size:20px;letter-spacing:1px}.hud-bottom .status-box{width:152px;padding:10px 12px!important;background:linear-gradient(#3e6d72eb,#274a57ed)!important;border:3px solid #153d4c!important;box-shadow:0 4px #133444!important}.hud-bottom .weapon-box{width:165px;padding:10px 12px!important;background:linear-gradient(#43617feb,#293f5ded)!important;border:3px solid #18354e!important;box-shadow:0 4px #112c43!important}.hp-number b,.ammo b{font-family:Arial Black,Arial,sans-serif;font-size:35px!important;color:#fff}.stat-caption{font-size:8px!important}.stat-small{font-size:8px!important}.hp-number .pulse{color:#ff8d93}.healthbar{height:8px;border-radius:5px;background:#452e40}.healthbar #healthfill{background:linear-gradient(#ff9b9b,#ed627c)}#health-segments{display:none}#hotbar-wrap{width:430px;min-width:0;bottom:17px;padding:6px 8px;border-radius:10px;background:#28445bdf;border:2px solid #789caf;box-shadow:0 4px #17394b}#selected-weapon-label{font-size:9px;margin-bottom:5px;color:#fff3bf}.weapon-slot{border-radius:5px;border:2px solid #5c8195!important;background:#294a63}.weapon-slot.active{border-color:#ffe671!important;background:#698d67}.weapon-slot svg{height:31px}.weapon-slot kbd{font-size:8px}.weapon-slot small{font-size:7px}#reload-progress{height:3px}#xp-hud{height:3px;margin-top:4px}.center-bottom{bottom:100px!important}#event-hint{font-size:8px;background:#345e70bb;padding:5px 9px}#combat-stats{top:107px;left:20px;color:#edf9ff;font-size:9px!important}#minimap-frame{top:141px;left:18px;transform:scale(.63);background:#2e5568cf;border:2px solid #9bc9d5;border-radius:10px;opacity:.9}#unlock-hud{border:2px solid #1c5360;background:#328577e8;border-radius:7px;top:61px;right:17px;color:#e5ffcb;padding:6px 9px;font-size:9px}#profile-hud{border-radius:9px;border:2px solid #776531;background:linear-gradient(#9d8f42,#7e752f);color:#fff9cd}#banner{font-family:Arial Black,Arial,sans-serif;font-size:clamp(20px,3vw,46px);color:#ffe47e;-webkit-text-stroke:1px #4b3a36;text-shadow:0 4px #493a3a,2px 2px #493a3a;animation:adventure-pop .3s cubic-bezier(.18,.9,.35,1.5)}.objective-hud{border:2px solid #267965!important;border-radius:9px!important;box-shadow:0 3px #1b5848;background:#3c997be8!important;color:#fffce3!important}}
@keyframes adventure-pop{from{scale:.65;opacity:0}to{scale:1;opacity:1}}
@media(prefers-reduced-motion:reduce){#banner{animation:none}}

#random-mode{border:3px solid #5b3d1f;border-radius:11px;background:linear-gradient(#ffd75e,#f2a33a);color:#4a2c10;font-family:Arial Black,Arial,sans-serif;font-size:11px;font-weight:900;letter-spacing:.5px;padding:9px 13px;margin-right:8px;cursor:pointer;box-shadow:0 3px #5b3d1f}#random-mode:hover{filter:brightness(1.08);transform:translateY(-1px)}#random-mode:active{transform:translateY(2px);box-shadow:0 1px #5b3d1f}

.result-board{margin:14px auto 0;max-width:520px;background:#1d3550ee;border:3px solid #0f2438;border-radius:12px;padding:12px 14px;color:#eaf6ff;font-family:Arial,sans-serif}.result-board h3{margin:0 0 8px;font-size:12px;letter-spacing:2px;color:#ffd75e}.result-board .mvp{background:linear-gradient(#ffd75e,#f2a33a);color:#4a2c10;font-weight:900;font-size:12px;letter-spacing:1px;padding:6px 10px;border-radius:8px;margin-bottom:8px}.result-board .mvp.other{background:#33506d;color:#cfe6f7}.result-board table{width:100%;border-collapse:collapse;font-size:12px}.result-board th{text-align:left;font-size:9px;letter-spacing:1px;color:#8fb0c9;padding:3px 6px}.result-board td{padding:5px 6px;border-top:1px solid #ffffff18}.result-board tr.me td{color:#ffe47e;font-weight:900;background:#ffffff0f}
body.building-view #crosshair{display:block!important}body.building-view #builder-hud{border:2px solid #b6ed99;background:#204e48ee;border-radius:10px}#adventure-help{font-weight:900;color:#fff5bc;font-size:13px;line-height:1.4}#adventure-hud{border-color:#7fcda2}#adventure-interact{background:#f8d56b!important;color:#364432!important}body:not(.playing).building-view #crosshair{display:none!important}@media(max-width:700px){#adventure-help{font-size:10px}}

#world-waypoint{position:absolute;transform:translate(-50%,-50%);pointer-events:none;z-index:4;
 color:#fff8db;background:#183c44e8;border:2px solid #96d9a9;border-radius:7px;
 box-shadow:0 3px #17343880;padding:6px 9px;font-size:11px;font-weight:900;white-space:nowrap}
body:not(.playing) #world-waypoint{display:none}

#mobile-controls .unused-world-control{display:none}

@media (min-width: 721px) {
  .hud-top .right-top #fps {
    display: block;
    position: static;
    padding: 0 10px;
    border-left: 1px solid #a1c1df55;
    color: #d5f6da;
    font-size: 10px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
  }
}

/* Explicit input selection and Rivals-inspired mobile combat controls. */
body.choosing-controls #menu{visibility:hidden;pointer-events:none}
#control-picker[hidden]{display:none!important}
#control-picker{position:fixed;inset:0;z-index:150;display:grid;place-items:center;padding:calc(16px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left));overflow:auto;background:radial-gradient(ellipse at 50% 12%,#263e59,#0b1525 70%);color:#f6f9ff;font-family:system-ui,sans-serif}
.control-card{width:min(640px,100%);padding:clamp(16px,4vw,36px);border:1px solid #526c89;border-radius:20px;background:#14253a;box-shadow:0 18px 70px #0008;text-align:center}
.control-kicker{font-size:11px;letter-spacing:.16em;color:#94e6ff;font-weight:800}.control-card h1{font-size:clamp(24px,5vw,39px);line-height:1.1;margin:12px 0 6px;font-weight:950}.control-card p{color:#b6c6d8;margin:0 0 18px;font-size:14px}.control-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}.control-choices button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:136px;padding:14px 8px;background:#233a51;color:#fff;border:2px solid #5a7897;border-radius:14px;cursor:pointer;touch-action:manipulation}.control-choices button:hover,.control-choices button:focus-visible{background:#2e4d67;border-color:#a4ecff;outline:2px solid #a4ecff;outline-offset:2px}.control-choices button svg{width:64px;height:48px;fill:none;stroke:#d7edff;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.control-choices strong{font-size:clamp(11px,2.5vw,16px)}.control-choices small,.control-foot{color:#b8cce0;font-size:11px}.control-foot{display:block;margin-top:15px}#change-input-mode{white-space:nowrap}
@media(max-height:400px){.control-card{padding:12px}.control-card h1{margin:5px 0}.control-card p{margin-bottom:8px}.control-choices button{min-height:90px;padding:5px;gap:4px}.control-choices button svg{height:32px}.control-foot{margin-top:7px}}
body.touch #mobile-controls{--pad:calc(clamp(42px,9.8vmin,64px) * var(--touch-scale,1));--gap:clamp(5px,1.5vmin,10px);--edge:calc(12px + env(safe-area-inset-right,0px));--base:calc(94px + env(safe-area-inset-bottom,0px));}
body.touch #move-zone{width:42%;height:58%;bottom:0;left:0;right:auto}
body.touch #look-zone{width:60%;height:74%;bottom:0;right:0;left:auto}
body.touch #move-ring{width:clamp(94px,27vmin,140px);height:clamp(94px,27vmin,140px);left:clamp(12px,5vw,45px);right:auto;bottom:var(--base);border:2px solid #ffffff70;background:#10182185;box-shadow:inset 0 0 0 7px #ffffff13,0 4px 12px #0004}
body.touch #move-knob{width:46%;height:46%;background:#e0e9f6a0;border:2px solid #fff9;box-shadow:0 2px 6px #0005}
body.touch #mobile-controls .touch-button{width:var(--pad);height:var(--pad);transform:none;border-radius:50%;background:#171e2bad;border:2px solid #edf3ffad;color:white;box-shadow:0 3px 9px #0005;font-family:system-ui,sans-serif;font-size:clamp(9px,2.2vmin,12px);font-weight:850;letter-spacing:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1px;padding:2px;touch-action:none;user-select:none;right:var(--r);left:auto;bottom:var(--b);top:auto}
body.touch #mobile-controls .touch-button:active,body.touch #mobile-controls .touch-button.active{background:#c8eaffd9;border-color:#fff;color:#101a27}
body.touch #mobile-controls .touch-button::before{content:"";display:block;width:44%;height:44%;background:currentColor;mask:var(--glyph) center/contain no-repeat;-webkit-mask:var(--glyph) center/contain no-repeat;pointer-events:none}
body.touch #mobile-controls .shoot{--r:var(--edge);--b:calc(var(--base) + var(--pad) + var(--gap));width:calc(var(--pad)*1.26);height:calc(var(--pad)*1.26);background:#263849df;border-color:#fff;--glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='7'/%3E%3Cpath d='M12 1v6m0 10v6M1 12h6m10 0h6'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3C/svg%3E")}
body.touch #mobile-controls .aim{--r:calc(var(--edge) + var(--pad)*1.26 + var(--gap));--b:calc(var(--base) + var(--pad) + var(--gap));--glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 3v6m0 6v6M3 12h6m6 0h6'/%3E%3C/svg%3E")}
body.touch #mobile-controls .jump{--r:var(--edge);--b:var(--base);--glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21V4M5 11l7-7 7 7'/%3E%3C/svg%3E")}
body.touch #mobile-controls .slide{--r:calc(var(--edge) + var(--pad) + var(--gap));--b:var(--base);--glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='17' cy='5' r='2'/%3E%3Cpath d='m15 9-6 5 7 2 5 4M9 14l-5 5H1M2 10h6'/%3E%3C/svg%3E")}
body.touch #mobile-controls .reload{--r:calc(var(--edge) + var(--pad)*2 + var(--gap)*2);--b:var(--base);--glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M20 9a8 8 0 1 0 0 6M20 3v6h-6'/%3E%3C/svg%3E")}
body.touch #mobile-controls .swap{--r:calc(var(--edge) + var(--pad)*2.26 + var(--gap)*2);--b:calc(var(--base) + var(--pad) + var(--gap));--glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h17l-4-4m4 4-4 4M21 17H4l4 4m-4-4 4-4'/%3E%3C/svg%3E")}
body.touch #mobile-controls .nade{--r:var(--edge);--b:calc(var(--base) + var(--pad)*2.26 + var(--gap)*2);--glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='6' y='7' width='12' height='15' rx='5'/%3E%3Cpath d='M10 7V3h5v4M15 4h4'/%3E%3C/svg%3E")}
body.touch #mobile-controls .pause-touch{right:var(--edge);top:calc(55px + env(safe-area-inset-top,0px));bottom:auto;width:40px;height:40px;font-size:18px}body.touch #mobile-controls .pause-touch::before{display:none}
body.touch.left-hand #move-zone{left:auto;right:0}body.touch.left-hand #look-zone{left:0;right:auto}body.touch.left-hand #move-ring{left:auto;right:clamp(12px,5vw,45px)}body.touch.left-hand #mobile-controls .touch-button:not(.pause-touch){right:auto;left:var(--r)}
body.touch #mobile-controls .unused-world-control{display:none!important}
body.touch #hotbar-wrap{width:min(48vw,420px);min-width:0;bottom:calc(5px + env(safe-area-inset-bottom,0px));padding:3px}body.touch .hud-bottom{bottom:calc(8px + env(safe-area-inset-bottom,0px));left:8px;right:8px}body.touch .hud-bottom .status-box,body.touch .hud-bottom .weapon-box{width:clamp(85px,21vw,130px);padding:5px 7px!important}body.touch .hp-number b,body.touch .ammo b{font-size:22px}
@media(max-width:500px) and (orientation:portrait){body.touch #mobile-controls{--pad:calc(clamp(42px,12vw,57px)*var(--touch-scale,1));--base:calc(110px + env(safe-area-inset-bottom,0px))}body.touch #hotbar-wrap{width:94vw;bottom:calc(4px + env(safe-area-inset-bottom,0px))}body.touch .hud-bottom{bottom:calc(61px + env(safe-area-inset-bottom,0px))}body.touch #move-ring{bottom:calc(var(--base) + 5px)}body.touch #mobile-controls .swap{--r:var(--edge);--b:calc(var(--base) + var(--pad)*3.26 + var(--gap)*3)}body.touch #mobile-controls .reload{--r:calc(var(--edge) + var(--pad) + var(--gap));--b:calc(var(--base) + var(--pad)*2.26 + var(--gap)*2)}}
@media(max-height:430px) and (orientation:landscape){body.touch #mobile-controls{--base:calc(62px + env(safe-area-inset-bottom,0px));--pad:calc(clamp(35px,10.8vmin,48px)*var(--touch-scale,1))}body.touch #move-ring{width:clamp(80px,25vmin,108px);height:clamp(80px,25vmin,108px)}body.touch #mobile-controls .pause-touch{top:calc(42px + env(safe-area-inset-top,0px))}}

.control-card{width:min(840px,100%)}.control-choices{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:480px){.control-choices{grid-template-columns:1fr}.control-choices button{min-height:68px;display:grid;grid-template-columns:52px 1fr;gap:4px;text-align:left}.control-choices button svg{grid-row:span 2;width:48px;height:36px}.control-choices button strong,.control-choices button small{justify-self:start}}
#pad-status{position:fixed;z-index:55;bottom:12px;left:50%;transform:translateX(-50%);background:#182f45;color:white;padding:8px 14px;border:1px solid #98c7e8;border-radius:8px;font:700 12px system-ui;pointer-events:none}#pad-status.hidden{display:none!important}

/* Direct touch weapon selection: keep the hotbar above the look zones. */
body.touch #hotbar-wrap{z-index:12;pointer-events:none;}body.touch #hotbar-wrap #weapon-slots{pointer-events:auto;touch-action:none;}body.touch #hotbar-wrap .weapon-slot{pointer-events:auto;touch-action:none;min-height:34px;cursor:pointer;}body.touch #hotbar-wrap .weapon-slot.active{outline:2px solid #a8ffdb;outline-offset:-2px;}
body.touch #mobile-controls{z-index:11;pointer-events:none;}body.touch #mobile-controls .touch-zone,body.touch #mobile-controls .touch-button{pointer-events:auto;}#controller-aim-settings .setting-grid{margin-bottom:10px;}#pad-reset{margin:8px 0;padding:9px 15px;}

/* Rivals-inspired mobile combat HUD. Original icons; touch-only. */
body.touch #mobile-controls{--pad:calc(clamp(39px,11.5vmin,62px)*var(--touch-scale,1));--gap:clamp(5px,1.7vmin,10px);--edge:calc(15px + env(safe-area-inset-right,0px));--base:calc(53px + env(safe-area-inset-bottom,0px));}
body.touch #mobile-controls .touch-button{border:0;border-radius:50%;background:#16181c78;box-shadow:none;color:#fffC;font-size:0;gap:0;padding:0;backdrop-filter:none;-webkit-tap-highlight-color:transparent;}
body.touch #mobile-controls .touch-button::before{width:64%;height:64%;}
body.touch #mobile-controls .touch-button:active,body.touch #mobile-controls .touch-button.active{background:#e6eef2b3;color:#24292f;box-shadow:0 0 0 2px #fff8;}
body.touch #mobile-controls .shoot{--r:calc(var(--edge) + var(--pad)*1.12 + var(--gap));--b:calc(var(--base) + var(--pad)*1.03 + var(--gap));width:calc(var(--pad)*1.12);height:calc(var(--pad)*1.12);background:#17191e85;--glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M3 4l24 10-11 2 7 10-4 3-8-11-3 10z' fill='black'/%3E%3Cpath d='M4 2l9 4M1 10l5 3M18 3l2 5' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");}
body.touch #mobile-controls .aim{--r:var(--edge);--b:calc(var(--base) + var(--pad)*2.12 + var(--gap)*2);--glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='3'%3E%3Ccircle cx='16' cy='16' r='10'/%3E%3Cpath d='M16 2v8m0 12v8M2 16h8m12 0h8'/%3E%3Ccircle cx='16' cy='16' r='2' fill='black'/%3E%3C/svg%3E");}
body.touch #mobile-controls .jump{--r:var(--edge);--b:var(--base);width:calc(var(--pad)*1.15);height:calc(var(--pad)*1.15);--glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 2L30 15H22V30H10V15H2Z' fill='black'/%3E%3C/svg%3E");}
body.touch #mobile-controls .slide{--r:calc(var(--edge) + var(--pad)*1.15 + var(--gap));--b:var(--base);--glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='black'%3E%3Ccircle cx='21' cy='5' r='4'/%3E%3Cpath d='M18 10l-6 6 7 5 7 1v5H17l-8-6-3 7H1l5-13 9-7z'/%3E%3Cpath d='M2 3v10M0 10l2 4 3-4' fill='none' stroke='black' stroke-width='2.5'/%3E%3C/svg%3E");}
body.touch #mobile-controls .reload{--r:calc(var(--edge) + var(--pad)*2.27 + var(--gap)*2);--b:calc(var(--base) + var(--pad)*.58);width:calc(var(--pad)*.86);height:calc(var(--pad)*.86);--glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='black'%3E%3Cpath d='M25 8A12 12 0 1 0 27 22L23 20A8 8 0 1 1 22 11L17 11V15H29V3H25Z'/%3E%3Cpath d='M13 11l3-3 3 3v10h-6z'/%3E%3C/svg%3E");}
body.touch #mobile-controls .nade{--r:var(--edge);--b:calc(var(--base) + var(--pad)*1.15 + var(--gap));--glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='black'%3E%3Cpath d='M12 8V3h10v5h-4v3c6 1 9 5 9 10a11 11 0 1 1-22 0c0-5 3-9 7-10V8z'/%3E%3Cpath d='M22 4h6v11' fill='none' stroke='black' stroke-width='3'/%3E%3Cpath d='M8 19h16' stroke='white' stroke-width='2'/%3E%3C/svg%3E");}
body.touch #mobile-controls .swap{--r:calc(var(--edge) + var(--pad)*2.27 + var(--gap)*2);--b:calc(var(--base) + var(--pad)*1.65 + var(--gap));}
body.touch #mobile-controls .pause-touch{right:auto;left:calc(12px + env(safe-area-inset-left,0px));top:calc(9px + env(safe-area-inset-top,0px));bottom:auto;width:34px;height:34px;font-size:0;}
body.touch #mobile-controls .pause-touch::before{display:block;--glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Crect x='5' y='4' width='5' height='16' rx='1'/%3E%3Crect x='14' y='4' width='5' height='16' rx='1'/%3E%3C/svg%3E");}
body.touch #move-ring{width:clamp(94px,28vmin,148px);height:clamp(94px,28vmin,148px);bottom:var(--base);border:1px solid #ffffff38;background:#181b224d;box-shadow:none;}
body.touch #move-knob{width:44%;height:44%;background:#ecedf080;border:1px solid #ffffff60;box-shadow:none;}
body.touch #move-zone{width:46%;height:64%;}body.touch #look-zone{width:62%;height:88%;}
body.touch:not(.left-hand) #mobile-controls{--edge:calc(15px + env(safe-area-inset-right,0px));}body.touch.left-hand #mobile-controls{--edge:calc(15px + env(safe-area-inset-left,0px));}
body.touch.left-hand #mobile-controls .touch-button:not(.pause-touch){left:var(--r);right:auto;}
/* Keep weapon selection above aiming input, and preserve every existing slot. */
body.touch #hotbar-wrap{left:auto;right:calc(12px + env(safe-area-inset-right,0px));top:calc(8px + env(safe-area-inset-top,0px));bottom:auto;transform:none;width:calc(clamp(34px,10vmin,52px)*4 + 12px);min-width:0;padding:0;z-index:12;}
body.touch #hotbar-wrap #weapon-slots{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;}
body.touch #hotbar-wrap .weapon-slot{height:clamp(34px,10vmin,52px);min-height:34px;aspect-ratio:unset;border:0;border-radius:9px;background:#25282e85;padding:2px;box-shadow:none;outline:none;overflow:hidden;}
body.touch #hotbar-wrap .weapon-slot.active{background:#20a9dcbd;outline:2px solid #fff;outline-offset:-2px;border:0;box-shadow:none;}
body.touch #hotbar-wrap .weapon-slot svg{height:68%;width:94%;filter:drop-shadow(0 1px 1px #000a);}
body.touch #hotbar-wrap .weapon-slot small{font:800 10px/1 Arial,sans-serif;color:#fff;text-shadow:0 1px 2px #000;margin:0;}
body.touch #selected-weapon-label,body.touch #xp-hud{display:none;}
body.touch #reload-progress{height:2px;margin:3px 1px 0;}
body.touch.left-hand #hotbar-wrap{right:auto;left:calc(12px + env(safe-area-inset-left,0px));}
body.touch.left-hand #mobile-controls .pause-touch{left:auto;right:calc(12px + env(safe-area-inset-right,0px));}
/* Neutral compact match information, strong white ammo counter and green HP. */
body.touch .hud-top .brand-mark,body.touch #profile-hud,body.touch #unlock-hud,body.touch #combat-stats{display:none;}
body.touch .hud-top #scorecard{left:50%;top:0;transform:translateX(-50%);min-width:78px;padding:3px 9px;background:#22252ac7;border:0;border-radius:5px;box-shadow:none;}
body.touch .hud-top #scorecard .tiny{color:#fff;font:700 8px Arial,sans-serif;letter-spacing:0;}
body.touch .hud-top #scorecard b{font-size:22px;}
body.touch .right-top{position:absolute;left:50%;right:auto;top:44px;transform:translateX(-50%);}
body.touch .right-top .timer{background:#23252ac9;border:0;box-shadow:none;font-size:14px;padding:3px 9px;}
body.touch .hud-bottom{bottom:calc(7px + env(safe-area-inset-bottom,0px));left:calc(12px + env(safe-area-inset-left,0px));right:calc(12px + env(safe-area-inset-right,0px));}
body.touch .hud-bottom .status-box,body.touch .hud-bottom .weapon-box{border:0!important;background:none!important;box-shadow:none!important;padding:0!important;border-radius:0!important;width:clamp(105px,22vw,170px);}
body.touch .hp-number{gap:4px;align-items:center;}
body.touch .hp-number b{font:900 19px/1 Arial,sans-serif;color:#fff;}
body.touch .hp-number .pulse,body.touch .hp-number small,body.touch .status-box .stat-caption,body.touch #health-segments{display:none;}
body.touch .healthbar{height:10px;max-width:none;border:2px solid #25282d;border-radius:10px;background:#24272b;box-sizing:content-box;}
body.touch .healthbar div{background:#6deb24;}
body.touch .weapon-box{display:flex;flex-direction:column;align-items:flex-end;}
body.touch .weapon-caption{order:2;letter-spacing:0;font:800 11px Arial,sans-serif;color:#fff;}
body.touch .weapon-caption #hud-class,body.touch .weapon-caption #grenade-indicator{display:none;}
body.touch .ammo{order:1;line-height:1;white-space:nowrap;}
body.touch .ammo b{font:900 30px/.95 Arial,sans-serif;color:#fff;}
body.touch .ammo-sep{padding:0 3px;color:#fff;}
body.touch .ammo span:last-child{font-size:12px;color:#fff;}
body.touch #feed{top:calc(48px + env(safe-area-inset-top,0px));right:auto;left:calc(12px + env(safe-area-inset-left,0px));width:min(24vw,165px);align-items:flex-start;}
body.touch.left-hand #feed{left:auto;right:calc(12px + env(safe-area-inset-right,0px));align-items:flex-end;}
body.touch .feed-item{background:#24272c99;border:0;border-radius:3px;}
/* Adventure actions still need descriptive text, unlike standard combat. */
body.touch.world-action-hud #mobile-controls .shoot,body.touch.world-action-hud #mobile-controls .swap,body.touch.world-action-hud #mobile-controls .reload{font-size:9px;font-weight:900;gap:2px;}
body.touch.world-action-hud #mobile-controls .shoot::before,body.touch.world-action-hud #mobile-controls .swap::before,body.touch.world-action-hud #mobile-controls .reload::before{width:41%;height:41%;}
@media(orientation:portrait){body.touch #mobile-controls{--base:calc(72px + env(safe-area-inset-bottom,0px));--pad:calc(clamp(43px,12vmin,62px)*var(--touch-scale,1));}body.touch .hud-top #scorecard{left:22%;}body.touch .right-top{left:22%;}body.touch.left-hand .hud-top #scorecard,body.touch.left-hand .right-top{left:78%;}body.touch #minimap-frame{top:115px;}body.touch #feed{top:235px;}body.touch #hotbar-wrap{top:10px;}}
@media(orientation:landscape) and (max-height:400px){body.touch #mobile-controls{--pad:calc(clamp(35px,10.8vmin,43px)*min(var(--touch-scale,1),1.18));--base:calc(45px + env(safe-area-inset-bottom,0px));}body.touch #move-ring{width:clamp(82px,26vmin,110px);height:clamp(82px,26vmin,110px);}}
body.touch #healthfill{background:#6deb24!important;}
body.touch #hotbar-wrap{background:none;border:0;box-shadow:none;}
body.touch #hotbar-wrap .weapon-slot,body.touch #hotbar-wrap .weapon-slot.active{border:0!important;}
body.touch .hud-top .right-top{background:none;border:0;border-radius:4px;box-shadow:none;}
body.touch .hud-top .right-top #fps{display:none;}
body.touch #move-ring{bottom:calc(var(--base) + 16px);}
