/*
  Akunur
  Copyright © 2026 Chris Howland. All rights reserved.
  Version 3.2.2
*/
:root {
  --bg: #f4efe6;
  --panel: #fffaf2;
  --ink: #31261c;
  --muted: #756453;
  --line: #7d6a57;
  --accent: #b36a2e;
  --whiteStone: #f7f7f3;
  --blackStone: #202020;
  --woodStone: #c79a63;
  --legal: rgba(58, 140, 92, 0.28);
  --selected: rgba(53, 100, 185, 0.28);
  --centre: rgba(230, 194, 120, 0.35);
  --corner: rgba(193, 111, 44, 0.18);
  --lastmove: rgba(201, 62, 62, 0.22);
  --danger: #a33b31;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
}
a {
  color: inherit;
}
.brand-link { text-decoration: none; }
.shell {
  min-height: 100vh;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  border-bottom: 1px solid #d8cab7;
  background: rgba(255, 250, 242, 0.96);
  backdrop-filter: blur(8px);
}
.topbar-subtitle {
  margin: 4px 0 0;
}
.view-tabs {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid #ddcfbe;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
}
.view-tab,
.button-secondary {
  appearance: none;
  border: 1px solid #ccb79a;
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.view-tab:hover,
.button-secondary:hover,
button:hover {
  background: #faf4ea;
}
.view-tab.is-active {
  background: #efe0cd;
  border-color: #c69d73;
  color: #4f2d11;
}
.button-compact {
  white-space: nowrap;
}
.view-panel[hidden] {
  display: none !important;
}
.app {
  display: grid;
  grid-template-columns: 360px 1fr;
  min-height: calc(100vh - 86px);
}
.sidebar {
  padding: 20px;
  border-right: 1px solid #d8cab7;
  background: linear-gradient(180deg, #fffaf2 0%, #f7efdf 100%);
  overflow: auto;
}
.main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
h1 { margin: 0; font-size: 1.6rem; }
h2 { margin: 0 0 10px; font-size: 1rem; }
h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}
h4 {
  margin: 0 0 8px;
  font-size: 1rem;
}
p, li {
  line-height: 1.55;
}
ul, ol {
  margin: 0;
  padding-left: 1.15rem;
}
.muted { color: var(--muted); }
.eyebrow {
  margin: 0 0 6px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.card {
  background: var(--panel);
  border: 1px solid #ddcfbe;
  border-radius: 16px;
  padding: 12px 14px;
  margin-top: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.04);
}
.quick-link-card {
  margin-top: 0;
}
.quick-link-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.stat-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.stat-row:last-child { border-bottom: 0; }
.controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
button {
  appearance: none;
  border: 1px solid #ccb79a;
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.95rem;
  cursor: pointer;
}
button:disabled { opacity: 0.55; cursor: not-allowed; }
.board-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px;
  min-height: 78vh;
}
svg {
  width: min(92vw, 1100px);
  height: auto;
  max-height: 92vh;
  display: block;
}
.log-panel { padding: 0 18px 18px; }

