/* ── Fact Matrix ──────────────────────────────────────────────────────────
   A 3x3 grid with header bars over the columns and beside the rows. One row
   and one column header take the game's accent (ACCENTS.factmatrix, the
   in-play --fm-accent) and throw a soft accent band across the grid; where
   the bands cross, the answer cell sits in the Status Quartet ok pair with a
   check, the same "right" the board grades with. Other headers are a faint
   accent tint (the in-play header chips), resting cells are neutral. */
.game-art--factmatrix .fmx-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.game-art--factmatrix .fmx-band { fill: color-mix(in srgb, #C084FC 22%, transparent); }
.game-art--factmatrix .fmx-head { fill: color-mix(in srgb, #C084FC 34%, var(--surface)); }
.game-art--factmatrix .fmx-head.fmx-on { fill: #C084FC; stroke: #111827; stroke-width: 1.6; }
.game-art--factmatrix .fmx-cell {
  fill: var(--surface);
  stroke: color-mix(in srgb, var(--text) 34%, transparent);
  stroke-width: 1.5;
}
.game-art--factmatrix .fmx-cell.fmx-placed { fill: color-mix(in srgb, var(--text) 16%, var(--surface)); }
.game-art--factmatrix .fmx-cell.fmx-hit { fill: #E1E9D2; stroke: #3F5E2A; stroke-width: 2; }
.game-art--factmatrix .fmx-check {
  fill: none;
  stroke: #3F5E2A;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* The bands turn to haze at thumbnail size; the two lit headers and the
   green cell carry the crossing alone. */
@container ga-stage (max-width: 70px) {
  .game-art--factmatrix .fmx-band { display: none; }
}
