/* =================================================================
   TheGoldenChase — styles.css
   Premium dark + gold · Liquid-Glass holo · self-contained, no deps
   ================================================================= */

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Surfaces — violet-biased near-black so gold reads warm */
  --bg:        #0B0A0F;
  --bg-deep:   #070609;
  --surface-1: #15131C;
  --surface-2: #1E1B28;
  --hairline:  #2C2738;

  /* Gold ramp — the brand. Never one flat gold. */
  --gold-100: #FFE9A8;
  --gold-300: #FFD86B;
  --gold-500: #F4C24B;  /* primary */
  --gold-700: #C8932B;  /* darkest gold safe for text */
  --gold-900: #7A5616;  /* shadow / border ONLY — never text */

  --cta-grad:  linear-gradient(180deg, #FFE9A8 0%, #F4C24B 45%, #C8932B 100%);
  --cta-bevel: #FFF6D8;

  /* Holo — motion / foil only, never text */
  --holo-sweep: linear-gradient(115deg, #5FE3FF, #9B7BFF, #FF6FD8, #B6FF7A);

  /* Text */
  --text:    #F5F3FF;
  --muted:   #A8A2C0;
  --on-gold: #0B0A0F;

  /* Live */
  --live-dot:   #FF4D6D;
  --live-muted: #6B6680;

  /* System */
  --font-display: "Space Grotesk", "Clash Display", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body:    "Chakra Petch", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --card-w: clamp(180px, 22vw, 268px);
  --maxw: 1200px;
  --gold-sat: 1; /* power-down driver: 1 live, 0.8 off-air */

  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Power-down: applied only when off-air, so live hours carry no page-wide filter */
/* off-air power-down removed — the site is fully lit 24/7; going live only ADDS the red takeover */

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
select, input { font: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; }
ul { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- HELPERS ---------- */
.grad-gold {
  background: var(--cta-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.kicker {
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 600;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold-500); color: var(--on-gold);
  padding: 10px 16px; border-radius: 8px; font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }
.linklike { color: var(--gold-500); text-decoration: underline; }

/* Scroll-reveal — zero CLS (opacity/transform only) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reduced-motion .reveal { opacity: 1; transform: none; transition: none; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.6em; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  letter-spacing: .01em; white-space: nowrap;
  transition: transform .2s var(--ease-out), box-shadow .25s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn--sm { padding: .65em 1.2em; font-size: .9rem; }
.btn--gold {
  background: var(--cta-grad); color: var(--on-gold);
  box-shadow: inset 0 1px 0 var(--cta-bevel), 0 6px 20px rgba(244,194,75,.22);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 var(--cta-bevel), 0 10px 28px rgba(244,194,75,.34); }
.btn--gold:active { transform: translateY(0); }
.btn--ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--hairline);
}
.btn--ghost:hover { border-color: var(--gold-500); color: var(--gold-300); box-shadow: 0 0 0 1px rgba(244,194,75,.25); }
.btn--disabled, .btn[disabled] {
  background: var(--surface-2); color: var(--muted);
  cursor: not-allowed; box-shadow: none;
}
.btn__live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--live-dot);
  box-shadow: 0 0 0 0 rgba(255,77,109,.6);
  animation: pulse 2s infinite;
}
.reduced-motion .btn__live-dot { animation: none; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,77,109,.55); }
  70% { box-shadow: 0 0 0 8px rgba(255,77,109,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,77,109,0); }
}

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 14px clamp(16px, 4vw, 40px);
  transition: background-color .3s ease, backdrop-filter .3s ease, box-shadow .3s ease;
}
.nav.is-stuck {
  background: rgba(21,19,28,.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--hairline);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 34px; height: 34px; flex: none; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px rgba(244, 194, 75, .55), 0 2px 10px rgba(0, 0, 0, .5); }
.brand__word {
  font-family: var(--font-display); font-weight: 700; font-size: 1.06rem;
  letter-spacing: -.02em; color: var(--text);
}
.brand__gold {
  background: var(--cta-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav__links { display: flex; gap: 26px; }
.nav__links a {
  font-size: .92rem; color: var(--muted); font-weight: 500;
  position: relative; padding: 4px 0; transition: color .2s ease;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1.5px;
  background: var(--gold-500); transition: right .25s var(--ease-out);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { right: 0; }
.nav__actions { display: flex; align-items: center; gap: 12px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--hairline);
  font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  color: var(--muted); white-space: nowrap;
  transition: border-color .3s ease, color .3s ease, background-color .3s ease;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live-muted); flex: none; }
.pill.is-live { color: var(--text); border-color: rgba(255,77,109,.5); background: rgba(255,77,109,.10); }
.pill.is-live .pill__dot { background: var(--live-dot); animation: pulse 2s infinite; }
.reduced-motion .pill.is-live .pill__dot { animation: none; }

.cart-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--hairline); color: var(--text);
  transition: border-color .2s ease, color .2s ease;
}
.cart-btn:hover { border-color: var(--gold-500); color: var(--gold-300); }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  border: 1px solid var(--hairline); color: var(--text);
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.icon-btn:hover { border-color: var(--gold-500); color: var(--gold-300); background: rgba(244,194,75,.08); }
.cart-btn__count {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px; background: var(--gold-500); color: var(--on-gold);
  font-size: .7rem; font-weight: 700; line-height: 18px; text-align: center;
}
.nav__toggle { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--hairline); border-radius: 12px; }
.nav__toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile {
  display: none; flex-direction: column; gap: 4px;
  max-width: var(--maxw); margin: 12px auto 0;
  background: rgba(21,19,28,.96); backdrop-filter: blur(14px);
  border: 1px solid var(--hairline); border-radius: 16px; padding: 10px;
}
.nav__mobile.is-open { display: flex; }
.nav__mobile a { padding: 12px 14px; border-radius: 10px; color: var(--text); font-weight: 500; }
.nav__mobile a:hover { background: var(--surface-2); color: var(--gold-300); }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(180px, 24vh, 250px) clamp(16px, 4vw, 40px) 0;
  text-align: center; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__spot {
  position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 120vw; height: 80vh;
  background: radial-gradient(60% 60% at 50% 0%, rgba(244,194,75,.16), rgba(244,194,75,0) 70%);
}
.hero__aurora {
  position: absolute; bottom: -20%; left: -10%; right: -10%; height: 60%;
  background: radial-gradient(50% 80% at 30% 100%, rgba(155,123,255,.12), transparent 70%),
              radial-gradient(50% 80% at 75% 100%, rgba(95,227,255,.10), transparent 70%);
  filter: blur(20px);
  animation: drift 22s ease-in-out infinite alternate;
}
.reduced-motion .hero__aurora { animation: none; }
@keyframes drift { from { transform: translateX(-3%); } to { transform: translateX(3%); } }
.hero__grain {
  position: absolute; inset: 0; opacity: .035; mix-blend-mode: overlay;
  background-image: radial-gradient(rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 3px 3px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  box-shadow: inset 0 -120px 120px -60px var(--bg), inset 0 0 200px 40px rgba(7,6,9,.6);
}
.hero__content { position: relative; z-index: 2; max-width: 760px; }
.hero__eyebrow { color: var(--muted); letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin-bottom: 18px; }
.hero__title { font-size: clamp(2.6rem, 8vw, 5.4rem); font-weight: 700; letter-spacing: -.03em; }
.hero__sub { color: var(--muted); font-size: clamp(1rem, 2.2vw, 1.18rem); max-width: 540px; margin: 22px auto 0; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ---------- SHOWCASE (3D ring) ---------- */
.showcase { position: relative; z-index: 1; width: 100%; margin-top: clamp(20px, 4vh, 50px); }
.viewport {
  position: relative; width: 100%;
  height: clamp(330px, 46vh, 480px);
  perspective: 1600px; perspective-origin: 50% 42%;
  overflow: hidden;
}
.stage {
  position: absolute; inset: 0; margin: auto;
  width: var(--card-w); height: calc(var(--card-w) * 7 / 5);
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--radius, 520px) * -1)) rotateY(var(--ring-rot, 0deg));
  will-change: transform;
}
.showcase__floor {
  position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%);
  width: min(70vw, 520px); height: 80px; z-index: 0;
  background: radial-gradient(50% 100% at 50% 0%, rgba(244,194,75,.22), transparent 72%);
  filter: blur(6px); pointer-events: none;
}

/* Card (shared by ring + chase grid) */
.card {
  position: absolute; inset: 0;
  width: var(--card-w); height: calc(var(--card-w) * 7 / 5);
  border-radius: 4.55% / 3.25%;
  transform: rotateY(var(--angle, 0deg)) translateZ(var(--radius, 520px));
  backface-visibility: hidden;
  transition: filter .4s ease;
}
.card:not(.is-front) { filter: brightness(.5) blur(1.4px) saturate(.85); }
.card.is-front { filter: none; }
.card__face {
  position: absolute; inset: 0; border-radius: inherit; overflow: hidden;
  background: var(--surface-2);
  box-shadow: 0 18px 50px rgba(0,0,0,.55), inset 0 0 0 1px rgba(244,194,75,.25);
}
.card__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.card__art[hidden] { display: none; }

/* Placeholder cutout (5:7) */
.card__placeholder {
  position: absolute; inset: 0; border-radius: inherit;
  display: grid; place-items: center;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(244,194,75,.10), transparent 60%),
    var(--surface-2);
}
.card__placeholder::before {
  content: ""; position: absolute; inset: 7px; border-radius: inherit;
  border: 1.5px solid var(--gold-700); opacity: .7;
}
.card__watermark { width: 42%; opacity: .12; }
.card__phname {
  position: absolute; bottom: 9%; left: 0; right: 0; text-align: center;
  font-family: var(--font-display); font-size: .8rem; letter-spacing: .08em;
  color: var(--muted); text-transform: uppercase; opacity: .8; padding: 0 8%;
}

/* Foil layers (shared) */
.fx-shine, .fx-foil {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity .3s ease; z-index: 3;
}
.fx-shine {
  mix-blend-mode: overlay;
  background-image: radial-gradient(circle at var(--mx,50%) var(--my,50%),
    rgba(255,255,255,.85) 5%, rgba(255,255,255,.12) 26%, transparent 60%);
}
.fx-foil {
  z-index: 2; mix-blend-mode: color-dodge; --space: 5%;
  background-image:
    repeating-linear-gradient(0deg,
      hsl(2,100%,73%) calc(var(--space) * 1), hsl(53,100%,69%) calc(var(--space) * 2),
      hsl(93,100%,69%) calc(var(--space) * 3), hsl(176,100%,76%) calc(var(--space) * 4),
      hsl(228,100%,74%) calc(var(--space) * 5), hsl(283,100%,73%) calc(var(--space) * 6),
      hsl(2,100%,73%) calc(var(--space) * 7)),
    radial-gradient(farthest-corner circle at var(--mx,50%) var(--my,50%),
      rgba(255,255,255,.55) 0%, rgba(0,0,0,.4) 90%);
  background-blend-mode: color-dodge, normal;
  background-position: calc(((var(--mx,50%) - 50%) * .4) + 50%) calc(((var(--my,50%) - 50%) * .4) + 50%), center;
  background-size: 200% 200%, cover;
  -webkit-mask-image: radial-gradient(circle at var(--mx,50%) var(--my,50%), #000 0%, transparent 62%);
          mask-image: radial-gradient(circle at var(--mx,50%) var(--my,50%), #000 0%, transparent 62%);
}
.card.is-active .fx-shine { opacity: 1; }
.card.is-active.holo .fx-foil { opacity: .72; }
/* Chase-grid interactive cards share the foil mechanics */
.holo-card.is-active .fx-shine { opacity: 1; }
.holo-card.is-active.holo .fx-foil { opacity: .72; }
.holo-card .fx-shine, .holo-card .fx-foil { z-index: 3; }

/* Diagonal gleam that whips across the front card on land */
.card__gleam {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 4;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.45) 50%, transparent 62%);
  transform: translateX(-130%); opacity: 0;
}
.card.is-front .card__gleam { animation: gleam 1.1s var(--ease-out) .15s; }
.reduced-motion .card.is-front .card__gleam { animation: none; }
@keyframes gleam {
  0% { transform: translateX(-130%); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateX(130%); opacity: 0; }
}
/* Front chase card keeps a gentle holo glow */
.card.is-front.holo .fx-foil { opacity: .5; }

/* ---- Glare removed from the rotating wheel (per request): no white shine spot / sweep ---- */
#showcase .fx-shine { display: none !important; }
#showcase .card__gleam { display: none !important; }
#showcase .card.is-active.holo .fx-foil,
#showcase .card.is-front.holo .fx-foil { opacity: .3; }

.showcase__controls {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin-top: 18px; position: relative; z-index: 5;
}
.round-btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--hairline); color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color .2s ease, color .2s ease, transform .15s ease;
}
.round-btn:hover { border-color: var(--gold-500); color: var(--gold-300); }
.round-btn:active { transform: scale(.94); }
.showcase__caption {
  min-width: 240px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.showcase__caption .cap-name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--text); line-height: 1.1;
  text-shadow: 0 1px 12px rgba(0,0,0,.5);
}
.showcase__caption .cap-sub { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.showcase__caption .cap-meta { color: var(--muted); font-size: .85rem; }
.showcase__caption .cap-price {
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--gold-300);
  font-variant-numeric: tabular-nums; text-shadow: 0 0 16px rgba(244,194,75,.35);
}
.showcase__caption .cap-chip {
  display: inline-block; margin-left: 2px; padding: 1px 8px; border-radius: 999px;
  font-size: .68rem; border: 1px solid var(--hairline); color: var(--gold-300);
}

