/* Slabpad: a trading-card shop in daylight. Warm white paper, one ink, and the five Pokemon type colours used as whole
   scenes (electric = how it works, grass = the vote on the playmat, psychic = the draw on holo foil, fire = the shelf,
   water = the pegboard of coin packs). Holo rainbow only under the pointer or on the slab that leads.
   Type: Bowlby One (display, big and rare), Schibsted Grotesk (text), DM Mono (card numbers, prices, tickets).
   Shapes: 32 px scenes, 22 px cards, 12 px slabs, pills for actions and chips. Motion: 260 / 700 ms on one curve. */
/* metric-matched fallbacks (measured widths: Schibsted = 0.93 DejaVu Sans, Bowlby = 1.077 DejaVu Sans Bold), so the
   swap to the web fonts does not reflow the hero; only used where DejaVu is the system sans (Linux) */
@font-face { font-family: "Schibsted fb"; src: local("DejaVu Sans"); size-adjust: 93%; }
@font-face { font-family: "Bowlby fb"; src: local("DejaVu Sans Bold"), local("DejaVuSans-Bold"); size-adjust: 107.7%; }
:root {
  --name: "Slabpad";
  --paper: #fbf8f1; --paper2: #f3ecdd; --paper3: #e9dfca; --white: #fffdf8;
  --ink: #1c1a22; --ink2: #47434f; --ink3: #77727f; --line: rgba(28, 26, 34, .14); --line2: rgba(28, 26, 34, .26);
  --fire: #ee5a3a; --fire-d: #b8401f; --water: #3b7fe0; --water-d: #1f4fae; --grass: #4bab5e; --grass-d: #2c7a3e;
  --electric: #f6c73b; --electric-d: #c99312; --psychic: #b05cc7; --psychic-d: #6d2f86; --psa: #d8262f;
  --f-disp: "Bowlby One", "Bowlby fb", "Arial Black", Impact, sans-serif;
  --f-text: "Schibsted Grotesk", "Schibsted fb", system-ui, sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SFMono-Regular", monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --t1: 260ms; --t2: 700ms;
  --gut: clamp(16px, 4.4vw, 72px);
  --shadow: 0 1px 2px rgba(60, 40, 10, .18), 0 14px 30px -10px rgba(60, 40, 10, .35);
  --shadow-lg: 0 2px 4px rgba(40, 25, 5, .2), 0 30px 60px -18px rgba(40, 25, 5, .5);
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--f-text); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .22 0 0 0 0 .1 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
button, a, label[for], .drop, [role="tab"], summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--water); outline-offset: 3px; border-radius: 6px; }
code, .m, .num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.k, dt { font: 500 12px/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink3); }
.nojs { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; padding: 14px 18px; border-radius: 14px; background: var(--ink); color: var(--paper); }

/* ------------------------------------------------------------------ actions */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 24px;
  border: 2px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--paper);
  font: 600 15px/1 var(--f-text); letter-spacing: .005em; white-space: nowrap;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .25); transition: transform var(--t1) var(--ease), background var(--t1), box-shadow var(--t1);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45); }
.btn:active { transform: translateY(0); }
.btn.lg { min-height: 56px; padding: 0 30px; font-size: 17px; }
.btn.sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn.wide { width: 100%; }
.btn.ghost { background: var(--white); color: var(--ink); }
.btn.ghost:hover { background: var(--paper2); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; transform: none; box-shadow: none; cursor: default; }
.btn.is-busy span { opacity: .55; }
.btn.is-busy::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); background: var(--white); color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: var(--paper2); }
.icon-btn .snd-on { display: none; }
.icon-btn[aria-pressed="true"] .snd-on { display: inline; }
.icon-btn[aria-pressed="true"] .snd-off { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 7px 14px; border-radius: 999px;
  background: var(--white); color: var(--ink); border: 2px solid var(--ink);
  font: 500 12px/1 var(--f-mono); letter-spacing: .07em; text-transform: uppercase;
}
.chip b { font-weight: 500; }
.chip.dark { background: var(--ink); color: var(--paper); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grass); box-shadow: 0 0 0 2px rgba(75, 171, 94, .25); }

