/* ============================================================
   KOTH — throne.css   ·   the live board (brutalist)
   Editorial sovereign block, square stat cells, hairline split.
   ============================================================ */

/* Machine + king as two equal, matching panels; collapse to king-only via .solo */
.throne-top {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch;
  border-bottom: 2px solid var(--rule); margin-bottom: var(--gap-lg); padding-bottom: 6px;
}
.throne-top.solo { grid-template-columns: 1fr; }
@media (max-width: 820px) { .throne-top { grid-template-columns: 1fr; gap: 22px; } }

/* Machine column: the card fills the column and matches the king panel. */
.throne-machine { display: block; }
.throne-machine .mgc-wrap {
  margin: 0; width: 100%; max-width: none; height: 100%;
  box-shadow: 6px 6px 0 var(--text); display: flex; flex-direction: column;
}
.throne-machine .mgc-body { flex: 1; display: flex; flex-direction: column; justify-content: center; }

/* King column: a matching bordered panel (was an open hero). */
.throne-wrap {
  padding: 40px 28px; text-align: center; position: relative;
  border: 1.5px solid var(--text); background: var(--card);
  box-shadow: 6px 6px 0 var(--text);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.throne-top .throne-wrap { margin-bottom: 0; }
.throne-eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 28px;
}
.throne-eyebrow::before { content: '// '; color: var(--muted); }
.king-avatar-ring {
  width: 104px; height: 104px; margin: 0 auto 24px;
  border-radius: 50%; border: 2px solid var(--text);
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); position: relative;
}
.king-avatar-ring.crowned { border-color: var(--accent); box-shadow: 0 0 0 5px var(--paper), 0 0 0 7px var(--accent); }
.king-avatar-ring img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.king-svg { color: var(--muted); }
.crowned .king-svg { color: var(--accent); }
.king-name { font-family: var(--display); font-size: clamp(34px,6vw,56px); font-weight: 800; color: var(--text); letter-spacing: -0.03em; line-height: 1; margin-bottom: 6px; text-transform: uppercase; }
.king-name.empty { color: var(--muted); font-size: 22px; font-weight: 700; letter-spacing: 0; }
.king-team-tag { font-family: var(--mono); font-size: 12px; color: var(--sub); margin-bottom: 22px; text-transform: uppercase; letter-spacing: 0.06em; }
.king-stats {
  display: inline-flex; gap: 0; border: 1.5px solid var(--text); border-radius: 0;
  overflow: hidden; margin-top: 12px;
}
.king-stat { padding: 14px 28px; border-right: 1.5px solid var(--text); text-align: center; background: var(--card); }
.king-stat:last-child { border-right: none; }
.king-stat-val { font-family: var(--mono); font-size: 22px; font-weight: 700; color: var(--text); line-height: 1.1; }
.king-stat:first-child .king-stat-val { color: var(--accent); }
.king-stat-lbl { font-family: var(--mono); font-size: 9.5px; color: var(--sub); margin-top: 5px; letter-spacing: 0.08em; text-transform: uppercase; }

/* ── Flag submission ── */
.flag-submit-card { background: var(--card); border: 1.5px solid var(--text); border-radius: 0; padding: 22px 24px; box-shadow: 6px 6px 0 var(--text); }
.flag-submit-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
@media (max-width: 520px) { .flag-submit-row { grid-template-columns: 1fr; } }
.flag-submit-hint { font-family: var(--mono); font-size: 11px; color: var(--sub); margin-top: 14px; text-transform: uppercase; letter-spacing: 0.04em; }
.flag-submit-locked {
  display: flex; align-items: center; gap: 12px; justify-content: center;
  padding: 22px; color: var(--sub); font-family: var(--mono); font-size: 13px;
}
.flag-submit-locked a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ── Flags + history split ── */
.throne-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: var(--gap-lg); }
@media (max-width: 760px) { .throne-split { grid-template-columns: 1fr; } }