/* ---------- TICKER ---------- */
.ticker {
  position: relative; z-index: 1; width: 100vw; margin-top: clamp(22px, 4vh, 44px);
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  background: rgba(7,6,9,.4); overflow: hidden; padding: 12px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track { display: inline-flex; align-items: center; gap: 26px; white-space: nowrap; animation: scroll-x 38s linear infinite; }
.ticker__track span { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ticker__track span:nth-child(even) { color: var(--gold-700); }
.reduced-motion .ticker__track { animation: none; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- SECTIONS ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(64px, 10vh, 120px) clamp(16px, 4vw, 40px); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 6vh, 60px); }
.section__title { font-size: clamp(2rem, 5vw, 3.2rem); margin-top: 10px; }
.section__lede { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }

/* ---------- CHASE GRID (interactive holo cards) ---------- */
.chase-grid {
  display: grid; gap: clamp(20px, 3vw, 34px);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  justify-items: center;
}
.chase-card { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 280px; }
.tilt { perspective: 900px; width: 100%; }
.holo-card {
  position: relative; width: 100%; aspect-ratio: 5 / 7;
  border-radius: 4.55% / 3.25%; overflow: hidden;
  transform: rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));
  transform-style: preserve-3d; transition: transform .4s var(--ease-out);
  background: var(--surface-2);
  box-shadow: 0 16px 44px rgba(0,0,0,.5), inset 0 0 0 1px rgba(244,194,75,.22);
  cursor: pointer;
}
.tilt:hover .holo-card, .tilt:focus-within .holo-card { transition: transform .08s linear; }
.chase-card figcaption { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.chase-card__name { font-family: var(--font-display); font-weight: 600; color: var(--text); }
.chase-card__set { color: var(--muted); font-size: .85rem; }
.chase-card__price { margin-left: auto; color: var(--gold-300); font-weight: 600; font-variant-numeric: tabular-nums; }
.chip {
  display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .72rem;
  border: 1px solid var(--hairline); color: var(--gold-300); background: var(--surface-1);
}

/* ---------- STORE ---------- */
.section--store { position: relative; }
.store-toolbar {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: end;
  background: var(--surface-1); border: 1px solid var(--hairline); border-radius: 18px;
  padding: 18px; margin-bottom: 34px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--grow { margin-left: auto; }
.field label { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field select {
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--hairline); border-radius: 10px; padding: 9px 32px 9px 12px;
  appearance: none; cursor: pointer; min-width: 150px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23A8A2C0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center;
  transition: border-color .2s ease;
}
.field select:hover { border-color: var(--gold-700); }
.field select:focus-visible { border-color: var(--gold-500); }

.store-grid {
  display: grid; gap: clamp(18px, 2.4vw, 28px);
  grid-template-columns: repeat(auto-fill, minmax(264px, 1fr));
}
.case-card {
  background: var(--surface-1); border: 1px solid var(--hairline); border-radius: 18px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s var(--ease-out), border-color .25s ease, box-shadow .25s ease;
}
.case-card:hover { transform: translateY(-4px); border-color: rgba(244,194,75,.4); box-shadow: 0 18px 44px rgba(0,0,0,.45); }
.case-card.is-hidden { display: none; }
.case-card.is-soldout { opacity: .62; }
.case-card.is-soldout:hover { transform: none; }

.case-card__media { position: relative; aspect-ratio: 1 / 1; background: var(--surface-2); }
.case-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 2; padding: 10px; }
.case-card__img[hidden] { display: none; }
.case-card__media:has(.case-card__img:not([hidden])) .case-card__placeholder { display: none; }
.case-card__badge { z-index: 5; }
.case-card__placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  background:
    radial-gradient(80% 60% at 50% 30%, rgba(244,194,75,.10), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.012) 0 14px, transparent 14px 28px),
    var(--surface-2);
}
.case-card__placeholder::before {
  content: ""; width: 46%; height: 64%; border-radius: 8px;
  border: 1.5px solid var(--gold-700);
  background: linear-gradient(160deg, rgba(244,194,75,.10), rgba(122,86,22,.06));
  box-shadow: inset 0 0 30px rgba(0,0,0,.4);
}
.case-card__placeholder::after {
  content: attr(data-label); position: absolute; bottom: 12%; left: 0; right: 0;
  text-align: center; font-family: var(--font-display); font-size: .82rem;
  letter-spacing: .06em; color: var(--muted); padding: 0 12%; opacity: .85;
}
.case-card__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 4px 11px; border-radius: 999px; font-size: .72rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}
.badge--new { background: var(--cta-grad); color: var(--on-gold); }
.badge--preorder { background: rgba(155,123,255,.18); color: #C9BBFF; border: 1px solid rgba(155,123,255,.5); }
.badge--soldout { background: var(--surface-2); color: var(--muted); border: 1px solid var(--hairline); }

.case-card__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.case-card__title { font-size: 1.2rem; }
.case-card__meta { color: var(--muted); font-size: .85rem; }
.case-card__pricing { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.case-card__price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--gold-500); font-variant-numeric: tabular-nums; }
.case-card__unit { font-size: .82rem; font-weight: 500; color: var(--muted); }
.case-card__per { color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; }
.case-card__total { color: var(--gold-300); font-weight: 700; }
.case-card__min { font-size: .76rem; color: var(--gold-700); letter-spacing: .03em; }
.case-card__buy { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px; }
.case-card__add { flex: 1; }

/* Quantity stepper */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--hairline); border-radius: 999px; background: var(--surface-2); }
.qty__btn {
  width: 34px; height: 38px; display: grid; place-items: center; font-size: 1.2rem; color: var(--text);
  transition: color .2s ease;
}
.qty__btn:hover { color: var(--gold-300); }
.qty__btn:disabled { color: var(--live-muted); cursor: not-allowed; }
.qty__val { min-width: 22px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }

.store-empty { text-align: center; color: var(--muted); margin-top: 30px; font-size: 1.05rem; }
.store-note { text-align: center; color: var(--muted); margin-top: 34px; }
.store-note a { color: var(--gold-300); text-decoration: underline; }
.store-biz { text-align: center; max-width: 640px; margin: 18px auto 0; padding: 16px 22px; border: 1px solid var(--hairline); border-radius: 14px; background: var(--surface-1); color: var(--muted); font-size: .92rem; line-height: 1.5; }
.store-biz b { color: var(--text); font-weight: 600; }
.store-biz a { color: var(--gold-300); text-decoration: underline; font-weight: 600; }

