/* =========================================================
   HOLOVAULT — midnight collector's cabinet
   Display: Unbounded · Accent: Instrument Serif · Text: DM Mono
   ========================================================= */
:root {
  --ink: #0b0a0f;
  --ink-2: #131119;
  --ink-3: #1d1a26;
  --paper: #f4ecdc;
  --muted: rgba(244, 236, 220, 0.62);
  --faint: rgba(244, 236, 220, 0.12);
  --volt: #ffd23f;
  --ember: #ff4d2e;
  --f-display: "Unbounded", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-mono: "DM Mono", ui-monospace, monospace;
  --pad: clamp(18px, 4vw, 64px);
  --t: #c8b89a;
}

/* type palette — any element can carry data-type */
[data-type="fire"] { --t: #ff6b3d; }
[data-type="water"] { --t: #3aa0ff; }
[data-type="grass"] { --t: #4cc26b; }
[data-type="electric"] { --t: #ffd23f; }
[data-type="psychic"] { --t: #ff5fa2; }
[data-type="dark"] { --t: #5a4d6e; }
[data-type="dragon"] { --t: #6f5cff; }
[data-type="fairy"] { --t: #ff9ad5; }
[data-type="steel"] { --t: #9aa7b8; }
[data-type="normal"] { --t: #bfae8c; }
[data-type="ghost"] { --t: #7a5cc2; }
[data-type="ice"] { --t: #6fd8ea; }
[data-type="poison"] { --t: #a45cd6; }
[data-type="flying"] { --t: #8fb3ff; }
[data-type="rock"] { --t: #b89f5c; }
[data-type="ground"] { --t: #d6a45c; }
[data-type="fighting"] { --t: #d0543a; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 15px/1.6 var(--f-mono);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--volt); color: var(--ink); }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; }

/* film grain */
body::after {
  content: "";
  position: fixed; inset: -50%;
  z-index: 95; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.07;
  mix-blend-mode: overlay;
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

.glow {
  --glow: rgba(255, 110, 60, 0.9);
  position: fixed; left: 0; top: 0;
  width: 70vmax; height: 70vmax;
  margin: -35vmax 0 0 -35vmax;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow) 0%, transparent 60%);
  opacity: 0.13;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
  transform: translate(50vw, 40vh);
}

/* ---------- custom cursor ---------- */
.cursor { display: none; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor select, .has-cursor label { cursor: none; }
.has-cursor input[type="search"] { cursor: text; }
.has-cursor .cursor {
  display: grid; place-items: center;
  position: fixed; left: 0; top: 0; z-index: 99;
  width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--paper);
  mix-blend-mode: difference;
  pointer-events: none;
  transition: width .35s cubic-bezier(.2,.8,.2,1), height .35s cubic-bezier(.2,.8,.2,1), margin .35s cubic-bezier(.2,.8,.2,1), background .3s;
}
.cursor.is-link { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
.cursor.is-label { width: 78px; height: 78px; margin: -39px 0 0 -39px; background: var(--volt); mix-blend-mode: normal; }
.cursor.is-down { transform: scale(.8); }
.cursor__label { font: 500 10px/1 var(--f-mono); letter-spacing: .14em; color: var(--ink); opacity: 0; transition: opacity .2s; }
.cursor.is-label .cursor__label { opacity: 1; }

/* ---------- page transition ---------- */
.pt { position: fixed; inset: 0; z-index: 100; display: flex; pointer-events: none; }
.pt i { flex: 1; transform: scaleY(0); }
.pt i:nth-child(1) { background: #ff5a36; }
.pt i:nth-child(2) { background: #ffd23f; }
.pt i:nth-child(3) { background: #f4ecdc; }
.pt i:nth-child(4) { background: #3aa0ff; }
.pt i:nth-child(5) { background: #131119; }
.pt-in .pt i { transform: scaleY(1); }
.pt__label {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font: 900 clamp(28px, 6vw, 84px)/1 var(--f-display);
  text-transform: uppercase; letter-spacing: -.03em;
  color: var(--ink); mix-blend-mode: difference; filter: invert(1);
  white-space: nowrap; opacity: 0;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 18px var(--pad);
  transition: background .4s, padding .4s, backdrop-filter .4s;
}
.nav.is-scrolled { background: rgba(11, 10, 15, .72); backdrop-filter: blur(14px); padding-block: 12px; }
.nav__logo { display: flex; align-items: center; gap: 10px; font: 800 18px/1 var(--f-display); letter-spacing: -.02em; }
.nav__logo em { font-size: 1.25em; color: var(--volt); margin-left: 1px; }
.logo-gem {
  width: 18px; height: 18px; transform: rotate(45deg); border-radius: 3px;
  background: conic-gradient(from 0deg, #ff5a36, #ffd23f, #6fd6ff, #b28bff, #ff5a36);
  animation: spin 6s linear infinite;
}
@keyframes spin { to { transform: rotate(405deg); } }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a {
  position: relative; padding: 8px 14px; border-radius: 99px;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  transition: color .3s, background .3s;
}
.nav__links a:hover { color: var(--paper); background: var(--faint); }
.nav__links a.is-active { color: var(--ink); background: var(--paper); }
.nav__binder {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 6px 6px 16px; border: 1px solid var(--faint); border-radius: 99px;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  transition: border-color .3s;
}
.nav__binder:hover { border-color: var(--volt); }
.nav__binder b { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 99px; background: var(--volt); color: var(--ink); font-weight: 500; }

/* ---------- shared type & controls ---------- */
.kicker { margin: 0 0 18px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--volt); }
.h2 { margin: 0; font: 800 clamp(34px, 5.4vw, 84px)/.98 var(--f-display); letter-spacing: -.035em; }
.h2 em, .page-title em, .hero__title em { color: var(--volt); letter-spacing: -.01em; }
.h2--xl { font-size: clamp(44px, 8vw, 132px); }
.h3 { margin: 0 0 24px; font: 700 22px/1.1 var(--f-display); letter-spacing: -.02em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 0 4px rgba(255, 210, 63, .2); animation: blink 2s infinite; }
@keyframes blink { 50% { box-shadow: 0 0 0 9px rgba(255, 210, 63, 0); } }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; border-radius: 99px;
  font: 500 13px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
  transition: background .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn span { transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.btn:hover span { transform: translateX(5px); }
.btn--volt { background: var(--volt); color: var(--ink); }
.btn--volt:hover { background: var(--paper); }
.btn--ghost { border: 1px solid var(--faint); }
.btn--ghost:hover { border-color: var(--paper); }
.btn--lg { padding: 22px 34px; font-size: 14px; }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px 6px 8px; border-radius: 99px;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--faint);
}
.chip svg { width: 14px; height: 14px; fill: currentColor; }
.chip--type { background: color-mix(in srgb, var(--t) 22%, transparent); border-color: color-mix(in srgb, var(--t) 55%, transparent); color: color-mix(in srgb, var(--t) 45%, #fff); }
.chip--rarity { border-color: var(--volt); color: var(--volt); }

/* =========================================================
   THE CARD
   ========================================================= */
.pcard {
  --w: 280px;
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%; --px: 0; --py: 0; --posx: 50%; --posy: 50%; --hover: 0;
  position: relative; flex: none;
  width: var(--w); aspect-ratio: 63 / 88;
  container-type: inline-size;
  perspective: 1400px;
  user-select: none; -webkit-user-select: none;
}
.pcard__spin, .pcard__tilt { position: absolute; inset: 0; transform-style: preserve-3d; }
.pcard__tilt { transform: rotateX(var(--rx)) rotateY(var(--ry)); }
.pcard__face {
  position: absolute; inset: 0;
  border-radius: 4.6cqw; overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow:
    0 3cqw 8cqw rgba(0, 0, 0, calc(.45 + var(--hover) * .2)),
    0 0 calc(var(--hover) * 16cqw) color-mix(in srgb, var(--t) 55%, transparent);
}
.pcard__back { transform: rotateY(180deg); }

/* frame metal */
.pcard__front { padding: 2.6cqw; background: linear-gradient(145deg, #f8e684, #d6a63a 38%, #f7dc72 58%, #b6852a); }
[data-rarity="common"] .pcard__front,
[data-rarity="uncommon"] .pcard__front { background: linear-gradient(145deg, #eeece6, #b7b4ac 42%, #f3f1ec 60%, #9c9991); }
[data-rarity="ultra"] .pcard__front { background: linear-gradient(135deg, #d6f3ff, #8fb6d6 30%, #f3fbff 50%, #7fa2c4 72%, #e6f6ff); }
[data-rarity="secret"] .pcard__front { background: linear-gradient(135deg, #fff5b8, #e2ae1f 24%, #fff9dd 44%, #c48d12 68%, #ffe78f); }

.pc-body {
  position: relative; height: 100%;
  display: flex; flex-direction: column; gap: 1.5cqw;
  padding: 3cqw 3.2cqw 2.4cqw;
  border-radius: 2.4cqw;
  color: #17120b;
  background:
    radial-gradient(circle at 1px 1px, rgba(0, 0, 0, .07) 1px, transparent 0) 0 0 / 2.4cqw 2.4cqw,
    linear-gradient(175deg, color-mix(in srgb, var(--t) 26%, #fdf6e7) 0%, color-mix(in srgb, var(--t) 58%, #efe0c2) 100%);
  overflow: hidden;
}
.pc-head { display: flex; align-items: center; gap: 1.4cqw; line-height: 1; }
.pc-stage {
  flex: none; padding: .7cqw 1.5cqw; border-radius: 9cqw;
  background: #17120b; color: #fdf6e7;
  font: 500 2.1cqw/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase;
}
.pc-name { flex: 1; min-width: 0; font: 800 6cqw/1 var(--f-display); letter-spacing: -.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-hp { display: flex; align-items: baseline; gap: .5cqw; font: 500 2.3cqw/1 var(--f-mono); color: #9b1c0e; }
.pc-hp b { font: 800 6cqw/1 var(--f-display); letter-spacing: -.04em; }
.pc-ico, .pc-e {
  flex: none; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--t) 50%, #fff), var(--t) 60%, color-mix(in srgb, var(--t) 70%, #000));
  box-shadow: inset 0 -.4cqw 0 rgba(0, 0, 0, .2), 0 .3cqw .8cqw rgba(0, 0, 0, .25);
}
.pc-ico { width: 6.4cqw; height: 6.4cqw; }
.pc-ico svg, .pc-e svg { width: 62%; height: 62%; fill: #fff; filter: drop-shadow(0 .2cqw .2cqw rgba(0, 0, 0, .3)); }
.pc-e { width: 3.8cqw; height: 3.8cqw; }

.pc-art {
  position: relative; flex: none;
  aspect-ratio: 1.52 / 1;
  margin: .6cqw 1cqw 0;
  border-radius: 1cqw; overflow: hidden;
  background: radial-gradient(circle at 50% 62%, color-mix(in srgb, var(--t) 30%, #fff) 0%, var(--t) 46%, color-mix(in srgb, var(--t) 55%, #000) 100%);
  box-shadow: 0 0 0 .9cqw #e2bd55, 0 0 0 1.2cqw rgba(0, 0, 0, .35), inset 0 0 5cqw rgba(0, 0, 0, .35);
}
[data-rarity="common"] .pc-art, [data-rarity="uncommon"] .pc-art { box-shadow: 0 0 0 .9cqw #c9c6be, 0 0 0 1.2cqw rgba(0, 0, 0, .3), inset 0 0 5cqw rgba(0, 0, 0, .35); }
.pc-art::before {
  content: ""; position: absolute; inset: -40%;
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, .16) 0 5deg, transparent 5deg 13deg);
  transform: translate(calc(var(--px) * 3cqw), calc(var(--py) * 3cqw));
}
.pc-art img {
  position: absolute; left: 12%; top: 3%; width: 76%; height: 100%;
  object-fit: contain; object-position: center 30%;
  filter: drop-shadow(0 2.4cqw 2cqw rgba(0, 0, 0, .4));
  transform: translate(calc(var(--px) * -3.2cqw), calc(var(--py) * -2.4cqw)) scale(1.06);
}
.pc-strip {
  margin: -.3cqw 3cqw 0; padding: .5cqw 0;
  font: italic 2.6cqw/1 var(--f-serif); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent);
}
.pc-attacks { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 2cqw; padding: 0 1cqw; }
.pc-atk { display: grid; grid-template-columns: 13cqw 1fr auto; align-items: center; column-gap: 1.6cqw; }
.pc-cost { display: flex; flex-wrap: wrap; gap: .5cqw; }
.pc-atk-name { font: 700 3.9cqw/1.05 var(--f-display); letter-spacing: -.02em; }
.pc-dmg { font: 800 5cqw/1 var(--f-display); letter-spacing: -.04em; }
.pc-atk-text { grid-column: 1 / -1; margin: .7cqw 0 0; font: 400 2.35cqw/1.3 var(--f-mono); opacity: .82; }
.pc-meta {
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding-top: 1.2cqw; border-top: .3cqw solid rgba(0, 0, 0, .22);
  font: 500 2cqw/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase;
}
.pc-meta span { display: flex; align-items: center; justify-content: center; gap: .5cqw; }
.pc-meta .pc-e { width: 3cqw; height: 3cqw; }
.pc-flavor {
  margin: 0; padding: 1cqw 1.8cqw;
  font: italic 2.7cqw/1.22 var(--f-serif);
  border: .3cqw solid rgba(0, 0, 0, .18); border-radius: 1cqw;
  background: rgba(255, 255, 255, .38);
}
.pc-bottom { display: flex; justify-content: space-between; font: 500 1.9cqw/1 var(--f-mono); letter-spacing: .06em; opacity: .75; }

/* foil + glare layers */
.pc-shine, .pc-glare, .pc-glitter { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; }
.pc-shine {
  display: none;
  mix-blend-mode: color-dodge;
  background-image:
    repeating-linear-gradient(115deg, #ff5f6d 0%, #ffc371 5%, #fcff6e 10%, #74ffb0 15%, #62d0ff 20%, #b28bff 25%, #ff5f6d 30%),
    repeating-linear-gradient(-45deg, rgba(0, 0, 0, .3) 0 1px, transparent 1px 4px);
  background-size: 400% 400%, 100% 100%;
  background-position: var(--posx) var(--posy), center;
  filter: brightness(.6) contrast(1.5) saturate(1.1);
  opacity: calc(.1 + var(--hover) * .42);
}
.pc-art .pc-shine { border-radius: 0; }
[data-rarity="holo"] .pc-art .pc-shine,
[data-rarity="ultra"] .pc-art .pc-shine,
[data-rarity="secret"] .pc-art .pc-shine { display: block; }
[data-rarity="ultra"] .pc-shine--card,
[data-rarity="secret"] .pc-shine--card { display: block; opacity: calc(.04 + var(--hover) * .38); }
.pc-glitter { display: none; }
[data-rarity="secret"] .pc-glitter {
  display: block;
  mix-blend-mode: color-dodge;
  background-image:
    radial-gradient(circle at 30% 40%, #fff 0 .6px, transparent 1.4px),
    radial-gradient(circle at 70% 80%, #fff6b0 0 .5px, transparent 1.2px),
    radial-gradient(circle at 60% 20%, #c9f4ff 0 .5px, transparent 1.2px);
  background-size: 9px 9px, 13px 13px, 17px 17px;
  -webkit-mask-image: radial-gradient(circle at var(--mx) var(--my), #000 0%, transparent 55%);
  mask-image: radial-gradient(circle at var(--mx) var(--my), #000 0%, transparent 55%);
  opacity: calc(var(--hover) * 1);
}
.pc-glare {
  mix-blend-mode: overlay;
  opacity: calc(var(--hover) * .85);
  background: radial-gradient(farthest-corner circle at var(--mx) var(--my), rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, .2) 28%, rgba(0, 0, 0, .45) 95%);
}

/* card back */
.pcard__back { background: #0f0c19; padding: 2.6cqw; }
.pb {
  position: relative; height: 100%;
  display: grid; place-items: center; align-content: center; gap: 4cqw;
  border-radius: 2.4cqw; overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #3a2a6a 0%, #1a1233 45%, #0b0816 100%);
  border: .5cqw solid rgba(255, 210, 63, .5);
}
.pb-rings {
  position: absolute; inset: 0;
  background:
    repeating-radial-gradient(circle at 50% 42%, transparent 0 3.4cqw, rgba(255, 210, 63, .14) 3.4cqw 3.7cqw),
    conic-gradient(from calc(var(--ry) * 4) at 50% 42%, rgba(255, 90, 54, .25), rgba(111, 214, 255, .25), rgba(178, 139, 255, .25), rgba(255, 90, 54, .25));
}
.pb-emblem {
  position: relative; width: 42cqw; height: 42cqw; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle, #0b0816 58%, transparent 59%), conic-gradient(from 0deg, #ff5a36, #ffd23f, #6fd6ff, #b28bff, #ff5a36);
  box-shadow: 0 0 10cqw rgba(178, 139, 255, .45);
}
.pb-gem { width: 16cqw; height: 16cqw; transform: rotate(45deg); border-radius: 2cqw; background: linear-gradient(135deg, #fff5b8, #ffd23f 40%, #b6852a); box-shadow: 0 0 6cqw rgba(255, 210, 63, .6); }
.pb-word { position: relative; margin: 0; font: 900 8cqw/1 var(--f-display); letter-spacing: -.03em; color: #f4ecdc; }
.pb-word em { color: var(--volt); font-size: 1.2em; }
.pb-small { position: relative; margin: 0; font: 500 2.4cqw/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: rgba(244, 236, 220, .6); }

/* =========================================================
   BOOSTER PACK
   ========================================================= */
.pack {
  --w: 240px;
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%; --px: 0; --py: 0; --posx: 50%; --posy: 50%; --hover: 0;
  position: relative; flex: none;
  width: var(--w); aspect-ratio: 5 / 8.4;
  container-type: inline-size;
  perspective: 1400px;
  user-select: none; -webkit-user-select: none;
}
.pack__shadow { position: absolute; inset: 8% 6% -4%; border-radius: 8%; background: #000; filter: blur(28px); opacity: .6; transform: translate(calc(var(--px) * -12px), calc(var(--py) * -12px + 20px)); }
.pack__tilt { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); }
.pack__half { position: absolute; inset: 0; }
.pack__top { clip-path: inset(0 0 88% 0); z-index: 2; }
.pack__body { clip-path: inset(12% 0 0 0); }
.pack__face {
  position: absolute; inset: 0; overflow: hidden;
  border-radius: 3cqw;
  background:
    radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--p2) 70%, #fff) 0%, transparent 45%),
    linear-gradient(165deg, var(--p1) 0%, color-mix(in srgb, var(--p1) 50%, var(--p3)) 55%, var(--p3) 100%);
}
.pack__foil {
  position: absolute; inset: 0; mix-blend-mode: overlay;
  background: repeating-conic-gradient(from 0deg at 50% 45%, rgba(255, 255, 255, .28) 0 3deg, transparent 3deg 10deg);
  transform: rotate(calc(var(--ry) * 1.5));
}
.pack__crimp {
  position: absolute; left: 0; right: 0; top: 0; height: 7%;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .45) 0 1.4cqw, rgba(0, 0, 0, .3) 1.4cqw 2.8cqw), linear-gradient(#e9e9e9, #9a9a9a);
  background-blend-mode: overlay;
  opacity: .85;
}
.pack__crimp--b { top: auto; bottom: 0; }
.pack__brand {
  position: absolute; top: 13.5%; left: 0; right: 0; margin: 0;
  text-align: center; font: 700 3.6cqw/1 var(--f-mono); letter-spacing: .32em; color: rgba(255, 255, 255, .92);
}
.pack__art {
  position: absolute; left: 2%; top: 20%; width: 96%;
  filter: drop-shadow(0 4cqw 5cqw rgba(0, 0, 0, .45));
  transform: translate(calc(var(--px) * -4cqw), calc(var(--py) * -3cqw));
}
.pack__name {
  position: absolute; left: 8cqw; bottom: 16%; margin: 0;
  font: 900 12.5cqw/.88 var(--f-display); letter-spacing: -.05em; text-transform: uppercase;
  color: #fff; text-shadow: 0 1cqw 0 rgba(0, 0, 0, .25);
}
.pack__meta { position: absolute; left: 8cqw; bottom: 10.5%; margin: 0; font: 500 3.2cqw/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.pack .pc-shine--card { display: block; opacity: calc(.1 + var(--hover) * .45); }

/* =========================================================
   HOME
   ========================================================= */
main { position: relative; z-index: 1; }
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 2vw;
  padding: 120px var(--pad) 90px;
  overflow: hidden;
}
.hero__grid {
  position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--faint) 1px, transparent 1px), linear-gradient(90deg, var(--faint) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 50%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 60% 50%, #000 0%, transparent 70%);
  opacity: .5;
}
.hero__title { margin: 0; font: 900 clamp(46px, 7.6vw, 128px)/.9 var(--f-display); letter-spacing: -.055em; text-transform: uppercase; }
.hero__title em { text-transform: none; font-size: 1.14em; letter-spacing: -.03em; }
.hero__lede { max-width: 470px; margin: 32px 0 38px; color: var(--muted); font-size: 15px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__fan { position: relative; height: min(72vh, 640px); perspective: 1600px; }
.fan-slot { position: absolute; left: 50%; top: 50%; }
.fan-slot .pcard { --w: clamp(170px, 19vw, 300px); }
.hero__foot {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 28px;
  display: flex; align-items: center; gap: 16px;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.hero__line { flex: 1; height: 1px; background: var(--faint); position: relative; overflow: hidden; }
.hero__line::after { content: ""; position: absolute; inset: 0; width: 30%; background: var(--volt); animation: scan 2.4s cubic-bezier(.6,0,.2,1) infinite; }
@keyframes scan { from { transform: translateX(-100%); } to { transform: translateX(340%); } }

/* anatomy */
.anatomy { position: relative; }
.anatomy__pin {
  height: 100vh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4vw;
  padding: 100px var(--pad) 60px;
}
.anatomy__steps { position: relative; margin-top: 48px; height: 190px; max-width: 460px; }
.step { position: absolute; inset: 0; opacity: 0; }
.step__n { font: 500 12px/1 var(--f-mono); letter-spacing: .16em; color: var(--volt); }
.step h3 { margin: 14px 0 12px; font: 700 clamp(22px, 2.4vw, 34px)/1.05 var(--f-display); letter-spacing: -.03em; }
.step p { margin: 0; color: var(--muted); }
.anatomy__bar { margin-top: 10px; height: 2px; max-width: 460px; background: var(--faint); }
.anatomy__bar i { display: block; height: 100%; background: var(--volt); transform-origin: left; transform: scaleX(0); }
.anatomy__stage { position: relative; display: grid; place-items: center; }
.anatomy__card { position: relative; }
.anatomy__card .pcard { --w: clamp(240px, 26vw, 380px); }
.anatomy__hl {
  position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none;
  border: 2px solid var(--volt); border-radius: 2cqw;
  box-shadow: 0 0 0 9999px rgba(11, 10, 15, .5), 0 0 30px rgba(255, 210, 63, .6);
  opacity: 0;
}

/* rail */
.rail { position: relative; overflow: hidden; }
.rail__pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 5vh; padding: 90px 0 40px; }
.rail__head { padding: 0 var(--pad); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.rail__head p:last-child { max-width: 320px; color: var(--muted); margin: 0; }
.rail__track { display: flex; gap: 6vw; padding: 0 var(--pad); width: max-content; will-change: transform; }
.rail__item { position: relative; display: flex; align-items: center; gap: 28px; }
.rail__item .pcard { --w: clamp(200px, 20vw, 290px); }
.rail__num {
  position: absolute; left: -2vw; top: 50%; transform: translateY(-50%); z-index: -1;
  font: 900 clamp(120px, 18vw, 280px)/1 var(--f-display); letter-spacing: -.07em;
  color: transparent; -webkit-text-stroke: 1px rgba(244, 236, 220, .16);
}
.rail__meta { width: 200px; }
.rail__meta b { display: block; font: 800 26px/1 var(--f-display); letter-spacing: -.03em; margin: 12px 0 10px; }
.rail__meta p { margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.rail__meta a { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--volt); }

/* rarity ladder */
.ladder { padding: 18vh var(--pad) 12vh; }
.ladder__head { display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; align-items: end; margin-bottom: 8vh; }
.ladder__head p { color: var(--muted); max-width: 420px; margin: 0; }
.ladder__row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2vw; align-items: end; padding-top: 110px; }
.ladder__cell { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.ladder__cell .pcard { --w: 100%; }
.ladder__cell:nth-child(1) { transform: translateY(0); }
.ladder__label { text-align: center; }
.ladder__label b { display: block; font: 700 15px/1.2 var(--f-display); }
.ladder__label span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* marquee */
.marquee { padding: 6vh 0; border-block: 1px solid var(--faint); overflow: hidden; }
.marquee__row { display: flex; width: max-content; }
.marquee__row + .marquee__row { margin-top: 14px; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 22px; padding-right: 44px;
  font: 900 clamp(38px, 6vw, 96px)/1 var(--f-display); letter-spacing: -.04em; text-transform: uppercase;
}
.marquee__item svg { width: .7em; height: .7em; fill: var(--t); }
.marquee__row--rev .marquee__item { color: transparent; -webkit-text-stroke: 1px rgba(244, 236, 220, .4); }

/* numbers */
.numbers { padding: 14vh var(--pad); }
.numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--faint); }
.num { padding: 34px 20px 0 0; border-right: 1px solid var(--faint); }
.num:last-child { border-right: 0; }
.num + .num { padding-left: 24px; }
.num b { display: block; font: 900 clamp(48px, 7vw, 110px)/1 var(--f-display); letter-spacing: -.05em; }
.num span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* cta */
.cta { position: relative; display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: 6vw; padding: 12vh var(--pad) 18vh; overflow: hidden; }
.cta__pack { display: grid; place-items: center; }
.cta__pack .pack { --w: clamp(210px, 22vw, 300px); }
.cta__copy p:not(.kicker) { color: var(--muted); max-width: 420px; margin: 28px 0 36px; }

/* footer */
.foot { position: relative; z-index: 1; padding: 8vh var(--pad) 36px; border-top: 1px solid var(--faint); overflow: hidden; }
.foot__big { font: 900 clamp(64px, 17vw, 300px)/.8 var(--f-display); letter-spacing: -.07em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(244, 236, 220, .22); }
.foot__big em { -webkit-text-stroke: 0; color: var(--volt); text-transform: none; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; margin-top: 48px; font-size: 12px; color: var(--muted); }
.foot__row p { max-width: 560px; margin: 0; }
.foot__row nav { display: flex; gap: 20px; letter-spacing: .1em; text-transform: uppercase; }
.foot__row nav a:hover { color: var(--volt); }

/* =========================================================
   VAULT
   ========================================================= */
.page-head { padding: 150px var(--pad) 40px; }
.page-title { margin: 0; font: 900 clamp(56px, 11vw, 190px)/.85 var(--f-display); letter-spacing: -.06em; text-transform: uppercase; }
.page-title em { text-transform: none; font-size: 1.1em; }
.page-sub { margin: 26px 0 0; color: var(--muted); }
.page-sub b { color: var(--paper); font-weight: 500; }

.toolbar {
  position: sticky; top: 64px; z-index: 20;
  display: flex; flex-direction: column; gap: 14px;
  margin: 0 var(--pad); padding: 18px 20px;
  border: 1px solid var(--faint); border-radius: 22px;
  background: rgba(19, 17, 25, .78); backdrop-filter: blur(16px);
}
.toolbar__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.search { display: flex; align-items: center; gap: 12px; flex: 1 1 260px; padding: 0 16px; height: 44px; border-radius: 99px; background: var(--ink); border: 1px solid var(--faint); }
.search:focus-within { border-color: var(--volt); }
.search svg { width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 2; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { transition: background .25s, color .25s, border-color .25s, opacity .25s; opacity: .7; }
.chips button:hover { opacity: 1; }
.chips button.is-on { opacity: 1; background: var(--t); color: #111; border-color: var(--t); }
.chips button[data-type="all"].is-on { background: var(--paper); border-color: var(--paper); }
.seg { display: flex; padding: 4px; border-radius: 99px; background: var(--ink); border: 1px solid var(--faint); }
.seg button { padding: 8px 14px; border-radius: 99px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color .25s, background .25s; }
.seg button.is-on { background: var(--volt); color: var(--ink); }
.toggle { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle span { position: relative; width: 38px; height: 22px; border-radius: 99px; background: var(--ink-3); transition: background .3s; }
.toggle span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.toggle input:checked + span { background: var(--volt); }
.toggle input:checked + span::after { transform: translateX(16px); background: var(--ink); }
.toggle input:focus-visible + span { outline: 2px solid var(--volt); outline-offset: 3px; }
.select { display: flex; align-items: center; gap: 10px; margin-left: auto; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.select select { height: 38px; padding: 0 14px; border-radius: 99px; background: var(--ink); border: 1px solid var(--faint); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }

.vault__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 44px 28px; padding: 56px var(--pad) 120px;
}
.vcell { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.vcell .pcard { --w: 100%; }
.vcell__meta { width: 100%; display: flex; justify-content: space-between; align-items: center; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.vcell__meta b { color: var(--paper); font-weight: 500; }
.vcell__own { position: absolute; top: -10px; right: -10px; z-index: 3; display: none; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--volt); color: var(--ink); font: 700 13px/1 var(--f-mono); box-shadow: 0 6px 18px rgba(0, 0, 0, .4); }
.vcell.is-owned .vcell__own { display: grid; }
.vault__empty { padding: 0 var(--pad) 140px; text-align: center; color: var(--muted); font-size: 16px; }
.vault__empty button { color: var(--volt); text-decoration: underline; text-underline-offset: 4px; }

/* inspect modal */
.inspect {
  position: fixed; inset: 0; z-index: 70;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 5vw;
  padding: 80px var(--pad) 40px;
  overflow-y: auto;
}
.inspect[hidden] { display: none; }
.inspect__backdrop { position: fixed; inset: 0; background: rgba(8, 7, 12, .84); backdrop-filter: blur(16px); }
.inspect__stage { position: relative; justify-self: end; }
.inspect__stage .pcard { --w: min(380px, 34vw, calc((100vh - 140px) * .716)); }
.inspect__panel { position: relative; max-width: 480px; }
.inspect__panel .kicker { margin-bottom: 12px; }
.inspect__panel h2 { margin: 0 0 16px; font: 900 clamp(38px, 5vw, 72px)/.9 var(--f-display); letter-spacing: -.05em; }
.inspect__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.inspect__panel blockquote { margin: 0 0 26px; font: italic 22px/1.3 var(--f-serif); color: var(--paper); }
.inspect__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.inspect__close { position: fixed; top: 22px; right: var(--pad); z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--faint); font-size: 22px; background: var(--ink-2); }
.inspect__close:hover { border-color: var(--paper); }
.inspect__nav { position: fixed; bottom: 26px; right: var(--pad); z-index: 2; display: flex; gap: 8px; }
.inspect__nav button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--faint); background: var(--ink-2); }
.inspect__nav button:hover { border-color: var(--volt); color: var(--volt); }

.stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.stats li { display: grid; grid-template-columns: 70px 44px 1fr; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .08em; }
.stats span { color: var(--muted); }
.stats b { font-weight: 500; text-align: right; }
.stats i { height: 6px; border-radius: 99px; background: var(--faint); overflow: hidden; }
.stats u { display: block; height: 100%; width: calc(var(--v) * 100%); border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--t) 60%, #fff), var(--t)); transform-origin: left; }
.stats__total { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--faint); }
.stats__total b { color: var(--volt); }
.stats__total i { background: none; }

/* =========================================================
   CARD DETAIL
   ========================================================= */
.detail { position: relative; overflow: hidden; }
.detail::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 28% 45%, color-mix(in srgb, var(--t) 38%, transparent) 0%, transparent 55%);
}
.detail__ghost {
  position: absolute; left: 0; right: 0; top: 16vh; z-index: -1;
  font: 900 clamp(120px, 24vw, 420px)/.8 var(--f-display); letter-spacing: -.08em; text-transform: uppercase; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--t) 45%, transparent);
  text-align: center; pointer-events: none;
}
.detail__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 5vw; min-height: 100vh; padding: 110px var(--pad) 40px; }
.detail__grid { align-items: start; }
.detail__stage { position: sticky; top: 90px; height: calc(100vh - 110px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; }
.detail__card { touch-action: pan-y; }
.detail__card .pcard { --w: min(420px, 38vw, calc((100vh - 220px) * .716)); }
.detail__hint { margin: 0; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.detail__info { max-width: 540px; }
.detail__no { font: 500 13px/1 var(--f-mono); letter-spacing: .18em; color: var(--muted); }
.detail__name { margin: 14px 0 12px; font: 900 min(104px, calc(40vw / var(--len, 7)))/.9 var(--f-display); letter-spacing: -.06em; white-space: nowrap; }
.detail__genus { margin: 0 0 20px; font: italic 24px/1.2 var(--f-serif); color: var(--muted); }
.detail__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.detail__flavor { margin: 0 0 32px; font: italic clamp(22px, 2.1vw, 30px)/1.25 var(--f-serif); }
.detail__facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 30px 0; background: var(--faint); border: 1px solid var(--faint); border-radius: 14px; overflow: hidden; }
.detail__facts div { padding: 14px 16px; background: var(--ink); }
.detail__facts span { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.detail__facts b { font: 700 18px/1.4 var(--f-display); }
.detail__moves { display: grid; gap: 10px; margin: 0 0 30px; }
.move { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--faint); border-radius: 14px; }
.move__cost { display: flex; gap: 4px; }
.move__cost .pc-e { width: 20px; height: 20px; }
.move b { font: 700 16px/1.2 var(--f-display); }
.move small { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
.move strong { font: 800 22px/1 var(--f-display); color: var(--volt); }
.detail__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.detail__pager { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid var(--faint); }
.pager { display: flex; align-items: center; gap: 18px; padding: 30px var(--pad); transition: background .4s; }
.pager + .pager { justify-content: flex-end; text-align: right; border-left: 1px solid var(--faint); }
.pager:hover { background: var(--ink-2); }
.pager span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pager b { display: block; font: 800 clamp(22px, 3vw, 40px)/1 var(--f-display); letter-spacing: -.04em; }
.pager img { width: 70px; height: 70px; object-fit: contain; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.pager:hover img { transform: scale(1.2) rotate(-6deg); }
.detail__related { padding: 12vh var(--pad); }
.related { display: flex; gap: 28px; overflow-x: auto; padding: 20px 4px 30px; scrollbar-width: thin; }
.related a { flex: none; }
.related .pcard { --w: 200px; }

/* =========================================================
   PACK ROOM
   ========================================================= */
.packs { min-height: 100vh; padding-bottom: 80px; }
.packs__head { padding: 130px var(--pad) 10px; text-align: center; }
.packs__head .page-title { font-size: clamp(44px, 8vw, 130px); }
.packs__stage { position: relative; min-height: max(560px, 66vh); display: grid; place-items: center; padding: 20px var(--pad); }
.shelf { display: flex; justify-content: center; align-items: center; gap: 4vw; flex-wrap: wrap; }
.shelf__item { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.shelf__item .pack { --w: clamp(170px, 18vw, 250px); }
.shelf__item.is-chosen .pack { --w: clamp(220px, 22vw, 280px); }
.shelf__item.is-gone { display: none; }
.shelf__label { text-align: center; max-width: 220px; }
.shelf__label b { display: block; font: 800 18px/1.1 var(--f-display); letter-spacing: -.02em; margin-bottom: 6px; }
.shelf__label span { font-size: 12px; color: var(--muted); }
.shelf__item.is-chosen .shelf__label { display: none; }

.tear { position: absolute; left: -6%; right: -6%; top: 12%; height: 0; z-index: 6; }
.tear__line { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .95) 0 7px, transparent 7px 13px); }
.tear__fill { position: absolute; left: 0; right: 0; top: -2px; height: 4px; background: var(--volt); box-shadow: 0 0 16px var(--volt), 0 0 40px rgba(255, 210, 63, .6); transform: scaleX(0); transform-origin: left; }
.tear__handle {
  position: absolute; left: 0; top: 0; width: 50px; height: 50px; margin: -25px 0 0 -25px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--volt); color: var(--ink); font: 700 20px/1 var(--f-mono);
  box-shadow: 0 0 0 8px rgba(255, 210, 63, .25), 0 10px 30px rgba(0, 0, 0, .5);
  animation: nudge 1.6s ease-in-out infinite;
  touch-action: none;
}
@keyframes nudge { 50% { box-shadow: 0 0 0 16px rgba(255, 210, 63, 0), 0 10px 30px rgba(0, 0, 0, .5); } }
.tear__tip { position: absolute; left: 50%; top: -58px; transform: translateX(-50%); white-space: nowrap; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--paper); }

.stack { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 5; }
.stack .pcard { --w: clamp(200px, 21vw, 270px); position: absolute; left: 0; top: 0; }
.stack__aura { position: absolute; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; background: radial-gradient(circle, var(--aura, #fff) 0%, transparent 62%); opacity: 0; pointer-events: none; mix-blend-mode: screen; }
.stack__hint { position: absolute; left: 0; top: 0; transform: translate(-50%, calc(clamp(200px, 21vw, 270px) * .7 + 40px)); white-space: nowrap; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); opacity: 0; }

.pulls { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2vw; max-width: 1180px; margin: 0 auto; padding: 0 var(--pad); }
.pulls[hidden] { display: none; }
.pull { display: flex; flex-direction: column; gap: 12px; }
.pull__slot { position: relative; aspect-ratio: 63 / 88; border: 1px dashed var(--faint); border-radius: 12px; }
.pull__slot .pcard { --w: 100%; position: absolute; inset: 0; }
.pull__meta { min-height: 38px; text-align: center; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); opacity: 0; }
.pull__meta b { display: block; color: var(--paper); font: 700 14px/1.3 var(--f-display); letter-spacing: -.01em; text-transform: none; }
.pull__meta .is-new { color: var(--volt); }
.packs__actions { display: flex; justify-content: center; gap: 12px; padding: 30px var(--pad) 0; }
.packs__actions[hidden] { display: none; }
.summary { max-width: 760px; margin: 60px auto 0; padding: 0 var(--pad); text-align: center; }
.summary[hidden] { display: none; }
.summary h2 { margin: 0 0 14px; font: 900 clamp(32px, 4.6vw, 64px)/.95 var(--f-display); letter-spacing: -.05em; }
.summary p { color: var(--muted); margin: 0 0 30px; }
.summary div { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.spark { position: fixed; z-index: 80; width: 9px; height: 9px; margin: -4px 0 0 -4px; border-radius: 2px; pointer-events: none; }
.flash { position: fixed; inset: 0; z-index: 79; background: #fff; pointer-events: none; opacity: 0; mix-blend-mode: overlay; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .nav__links a:not(.is-active) { display: none; }
  .nav__links a[data-page="vault"], .nav__links a[data-page="packs"] { display: inline-block; }
  .nav__binder span { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 110px; }
  .hero__fan { height: 440px; order: -1; }
  .fan-slot .pcard { --w: clamp(150px, 34vw, 230px); }
  .anatomy__pin { grid-template-columns: 1fr; align-content: center; gap: 24px; padding-top: 80px; }
  .anatomy__stage { order: -1; }
  .anatomy__card .pcard { --w: min(52vw, 32vh); }
  .anatomy__steps { margin-top: 18px; height: 150px; }
  .anatomy__head .h2 { font-size: 30px; }
  .rail__head { flex-direction: column; align-items: flex-start; }
  .rail__meta { display: none; }
  .ladder__head { grid-template-columns: 1fr; }
  .ladder__row { grid-template-columns: repeat(5, 1fr); gap: 10px; }
  .ladder__label span { display: none; }
  .ladder__label b { font-size: 11px; }
  .numbers__grid { grid-template-columns: 1fr 1fr; }
  .num:nth-child(2) { border-right: 0; }
  .num:nth-child(3) { padding-left: 0; }
  .cta { grid-template-columns: 1fr; text-align: center; }
  .cta__copy p:not(.kicker) { margin-inline: auto; }
  .inspect { grid-template-columns: 1fr; align-items: start; padding-top: 90px; }
  .inspect__stage { justify-self: center; }
  .inspect__stage .pcard { --w: min(300px, 70vw); }
  .inspect__panel { padding-bottom: 90px; }
  .detail__grid { grid-template-columns: 1fr; padding-top: 100px; }
  .detail__card .pcard { --w: min(340px, 78vw); }
  .detail__stage { position: static; height: auto; }
  .detail__name { font-size: min(84px, calc(100vw / var(--len, 7))); }
  .detail__facts { grid-template-columns: 1fr 1fr; }
  .select { margin-left: 0; }
  .pulls { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .pull__meta b { font-size: 10px; }
}
@media (max-width: 560px) {
  .nav { gap: 8px; padding-inline: 16px; }
  .nav__logo { font-size: 15px; gap: 8px; }
  .nav__links { gap: 2px; }
  .nav__links a { padding: 7px 10px; font-size: 10px; white-space: nowrap; }
  .nav__links a[data-page="card"] { display: none !important; }
  .nav__binder { padding: 4px; }
  .toolbar { position: relative; top: auto; padding: 12px; border-radius: 16px; }
  .seg { overflow-x: auto; max-width: 100%; }
  .seg button { flex: none; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .chips .chip { flex: none; }
  .vault__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
  .vcell__meta { font-size: 9px; }
  .pager img { display: none; }
  .pulls { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
