/* The Gallows — page chrome only. The DRILL is Den.drillDeck now (contract §4c.1), so its board, dots,
   score row, verdict, icon bar and finale are drills.css's; this sheet keeps the census, the deck toggle,
   the empty states and the page's colder, redder shell. */
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.55 -apple-system,Segoe UI,Roboto,Arial,sans-serif;overflow-x:hidden}
.bgglow{position:fixed;width:800px;height:800px;border-radius:50%;filter:blur(140px);opacity:.18;background:var(--accent);top:-400px;right:-240px;z-index:0}
.wrap{position:relative;z-index:1;max-width:960px;margin:0 auto;padding:26px 20px 70px}
h1{font-size:26px;margin:0 0 2px;font-weight:800;background:linear-gradient(92deg,#fff 12%,var(--accent2) 55%,var(--accent) 95%);-webkit-background-clip:text;background-clip:text;color:transparent}
.aka{color:var(--mut);margin:0 0 4px;font-style:italic;font-size:14px}
.sub{color:var(--mut);margin:0 0 14px;font-size:14px}
a{color:var(--accent2)}

/* the verdict headline — the whole reason the trial exists */
.census{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 16px}
.cstat{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:11px 16px;min-width:120px}
.cstat b{display:block;font-size:28px;font-weight:800;color:var(--accent2);line-height:1.1}
.cstat span{font-size:11.5px;letter-spacing:.05em;text-transform:uppercase;color:var(--mut)}
.cstat.thin b{color:var(--good)}

.decks{display:inline-flex;border:1px solid var(--line);border-radius:10px;overflow:hidden;margin:0 0 16px}
.decks button{background:#221c2a;color:var(--mut);border:0;border-right:1px solid var(--line);padding:8px 16px;font-size:13.5px;cursor:pointer;font-weight:600}
.decks button:last-child{border-right:0}
.decks button.on{background:var(--accent2);color:#241302}

/* the mission line's badges — the deck's mission slot carries them now */
.mbadge{font-size:12px;font-weight:800;padding:3px 11px;border-radius:14px;background:#2a1015;color:#ff9aa6;border:1px solid #5a1f2a;margin-right:6px}
.brbadge{font-size:12px;font-weight:700;padding:3px 11px;border-radius:14px;background:#241a10;color:var(--accent2);border:1px solid #4a3618;margin-right:6px}

.hint{color:var(--mut);font-size:13px;margin-top:16px}

/* the sparse-deck states — a thin deck is a WIN, and must never read like a broken page */
.empty{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:28px 22px;text-align:center}
.empty h2{margin:0 0 8px;font-size:22px;color:var(--good)}
.empty p{color:var(--mut);margin:6px 0}
.empty .alt{margin-top:14px}
.empty button.primary{background:var(--accent2);color:#241302;border:1px solid var(--accent2);border-radius:9px;padding:10px 16px;font-size:14px;cursor:pointer;font-weight:600}
