/* Written by Thomas Conway
   ChannelHunt — "Blade Auction" theme.
   Razer's world: void black, venom green, a matte-black lid with a glowing
   emblem, and a whisper of Chroma RGB around the stage. Green is the action
   color, gold marks premium lots, cyan marks what you're winning.
   Sections: tokens -> base -> tape -> nav -> hero/goal -> X promo
             -> studio/lid/zones -> lots board -> floor feed -> rules
             -> machine -> footer -> paddle sheet -> toasts -> responsive
             -> reduced motion. */

/* ---------- Design tokens ---------- */
:root {
  --bg: #050607;          /* void black, lights off */
  --bg-2: #0C0E10;        /* raised panels */
  --bg-3: #131619;        /* hover / inset surfaces */
  --ink: #EDF2EE;         /* primary text */
  --ink-2: #9AA59C;       /* secondary text */
  --ink-3: #66716A;       /* captions, metadata */
  --line: #1B1F22;        /* hairlines */
  --line-2: #272C30;      /* stronger borders */
  --accent: #44D62C;      /* venom green — bid, act, live */
  --accent-soft: #6BE554; /* green for text on dark (higher contrast) */
  --accent-ink: #04120A;  /* text that sits ON the green */
  --gold: #FFC24B;        /* premium lots */
  --you: #35E0D2;         /* cyan — lots you lead (green is taken by the brand) */
  --bad: #FF4D42;         /* outbid / errors */
  --f: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", system-ui, sans-serif;
  --display: "Archivo", "Geist", system-ui, sans-serif;   /* poster display, width axis */
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1160px;
  --r: 16px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.018em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 2px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* Shared eyebrow label over section heads */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 8px;
}

/* ---------- The Tape: venom ticker across the very top ---------- */
.tape {
  background: var(--accent);
  color: var(--accent-ink);
  overflow: hidden;
  height: 34px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
}
.tape-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: tape-scroll 46s linear infinite;
}
.tape:hover .tape-track { animation-play-state: paused; }
.tape-item {
  padding: 0 14px;
  white-space: nowrap;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tape-item.tape-you { background: rgba(0, 0, 0, 0.25); } /* your lots shout on the tape */
.tape-sep { opacity: 0.45; font-family: var(--mono); font-size: 0.7rem; }
@keyframes tape-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* track is duplicated, so -50% loops seamlessly */
}

/* ---------- Nav: black glass, live chip, hammer chip, one CTA ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(5, 6, 7, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: -0.04em; }
.brand-mark { width: 22px; height: 22px; border-radius: 7px; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-soft);
  border: 1px solid rgba(68, 214, 44, 0.35);
  padding: 6px 11px;
  border-radius: 999px;
}
.nav-hammer {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
  border: 1px solid var(--line-2);
  padding: 6px 11px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.nav-cta {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 750;
  font-size: 0.88rem;
  padding: 9px 16px;
  border-radius: 999px;
  letter-spacing: -0.02em;
  box-shadow: 0 0 18px rgba(68, 214, 44, 0.35);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.nav-cta:hover { background: var(--accent-soft); box-shadow: 0 0 26px rgba(68, 214, 44, 0.5); transform: translateY(-1px); }
.nav-cta:active { transform: translateY(0) scale(0.97); }

/* Pulsing live dot — the heartbeat of the floor */
.live-dot {
  width: 8px; height: 8px; border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(68, 214, 44, 0.55);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(68, 214, 44, 0); }
  100% { box-shadow: 0 0 0 0 rgba(68, 214, 44, 0); }
}

