/* ── Two Against One ───────────────────────────────────────────────────────
   One gesture: yours, yours, theirs — the moment a pair closes on a single
   enemy stone and takes it. Only three squares of one row are drawn, not the
   whole 5 x 5 board; at 40px a real 5 x 5 grid of stones is 5px dots, while
   three big ones still read as two light and one dark. The ruled bamboo
   underneath supplies the "this is a board" cue the missing rows would have.

   Every color is lifted straight from the game's own surfaces: the plate and
   its rules from display twoonone.css --t1-board / --t1-line, the stones from
   --t1-bone / --t1-slate (same radial highlight the real pieces carry), and
   the capture ring from the game's jade accent --t1-jade, which is what marks
   the landing square and the active seat in play. The ring is the whole
   payload — it is why the dark stone is the odd one out rather than just a
   third piece in a row. */
.game-art--twoonone .ga-t1-plate {
  position: absolute;
  inset: 6%;
  border-radius: 8cqmin;
  background-color: #C8A46A;
  /* Ruled at the stones' own pitch so each one sits squarely in a square —
     three columns, not the board's real five. Five would put every stone
     straddling a line at this size, and the read that matters is "pieces in
     adjacent squares", not the board's exact dimensions. */
  background-image:
    repeating-linear-gradient(to right, #8A6B3C 0, #8A6B3C max(1px, .9cqmin), transparent max(1px, .9cqmin), transparent 33.334%),
    repeating-linear-gradient(to bottom, #8A6B3C 0, #8A6B3C max(1px, .9cqmin), transparent max(1px, .9cqmin), transparent 33.334%);
}

.game-art--twoonone .ga-t1-stone {
  position: absolute;
  top: 50%;
  width: 24%;
  height: 24%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* The middle row's three square centres (the plate spans 6%-94%, ruled in
   thirds), so each stone sits inside its own square with a sliver of board
   showing between neighbours — close enough to read as adjacent, not so
   close they merge into one blob at thumbnail size. */
.game-art--twoonone .ga-t1-s1 { left: 20.7%; }
.game-art--twoonone .ga-t1-s2 { left: 50%; }
.game-art--twoonone .ga-t1-s3 { left: 79.3%; }

.game-art--twoonone .ga-t1-mine {
  background: radial-gradient(circle at 34% 28%, #FFFFFF 0%, #FAF6EC 55%, #DFD6C4 100%);
}

.game-art--twoonone .ga-t1-theirs {
  background: radial-gradient(circle at 34% 28%, #55504A 0%, #2A2622 58%, #14120F 100%);
  box-shadow: 0 0 0 max(1px, 2.5cqmin) #2F9E7E;
}

/* Thumbnail tier: the board ruling turns to noise once a square is a few
   pixels across, and the stones' highlight stops being visible at all.
   Two flat light discs, one flat dark disc, one jade ring — the silhouette
   carries it from here. */
@container ga-stage (max-width: 100px) {
  .game-art--twoonone .ga-t1-plate { background-image: none; }
  .game-art--twoonone .ga-t1-mine { background: #FAF6EC; }
  .game-art--twoonone .ga-t1-theirs { background: #2A2622; }
}
