/* Choopaboard: the board. Rhythmic cutlist. Hard cuts, opaque grounds,
   nothing pinned. World: mixtape J-cards, flyer wall, stickers, halftone. */

:root {
  --ink-black: #17141C;   /* off-black, never #000 */
  --ink-black-2: #211C28;
  --hazard: #FFD21F;      /* hazard yellow */
  --hot: #FF2E88;         /* hot magenta */
  --cyan: #23D5E8;
  --paper: #F3EEE3;       /* photocopy paper */
  --paper-ink-soft: #4A4250;
  --yellow-ink-soft: #4A3A06;

  --sc-canvas: var(--ink-black);
  --sc-surface: var(--ink-black-2);
  --sc-ink: #F7F2E8;
  --sc-ink-soft: #CFC6D6;
  --sc-accent: var(--hazard);
  --sc-accent-ink: var(--ink-black);
  --sc-font-display: "Bowlby One", "Arial Black", system-ui, sans-serif;
  --sc-font-text: "Archivo", system-ui, sans-serif;

  --bar-h: 52px;
  --gut: clamp(1rem, 4vw, 3.5rem);
  --shadow: 0 2px 3px rgb(23 20 28 / 0.22), 0 10px 22px -6px rgb(23 20 28 / 0.35);
  --shadow-lift: 0 4px 6px rgb(23 20 28 / 0.22), 0 22px 36px -10px rgb(23 20 28 / 0.45);
}

html { scroll-padding-top: calc(var(--bar-h) + 8px); }
body.board { background: var(--ink-black); padding-top: var(--bar-h); }

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

.skip {
  position: absolute; left: 8px; top: 8px; z-index: 100;
  padding: 10px 14px; background: var(--hazard); color: var(--ink-black);
  font-weight: 800; transform: translateY(-160%);
}
.skip:focus-visible { transform: none; }

/* ------------------------------------------------------------ the bar -- */
.bar {
  position: fixed; inset: 0 0 auto 0; height: var(--bar-h); z-index: 60;
  display: flex; align-items: stretch;
  background: var(--hazard); color: var(--ink-black);
  border-bottom: 3px solid var(--ink-black);
}
.bar__mark {
  display: flex; align-items: center; padding: 0 18px;
  background: var(--ink-black); color: var(--hazard);
  font-family: var(--sc-font-display); font-size: 1.2rem; letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap; flex: none;
}
.bar__mark:hover { color: var(--hot); }
.bar__ticker {
  position: relative; flex: 1; min-width: 0; overflow: hidden;
  display: flex; align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent);
}
.bar__track { display: flex; width: max-content; will-change: transform; }
.bar__track.is-running { animation: ticker var(--tick-dur, 40s) linear infinite; }
.bar__run { display: flex; align-items: center; gap: 0; white-space: nowrap; padding-right: 0; }
.tick {
  display: inline-flex; align-items: center; gap: 10px; padding: 0 18px;
  font-stretch: 78%; font-weight: 800; text-transform: uppercase; font-size: 0.95rem; letter-spacing: 0.02em;
}
.tick b { font-family: var(--sc-font-display); font-weight: 400; font-size: 1.05rem; letter-spacing: 0; }
.tick .who { font-weight: 600; font-stretch: 85%; text-transform: none; }
.tick--hot b { background: var(--ink-black); color: var(--hazard); padding: 1px 8px 2px; }
.tick__star { width: 16px; height: 16px; flex: none; }
.bar__ticker:hover .bar__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translate3d(-50%, 0, 0); } }

.bar__cta {
  flex: none; display: flex; align-items: center; padding: 0 20px;
  background: var(--hot); color: var(--ink-black); border-left: 3px solid var(--ink-black);
  font-weight: 900; font-stretch: 82%; text-transform: uppercase; letter-spacing: 0.02em;
  text-decoration: none; white-space: nowrap;
  transition: transform 140ms var(--sc-ease-out), background-color 140ms var(--sc-ease-out);
}
.bar__cta:hover { background: var(--cyan); }
.bar__cta:active { transform: translateY(1px); }
.bar__cta:focus-visible, .bar__mark:focus-visible { outline-offset: -5px; outline-color: var(--ink-black); }
.bar__mark:focus-visible { outline-color: var(--hazard); }

/* --------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px 17px; border: 3px solid var(--ink-black); border-radius: 4px;
  font-family: var(--sc-font-display); font-size: clamp(1.05rem, 0.9rem + 0.5vw, 1.35rem);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: 0 3px 0 var(--ink-black), 0 12px 24px -8px rgb(23 20 28 / 0.5);
  transition: transform 140ms var(--sc-ease-out), box-shadow 140ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out);
}
.btn::after {
  content: ""; width: 22px; height: 14px; flex: none; background: currentColor;
  clip-path: polygon(0 40%, 62% 40%, 62% 0, 100% 50%, 62% 100%, 62% 60%, 0 60%);
}
.btn--yellow { background: var(--hazard); color: var(--ink-black); }
.btn--ink { background: var(--ink-black); color: var(--hazard); border-color: var(--ink-black); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px) rotate(-1deg); box-shadow: 0 5px 0 var(--ink-black), 0 18px 28px -8px rgb(23 20 28 / 0.55); }
  .btn--yellow:hover { background: var(--cyan); }
  .btn--ink:hover { color: var(--cyan); }
}
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink-black), 0 6px 12px -6px rgb(23 20 28 / 0.5); }
.btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }

/* ------------------------------------------------------------ hero -- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: calc(100svh - var(--bar-h));
  background: var(--ink-black); color: var(--sc-ink);
  display: flex; align-items: center;
}
[data-plane] { will-change: transform; }
.hero__back { position: absolute; inset: -10% -6% -10% -6%; z-index: 0; pointer-events: none; }
.hero__halftone {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgb(255 46 136 / 0.34) 0 2.4px, transparent 2.9px);
  background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(ellipse 55% 60% at 74% 52%, #000 0%, rgb(0 0 0 / 0.5) 45%, transparent 72%);
          mask-image: radial-gradient(ellipse 55% 60% at 74% 52%, #000 0%, rgb(0 0 0 / 0.5) 45%, transparent 72%);
}
.hero__cone {
  position: absolute; width: min(70vw, 980px); max-width: none; aspect-ratio: 1;
  right: -8%; top: 50%; translate: 0 -50%; opacity: 0.95;
}
.hero__inner {
  position: relative; z-index: 2; width: 100%;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  padding: clamp(1.5rem, 5vh, 4rem) var(--gut);
}
.hero__copy { position: relative; z-index: 3; }
.hero__title {
  margin: 0; font-family: var(--sc-font-display); font-weight: 400;
  font-size: clamp(3.6rem, 11.2vw, 12.5rem); line-height: 0.84; letter-spacing: -0.02em;
  color: var(--hazard);
  transform: skewX(calc(var(--skew, 0) * 1deg));
  transform-origin: 0 100%;
}
.hero__line { display: block; white-space: nowrap; }
.hero__line--b {
  color: var(--hot); margin-left: 0.32em;
  transform: skewX(calc(var(--skew, 0) * 0.6deg)) translateX(calc(var(--skew, 0) * 0.35rem));
}
.hero__sub {
  margin: clamp(1.2rem, 3vh, 2rem) 0 clamp(1.4rem, 3.4vh, 2.2rem);
  max-width: 30ch; font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.35rem); line-height: 1.45;
  font-weight: 600; color: var(--sc-ink); text-wrap: pretty;
}

/* --cab-w is the cabinet width; the front-plane stickers and tape are placed
   against it (the cabinet is vertically centred, 1.1x as tall as wide). */
