:root{--bg: #0c1016;--panel: rgba(15, 20, 28, .9);--panel-solid: #121822;--border: #334155;--text: #eef2f7;--muted: #9fb0c4;--accent: #eab308;--accent-text: #11161f;--danger: #dc2626;--shield: #2563eb;--hp: #16a34a;--font-ui: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace}*,*:before,*:after{box-sizing:border-box}html,body{margin:0;padding:0;width:100%;height:100%;overflow:hidden;overflow-x:clip;background:var(--bg);color:var(--text);font-family:var(--font-ui);font-size:15px;line-height:1.4}#app{position:relative;width:100%;height:100%}#view{display:block;width:100%;height:100%;image-rendering:pixelated;image-rendering:crisp-edges;background:#2f6c8a}.mono{font-family:var(--font-mono)}.panel{background:var(--panel);border:1px solid var(--border);padding:6px 10px}#hud{position:fixed;inset:0;pointer-events:none;z-index:10}#hud[hidden],#overlay[hidden],#lobby-box[hidden],#result-box[hidden],button[hidden]{display:none}.hud-top-left{position:fixed;top:10px;left:10px;display:flex;flex-direction:column;gap:4px}.stat-row{display:flex;gap:10px;align-items:baseline;font-size:13px}.stat-row .label{color:var(--muted);font-size:11px}.hud-top-right{position:fixed;top:10px;right:10px;display:flex;flex-direction:column;align-items:flex-end;gap:6px}#perf-bar{display:flex;gap:10px;font-size:12px;color:var(--text)}#radar{width:160px;height:160px;border:1px solid var(--border);background:#0d2230}#crosshair{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);font-family:var(--font-mono);font-size:20px;font-weight:700;color:#fff;text-shadow:1px 1px 0 #000000;user-select:none}#feed{position:fixed;left:10px;top:86px;max-width:340px;font-size:12px;display:flex;flex-direction:column;gap:2px}#feed:empty{display:none}.hud-bottom-left{position:fixed;left:10px;bottom:10px;width:240px;display:flex;flex-direction:column;gap:6px}.bar-wrap{display:flex;flex-direction:column;gap:2px}.bar-label{display:flex;justify-content:space-between;font-size:12px}.bar-track{width:100%;height:10px;background:#1e293b;border:1px solid #334155}.bar-fill{height:100%;width:0%}.bar-fill.hp{background:var(--hp)}.bar-fill.shield{background:var(--shield)}.bar-row{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.hud-bottom-center{position:fixed;bottom:10px;left:50%;transform:translate(-50%);display:flex;gap:6px}.slot{min-width:92px;padding:6px 8px;background:var(--panel);border:1px solid var(--border);font-family:var(--font-mono);font-size:11px}.slot.active{border-color:var(--accent);background:#1d2633}.slot-key{color:var(--muted);margin-right:4px}.hud-bottom-right{position:fixed;right:10px;bottom:10px;font-size:11px;color:var(--muted);text-align:right;display:flex;flex-direction:column;gap:2px}.hud-actions{margin-top:4px;pointer-events:auto}#overlay{position:fixed;inset:0;z-index:20;display:flex;align-items:center;justify-content:center;padding:16px;background:#080c12b8}.card{width:100%;max-width:520px;background:var(--panel-solid);border:2px solid var(--border);padding:18px;display:flex;flex-direction:column;gap:14px}.card-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border);padding-bottom:10px}h1{margin:0;font-size:18px;letter-spacing:.04em}.badge{font-size:12px;padding:2px 6px;border:1px solid var(--border);color:var(--text)}.grid-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.field{display:flex;flex-direction:column;gap:4px;min-width:0}.field>span{font-size:11px;color:var(--muted);letter-spacing:.04em}input,select,button{font:inherit;border-radius:0}input,select{background:#0b0f16;color:var(--text);border:1px solid var(--border);padding:7px 9px;min-width:0}button{background:#1e293b;color:var(--text);border:1px solid #475569;padding:8px 12px;font-weight:600;cursor:pointer}button:hover{background:#273549}button:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:var(--accent);color:var(--accent-text);border-color:var(--accent)}.btn-primary:hover{background:#facc15}.btn-small{padding:4px 8px;font-size:11px}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.btn-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.join-group{display:flex;gap:4px;flex:1;min-width:160px}.join-group input{width:100%;text-transform:uppercase}.subbox{border:1px solid var(--border);background:#0d131c;padding:10px;display:flex;flex-direction:column;gap:8px}.subbox-head{display:flex;justify-content:space-between;font-size:13px}.roster{list-style:none;margin:0;padding:0;max-height:110px;overflow-y:auto;font-size:12px;color:var(--muted);display:flex;flex-direction:column;gap:2px}.status{font-size:12px;color:var(--muted);border-top:1px solid var(--border);padding-top:8px}@media(max-width:720px){.grid-form{grid-template-columns:minmax(0,1fr)}.hud-bottom-right{display:none}#radar{width:112px;height:112px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}
