/* ── Art Slide ────────────────────────────────────────────────────────────
   The sliding-tile mechanic drawn literally: a 3x3 board of flat color
   blocks sweeping through a full spectrum, read left-to-right/top-to-bottom
   like a ROYGBIV chip chart — "every tile is a different piece of one
   picture," the clearest way a grid of solid squares can read as a puzzle
   rather than a checkerboard. The top two rows sit in correct rainbow
   order; the bottom row is the unsolved part — its middle spot is the
   blank, checkered in the real board's own accent hatch (board.css
   .artslide-grid-pixelart .artslide-tile-blank: rgba(168,85,247,.35)
   stripes on var(--surface)), and the two colored tiles on either side of
   it are swapped out of spectrum order — visibly wrong (a jump backward in
   hue, not a smooth run) with no extra ring or arrow needed to point it
   out.
   All nine hues are lifted from accents already established elsewhere in
   this file (per-game card art reusing real in-game palette hexes): red
   #EF4444, orange #F97316, yellow #FACC15, green #22C55E, teal #14B8A6,
   blue #3B82F6, indigo #6366F1, violet #8B5CF6, and purple #A855F7 — which
   is also artslide's own real blank-tile accent, so the swapped bottom-row
   tiles sit right next to the blank they'd otherwise complete. */
.game-art--artslide .ga-as-board {
  position: absolute;
  inset: 6%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: max(1px, 2.4cqmin);
  background: var(--text);
  border: max(1px, 2.4cqmin) solid var(--text);
  border-radius: 6%;
  overflow: hidden;
  box-sizing: border-box;
}
.game-art--artslide .ga-as-tile {
  position: relative;
  background: var(--surface);
}
.game-art--artslide .ga-as-c1 { background: #EF4444; }
.game-art--artslide .ga-as-c2 { background: #F97316; }
.game-art--artslide .ga-as-c3 { background: #FACC15; }
.game-art--artslide .ga-as-c4 { background: #22C55E; }
.game-art--artslide .ga-as-c5 { background: #14B8A6; }
.game-art--artslide .ga-as-c6 { background: #3B82F6; }
.game-art--artslide .ga-as-c7 { background: #6366F1; }
.game-art--artslide .ga-as-c9 { background: #A855F7; }
.game-art--artslide .ga-as-blank {
  background-color: var(--surface);
  background-image: repeating-linear-gradient(45deg,
    rgba(168, 85, 247, 0.35) 0 25%, transparent 25% 50%);
  background-size: 22cqmin 22cqmin;
}
/* Thumbnail tier: the checker is a few pixels wide before it's a board's
   worth of stripes — flatten it to a solid tint so the blank still reads as
   "empty" instead of turning to noise. */
@container ga-stage (max-width: 70px) {
  .game-art--artslide .ga-as-blank {
    background-image: none;
    background-color: color-mix(in srgb, #A855F7 20%, var(--surface));
  }
}