.log-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.log-heading-row h2 { margin-bottom: 8px; }
.copy-log-status { min-height: 1.2em; margin: -4px 0 7px; }
.guide-chip.alignment { background: #d9b34b; border-color: #7d5c14; }

.log {
  background: var(--panel);
  border: 1px solid #ddcfbe;
  border-radius: 16px;
  padding: 10px 12px;
  max-height: 250px;
  overflow: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88rem;
  white-space: pre-wrap;
  line-height: 1.55;
}
.warning {
  min-height: 1.4em;
  margin: 10px 0 0;
  color: var(--danger);
  font-weight: 600;
}
.small { font-size: 0.92rem; }
.legend-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.legend-item { display: flex; align-items: center; gap: 8px; }
.dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 1px solid #746858;
  display: inline-block;
}
.dot.centre { background: var(--centre); }
.dot.corner { background: var(--corner); }
.dot.white { background: var(--whiteStone); }
.dot.black { background: var(--blackStone); }
.dot.wood { background: var(--woodStone); }
.dot.legal { background: var(--legal); }
.dot.selected { background: var(--selected); }
.dot.lastmove { background: var(--lastmove); }
.dot.corner-token {
  background: transparent;
  box-shadow: inset 0 0 0 3px rgba(176, 96, 26, 0.88);
}
.dot.setup { background: rgba(126, 167, 131, 0.2); }
.status-guide-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.status-guide-toggle {
  min-width: 10.5rem;
}
.status-guide {
  display: grid;
  gap: 8px;
}
.status-line {
  display: flex;
  align-items: center;
  gap: 8px;
}
.guide-chip {
  width: 20px;
  height: 12px;
  border-radius: 999px;
  display: inline-block;
  border: 1px solid #8f7a64;
}
.guide-chip.token {
  background: linear-gradient(90deg, transparent 0%, transparent 25%, rgba(196, 110, 40, 0.24) 25%, rgba(196, 110, 40, 0.24) 75%, transparent 75%, transparent 100%);
  box-shadow: inset 0 0 0 2px rgba(176, 96, 26, 0.88);
}
.guide-chip.placement { background: rgba(126, 167, 131, 0.2); }
.guide-chip.centre {
  background: radial-gradient(circle, rgba(230, 194, 120, 0.42) 0%, rgba(230, 194, 120, 0.18) 70%, transparent 71%);
}
.stat-row-diagnostics strong {
  font-size: 0.78rem;
  line-height: 1.3;
  white-space: normal;
  text-align: right;
  max-width: 14rem;
}
.log .log-entry {
  display: block;
  padding: 0.2rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.log .log-entry:last-child {
  border-bottom: 0;
}
.log .log-entry.event {
  font-weight: 600;
}
.log .log-entry.metrics {
  color: #5f503f;
}
.log .metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 8px 12px;
}
.log .metric {
  display: flex;
  flex-direction: column;
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(0,0,0,0.03);
}
.log .metric-label {
  font-size: 0.75rem;
  color: var(--muted);
}
.rules-shell {
  padding: 20px;
}
.rules-page {
  max-width: 1200px;
  margin: 0 auto;
}
.rules-header {
  margin-top: 0;
  position: sticky;
  top: 92px;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.rules-header h2 {
  margin-bottom: 6px;
  font-size: 1.45rem;
}
.rules-intro {
  margin: 0;
}
.rules-header-actions,
.rules-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.rules-layout {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.rules-nav {
  position: sticky;
  top: 210px;
  margin-top: 0;
}
.anchor-list {
  display: grid;
  gap: 8px;
}
.anchor-list a {
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--muted);
  background: rgba(0,0,0,0.025);
}
.anchor-list a:hover {
  color: var(--ink);
  background: rgba(179, 106, 46, 0.08);
}
.rules-content {
  min-width: 0;
}
.rules-section {
  padding: 18px 20px;
}
.rules-section:first-child {
  margin-top: 0;
}
.quick-start-card {
  margin-top: 0;
}
.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.quick-grid section {
  padding: 14px;
  border-radius: 14px;
  background: rgba(0,0,0,0.025);
  border: 1px solid rgba(125, 106, 87, 0.12);
}
.mini-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.mini-legend-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(0,0,0,0.025);
  border: 1px solid rgba(125, 106, 87, 0.12);
}
.mini-legend-item p {
  margin: 4px 0 0;
}
.legend-icon {
  min-width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(179, 106, 46, 0.06);
  border: 1px solid rgba(125, 106, 87, 0.14);
}
.legend-icon .dot {
  width: 18px;
  height: 18px;
}
.symbol-icon {
  font-weight: 700;
  color: #8b5b2a;
  letter-spacing: 0.04em;
}
.future-card {
  border-color: #d5c0a7;
  background: linear-gradient(180deg, #fffaf2 0%, #fbf4ea 100%);
}
.rules-footer-actions {
  margin: 18px 0 28px;
}

@media (max-width: 1100px) {
  .rules-layout {
    grid-template-columns: 1fr;
  }
  .rules-nav,
  .rules-header {
    position: static;
  }
}
@media (max-width: 980px) {
  .app {
    grid-template-columns: 1fr;
  }
  .sidebar {
    order: 2;
    border-right: 0;
    border-top: 1px solid #d8cab7;
    padding: 14px 14px 18px;
  }
  .main {
    order: 1;
  }
  .controls, .legend-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px 12px;
  }
  h1 {
    font-size: 1.35rem;
  }
  .topbar-subtitle {
    margin-top: 2px;
    font-size: 0.9rem;
  }
  .view-tabs {
    width: 100%;
    justify-content: stretch;
    gap: 6px;
    padding: 4px;
  }
  .view-tab,
  .button-secondary {
    flex: 1 1 auto;
    padding: 8px 10px;
    font-size: 0.9rem;
  }
  .card {
    padding: 10px 12px;
    margin-top: 10px;
  }
  .quick-link-row,
  .rules-header,
  .status-guide-header {
    flex-direction: column;
    align-items: stretch;
  }
  .sidebar {
    padding: 10px 10px 16px;
  }
  .board-wrap {
    padding: 6px 4px 4px;
    min-height: auto;
    align-items: flex-start;
  }
  svg {
    width: min(100vw - 8px, 100%);
    max-height: none;
  }
  .log-panel {
    padding: 0 8px 10px;
  }
  .log-heading-row { align-items: flex-end; }
  .log-heading-row .button-compact { min-height: 40px; }
  .rules-shell {
    padding: 12px;
  }
  .quick-grid,
  .mini-legend {
    grid-template-columns: 1fr;
  }
  .rules-header-actions,
  .rules-footer-actions {
    flex-direction: column;
  }
  .status-guide-toggle {
    width: 100%;
    min-width: 0;
  }
  #log {
    max-height: 96px;
    overflow-y: auto;
  }
}

