@import url('/hub/theme.css');
:root{color-scheme:dark;--ink:#e9ebde;--muted:#9eac9e;--line:#39473c;--paper:#17241f;--amber:#e5b469;--mint:#9fceae;--blue:#66d3c8}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#101a16;color:var(--ink);font-family:Arial,Helvetica,sans-serif}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.48;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--mint);outline-offset:3px}[hidden]{display:none!important}.voxel-app{max-width:1360px;padding:0 36px;margin:auto}.voxel-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 0;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:var(--mint);font-size:20px}.brand svg{width:124px;height:32px;fill:currentColor;image-rendering:pixelated}.back-copy{font-size:10px;letter-spacing:1.3px;color:var(--muted-foreground, var(--muted))}.top-actions{display:flex;align-items:center;gap:10px}.connection{display:flex;align-items:center;gap:7px;font:10px monospace;letter-spacing:.6px;color:var(--muted-foreground, var(--muted))}.connection i{width:6px;height:6px;background:#c38c67;border-radius:50%}.connection i.online{background:var(--mint)}.connection small{font-size:9px}.icon-button{width:44px;min-width:44px;height:44px;color:var(--ink);background:#202f27;border:1px solid var(--line);font-size:20px}.icon-button:hover,.secondary-button:hover{background:#304135}.keyboard-layout-picker{margin:0!important}.keyboard-layout-picker .keyboard-layout-label{font-size:9px;color:var(--muted-foreground, var(--muted))}.keyboard-layout-select{min-height:44px!important;background:#202f27!important;color:var(--ink)!important;border-color:var(--line)!important}.room-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 0 23px}.eyebrow{font:10px monospace;letter-spacing:1.4px;color:var(--mint)}h1{font-size:38px;letter-spacing:-1.6px;margin:8px 0 9px;font-weight:700}.edition{font:12px monospace;letter-spacing:0;vertical-align:top;margin:7px 0 0 14px;color:var(--muted-foreground, var(--muted))}.room-heading p{font-size:13px;color:var(--muted-foreground, var(--muted));margin:0;line-height:1.5}.room-code-button{display:grid;grid-template-columns:1fr auto;gap:3px 20px;text-align:left;padding:12px 17px;background:#202f27;color:var(--mint);border:1px solid var(--line);min-width:158px;flex-shrink:0}.room-code-button span{font:9px monospace;letter-spacing:1.2px;grid-column:1;color:var(--muted-foreground, var(--muted))}.room-code-button strong{font:21px monospace;letter-spacing:2px}.room-code-button i{grid-column:2;grid-row:1 / 3;align-self:center;font-style:normal;font-size:24px}.error-banner{background:#462c28;color:#ffd8c3;padding:14px 18px;margin-bottom:16px;border:1px solid #91634e;font-size:13px;line-height:1.5}.game-shell{border:1px solid var(--line);background:#1c2b23;overflow:hidden}.match-hud{height:74px;display:grid;grid-template-columns:1fr 150px 1fr;align-items:center;padding:0 24px;background:#1c2b23}.team-hud{display:flex;align-items:center;gap:18px;color:var(--amber)}.team-hud>span{font:11px monospace;letter-spacing:1.8px}.team-hud>strong{font-size:29px;line-height:1}.defend-team{justify-content:flex-end;color:var(--blue)}.team-lives{display:flex;gap:5px}.team-lives i{width:8px;height:20px;background:currentColor;clip-path:polygon(20% 0,80% 0,80% 30%,100% 30%,100% 100%,0 100%,0 30%,20% 30%)}.team-lives i.dead{opacity:.22}.round-hud{text-align:center;display:flex;flex-direction:column;gap:3px}.round-hud>span{font:9px monospace;letter-spacing:1px;color:var(--muted-foreground, var(--muted))}.round-hud strong{font:25px monospace;color:var(--ink)}.round-hud small{font:8px monospace;letter-spacing:1px;color:var(--muted-foreground, var(--muted))}.viewport{position:relative;aspect-ratio:16 / 9;min-height:300px;isolation:isolate;background:radial-gradient(ellipse at center,#3b5146,#17251f)}#arena{display:block;width:100%;height:100%;outline:none;touch-action:none;image-rendering:pixelated}.stage-info{position:absolute;top:15px;left:18px;right:18px;display:flex;justify-content:space-between;gap:12px;font:9px monospace;letter-spacing:1px;color:#d8e0cd;pointer-events:none;text-shadow:0 1px 4px #000}.stage-info span:last-child{opacity:.66}.crosshair{position:absolute;top:50%;left:50%;width:22px;height:22px;transform:translate(-50%,-50%);pointer-events:none;filter:drop-shadow(0 1px 1px #16221a)}.crosshair i,.crosshair b,.crosshair em,.crosshair span{position:absolute;background:#e9f6dd}.crosshair i{top:0;left:calc(50% - 1px);width:2px;height:6px}.crosshair b{bottom:0;left:calc(50% - 1px);width:2px;height:6px}.crosshair em{left:0;top:calc(50% - 1px);width:6px;height:2px}.crosshair span{right:0;top:calc(50% - 1px);width:6px;height:2px}.hit-marker{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fff1ce;font:39px monospace;text-shadow:0 2px 2px #131b16;pointer-events:none}.kill-feed{position:absolute;top:44px;right:18px;margin:0;padding:0;list-style:none;max-width:290px;pointer-events:none}.kill-feed li{font:10px monospace;padding:7px 9px;margin-bottom:4px;background:#111d17d9;border-left:2px solid var(--amber);color:#f3efdb}.objective-hud{position:absolute;top:42px;left:50%;transform:translateX(-50%);text-align:center;background:#152017dd;padding:9px 15px;min-width:170px;max-width:75%;pointer-events:none;border:1px solid #bb946749}.objective-hud>span{display:block;font:9px monospace;letter-spacing:1px;color:var(--amber)}.objective-hud>strong{display:block;margin-top:5px;font:12px monospace;color:#f7eed9}.interaction-track{height:4px;background:#425046;margin-top:8px}.interaction-track i{display:block;height:100%;width:0;background:var(--amber)}.combat-hud{position:absolute;bottom:18px;left:22px;right:22px;display:flex;justify-content:space-between;align-items:flex-end;pointer-events:none;text-shadow:0 2px 5px #050e08}.health-readout,.weapon-readout{background:#122018cc;padding:10px 14px;border-bottom:2px solid #c1d7ad;width:144px}.health-readout>span,.weapon-readout>span{display:block;font:9px monospace;letter-spacing:1.1px;color:#c8d5c1}.health-readout>strong{display:block;font:34px monospace;margin:3px 0 6px}.health-readout>div{background:#50654e;height:3px}.health-readout i{display:block;background:#c1d7ad;height:100%;width:100%}.weapon-readout{text-align:right;border-color:var(--amber);width:170px}.weapon-readout strong{font:34px monospace}.weapon-readout small{font:15px monospace;color:#e9dfc2}.weapon-readout p{font:8px monospace;letter-spacing:.6px;margin:4px 0 0;color:#cfbe93}.spectator-hud{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:7px;background:#13231dda;padding:10px 15px;max-width:90%;text-align:center}.spectator-hud>span{font:10px monospace;color:var(--mint)}.spectator-hud button{min-height:44px;background:#294034;color:var(--ink);border:1px solid #60745f;padding:8px 14px;font-size:12px}.game-overlay{position:absolute;inset:0;display:grid;place-items:center;padding:24px;background:linear-gradient(0deg,#111e1990,#111e1960);backdrop-filter:blur(2px)}.overlay-card{text-align:center;background:#16281fed;border:1px solid #75826d;padding:30px 36px;max-width:490px;box-shadow:7px 7px 0 #09160b55}.overlay-card h2{margin:12px 0;font-size:29px;letter-spacing:-.8px}.overlay-card>p{font-size:13px;color:#bec7b6;line-height:1.65;margin:0 0 20px}.overlay-card .primary-button{min-width:210px}.overlay-card .aim-note{font-size:11px;max-width:320px;margin:14px auto 0;color:#d6c8a9}.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:space-between;gap:26px;min-height:46px;padding:13px 18px;border:1px solid #93b090;background:var(--mint);color:#15271c;font-weight:bold;font-size:13px}.primary-button:hover{background:#b5ddbe}.primary-button span{font-size:19px;line-height:1}.secondary-button{background:#26372c;color:var(--ink);border-color:var(--line);font-weight:normal}.pause-button{position:absolute;bottom:19px;left:50%;transform:translateX(-50%);width:44px;height:44px;background:#14261c9e;border:1px solid #98af8770;color:#d1decb;font-size:17px}.objective-bar{display:flex;align-items:center;gap:9px;padding:12px 18px;font:10px monospace;color:var(--muted-foreground, var(--muted));border-top:1px solid var(--line);line-height:1.5}.objective-bar>i{width:5px;height:5px;flex-shrink:0;background:var(--mint)}#objective-mode{margin-left:auto;font-size:9px;letter-spacing:.5px;flex-shrink:0}.lobby-panel{border:1px solid var(--line);margin-top:22px;padding:22px 24px;background:#192820}.lobby-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.lobby-heading h2{font-size:22px;letter-spacing:-.4px;margin:6px 0 19px}.lobby-heading>span{font:10px monospace;color:var(--muted-foreground, var(--muted))}.rosters{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:21px}.roster{display:flex;flex-direction:column;gap:7px}.roster-slot{display:flex;align-items:center;gap:12px;padding:9px 12px;background:#243328;border-left:2px solid var(--amber);min-height:48px}.roster:last-child .roster-slot{border-color:var(--blue)}.roster-slot>i{font:12px monospace;color:var(--amber);font-style:normal;width:22px;flex-shrink:0}.roster:last-child .roster-slot>i{color:var(--blue)}.roster-slot>div{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.roster-slot strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.roster-slot small{font:9px monospace;color:var(--muted-foreground, var(--muted))}.roster-slot>span{font:9px monospace;color:var(--mint);white-space:nowrap}.roster-slot.empty{opacity:.48}.lobby-actions{display:grid;grid-template-columns:minmax(100px,1fr) minmax(150px,1.3fr) minmax(140px,.8fr);gap:18px;align-items:end}.lobby-actions label{display:flex;flex-direction:column;gap:7px;color:var(--muted-foreground, var(--muted));font:9px monospace;letter-spacing:.9px}.lobby-actions input,.lobby-actions select{height:46px;min-width:0;width:100%;padding:10px 12px;color:var(--ink);background:#111f18;border:1px solid #485b45;border-radius:0;font:13px Arial}.lobby-actions input:disabled{color:#97aa91;background:#203225}.lobby-panel>p{color:var(--muted-foreground, var(--muted));font-size:11px;margin:13px 0 0;line-height:1.5}.invite-panel{display:grid;grid-template-columns:1fr auto;gap:10px 20px;padding:22px 0;border-bottom:1px solid var(--line);align-items:center}.invite-panel>.eyebrow{grid-column:1;font-size:9px}.invite-panel code{grid-column:1;color:#c0cfba;font-size:12px;overflow-wrap:anywhere;line-height:1.6}.invite-panel button{grid-column:2;grid-row:1 / 3}footer{display:flex;justify-content:space-between;gap:15px;padding:23px 0;color:var(--muted-foreground, var(--muted));font:9px monospace;letter-spacing:.7px}footer a{color:var(--mint);text-decoration:none}.guide-dialog{position:fixed;inset:0;z-index:20;background:#08110bdd;display:grid;place-items:center;overflow:auto;padding:30px}.guide-card{background:#1c2c22;border:1px solid #8b9d7c;max-width:800px;padding:35px;position:relative;max-height:calc(100dvh - 60px);overflow:auto;box-shadow:8px 8px 0 #060d0788}.guide-card>.icon-button{position:absolute;right:16px;top:16px}.guide-card h2{font-size:30px;letter-spacing:-1px;margin:12px 55px 14px 0}.guide-intro,.guide-note{color:#b3c0aa;font-size:13px;line-height:1.65}.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 30px;margin:23px 0}.guide-grid h3{font:10px monospace;letter-spacing:1px;color:var(--amber)}.guide-grid p{font-size:12px;color:#c3ccbb;line-height:1.85}kbd{display:inline-block;font:10px monospace;padding:1px 5px;border:1px solid #758264;color:#e4e8d8;background:#263b2b}.guide-note{border-top:1px solid var(--line);padding-top:15px;font-size:11px}.toast{position:fixed;left:50%;bottom:26px;transform:translateX(-50%);z-index:30;background:#d2e1c4;color:#18281b;box-shadow:4px 4px 0 #07100888;padding:13px 22px;font-size:12px;max-width:90%;text-align:center}.touch-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;background:#1b2e22;border-top:1px solid var(--line);touch-action:none;user-select:none}.touch-pad{position:relative;width:100px;min-width:72px;height:100px;border:1px solid #50654b;background:radial-gradient(circle,#344d34,#213722);touch-action:none;overflow:hidden}.touch-pad>span{position:absolute;top:8px;left:0;right:0;text-align:center;font:9px monospace;letter-spacing:1px;color:#adbea1}.touch-pad>i{position:absolute;width:35px;height:35px;border:1px solid #90aa7d;background:#6e8b6144;left:calc(50% - 17.5px);top:calc(50% - 10px);border-radius:50%;pointer-events:none}.touch-pad>b{position:absolute;bottom:8px;text-align:center;left:0;right:0;font-size:16px;font-weight:normal;color:#9cb88c}.touch-actions{display:grid;grid-template-columns:repeat(3,minmax(44px,1fr));gap:6px;flex:1;max-width:300px}.touch-actions>button{min-width:44px;min-height:44px;padding:5px 4px;border:1px solid #718968;color:#dce7d3;background:#2d442b;font:9px monospace;touch-action:none}.touch-actions>button:first-child{color:#f3d5a5;border-color:#a58b5d;background:#55472d}.touch-actions>button.pressed{background:#729165;color:#0e200f}.touch-pad.active{border-color:#afca99}#game-shell:fullscreen{border:0;width:100%;height:100%;display:flex;flex-direction:column;background:#111e17}#game-shell:fullscreen .viewport{flex:1;min-height:0;aspect-ratio:auto}#game-shell:fullscreen .match-hud{flex-shrink:0}#game-shell:fullscreen .objective-bar{flex-shrink:0}
@media(max-width:900px){.voxel-app{padding:0 20px}.voxel-topbar{flex-wrap:wrap;gap:12px;padding:15px 0}.top-actions{margin-left:auto}.back-copy{display:none}.room-heading{padding:23px 0}.match-hud{padding:0 16px}.connection small{display:none}.rosters{gap:14px}.lobby-actions{gap:12px}.viewport{min-height:280px}.team-hud{gap:12px}}
@media(max-width:600px){.voxel-app{padding:0 12px}.voxel-topbar{gap:10px}.brand svg{width:105px;height:28px}.brand{gap:9px}.top-actions{gap:5px;flex-wrap:wrap;justify-content:flex-end;max-width:100%;width:100%;margin:0}.connection{margin-right:auto;font-size:9px}.keyboard-layout-label{display:none!important}.keyboard-layout-select{max-width:137px;font-size:11px!important}.icon-button{width:44px;height:44px}.room-heading{gap:10px;padding:20px 0}.room-heading .eyebrow{font-size:8px;letter-spacing:.6px}.room-heading h1{font-size:29px;letter-spacing:-1px;margin:7px 0}.edition{font-size:10px;margin:5px 0 0 7px}.room-heading p{font-size:11px;max-width:225px}.room-code-button{min-width:87px;padding:10px 9px;gap:4px}.room-code-button i{display:none}.room-code-button strong{font-size:17px;letter-spacing:1px}.room-code-button span{font-size:7px;letter-spacing:.5px}.match-hud{height:68px;padding:0 10px;grid-template-columns:1fr 110px 1fr}.team-hud{gap:7px;flex-wrap:wrap}.team-hud>span{font-size:8px;letter-spacing:.5px}.team-hud>strong{font-size:23px}.team-lives{gap:3px}.team-lives i{width:6px;height:15px}.round-hud>span{font-size:8px;letter-spacing:.2px}.round-hud strong{font-size:22px}.round-hud small{font-size:7px;letter-spacing:.2px}.viewport{aspect-ratio:1.12;min-height:278px}.stage-info{left:10px;right:10px;top:11px;font-size:7px;letter-spacing:.2px}.stage-info span:last-child{display:none}.objective-hud{top:31px;max-width:75%;min-width:135px;padding:7px 9px}.objective-hud>span{font-size:8px}.objective-hud>strong{font-size:10px}.kill-feed{top:73px;right:9px;max-width:210px}.kill-feed li{font-size:8px;padding:5px 7px}.combat-hud{left:10px;right:10px;bottom:10px}.health-readout{padding:7px 9px;width:89px}.weapon-readout{padding:7px 9px;width:111px}.health-readout>span,.weapon-readout>span{font-size:7px}.health-readout>strong,.weapon-readout strong{font-size:26px}.weapon-readout small{font-size:12px}.weapon-readout p{font-size:6px;letter-spacing:0}.pause-button{bottom:13px}.objective-bar{padding:10px 11px;font-size:9px}.objective-bar>span:last-child{display:none}.overlay-card{padding:20px 18px;max-width:100%;box-shadow:4px 4px 0 #07130b55}.overlay-card h2{font-size:23px;margin:10px 0}.overlay-card>p{font-size:11px;line-height:1.6;margin-bottom:15px}.game-overlay{padding:16px}.overlay-card .eyebrow{font-size:8px;letter-spacing:.8px}.overlay-card .primary-button{min-width:185px}.overlay-card .aim-note{font-size:9px}.touch-controls{padding:8px;gap:6px}.touch-pad{width:70px;min-width:60px;height:102px}.touch-actions{gap:5px;grid-template-columns:repeat(3,minmax(44px,1fr))}.touch-actions>button{font-size:7px;letter-spacing:0;min-height:48px;padding:4px 2px}.touch-pad>span{font-size:8px;letter-spacing:.4px}.lobby-panel{margin-top:15px;padding:18px 14px}.lobby-heading .eyebrow{font-size:8px;letter-spacing:.5px}.lobby-heading h2{font-size:20px;margin-bottom:15px}.lobby-heading>span{font-size:8px}.rosters{gap:8px;margin-bottom:16px}.roster-slot{padding:8px 7px;gap:6px;min-height:54px;flex-wrap:wrap}.roster-slot>i{width:16px;font-size:10px}.roster-slot strong{font-size:10px}.roster-slot small,.roster-slot>span{font-size:8px}.roster-slot>span{margin-left:22px}.lobby-actions{grid-template-columns:1fr;gap:13px}.lobby-actions .primary-button{width:100%;margin-top:2px}.lobby-panel>p{font-size:10px}.invite-panel{grid-template-columns:1fr;gap:10px;padding:20px 0}.invite-panel>.eyebrow{font-size:8px;letter-spacing:.5px}.invite-panel code{font-size:10px}.invite-panel button{grid-row:auto;grid-column:1;justify-content:space-between;min-height:44px;font-size:12px}footer{font-size:8px;flex-wrap:wrap;line-height:1.7;gap:10px}footer span:nth-child(2){display:none}.guide-dialog{padding:12px}.guide-card{padding:25px 18px;max-height:calc(100dvh - 24px)}.guide-card h2{font-size:25px;margin-right:45px}.guide-grid{grid-template-columns:1fr;gap:6px}.guide-card>.icon-button{right:10px;top:10px}.guide-intro{font-size:12px}.spectator-hud{bottom:11px;padding:8px 10px}.spectator-hud>span{font-size:8px}}
@media(max-width:350px){.voxel-app{padding:0 8px}.room-heading h1{font-size:25px}.room-heading .eyebrow{font-size:7px}.room-heading p{font-size:10px}.room-code-button{min-width:78px;padding:8px}.room-code-button strong{font-size:15px}.edition{display:none}.touch-controls{gap:4px;padding:6px}.touch-pad{width:49px;min-width:49px;height:102px}.touch-actions{gap:4px}.touch-actions>button{min-width:44px}.viewport{min-height:275px}.match-hud{grid-template-columns:1fr 98px 1fr;padding:0 8px}.team-hud{gap:5px}.team-hud>span{font-size:7px}.team-lives i{height:13px;width:5px}.keyboard-layout-select{max-width:126px}.connection{font-size:8px}.overlay-card{padding:18px 13px}.game-overlay{padding:13px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.team-choices{display:flex;align-items:center;gap:10px;margin:-2px 0 20px;flex-wrap:wrap}.team-choices>span{font:9px monospace;letter-spacing:1px;color:var(--muted-foreground, var(--muted));margin-right:3px}.team-choices button{min-width:88px;min-height:44px;font:11px monospace;border:1px solid #8c7650;color:var(--amber);background:#3c3626}.team-choices .teal-choice{border-color:#53877b;color:var(--blue);background:#233b35}.team-choices button[aria-pressed=true]{opacity:1;box-shadow:inset 0 -3px currentColor}.team-choices small{font-size:10px;color:var(--muted-foreground, var(--muted))}@media(max-width:600px){.team-choices{gap:8px;margin-bottom:17px}.team-choices small{width:100%;font-size:9px}.team-choices button{min-width:90px}}

/* Arena information stays legible against both sunlit stone and shaded containers. */
.crosshair{filter:drop-shadow(0 0 1px #07140b) drop-shadow(0 1px 1px #07140b)}
.crosshair i,.crosshair b,.crosshair em,.crosshair span{background:#f6fff0;box-shadow:0 0 0 1px #17241fd9}
.round-hud strong.urgent{color:#ffac8b}.round-hud>span.device-live{color:var(--amber)}
.health-readout.low-health{border-color:#eea384}.health-readout.low-health strong{color:#ffd4bc}.health-readout.low-health i{background:#eea384}
.weapon-readout strong.low-ammo{color:#ffc58a}.reload-track{height:3px;background:#5a6148;margin-top:8px}.reload-track i{display:block;height:100%;background:var(--amber);width:0}
.objective-hud.interacting{border-color:var(--amber);background:#17251ff2}.objective-hud.device-live{border-color:#dca4789c}
.damage-cue{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at center,transparent 45%,#bf553440);box-shadow:inset 0 0 44px #b6482b60}
.hit-marker[data-kind=headshot]{color:#ffdb92}.hit-marker[data-kind=elimination]{color:#ffc58e;text-shadow:0 1px 3px #07140b}
.combat-feedback{position:absolute;top:calc(50% + 29px);left:50%;transform:translateX(-50%);padding:5px 8px;white-space:nowrap;font:9px monospace;letter-spacing:1px;color:#ffe4ae;background:#15231fd9;pointer-events:none}
.kill-feed li.own-kill{border-color:var(--mint);background:#18382ee8}.kill-feed li.headshot{color:#ffe0a6}
.tactical-map{position:absolute;top:42px;left:18px;width:146px;padding:7px 7px 6px;background:#111f19e8;border:1px solid #899c795e;box-shadow:0 2px 8px #09120b26;pointer-events:none}
.tactical-map svg{display:block;width:100%;height:116px}.map-north{position:absolute;right:8px;top:5px;font:8px monospace;color:#d5dfcb}.map-caption{display:flex;justify-content:center;align-items:center;gap:6px;color:#d5dfcb;font:7px monospace;letter-spacing:.2px;margin-top:3px}.map-caption i{display:inline-block;width:5px;height:5px;background:var(--mint);border-radius:50%}
.map-floor{fill:#24372c;stroke:#91a183;stroke-width:.25}.map-cover{fill:#6c7b63;stroke:#9eaa8f;stroke-width:.18}.map-cover.low{fill:#465c47}.map-site{fill:#d2ae5b30;stroke:#e5c383;stroke-width:.32}.map-site-label{fill:#ffe0a8;font:3.2px monospace;text-anchor:middle;font-weight:bold}.map-player{fill:#b6e1bc;stroke:#102519;stroke-width:.4}.map-player.self{fill:#fff2cf;stroke:#17241f;stroke-width:.45}
.phase-announcement{position:absolute;top:42px;left:50%;transform:translateX(-50%);max-width:70%;width:350px;padding:14px 18px;background:#13241ee8;border:1px solid #a8bc9259;text-align:center;pointer-events:none;box-shadow:0 3px 14px #07160a28}
.phase-announcement>span{font:9px monospace;letter-spacing:1px;color:var(--amber)}.phase-announcement>strong{display:block;font-size:20px;margin:7px 0;letter-spacing:-.5px}.phase-announcement p{font:11px monospace;line-height:1.55;color:#d7e0cc;margin:0}.phase-announcement>small{display:block;font:8px monospace;color:#afc1a4;letter-spacing:.1px;margin-top:9px}
.phase-announcement[data-phase=roundEnd]{top:42%;transform:translate(-50%,-50%);width:420px;padding:25px 24px;background:#13251ff2;border-color:#9cae8b;box-shadow:6px 6px 0 #08150c66}.phase-announcement[data-phase=roundEnd]>strong{font-size:31px;margin:10px 0}.phase-announcement[data-outcome=won][data-phase=roundEnd]>strong{color:#c7e5b6}.phase-announcement[data-outcome=lost][data-phase=roundEnd]>strong{color:#f2c09b}
.arena-loadouts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:-4px 0 18px}.arena-loadouts button{min-height:66px;padding:10px 7px;color:#d9e5ce;background:#24372c;border:1px solid #60775a;font:9px monospace;letter-spacing:.3px}.arena-loadouts button b{color:var(--amber);font:10px monospace;margin-right:5px}.arena-loadouts button small{display:block;color:#a9bba0;font:9px Arial;margin-top:7px;letter-spacing:0}.arena-loadouts button[aria-pressed=true]{border-color:var(--mint);background:#34503b;box-shadow:inset 0 -2px var(--mint)}.arena-loadouts button:hover{background:#375440}
@media(max-width:600px){
  .tactical-map{width:82px;top:31px;left:10px;padding:5px}.tactical-map svg{height:69px}.map-north{font-size:6px;top:3px;right:5px}.map-caption{display:none}
  .objective-hud{left:104px;right:10px;transform:none;max-width:none;min-width:0}.objective-hud>span{font-size:7px;letter-spacing:.3px}.objective-hud>strong{font-size:9px;line-height:1.5}
  .kill-feed{top:116px;max-width:200px}.combat-feedback{font-size:8px;letter-spacing:.5px;top:calc(50% + 25px)}
  .phase-announcement{top:31px;left:104px;right:10px;transform:none;max-width:none;width:auto;padding:10px 8px}.phase-announcement>span{font-size:7px;letter-spacing:.3px}.phase-announcement>strong{font-size:15px;margin:6px 0}.phase-announcement p{font-size:9px;line-height:1.5}.phase-announcement>small{font-size:6px;line-height:1.7;margin-top:6px}
  .phase-announcement[data-phase=roundEnd]{left:50%;right:auto;top:44%;width:87%;max-width:87%;padding:18px 13px}.phase-announcement[data-phase=roundEnd]>strong{font-size:25px}
  .overlay-card:has(.arena-loadouts:not([hidden])){padding:16px 13px}.overlay-card:has(.arena-loadouts:not([hidden])) h2{font-size:21px;margin:8px 0}.overlay-card:has(.arena-loadouts:not([hidden]))>p{font-size:10px;margin-bottom:13px;line-height:1.45}.overlay-card:has(.arena-loadouts:not([hidden])) .aim-note{margin-top:10px;font-size:8px}
  .arena-loadouts{gap:5px;margin:0 0 12px}.arena-loadouts button{min-height:51px;padding:7px 3px;font-size:7px;letter-spacing:0}.arena-loadouts button b{font-size:8px;margin-right:3px}.arena-loadouts button small{font-size:7px;line-height:1.3;margin-top:5px}
}
@media(max-width:350px){.tactical-map{width:74px}.objective-hud,.phase-announcement{left:93px}.objective-hud>span{font-size:6px}.objective-hud>strong{font-size:8px}.phase-announcement[data-phase=roundEnd]{left:50%}.phase-announcement>small{font-size:5.8px}.arena-loadouts button small{display:none}.overlay-card:has(.arena-loadouts:not([hidden])) .aim-note{display:none}}

/* Weapon and supply feedback stays compact beside the live arena. */
.health-column{display:flex;flex-direction:column;gap:6px;width:154px}.health-column .health-readout{width:100%}
.utility-readout{display:flex;justify-content:space-between;gap:5px;padding:6px 7px;background:#122018e6;border:1px solid #65785977;font:8px monospace;color:#d8e7cb;letter-spacing:.1px;white-space:nowrap}.utility-readout>span{display:flex;align-items:center;gap:3px}.utility-readout svg{width:13px;height:13px;stroke:var(--amber);stroke-width:1.1;fill:none;flex:none}.utility-readout kbd{font:7px monospace;color:#b3c1a4}.utility-readout b{font:10px monospace;color:#e7efd9}.utility-readout .spent{opacity:.46}.utility-readout .channeling{opacity:1;color:var(--mint)}.utility-readout .channeling svg{stroke:var(--mint)}
.weapon-readout[data-slot=sword] strong{display:block;font:19px monospace;line-height:1.8;color:#e3efcf}.weapon-readout.healing{border-color:var(--mint)}.weapon-readout.healing>span,.weapon-readout.healing .reload-track i{color:var(--mint)}.weapon-readout.healing .reload-track i{background:var(--mint)}
.crosshair[data-stance=aim]{opacity:.78}.crosshair[data-stance=aim] i,.crosshair[data-stance=aim] b{height:4px}.crosshair[data-stance=aim] em,.crosshair[data-stance=aim] span{width:4px}.crosshair[data-stance=sword]{transform:translate(-50%,-50%) rotate(45deg);opacity:.72}.crosshair[data-stance=sword] i,.crosshair[data-stance=sword] b{height:4px}.crosshair[data-stance=sword] em,.crosshair[data-stance=sword] span{width:4px}
.scope-reticle{position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at center,transparent 0 22%,#0710099c 23%,#050b07dc 60%)}.scope-reticle svg{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(45%,260px);height:75%;overflow:visible;stroke:#dce8c9;stroke-width:.45;fill:#dce8c9;filter:drop-shadow(0 1px 1px #061309)}.scope-reticle>span{position:absolute;left:50%;top:calc(50% + 90px);transform:translateX(-50%);color:#bdccaf;font:7px monospace;letter-spacing:.8px;white-space:nowrap}
.arena-loadouts button{min-height:58px}.overlay-card:has(.arena-loadouts:not([hidden])){padding-top:22px;padding-bottom:22px}.overlay-card:has(.arena-loadouts:not([hidden]))>p{margin-bottom:16px}
.touch-actions{grid-template-columns:repeat(5,minmax(44px,1fr));max-width:400px}.touch-actions>button[data-voxel-action=aim]{border-color:#80a78d;background:#2e4b3c}.touch-actions>button[data-voxel-action=swap]{border-color:#879e8b;background:#3a483d}.touch-actions>button[data-voxel-action=heal]{color:#bdddba}.touch-actions>button.unavailable{opacity:.5}.touch-actions>button.pressed{opacity:1;background:#729165;color:#0e200f}.touch-actions>button[data-voxel-action=swap][aria-pressed=true]{box-shadow:inset 0 -2px var(--mint)}
@media(max-width:600px){
  .health-column{width:109px;gap:4px}.health-column .health-readout{width:89px}.utility-readout{font-size:6px;padding:4px 5px;gap:4px}.utility-readout svg{width:10px;height:10px}.utility-readout kbd{display:none}.utility-readout b{font-size:8px}.weapon-readout[data-slot=sword] strong{font-size:13px;line-height:2}.scope-reticle svg{width:55%;height:60%}.scope-reticle>span{font-size:5px;top:calc(50% + 69px);letter-spacing:.3px}
  .viewport:has(.arena-loadouts:not([hidden])){min-height:385px}.overlay-card:has(.arena-loadouts:not([hidden])){max-width:100%;padding:16px 13px}.overlay-card:has(.arena-loadouts:not([hidden]))>p{margin-bottom:12px}.arena-loadouts button{min-height:51px}.touch-actions{grid-template-columns:repeat(3,minmax(44px,1fr));max-width:330px}.touch-actions>button:last-child{grid-column:1 / -1}.touch-pad{height:145px}
}
@media(max-width:350px){.viewport:has(.arena-loadouts:not([hidden])){min-height:350px}.arena-loadouts button{min-height:44px}.health-column{width:106px}.utility-readout{font-size:6px;gap:3px;padding:4px}.touch-pad{height:145px}.touch-actions>button{font-size:8px}}

/* Bound the overlay grid track before resolving the card's percentage width. */
.game-overlay{grid-template-columns:minmax(0,1fr)}
.overlay-card{width:min(490px,100%);min-width:0;overflow-wrap:anywhere}
.arena-loadouts{width:100%;min-width:0}.arena-loadouts button{min-width:0;overflow-wrap:anywhere}
/* A tall mobile setup keeps the parent width when its aspect ratio yields. */
.game-shell{min-width:0}.viewport{width:100%;min-width:0}

/* Nine loadouts remain reachable inside shorter windows and mobile setup views. */
.game-overlay{grid-template-rows:minmax(0,1fr)}
.overlay-card{max-height:100%;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#7f9974 #16281f;scrollbar-width:thin}
.arena-loadouts button{line-height:1.4}.arena-loadouts button small{line-height:1.35}
.position-status{font:8px monospace;letter-spacing:.6px;color:#b4c5ac;padding:2px 1px;text-shadow:0 1px 3px #08130b}
.position-status.elevated{color:#f2d18d}
.map-cover.elevated{fill:#8b8262;stroke:#c3b786}.map-climb-path{fill:none;stroke:#e6c583;stroke-width:.35;stroke-dasharray:1 1;opacity:.62}
.map-climb-step{fill:#24372c;stroke:#f0d29a;stroke-width:.34}.map-player.elevated-player{stroke:#ffe1a0;stroke-width:.7}.map-caption b{font:9px monospace;color:#f0d29a}
@media(max-width:600px){.viewport:has(.arena-loadouts:not([hidden])){min-height:430px}.position-status{font-size:6px;letter-spacing:.3px}.phase-announcement>small{line-height:1.8}}
@media(max-width:350px){.viewport:has(.arena-loadouts:not([hidden])){min-height:400px}.arena-loadouts button{min-height:45px}}

/* Tactical health: immediate HP, a readable recent-damage trail, and clear team context. */
.health-column{max-width:220px}.health-readout{width:210px;padding:10px 14px 9px;border:1px solid #809c8e;border-bottom:3px solid #b9edda;background:#0c1917ed;box-shadow:0 2px 8px #0004}
.health-readout>span{font:9px monospace;letter-spacing:1.25px;color:#d5ebe2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.health-readout .health-numbers{display:flex;align-items:baseline;gap:7px;height:auto;background:none;margin:3px 0 7px}
.health-numbers strong{font:bold 38px monospace;line-height:1;color:#f4fffb}.health-numbers small{font:12px monospace;color:#aec9be}.health-numbers b{margin-left:auto;font:11px monospace;color:#aeefc0;white-space:nowrap}
.health-readout .health-meter{height:12px;position:relative;background:#233d35;border:1px solid #637a6d;overflow:hidden}
.health-meter i{position:absolute;left:0;top:0;height:100%;width:100%;display:block}.health-meter .health-trail{background:#dfad6c}.health-meter .health-fill{background:#b9edda}
.health-segments{position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(10% - 1px),#0c1917 10%);pointer-events:none}
.health-status{display:block;margin-top:6px;font:8px monospace;letter-spacing:.6px;color:#abc7ba}.health-readout.low-health{border-color:#eda887;background:#2a1713ed}.health-readout.low-health .health-fill{background:#ffb392}.health-readout.low-health .health-status{color:#ffbca3}.health-readout.is-spectating{border-color:var(--blue)}
.roster-health{display:block;width:100%;height:4px;background:#14241c;position:relative;overflow:hidden}.roster-health i{display:block;height:100%;background:#b9edda}.roster-slot small b{color:#c6e6d5;font-weight:normal}
.weapon-comparison{margin-top:18px;padding:18px;background:#11231c;border:1px solid #456052;display:grid;grid-template-columns:1.15fr .9fr 1fr;gap:20px;min-width:0}.comparison-title h3{margin:7px 0 6px;font-size:18px;letter-spacing:-.4px}.comparison-title p{font-size:11px;color:#b8caba;line-height:1.5;margin:0}.comparison-damage>span{font:8px monospace;color:#aacabb;letter-spacing:.6px}.comparison-damage dl{display:flex;gap:20px;margin:12px 0 0}.comparison-damage dl>div{flex:1}.comparison-damage dt{font:8px monospace;color:#9db3a5}.comparison-damage dd{font:bold 26px monospace;margin:4px 0 0;color:#f7e8be}.comparison-details p{margin:0 0 6px;font:9px monospace;color:#abc3b4;line-height:1.45}.comparison-details p:has(span){display:flex;justify-content:space-between;gap:12px}.comparison-details span{font-size:8px;color:#91aa9b}.comparison-details strong{font-weight:normal;color:#e9f2df;text-align:right}
@media(max-width:850px){.weapon-comparison{grid-template-columns:1fr 1fr;gap:16px}.comparison-title{grid-column:1/-1}}
@media(max-width:600px){.health-column{max-width:132px}.health-readout{width:130px;padding:7px 9px 6px}.health-readout>span{font-size:7px;letter-spacing:.5px}.health-readout .health-numbers{gap:4px;margin:3px 0 6px}.health-numbers strong{font-size:30px}.health-numbers small{font-size:9px}.health-numbers b{font-size:8px}.health-readout .health-meter{height:10px}.health-status{font-size:6px;letter-spacing:.05px}.spectator-hud{bottom:107px}.weapon-comparison{padding:14px;gap:14px 12px}.comparison-title h3{font-size:16px}.comparison-title p{font-size:10px}.comparison-damage>span{font-size:7px;letter-spacing:0;display:block;line-height:1.5}.comparison-damage dl{gap:12px;margin-top:10px}.comparison-damage dd{font-size:22px}.comparison-details p{font-size:8px}.comparison-details span{font-size:7px}}
@media(max-width:350px){.health-column{max-width:119px}.health-readout{width:118px;padding:7px 8px 6px}.health-numbers strong{font-size:29px}.health-numbers b{font-size:7px}.health-status{font-size:6px;letter-spacing:0}.weapon-comparison{grid-template-columns:1fr;padding:12px}.comparison-title{grid-column:auto}.comparison-damage dl{max-width:210px}.comparison-details p{font-size:9px}.spectator-hud{bottom:105px}}
@media(prefers-reduced-motion:reduce){.health-meter i{transition:none!important}.health-gain{animation:none!important}}

.health-column{width:210px}.health-column .health-readout{width:100%}
.overlay-card .arena-weapon-stats{font:9px monospace;line-height:1.7;letter-spacing:.1px;color:#e5c99b;background:#0b1b15;padding:8px 10px;border:1px solid #39584a;margin:8px 0 12px}
@media(max-width:600px){.health-column{width:130px}.health-column .health-readout{width:100%}.overlay-card .arena-weapon-stats{font-size:7px;line-height:1.6;padding:6px 7px;margin:5px 0 9px}}
@media(max-width:350px){.health-column{width:118px}.health-column .health-readout{width:100%}}

.squad-health{position:absolute;top:42px;right:18px;width:154px;display:grid;gap:4px;pointer-events:none}.squad-health-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;padding:6px 8px;background:#10251deb;border:1px solid #577161;font:8px monospace;color:#d7e9de}.squad-health-row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.squad-health-row>b{font-size:8px;color:#c9f0dd}.squad-health-row>i{grid-column:1/-1;display:block;height:3px;background:#30483a;font-style:normal}.squad-health-row em{display:block;height:100%;background:#b9edda}.squad-health-row.low{border-color:#bd8065}.squad-health-row.low>b{color:#ffd0ad}.squad-health-row.low em{background:#f0aa85}.squad-health-row.eliminated{opacity:.65}.viewport:has(.squad-health:not([hidden])) .kill-feed{top:120px}
@media(max-width:600px){.squad-health{top:110px;right:10px;width:103px;gap:3px}.squad-health-row{padding:4px 5px;gap:3px 5px;font-size:7px}.squad-health-row>b{font-size:7px}.viewport:has(.squad-health:not([hidden])) .kill-feed{top:174px;max-width:160px}}

/* On small screens, the watched player's card already identifies the camera. */
@media(max-width:600px){
  .viewport:has(.health-readout.is-spectating) .spectator-hud{bottom:14px;width:44px;max-width:44px;padding:0;gap:0;background:none}
  .viewport:has(.health-readout.is-spectating) .spectator-hud>span{display:none}
  .viewport:has(.health-readout.is-spectating) .spectator-hud:has(#next-spectator[hidden]){display:none}
  .viewport:has(.health-readout.is-spectating) #next-spectator{width:44px;height:44px;min-width:44px;padding:0;font-size:0}
  .viewport:has(.health-readout.is-spectating) #next-spectator::after{content:'→';font-size:20px;line-height:1}
}

/* Compact match HUD: clear numbers and alerts, with more of the arena visible. */
.match-hud{height:52px;padding:0 16px;grid-template-columns:1fr 120px 1fr}
.team-hud{gap:12px}.team-hud>span{font-size:9px;letter-spacing:1px}.team-hud>strong{font-size:23px}.team-lives i{width:6px;height:15px}
.round-hud{gap:1px}.round-hud>span{font-size:8px;letter-spacing:.4px}.round-hud strong{font-size:20px}.round-hud small{font-size:7px;letter-spacing:.4px}
.stage-info{top:10px;left:14px;right:14px;font-size:8px;letter-spacing:.5px}
.tactical-map{top:30px;left:14px;width:94px;padding:4px;background:#111f19c9;box-shadow:none}.tactical-map svg{height:78px}.map-caption{display:none}.map-north{right:5px;top:3px;font-size:6px}
.objective-hud{top:30px;padding:5px 9px;min-width:140px;max-width:48%;background:#152017ca}.objective-hud>span{font-size:7px;letter-spacing:.6px}.objective-hud>strong{font-size:9px;margin-top:3px;line-height:1.35}.interaction-track{height:3px;margin-top:5px}
.combat-hud{bottom:13px;left:16px;right:16px}.health-column{width:140px;max-width:140px;gap:2px}
.health-column .health-readout{padding:6px 9px 7px;border-bottom-width:2px;background:#0c1917d4;box-shadow:none}
.health-readout:not(.is-spectating)>#health-subject{display:none}.health-readout.is-spectating>#health-subject{font-size:7px;line-height:1.2;letter-spacing:.4px}
.health-readout .health-numbers{gap:4px;margin:0 0 4px}.health-numbers strong{font-size:28px}.health-numbers small{font-size:9px}.health-numbers b{font-size:8px}
.health-readout .health-meter{height:8px}
.health-status{font-size:6px;line-height:1.25;letter-spacing:.15px;margin-top:4px}.health-readout:not(.low-health):not(.is-spectating) .health-status{display:none}
.utility-readout{padding:2px 2px;background:none;border:0;gap:8px}.utility-readout>span{font-size:0;gap:4px}.utility-readout svg{width:11px;height:11px}.utility-readout kbd{display:inline-block;font:6px monospace;padding:0 2px}.utility-readout b{font-size:9px}
.position-status{font-size:6px;line-height:1.2;padding:0 1px;letter-spacing:.3px}.position-status:not(.elevated){opacity:.5}
.weapon-readout{width:115px;padding:6px 8px 5px;background:#122018b8;border-bottom-width:1px}.weapon-readout>span{font-size:7px;line-height:1.3;letter-spacing:.6px}.weapon-readout strong{font-size:26px;line-height:1.05}.weapon-readout small{font-size:11px}.weapon-readout p{font-size:6px;line-height:1.35;letter-spacing:0;margin:3px 0 0}.weapon-readout .reload-track{height:3px;margin-top:5px}
.weapon-readout[data-slot=sword] strong{font-size:15px;line-height:1.7}
.squad-health{top:30px;right:14px;width:124px;gap:3px}.squad-health-row{padding:4px 6px;gap:3px 6px;background:#10251dcc;border-color:#57716188;font-size:7px}.squad-health-row>b{font-size:7px}.squad-health-row>i{height:2px}
.kill-feed{top:92px;right:14px;max-width:225px}.kill-feed li{font-size:8px;padding:4px 7px;margin-bottom:3px}.viewport:has(.squad-health:not([hidden])) .kill-feed{top:92px}
.objective-bar{padding:8px 14px;font-size:9px}
@media(max-width:600px){
  .match-hud{height:46px;padding:0 8px;grid-template-columns:1fr 102px 1fr}.team-hud{gap:6px}.team-hud>span{font-size:7px;letter-spacing:.3px}.team-hud>strong{font-size:20px}.team-lives i{width:5px;height:12px}.round-hud>span{font-size:7px;letter-spacing:.1px}.round-hud strong{font-size:19px}.round-hud small{font-size:6px;letter-spacing:.1px}
  .stage-info{top:9px;left:8px;right:8px;font-size:6px;letter-spacing:.2px}.tactical-map{top:25px;left:8px;width:70px;padding:3px}.tactical-map svg{height:61px}
  .objective-hud{top:25px;left:86px;right:8px;max-width:none;min-width:0;padding:4px 6px}.objective-hud>span{font-size:6px;letter-spacing:.1px}.objective-hud>strong{font-size:8px;margin-top:2px;line-height:1.3}.phase-announcement{left:86px;right:8px;top:25px}
  .combat-hud{left:8px;right:8px;bottom:8px}.health-column{width:118px;max-width:118px;gap:1px}.health-column .health-readout{padding:5px 7px 6px}.health-numbers strong{font-size:24px}.health-numbers small{font-size:8px}.health-numbers b{font-size:7px}.health-readout .health-numbers{gap:3px;margin-bottom:4px}.health-readout .health-meter{height:7px}.health-readout.is-spectating>#health-subject{font-size:6px;letter-spacing:.1px}.health-status{font-size:6px;letter-spacing:0;margin-top:3px}
  .utility-readout{padding:2px 1px;gap:5px}.utility-readout>span{gap:3px}.utility-readout svg{width:10px;height:10px}.utility-readout kbd{font-size:6px}.utility-readout b{font-size:8px}.position-status{font-size:5px;letter-spacing:.1px}
  .weapon-readout{width:98px;padding:5px 7px}.weapon-readout>span{font-size:6px;letter-spacing:.4px}.weapon-readout strong{font-size:24px}.weapon-readout small{font-size:10px}.weapon-readout p{font-size:6px;line-height:1.3;margin-top:2px}.weapon-readout[data-slot=sword] strong{font-size:12px;line-height:1.8}
  .squad-health{top:88px;right:8px;width:95px;gap:2px}.squad-health-row{padding:3px 5px;gap:2px 4px;font-size:6px}.squad-health-row>b{font-size:6px}.squad-health-row>i{height:2px}.kill-feed{top:94px;right:8px;max-width:158px}.kill-feed li{font-size:7px;padding:3px 5px}.viewport:has(.squad-health:not([hidden])) .kill-feed{top:140px;max-width:142px}
  .objective-bar{padding:7px 9px;font-size:8px}.pause-button{bottom:10px}
}
@media(max-width:350px){.match-hud{grid-template-columns:1fr 94px 1fr}.team-hud{gap:5px}.team-hud>strong{font-size:19px}.team-hud>span{font-size:6px}.team-lives i{width:4px}.phase-announcement[data-phase=roundEnd]{left:50%;right:auto}}

/* Brief, confirmed damage stays at the edges and leaves the sight picture clear. */
.damage-cue{box-shadow:inset 0 0 48px #b34b40;opacity:var(--damage-opacity,0);color:#e98b76;contain:layout paint}
.damage-cue[data-kind=hazard]{box-shadow:inset 0 0 40px #c9945e;color:#edc28e}
.blood-pixels{position:absolute;inset:0;display:none}
.damage-cue[data-kind=blood] .blood-pixels{display:block}
.blood-pixels>i{position:absolute;width:18px;height:12px;background:#a73531;box-shadow:8px 10px 0 -3px #b84236,-8px -7px 0 -4px #9b302d;image-rendering:pixelated}
.blood-pixels>i:nth-child(1){top:3%;left:8%;width:26px;height:18px;box-shadow:19px 12px 0 -4px #ad3a32,-10px 22px 0 -5px #a3322d}
.blood-pixels>i:nth-child(2){top:1%;left:72%;width:22px;height:10px}
.blood-pixels>i:nth-child(3){top:24%;left:1%;width:11px;height:25px}
.blood-pixels>i:nth-child(4){top:59%;left:2%;width:19px;height:16px;box-shadow:12px -10px 0 -5px #af3f34,6px 18px 0 -5px #a3322d}
.blood-pixels>i:nth-child(5){top:13%;right:1%;width:16px;height:21px}
.blood-pixels>i:nth-child(6){top:64%;right:2%;width:20px;height:14px}
.blood-pixels>i:nth-child(7){bottom:1%;left:28%;width:23px;height:16px}
.blood-pixels>i:nth-child(8){bottom:3%;right:17%;width:16px;height:13px}
.damage-bearing{position:absolute;left:calc(50% - 90px);top:calc(50% - 90px);width:180px;height:180px;transform:rotate(var(--damage-angle,0rad));transform-origin:center}
.damage-bearing::before{content:"";position:absolute;top:0;left:calc(50% - 10px);width:20px;height:8px;background:currentColor;clip-path:polygon(0 0,100% 0,100% 50%,50% 100%,0 50%)}
.damage-cue[data-direction=""] .damage-bearing{display:none}
@media(max-width:600px){.blood-pixels>i{transform:scale(.72)}.damage-bearing{left:calc(50% - 55px);top:calc(50% - 55px);width:110px;height:110px}.damage-bearing::before{width:16px;height:6px;left:calc(50% - 8px)}}

/* The arena fills the play page; room setup opens only when it is needed. */
.voxel-app{width:100%;max-width:1920px;margin:auto;padding:0 16px}
.voxel-topbar{height:48px;min-height:48px;padding:0;gap:12px;flex-wrap:nowrap}
.brand{gap:10px;font-size:17px;flex-shrink:0}
.brand svg{width:94px;height:24px}
.brand .back-copy,.brand small{font-size:8px;letter-spacing:1px}
.voxel-topbar .top-actions,.topbar .top-actions{gap:8px;min-width:0;width:auto;flex-wrap:nowrap;justify-content:flex-end}
.voxel-topbar .top-actions>[data-keyboard-layout-picker],.topbar .top-actions>[data-keyboard-layout-picker]{width:auto}
.top-actions .keyboard-layout-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.top-actions .keyboard-layout-select{height:32px!important;min-height:32px!important;font-size:10px!important;max-width:125px!important}
.icon-button{height:32px;min-width:32px}
.room-heading{height:44px;min-height:44px;padding:0;gap:12px}
.room-heading .eyebrow,.room-heading p{display:none}
.room-heading h1{font-size:24px;line-height:1.1;letter-spacing:-.5px;margin:0}
.room-heading h1>span{font-size:8px;margin-left:8px;padding:3px}
.room-code-button{padding:6px 10px;min-height:30px;gap:5px 9px}
.room-code-button>span:first-child,.room-code-button>small{font-size:7px}
.room-code-button strong{font-size:14px;letter-spacing:2px}
.game-shell{position:relative;min-width:0;max-width:none}
.match-hud{height:42px;min-height:42px;flex-shrink:0}
.viewport{width:100%;height:calc(100dvh - 180px);min-height:280px;aspect-ratio:auto}
.viewport:has(.arena-loadouts:not([hidden])){min-height:385px}
.objective-bar{min-height:40px;gap:8px;padding:0 8px 0 12px;flex-wrap:nowrap;font:9px/1.4 Arial,sans-serif}
.objective-bar #objective{flex:1;min-width:0}
.objective-bar #objective-mode,.objective-bar>small{display:none}
.play-actions{display:flex;align-items:center;gap:5px;flex-shrink:0;margin-left:auto}
.play-actions button{height:30px;min-width:30px;padding:0 9px;border:1px solid #72857055;background:#1a2d22;color:#c3d8b9;font:10px Arial,sans-serif;white-space:nowrap;border-radius:3px}
.play-actions button:hover{border-color:#c3d8b9}
#arena-fullscreen-button{font-size:17px;padding:0 6px}
#arena-guide-button{font-size:14px;padding:0 8px}
.voxel-app>footer{display:none}
.game-overlay{padding:18px}
.overlay-card h2{font-size:31px;line-height:1.15;margin:9px 0 12px}
.overlay-card>p{font-size:12px;line-height:1.65;margin-bottom:17px}
.overlay-card button{min-height:44px}
.overlay-card .secondary-button{color:#d8e5ca;background:#1d3429;border-color:#a0b99c66}
#game-shell:fullscreen{padding:0;display:flex;flex-direction:column;justify-content:flex-start}
#game-shell:fullscreen .viewport{height:auto;flex:1;min-height:0;aspect-ratio:auto}
#game-shell:fullscreen .objective-bar{min-height:40px;flex-shrink:0}
.room-dialog{position:fixed;inset:0;z-index:24;display:flex;align-items:flex-start;justify-content:center;padding:24px;background:#102019df;overflow:auto;overscroll-behavior:contain;backdrop-filter:blur(4px)}
.room-panel-card{width:min(880px,100%);margin:auto;min-width:0;padding:22px;background:#192820;color:#e9ebde;border:1px solid #39473c;border-radius:7px;box-shadow:0 18px 70px #07181055}
.room-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:18px;border-bottom:1px solid #39473c}
.room-panel-heading h2{margin:5px 0 0;font-size:25px;font-weight:400;letter-spacing:-.4px}
.room-panel-heading .icon-button{height:44px;min-width:44px;font-size:24px;flex-shrink:0}
.room-panel-card .lobby-panel{margin:0;padding:20px 0;border:0;background:none}
.room-panel-card .lobby-heading h2{font-size:19px;margin:5px 0 13px}
.room-panel-card .rosters{gap:14px;margin-bottom:16px}
.room-panel-card .team-choices{margin-bottom:15px}
.room-panel-card .lobby-actions{gap:12px;margin-top:12px;padding-top:13px}
.room-panel-card .weapon-comparison{margin-top:16px;padding:14px;gap:15px}
.room-panel-card .invite-panel{margin:0 0 16px;padding:15px 0;border-radius:0;background:none;border:0;border-top:1px solid #39473c;border-bottom:1px solid #39473c}
.room-panel-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.room-panel-controls .secondary-button{min-height:44px}
.room-panel-note{font:11px/1.6 Arial,sans-serif;color:#9eac9e;margin:15px 0}
#close-room-bottom{min-height:44px}
.guide-dialog{z-index:25;overscroll-behavior:contain}
.guide-card{width:min(800px,100%);min-width:0}
.guide-card>.icon-button{width:44px;height:44px}
@media(max-width:900px){
 .voxel-app{padding:0 12px}
 .brand .back-copy,.brand small,.connection>span{display:none}
 .connection{gap:5px}
 .room-panel-card .player-roster{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:600px){
 .voxel-app{padding:0 8px}
 .voxel-topbar{height:50px;min-height:50px;gap:8px}
 .brand{gap:6px;font-size:16px}
 .brand svg{width:78px;height:20px}
 .voxel-topbar .top-actions,.topbar .top-actions{gap:4px}
 .connection{display:none}
 .icon-button{height:38px;min-width:34px}
 .keyboard-layout-label{display:none!important}
 .top-actions .keyboard-layout-select{height:34px!important;min-height:34px!important;max-width:82px!important;font-size:9px!important;padding:4px!important}
 .room-heading{height:42px;min-height:42px}
 .room-heading h1{font-size:22px}
 .room-code-button{padding:5px 7px;gap:3px 5px}
 .room-code-button>span:first-child,.room-code-button>small{display:none}
 .room-code-button strong{font-size:13px;letter-spacing:1.5px}
 .match-hud{height:40px;min-height:40px}
 .viewport{height:clamp(300px,58svh,580px);min-height:300px;aspect-ratio:auto}
 .viewport:has(.arena-loadouts:not([hidden])){min-height:430px}
 .objective-bar{min-height:46px;gap:5px;padding:3px 6px 3px 8px;font-size:8px}
 .objective-bar>i{display:none}
 .play-actions{gap:4px}
 .play-actions button{height:40px;min-width:35px;padding:0 8px;font-size:9px}
 #arena-fullscreen-button{font-size:17px}
 .overlay-card h2{font-size:27px}
 .overlay-card>p{font-size:11px}
 .room-dialog{padding:10px}
 .room-panel-card{padding:17px 14px}
 .room-panel-heading{padding-bottom:13px}
 .room-panel-heading h2{font-size:23px}
 .room-panel-card .lobby-panel{padding:17px 0}
 .room-panel-card .player-roster{grid-template-columns:repeat(2,minmax(0,1fr))}
 .room-panel-card .invite-panel code{min-width:0;flex-basis:100%;font-size:10px}
 .room-panel-controls{gap:10px}
 .room-panel-controls .keyboard-layout-select{height:44px!important;font-size:11px!important;max-width:none!important}
 .room-panel-controls .keyboard-layout-label{display:block!important}
 .room-panel-note{font-size:10px}
 #game-shell:fullscreen .objective-bar{min-height:46px}
}
@media(max-width:350px){
 .brand svg{width:60px;height:18px}
 .brand{gap:4px}
 .voxel-topbar .top-actions,.topbar .top-actions{gap:3px}
 .icon-button{min-width:33px}
 .top-actions .keyboard-layout-select{max-width:75px!important}
 .room-heading h1{font-size:20px}
 .room-heading h1>span{display:none}
 .play-actions button{padding:0 6px;min-width:32px}
 #room-panel-button{max-width:91px;white-space:normal;line-height:1.2}
}
@media(pointer:coarse){
 .voxel-app:has(.touch-controls:not([hidden])) .viewport{height:calc(100svh - 340px);min-height:280px}
 .voxel-app:has(.touch-controls:not([hidden])) .viewport:has(.arena-loadouts:not([hidden])){min-height:430px}
}
@media(pointer:coarse) and (orientation:landscape){
 .voxel-topbar{height:36px;min-height:36px}
 .room-heading{height:28px;min-height:28px}
 .room-heading h1{font-size:20px}
 .match-hud{height:32px;min-height:32px}
 .voxel-app:has(.touch-controls:not([hidden])) .viewport{height:calc(100svh - 219px);min-height:170px}
 .touch-controls{gap:9px;flex-wrap:nowrap;padding:7px 10px;align-items:center}
 .touch-pad{width:62px;height:62px}
 .touch-actions{order:0;flex-basis:auto;grid-template-columns:repeat(5,minmax(0,1fr))}
 .touch-actions button{min-height:30px;font-size:7px}
 .touch-pad[data-royale-pad=look]{margin-left:0}
 .room-code-button,.room-code{min-height:24px;padding:3px 8px}
 .room-code-button>span:first-child,.room-code>small{display:none}
 .room-code-button i{font-size:16px}
 .tactical-map{top:8px;left:8px;width:62px;padding:3px}
 .tactical-map svg{height:45px;aspect-ratio:auto}
 .tactical-map>span,.map-north{font-size:5px}
 .tactical-map>small,.map-caption{font-size:4px;line-height:1.1;margin-top:2px}
 .stage-info{top:8px;left:82px;right:8px}
}

.practice-link{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;text-decoration:none;min-height:40px}