/* ---------- Hero: thesis left, the spotlit Blade right ---------- */
.hero { padding: 64px 0 72px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 44px;
  align-items: center;
}
.hero-copy { max-width: 560px; }
.kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 16px;
}
.hero h1 {
  font-family: var(--display);
  font-stretch: 125%;            /* expanded poster cut */
  font-size: clamp(2.5rem, 5.6vw, 4.1rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 0.94;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  text-shadow: 0 0 30px rgba(68, 214, 44, 0.4); /* the venom glow */
}
.lede { margin: 18px 0 24px; max-width: 48ch; color: var(--ink-2); font-size: 1.02rem; }
.lede strong { color: var(--accent-soft); }

/* ---------- The Pot ---------- */
.goal {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px 16px;
  margin-bottom: 14px;
}
.goal-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}
.goal-label {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.goal-raised {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
/* Count-up flash when the pot moves */
.goal-raised.bump { animation: bump 0.5s cubic-bezier(0.2, 1.4, 0.4, 1); color: var(--accent-soft); }
@keyframes bump {
  0% { transform: scale(1.06); }
  100% { transform: scale(1); }
}
.goal-sub { margin-top: 7px; color: var(--ink-3); font-size: 0.85rem; }
.goal-hammer { text-align: right; }
.goal-hammer-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.goal-hammer-time {
  font-family: var(--mono);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  color: var(--accent-soft);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.goal-bar {
  position: relative;
  height: 8px;
  background: var(--line);
  border-radius: 99px;
  margin-top: 16px;
  overflow: hidden;
}
.goal-bar > span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #2AA31B, var(--accent), var(--accent-soft));
  border-radius: 99px;
  box-shadow: 0 0 14px rgba(68, 214, 44, 0.55);
  transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.goal-note { margin-top: 12px; font-size: 0.8rem; color: var(--ink-3); }
.goal-note a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.goal-note a:hover { color: var(--ink); }

/* ---------- X share promo: post, verify, 10% off ---------- */
.xpromo {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  transition: border-color 0.3s;
}
.xpromo.is-unlocked { border-color: rgba(68, 214, 44, 0.5); }
.xpromo-head { display: flex; align-items: flex-start; gap: 12px; }
.x-logo { width: 20px; height: 20px; fill: var(--ink); flex-shrink: 0; margin-top: 3px; }
.xpromo-title { font-weight: 700; letter-spacing: -0.02em; font-size: 0.98rem; }
.xpromo.is-unlocked .xpromo-title { color: var(--accent-soft); }
.xpromo-sub { color: var(--ink-3); font-size: 0.82rem; margin-top: 3px; }
.xpromo-actions { margin-top: 12px; display: grid; gap: 8px; }
.xpromo-btn {
  justify-self: start;
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.86rem;
  padding: 9px 18px;
  border-radius: 999px;
  transition: transform 0.12s, opacity 0.15s;
}
.xpromo-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.xpromo-btn:active { transform: scale(0.97); }
.xpromo-verify { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.xpromo-verify input {
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 0.84rem;
  font-family: var(--mono);
  color: var(--ink);
  outline: none;
  min-width: 0;
}
.xpromo-verify input:focus { border-color: var(--accent); }
.xpromo-verify button {
  border: 1px solid rgba(68, 214, 44, 0.5);
  color: var(--accent-soft);
  font-weight: 650;
  font-size: 0.84rem;
  border-radius: 10px;
  padding: 9px 16px;
  transition: background 0.15s, transform 0.12s;
}
.xpromo-verify button:hover { background: rgba(68, 214, 44, 0.12); }
.xpromo-verify button:active { transform: scale(0.97); }
.xpromo-hint { font-size: 0.78rem; font-family: var(--mono); color: var(--ink-3); }
.xpromo-hint.is-bad { color: var(--bad); }
.xpromo-hint.is-ok { color: var(--accent-soft); }

/* ---------- The studio: Chroma-lit stage, matte-black lid ---------- */
.studio {
  position: relative;
  background:
    radial-gradient(70% 55% at 50% 28%, rgba(68, 214, 44, 0.09), rgba(68, 214, 44, 0) 70%),
    var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 18px 18px;
  overflow: hidden;
}
/* Chroma aura: a slow RGB wash around the stage rim — Razer's party trick, kept quiet */
.studio::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 22px;
  padding: 1px;
  background: conic-gradient(from var(--chroma, 0deg),
    rgba(68, 214, 44, 0.55), rgba(53, 224, 210, 0.35), rgba(160, 90, 255, 0.3),
    rgba(255, 194, 75, 0.3), rgba(68, 214, 44, 0.55));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: chroma 9s linear infinite;
  pointer-events: none;
}
@property --chroma { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes chroma { to { --chroma: 360deg; } }
.studio-hint {
  text-align: center;
  color: var(--ink-3);
  font-size: 0.85rem;
  margin-bottom: 18px;
}
.mac {
  max-width: 660px;
  margin: 0 auto;
  filter: drop-shadow(0 42px 60px rgba(0, 0, 0, 0.8));
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.18s ease-out; /* buttery lag behind the cursor */
}
/* The Blade: matte-black anodised aluminium, near-invisible seams */
.mac-lid {
  border-radius: 16px 16px 11px 11px;
  background: linear-gradient(165deg, #1d1f22 0%, #101214 45%, #0a0c0e 80%, #16181b 100%);
  border: 1px solid #2c2f33;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -8px 18px rgba(0, 0, 0, 0.5);
  padding: 10px 10px 8px;
}
.mac-face {
  position: relative;
  aspect-ratio: 1.5 / 1;   /* 18-inch, wider deck */
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 30%),
    linear-gradient(145deg, #17191c 0%, #0c0e10 55%, #131518 100%);
  overflow: hidden;
}
/* Light sheen that follows the cursor across the black aluminium */
.mac-face::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(120, 255, 120, 0.07) 50%, transparent 58%);
  background-size: 250% 100%;
  background-position: var(--mx, 50%) 0;
  pointer-events: none;
  z-index: 3;
}
/* The glowing emblem, breathing like a sleeping machine */
.emblem {
  position: absolute;
  width: 12%;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  color: var(--accent);
  opacity: 0.95;
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(68, 214, 44, 0.8)) drop-shadow(0 0 22px rgba(68, 214, 44, 0.35));
  animation: breathe 4s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { opacity: 0.95; }
  50% { opacity: 0.55; }
}
.mac-hinge {
  height: 10px;
  margin: 6px 18% 0;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(#1a1c1f, #0a0b0d);
  border: 1px solid #26292d;
  border-top: 0;
}

/* Zones: claim outlines on the black lid — pale lines, green price tags */
.zones { position: absolute; inset: 0; }
.zone {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  padding: 5px 6px;
  border-radius: 8px;
  border: 1.5px dashed rgba(237, 242, 238, 0.22);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  text-align: left;
  overflow: hidden;
  transition: border-color 0.15s, background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.zone:hover,
.zone:focus-visible {
  border-style: solid;
  border-color: var(--accent);
  background: rgba(68, 214, 44, 0.08);
  box-shadow: 0 0 16px rgba(68, 214, 44, 0.25);
  transform: translateY(-2px);
  outline: none;
}
.zone.is-selected {
  border-style: solid;
  border-color: var(--accent);
  background: rgba(68, 214, 44, 0.12);
  box-shadow: 0 0 0 3px rgba(68, 214, 44, 0.28);
}
/* Premium lots flank the emblem — gold claim outlines */
.zone.is-premium { border-color: rgba(255, 194, 75, 0.45); }
.zone.is-premium:hover, .zone.is-premium:focus-visible { border-color: var(--gold); border-style: solid; box-shadow: 0 0 16px rgba(255, 194, 75, 0.25); }
/* Lots you lead glow cyan — status you defend */
.zone.is-leading {
  border-style: solid;
  border-color: rgba(53, 224, 210, 0.9);
  background: rgba(53, 224, 210, 0.1);
  box-shadow: 0 0 0 3px rgba(53, 224, 210, 0.2);
}
.zone.is-taken {
  border-style: solid;
  border-color: rgba(237, 242, 238, 0.4);
  background: rgba(255, 255, 255, 0.07);
}
.zone-mark {
  position: absolute;
  inset: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6));
}
/* Sticker-slap: the mark lands with a physical pop */
.zone.slap .zone-mark { animation: slap 0.5s cubic-bezier(0.2, 1.6, 0.4, 1) both; }
@keyframes slap {
  0% { transform: scale(1.5) rotate(-8deg); opacity: 0.4; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
/* Bid shockwave: a ring bursts out of the zone when a bid lands */
.zone.shock::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  border: 2px solid var(--accent);
  animation: shock 0.6s ease-out both;
  pointer-events: none;
}
@keyframes shock {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
.zone.has-mark { background: rgba(255, 255, 255, 0.06); border-style: solid; }
/* Price tag on each lot: green price-gun label */
.zone-meta {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  background: rgba(5, 6, 7, 0.85);
  color: var(--accent-soft);
  border: 1px solid rgba(68, 214, 44, 0.25);
  border-radius: 4px;
  padding: 2px 5px;
  pointer-events: none;
}
.zone-price { font-weight: 600; font-variant-numeric: tabular-nums; }
.zone.is-leading .zone-price { color: var(--you); }
/* "YOU LEAD" ribbon, top-left of a defended lot */
.zone-you {
  position: absolute;
  top: 4px;
  left: 4px;
  z-index: 2;
  display: none;
  font-family: var(--mono);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--you);
  background: rgba(4, 22, 20, 0.9);
  border: 1px solid rgba(53, 224, 210, 0.6);
  border-radius: 4px;
  padding: 2px 5px;
  pointer-events: none;
}
.zone.is-leading .zone-you { display: block; }
.disclaimer { text-align: center; margin-top: 14px; font-size: 0.72rem; color: var(--ink-3); }

/* ---------- The Lots + The Floor ---------- */
.live, .how, .machine { padding: 8px 0 72px; }
.live-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.7fr);
  gap: 28px;
  align-items: start;
}
.block-head { margin-bottom: 18px; }
.block-head h2 {
  font-family: var(--display);
  font-stretch: 125%;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  font-weight: 800;
  text-transform: uppercase;
}
.block-head p { color: var(--ink-2); margin-top: 6px; font-size: 0.95rem; }
.block-head .eyebrow { margin-bottom: 6px; }

/* Lot rows: letter badge, name, standing bid, status pill */
.spots { display: grid; gap: 8px; }
.spot {
  display: grid;
  grid-template-columns: 44px 1fr auto auto;
  gap: 10px 16px;
  align-items: center;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  width: 100%;
  text-align: left;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.spot:hover { border-color: var(--line-2); transform: translateX(2px); }
.spot.is-selected { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(68, 214, 44, 0.16); }
.spot.heat-1 { border-left: 3px solid rgba(68, 214, 44, 0.5); }
.spot.heat-2 { border-left: 3px solid var(--accent); }
.spot-badge {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink-2);
}
.spot-badge.premium { border-color: rgba(255, 194, 75, 0.6); color: var(--gold); }
.spot-name { font-weight: 650; letter-spacing: -0.03em; }
.spot-meta { color: var(--ink-3); font-size: 0.8rem; font-family: var(--mono); margin-top: 2px; }
.spot-bid {
  font-family: var(--mono);
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.spot-bid small { display: block; color: var(--ink-3); font-weight: 500; }
.spot.is-leading .spot-bid { color: var(--you); }
.spot-state {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--ink-3);
  min-width: 4.6rem;
  text-align: center;
}
.spot-state.empty { color: var(--ink-2); }
.spot-state.live { color: var(--accent-soft); border-color: rgba(68, 214, 44, 0.5); }
.spot-state.leading { color: var(--you); border-color: rgba(53, 224, 210, 0.5); }
.spot-state.taken { color: var(--ink-3); }

/* The Floor: sticky live feed, your moves carry a cyan rail */
.feed {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 16px;
  position: sticky;
  top: 76px;
}
.feed-list { list-style: none; display: grid; gap: 10px; max-height: 420px; overflow: auto; }
.feed-list::-webkit-scrollbar { width: 8px; }
.feed-list::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 8px; }
.feed-row {
  font-size: 0.92rem;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  animation: feed-in 0.35s ease-out;
}
.feed-row:last-child { border-bottom: 0; padding-bottom: 0; }
.feed-row.you { border-left: 2px solid var(--you); padding-left: 10px; }
@keyframes feed-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
.feed-verb { font-weight: 650; }
.feed-verb.bid { color: var(--accent-soft); }
.feed-verb.marked { color: var(--gold); }
.feed-verb.outbid { color: var(--bad); }
.feed-verb.shared { color: var(--you); }
.feed-time { display: block; color: var(--ink-3); font-size: 0.75rem; font-family: var(--mono); margin-top: 2px; }
.feed-empty { color: var(--ink-3); font-size: 0.92rem; line-height: 1.45; }