.setting-row {
  display: grid;
  gap: 8px;
}
.setting-row label,
.field-label {
  font-weight: 600;
  font-size: 0.92rem;
}
select,
input,
textarea {
  width: 100%;
  border: 1px solid #ccb79a;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
textarea {
  resize: vertical;
}
.feedback-page {
  max-width: 1000px;
}
.feedback-card {
  margin-top: 16px;
}
.feedback-note {
  margin: 0 0 14px;
}
.feedback-form {
  display: grid;
  gap: 16px;
}
.feedback-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.feedback-block {
  padding: 14px;
  border-radius: 14px;
  background: rgba(0,0,0,0.025);
  border: 1px solid rgba(125, 106, 87, 0.12);
}
.radio-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
}
.radio-option input {
  width: auto;
  margin-top: 3px;
}
.meta-list {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.field-grid > div {
  display: grid;
  gap: 8px;
}
.field-span {
  grid-column: 1 / -1;
}
.feedback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.feedback-status {
  margin-top: 0;
}
@media (max-width: 768px) {
  .feedback-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }
  .feedback-actions {
    flex-direction: column;
  }
}

/* Echo is an owner-coloured piece carrying a smaller red state marker. */
.dot.echo-piece {
  background: radial-gradient(circle, #e0263c 0 31%, #7f1523 33% 39%, var(--whiteStone) 41% 100%);
  border: 1px solid #746858;
}
.dot.echo-point {
  background: rgba(177, 42, 42, 0.08);
  border: 2px dashed #b12a2a;
}
.guide-chip.echo {
  background: repeating-linear-gradient(90deg, rgba(177, 42, 42, 0.15) 0 4px, rgba(177, 42, 42, 0.7) 4px 7px);
  border-color: #9d2b2b;
}

/* 3.2.2: board-first play view with controls in an accessible drawer. */
body.menu-open { overflow: hidden; }
.app { display: block; position: relative; }
.main { min-height: calc(100vh - 86px); }
.menu-button { font-weight: 650; }
.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 39;
  display: none;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(34, 27, 20, 0.42);
  cursor: default;
}
body.menu-open .menu-backdrop { display: block; }
.sidebar {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(390px, calc(100vw - 34px));
  padding: 16px 18px 24px;
  border-right: 1px solid #d8cab7;
  overflow-y: auto;
  transform: translateX(-105%);
  transition: transform 0.2s ease;
  box-shadow: 8px 0 28px rgba(36, 27, 18, 0.18);
}
body.menu-open .sidebar { transform: translateX(0); }
.menu-heading {
  position: sticky;
  top: -16px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: -16px -18px 12px;
  padding: 14px 18px 12px;
  border-bottom: 1px solid #ddcfbe;
  background: rgba(255, 250, 242, 0.97);
  backdrop-filter: blur(8px);
}
.menu-heading h2, .menu-heading .eyebrow { margin-bottom: 2px; }
.turn-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 9px 14px;
  border-bottom: 1px solid #d8cab7;
  background: #fffaf2;
}
.turn-banner strong { font-size: 1.05rem; }
#turnBannerDetail { color: var(--muted); }
.turn-indicator {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 1px solid #62564a;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.18);
}
.turn-banner.player-white .turn-indicator { background: var(--whiteStone); }
.turn-banner.player-black .turn-indicator { background: var(--blackStone); }
.turn-banner.player-wood .turn-indicator { background: var(--woodStone); }
.turn-banner.game-over.game-draw .turn-indicator { background: var(--accent); }
.recovery-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  border-bottom: 1px solid #d8cab7;
  background: #fff4cf;
}
.recovery-banner[hidden] { display: none; }
.recovery-banner > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.recovery-banner span { color: var(--muted); font-size: 0.9rem; }
.recovery-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.recovery-actions button { white-space: nowrap; }
.board-wrap { min-height: calc(100vh - 134px); }

@media (max-width: 980px) {
  .sidebar { order: initial; border-top: 0; padding: 16px 18px 24px; }
  .main { order: initial; }
}
@media (max-width: 768px) {
  .topbar { flex-direction: row; align-items: center; }
  .topbar > div:first-child { flex: 0 0 auto; }
  .view-tabs { width: auto; margin-left: auto; overflow-x: auto; }
  .view-tab { padding: 8px 9px; }
  .sidebar { width: min(370px, calc(100vw - 22px)); }
  .turn-banner { min-height: 44px; padding: 7px 10px; }
  #turnBannerDetail { font-size: 0.88rem; }
  .recovery-banner { align-items: stretch; flex-direction: column; padding: 9px 10px; }
  .recovery-actions { justify-content: stretch; }
  .recovery-actions button { flex: 1 1 auto; }
  .board-wrap { min-height: auto; padding: 2px 0 0; overflow: hidden; }
  svg { width: 102vw; max-width: none; margin-left: -1vw; }
}
@media (prefers-reduced-motion: reduce) {
  .sidebar { transition: none; }
}

