/* ==========================================================================
   deckhuddle.com — marketing pages (landing, /bundles, privacy, terms, /submit)
   Pop Riot: built on /css/pop-riot.css tokens (generated from deck-night
   design/tokens.json — never hand-edit that file). Sticker tiles, thick ink
   outlines, hard offset shadows, Bricolage Grotesque. Self-hosted, no CDNs.
   Theme: <html data-theme="day|night">, none = follow the device (System).
   ========================================================================== */

/* ---- Site tokens (layered on the Pop Riot palette) -------------------------- */
:root {
  --hero-phone: url("/img/pop-riot/hero-day.webp");
  --hero-wide: url("/img/site/hero-tv-day-1600.webp");
  --hero-xl: url("/img/pop-riot/hero-tv-day.webp");
  --paper-btn-shadow: #ff3d7f;      /* pr-button shadow on light paper (white would vanish) */
  --nav-bg: #fff8f2;
  --foot-bg: #1a0b2e;
  --foot-ink: #ffffff;
  --foot-ink-2: #d9c6ef;
  --foot-link: #ffcf2e;
  --tv-outline: #1a0b2e;
  --focus-ring: #1a0b2e;
  --wrap: 78rem;
  --ink-faint: var(--pr-text-on-surface-secondary); /* legacy inline style on /submit */
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --hero-phone: url("/img/pop-riot/hero-night.webp");
    --hero-wide: url("/img/site/hero-tv-night-1600.webp");
    --hero-xl: url("/img/pop-riot/hero-tv-night.webp");
    --paper-btn-shadow: #ffcf2e;
    --nav-bg: #241036;
    --foot-bg: #0d0516;
    --tv-outline: #ffffff;
    --focus-ring: #ffcf2e;
  }
}
[data-theme="night"] {
  --hero-phone: url("/img/pop-riot/hero-night.webp");
  --hero-wide: url("/img/site/hero-tv-night-1600.webp");
  --hero-xl: url("/img/pop-riot/hero-tv-night.webp");
  --paper-btn-shadow: #ffcf2e;
  --nav-bg: #241036;
  --foot-bg: #0d0516;
  --tv-outline: #ffffff;
  --focus-ring: #ffcf2e;
}

/* ---- Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html {
  /* 16px on phones/laptops, grows on 1080p+ and 4K TVs so the page doesn't shrink to a strip. */
  font-size: clamp(16px, calc(0.6rem + 0.42vw), 28px);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--pr-font);
  font-size: var(--pr-body-size);
  line-height: 1.5;
  color: var(--pr-text-primary);
  background-color: var(--pr-bg-solid);
  background-image: var(--pr-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html { overflow-x: clip; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 2px; }
button { font: inherit; color: inherit; }
::selection { background: #ffcf2e; color: #1a0b2e; }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hidden { display: none !important; }
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: 0.6rem 1rem;
  background: #ffcf2e; color: #1a0b2e; font-weight: 800; border: 3px solid #1a0b2e; border-radius: 12px;
}
.skip:focus { top: 1rem; }

/* Buttons: pop-riot .pr-button, tuned for the site. */
.pr-button { gap: 0.55em; text-align: center; box-shadow: var(--pr-shadow-large) var(--btn-shadow, var(--pr-accent-shadow)); }
.pr-button:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--btn-shadow, var(--pr-accent-shadow)); }
.pr-button:active { box-shadow: var(--pr-shadow-pressed) var(--btn-shadow, var(--pr-accent-shadow)); }
.pr-button svg { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.pr-button:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 5px; }