/* ---------- House rules: one compact strip ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
}
.steps li { color: var(--ink-2); font-size: 0.92rem; line-height: 1.45; }
.steps li strong { color: var(--ink); }
.steps li span {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--accent-soft);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.how-aside { margin-top: 16px; max-width: 62ch; color: var(--ink-3); font-size: 0.85rem; }

/* ---------- The machine ---------- */
.specs { display: grid; gap: 10px; margin-top: 8px; }
.specs div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.specs dt { color: var(--ink-3); font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
.specs dd { color: var(--ink); }
.machine-row { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px 48px; align-items: start; }
.machine-note { color: var(--ink-2); max-width: 36ch; }

footer { border-top: 1px solid var(--line); padding: 22px 0 40px; color: var(--ink-3); font-size: 0.82rem; }
.foot-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- The Paddle: bid sheet drawer ---------- */
.sheet {
  width: min(430px, 100%);
  max-height: 100vh;
  margin: auto 0 auto auto;
  border: 0;
  border-left: 1px solid var(--line-2);
  padding: 0;
  background: #0A0C0E;
  color: var(--ink);
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.7);
}
.sheet::backdrop { background: rgba(2, 3, 4, 0.68); backdrop-filter: blur(4px); }
.sheet-inner { padding: 22px 22px 28px; }
.sheet-close {
  float: right;
  width: 36px; height: 36px;
  border-radius: 99px;
  background: var(--bg-3);
  font-size: 1.3rem;
  line-height: 1;
  color: var(--ink-2);
  transition: background 0.15s, color 0.15s;
}
.sheet-close:hover { background: var(--line-2); color: var(--ink); }
.sheet-kicker {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-soft);
}
.sheet h2 { font-size: 1.7rem; letter-spacing: -0.045em; margin: 4px 0 10px; clear: both; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pill {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--line-2);
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--ink-2);
}
.pill.pill-gold { color: var(--gold); border-color: rgba(255, 194, 75, 0.55); }
.pill.pill-live { color: var(--accent-soft); border-color: rgba(68, 214, 44, 0.55); }
.pill.pill-lead { color: var(--you); border-color: rgba(53, 224, 210, 0.55); }

