/* ── Arroway ───────────────────────────────────────────────────────────────
   Nine tiles butted into one board (25% pitch, so 12.5%-87.5% of the stage).
   A thin accent route runs over the tiles from the token at a1, bends at b1,
   drops to b3 and ends at the goal star in c3; the wall at c1 is what
   forces the bend. The middle row carries the same tinted lane band the real
   board draws over a sliding row (public/display/games/arroway/arroway.css's
   .arroway-lane-band). Wall/goal treatments are lifted from the same file. */
.game-art--arroway .ga-cell {
  width: 25%;
  height: 25%;
  border-radius: 6%;
  border-width: max(1px, 1.2cqmin);
  border-color: color-mix(in srgb, var(--muted) 40%, var(--border));
}
.game-art--arroway .ga-cell.ga-off { opacity: 1; }

/* Lane band: row 2, over the floor tiles, under the wall/route/token. */
.game-art--arroway .ga-aw-band {
  position: absolute;
  left: 12.5%;
  top: 37.5%;
  width: 75%;
  height: 25%;
  background: color-mix(in srgb, #22D3EE 16%, transparent);
  border-block: max(1px, 1.2cqmin) solid color-mix(in srgb, #22D3EE 60%, transparent);
  z-index: 2;
}

/* Wall: the real board's raised block (arroway.css .arroway-cell-wall), same
   per-theme tokens: deep charcoal on light, lit stone on dark. */
.game-art--arroway .ga-cell.ga-aw-wall {
  --wall: #3E3830;
  --wall-hi: #6A6253;
  --wall-lo: #1A1713;
  z-index: 3;
  border-color: var(--wall-lo);
  background: linear-gradient(180deg, var(--wall-hi), var(--wall) 18%, var(--wall) 78%, var(--wall-lo));
  box-shadow:
    inset 0 max(1px, 1.2cqmin) 0 color-mix(in srgb, var(--wall-hi) 85%, white),
    inset 0 calc(max(1px, 1.5cqmin) * -1) 0 var(--wall-lo),
    0 max(1px, 1.2cqmin) max(2px, 2cqmin) rgb(0 0 0 / .35);
}
html[data-theme="dark"] .game-art--arroway .ga-cell.ga-aw-wall {
  --wall: #6B6352;
  --wall-hi: #A39A86;
  --wall-lo: #2E2921;
}

.game-art--arroway .ga-cell.ga-aw-goal { background: color-mix(in srgb, #22D3EE 16%, var(--surface)); border-color: #22D3EE; }
.game-art--arroway .ga-cell.ga-aw-goal::after {
  content: '\2605';
  color: #22D3EE;
  font-size: 14cqmin;
}

/* Route: thin line above the tiles. Segments overlap at the bends so the
   round caps make the corners. Ends short of the star so it stays visible. */
.game-art--arroway .ga-aw-link-1 { --x: 25%; --y: 25%; --len: 25%; --rot: 0deg; }
.game-art--arroway .ga-aw-link-2 { --x: 50%; --y: 25%; --len: 50%; --rot: 90deg; }
.game-art--arroway .ga-aw-link-3 { --x: 50%; --y: 75%; --len: 15%; --rot: 0deg; }
.game-art--arroway .ga-aw-link-1,
.game-art--arroway .ga-aw-link-2,
.game-art--arroway .ga-aw-link-3 { height: 3.4%; background: #22D3EE; z-index: 4; }

.game-art--arroway .ga-aw-token {
  position: absolute;
  left: 25%;
  top: 25%;
  width: 12%;
  height: 12%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #22D3EE;
  box-shadow: inset 0 0 0 max(1px, 2.4cqmin) #111827;
  z-index: 5;
}

/* Thumbnail tier: drop the lane band, thicken the route. */
@container ga-stage (max-width: 70px) {
  .game-art--arroway .ga-aw-band { display: none; }
  .game-art--arroway .ga-aw-link-1,
  .game-art--arroway .ga-aw-link-2,
  .game-art--arroway .ga-aw-link-3 { height: 6%; }
}