.hero { --cab-w: min(37vw, 530px); }
.hero__subject { position: relative; z-index: 2; justify-self: end; width: var(--cab-w); margin-right: 2vw; container-type: inline-size; }
/* The peep-show coin slot. A brass cabinet; the hottest lot sits behind a
   slatted double shutter that rests fully shut and opens only for a coin. JS drives --open (0..1).
   Sizes are in cqi (of .hero__subject, the container) so the cabinet
   scales as one object. */
.peep {
  --open: 0;
  --slit: 0;
  --brass-hi: #F7DC8C; --brass: #D2A443; --brass-lo: #8C5D14; --brass-deep: #5A3A0A;
  position: relative; width: 100%; aspect-ratio: 10 / 11;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 3.4cqi;
  padding: 4.4cqi 5cqi 5cqi;
  border-radius: 9cqi 9cqi 3cqi 3cqi;
  background:
    repeating-linear-gradient(90deg, rgb(255 255 255 / 0.05) 0 1px, transparent 1px 3px),
    radial-gradient(120% 60% at 28% 0%, rgb(255 244 205 / 0.6), transparent 55%),
    linear-gradient(100deg, var(--brass-lo) 0%, #E2B451 16%, var(--brass-hi) 28%, #C08A2B 50%, #9A6A1A 68%, #E5BE62 86%, #74490D 100%);
  box-shadow:
    inset 0 1.2cqi 0 rgb(255 246 214 / 0.55), inset 0 -1.4cqi 0 rgb(70 42 4 / 0.45),
    0 0 0 0.8cqi var(--ink-black), 2.2cqi 2.4cqi 0 0.8cqi var(--hot),
    0 40px 70px -20px rgb(0 0 0 / 0.6);
  cursor: pointer; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
}

.peep__sign {
  justify-self: center; display: flex; align-items: baseline; gap: 3cqi;
  padding: 2cqi 5cqi 2.4cqi; border-radius: 3cqi;
  background: var(--ink-black);
  box-shadow: inset 0 0 0 0.5cqi var(--hot), inset 0 0 3cqi rgb(255 46 136 / 0.45), 0 0.8cqi 0 var(--brass-deep);
}
.peep__neon {
  font-family: var(--sc-font-display); text-transform: uppercase; font-size: 7.4cqi; line-height: 1;
  color: #FFD6EA; letter-spacing: 0.02em;
  text-shadow: 0 0 0.6cqi var(--hot), 0 0 2cqi var(--hot), 0 0 4.5cqi rgb(255 46 136 / 0.8);
}
.peep__flicker { display: inline-block; animation: peep-flicker 5.2s steps(1, end) infinite; }
@keyframes peep-flicker { 0%, 61%, 64%, 67%, 100% { opacity: 1; } 62%, 66% { opacity: 0.35; } }
.peep__price {
  font-weight: 900; font-stretch: 72%; text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 3.4cqi; color: var(--hazard); white-space: nowrap;
}

.peep__bezel {
  position: relative; display: grid; padding: 3.6cqi; border-radius: 5cqi;
  background: linear-gradient(160deg, #B9852A, var(--brass-hi) 22%, #A8741F 55%, #6E460B);
  box-shadow: inset 0 0 0 0.6cqi var(--brass-deep), inset 0 1cqi 1.4cqi rgb(255 240 190 / 0.5), 0 0 0 0.6cqi var(--ink-black);
}
.peep__rivet {
  position: absolute; width: 2.6cqi; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFF4CC 0 18%, #C99A3A 46%, #5E3E0B 82%);
  box-shadow: 0 0.3cqi 0.4cqi rgb(40 24 2 / 0.6);
}
.peep__rivet--tl { left: 1cqi; top: 1cqi; } .peep__rivet--tr { right: 1cqi; top: 1cqi; }
.peep__rivet--bl { left: 1cqi; bottom: 1cqi; } .peep__rivet--br { right: 1cqi; bottom: 1cqi; }

.peep__window {
  position: relative; overflow: hidden; border-radius: 3cqi; min-height: 0;
  background:
    radial-gradient(60% 55% at 50% 42%, rgb(255 46 136 / 0.35), transparent 70%),
    repeating-linear-gradient(90deg, rgb(0 0 0 / 0.16) 0 2cqi, transparent 2cqi 4.4cqi),
    linear-gradient(180deg, #5E0F36, #2C0719 75%);
  box-shadow: 0 0 0 0.6cqi var(--ink-black);
}
.peep__window::after { /* velvet trim and the deep inner shadow, above the lot, under the shutter */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 1.1cqi #8E1650, inset 0 0 0 1.5cqi rgb(23 20 28 / 0.6), inset 0 2.4cqi 4cqi rgb(0 0 0 / 0.55);
}
.peep__lot {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.2cqi; padding: 6cqi 7cqi; text-align: center; color: var(--paper); text-decoration: none;
}
.peep__lot:focus-visible { z-index: 2; outline: 3px solid var(--cyan); outline-offset: -10px; border-radius: 3cqi; }
.peep__kicker {
  font-weight: 900; font-stretch: 70%; text-transform: uppercase; letter-spacing: 0.16em; font-size: 3.4cqi; color: var(--cyan);
}
.peep__title {
  font-family: var(--sc-font-display); font-size: 6.6cqi; line-height: 1; max-width: 100%;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere;
}
.peep__amt {
  font-family: var(--sc-font-display); font-size: 12cqi; line-height: 1; color: var(--hazard); font-variant-numeric: tabular-nums;
  text-shadow: 0 0.6cqi 0 var(--ink-black);
}
.peep__who {
  font-weight: 800; font-stretch: 80%; font-size: 3.6cqi; max-width: 100%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.peep__shutter { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.peep__blind {
  position: absolute; left: 0; right: 0; height: calc(50% + 1px);
  background:
    linear-gradient(90deg, rgb(0 0 0 / 0.35), transparent 14%, transparent 86%, rgb(0 0 0 / 0.35)),
    repeating-linear-gradient(180deg, #6E6677 0, #4C4555 3.4cqi, #19161D 3.4cqi 3.9cqi, #8C8494 3.9cqi 4.3cqi);
  will-change: transform;
}
.peep__blind--top { top: 0; transform: translate3d(0, calc(-100% * (var(--slit) + (1 - var(--slit)) * var(--open))), 0); }
.peep__blind--bot { bottom: 0; transform: translate3d(0, calc(100% * (var(--slit) + (1 - var(--slit)) * var(--open))), 0); }
.peep__blind::after { /* the brass lip on each leading edge */
  content: ""; position: absolute; left: 0; right: 0; height: 2.2cqi;
  background: linear-gradient(180deg, var(--brass-hi), #B07B22 60%, var(--brass-deep));
  box-shadow: 0 0 0 0.4cqi var(--ink-black);
}
.peep__blind--top::after { bottom: 0; }
.peep__blind--bot::after { top: 0; }

.peep__panel { display: flex; align-items: center; justify-content: space-between; gap: 4cqi; padding-inline: 2cqi; }
.peep__plate {
  position: relative; padding: 2cqi 4cqi 2.2cqi; border-radius: 2cqi;
  background: var(--hazard); color: var(--ink-black); border: 0.6cqi solid var(--ink-black);
  font-family: var(--sc-font-display); text-transform: uppercase; font-size: 4.4cqi; line-height: 0.95; text-align: center;
  box-shadow: 0 0 2.4cqi rgb(255 210 31 / 0.75), inset 0 -0.8cqi 0 rgb(23 20 28 / 0.15);
}
.peep__plate::after { /* the bulb behind the plate, breathing */
  content: ""; position: absolute; inset: -1.6cqi; z-index: -1; border-radius: 3.4cqi;
  background: radial-gradient(closest-side, rgb(255 230 120 / 0.9), transparent);
  animation: peep-glow 1.8s ease-in-out infinite alternate;
}
@keyframes peep-glow { from { opacity: 0.25; } to { opacity: 0.9; } }
.peep__slot {
  position: relative; flex: none; width: 15cqi; height: 18cqi; border-radius: 2.6cqi;
  background: radial-gradient(circle at 40% 30%, var(--brass-hi), #B07B22 55%, var(--brass-deep));
  box-shadow: 0 0 0 0.6cqi var(--ink-black), inset 0 0 0 1.2cqi rgb(90 58 10 / 0.35);
}
.peep__mouth {
  position: absolute; left: 50%; top: 50%; width: 2.6cqi; height: 10cqi; translate: -50% -50%;
  border-radius: 1.3cqi; background: #0B090D; box-shadow: inset 0 0.6cqi 0.8cqi #000, 0 0.3cqi 0 rgb(255 240 190 / 0.6);
}
.peep__drop { /* clips the coin at the slot, so it vanishes into it */
  position: absolute; left: -6cqi; right: -6cqi; bottom: 50%; height: 34cqi; overflow: hidden; z-index: 3; pointer-events: none;
}
.peep__coin {
  position: absolute; left: 50%; bottom: 0; width: 10cqi; aspect-ratio: 1; margin-left: -5cqi;
  display: grid; place-content: center; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFF0B0, #F2C232 45%, #A97810 90%);
  border: 0.5cqi solid var(--ink-black); color: #6B4A06;
  font-family: var(--sc-font-display); font-size: 5.6cqi; line-height: 1;
  animation: peep-coin 720ms cubic-bezier(.45, 0, .7, 1) forwards;
}
@keyframes peep-coin {
  0%   { opacity: 0; transform: translateY(-22cqi) rotate(-30deg) scaleX(1); }
  18%  { opacity: 1; transform: translateY(-19cqi) rotate(-8deg) scaleX(1); }
  50%  { transform: translateY(-11cqi) rotate(0deg) scaleX(1); }
  66%  { transform: translateY(-9cqi) rotate(0deg) scaleX(0.24); }
  100% { opacity: 1; transform: translateY(105%) rotate(0deg) scaleX(0.24); }
}

.hero__front { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.hero__front > * { position: absolute; }
.sticker {
  display: grid; place-content: center; text-align: center; border-radius: 50%;
  font-family: var(--sc-font-display); line-height: 0.92; text-transform: uppercase;
  box-shadow: var(--shadow);
}
.sticker--coin {
  pointer-events: auto; cursor: pointer;
  width: clamp(84px, 8vw, 116px); aspect-ratio: 1; border: 3px solid var(--ink-black);
  background: var(--cyan); color: var(--ink-black); font-size: clamp(0.9rem, 0.7rem + 0.5vw, 1.2rem);
  right: calc(var(--gut) + 2vw + var(--cab-w) - 1.2vw); bottom: calc(50% - var(--cab-w) * 0.55 - 10px); rotate: -12deg;
  transition: transform 140ms var(--sc-ease-out), background-color 140ms var(--sc-ease-out);
}
.sticker--coin span { display: block; }
@media (hover: hover) and (pointer: fine) { .sticker--coin:hover { transform: scale(1.06) rotate(6deg); background: var(--hazard); } }
.sticker--coin:active { transform: scale(0.96); }
.sticker--refunds {
  width: clamp(74px, 7vw, 104px); aspect-ratio: 1; background: var(--hazard); color: var(--ink-black);
  font-size: clamp(0.7rem, 0.55rem + 0.4vw, 0.98rem); right: calc(var(--gut) - 6px); top: calc(50% - var(--cab-w) * 0.55 - 44px); rotate: 14deg;
  border: 3px dashed var(--ink-black); outline: 5px solid var(--hazard);
}
.tape {
  width: clamp(90px, 10vw, 150px); height: 30px;
  background: rgb(243 238 227 / 0.78);
  clip-path: polygon(3% 0, 97% 4%, 100% 30%, 96% 55%, 100% 80%, 97% 100%, 2% 96%, 0 70%, 4% 45%, 0 18%);
  box-shadow: 0 2px 6px rgb(0 0 0 / 0.2);
}
.tape--a { right: calc(var(--gut) + 2vw + var(--cab-w) - 50px); top: calc(50% - var(--cab-w) * 0.55 - 26px); rotate: -24deg; }
.tape--b { right: calc(var(--gut) - 2vw); bottom: calc(50% - var(--cab-w) * 0.55 - 40px); rotate: 28deg; }
.stamp {
  left: var(--gut); bottom: 4.5%; rotate: -2deg;
  padding: 6px 12px 7px; border: 3px solid var(--cyan); color: var(--cyan);
  font-weight: 900; font-stretch: 70%; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem;
}
.reg { width: 28px; color: rgb(247 242 232 / 0.4); }
.reg--tl { left: 14px; top: 14px; }
.reg--br { right: 14px; bottom: 14px; }

/* ---------------------------------------------------------- the block -- */
.block {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--hazard); color: var(--ink-black);
  padding: clamp(2.6rem, 7vh, 4.5rem) var(--gut) clamp(3rem, 8vh, 5rem);
  --sc-ink: var(--ink-black);
}
.block__wall {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.55;
  background:
    linear-gradient(90deg, transparent 0 33.1%, rgb(23 20 28 / 0.06) 33.2% 33.4%, transparent 33.5% 71.6%, rgb(23 20 28 / 0.06) 71.7% 71.9%, transparent 72%),
    radial-gradient(circle, rgb(23 20 28 / 0.12) 0 1.2px, transparent 1.6px) 0 0 / 9px 9px;
  -webkit-mask-image: linear-gradient(170deg, #000 0%, transparent 40%, transparent 70%, #000 100%);
          mask-image: linear-gradient(170deg, #000 0%, transparent 40%, transparent 70%, #000 100%);
}
.block__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap;
  margin-bottom: clamp(1.4rem, 4vh, 2.6rem);
}
.block__title {
  margin: 0; font-family: var(--sc-font-display); font-weight: 400;
  font-size: clamp(2.6rem, 1.4rem + 5.4vw, 6rem); line-height: 0.9; letter-spacing: -0.02em;
}
.block__note {
  margin: 0; max-width: 34ch; font-weight: 650; font-size: 1rem; line-height: 1.45; color: var(--yellow-ink-soft);
  text-wrap: pretty;
}
.block__error[hidden], .lot__img[hidden] { display: none; }
.block__error {
  margin: 1.4rem 0 0; display: inline-block; padding: 8px 14px; background: var(--ink-black); color: var(--hazard);
  font-weight: 800;
}

.lots {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 2rem); align-items: stretch;
}
.lots__loading { grid-column: 1 / -1; font-weight: 800; font-stretch: 80%; text-transform: uppercase; letter-spacing: 0.06em; padding: 3rem 0; }

/* A lot is a J-card: spine on the left, face on the right, stripes up top. */
.lot {
  --tilt: 0deg; --bg: var(--paper); --fg: var(--ink-black); --soft: var(--paper-ink-soft); --band: var(--hot); --band2: var(--cyan);
  position: relative; display: flex; min-height: 236px;
  grid-column: span var(--span, 3); grid-row: span var(--rows, 1);
  background: var(--bg); color: var(--fg); text-decoration: none;
  border: 3px solid var(--ink-black); border-radius: 3px;
  box-shadow: var(--shadow);
  rotate: var(--tilt);
  transition: transform 160ms var(--sc-ease-out), box-shadow 160ms var(--sc-ease-out), rotate 200ms var(--sc-ease-out);
}
.lot.is-entering { opacity: 0; transform: translateY(18px) scale(0.97); }
.lot.is-in { opacity: 1; transform: none; transition: opacity 420ms var(--sc-ease-out), transform 520ms var(--sc-ease-out), box-shadow 160ms, rotate 200ms; }
@media (hover: hover) and (pointer: fine) {
  .lot:hover { transform: translateY(-5px); rotate: calc(var(--tilt) * 0.3); box-shadow: var(--shadow-lift); z-index: 2; }
}
.lot:active { transform: translateY(1px) scale(0.99); }
.lot:focus-visible { outline: 4px solid var(--ink-black); outline-offset: 5px; z-index: 2; }

.lot__spine {
  flex: none; width: 40px; border-right: 3px solid var(--ink-black);
  background: var(--band); color: var(--ink-black);
  display: flex; align-items: center; justify-content: space-between; flex-direction: column; padding: 12px 0;
  writing-mode: vertical-rl; rotate: 180deg;
  font-weight: 900; font-stretch: 68%; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem;
}
.lot__face { position: relative; flex: 1; min-width: 0; padding: 16px 18px 16px; display: flex; flex-direction: column; }
.lot__stripes {
  height: 12px; margin: -16px -18px 14px;
  background: linear-gradient(180deg, var(--band) 0 33%, var(--band2) 33% 66%, var(--ink-black) 66%);
}
.lot__title {
  margin: 0; font-family: var(--sc-font-display); font-weight: 400; letter-spacing: -0.01em;
  font-size: clamp(1.25rem, 0.9rem + 0.8vw, 1.7rem); line-height: 0.98; text-wrap: balance; overflow-wrap: anywhere;
}
.lot__tag { margin: 6px 0 0; font-weight: 600; font-size: 0.92rem; line-height: 1.35; color: var(--soft); overflow-wrap: anywhere; }
.lot__img {
  margin-top: 12px; width: 100%; height: 110px; object-fit: cover; border: 2px solid var(--ink-black);
  filter: grayscale(1) contrast(1.35) brightness(1.05);
}
.lot__tracks { margin: auto 0 0; padding-top: 14px; display: grid; gap: 3px; font-size: 0.88rem; }
.lot__tracks > div { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.lot__tracks dt { flex: none; font-weight: 800; font-stretch: 75%; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.74rem; color: var(--soft); }
.lot__tracks > div::after { content: ""; order: 1; flex: 1; min-width: 12px; align-self: center; border-bottom: 2px dotted color-mix(in oklab, var(--fg) 35%, transparent); }
.lot__tracks dt { order: 0; }
.lot__tracks dd { order: 2; }
.lot__tracks dd {
  margin: 0 0 0 auto; font-weight: 750; text-align: right; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lot__amt { font-family: var(--sc-font-display); font-weight: 400 !important; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.lot__amt.is-bumped { animation: bump 700ms var(--sc-ease-out); }
@keyframes bump { 0% { transform: scale(1.5) rotate(-6deg); } 100% { transform: none; } }
.lot__amt { display: block; transform-origin: 100% 60%; }

.lot__sticker {
  position: absolute; right: -12px; top: -16px; z-index: 3; rotate: 9deg;
  padding: 6px 11px 7px; background: var(--hazard); color: var(--ink-black); border: 3px solid var(--ink-black);
  font-family: var(--sc-font-display); font-size: 0.86rem; line-height: 1; text-transform: uppercase;
  max-width: 13ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  box-shadow: var(--shadow);
}
.lot__sold {
  position: absolute; left: 50%; top: 46%; z-index: 3; translate: -50% -50%; rotate: -14deg;
  padding: 4px 14px 6px; border: 5px solid var(--hot); color: var(--hot); background: rgb(23 20 28 / 0.9);
  font-family: var(--sc-font-display); font-size: clamp(1.6rem, 1rem + 1.6vw, 2.6rem); letter-spacing: 0.04em; pointer-events: none;
}

/* Variants: same object, different print run. */
.lot--magenta { --bg: var(--hot); --soft: #3B0E22; --band: var(--hazard); --band2: var(--ink-black); }
.lot--cyan { --bg: var(--cyan); --soft: #0F3A40; --band: var(--hot); --band2: var(--hazard); }
.lot--ink { --bg: var(--ink-black); --fg: var(--paper); --soft: #CFC6D6; --band: var(--hazard); --band2: var(--hot); }
.lot--ink .lot__spine { color: var(--ink-black); }

/* The hottest lot is the A-side single. */
.lot--hot { min-height: 420px; }
.lot--hot .lot__spine { width: 52px; font-size: 0.82rem; }
.lot--hot .lot__face { padding: 22px clamp(18px, 2.4vw, 32px) 22px; }
.lot--hot .lot__stripes { height: 18px; margin: -22px calc(-1 * clamp(18px, 2.4vw, 32px)) 20px; }
.lot--hot .lot__title { font-size: clamp(2rem, 1.1rem + 2.6vw, 3.9rem); line-height: 0.92; }
.lot--hot .lot__tag { font-size: clamp(1rem, 0.9rem + 0.3vw, 1.2rem); margin-top: 12px; max-width: 34ch; }
.lot--hot .lot__img { height: clamp(140px, 22vh, 220px); }
.lot--hot .lot__tracks { font-size: 1rem; gap: 6px; }
.lot--hot .lot__amt { font-size: clamp(2rem, 1.2rem + 2.2vw, 3.4rem); line-height: 0.9; }
.lot--hot .lot__sticker { font-size: 1.1rem; padding: 8px 14px 9px; right: -16px; top: -20px; }
.lot__tape { display: block; width: min(100%, 340px); height: auto; margin: auto; padding-block: 18px; rotate: -3deg; filter: drop-shadow(0 10px 14px rgb(23 20 28 / 0.3)); }
.lot--hot .lot__tracks { margin-top: 0; }
@media (max-width: 760px) { .lot__tape { width: 78%; } }
.lot__hotmark {
  position: absolute; left: -22px; top: -26px; z-index: 3; width: clamp(68px, 7vw, 92px); rotate: -14deg; pointer-events: none;
  filter: drop-shadow(0 6px 8px rgb(23 20 28 / 0.3));
}

/* The flyer: fills the wall where lots have not dropped yet. */
.flyer {
  position: relative; grid-column: span var(--span, 5); grid-row: span var(--rows, 1);
  min-height: 236px; padding: 22px clamp(18px, 2.2vw, 28px);
  background: var(--paper); color: var(--ink-black);
  border: 3px dashed var(--ink-black); rotate: var(--tilt, 1.2deg);
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
  background-image: radial-gradient(circle, rgb(23 20 28 / 0.14) 0 1.6px, transparent 2px);
  background-size: 10px 10px;
  box-shadow: var(--shadow);
}
.flyer__title { margin: 14px 0 0; line-height: 1.12 !important; font-family: var(--sc-font-display); font-weight: 400; font-size: clamp(1.6rem, 1rem + 1.8vw, 2.8rem); line-height: 0.92; }
.flyer__title span { display: inline; background: var(--hazard); box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: 0 6px; }
.flyer__body { margin: 0; font-weight: 650; max-width: 28ch; color: var(--paper-ink-soft); background: var(--paper); padding: 2px 0; }
.flyer__tape { position: absolute; top: -14px; left: 50%; translate: -50% 0; rotate: -4deg; width: 110px; height: 28px; background: rgb(243 238 227 / 0.9); border: 1px solid rgb(23 20 28 / 0.15); }

/* ---------------------------------------------------------- the rules -- */
.rules {
  background: var(--paper); color: var(--ink-black);
  --sc-ink: var(--ink-black); --sc-ink-soft: var(--paper-ink-soft);
  padding: clamp(3rem, 9vh, 5.5rem) var(--gut);
  border-top: 3px solid var(--ink-black);
}
.rules__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 1.5rem 4rem; max-width: 74rem; }
.rules__title {
  margin: 0; font-weight: 900; font-stretch: 70%; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.86rem;
  padding-top: 4px;
}
.rules__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 1.25rem; counter-reset: r; }
.rules__list li {
  counter-increment: r; display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); column-gap: 0.6rem;
  font-size: 0.98rem; line-height: 1.55; max-width: 62ch;
}
.rules__list li::before {
  content: counter(r); grid-row: span 2; align-self: start;
  width: 1.7rem; height: 1.7rem; display: grid; place-items: center; border: 2px solid var(--ink-black); border-radius: 50%;
  font-weight: 800; font-size: 0.8rem;
}
.rules__list strong { font-weight: 800; }
.rules__list span { color: var(--paper-ink-soft); }

/* ---------------------------------------------------------- the close -- */
.close {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100svh - var(--bar-h));
  background: var(--hot); color: var(--ink-black);
  display: flex; flex-direction: column; justify-content: space-between;
  --sc-ink: var(--ink-black);
}
.close__dots {
  position: absolute; z-index: -1; right: -10vw; top: -14vh; width: 70vw; aspect-ratio: 1; pointer-events: none;
  background-image: radial-gradient(circle, rgb(23 20 28 / 0.22) 0 3px, transparent 3.6px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 66%);
          mask-image: radial-gradient(circle, #000 0%, transparent 66%);
}
.close__inner { padding: clamp(2.5rem, 8vh, 5rem) var(--gut) 2rem; }
.close__wipe { padding: 0.06em 0 0.1em; }
.close__title {
  margin: 0; font-family: var(--sc-font-display); font-weight: 400;
  font-size: clamp(4rem, 2rem + 11vw, 13rem); line-height: 0.86; letter-spacing: -0.03em;
}
.close__line { margin: clamp(1.4rem, 4vh, 2.4rem) 0 clamp(1.4rem, 3.6vh, 2.2rem); max-width: 40ch; font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.4rem); font-weight: 700; line-height: 1.4; text-wrap: pretty; }
.close .btn--ink { box-shadow: 0 3px 0 #7A0F3D, 0 14px 26px -8px rgb(23 20 28 / 0.55); }
.foot {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap;
  padding: 14px var(--gut) calc(14px + env(safe-area-inset-bottom));
  background: var(--ink-black); color: #CFC6D6; font-size: 0.8rem; font-weight: 600;
}
.foot__admin { color: #CFC6D6; text-underline-offset: 3px; }
.leaders + .foot, main + .foot { border-top: 2px dashed rgb(207 198 214 / 0.22); }
.foot__admin:hover { color: var(--hazard); }

/* ------------------------------------------------- the high rollers -- */
/* The chart: a record-shop top 10 pinned up after hours. Paper strips on
   the dark wall, the champ gets the yellow print run and the crown. */
.leaders {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink-black); color: var(--sc-ink);
  padding: clamp(2.8rem, 8vh, 5rem) var(--gut) clamp(3.2rem, 9vh, 5.5rem);
  border-top: 3px solid var(--ink-black);
}
.leaders__dots {
  position: absolute; z-index: -1; left: -12vw; bottom: -18vh; width: 72vw; aspect-ratio: 1; pointer-events: none;
  background-image: radial-gradient(circle, rgb(255 46 136 / 0.3) 0 2.4px, transparent 2.9px);
  background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 66%);
          mask-image: radial-gradient(circle, #000 0%, transparent 66%);
}
.leaders__head {
  display: flex; align-items: center; gap: 0.6rem 1.4rem; flex-wrap: wrap;
  margin-bottom: clamp(2rem, 5vh, 3.2rem);
}
.leaders__title {
  margin: 0; font-family: var(--sc-font-display); font-weight: 400; color: var(--hazard);
  font-size: clamp(2.6rem, 1.4rem + 5.4vw, 6rem); line-height: 0.9; letter-spacing: -0.02em;
}
.leaders__tag {
  display: grid; place-content: center; width: clamp(64px, 6vw, 84px); aspect-ratio: 1; border-radius: 50%;
  background: var(--cyan); color: var(--ink-black); border: 3px solid var(--ink-black); outline: 3px solid var(--cyan);
  font-family: var(--sc-font-display); font-size: clamp(0.78rem, 0.66rem + 0.3vw, 0.95rem); line-height: 0.95;
  text-transform: uppercase; text-align: center; rotate: 12deg; box-shadow: var(--shadow);
}

.chart {
  --row-gap: clamp(0.9rem, 1.8vw, 1.4rem);
  margin: 0; padding: 0; list-style: none; max-width: 78rem;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--row-gap) clamp(1rem, 2.4vw, 2rem);
}
.chart[hidden], .chart__empty[hidden] { display: none; }
.leaders.is-empty .leaders__tag { display: none; }

.champ {
  --tilt: 0deg; --band: var(--hot);
  position: relative; min-width: 0;
  display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) auto; align-items: center; column-gap: 14px;
  padding-right: 18px; min-height: 64px;
  background: var(--paper); color: var(--ink-black);
  border: 3px solid var(--ink-black); border-radius: 3px; box-shadow: var(--shadow);
  rotate: var(--tilt);
}
.champ:nth-child(even) { --band: var(--cyan); }
.champ.is-entering { opacity: 0; transform: translateY(18px) scale(0.97); }
.champ.is-in { opacity: 1; transform: none; transition: opacity 420ms var(--sc-ease-out), transform 520ms var(--sc-ease-out); }
.champ__rank {
  align-self: stretch; display: grid; place-items: center;
  background: var(--band); border-right: 3px solid var(--ink-black);
  font-family: var(--sc-font-display); font-size: 1.6rem; line-height: 1; font-variant-numeric: tabular-nums;
}
.champ__who { min-width: 0; padding-block: 10px; }
.champ__name {
  display: block; font-weight: 850; font-stretch: 84%; font-size: 1.12rem; line-height: 1.15;
  overflow-wrap: anywhere; text-wrap: balance;
}
.champ__lot {
  display: block; width: fit-content; max-width: 100%; margin-top: 3px;
  font-weight: 800; font-stretch: 72%; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem;
  color: var(--paper-ink-soft); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.champ__lot:hover { color: var(--ink-black); text-decoration-thickness: 3px; }
.champ__lot:focus-visible { outline: 3px solid var(--ink-black); outline-offset: 2px; border-radius: 2px; }
.champ__amt {
  display: inline-block; justify-self: end; transform-origin: 100% 60%;
  font-family: var(--sc-font-display); font-size: clamp(1.15rem, 1rem + 0.5vw, 1.45rem); line-height: 1;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.champ__amt.is-bumped { animation: bump 700ms var(--sc-ease-out); }

/* Number one: the A-side. Full width, yellow, crowned. */
.champ--top {
  grid-column: 1 / -1; margin: 30px 0 clamp(0.4rem, 1.4vw, 1rem) 10px;
  grid-template-columns: clamp(4.6rem, 3.4rem + 4vw, 8rem) minmax(0, 1fr) auto; column-gap: clamp(14px, 2vw, 28px);
  padding-right: clamp(18px, 2.6vw, 36px); min-height: clamp(120px, 14vw, 180px);
  background-color: var(--hazard);
  background-image: radial-gradient(circle, rgb(23 20 28 / 0.12) 0 1.4px, transparent 1.9px);
  background-size: 10px 10px;
  border-width: 4px; box-shadow: 8px 8px 0 var(--cyan), var(--shadow-lift);
}
.champ--top .champ__rank {
  background: var(--hot); color: var(--ink-black); border-right-width: 4px;
  font-size: clamp(3.2rem, 2rem + 4vw, 6rem); text-shadow: 3px 3px 0 var(--paper);
}
.champ--top .champ__who { padding-block: 18px; }
.champ--top .champ__name { font-family: var(--sc-font-display); font-weight: 400; font-size: clamp(1.5rem, 0.9rem + 2.4vw, 3.2rem); line-height: 0.98; letter-spacing: -0.01em; }
.champ--top .champ__lot { margin-top: 8px; font-size: clamp(0.82rem, 0.74rem + 0.3vw, 1rem); color: var(--yellow-ink-soft); }
.champ--top .champ__amt { font-size: clamp(1.9rem, 1.1rem + 3vw, 4.4rem); text-shadow: 3px 3px 0 var(--paper); }
.champ__crown {
  position: absolute; left: -28px; top: -52px; z-index: 2; width: clamp(70px, 4rem + 3.4vw, 124px); height: auto;
  rotate: -16deg; pointer-events: none; filter: drop-shadow(0 6px 8px rgb(23 20 28 / 0.4));
}

.chart__empty { margin: 0; }
.chart__empty span {
  display: inline-block; padding: 14px 20px 16px; rotate: -1.5deg;
  background: var(--paper); color: var(--ink-black); border: 3px dashed var(--ink-black); box-shadow: var(--shadow);
  font-family: var(--sc-font-display); font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem); line-height: 1.05;
}

@media (max-width: 899px) {
  .chart { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .leaders__head { position: relative; padding-right: 40px; }
  .leaders__tag { position: absolute; right: -6px; top: -42px; width: 58px; }
  /* Strips: name and amount share the top line, the lot sits under both. */
  .champ { grid-template-columns: 2.6rem minmax(0, 1fr) auto; grid-template-rows: auto auto; padding-right: 12px; column-gap: 10px; align-items: baseline; }
  .champ__rank { grid-row: 1 / 3; align-self: stretch; font-size: 1.3rem; }
  .champ__who { display: contents; }
  .champ__name { grid-column: 2; padding-top: 10px; font-size: 1.02rem; }
  .champ__amt { grid-column: 3; grid-row: 1; padding-top: 10px; font-size: 1.1rem; }
  .champ__lot { grid-column: 2 / 4; grid-row: 2; margin: 2px 0 10px; }
  .champ--top { grid-template-columns: 4.2rem minmax(0, 1fr); grid-template-rows: auto auto auto; margin-left: 6px; margin-right: 6px; box-shadow: 6px 6px 0 var(--cyan), var(--shadow-lift); align-items: start; }
  .champ--top .champ__rank { grid-row: 1 / 4; font-size: 3rem; }
  .champ--top .champ__name { padding-top: 16px; }
  .champ--top .champ__lot { grid-column: 2; grid-row: 2; margin: 8px 0 0; }
  .champ--top .champ__amt { grid-column: 2; grid-row: 3; justify-self: start; padding: 10px 0 16px; transform-origin: 0 60%; }
  .champ__crown { left: -14px; top: -44px; width: 66px; }
}

/* ---------------------------------------------------------- tablet -- */
@media (max-width: 1099px) {
  .lot { grid-column: span 6; grid-row: auto; }
  .lot--hot { grid-column: 1 / -1; min-height: 340px; }
  .flyer { grid-column: span var(--span-t, 6); grid-row: auto; }
}

/* ---------------------------------------------------------- phone -- */
@media (max-width: 760px) {
  :root { --bar-h: 46px; }
  .bar__mark { font-size: 0.98rem; padding: 0 12px; }
  .bar__cta { display: none; }
  .tick { font-size: 0.85rem; padding: 0 12px; }

  /* The cabinet sits on the hero floor so the stickers can be placed against it. */
  .hero { align-items: stretch; --cab-w: min(78vw, 340px); --cab-b: 5.4rem; }
  .hero__inner { grid-template-columns: 1fr; grid-template-rows: auto 1fr; padding-top: 1.6rem; padding-bottom: var(--cab-b); gap: 0; }
  .hero__title { font-size: clamp(3.2rem, 18.5vw, 6rem); }
  .hero__line--b { margin-left: 0.18em; }
  .hero__sub { margin: 1rem 0 1.2rem; font-size: 1.05rem; max-width: 26ch; }
  .hero__subject { justify-self: end; align-self: end; width: var(--cab-w); margin-top: 1.4rem; margin-right: 4vw; }
  .hero__cone { width: 150vw; right: -60vw; top: 72%; }
  .sticker--coin { right: auto; left: var(--gut); bottom: 0.7rem; width: 84px; }
  .sticker--refunds { top: auto; bottom: calc(var(--cab-b) + var(--cab-w) * 1.1 - 56px); right: 6px; width: 70px; }
  .tape--a { right: auto; left: calc(96vw - var(--cab-w) - 38px); top: auto; bottom: calc(var(--cab-b) + var(--cab-w) * 1.1 - 10px); width: 90px; }
  .tape--b { display: none; }
  .stamp { display: none; }
  .hero__halftone {
    -webkit-mask-image: radial-gradient(ellipse 80% 40% at 70% 76%, #000 0%, rgb(0 0 0 / 0.5) 45%, transparent 72%);
            mask-image: radial-gradient(ellipse 80% 40% at 70% 76%, #000 0%, rgb(0 0 0 / 0.5) 45%, transparent 72%);
  }

  .block { padding-inline: 0; }
  .block__head, .block__error { margin-inline: var(--gut); }
  .lots {
    display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    padding: 22px var(--gut) 26px; scroll-padding-inline: var(--gut); scrollbar-width: none;
  }
  .lots::-webkit-scrollbar { display: none; }
  .lot, .flyer { flex: none; width: 76vw; max-width: 340px; scroll-snap-align: start; }
  .lot--hot { width: 84vw; max-width: 380px; min-height: 400px; }
  .flyer { min-height: 300px; }
  .lot__sticker { right: -6px; }
  .lot--hot .lot__sticker { right: -6px; }

  .rules__inner { grid-template-columns: 1fr; }
  .close { min-height: auto; }
  .close__inner { padding-top: 3rem; padding-bottom: 3rem; }
  .close__title { font-size: clamp(3rem, 19vw, 6rem); }
  .btn { padding: 14px 20px 15px; }
}

/* --------------------------------------------------- reduced motion -- */
@media (prefers-reduced-motion: reduce) {
  .bar__track.is-running { animation: none; }
  .bar__ticker { overflow-x: auto; scrollbar-width: none; }
  .hero__title, .hero__line--b { transform: none !important; }
  [data-plane] { transform: none !important; }
  .lot, .lot.is-entering, .lot.is-in { transform: none !important; transition: opacity 200ms linear; }
  .lot__amt.is-bumped, .champ__amt.is-bumped { animation: none; }
  .champ, .champ.is-entering, .champ.is-in { transform: none !important; transition: opacity 200ms linear; }
  .btn, .sticker--coin { transition: background-color 140ms linear; }
  .peep__flicker, .peep__plate::after { animation: none; }
  .peep__coin { display: none; }
  .btn:hover, .btn:active, .sticker--coin:hover, .sticker--coin:active { transform: none; }
}

/* comfortable tap target for the footer link */
.foot__admin { display: inline-block; padding: 12px 8px; margin: -12px -8px; }

/* Insert coin reads as a physical arcade button: raised on a hard base, glossy
   cap, a pulsing ring that invites the press, and it sinks when pushed. */
.sticker--coin {
  border-width: 4px;
  background:
    radial-gradient(circle at 32% 26%, rgba(255,255,255,.75) 0 9%, rgba(255,255,255,0) 30%),
    radial-gradient(circle at 50% 60%, var(--cyan) 0 58%, #129fb0 100%);
  box-shadow: 0 7px 0 var(--ink-black), 0 7px 0 3px var(--paper), 0 16px 22px rgba(0,0,0,.55);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.sticker--coin::after {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 3px solid var(--cyan); pointer-events: none;
  animation: coin-ring 1.6s var(--sc-ease-out, ease-out) infinite;
}
@keyframes coin-ring {
  0% { transform: scale(0.86); opacity: 0.95; }
  80%, 100% { transform: scale(1.32); opacity: 0; }
}
.sticker--coin:active {
  transform: translateY(6px) scale(0.98);
  box-shadow: 0 1px 0 var(--ink-black), 0 1px 0 3px var(--paper), 0 4px 8px rgba(0,0,0,.5);
}
@media (hover: hover) and (pointer: fine) {
  .sticker--coin:hover { background: radial-gradient(circle at 32% 26%, rgba(255,255,255,.75) 0 9%, rgba(255,255,255,0) 30%), var(--hazard); }
}
@media (max-width: 700px) {
  .sticker--coin { width: 96px; font-size: 1rem; bottom: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .sticker--coin::after { animation: none; opacity: 0.7; transform: none; }
  .sticker--coin:active { transform: none; }
}