/* ---- Header / nav ----------------------------------------------------------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg); color: var(--pr-text-on-surface);
  border-bottom: var(--pr-stroke-tile) solid var(--pr-outline);
  --btn-shadow: var(--paper-btn-shadow);
}
.nav { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--pr-text-on-surface); }
.brand-mark { display: inline-flex; width: 2.15rem; height: 2.15rem; }
.brand-mark svg { width: 100%; height: 100%; overflow: visible; }
.brand-name { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; }
.nav-links { display: flex; gap: 0.25rem; margin-left: auto; }
.nav-links a {
  display: inline-block; padding: 0.45rem 0.8rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; color: var(--pr-text-on-surface);
  transition: background var(--pr-dur-fast), color var(--pr-dur-fast);
}
.nav-links a:hover { background: var(--pr-chip); color: var(--pr-on-chip); }
.nav-tools { display: flex; align-items: center; gap: 0.9rem; }
.nav-links + .nav-tools { margin-left: 0.5rem; }
.nav-play { white-space: nowrap; min-height: 2.75rem; padding: 0.5rem 1.1rem; font-size: 1rem; box-shadow: var(--pr-shadow-small) var(--btn-shadow); }
.nav-play:hover { box-shadow: var(--pr-shadow-medium) var(--btn-shadow); }

.theme-toggle {
  display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px;
  border: var(--pr-stroke-chip) solid var(--pr-outline); background: var(--pr-surface-raised);
}
.theme-toggle button {
  display: grid; place-items: center; width: 2.2rem; height: 2.2rem; padding: 0;
  border: 0; border-radius: 999px; background: transparent; color: var(--pr-text-on-surface); cursor: pointer;
  transition: background var(--pr-dur-fast), color var(--pr-dur-fast);
}
.theme-toggle button:hover { background: var(--pr-surface); }
.theme-toggle button[aria-pressed="true"] { background: var(--pr-chip); color: var(--pr-on-chip); }
.theme-toggle svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.theme-toggle svg .fill, .theme-toggle [data-theme-set="night"] svg path { fill: currentColor; }

@media (max-width: 960px) { .nav-links { display: none; } .nav-tools { margin-left: auto; } }
@media (max-width: 440px) {
  .nav { gap: 0.5rem; }
  .brand { gap: 0.4rem; }
  .brand-mark { width: 1.8rem; height: 1.8rem; }
  .brand-name { font-size: 1.12rem; }
  .nav-tools { gap: 0.5rem; }
  .theme-toggle { padding: 2px; }
  .theme-toggle button { width: 1.85rem; height: 1.85rem; }
  .theme-toggle svg { width: 1rem; height: 1rem; }
  .nav-play { min-height: 2.4rem; padding: 0.4rem 0.7rem; font-size: 0.92rem; }
}

/* ---- Shared section chrome ---------------------------------------------------- */
.sec { position: relative; padding-block: clamp(4rem, 8vw, 7.5rem); border-top: var(--pr-stroke-tile) solid var(--pr-outline); }
.sec-paper { background: var(--pr-surface); color: var(--pr-text-on-surface); --btn-shadow: var(--paper-btn-shadow); }
.sec-stage { background-color: var(--pr-bg-solid); background-image: var(--pr-bg); color: var(--pr-text-primary); }
.sec-head { max-width: 46rem; margin: 0 auto 3rem; text-align: center; }
.sec-head h2 { font-size: clamp(2.25rem, 3.4vw + 1rem, 4.25rem); line-height: 1; letter-spacing: -0.03em; text-wrap: balance; }
.sec-head > p:last-child { margin-top: 1.1rem; font-size: 1.2rem; line-height: 1.45; font-weight: 500; text-wrap: pretty; }
.sec-paper .sec-head > p:last-child { color: var(--pr-text-on-surface-secondary); }
.sec-stage .sec-head > p:last-child { color: var(--pr-text-secondary); }
.kicker {
  display: inline-block; margin-bottom: 1.1rem; padding: 0.4rem 0.85rem;
  background: var(--pr-chip); color: var(--pr-on-chip); border-radius: var(--pr-radius-chip);
  box-shadow: var(--pr-shadow-small) var(--pr-chip-shadow);
  font-size: 0.95rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; transform: rotate(-2deg);
}
.sec-paper .kicker { box-shadow: var(--pr-shadow-small) var(--paper-btn-shadow); }
.sec-cta { margin-top: 3rem; text-align: center; }
.fine { margin-top: 2rem; font-size: 0.85rem; line-height: 1.45; max-width: 52rem; margin-inline: auto; text-align: center; opacity: 0.9; }
.sec-paper .fine { color: var(--pr-text-on-surface-secondary); opacity: 1; }