/* ------------------------------------------------------------------ bar */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30; display: flex; align-items: center; gap: 28px; height: 72px; padding: 0 var(--gut);
  transition: background var(--t1), box-shadow var(--t1);
}
.bar.is-solid { background: rgba(251, 248, 241, .94); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 400 21px/1 var(--f-disp); letter-spacing: -.01em; }
.brand img { width: 28px; height: 28px; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { padding: 10px 12px; border-radius: 999px; font: 600 14px/1 var(--f-text); color: var(--ink2); }
.nav a:hover { background: rgba(28, 26, 34, .07); color: var(--ink); }
.nav-log span { font: 500 11px var(--f-mono); color: var(--ink3); }
.bar-r { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.ca { display: inline-flex; align-items: center; height: 40px; padding: 0; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; background: var(--white); cursor: pointer; }
.ca-band { padding: 0 12px; height: 100%; display: grid; place-items: center; background: var(--electric); font: 500 11px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; border-right: 2px solid var(--ink); }
.ca-v { padding: 0 14px; font: 500 13px/1 var(--f-mono); }
.ca:hover .ca-v { background: var(--paper2); }

/* ------------------------------------------------------------------ hero: the table, seen from above
   A giant booster pack lies across the whole table with the name printed on its foil; the hand of slabs is dealt on
   top of its lower edge (the leading slab big in the middle, its price sticker on); under that slab the pot runs as the
   pack's tear strip, with the one action. Centred and full-width on purpose: no text column, no picture column. */
.hero { position: relative; min-height: min(100svh, 1000px); overflow: hidden; background: #e8d6b8; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 80% at 50% 38%, rgba(251, 248, 241, 0) 40%, rgba(251, 248, 241, .55) 100%),
    linear-gradient(0deg, rgba(251, 248, 241, .92), rgba(251, 248, 241, .35) 22%, rgba(251, 248, 241, 0) 40%);
}
.hero-in { position: relative; display: flex; flex-direction: column; align-items: center; min-height: inherit; max-width: 1560px; margin: 0 auto; padding: 88px var(--gut) 30px; }

/* the wrapper: water-type foil (the gold foil photo recoloured by luminosity), crimped ends, printed name */
.hwrap { position: relative; z-index: 1; width: min(100%, 1480px); padding: 22px clamp(40px, 5vw, 96px) clamp(78px, 7.4vw, 124px); text-align: center; transform: rotate(-1.2deg); filter: drop-shadow(0 2px 2px rgba(40, 25, 5, .25)) drop-shadow(0 22px 26px rgba(40, 25, 5, .3)); }
.hwrap::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .34) 0 1px, rgba(0, 0, 0, .12) 1px 2px, transparent 2px 5px) left / 46px 100% no-repeat,
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .34) 0 1px, rgba(0, 0, 0, .12) 1px 2px, transparent 2px 5px) right / 46px 100% no-repeat,
    linear-gradient(100deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .22) 44%, rgba(255, 255, 255, 0) 56%),
    linear-gradient(rgba(20, 56, 150, .34), rgba(20, 56, 150, .34)),
    url("/assets/env/foil.webp") 50% 50% / cover, var(--water);
  background-blend-mode: normal, normal, screen, multiply, luminosity, normal;
  -webkit-mask: linear-gradient(#000 0 0) center / calc(100% - 24px) 100% no-repeat,
    conic-gradient(from 45deg at left, #0000, #000 1deg 89deg, #0000 90deg) left / 12px 14px repeat-y,
    conic-gradient(from -135deg at right, #0000, #000 1deg 89deg, #0000 90deg) right / 12px 14px repeat-y;
  mask: linear-gradient(#000 0 0) center / calc(100% - 24px) 100% no-repeat,
    conic-gradient(from 45deg at left, #0000, #000 1deg 89deg, #0000 90deg) left / 12px 14px repeat-y,
    conic-gradient(from -135deg at right, #0000, #000 1deg 89deg, #0000 90deg) right / 12px 14px repeat-y;
}
.hwrap-top { display: flex; align-items: center; justify-content: center; gap: 12px 22px; flex-wrap: wrap; }
/* fixed height: the lede may wrap to two lines while the fonts swap, the pack (and all below it) must not move */
@media (min-width: 701px) { .hwrap-top { height: 58px; align-content: center; } .h-name { height: .86em; } }
.hwrap .chip { border-color: var(--ink); }
.lede { margin: 0; max-width: 64ch; text-wrap: balance; font: 500 clamp(16px, 1.3vw, 19px)/1.35 var(--f-text); color: var(--white); text-shadow: 0 1px 0 var(--water-d), 0 0 14px rgba(15, 45, 120, .75); }
.lede b { color: var(--electric); font-weight: 700; }
/* the printed name: electric-yellow ink, deep-water keyline, a hard ink offset (the pack's logo print) */
.h-name {
  margin: 10px 0 0; font: 400 clamp(74px, 15.4vw, 270px)/.86 var(--f-disp); letter-spacing: -.035em; white-space: nowrap;
  color: var(--electric); -webkit-text-stroke: .04em var(--water-d); paint-order: stroke fill;
  text-shadow: .025em .045em 0 var(--ink);
}

/* the hand: dealt across the whole width, lower edge of the pack under it */
.fan { position: relative; z-index: 2; width: 100%; height: clamp(290px, 23.5vw, 400px); margin-top: calc(clamp(78px, 7.4vw, 124px) * -1 + 14px); }
.fan-card {
  cursor: pointer;
  --w: clamp(150px, 12vw, 206px); --x: -50%; --y: 0%; --r: 0deg; --s: 1;
  position: absolute; left: 50%; top: 0; width: var(--w);
  transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(var(--s)); transform-origin: 50% 30%;
  transition: transform var(--t2) var(--ease), filter var(--t1);
  filter: drop-shadow(0 2px 2px rgba(50, 30, 5, .22)) drop-shadow(0 26px 30px rgba(50, 30, 5, .32));
}
.fan-card.p2 { --x: -50%; --y: 0%; --r: -1.5deg; --s: 1.12; z-index: 5; }
.fan-card.p1 { --x: calc(-50% - 22vw); --y: 7%; --r: -8deg; z-index: 4; }
.fan-card.p3 { --x: calc(-50% + 22vw); --y: 6%; --r: 7deg; z-index: 4; }
.fan-card.p0 { --x: calc(-50% - 38vw); --y: 14%; --r: -15deg; --s: .92; z-index: 3; }
.fan-card.p4 { --x: calc(-50% + 38vw); --y: 13%; --r: 14deg; --s: .92; z-index: 3; }
.fan-card:hover { --y: -5%; z-index: 6; }
.fan-card.p2:hover { --r: 0deg; }
.fan-card.deal { animation: deal 900ms var(--ease) both; animation-delay: calc(var(--i) * 110ms + 150ms); }
@keyframes deal { from { transform: translate(-50%, 40%) rotate(0deg) scale(.86); opacity: 0; } }

/* the base: the tear strip right under the leading slab, the action, a number either side */
.hbase { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr minmax(0, 540px) 1fr; grid-template-areas: "nums pot act"; align-items: center; gap: 28px; width: 100%; margin-top: 10px; }
.hbase .nums { grid-area: nums; justify-content: flex-end; text-align: right; gap: 32px; }
.hbase .pot { grid-area: pot; }
.hact { grid-area: act; }
.pot { display: grid; justify-items: center; padding: 14px 20px 12px; border: 2px solid var(--ink); border-radius: 22px; background: rgba(255, 253, 248, .94); box-shadow: var(--shadow); }
.pot-top { display: flex; align-items: baseline; justify-content: space-between; width: 100%; margin-bottom: 8px; }
.pot-v { font: 500 15px/1 var(--f-mono); color: var(--ink3); }
.pot-v b { font: 400 32px/1 var(--f-disp); letter-spacing: -.01em; color: var(--ink); font-variant-numeric: tabular-nums; }
.pot-v i { font-style: normal; margin: 0 6px; }
.pot-v span { color: var(--ink2); font-size: 18px; }
/* the tear strip: the torn part is the funded part, crinkled foil behind a jagged edge */
.tear { position: relative; width: 100%; height: 40px; border: 2px solid var(--ink); border-radius: 12px; background: var(--white); overflow: hidden; }
.tear::before { content: ""; position: absolute; left: 12px; right: 12px; top: 50%; border-top: 2px dashed rgba(28, 26, 34, .18); }
.tear-fill {
  position: absolute; inset: 0 auto 0 0; width: 0; background: var(--electric) url("/assets/env/foil.webp") 30% 50% / 420px auto;
  -webkit-mask: linear-gradient(#000 0 0) left / calc(100% - 9px) 100% no-repeat, conic-gradient(from -135deg at right, #0000, #000 1deg 89deg, #0000 90deg) right / 9px 12px repeat-y;
  mask: linear-gradient(#000 0 0) left / calc(100% - 9px) 100% no-repeat, conic-gradient(from -135deg at right, #0000, #000 1deg 89deg, #0000 90deg) right / 9px 12px repeat-y;
  transition: width 1.4s var(--ease);
}
.tear-notch { position: absolute; left: -2px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: var(--paper); border: 2px solid var(--ink); transform: rotate(45deg) translate(-7px, 7px); }
.pot-for { margin: 8px 0 0; min-height: 2.8em; font-size: 14px; line-height: 1.4; color: var(--ink2); text-align: center; }
.pot-for b { color: var(--ink); }
.nums { display: flex; gap: 26px; margin: 0; }
.nums div { display: grid; gap: 4px; }
.nums dt { font-size: 11px; }
.nums dd { margin: 0; font: 400 28px/1 var(--f-disp); font-variant-numeric: tabular-nums; }
.hbase .nums dd { font-size: clamp(34px, 3.4vw, 52px); }
.demo-tag { position: absolute; right: var(--gut); bottom: 22px; margin: 0; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: var(--paper); font: 500 12px/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; }
.sticker {
  position: absolute; right: -22px; top: -20px; z-index: 3; display: grid; place-items: center; align-content: center; width: 104px; height: 104px;
  border-radius: 50%; background: var(--electric); color: var(--ink); border: 3px solid var(--white); transform: rotate(12deg);
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .5); text-align: center; line-height: 1;
}
.sticker b { font: 400 25px/1 var(--f-disp); letter-spacing: -.02em; }
.sticker small { font: 500 11px/1 var(--f-mono); margin-top: 2px; }
.sticker em { font: 500 10px/1 var(--f-mono); font-style: normal; letter-spacing: .08em; text-transform: uppercase; margin-top: 5px; }
.sticker.sm { width: 76px; height: 76px; right: -12px; top: -14px; }
.sticker.sm em { font-size: 11px; margin: 0; }

/* a slab: the real photo + holo under the pointer */
.slab { position: relative; border-radius: 12px; overflow: hidden; background: linear-gradient(160deg, #e6e1d6, #cfc8ba); aspect-ratio: 560 / 940; }
.slab img { width: 100%; height: 100%; object-fit: cover; }
.slab-ph { position: absolute; inset: 0; display: grid; place-items: center; padding: 14px; text-align: center; font: 600 14px/1.3 var(--f-text); color: var(--ink2); }
.holo {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; mix-blend-mode: color-dodge; transition: opacity var(--t1);
  background: linear-gradient(115deg, transparent 22%, rgba(255, 110, 190, .5) 36%, rgba(110, 215, 255, .5) 46%, rgba(255, 235, 110, .5) 56%, rgba(150, 255, 170, .45) 64%, transparent 76%);
  background-size: 260% 260%; background-position: calc(50% + var(--fx, 0) * 45%) calc(50% + var(--fy, 0) * 45%);
}
.slab:hover .holo { opacity: .85; }
.is-lead .holo { opacity: .38; }

/* ------------------------------------------------------------------ scenes */
.scene { position: relative; isolation: isolate; overflow: hidden; margin: 14px; border-radius: 32px; padding: clamp(60px, 8vw, 120px) var(--gut); }
.scene::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.sh { max-width: 980px; margin-bottom: clamp(36px, 5vw, 64px); }
.sh h2 { margin: 20px 0 16px; font: 400 clamp(44px, 6.6vw, 104px)/.92 var(--f-disp); letter-spacing: -.03em; }
.sh p:not(.chip) { margin: 0; max-width: 46ch; font: 500 clamp(17px, 1.4vw, 20px)/1.45 var(--f-text); }

/* how it works: electric yellow over crinkled pack foil */
.how { background: var(--electric) url("/assets/env/foil.webp") center / cover; }
.how::before { background: rgba(246, 199, 59, .78); }
.how .sh p:not(.chip) { color: var(--ink2); }
.how .sh { max-width: 1200px; }
.how .sh h2 { font-size: clamp(40px, 5.6vw, 88px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.st { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 360px; padding: 26px 24px 24px; border-radius: 22px; background: var(--white); border: 2px solid var(--ink); box-shadow: var(--shadow); }
.st:nth-child(odd) { transform: rotate(-1deg); }
.st:nth-child(even) { transform: rotate(.8deg) translateY(10px); }
.st-n { font: 400 76px/.8 var(--f-disp); letter-spacing: -.04em; margin-bottom: 6px; }
.st-1 .st-n { color: var(--fire); } .st-2 .st-n { color: var(--water); } .st-3 .st-n { color: var(--grass); } .st-4 .st-n { color: var(--psychic); }
.st > b { font: 700 22px/1.15 var(--f-text); letter-spacing: -.01em; }
.st > span:not(.st-n) { font-size: 15px; color: var(--ink2); }
.st-coins { display: flex; flex-wrap: wrap; margin: 14px 0 12px; padding-left: 10px; }
.st-coins img, .st-coins span { width: 54px; height: 54px; margin-left: -10px; border-radius: 50%; border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--ink); object-fit: cover; background: var(--paper2); }
.st-coins span { display: grid; place-items: center; font: 500 13px var(--f-mono); }
.st-live { margin: auto 0 0; padding: 12px 14px; border-radius: 14px; background: var(--paper2); font: 500 13px/1.45 var(--f-mono); color: var(--ink2); }
.st-live b { color: var(--ink); font-weight: 500; }
.st-live.sm { margin-top: 8px; }
.st-live .sq { display: block; }
.st-2 .st-live:not(.sm) { margin-top: auto; }
.st-card { display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: center; margin-top: auto; padding: 12px; border-radius: 14px; background: var(--paper2); }
.st-card .slab { border-radius: 7px; box-shadow: var(--shadow); }
.st-card p { margin: 0; font: 500 13px/1.45 var(--f-mono); color: var(--ink2); }
.st-card p b { font: 700 15px/1.3 var(--f-text); color: var(--ink); }
.st-card > p:only-child { grid-column: 1 / -1; }
.film-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: clamp(56px, 7vw, 96px); }
.film-thumb { position: relative; padding: 10px; border: 2px solid var(--ink); border-radius: 24px; background: var(--white); box-shadow: var(--shadow-lg); transform: rotate(-1.2deg); transition: transform var(--t2) var(--ease); }
.film-thumb:hover { transform: rotate(0deg) scale(1.01); }
.film-thumb img { width: 100%; height: auto; border-radius: 16px; }
.film-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--electric); border: 3px solid var(--ink); color: var(--ink); }
.film-copy { display: grid; gap: 18px; justify-items: start; }
.film-t { margin: 0; font: 400 clamp(30px, 3.2vw, 46px)/1 var(--f-disp); letter-spacing: -.02em; }

/* the vote: slabs on a green playmat */
.vote { background: var(--grass-d) url("/assets/env/felt.webp") center / cover; color: var(--white); }
.vote::before { background: linear-gradient(180deg, rgba(20, 70, 32, .28), rgba(20, 70, 32, 0) 40%); }
.vote .sh p:not(.chip) { color: rgba(255, 253, 248, .88); }
.me-strip { display: flex; align-items: center; gap: 12px 22px; flex-wrap: wrap; margin: -20px 0 40px; padding: 14px 16px 14px 22px; border-radius: 20px; background: var(--white); color: var(--ink); border: 2px solid var(--ink); max-width: 980px; }
.me-strip b { font: 400 24px/1 var(--f-disp); }
.me-strip p { margin: 0; flex: 1 1 220px; font-size: 14px; color: var(--ink2); }
.wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(22px, 3vw, 44px) clamp(18px, 2.6vw, 38px); }
.lot { position: relative; display: flex; flex-direction: column; gap: 12px; }
.lot .slab { filter: drop-shadow(0 2px 2px rgba(0, 30, 10, .35)) drop-shadow(0 20px 22px rgba(0, 30, 10, .45)); overflow: hidden; transition: transform var(--t2) var(--ease); }
.lot:hover .slab { transform: translateY(-6px) rotate(-.6deg); }
.lot.is-lead .slab { outline: 4px solid var(--electric); outline-offset: 5px; }
.lot.is-pending .slab, .lot.is-leaving .slab, .lot.is-gone .slab { opacity: .5; filter: grayscale(.6); }
.lot .sticker { z-index: 4; }
.lot-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-top: 4px; }
.lot-name { display: grid; gap: 3px; min-width: 0; }
.lot-name b { font: 700 17px/1.2 var(--f-text); }
.lot-name span { font: 500 12px/1.35 var(--f-mono); color: rgba(255, 253, 248, .8); }
.lot-price { font: 400 24px/1 var(--f-disp); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lot-price small { font: 500 11px var(--f-mono); margin-left: 4px; }
.tally-bar { position: relative; height: 12px; border-radius: 999px; background: rgba(255, 253, 248, .22); }
.tally-bar span { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: var(--electric); transition: width var(--t2) var(--ease); }
.tally-bar i { position: absolute; top: -4px; bottom: -4px; width: 3px; margin-left: -1px; border-radius: 2px; background: var(--white); }
.tally-t { display: flex; justify-content: space-between; margin-top: 7px; font: 500 12px/1 var(--f-mono); color: rgba(255, 253, 248, .85); }
.tally-t b { color: var(--white); font-weight: 500; }
.lot-state { margin: 0; min-height: 1.4em; font: 500 12px/1.4 var(--f-mono); color: rgba(255, 253, 248, .8); }
.lot-state .lead { color: var(--electric); }
.lot .btn { align-self: stretch; }
.lot .btn.ghost { border-color: var(--white); }
.lot .yours { display: grid; place-items: center; min-height: 46px; border-radius: 999px; background: rgba(255, 253, 248, .16); border: 2px dashed rgba(255, 253, 248, .6); font: 500 13px var(--f-mono); }
.lot.sk .slab { background: rgba(255, 253, 248, .12); filter: none; }
.wall-note { margin: 40px 0 0; font: 500 13px/1.5 var(--f-mono); color: rgba(255, 253, 248, .8); max-width: 70ch; }
.empty-inv { grid-column: 1 / -1; display: grid; gap: 14px; justify-items: start; padding: 40px; border-radius: 24px; background: var(--white); color: var(--ink); border: 2px solid var(--ink); max-width: 640px; }
.empty-inv h3 { margin: 0; font: 400 34px/1 var(--f-disp); }
.empty-inv p { margin: 0; color: var(--ink2); }

/* the draw: holo foil */
.draw { background: #e7dcf0 url("/assets/env/holo.webp") center / cover; }
.draw::before { background: linear-gradient(180deg, rgba(251, 248, 241, .5), rgba(251, 248, 241, .25)); }
.draw .sh p:not(.chip) { color: var(--ink2); }
.draw .sh h2 { color: var(--psychic-d); }
.draw-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.draw-tabs button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--ink); background: rgba(255, 253, 248, .75); font: 500 13px/1 var(--f-mono); }
.draw-tabs button:hover { background: var(--white); }
.draw-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.draw-body { display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); gap: clamp(22px, 3.4vw, 52px); align-items: start; }
.draw-card { perspective: 1000px; }
.draw-card .slab { box-shadow: var(--shadow-lg); }
.draw-card.flip .slab { animation: flip 760ms var(--ease) both; }
@keyframes flip { from { transform: rotateY(90deg) scale(.96); } }
.draw-main { padding: clamp(20px, 2.6vw, 34px); border-radius: 26px; background: rgba(255, 253, 248, .9); border: 2px solid var(--ink); box-shadow: var(--shadow); min-width: 0; }
.draw-title { margin: 0 0 22px; font: 400 clamp(26px, 2.8vw, 40px)/1.02 var(--f-disp); letter-spacing: -.02em; }
.draw-title small { display: block; margin-bottom: 10px; font: 500 12px/1.3 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink3); }
.draw-title .g { color: var(--psychic); }
.ribbon { position: relative; height: 92px; border: 2px solid var(--ink); border-radius: 12px; background: var(--paper2); }
.ribbon svg { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 10px; }
.ribbon rect { transition: opacity var(--t1); }
.ribbon rect[data-s]:hover { opacity: .75; }
.ribbon::after { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 8px; background: radial-gradient(circle at 6px 0, var(--paper) 3.5px, transparent 4px) 0 0 / 12px 8px repeat-x; pointer-events: none; }
.rib-scale { display: flex; justify-content: space-between; margin-top: 8px; font: 500 12px var(--f-mono); color: var(--ink3); }
.needle { position: absolute; top: -14px; bottom: -14px; width: 0; z-index: 2; }
.needle i { position: absolute; top: 0; bottom: 0; left: -2px; width: 4px; border-radius: 2px; background: var(--ink); }
.needle i::before { content: ""; position: absolute; top: -8px; left: -6px; width: 16px; height: 16px; border-radius: 50%; background: var(--electric); border: 3px solid var(--ink); }
.needle span { position: absolute; bottom: -34px; left: 0; transform: translateX(-50%); padding: 5px 10px; border-radius: 999px; background: var(--ink); color: var(--paper); font: 500 12px/1 var(--f-mono); white-space: nowrap; }
.needle.is-drop { animation: drop 900ms cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes drop { from { transform: translateY(-60px); opacity: 0; } }
.rib-tip { position: absolute; bottom: calc(100% + 12px); transform: translateX(-50%); z-index: 3; padding: 8px 12px; border-radius: 12px; background: var(--ink); color: var(--paper); font: 500 12px/1.45 var(--f-mono); white-space: nowrap; pointer-events: none; }
.engrave { margin: 40px 0 18px; min-height: 1.5em; font: 600 18px/1.4 var(--f-text); }
.engrave b { color: var(--psychic-d); }
.engrave .ch { display: inline-block; white-space: pre; animation: chin 360ms var(--ease) both; }
@keyframes chin { from { opacity: 0; transform: translateY(8px); } }
.draw-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px 22px; margin: 0; padding-top: 18px; border-top: 2px dashed var(--line2); }
.draw-facts div { display: grid; gap: 5px; }
.draw-facts dd { margin: 0; font: 500 15px/1.3 var(--f-mono); overflow-wrap: anywhere; }
.draw-facts dd a { border-bottom: 2px solid var(--psychic); }
.draw-facts dd a:hover { color: var(--psychic-d); }
.draw-act { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.draw-act:empty { display: none; }
.demo-chip { display: inline-block; margin-bottom: 12px; padding: 6px 12px; border-radius: 999px; background: var(--electric); border: 2px solid var(--ink); font: 500 12px/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; }

/* the winners' shelf: a real birch shelf on a tomato wall; slabs stand on its top face, the talkers hang below */
.shelf { background: var(--fire) ; color: var(--white); padding-bottom: 0; }
.shelf::before { background: linear-gradient(180deg, #e2603a 0, #c9583a 38%, #b14b2a 62%); }
.shelf .sh p:not(.chip) { color: rgba(255, 253, 248, .9); }
.shelf-stage { position: relative; margin: 0 calc(var(--gut) * -1); aspect-ratio: 3136 / 1344; background: url("/assets/env/shelf.webp") center / 100% 100% no-repeat; -webkit-mask: linear-gradient(180deg, transparent 0, #000 14%); mask: linear-gradient(180deg, transparent 0, #000 11%); }
.shelf-row { position: absolute; left: 7%; right: 7%; top: 12%; bottom: 3%; display: flex; justify-content: center; gap: clamp(14px, 2vw, 34px); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.shelf-row::-webkit-scrollbar { display: none; }
.shelf-item { flex: 0 0 auto; display: grid; grid-template-rows: 50.5fr 14.2fr 35.3fr; margin: 0; height: 100%; justify-items: center; cursor: pointer; }
.shelf-item .slab { height: 100%; width: auto; align-self: end; filter: drop-shadow(0 6px 5px rgba(60, 25, 5, .35)); transition: transform var(--t2) var(--ease); overflow: hidden; }
.shelf-item:hover .slab { transform: translateY(-8px); }
.shelf-cap { grid-row: 3; align-self: start; display: grid; gap: 3px; max-width: 190px; padding: 9px 12px; border-radius: 12px; background: var(--white); color: var(--ink); text-align: center; box-shadow: var(--shadow); transform: rotate(-1.5deg); }
.shelf-item:nth-child(even) .shelf-cap { transform: rotate(1.2deg); }
.shelf-cap b { font: 700 13px/1.25 var(--f-text); }
.shelf-cap span { font: 500 11px/1.35 var(--f-mono); color: var(--ink2); }
.shelf-cap .you { color: var(--fire-d); font-weight: 500; }
.shelf-item.ghost .slab { display: grid; place-items: center; background: rgba(255, 253, 248, .16); border: 3px dashed rgba(255, 253, 248, .75); filter: none; }
.ghost-in { display: grid; gap: 8px; padding: 12px; text-align: center; }
.ghost-in small { font: 500 10px/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.ghost-in b { font: 700 14px/1.2 var(--f-text); }
.tear.mini { height: 14px; border-radius: 6px; border-width: 2px; border-color: var(--white); background: rgba(255, 253, 248, .3); }
.tear.mini::before { display: none; }
.shelf-empty { align-self: center; display: grid; gap: 12px; justify-items: start; max-width: 520px; padding: 28px; border-radius: 22px; background: var(--white); color: var(--ink); margin-top: -8%; }
.shelf-empty h3 { margin: 0; font: 400 30px/1 var(--f-disp); }
.shelf-empty p { margin: 0; color: var(--ink2); }

/* coins: booster packs on a blue pegboard */
.coins { background: var(--water-d) url("/assets/env/pegboard.webp") center / cover; color: var(--white); }
.coins::before { background: linear-gradient(90deg, rgba(20, 50, 140, .55), rgba(20, 50, 140, .1)); }
.coins .sh p:not(.chip) { color: rgba(255, 253, 248, .9); }
.coin-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(186px, 1fr)); gap: 40px 24px; }
.pack { position: relative; isolation: isolate; display: grid; gap: 10px; padding: 34px 16px 22px; color: var(--white); filter: drop-shadow(0 16px 16px rgba(5, 15, 50, .45)); transition: transform var(--t2) var(--ease); }
.pack:nth-child(3n + 1) { transform: rotate(-1.5deg); }
.pack:nth-child(3n + 2) { transform: rotate(1deg); }
.pack:hover { transform: translateY(-8px) rotate(0deg); }
.pack::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 4px;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .28) 44%, rgba(255, 255, 255, 0) 58%), var(--pk);
  -webkit-mask: linear-gradient(#000 0 0) center / 100% calc(100% - 16px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) top / 12px 8px repeat-x, conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) bottom / 12px 8px repeat-x;
  mask: linear-gradient(#000 0 0) center / 100% calc(100% - 16px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) top / 12px 8px repeat-x, conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) bottom / 12px 8px repeat-x;
}
.pack[style*="#f6c73b"] { color: var(--ink); }
.hang { position: absolute; top: 14px; left: 50%; width: 30px; height: 9px; margin-left: -15px; border-radius: 999px; background: rgba(10, 20, 60, .55); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5); }
.pack-face { position: relative; border-radius: 12px; overflow: hidden; border: 3px solid rgba(255, 253, 248, .92); aspect-ratio: 1; background: rgba(255, 255, 255, .2); }
.pack-face img, .pack-face .ph { width: 100%; height: 100%; object-fit: cover; }
.pack-sym { position: absolute; left: 8px; bottom: 8px; padding: 5px 9px; border-radius: 8px; background: var(--white); color: var(--ink); font: 400 15px/1 var(--f-disp); letter-spacing: -.01em; }
.pack-id { display: grid; gap: 2px; }
.pack-id b { font: 700 17px/1.2 var(--f-text); }
.pack-id span { font: 500 11px var(--f-mono); opacity: .85; }
.pack-n { display: grid; gap: 8px; font: 500 12px/1.3 var(--f-mono); }
.pack-n b { font: 400 18px/1 var(--f-disp); font-weight: 400; }
.pack-n small { opacity: .8; font-size: 11px; }
.pack-n button { min-height: 34px; padding: 0 12px; border-radius: 999px; border: 2px solid currentColor; background: rgba(255, 253, 248, .95); color: var(--ink); font: 600 12px/1 var(--f-text); cursor: pointer; }
.pack-n button:hover { background: var(--white); }
.pack.is-new { animation: packin 800ms var(--ease) both; }
@keyframes packin { from { transform: translateY(-40px); opacity: 0; } }
.coins-cta { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 72px); }
.coins-cta .btn { background: var(--white); color: var(--ink); }

/* ------------------------------------------------------------------ ending: the site's own grade label */
.back { padding: clamp(60px, 8vw, 110px) var(--gut) 40px; }
.label-end { display: grid; grid-template-columns: minmax(0, 1fr) auto; max-width: 1180px; margin: 0 auto; border: 8px solid var(--psa); border-radius: 18px; background: var(--white); box-shadow: var(--shadow-lg); overflow: hidden; }
.le-l { display: grid; gap: 10px; padding: clamp(22px, 3vw, 40px); }
.le-year { margin: 0; font: 500 13px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); }
.back-name { margin: 0; font: 400 clamp(52px, 8vw, 120px)/.88 var(--f-disp); letter-spacing: -.035em; }
.back-line { margin: 4px 0 8px; max-width: 48ch; font: 500 17px/1.45 var(--f-text); color: var(--ink2); }
.cert-strip { display: flex; align-items: center; gap: 16px; }
.barcode { width: 220px; height: 36px; fill: var(--ink); }
.cert-pid { font: 500 13px var(--f-mono); color: var(--ink2); }
.le-r { display: grid; align-content: center; justify-items: center; gap: 6px; min-width: clamp(130px, 18vw, 240px); padding: 24px; background: var(--psa); color: var(--white); }
.le-r span { font: 500 13px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.le-r b { font: 400 clamp(88px, 12vw, 170px)/.8 var(--f-disp); letter-spacing: -.04em; }
.back-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 36px 0 18px; }
.back-links a, .back-links button { padding: 12px 18px; border-radius: 999px; border: 2px solid var(--ink); background: var(--white); font: 600 14px/1 var(--f-text); color: var(--ink); }
.back-links a:hover, .back-links button:hover { background: var(--electric); }
.back-links button span { font: 500 12px var(--f-mono); color: var(--ink2); }
.fine { margin: 0 auto; max-width: 70ch; text-align: center; font: 500 13px/1.5 var(--f-mono); color: var(--ink3); }

/* ------------------------------------------------------------------ dialogs */
dialog { color: var(--ink); }
dialog::backdrop { background: rgba(28, 26, 34, .45); backdrop-filter: blur(3px); }
.sheet { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 2px solid var(--ink); border-radius: 28px; background: var(--paper); box-shadow: var(--shadow-lg); }
.sheet-in { display: grid; gap: 18px; padding: 26px 26px 28px; }
.sheet-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sheet-h h2 { margin: 0; font: 400 34px/1 var(--f-disp); letter-spacing: -.02em; }
.x { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); background: var(--white); font-size: 22px; line-height: 1; cursor: pointer; }
.x:hover { background: var(--paper2); }
.sheet-lede { margin: 0; color: var(--ink2); font-size: 15px; }
.sheet-f { margin-top: 4px; }
.drop { position: relative; display: block; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-case { display: grid; place-items: center; height: 160px; border-radius: 20px; border: 2px dashed var(--line2); background: var(--white); overflow: hidden; transition: border-color var(--t1), background var(--t1); }
.drop:hover .drop-case, .drop.is-over .drop-case { border-color: var(--water); background: #f2f6fd; }
.drop:focus-within .drop-case { border-color: var(--water); }
.drop-case img { width: 136px; height: 136px; object-fit: cover; border-radius: 14px; }
.drop-empty { text-align: center; font: 700 16px/1.4 var(--f-text); }
.drop-empty small { font: 500 12px var(--f-mono); color: var(--ink3); }
.f { display: grid; gap: 7px; margin: 0; padding: 0; border: 0; min-width: 0; }
.f > span, .f legend { font: 600 13px/1 var(--f-text); color: var(--ink2); padding: 0; margin-bottom: 7px; }
.f i { font-style: normal; font-weight: 500; color: var(--ink3); }
.f input { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 14px; border: 2px solid var(--line2); background: var(--white); font: 500 16px var(--f-text); color: var(--ink); }
.f input:hover { border-color: var(--ink3); }
.f input:focus { outline: none; border-color: var(--ink); }
.f2 { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; }
.seg { display: flex; gap: 6px; flex-wrap: wrap; }
.seg button { flex: 1 1 0; min-height: 44px; min-width: 56px; border-radius: 999px; border: 2px solid var(--line2); background: var(--white); font: 500 14px var(--f-mono); cursor: pointer; }
.seg button:hover { border-color: var(--ink); }
.seg button[aria-checked="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sum { display: grid; gap: 0; margin: 0; border-radius: 18px; background: var(--white); border: 2px solid var(--line); overflow: hidden; }
.sum div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 16px; border-top: 1px solid var(--line); }
.sum div:first-child { border-top: 0; }
.sum dd { margin: 0; text-align: right; font: 500 14px/1.3 var(--f-mono); }
.sum dd small { display: block; font: 500 11px/1.4 var(--f-text); color: var(--ink3); }
.err { margin: 0; padding: 12px 14px; border-radius: 14px; background: #fde7e1; color: var(--fire-d); font-weight: 600; font-size: 14px; }
[data-mine] { display: grid; gap: 18px; }
.mine-sec { display: grid; gap: 10px; padding-bottom: 18px; border-bottom: 2px dashed var(--line); }
.mine-sec:last-child { border-bottom: 0; padding-bottom: 0; }
.mine-sec h3 { margin: 0; font: 500 12px/1 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink3); }
.mine-big { display: flex; align-items: baseline; gap: 12px; }
.mine-big b { font: 400 48px/1 var(--f-disp); color: var(--psychic-d); }
.mine-big span { color: var(--ink2); }
.mine-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px; border-radius: 14px; background: var(--white); }
.mine-row img, .mine-row .ph { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--paper2); }
.mine-row b { display: block; font-weight: 700; font-size: 14px; }
.mine-row span { font: 500 12px var(--f-mono); color: var(--ink3); }
.mine-note { margin: 0; color: var(--ink2); font-size: 14px; }
.mine-note a { border-bottom: 2px solid var(--water); }
.mine-wallet { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: var(--paper2); font: 500 13px var(--f-mono); }
.mine-wallet button { border: 0; background: none; font: 600 13px var(--f-text); text-decoration: underline; cursor: pointer; }
.dlg { width: min(420px, calc(100vw - 24px)); padding: 26px; border: 2px solid var(--ink); border-radius: 26px; background: var(--paper); box-shadow: var(--shadow-lg); }
.dlg h2 { margin: 0 0 16px; font: 400 28px/1 var(--f-disp); }
.dlg-x { position: absolute; right: 16px; top: 16px; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ink); background: var(--white); font-size: 20px; cursor: pointer; }
.wp-list { display: grid; gap: 8px; }
.wp-item { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 14px; border-radius: 16px; border: 2px solid var(--line2); background: var(--white); font: 600 15px var(--f-text); text-align: left; cursor: pointer; }
.wp-item:hover { border-color: var(--ink); }
.wp-item img { border-radius: 8px; }
.wp-dot { width: 32px; height: 32px; border-radius: 8px; background: var(--electric); }
.wp-get { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; font-size: 14px; }
.wp-get a { border-bottom: 2px solid var(--water); }
.wp-cur, .wp-none { color: var(--ink2); font-size: 14px; }
.wp-off { margin-top: 14px; }
.wp-err { color: var(--fire-d); font-size: 14px; }
.toasts { position: fixed; left: 50%; bottom: 20px; z-index: 80; display: grid; gap: 8px; width: min(520px, calc(100vw - 32px)); transform: translateX(-50%); pointer-events: none; }
.toast { padding: 14px 18px; border-radius: 18px; background: var(--ink); color: var(--paper); font: 600 14px/1.4 var(--f-text); box-shadow: var(--shadow-lg); pointer-events: auto; animation: toastin 360ms var(--ease) both; }
.toast.ok { background: var(--grass-d); }
.toast.err { background: var(--fire-d); }
@keyframes toastin { from { opacity: 0; transform: translateY(12px); } }
.txstatus { position: fixed; left: 16px; bottom: 16px; z-index: 81; margin: 0; padding: 10px 16px; border-radius: 999px; background: var(--electric); border: 2px solid var(--ink); font: 500 13px var(--f-mono); opacity: 0; transform: translateY(8px); transition: opacity var(--t1), transform var(--t1); pointer-events: none; }
.txstatus.on { opacity: 1; transform: none; }
.film-dlg { width: min(1040px, calc(100vw - 24px)); padding: 0; border: 2px solid var(--ink); border-radius: 28px; background: var(--paper); box-shadow: var(--shadow-lg); }
.film-in { display: grid; gap: 14px; padding: 20px; }
.film-v { width: 100%; height: auto; border-radius: 16px; background: #000; }
.film-note { margin: 0; font-size: 13px; color: var(--ink2); }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1180px) {
  .nav a:nth-child(-n+1) { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st:nth-child(even) { transform: rotate(.8deg); }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .hbase { grid-template-columns: 1fr; grid-template-areas: "pot" "act" "nums"; justify-items: center; gap: 16px; }
  .hbase .pot { width: min(100%, 540px); }
  .hbase .nums { justify-content: center; text-align: center; }
  .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .draw-body { grid-template-columns: 1fr; }
  .draw-card { width: min(260px, 64vw); margin: 0 auto; }
  .film-row { grid-template-columns: 1fr; }
  .shelf-stage { aspect-ratio: auto; height: 460px; background-size: auto 100%; }
  .shelf-row { left: 0; right: 0; padding: 0 var(--gut); justify-content: flex-start; }
}
@media (max-width: 700px) {
  .bar { gap: 10px; height: 64px; }
  .ca { display: none; }
  .scene { margin: 8px; border-radius: 24px; }
  .hero-in { padding: 76px 0 24px; }
  .hwrap { padding: 16px 22px 64px; transform: rotate(-1.5deg); }
  .hwrap-top { gap: 10px; }
  .hwrap .chip { padding: 6px 11px; font-size: 11px; }
  .lede { font-size: 15px; max-width: 30ch; }
  .h-name { margin-top: 8px; font-size: 19vw; }
  .fan { height: clamp(250px, 72vw, 340px); margin-top: -46px; }
  .fan-card { --w: clamp(118px, 33vw, 180px); }
  .fan-card.p0, .fan-card.p4 { display: none; }
  .fan-card.p1 { --x: calc(-50% - 27vw); }
  .fan-card.p3 { --x: calc(-50% + 27vw); }
  .hbase { padding: 0 16px; margin-top: 8px; }
  .pot { padding: 12px 14px 10px; }
  .hact, .hact .btn { width: 100%; }
  .sticker { width: 84px; height: 84px; right: -14px; top: -14px; }
  .sticker b { font-size: 20px; }
  .steps { grid-template-columns: 1fr; }
  .st { min-height: 0; }
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 16px; }
  .lot-top { flex-direction: column; gap: 6px; }
  .lot-price { font-size: 20px; }
  .coin-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; }
  .pack { padding: 30px 12px 18px; }
  .pack-n button { font-size: 11px; }
  .label-end { grid-template-columns: 1fr; }
  .le-r { grid-auto-flow: column; justify-content: start; gap: 18px; min-width: 0; padding: 16px 22px; }
  .barcode { width: 150px; }
  .cert-strip { flex-wrap: wrap; }
  .f2 { grid-template-columns: 1fr; }
  .sheet { margin: auto auto 0; width: 100vw; max-width: 100vw; border-radius: 26px 26px 0 0; max-height: 92dvh; }
  .demo-tag { left: 16px; right: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; }
}
@media (max-width: 360px) { .brand-name { display: none; } }
.draw-facts dd a { display: inline-block; padding: 6px 0; }
@media (max-width: 960px) and (max-height: 520px) { .fan { display: none; } .hwrap { padding-bottom: 26px; } .hero-in { padding-top: 80px; } }
