/* frenchrxses: built on the Plushstop Playbook V1.0 system (soft + pop palette,
   Rodger Black headings, Printvetica body, 8px scale), led by pink.
   Text is Cocoa (from Noelle's media kit): 9.3:1 on Bubble, 12.4:1 on Off White.

   Practices applied (GOV.UK Design System, Shopify theme guidelines, WCAG 2.2 AA):
   - one strong, consistent focus style (3px Cocoa ring + Pop Butter halo) that
     works on every background; never removed
   - 44px+ touch targets; skip link; real buttons/links; labels on every field
   - every animation is decorative and switched off under prefers-reduced-motion;
     content is never hidden if JavaScript fails
   - images carry width/height (no layout shift); fonts swap; minimal JS */

@font-face {
  font-family: "Printvetica";
  src: url("/fonts/printvetica.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

@property --spin { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

:root {
  --bubble: #FFC7E0;       /* page */
  --pop-bubble: #FF8DC1;   /* buttons, accents */
  --pop-hot: #FF6FB0;      /* hover on pink */
  --off-white: #F8F5E8;    /* cards, bar, footer */
  --cocoa: #4A2321;        /* text, outlines */
  --butter: #FFF8A6;       /* Plushstop card */
  --pop-butter: #FFED63;   /* focus halo */
  --ps-blue: #5C63BC;      /* Plushstop Blue */
  --cloud: #8CD1F2;
  --mint: #97EF97;
  --peach: #FCC172;
  --error: #A0124A;
  --rainbow: #FF8DC1, #FCC172, #FFED63, #97EF97, #8CD1F2, #AFBEFF, #FF8DC1;

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px; --s8: 64px; --s12: 96px;
  --wrap: clamp(1040px, 60vw, 1200px);  /* grows a little on big monitors */
  --radius: 32px;
  --shadow: 0 6px 0 var(--cocoa);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --font: "Printvetica", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Fluid scale (Utopia method: interpolate 360px -> 1280px viewports) */
  --step-0: clamp(17px, 16.2px + .22vw, 19px);      /* body */
  --step-1: clamp(18px, 16.4px + .45vw, 22px);      /* ledes */
  --step-2: clamp(22px, 18.9px + .87vw, 30px);      /* stat numbers */
  --head: clamp(26px, 19px + 1.95vw, 44px);         /* section heading art height */
  --section: clamp(64px, 47px + 4.7vw, 112px);      /* space between sections */
  --gutter: clamp(16px, 11px + 1.4vw, 24px);
  /* Safe areas (notches, home indicator, landscape phones) */
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

/* ---------- Base */
*, *::before, *::after { box-sizing: border-box; }
html {
  /* Overscroll (rubber-band) areas above the bar and below the footer are filled
     with the root's solid background colour, so it matches the bar + footer. */
  background-color: var(--off-white);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  /* Pink + dots are image layers; the solid colour underneath stays Off White so
     no browser can show pink in the overscroll area. */
  background-color: var(--off-white);
  background-image:
    radial-gradient(rgba(255,255,255,.45) 2px, transparent 2.5px),
    linear-gradient(var(--bubble), var(--bubble));
  background-size: 28px 28px, 100% 100%;
  color: var(--cocoa);
  font: 400 var(--step-0)/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
button, a, input, select, textarea { touch-action: manipulation; }
::selection { background: var(--pop-butter); color: var(--cocoa); }

/* One focus style everywhere (GOV.UK pattern: dark ring + bright halo). */
:focus-visible {
  outline: 3px solid var(--cocoa);
  outline-offset: 3px;
  box-shadow: 0 0 0 7px var(--pop-butter);
}
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
main:focus { outline: none; }
section[id] { scroll-margin-top: 88px; }   /* clears the sticky bar */

.skip {
  position: absolute; left: var(--s2); top: -100px; z-index: 100;
  padding: 12px 20px; border-radius: 999px;
  background: var(--cocoa); color: var(--off-white); font-size: 15px; text-decoration: none;
}
.skip:focus { top: var(--s2); }

/* Scroll progress (CSS-only; browsers without scroll timelines just skip it) */
.progress { position: absolute; inset: auto 0 -2px 0; height: 3px; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--rainbow)); transform-origin: 0 50%; transform: scaleX(0); }
@supports (animation-timeline: scroll()) {
  .progress { animation: progress linear both; animation-timeline: scroll(root); }
  @keyframes progress { to { transform: scaleX(1); } }
}

/* ---------- Sticky bar (Dawn-style: appears once the hero is out of view) */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 40;
  display: flex; align-items: center; gap: var(--s2);
  padding: calc(8px + var(--safe-t)) max(calc(var(--gutter) + var(--safe-r)), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 8px max(calc(var(--gutter) + var(--safe-l)), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  background: rgba(248, 245, 232, .9);
  -webkit-backdrop-filter: blur(12px) saturate(1.4); backdrop-filter: blur(12px) saturate(1.4);
  border-bottom: 2px solid var(--cocoa);
  transform: translateY(-110%); transition: transform .45s var(--ease-out);
}
.topbar.is-shown { transform: none; }
.topbar__brand { flex-shrink: 0; border-radius: 12px; display: inline-flex; align-items: center; min-height: 44px; }
.topbar__brand img { height: 40px; width: auto; transition: transform .3s var(--bounce); }
.topbar__brand:hover img { transform: rotate(-3deg) scale(1.05); }
.topbar__nav { display: flex; gap: 4px; margin-left: auto; }
.topbar__nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  font-size: 14px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  transition: background-color .2s, transform .2s var(--bounce);
}
.topbar__nav a:hover { background: var(--bubble); transform: translateY(-1px); }
.topbar__nav a[aria-current="true"] { background: var(--pop-bubble); box-shadow: inset 0 0 0 2px var(--cocoa); }
.topbar .btn--sm { min-height: 44px; padding: 0 20px; font-size: 13px; box-shadow: 0 3px 0 var(--cocoa); }
.topbar .btn--sm:hover { box-shadow: 0 5px 0 var(--cocoa); }
@media (max-width: 820px) {
  .topbar__nav { display: none; }
  .topbar .btn { margin-left: auto; }
  .topbar__brand img { height: 34px; }
}

/* ---------- Marquee */
.marquee { overflow: hidden; background: var(--off-white); border-bottom: 2px solid var(--cocoa); padding: 12px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__set { display: flex; align-items: center; }
.marquee__set img { height: 16px; width: auto; margin-right: 32px; }
.marquee__set .mq-heart { height: 18px; animation: beat 1.6s ease-in-out infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes beat { 0%, 100% { scale: 1; } 15% { scale: 1.25; } 30% { scale: 1; } 45% { scale: 1.15; } }

/* ---------- Layout */
main { max-width: calc(var(--wrap) + var(--safe-l) + var(--safe-r)); margin: 0 auto; padding: 0 calc(var(--gutter) + var(--safe-r)) 0 calc(var(--gutter) + var(--safe-l)); }
.section { position: relative; padding-top: var(--section); display: flex; flex-direction: column; align-items: center; gap: var(--s4); }
.heading { margin: 0; }
.heading img { height: var(--head); width: auto; }
.card {
  width: 100%;
  background: var(--off-white);
  border: 2px solid var(--cocoa);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Buttons: squish, lift, shine sweep, icon wiggle */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 var(--s4);
  border: 2px solid var(--cocoa); border-radius: 999px;
  font: inherit; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  color: var(--cocoa); background: var(--off-white);
  box-shadow: 0 4px 0 var(--cocoa);
  cursor: pointer; user-select: none;
  transition: transform .25s var(--bounce), box-shadow .25s var(--bounce), background-color .2s ease;
}
.btn::after {  /* glossy sweep */
  content: ""; position: absolute; inset: -2px auto -2px -60%; width: 45%; z-index: -1;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.75), transparent);
  transform: skewX(-20deg); transition: left .6s var(--ease-out);
}
.btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 7px 0 var(--cocoa); }
.btn:hover::after { left: 115%; }
.btn:active { transform: translateY(3px) scale(.97); box-shadow: 0 1px 0 var(--cocoa); transition-duration: .08s; }
.btn:hover .ico { animation: wiggle .5s ease; }
@keyframes wiggle { 25% { rotate: -14deg; } 50% { rotate: 10deg; } 75% { rotate: -6deg; } }
.btn--pop { background: var(--pop-bubble); }
.btn--pop:hover { background: var(--pop-hot); }
.btn--ghost { background: var(--off-white); }
.btn--ghost:hover { background: #fff; }
.btn--blue { background: var(--ps-blue); color: #fff; border-color: var(--ps-blue); box-shadow: 0 4px 0 #3F4594; }
.btn--blue:hover { box-shadow: 0 7px 0 #3F4594; background: #4F56AE; }
.btn--blue:active { box-shadow: 0 1px 0 #3F4594; }
.btn--ghost-blue { color: var(--ps-blue); border-color: var(--ps-blue); background: #fff; box-shadow: 0 4px 0 var(--ps-blue); }
.btn--ghost-blue:hover { box-shadow: 0 7px 0 var(--ps-blue); }
.btn--ghost-blue:active { box-shadow: 0 1px 0 var(--ps-blue); }
.ico { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s2); }

/* Primary CTA: animated rainbow border (falls back to a static rainbow) */
.btn--rainbow {
  border: 3px solid transparent;
  background:
    linear-gradient(var(--pop-bubble), var(--pop-bubble)) padding-box,
    conic-gradient(from var(--spin), var(--rainbow)) border-box;
  animation: spin 3s linear infinite;
}
.btn--rainbow:hover {
  background:
    linear-gradient(var(--pop-hot), var(--pop-hot)) padding-box,
    conic-gradient(from var(--spin), var(--rainbow)) border-box;
}
@keyframes spin { to { --spin: 360deg; } }

/* Click sparkles (spawned by fx.js) */
.spark {
  position: fixed; z-index: 60; pointer-events: none;
  font-size: var(--size, 16px); line-height: 1; color: var(--c, var(--pop-bubble));
  text-shadow: 0 0 0 var(--cocoa);
  animation: spark .75s var(--ease-out) forwards;
}
@keyframes spark {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(.4) rotate(0); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1) rotate(var(--rot)); }
}

/* ---------- Stickers */
.sticker { position: absolute; pointer-events: none; width: 96px; height: auto;
  animation: float 6s ease-in-out infinite;
  translate: calc(var(--px, 0) * var(--depth, 0) * 1px) calc(var(--py, 0) * var(--depth, 0) * 1px);
  transition: translate .4s var(--ease-out); }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-8px) rotate(var(--r, 0deg)); } }

/* ---------- Hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s8); align-items: center;
  padding-top: var(--s8);
}
.hero__art { position: relative; }
.hero__portrait {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border: 2px solid var(--cocoa); border-radius: 999px 999px var(--radius) var(--radius);
  box-shadow: var(--shadow); background: var(--off-white);
  translate: calc(var(--px, 0) * -4px) calc(var(--py, 0) * -4px);
  transition: translate .5s var(--ease-out);
}
.s-bow { width: clamp(84px, 60px + 5vw, 124px); top: 22%; left: -48px; --r: -14deg; --depth: 14; }
.s-heels { width: clamp(88px, 62px + 5.2vw, 128px); bottom: -24px; right: -44px; --r: 10deg; --depth: 18; animation-delay: -2s; }
.s-sparkle { width: 56px; top: 18%; right: -20px; --depth: 24; animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(.75) rotate(20deg); } }

.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s3); }
.hero__title { margin: 0 0 calc(var(--s2) * -1); }
.hero__title img { width: min(440px, 100%); height: auto; margin-left: -12px; filter: drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff) drop-shadow(0 4px 0 rgba(74,35,33,.18)); }
/* Light sweep that only travels across the wordmark's letters */
.shine { position: relative; display: block; width: fit-content; }
.shine::after {
  content: ""; position: absolute; inset: 0 0 0 -12px; pointer-events: none;
  background: linear-gradient(100deg, transparent 35%, rgba(255,255,255,.95) 50%, transparent 65%) no-repeat;
  background-size: 250% 100%; background-position: 150% 0;
  -webkit-mask: url("/assets/wordmark.webp") 0 0 / 100% 100% no-repeat; mask: url("/assets/wordmark.webp") 0 0 / 100% 100% no-repeat;
  animation: sheen 6s ease-in-out 1.2s infinite;
}
@keyframes sheen { 0% { background-position: 150% 0; } 35%, 100% { background-position: -60% 0; } }
.hero__lede { font-size: var(--step-1); max-width: 34ch; }

.stats { margin: 0; padding: 0; list-style: none; }
.hero .stats, .hero .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); width: 100%; max-width: 520px; }
.stats li {
  position: relative; min-width: 0;
  display: flex; flex-direction: column; justify-content: center; padding: 12px 20px;
  background: var(--off-white); border: 2px solid var(--cocoa); border-radius: 20px; box-shadow: 0 4px 0 var(--cocoa);
}
.stats strong { font-size: var(--step-2); line-height: 1.1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.stats__top { display: flex; align-items: center; gap: 8px; }
.stats__label { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; text-wrap: balance; }
.stats__hl { background: var(--pop-bubble) !important; transition: transform .25s var(--bounce), box-shadow .25s var(--bounce), background-color .2s; }
.stats__hl:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 7px 0 var(--cocoa); background: var(--pop-hot) !important; }
.stats__hl:active { transform: translateY(3px) scale(.98); box-shadow: 0 1px 0 var(--cocoa); }
.stats__hl:hover .stats__ico { animation: wiggle .5s ease; }
.stats__link { position: absolute; inset: -2px; border-radius: 20px; }
/* Live indicator on the YouTube count */
.live {
  position: absolute; top: -12px; right: 14px; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0 10px 0 8px; border-radius: 999px; border: 2px solid var(--cocoa);
  background: var(--off-white); font-size: 12px; line-height: 22px; letter-spacing: .08em; text-transform: uppercase;
  max-width: none !important;
}
.live i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #E0245E; }
.live i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #E0245E; animation: live-ping 1.6s ease-out infinite; }
@keyframes live-ping { from { opacity: .7; scale: 1; } to { opacity: 0; scale: 2.8; } }
.is-bump { animation: bump .7s var(--bounce); }
@keyframes bump { 30% { scale: 1.18; color: #E0245E; } }
.stats__ico { flex-shrink: 0; width: 30px; height: 30px; fill: var(--cocoa); }
.hero .actions .btn { width: 100%; padding: 0 var(--s2); }

/* ---------- Video */
.card--video { overflow: hidden; }
.player { position: relative; aspect-ratio: 16 / 9; background: var(--cocoa); }
.player iframe, .player__poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__poster { padding: 0; cursor: pointer; background: var(--cocoa); overflow: hidden; }
.player__poster img { width: 100%; height: 100%; object-fit: cover; transition: scale .6s var(--ease-out), filter .3s; }
.player__poster:hover img { scale: 1.04; filter: saturate(1.15); }
.player__btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 88px; height: 88px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--pop-bubble); border: 3px solid var(--cocoa); box-shadow: 0 5px 0 var(--cocoa);
  transition: transform .3s var(--bounce), background-color .2s;
}
.player__ring { position: absolute; inset: -3px; border-radius: 50%; border: 3px solid #fff; animation: ring 2s ease-out infinite; }
@keyframes ring { from { opacity: .9; scale: 1; } to { opacity: 0; scale: 1.7; } }
.player__btn svg { position: relative; width: 40px; height: 40px; fill: var(--cocoa); margin-left: 4px; }
.player__poster:hover .player__btn { transform: translate(-50%, -50%) scale(1.12); background: var(--pop-hot); }
.player__poster:active .player__btn { transform: translate(-50%, -50%) scale(.95); }
.video__meta { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); padding: var(--s3) var(--s4); border-top: 2px solid var(--cocoa); }
.video__title { font-size: 20px; line-height: 1.3; text-wrap: balance; }
.video__date { font-size: 14px; white-space: nowrap; opacity: .8; }

