:root{color-scheme:dark;--bg:#10151d;--panel:#18212d;--tile:#202c3a;--ink:#edf2f9;--muted:#a4b5c9;--line:#34455b;--teal:#70d6c5;--gold:#dcc18b;--size:116px;font:13px 'Segoe UI',system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);padding:22px;max-width:1700px;margin-inline:auto}header,.toolbar,.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}header{margin-bottom:15px}small{color:var(--gold);font-size:10px;letter-spacing:.09em}h1{font-size:26px;margin:4px 0;font-weight:650}h1 span{font-weight:350;color:var(--muted)}h2{font-size:13px;text-transform:uppercase;letter-spacing:.07em;color:var(--gold);margin:0}h2 span{color:var(--muted);letter-spacing:0;font-weight:400;margin-left:8px}.teal{color:var(--teal)}button,select,input{font:inherit;color:var(--ink);background:#202d3c;border:1px solid var(--line);border-radius:6px;padding:7px 10px}button{cursor:pointer}button:hover,select:hover{border-color:#8ba7c2}button:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid var(--teal);outline-offset:2px}.primary{background:var(--teal);color:#102725;font-weight:650}label{display:flex;align-items:center;gap:7px}input[type=checkbox]{accent-color:var(--teal)}.pill{padding:7px 11px;border-radius:30px;background:#353021;color:#e4ceaa;font-size:11px}.pill.live{background:#18342f;color:#b3e8d9}.pill.stale{background:#422d34;color:#ffbdc9}#notice{background:#1c2a38;border-left:2px solid var(--gold);padding:10px 12px;border-radius:6px;margin-bottom:14px;line-height:1.4}main{display:grid;grid-template-columns:minmax(0,1fr) 265px;gap:14px}section{background:var(--panel);border:1px solid #263549;border-radius:8px;padding:14px;margin-bottom:14px}.section-title{margin-bottom:12px}.section-title small{color:var(--muted);letter-spacing:0}.tiles{display:flex;gap:7px;flex-wrap:wrap;min-height:60px}.tile{width:var(--size);height:var(--size);padding:9px;background:var(--tile);border:1px solid #3d5067;border-top:3px solid #3d5067;border-radius:7px;display:flex;flex-direction:column;gap:6px;position:relative;overflow:hidden}.tile.inactive{opacity:.5}.tile.dead{background:#35252d!important;border-color:#e78f9d!important}.tile b{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-height:18px}.meta,.life{font-size:10px;color:var(--muted)}.life.dead{color:#ffd1d8}.effect{display:flex;justify-content:space-between;gap:4px;font-size:10px;white-space:nowrap}.effect span{overflow:hidden;text-overflow:ellipsis}.effect strong{font-variant-numeric:tabular-nums}.grip{margin-top:auto;align-self:flex-end;color:#9fb5d0;font-size:10px}.tile[draggable=true]{cursor:grab}.muted{color:var(--muted);font-size:11px;line-height:1.55}.corpse{background:#2d252e;border:1px solid #49333f;border-radius:7px;padding:11px;margin-bottom:8px}.corpse strong{color:#ffd4d4}.corpse button{margin-top:7px;font-size:11px}.assignments{display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:8px}.assignment{padding:11px;background:#202d3c;border:1px solid var(--line);border-radius:6px;line-height:1.6}.assignment strong{color:var(--teal)}dialog{background:var(--panel);color:var(--ink);border:1px solid #496078;border-radius:12px;padding:28px;max-width:420px}dialog::backdrop{background:#090e16df}dialog h2{text-transform:none;font-size:22px;color:var(--ink);margin:12px 0}dialog p{color:var(--muted);line-height:1.5}dialog label{display:grid;margin-bottom:15px}dialog input{width:100%}#joinError{color:#ffb6c6}.empty{color:var(--muted);font-size:12px;padding:10px 0}@media(max-width:760px){body{padding:12px}main{grid-template-columns:1fr}.toolbar{gap:8px}.toolbar label{font-size:11px}aside{display:grid;grid-template-columns:1fr 1fr;gap:10px}h1{font-size:23px}}@media(max-width:480px){aside{display:block}:root{--size:116px}section{padding:10px}.toolbar{justify-content:flex-start}}