/* ---------- SINGLES GALLERY ---------- */
.singles-count { color: var(--muted); font-size: .85rem; margin: -16px 0 18px; }
.singles-grid { display: grid; gap: clamp(16px, 2vw, 26px); grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.single-card {
  background: var(--surface-1); border: 1px solid var(--hairline); border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s var(--ease-out), border-color .25s ease, box-shadow .25s ease;
}
.single-card:hover { transform: translateY(-4px); border-color: rgba(244,194,75,.45); box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.single-card.is-hidden { display: none; }
.single-card.is-clamped { display: none; }
.sg-more-wrap { display: flex; justify-content: center; margin-top: clamp(22px, 3vw, 34px); }
.sg-more { min-width: 230px; letter-spacing: .01em; }
.single-card__media { position: relative; display: block; aspect-ratio: 5 / 7; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, rgba(244,194,75,.07), transparent 65%), var(--surface-2); }
.single-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 7px; transition: transform .4s var(--ease-out); }
.single-card:hover .single-card__media img { transform: scale(1.03); }
.single-card__rarity {
  position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 999px;
  font-size: .68rem; font-weight: 700; letter-spacing: .04em;
  background: var(--cta-grad); color: var(--on-gold); box-shadow: inset 0 1px 0 var(--cta-bevel);
}
.single-card__body { padding: 14px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.single-card__name { font-size: 1.02rem; line-height: 1.2; }
.single-card__set { color: var(--muted); font-size: .8rem; }
.single-card__foot { display: grid; gap: 9px; margin-top: auto; padding-top: 12px; }
.single-card__foot .btn { width: 100%; justify-content: center; }
.single-card__price { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--gold-500); font-variant-numeric: tabular-nums; }
.single-card__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 3px; }
.tag { font-size: .62rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; }
.tag--lang { color: var(--gold-300); border: 1px solid var(--hairline); background: var(--surface-2); }
.tag--type { color: #0B0A0F; }
.tag--type[data-t="Fire"]      { background: #E8553A; }
.tag--type[data-t="Water"]     { background: #4DA3E0; }
.tag--type[data-t="Grass"]     { background: #5FB87A; }
.tag--type[data-t="Psychic"]   { background: #C879D6; }
.tag--type[data-t="Electric"]  { background: #EFC54B; }
.tag--type[data-t="Fighting"]  { background: #C76B45; }
.tag--type[data-t="Dragon"]    { background: #8A7FE0; }
.tag--type[data-t="Fairy"]     { background: #EB9AC2; }
.tag--type[data-t="Steel"]     { background: #9AA4B2; }
.tag--type[data-t="Colorless"] { background: #C9C3B4; }
.tag--type[data-t="Trainer"]   { background: #E0B24A; }
.tag--type[data-t="Dark"]      { background: #6E6592; }
.single-card__desc { color: var(--muted); font-size: .76rem; line-height: 1.45; margin-top: 1px; }
/* price fine print — TCGplayer estimate + last-updated date */
.single-card__est { color: var(--live-muted); font-size: .62rem; line-height: 1.3; margin-top: 7px; letter-spacing: .01em; }
.chase-card__est { flex-basis: 100%; width: 100%; color: var(--live-muted); font-size: .6rem; margin-top: 4px; }
.cap-est { display: block; color: var(--live-muted); font-size: .62rem; margin-top: 5px; letter-spacing: .02em; }
/* placeholder for cards without a photo yet + quantity badge */
.single-card__ph { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 6px; text-align: center; padding: 14px; background: linear-gradient(160deg, #1b1622, #0d0b12); }
.single-card__ph span { font-family: var(--font-display); font-weight: 700; color: var(--gold-300); font-size: .98rem; line-height: 1.15; }
.single-card__ph small { color: var(--muted); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; }
.single-card__qty { position: absolute; top: 8px; right: 8px; z-index: 3; background: rgba(8,7,11,.82); border: 1px solid var(--hairline); color: #ffe9a8; font-family: var(--font-display); font-weight: 700; font-size: .7rem; padding: 2px 8px; border-radius: 999px; }
/* qty > 1 → checkbox stock chip on the artwork */
.single-card__stock { position: absolute; top: 8px; right: 8px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; background: rgba(8,7,11,.86); border: 1px solid rgba(244,194,75,.55); color: #ffe9a8; font-family: var(--font-display); font-weight: 700; font-size: .66rem; letter-spacing: .03em; padding: 3px 9px 3px 4px; border-radius: 999px; }
.stock__box { width: 14px; height: 14px; border-radius: 4px; background: var(--cta-grad); color: #0B0A0F; display: grid; place-items: center; font-size: .62rem; font-weight: 900; line-height: 1; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.stock__box--pulled { background: #35323f; color: #8d8798; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }   /* a copy already pulled on stream */
.single-card__stock { gap: 4px; padding: 4px 8px; }
/* hit cards — pulled on a recent show: card stays fully visible (image + price), a HIT stamp marks the difference */
.single-card.is-hit .single-card__media img,
.single-card.is-hit .single-card__media .single-card__ph { filter: brightness(.78) saturate(.8); }
.single-card.is-hit { border-color: rgba(244, 194, 75, .35); }
.single-card__hitstamp {
  position: absolute; top: 50%; left: 50%; z-index: 3; transform: translate(-50%, -50%) rotate(-18deg);
  padding: 5px 26px; border-radius: 8px; pointer-events: none;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.15rem, 2.4vw, 1.5rem); letter-spacing: .22em; text-indent: .22em;
  color: #0B0A0F; background: var(--cta-grad);
  border: 2px solid rgba(11, 10, 15, .55); box-shadow: 0 8px 26px rgba(0, 0, 0, .55), 0 0 30px rgba(244, 194, 75, .45);
}

/* ===================================================================
   OUR RECENT HITS — glowing pedestal showcase of 3 standout pulls
   =================================================================== */
.hits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3.5vw, 34px); max-width: 1000px; margin: 0 auto; }
@media (max-width: 760px) { .hits-grid { grid-template-columns: 1fr; max-width: 360px; } }
.hit {
  position: relative; display: grid; justify-items: center; gap: 11px; padding: 32px 18px 22px; border-radius: 22px; text-align: center;
  background: radial-gradient(130% 80% at 50% -10%, rgba(244,194,75,.14), transparent 58%), var(--surface-1);
  border: 1px solid var(--hairline);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .45s;
}
.hit:hover { transform: translateY(-7px); box-shadow: 0 34px 72px rgba(0,0,0,.5); border-color: rgba(244,194,75,.4); }
.hit__badge {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  padding: 4px 14px; border-radius: 999px; font-family: var(--font-display); font-weight: 800;
  font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: #0B0A0F; background: var(--cta-grad);
  box-shadow: 0 6px 18px rgba(244,194,75,.35); white-space: nowrap;
}
.hit__media { position: relative; width: clamp(150px, 62%, 196px); aspect-ratio: 5 / 7; margin-top: 16px; display: grid; place-items: center; }
.hit__glow {
  position: absolute; inset: -16% -12%; z-index: 0; border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow, rgba(244,194,75,.5)), transparent 72%);
  filter: blur(9px); opacity: .8; animation: hitGlow 3.4s ease-in-out infinite;
}
.hit:hover .hit__glow { opacity: 1; }
@keyframes hitGlow { 50% { transform: scale(1.08); opacity: 1; } }
.hit__media img, .hit__media .single-card__ph {
  position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; border-radius: 10px;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.55)); transition: transform .45s var(--ease-out);
}
.hit:hover .hit__media img { transform: scale(1.05) rotate(-1.5deg); }
.hit__name { font-family: var(--font-display); font-size: 1.18rem; line-height: 1.15; margin-top: 4px; }
.hit__set { color: var(--muted); font-size: .8rem; }
.hit__price { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--gold-300); text-shadow: 0 0 18px rgba(244,194,75,.3); }
.hit .btn { margin-top: 8px; }
.reduced-motion .hit__glow { animation: none; }
.hit__soon {
  position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 10px;
  display: grid; place-items: center; text-align: center;
  background: linear-gradient(160deg, #1b1622, #0d0b12); border: 1px dashed rgba(244,194,75,.32);
  font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; line-height: 1.05;
  letter-spacing: .05em; text-transform: uppercase; color: var(--gold-300);
}
.hit--soon .hit__price { font-size: 1.05rem; color: var(--muted); }
/* Recent Hits: show top 3, reveal the rest via the Show-more toggle */
.hit--extra { display: none; }
.hits-grid.is-expanded .hit--extra { display: grid; }
.hits-more-wrap { display: flex; justify-content: center; margin-top: clamp(24px, 3vw, 34px); }
.hits-more { min-width: 230px; letter-spacing: .01em; }

/* ===================================================================
   CONTACT — support form + business inquiries
   =================================================================== */
.cform { max-width: 600px; margin: 0 auto; display: grid; gap: 16px; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .cform__row { grid-template-columns: 1fr; } }
.cform .field { display: grid; gap: 6px; text-align: left; }
.cform label { font-size: .8rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.cform .opt { color: var(--live-muted); font-weight: 400; }
.cform input, .cform textarea {
  width: 100%; background: var(--surface-1); border: 1px solid var(--hairline); border-radius: 12px;
  padding: 12px 14px; color: var(--text); font: inherit; font-size: .95rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.cform input::placeholder, .cform textarea::placeholder { color: var(--live-muted); }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(244,194,75,.14); }
.cform textarea { resize: vertical; min-height: 124px; line-height: 1.5; }
.cform__foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cform__msg { font-size: .86rem; color: var(--muted); }
.cform__msg.is-ok { color: var(--gold-300); }
.cform__msg.is-err { color: #ff8a7a; }
.cform__to { font-size: .78rem; color: var(--live-muted); text-align: left; margin-top: -2px; }
.cform__to b { color: var(--muted); font-weight: 600; }

.biz {
  max-width: 600px; margin: 26px auto 0; display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; padding: 18px 22px; border: 1px solid var(--hairline); border-radius: 16px;
  background: radial-gradient(120% 120% at 100% 0%, rgba(244,194,75,.06), transparent 60%), var(--surface-1);
}
.biz__text { text-align: left; }
.biz__h { font-family: var(--font-display); font-size: 1.05rem; }
.biz__sub { color: var(--muted); font-size: .85rem; margin-top: 2px; }

/* ---------- SELL SPLIT ---------- */
.sell-split { display: grid; gap: clamp(18px, 2.5vw, 28px); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.sell-panel {
  background: var(--surface-1); border: 1px solid var(--hairline); border-radius: 22px;
  padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px;
  transition: transform .25s var(--ease-out), border-color .25s ease;
}
.sell-panel:hover { transform: translateY(-3px); border-color: rgba(244,194,75,.35); }
.sell-panel__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(244,194,75,.10); color: var(--gold-300); border: 1px solid rgba(244,194,75,.25);
}
.sell-panel h3 { font-size: 1.5rem; }
.sell-panel p { color: var(--muted); }
.sell-panel__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 10px; }
.sell-panel__list li { font-size: .8rem; color: var(--gold-300); border: 1px solid var(--hairline); border-radius: 999px; padding: 4px 12px; background: var(--surface-2); }
.sell-panel .btn { align-self: flex-start; margin-top: auto; }

/* ---------- SCHEDULE ---------- */
.section--schedule { max-width: var(--maxw); }
.schedule {
  display: grid; gap: clamp(28px, 5vw, 60px); align-items: center;
  grid-template-columns: 1.1fr 1fr;
  background: linear-gradient(160deg, var(--surface-1), var(--bg-deep));
  border: 1px solid var(--hairline); border-radius: 28px;
  padding: clamp(28px, 5vw, 56px);
}
.schedule__copy .section__title { margin: 8px 0 0; }
.schedule__status {
  display: flex; flex-direction: column; gap: 2px; margin: 22px 0;
  padding: 14px 18px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--hairline);
}
.schedule__statusText { font-family: var(--font-display); font-weight: 600; color: var(--text); }
.schedule__countdown { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.schedule__week { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.day {
  aspect-ratio: 3 / 4; border-radius: 16px; border: 1px solid var(--hairline);
  background: var(--surface-1); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-align: center; padding: 8px;
}
.day__name { font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.day__hours { font-size: .72rem; color: var(--muted); }
.day.is-today { border-color: var(--gold-500); background: rgba(244,194,75,.08); box-shadow: 0 0 0 1px rgba(244,194,75,.25); }
.day.is-today .day__name { color: var(--gold-300); }
.day.is-live-now { border-color: var(--live-dot); background: rgba(255,77,109,.08); }
.day__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live-dot); }

/* ---------- TRUST ---------- */
.trust-grid { display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.trust-tile {
  background: var(--surface-1); border: 1px solid var(--hairline); border-radius: 18px; padding: 26px;
  display: flex; flex-direction: column; gap: 10px; color: var(--text);
  transition: transform .25s var(--ease-out), border-color .25s ease;
}
.trust-tile:hover { transform: translateY(-3px); border-color: rgba(244,194,75,.35); }
.trust-tile svg { color: var(--gold-300); }
.trust-tile h3 { font-size: 1.12rem; }
.trust-tile p { color: var(--muted); font-size: .92rem; }

/* ---------- SOCIAL / QUOTES ---------- */
.quotes { position: relative; overflow: hidden; max-width: 1000px; margin: 0 auto 18px; }
.quote {
  background: var(--surface-1); border: 1px solid var(--hairline); border-radius: 18px; padding: 26px;
  display: flex; flex-direction: column; gap: 16px;
}
.quote__text { font-style: italic; color: var(--text); }
.quote__who { display: flex; align-items: center; gap: 12px; }
.quote__avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: var(--cta-grad); color: var(--on-gold);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700;
}
.quote__name { font-weight: 600; }
.quote__handle { color: var(--muted); font-size: .82rem; }
.quote__stars { display: block; color: var(--gold-500); letter-spacing: 2px; font-size: .95rem; margin-bottom: 8px; }
.quotes__track { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 28px); will-change: transform; transition: transform .62s cubic-bezier(.16, 1, .3, 1); }
.quotes__track .quote { flex: 0 0 clamp(240px, 56vw, 400px); text-align: center; transform: scale(.82); opacity: .3; filter: blur(.8px); transition: transform .62s cubic-bezier(.16, 1, .3, 1), opacity .55s ease, filter .55s ease; }
.quotes__track .quote .quote__who { justify-content: center; }
.quotes__track .quote.is-center { transform: scale(1); opacity: 1; filter: none; }
.reduced-motion .quotes__track, .reduced-motion .quotes__track .quote { transition: none; }
.reviews-all { text-align: center; margin: 0 0 40px; }
.social-row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.social-card {
  background: var(--surface-1); border: 1px solid var(--hairline); border-radius: 18px; padding: 22px;
  display: flex; flex-direction: column; gap: 4px;
  transition: transform .25s var(--ease-out), border-color .25s ease;
}
.social-card:hover { transform: translateY(-3px); border-color: var(--gold-500); }
.social-card__name { font-family: var(--font-display); font-weight: 600; }
.social-card__handle { color: var(--muted); font-size: .9rem; }
.social-card__cta { color: var(--gold-300); font-weight: 600; margin-top: 8px; font-size: .9rem; }

/* ---------- NOTIFY ---------- */
.section--notify { }
.notify {
  display: grid; gap: clamp(24px, 4vw, 44px); align-items: center; grid-template-columns: 1fr 1fr;
  background: radial-gradient(120% 140% at 0% 0%, rgba(244,194,75,.10), transparent 55%), var(--surface-1);
  border: 1px solid var(--hairline); border-radius: 28px; padding: clamp(28px, 5vw, 56px);
}
.notify__form { display: flex; flex-wrap: wrap; gap: 12px; }
.notify__input {
  flex: 1; min-width: 200px;
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--hairline); border-radius: 999px; padding: 14px 20px;
  transition: border-color .2s ease;
}
.notify__input::placeholder { color: var(--live-muted); }
.notify__input:focus-visible { border-color: var(--gold-500); outline: none; box-shadow: 0 0 0 3px rgba(244,194,75,.18); }
.notify__input.is-invalid { border-color: #ff6b6b; }
.notify__hint { flex-basis: 100%; color: var(--muted); font-size: .82rem; }
.notify__msg { flex-basis: 100%; font-size: .9rem; min-height: 1.2em; }
.notify__msg.is-ok { color: #6fcf97; }
.notify__msg.is-err { color: #ff6b6b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--hairline); background: var(--bg-deep); margin-top: 40px; }
.footer__inner {
  max-width: var(--maxw); margin: 0 auto; padding: clamp(40px, 6vw, 64px) clamp(16px, 4vw, 40px) 30px;
  display: grid; gap: 30px; grid-template-columns: 1.4fr 1fr 1fr;
}
.footer__tag { color: var(--muted); margin-top: 12px; max-width: 320px; font-size: .92rem; }
.footer__nav, .footer__social { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a, .footer__social a { color: var(--muted); font-size: .92rem; transition: color .2s ease; }
.footer__nav a:hover, .footer__social a:hover { color: var(--gold-300); }
.footer__base {
  max-width: var(--maxw); margin: 0 auto; padding: 20px clamp(16px, 4vw, 40px);
  border-top: 1px solid var(--hairline);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--live-muted); font-size: .84rem;
}

/* ---------- SNIPCART — dark + gold theme ---------- */
#snipcart {
  --bgColor-default: #0B0A0F;
  --bgColor-alt: #15131C;
  --bgColor-modal: #0B0A0F;
  --bgColor-modalVeil: rgba(0,0,0,.84);
  --bgColor-info: #15131C;
  --color-default: #F5F3FF;
  --color-alt: #A8A2C0;
  --color-icon: #F4C24B;
  --borderColor-default: #2C2738;

  --color-link: #FFD86B;
  --color-link-hover: #FFE9A8;
  --color-link-active: #F4C24B;

  --bgColor-buttonPrimary: #F4C24B;
  --bgColor-buttonPrimary-hover: #FFD86B;
  --bgColor-buttonPrimary-active: #C8932B;
  --color-buttonPrimary: #0B0A0F;
  --color-buttonPrimary-hover: #0B0A0F;
  --borderColor-buttonPrimary: #F4C24B;
  --shadow-buttonPrimary-hover: 0 6px 22px rgba(244,194,75,.35);

  --bgColor-buttonSecondary: transparent;
  --color-buttonSecondary: #FFD86B;
  --borderColor-buttonSecondary: #2C2738;

  --bgColor-input: #15131C;
  --color-input: #F5F3FF;
  --borderColor-input: #2C2738;
  --borderColor-input-focus: #F4C24B;

  --color-success: #6fcf97;
  --color-error: #ff6b6b; /* lightened for AA on dark */
}
/* keep a visible, distinct keyboard focus ring inside the cart */
#snipcart .snipcart-button-primary:focus-visible,
#snipcart .snipcart-button-secondary:focus-visible,
#snipcart a:focus-visible { outline: 2px solid #F4C24B; outline-offset: 2px; }

/* Snipcart's default theme ships form labels as dark #2E3338, which blended
   into our dark checkout background. Force readable light text on labels,
   their (optional) tips, and input placeholders. */
#snipcart .snipcart-form__label,
.snipcart .snipcart-form__label,
#snipcart label,
.snipcart label { color: #E4E0F2 !important; }
#snipcart .snipcart-form__label-tip,
.snipcart .snipcart-form__label-tip,
#snipcart .snipcart-form__help,
.snipcart .snipcart-form__help { color: #A8A2C0 !important; }
#snipcart input::placeholder,
#snipcart textarea::placeholder,
.snipcart input::placeholder,
.snipcart textarea::placeholder { color: #8F88A8; opacity: 1; }

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 900px) {
  .schedule, .notify { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
/* Collapse the centre nav to a hamburger before the links can crowd the hero title */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
}
@media (max-width: 560px) {
  /* keep the fixed nav within phone width — socials/live-text also live in the footer + menu */
  .nav__actions .icon-btn { display: none; }
  .nav__actions { gap: 9px; }
  .pill__text { max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
/* belt-and-suspenders: never allow sideways scroll on the root (the fixed nav can escape body's clip) */
html { overflow-x: clip; }
@media (max-width: 820px) {
  :root { --card-w: clamp(150px, 42vw, 230px); }
  .viewport { perspective: 1000px; height: clamp(300px, 52vh, 400px); }
}
@media (max-width: 560px) {
  .pill__text { display: none; }
  .pill { padding: 9px; }
  .icon-btn { display: none; }   /* socials live in the menu + footer here */
  :root { --card-w: clamp(140px, 56vw, 200px); }
  .hero { padding-top: 124px; }
  .footer__inner { grid-template-columns: 1fr; }
  .case-card__buy { flex-wrap: wrap; }
  .store-toolbar { flex-direction: column; align-items: stretch; }
  .field--grow { margin-left: 0; }
  .field select { width: 100%; }
}

/* =================================================================
   REDUCED MOTION — calm, full content, no movement
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .card:not(.is-front) { filter: brightness(.62) saturate(.9); }
  .fx-foil { mask-image: none; -webkit-mask-image: none; background-position: center; }
  .card.is-active.holo .fx-foil { opacity: .38; }
  #intro { display: none !important; }
}

/* =================================================================
   INTRO — molten gold Pokéball fill (~2s); scroll/key to skip
   ================================================================= */
#intro {
  position: fixed; inset: 0; z-index: 9999; overflow: hidden; background: #050406;
  transition: opacity .5s ease;
  animation: introSafety .01s linear 3.8s forwards; /* failsafe if JS never runs */
}
#intro.is-done { opacity: 0; pointer-events: none; }
#intro.is-removed { display: none !important; }
.reduced-motion #intro { display: none !important; }
@keyframes introSafety { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* full-screen gold-Pokeball image — fills the whole screen (phone or desktop), no letterbox */
.intro__ball {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1;
  object-fit: cover; object-position: center 42%;
  animation: introBallIn .9s ease both;
}
@keyframes introBallIn { from { opacity: 0; transform: scale(1.05); filter: brightness(1.8); } to { opacity: 1; transform: scale(1); filter: none; } }

/* soft vignette so the wordmark reads and the edges melt into the dark storm */
.intro__vignette { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(115% 85% at 50% 40%, transparent 42%, rgba(5,4,6,.35) 78%, rgba(5,4,6,.8) 100%),
              linear-gradient(0deg, rgba(5,4,6,.9), transparent 26%); }

/* lightning storm over the image (bolts injected by script.js) */
.intro__bolts { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.ibolt { position: absolute; opacity: 0; will-change: opacity;
  filter: drop-shadow(0 0 8px #F4C24B) drop-shadow(0 0 3px #FFF3D6);
  animation-name: iboltFlash; animation-iteration-count: infinite; animation-timing-function: ease-in-out; }
.ibolt path { fill: none; stroke: #FFF7E0; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@keyframes iboltFlash { 0%, 100% { opacity: 0; } 4% { opacity: 1; } 9% { opacity: .12; } 15% { opacity: .95; } 24% { opacity: .08; } 32% { opacity: 0; } }

/* molten gold dripping off the Pokeball (drips injected by script.js), anchored under the ball */
.intro__drips { position: absolute; left: 50%; top: 62%; transform: translateX(-50%); width: min(66vw, 620px); height: 0; z-index: 3; }
.idrip {
  position: absolute; top: 0; border-radius: 0 0 60% 60%;
  background: linear-gradient(180deg, #FFF3D6, #F4C24B 52%, #C8932B);
  filter: drop-shadow(0 0 5px rgba(244,194,75,.85)); transform-origin: top; transform: scaleY(0);
  animation-name: idripFlow; animation-iteration-count: infinite; animation-timing-function: ease-in;
}
.idrip::after { content: ""; position: absolute; left: 50%; bottom: -3px; width: 190%; height: 7px; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(closest-side, #FFF3D6, #C8932B); box-shadow: 0 0 7px rgba(244,194,75,.85); }
@keyframes idripFlow { 0% { transform: scaleY(0); opacity: 0; } 12% { opacity: 1; } 80% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1) translateY(12px); opacity: 0; } }

.intro__word {
  position: absolute; left: 0; right: 0; bottom: max(6vh, 30px); z-index: 4; text-align: center;
  font-family: var(--font-display); font-weight: 700; letter-spacing: .05em; font-size: clamp(1.1rem, 4.2vw, 1.7rem);
  color: var(--text); text-shadow: 0 0 20px rgba(244,194,75,.5), 0 2px 8px #000; opacity: 0; animation: wordIn .6s ease .5s forwards;
}
@keyframes wordIn { to { opacity: 1; } }

/* =================================================================
   LIGHTNING — gold bolts / white sparks, behind UI, edge-biased
   ================================================================= */
#lightning { position: fixed; inset: 0; z-index: -1; pointer-events: none; mix-blend-mode: screen; opacity: .42; filter: blur(.5px); }
.reduced-motion #lightning { display: none; }
@media (prefers-reduced-motion: reduce) { #lightning { display: none; } }

/* =================================================================
   MYSTERY PACK
   ================================================================= */
.mystery {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 60px);
  align-items: center; justify-items: center;
  background: radial-gradient(130% 130% at 0% 0%, rgba(244, 194, 75, .08), transparent 55%), var(--surface-1);
  border: 1px solid var(--hairline); border-radius: 28px; padding: clamp(26px, 4vw, 48px);
}
.mystery__packwrap { perspective: 800px; }
.pack {
  position: relative; width: clamp(168px, 22vw, 208px); aspect-ratio: 3 / 4.4;
  border-radius: 12px; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(155deg, #211b2e, #0d0b12 65%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(244, 194, 75, .3), inset 0 2px 0 rgba(255, 255, 255, .06);
  transition: transform .45s var(--ease-out);
}
.mystery__packwrap:hover .pack { transform: rotateY(-9deg) rotateX(5deg) translateY(-4px); }
.pack__foil {
  position: absolute; inset: 0; mix-blend-mode: screen; pointer-events: none;
  background: linear-gradient(120deg, transparent 28%, rgba(244, 194, 75, .25) 47%, rgba(255, 236, 178, .45) 52%, transparent 72%);
  background-size: 250% 100%; animation: foilShine 5s linear infinite;
}
@keyframes foilShine { to { background-position: -250% 0; } }
.pack__perf { position: absolute; top: 18%; left: 9px; right: 9px; border-top: 2px dashed rgba(244, 194, 75, .4); }
.pack__mark { position: absolute; top: 6.5%; width: 30px; height: 30px; opacity: .92; }
.pack__title {
  font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; line-height: 1; text-align: center;
  background: var(--cta-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.pack__title b { font-size: 1.7rem; }
.pack__sub { position: absolute; bottom: 9%; font-size: .58rem; letter-spacing: .22em; color: var(--gold-700); }

.mystery__info { width: 100%; max-width: 430px; }
.mystery__h { font-size: 1.05rem; margin-bottom: 12px; }
.mystery__odds { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.mystery__odds li { display: flex; align-items: center; gap: 11px; color: var(--muted); font-size: .95rem; }
.mystery__odds b { color: var(--text); min-width: 22px; display: inline-block; }
.mystery__odds .todds { margin-left: auto; color: var(--gold-300); font-variant-numeric: tabular-nums; font-size: .85rem; }
.tdot { width: 11px; height: 11px; border-radius: 50%; flex: none; box-shadow: 0 0 9px currentColor; }
.tdot.t1 { background: #F4C24B; color: #F4C24B; }
.tdot.t2 { background: #4D9BFF; color: #4D9BFF; }
.tdot.t3 { background: #5FE3FF; color: #5FE3FF; }
.tdot.t4 { background: #9AA4B2; color: #9AA4B2; }
/* five-rarity dots — used on the store tiles + the level chooser */
.tdot--common   { background: #9AA4B2; color: #9AA4B2; }
.tdot--uncommon { background: #57D07E; color: #57D07E; }
.tdot--rare     { background: #4D9BFF; color: #4D9BFF; }
.tdot--epic     { background: #A970FF; color: #A970FF; }
.tdot--chase    { background: #F4C24B; color: #F4C24B; }
.mystery__buy { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.mystery__price { font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; color: var(--gold-500); }
.mystery__preview {
  display: inline-block; margin-top: 14px; color: var(--gold-300); background: none; border: none;
  cursor: pointer; font-size: .9rem; padding: 0; text-decoration: underline; text-underline-offset: 3px;
}
.mystery__preview:hover { color: var(--gold-500); }
.mystery__fine { margin-top: 12px; color: var(--live-muted); font-size: .78rem; line-height: 1.5; }
.mystery__fine b { color: var(--muted); font-weight: 600; }
@media (max-width: 720px) { .mystery { grid-template-columns: 1fr; gap: 26px; } }

/* ---- Opening overlay ---- */
.mopen { position: fixed; inset: 0; z-index: 9998; display: none; place-items: center; }
.mopen.is-open { display: grid; }
.mopen__backdrop { position: absolute; inset: 0; background: rgba(5, 4, 8, .9); backdrop-filter: blur(7px); animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; } }
.mopen__stage { position: relative; display: grid; place-items: center; gap: 22px; padding: 20px; width: min(92vw, 460px); }
.mopen__hint { color: var(--muted); font-size: .92rem; text-align: center; transition: opacity .3s; min-height: 1.2em; }

/* 3-rarity odds rows */
.mystery__odds--3 .ofreq { color: var(--muted); font-size: .76rem; }

/* ---- Opener: the cover (front) + the card/pack that emerges from behind it ---- */
.opener { position: relative; width: clamp(176px, 46vw, 222px); aspect-ratio: 3 / 6.2; margin: 0 auto; --p: 0;
  transform: scale(calc(1 + var(--p) * 0.16)); transform-origin: center 56%; transition: transform .1s linear; }

.emerge { position: absolute; left: 50%; bottom: 0; width: 84%; aspect-ratio: 5 / 7; z-index: 1; opacity: 0;
  transform: translateX(-50%); }
.emerge--pack { width: 70%; aspect-ratio: 3 / 4.4; }
.emerge.go { animation: emergeUp 1s cubic-bezier(.16, 1, .3, 1) forwards; }
@keyframes emergeUp {
  0% { transform: translateX(-50%) translateY(6%) scale(.94); opacity: 0; }
  16% { opacity: 1; }
  100% { transform: translateX(-50%) translateY(-70%) scale(1.03); opacity: 1; }
}
.emerge__tile {
  position: relative; width: 100%; height: 100%; border-radius: 11px; overflow: hidden; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .1); background: linear-gradient(160deg, #211b2e, #0d0b12);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .55), 0 0 38px var(--glow, rgba(244, 194, 75, .4));
}
.emerge--pack .emerge__tile { background: linear-gradient(160deg, #2a1620, #120b10); }
.emerge__glow { display: none; }
.emerge__img { width: 100%; height: 100%; object-fit: contain; padding: 3.5%; box-sizing: border-box; background: #f4f4f6; border-radius: 12px; }
/* singles (Mystery Card) = show the WHOLE card (contain, dark felt behind) — cover was chopping borders off photo crops */
.mopen.is-cardmode .emerge__img, .mopen.is-cardmode .ppack__img { object-fit: contain; padding: 0; background: #0d0b12; }
.mopen.is-cardmode .ppack { aspect-ratio: 5 / 7; }   /* board tiles take real card proportions in card mode */
.mopen.is-cardmode .ppick__grid { width: min(88vw, 46vh, 720px); }
.emerge__img[hidden] { display: none; }
.emerge__tile > * { grid-area: 1 / 1; }
.emerge__ph { display: grid; gap: 5px; place-items: center; text-align: center; padding: 8px; }
.emerge__ph[hidden] { display: none; }   /* when a real image is shown, don't overlay the placeholder tier on the card */
.emerge__phtier { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: .08em; }
.emerge__phrange { display: none; }  /* no price on the flipped mystery card — tier only */
.emerge__phnote { color: var(--muted); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; }
/* rarity caption BELOW the revealed card (not over it) */
.emerge__cap { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: clamp(10px, 2.2vh, 18px); opacity: 0; transition: opacity .35s ease .15s; pointer-events: none; }
.emerge.is-flipped .emerge__cap { opacity: 1; }
.emerge__captier { display: inline-block; font-family: var(--font-display); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: clamp(.8rem, 2.2vw, 1rem); padding: 7px 18px; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 20px rgba(0, 0, 0, .5); }
.reduced-motion .emerge__cap { transition: none; }

.opack {
  position: absolute; left: 0; right: 0; bottom: 0; width: 100%; aspect-ratio: 3 / 4.4; z-index: 3;
  perspective: 1100px; cursor: grab; touch-action: none;
  animation: packGrow .55s cubic-bezier(.16, 1, .3, 1);
}
@keyframes packGrow { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.opack__body {
  position: absolute; inset: 0; border-radius: 12px; overflow: hidden; display: grid; place-items: end center;
  background: url("assets/mystery-front.webp") top center / 100% auto no-repeat, #0d0b12;
  box-shadow: inset 0 0 0 1.6px rgba(var(--glow, 244,194,75), .6),
              inset 0 0 72px rgba(var(--glow, 244,194,75), .16);
  /* irregular torn TOP edge — the rip that stays behind after the strip tears off (uneven teeth = real tear) */
  clip-path: polygon(0% 15.5%, 2.5% 12.5%, 5% 16.5%, 8.5% 11%, 11.5% 17.5%, 15.5% 13%, 18.5% 18%, 22.5% 11.5%, 25.5% 16%, 29.5% 12%, 33% 17.5%, 36.5% 11%, 40.5% 18.5%, 44.5% 13.5%, 47.5% 16.5%, 51.5% 11.5%, 54.5% 17%, 58.5% 12.5%, 62% 18%, 65.5% 12%, 69.5% 16.5%, 73.5% 11%, 76.5% 17.5%, 80.5% 12.5%, 84% 18%, 87.5% 13.5%, 91% 16.5%, 94.5% 11.5%, 97.5% 15.5%, 100% 13%, 100% 100%, 0% 100%);
  /* drop-shadow traces the torn silhouette: thin paper-fibre highlight along the rip + real depth below */
  filter: drop-shadow(0 -1.5px 0 rgba(248, 244, 255, .22)) drop-shadow(0 20px 32px rgba(0, 0, 0, .55));
}
.opack__body::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(0deg, rgba(6, 5, 9, .92), rgba(6, 5, 9, .2) 65%, transparent); z-index: 1; pointer-events: none; }
.opack__body::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: rgba(var(--glow, 244,194,75), var(--tint, .12)); mix-blend-mode: color; }  /* colour wash tints the gold art to the product colour */
.opack__body .pack__foil { display: block; position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen; background: linear-gradient(115deg, transparent 38%, rgba(var(--glow,244,194,75), .5) 48%, rgba(255,255,255,.72) 51%, rgba(var(--glow,244,194,75), .5) 54%, transparent 64%); background-size: 250% 100%; animation: foilShine 4.6s linear infinite; }  /* moving glint */
.opack__body .pack__title {
  position: relative; z-index: 2; padding: 0 8px 14px;
  font-size: .62rem; font-weight: 600; letter-spacing: .42em; text-indent: .42em; line-height: 1.15;
  color: rgba(255,255,255,.82); -webkit-text-fill-color: rgba(255,255,255,.82); text-shadow: 0 2px 8px rgba(0,0,0,.95);
}
.opack__body .pack__title b {
  display: block; margin-top: 3px;
  font-size: 1.66rem; font-weight: 800; letter-spacing: .04em; text-indent: .04em; line-height: 1;
  background: linear-gradient(180deg, #ffffff 18%, rgba(var(--glow, 244,194,75), 1) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,.9)) drop-shadow(0 0 16px rgba(var(--glow, 244,194,75), .55));
}
.opack__body .pack__mark { display: none; }
.opack__flap {
  position: absolute; top: 0; left: 0; right: 0; height: 23%; z-index: 4;
  transform-origin: 100% 100%;
  transform: translate(calc(var(--p) * 2%), calc(var(--p) * -16%)) rotate(calc(var(--p) * 20deg)) scaleY(calc(1 - var(--p) * .07));  /* slight crumple as it peels */
  transition: transform .05s linear;
  background: url("assets/mystery-front.webp") top center / 100% auto no-repeat, #14101c;
  border-radius: 12px 12px 0 0; display: grid; place-items: center; align-content: center;
  /* irregular torn BOTTOM edge — complements the body's tear */
  clip-path: polygon(0 0, 100% 0, 100% 66%, 97% 84%, 93.5% 69%, 90.5% 88%, 87% 71%, 83.5% 86%, 80% 68%, 76% 90%, 72.5% 70%, 69% 85%, 65.5% 69%, 62% 88%, 58% 71%, 54.5% 86%, 51% 68%, 47% 87%, 43.5% 70%, 40% 84%, 36% 69%, 32.5% 89%, 29% 71%, 25.5% 85%, 22% 68%, 18% 87%, 14.5% 70%, 11% 84%, 7.5% 69%, 4% 86%, 0 70%);
  /* paper-fibre highlight along the tear + lift shadow so the strip reads as a separate piece */
  filter: drop-shadow(0 1.5px 0 rgba(248, 244, 255, .26)) drop-shadow(0 7px 12px rgba(0, 0, 0, .5));
}
/* the strip is the SAME foil as the body: same colour wash + same moving glint */
.opack__flap::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: rgba(var(--glow, 244,194,75), var(--tint, .12)); mix-blend-mode: color; }
.opack__flap::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen; background: linear-gradient(115deg, transparent 38%, rgba(var(--glow,244,194,75), .5) 48%, rgba(255,255,255,.72) 51%, rgba(var(--glow,244,194,75), .5) 54%, transparent 64%); background-size: 250% 100%; animation: foilShine 4.6s linear infinite; }
.opack__riplabel { position: relative; z-index: 2; font-size: .56rem; letter-spacing: .22em; color: var(--gold-300); opacity: calc(1 - var(--p) * 2.2); white-space: nowrap; text-shadow: 0 1px 4px #000; }
.opack.shake { animation: packShake .42s ease; }
@keyframes packShake {
  10%, 90% { transform: translate(-2px, 1px) rotate(-1deg); }
  20%, 80% { transform: translate(3px, -2px) rotate(1.4deg); }
  30%, 50%, 70% { transform: translate(-5px, 2px) rotate(-2deg); }
  40%, 60% { transform: translate(5px, -1px) rotate(2deg); }
}
.opack__flap.tearoff { animation: flapTear .62s cubic-bezier(.3, .1, .6, 1) forwards; }
@keyframes flapTear {
  0%   { transform: translate(2%, -16%) rotate(20deg) scaleY(.93); opacity: 1; }
  45%  { transform: translate(14%, -85%) rotate(33deg) scaleY(.96) rotateX(24deg); opacity: 1; }
  100% { transform: translate(34%, -200%) rotate(62deg) scaleY(1) rotateX(48deg); opacity: 0; }
}
.opack.dropaway { animation: packDrop .55s ease forwards; animation-delay: .12s; }
@keyframes packDrop { to { transform: translateY(12%); opacity: 0; } }

/* the tear-off flap ring + rip label pick up the same per-product colour (--glow, set inline per kind) */
.opack__flap { box-shadow: inset 0 0 0 1.6px rgba(var(--glow, 244,194,75), .5); }
.opack__riplabel { color: rgba(var(--glow, 244,194,75), 1); }

/* ---- Reveal info (after the emerge) ---- */
.reveal-info { display: grid; place-items: center; gap: 5px; text-align: center; max-width: 300px; }
/* once a pull is revealed, dock the info at the bottom so it clears the screen-centred card */
.reveal-info:not([hidden]) { position: fixed; left: 50%; bottom: 5.5vh; transform: translateX(-50%); z-index: 1500; width: min(92vw, 320px); max-width: none; }
.reveal-info[hidden], .opack[hidden] { display: none; }
.reveal-info.in { animation: infoIn .5s cubic-bezier(.16, 1, .3, 1); }
@keyframes infoIn { from { transform: translate(-50%, 14px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
.reveal-card__tier {
  padding: 3px 13px; border-radius: 999px; font-family: var(--font-display); font-weight: 800;
  font-size: .72rem; letter-spacing: .14em; color: #0B0A0F;
}
.reveal-card__name { font-family: var(--font-display); font-size: 1.4rem; margin-top: 6px; }
.reveal-card__meta { color: var(--muted); font-size: .82rem; }
.reveal-card__price { display: none; }  /* mystery reveal shows the tier only — no price */
.reveal-card__actions { display: flex; gap: 12px; margin-top: 14px; }

.reduced-motion .opack, .reduced-motion .reveal-info.in { animation: none; }
.reduced-motion .emerge.go { animation: none; opacity: 1; transform: translateX(-50%) translateY(-70%); }

/* ---- Idle shake-loop: ~2s shake, ~2s rest ---- */
@keyframes idleShake {
  0%   { transform: translate(0,0) rotate(0); }
  4%   { transform: translate(-2px,1px) rotate(-1.6deg); }
  9%   { transform: translate(2px,-1px) rotate(1.6deg); }
  14%  { transform: translate(-2px,1px) rotate(-1.4deg); }
  19%  { transform: translate(2px,-1px) rotate(1.3deg); }
  24%  { transform: translate(-2px,1px) rotate(-1.2deg); }
  29%  { transform: translate(2px,-1px) rotate(1.1deg); }
  34%  { transform: translate(-1px,1px) rotate(-.9deg); }
  39%  { transform: translate(1px,-1px) rotate(.6deg); }
  44%  { transform: translate(-1px,0) rotate(-.3deg); }
  48%,100% { transform: translate(0,0) rotate(0); }
}
.myo__packwrap { animation: idleShake 4s ease-in-out infinite; }
.opack.idle { animation: idleShake 4s ease-in-out infinite; }

/* ── PICK-YOUR-PACK board (pack mode): choose 1 of 9, then tear the chosen one ── */
/* ───── level chooser: Normal vs High Value (full-screen; colour from #mlevel --glow) ───── */
.mlevel { display: none; }
.mopen.is-choosing .mlevel {
  position: fixed; inset: 0; z-index: 1350;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(14px, 3vh, 26px); padding: clamp(16px, 3vh, 34px);
  animation: fadeIn .3s ease;
}
.mopen.is-choosing .opener, .mopen.is-choosing .ppick { display: none; }
.mlevel__title { font-family: var(--font-display); font-weight: 800; text-align: center; font-size: clamp(1.15rem, 3.6vw, 1.9rem); color: #fff; text-shadow: 0 2px 16px rgba(var(--glow, 244,194,75), .55), 0 2px 10px #000; }
.mlevel__cards { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(12px, 2.6vw, 22px); width: min(94vw, 620px); }
.mlevel__card {
  flex: 1 1 240px; max-width: 290px; text-align: left; cursor: pointer; border-radius: 18px; padding: 18px 18px 16px;
  background: radial-gradient(120% 120% at 0% 0%, rgba(var(--glow, 244,194,75), .10), transparent 55%), var(--surface-1);
  border: 1.5px solid rgba(var(--glow, 244,194,75), .45); box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
  transition: transform .18s var(--ease-out), box-shadow .18s ease, border-color .18s ease;
}
.mlevel__card:hover, .mlevel__card:focus-visible { transform: translateY(-4px); border-color: rgba(var(--glow, 244,194,75), .95); box-shadow: 0 22px 54px rgba(0, 0, 0, .6), 0 0 26px rgba(var(--glow, 244,194,75), .4); outline: none; }
.mlevel__card--hi { border-color: rgba(244, 194, 75, .6); background: radial-gradient(120% 120% at 100% 0%, rgba(244, 194, 75, .16), transparent 55%), var(--surface-1); }
.mlevel__name { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.16rem; color: #fff; }
.mlevel__sub { display: block; font-size: .74rem; color: var(--muted); margin-top: 2px; letter-spacing: .02em; }
.mlevel__odds { list-style: none; margin: 13px 0 0; padding: 0; display: grid; gap: 7px; }
.mlevel__odds li { display: flex; align-items: center; gap: 9px; font-size: .82rem; }
.mlevel__oname { flex: 1; color: var(--muted); }
.mlevel__opct { font-family: var(--font-display); font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.mlevel__go { margin-top: 14px; display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-gold); background: var(--cta-grad); padding: 8px 15px; border-radius: 999px; }
.mlevel__note { font-size: .78rem; color: var(--muted); text-align: center; max-width: 420px; }
.mlevel__note b { color: var(--gold-300); }

/* ───── "Click here to see what's available" tile link + pool browser ───── */
.myo__browse {
  width: 100%; margin: -4px 0 16px; padding: 10px 14px; border-radius: 12px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid rgba(var(--glow, 244,194,75), .55); background: rgba(var(--glow, 244,194,75), .08);
  color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .82rem; letter-spacing: .01em;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.myo__browse:hover, .myo__browse:focus-visible { background: rgba(var(--glow, 244,194,75), .18); border-color: rgba(var(--glow, 244,194,75), .95); transform: translateY(-1px); outline: none; }

.pbrowse { position: fixed; inset: 0; z-index: 10000; display: none; }
.pbrowse.is-open { display: block; }
.pbrowse__backdrop { position: absolute; inset: 0; background: rgba(5, 4, 8, .9); backdrop-filter: blur(7px); animation: fadeIn .3s ease; }
.pbrowse__panel {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(94vw, 900px); max-height: 90vh; overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: radial-gradient(120% 90% at 50% 0%, rgba(var(--glow,244,194,75), .08), transparent 55%), var(--surface-1);
  border: 1px solid rgba(var(--glow, 244,194,75), .4); border-radius: 22px; padding: clamp(20px, 3vw, 34px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .7); animation: infoIn .4s cubic-bezier(.16, 1, .3, 1);
}
.pbrowse__close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--hairline); background: var(--surface-2); color: var(--text); cursor: pointer; font-size: 1rem; line-height: 1; z-index: 2; }
.pbrowse__close:hover { border-color: rgba(var(--glow, 244,194,75), .8); color: #fff; }
.pbrowse__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 4vw, 1.9rem); color: #fff; padding-right: 40px; }
.pbrowse__title b { color: transparent; background: rgba(var(--glow, 244,194,75), 1); -webkit-background-clip: text; background-clip: text; }
.pbrowse__sub { color: var(--muted); font-size: .9rem; margin-top: 4px; margin-bottom: 8px; }
.pbrowse__tier { margin-top: 22px; }
.pbrowse__tierhead { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: #fff; text-transform: capitalize; padding-bottom: 8px; margin-bottom: 13px; border-bottom: 1px solid var(--hairline); }
.pbrowse__tierhead .tdot { width: 12px; height: 12px; }
.pbrowse__count { margin-left: auto; font-size: .78rem; font-weight: 500; color: var(--muted); }
.pbrowse__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(94px, 1fr)); gap: 14px; }
.pbrowse__item { display: flex; flex-direction: column; gap: 6px; }
.pbrowse__thumb { aspect-ratio: 3 / 4; border-radius: 9px; overflow: hidden; background: #f4f4f6; display: grid; place-items: center; border: 1px solid var(--hairline); }
.pbrowse__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 5%; box-sizing: border-box; }
.pbrowse.is-cardmode .pbrowse__thumb { background: #0d0b12; aspect-ratio: 5 / 7; }
.pbrowse.is-cardmode .pbrowse__thumb img { object-fit: contain; padding: 0; }
.pbrowse__noimg { font-family: var(--font-display); font-weight: 700; font-size: .66rem; color: #6b6580; letter-spacing: .05em; }
.pbrowse__name { font-size: .7rem; color: var(--muted); line-height: 1.24; text-align: center; }
@media (max-width: 560px) { .pbrowse__grid { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 10px; } .pbrowse__panel { max-height: 92vh; } }

/* ───── full-screen "Pick your pack" board (colour inherited from #packPicker --glow) ───── */
.ppick { display: none; }
.mopen.is-picking .ppick, .mopen.is-revealed .ppick {
  position: fixed; inset: 0; z-index: 1300;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(14px, 3.2vh, 30px); padding: clamp(16px, 3vh, 34px);
  animation: fadeIn .3s ease;
}
.mopen.is-picking .opener, .mopen.is-revealed .opener { display: none; }
.ppick__title {
  font-family: var(--font-display); font-weight: 800; letter-spacing: .01em; text-align: center;
  font-size: clamp(1.15rem, 3.6vw, 1.9rem); color: #fff;
  text-shadow: 0 2px 16px rgba(var(--glow, 244,194,75), .55), 0 2px 10px #000;
}
.ppick__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.8vw, 20px); width: min(94vw, 58vh, 840px); }
.ppick__after { display: none; gap: 12px; }
.mopen.is-revealed .ppick__after:not([hidden]) { display: flex; }

/* each pack = a flip card: front (mystery cover) ⇄ back (the outcome) */
.ppack { position: relative; aspect-ratio: 3 / 4; border: 0; background: none; padding: 0; cursor: pointer; perspective: 1000px; }
.ppack__flip { position: absolute; inset: 0; border-radius: 12px; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2, .8, .3, 1); }
.ppack.flipped .ppack__flip { transform: rotateY(180deg); }
.ppack__face { position: absolute; inset: 0; border-radius: 12px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: grid; place-items: center; }
.ppack__front {
  border: 1.5px solid rgba(var(--glow, 244,194,75), .6);
  background: url("assets/mystery-front.webp") center / cover no-repeat, #14101c;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(var(--glow, 244,194,75), .4);
}
.ppack__front::after { content: ""; position: absolute; inset: 0; background: rgba(var(--glow, 244,194,75), .28); mix-blend-mode: color; }
.ppack__num { position: absolute; z-index: 1; bottom: 5px; left: 0; right: 0; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: clamp(.7rem, 1.6vw, .95rem); color: #fff; text-shadow: 0 1px 6px #000; }
.ppack__back { transform: rotateY(180deg); background: radial-gradient(120% 90% at 50% 0%, rgba(var(--glow,244,194,75), .18), transparent 62%), linear-gradient(165deg, #17111c, #0b0910); border: 1.5px solid rgba(var(--glow, 244,194,75), .5); box-shadow: inset 0 0 40px rgba(0, 0, 0, .45); }
.ppack__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 4%; box-sizing: border-box; border-radius: 10px; background: #f4f4f6; }
.ppack__tier { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 800; letter-spacing: .06em; font-size: clamp(.6rem, 1.7vw, .92rem); padding: 4px 11px; border-radius: 999px; color: #0b0a0f; }
.ppack__tier.t-common { background: #9AA4B2; }
.ppack__tier.t-uncommon { background: #57D07E; }
.ppack__tier.t-rare { background: #4D9BFF; color: #fff; }
.ppack__tier.t-epic { background: #A970FF; color: #fff; }
.ppack__tier.t-chase { background: linear-gradient(120deg, #F4C24B, #ffe9a8); }

.mopen.is-picking .ppack:hover .ppack__flip, .mopen.is-picking .ppack:focus-visible .ppack__flip { transform: translateY(-6px) scale(1.05); }
.ppack:focus-visible { outline: none; }
.ppack.chosen { z-index: 3; animation: ppackChosen .42s var(--ease-out); }
.ppack.dimmed { opacity: .28; filter: saturate(.55); pointer-events: none; transition: opacity .45s ease, filter .45s ease; }
.ppack.is-yours { --ring: 0 0 0 2px #fff, ; }   /* white "yours" ring layers under the tier glow */
.ppack.is-yours .ppack__back { box-shadow: inset 0 0 40px rgba(0, 0, 0, .4), 0 0 0 2px #fff, 0 0 30px 5px rgba(var(--glow,244,194,75), .85); }
/* tier-coloured glow once a tile flips face-up — instantly see which were chases */
.ppack.flipped.t-common   .ppack__back { border-color: #9AA4B2; box-shadow: var(--ring, ) inset 0 0 26px rgba(154,164,178,.18), 0 0 14px 2px rgba(154,164,178,.4); }
.ppack.flipped.t-uncommon .ppack__back { border-color: #57D07E; box-shadow: var(--ring, ) inset 0 0 26px rgba(87,208,126,.2),  0 0 16px 3px rgba(87,208,126,.5); }
.ppack.flipped.t-rare     .ppack__back { border-color: #4D9BFF; box-shadow: var(--ring, ) inset 0 0 26px rgba(77,155,255,.22), 0 0 18px 3px rgba(77,155,255,.55); }
.ppack.flipped.t-epic     .ppack__back { border-color: #A970FF; box-shadow: var(--ring, ) inset 0 0 26px rgba(169,112,255,.24), 0 0 20px 4px rgba(169,112,255,.6); }
.ppack.flipped.t-chase    .ppack__back { border-color: #F4C24B; box-shadow: var(--ring, ) inset 0 0 30px rgba(244,194,75,.28), 0 0 26px 6px rgba(244,194,75,.7); animation: chaseTileGlow 1.3s ease-in-out infinite; }
@keyframes chaseTileGlow {
  0%, 100% { box-shadow: var(--ring, ) inset 0 0 30px rgba(244,194,75,.28), 0 0 22px 5px rgba(244,194,75,.6); }
  50%      { box-shadow: var(--ring, ) inset 0 0 34px rgba(244,194,75,.4),  0 0 34px 9px rgba(244,194,75,.85); }
}
.reduced-motion .ppack.flipped.t-chase .ppack__back { animation: none; }
.ppack__yours { position: absolute; top: 7px; left: 50%; transform: translateX(-50%); z-index: 4; font-family: var(--font-display); font-weight: 800; font-size: clamp(.5rem, 1.4vw, .62rem); letter-spacing: .14em; padding: 3px 10px; border-radius: 999px; background: #fff; color: #111; box-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
@keyframes ppackChosen { 45% { transform: scale(1.09); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .ppack__flip { transition: none; } .mopen.is-picking .ppick, .mopen.is-revealed .ppick { animation: none; } }

/* rip build-up: the pack shakes harder as you tear (amplitude scales with --p) */
@keyframes ripBuild {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  20% { transform: translate(calc(var(--p) * -5px), calc(var(--p) * 3px)) rotate(calc(var(--p) * -1.4deg)); }
  40% { transform: translate(calc(var(--p) * 6px), calc(var(--p) * -4px)) rotate(calc(var(--p) * 1.2deg)); }
  60% { transform: translate(calc(var(--p) * -6px), calc(var(--p) * -2px)) rotate(calc(var(--p) * -1deg)); }
  80% { transform: translate(calc(var(--p) * 5px), calc(var(--p) * 4px)) rotate(calc(var(--p) * 1.5deg)); }
}
.opack.ripping { animation: ripBuild .15s linear infinite; }
.reduced-motion .opack.ripping { animation: none; }

/* ---- Rarity colour leaking from the tear (grey / blue / fire-gold) ---- */
.opack__leak {
  position: absolute; left: -10%; right: -10%; top: -12%; height: 52%; z-index: 5; pointer-events: none;
  opacity: calc(var(--p) * 1.25);
  background: radial-gradient(60% 120% at 50% 100%, var(--leak, #fff) 0%, transparent 70%);
  filter: blur(7px); mix-blend-mode: screen;
}
.opener.is-chase .opack__leak {
  background: radial-gradient(60% 130% at 50% 100%, #fff3c4 0%, #ffc24a 28%, #ff7a18 55%, transparent 78%);
  animation: leakFlare .5s ease-in-out infinite alternate;
}
@keyframes leakFlare { from { filter: blur(7px) brightness(1); } to { filter: blur(11px) brightness(1.4); } }

/* ---- CHASE celebration: rays + flash + confetti ---- */
.chase-rays {
  position: absolute; left: 50%; top: 42%; width: 116vmin; height: 116vmin; transform: translate(-50%,-50%);
  z-index: 0; pointer-events: none; opacity: 0;
  background: repeating-conic-gradient(from 0deg, rgba(244,194,75,0) 0deg, rgba(255,216,110,.5) 2.4deg, rgba(244,194,75,0) 8deg);
  -webkit-mask: radial-gradient(closest-side, transparent 14%, #000 26%, #000 50%, transparent 74%);
          mask: radial-gradient(closest-side, transparent 14%, #000 26%, #000 50%, transparent 74%);
}
.opener.won .chase-rays { opacity: 1; animation: raysSpin 11s linear infinite, raysPulse 1.3s ease-in-out infinite; }
@keyframes raysPulse { 50% { opacity: .5; } }
.opener.won .emerge__tile { animation: chasePulse 1.2s ease-in-out infinite; }
@keyframes chasePulse {
  0%,100% { box-shadow: 0 22px 50px rgba(0,0,0,.55), 0 0 40px rgba(244,194,75,.55); }
  50%     { box-shadow: 0 22px 50px rgba(0,0,0,.55), 0 0 72px rgba(255,210,80,.95); }
}
@keyframes raysSpin { from { transform: translate(-50%,-50%) rotate(0); } to { transform: translate(-50%,-50%) rotate(360deg); } }

.chase-fx { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.chase-flash { position: absolute; inset: 0; opacity: 0; background: radial-gradient(circle at 50% 44%, rgba(255,233,168,.55), rgba(255,180,40,.18) 35%, transparent 62%); }
.chase-fx.go .chase-flash { animation: chaseFlash .75s ease-out; }
@keyframes chaseFlash { 0% { opacity: 0; } 14% { opacity: 1; } 100% { opacity: 0; } }
.chase-confetti { position: absolute; inset: 0; }
.confetti {
  position: absolute; left: 50%; top: 42%; width: 11px; height: 16px; border-radius: 2px; opacity: 0;
  box-shadow: 0 0 7px rgba(244,194,75,.55);
  animation: confettiFly var(--d, 1.2s) cubic-bezier(.18,.7,.3,1) var(--delay, 0s) forwards;
}
@keyframes confettiFly {
  0%   { transform: translate(-50%,-50%) rotate(0) scale(.3); opacity: 1; }
  10%  { opacity: 1; }
  100% { transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) rotate(var(--rot)) scale(1); opacity: 0; }
}

.reduced-motion .myo__packwrap, .reduced-motion .opack.idle, .reduced-motion .chase-rays,
.reduced-motion .opack__leak, .reduced-motion .confetti, .reduced-motion .chase-flash { animation: none; }

/* =================================================================
   MYSTERY REVEAL v2 — pull slides to screen-centre (gold back up),
   pack falls away, click to flip → rarity aura + chase cloud/lightning storm
   ================================================================= */
.emerge.reveal {
  position: fixed; left: 50%; top: 50%; bottom: auto; z-index: 1400; margin: 0;
  width: min(64vw, 290px); pointer-events: auto; cursor: pointer;
  animation: emergeToCenter .9s cubic-bezier(.16, 1, .3, 1) forwards;
}
.emerge.reveal.emerge--pack { width: min(56vw, 250px); }
@keyframes emergeToCenter {
  0%   { transform: translate(-50%, 60%) scale(.42) rotate(-4deg); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1) rotate(0); opacity: 1; }
}
.emerge__shake { position: relative; width: 100%; height: 100%; perspective: 1300px; }
.emerge__flip {
  position: relative; width: 100%; aspect-ratio: 5 / 7; transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.2, .8, .3, 1); transform: rotateY(0deg); border-radius: 12px;
}
.emerge--pack .emerge__flip { aspect-ratio: 3 / 4.4; }
.emerge.is-flipped .emerge__flip { transform: rotateY(180deg); }
.emerge__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 12px; overflow: hidden; }
.emerge__front { transform: rotateY(180deg); }
.emerge__tile.emerge__front { display: grid; place-items: center; }

/* gold TheGoldenChase card back */
.emerge__back {
  background: url("assets/mystery-back.webp") center / cover no-repeat #0b0910;
  border: 1.5px solid rgba(244, 194, 75, .5); box-shadow: inset 0 0 46px rgba(0, 0, 0, .4);
}
.emerge__back > * { display: none; } /* the artwork already carries the GC monogram */
.emerge--pack .emerge__back { border-color: rgba(228, 92, 78, .5); }
.emerge__backring {
  width: 40%; aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--gold-500); position: relative;
  box-shadow: 0 0 22px rgba(244, 194, 75, .4), inset 0 0 18px rgba(244, 194, 75, .25);
  background: radial-gradient(circle at 50% 40%, rgba(244, 194, 75, .22), transparent 60%);
}
.emerge__backring::after { content: ''; position: absolute; inset: 26%; border-radius: 50%; border: 2px solid rgba(244, 194, 75, .5); }
.emerge__backmono {
  font-family: var(--font-display); font-weight: 800; font-size: 2rem; letter-spacing: .04em;
  background: linear-gradient(120deg, #ffe9a8, #f4c24b); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.emerge__backsub { font-family: var(--font-display); font-size: .52rem; letter-spacing: .3em; color: rgba(244, 194, 75, .72); }

/* rarity aura under the card (grey / blue / gold), shown as it slides out */
.emerge__aura {
  position: absolute; left: 50%; bottom: -14%; width: 130%; height: 46%; transform: translateX(-50%);
  border-radius: 50%; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .6s ease .25s;
  background: radial-gradient(50% 100% at 50% 50%, var(--aura, rgba(154, 164, 178, .6)) 0%, transparent 72%); filter: blur(16px);
}
.emerge.reveal .emerge__aura { opacity: 1; }
.emerge[data-tier="chase"] .emerge__aura { width: 145%; height: 54%; animation: auraPulseGold 1.4s ease-in-out infinite; }
@keyframes auraPulseGold { 0%, 100% { filter: blur(16px) brightness(1); } 50% { filter: blur(24px) brightness(1.55); } }

/* rare: small blue lightning flickering under the card */
.emerge__bolts { position: absolute; left: 50%; bottom: -4%; width: 118%; height: 42%; transform: translateX(-50%); pointer-events: none; z-index: -1; }
.emerge__bolt {
  position: absolute; bottom: 0; width: 2.5px; height: var(--bh, 26px);
  background: linear-gradient(#dff0ff, #4d9bff); box-shadow: 0 0 8px #4d9bff, 0 0 16px rgba(77, 155, 255, .7);
  opacity: 0; transform-origin: bottom; animation: rareBolt 1.5s linear infinite;
}
@keyframes rareBolt { 0%, 100% { opacity: 0; transform: scaleY(0); } 5% { opacity: 1; transform: scaleY(1); } 11% { opacity: 0; transform: scaleY(1); } 15% { opacity: .8; transform: scaleY(.7); } 21% { opacity: 0; transform: scaleY(.7); } }

/* the opened pack falls off the bottom of the screen */
.opack.packfall { animation: packFall .85s cubic-bezier(.45, 0, .75, .9) forwards; }
@keyframes packFall { 0% { transform: translateY(0) rotate(0); opacity: 1; } 100% { transform: translateY(155%) rotate(-11deg); opacity: 0; } }

/* CHASE: card grows large + keeps a subtle shake after the flip */
.emerge.reveal.is-chase-reveal .emerge__shake { animation: chaseGrow .7s cubic-bezier(.2, .9, .3, 1.25) forwards, chaseWobble .17s ease-in-out .7s infinite; }
@keyframes chaseGrow { from { transform: scale(1); } to { transform: scale(1.45); } }
@keyframes chaseWobble { 0%, 100% { transform: scale(1.45) translate(-1px, 0) rotate(-.5deg); } 50% { transform: scale(1.45) translate(1px, 0) rotate(.5deg); } }

/* CHASE storm overlay — clouds + gold lightning across the whole screen */
.chase-storm { position: absolute; inset: 0; z-index: 900; pointer-events: none; opacity: 0; }
.chase-storm.go { opacity: 1; }
.chase-clouds {
  position: absolute; left: 0; right: 0; top: 0; height: 64%; transform: translateY(-106%); filter: blur(2px);
  background:
    radial-gradient(58% 80% at 16% 8%, rgba(18, 16, 26, .97), transparent 70%),
    radial-gradient(55% 78% at 48% 0%, rgba(26, 22, 36, .98), transparent 72%),
    radial-gradient(58% 80% at 82% 12%, rgba(16, 14, 22, .97), transparent 70%),
    linear-gradient(#0b0912, rgba(11, 9, 18, 0));
}
.chase-storm.go .chase-clouds { animation: cloudsRollIn 1s ease-out forwards; }
@keyframes cloudsRollIn { to { transform: translateY(-4%); } }
.chase-glare { position: absolute; inset: 0; opacity: 0; background: radial-gradient(circle at 50% 24%, rgba(255, 236, 170, .72), rgba(255, 180, 40, .16) 42%, transparent 66%); }
.chase-storm.go .chase-glare { animation: goldStorm .32s steps(2, jump-none) 11 both; }
@keyframes goldStorm { 0% { opacity: 0; } 12% { opacity: .95; } 26% { opacity: .05; } 44% { opacity: .82; } 60% { opacity: 0; } 78% { opacity: .6; } 100% { opacity: 0; } }
.chase-bolt { position: absolute; top: -2%; width: 3px; background: linear-gradient(#fffdf0, #f4c24b); box-shadow: 0 0 10px #ffd86b, 0 0 26px rgba(244, 194, 75, .85); opacity: 0; transform-origin: top; }
.chase-storm.go .chase-bolt { animation: screenBolt .48s linear var(--d, 0s) infinite; }
@keyframes screenBolt { 0%, 100% { opacity: 0; } 5% { opacity: 1; } 11% { opacity: 0; } 42% { opacity: .9; } 48% { opacity: 0; } }

/* reduced motion: no strobe / shake / grow — still flips + glows */
.reduced-motion .emerge.reveal { animation: none; transform: translate(-50%, -50%); }
.reduced-motion .emerge[data-tier="chase"] .emerge__aura,
.reduced-motion .emerge.reveal.is-chase-reveal .emerge__shake,
.reduced-motion .emerge__bolt,
.reduced-motion .chase-storm.go .chase-glare,
.reduced-motion .chase-storm.go .chase-bolt { animation: none; }
.reduced-motion .opack.packfall { animation: none; opacity: 0; }

/* ---- Mystery: two offerings (Card + Pack) ---- */
.mystery-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(18px, 2.4vw, 26px); }
.mystery-grid > .myo { flex: 1 1 248px; max-width: 340px; }   /* wraps responsively; a lone last tile centres */
@media (max-width: 560px) { .mystery-grid > .myo { flex-basis: 100%; max-width: none; } }
.ofreq { display: none; } /* hide the "most pulls / fewer / rare hit" words beside each tier */
.mystery__odds .todds { display: none; } /* hide the $ ranges beside Common / Rare / Chase */
.myo {
  --glow: 244,194,75;   /* per-product glow colour (RGB triplet); overridden per product below */
  position: relative; display: grid; grid-template-rows: auto auto; justify-items: center; gap: 18px;
  background: radial-gradient(120% 120% at 50% 0%, rgba(var(--glow), .1), transparent 56%), var(--surface-1);
  border: 1px solid var(--hairline); border-radius: 24px;
  padding: clamp(24px,3vw,36px) clamp(20px,3vw,30px) clamp(22px,3vw,32px);
}
.myo--card   { --glow: 244,194,75; }   /* gold */
.myo--pack   { --glow: 255,79,176; }   /* hot pink */
.myo--etb    { --glow: 134,229,127; }  /* light green */
.myo--box    { --glow: 110,198,255; }  /* light blue */
.myo--bundle { --glow: 236,236,244; }  /* white */
.myo__tag {
  position: absolute; top: 16px; right: 16px; padding: 4px 11px; border-radius: 999px;
  font-family: var(--font-display); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase;
  color: #0B0A0F; background: rgba(var(--glow), .95); font-weight: 800;
}
.myo__packwrap { perspective: 800px; padding-top: 4px; }
.myo__info { width: 100%; max-width: 380px; }
.myo__h { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 4px; }
.myo__desc { color: var(--muted); font-size: .9rem; margin-bottom: 14px; line-height: 1.5; }
.myo__desc em { color: var(--gold-300); font-style: normal; }
.myo__template li { color: var(--muted); }
.myo__template .tdot.tq { background: rgba(255,255,255,.1); color: var(--muted); box-shadow: none; }
.mystery__price--tbd { color: var(--muted); }

/* ---- Mystery Card/Pack: Coming Soon (darkened) ---- */
.myo--soon .myo__tag,
.myo--soon .mystery__odds,
.myo--soon .mystery__buy,
.myo--soon .mystery__preview,
.myo--soon .mystery__fine { display: none; }
.myo__soon {
  position: absolute; inset: 0; z-index: 6; border-radius: inherit; display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(8,7,11,.6), rgba(8,7,11,.82));
}
.myo__soon span {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.55rem, 4.5vw, 2.15rem); letter-spacing: .05em; color: var(--gold-300);
  text-shadow: 0 6px 26px rgba(0,0,0,.7);
}

/* alt (sealed) pack — crimson/ember instead of gold */
.pack--alt { background: linear-gradient(155deg, #2a1620, #120b10 65%); box-shadow: 0 24px 60px rgba(0,0,0,.6), inset 0 0 0 1px rgba(225,90,80,.35), inset 0 2px 0 rgba(255,255,255,.05); }
.pack--alt .pack__foil { background: linear-gradient(120deg, transparent 28%, rgba(225,90,80,.28) 47%, rgba(255,180,150,.4) 52%, transparent 72%); background-size: 250% 100%; }
.pack--alt .pack__perf { border-top-color: rgba(225,90,80,.45); }
.pack--alt .pack__title { background: linear-gradient(120deg, #ff8a6a, #ffd2a0); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pack--alt .pack__sub { color: #c8786e; }
.pack__qmark { position: absolute; top: 6%; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: rgba(255,170,150,.75); }

/* store-tile cover = dripping-Pokéball artwork; glow + glint tinted per product via --glow */
.myo .pack {
  background: url("assets/mystery-front.webp") top center / 100% auto no-repeat, #0d0b12;
  place-items: end center;
  box-shadow: 0 24px 60px rgba(0,0,0,.6),
              inset 0 0 0 1.6px rgba(var(--glow), .62),
              0 0 34px rgba(var(--glow), .34);            /* the coloured GLOW */
}
.myo .pack::after {                 /* bottom scrim so the title stays readable */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 44%;
  background: linear-gradient(0deg, rgba(6,5,9,.94), rgba(6,5,9,.15) 70%, transparent);
  z-index: 1; pointer-events: none;
}
.myo .pack::before {                /* colour wash — tints the gold artwork toward the product colour */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: rgba(var(--glow), .3); mix-blend-mode: color;
}
.myo--card .pack::before { background: rgba(var(--glow), .12); }   /* keep the gold mostly pure */
/* WHITE bundle: white can't tint gold much, so wash harder (reads platinum) + a brighter ring so it doesn't look like the gold card */
.myo--bundle .pack::before { background: rgba(var(--glow), .62); }
.myo--bundle .pack {
  box-shadow: 0 24px 60px rgba(0,0,0,.6),
              inset 0 0 0 1.8px rgba(var(--glow), .85),
              0 0 42px rgba(var(--glow), .5);
}
.myo .pack__perf, .myo .pack__mark, .myo .pack__qmark { display: none; }
.myo .pack__foil {                  /* the moving GLINT, tinted to the product colour */
  display: block; position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(115deg, transparent 36%, rgba(var(--glow), .5) 47%, rgba(255,255,255,.78) 51%, rgba(var(--glow), .5) 55%, transparent 66%);
  background-size: 250% 100%; animation: foilShine 4.6s linear infinite;
}
.myo .pack__title {
  position: relative; z-index: 2; padding-bottom: 30px;
  font-size: .68rem; font-weight: 600; letter-spacing: .42em; text-indent: .42em; line-height: 1.15;
  background: none; color: rgba(255,255,255,.82); -webkit-text-fill-color: rgba(255,255,255,.82);
  text-shadow: 0 2px 8px rgba(0,0,0,.95);
}
.myo .pack__title b {
  display: block; margin-top: 3px;
  font-size: 1.72rem; font-weight: 800; letter-spacing: .04em; text-indent: .04em; line-height: 1;
  background: linear-gradient(180deg, #ffffff 18%, rgba(var(--glow), 1) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,.9)) drop-shadow(0 0 16px rgba(var(--glow), .55));
}
.myo .pack__sub {
  z-index: 2; bottom: 12px;
  font-size: .54rem; letter-spacing: .26em; text-indent: .26em;
  color: rgba(255,255,255,.7); text-shadow: 0 2px 6px #000;
}

/* ---- Case detail modal (top 3 hits) ---- */
.mopen--detail.is-open { display: grid; }
.cdetail {
  position: relative; z-index: 1; width: min(92vw, 560px); max-height: 88vh; overflow-y: auto;
  background: #16121d; border: 1px solid var(--hairline); border-radius: 22px;
  padding: clamp(24px,4vw,40px); text-align: center; box-shadow: 0 40px 100px rgba(0,0,0,.6);
  animation: cdIn .35s cubic-bezier(.16,1,.3,1);
}
@keyframes cdIn { from { transform: translateY(20px) scale(.96); opacity: 0; } }
.cdetail__close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--hairline); background: none; color: var(--muted); cursor: pointer; font-size: .85rem; }
.cdetail__close:hover { color: var(--text); border-color: var(--gold-500); }
.cdetail__kicker { font-family: var(--font-display); letter-spacing: .14em; text-transform: uppercase; font-size: .7rem; color: var(--gold-300); }
.cdetail__title { font-family: var(--font-display); font-size: 1.55rem; margin: 4px 0 2px; }
.cdetail__sub { color: var(--muted); font-size: .86rem; margin-bottom: 22px; }
.cdetail__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 520px) { .cdetail__cards { grid-template-columns: 1fr 1fr 1fr; gap: 8px; } }
.cdetail__soon { grid-column: 1 / -1; display: grid; place-items: center; gap: 8px; padding: clamp(26px, 5vw, 46px) 12px; text-align: center; }
.cdetail__soonkicker { color: var(--muted); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
.cdetail__soonbig { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 6vw, 2.3rem); line-height: 1; background: var(--cta-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.topcard { display: grid; gap: 7px; justify-items: center; }
.topcard__media { position: relative; width: 100%; aspect-ratio: 5/7; border-radius: 10px; overflow: hidden; border: 1px solid var(--hairline); background: linear-gradient(160deg, #1b1622, #0d0b12); display: grid; place-items: center; }
.topcard__media img { width: 100%; height: 100%; object-fit: contain; }
.topcard__media .ph { color: var(--gold-700); font-size: .58rem; letter-spacing: .1em; text-align: center; padding: 4px; }
.topcard__rank { position: absolute; top: 6px; left: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--cta-grad); color: #0B0A0F; font-weight: 800; font-size: .68rem; display: grid; place-items: center; font-family: var(--font-display); z-index: 2; }
.topcard__name { font-size: .8rem; color: var(--text); line-height: 1.2; }
.topcard__price { font-family: var(--font-display); font-weight: 700; color: var(--gold-300); font-size: .92rem; }
.cdetail__foot { margin-top: 20px; color: var(--live-muted); font-size: .77rem; }

/* case card media → opens the top-3 detail */
.case-card__media { cursor: pointer; }
.case-card__media::after { content: "Click to see the top 3 chase cards →"; position: absolute; left: 0; right: 0; bottom: 0; padding: 11px 9px; text-align: center; font-size: .76rem; font-weight: 700; letter-spacing: .02em; color: var(--gold-200, #ffe9a8); background: linear-gradient(0deg, rgba(8,7,11,.97), rgba(8,7,11,.65) 62%, transparent); opacity: 1; transition: opacity .25s ease, background .25s ease; z-index: 4; pointer-events: none; }
.lede-hl { color: var(--gold-300); font-weight: 600; }
.case-card__media:hover::after, .case-card__media:focus-visible::after { opacity: 1; }
.case-card.is-soldout .case-card__media { cursor: default; }
.case-card.is-soldout .case-card__media::after { display: none; }

/* ===================================================================
   MOBILE POLISH — scale cards & products to fit the phone cleanly.
   On narrow screens the grids used to collapse to ONE full-width
   column, so every card/product was ~a full screen tall. Go 2-up and
   trim the internals so it reads tidy instead of oversized.
   =================================================================== */
@media (max-width: 560px) {
  /* product grids: two per row instead of one giant card per row */
  .singles-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .chase-grid   { grid-template-columns: 1fr 1fr; gap: 16px 12px; }

  /* singles: tighter cards so two sit cleanly side by side */
  .single-card__body { padding: 11px 11px 12px; gap: 2px; }
  .single-card__name { font-size: .9rem; }
  .single-card__set  { font-size: .72rem; }
  .single-card__price { font-size: 1.08rem; }
  .single-card__desc { display: none; }               /* drop the long blurb at half-width */
  .single-card__est  { font-size: .56rem; margin-top: 5px; }
  .single-card__foot { gap: 7px; padding-top: 9px; }
  .single-card__foot .btn { padding: .55em .5em; font-size: .8rem; }
  .single-card__rarity { font-size: .6rem; padding: 2px 7px; }
  .single-card__tags .tag { font-size: .56rem; padding: 2px 6px; }

  /* chase grid: shrink names/prices to match the smaller cards */
  .chase-card { gap: 10px; }
  .chase-card__name { font-size: .9rem; }
  .chase-card__price { font-size: .9rem; }
  .chase-card__set  { font-size: .74rem; }

  /* recent hits: two-up trophy gallery; the 3rd card centers below */
  .hits-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: none; }
  .hits-grid .hit { flex: 0 0 calc(50% - 6px); }
  .hit { padding: 18px 10px 14px; gap: 7px; border-radius: 16px; }
  .hit__media { width: 74%; margin-top: 10px; }
  .hit__badge { font-size: .52rem; padding: 3px 9px; top: 11px; }
  .hit__name { font-size: .9rem; }
  .hit__set  { font-size: .68rem; }
  .hit__price { font-size: 1.1rem; }
  .hit .btn { padding: .5em .7em; font-size: .76rem; }

  /* mystery products: smaller pack art + tighter tile */
  .mystery-grid { gap: 16px; }
  .myo { gap: 12px; padding: 22px 16px 20px; border-radius: 20px; }
  .pack, .myo .pack { width: clamp(132px, 44vw, 150px); }
  .myo__info { max-width: none; }
  .myo__h { font-size: 1.18rem; }
  .myo__desc { font-size: .84rem; margin-bottom: 10px; }

  /* Live M–F schedule: trim padding + shrink the 5 day-chips so nothing clips */
  .schedule { padding: 24px 16px; gap: 22px; }
  .schedule__week { gap: 7px; }
  .day { padding: 7px 4px; border-radius: 12px; gap: 3px; }
  .day__name { font-size: .82rem; }
  .day__hours { font-size: .58rem; }

  /* ── mystery unboxing on phones: shrink the pull so it clears the info panel; touch-sized prompts ── */
  .mopen__hint { font-size: .8rem; padding: 0 14px; }
  .opener { width: clamp(148px, 50vw, 188px); }
  .emerge.reveal { width: min(58vw, 206px); top: 41%; }              /* smaller + nudged up so the reveal card doesn't run under the info panel */
  .emerge.reveal.emerge--pack { width: min(52vw, 186px); top: 41%; }
  .reveal-info:not([hidden]) { bottom: 4vh; width: min(94vw, 300px); gap: 4px; }
  .reveal-card__tier { font-size: .6rem; }
  .reveal-card__name { font-size: 1.06rem; }
  .reveal-card__meta { font-size: .78rem; }
  .reveal-card__actions { gap: 8px; margin-top: 4px; }
  /* full-screen picker: comfy on tall phones */
  .ppick__title { font-size: clamp(1rem, 5.2vw, 1.4rem); }
  .ppick__grid { width: min(92vw, 52vh); gap: 9px; }
  .ppack__tier { font-size: .56rem; padding: 3px 8px; }
  /* level chooser stacks to one column on phones */
  .mlevel__title { font-size: clamp(1rem, 5.4vw, 1.4rem); }
  .mlevel__card { flex-basis: 100%; max-width: 360px; padding: 15px 16px 14px; }
  .mlevel__odds { gap: 5px; margin-top: 11px; }
  .mlevel__odds li { font-size: .82rem; }
  .mlevel__note { font-size: .72rem; }
}

/* ───── phone polish: mystery flow, modals, tiles (added for mobile pass) ───── */
@media (max-width: 560px) {
  .mopen__stage { width: 96vw; padding: 12px; gap: 15px; }
  .mopen__hint { font-size: .84rem; padding: 0 10px; }
  .opener { width: clamp(200px, 62vw, 252px); }                    /* bigger rip target for thumbs */
  /* level chooser: stack the two cards full-width */
  .mlevel { overflow-y: auto; }
  .mlevel__cards { flex-direction: column; flex-wrap: nowrap; align-items: stretch; width: min(92vw, 340px); }
  .mlevel__card { width: 100%; max-width: none; flex: 0 0 auto; text-align: center; padding: 14px; }
  .mlevel__odds li { font-size: .8rem; }
  /* pick-your-slab board fills the phone cleanly */
  .ppick { padding: 12px; gap: 14px; }
  .ppick__grid { width: min(94vw, 62vh); gap: 9px; }
  .mopen.is-cardmode .ppick__grid { width: min(94vw, 58vh); }
  .ppick__title { font-size: 1.18rem; }
  .ppick__after { gap: 9px; }
  /* the revealed pull reads bigger on a small screen */
  .emerge.reveal { width: min(62vw, 240px); }
  .emerge.reveal.emerge--pack { width: min(56vw, 200px); }
  .emerge__captier { font-size: .78rem; padding: 6px 14px; }
  /* browse ("what's inside") becomes a full-screen sheet */
  .pbrowse__panel { width: 100vw; height: 100dvh; max-height: 100dvh; top: 0; left: 0; transform: none; border-radius: 0; padding: 18px 13px; }
  .pbrowse__grid { grid-template-columns: repeat(3, 1fr); gap: 9px; }
  .pbrowse__title { font-size: 1.25rem; }
  /* mystery tiles: tighter, cleaner stack */
  .myo { padding: 18px 14px 16px; gap: 10px; }
  .myo__desc { font-size: .8rem; margin-bottom: 8px; }
  .myo__browse { font-size: .78rem; padding: 9px 10px; margin-bottom: 12px; }
  .mystery__odds { gap: 6px; margin-bottom: 14px; }
  .mystery__odds li { font-size: .84rem; }
  .mystery__fine { font-size: .68rem; }
  .reveal-info:not([hidden]) { width: 94vw; bottom: 3vh; }
}

/* ───── LIVE takeover: banner + hero morph (body.is-live-now while the show is on) ───── */
.live-banner {
  position: fixed; top: 62px; left: 0; right: 0; z-index: 49;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 9px clamp(12px, 4vw, 30px);
  background: linear-gradient(90deg, rgba(140, 10, 24, .92), rgba(255, 45, 70, .88) 50%, rgba(140, 10, 24, .92));
  border-bottom: 1px solid rgba(255, 120, 140, .5);
  backdrop-filter: blur(8px);
  color: #fff; font-family: var(--font-display); font-size: .86rem; letter-spacing: .01em;
  box-shadow: 0 10px 34px rgba(255, 45, 70, .35);
  animation: liveBannerIn .5s cubic-bezier(.16, 1, .3, 1);
}
.live-banner[hidden] { display: none; }
.live-banner:hover { filter: brightness(1.12); }
@keyframes liveBannerIn { from { transform: translateY(-110%); } to { transform: translateY(0); } }
.live-banner__dot { width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: liveDotPulse 1.6s ease-out infinite; flex: none; }
@keyframes liveDotPulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 70% { box-shadow: 0 0 0 9px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.live-banner__text b { font-weight: 800; }
.live-banner__cta {
  flex: none; padding: 5px 14px; border-radius: 999px; background: #fff; color: #a3081e;
  font-weight: 800; font-size: .78rem; letter-spacing: .04em; white-space: nowrap;
}
.live-banner:hover .live-banner__cta { transform: translateX(2px); }
/* hero button goes hot while live */
.btn--live {
  background: linear-gradient(120deg, #ff2d46, #c40b2b); color: #fff; border: 0;
  box-shadow: 0 10px 34px rgba(255, 45, 70, .45), 0 0 24px rgba(255, 45, 70, .35);
  animation: liveBtnPulse 1.8s ease-in-out infinite;
}
@keyframes liveBtnPulse { 0%,100% { box-shadow: 0 10px 34px rgba(255,45,70,.45), 0 0 20px rgba(255,45,70,.3); } 50% { box-shadow: 0 10px 40px rgba(255,45,70,.65), 0 0 38px rgba(255,45,70,.55); } }
body.is-live-now .hero__eyebrow { color: #ff8093; font-weight: 700; }
@media (max-width: 560px) {
  .live-banner { top: 58px; font-size: .76rem; gap: 8px; padding: 8px 10px; }
  .live-banner__sub { display: none; }              /* keep it one clean line on phones */
  .live-banner__cta { font-size: .7rem; padding: 4px 10px; }
}
.reduced-motion .live-banner, .reduced-motion .live-banner__dot, .reduced-motion .btn--live { animation: none; }

/* Weekly Pull perks list (notify section) */
.notify__perks { display: grid; gap: 9px; margin-top: 14px; }
.notify__perks li { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: .95rem; }
.notify__perks li span[aria-hidden] { font-size: 1.05rem; flex: none; }
@media (max-width: 560px) { .notify__perks li { font-size: .88rem; } }

/* two signup cards (go-live alert + weekly pull) */
.notify-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 26px); margin-top: 26px; }
.notify--card { grid-template-columns: 1fr; align-items: start; gap: 18px; padding: clamp(22px, 3.4vw, 34px); }
.notify__h { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 2.6vw, 1.7rem); color: var(--text); margin-top: 8px; }
.notify--card .section__lede { margin-top: 8px; font-size: .98rem; }
@media (max-width: 820px) { .notify-grid { grid-template-columns: 1fr; } }

/* ───── Recent Hits: stat header + latest-pulls ticker ───── */
.hits-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(14px, 2.4vw, 26px); margin: 4px 0 8px; }
.hstat {
  display: grid; justify-items: center; gap: 4px; min-width: 240px;
  padding: 18px clamp(20px, 3.4vw, 40px);
  background: radial-gradient(130% 140% at 50% 0%, rgba(244,194,75,.10), transparent 60%), var(--surface-1);
  border: 1px solid rgba(244,194,75,.28); border-radius: 18px;
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
}
.hstat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 4.4vw, 2.7rem); line-height: 1; background: var(--cta-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.hstat__label { color: var(--muted); font-size: .84rem; text-align: center; }
.hits-ticker { overflow: hidden; margin: 10px auto 26px; max-width: 1080px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hits-ticker__track { display: inline-flex; align-items: center; gap: 22px; white-space: nowrap; padding: 6px 0; animation: hitsTickerScroll 42s linear infinite; will-change: transform; }
.hits-ticker:hover .hits-ticker__track { animation-play-state: paused; }
.hits-ticker__item { color: var(--text); font-size: .88rem; }
.hits-ticker__item b { color: var(--gold-300); font-weight: 700; }
.hits-ticker__dot { color: var(--muted); }
@keyframes hitsTickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.reduced-motion .hits-ticker__track { animation: none; }
@media (max-width: 560px) {
  .hstat { min-width: 150px; padding: 13px 16px; flex: 1; }
  .hstat__label { font-size: .7rem; }
  .hits-ticker__item { font-size: .78rem; }
}

/* ───── CARD VIEW — big art + info + price history ───── */
.cardview { position: fixed; inset: 0; z-index: 10020; display: none; }
.cardview.is-open { display: block; }
.cardview__backdrop { position: absolute; inset: 0; background: rgba(5,4,8,.92); backdrop-filter: blur(8px); animation: fadeIn .25s ease; }
.cardview__panel {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: min(94vw, 880px); max-height: 92vh; overflow-y: auto;
  display: grid; grid-template-columns: minmax(240px, 320px) 1fr; gap: clamp(18px, 3vw, 34px);
  background: radial-gradient(120% 90% at 30% 0%, rgba(244,194,75,.08), transparent 55%), var(--surface-1);
  border: 1px solid rgba(244,194,75,.4); border-radius: 22px; padding: clamp(20px, 3vw, 34px);
  box-shadow: 0 30px 90px rgba(0,0,0,.7); animation: infoIn .35s cubic-bezier(.16,1,.3,1);
}
.cardview__close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--hairline); background: var(--surface-2); color: var(--text); cursor: pointer; font-size: 1rem; z-index: 2; }
.cardview__close:hover { border-color: rgba(244,194,75,.8); color: #fff; }
.cardview__media { position: relative; border-radius: 14px; overflow: hidden; background: #0d0b12; align-self: start; }
.cardview__media img { width: 100%; height: auto; display: block; }
.cardview__stamp { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) rotate(-18deg); }
.cardview__info { display: grid; gap: 10px; align-content: start; }
.cardview__tags { display: flex; flex-wrap: wrap; gap: 6px; position: relative; z-index: 3; padding-right: 48px; }   /* sits ABOVE the ✕ / stamp and never runs under them */
.cardview__tags .tag { font-size: .8rem; padding: 5px 12px; }
.cardview__tags .tag--type { font-weight: 700; box-shadow: 0 0 0 1.5px rgba(255,255,255,.25), 0 4px 14px rgba(0,0,0,.4); }
.cardview__name { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 3vw, 1.9rem); color: #fff; padding-right: 30px; }
.cardview__set { color: var(--muted); font-size: .92rem; margin-top: -4px; }
.cardview__hitline { color: var(--gold-300); font-family: var(--font-display); font-weight: 700; font-size: .92rem; }
.cardview__pricebox { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.cardview__price { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 3.4vw, 2.1rem); background: var(--cta-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cardview__est { color: var(--muted); font-size: .72rem; }
.cardview__stock { display: flex; gap: 8px; flex-wrap: wrap; }
.cvstock { font-size: .78rem; color: var(--text); background: rgba(244,194,75,.1); border: 1px solid rgba(244,194,75,.4); padding: 3px 10px; border-radius: 999px; }
.cvstock--pulled { background: rgba(255,255,255,.05); border-color: var(--hairline); color: var(--muted); }
.cardview__chartwrap { margin-top: 4px; }
.cardview__chart { position: relative; height: 150px; border: 1px solid var(--hairline); border-radius: 12px; background: rgba(255,255,255,.02); overflow: hidden; cursor: crosshair; }
.cardview__chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cvchart__lbl { position: absolute; transform: translateX(-50%); font-size: .62rem; color: var(--muted); padding: 2px 4px; pointer-events: none; }
.cvchart__lbl--lo { bottom: 16px; }
.cvchart__date { position: absolute; bottom: 2px; font-size: .6rem; color: var(--muted); padding: 0 6px; pointer-events: none; }
.cvchart__cross { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(244,194,75,.45); pointer-events: none; }
.cvchart__tip { position: absolute; top: 6px; transform: translateX(-10%); background: #0B0A0F; border: 1px solid rgba(244,194,75,.5); color: var(--text); font-size: .7rem; padding: 3px 8px; border-radius: 8px; pointer-events: none; white-space: nowrap; }
.cardview__chartcap { color: var(--muted); font-size: .66rem; margin-top: 5px; }
.cardview__nochart { display: grid; place-items: center; height: 100%; color: var(--muted); font-size: .8rem; }
.cardview__cta { margin-top: 6px; justify-self: start; }
.single-card, .hit, .pbrowse__item[data-name] { cursor: pointer; }
@media (max-width: 700px) {
  /* flex column = items can NEVER overlap; image capped so it can't dominate the sheet */
  .cardview__panel { display: flex; flex-direction: column; width: 100vw; height: 100dvh; max-height: 100dvh; top: 0; left: 0; transform: none; border-radius: 0; overflow-y: auto; }
  .cardview__media { flex: none; width: min(58vw, 215px); margin: 0 auto; }
  .cardview__media picture { display: block; }
  .cardview__media img { width: 100%; height: auto; max-height: 36vh; object-fit: contain; }
  .cardview__info { flex: none; position: relative; z-index: 2; }
  .cardview__cta { align-self: stretch; text-align: center; }
}

/* ───── HOW THE MYSTERY BAGS WORK ───── */
.how-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 20px); margin-bottom: clamp(18px, 3vw, 30px); }
.how-step { position: relative; background: var(--surface-1); border: 1px solid var(--hairline); border-radius: 18px; padding: 22px 18px 18px; }
.how-step__num {
  position: absolute; top: -14px; left: 16px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: .95rem;
  background: var(--cta-grad); color: #0B0A0F; box-shadow: 0 6px 18px rgba(244,194,75,.35);
}
.how-step__h { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: #fff; margin-top: 4px; }
.how-step__p { color: var(--muted); font-size: .86rem; line-height: 1.5; margin-top: 6px; }
.how-step__p b { color: var(--gold-300); font-weight: 600; }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 20px); }
.how-grid--single { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
.how-card { background: radial-gradient(120% 130% at 0% 0%, rgba(244,194,75,.07), transparent 55%), var(--surface-1); border: 1px solid var(--hairline); border-radius: 18px; padding: clamp(18px, 2.6vw, 26px); }
.how-card__h { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: #fff; margin-bottom: 14px; }
.how-tiers { display: grid; gap: 7px; }
.how-tiers li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 12px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--tc, #F4C24B) 45%, transparent); background: color-mix(in srgb, var(--tc, #F4C24B) 8%, transparent); }
.how-tiers li b { color: var(--tc, #F4C24B); font-family: var(--font-display); font-weight: 700; font-size: .88rem; }
.how-tiers li span { color: var(--text); font-variant-numeric: tabular-nums; font-size: .86rem; }
.how-tiers__ultra { border: 1px solid transparent !important; background: linear-gradient(#15131C, #15131C) padding-box, linear-gradient(120deg, #ff6ad5, #A970FF, #4D9BFF, #F4C24B) border-box !important; }
.how-tiers__ultra b { background: linear-gradient(120deg, #ff6ad5, #A970FF, #7ec8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.how-types { display: flex; flex-wrap: wrap; gap: 8px; }
.how-types .tag { font-size: .78rem; padding: 5px 11px; }
.how-card__note { color: var(--muted); font-size: .82rem; margin-top: 14px; line-height: 1.5; }
.how-foot { text-align: center; margin-top: clamp(20px, 3vw, 30px); display: grid; gap: 8px; }
.how-foot__collab { color: var(--text); font-size: .92rem; }
.how-foot__collab a { color: var(--gold-300); text-decoration: underline; text-underline-offset: 3px; }
.how-foot__fine { color: var(--muted); font-size: .74rem; }
.how-foot__love { color: #c9a0ff; font-family: var(--font-display); font-weight: 700; font-size: .95rem; margin-top: 4px; }
@media (max-width: 900px) { .how-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 820px) { .how-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .how-steps { grid-template-columns: 1fr; gap: 18px; }
  .how-step { padding: 20px 16px 15px; }
  .how-tiers li b { font-size: .8rem; }
  .how-types .tag { font-size: .72rem; padding: 4px 9px; }
}

/* ───── phone interactivity polish (card view, browse, toolbar, banner) ───── */
.cardview__chart { touch-action: pan-y; }            /* taps read the chart; vertical scroll still works */
@media (max-width: 700px) {
  /* kill panel transforms so position:fixed children anchor to the VIEWPORT (a transformed ancestor hijacks them) */
  .cardview__panel { transform: none !important; animation: none; }
  .pbrowse__panel { width: 100vw; height: 100dvh; max-height: 100dvh; top: 0; left: 0; transform: none !important; animation: none; border-radius: 0; }
  .cardview__close, .pbrowse__close { position: fixed; top: 12px; right: 12px; width: 44px; height: 44px; font-size: 1.15rem; z-index: 5; background: rgba(26,22,38,.9); backdrop-filter: blur(6px); }
  .cardview__panel { padding: 18px 16px 26px; gap: 16px; }
  .cardview__name { font-size: 1.35rem; padding-right: 44px; }
  .cardview__cta { padding: 14px; font-size: 1rem; }  /* thumb-sized */
}
@media (max-width: 560px) {
  /* filter toolbar: tidy 2×2 grid instead of a tall stack */
  .store-toolbar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; }
  .store-toolbar .field select { width: 100%; min-height: 42px; }
  /* bigger tap targets on the core buttons */
  .single-card__foot .btn, .sg-more, .hits-more-wrap button { min-height: 42px; }
  .live-banner { gap: 6px; }
  .live-banner__cta { min-height: 30px; display: inline-flex; align-items: center; }
  /* mystery tiles: browse + preview buttons thumb-sized */
  .myo__browse, .mystery__preview { min-height: 42px; }
}

/* ───── phone density pass: 2-up boxes + tighter rhythm (nothing scrolls one-by-one) ───── */
@media (max-width: 560px) {
  /* tighter vertical rhythm overall */
  .section { padding: clamp(40px, 7vh, 64px) 14px; }
  .section__lede { font-size: .95rem; }

  /* SHOP CASES — two boxes per row, compact cards */
  .store-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .case-card { border-radius: 14px; }
  .case-card__body { padding: 10px 10px 12px; gap: 5px; }
  .case-card__title { font-size: .92rem; }
  .case-card__meta { font-size: .66rem; }
  .case-card__price { font-size: 1.12rem; }
  .case-card__unit, .case-card__per { font-size: .66rem; }
  .case-card__buy { padding-top: 8px; gap: 6px; }
  .case-card__buy .btn { width: 100%; padding: .55em .5em; font-size: .78rem; }
  .badge { font-size: .54rem; padding: 3px 8px; }
  .case-card__media::after { font-size: .6rem; padding: 4px 8px; }

  /* MYSTERY RIPS — two tiles per row (the 5th centers itself) */
  .mystery-grid { gap: 10px; }
  .mystery-grid > .myo { flex: 1 1 calc(50% - 5px); flex-basis: calc(50% - 5px); max-width: calc(50% - 5px); }
  .myo { padding: 14px 10px 12px; gap: 8px; border-radius: 16px; }
  .pack, .myo .pack { width: clamp(88px, 26vw, 116px); }
  .myo__tag { top: 8px; right: 8px; font-size: .5rem; padding: 3px 8px; }
  .myo__h { font-size: .92rem; }
  .myo__desc, .mystery__fine { display: none; }           /* half-width tiles keep only the essentials */
  .mystery__odds { gap: 3px; margin-bottom: 8px; }
  .mystery__odds li { font-size: .68rem; gap: 6px; }
  .tdot { width: 8px; height: 8px; }
  .myo .pack__sub { display: none; }                      /* tiny covers: title only, no collision */
  .myo .pack__title { font-size: .46rem; letter-spacing: .34em; text-indent: .34em; padding-bottom: 14px; }
  .myo .pack__title b { font-size: 1.02rem; margin-top: 2px; }
  .myo__browse { font-size: .64rem; padding: 8px 6px; margin: 0 0 8px; min-height: 36px; }
  .mystery__buy { gap: 6px; }
  .mystery__buy .btn { padding: .5em .4em; font-size: .68rem; }
  .mystery__price { font-size: .78rem; }
  .mystery__preview { font-size: .66rem; }

  /* trust tiles: two per row */
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .trust-tile { padding: 16px 12px; }
  .trust-tile h3 { font-size: .9rem; }
  .trust-tile p { font-size: .76rem; }
}