.shorts { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); }
.short {
  position: relative; display: block; aspect-ratio: 9 / 14; overflow: hidden; text-decoration: none;
  border: 2px solid var(--cocoa); border-radius: 24px; box-shadow: 0 4px 0 var(--cocoa); background: var(--cocoa);
}
.short img { width: 100%; height: 100%; object-fit: cover; transition: scale .6s var(--ease-out); }
.short:hover img { scale: 1.06; }
.short::before {  /* play badge on hover */
  content: ""; position: absolute; z-index: 1; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%;
  background: var(--pop-bubble) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%234A2321'/%3E%3C/svg%3E") center / 28px no-repeat;
  border: 2px solid var(--cocoa); opacity: 0; scale: .6; transition: opacity .2s, scale .3s var(--bounce);
}
.short:hover::before, .short:focus-visible::before { opacity: 1; scale: 1; }
.short__tag { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 2px 10px; border-radius: 999px; background: var(--pop-bubble); border: 2px solid var(--cocoa); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.short__title {
  position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s4) 14px 14px;
  font-size: 14px; line-height: 1.3; color: #fff;
  background: linear-gradient(transparent, rgba(40,15,15,.85));
}
.s-rainbow { width: 150px; top: 56px; right: -24px; --r: 8deg; }

/* Shared tilt for cards (fx.js sets --rx/--ry on fine pointers) */
.tilt {
  transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0));
  transition: transform .35s var(--ease-out), box-shadow .25s var(--bounce);
  will-change: transform;
}
.tilt:hover { --lift: -4px; box-shadow: 0 8px 0 var(--cocoa); }
.tilt.is-tilting { transition: transform .08s linear, box-shadow .25s var(--bounce); }

