/* Mini board (.sk-*) and its stat footer, shared by the landing hero and the auth rail. */
.sk-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--sk-size, 16), 1fr);
  grid-template-rows: repeat(var(--sk-size, 16), 1fr);
  aspect-ratio: 1 / 1; width: 100%;
  border: 1px solid var(--bronze-deep);
  border-radius: 4px; overflow: hidden;
  box-shadow:
    0 0 0 4px var(--bg-1),
    0 0 0 5px var(--bronze-deep),
    0 10px 40px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  background: #2a2419;
}
.sk-board::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.08) 1px, transparent 1px);
  background-size: calc(100% / var(--sk-size, 16)) calc(100% / var(--sk-size, 16));
}
.sk-cell { position: relative; display: flex; align-items: center; justify-content: center; }
.sk-plain  { background: var(--sq-plain); }
.sk-hill   { background: var(--sq-hill); }
.sk-forest { background: var(--sq-forest); }
.sk-river  { background: var(--sq-river); }
.sk-desert { background: var(--sq-desert); }
.sk-terrain-sym { position: absolute; bottom: 2px; right: 4px; color: rgba(0,0,0,0.22); font-weight: 700; font-size: 0.8em; pointer-events: none; }
.sk-piece {
  position: relative; z-index: 2; width: 82%; aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--pc-ink, #fff);
  border: 1.5px solid rgba(0, 0, 0, 0.4);
  box-shadow: 0 2px 4px rgba(0,0,0,0.5), inset 0 2px 3px rgba(255,255,255,0.25), inset 0 -2px 3px rgba(0,0,0,0.35);
}
/* Derived from the tokens, not restated — see the note in auth.css. */
.sk-piece.p1 { --pc-ink: var(--p1-ink); background: radial-gradient(circle at 35% 30%, var(--p1-2) 0%, var(--p1) 55%, color-mix(in srgb, var(--p1) 50%, #000) 100%); }
.sk-piece.p2 { --pc-ink: var(--p2-ink); background: radial-gradient(circle at 35% 30%, var(--p2-2) 0%, var(--p2) 55%, color-mix(in srgb, var(--p2) 50%, #000) 100%); }
.sk-piece.strat { border-color: var(--gold); box-shadow: 0 0 0 1.5px var(--gold), 0 2px 6px color-mix(in srgb, var(--gold) 50%, transparent), inset 0 2px 3px rgba(255,255,255,0.3), inset 0 -2px 3px rgba(0,0,0,0.4); }
.sk-piece.pinned { outline: 2px solid var(--porphyry-2); outline-offset: -2px; }
.sk-piece.spent { opacity: 0.55; filter: saturate(0.6) brightness(0.7); }
/* Force light fill so unit-icon mask-images read on both p1/p2 discs in either theme. */
.sk-piece .unit-icon { background-color: #fff; inset: 16%; }
.sk-board.is-live-clickable { cursor: pointer; }

/* .bf-* tiles are SHARED with the auth rail; don't redeclare them. */
.landing-board-footer { margin-top: 4px; padding-top: 8px; display: grid; grid-template-columns: repeat(3, 1fr); }
.bf-stat {
  padding: 8px 6px 4px; display: flex; flex-direction: column; gap: 4px;
  align-items: center; text-align: center; border-left: 1px solid var(--divider); min-width: 0;
}
.bf-stat:first-child { border-left: none; }
.bf-stat-vis {
  display: flex; align-items: center; gap: 8px; height: 22px;
  color: var(--bronze-2); font-family: var(--font-display);
  font-size: 1rem; font-weight: 600; font-variant-numeric: tabular-nums;
}
.bf-stat-lbl { font-size: 0.64rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; line-height: 1.25; }
.bf-pulse { position: relative; width: 10px; height: 10px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bf-pulse-core { width: 8px; height: 8px; border-radius: 50%; background: var(--bronze-2); }
.bf-sparkline { width: 48px; height: 20px; color: var(--bronze-2); flex-shrink: 0; }
.bf-bar-row { display: inline-flex; align-items: flex-end; gap: 2px; height: 18px; flex-shrink: 0; }
.bf-bar-row i { width: 4px; background: var(--bronze); opacity: 0.5; border-radius: 1px; display: block; min-height: 2px; }
.bf-bar-row i.on { background: var(--bronze-2); opacity: 1; box-shadow: 0 0 4px var(--bronze-2); }