/* ---- Hero ------------------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(calc(100svh - 4.25rem), 64rem);
  display: flex; flex-direction: column; justify-content: center;
  padding-block: 3rem 2.5rem;
  background-color: var(--pr-bg-solid);
  background-image: var(--hero-phone);
  background-size: cover; background-position: center top;
  color: var(--pr-text-primary);
}
@media (min-width: 700px) { .hero { background-image: var(--hero-wide); background-position: center; } }
@media (max-width: 699px) {
  .hero { padding-top: 2rem; }
  .hero-inner { position: relative; }
  .hero-inner::before {
    content: ""; position: absolute; z-index: -1; inset: -1.5rem -1rem auto; height: 17rem;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--pr-bg-solid) 88%, transparent) 55%, transparent);
  }
  .hero-panel { padding: 1.15rem 0.9rem; }
  .store-row { gap: 0.6rem; }
  .store-badge { min-height: 2.9rem; padding: 0.35rem 0.7rem 0.35rem 0.55rem; gap: 0.4rem; }
  .store-badge b { font-size: 1rem; }
  .store-badge svg { width: 1.35rem; height: 1.35rem; }
}
@media (min-width: 1700px) { .hero { background-image: var(--hero-xl); } }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 54rem; }
.hero-chip { font-size: 1rem; padding: 0.5rem 0.95rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; box-shadow: var(--pr-shadow-medium) var(--pr-chip-shadow); }
.hero-title {
  margin-top: 1.2rem;
  font-size: clamp(2.7rem, 6.6vw + 0.4rem, 6.5rem); line-height: 0.92; letter-spacing: -0.045em;
  text-wrap: balance;
  /* a soft halo keeps glyph edges crisp over the art without becoming a blurred "glass" card */
  text-shadow: 0 0 0.6em color-mix(in srgb, var(--pr-bg-solid) 35%, transparent);
}
.hero-title .pr-wordmark { display: inline-block; padding-bottom: 0.08em; text-shadow: none; }
:root:not([data-theme="night"]) .hero-title { text-shadow: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .hero-title { text-shadow: 0 0 0.6em rgba(23, 8, 38, 0.6); } }
.hero-panel {
  margin-top: 1.6rem; padding: clamp(1.25rem, 2.6vw, 2rem);
  background: var(--pr-surface); color: var(--pr-text-on-surface);
  border: var(--pr-stroke-card) solid var(--pr-outline); border-radius: var(--pr-radius-card);
  box-shadow: 8px 8px 0 var(--pr-shadow);
  max-width: 44rem;
  --btn-shadow: var(--paper-btn-shadow);
}
.hero-sub { font-size: clamp(1.08rem, 0.5vw + 0.95rem, 1.3rem); line-height: 1.45; font-weight: 500; text-wrap: pretty; }
.hero-ctas { margin-top: 1.4rem; display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.cta-play { min-height: 3.6rem; padding: 0.9rem 1.8rem; font-size: 1.3rem; white-space: nowrap; }
@media (max-width: 420px) { .cta-play { font-size: 1.15rem; padding: 0.85rem 1.2rem; } }
.hero-note { margin-top: 1.2rem; font-size: 0.95rem; color: var(--pr-text-on-surface-secondary); }
.hero-note strong { color: var(--pr-text-on-surface); }

.hero-fan { display: flex; justify-content: center; gap: clamp(0.6rem, 1.6vw, 1.6rem); margin-top: 2.6rem; flex-wrap: wrap; }
.hero-fan .pr-tile { width: clamp(6.5rem, 9vw, 9.5rem); }
.hero-fan a { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; padding: 0.55rem 0.5rem 0.65rem; text-decoration: none; color: var(--pr-tile-ink); border-radius: inherit; }
.hero-fan img { width: 78%; height: auto; aspect-ratio: 1; }
.hero-fan span { font-size: 0.85rem; font-weight: 800; line-height: 1.1; text-align: center; }
@media (max-width: 560px) { .hero-fan .pr-tile:nth-child(n+4) { display: none; } }

/* ---- Marquee --------------------------------------------------------------------- */
.marquee {
  position: relative; z-index: 2; overflow: hidden;
  margin-block: -1.1rem; transform: rotate(-1.6deg);
  background: var(--pr-chip); color: var(--pr-on-chip);
  border-block: var(--pr-stroke-tile) solid var(--pr-outline);
  box-shadow: 0 6px 0 var(--pr-chip-shadow);
}
.marquee-track { display: flex; width: max-content; align-items: center; gap: 1.4rem; padding: 0.85rem 0.7rem; animation: marquee 60s linear infinite; }
.marquee span { font-size: clamp(1.15rem, 1.2vw + 0.8rem, 1.8rem); font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; }
.marquee i { font-style: normal; color: #ff3d7f; font-size: 1.2em; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee + .sec { border-top: 0; }

/* ---- Games ------------------------------------------------------------------------ */
.age-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; margin: -1rem auto 2.75rem; }
.age-filter button {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.9rem; padding: 0.45rem 1.05rem;
  font-weight: 800; font-size: 1rem; cursor: pointer;
  background: var(--pr-surface-raised); color: var(--pr-text-on-surface);
  border: var(--pr-stroke-chip) solid var(--pr-outline); border-radius: 999px;
  box-shadow: var(--pr-shadow-small) var(--pr-outline);
  transition: transform var(--pr-dur-fast) var(--pr-ease-snappy), box-shadow var(--pr-dur-fast);
}
.age-filter button:hover { transform: translate(-1px, -1px); }
.age-filter button[aria-pressed="true"] { background: var(--pr-chip); color: var(--pr-on-chip); box-shadow: var(--pr-shadow-small) var(--paper-btn-shadow); }
.age-filter .pr-badge { font-size: 0.75rem; padding: 1px 6px; }

.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); gap: 2rem 1.75rem; }
.game {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 1.25rem 1.1rem 1.35rem;
  transition: transform var(--pr-dur-base) var(--pr-ease-snappy), box-shadow var(--pr-dur-base) var(--pr-ease-snappy);
}
.game:hover { transform: rotate(0deg) translate(-3px, -5px); box-shadow: var(--pr-shadow-large) var(--pr-tile-shadow); }
.game img, .game-stamp { width: 8.5rem; height: auto; aspect-ratio: 1; margin: -0.25rem 0 0.6rem; transition: transform var(--pr-dur-slow) var(--pr-ease-bouncy); }
.game:hover img { transform: rotate(-6deg) scale(1.07); }
.game h3 { font-size: 1.45rem; letter-spacing: -0.02em; }
.game > p { margin-top: 0.4rem; font-size: 1rem; line-height: 1.35; color: var(--pr-tile-ink-secondary); font-weight: 600; }
.game .game-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.35rem 0.8rem; margin-top: auto; padding-top: 0.95rem; font-size: 0.85rem; font-weight: 700; color: var(--pr-tile-ink); }
.ages { display: inline-flex; gap: 0.3rem; }
.ages .pr-badge { font-size: 0.72rem; padding: 1px 5px; box-shadow: 2px 2px 0 #1a0b2e; border-width: 2px; }
.game .game-cmp { margin-top: 0.55rem; font-size: 0.78rem; font-weight: 600; font-style: italic; color: var(--pr-tile-ink-secondary); }
.game-cmp a { text-decoration: none; font-style: normal; font-weight: 800; padding-inline: 0.1em; }
.game-stamp {
  display: grid; place-content: center; text-align: center; border-radius: 50%;
  width: 7.5rem; margin-block: 0.25rem 0.85rem;
  background: var(--pr-badge-adult-fill); color: #1a0b2e;
  border: 4px dashed #1a0b2e; box-shadow: 0 0 0 5px var(--pr-badge-adult-fill), 4px 4px 0 5px #1a0b2e;
  transform: rotate(-10deg);
}
.game-stamp span { font-size: 2.6rem; font-weight: 800; line-height: 0.9; letter-spacing: -0.04em; }
.game-stamp small { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.1; }
.game[hidden] { display: none; }
@media (max-width: 560px) {
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 0.9rem; }
  .game { padding: 0.9rem 0.6rem 1rem; }
  .game img, .game-stamp { width: 5.6rem; }
  .game-stamp span { font-size: 1.8rem; }
  .game-stamp small { font-size: 0.55rem; }
  .game h3 { font-size: 1.12rem; }
  .game > p { font-size: 0.86rem; }
  .game .game-meta { font-size: 0.75rem; flex-direction: column; gap: 0.35rem; }
  .game .game-cmp { font-size: 0.7rem; }
  .age-filter { gap: 0.5rem; }
  .age-filter button { min-height: 2.6rem; padding: 0.35rem 0.8rem; font-size: 0.92rem; }
}

