/* ── Doodle Telephone ─────────────────────────────────────────────────────
   Redrawn as an old-timey candlestick phone (see the reference photos in
   the design discussion): a stand with a round mouthpiece up top and a
   round base/earpiece at the bottom — the literal "two circular speakers,
   top and bottom" the game's silhouette needs — with a wavy scribble
   trailing off each one. What keeps two circles on a bar from reading as
   gym equipment:
     1. A drawn outline around the whole stand (every sticker reference
        image has one) — done here as a stack of 0-blur drop-shadows on
        the shared .ga-tp-body wrapper, which outlines the union of its
        children's alpha silhouette regardless of how many overlapping
        pieces make it up, instead of outlining each piece (and exposing
        the seams between them).
     2. A darker inset "grille" disc plus a 3-dot hole row inside each
        circle — a flat unbroken disc is a barbell plate; a labeled
        speaker grille is unmistakably a phone part.
     3. A pair of thin wavy scribbles (the same sine-wave .ga-link
        clip-path Doodle Trace's ga-l1 uses, thinned down) floating just
        off each grille — the game's own drawing coming out of the
        speaker. Top and bottom scribbles are deliberately off-pink (a
        blue at the mouthpiece, an amber at the base) instead of tints of
        the stand's own pink, so each doodle reads as ink laid over the
        phone rather than melting into the pink body outline behind it —
        blue and amber both pair with pink without being mistaken for it.
   Stand color is the game's own accent (phone/games/telephone: #EC4899
   pink, everywhere from .tp-word-input's focus ring to the active tab);
   the outline and grille stay color-mix() shades of that same hex, so the
   body itself still uses no new literal colors — only the two doodles
   borrow hues (#3B82F6 blue, #F59E0B amber) already established
   elsewhere in this file's palette. The base circle is drawn bigger than
   the mouthpiece (a phone's foot is its most stable, grounded part) so
   the two ends stay unequal even with the outline stripped away. */
.game-art--telephone {
  --ga-trace: #EC4899;
  --tp-outline: color-mix(in srgb, #EC4899 55%, #2b0a18);
  --tp-grille: color-mix(in srgb, #EC4899 65%, #2b0a18);
  --tp-doodle-top: #3B82F6;
  --tp-doodle-bottom: #F59E0B;
}
/* Stand + both circles grouped in .ga-tp-body so the outline filter below
   sees them as one silhouette. */
.game-art--telephone .ga-tp-body {
  position: absolute;
  inset: 0;
  z-index: 1;
  filter:
    drop-shadow(1cqmin 0 0 var(--tp-outline))
    drop-shadow(-1cqmin 0 0 var(--tp-outline))
    drop-shadow(0 1cqmin 0 var(--tp-outline))
    drop-shadow(0 -1cqmin 0 var(--tp-outline))
    drop-shadow(.75cqmin .75cqmin 0 var(--tp-outline))
    drop-shadow(-.75cqmin .75cqmin 0 var(--tp-outline))
    drop-shadow(.75cqmin -.75cqmin 0 var(--tp-outline))
    drop-shadow(-.75cqmin -.75cqmin 0 var(--tp-outline));
}
.game-art--telephone .ga-tp-stand {
  position: absolute;
  left: 50%;
  top: 49%;
  width: 12%;
  height: 26%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: #EC4899;
}
/* border-radius shy of a full circle (44%, not 50%) reads as molded
   plastic rather than a ball. Bottom (base/earpiece) is bigger than top
   (mouthpiece) — see file header. */
.game-art--telephone .ga-tp-circle {
  position: absolute;
  left: 50%;
  border-radius: 44%;
  background: #EC4899;
  transform: translate(-50%, -50%);
}
.game-art--telephone .ga-tp-circle-top { top: 19%; width: 34%; height: 34%; }
.game-art--telephone .ga-tp-circle-bottom { top: 80%; width: 38%; height: 38%; }

/* Speaker grille: a darker inset disc plus a 3-dot hole row, centered in
   each circle — what turns "two dots" from a stray face-read into a
   labeled part. Drawn outside .ga-tp-body (its own flat color already
   reads, no outline needed) so it sits cleanly on top of the outlined
   stand. */
.game-art--telephone .ga-tp-grille {
  position: absolute;
  left: 50%;
  border-radius: 50%;
  background: var(--tp-grille);
  transform: translate(-50%, -50%);
  z-index: 2;
}
.game-art--telephone .ga-tp-grille-top { top: 19%; width: 18%; height: 18%; }
.game-art--telephone .ga-tp-grille-bottom { top: 80%; width: 20%; height: 20%; }
.game-art--telephone .ga-tp-holes {
  position: absolute;
  left: 50%;
  width: 5%;
  height: 5%;
  border-radius: 50%;
  background: #fff;
  opacity: .9;
  transform: translate(-50%, -50%);
  z-index: 3;
}
.game-art--telephone .ga-tp-holes-top {
  top: 19%;
  box-shadow: 5.5cqmin 0 0 0 #fff, -5.5cqmin 0 0 0 #fff;
}
.game-art--telephone .ga-tp-holes-bottom {
  top: 80%;
  box-shadow: 6cqmin 0 0 0 #fff, -6cqmin 0 0 0 #fff;
}

/* The doodle: a single wavy scribble off each grille, using the exact
   sine-wave clip-path ribbon Doodle Trace's ga-l1 draws (a real hand's
   line is never dead straight) instead of the straight .ga-link pill.
   Backgrounds are set per end below (blue top, amber bottom) rather than
   inherited, so the ink never blends into the pink stand it's drawn on. */
.game-art--telephone .ga-tp-doodle {
  height: 9%;
  z-index: 1;
  clip-path: polygon(
    0% 32%, 12.5% 46.1%, 25% 52%, 37.5% 46.1%, 50% 32%,
    62.5% 17.9%, 75% 12%, 87.5% 17.9%, 100% 32%,
    100% 68%, 87.5% 53.9%, 75% 48%, 62.5% 53.9%, 50% 68%,
    37.5% 82.1%, 25% 88%, 12.5% 82.1%, 0% 68%
  );
}
.game-art--telephone .ga-tp-doodle-top { background: var(--tp-doodle-top); }
.game-art--telephone .ga-tp-doodle-bottom { background: var(--tp-doodle-bottom); }
.game-art--telephone .ga-tp-doodle-t1 { --x: 67%; --y: 12%;  --len: 18%; --rot: -25deg; }
.game-art--telephone .ga-tp-doodle-t2 { --x: 72%; --y: 20%; --len: 15%; --rot: 20deg; }
.game-art--telephone .ga-tp-doodle-b1 { --x: 30%; --y: 92%; --len: 18%; --rot: 155deg; }
.game-art--telephone .ga-tp-doodle-b2 { --x: 22%; --y: 81%; --len: 19%; --rot: 210deg; }
/* The doodles are flavor, not the subject — the outlined stand with its
   two grilled speakers alone still says "phone" once they turn to noise. */
@container ga-stage (max-width: 70px) {
  .game-art--telephone .ga-tp-doodle { display: none; }
  .game-art--telephone .ga-tp-holes { box-shadow: none; }
  .game-art--telephone .ga-tp-grille { display: none; }
}