/* Endowment banner: you hold this lot right now */
.sheet-lead {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--you);
  background: rgba(53, 224, 210, 0.08);
  border: 1px solid rgba(53, 224, 210, 0.4);
  border-radius: 10px;
  padding: 9px 12px;
  margin-bottom: 14px;
}

/* Logo drop: the endowment engine — your image lands on the Blade */
.logo-drop {
  display: grid;
  place-items: center;
  text-align: center;
  gap: 4px;
  border: 1.5px dashed var(--line-2);
  border-radius: 14px;
  padding: 22px 14px;
  background: var(--bg);
  cursor: pointer;
  margin-bottom: 14px;
  transition: border-color 0.15s, background 0.15s;
}
.logo-drop:hover, .logo-drop.is-on { border-color: var(--accent); background: var(--bg-3); }
.logo-drop.is-drag { border-color: var(--accent); background: var(--bg-3); border-style: solid; }
.logo-drop input { display: none; }
.logo-drop-title { font-weight: 650; letter-spacing: -0.02em; }
.logo-drop-sub { font-size: 0.78rem; color: var(--ink-3); }

/* Quick-raise chips: one tap, £1 at a time — raise, raise, raise */
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.chips button {
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--bg);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 9px 4px;
  transition: border-color 0.12s, background 0.12s, transform 0.12s;
}
.chips button:hover { border-color: var(--accent); color: var(--accent-soft); }
.chips button:active { transform: scale(0.95); }
.chips .chip-lead { border-color: rgba(68, 214, 44, 0.5); color: var(--accent-soft); }
.chips .chip-lead:hover { background: rgba(68, 214, 44, 0.12); }

