/* Mollie's fur family + Tiger, drawn as squishes in the same round style as the squad.
 * Extra parts come from SQ_EXTRA in shared.js. Loaded on the invite and in Party HQ. */

/* ---------- shared bits ---------- */
.sq .nose{position:absolute;left:45.5%;top:50%;width:9%;height:6%;border-radius:45% 45% 60% 60%/40% 40% 70% 70%;background:#e98aa6}
.sq .muzzle{position:absolute;left:31%;right:31%;top:47%;height:23%;border-radius:50% 50% 46% 46%;background:#fffaf2}
.sq .stripes{position:absolute;inset:0;pointer-events:none}
.sq.dog .mouth,.sq.tabby .mouth,.sq.smoky .mouth,.sq.tiger .mouth{top:56%}

/* ==========================================================================================
 * CANONICAL PALETTES: Mollie's fur family. Every drawing of them uses these exact colors:
 * this file (the invite's squishes), SQUAD in shared.js, the Tent Pass in fun.js, and the
 * Laser Cats game (PAL in games/space-cats-art.js). Change a color here, change it there too.
 *
 * ELLIE: an older, very fluffy, light cream-gold golden retriever (paler than a red golden)
 *   fur            #F1D7A6  light cream-gold (SQUAD.ellie.c)        highlights #FBEBCB
 *   fur shading    #DDB97E  (SQUAD.ellie.d)                          deep shade #C99A5C
 *   face + muzzle  #FFF4E0 -> #FFF9EF  almost cream-white
 *   ears           #E2B676 -> #C9965A  soft, feathered, floppy, a little deeper gold; feathering #BD8C50
 *   chest ruff     #FFF8EC  very fluffy cream, shading #F1DFC0
 *   nose           #3A2418  dark brown, shine #FFFFFF99
 *   mouth          #5A2C3E  big happy open-mouth smile, tongue #FF8FB1
 *   eyes           #2A1D1D  gentle, squinty-happy
 *   collar         #FFC3DC  pastel pink with lavender leopard spots #A98BE6 / #C9B2FF (rings #8B6AC9),
 *                  edge #F39CC2, gold tag #FFE394
 * SHADOW: a soft, solid blue-gray tabby (faint stripes), amber eyes, a round sleepy face
 *   fur #B4BED6 / shading #8C97B4, faint stripes #606A8A (about 40%), eyes #F2A93B (rim #C9821C),
 *   sleepy lids in fur color, nose #D994AA
 * DAISY: a gray tabby with darker stripes, white muzzle and chin, white chest bib, white paws, pink nose
 *   fur #B3B7C2 / shading #868C9B, stripes #5D6271, white #FBFBFF, nose #F39AB3, eyes #9FB4D0
 * ========================================================================================== */

/* ---------- Ellie ---------- */
.sq.dog .body{border-radius:50% 50% 46% 46%/54% 54% 46% 46%;background:radial-gradient(circle at 32% 26%,#ffffffaa 0 7%,transparent 8%),radial-gradient(ellipse 60% 50% at 40% 30%,#fbebcb 0 60%,transparent 62%),var(--c)}
/* long, soft, feathered floppy ears that hang down past the cheeks */
.sq.dog .ear{top:6%;width:27%;height:64%;border-radius:55% 45% 48% 52%/32% 32% 68% 68%;background:linear-gradient(180deg,#e2b676 0%,#c9965a 100%);
  box-shadow:inset calc(var(--s)*-.025) calc(var(--s)*-.03) 0 #bd8c50;z-index:1}
/* feathering: three soft tufts along the bottom of each ear */
.sq.dog .ear::after{content:"";position:absolute;left:4%;right:4%;bottom:-9%;height:24%;
  background:radial-gradient(circle at 18% 40%,#c9965a 0 30%,transparent 33%),radial-gradient(circle at 50% 55%,#bd8c50 0 32%,transparent 35%),radial-gradient(circle at 82% 40%,#c9965a 0 30%,transparent 33%)}
.sq.dog .ear.l{left:-9%;transform:rotate(14deg);transform-origin:75% 8%}
.sq.dog .ear.r{right:-9%;transform:rotate(-14deg);transform-origin:25% 8%}
.sq.dog .belly{display:none}
/* gentle, squinty-happy eyes: soft upturned arcs */
.sq.dog .eye{top:39%;height:6%;width:11%;background:none;border-radius:50% 50% 0 0/100% 100% 0 0;border:max(2px,calc(var(--s)*.03)) solid #2a1d1d;border-bottom:0}
.sq.dog .eye.l{left:29%} .sq.dog .eye.r{right:29%}
.sq.dog .eye::after{display:none}
/* the face and muzzle are almost cream-white */
.sq.dog .muzzle{left:24%;right:24%;top:41%;height:32%;border-radius:50% 50% 46% 46%;background:radial-gradient(ellipse at 50% 60%,#fff9ef 0 55%,#fff4e0 70%)}
.sq.dog .nose{left:41%;top:46%;width:18%;height:10%;background:#3a2418;border-radius:46% 46% 58% 58%/38% 38% 72% 72%;z-index:1}
.sq.dog .nose::after{content:"";position:absolute;left:24%;top:16%;width:26%;height:30%;border-radius:50%;background:#ffffff99}
/* big open-mouth smile with a pink tongue */
.sq.dog .mouth{left:39%;width:22%;height:13%;top:57%;border:0;border-radius:15% 15% 999px 999px;background:#5a2c3e;overflow:hidden}
.sq.dog .mouth::after{content:"";position:absolute;left:18%;right:18%;bottom:-18%;height:64%;border-radius:50%;background:#ff8fb1}
.sq.dog .blush{top:55%;background:#ff8f8f55}
/* very fluffy cream chest ruff, peeking out under the collar */
.sq.dog .fluff{position:absolute;left:16%;right:16%;bottom:-3%;height:30%;border-radius:50% 50% 45% 45%;
  background:radial-gradient(circle at 14% 34%,#fff8ec 0 24%,transparent 26%),radial-gradient(circle at 36% 20%,#ffffff 0 25%,transparent 27%),radial-gradient(circle at 64% 20%,#ffffff 0 25%,transparent 27%),radial-gradient(circle at 86% 34%,#fff8ec 0 24%,transparent 26%),radial-gradient(ellipse at 50% 72%,#fff8ec 0 56%,transparent 58%)}
/* pastel pink + lavender leopard-print collar with a little heart tag */
.sq.dog .collar{position:absolute;left:18%;right:18%;top:72%;height:9%;border-radius:0 0 50% 50%/0 0 100% 100%;
  background:radial-gradient(circle at 30% 45%,#a98be6 0 16%,transparent 18%) 0 0/calc(var(--s)*.09) calc(var(--s)*.07),
    radial-gradient(circle at 75% 70%,#c9b2ff 0 13%,transparent 15%) 0 0/calc(var(--s)*.09) calc(var(--s)*.07),#ffc3dc;
  box-shadow:inset 0 -2px 0 #f39cc2}
.sq.dog .collar::after{content:"";position:absolute;left:50%;top:70%;width:calc(var(--s)*.09);height:calc(var(--s)*.09);transform:translateX(-50%) rotate(45deg);
  background:#ffe394;border-radius:50% 50% 0 50%;box-shadow:0 0 4px #ffe39499}

/* ---------- cats: shared ears with a pink inside ---------- */
.sq.tabby .ear,.sq.smoky .ear{top:-10%;width:26%;height:30%;clip-path:polygon(50% 0,100% 100%,0 100%)}
.sq.tabby .ear::after,.sq.smoky .ear::after{content:"";position:absolute;left:28%;right:28%;top:34%;bottom:0;background:#ffc9d8;clip-path:polygon(50% 0,100% 100%,0 100%)}
.sq.tabby .ear.l,.sq.smoky .ear.l{left:10%;transform:rotate(-14deg)} .sq.tabby .ear.r,.sq.smoky .ear.r{right:10%;transform:rotate(14deg)}

/* Daisy-style ("bib"): gray tabby, darker stripes, white muzzle, chin, bib and paws, pink nose */
.sq.tabby .belly{display:none}
.sq.tabby .stripes{background:
  linear-gradient(90deg,transparent 0 38%,#5d6271 38% 43%,transparent 43% 47%,#5d6271 47% 53%,transparent 53% 57%,#5d6271 57% 62%,transparent 62%) 0 6%/100% 22% no-repeat;
  -webkit-mask:radial-gradient(ellipse 30% 22% at 50% 0,#000 60%,transparent 62%);mask:radial-gradient(ellipse 30% 22% at 50% 0,#000 60%,transparent 62%)}
.sq.tabby .stripes::before,.sq.tabby .stripes::after{content:"";position:absolute;top:38%;width:12%;height:18%;
  background:repeating-linear-gradient(180deg,#5d6271 0 2px,transparent 2px 6px);border-radius:3px;opacity:1}
.sq.tabby .stripes::before{left:3%} .sq.tabby .stripes::after{right:3%}
.sq.tabby .muzzle{top:46%;height:30%;left:27%;right:27%;background:#fbfbff;border-radius:50% 50% 46% 46%}
.sq.tabby .bib{position:absolute;left:29%;right:29%;bottom:3%;height:30%;border-radius:50% 50% 44% 44%/60% 60% 40% 40%;background:#fffaf2}
.sq.tabby .paws{position:absolute;left:20%;right:20%;bottom:-3%;height:12%}
.sq.tabby .paws::before,.sq.tabby .paws::after{content:"";position:absolute;bottom:0;width:26%;height:100%;border-radius:50% 50% 40% 40%;background:#fffaf2;box-shadow:inset 0 -2px 0 #e7e1d6}
.sq.tabby .paws::before{left:4%} .sq.tabby .paws::after{right:4%}
.sq.tabby .nose{top:50%;background:#f39ab3;z-index:1}
.sq.tabby .eye{background:radial-gradient(circle at 50% 55%,#26304a 0 34%,#9fb4d0 38%)}

/* Shadow-style ("solid"): soft, solid blue-gray, faint stripes, amber eyes, round sleepy face */
.sq.smoky .body{border-radius:50%}
.sq.smoky .stripes{opacity:.4;background:
  linear-gradient(90deg,transparent 0 42%,#606a8a 42% 46%,transparent 46% 48.5%,#606a8a 48.5% 51.5%,transparent 51.5% 54%,#606a8a 54% 58%,transparent 58%) 0 7%/100% 18% no-repeat;
  -webkit-mask:radial-gradient(ellipse 30% 22% at 50% 0,#000 60%,transparent 62%);mask:radial-gradient(ellipse 30% 22% at 50% 0,#000 60%,transparent 62%)}
.sq.smoky .eye{top:43%;height:9%;width:11%;background:radial-gradient(ellipse 30% 46% at 50% 55%,#2a1d3a 0 92%,transparent 100%),radial-gradient(circle at 50% 55%,#f2a93b 0 66%,#c9821c 70%)}
.sq.smoky .eye.l{left:30%} .sq.smoky .eye.r{right:30%}
/* sleepy upper lids in body color */
.sq.smoky .eye::before{content:"";position:absolute;left:-15%;right:-15%;top:-12%;height:44%;background:var(--c);border-radius:0 0 50% 50%}
.sq.smoky .eye::after{z-index:1;left:22%;top:38%;width:30%;height:30%}
.sq.smoky .nose{top:52%;width:8%;left:46%;background:#d994aa}
.sq.smoky .belly{background:#ffffff40}

/* ---------- Tiger: Mollie's big plush tiger as a squish ---------- */
.sq.tiger .ear{top:-6%;width:24%;height:26%;border-radius:50%;box-shadow:inset -3px -3px 0 var(--d)}
.sq.tiger .ear::after{content:"";position:absolute;inset:26%;border-radius:50%;background:#fff6ea}
.sq.tiger .ear.l{left:8%} .sq.tiger .ear.r{right:8%}
.sq.tiger .stripes{background:
  linear-gradient(90deg,transparent 0 41%,#7b3b22 41% 45%,transparent 45% 48%,#7b3b22 48% 52%,transparent 52% 55%,#7b3b22 55% 59%,transparent 59%) 0 6%/100% 20% no-repeat;
  -webkit-mask:radial-gradient(ellipse 30% 22% at 50% 0,#000 60%,transparent 62%);mask:radial-gradient(ellipse 30% 22% at 50% 0,#000 60%,transparent 62%)}
.sq.tiger .stripes::before,.sq.tiger .stripes::after{content:"";position:absolute;top:34%;width:14%;height:26%;background:repeating-linear-gradient(170deg,#7b3b22 0 3px,transparent 3px 8px);border-radius:4px;opacity:.85}
.sq.tiger .stripes::before{left:2%} .sq.tiger .stripes::after{right:2%;transform:scaleX(-1)}
.sq.tiger .belly{background:#fff6ea99}
.sq.tiger .nose{background:#f08aa5}

/* ---------- hero: one plain caption under the row ---------- */
.fur-note{margin:14px auto 0;max-width:32ch;color:var(--muted);font-size:15px;font-weight:700;line-height:1.4;text-wrap:balance}
.fur-note b{color:var(--ink)}

/* sleepy-cat easter egg (tap a kitty three times) */
.sq.napping .eye{height:3%;top:46%;border-radius:2px;background:#2a1d3a}
.sq.napping .eye::before,.sq.napping .eye::after{display:none}
.sq.napping .zz{display:block;opacity:1;animation:zz 2.2s ease-in-out infinite}
.sq.napping{animation:pet-breathe 2.4s ease-in-out infinite}
@keyframes pet-breathe{50%{transform:scale(1.04,.96) translateY(2px)}}

/* paw-print sparkle trail */
.pawp{position:fixed;z-index:60;pointer-events:none;width:18px;height:18px;margin:-9px 0 0 -9px;color:var(--pc,#ffaecf);filter:drop-shadow(0 0 4px currentColor);animation:pawp 1s ease-out forwards;animation-delay:var(--dl,0s);opacity:0}
.pawp svg{display:block;width:100%;height:100%;transform:rotate(var(--r,0deg))}
@keyframes pawp{0%{opacity:0;transform:scale(.4)}20%{opacity:1;transform:scale(1.1)}70%{opacity:.9}100%{opacity:0;transform:translateY(-10px) scale(.9)}}

/* Tent pass: the fur family peeks out of the tent */
.pass-peek{position:absolute;left:0;right:0;bottom:-2px;height:0;pointer-events:none}
.pass-peek .sq{position:absolute;bottom:0;--s:40px}
.pass-peek .sq:nth-child(1){left:-6px;transform:rotate(-8deg)}
.pass-peek .sq:nth-child(2){right:-8px;transform:rotate(8deg)}
.pass-peek .sq:nth-child(3){left:28px}
.fun-tent.play .pass-peek .sq{animation:peek-in .6s cubic-bezier(.3,1.6,.5,1) both;animation-delay:calc(2s + var(--i,0) * .18s)}
@keyframes peek-in{0%{transform:translateY(26px) scale(.6);opacity:0}100%{opacity:1}}
.pass-peek-note{font-size:13px;color:var(--muted);font-weight:700;margin-top:-4px}

@media (prefers-reduced-motion:reduce){
  .sq.napping{animation:none}
  .fun-tent.play .pass-peek .sq{animation:none}
  .pawp{animation-duration:.01s}
}

/* "Tap a squish!" fades once someone has squished one */
.sq-hint{transition:opacity .6s}
.sq-hint.done{opacity:.55}

/* Tent Pass: "Mollie turns 10!" ribbon in the corner */
/* A 45° sash whose middle sits 46px in from the corner, so the words never run off the card's edges
   (they were cut to "ollie turns 10"). Too tight on the smallest phones, where it steps aside. */
.pass .pass-ten{position:absolute;right:-44px;top:35px;z-index:2;width:180px;transform:rotate(45deg);padding:4px 0;text-align:center;white-space:nowrap;background:linear-gradient(90deg,#ffaecf,#ffe394);color:#3a1430;font-family:var(--display);font-weight:700;font-size:11.5px;letter-spacing:.04em;box-shadow:0 2px 8px #0005;pointer-events:none}
@media (max-width:360px){.pass .pass-ten{display:none}}

/* Small phones: keep "Tap a squish!", "Sounds on" and "Replay" on one line. */
@media (max-width:360px){.hero .sq-hint{margin-inline:1px}.hero .fun-mute,.hero .op-replay{margin-inline:1px;padding-inline:9px;gap:4px}}
