@font-face{font-family:Jersey;src:url('./fonts/jersey-10-latin-400-normal.woff2')}@font-face{font-family:Space Mono;src:url('./fonts/space-mono-latin-400-normal.woff2')}@font-face{font-family:Space Mono;src:url('./fonts/space-mono-latin-700-normal.woff2');font-weight:700}@font-face{font-family:Inter;src:url('./fonts/inter-latin-500-normal.woff2');font-weight:500}@font-face{font-family:Inter;src:url('./fonts/inter-latin-600-normal.woff2');font-weight:600}
:root{color-scheme:dark;--dark:#211d22;--ink:#f6e6ce;--accent:#ffb365;--mono:'Space Mono',monospace;--pad:clamp(18px,3vw,54px);font:500 16px Inter,Arial,sans-serif}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{display:grid;grid-template-rows:76px minmax(0,1fr) 62px;height:100dvh;background:var(--dark);color:var(--ink)}h1,h2,p{margin:0}button{font:inherit;cursor:pointer;color:inherit;-webkit-tap-highlight-color:transparent}button:focus-visible{outline:2px solid #ffc36e;outline-offset:4px}button:active{transform:translateY(1px)}button svg,footer svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:square;stroke-linejoin:miter;flex:none}.symbols{position:absolute;height:0;width:0;overflow:hidden}img{image-rendering:pixelated}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
header,footer{z-index:3;display:flex;justify-content:space-between;align-items:center;padding:0 var(--pad);background:#201d22}header{border-bottom:3px solid #543a37;box-shadow:0 2px 0 #251c2255}.brand{display:flex;align-items:center;gap:13px}.brand-icon{width:40px;height:45px;filter:drop-shadow(2px 3px 0 #0b090e)}.brand h1{font:400 41px/.83 Jersey,monospace;letter-spacing:.3px;text-transform:uppercase;white-space:nowrap;color:#ffedcf}.brand h1 span{color:#fa9c54}.brand p{font:700 9px/1 var(--mono);text-transform:uppercase;letter-spacing:2.95px;color:#c79a77;margin:7px 0 0 1px}.top-actions{display:flex;gap:9px}.chrome{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 14px;height:37px;background:#332b2f;border:1px solid #58484a;border-bottom:3px solid #100e12;box-shadow:inset 0 1px #453b3d;color:#e8d6c1;border-radius:3px;font:600 13px Inter,sans-serif}.chrome.square{width:39px;padding:0}.chrome:hover,footer button:hover{background:#443437;color:#fff3db}.chrome svg{width:16px;height:16px}.arena{position:relative;min-height:0;background:#ac685a;overflow:hidden;isolation:isolate}#world{position:absolute;inset:0;width:100%;height:100%;display:block;outline:none;touch-action:none}.scene-vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(to bottom,#30203033,transparent 23%,transparent 73%,#2f1d282c),linear-gradient(to right,#351e2b14,transparent 22%,transparent 78%,#351e2b17)}
.arena-top,.arena-bottom{position:absolute;left:var(--pad);right:var(--pad);display:flex;align-items:flex-start;justify-content:space-between;gap:14px;pointer-events:none}.arena-top{top:clamp(18px,3.2vh,36px)}.arena-bottom{bottom:clamp(15px,2.8vh,29px);align-items:flex-end}.eyebrow,small,.control-title,.touch-hint{font:700 10px/1.2 var(--mono);letter-spacing:1.65px;text-transform:uppercase}.mission{text-shadow:2px 2px #442b32,0 2px 8px #231a20a1}.mission .eyebrow{display:flex;align-items:center;gap:8px;color:#ffe7b0}.eyebrow i{display:inline-block;background:#ffd28a;width:16px;height:6px;clip-path:polygon(0 0,35% 0,35% 25%,45% 25%,45% 0,75% 0,75% 25%,85% 25%,85% 0,100% 0,100% 100%,0 100%)}.mission h2{font:400 clamp(39px,3.4vw,58px)/.95 Jersey,monospace;color:#fff0d8;margin:6px 0 0;letter-spacing:.35px}
.panel{display:flex;align-items:center;background:#271e23ef;border:1px solid #785949;border-top:2px solid #a37758;box-shadow:2px 3px 0 #311e2290,inset 0 0 0 2px #382a2c;clip-path:polygon(3px 0,calc(100% - 3px) 0,100% 3px,100% calc(100% - 3px),calc(100% - 3px) 100%,3px 100%,0 calc(100% - 3px),0 3px)}small{display:block;font-size:10px;letter-spacing:1.55px;color:#d8b58f}.scoreboard{padding:13px 0 12px}.stat-block{padding:0 18px;display:flex;align-items:center;gap:11px}.stat-block+.stat-block,.load-stat+.load-stat{border-left:1px solid #5e4540}.stat-block img{width:23px;height:23px;object-fit:contain}.stat-block strong,.hostiles strong{font:400 29px/.95 Jersey,monospace;letter-spacing:1.4px;display:block;margin-top:3px;color:#fff1d8}.stat-block:nth-child(2) strong{letter-spacing:1px}.stat-block.danger strong{color:#ff7d62}.loadout{padding:12px 0}.load-stat{padding:0 16px;min-width:75px}.load-stat:first-child{min-width:110px}.value,.hearts{margin-top:5px;display:flex;align-items:center;gap:7px;height:23px}.hearts{gap:2px}.hearts img{width:20px;height:19px}.hearts .empty{filter:grayscale(1) brightness(.4)}.value img{width:23px;height:25px;object-fit:contain}.value span{font:400 26px/1 Jersey,monospace}.hostiles{gap:13px;padding:12px 17px}.hostiles>img{width:31px;height:28px}.hostiles strong{text-transform:uppercase;font-size:26px;letter-spacing:.5px}.player-marker{position:absolute;left:0;top:0;pointer-events:none;background:#ffce72;color:#392621;font:700 10px/14px var(--mono);padding:0 4px;box-shadow:0 1px 0 #562d22;transform:translate(-50%,-100%);border-radius:1px}.player-marker:after{content:'';position:absolute;left:50%;bottom:-4px;margin-left:-4px;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #ffce72}
footer{border-top:3px solid #56403b}.controls,.control,.control-title,.key-row,footer button{display:flex;align-items:center}.controls{gap:clamp(15px,2.2vw,40px)}.control-title{color:#bda093;gap:9px;font-size:10px}.control-title svg{width:20px;height:18px;color:#ac8f81}.control{gap:10px;font:500 13px Inter,sans-serif;color:#d2c4ba}kbd{font:700 11px/20px var(--mono);height:24px;padding:0 8px;min-width:23px;text-align:center;background:#342e31;border:1px solid #5e5150;border-bottom:3px solid #171419;box-shadow:0 1px 0 #4c4244;border-radius:3px;color:#eee0cc;text-transform:uppercase}.key-row{gap:3px}.key-row kbd{padding:0 4px}footer button{gap:8px;background:transparent;color:#e1c6a9;border:0;font-size:13px;padding:9px 1px}footer button svg{width:16px;height:16px;color:#d2af8e}.touch-hint,.touch-controls{display:none}
#overlay{position:fixed;inset:0;z-index:9;display:grid;place-items:center;background:#18141ba8;backdrop-filter:blur(3px);padding:14px}#overlay[hidden],[hidden]{display:none!important}#dialog{position:relative;width:min(393px,100%);max-height:92dvh;overflow:auto;text-align:center;border:2px solid #91705a;background:#262127;box-shadow:inset 0 0 0 4px #382d31,6px 6px 0 #161116;color:#f6e6ce;padding:26px 26px 28px;outline:none}.close{position:absolute;top:11px;right:11px}.dialog-img{width:47px;height:53px;object-fit:contain;margin-bottom:12px}#dialog .eyebrow{color:var(--accent);font-size:10px}#dialog h2{font:400 48px/1 Jersey,monospace;margin:6px 0 14px}#dialog-body{font:500 14px/1.55 Inter,sans-serif;color:#d8c6b7}#dialog-body p+p{margin-top:12px}.dialog-help{text-align:left}.dialog-help div{display:flex;gap:15px;align-items:center;margin:12px 0}.dialog-help img{width:26px;height:28px;object-fit:contain}.dialog-actions{display:flex;justify-content:center;gap:10px;margin-top:23px}.dialog-actions button,.drop{font:700 12px var(--mono);padding:11px 16px;background:#e9a361;box-shadow:inset 0 2px #ffd397,0 3px #844c36;color:#38252a;border:1px solid #cf8852;border-radius:2px}.dialog-actions #secondary{background:#3a3033;color:#e6d4be;border-color:#685051;box-shadow:inset 0 1px #514045,0 3px #181417}.dialog-actions button:hover,.drop:hover{filter:brightness(1.1)}
@media(min-width:1650px){body{grid-template-rows:85px minmax(0,1fr) 67px}.brand h1{font-size:45px}}
@media(max-width:750px){:root{--pad:15px}body{grid-template-rows:61px minmax(0,1fr) 48px}.brand h1{font-size:32px}.brand p{font-size:8px;letter-spacing:2px;margin-top:4px}.brand-icon{width:31px;height:35px}.brand{gap:9px}.controls{gap:15px}.control-title{display:none}.arena-top{top:16px}.scoreboard{padding:9px 0}.stat-block{padding:0 10px;gap:5px}.stat-block img{width:16px;height:18px}.stat-block strong{font-size:23px}.mission h2{font-size:34px}.load-stat{padding:0 10px;min-width:55px}.load-stat:first-child{min-width:80px}.hearts img{width:16px;height:16px}.loadout,.hostiles{padding-top:9px;padding-bottom:9px}.value,.hearts{height:20px}.hostiles{gap:8px;padding-left:10px;padding-right:10px}.hostiles>img{width:24px;height:23px}small{font-size:8px}.chrome{height:33px}.control{font-size:12px}}
@media(pointer:coarse),(max-width:600px){.touch-controls{position:absolute;bottom:12px;left:var(--pad);right:var(--pad);display:flex;align-items:flex-end;justify-content:space-between;pointer-events:none}.touch-controls button{pointer-events:auto;touch-action:none;user-select:none}.dpad{display:grid;grid-template-columns:repeat(3,38px);grid-template-rows:repeat(2,33px);gap:3px}.dpad button{font-size:14px;border-radius:2px;color:#f4dcc0;background:#34292de8;border:1px solid #a0816a;box-shadow:0 2px 0 #39292c}.dpad [data-d=up]{grid-column:2}.dpad [data-d=left]{grid-column:1}.drop{display:flex;gap:7px;align-items:center;padding:8px 10px}.drop img{width:20px;height:24px}.arena-bottom{bottom:94px}.touch-hint{display:block;font-size:9px;color:#baa291;letter-spacing:.8px}.controls{display:none}}
@media(max-width:490px){:root{--pad:12px}.brand h1{font-size:28px}.top-actions{gap:5px}.chrome{padding:0 9px}.chrome.square{width:33px}.mission .eyebrow{font-size:8px;gap:5px}.mission h2{font-size:31px}.stat-block{padding:0 7px}.stat-block img{display:none}.stat-block strong{font-size:22px}.load-stat{padding:0 7px;min-width:44px}.load-stat:first-child{min-width:73px}.hostiles strong{font-size:21px}.hearts{gap:0}.hostiles{gap:6px}.hostiles>img{width:20px;height:19px}}
@media(max-height:580px) and (min-width:600px){body{grid-template-rows:46px minmax(0,1fr) 35px}.brand h1{font-size:27px}.brand p{display:none}.brand-icon{height:32px;width:29px}.chrome{height:30px}.arena-top{top:8px}.arena-bottom{bottom:9px}.mission h2{font-size:30px}.loadout,.scoreboard,.hostiles{padding-top:5px;padding-bottom:5px}.touch-controls{bottom:9px}.touch-controls .dpad{grid-template-rows:repeat(2,26px);grid-template-columns:repeat(3,29px)}}
@media(max-height:580px) and (pointer:coarse){.arena-bottom{bottom:71px}.loadout{padding:5px 0}.value,.hearts{height:14px}.value img{height:18px}.value span{font-size:20px}}
