/* ── Doodle Twins ─────────────────────────────────────────────────────────
   Two players secretly draw the exact same prompt without knowing it, and
   the room's job is spotting which drawings share that hidden twin. Two
   separate small canvases (each with its own doodle stroke — they really
   were drawn independently) sit side by side, joined by a short trace and
   the game's own pair-badge (phone/games/doodletwins .dt-pair-badge, the
   circle that appears once a pair is confirmed matched) riding the link
   between them. Accent is the game's own violet (phone/games/doodletwins:
   #8B5CF6 prompt text / points), with the check drawn in ink per the
   Ink-on-Bright-Fill rule. Side-by-side-plus-link keeps this apart from
   Copycat's overlapping-pair read below even though both share that violet. */
.game-art--doodletwins .ga-dt-card {
  position: absolute;
  top: 30%;
  width: 34%;
  height: 40%;
  border-radius: 16%;
  background: var(--surface);
  border: max(1px, 2.4cqmin) solid color-mix(in srgb, var(--muted) 45%, var(--border));
  box-sizing: border-box;
  z-index: 2;
}
.game-art--doodletwins .ga-dt-card-a { left: 12%; }
.game-art--doodletwins .ga-dt-card-b { left: 54%; }
.game-art--doodletwins .ga-dt-squiggle {
  position: absolute;
  top: 48%;
  width: 16%;
  height: max(1px, 3.4cqmin);
  border-radius: 999px;
  transform-origin: 0 50%;
  z-index: 3;
}
.game-art--doodletwins .ga-dt-sq-a { left: 22%; background: #F59E0B; transform: rotate(-18deg); }
.game-art--doodletwins .ga-dt-sq-b { left: 66%; background: #22C55E; transform: rotate(18deg); }
.game-art--doodletwins .ga-dt-link {
  position: absolute;
  left: 44%;
  top: 50%;
  width: 12%;
  height: max(1px, 3.4cqmin);
  background: #8B5CF6;
  border-radius: 999px;
  transform: translateY(-50%);
  z-index: 1;
}
.game-art--doodletwins .ga-dt-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18%;
  height: 18%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #8B5CF6;
  z-index: 4;
}
.game-art--doodletwins .ga-dt-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 50%;
  height: 50%;
  background: #111827;
  clip-path: polygon(10% 55%, 35% 80%, 90% 15%, 78% 5%, 35% 60%, 22% 42%);
}
/* Thumbnail tier: the doodle strokes and the badge's check mark are the
   fine detail — two cards joined by a violet badge still reads as "these
   two are a pair" alone at 40px. */
@container ga-stage (max-width: 70px) {
  .game-art--doodletwins .ga-dt-squiggle { display: none; }
  .game-art--doodletwins .ga-dt-badge::before { display: none; }
}