.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
/* One clean bid box — the chips above do the fast raising */
.bid-box {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  outline: none;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.15s;
}
.bid-box:focus { border-color: var(--accent); }
.field-hint { margin-top: 8px; font-size: 0.8rem; color: var(--ink-3); }
.field-hint.is-bad { color: var(--bad); }

/* Deposit math: tabular, no surprises; promo row glows when unlocked */
.math {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}
.math div { display: flex; justify-content: space-between; color: var(--ink-2); }
.math strong { color: var(--ink); font-variant-numeric: tabular-nums; font-family: var(--mono); font-weight: 600; }
.math .math-promo span { color: var(--accent-soft); }
.math .promo-strong { color: var(--accent-soft); }
/* The one number that matters */
.math .math-total { align-items: baseline; }
.math .math-total span { color: var(--ink); font-weight: 600; }
.math .math-total strong { font-size: 1.3rem; color: var(--accent-soft); }

/* The one big venom button */
.cta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  box-shadow: 0 8px 28px rgba(68, 214, 44, 0.3);
  transition: background 0.15s, transform 0.12s, box-shadow 0.15s;
}
.cta:hover { background: var(--accent-soft); box-shadow: 0 10px 34px rgba(68, 214, 44, 0.45); transform: translateY(-1px); }
.cta:active { transform: translateY(0) scale(0.985); }
.cta.is-disabled { background: #22262a; color: var(--ink-3); box-shadow: none; pointer-events: none; }
.cta-note { font-weight: 500; font-size: 0.75rem; opacity: 0.85; }
.sheet-legal { margin-top: 12px; font-size: 0.78rem; color: var(--ink-3); line-height: 1.45; }

/* ---------- Toasts: variable-reward confirmations ---------- */
.toast-root {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 60;
  display: grid;
  gap: 8px;
  max-width: min(360px, calc(100vw - 32px));
}
.toast {
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 11px 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.2), opacity 0.28s ease;
}
.toast.in { transform: none; opacity: 1; }
.toast.out { transform: translateY(8px); opacity: 0; }
.toast.ok { border-left-color: var(--you); }
.toast.gold { border-left-color: var(--gold); }
.toast-title { font-weight: 650; font-size: 0.92rem; letter-spacing: -0.02em; }
.toast-sub { font-family: var(--mono); font-size: 0.74rem; color: var(--ink-3); margin-top: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding-top: 44px; }
  .hero-copy { max-width: 640px; }
  .live-grid, .steps, .specs div, .machine-row { grid-template-columns: 1fr; }
  .feed { position: static; }
  .sheet { width: 100%; max-height: 92vh; margin: auto 0 0; border-left: 0; border-top: 1px solid var(--line-2); border-radius: 18px 18px 0 0; }
  .spot { grid-template-columns: 44px 1fr auto; }
  .spot-state { grid-column: 3; grid-row: 1; }
  .spot-bid { grid-column: 3; grid-row: 2; }
}
@media (max-width: 560px) {
  .nav-hammer { display: none; } /* big countdown lives in the hero instead */
  .hero { padding-top: 32px; }
  .zone-meta { font-size: 0.55rem; padding: 1px 4px; }
  .zone-you { font-size: 0.48rem; }
  .mac-lid { border-radius: 13px 13px 9px 9px; padding: 7px; }
  .chips { grid-template-columns: repeat(2, 1fr); }
  .xpromo-verify { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion: the floor goes still, everything stays usable ---------- */
@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
  .tape-track { animation: none; }
  .feed-row { animation: none; }
  .zone.slap .zone-mark { animation: none; }
  .zone.shock::before { animation: none; opacity: 0; }
  .studio::before { animation: none; }
  .emblem { animation: none; }
  .goal-raised.bump { animation: none; }
  html { scroll-behavior: auto; }
  .zone, .goal-bar > span, .mac, .cta, .toast { transition: none; }
}

/* ---------- Full-screen lid ---------- */
.lid-full { padding: 8px 0 72px; }
.lid-full-head { margin-bottom: 22px; }
.lid-fs-btn {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 10px 16px;
  border-radius: 999px;
}
.lid-fs-btn:hover { filter: brightness(1.08); }
.nav-cta-ghost {
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--ink);
}
.studio-full .mac { max-width: 920px; }
.studio-full:fullscreen,
.studio-full:-webkit-full-screen {
  background: #050607;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  width: 100%;
  height: 100%;
}
.studio-full:fullscreen .mac,
.studio-full:-webkit-full-screen .mac {
  max-width: min(92vw, 140vh);
  width: 100%;
}
