/* Slime Retail — shared styles. Fresh lime goo: glossy, gooey, drippy, high-contrast. */

:root {
  /* accent theme (slime drips + top bar) — DEFAULT PINK; picker swaps these live */
  --drip: #54cf00;
  --goo-hi: #c4ff85; --goo-mid: #82ef2c; --goo-dark: #3aa600;
  --bar1: #7be62e; --bar2: #54cf00; --bar3: #47b400; --bar-ink: #07350f;
  --bg: #e7ffdc;          /* fresh pale lime (the one you liked) */
  --bg-2: #f6ffe9;
  --ink: #0e3a1e;         /* deep swamp green */
  --muted: #38704a;
  --faint: #74a585;
  --line: rgba(14,58,30,0.14);
  --line-strong: rgba(14,58,30,0.24);
  --sun-1: #ddff3a;       /* acid highlight */
  --sun-2: #5fe000;       /* slime green */
  --sun-3: #00d48f;       /* teal ooze */
  --moon-1: #38e7cf;      /* mint */
  --moon-2: #b15cff;      /* purple goo */
  --pink: #ff2e9a;        /* hot bubblegum accent */
  --lime-ink: #1f8a08;    /* readable green for small accent text */
  --card: #ffffff;
  --cream: #f1ffd8;
  --drip: #54d400;
  --slime: #54cf00; /* themed via picker; lime default */
  --radius: 26px;
  --maxw: 1180px;
  --display: 'Fredoka', system-ui, sans-serif;
  --mega: 'Bagel Fat One', 'Fredoka', cursive;
  --body: 'Nunito', system-ui, sans-serif;
  --mono: 'Fredoka', system-ui, sans-serif;
}

/* ---- goo motion ---- */
@keyframes jiggle {
  0%,100% { transform: scale(1,1); }
  25% { transform: scale(1.07,0.93); }
  50% { transform: scale(0.95,1.05) rotate(-1deg); }
  75% { transform: scale(1.03,0.98); }
}
/* gentler wobble for when the pointer leaves a card */
@keyframes jiggleSoft {
  0%,100% { transform: scale(1,1); }
  35% { transform: scale(1.03,0.97); }
  68% { transform: scale(0.99,1.01); }
}
@keyframes blobMorph {
  0%,100% { border-radius: 47% 53% 60% 40% / 55% 45% 55% 45%; }
  33% { border-radius: 60% 40% 45% 55% / 45% 58% 42% 55%; }
  66% { border-radius: 42% 58% 52% 48% / 60% 42% 58% 40%; }
}
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-7px) rotate(3deg); } }
/* slime oozes down and recoils (goo necks stretch between bar + drip) */
@keyframes ooze {
  0%, 100% { transform: translateY(0) scaleY(1); }
  45% { transform: translateY(8px) scaleY(1.32); }
  72% { transform: translateY(2px) scaleY(0.95); }
}
/* a droplet pinches off the bottom and falls away */
@keyframes drop {
  0%, 58% { transform: translateY(0) scale(0.55); opacity: 0; }
  64% { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(62px) scale(0.5); opacity: 0; }
}
/* blobs bob on the pool surface and merge via the goo filter */
@keyframes poolBob {
  0%, 100% { transform: translateY(10px) scale(1); }
  50% { transform: translateY(-6px) scale(1.08); }
}

/* ---- base ---- */
.store-page * { box-sizing: border-box; }
.store-page {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.62; font-weight: 500;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100vh;
}
.store-page::before {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(48vw 48vw at 82% 8%, rgba(95,224,0,0.28), transparent 60%),
    radial-gradient(44vw 44vw at 10% 16%, rgba(56,231,207,0.26), transparent 62%),
    radial-gradient(42vw 42vw at 90% 80%, rgba(255,46,154,0.20), transparent 60%),
    radial-gradient(46vw 46vw at 26% 104%, rgba(177,92,255,0.14), transparent 62%),
    var(--bg);
}
.store-page::after {
  content: ""; position: fixed; z-index: -1; pointer-events: none;
  width: 320px; height: 320px; right: -90px; top: 20%;
  background: radial-gradient(circle at 35% 30%, #c6ff5a, #5fe000 58%, #2f9e00);
  border-radius: 47% 53% 60% 40% / 55% 45% 55% 45%;
  filter: blur(7px); opacity: 0.15;
  animation: blobMorph 16s ease-in-out infinite, bob 9s ease-in-out infinite;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.store-page a { color: inherit; text-decoration: none; }
::selection { background: var(--pink); color: #fff; }

/* ---- nav ---- */
.store-page header.nav {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, var(--bar1) 0%, var(--bar2) 58%, var(--bar3) 100%);
  border-bottom: 0;
  box-shadow: inset 0 2px 1px rgba(255,255,255,0.55), inset 0 -4px 9px rgba(30,110,10,0.3), 0 8px 20px -10px rgba(40,140,30,0.7);
}
/* slime is rendered by the .nav-slime goo element injected in the nav (see below) */
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 14px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--mega); font-weight: 400; letter-spacing: 0.3px; font-size: clamp(30px, 3.6vw, 38px); line-height: 1; color: #ffffff; text-shadow: 0 2px 7px rgba(20,80,20,0.4); }
.brand .glyph { display: none; }
.brand b { color: #ffffff; -webkit-text-fill-color: #ffffff; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 700; color: rgba(255,255,255,0.96); }
.nav-links a:hover { color: #08350f; }

/* ---- gooey slime (needs the #goo SVG filter present on the page) ----
   The bar + drip blobs share one goo filter, so they merge into a single connected
   slime mass; falling droplets stretch a goo neck then pinch off — like real dripping. */
.nav-slime, .slime-pool { pointer-events: none; filter: url(#goo); }
/* liquid slime canvas: blur+contrast merges the drawn blobs into goo; multiply drops the white */
.slime-canvas { position: fixed; top: 0; left: 0; width: 100vw; height: 72vh; min-height: 460px;
  display: block; z-index: -1; pointer-events: none; filter: url(#goo); }
.nav-slime { position: absolute; left: 0; right: 0; bottom: -82px; height: 102px; z-index: 5; }
.nav-slime .bar { position: absolute; left: -2%; right: -2%; top: 10px; height: 20px;
  background: linear-gradient(180deg, var(--goo-hi) 0%, var(--goo-mid) 18%, var(--slime) 62%, var(--goo-dark)); }
.nav-slime i {
  position: absolute; left: var(--x); top: 16px; width: var(--w, 22px); height: var(--h, 30px);
  background: linear-gradient(180deg, var(--goo-hi) 0%, var(--goo-mid) 24%, var(--slime) 64%, var(--goo-dark)); transform-origin: top center;
  border-radius: var(--r, 48% 52% 50% 50% / 28% 28% 72% 72%);
  animation: ooze var(--t, 4.4s) ease-in-out var(--d, 0s) infinite;
}
.nav-slime i::after { /* the droplet that drips off and falls */
  content: ""; position: absolute; left: 50%; bottom: 3px; width: calc(var(--w, 22px) * 0.72); height: calc(var(--w, 22px) * 0.72);
  margin-left: calc(var(--w, 22px) * -0.36); border-radius: 50%; opacity: 0;
  background: linear-gradient(180deg, var(--goo-hi) 0%, var(--goo-mid) 26%, var(--slime) 66%, var(--goo-dark));
  animation: drop var(--t, 4.4s) ease-in var(--d, 0s) infinite;
}
/* a pool of slime collecting at the bottom of the page */
.slime-pool { position: relative; height: 84px; margin-top: 30px; }
.slime-pool .pool { position: absolute; left: -3%; right: -3%; bottom: 0; height: 46px;
  background: linear-gradient(180deg, var(--goo-hi) 0%, var(--goo-mid) 20%, var(--slime) 58%, var(--goo-dark)); }
.slime-pool b {
  position: absolute; bottom: 32px; left: var(--x); width: var(--w, 44px); height: var(--h, 38px);
  background: linear-gradient(180deg, var(--goo-hi) 0%, var(--goo-mid) 24%, var(--slime) 64%, var(--goo-dark));
  border-radius: 50% 50% 46% 54% / 62% 62% 38% 38%;
  animation: poolBob var(--t, 5.4s) ease-in-out var(--d, 0s) infinite;
}

/* ---- jelly buttons ---- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display); font-weight: 600; font-size: 15.5px;
  padding: 13px 22px; border-radius: 999px; cursor: pointer; border: 0; white-space: nowrap;
  transition: transform .18s cubic-bezier(.3,1.4,.5,1), box-shadow .25s ease, filter .2s ease;
}
.btn::before { content: ""; position: absolute; top: 14%; left: 14%; right: 34%; height: 32%;
  background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0)); border-radius: 50%; filter: blur(1px); pointer-events: none; }
.btn-primary {
  color: #08280f;
  background: linear-gradient(180deg, var(--sun-1), var(--sun-2) 55%, #4fc400);
  box-shadow: 0 12px 22px -8px rgba(60,200,0,0.65), inset 0 2px 1px rgba(255,255,255,0.85), inset 0 -7px 12px -4px rgba(0,90,40,0.45);
}
.btn-primary:hover { animation: jiggle .55s ease; filter: brightness(1.05) saturate(1.08); }
.btn-ghost {
  color: var(--ink); background: rgba(255,255,255,0.9);
  box-shadow: inset 0 0 0 2px var(--pink), 0 8px 16px -8px rgba(255,46,154,0.5), inset 0 2px 1px rgba(255,255,255,0.9);
}
.btn-ghost:hover { animation: jiggle .55s ease; background: #fff; color: var(--pink); }
.btn-sm { padding: 10px 17px; font-size: 14.5px; }
.btn:disabled { opacity: .5; cursor: not-allowed; animation: none; filter: grayscale(.3); }
.btn:disabled::before { opacity: .4; }

/* the same glossy pill highlight on every other button */
.shop-chip, .shop-subchip, #shop-more, .cart-btn, .cart-line .qty button { position: relative; }
.shop-chip::before, .shop-subchip::before, #shop-more::before, .cart-btn::before,
.cart-line .qty button::before, [data-pd-close]::before {
  content: ""; position: absolute; top: 14%; left: 14%; right: 34%; height: 32%;
  background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0));
  border-radius: 50%; filter: blur(1px); pointer-events: none;
}
/* Buttons that carry a flat inline accent color (product cards, add-to-cart, game/quiz/clip CTAs,
   load-more) get a top-lit gloss layered OVER that color — !important beats the inline shorthand's
   background-image:none while the inline background-color still shows through. */
.btn[style*="background"], #shop-more {
  background-image: linear-gradient(180deg, rgba(255,255,255,.42), rgba(255,255,255,.12) 42%, rgba(0,70,20,.18) 100%) !important;
}
/* small white utility pills (fun-kit bar/tools, quiz answers, sound toggle) — soft gloss */
.pd-play-btn, .pd-tool, .pd-emo, .qz-a, .sfx-btn {
  background-image: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,0) 58%, rgba(14,58,30,.06) 100%);
}
.pd-play-btn, .pd-tool, .pd-emo, .qz-a { box-shadow: 0 4px 10px -5px rgba(14,58,30,.35), inset 0 1px 1px rgba(255,255,255,.9); }

/* ---- cart button + badge ---- */
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: rgba(255,255,255,0.9); box-shadow: inset 0 0 0 2px var(--ink), inset 0 2px 1px rgba(255,255,255,0.9);
  color: var(--ink); border: 0; border-radius: 999px; padding: 10px 16px; font-family: var(--display); font-weight: 700; font-size: 14.5px; }
.cart-btn:hover { background: #fff; box-shadow: inset 0 0 0 2px var(--pink); color: var(--pink); }
.cart-btn .count {
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; font-family: var(--display); font-size: 11.5px;
  display: inline-grid; place-items: center; color: #fff; background: var(--pink); font-weight: 700;
  box-shadow: 0 2px 6px rgba(255,46,154,0.6), inset 0 1px 1px rgba(255,255,255,0.6);
}
.cart-btn .count[data-empty="true"] { display: none; }

/* ---- page header ---- */
.shop-head { padding: clamp(40px, 6vw, 72px) 0 18px; }
.sec-tag { font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--pink); margin: 0 0 14px; }
.shop-head h1 { font-family: var(--mega); font-weight: 400; font-size: clamp(34px, 5vw, 58px); line-height: 1; margin: 0 0 16px; color: var(--ink); }
.shop-head .lead { color: var(--muted); font-size: 18px; max-width: 60ch; }

/* ---- product grid (poppy gooey cards) ---- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 30px 0 60px; }
.card {
  border: 0; border-radius: var(--radius); overflow: hidden; background: var(--card);
  display: flex; flex-direction: column;   /* lets .body{flex:1} + .row{margin-top:auto} pin the price+button to the bottom so they line up across cards */
  box-shadow: 0 18px 34px -16px rgba(14,58,30,0.45), 0 8px 26px -10px rgba(255,46,154,0.32), inset 0 0 0 2px rgba(255,120,180,0.32);
  transition: transform .2s cubic-bezier(.3,1.4,.5,1), box-shadow .2s ease;
}
.card:hover { box-shadow: 0 26px 44px -16px rgba(14,58,30,0.5), inset 0 0 0 3px var(--pink); }
.card.jiggle-in, .shop-chip.jiggle-in { animation: jiggle .5s ease; }
.card.jiggle-out, .shop-chip.jiggle-out { animation: jiggleSoft .45s ease; }