/* ---- How it works -------------------------------------------------------------------- */
.how-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 900px) { .how-grid { grid-template-columns: 1fr; } }
.how-stage { position: relative; margin: 0 0 3rem; padding-right: 9%; }
.tv { position: relative; }
.tv-screen {
  aspect-ratio: 16 / 9.4; padding: 4% 5%; display: flex; flex-direction: column; gap: 5%;
  border: 0.4rem solid var(--tv-outline); border-radius: 1.4rem;
  background: radial-gradient(120% 80% at 50% 0%, #3b0f4f 0%, #170826 65%, #0d0516 100%);
  color: #fff; box-shadow: 10px 10px 0 var(--pr-shadow); transform: rotate(-1.2deg);
}
.tv-foot { width: 22%; height: 0.9rem; margin: 0.6rem auto 0; border: 0.3rem solid var(--tv-outline); border-top: 0; border-radius: 0 0 0.8rem 0.8rem; background: var(--pr-surface-raised); }
.tv-bar { display: flex; justify-content: space-between; align-items: center; font-size: clamp(0.8rem, 1.2vw, 1.25rem); }
.tv-bar b { background: linear-gradient(90deg, #ff3d7f, #ff7a2e, #ffcf2e); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -0.02em; }
.tv-code { display: inline-flex; align-items: center; gap: 0.4em; padding: 0.2em 0.6em; border-radius: 0.6em; background: #ffcf2e; color: #1a0b2e; font-weight: 800; letter-spacing: 0.14em; box-shadow: 3px 3px 0 #ff3d7f; }
.tv-code small { font-size: 0.6em; letter-spacing: 0.04em; text-transform: uppercase; }
.tv-card {
  flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0.6em; text-align: center;
  padding: 4% 8%; margin-inline: 12%; border-radius: 1rem; background: #fffaf4; color: #1a0b2e;
  border: 3px solid #fff; box-shadow: 6px 6px 0 #ff3d7f; transform: rotate(1.5deg);
  font-size: clamp(0.85rem, 1.45vw, 1.6rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.01em;
}
.tv-pill { font-size: 0.6em; padding: 0.25em 0.7em; border-radius: 999px; background: #ffcf2e; border: 2px solid #1a0b2e; letter-spacing: 0.02em; }
.tv-avatars { display: flex; justify-content: center; gap: 2.5%; }
.tv-avatars span { display: grid; place-items: center; width: 8%; aspect-ratio: 1; border-radius: 50%; background: #2f1646; border: 2px solid #fff; box-shadow: 2px 2px 0 #ff3d7f; font-size: clamp(0.7rem, 1.3vw, 1.4rem); }
.phones { position: absolute; right: 0; bottom: -2.5rem; display: flex; gap: 0.6rem; width: 46%; }
.phone-mock {
  flex: 1 1 0; min-width: 0; overflow: hidden; aspect-ratio: 9 / 17; display: flex; flex-direction: column; align-items: stretch; gap: 0.45em; padding: 1.6em 0.7em;
  background: var(--pr-surface-raised); color: var(--pr-text-on-surface);
  border: 3px solid var(--pr-outline); border-radius: 1rem; box-shadow: 4px 4px 0 var(--pr-shadow);
  font-size: clamp(0.5rem, 0.75vw, 0.85rem); font-weight: 800;
}
@media (max-width: 700px) {
  .how-stage { padding-right: 0; margin-bottom: 4.5rem; }
  .phones { width: 62%; bottom: -4rem; right: -0.3rem; }
  .phone-mock { font-size: 0.62rem; padding: 1.4em 0.6em; }
}
.phone-mock:nth-child(1) { transform: rotate(-6deg) translateY(4%); }
.phone-mock:nth-child(2) { transform: rotate(3deg) translateY(-6%); }
.phone-mock:nth-child(3) { transform: rotate(8deg) translateY(8%); }
.phone-mock > * { flex: none; line-height: 1.2; }
.pm-btn, .pm-wait { display: block; width: 100%; }
.pm-av { align-self: center; font-size: 2.2em; line-height: 1; margin-bottom: 4%; }
.pm-btn { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0.45em 0.4em; border-radius: 0.6em; text-align: center; border: 2px solid var(--pr-outline); background: var(--pr-surface); }
.pm-btn.on { background: #ffcf2e; color: #1a0b2e; border-color: #1a0b2e; }
.pm-wait { white-space: nowrap; margin-top: 20%; text-align: center; padding: 0.5em; border-radius: 0.6em; background: #5cf29a; color: #1a0b2e; border: 2px solid #1a0b2e; }

.steps { display: grid; gap: 1.6rem; counter-reset: none; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; }
.step-n {
  display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%;
  background: var(--pr-chip); color: var(--pr-on-chip); font-size: 1.6rem; font-weight: 800;
  border: var(--pr-stroke-chip) solid var(--pr-outline); box-shadow: var(--pr-shadow-small) var(--pr-chip-shadow);
}
.step:nth-child(2) .step-n { transform: rotate(6deg); }
.step:nth-child(3) .step-n { transform: rotate(-5deg); }
.step h3 { font-size: 1.6rem; margin-top: 0.3rem; }
.step p { margin-top: 0.35rem; font-size: 1.08rem; line-height: 1.45; color: var(--pr-text-secondary); font-weight: 500; }
.step strong { color: var(--pr-text-primary); }

.how-extras { margin-top: clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 1.75rem; }
.extra {
  display: flex; align-items: center; gap: 1.2rem; padding: 1.2rem 1.4rem;
  background: var(--pr-surface); color: var(--pr-text-on-surface);
  border: var(--pr-stroke-tile) solid var(--pr-outline); border-radius: var(--pr-radius-tile);
  box-shadow: var(--pr-shadow-medium) var(--pr-shadow);
}
.extra img { width: 6.5rem; height: auto; aspect-ratio: 1; flex: none; }
.extra h3 { font-size: 1.3rem; }
.extra p { margin-top: 0.35rem; color: var(--pr-text-on-surface-secondary); line-height: 1.45; }

/* ---- Packs teaser ---------------------------------------------------------------------- */
.stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.25rem; margin: -0.5rem auto 3rem; }
.stats li {
  display: flex; align-items: baseline; gap: 0.45rem; padding: 0.55rem 1.1rem;
  background: var(--pr-surface-raised); border: var(--pr-stroke-chip) solid var(--pr-outline);
  border-radius: var(--pr-radius-chip); box-shadow: var(--pr-shadow-small) var(--paper-btn-shadow);
}
.stats li:nth-child(odd) { transform: rotate(-1.5deg); }
.stats li:nth-child(even) { transform: rotate(1.5deg); }
.stats b { font-size: 1.7rem; letter-spacing: -0.03em; }
.stats span { font-weight: 700; color: var(--pr-text-on-surface-secondary); }
.pack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 2rem 1.75rem; }
.pack {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--pr-surface-raised); color: var(--pr-text-on-surface);
  border: var(--pr-stroke-tile) solid var(--pr-outline); border-radius: var(--pr-radius-tile);
  box-shadow: var(--pr-shadow-medium) var(--pr-tile-shadow);
  transition: transform var(--pr-dur-base) var(--pr-ease-snappy), box-shadow var(--pr-dur-base);
}
.pack:hover { transform: translate(-3px, -4px); box-shadow: var(--pr-shadow-large) var(--pr-tile-shadow); }
.pack-cover { position: relative; height: 8.5rem; border-bottom: var(--pr-stroke-tile) solid var(--pr-outline); display: grid; place-items: center; }
.pack-card {
  position: absolute; width: 3.6rem; height: 5.1rem; border-radius: 0.55rem; background: #fffaf4;
  border: 3px solid #1a0b2e; box-shadow: 3px 3px 0 #1a0b2e;
  display: grid; place-items: center; color: #1a0b2e; font-size: 1.8rem; line-height: 1;
  transition: transform var(--pr-dur-slow) var(--pr-ease-bouncy);
}
.pack-card:nth-child(1) { transform: translateX(-2.1rem) rotate(-14deg); }
.pack-card:nth-child(2) { transform: translateX(2.1rem) rotate(13deg); }
.pack-card:nth-child(3) { transform: rotate(-2deg); }
.pack:hover .pack-card:nth-child(1) { transform: translateX(-2.8rem) rotate(-20deg); }
.pack:hover .pack-card:nth-child(2) { transform: translateX(2.8rem) rotate(19deg); }
@media (max-width: 640px) {
  .pack-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; margin-inline: -1rem; padding: 0.4rem 1rem 1.2rem; scrollbar-width: none; }
  .pack-grid::-webkit-scrollbar { display: none; }
  .pack { flex: 0 0 82%; scroll-snap-align: center; }
  .js .pack.reveal { opacity: 1; transform: none; }
}
.pack-body { display: flex; flex-direction: column; gap: 0.5rem; flex: 1; padding: 1.1rem 1.25rem 1.2rem; }
.pack h3 { font-size: 1.4rem; }
.pack-body > p:not(.pack-foot) { color: var(--pr-text-on-surface-secondary); line-height: 1.4; font-weight: 500; }
.pack-foot { display: flex; align-items: center; gap: 0.7rem; margin-top: auto; padding-top: 0.6rem; font-size: 0.9rem; font-weight: 700; }
.pack-count { margin-left: auto; color: var(--pr-text-on-surface-secondary); }
.price {
  padding: 0.2rem 0.65rem; border-radius: 999px; font-weight: 800;
  background: #1a0b2e; color: #ffcf2e; border: 2px solid var(--pr-outline);
}
.price.free { background: #5cf29a; color: #1a0b2e; }

/* ---- Kids --------------------------------------------------------------------------------- */
.sec-kids { background-color: var(--pr-bg-solid); background-image: var(--pr-bg); color: var(--pr-text-primary); }
.kids-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 900px) { .kids-grid { grid-template-columns: 1fr; } }
.sec-kids .sec-head { text-align: left; margin: 0 0 2rem; }
.sec-kids .sec-head > p:last-child { color: var(--pr-text-secondary); }
.sec-kids .kicker { box-shadow: var(--pr-shadow-small) var(--pr-chip-shadow); }
.kids-points { display: grid; gap: 0.85rem; margin-bottom: 2rem; }
.kids-points li {
  position: relative; padding: 0.85rem 1rem 0.85rem 3.3rem; line-height: 1.4;
  background: var(--pr-surface); color: var(--pr-text-on-surface);
  border: var(--pr-stroke-chip) solid var(--pr-outline); border-radius: var(--pr-radius-tile);
  box-shadow: var(--pr-shadow-small) var(--pr-shadow);
}
.kids-points li::before {
  content: "\2713"; position: absolute; left: 0.85rem; top: 50%; translate: 0 -50%;
  display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: var(--pr-success); color: var(--pr-on-success); font-weight: 800; font-size: 0.95rem;
}
.kids-stickers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem 1.2rem; }
.kids-stickers .pr-tile { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; padding: 0.7rem 0.5rem 0.8rem; text-align: center; }
.kids-stickers .pr-tile:last-child { grid-column: 2; }
.kids-stickers img { width: 80%; height: auto; aspect-ratio: 1; }
.kids-stickers span { font-weight: 800; font-size: 0.95rem; line-height: 1.1; }

/* ---- Store badges ------------------------------------------------------------------------------ */
.store-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.8rem 0.9rem; }
.sec-kids .store-row { justify-content: flex-start; }
.store-badge {
  display: inline-flex; align-items: center; gap: 0.55rem; min-height: 3.2rem; padding: 0.4rem 1.05rem 0.4rem 0.85rem;
  background: #000; color: #fff; text-decoration: none; border-radius: 12px;
  border: 2px solid var(--pr-outline); box-shadow: var(--pr-shadow-small) var(--pr-shadow);
  transition: transform var(--pr-dur-fast) var(--pr-ease-snappy);
}
.store-badge svg { width: 1.6rem; height: 1.6rem; fill: currentColor; flex: none; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.store-badge small { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.02em; }
.store-badge b { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
.store-badge[href]:hover { transform: translate(-2px, -2px); }
.store-badge.is-soon { opacity: 0.78; cursor: default; }
.soon-tag {
  display: inline-block; padding: 0.3rem 0.6rem; border-radius: var(--pr-radius-badge);
  background: #ffcf2e; color: #1a0b2e; border: 2px solid #1a0b2e; box-shadow: 2px 2px 0 #1a0b2e;
  font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; transform: rotate(4deg);
}

/* ---- FAQ ---------------------------------------------------------------------------------------- */
.faq-wrap { max-width: 54rem; }
.faq { display: grid; gap: 1rem; }
.faq details {
  background: var(--pr-surface-raised); border: var(--pr-stroke-tile) solid var(--pr-outline);
  border-radius: var(--pr-radius-tile); box-shadow: var(--pr-shadow-small) var(--pr-outline);
  transition: box-shadow var(--pr-dur-fast);
}
.faq details[open] { box-shadow: var(--pr-shadow-medium) var(--paper-btn-shadow); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.35rem; cursor: pointer; list-style: none;
  font-size: 1.2rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--pr-chip); color: var(--pr-on-chip); font-size: 1.4rem; line-height: 1;
  transition: transform var(--pr-dur-base) var(--pr-ease-snappy);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline-offset: -3px; border-radius: var(--pr-radius-tile); }
.faq details p { padding: 0 1.35rem 1.25rem; line-height: 1.55; color: var(--pr-text-on-surface-secondary); font-size: 1.05rem; }
.faq details p strong { color: var(--pr-text-on-surface); }
.faq a { color: var(--pr-text-on-surface); font-weight: 700; }

/* ---- Final CTA ---------------------------------------------------------------------------------- */
.final { text-align: center; }
.final-inner { display: flex; flex-direction: column; align-items: center; }
.final-art { width: 8rem; height: auto; aspect-ratio: 1; animation: pr-wiggle var(--pr-wiggle-period) ease-in-out infinite alternate; --pr-tilt: -4deg; }
.final h2 { margin-top: 1rem; font-size: clamp(2.6rem, 5vw + 1rem, 5.5rem); letter-spacing: -0.04em; line-height: 0.95; }
.final p { margin-top: 1rem; font-size: 1.25rem; font-weight: 600; color: var(--pr-text-secondary); }
.final .final-ctas { margin-top: 2rem; }

/* ---- Footer ----------------------------------------------------------------------------------- */
.site-foot { background: var(--foot-bg); color: var(--foot-ink-2); border-top: var(--pr-stroke-tile) solid var(--pr-outline); padding-block: 3.5rem 2.5rem; }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2.5rem; padding-bottom: 2.25rem; border-bottom: 1.5px solid rgba(255, 255, 255, 0.18); }
.foot-brand { max-width: 22rem; }
.foot-brand .brand-name { color: var(--foot-ink); font-size: 1.6rem; background: linear-gradient(90deg, #ff3d7f, #ff7a2e, #ffcf2e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foot-brand p { margin-top: 0.7rem; line-height: 1.5; }
.foot-links { display: flex; flex-wrap: wrap; gap: 2.5rem 4rem; }
.foot-links h2, .foot-links h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--foot-ink); margin-bottom: 0.8rem; }
.foot-links li + li { margin-top: 0.45rem; }
.foot-links a { color: var(--foot-ink-2); text-decoration: none; font-weight: 600; }
.foot-links a:hover { color: var(--foot-link); text-decoration: underline; }
.site-foot :focus-visible { outline-color: #ffcf2e; }
.small-print { margin-top: 1.75rem; font-size: 0.82rem; line-height: 1.6; color: var(--foot-ink-2); }
.small-print a { color: var(--foot-link); }

/* ---- Reveal (JS adds .js to <html>; without JS / with reduced motion, everything just shows) ---- */
.js .reveal { opacity: 0; transform: translateY(1.2rem); transition: opacity var(--pr-dur-slower) var(--pr-ease-gentle), transform var(--pr-dur-slower) var(--pr-ease-gentle); }
.js .reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Inner pages: prose (privacy/terms), /submit, /bundles (generated)
   ========================================================================== */
.page-shell { padding-block: clamp(2.5rem, 6vw, 5rem); }
.not-found-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.5rem; }
.sheet, .prose, .panel {
  background: var(--pr-surface); color: var(--pr-text-on-surface);
  border: var(--pr-stroke-card) solid var(--pr-outline); border-radius: var(--pr-radius-sheet);
  box-shadow: 8px 8px 0 var(--pr-shadow);
  --btn-shadow: var(--paper-btn-shadow);
}
.prose { max-width: 50rem; margin: 0 auto; padding: clamp(1.5rem, 5vw, 3.5rem); }
.prose h1 { font-size: clamp(2.4rem, 3vw + 1.2rem, 3.6rem); letter-spacing: -0.035em; }
.prose .updated { margin-top: 1rem; padding: 0.7rem 0.95rem; border-radius: var(--pr-radius-chip); background: var(--pr-surface-raised); border: 2px solid var(--pr-outline); font-size: 0.9rem; font-weight: 600; color: var(--pr-text-on-surface-secondary); }
.prose h2 { margin-top: 2.6rem; font-size: 1.6rem; letter-spacing: -0.02em; }
.prose h2::before { content: ""; display: block; width: 2.6rem; height: 0.4rem; margin-bottom: 0.7rem; border-radius: 99px; background: linear-gradient(90deg, #ff3d7f, #ff7a2e, #ffcf2e); }
.prose h3 { margin-top: 1.8rem; font-size: 1.25rem; }
.prose p, .prose li { margin-top: 0.85rem; line-height: 1.7; font-size: 1.04rem; color: var(--pr-text-on-surface-secondary); }
.prose strong { color: var(--pr-text-on-surface); }
.prose ul { margin-top: 0.4rem; }
.prose ul li { position: relative; padding-left: 1.5rem; }
.prose ul li::before { content: ""; position: absolute; left: 0.2rem; top: 0.62em; width: 0.55rem; height: 0.55rem; border-radius: 2px; background: #ff3d7f; border: 1.5px solid var(--pr-outline); transform: rotate(45deg); }
.prose a { color: var(--pr-text-on-surface); font-weight: 700; }

/* Legacy button classes used by /submit and the generated /bundles page. */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 3.1rem; padding: 0.75rem 1.4rem;
  font: 800 1.08rem/1.1 var(--pr-font); letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  background: var(--pr-accent-fill); color: var(--pr-on-accent);
  border: var(--pr-stroke-button) solid var(--pr-accent); border-radius: var(--pr-radius-button);
  box-shadow: var(--pr-shadow-medium) var(--btn-shadow, var(--pr-accent-shadow));
  transition: transform var(--pr-dur-fast) var(--pr-ease-snappy), box-shadow var(--pr-dur-fast) var(--pr-ease-snappy);
}
.button:hover { transform: translate(-2px, -2px); box-shadow: var(--pr-shadow-large) var(--btn-shadow, var(--pr-accent-shadow)); }
.button:active { transform: scale(var(--pr-press-scale-x), var(--pr-press-scale-y)); box-shadow: var(--pr-shadow-pressed) var(--btn-shadow, var(--pr-accent-shadow)); }
.button-ghost { background: var(--pr-surface-raised); color: var(--pr-text-on-surface); border-color: var(--pr-outline); --btn-shadow: var(--pr-shadow); }
.button[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ---- /submit ---------------------------------------------------------------------------------------- */
.submit-shell { padding-block: clamp(2.5rem, 6vw, 5rem); }
.panel { max-width: 44rem; margin: 0 auto; padding: clamp(1.5rem, 5vw, 3rem); }
.panel + .panel { margin-top: 2rem; }
.panel h1 { font-size: clamp(2.2rem, 2.5vw + 1.2rem, 3.2rem); letter-spacing: -0.035em; }
.panel .lede { margin-top: 0.9rem; font-size: 1.12rem; line-height: 1.55; color: var(--pr-text-on-surface-secondary); }
.auth-buttons { display: grid; gap: 0.9rem; margin-top: 1.8rem; max-width: 24rem; }
.auth-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.7rem; min-height: 3.2rem; padding: 0.7rem 1.2rem;
  background: #fff; color: #1a0b2e; font-weight: 800; text-decoration: none;
  border: var(--pr-stroke-button) solid #1a0b2e; border-radius: var(--pr-radius-button); box-shadow: var(--pr-shadow-medium) var(--pr-shadow);
  transition: transform var(--pr-dur-fast) var(--pr-ease-snappy);
}
.auth-btn:hover { transform: translate(-2px, -2px); }
.auth-btn svg { width: 1.35rem; height: 1.35rem; }
.signed-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.4rem; padding: 0.6rem 0.9rem; border-radius: var(--pr-radius-chip); background: var(--pr-surface-raised); border: 2px solid var(--pr-outline); font-size: 0.95rem; }
.signed-bar button { padding: 0.35rem 0.8rem; border-radius: 999px; border: 2px solid var(--pr-outline); background: transparent; font-weight: 700; cursor: pointer; }
form .field { margin-top: 1.3rem; }
form label { display: block; margin-bottom: 0.45rem; font-size: 0.85rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
input[type="text"], select, textarea {
  width: 100%; padding: 0.8rem 0.95rem; font: 500 1.02rem/1.4 var(--pr-font);
  background: var(--pr-surface-raised); color: var(--pr-text-on-surface);
  border: var(--pr-stroke-chip) solid var(--pr-outline); border-radius: var(--pr-radius-chip);
}
input:focus, select:focus, textarea:focus { outline: 3px solid var(--focus-ring); outline-offset: 2px; box-shadow: var(--pr-shadow-small) var(--paper-btn-shadow); }
textarea { min-height: 8rem; resize: vertical; }
.dropzone {
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem; padding: 1.8rem 1rem; text-align: center; cursor: pointer;
  border: 3px dashed var(--pr-outline); border-radius: var(--pr-radius-tile); background: var(--pr-surface-raised);
  transition: background var(--pr-dur-fast), transform var(--pr-dur-fast) var(--pr-ease-snappy);
}
.dropzone:hover, .dropzone.drag { background: var(--pr-tile-5); color: #1a0b2e; transform: rotate(-0.6deg); }
.dropzone.ok { border-style: solid; background: var(--pr-tile-6); color: #1a0b2e; }
.dropzone .dz-title { font-weight: 800; font-size: 1.08rem; }
.dropzone small { font-size: 0.85rem; opacity: 0.85; }
.form-status { margin-top: 0.9rem; min-height: 1.4em; font-weight: 700; font-size: 0.95rem; }
.form-status.err { color: var(--pr-danger); }
.form-status.ok { color: var(--pr-success); }
.turnstile-slot { margin-top: 1.4rem; }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 1.6rem; }
.submit-row .form-status { margin-top: 0; }

/* ---- /bundles (generated by tools/generate_bundles.py) ----------------------------------------------- */
.bundles-shell { padding-block: clamp(2.5rem, 6vw, 5rem); }
.section-head { max-width: 50rem; margin: 0 auto 3rem; text-align: center; }
.section-head h1 { font-size: clamp(2.6rem, 4vw + 1rem, 4.6rem); letter-spacing: -0.04em; line-height: 0.98; text-wrap: balance; }
.section-head p { margin-top: 1.1rem; font-size: 1.15rem; line-height: 1.5; font-weight: 500; color: var(--pr-text-secondary); }
.section-head p strong { color: var(--pr-text-primary); }
.bundle-group { margin-top: 3.5rem; }
.bundle-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 1.2rem; margin-bottom: 1.6rem; }
.bundle-group-head h2 {
  font-size: clamp(1.9rem, 2vw + 1rem, 2.6rem); padding: 0.2rem 0.9rem; border-radius: var(--pr-radius-chip);
  background: var(--pr-chip); color: var(--pr-on-chip); box-shadow: var(--pr-shadow-medium) var(--pr-chip-shadow); transform: rotate(-1.5deg);
}
.bundle-group-head p { font-weight: 600; color: var(--pr-text-secondary); }
.bundle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: 1.8rem 1.6rem; }
.bundle-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--pr-surface-raised); color: var(--pr-text-on-surface);
  border: var(--pr-stroke-tile) solid var(--pr-outline); border-radius: var(--pr-radius-tile);
  box-shadow: var(--pr-shadow-medium) var(--pr-tile-shadow);
  transition: transform var(--pr-dur-base) var(--pr-ease-snappy), box-shadow var(--pr-dur-base);
}
.bundle-card:hover { transform: translate(-3px, -4px); box-shadow: var(--pr-shadow-large) var(--pr-tile-shadow); }
.bundle-cover { height: 6.5rem; display: grid; place-items: center; border-bottom: var(--pr-stroke-tile) solid var(--pr-outline); }
.bundle-suit {
  display: grid; place-items: center; width: 3.4rem; height: 4.6rem; border-radius: 0.55rem; background: #fffaf4; color: #1a0b2e;
  border: 3px solid #1a0b2e; box-shadow: 3px 3px 0 #1a0b2e; font-size: 1.8rem; transform: rotate(-6deg);
}
.bundle-body { display: flex; flex-direction: column; gap: 0.5rem; flex: 1; padding: 1.05rem 1.2rem 1.15rem; }
.bundle-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.75rem; }
.bundle-top h3 { font-size: 1.3rem; }
.age-badge {
  flex: none; display: inline-block; padding: 2px 8px; border: var(--pr-stroke-chip) solid #1a0b2e; border-radius: var(--pr-radius-badge);
  font: 800 0.82rem/1.2 var(--pr-font); color: #1a0b2e; box-shadow: var(--pr-shadow-small) #1a0b2e; transform: rotate(4deg);
}
.age-badge.age-4 { background: var(--pr-badge-family-fill); }
.age-badge.age-12 { background: var(--pr-badge-teen-fill); }
.age-badge.age-18 { background: var(--pr-badge-adult-fill); }
.bundle-tagline { color: var(--pr-text-on-surface-secondary); line-height: 1.4; font-weight: 500; }
.bundle-counts { font-size: 0.88rem; font-weight: 700; }
.bundle-decks { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.bundle-decks li { padding: 0.15rem 0.5rem; font-size: 0.78rem; font-weight: 600; border-radius: 999px; background: var(--pr-surface); border: 1.5px solid var(--pr-outline); }
.bundle-decks li.more { background: var(--pr-chip); color: var(--pr-on-chip); border-color: var(--pr-chip); }
.bundle-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem; margin-top: auto; padding-top: 0.75rem; }
.price-pill, .save-pill { white-space: nowrap; }
.price-pill { padding: 0.2rem 0.7rem; border-radius: 999px; font-weight: 800; background: #1a0b2e; color: #ffcf2e; border: 2px solid var(--pr-outline); }
.price-pill.free { background: #5cf29a; color: #1a0b2e; }
/* pack collections (generated when BundleLibrary has includesBundleIDs) */
.save-pill { padding: 0.2rem 0.7rem; border-radius: 999px; font-weight: 800; background: #5cf29a; color: #1a0b2e; border: 2px solid var(--pr-outline); }
.bundle-apart { margin-top: 0.6rem; font-size: 0.85rem; font-weight: 600; color: var(--pr-text-on-surface-secondary); }
.collection-card .bundle-suit { letter-spacing: -0.2em; }
.bundle-buy { font-size: 0.85rem; font-weight: 700; color: var(--pr-text-on-surface-secondary); }
.cta-band { margin-top: 4.5rem; }
.cta-card {
  max-width: 50rem; margin: 0 auto; padding: clamp(1.6rem, 4vw, 2.8rem); text-align: center;
  background: var(--pr-surface); color: var(--pr-text-on-surface);
  border: var(--pr-stroke-card) solid var(--pr-outline); border-radius: var(--pr-radius-sheet); box-shadow: 8px 8px 0 var(--pr-shadow);
  --btn-shadow: var(--paper-btn-shadow);
}
.cta-card h2 { font-size: clamp(1.9rem, 2vw + 1rem, 2.6rem); }
.cta-card p { margin: 0.8rem auto 1.5rem; max-width: 38rem; line-height: 1.55; color: var(--pr-text-on-surface-secondary); }

/* App screenshots (kept for any page that shows them): keep height:auto WITH the width/height
   attributes — the attribute-vs-CSS override once caused a 3x vertical stretch. */
.shot img, .phone img { width: 100%; height: auto; }

/* ---- 4K / TV: the html font-size clamp scales everything; widen the wrap a touch ---- */
@media (min-width: 2400px) { :root { --wrap: 84rem; } }

/* ---- Reduced motion ----------------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .final-art { animation: none; transform: rotate(-4deg); }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .game, .game img, .pack, .pack-card, .bundle-card, .pr-button, .button, .store-badge, .age-filter button, .dropzone, .faq summary::after { transition: none; }
  .game:hover, .pack:hover, .bundle-card:hover, .pr-button:hover, .button:hover, .store-badge[href]:hover { transform: none; }
  .game:hover { transform: rotate(var(--pr-tilt, 0deg)); }
  .game:hover img { transform: none; }
}
