/* ── Caption This ─────────────────────────────────────────────────────────
   Caption someone else's doodle without seeing the real prompt; the room
   votes for the funnier line. Drawn as a small canvas holding a plain
   squiggle (someone's doodle, in the app's standard dark ink) with two
   speech bubbles racing for it: a dim one behind (the losing caption) and
   the game's own vote-indigo one in front. Speech bubbles are the one
   motif none of this game's DRAWING-category neighbors use. Colors are
   the game's own vote-selected indigo (phone/games/captionthis: #6366F1,
   .ct-option-btn:active / .ct-caption-input). */
.game-art--captionthis .ct-canvas {
  position: absolute;
  left: 8%;
  top: 14%;
  width: 46%;
  height: 46%;
  border-radius: 14%;
  background: var(--surface);
  border: max(1px, 2.4cqmin) solid color-mix(in srgb, var(--muted) 45%, var(--border));
  z-index: 1;
}
.game-art--captionthis .ct-squiggle {
  position: absolute;
  height: max(1px, 3.4cqmin);
  border-radius: 999px;
  transform-origin: 0 50%;
  z-index: 2;
}
.game-art--captionthis .ct-sq1 { left: 16%; top: 34%; width: 22%; background: #F59E0B; transform: rotate(-12deg); }
.game-art--captionthis .ct-sq2 { left: 30%; top: 30%; width: 20%; background: #22C55E; transform: rotate(38deg); }

.game-art--captionthis .ct-bubble {
  position: absolute;
  border-radius: 30% 30% 30% 6%;
  box-sizing: border-box;
}
.game-art--captionthis .ct-bubble-b {
  left: 46%;
  top: 52%;
  width: 44%;
  height: 30%;
  background: var(--surface);
  border: max(1px, 2.4cqmin) solid color-mix(in srgb, var(--muted) 45%, var(--border));
  opacity: .6;
  transform: rotate(4deg);
  z-index: 2;
}
.game-art--captionthis .ct-bubble-a {
  left: 52%;
  top: 34%;
  width: 44%;
  height: 30%;
  background: color-mix(in srgb, #6366F1 12%, var(--surface));
  border: max(1px, 2.6cqmin) solid #6366F1;
  z-index: 3;
}
/* Thumbnail tier: the second squiggle stroke is the fine flourish — one
   stroke inside the canvas still reads as "a doodle" alone. */
@container ga-stage (max-width: 70px) {
  .game-art--captionthis .ct-sq2 { display: none; }
}