/* 3.2.2 corrected: the drawer is an action menu, not the former sidebar in disguise. */
.menu-card {
  margin-top: 10px;
}
.menu-primary-card {
  margin-top: 0;
}
#gameMenu .controls {
  grid-template-columns: 1fr 1fr;
}
#gameMenu .setting-row {
  gap: 8px;
}
#gameMenu .menu-card > p.muted.small {
  margin-bottom: 0;
}
.menu-disclosure {
  margin-top: 10px;
  border: 1px solid #ddcfbe;
  border-radius: 14px;
  background: rgba(255, 250, 242, 0.72);
  overflow: clip;
}
.menu-disclosure > summary {
  padding: 11px 13px;
  cursor: pointer;
  font-weight: 650;
  list-style-position: inside;
}
.menu-disclosure[open] > summary {
  border-bottom: 1px solid #ddcfbe;
  background: rgba(255,255,255,0.45);
}
.menu-disclosure-card {
  margin: 8px;
  box-shadow: none;
}
.menu-disclosure-card + .menu-disclosure-card {
  margin-top: 0;
}
.play-warning {
  min-height: 0;
  margin: 0;
  padding: 0 14px;
  text-align: center;
}
.play-warning:not(:empty) {
  padding-top: 7px;
  padding-bottom: 7px;
  border-bottom: 1px solid #e6c8a6;
  background: #fff4df;
}
@media (max-width: 768px) {
  #gameMenu .controls { grid-template-columns: 1fr; }
}


/* 3.2.2: compact always-visible game state and reserve controls. */
.game-state-panel {
  display: grid;
  grid-template-columns: minmax(180px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 7px 14px;
  border-bottom: 1px solid #d8cab7;
  background: #fffaf2;
}
.game-state-panel .turn-banner {
  min-height: 0;
  padding: 0;
  border-bottom: 0;
  background: transparent;
  justify-content: flex-start;
}
.turn-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}
.turn-copy #turnBannerDetail {
  margin-top: 2px;
  font-size: 0.86rem;
}
.reserve-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.78rem;
}
.reserve-strip-title {
  font-weight: 700;
  color: var(--ink);
}
.reserve-player {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  white-space: nowrap;
}
.reserve-player[hidden] { display: none; }
.reserve-player-label { font-weight: 600; }
.reserve-piece-list {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  flex-wrap: wrap;
  max-width: 116px;
}
.reserve-mini-piece {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  border: 1px solid #62564a;
  box-shadow: 0 1px 1px rgba(0,0,0,0.12);
}
.reserve-white .reserve-mini-piece { background: var(--whiteStone); }
.reserve-black .reserve-mini-piece { background: var(--blackStone); }
.reserve-wood .reserve-mini-piece { background: var(--woodStone); }
.reserve-count {
  min-width: 1.2em;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.turn-reserve-action {
  min-height: 40px;
  padding: 8px 12px;
  white-space: nowrap;
  font-weight: 650;
}
.turn-reserve-action:not(:disabled) {
  border-color: #b07b4d;
  background: #fffaf2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.qualification-token-sample {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.qualification-token-sample i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border: 1px solid #62564a;
  border-radius: 50%;
}
.qualification-token-sample .white { background: var(--whiteStone); }
.qualification-token-sample .black { background: var(--blackStone); }
.qualification-token-sample .wood { background: var(--woodStone); }
.site-footer {
  padding: 12px 18px 16px;
  border-top: 1px solid #d8cab7;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
  background: var(--bg);
}
@media (max-width: 900px) {
  .game-state-panel {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 6px 10px;
    padding: 6px 8px;
  }
  .game-state-panel .turn-banner { grid-column: 1; grid-row: 1; }
  .reserve-strip {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
    gap: 7px;
  }
  .turn-reserve-action {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-height: 38px;
  }
}
@media (max-width: 600px) {
  .game-state-panel { grid-template-columns: 1fr; }
  .game-state-panel .turn-banner,
  .reserve-strip,
  .turn-reserve-action { grid-column: 1; }
  .game-state-panel .turn-banner { grid-row: 1; justify-content: center; }
  .reserve-strip { grid-row: 2; justify-content: center; flex-wrap: wrap; }
  .turn-reserve-action { grid-row: 3; }
  .reserve-strip-title { display: none; }
  .reserve-piece-list { max-width: 90px; }
  .reserve-player-label { font-size: 0.72rem; }
}
