
*{box-sizing:border-box}body{margin:0;background:#090d0f;color:#e4ece8;font:14px system-ui,sans-serif;overflow:hidden}#shell{height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:12px;gap:10px}header,footer{width:min(100%,1200px);display:flex;justify-content:space-between;align-items:center;gap:12px;color:#8a9e96;font-size:11px;letter-spacing:1.3px}header strong{color:#e3eee7;font-size:19px;letter-spacing:4px}header b{color:#e6a656}#stage{position:relative;width:min(100%,1200px,calc((100dvh - 90px)*1.6667));aspect-ratio:5/3;border:1px solid #3c4d44;box-shadow:0 0 60px #000;overflow:hidden;background:#18201e}canvas{width:100%;height:100%;display:block;cursor:crosshair}#hud{position:absolute;top:12px;left:14px;right:14px;display:flex;justify-content:space-between;pointer-events:none;gap:8px;text-shadow:0 2px 5px #000} .stat{background:#0a1012dd;border:1px solid #52645b88;padding:9px 12px;min-width:110px} .stat small{display:block;color:#9eafa6;font-size:10px;letter-spacing:1.6px}.stat strong{display:block;font-size:23px;line-height:1.2;font-variant-numeric:tabular-nums}.bar{height:5px;background:#343e37;margin-top:6px}.bar i{height:100%;display:block;background:#77b78a}#bottom{position:absolute;bottom:12px;left:14px;right:14px;display:flex;justify-content:space-between;align-items:end;pointer-events:none}#notice{position:absolute;top:24%;left:0;right:0;text-align:center;color:#ffc675;font-size:22px;font-weight:800;letter-spacing:4px;text-shadow:0 3px 8px #000;pointer-events:none}#overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:linear-gradient(120deg,#07100fea,#101b18de);padding:16px;overflow:auto}#overlay.hidden{display:none}.panel{width:min(580px,100%);max-height:100%;overflow:auto;padding:24px;border:1px solid #46584d;background:#101915ee;box-shadow:0 16px 80px #0009}.eyebrow{color:#e9aa60;letter-spacing:3px;font-size:11px;font-weight:800}h1{font-size:clamp(26px,5vw,66px);letter-spacing:.08em;line-height:1;margin:12px 0;color:#e7eee8}h2{font-size:25px;margin:10px 0}p{color:#aebeb4;line-height:1.55;margin:10px 0}.keys{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:18px 0;color:#b8c6bd;font-size:12px}kbd{border:1px solid #57685e;background:#26332d;padding:3px 5px;color:#fff;border-radius:3px}button{font:inherit;font-weight:800;background:#e4a75d;color:#121511;border:0;border-radius:3px;padding:12px 18px;cursor:pointer;letter-spacing:.5px}button:hover{background:#ffd18e}button:disabled{background:#36423b;color:#829086;cursor:default}.secondary{background:#25372e;color:#c5d7ca;border:1px solid #52675a}.shop{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:15px 0}.shop button{text-align:left;font-size:12px;padding:10px;min-height:54px}.shop button span{display:block;font-weight:400;font-size:11px;opacity:.9}#mute{background:none;border:1px solid #45564c;color:#b2c4b8;padding:5px 9px;font-size:10px}@media(max-width:650px){.stat{min-width:0;padding:5px}.stat strong{font-size:15px}.stat small{font-size:8px}footer{letter-spacing:0}.panel{padding:12px}.keys{margin:8px 0}.shop{gap:4px;margin:6px 0}}

:root{color-scheme:dark}body{background:radial-gradient(ellipse at 50% 20%,#1a2426,#07090b 65%)}#stage{border:1px solid #555b53;box-shadow:0 22px 80px #000,0 0 0 4px #151c1d}header strong{font-size:23px;font-weight:900;letter-spacing:5px}.stat{background:linear-gradient(135deg,#101819ee,#0a0e11e8);border:1px solid #64756a66;border-left:3px solid #d6aa68;min-width:140px;box-shadow:0 4px 16px #0005}.stat strong{font-weight:850}.bar{height:6px}.bar i{transition:width .1s}.panel{background:linear-gradient(140deg,#172220,#0c1214);border:1px solid #657469;border-top:3px solid #d9a260;padding:30px;box-shadow:0 20px 100px #000b}.panel h1{font-weight:1000;letter-spacing:.015em;text-shadow:0 4px 0 #0006}.eyebrow{font-size:11px;color:#e4ad6f}#overlay{background:radial-gradient(ellipse at center,#08121055,#050a0de8)}button{transition:background .15s,transform .15s}button:hover:not(:disabled){transform:translateY(-1px)}button:focus-visible{outline:2px solid white;outline-offset:3px}.shop button{background:#263530;color:#e0e7d9;border:1px solid #647364;min-height:62px}.shop button:hover:not(:disabled){background:#b88a4e;color:#101710}.shop button:disabled{opacity:.45}#notice{top:19%;font-size:26px;letter-spacing:5px}#dashbar{background:#60b6c9}#combo{color:#f3cc8a}#bottom .stat{min-width:145px}canvas{cursor:none}.panel .subtitle{font-size:12px;letter-spacing:2px;color:#e2b37b}.panel .keys{line-height:1.7}@media(max-width:650px){.stat,#bottom .stat{min-width:0}.panel{padding:12px}#notice{font-size:16px}}

#stage{width:min(100%,1440px,calc((100dvh - 82px)*1.6667));box-shadow:0 0 0 5px #151e23,0 30px 90px #000}header,footer{width:min(100%,1440px)}.stat{min-width:145px;border:1px solid #78898b45;border-left:2px solid #f5b96d;background:linear-gradient(110deg,#0c161ced,#0b1219d9);backdrop-filter:blur(5px)}#hud .stat:nth-child(2){border-left:1px solid #78898b45;border-top:2px solid #e0ad6b;min-width:165px}#bottom .stat:first-child strong{font-size:32px}#notice{font-size:clamp(16px,2.4vw,30px);color:#ffdf9b;letter-spacing:4px}#overlay{background:linear-gradient(90deg,#04090df0,#09151c90 60%,#04090d55);justify-content:flex-start;padding:clamp(12px,4vw,58px)}.panel{width:min(600px,100%);border:1px solid #77898a66;border-top:3px solid #e8ad67;background:linear-gradient(135deg,#131f27f5,#080f15f5);box-shadow:0 18px 65px #0009}.panel h1{font-size:clamp(38px,6vw,88px);line-height:.86;letter-spacing:-.045em}.panel p{color:#a9bdc4}.eyebrow{color:#f4ba78}.shop{grid-template-columns:repeat(2,minmax(0,1fr))}.shop button{background:#16252d;border-color:#53656d}.shop button:disabled{opacity:.42}.perk{border-color:#ad8c5d!important}.perkrow{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:12px 0}.perkrow button{font-size:11px;padding:12px 6px;min-height:64px}.perkrow span{display:block;font-weight:400;margin-top:5px}.statusline{color:#e8b875;font:11px monospace;letter-spacing:1px}.panel .keys{margin:14px 0}.panel .secondary{background:#23343e}.panel h2{letter-spacing:-.5px}.panel .shop button{min-height:48px}.panel .shop{margin:9px 0}#hud,#bottom{z-index:1}#overlay{z-index:3}#notice{z-index:2}#effectlabel{color:#8cc9d2}#streakbar{background:#e8b875}@media(max-width:650px){.stat,#hud .stat:nth-child(2),#bottom .stat{min-width:0}.panel{padding:12px}#bottom .stat:first-child strong{font-size:18px}}
.audio-controls { display: flex; align-items: center; gap: 8px; position: relative; z-index: 5; }
.audio-settings summary { cursor: pointer; font-size: 10px; }
.audio-sliders { position: absolute; right: 0; top: calc(100% + 8px); width: 230px; display: grid; gap: 6px; padding: 12px; background: #101a1f; color: #e5ecdf; border: 1px solid #657469; }
.audio-sliders input { width: 100%; margin: 0 0 4px; accent-color: #e4a75d; }
.audio-preview-buttons { display: flex; gap: 6px; }
.audio-preview-buttons button { padding: 6px 10px; }
.visual-settings summary { cursor:pointer; font-size:10px; }
.visual-options { position:absolute; right:0; top:calc(100% + 8px); width:230px; padding:14px; display:grid; gap:12px; background:#101a1f; color:#e5ecdf; border:1px solid #657469; }
.visual-options label { display:flex; align-items:center; justify-content:space-between; gap:6px; }
.visual-options input[type=range] { width:85px; }
.visual-options input { accent-color:#e4a75d; }
.visual-options label:last-child { justify-content:flex-start; }
#held-art { width:95px; height:24px; float:right; margin:-3px 0 0 5px; pointer-events:none; }
#weapon { clear:both; max-width:230px; text-transform:uppercase; }
.shop .gun-card { position:relative; overflow:hidden; padding:6px 10px 7px; background:linear-gradient(105deg,#1f3037,#162029); }
.shop .gun-card canvas { width:min(168px,100%); height:auto; margin:0 0 2px; cursor:inherit; }
.shop .gun-card b { display:block; font-size:12px; }
.shop .gun-card:disabled { opacity:.76; }
.shop .gun-card span { color:#c1cabf; }
.lobby { text-align:left; width:min(490px,94%); box-sizing:border-box; }
.lobby [hidden] { display:none; }
.lobby label { display:grid; gap:4px; color:#c1cabf; font-size:13px; font-weight:600; }
.lobby input { color:#eee9de; background:#111c22; border:1px solid #586467; padding:9px; font:inherit; min-width:0; }
.lobby input:focus-visible { outline:2px solid #e4a75d; }
#mp-account label { margin-bottom:8px; }
#mp-entry, #mp-join-form { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; align-items:end; }
#mp-entry[hidden] { display:none; }
#mp-join-form { grid-column:1/-1; }
#mp-code, #mp-room-code { text-transform:uppercase; letter-spacing:.14em; }
#mp-room-code { font:700 2rem monospace; color:#e4a75d; }
#mp-status { border-left:3px solid #ad895c; padding-left:8px; }
#mp-roster { padding:0; list-style:none; }
#mp-roster li { display:flex; justify-content:space-between; gap:8px; padding:7px 0; border-bottom:1px solid #485354; }
#mp-roster span { color:#c9b99d; font:11px monospace; align-self:center; }
#mp-message { color:#ffc38d; }
#mp-message:empty { display:none; }
.cooperative #hud, .cooperative #bottom, .cooperative #notice { display:none; }
.squad-hud { position:absolute; z-index:3; top:10px; left:12px; display:grid; gap:3px 12px; grid-template-columns:1fr auto; max-width:calc(100% - 24px); padding:8px 12px; background:#0c151bea; border-left:2px solid #dfae6b; color:#e1e6de; pointer-events:none; }
.squad-hud strong { font:700 11px monospace; letter-spacing:.08em; color:#e7bc80; }
.squad-names { grid-column:1; font:12px system-ui; overflow-wrap:anywhere; }
.squad-link { grid-column:1; color:#b3c9c7; font:10px monospace; }
.operator-record { grid-column:1; color:#b6c8c5; font:11px monospace; }
.operator-notice:not(:empty) { position:absolute; z-index:5; bottom:12px; right:12px; padding:7px 11px; border-left:2px solid #dfae6b; background:#10191feb; color:#edcc99; font:12px monospace; pointer-events:none; }
.squad-loadout { grid-column:1; color:#edcc99; font:12px monospace; }
.squad-hud[hidden], .lobby[hidden] { display:none; }
.squad-hud button { grid-column:2; grid-row:1 / span 3; align-self:center; pointer-events:auto; padding:6px 9px; font-size:10px; }
@media(max-width:650px) { header { flex-wrap:wrap; row-gap:1px; } #held-art { width:65px; height:17px; } .shop .gun-card canvas { max-width:100%; } }