/* add-to-cart + detail-open effects */
@keyframes cartPop { 0%{transform:scale(1)} 45%{transform:scale(1.55)} 100%{transform:scale(1)} }
@keyframes pdIn { from { opacity:0; transform:translate(-50%,-50%) scale(.9); } to { opacity:1; transform:translate(-50%,-50%) scale(1); } }
@keyframes pdFade { from { opacity:0; } to { opacity:1; } }
.squish-toast { position:fixed; left:50%; bottom:30px; transform:translateX(-50%) translateY(22px); background:linear-gradient(180deg,var(--sun-1),var(--sun-2)); color:#06320f; font-family:var(--display); font-weight:800; font-size:15px; padding:12px 24px; border-radius:999px; box-shadow:0 14px 32px -8px rgba(40,140,30,.6), inset 0 2px 1px rgba(255,255,255,.7); z-index:300; opacity:0; transition:opacity .3s ease, transform .35s cubic-bezier(.3,1.6,.5,1); pointer-events:none; }
.squish-toast.show { opacity:1; transform:translateX(-50%) translateY(0); }

/* size/option pills in the product detail */
.opt-pills { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 12px; }
.opt-pill { font:inherit; font-weight:700; font-size:13.5px; cursor:pointer; padding:8px 13px; border-radius:12px; background:var(--cream,#f1ffd8); color:var(--ink,#0e3a1e); border:2px solid rgba(14,58,30,.16); display:inline-flex; align-items:center; gap:7px; transition:transform .12s ease, border-color .12s ease, background .12s ease; }
.opt-pill:hover { transform:translateY(-1px); border-color:var(--sun-2,#5fe000); }
.opt-pill.on { background:var(--sun-1,#ddff3a); border-color:var(--sun-2,#5fe000); box-shadow:0 5px 14px -5px rgba(95,224,0,.55); }
.opt-pill .opt-price { font-style:normal; font-weight:800; color:var(--pink,#ff2e9a); }
.opt-pill.on .opt-price { color:#06320f; }
.opt-note { font-size:12.5px; color:var(--muted,#38704a); margin:-2px 0 16px; line-height:1.4; }
/* size tag shown on the detail photo so each size is visually distinct (suppliers ship one photo per item) */
.pd-size-badge { position:absolute; top:14px; left:14px; z-index:2; display:inline-flex; align-items:center; gap:5px; background:var(--ink,#0e3a1e); color:#fff; font-family:var(--display,sans-serif); font-weight:800; font-size:15px; padding:6px 13px; border-radius:999px; box-shadow:0 6px 16px -6px rgba(14,58,30,.55); pointer-events:none; }
.pd-size-badge::before { content:'📏'; font-size:14px; }
/* compact size-range tag under the card title (kept off the photo so the images stay clean) */
.card .szt { font-size:11.5px; font-weight:700; color:var(--muted,#38704a); margin:-2px 0 7px; letter-spacing:.01em; }
/* Slime Retail text wordmark — "Slime" + a deliberately distinct boxed R (reads "Slime R") */
.brand .wordmark { font-family: var(--display), sans-serif; font-weight: 800; font-size: 36px; line-height: 1; color: var(--ink); letter-spacing: .5px; display: inline-flex; align-items: center; text-shadow: 0 2px 4px rgba(20,80,20,.18); }
.brand .wordmark b { display: inline-block; margin-left: 5px; padding: 2px 9px 4px; background: #ec2a8f; color: #fff; border-radius: 10px; transform: rotate(-6deg); box-shadow: 0 2px 0 rgba(20,80,20,.28); font-weight: 800; }
.footer .brand .wordmark, footer .brand .wordmark { font-size: 27px; }

/* ---- content cards: recipes / tips / internal ads woven into the product grid ---- */
.card.cc { position: relative; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px 20px 26px; min-height: 212px; background: linear-gradient(158deg, #ffffff, #eefee0); border: 2px dashed rgba(14,58,30,.16); box-shadow: 0 10px 26px -16px rgba(40,140,30,.5); transition: transform .18s cubic-bezier(.3,1.4,.5,1), box-shadow .18s ease; }
.card.cc:hover { transform: translateY(-5px) rotate(-.7deg); box-shadow: 0 20px 36px -16px rgba(40,140,30,.62); }
.card.cc .cc-badge { position: absolute; top: 12px; left: 12px; font-family: var(--display); font-weight: 800; font-size: 10.5px; letter-spacing: .5px; text-transform: uppercase; color: #06320f; background: var(--cc-accent, #7bdc00); border-radius: 999px; padding: 4px 10px; box-shadow: 0 3px 9px -3px var(--cc-accent, #7bdc00); }
.card.cc .cc-emoji { font-size: 52px; line-height: 1; margin: 14px 0 10px; filter: drop-shadow(0 6px 8px rgba(40,140,30,.28)); animation: ccFloat 5.5s ease-in-out infinite; }
@keyframes ccFloat { 0%,100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-9px) rotate(5deg); } }
.card.cc h3 { font-family: var(--mega); font-weight: 400; font-size: 21px; line-height: 1.04; margin: 0 0 7px; color: var(--ink); }
.card.cc .cc-tag { color: var(--muted); font-size: 13px; line-height: 1.42; margin: 0 0 14px; max-width: 25ch; }
.card.cc .cc-cta { font-family: var(--display); font-weight: 800; font-size: 13.5px; color: var(--lime-ink, #1f8a08); }
/* content modal body (recipe / tip), rendered inside the shared #pd-modal shell */
.cc-modal-body { padding: 32px 32px 34px; }
.cc-modal-body .cc-modal-emoji { font-size: 60px; line-height: 1; text-align: center; filter: drop-shadow(0 8px 10px rgba(40,140,30,.28)); }
.cc-modal-body .cc-modal-kicker { display: block; text-align: center; font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--pink); margin: 10px 0 4px; }
.cc-modal-body h2 { font-family: var(--mega); font-weight: 400; font-size: clamp(26px, 4vw, 34px); text-align: center; margin: 0 0 10px; color: var(--ink); }
.cc-modal-body .cc-modal-tag { text-align: center; color: var(--muted); font-size: 15.5px; line-height: 1.55; max-width: 54ch; margin: 0 auto 6px; }
.cc-modal-body h4 { font-family: var(--display); font-weight: 800; font-size: 12.5px; letter-spacing: .6px; text-transform: uppercase; color: var(--lime-ink); margin: 24px 0 10px; }
.cc-modal-body .cc-list, .cc-modal-body .cc-steps { margin: 0; padding-left: 26px; color: var(--ink); }
.cc-modal-body .cc-list li, .cc-modal-body .cc-steps li { margin: 0 0 9px; line-height: 1.5; font-size: 15px; }
.cc-modal-body .cc-list { list-style: none; padding-left: 4px; }
.cc-modal-body .cc-list li::before { content: '🫧'; margin-right: 9px; }
.cc-modal-body .cc-note { margin: 22px 0 0; padding: 13px 16px; background: rgba(95,224,0,.12); border-radius: 14px; font-size: 13.5px; line-height: 1.5; color: var(--lime-ink); }
/* Squish Frenzy mini-game (content card type "game") */
.cc-game { padding: 28px 26px 30px; text-align: center; }
.cc-game .cc-modal-emoji { font-size: 54px; text-align: center; }
.cc-game-sub { color: var(--muted); font-size: 14.5px; line-height: 1.5; max-width: 46ch; margin: 6px auto 14px; }
.cc-game-sub b { color: var(--ink); }
.cc-game-hud { display: flex; justify-content: space-between; align-items: center; font-family: var(--display); font-weight: 800; font-size: 16px; color: var(--ink); background: rgba(95,224,0,.15); border-radius: 12px; padding: 9px 16px; margin: 0 auto 12px; max-width: 420px; }
.cc-game-field { position: relative; width: 100%; max-width: 420px; height: 320px; margin: 0 auto; border-radius: 18px; overflow: hidden; background: radial-gradient(120% 120% at 50% 0%, rgba(123,220,0,.3), rgba(95,224,0,.1) 60%, #eafce0); border: 2px solid rgba(95,224,0,.4); box-shadow: inset 0 2px 12px rgba(40,140,30,.15); touch-action: manipulation; }
.cg-blob { position: absolute; width: 48px; height: 48px; font-size: 34px; line-height: 1; display: grid; place-items: center; background: none; border: 0; padding: 0; cursor: pointer; user-select: none; -webkit-user-select: none; animation: cgPop .18s cubic-bezier(.2,1.5,.4,1); filter: drop-shadow(0 4px 5px rgba(40,140,30,.32)); }
.cg-blob:hover { transform: scale(1.12); }
.cg-blob.pop { animation: cgSquish .16s ease forwards; pointer-events: none; }
@keyframes cgPop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes cgSquish { to { transform: scale(1.9); opacity: 0; } }
.cc-game #cg-start { max-width: 420px; margin-left: auto; margin-right: auto; }
/* Squishy Standup joke-cycler (content card type "standup") */
.cc-standup { text-align: center; }
.cc-joke { font-family: var(--display); font-weight: 600; font-size: clamp(18px, 2.6vw, 23px); line-height: 1.42; color: var(--ink); max-width: 40ch; margin: 10px auto 20px; min-height: 3.4em; display: flex; align-items: center; justify-content: center; }
@keyframes ccJoke { from { opacity: 0; transform: translateY(9px) rotate(-1.2deg); } to { opacity: 1; transform: none; } }
/* ---- engagement v2: sounds toggle, game juice, elaborate toys, oracle/quiz/trivia, product fun kit ---- */
.sfx-btn { border: 0; background: rgba(255,255,255,.55); border-radius: 999px; width: 30px; height: 30px; font-size: 15px; line-height: 1; cursor: pointer; box-shadow: inset 0 0 0 1.5px rgba(14,58,30,.14); }
.sfx-btn:hover { background: #fff; }
/* Squish Frenzy v2 */
.cc-game-hud { gap: 8px; flex-wrap: wrap; }
.cg-combo { background: var(--pink, #ff3ea5); color: #fff; border-radius: 999px; padding: 2px 11px; font-size: 13.5px; animation: cgPop .18s cubic-bezier(.2,1.5,.4,1); }
.cg-best { font-size: 12.5px; opacity: .65; }
.cg-newbest { color: var(--pink, #ff3ea5); }
.cg-blob.cg-gold { font-size: 40px; filter: drop-shadow(0 0 10px rgba(255,199,55,.9)); animation: cgPop .18s cubic-bezier(.2,1.5,.4,1), cgGoldSpin 1s linear infinite; }
@keyframes cgGoldSpin { 50% { transform: scale(1.12) rotate(12deg); } }
.cg-blob.cg-bomb { filter: drop-shadow(0 0 8px rgba(255,60,60,.75)); }
.cc-game-field { position: relative; }
.cc-game-field.shake { animation: cgShake .3s ease; }
@keyframes cgShake { 25% { transform: translateX(-7px) rotate(-.6deg); } 50% { transform: translateX(6px); } 75% { transform: translateX(-4px) rotate(.5deg); } }
.cg-float { position: absolute; z-index: 6; pointer-events: none; font-family: var(--display); font-weight: 800; font-size: 19px; color: var(--lime-ink, #1f8a08); animation: cgFloat .72s ease-out forwards; text-shadow: 0 1px 0 #fff; }
.cg-float.bad { color: #e02c2c; }
.cg-float.gold { color: #d98f00; font-size: 23px; }
.cg-float.combo { color: var(--pink, #ff3ea5); font-size: 15px; }
@keyframes cgFloat { to { transform: translateY(-36px); opacity: 0; } }
.cg-confetti { position: absolute; z-index: 7; pointer-events: none; font-size: 19px; animation: cgConf 1.15s ease-in forwards; }
@keyframes cgConf { to { transform: translate(var(--dx, 0), var(--dy, 90px)) rotate(200deg); opacity: 0; } }
/* toys shared */
.toy-stat { display: flex; justify-content: center; align-items: center; gap: 14px; font-family: var(--display); font-weight: 800; font-size: 14.5px; color: var(--ink); background: rgba(95,224,0,.14); border-radius: 12px; padding: 8px 14px; margin: 0 auto 12px; max-width: 420px; }
.popit-wrap { position: relative; }
.popit-grid { touch-action: none; user-select: none; -webkit-user-select: none; }
.blob-stage { position: relative; }
.goo-bit { position: absolute; z-index: 6; pointer-events: none; font-size: 17px; transform: translate(-50%, -50%); animation: gooFly .8s ease-out forwards; }
@keyframes gooFly { to { transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, -60px))) scale(.35) rotate(40deg); opacity: 0; } }
/* bubble wrap variant of the pop board */
.popit-grid.wrap-grid { grid-template-columns: repeat(8, 1fr); gap: 7px; max-width: 400px; background: linear-gradient(160deg, #eef7ff, #dceeff); box-shadow: inset 0 2px 10px rgba(40,90,140,.18); }
.pop-bubble.wrap-bubble { background: radial-gradient(circle at 36% 30%, rgba(255,255,255,.95), rgba(190,220,245,.75) 60%, rgba(150,190,225,.8)); box-shadow: inset 0 -2px 4px rgba(60,110,160,.3), inset 0 2px 3px rgba(255,255,255,.9), 0 2px 4px -1px rgba(60,110,160,.35); }
.pop-bubble.wrap-bubble.popped { background: radial-gradient(circle at 50% 58%, rgba(170,200,228,.5), rgba(205,228,248,.65)); box-shadow: inset 0 3px 6px rgba(60,110,160,.38); animation: popSquish .18s ease; }
/* draggable jelly blob */
.jelly-blob { touch-action: none; }
.jelly-blob.grab { animation: none; cursor: grabbing; transition: none; }
.jelly-blob.rebound { transition: transform .55s cubic-bezier(.2,2.4,.4,.9); }
/* slime smear canvas */
.smear-wrap { max-width: 420px; margin: 4px auto; border-radius: 18px; overflow: hidden; background: linear-gradient(165deg, #f3fff0, #e2f8ff); border: 2px solid rgba(95,224,0,.35); box-shadow: inset 0 2px 10px rgba(40,140,30,.12); }
.smear-wrap canvas { display: block; width: 100%; height: 280px; cursor: crosshair; touch-action: none; }
/* fidget spinner */
.spin-zone { display: grid; place-items: center; height: 260px; margin: 2px auto 4px; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.spin-zone:active { cursor: grabbing; }
.spinner { position: relative; width: 178px; height: 178px; will-change: transform; }
.spinner i { position: absolute; width: 62px; height: 62px; border-radius: 50%; left: 58px; top: 58px;
  background: radial-gradient(circle at 36% 30%, #b6ff6a, #54cf00 62%, #3aa600);
  box-shadow: inset 0 -4px 7px rgba(30,110,10,.4), inset 0 4px 5px rgba(255,255,255,.55), 0 6px 12px -5px rgba(40,140,30,.55); }
.spinner i:nth-child(1) { transform: translateY(-58px); }
.spinner i:nth-child(2) { transform: translate(50px, 29px); }
.spinner i:nth-child(3) { transform: translate(-50px, 29px); }
.spinner b { position: absolute; left: 63px; top: 63px; width: 52px; height: 52px; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #ffffff, #ffd23e 55%, #e8a800);
  box-shadow: inset 0 -3px 6px rgba(160,110,0,.45), inset 0 3px 4px rgba(255,255,255,.9), 0 4px 10px -4px rgba(160,110,0,.5); }
/* slime oracle */
.cc-oracle { text-align: center; }
.oracle-orb { background: radial-gradient(circle at 40% 30%, #d9c2ff, #a97bff 58%, #7a3fe0); font-size: 52px;
  box-shadow: inset 0 -9px 15px rgba(70,20,140,.45), inset 0 9px 11px rgba(255,255,255,.5), 0 16px 26px -10px rgba(90,40,170,.6); }
.oracle-orb.thinking { animation: orbStir .9s ease-in-out; }
@keyframes orbStir { 0%,100% { transform: none; filter: none; } 25% { transform: scale(1.08, .9) rotate(-5deg); filter: hue-rotate(30deg) brightness(1.12); } 60% { transform: scale(.92, 1.1) rotate(5deg); filter: hue-rotate(-25deg); } 85% { transform: scale(1.05); } }
.or-text { font-family: var(--display); font-weight: 600; font-size: clamp(17px, 2.4vw, 21px); line-height: 1.45; color: var(--ink); max-width: 38ch; margin: 16px auto 8px; min-height: 3em; }
.or-text.dim { opacity: .45; font-style: italic; }
/* quiz + trivia */
.cc-quiz { text-align: center; }
.qz-prog { font-family: var(--mono, monospace); font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--faint, #7aa88a); margin: 4px 0 10px; }
.qz-q, .tv-claim { font-family: var(--display); font-weight: 700; font-size: clamp(17px, 2.5vw, 21px); line-height: 1.4; color: var(--ink); max-width: 42ch; margin: 0 auto 16px; }
.qz-a { display: block; width: 100%; max-width: 440px; margin: 9px auto; padding: 13px 18px; border: 2px solid rgba(95,224,0,.4); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-weight: 700; font-size: 14.5px; cursor: pointer; transition: transform .12s ease, background .12s ease; }
.qz-a:hover { background: rgba(95,224,0,.14); transform: scale(1.02); }
.qz-result { position: relative; }
.qz-remoji { font-size: 56px; margin: 6px 0 2px; animation: cgPop .3s cubic-bezier(.2,1.5,.4,1); }
.qz-result h3 { font-family: var(--display); font-weight: 800; font-size: 24px; margin: 4px 0 8px; color: var(--ink); }
.qz-result p { color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 46ch; margin: 0 auto 16px; }
.qz-retake { display: block; margin: 12px auto 0; background: none; border: 0; color: var(--faint, #7aa88a); font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; text-decoration: underline; }
.tv-btns { display: flex; gap: 12px; justify-content: center; margin: 4px 0 14px; }
.tv-b { flex: 1; max-width: 200px; padding: 14px 10px; border: 0; border-radius: 999px; font: inherit; font-weight: 800; font-size: 16px; cursor: pointer; color: #fff; transition: transform .12s ease, opacity .12s ease; position: relative; }
.tv-b::before { content: ""; position: absolute; top: 12%; left: 14%; right: 34%; height: 30%; background: linear-gradient(rgba(255,255,255,.85), rgba(255,255,255,0)); border-radius: 50%; filter: blur(1px); pointer-events: none; }
.tv-b[data-v="1"] { background: linear-gradient(180deg, #7be62e, #46b400); box-shadow: 0 8px 16px -7px rgba(70,180,0,.7), inset 0 2px 1px rgba(255,255,255,.5); }
.tv-b[data-v="0"] { background: linear-gradient(180deg, #c79bff, #8a4fe8); box-shadow: 0 8px 16px -7px rgba(138,79,232,.7), inset 0 2px 1px rgba(255,255,255,.5); }
.tv-b:hover { transform: scale(1.04); }
.tv-b:disabled { opacity: .45; transform: none; cursor: default; }
.tv-b:disabled.picked { opacity: 1; outline: 3px solid var(--ink); }
.tv-why { max-width: 46ch; margin: 4px auto 14px; padding: 13px 16px; border-radius: 14px; font-size: 14px; line-height: 1.55; text-align: left; }
.tv-why.ok { background: rgba(95,224,0,.15); color: var(--lime-ink, #1f8a08); }
.tv-why.no { background: rgba(255,62,80,.12); color: #b02030; }
/* product fun kit (detail modal) */
.pd-stage { position: relative; width: 100%; margin: auto; }
.pd-doodle, .pd-stickers { position: absolute; inset: 0; pointer-events: none; }
.pd-doodle { z-index: 2; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
.pd-stickers { z-index: 3; cursor: copy; }
.pd-sticker { position: absolute; z-index: 3; font-size: 32px; line-height: 1; transform: translate(-50%, -50%) rotate(var(--rot, 0deg)); cursor: pointer; user-select: none; -webkit-user-select: none; animation: cgPop .22s cubic-bezier(.2,1.6,.4,1); filter: drop-shadow(0 2px 5px rgba(14,58,30,.35)); }
.pd-stage.squishy { cursor: pointer; }
.pd-play { display: flex; gap: 7px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
.pd-play-btn { border: 2px solid rgba(95,224,0,.45); background: #fff; color: var(--ink); border-radius: 999px; padding: 7px 13px; font: inherit; font-weight: 800; font-size: 12.5px; cursor: pointer; transition: transform .12s ease, background .12s ease; }
.pd-play-btn:hover { transform: scale(1.05); }
.pd-play-btn.on { background: var(--sun-2, #5fe000); color: #06320f; box-shadow: inset 0 2px 1px rgba(255,255,255,.55), 0 6px 12px -6px rgba(70,180,0,.8); }
.pd-funtools { display: flex; gap: 7px; flex-wrap: wrap; justify-content: center; align-items: center; margin-top: 10px; }
.pd-dot { width: 26px; height: 26px; border-radius: 50%; border: 2.5px solid #fff; box-shadow: 0 0 0 1.5px rgba(14,58,30,.25), 0 2px 5px rgba(14,58,30,.25); cursor: pointer; padding: 0; }
.pd-dot.on { outline: 3px solid var(--pink, #ff3ea5); }
.pd-tool, .pd-emo { border: 1.5px solid rgba(14,58,30,.2); background: #fff; border-radius: 999px; padding: 5px 11px; font: inherit; font-weight: 700; font-size: 12px; cursor: pointer; }
.pd-emo { font-size: 17px; padding: 4px 8px; }
.pd-tool.on, .pd-emo.on { background: var(--sun-1, #ddff3a); border-color: rgba(14,58,30,.4); }
.pd-funhint { text-align: center; font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--lime-ink, #1f8a08); margin: 9px 0 0; min-height: 1.2em; }
/* dance moves for the product photo */
.pd-d-bounce { animation: pdBounce .8s ease-in-out infinite; }
@keyframes pdBounce { 0%,100% { transform: translateY(0); } 40% { transform: translateY(-26px) scale(1.02, .98); } 55% { transform: translateY(2px) scale(.98, 1.02); } }
.pd-d-wiggle { animation: pdWiggle .7s ease-in-out infinite; }
@keyframes pdWiggle { 0%,100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
.pd-d-spin { animation: pdSpin 1.6s cubic-bezier(.5,.1,.4,.9) infinite; }
@keyframes pdSpin { to { transform: rotate(360deg); } }
.pd-d-jelly { animation: pdJelly 1s ease-in-out infinite; }
@keyframes pdJelly { 0%,100% { transform: scale(1, 1); } 25% { transform: scale(1.06, .92); } 50% { transform: scale(.94, 1.07); } 75% { transform: scale(1.04, .96); } }
.pd-d-party { animation: pdParty .9s ease-in-out infinite; }
@keyframes pdParty { 0%,100% { transform: rotate(-6deg) scale(1); filter: hue-rotate(0deg) saturate(1.3); } 25% { transform: rotate(5deg) scale(1.05) translateY(-10px); filter: hue-rotate(90deg) saturate(1.6); } 50% { transform: rotate(-4deg) scale(.97); filter: hue-rotate(200deg) saturate(1.5); } 75% { transform: rotate(6deg) scale(1.04) translateY(-6px); filter: hue-rotate(300deg) saturate(1.6); } }
.pd-squish { animation: pdSquishy .5s cubic-bezier(.2,1.6,.4,1); transform-origin: 50% 100%; }
@keyframes pdSquishy { 0% { transform: scale(1.18, .62); } 45% { transform: scale(.9, 1.14); } 75% { transform: scale(1.05, .95); } 100% { transform: none; } }
/* ---- pd-fit: the product detail modal sized to the viewport — no outer scrolling ----
   Image area flexes, title clamps, desc/specs live in a bounded middle region that only
   scrolls internally when long (with a fade hint), buy button always visible. */
#pd-modal.pd-fit { overflow: hidden; height: min(680px, 92vh); }
@supports (height: 1svh) { #pd-modal.pd-fit { height: min(680px, 92svh); } }
.pd-grid { display: grid; height: 100%; grid-template-rows: minmax(0, 42%) minmax(0, 1fr); }
.pd-grid.two { grid-template-columns: 1fr 1fr; grid-template-rows: 100%; }
.pd-media { position: relative; min-height: 0; background: linear-gradient(155deg, #eaffd1, #cdf6ff); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px 16px 10px; }
#pd-modal.pd-fit .pd-stage { flex: 1 1 auto; min-height: 0; width: 100%; max-width: 440px; display: flex; align-items: center; justify-content: center; }
#pd-modal.pd-fit #pd-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; border-radius: 6px; }
.pd-thumbs { flex: none; display: flex; gap: 8px; overflow-x: auto; max-width: 100%; padding: 10px 2px 2px; scrollbar-width: thin; }
.pd-thumbs .pd-th { flex: none; width: 46px; height: 46px; object-fit: cover; border-radius: 7px; cursor: pointer; border: 2px solid rgba(0,0,0,.12); background: #fff; }
.pd-thumbs .pd-th:first-child { margin-left: auto; }
.pd-thumbs .pd-th:last-child { margin-right: auto; }
#pd-modal.pd-fit .pd-play { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; margin-top: 8px; padding: 2px; scrollbar-width: none; }
#pd-modal.pd-fit .pd-play::-webkit-scrollbar { display: none; }
#pd-modal.pd-fit .pd-play-btn { flex: none; white-space: nowrap; }
#pd-modal.pd-fit .pd-funtools { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; margin-top: 8px; scrollbar-width: none; }
#pd-modal.pd-fit .pd-funtools::-webkit-scrollbar { display: none; }
#pd-modal.pd-fit .pd-funtools > * { flex: none; }
#pd-modal.pd-fit .pd-funhint { margin: 6px 0 0; }
.pd-info { display: flex; flex-direction: column; min-height: 0; padding: 24px 26px 20px; }
.pd-cat { align-self: flex-start; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; font-weight: 800; color: #06320f; background: var(--sun-1, #ddff3a); padding: 4px 12px; border-radius: 999px; margin: 0 0 10px; }
.pd-name { font-family: var(--display, sans-serif); font-weight: 600; margin: 0 0 8px; font-size: clamp(19px, 2.2vw, 26px); line-height: 1.14; color: var(--ink, #0e3a1e); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pd-pricerow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 10px; }
.pd-pricerow #pd-price { font-size: 24px; font-weight: 800; color: var(--ink, #0e3a1e); }
.pd-free { font-size: 11.5px; font-weight: 800; color: #06320f; background: var(--sun-2, #5fe000); padding: 4px 11px; border-radius: 999px; white-space: nowrap; }
.pd-mid { flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-right: 6px; scrollbar-width: thin; }
.pd-mid.scrolly { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 22px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 22px), transparent); }
.pd-desc { color: var(--muted, #38704a); font-size: 14px; line-height: 1.65; margin: 0 0 12px; }
.pd-specs { width: 100%; border-collapse: collapse; margin: 0 0 8px; }
.pd-specs td { padding: 6px 2px; font-size: 12.5px; border-bottom: 1px solid var(--line, rgba(14,58,30,.1)); vertical-align: top; }
.pd-specs td:first-child { color: var(--muted, #38704a); font-weight: 600; width: 42%; }
.pd-specs td:last-child { color: var(--ink, #0e3a1e); font-weight: 700; }
.pd-buy { flex: none; padding-top: 12px; }
.pd-buy .opt-pills { max-height: 96px; overflow-y: auto; scrollbar-width: thin; }
@media (max-width: 719px) {
  #pd-modal.pd-fit { height: 92vh; }
  @supports (height: 1svh) { #pd-modal.pd-fit { height: 92svh; } }
  .pd-grid { grid-template-rows: minmax(0, 40%) minmax(0, 1fr); }
  .pd-media { padding: 12px 12px 8px; }
  .pd-info { padding: 14px 16px calc(12px + env(safe-area-inset-bottom, 0px)); }
  .pd-name { font-size: 17px; }
  .pd-pricerow { margin-bottom: 8px; }
  .pd-pricerow #pd-price { font-size: 20px; }
  .pd-desc { font-size: 13px; }
  .pd-thumbs .pd-th { width: 38px; height: 38px; }
  #pd-modal.pd-fit .pd-play-btn { padding: 6px 10px; font-size: 11.5px; }
  .pd-buy .opt-pills { max-height: 74px; }
  .pd-buy .opt-note { display: none; }
}
/* ---- real social clip cards + player modal ---- */
.cc-clip { padding-top: 0; }
.cc-clipthumb { position: relative; margin: 12px 0 10px; height: 150px; border-radius: 16px; background-size: cover; background-position: center; box-shadow: inset 0 0 0 2px rgba(14,58,30,.12), 0 10px 20px -10px rgba(14,58,30,.45); display: grid; place-items: center; overflow: hidden; }
.cc-clipthumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7,38,12,.45)); }
.cc-playbtn { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: #06320f; background: rgba(255,255,255,.92); box-shadow: 0 6px 16px -4px rgba(7,38,12,.6), inset 0 2px 1px #fff; padding-left: 4px; transition: transform .15s ease; }
.card.cc-clip:hover .cc-playbtn { transform: scale(1.12); }
.clip-frame { position: relative; width: min(300px, 74vw, calc(56vh * 9 / 16)); aspect-ratio: 9 / 16; margin: 10px auto 0; border-radius: 18px; overflow: hidden; background: #06130a; box-shadow: 0 18px 40px -14px rgba(7,38,12,.6), inset 0 0 0 2px rgba(95,224,0,.35); }
.clip-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.clip-credit { text-align: center; font-family: var(--mono, monospace); font-size: 11.5px; color: var(--faint, #7aa88a); margin: 10px 0 0; }
.clip-credit .clip-out { color: var(--lime-ink, #1f8a08); font-weight: 700; text-decoration: underline; }
.cc-clipmodal { text-align: center; }
/* ---- reward FX: button squish, emoji bursts, cart splash ring, slime wipe ---- */
@keyframes btnSquish { 0% { transform: scale(1); } 35% { transform: scale(.86, .8); } 70% { transform: scale(1.08, 1.05); } 100% { transform: scale(1); } }
.fx-burst { position: fixed; z-index: 300; pointer-events: none; font-size: 19px; transform: translate(-50%, -50%); animation: fxFly .78s cubic-bezier(.2,.8,.4,1) forwards; filter: drop-shadow(0 3px 4px rgba(14,58,30,.3)); }
@keyframes fxFly { to { transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, -60px))) scale(.4) rotate(var(--rot, 60deg)); opacity: 0; } }
.cart-splash { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; pointer-events: none; border: 3px solid var(--sun-2, #5fe000); opacity: .95; animation: cartSplashy .6s ease-out forwards; }
@keyframes cartSplashy { to { transform: scale(5.2); opacity: 0; } }
/* add-to-cart reward spectacles: cannon / slime downpour / fireworks / flag boat / parade */
.fx-squishy { position: fixed; z-index: 305; font-size: 26px; pointer-events: none; will-change: transform; filter: drop-shadow(0 4px 5px rgba(14,58,30,.3)); }
.fx-slimefall { position: fixed; left: 0; right: 0; top: 0; height: 62vh; z-index: 304; pointer-events: none; }
.fx-slimefall i { position: absolute; top: -6px; height: 0; border-radius: 0 0 999px 999px;
  background: linear-gradient(180deg, #7be62e, #54cf00 55%, #46b400);
  animation: sfDrip 1.95s cubic-bezier(.5,.05,.4,1) forwards; }
@keyframes sfDrip { 35% { height: var(--h, 22vh); } 62% { height: var(--h, 22vh); } 100% { height: 0; } }
.fw-rocket { position: fixed; bottom: -18px; width: 6px; height: 17px; border-radius: 3px; z-index: 305; pointer-events: none;
  background: linear-gradient(180deg, #fff, #ffc637); box-shadow: 0 6px 10px -2px rgba(255,198,55,.8);
  animation: fwUp .5s ease-in forwards; }
@keyframes fwUp { to { transform: translateY(calc(-100vh + var(--toY, 20vh))); } }
.fw-spark { position: fixed; width: 7px; height: 7px; border-radius: 50%; z-index: 305; pointer-events: none; transform: translate(-50%, -50%);
  box-shadow: 0 0 9px 1px currentColor; animation: fwSpark .95s ease-out forwards; }
@keyframes fwSpark { to { transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, 0px) + 34px)) scale(.45); opacity: 0; } }
.fx-boat { position: fixed; bottom: 8px; left: -200px; z-index: 305; pointer-events: none; animation: boatSail 5s linear forwards; }
.fx-boat.rev { left: auto; right: -200px; animation-name: boatSailRev; }
.fx-boat.rev .boat-inner { transform: scaleX(-1); }
.fx-boat.rev .boat-flag { transform: scaleX(-1); transform-origin: center; }
@keyframes boatSail { to { transform: translateX(calc(100vw + 400px)); } }
@keyframes boatSailRev { to { transform: translateX(calc(-100vw - 400px)); } }
.boat-inner { position: relative; width: 150px; animation: boatBob 1s ease-in-out infinite; }
@keyframes boatBob { 0%,100% { transform: translateY(0) rotate(-1.6deg); } 50% { transform: translateY(-7px) rotate(1.8deg); } }
.fx-boat.rev .boat-inner { animation: boatBobRev 1s ease-in-out infinite; }
@keyframes boatBobRev { 0%,100% { transform: scaleX(-1) translateY(0) rotate(-1.6deg); } 50% { transform: scaleX(-1) translateY(-7px) rotate(1.8deg); } }
.boat-hull { position: relative; margin-top: 64px; width: 132px; height: 36px; border-radius: 8px 8px 30px 30px;
  background: linear-gradient(180deg, #ff9dc4, #e86ba0 70%, #d4518c);
  box-shadow: inset 0 3px 2px rgba(255,255,255,.55), inset 0 -5px 8px rgba(120,20,70,.4), 0 10px 16px -8px rgba(14,58,30,.5); }
.boat-hull i { position: absolute; top: 10px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: inset 0 1px 3px rgba(14,58,30,.4); }
.boat-hull i:nth-child(1) { left: 20px; } .boat-hull i:nth-child(2) { left: 60px; } .boat-hull i:nth-child(3) { left: 100px; }
.boat-mast { position: absolute; left: 70px; top: 2px; width: 5px; height: 66px; border-radius: 3px; background: linear-gradient(180deg, #a8703b, #7c4f24); }
.boat-sail { position: absolute; left: 22px; top: 8px; width: 0; height: 0; border-top: 46px solid transparent; border-right: 46px solid #fff; filter: drop-shadow(-2px 3px 3px rgba(14,58,30,.25)); }
.boat-flag { position: absolute; left: 74px; top: -6px; z-index: 2; white-space: nowrap; background: var(--pink, #ff3ea5); color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 11px; letter-spacing: .4px; padding: 4px 10px; border-radius: 4px 8px 8px 4px;
  box-shadow: 0 4px 10px -4px rgba(14,58,30,.5), inset 0 1px 1px rgba(255,255,255,.4); animation: flagWave .6s ease-in-out infinite; transform-origin: left center; }
@keyframes flagWave { 0%,100% { transform: skewY(-2.5deg); } 50% { transform: skewY(2.5deg); } }
.boat-wave { position: absolute; left: -10px; right: -10px; top: 92px; height: 16px; border-radius: 50%;
  background: linear-gradient(180deg, #7be62e, #54cf00); opacity: .85; box-shadow: 0 4px 8px -3px rgba(40,140,30,.5); }
.fx-par { position: fixed; bottom: 12px; left: -44px; z-index: 305; pointer-events: none;
  animation: parMarch 3.5s linear forwards, parHop .36s ease-in-out infinite; filter: drop-shadow(0 4px 5px rgba(14,58,30,.3)); }
@keyframes parMarch { to { left: 104vw; } }
@keyframes parHop { 0%,100% { transform: translateY(0) rotate(-5deg) scaleX(-1); } 50% { transform: translateY(-9px) rotate(5deg) scaleX(-1); } }
/* slime volcano (bottom corner eruption) */
.fx-volcano { position: fixed; bottom: -8px; width: 150px; height: 220px; z-index: 304; pointer-events: none; }
.fx-volcano.left { left: -10px; } .fx-volcano.right { right: -10px; }
.fx-volcano b { position: absolute; bottom: 0; left: 10px; right: 10px; height: 54px; border-radius: 50% 50% 0 0;
  background: linear-gradient(180deg, #7be62e, #54cf00 60%, #46b400); }
.fx-volcano i { position: absolute; bottom: 30px; width: 22px; border-radius: 999px 999px 0 0; height: 0;
  background: linear-gradient(180deg, #a9ef60, #54cf00 70%); animation: volSpurt 2.2s cubic-bezier(.4,.05,.5,1) forwards; }
.fx-volcano i:nth-child(1) { left: 28px; --vh: 150px; animation-delay: .05s; }
.fx-volcano i:nth-child(2) { left: 58px; --vh: 190px; animation-delay: .18s; }
.fx-volcano i:nth-child(3) { left: 88px; --vh: 160px; animation-delay: .3s; }
.fx-volcano i:nth-child(4) { left: 44px; --vh: 120px; animation-delay: .44s; }
@keyframes volSpurt { 30% { height: var(--vh, 150px); } 62% { height: var(--vh, 150px); } 100% { height: 0; } }
.fx-lava { position: fixed; bottom: 60px; z-index: 305; font-size: 24px; pointer-events: none; animation: lavaFly 1.4s cubic-bezier(.3,.4,.6,1) forwards; }
@keyframes lavaFly { 40% { transform: translate(calc(var(--vx, 60px) * .6), var(--vy, -180px)); opacity: 1; } 100% { transform: translate(var(--vx, 60px), 40px); opacity: 0; } }
/* banner blimp */
.fx-blimp { position: fixed; top: 12vh; left: -320px; z-index: 305; pointer-events: none; display: flex; align-items: center; gap: 10px; animation: blimpSail 9s linear forwards; }
.fx-blimp.rev { left: auto; right: -320px; animation-name: blimpSailRev; flex-direction: row-reverse; }
@keyframes blimpSail { to { transform: translateX(calc(100vw + 340px)); } }
@keyframes blimpSailRev { to { transform: translateX(calc(-100vw - 340px)); } }
.blimp-body { position: relative; width: 92px; height: 44px; border-radius: 50%;
  background: radial-gradient(circle at 36% 28%, #ffd7e8, #ff9dc4 55%, #e86ba0);
  box-shadow: inset 0 -6px 10px rgba(150,40,90,.4), inset 0 5px 7px rgba(255,255,255,.6), 0 10px 18px -8px rgba(14,58,30,.45);
  animation: blimpBob 1.6s ease-in-out infinite; }
/* the tail fin goes at the BACK of the direction of travel (it looked like it flew backwards) */
.blimp-body i { position: absolute; left: -10px; top: 12px; width: 16px; height: 20px; border-radius: 10px 4px 4px 10px; background: #e86ba0; }
.fx-blimp.rev .blimp-body i { left: auto; right: -10px; border-radius: 4px 10px 10px 4px; }
@keyframes blimpBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.blimp-banner { white-space: nowrap; background: #fff; color: var(--ink, #0e3a1e); font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: .5px;
  padding: 7px 14px; border-radius: 6px; box-shadow: inset 0 0 0 2px rgba(95,224,0,.45), 0 6px 14px -6px rgba(14,58,30,.5); animation: blimpBob 1.6s ease-in-out .2s infinite; }
/* UFO visit */
.fx-ufo { position: fixed; top: -120px; z-index: 305; pointer-events: none; width: 110px; animation: ufoVisit 3.8s cubic-bezier(.4,.1,.5,1) forwards; }
@keyframes ufoVisit { 18% { transform: translateY(24vh); } 30% { transform: translateY(22vh); } 55% { transform: translateY(23vh); } 70% { transform: translateY(24vh); } 100% { transform: translate(60vw, -40vh) scale(.5); opacity: 0; } }
.ufo-dome { position: relative; z-index: 1; width: 48px; height: 26px; margin: 0 auto; border-radius: 26px 26px 0 0;
  background: radial-gradient(circle at 40% 20%, rgba(255,255,255,.95), rgba(174,224,255,.65) 70%); box-shadow: inset 0 -2px 4px rgba(60,120,180,.4); }
.ufo-hull { position: relative; z-index: 1; width: 110px; height: 26px; border-radius: 50%;
  background: linear-gradient(180deg, #c9b6ff, #a97bff 55%, #6d3fd4);
  box-shadow: inset 0 3px 3px rgba(255,255,255,.6), inset 0 -5px 8px rgba(70,20,140,.5), 0 12px 20px -8px rgba(14,58,30,.5); }
.ufo-hull i { position: absolute; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: #ffc637; box-shadow: 0 0 8px #ffc637; animation: ufoLights .5s linear infinite alternate; }
.ufo-hull i:nth-child(1) { left: 18px; } .ufo-hull i:nth-child(2) { left: 51px; animation-delay: .17s; } .ufo-hull i:nth-child(3) { left: 84px; animation-delay: .33s; }
@keyframes ufoLights { from { opacity: .35; } to { opacity: 1; } }
.ufo-beam { position: absolute; left: 50%; top: 34px; width: 150px; height: 46vh; transform: translateX(-50%); transform-origin: top center;
  background: linear-gradient(180deg, rgba(169,239,96,.5), rgba(169,239,96,0)); clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%);
  opacity: 0; animation: beamOn 3.8s ease forwards; }
@keyframes beamOn { 0%,14% { opacity: 0; } 26% { opacity: 1; } 60% { opacity: 1; } 74%,100% { opacity: 0; } }
/* the snail. he tries. */
.fx-snail { position: fixed; bottom: 6px; left: -90px; z-index: 305; pointer-events: none; animation: snailTrek 14s linear forwards; }
@keyframes snailTrek { to { transform: translateX(60vw); } }
.snail-emoji { font-size: 30px; display: inline-block; animation: snailWiggle 1.4s ease-in-out infinite; filter: drop-shadow(0 3px 4px rgba(14,58,30,.3)); }
/* 🐌 faces left by default but travels rightward — flip him so he stops moonwalking */
@keyframes snailWiggle { 0%,100% { transform: scaleX(-1); } 50% { transform: scaleX(-.92); } }
.snail-flag { position: absolute; left: 16px; top: -22px; white-space: nowrap; background: #fff; color: var(--ink, #0e3a1e);
  font-family: var(--display); font-weight: 800; font-size: 10px; padding: 3px 8px; border-radius: 4px;
  box-shadow: inset 0 0 0 1.5px rgba(95,224,0,.5), 0 4px 8px -4px rgba(14,58,30,.5); }
.snail-flag::after { content: ""; position: absolute; left: 8px; bottom: -6px; width: 2px; height: 6px; background: #8a5a2b; }
/* live silent previews on clip cards */
.cc-clipthumb { isolation: isolate; }
.cc-clipthumb .clip-live { position: absolute; left: 0; top: 50%; width: 100%; height: 340%; transform: translateY(-50%); border: 0; pointer-events: none; z-index: 0; }
.cc-clipthumb::after { z-index: 1; }
.cc-playbtn { z-index: 2; }
.cc-clipthumb.live .cc-playbtn { opacity: 0; transform: scale(.55); transition: opacity .35s ease, transform .35s ease; }
/* playable minis on game/toy cards */
.card.cc-mini h3 { margin-top: 10px; }
.cc-minizone { position: relative; height: 168px; margin: 10px 0 12px; border-radius: 18px; overflow: hidden; cursor: pointer;
  background: radial-gradient(120% 120% at 50% 0%, rgba(123,220,0,.24), rgba(95,224,0,.08) 60%, #f2fce8);
  border: 2px solid rgba(95,224,0,.35); box-shadow: inset 0 2px 10px rgba(40,140,30,.12); touch-action: none; user-select: none; -webkit-user-select: none; }
.cc-minizone.grid-5, .cc-minizone.grid-6 { display: grid; gap: 6px; padding: 12px; align-items: center; }
.cc-minizone.grid-5 { grid-template-columns: repeat(5, 1fr); }
.cc-minizone.grid-6 { grid-template-columns: repeat(6, 1fr); }
.pop-bubble.mini { aspect-ratio: 1; padding: 0; }
.mini-blob { position: absolute; border: 0; background: none; padding: 0; font-size: 34px; cursor: pointer; line-height: 1;
  animation: crewIdle 2.6s ease-in-out infinite; filter: drop-shadow(0 4px 6px rgba(40,140,30,.35)); }
.mini-blob.pop { animation: cgSquish .18s ease; }
.mini-count { position: absolute; top: 8px; left: 0; right: 0; text-align: center; font-family: var(--display); font-weight: 800; font-size: 11.5px; color: var(--lime-ink, #1f8a08); pointer-events: none; z-index: 1; }
.jelly-blob.mini { width: 96px; height: 84px; font-size: 20px; position: absolute; left: 50%; top: 54%; transform: translate(-50%, -50%); }
.cc-minizone .spinner.mini { position: absolute; left: 50%; top: 52%; margin: -89px 0 0 -89px; transform: scale(.62); }
.goo-dot { position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 36% 28%, #a9ef60, #54cf00 62%, #3aa600);
  animation: gooDot .95s ease-out forwards; }
@keyframes gooDot { 60% { opacity: .95; } 100% { transform: scale(.15) translateY(10px); opacity: 0; } }
/* ---- My Collection: have/want chips, nav badge, drawer, and SQUISH BATTLE ---- */
.card { position: relative; }
.col-chips { position: absolute; top: 8px; left: 8px; z-index: 4; display: flex; gap: 5px; }
.col-chip { width: 30px; height: 30px; border: 0; border-radius: 50%; cursor: pointer; font-size: 14px; line-height: 1; padding: 0;
  background: rgba(255,255,255,.92); box-shadow: 0 3px 8px -2px rgba(14,58,30,.35), inset 0 1px 1px #fff; transition: transform .15s cubic-bezier(.3,1.6,.4,1); }
.col-chip:hover { transform: scale(1.15); }
.col-chip.on { background: linear-gradient(180deg, #fff, #ffe3f0); box-shadow: 0 3px 10px -2px rgba(255,62,165,.55), inset 0 0 0 2px rgba(255,62,165,.5); }
.col-chip[data-col-kind="have"].on { background: linear-gradient(180deg, #fff, #e6ffd6); box-shadow: 0 3px 10px -2px rgba(95,224,0,.6), inset 0 0 0 2px rgba(95,224,0,.55); }
.pd-collect { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.pd-collect .col-chips { position: static; }
.pd-collect-hint { font-size: 12px; color: var(--faint, #7aa88a); font-weight: 700; }
.collect-btn { gap: 6px; }
/* collection drawer */
#collect-drawer { position: fixed; inset: 0; z-index: 140; pointer-events: none; }
#collect-drawer .cd-overlay { position: absolute; inset: 0; background: rgba(7,26,11,.5); backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s ease; }
#collect-drawer .cd-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(430px, 94vw); background: var(--card, #fff); color: var(--ink, #0e3a1e);
  border-left: 3px solid var(--sun-2, #5fe000); box-shadow: -22px 0 50px -18px rgba(14,58,30,.5); padding: 22px 20px calc(20px + env(safe-area-inset-bottom, 0px));
  transform: translateX(105%); transition: transform .32s cubic-bezier(.25,1.2,.4,1); display: flex; flex-direction: column; }
#collect-drawer.open { pointer-events: auto; }
#collect-drawer.open .cd-overlay { opacity: 1; }
#collect-drawer.open .cd-panel { transform: translateX(0); }
.cd-close { position: absolute; top: 14px; right: 14px; background: var(--sun-2, #5fe000); color: #06320f; border: 2px solid #fff; border-radius: 50%; width: 34px; height: 34px; font-size: 20px; font-weight: 800; line-height: 1; cursor: pointer; }
.cd-panel h2 { font-family: var(--display); font-weight: 800; font-size: 21px; margin: 0 0 12px; }
.cd-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.cd-tab { flex: 1; border: 2px solid rgba(95,224,0,.4); background: #fff; border-radius: 999px; padding: 9px 10px; font: inherit; font-weight: 800; font-size: 13.5px; cursor: pointer; color: var(--ink); }
.cd-tab.on { background: var(--sun-2, #5fe000); color: #06320f; box-shadow: inset 0 2px 1px rgba(255,255,255,.55); }
.cd-grid { flex: 1; min-height: 0; overflow-y: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-content: start; padding: 2px; }
.cd-item { position: relative; text-align: center; }
.cd-thumb { position: relative; aspect-ratio: 1; border-radius: 12px; background-size: cover; background-position: center; background-color: #f2fce8;
  box-shadow: inset 0 0 0 2px rgba(14,58,30,.1); cursor: pointer; }
.cd-type { position: absolute; right: 4px; bottom: 4px; font-size: 15px; filter: drop-shadow(0 1px 2px rgba(14,58,30,.5)); }
.cd-item b { display: block; font-size: 10.5px; line-height: 1.25; margin-top: 5px; font-weight: 700; max-height: 2.6em; overflow: hidden; }
.cd-rm { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border: 0; border-radius: 50%; background: #fff; color: var(--muted); font-size: 13px; line-height: 1; cursor: pointer; box-shadow: 0 2px 6px -1px rgba(14,58,30,.4); }
.cd-empty { grid-column: 1 / -1; color: var(--muted); font-size: 13.5px; line-height: 1.6; background: rgba(95,224,0,.08); border-radius: 14px; padding: 16px; }
.cd-battle { width: 100%; justify-content: center; margin-top: 12px; }
.cd-note { font-size: 11.5px; color: var(--faint, #7aa88a); line-height: 1.5; margin: 10px 0 0; }
/* rarity rings */
.r-rare { box-shadow: inset 0 0 0 2px #3fb9ff, 0 0 12px -2px rgba(63,185,255,.7) !important; }
.r-epic { box-shadow: inset 0 0 0 2px #a97bff, 0 0 14px -2px rgba(169,123,255,.8) !important; }
.r-legendary { box-shadow: inset 0 0 0 2px #ffc637, 0 0 16px -1px rgba(255,198,55,.9) !important; }
/* battle arena */
#battle-arena { position: fixed; inset: 0; z-index: 150; display: none; }
#battle-arena.open { display: block; }
#battle-arena .bt-overlay { position: absolute; inset: 0; background: rgba(7,26,11,.6); backdrop-filter: blur(5px); }
#battle-arena .bt-box { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(680px, 94vw); max-height: 92vh; overflow: auto;
  background: var(--card, #fff); border: 3px solid var(--sun-2, #5fe000); border-radius: 26px; padding: 22px; text-align: center;
  box-shadow: 0 30px 80px -10px rgba(14,58,30,.5); animation: pdIn .3s cubic-bezier(.2,1.4,.4,1); }
.bt-close { position: absolute; top: 12px; right: 14px; background: var(--sun-2, #5fe000); color: #06320f; border: 2px solid #fff; border-radius: 50%; width: 34px; height: 34px; font-size: 20px; font-weight: 800; line-height: 1; cursor: pointer; z-index: 2; }
.bt-box h2 { font-family: var(--display); font-weight: 800; font-size: 21px; margin: 2px 0 8px; }
.bt-note { color: var(--muted); font-size: 12.5px; margin: 0 0 12px; }
.bt-pickgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-bottom: 14px; }
.bt-pick { position: relative; aspect-ratio: 1; border: 0; border-radius: 12px; background-size: cover; background-position: center; background-color: #f2fce8; cursor: pointer; transition: transform .12s ease; }
.bt-pick span { position: absolute; right: 4px; bottom: 3px; font-size: 14px; }
.bt-pick:hover { transform: scale(1.05); }
.bt-pick.sel { outline: 4px solid var(--pink, #ff3ea5); outline-offset: 1px; transform: scale(1.05); }
.bt-go { width: 100%; justify-content: center; }
.bt-hud { font-family: var(--display); font-weight: 800; font-size: 13.5px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 12px; }
.bt-pips i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--sun-2); margin: 0 2px; }
.bt-pips i.off { background: rgba(14,58,30,.15); }
.bt-field { display: flex; gap: 12px; align-items: stretch; justify-content: center; }
.bt-vs { align-self: center; font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--pink, #ff3ea5); animation: cgPop .4s cubic-bezier(.2,1.6,.4,1); }
.bt-card { width: min(220px, 38vw); border-radius: 16px; background: linear-gradient(180deg, #ffffff, #f1ffe0); padding: 10px; text-align: center;
  box-shadow: inset 0 0 0 2px rgba(95,224,0,.35), 0 12px 26px -12px rgba(14,58,30,.5); transition: transform .3s cubic-bezier(.25,1.4,.4,1), box-shadow .3s ease; }
.bt-card.me { animation: btInL .4s cubic-bezier(.2,1.4,.4,1); }
.bt-card.op { animation: btInR .4s cubic-bezier(.2,1.4,.4,1); }
@keyframes btInL { from { transform: translateX(-70px) rotate(-6deg); opacity: 0; } }
@keyframes btInR { from { transform: translateX(70px) rotate(6deg); opacity: 0; } }
.bt-img { aspect-ratio: 1; border-radius: 11px; background-size: cover; background-position: center; background-color: #fff; margin-bottom: 7px; }
.bt-name { display: block; font-size: 12px; line-height: 1.25; min-height: 2.4em; font-weight: 700; }
.bt-type { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: #06320f; background: var(--sun-1, #ddff3a); border-radius: 999px; padding: 2px 9px; margin: 4px 0 6px; }
.bt-stats { list-style: none; margin: 0; padding: 0; text-align: left; }
.bt-stats li { display: flex; justify-content: space-between; font-size: 11.5px; padding: 2.5px 6px; border-radius: 6px; }
.bt-stats li i { font-style: normal; color: var(--muted); font-weight: 600; }
.bt-stats li em { font-style: normal; font-weight: 800; }
.bt-stats li.lit { background: rgba(255,198,55,.35); box-shadow: inset 0 0 0 1.5px rgba(255,198,55,.9); animation: cgPop .25s ease; }
.bt-card.winner { transform: translateY(-8px) scale(1.04); box-shadow: inset 0 0 0 3px var(--sun-2, #5fe000), 0 18px 34px -12px rgba(95,224,0,.7); }
.bt-card.loser { transform: scale(.95) rotate(-2deg); opacity: .6; filter: grayscale(.4); }
.bt-callout { font-family: var(--display); font-weight: 700; font-size: 14.5px; margin: 12px 0; }
.bt-next { width: 100%; justify-content: center; }
.bt-result .bt-remoji { font-size: 60px; animation: cgPop .35s cubic-bezier(.2,1.6,.4,1); }
.bt-result p { color: var(--muted); font-size: 14.5px; max-width: 40ch; margin: 6px auto 16px; }
.bt-again { width: 100%; justify-content: center; }
.bt-quit { display: block; margin: 10px auto 0; background: none; border: 0; color: var(--faint, #7aa88a); font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; text-decoration: underline; }
@media (max-width: 560px) {
  .bt-pickgrid { grid-template-columns: repeat(3, 1fr); }
  .bt-stats li { font-size: 10.5px; }
  .bt-name { font-size: 11px; }
}
/* SQUISHY JAIL — recalled products behind bars */
.cc-jail { text-align: center; }
.jail-list { display: grid; gap: 12px; max-width: 480px; margin: 16px auto 0; text-align: left; }
.jail-cell { display: flex; gap: 14px; align-items: center; background: #17201a; color: #e8f5ec; border-radius: 16px; padding: 12px;
  box-shadow: inset 0 0 0 2px rgba(255,90,90,.45), 0 10px 22px -12px rgba(0,0,0,.6); }
.jail-mug { position: relative; flex: none; width: 86px; height: 86px; border-radius: 10px; background-size: cover; background-position: center; background-color: #0d1410; overflow: hidden; filter: grayscale(.55) contrast(1.05); }
.jail-bars { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(10,14,11,.92) 0 7px, transparent 7px 22px); box-shadow: inset 0 2px 6px rgba(0,0,0,.6); }
.jail-meta b { display: block; font-size: 14px; margin-bottom: 4px; }
.jail-reason { display: block; font-size: 12.5px; color: #ffb1b1; font-weight: 700; margin-bottom: 4px; }
.jail-status { display: inline-block; font-family: var(--mono, monospace); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: #0d1410; background: #ffb84d; border-radius: 4px; padding: 2px 8px; }
.jail-empty { max-width: 440px; margin: 18px auto 0; background: rgba(95,224,0,.1); border: 2px dashed rgba(95,224,0,.4); border-radius: 16px; padding: 18px; color: var(--muted); font-size: 14px; line-height: 1.6; }
/* content cards with a real product photo header (recipes etc.) */
.cc-img { position: relative; height: 138px; margin: 12px 0 10px; border-radius: 16px; background-size: cover; background-position: center; background-color: #fff;
  box-shadow: inset 0 0 0 2px rgba(14,58,30,.1), 0 8px 16px -8px rgba(14,58,30,.35); }
.cc-img .cc-img-emoji { position: absolute; right: 8px; bottom: 6px; font-size: 26px; filter: drop-shadow(0 2px 4px rgba(14,58,30,.4)); }
/* full-bleed clip cards: the video IS the card */
.card.cc-clipfull { position: relative; overflow: hidden; padding: 0; min-height: 330px; }
.cc-clipfull .cc-clipthumb { position: absolute; inset: 0; height: auto; margin: 0; border-radius: inherit; box-shadow: none; }
.cc-clipfull .cc-clipthumb::after { background: linear-gradient(180deg, rgba(7,38,12,.22) 0%, transparent 30%, transparent 50%, rgba(7,38,12,.78) 100%); }
.cc-clipfull .cc-clipthumb .clip-live { height: 135%; } /* card ≈ the video's 9:16 — slight overshoot covers the frame */
.cc-clipmeta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 14px 16px; pointer-events: none; }
.cc-clipmeta h3 { margin: 0; color: #fff; font-size: 16.5px; line-height: 1.28; text-shadow: 0 2px 10px rgba(7,38,12,.85); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cc-clipfull .cc-badge { z-index: 3; }
.cc-clipfull:hover .cc-playbtn { transform: scale(1.12); }
.cc-clipfull .cc-clipthumb.live:hover .cc-playbtn { transform: scale(.55); }
/* product-open flourishes — quick moments AROUND the detail window (shuffled, one per open) */
.ofx-spark { position: fixed; z-index: 300; pointer-events: none; font-size: 15px; transform: translate(-50%, -50%) scale(0); animation: ofxSpark .75s cubic-bezier(.2,1.6,.4,1) forwards; filter: drop-shadow(0 2px 3px rgba(14,58,30,.35)); }
@keyframes ofxSpark { 40% { transform: translate(-50%, -50%) scale(1.25); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(.35); opacity: 0; } }
.ofx-goo { position: fixed; z-index: 300; width: 72px; height: 72px; pointer-events: none; transform: translate(-50%, -50%) scale(0);
  border-radius: 46% 54% 50% 50% / 58% 58% 42% 42%;
  background: radial-gradient(circle at 36% 28%, #a9ef60, #54cf00 62%, #3aa600);
  box-shadow: inset 0 -5px 9px rgba(30,110,10,.4), inset 0 5px 7px rgba(255,255,255,.5);
  animation: ofxGoo 1s cubic-bezier(.2,1.5,.4,1) forwards; }
@keyframes ofxGoo { 40% { transform: translate(-50%, -50%) scale(1) rotate(8deg); opacity: .96; } 100% { transform: translate(-50%, -50%) scale(.15) rotate(-6deg); opacity: 0; } }
.ofx-jet { position: fixed; z-index: 300; pointer-events: none; font-size: 17px; animation: ofxJet .85s ease-out forwards; filter: drop-shadow(0 2px 3px rgba(14,58,30,.3)); }
.ofx-jet.l { left: -26px; } .ofx-jet.r { right: -26px; }
@keyframes ofxJet { to { transform: translateX(var(--dx, 90px)) scale(.6); opacity: 0; } }
.ofx-peek { position: fixed; z-index: 300; pointer-events: none; font-size: 27px; transform: translate(-50%, -50%) scale(0); animation: ofxPeek 1.6s ease forwards; filter: drop-shadow(0 3px 4px rgba(14,58,30,.35)); }
@keyframes ofxPeek { 22% { transform: translate(-50%, -50%) scale(1) rotate(-9deg); opacity: 1; } 48% { transform: translate(-50%, -50%) scale(1.06) rotate(9deg); } 72% { transform: translate(-50%, -50%) scale(1) rotate(-5deg); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(0); opacity: 0; } }
.ofx-bub { position: fixed; z-index: 300; pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, rgba(255,255,255,.95), rgba(190,240,255,.5) 45%, rgba(95,224,0,.28));
  box-shadow: inset 0 -2px 5px rgba(40,140,120,.25), inset 0 2px 3px rgba(255,255,255,.85);
  animation: ofxBub 1.6s ease-out forwards; }
@keyframes ofxBub { 15% { opacity: 1; } to { transform: translateY(var(--rise, -220px)); opacity: 0; } }
.ofx-ring { position: fixed; z-index: 300; pointer-events: none; border: 3px solid rgba(95,224,0,.75); border-radius: 34px;
  box-shadow: 0 0 20px rgba(95,224,0,.5), inset 0 0 14px rgba(95,224,0,.3); opacity: 0; animation: ofxRing .85s ease-out forwards; }
@keyframes ofxRing { 0% { transform: scale(.97); opacity: .9; } 100% { transform: scale(1.07); opacity: 0; } }
/* full-screen slime wipe (brand → home) */
#slime-wipe { position: fixed; inset: 0; z-index: 400; pointer-events: none; overflow: hidden; }
#slime-wipe .sw-goo { position: absolute; left: -4%; right: -4%; top: -120vh; height: 120vh; filter: url(#goo); transform: translateY(0); transition: transform .62s cubic-bezier(.55,.06,.5,.96); will-change: transform; }
#slime-wipe.cover .sw-goo { transform: translateY(120vh); }
#slime-wipe.reveal .sw-goo { transform: translateY(0); transition: transform .62s cubic-bezier(.5,.04,.55,.96); }
#slime-wipe .sw-sheet { position: absolute; left: 0; right: 0; top: 0; bottom: 44px; background: linear-gradient(180deg, #7be62e, #54cf00 60%, #46b400); }
#slime-wipe i { position: absolute; bottom: 0; border-radius: 50%; background: radial-gradient(circle at 36% 28%, #b9ff7a, #7be62e 45%, #54cf00 75%, #46b400); animation: swBob 1s ease-in-out infinite alternate; }
@keyframes swBob { from { transform: translateY(18%); } to { transform: translateY(46%); } }
#slime-wipe .sw-face { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%) scale(.3); font-size: 110px; opacity: 0; transition: opacity .22s ease .4s, transform .5s cubic-bezier(.3,1.7,.4,1) .4s; filter: drop-shadow(0 10px 24px rgba(7,50,15,.5)); }
#slime-wipe.cover .sw-face { opacity: 1; transform: translate(-50%, -50%) scale(1); }
#slime-wipe.reveal .sw-face { opacity: 0; transition: opacity .18s ease; }
/* ---- the Goo Crew: autonomous mascot characters (crew.js + crew.json) ---- */
.crew-char { position: fixed; z-index: 290; width: 96px; filter: drop-shadow(0 10px 16px rgba(14,58,30,.35)); transition: transform .55s cubic-bezier(.25,1.5,.4,1), opacity .4s ease; opacity: 0; }
.crew-char.in { opacity: 1; }
.crew-char.out { opacity: 0; transition: transform .4s ease-in, opacity .4s ease-in; }
.crew-body { position: relative; width: 88px; height: 78px; cursor: pointer; display: grid; place-items: center;
  background: radial-gradient(circle at 36% 28%, var(--c1, #c8f79a), var(--c2, #7bdc00) 58%, var(--c3, #3d9c00));
  border-radius: 46% 54% 50% 50% / 58% 58% 42% 42%;
  box-shadow: inset 0 -7px 12px rgba(14,58,30,.3), inset 0 7px 9px rgba(255,255,255,.5);
  animation: crewIdle 3.4s ease-in-out infinite; user-select: none; -webkit-user-select: none; }
@keyframes crewIdle { 0%,100% { border-radius: 46% 54% 50% 50% / 58% 58% 42% 42%; transform: translateY(0) rotate(-1deg); } 50% { border-radius: 52% 48% 46% 54% / 50% 52% 48% 50%; transform: translateY(-5px) rotate(1.5deg); } }
.crew-body.squish { animation: blobSquish .5s cubic-bezier(.2,1.5,.4,1); }
.crew-face { font-size: 19px; font-weight: 700; color: rgba(10,40,14,.85); letter-spacing: 1px; pointer-events: none; }
.crew-acc { position: absolute; top: -12px; right: -8px; font-size: 21px; pointer-events: none; animation: twinkleAcc 2.2s ease-in-out infinite; }
@keyframes twinkleAcc { 0%,100% { transform: scale(1) rotate(-8deg); } 50% { transform: scale(1.25) rotate(10deg); } }
/* body shapes per species */
.crew-body.shape-loaf { border-radius: 34% 34% 42% 42% / 55% 55% 45% 45%; height: 66px; }
.crew-body.shape-puddle { border-radius: 50% 50% 48% 52% / 68% 66% 34% 32%; height: 60px; opacity: .88; }
.crew-body.shape-donut { border-radius: 50%; height: 82px; box-shadow: inset 0 -7px 12px rgba(14,58,30,.3), inset 0 7px 9px rgba(255,255,255,.5), inset 0 0 0 12px rgba(255,255,255,.22); }
.crew-body.shape-beads { background:
  radial-gradient(circle at 24% 32%, rgba(255,255,255,.55) 0 5px, transparent 6px),
  radial-gradient(circle at 62% 22%, rgba(255,255,255,.5) 0 4px, transparent 5px),
  radial-gradient(circle at 78% 58%, rgba(255,255,255,.45) 0 5px, transparent 6px),
  radial-gradient(circle at 40% 68%, rgba(255,255,255,.5) 0 4px, transparent 5px),
  radial-gradient(circle at 36% 28%, var(--c1), var(--c2) 58%, var(--c3)); }
.crew-body.shape-piggy::before, .crew-body.shape-piggy::after { content: ""; position: absolute; top: -9px; width: 22px; height: 20px; background: radial-gradient(circle at 40% 35%, var(--c1), var(--c2) 70%); border-radius: 62% 38% 50% 50% / 70% 70% 30% 30%; }
.crew-body.shape-piggy::before { left: 10px; transform: rotate(-16deg); }
.crew-body.shape-piggy::after { right: 10px; transform: rotate(16deg); }
/* the character IS the product: real catalog photo in the gooey blob mask, glossy sheen on top */
.crew-body.is-product { background-size: cover; background-position: center; background-color: #fff; overflow: hidden;
  box-shadow: inset 0 -6px 10px rgba(14,58,30,.22), inset 0 3px 5px rgba(255,255,255,.35), 0 10px 18px -8px rgba(14,58,30,.5), 0 0 0 3px rgba(255,255,255,.9), 0 0 0 5px rgba(95,224,0,.45); }
.crew-body.is-product::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgba(255,255,255,.5), rgba(255,255,255,0) 45%); }
.crew-body.is-product.shape-piggy::before { inset: 0; top: 0; width: auto; height: auto; transform: none; background: linear-gradient(160deg, rgba(255,255,255,.5), rgba(255,255,255,0) 45%); }
.crew-body.is-product.shape-piggy::after { display: none; }
.crew-body.is-product .crew-face { position: relative; z-index: 1; background: rgba(255,255,255,.82); border-radius: 999px; padding: 2px 9px; font-size: 14px; box-shadow: 0 2px 6px rgba(14,58,30,.3), inset 0 1px 1px #fff; }
.crew-char.in-modal .crew-body.is-product .crew-face { font-size: 11px; padding: 1px 7px; }
/* spawn positions */
.crew-char.pos-left { left: 0; transform: translateX(-110%); }
.crew-char.pos-left.in { transform: translateX(-14%); }
.crew-char.pos-right { right: 0; transform: translateX(110%); }
.crew-char.pos-right.in { transform: translateX(14%); }
.crew-char.pos-corner-l { left: 14px; bottom: 14px; transform: translateY(140%); }
.crew-char.pos-corner-l.in { transform: translateY(0); }
.crew-char.pos-corner-r { right: 14px; bottom: 14px; transform: translateY(140%); }
.crew-char.pos-corner-r.in { transform: translateY(0); }
.crew-char.pos-top { top: 88px; left: 50%; transform: translate(-50%, -160%); }
.crew-char.pos-top.in { transform: translate(-50%, 0); animation: crewDangle 3s ease-in-out infinite; }
@keyframes crewDangle { 0%,100% { margin-top: 0; } 50% { margin-top: 7px; } }
.crew-char.out.pos-left { transform: translateX(-120%); }
.crew-char.out.pos-right { transform: translateX(120%); }
.crew-char.out.pos-corner-l, .crew-char.out.pos-corner-r { transform: translateY(150%); }
.crew-char.out.pos-top { transform: translate(-50%, -170%); }
/* inside the product detail modal */
.crew-char.in-modal { position: absolute; left: 8px; bottom: 6px; z-index: 5; width: 72px; transform: translateY(130%); }
.crew-char.in-modal.in { transform: translateY(0); }
.crew-char.in-modal .crew-body { width: 62px; height: 56px; }
.crew-char.in-modal .crew-face { font-size: 14px; }
.crew-char.in-modal .crew-acc { font-size: 16px; top: -9px; }
/* speech bubble */
.crew-bubble { position: absolute; bottom: 78%; left: 78%; width: max-content; max-width: 240px; background: #fff; border-radius: 16px 16px 16px 5px; padding: 10px 13px 11px; box-shadow: 0 12px 26px -10px rgba(14,58,30,.45), inset 0 0 0 2px rgba(95,224,0,.35); }
.crew-char.pos-right .crew-bubble, .crew-char.pos-corner-r .crew-bubble { left: auto; right: 78%; border-radius: 16px 16px 5px 16px; }
.crew-char.pos-top .crew-bubble { bottom: auto; top: 86%; border-radius: 5px 16px 16px 16px; }
.crew-char.in-modal .crew-bubble { max-width: 200px; }
.crew-name { display: inline-block; font-family: var(--display); font-weight: 800; font-size: 13px; color: var(--ink, #0e3a1e); margin-right: 7px; }
.crew-sp { display: inline-block; font-family: var(--mono, monospace); font-size: 9.5px; text-transform: uppercase; letter-spacing: .5px; color: var(--faint, #7aa88a); }
.crew-text { margin: 5px 0 0; font-size: 13px; line-height: 1.45; color: var(--ink, #0e3a1e); min-height: 1.2em; }
.crew-go[hidden] { display: none; }
.crew-go { display: block; width: 100%; margin-top: 8px; border: 0; border-radius: 999px; padding: 8px 12px; font: inherit; font-weight: 800; font-size: 12.5px; color: #08280f; cursor: pointer;
  background: linear-gradient(180deg, var(--sun-1, #ddff3a), var(--sun-2, #5fe000) 60%, #4fc400);
  box-shadow: inset 0 2px 1px rgba(255,255,255,.7), 0 6px 12px -6px rgba(70,180,0,.8); }
.crew-x { position: absolute; top: -8px; left: -6px; z-index: 2; width: 20px; height: 20px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--muted, #38704a); font-size: 13px; line-height: 1; cursor: pointer; box-shadow: 0 3px 8px -3px rgba(14,58,30,.4); opacity: 0; transition: opacity .2s ease; }
.crew-char:hover .crew-x { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .crew-body, .crew-acc, .crew-char.pos-top.in { animation: none; }
  .crew-char { transition: opacity .3s ease; }
}
@media (max-width: 719px) {
  .crew-char { width: 78px; }
  .crew-body { width: 70px; height: 62px; }
  .crew-face { font-size: 15px; }
  .crew-bubble { max-width: 185px; }
}
/* tactile fidget toys (content card type "toy": Pop-It + Jiggle Blob) */
.cc-toy { text-align: center; }
.cc-toy-sub { color: var(--muted); font-size: 14.5px; line-height: 1.5; max-width: 42ch; margin: 6px auto 16px; }
.cc-toy-hint { color: var(--lime-ink, #1f8a08); font-family: var(--display); font-weight: 700; font-size: 14px; margin: 14px 0 2px; min-height: 1.2em; }
.popit-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; max-width: 340px; margin: 8px auto 16px; padding: 16px; background: linear-gradient(160deg, #eafce0, #d7f5ff); border-radius: 22px; box-shadow: inset 0 2px 10px rgba(40,140,30,.15); }
.pop-bubble { aspect-ratio: 1; border: 0; border-radius: 50%; cursor: pointer; padding: 0; background: radial-gradient(circle at 38% 30%, hsl(var(--h,120), 90%, 72%), hsl(var(--h,120), 82%, 54%)); box-shadow: inset 0 -3px 5px rgba(0,60,10,.28), inset 0 3px 4px rgba(255,255,255,.7), 0 3px 6px -2px rgba(40,140,30,.4); transition: transform .07s ease; }
.pop-bubble:active { transform: scale(.88); }
.pop-bubble.popped { background: radial-gradient(circle at 50% 60%, hsl(var(--h,120), 38%, 60%), hsl(var(--h,120), 42%, 74%)); box-shadow: inset 0 4px 8px rgba(0,60,10,.42); animation: popSquish .18s ease; }
@keyframes popSquish { 0% { transform: scale(.82); } 60% { transform: scale(1.06); } 100% { transform: scale(1); } }
.blob-stage { display: grid; place-items: center; min-height: 220px; margin: 4px 0; }
.jelly-blob { width: 148px; height: 138px; border: 0; cursor: pointer; padding: 0; font-size: 34px; color: #0a350f; background: radial-gradient(circle at 40% 30%, #b6ff6a, #5fe000 58%, #46b800); border-radius: 46% 54% 50% 50% / 55% 55% 45% 45%; box-shadow: inset 0 -9px 15px rgba(30,110,10,.4), inset 0 9px 11px rgba(255,255,255,.55), 0 16px 26px -10px rgba(40,140,30,.6); display: grid; place-items: center; animation: blobIdle 3.6s ease-in-out infinite; user-select: none; -webkit-user-select: none; }
@keyframes blobIdle { 0%,100% { border-radius: 46% 54% 50% 50% / 55% 55% 45% 45%; transform: translateY(0); } 50% { border-radius: 52% 48% 47% 53% / 48% 52% 48% 52%; transform: translateY(-5px); } }
.jelly-blob.squish { animation: blobSquish .55s cubic-bezier(.2,1.5,.4,1); }
@keyframes blobSquish { 0% { transform: scaleY(.62) scaleX(1.32); } 38% { transform: scaleY(1.16) scaleX(.88); } 68% { transform: scaleY(.94) scaleX(1.05); } 100% { transform: none; } }
.card .thumb {
  aspect-ratio: 16/11; display: grid; place-items: center; font-size: 62px; position: relative;
  background: radial-gradient(120% 120% at 50% 0%, rgba(221,255,58,0.6), rgba(95,224,0,0.16) 60%, transparent), var(--cream);
}
.card .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,0.45), transparent 38%); pointer-events: none; }
.card .thumb .cat { position: absolute; top: 12px; left: 12px; z-index: 1; font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: .4px; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: var(--pink); color: #fff; box-shadow: 0 3px 8px -3px rgba(255,46,154,.55); }
.card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-family: var(--display); font-weight: 700; font-size: 20px; margin: 0 0 8px; color: var(--ink); }
.card p { color: var(--muted); font-size: 14.5px; margin: 0 0 18px; }
.card .row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card .price { font-family: var(--mega); font-weight: 400; font-size: 25px; color: var(--ink); }

/* ---- cart drawer ---- */
.cart-overlay { position: fixed; inset: 0; background: rgba(14,58,30,0.45); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 90; }
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 92vw); z-index: 100;
  background: linear-gradient(180deg, #ffffff, #f0ffd6); border-left: 4px solid var(--sun-2);
  box-shadow: -30px 0 90px rgba(14,58,30,0.3); transform: translateX(100%); transition: transform .3s cubic-bezier(.3,1.2,.4,1);
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer .head { display: flex; align-items: center; justify-content: space-between; padding: 24px 22px 16px; border-bottom: 2px dashed var(--pink); }
.cart-drawer .head h2 { font-family: var(--mega); font-weight: 400; font-size: 24px; margin: 0; color: var(--ink); }
.cart-drawer .x { background: none; border: 0; color: var(--muted); font-size: 28px; line-height: 1; cursor: pointer; padding: 2px 6px; }
.cart-drawer .x:hover { color: var(--pink); }
.cart-items { flex: 1; overflow-y: auto; padding: 10px 22px; }
.cart-empty { color: var(--faint); font-size: 15px; text-align: center; padding: 48px 0; }
.cart-line { display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line .ic { width: 46px; height: 46px; border-radius: 47% 53% 60% 40% / 55% 45% 55% 45%; display: grid; place-items: center; font-size: 24px; background: radial-gradient(circle at 35% 30%, rgba(221,255,58,0.7), rgba(95,224,0,0.22)); box-shadow: inset 0 2px 2px rgba(255,255,255,0.7); }
.cart-line .meta b { display: block; font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--ink); }
.cart-line .meta .unit { color: var(--faint); font-size: 12.5px; font-family: var(--mono); }
.cart-line .qty { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; }
.cart-line .qty button { width: 26px; height: 26px; border-radius: 50%; border: 0; cursor: pointer; background: #fff; box-shadow: inset 0 0 0 2px var(--sun-2); color: var(--ink); font-size: 16px; line-height: 1; font-weight: 700; }
.cart-line .qty button:hover { background: var(--sun-1); }
.cart-line .qty span { font-family: var(--display); font-weight: 700; font-size: 14px; min-width: 18px; text-align: center; }
.cart-line .lineprice { font-family: var(--mega); font-weight: 400; font-size: 16px; text-align: right; color: var(--ink); }
.cart-line .rm { display: block; margin-top: 6px; background: none; border: 0; color: var(--faint); font-size: 11.5px; font-family: var(--mono); cursor: pointer; text-align: right; width: 100%; }
.cart-line .rm:hover { color: var(--pink); }
.cart-foot { padding: 18px 22px 24px; border-top: 2px dashed var(--pink); }
.cart-foot .subtotal { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.cart-foot .subtotal b { font-family: var(--mega); font-weight: 400; font-size: 26px; color: var(--ink); }
.cart-foot .note { color: var(--faint); font-family: var(--mono); font-size: 12px; margin: 0 0 14px; }
.cart-foot .btn-primary { width: 100%; justify-content: center; padding: 16px; font-size: 16.5px; }
.cart-msg { color: var(--pink); font-size: 13px; font-weight: 700; text-align: center; margin: 10px 0 0; min-height: 16px; }

/* ---- footer (slime pool) ---- */
.store-page footer { position: relative; background: linear-gradient(180deg, rgba(14,58,30,0.03), rgba(95,224,0,0.18)); padding: 56px 0; margin-top: 40px; border-top: 3px solid var(--sun-2); }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 22px; font-size: 15px; font-weight: 700; color: var(--muted); flex-wrap: wrap; }
.foot-links a:hover { color: var(--pink); }
.made { font-family: var(--mono); font-weight: 700; font-size: 13px; color: var(--lime-ink); }

/* ---- status pages ---- */
.status-wrap { max-width: 560px; margin: 0 auto; text-align: center; padding: clamp(70px, 12vw, 130px) 24px; }
.status-wrap .mark {
  width: 84px; height: 84px; display: grid; place-items: center; margin: 0 auto 26px;
  background: radial-gradient(circle at 35% 28%, #c9ff6a, #5fe000 60%, #2f9e00);
  border-radius: 47% 53% 60% 40% / 55% 45% 55% 45%;
  box-shadow: inset 0 4px 4px rgba(255,255,255,0.7), inset 0 -7px 12px rgba(0,80,30,0.4), 0 10px 24px -8px rgba(60,200,0,0.6);
  animation: blobMorph 8s ease-in-out infinite;
}
.status-wrap h1 { font-family: var(--mega); font-weight: 400; font-size: clamp(30px, 4.4vw, 44px); margin: 0 0 12px; color: var(--ink); }
.status-wrap p { color: var(--muted); margin: 0 auto 26px; max-width: 44ch; }

/* ---- legal ---- */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) 24px 80px; }
.legal .updated { font-family: var(--mono); font-weight: 700; font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--pink); margin: 0 0 22px; }
.legal h1 { font-family: var(--mega); font-weight: 400; font-size: clamp(32px, 4.6vw, 50px); line-height: 1.02; margin: 0 0 16px; color: var(--ink); }
.legal .intro { color: var(--muted); font-size: 18px; line-height: 1.6; margin: 0 0 8px; }
.legal h2 { font-family: var(--display); font-weight: 700; font-size: 23px; margin: 42px 0 12px; color: var(--ink); }
.legal p, .legal li { color: var(--muted); font-size: 16px; line-height: 1.72; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 20px; }
.legal li { margin: 0 0 9px; }
.legal a { color: var(--lime-ink); font-weight: 700; }
.legal a:hover { color: var(--pink); text-decoration: underline; }
.legal strong { color: var(--ink); font-weight: 700; }
.legal .toc { display: flex; flex-wrap: wrap; gap: 9px 18px; margin: 0 0 8px; padding: 18px 0; border-top: 2px dashed var(--pink); border-bottom: 2px dashed var(--pink); }
.legal .toc a { font-family: var(--mono); font-weight: 700; font-size: 13px; color: var(--muted); }
.legal .toc a:hover { color: var(--pink); text-decoration: none; }

@media (max-width: 900px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
  .nav-links .hide-sm { display: none; }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .001ms !important; animation: none !important; }
}

/* ---------- goo account drawer (account.js) — same shell as the collection drawer ---------- */
#account-drawer { position: fixed; inset: 0; z-index: 145; pointer-events: none; }
#account-drawer .cd-overlay { position: absolute; inset: 0; background: rgba(7,26,11,.5); backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s ease; }
#account-drawer .cd-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(400px, 94vw); background: var(--card, #fff); color: var(--ink, #0e3a1e);
  border-left: 3px solid var(--sun-2, #5fe000); box-shadow: -22px 0 50px -18px rgba(14,58,30,.5); padding: 22px 20px calc(20px + env(safe-area-inset-bottom, 0px));
  transform: translateX(105%); transition: transform .32s cubic-bezier(.25,1.2,.4,1); display: flex; flex-direction: column; }
#account-drawer.open { pointer-events: auto; }
#account-drawer.open .cd-overlay { opacity: 1; }
#account-drawer.open .cd-panel { transform: translateX(0); }
#account-drawer h2 { font-family: var(--display); font-weight: 800; font-size: 21px; margin: 0 0 12px; }
.acct-mail { font-weight: 800; font-size: 15px; margin: 0 0 10px; word-break: break-all; }
.acct-stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.acct-stats span { background: rgba(95,224,0,.14); border: 2px solid rgba(95,224,0,.35); border-radius: 999px; padding: 6px 12px; font-weight: 800; font-size: 13px; }
.acct-note { font-size: 14px; line-height: 1.5; color: rgba(14,58,30,.75); margin: 0 0 14px; }
.acct-fine { font-size: 12px; }
#acct-form { display: flex; flex-direction: column; gap: 10px; margin: 0 0 12px; }
#acct-form input[type="email"] { border: 2px solid rgba(95,224,0,.45); border-radius: 999px; padding: 12px 16px; font: inherit; font-size: 15px; background: #fff; color: var(--ink); }
#acct-form input[type="email"]:focus { outline: none; border-color: var(--sun-2, #5fe000); box-shadow: 0 0 0 4px rgba(95,224,0,.18); }
.acct-msg { font-weight: 700; font-size: 13.5px; min-height: 18px; margin: 0; }
.acct-msg.good { color: #1d7a00; }
.acct-msg.bad { color: #c0392b; }
.account-btn.on { border-color: var(--sun-2, #5fe000); }

/* ---------- 🎮 Playground hub (cart.js openPlayHub) ---------- */
.hub-wrap { max-width: 660px; }
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px; margin-top: 14px; }
.hub-tile { border: 2px solid var(--hub, #5fe000); background: #fff; border-radius: 18px; padding: 16px 10px 12px; cursor: pointer; font: inherit;
  display: flex; flex-direction: column; align-items: center; gap: 6px; transition: transform .18s cubic-bezier(.3,1.5,.5,1), box-shadow .18s ease; }
.hub-tile:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 12px 24px -10px var(--hub, #5fe000); }
.hub-tile:active { transform: scale(.96); }
.hub-emo { font-size: 34px; line-height: 1; filter: drop-shadow(0 4px 6px rgba(14,58,30,.25)); }
.hub-name { font-weight: 800; font-size: 13.5px; color: var(--ink, #0e3a1e); line-height: 1.2; }
.hub-kind { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--hub, #5fe000); border-radius: 999px; padding: 2px 9px; }

/* ---------- checkout "sign in or guest" chooser (cart.js showAcctChoice) ---------- */
#acct-choice { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; }
#acct-choice .ac-overlay { position: absolute; inset: 0; background: rgba(7,26,11,.55); backdrop-filter: blur(4px); animation: pdFade .22s ease; }
#acct-choice .ac-box { position: relative; width: min(360px, 92vw); background: var(--card, #fff); color: var(--ink, #0e3a1e); border-radius: 24px; padding: 22px 20px;
  text-align: center; box-shadow: 0 30px 60px -20px rgba(14,58,30,.6), inset 0 0 0 3px rgba(95,224,0,.35); animation: pdIn .3s cubic-bezier(.2,1.4,.4,1); }
#acct-choice .ac-emo { font-size: 38px; margin: 0; }
#acct-choice h3 { font-family: var(--display); font-weight: 800; font-size: 20px; margin: 6px 0 8px; }
#acct-choice .ac-sub { font-size: 13.5px; line-height: 1.5; color: rgba(14,58,30,.7); margin: 0 0 16px; }
#acct-choice .btn { width: 100%; justify-content: center; margin-bottom: 9px; }

/* ---------- mobile nav: 5 controls must fit a 360px row (was forcing horizontal panning) ---------- */
html, body { overflow-x: clip; } /* nothing is allowed to widen the page */
@media (max-width: 900px) {
  .nav-links .btn-ghost { display: none; } /* "Shop now" pill — redundant with the Shop link + hero CTA */
}
@media (max-width: 640px) {
  .nav-inner { gap: 8px; height: 62px; }
  .brand .wordmark { font-size: 26px; }
  .nav-links { gap: 6px; }
  .nav-links .cart-btn { padding: 8px 10px; gap: 4px; font-size: 13px; }
  .cart-btn .count { min-width: 17px; height: 17px; font-size: 10.5px; padding: 0 4px; }
}

/* ---------- fidget cards: the toy IS the card (no pop-out) ---------- */
.cc-toycard { display: flex; flex-direction: column; cursor: default; }
.cc-toycard .cc-minizone.big { flex: 1; height: auto; min-height: 230px; margin-bottom: 4px; width: 100%; align-self: stretch; }
.cc-toycard .cc-minizone.big .spinner.mini { transform: scale(.8); }

/* jail card: link to the official recall notice the human verified */
.jail-link { display: inline-block; font-size: 12.5px; font-weight: 800; color: #ffd27a; text-decoration: none; margin: 2px 0; }
.jail-link:hover { text-decoration: underline; }

/* ---------- Playground v2: hero, sections, stats, back-navigation ---------- */
.hub-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-right: 44px; }
.hub-dice { border: 2px solid rgba(255,62,165,.5); background: #fff; color: #d61c7e; font: inherit; font-weight: 800; font-size: 13px; border-radius: 999px; padding: 8px 14px; cursor: pointer; white-space: nowrap; }
.hub-dice:hover { background: #ffe9f4; }
.hub-sec { font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: rgba(14,58,30,.6); margin: 18px 0 8px; text-align: left; }
.hub-hero { display: grid; grid-template-columns: minmax(150px, 1fr) 1.2fr; gap: 12px; border: 2px solid var(--hub, #ff3ea5); border-radius: 20px; padding: 14px; margin-top: 12px;
  background: linear-gradient(120deg, #fff, #fff2f9); box-shadow: 0 10px 26px -14px var(--hub, #ff3ea5); text-align: left; }
.hub-hero-info { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.hub-hero-info b { font-family: var(--display); font-size: 18px; }
.hub-hero .hub-emo { font-size: 30px; }
.hub-hero .hub-warmup { height: auto; min-height: 148px; margin: 0; }
.hub-play { font-size: 14px; padding: 10px 18px; margin-top: 4px; }
.hub-desc { display: block; font-size: 11.5px; color: rgba(14,58,30,.55); font-weight: 600; line-height: 1.25; }
.hub-stat { display: inline-block; font-size: 11px; font-weight: 800; color: #b3125f; background: #ffe3f1; border-radius: 999px; padding: 3px 10px; }
.hub-stat.dim { color: rgba(14,58,30,.5); background: rgba(14,58,30,.07); }
.hub-tile .hub-stat { margin-top: 4px; }
.hub-tile .hub-emo { animation: floaty 3.2s ease-in-out infinite; }
.hub-tile:nth-child(2n) .hub-emo { animation-delay: -1.6s; }
.hub-back { position: absolute; top: 14px; left: 16px; z-index: 3; border: 2px solid rgba(95,224,0,.55); background: #fff; color: #1d7a00;
  font: inherit; font-weight: 800; font-size: 13px; border-radius: 999px; padding: 8px 14px; cursor: pointer; box-shadow: 0 4px 12px -4px rgba(14,58,30,.3); }
.hub-back:hover { background: #eeffdd; }
@media (max-width: 560px) { .hub-hero { grid-template-columns: 1fr; } .hub-hero .hub-warmup { min-height: 120px; } }

/* ---------- 🎁 free-gift progress bar (cart drawer) ---------- */
.gift-bar { margin: 14px 2px 4px; font-size: 13px; color: var(--ink, #0e3a1e); background: #fff8e6; border: 2px dashed #ffce6a; border-radius: 14px; padding: 10px 12px; }
.gift-bar.done { background: #eeffdd; border-color: #8de24a; animation: giftPop .4s cubic-bezier(.3,1.6,.4,1); }
@keyframes giftPop { 0% { transform: scale(.96); } 60% { transform: scale(1.03); } 100% { transform: scale(1); } }
.gift-track { height: 8px; border-radius: 999px; background: rgba(14,58,30,.1); margin-top: 7px; overflow: hidden; }
.gift-track i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #ffce6a, #5fe000); transition: width .4s cubic-bezier(.3,1.2,.4,1); }

/* ---------- "Goes great with" upsell row (cart drawer) ---------- */
.upsell { margin: 12px 2px 4px; }
.upsell-t { font-family: var(--display); font-weight: 800; font-size: 13px; color: rgba(14,58,30,.65); }
.upsell-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 7px; }
.upsell-item { border: 2px solid rgba(95,224,0,.35); background: #fff; border-radius: 14px; padding: 8px 6px; cursor: pointer; font: inherit; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 4px; transition: transform .15s cubic-bezier(.3,1.5,.5,1); }
.upsell-item:hover { transform: translateY(-2px); border-color: var(--sun-2, #5fe000); }
.upsell-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 9px; }
.upsell-emoji { font-size: 34px; }
.upsell-item span { font-size: 11px; font-weight: 700; line-height: 1.2; color: var(--ink, #0e3a1e); }
.upsell-item em { font-style: normal; font-size: 11.5px; font-weight: 800; color: #2f7d00; }

/* ---------- 🔥 trending badge (Brain-boosted products) ---------- */
.card-trend { position: absolute; top: 8px; left: 8px; z-index: 2; font-family: var(--display); font-weight: 800; font-size: 10.5px; letter-spacing: .04em;
  color: #7a1500; background: linear-gradient(180deg, #ffe259, #ffa751); border-radius: 999px; padding: 3px 9px; box-shadow: 0 3px 9px -2px rgba(255,120,0,.55), inset 0 1px 1px rgba(255,255,255,.7); }

/* ---------- marketing opt-in row (account drawer) ---------- */
.acct-opt { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink, #0e3a1e); margin: 2px 0 6px; cursor: pointer; }
.acct-opt input { margin-top: 2px; accent-color: #54cc00; width: 16px; height: 16px; }
.acct-opt span { font-weight: 600; color: rgba(14,58,30,.55); }

/* gift pill next to FREE shipping in the detail modal */
.pd-gift { background: #fff3d6 !important; color: #8a5a00 !important; border-color: rgba(255,180,40,.5) !important; }

/* crew walk-by gag: silent stroll along the bottom edge, then gone */
.crew-char.pos-walk { top: auto; bottom: 4px; left: -140px; pointer-events: none; }
.crew-char.pos-walk.in { animation: crewWalk 12s linear forwards; }
.crew-char.pos-walk .crew-body { animation: crewWaddle .55s ease-in-out infinite; }
@keyframes crewWalk { from { left: -140px; } to { left: 104vw; } }
@keyframes crewWaddle { 0%,100% { transform: rotate(-5deg) translateY(0); } 50% { transform: rotate(5deg) translateY(-5px); } }
@media (prefers-reduced-motion: reduce) { .crew-char.pos-walk { display: none; } }

/* Slime in the Coconut logo in nav + footer */
.brand .brand-logo { height:104px; width:auto; display:block; margin:-8px 0 -28px; position:relative; z-index:8; filter: drop-shadow(0 4px 7px rgba(60,30,10,.35)); }
.footer .brand .brand-logo, footer .brand .brand-logo { height:64px; margin:-4px 0 -10px; }
@media (max-width:700px){ .brand .brand-logo { height:72px; margin:-6px 0 -20px; } }

/* drip color picker (nav) */
.theme-pick { position:relative; }
.theme-pick > button { background:#fff; border:2px solid var(--line-strong); border-radius:999px; width:38px; height:38px; font-size:17px; cursor:pointer; line-height:1; }
.theme-pick .swatches { display:none; position:absolute; top:44px; right:0; background:#fff; border:2px solid var(--line-strong); border-radius:14px; padding:8px; gap:7px; z-index:60; box-shadow:0 10px 24px -10px rgba(20,60,20,.4); }
.theme-pick.open .swatches { display:flex; }
.theme-pick .sw { width:26px; height:26px; border-radius:50%; border:2px solid rgba(0,0,0,.18); cursor:pointer; padding:0; }
.theme-pick .sw[aria-pressed="true"] { outline:3px solid var(--ink); outline-offset:1px; }

/* back-to-top goo bubble — follows the picker via --drip */
.to-top { position: fixed; right: 18px; bottom: 20px; z-index: 46; width: 54px; height: 54px; border-radius: 50%; border: 3px solid #fff; background: var(--drip, #54cf00); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px -6px rgba(20,60,20,.5), inset 0 2px 1px rgba(255,255,255,.35); opacity: 0; transform: translateY(74px); pointer-events: none; transition: opacity .25s ease, transform .32s cubic-bezier(.34,1.56,.64,1); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: scale(1.1); }
.to-top:active { transform: scale(.94); }
@media (max-width: 700px) { .to-top { right: 12px; bottom: 14px; width: 48px; height: 48px; } }
@media (prefers-reduced-motion: reduce) { .to-top { transition: opacity .2s ease; transform: none; } }
