/* ── Trapped ───────────────────────────────────────────────────────────────
   The whole rule in one shape: claim a tile and it's yours forever. A 3x3
   block with 7 of its 9 squares colored: the two left columns plus the
   top- and center-right squares. Five of those seven (top/mid/bottom-left,
   top-middle, bottom-middle) share one claimed indigo (phone+display/games/
   trapped: #6366f1 timer/turn-dot fill); the middle-right pair shares a
   second claimed color (var(--violet)) — two different players' claims
   boxing the board in from two sides. A gold ring on the middle and
   bottom-middle squares marks the player's last active move, kept subtle
   (a thin, softened ring rather than a hard-edged one) so it reads as a
   marker, not a third competing color. */
.game-art--trapped .trp-tile {
  position: absolute;
  width: 24%;
  height: 24%;
  transform: translate(-50%, -50%);
  border-radius: 16%;
  box-sizing: border-box;
}
.game-art--trapped .trp-tl { left: 25%; top: 25%; }
.game-art--trapped .trp-ml { left: 25%; top: 50%; }
.game-art--trapped .trp-bl { left: 25%; top: 75%; }
.game-art--trapped .trp-tm { left: 50%; top: 25%; }
.game-art--trapped .trp-mm { left: 50%; top: 50%; }
.game-art--trapped .trp-bm { left: 50%; top: 75%; }
.game-art--trapped .trp-mr { left: 75%; top: 50%; }

.game-art--trapped .trp-tl,
.game-art--trapped .trp-ml,
.game-art--trapped .trp-bl,
.game-art--trapped .trp-tm,
.game-art--trapped .trp-bm {
  background: #6366F1;
  z-index: 1;
}
.game-art--trapped .trp-mm,
.game-art--trapped .trp-mr {
  background: var(--violet, #8B5CF6);
  z-index: 1;
}
.game-art--trapped .trp-last {
  box-shadow: 0 0 0 max(1px, 1.4cqmin) color-mix(in srgb, #FBBF24 70%, transparent);
  z-index: 2;
}
