/* ── Crosswire ────────────────────────────────────────────────────────────
   Loose words, not a board, so no trace lines: one clue pill up top (game's
   own clue-chip indigo, phone/games/crosswire: #eef2ff bg / #6366f1 border
   / #4338ca text) sits over two correct group members plus the trap word,
   in the game's own recap colors (crosswire.css .crosswire-go-word): a
   correct match (green) twice over, and the trap word (the game's black/
   red negative-chip colors, #111827 bg / #ef4444 border+mark). Clue above,
   the group's members and the one to dodge below — that vertical read is
   the gesture. */
.game-art--crosswire .ga-cw-clue { --x: 50%; --y: 35%; --w: 80%; --h: 20%; }
.game-art--crosswire .ga-cw-correct-a { --x: 20%; --y: 76%; --w: 26%; --h: 20%; }
.game-art--crosswire .ga-cw-correct-b { --x: 50%; --y: 76%; --w: 26%; --h: 20%; }
.game-art--crosswire .ga-cw-trap { --x: 80%; --y: 76%; --w: 26%; --h: 20%; }

.game-art--crosswire .ga-cw-clue {
  background: #eef2ff;
  border-color: #6366f1;
}
.game-art--crosswire .ga-cw-correct-a,
.game-art--crosswire .ga-cw-correct-b {
  background: rgba(34, 197, 94, 0.15);
  border-color: #22c55e;
}
.game-art--crosswire .ga-cw-trap {
  background: #111827;
  border-color: #ef4444;
}
/* Each chip carries a solid mark in its own border color, same technique
   across all three so the row reads as one family: a check for the two
   correct matches, a warning triangle (echoing the in-game chip's ⚠ glyph)
   for the trap — shapes instead of rendered glyphs since a plain fill
   survives shrink far better than text does. */
.game-art--crosswire .ga-cw-correct-a::before,
.game-art--crosswire .ga-cw-correct-b::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 44%;
  height: 44%;
  background: #22c55e;
  clip-path: polygon(10% 55%, 35% 80%, 90% 15%, 78% 5%, 35% 60%, 22% 42%);
}
.game-art--crosswire .ga-cw-trap::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 36%;
  height: 36%;
  background: #ef4444;
  clip-path: polygon(50% 6%, 96% 94%, 4% 94%);
}

/* Thumbnail tier: the three marks are the first thing to turn to mud once
   they're a few pixels wide — all drop, leaving 4 clearly-colored pills
   (clue-indigo, green, green, black/red), still an unambiguous "one clue,
   these belong, this one doesn't" read. */
@container ga-stage (max-width: 70px) {
  .game-art--crosswire .ga-cw-correct-a::before,
  .game-art--crosswire .ga-cw-correct-b::before,
  .game-art--crosswire .ga-cw-trap::before { display: none; }
}