/* ---------- Socials */
.socials { width: 100%; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.social {
  height: 100%; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center;
  padding: 24px 12px 20px; text-decoration: none;
  background: var(--off-white); border: 2px solid var(--cocoa); border-radius: 24px; box-shadow: 0 4px 0 var(--cocoa);
  position: relative;
}
.social__ico { color: var(--cocoa);
  width: 52px; height: 52px; padding: 13px; margin-bottom: 8px; border-radius: 50%;
  background: var(--pop-bubble); fill: var(--cocoa); border: 2px solid var(--cocoa);
  transition: transform .4s var(--bounce), background-color .2s, fill .2s;
}
@media (hover: hover) { .social:hover .social__ico { transform: rotate(-12deg) scale(1.15); background: var(--cocoa); fill: var(--pop-bubble); color: var(--pop-bubble); } }
.social__name { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.social__handle { font-size: 16px; max-width: 100%; overflow-wrap: anywhere; }
.social__count { position: absolute; top: -12px; right: 14px; padding: 0 10px; border-radius: 999px; background: var(--butter); border: 2px solid var(--cocoa); font-size: 13px; line-height: 22px; }

/* ---------- UGC */
.tabs { position: relative; display: inline-flex; padding: 4px; gap: 4px; background: var(--off-white); border: 2px solid var(--cocoa); border-radius: 999px; }
.tabs__pill {
  position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px;
  background: var(--pop-bubble); box-shadow: inset 0 0 0 2px var(--cocoa);
  transition: left .4s var(--bounce), width .4s var(--bounce);
}
.tab { position: relative; z-index: 1; min-height: 44px; font: inherit; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--cocoa); background: none; border: 0; border-radius: 999px; padding: 10px 20px; cursor: pointer; transition: transform .2s var(--bounce); }
.tab:hover { transform: translateY(-1px); }
.tab:active { transform: scale(.96); }
.tab[aria-selected="true"] { background: var(--pop-bubble); box-shadow: inset 0 0 0 2px var(--cocoa); }
.has-pill .tab[aria-selected="true"] { background: none; box-shadow: none; }
.ugc { width: 100%; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); min-height: 200px; }
.item {
  height: 100%; display: flex; flex-direction: column; text-decoration: none; overflow: hidden;
  background: var(--off-white); border: 2px solid var(--cocoa); border-radius: 24px; box-shadow: 0 4px 0 var(--cocoa);
}
.badge {
  position: absolute; z-index: 1; left: 10px; top: 10px;
  padding: 3px 10px; border-radius: 999px; border: 2px solid var(--cocoa);
  font-size: 12px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3;
  box-shadow: 0 2px 0 var(--cocoa);
}
.badge--rank { background: var(--pop-butter); }
.badge--new { background: var(--mint); animation: beat 2.4s ease-in-out infinite; }
.item__img { position: relative; aspect-ratio: 1; overflow: hidden; background: radial-gradient(circle at 50% 45%, #fff 0, #FFE3EF 70%); border-bottom: 2px solid var(--cocoa); }
.item__img img { width: 100%; height: 100%; object-fit: contain; transition: scale .5s var(--bounce), rotate .5s var(--bounce); }
.item:hover .item__img img { scale: 1.08; rotate: -3deg; }
.item__img::after {  /* sparkle glint on hover */
  content: "✦"; position: absolute; right: 12px; top: 8px; font-size: 22px; color: var(--pop-bubble);
  text-shadow: 0 0 0 var(--cocoa); opacity: 0; scale: .3; transition: opacity .2s, scale .4s var(--bounce);
}
.item:hover .item__img::after { opacity: 1; scale: 1; animation: twinkle 1.4s ease-in-out infinite; }
.item__name { padding: 12px 16px 4px; font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item__meta { margin-top: auto; padding: 4px 16px 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; }
.item__price { display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.robux { width: 15px; height: 15px; fill: currentColor; }
.item__fav { opacity: .85; }
.s-kitty { width: 120px; top: 72px; left: -36px; --r: -8deg; animation-delay: -3s; }

/* ---------- Plushstop */
.card--plushstop {
  background: var(--butter); color: var(--ps-blue); border-color: var(--ps-blue); box-shadow: 0 6px 0 var(--ps-blue);
  display: flex; flex-direction: column; align-items: center; gap: var(--s3); text-align: center;
  padding: var(--s6) var(--s4);
}
.ps__logo { width: 220px; height: auto; transition: transform .4s var(--bounce); }
.ps__logo:hover { transform: rotate(-3deg) scale(1.05); }
.ps__copy { max-width: 40ch; font-size: 19px; }
.ps__stats { display: flex; gap: var(--s2); margin: 0; padding: 0; list-style: none; }
.ps__stats li { display: flex; flex-direction: column; padding: 10px 22px; background: #fff; border: 2px solid var(--ps-blue); border-radius: 20px; }
.ps__stats strong { font-size: 26px; line-height: 1.1; }
.ps__stats span { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.ps__cast { display: flex; gap: var(--s3); align-items: flex-end; }
.ps__cast img { height: 72px; width: auto; animation: bob 2.4s ease-in-out infinite; cursor: pointer; transition: scale .3s var(--bounce); }
.ps__cast img:hover { scale: 1.15; }
.ps__cast img.is-hop { animation: hop .6s var(--bounce); }
.ps__cast img:nth-child(2) { animation-delay: -.6s; } .ps__cast img:nth-child(3) { animation-delay: -1.2s; } .ps__cast img:nth-child(4) { animation-delay: -1.8s; }
@keyframes bob { 50% { transform: translateY(-6px); } }
@keyframes hop { 0% { transform: translateY(0); } 40% { transform: translateY(-26px) rotate(-10deg); } 70% { transform: translateY(0) scaleY(.85); } 100% { transform: translateY(0); } }
.card--plushstop .actions { justify-content: center; }

/* ---------- Brands */
.brands { width: 100%; margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3); }
.brand { display: grid; place-items: center; min-width: 160px; height: 88px; padding: var(--s2) var(--s3); background: var(--off-white); border: 2px solid var(--cocoa); border-radius: 24px; }
.brand img { max-height: 48px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.brand:hover img { filter: none; opacity: 1; }

/* ---------- Work with me */
.card--work { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s6); padding: var(--s6); }
.work__info { display: flex; flex-direction: column; gap: var(--s3); }
.work__lede { font-size: var(--step-1); max-width: 40ch; }
.work__mail { font-size: 16px; }
.work__mail a, .footer__top {
  text-decoration: none;
  background: linear-gradient(var(--pop-bubble), var(--pop-bubble)) 0 100% / 100% 3px no-repeat;
  padding-bottom: 2px; transition: background-size .3s var(--ease-out);
}
.work__mail a:hover, .footer__top:hover { background-size: 100% 100%; }

.form { display: flex; flex-direction: column; gap: var(--s2); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; font: inherit; font-size: 16px; color: var(--cocoa);
  padding: 12px 16px; background: #fff; border: 2px solid var(--cocoa); border-radius: 16px;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.field input:hover, .field select:hover, .field textarea:hover { box-shadow: 0 3px 0 var(--cocoa); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--cocoa); outline-offset: 2px; box-shadow: 0 0 0 7px var(--pop-butter); }
.field textarea { resize: vertical; min-height: 128px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A2321' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
}
.field [aria-invalid="true"] { border-color: var(--error); border-width: 3px; animation: shake .35s ease; }
@keyframes shake { 25% { translate: -5px 0; } 50% { translate: 4px 0; } 75% { translate: -2px 0; } }
.field__error { font-size: 14px; color: var(--error); }
.field__error::before { content: "⚠ "; }
.field__error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { align-self: flex-start; margin-top: var(--s1); }
.form__submit[disabled] { opacity: .6; cursor: progress; transform: none; }
.form__status { font-size: 15px; }
.form__status:empty { display: none; }
.form--sent .field, .form--sent .form__submit { display: none; }
.form--sent .form__status { font-size: 20px; padding: var(--s4) 0; text-align: center; animation: pop-in .6s var(--bounce); }
.s-rose { width: 88px; top: 96px; left: -20px; --r: -16deg; }
.s-star { width: 120px; bottom: -40px; right: -36px; --r: 6deg; animation-delay: -1.5s; }

/* ---------- Footer */
.footer { margin-top: var(--section); padding: var(--s5) var(--s3) calc(var(--s6) + var(--safe-b)); display: flex; flex-direction: column; align-items: center; gap: var(--s2); text-align: center; font-size: 14px; border-top: 2px solid var(--cocoa); background: var(--off-white); }
.footer__bow { width: 64px; height: auto; transition: transform .5s var(--bounce); }
.footer__bow:hover { transform: rotate(-12deg) scale(1.15); }
.footer__socials { display: flex; gap: 12px; margin: 0; padding: 0; list-style: none; }
.footer__socials a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--cocoa); background: var(--bubble); box-shadow: 0 3px 0 var(--cocoa);
  transition: transform .3s var(--bounce), box-shadow .3s var(--bounce), background-color .2s;
}
.footer__socials a:hover { transform: translateY(-3px) rotate(-8deg); box-shadow: 0 6px 0 var(--cocoa); background: var(--pop-bubble); }
.footer__socials a:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--cocoa); }
.footer__socials svg { width: 20px; height: 20px; fill: var(--cocoa); color: var(--cocoa); }
.footer__top { font-size: 14px; }

/* ---------- Entrance + scroll reveals (only when JS is on) */
@keyframes pop-in { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }
@keyframes rise { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
.js .hero__portrait { animation: pop-in .8s var(--bounce) both; }
.js .hero__art .sticker { animation: pop-in .6s var(--bounce) both, float 6s ease-in-out 1.2s infinite; }
.js .hero__art .s-bow { animation-delay: .45s, 1.2s; }
.js .hero__art .s-heels { animation-delay: .6s, 1.2s; }
.js .hero__art .s-sparkle { animation: pop-in .6s var(--bounce) .75s both, twinkle 3s ease-in-out 1.4s infinite; }
.js .hero__copy > * { animation: rise .7s var(--ease-out) both; }
.js .hero__copy > :nth-child(1) { animation-delay: .15s; }
.js .hero__copy > :nth-child(2) { animation-delay: .3s; }
.js .hero__copy > :nth-child(3) { animation-delay: .45s; }
.js .hero__copy > :nth-child(4) { animation-delay: .6s; }

.js .reveal { opacity: 0; translate: 0 32px; transition: opacity .7s var(--ease-out), translate .7s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-in, .fx-ready .reveal { opacity: 1; translate: 0 0; }
.js .heading.reveal { scale: .85; transition-property: opacity, translate, scale; transition-timing-function: var(--ease-out), var(--ease-out), var(--bounce); }
.js .heading.reveal.is-in, .fx-ready .heading.reveal { scale: 1; }
/* grids: children pop in one after another */
.js .stagger > * { opacity: 0; }
.js .stagger.is-in > *, .fx-ready .stagger > * { animation: rise .55s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms); }

/* ---------- Responsive */
@media (max-width: 1120px) {
  .s-rainbow, .s-kitty, .s-rose { display: none; }
  .s-star { right: 0; }
}
@media (max-width: 880px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: var(--s5); text-align: center; padding-top: var(--s6); }
  .hero__art { width: min(340px, 80%); margin: 0 auto; }
  .hero__copy { align-items: center; }
  .hero .stats, .hero .actions { margin: 0 auto; }
  .stats li { align-items: center; text-align: center; }
  .stats__top { justify-content: center; }
  .hero__title img { margin: 0 auto; width: min(360px, 100%); }
  .shine { margin: 0 auto; }
  .shine::after { inset: 0; }
  .socials, .ugc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .socials > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .shorts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--work { grid-template-columns: minmax(0, 1fr); padding: var(--s4); gap: var(--s4); }
}
@media (max-width: 560px) {
  .section { gap: var(--s3); }
  .stats li { padding: 18px 10px 14px; }
  .stats__ico { width: 24px; height: 24px; }
  .hero .actions { grid-template-columns: minmax(0, 1fr); }
  .stats__label { font-size: 12px; letter-spacing: .04em; }
  .s-bow { left: -28px; top: 20%; }
  .s-heels { right: -24px; }
  .socials { gap: var(--s2); }
  .social { padding: 20px 8px 16px; }
  .social__handle { font-size: 14px; }
  .ugc, .shorts { gap: var(--s2); }
  .item__name { padding: 10px 12px 2px; font-size: 14px; }
  .item__meta { padding: 2px 12px 12px; font-size: 13px; }
  .video__meta { flex-direction: column; gap: 4px; padding: var(--s2) var(--s3); }
  .video__title { font-size: 17px; }
  .player__btn { width: 68px; height: 68px; }
  .player__btn svg { width: 30px; height: 30px; }
  .card--plushstop { padding: var(--s4) var(--s3); }
  .ps__cast img { height: 56px; }
  .card--work { padding: var(--s3); }
  .form__submit, .actions .btn { width: 100%; }
  .s-star { display: none; }
}

/* Touch screens: no hover-only lifts sticking after a tap */
@media (hover: none) {
  .tilt:hover { --lift: 0; box-shadow: 0 4px 0 var(--cocoa); }
  .btn:hover { transform: none; box-shadow: 0 4px 0 var(--cocoa); }
  .btn--blue:hover { box-shadow: 0 4px 0 #3F4594; }
  .btn--ghost-blue:hover { box-shadow: 0 4px 0 var(--ps-blue); }
}

/* Windows high-contrast: keep shapes visible */
@media (forced-colors: active) {
  .btn, .card, .item, .social, .stats li, .tabs, .tab[aria-selected="true"] { border: 2px solid CanvasText; }
  .progress, .spark, .shine::after { display: none; }
}

/* Motion off: everything static and fully visible */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee__track, .shine::after, .player__ring { animation: none !important; }
  .js .reveal, .js .stagger > * { opacity: 1 !important; translate: none !important; scale: none !important; }
  .sticker { translate: none; }
  .tilt { transform: none !important; }
  .progress { display: none; }
}


/* =====================================================================
   Mobile + scaling layer
   ===================================================================== */

/* Components scale with their own width (container queries), not just the screen */
.ugc > li, .socials > li, .stats li, .card--work, .shorts > a { container-type: inline-size; }
@container (max-width: 200px) {
  .item__name { padding: 10px 12px 2px; font-size: 14px; }
  .item__meta { padding: 2px 12px 12px; font-size: 13px; }
  .badge { left: 8px; top: 8px; font-size: 12px; padding: 2px 8px; letter-spacing: .03em; }
  .short__title { font-size: 13px; padding: 24px 10px 10px; }
}
@container (max-width: 160px) {
  .item__fav { display: none; }   /* keep price, drop the secondary stat when space is tight */
}


/* Touch: pressed feedback for cards (no hover on phones) */
@media (hover: none) {
  .item:active, .social:active, .short:active { scale: .97; transition: scale .1s; }
}
@media (pointer: coarse) {
  .tab { min-height: 48px; }
  .topbar__nav a { min-height: 48px; }
}

/* Phones: Shorts become a swipeable row; socials become a thumb-friendly list */
@media (max-width: 880px) {
  .shorts {
    display: flex; gap: var(--s2); overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 10px;
    scrollbar-width: none;
  }
  .shorts::-webkit-scrollbar { display: none; }
  .shorts > .short { flex: 0 0 clamp(150px, 42vw, 220px); scroll-snap-align: start; }
}
@media (max-width: 560px) {
  .socials { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .social {
    flex-direction: row; align-items: center; gap: 0 14px; text-align: left;
    padding: 10px 44px 10px 12px; min-height: 64px;
    display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto;
  }
  .social__ico { grid-row: 1 / span 2; width: 44px; height: 44px; padding: 11px; margin: 0; }
  .social__name { font-size: 12px; }
  .social__handle { font-size: 16px; overflow-wrap: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .social::after {  /* chevron */
    content: ""; position: absolute; right: 16px; top: 50%; width: 10px; height: 10px; margin-top: -6px;
    border-right: 2.5px solid var(--cocoa); border-top: 2.5px solid var(--cocoa); transform: rotate(45deg);
  }
  .social__count { top: 50%; right: 38px; margin-top: -12px; }
}

/* Phones: sticky bar stays at the top; just tighter */
@media (max-width: 640px) {
  .topbar { gap: 12px; }
}

.ugc-panel { width: 100%; }
.btn { max-width: 100%; }
@media (max-width: 360px) {
  .btn { white-space: normal; text-align: center; line-height: 1.2; padding-block: 10px; }
}

/* =====================================================================
   Reel: YouTube Shorts + TikToks coverflow (reel.js)
   ===================================================================== */
.reel { --card: clamp(200px, 52vw, 250px); position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; gap: var(--s2); }
.reel__label { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.pill { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; border: 2px solid var(--cocoa); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.4; }
.pill--yt { background: var(--pop-bubble); }
.pill--tt { background: var(--cloud); }
.reel__track {
  /* full-bleed: runs edge to edge of the screen and fades out at both sides,
     so no card is ever chopped by the content column */
  --fade: clamp(28px, 7vw, 140px);
  width: 100vw; margin-inline: calc(50% - 50vw);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
  display: flex; gap: var(--s3); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: var(--s3) calc(50% - var(--card) / 2) var(--s4); perspective: 1200px; scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.reel__track::-webkit-scrollbar { display: none; }
.reel__track:focus-visible { outline-offset: -3px; }
.reel__card {
  flex: 0 0 var(--card); margin: 0; scroll-snap-align: center;
  display: flex; flex-direction: column; gap: 10px;
  transform-origin: 50% 50%; transition: transform .45s var(--ease-out), opacity .45s ease; will-change: transform;
}
.reel__frame {
  position: relative; aspect-ratio: 9 / 16; overflow: hidden;
  border: 3px solid var(--cocoa); border-radius: 26px; box-shadow: 0 6px 0 var(--cocoa);
  background: var(--off-white);
  transition: box-shadow .3s var(--bounce);
}
.reel__card:nth-child(3n+1) .reel__frame { background: var(--bubble); }
.reel__card:nth-child(3n+2) .reel__frame { background: #DDF3FE; }
.reel__card:nth-child(3n+3) .reel__frame { background: var(--butter); }
.reel__card.is-center .reel__frame { box-shadow: 0 6px 0 var(--cocoa), 0 0 0 6px var(--pop-bubble), 0 18px 40px rgba(255, 111, 176, .35); }
.reel__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reel__caption { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; font-size: 14px; line-height: 1.3; }
.reel__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.reel__card:not(.is-center) .reel__open { visibility: hidden; }   /* open-link only on the video in focus */
.reel__card:not(.is-center) .reel__frame { filter: saturate(.85); }
.reel__open { display: grid; place-items: center; width: 44px; height: 44px; margin: -10px -8px -10px 0; border-radius: 50%; transition: background-color .2s, transform .25s var(--bounce); }
.reel__open:hover { background: var(--bubble); transform: rotate(-8deg) scale(1.08); }
.reel__open svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.reel__nav { display: flex; justify-content: center; gap: var(--s2); }
.reel__btn, .reel__sound {
  position: relative; overflow: hidden; display: inline-grid; place-items: center; min-height: 48px; min-width: 48px; border-radius: 999px;
  border: 2px solid var(--cocoa); background: var(--off-white); color: var(--cocoa); cursor: pointer;
  box-shadow: 0 3px 0 var(--cocoa); transition: transform .25s var(--bounce), box-shadow .25s var(--bounce), background-color .2s;
}
.reel__sound { display: inline-flex; gap: 8px; padding: 0 20px; font: inherit; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.reel__btn:hover, .reel__sound:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--cocoa); background: #fff; }
.reel__btn:active, .reel__sound:active { transform: translateY(2px) scale(.95); box-shadow: 0 1px 0 var(--cocoa); }
.reel__sound[aria-pressed="true"] { background: var(--pop-bubble); }
.reel__btn svg, .reel__sound svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.reel__sound .reel__sound-on, .reel__sound[aria-pressed="true"] .reel__sound-off { display: none; }
.reel__sound[aria-pressed="true"] .reel__sound-on { display: block; }
[data-prev]:hover svg { animation: nudge-l .5s ease; }
[data-next]:hover svg { animation: nudge-r .5s ease; }
@keyframes nudge-r { 50% { transform: translateX(3px); } }
@keyframes nudge-l { 50% { transform: translateX(-3px); } }

/* =====================================================================
   Plushstop spotlight: top 3 store items, rotating (app.js)
   ===================================================================== */
.spot { width: 100%; display: flex; flex-direction: column; align-items: center; gap: var(--s2); }
.spot__label { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.spot__stage { --side: clamp(30%, 14% + 7vw, 60%); position: relative; width: 100%; display: grid; place-items: start center; padding-top: 14px; perspective: 1000px; }
.spot__card {
  grid-area: 1 / 1; position: relative; width: clamp(170px, 140px + 8vw, 220px);
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 12px 14px;
  background: #fff; color: var(--ps-blue); text-decoration: none;
  border: 2px solid var(--ps-blue); border-radius: 24px; box-shadow: 0 5px 0 var(--ps-blue);
  transition: transform .7s var(--bounce), opacity .5s ease, box-shadow .25s var(--bounce), filter .5s;
}
.spot__card[data-pos="front"] { z-index: 3; transform: scale(1); }
.spot__card[data-pos="front"]:hover { box-shadow: 0 8px 0 var(--ps-blue); transform: translateY(-3px) scale(1.02); }
.spot__card[data-pos="left"] { z-index: 1; transform: translateX(calc(-1 * var(--side))) scale(.78) rotate(-6deg); filter: saturate(.75) brightness(.97); cursor: pointer; }
.spot__card[data-pos="right"] { z-index: 2; transform: translateX(var(--side)) scale(.78) rotate(6deg); filter: saturate(.75) brightness(.97); cursor: pointer; }
.spot__rank {
  position: absolute; z-index: 1; top: -12px; left: -10px; padding: 2px 12px; border-radius: 999px;
  background: var(--ps-blue); color: #fff; border: 2px solid var(--ps-blue); box-shadow: 0 2px 0 #3F4594;
  font-size: 16px; letter-spacing: .02em;
}
.spot__card[data-pos="front"] .spot__rank { animation: beat 2.4s ease-in-out infinite; }
.spot__img { width: 100%; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: radial-gradient(circle at 50% 45%, #fff 0, #EEF0FF 70%); }
.spot__img img { width: 100%; height: 100%; object-fit: contain; transition: scale .5s var(--bounce); }
.spot__card[data-pos="front"]:hover .spot__img img { scale: 1.08; }
.spot__name { font-size: 15px; line-height: 1.25; text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-wrap: balance; }
.spot__price { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; }
.spot__dots { display: flex; gap: 4px; }
.spot__dot { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.spot__dot::before { content: ""; width: 12px; height: 12px; border-radius: 999px; border: 2px solid var(--ps-blue); background: #fff; transition: width .4s var(--bounce), background-color .2s; }
.spot__dot[aria-current="true"]::before { width: 30px; background: var(--ps-blue); }
.card--plushstop .ps__cast img { height: clamp(48px, 40px + 2vw, 64px); }
@media (prefers-reduced-motion: reduce) {
  .spot__card { transition: none; }
}

/* =====================================================================
   Subscribe buttons: pinned on the scrolling bar + in the sticky bar
   ===================================================================== */
.marquee-bar { position: relative; }
.mq-sub {
  position: absolute; z-index: 2; top: 50%; right: calc(var(--gutter) + var(--safe-r));
  display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 14px 0 12px; margin-top: -15px;
  border: 2px solid var(--cocoa); border-radius: 999px; background: var(--pop-bubble); color: var(--cocoa);
  font-size: 12px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  box-shadow: 0 2px 0 var(--cocoa);
  transition: transform .25s var(--bounce), box-shadow .25s var(--bounce), background-color .2s;
  animation: sub-glow 2.4s ease-in-out infinite;
}
.mq-sub::after { content: ""; position: absolute; inset: -8px -6px; }   /* 44px+ tap area */
.mq-sub .ico { width: 16px; height: 16px; }
.mq-sub:hover { transform: translateY(-1px) scale(1.05); box-shadow: 0 4px 0 var(--cocoa); background: var(--pop-hot); }
.mq-sub:hover .ico { animation: wiggle .5s ease; }
.mq-sub:active { transform: translateY(1px) scale(.96); box-shadow: 0 0 0 var(--cocoa); }
@keyframes sub-glow { 0%, 100% { box-shadow: 0 2px 0 var(--cocoa), 0 0 0 0 rgba(255, 111, 176, 0); } 50% { box-shadow: 0 2px 0 var(--cocoa), 0 0 0 6px rgba(255, 111, 176, .28); } }
/* the strip fades out behind the pinned button */
.marquee-bar::after {
  content: ""; position: absolute; z-index: 1; top: 0; bottom: 2px; right: 0; width: calc(170px + var(--gutter));
  background: linear-gradient(90deg, rgba(248, 245, 232, 0), var(--off-white) 38%); pointer-events: none;
}
.topbar__sub { margin-left: 0; }
.topbar .btn--sm + .btn--sm { margin-left: 0; }
.spark--sm { animation-duration: .9s; }
@media (max-width: 820px) {
  .topbar__sub { margin-left: auto; }
  .topbar .topbar__sub + .btn { margin-left: 0; }
}
@media (max-width: 440px) {
  .topbar__brand { display: none; }
  .topbar { gap: 10px; }
  .topbar .btn--sm { flex: 1; padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) { .mq-sub { animation: none; } }

.reel__frame { background-size: cover; background-position: center; }

/* =====================================================================
   Watch: main player + "more from the channel" list
   ===================================================================== */
.watch { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); align-items: start; }
@media (min-width: 980px) { .watch { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
.upnext { display: flex; flex-direction: column; gap: 12px; }
.upnext__label { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.upnext__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.upnext__item {
  width: 100%; display: grid; grid-template-columns: 44% minmax(0, 1fr); gap: 12px; align-items: center; text-align: left;
  padding: 8px; font: inherit; color: var(--cocoa); cursor: pointer;
  background: var(--off-white); border: 2px solid var(--cocoa); border-radius: 20px; box-shadow: 0 4px 0 var(--cocoa);
  transition: transform .25s var(--bounce), box-shadow .25s var(--bounce);
}
.upnext__item:hover { transform: translateY(-3px); box-shadow: 0 7px 0 var(--cocoa); }
.upnext__item:active { transform: translateY(2px) scale(.98); box-shadow: 0 1px 0 var(--cocoa); }
.upnext__thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: var(--cocoa); }
.upnext__thumb img { width: 100%; height: 100%; object-fit: cover; transition: scale .5s var(--ease-out); }
.upnext__item:hover .upnext__thumb img { scale: 1.06; }
.upnext__play {
  position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%;
  background: var(--pop-bubble) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%234A2321'/%3E%3C/svg%3E") center / 18px no-repeat;
  border: 2px solid var(--cocoa); scale: .8; opacity: 0; transition: opacity .2s, scale .3s var(--bounce);
}
.upnext__item:hover .upnext__play, .upnext__item:focus-visible .upnext__play { opacity: 1; scale: 1; }
.upnext__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.upnext__title { font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.upnext__date { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; opacity: .85; }
/* tablet + phone: the list becomes a 2-up grid of cards under the player (nothing scrolls off-screen) */
@media (max-width: 979px) {
  .upnext__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
  .upnext__item { grid-template-columns: minmax(0, 1fr); align-items: start; height: 100%; }
  .upnext__title { -webkit-line-clamp: 2; }
}
@media (hover: none) { .upnext__item:hover { transform: none; box-shadow: 0 4px 0 var(--cocoa); } .upnext__play { opacity: 1; scale: 1; } }

.social__tag {
  display: inline-block; margin-left: 6px; padding: 0 8px; border-radius: 999px; border: 1.5px solid var(--cocoa);
  background: var(--bubble); font-size: 12px; line-height: 18px; letter-spacing: .05em; vertical-align: 1px; white-space: nowrap;
}
