/* =========================================================================
   GET A COPY — styles
   Leonida dusk: navy night, flamingo, sunset orange, lagoon, paper cream.
   Display: Big Shoulders Display. Body: Figtree. Signature: Yellowtail.
   ========================================================================= */
@font-face { font-family: 'Big Shoulders Display'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/bigshoulders-700.woff2') format('woff2'); }
@font-face { font-family: 'Big Shoulders Display'; font-weight: 900; font-style: normal; font-display: swap; src: url('/fonts/bigshoulders-900.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/figtree-400.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-weight: 500; font-style: normal; font-display: swap; src: url('/fonts/figtree-500.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-weight: 600; font-style: normal; font-display: swap; src: url('/fonts/figtree-600.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/figtree-700.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-weight: 800; font-style: normal; font-display: swap; src: url('/fonts/figtree-800.woff2') format('woff2'); }
@font-face { font-family: 'Yellowtail'; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/yellowtail-400.woff2') format('woff2'); }

:root {
  --navy: #0a1024;
  --navy-2: #121a36;
  --ink: #141b33;
  --flamingo: #ff3d7f;
  --sun: #ff8a3d;
  --gold: #ffd36b;
  --lagoon: #2ff3e0;
  --paper: #fff4e6;
  --paper-2: #f6e6d2;
  --cream: #fff4e6;
  --muted: #c9c2d8;
  --line: rgba(255, 244, 230, 0.16);
  --up: #2fe39b;
  --down: #ff4d6d;

  --display: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --body: 'Figtree', system-ui, sans-serif;
  --script: 'Yellowtail', 'Brush Script MT', cursive;

  --sunset: linear-gradient(100deg, var(--flamingo) 0%, var(--sun) 58%, var(--gold) 100%);
  --tuner-w: 164px;
  --top-h: 76px;
  --gutter: clamp(18px, 3.4vw, 48px);
  --maxw: 1320px;
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 9px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-io: cubic-bezier(0.7, 0, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--flamingo) transparent; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--navy);
  color: var(--cream);
  font: 500 17px/1.55 var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading, body.is-intro { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--flamingo); color: #fff; }
:focus-visible { outline: 3px solid var(--lagoon); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor input[type="text"], .has-cursor input[type="url"], .has-cursor input[type="search"], .has-cursor textarea { cursor: text !important; }
kbd { font: 700 12px/1 var(--body); padding: 4px 7px; border: 1.5px solid currentColor; border-radius: 5px; opacity: 0.85; }
.wrap { width: min(var(--maxw), 100% - var(--gutter) * 2); margin-inline: auto; }

/* ---------------- Type ---------------- */
.h1, .h2, .h3, .hero-title { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -0.005em; margin: 0; }
.h1 { font-size: clamp(64px, 9vw, 150px); line-height: 0.84; }
.h2 { font-size: clamp(34px, 3.6vw, 56px); line-height: 0.92; margin-bottom: 14px; }
.h3 { font-size: 30px; line-height: 0.95; margin-bottom: 10px; }
.lede { font-size: 19px; color: var(--muted); max-width: 56ch; margin: 18px 0 0; }
.lede b { color: var(--cream); }
.script { font-family: var(--script); text-transform: none; font-weight: 400; }

.ln { display: block; overflow: hidden; padding-bottom: 0.04em; }
.ln > span { display: block; transform: translateY(105%); }
.page.in .ln > span { animation: lnUp 1s var(--ease) both; animation-delay: calc(var(--l, 0) * 110ms + 80ms); }
@keyframes lnUp { from { transform: translateY(105%) rotate(3deg); } to { transform: none; } }

/* ---------------- Background layers ---------------- */
.city { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.no3d .city { display: none; }
.sky-fallback { position: fixed; inset: 0; z-index: 0; display: none; background: linear-gradient(180deg, #0a1024 0%, #3b1846 46%, #ff8a3d 78%, #2a1430 100%); }
.no3d .sky-fallback { display: block; }
.sky-fallback i { position: absolute; left: 30%; top: 62%; width: 34vmin; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, #ffe5a8, #ff8a3d 60%, transparent 72%); filter: blur(2px); }

.shade {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 16, 36, 0.78) 0%, rgba(10, 16, 36, 0.35) 38%, transparent 62%),
    linear-gradient(0deg, rgba(10, 16, 36, 0.7) 0%, transparent 30%);
  transition: background 0.6s;
}
body:not([data-page="home"]) .shade {
  background:
    linear-gradient(90deg, rgba(10, 16, 36, 0.88) 0%, rgba(10, 16, 36, 0.62) 55%, rgba(10, 16, 36, 0.45) 100%);
}
.grain {
  position: fixed; inset: -50%; z-index: 2; pointer-events: none; opacity: 0.06;
  background-image: 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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.6s steps(3) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 33% { transform: translate(-4%, 3%); } 66% { transform: translate(3%, -2%); } }

/* Radio static between pages */
.static { position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 3px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}
.static.run { animation: staticFx 0.55s steps(6) both; }
@keyframes staticFx {
  0% { opacity: 0; transform: translateY(0); }
  20% { opacity: 0.9; transform: translateY(-3%); }
  60% { opacity: 0.5; transform: translateY(2%); }
  100% { opacity: 0; transform: translateY(0); }
}

/* ---------------- Cursor ---------------- */
.disc-cursor { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; width: 0; height: 0; }
.disc {
  position: absolute; left: -19px; top: -19px; width: 38px; height: 38px; border-radius: 50%;
  background: conic-gradient(from 0deg, #ffd36b, #ff3d7f, #b46bff, #2ff3e0, #43f5a0, #ffd36b);
  -webkit-mask: radial-gradient(circle, transparent 4.5px, #000 5px, #000 9px, transparent 9.5px, transparent 11px, #000 11.5px);
  mask: radial-gradient(circle, transparent 4.5px, #000 5px, #000 9px, transparent 9.5px, transparent 11px, #000 11.5px);
  opacity: 0.92;
  animation: spin 2.4s linear infinite;
  transition: transform 0.35s var(--spring), opacity 0.2s;
  box-shadow: 0 0 22px rgba(255, 61, 127, 0.5);
}
.disc i { position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.8) 50%, transparent 65%); }
@keyframes spin { to { rotate: 360deg; } }
.disc-cursor.hot .disc { transform: scale(1.9); opacity: 0.75; animation-duration: 0.9s; }
.disc-cursor.down .disc { transform: scale(0.75); }
.disc-label {
  position: absolute; left: 30px; top: 18px; white-space: nowrap;
  font: 800 12px/1 var(--body); letter-spacing: 0.02em; color: var(--navy); background: var(--gold);
  padding: 5px 8px; border-radius: 6px; opacity: 0; transform: translateY(4px) scale(0.9); transition: 0.25s var(--ease);
}
.disc-cursor.hot .disc-label:not(:empty) { opacity: 1; transform: none; }
.dot-cursor { position: fixed; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: #fff; z-index: 201; pointer-events: none; mix-blend-mode: difference; }

/* ---------------- Buttons ---------------- */
.btn {
  --bg: var(--cream); --fg: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg); text-decoration: none;
  font: 800 16px/1 var(--body); letter-spacing: 0.01em;
  transition: transform 0.25s var(--spring), box-shadow 0.25s, background 0.2s, filter 0.2s;
  position: relative; isolation: isolate;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn:disabled { opacity: 0.55; transform: none; }
.btn-xl { min-height: 60px; padding: 16px 30px; font-size: 18px; }
.btn-sun { background: var(--sunset); color: #1a0a14; box-shadow: 0 10px 40px -10px rgba(255, 61, 127, 0.8); }
.btn-sun::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%); background-size: 250% 100%; background-position: 120% 0; transition: background-position 0.8s var(--ease); z-index: -1; mix-blend-mode: overlay; }
.btn-sun:hover::after { background-position: -40% 0; }
.btn-line { background: rgba(10, 16, 36, 0.35); color: var(--cream); box-shadow: inset 0 0 0 2px rgba(255, 244, 230, 0.7); backdrop-filter: blur(8px); }
.btn-line:hover { box-shadow: inset 0 0 0 2px var(--lagoon); color: var(--lagoon); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ghost-ink { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px rgba(20, 27, 51, 0.35); }
.text-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }

.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 15px; border-radius: 999px;
  border: 0; background: rgba(10, 16, 36, 0.55); color: var(--cream); text-decoration: none;
  box-shadow: inset 0 0 0 1.5px var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-weight: 700; font-size: 14px; transition: box-shadow 0.2s, color 0.2s, background 0.2s;
}
.pill:hover { box-shadow: inset 0 0 0 1.5px var(--lagoon); }
.pill-icon { width: 42px; padding: 0; justify-content: center; }
.ca-pill [data-ca] { font-variant-numeric: tabular-nums; max-width: 14ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-tag { background: var(--gold); color: var(--navy); font-weight: 900; font-size: 12px; padding: 3px 6px; border-radius: 5px; }
.countdown { color: var(--gold); }
.cd-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 var(--up); animation: ping 1.6s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.eq { display: inline-flex; align-items: flex-end; gap: 2.5px; height: 16px; }
.eq i { width: 3px; height: 30%; background: currentColor; border-radius: 2px; }
.playing .eq i { animation: eq 0.9s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -0.3s !important; }
.eq i:nth-child(3) { animation-delay: -0.6s !important; }
.eq i:nth-child(4) { animation-delay: -0.15s !important; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.sound[aria-pressed="true"] { color: var(--lagoon); }
.sound .eq { display: none; }
.sound.playing .eq { display: inline-flex; }
.sound.playing .ic { display: none; }

/* ---------------- Top bar ---------------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: var(--top-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gutter) 0 22px;
  transition: transform 0.6s var(--ease), opacity 0.6s;
}
.is-loading .topbar, .is-intro .topbar, .is-loading .tuner, .is-intro .tuner { opacity: 0; transform: translateY(-20px); pointer-events: none; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-name { font: 900 26px/1 var(--display); text-transform: uppercase; letter-spacing: 0.01em; }
.logo-disc {
  width: 34px; height: 34px; border-radius: 50%; flex: none; position: relative;
  background: conic-gradient(from 210deg, #ff3d7f, #ff8a3d, #ffd36b, #2ff3e0, #b46bff, #ff3d7f);
  -webkit-mask: radial-gradient(circle, transparent 4px, #000 4.5px);
  mask: radial-gradient(circle, transparent 4px, #000 4.5px);
  animation: spin 6s linear infinite;
}
.top-right { display: flex; align-items: center; gap: 8px; }
.wallet-wrap { position: relative; }
.wallet-btn.on { box-shadow: inset 0 0 0 1.5px var(--up); }
.wallet-pop {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; padding: 6px; border-radius: var(--r-md);
  background: rgba(10, 16, 36, 0.92); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1.5px var(--line), 0 20px 50px rgba(0, 0, 0, 0.4);
  display: grid; animation: popIn 0.25s var(--spring);
}
.wallet-pop > * { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 0; background: none; border-radius: 9px; text-align: left; text-decoration: none; font-weight: 600; font-size: 15px; }
.wallet-pop > *:hover { background: rgba(255, 244, 230, 0.08); }
@keyframes popIn { from { opacity: 0; transform: translateY(-6px) scale(0.97); } }

/* ---------------- Tuner nav ---------------- */
.tuner {
  position: fixed; left: 18px; top: 50%; z-index: 40; width: var(--tuner-w);
  transform: translateY(-46%); transition: opacity 0.6s, transform 0.6s var(--ease);
}
.tuner-face {
  position: relative; display: grid; gap: 2px; padding: 16px 12px 16px 28px; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(18, 26, 54, 0.82), rgba(10, 16, 36, 0.82));
  box-shadow: inset 0 0 0 1.5px var(--line), 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.tuner-scale {
  position: absolute; left: 12px; top: 16px; bottom: 16px; width: 8px;
  background: repeating-linear-gradient(180deg, rgba(255, 244, 230, 0.4) 0 1.5px, transparent 1.5px 6px);
  -webkit-mask: linear-gradient(90deg, #000 50%, rgba(0, 0, 0, 0.4) 50%); mask: linear-gradient(90deg, #000 50%, rgba(0, 0, 0, 0.4) 50%);
}
.tuner-needle {
  position: absolute; left: 6px; width: 20px; height: 3px; border-radius: 2px; top: 0;
  background: var(--flamingo); box-shadow: 0 0 12px var(--flamingo), 0 0 3px #fff;
  transition: transform 0.7s var(--spring);
}
.tuner a {
  display: grid; padding: 8px 6px; border-radius: 10px; text-decoration: none; color: var(--muted);
  transition: color 0.2s, background 0.2s, transform 0.3s var(--spring);
}
.tuner a b { font: 700 13px/1 var(--display); letter-spacing: 0.06em; color: inherit; opacity: 0.7; font-variant-numeric: tabular-nums; }
.tuner a span { font: 900 21px/1.05 var(--display); text-transform: uppercase; }
.tuner a:hover { color: var(--cream); transform: translateX(3px); }
.tuner a[aria-current="page"] { color: var(--cream); }
.tuner a[aria-current="page"] b { color: var(--flamingo); opacity: 1; }
.tuner-now { margin: 10px 0 0 6px; display: flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 700; color: var(--muted); }
.eq.mini { height: 11px; }
.eq.mini i { width: 2px; }

/* ---------------- Wanted stars ---------------- */
.wanted { position: fixed; right: var(--gutter); top: calc(var(--top-h) + 6px); z-index: 39; display: flex; gap: 3px; transition: opacity 0.4s; }
.wanted .ic { width: 18px; height: 18px; color: rgba(255, 244, 230, 0.35); stroke-width: 1.6; transition: color 0.3s, fill 0.3s, transform 0.4s var(--spring); }
.wanted .ic.on { color: var(--gold); fill: var(--gold); transform: scale(1.12); filter: drop-shadow(0 0 6px rgba(255, 211, 107, 0.8)); }
body[data-page="home"] .wanted, .is-loading .wanted, .is-intro .wanted { opacity: 0; }

/* ---------------- Toast ---------------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 120; transform: translate(-50%, 30px); opacity: 0;
  padding: 13px 18px; border-radius: 12px; background: var(--paper); color: var(--ink); font-weight: 700;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); transition: 0.35s var(--spring); pointer-events: none; max-width: min(92vw, 520px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- Intro ---------------- */
.intro { position: fixed; inset: 0; z-index: 90; }
.intro-load {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 22px; text-align: center; padding: 24px;
  background: radial-gradient(60% 55% at 50% 52%, rgba(10, 16, 36, 0.72), rgba(10, 16, 36, 0.2) 75%, rgba(10, 16, 36, 0.6)); transition: opacity 0.6s, visibility 0.6s;
}
.intro-logo { display: flex; align-items: center; gap: 16px; }
.intro-logo .logo-disc { width: 64px; height: 64px; -webkit-mask: radial-gradient(circle, transparent 7px, #000 7.5px); mask: radial-gradient(circle, transparent 7px, #000 7.5px); }
.intro-name { font: 900 clamp(48px, 7vw, 92px)/0.9 var(--display); text-transform: uppercase; }
.intro-bar { width: min(360px, 70vw); height: 4px; border-radius: 4px; background: rgba(255, 244, 230, 0.14); overflow: hidden; }
.intro-bar i { display: block; height: 100%; width: 0; background: var(--sunset); transition: width 0.3s; }
.intro-tip { margin: 0; max-width: 44ch; color: var(--muted); }
.intro-hint { margin: -6px 0 0; font-size: 13px; color: var(--muted); opacity: 0.7; }
.intro-enter:not(:disabled) { animation: breathe 2.2s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 10px 60px -6px rgba(255, 138, 61, 0.95); } }
.intro.driving .intro-load { opacity: 0; visibility: hidden; }
.intro.driving { pointer-events: none; }
.intro.driving .skip { pointer-events: auto; }
.lb { position: absolute; left: 0; right: 0; height: 0; background: #05070f; transition: height 0.9s var(--ease-io); z-index: 2; }
.lb-top { top: 0; } .lb-bot { bottom: 0; }
.intro.driving .lb { height: 10.5vh; }
.intro.out .lb { height: 0; }
.street-card { position: absolute; left: clamp(24px, 6vw, 90px); bottom: calc(10.5vh + 28px); z-index: 3; display: grid; opacity: 0; transform: translateX(-20px); transition: 0.6s var(--ease); }
.street-card.show { opacity: 1; transform: none; }
.street-name { font: 400 clamp(46px, 6vw, 86px)/1 var(--script); color: var(--cream); text-shadow: 0 4px 0 var(--flamingo), 0 10px 40px rgba(0, 0, 0, 0.6); }
.street-sub { font: 800 16px/1 var(--body); color: var(--gold); margin: 8px 0 0 10px; }
.skip { position: absolute; right: 24px; bottom: calc(10.5vh + 24px); z-index: 3; display: inline-flex; gap: 10px; align-items: center; background: rgba(10, 16, 36, 0.6); color: var(--cream); border: 0; padding: 10px 16px; border-radius: 999px; font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--line); }
.intro.out { opacity: 0; transition: opacity 0.8s; }

/* ---------------- Pages ---------------- */
main { position: relative; z-index: 10; }
.is-loading main, .is-intro main { visibility: hidden; }
.page { display: none; min-height: 100vh; padding: calc(var(--top-h) + 40px) 0 120px calc(var(--tuner-w) + 30px); }
.page.active { display: block; }
.page-head { margin-bottom: 34px; }

/* ---------------- Home ---------------- */
.page-home { padding-bottom: 0; display: none; }
.page-home.active { display: grid; grid-template-rows: 1fr auto; min-height: 100svh; }
.hero { align-self: end; padding: 0 var(--gutter) clamp(36px, 8vh, 90px) clamp(10px, 3vw, 40px); max-width: 1100px; }
.hero-title { font-size: clamp(64px, 10.4vw, 188px); line-height: 0.8; margin: 0 0 22px; text-shadow: 0 10px 60px rgba(10, 16, 36, 0.55); }
.ln-a { font-size: 0.5em; line-height: 0.95; color: var(--cream); }
.ln-b > span { color: var(--sun); }
.ln-b .grad, .hero-title .vi { background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 8px 30px rgba(10, 16, 36, 0.45)); }
.ln-b .grad { padding-right: 0.04em; }
.hero-title .vi { font-style: normal; display: inline-block; transform-origin: 50% 80%; background: linear-gradient(100deg, var(--gold), var(--sun)); -webkit-background-clip: text; background-clip: text; }
.page.in .hero-title .vi { animation: viPop 1.4s var(--spring) 0.9s both; }
@keyframes viPop { 0% { transform: scale(0.4) rotate(-12deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.ln-c { margin-top: -0.12em; padding-left: 0.12em; }
.ln-c .script { font-size: 0.5em; color: var(--cream); text-shadow: 0 4px 0 var(--flamingo); display: inline-block; transform: rotate(-4deg); }
.hero-sub { font-size: clamp(18px, 1.6vw, 22px); color: var(--cream); margin: 0 0 28px; opacity: 0; }
.page.in .hero-sub { animation: fadeUp 0.9s var(--ease) 0.7s both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; opacity: 0; }
.page.in .hero-actions { animation: fadeUp 0.9s var(--ease) 0.85s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.page-home .hero .ln:nth-child(1) { --l: 0; } .page-home .hero .ln:nth-child(2) { --l: 1; } .page-home .hero .ln:nth-child(3) { --l: 2; }

.tape { overflow: hidden; border-top: 1.5px solid var(--line); background: rgba(10, 16, 36, 0.62); backdrop-filter: blur(10px); height: 52px; margin-left: calc(-1 * (var(--tuner-w) + 30px)); position: relative; z-index: 2; }
.tape-track { display: flex; width: max-content; height: 100%; align-items: center; animation: tape 70s linear infinite; }
.tape:hover .tape-track { animation-play-state: paused; }
@keyframes tape { to { transform: translateX(-50%); } }
.tape a { display: inline-flex; align-items: center; gap: 10px; padding: 0 24px; height: 100%; text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap; border-right: 1.5px solid var(--line); }
.tape img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; background: var(--navy-2); }
.tape .sym { font: 900 18px/1 var(--display); text-transform: uppercase; }
.up { color: var(--up); } .down { color: var(--down); }

/* ---------------- Paper panels ---------------- */
.paper {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, 0.45), transparent 60%),
    var(--paper);
  color: var(--ink); border-radius: var(--r-lg);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.65), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

/* ---------------- Board ---------------- */
.board-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 26px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(10, 16, 36, 0.6); box-shadow: inset 0 0 0 1.5px var(--line); backdrop-filter: blur(12px); }
.seg button { border: 0; background: none; padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--muted); transition: background 0.25s, color 0.25s; }
.seg button[aria-selected="true"] { background: var(--cream); color: var(--navy); }
.search { flex: 1 1 260px; max-width: 380px; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-radius: 999px; background: rgba(10, 16, 36, 0.6); box-shadow: inset 0 0 0 1.5px var(--line); backdrop-filter: blur(12px); }
.search:focus-within { box-shadow: inset 0 0 0 1.5px var(--lagoon); }
.search input { flex: 1; background: none; border: 0; outline: 0; min-width: 0; }
.search input::placeholder { color: rgba(255, 244, 230, 0.5); }
.sort select { height: 46px; padding: 0 38px 0 16px; border-radius: 999px; border: 0; background: rgba(10, 16, 36, 0.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23fff4e6' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 15px center; box-shadow: inset 0 0 0 1.5px var(--line); appearance: none; font-weight: 700; }
.sort option { background: var(--navy); }
.live-badge { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-weight: 700; font-size: 14px; color: var(--muted); }
.live-badge i { width: 9px; height: 9px; border-radius: 50%; background: var(--up); animation: ping 1.6s infinite; }
.live-badge.err i { background: var(--down); }

.board-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 18px; }
.card {
  position: relative; display: grid; gap: 12px; padding: 16px; text-decoration: none; color: var(--ink);
  border-radius: var(--r-lg); background: var(--paper);
  box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.8);
  transform-style: preserve-3d; transition: transform 0.4s var(--ease), box-shadow 0.4s;
  will-change: transform;
}
.card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.6), transparent 60%); opacity: 0; transition: opacity 0.3s; }
.card:hover::before { opacity: 1; }
.card:hover { box-shadow: 0 34px 60px -24px rgba(255, 61, 127, 0.55); }
.card-top { display: flex; align-items: center; gap: 12px; }
.card-img { width: 54px; height: 54px; border-radius: 14px; object-fit: cover; background: var(--paper-2); flex: none; box-shadow: 0 0 0 2px var(--ink); }
.card-id { min-width: 0; }
.card-sym { font: 900 26px/0.95 var(--display); text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-name { font-size: 14px; color: #5a5470; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-stars { margin-left: auto; display: flex; gap: 1px; align-self: flex-start; }
.card-stars .ic, .poster-stars .ic { width: 13px; height: 13px; stroke-width: 1.6; color: rgba(20, 27, 51, 0.28); }
.card-stars .ic.on, .poster-stars .ic.on { color: var(--sun); fill: var(--sun); }
.card-price { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.card-price b { font: 900 27px/1 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.card-price .chg { flex: none; }
.chg { font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; padding: 3px 8px; border-radius: 7px; }
.chg.up { background: rgba(47, 227, 155, 0.2); color: #0d8a57; }
.chg.down { background: rgba(255, 77, 109, 0.16); color: #c4223f; }
.spark { width: 100%; height: 56px; display: block; overflow: visible; }
.card-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; font-size: 13px; }
.card-stats span { display: grid; color: #5a5470; }
.card-stats b { color: var(--ink); font-size: 15px; font-variant-numeric: tabular-nums; }
.card.flash-up { animation: flashUp 1.2s; } .card.flash-down { animation: flashDown 1.2s; }
@keyframes flashUp { 15% { box-shadow: 0 0 0 3px var(--up), 0 24px 50px -28px rgba(0, 0, 0, 0.8); } }
@keyframes flashDown { 15% { box-shadow: 0 0 0 3px var(--down), 0 24px 50px -28px rgba(0, 0, 0, 0.8); } }
.card.lead { grid-column: span 2; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-areas: 'top spark' 'price spark' 'stats spark'; align-items: center; column-gap: 22px; background: linear-gradient(140deg, var(--paper) 50%, #ffe3c7); }
.card.lead > .card-top { grid-area: top; } .card.lead > .card-price { grid-area: price; } .card.lead > .card-stats { grid-area: stats; } .card.lead > .lead-tag { position: absolute; }
.card.lead .spark { height: 150px; grid-area: spark; }
.card.lead .card-sym { font-size: 36px; }
.card.lead .card-img { width: 72px; height: 72px; border-radius: 18px; }
.lead-tag { position: absolute; top: -12px; left: 18px; font: 400 26px/1 var(--script); color: var(--flamingo); background: var(--navy); padding: 4px 14px 6px; border-radius: 999px; transform: rotate(-3deg); }
.skel { border-radius: var(--r-lg); height: 250px; background: linear-gradient(100deg, rgba(255, 244, 230, 0.06) 30%, rgba(255, 244, 230, 0.14) 50%, rgba(255, 244, 230, 0.06) 70%); background-size: 300% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }
.empty { grid-column: 1 / -1; padding: 40px; text-align: center; border-radius: var(--r-lg); background: rgba(10, 16, 36, 0.6); box-shadow: inset 0 0 0 1.5px var(--line); }
.empty p { margin: 0 0 14px; color: var(--muted); }

/* ---------------- Coin ---------------- */
.back { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; color: var(--muted); margin-bottom: 20px; }
.back:hover { color: var(--cream); }
.coin-layout { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 22px; align-items: start; }
.coin-id { min-width: 0; padding: 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; position: sticky; top: calc(var(--top-h) + 20px); }
.coin-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; background: var(--paper-2); box-shadow: 0 0 0 3px var(--ink); }
.coin-sym { font: 900 64px/0.85 var(--display); text-transform: uppercase; margin: 0; word-break: break-word; }
.coin-name { margin: -8px 0 0; color: #5a5470; font-weight: 600; }
.coin-desc { margin: 0; font-size: 15px; color: #3a3550; }
.ca-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(20, 27, 51, 0.07); font-size: 13px; font-variant-numeric: tabular-nums; border: 0; width: 100%; text-align: left; color: var(--ink); }
.ca-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.links { display: flex; flex-wrap: wrap; gap: 8px; }
.links a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 700; font-size: 14px; }
.links .ic { width: 16px; height: 16px; }
.coin-acts { display: flex; gap: 10px; }
.coin-acts .btn { flex: 1; }
.coin-main { display: grid; gap: 18px; min-width: 0; }
.chart-panel { padding: 22px; border-radius: var(--r-lg); background: rgba(10, 16, 36, 0.72); box-shadow: inset 0 0 0 1.5px var(--line); backdrop-filter: blur(14px); }
.chart-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.chart-price { font: 900 clamp(44px, 5vw, 72px)/0.9 var(--display); font-variant-numeric: tabular-nums; }
.chart-price small { font: 800 18px/1 var(--body); margin-left: 12px; vertical-align: middle; }
.tf { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); }
.tf button { border: 0; background: none; padding: 7px 12px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); }
.tf button[aria-pressed="true"] { background: var(--cream); color: var(--navy); }
.chart { position: relative; height: clamp(240px, 36vh, 380px); }
.chart svg { width: 100%; height: 100%; display: block; overflow: visible; }
.chart-tip { position: absolute; top: 0; pointer-events: none; padding: 8px 10px; border-radius: 10px; background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 700; white-space: nowrap; transform: translateX(-50%); opacity: 0; transition: opacity 0.15s; font-variant-numeric: tabular-nums; }
.chart-src { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { padding: 16px; border-radius: var(--r-md); background: rgba(10, 16, 36, 0.66); box-shadow: inset 0 0 0 1.5px var(--line); backdrop-filter: blur(12px); }
.stat span { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
.stat b { font: 900 30px/1.05 var(--display); font-variant-numeric: tabular-nums; }
.pressure { padding: 18px; border-radius: var(--r-md); background: rgba(10, 16, 36, 0.66); box-shadow: inset 0 0 0 1.5px var(--line); }
.pressure-bar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; margin: 10px 0 8px; background: var(--down); }
.pressure-bar i { background: var(--up); transition: width 0.8s var(--ease); }
.pressure-legend { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; }
.copy-meter { padding: 22px; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.copy-meter .big { font: 900 72px/0.8 var(--display); color: var(--flamingo); }
.copy-meter p { margin: 0; }
.copy-meter .k { font-weight: 800; }

/* ---------------- Launch ---------------- */
.launch-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.8fr); gap: 28px; align-items: start; }
.launch-form { padding: clamp(20px, 3vw, 34px); }
.steps { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; counter-reset: s; }
.steps button { width: 100%; display: flex; align-items: center; gap: 8px; padding: 10px; border: 0; border-radius: 12px; background: rgba(20, 27, 51, 0.06); color: #5a5470; font-weight: 700; font-size: 14px; transition: background 0.25s, color 0.25s; position: relative; overflow: hidden; }
.steps b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(20, 27, 51, 0.12); font-size: 13px; flex: none; }
.steps button[aria-current="step"] { background: var(--ink); color: var(--paper); }
.steps button[aria-current="step"] b { background: var(--sunset); color: var(--ink); }
.steps button.done b { background: var(--up); color: var(--ink); }
.step { border: 0; margin: 0; padding: 0; display: grid; gap: 18px; animation: stepIn 0.45s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(18px); } }
.field { display: grid; gap: 7px; }
.field label, .field .label { font-weight: 800; font-size: 15px; }
.opt { font-weight: 600; color: #7a7490; font-size: 13px; }
.field input[type="text"], .field input[type="url"], .field textarea, .field select, .prefix {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 0;
  background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(20, 27, 51, 0.18); outline: 0;
  transition: box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .field select:focus, .prefix:focus-within { box-shadow: inset 0 0 0 2px var(--flamingo), 0 0 0 4px rgba(255, 61, 127, 0.15); }
.prefix { display: flex; align-items: center; gap: 4px; padding: 0 0 0 14px; }
.prefix span { font-weight: 800; color: #7a7490; }
.prefix input { flex: 1; min-height: 50px; border: 0; outline: 0; background: none; padding: 0 14px 0 0; color: var(--ink); text-transform: none; }
#fTicker { text-transform: uppercase; }
.field.bad input, .field.bad textarea, .field.bad select, .field.bad .prefix, .field.bad .drop { box-shadow: inset 0 0 0 2px var(--down); }
.err { margin: 0; color: #c4223f; font-size: 14px; font-weight: 700; min-height: 0; }
.err:empty { display: none; }
.hint { margin: 0; font-size: 13px; color: #6a6480; }
.drop { position: relative; display: grid; place-items: center; min-height: 150px; border-radius: 14px; background: repeating-linear-gradient(135deg, rgba(20, 27, 51, 0.04) 0 10px, transparent 10px 20px), #fff; box-shadow: inset 0 0 0 2px rgba(20, 27, 51, 0.2); text-align: center; padding: 18px; transition: box-shadow 0.2s, transform 0.2s var(--spring); overflow: hidden; cursor: pointer; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop:hover, .drop.over { box-shadow: inset 0 0 0 2px var(--flamingo); transform: scale(1.01); }
.drop-empty { display: grid; justify-items: center; gap: 8px; color: #5a5470; font-size: 14px; font-weight: 600; max-width: 30ch; }
.drop-empty .ic { width: 30px; height: 30px; color: var(--flamingo); }
.drop-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.choice button { padding: 16px; border: 0; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(20, 27, 51, 0.18); font-weight: 800; text-align: left; color: var(--ink); transition: 0.2s; }
.choice button[aria-checked="true"] { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 2px var(--ink); }
.wallet-field { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 12px 12px 16px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(20, 27, 51, 0.18); font-size: 15px; font-weight: 600; }
.wallet-field.ok { box-shadow: inset 0 0 0 2px var(--up); }
.review { display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; margin: 0; padding: 18px; border-radius: 14px; background: #fff; }
.review dt { font-weight: 700; color: #6a6480; }
.review dd { margin: 0; font-weight: 700; word-break: break-word; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 600; }
.check input { width: 20px; height: 20px; accent-color: var(--flamingo); margin-top: 2px; flex: none; }
.form-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 26px; }

.preview { position: sticky; top: calc(var(--top-h) + 20px); perspective: 1000px; }
.poster {
  padding: 18px 18px 22px; border-radius: 6px; color: var(--ink);
  background: linear-gradient(180deg, #fff6ea, #f3dfc5); position: relative;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
  transform-style: preserve-3d; transition: transform 0.5s var(--ease);
}
.poster::after { content: ''; position: absolute; inset: 8px; border: 2px solid rgba(20, 27, 51, 0.8); border-radius: 3px; pointer-events: none; }
.poster-top { display: flex; justify-content: space-between; align-items: center; font: 900 30px/1 var(--display); text-transform: uppercase; padding: 6px 8px 12px; }
.poster-stars { display: flex; gap: 2px; }
.poster-img { aspect-ratio: 1; border-radius: 4px; overflow: hidden; background: var(--ink); display: grid; place-items: center; transform: translateZ(30px); }
.poster-img img { width: 100%; height: 100%; object-fit: cover; }
.pv-ph { font: 900 120px/1 var(--display); background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; }
.poster-name { font: 900 40px/0.9 var(--display); text-transform: uppercase; margin: 16px 8px 0; word-break: break-word; transform: translateZ(20px); }
.poster-tick { font: 400 30px/1 var(--script); color: var(--flamingo); margin: 4px 8px 6px; }
.poster-desc { margin: 0 8px 14px; font-size: 14px; color: #3a3550; min-height: 2.6em; }
.meter { margin: 0 8px; }
.meter-row { display: flex; justify-content: space-between; font-size: 13px; font-weight: 800; }
.meter-bar { height: 12px; border-radius: 6px; background: rgba(20, 27, 51, 0.12); overflow: hidden; margin-top: 6px; }
.meter-bar i { display: block; height: 100%; width: 0; background: var(--sunset); transition: width 1s var(--ease); }
.preview-note { font-size: 14px; color: var(--muted); margin: 16px 4px 0; }
.preview-note b { color: var(--cream); }

.confirm { display: grid; justify-items: center; gap: 20px; padding: 20px 0; text-align: center; outline: 0; }
.confirm-script { margin: 0; font: 400 clamp(60px, 9vw, 130px)/1 var(--script); color: var(--gold); text-shadow: 0 6px 0 var(--flamingo), 0 20px 60px rgba(0, 0, 0, 0.5); animation: stamp 0.9s var(--spring) both; }
@keyframes stamp { from { transform: scale(2.2) rotate(-8deg); opacity: 0; } }
.confirm-card { width: min(640px, 100%); padding: 26px; text-align: left; display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; animation: fadeUp 0.7s var(--ease) 0.4s both; }
.confirm-card img, .confirm-card .ph { width: 120px; height: 120px; border-radius: 16px; object-fit: cover; background: var(--ink); }
.confirm-card h2 { font: 900 44px/0.9 var(--display); text-transform: uppercase; margin: 0 0 6px; }
.confirm-card p { margin: 0 0 4px; }
.route { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 800; font-size: 14px; }
.route span { padding: 8px 12px; border-radius: 999px; background: rgba(20, 27, 51, 0.08); }
.route i { width: 22px; height: 2px; background: var(--flamingo); position: relative; }
.route i::after { content: ''; position: absolute; right: -1px; top: -3px; border: 4px solid transparent; border-left-color: var(--flamingo); border-right: 0; }
.confirm-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; animation: fadeUp 0.7s var(--ease) 0.6s both; }

/* ---------------- Stash ---------------- */
.stash-layout { display: grid; grid-template-columns: 1fr minmax(260px, 340px); gap: 28px; align-items: start; }
.deck-zone { display: grid; justify-items: center; gap: 22px; }
.deck { position: relative; width: min(360px, 86vw); height: 470px; perspective: 1200px; }
.swipe {
  position: absolute; inset: 0; border-radius: 26px; padding: 18px; display: grid; grid-template-rows: auto 1fr auto auto; gap: 12px;
  background: var(--paper); color: var(--ink); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.8);
  touch-action: none; user-select: none; transition: transform 0.45s var(--ease), opacity 0.45s;
}
.swipe img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 18px; background: var(--ink); pointer-events: none; }
.swipe .sw-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.swipe .sw-sym { font: 900 40px/0.9 var(--display); text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.swipe .sw-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; font-size: 13px; color: #5a5470; }
.swipe .sw-stats b { display: block; color: var(--ink); font-size: 16px; }
.swipe .stamp { position: absolute; top: 34px; padding: 6px 14px; border: 4px solid; border-radius: 10px; font: 900 40px/1 var(--display); text-transform: uppercase; opacity: 0; pointer-events: none; }
.swipe .stamp.keep { left: 26px; color: #0d8a57; transform: rotate(-14deg); }
.swipe .stamp.pass { right: 26px; color: #c4223f; transform: rotate(14deg); }
.swipe:nth-last-child(2) { transform: translateY(14px) scale(0.95); }
.swipe:nth-last-child(3) { transform: translateY(28px) scale(0.9); opacity: 0.7; }
.swipe:nth-last-child(n+4) { opacity: 0; transform: translateY(28px) scale(0.9); }
.swipe.dragging { transition: none; }
.deck-empty { position: absolute; inset: 0; display: grid; place-content: center; gap: 12px; text-align: center; padding: 30px; border-radius: 26px; background: rgba(10, 16, 36, 0.6); box-shadow: inset 0 0 0 2px var(--line); }
.deck-empty p { margin: 0; color: var(--muted); }
.deck-actions { display: flex; gap: 22px; }
.round { width: 74px; height: 74px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--paper); transition: transform 0.3s var(--spring); box-shadow: 0 16px 40px -14px rgba(0, 0, 0, 0.7); }
.round .ic { width: 30px; height: 30px; stroke-width: 2.4; }
.round-pass { color: #c4223f; } .round-keep { color: var(--flamingo); }
.round-keep .ic { fill: var(--flamingo); }
.round:hover { transform: scale(1.1) rotate(-6deg); }
.deck-keys { margin: 0; font-size: 14px; color: var(--muted); }
.stash-list { padding: 22px; position: sticky; top: calc(var(--top-h) + 20px); }
.stash-head { display: flex; align-items: center; justify-content: space-between; }
.count { font: 900 28px/1 var(--display); color: var(--flamingo); }
.sync { margin: 0 0 12px; font-size: 14px; color: #5a5470; }
.kept { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; max-height: 52vh; overflow: auto; }
.kept li { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; background: #fff; animation: fadeUp 0.4s var(--ease); }
.kept img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; background: var(--ink); }
.kept a { flex: 1; min-width: 0; text-decoration: none; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kept button { border: 0; background: none; color: #7a7490; padding: 6px; border-radius: 8px; }
.kept button:hover { color: #c4223f; background: rgba(196, 34, 63, 0.08); }
.kept .none { background: none; color: #5a5470; font-weight: 600; padding: 4px 0; }

/* ---------------- How ---------------- */
.plan { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan-step { position: relative; padding: 26px; border-radius: var(--r-lg); background: rgba(10, 16, 36, 0.66); box-shadow: inset 0 0 0 1.5px var(--line); backdrop-filter: blur(14px); overflow: hidden; }
.plan-step p { margin: 0; color: var(--muted); }
.plan-n { display: block; font: 900 120px/0.8 var(--display); background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 16px; }
.plan-step:not(:last-child)::after { content: ''; position: absolute; right: 22px; top: 50px; width: 46px; height: 2px; background: var(--line); }

.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: clamp(22px, 3vw, 40px); margin-bottom: 40px; align-items: center; }
.calc p { margin: 0 0 20px; color: #5a5470; }
.calc input[type="range"] { width: 100%; height: 28px; -webkit-appearance: none; appearance: none; background: none; }
.calc input[type="range"]::-webkit-slider-runnable-track { height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--flamingo), var(--sun) var(--p, 40%), rgba(20, 27, 51, 0.15) var(--p, 40%)); }
.calc input[type="range"]::-moz-range-track { height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--flamingo), var(--sun) var(--p, 40%), rgba(20, 27, 51, 0.15) var(--p, 40%)); }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; margin-top: -10px; background: conic-gradient(#ffd36b, #ff3d7f, #2ff3e0, #ffd36b); border: 4px solid var(--ink); }
.calc input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--gold); border: 4px solid var(--ink); }
.calc-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.calc-out .k { display: block; font-size: 13px; font-weight: 700; color: #6a6480; }
.calc-out b { font: 900 clamp(28px, 3vw, 44px)/1 var(--display); font-variant-numeric: tabular-nums; }
.calc-out div:last-child b { color: var(--flamingo); }
.calc-shelf { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-end; min-height: 200px; padding: 18px; border-radius: 18px; background: var(--ink); }
.case { width: 46px; height: 62px; border-radius: 5px; position: relative; background: linear-gradient(160deg, #ff8a3d, #ff3d7f 55%, #4b1d5c); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2); animation: caseIn 0.5s var(--spring) both; display: grid; place-items: center; font: 900 18px/1 var(--display); color: rgba(255, 255, 255, 0.95); }
.case::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 9px; background: rgba(10, 16, 36, 0.85); border-radius: 5px 5px 0 0; }
@keyframes caseIn { from { transform: translateY(-30px) rotate(-12deg); opacity: 0; } }
.shelf-more { align-self: center; font: 900 30px/1 var(--display); color: var(--gold); }
.shelf-empty { color: var(--muted); margin: auto; font-weight: 600; }

.crew { margin-bottom: 40px; }
.crew-stage { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; align-items: stretch; }
.crew-picks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pick {
  position: relative; border: 0; padding: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4.4;
  background: linear-gradient(180deg, var(--c1), var(--c2)); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.1);
  transition: transform 0.5s var(--spring), box-shadow 0.3s, filter 0.3s; filter: saturate(0.6) brightness(0.8);
}
.pick svg { position: absolute; inset: auto 0 0 0; width: 100%; height: 88%; transition: transform 0.6s var(--spring); }
.pick span { position: absolute; left: 10px; top: 10px; font: 900 20px/0.95 var(--display); text-transform: uppercase; text-align: left; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4); }
.pick:hover { filter: none; transform: translateY(-6px); }
.pick:hover svg { transform: scale(1.06) translateY(-4px); }
.pick[aria-selected="true"] { filter: none; transform: translateY(-10px); box-shadow: inset 0 0 0 3px var(--gold), 0 24px 50px -20px var(--c1); }
.crew-card { padding: 26px; display: grid; align-content: start; gap: 12px; }
.crew-card h3 { font: 900 46px/0.9 var(--display); text-transform: uppercase; margin: 0; }
.crew-card .quote { font: 400 28px/1.1 var(--script); color: var(--flamingo); margin: 0; }
.crew-card p { margin: 0; }
.crew-card ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.crew-card .eta { margin-top: 6px; padding: 12px 14px; border-radius: 12px; background: var(--ink); color: var(--paper); font-weight: 700; }
.crew-card .eta b { color: var(--gold); }
.crew-card.swap { animation: cardSwap 0.45s var(--ease); }
@keyframes cardSwap { from { opacity: 0; transform: translateY(12px) rotate(-1deg); } }

.faq { margin-bottom: 40px; max-width: 820px; }
.faq details { border-bottom: 1.5px solid var(--line); }
.faq summary { list-style: none; padding: 20px 40px 20px 0; font: 900 26px/1.05 var(--display); text-transform: uppercase; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 14px; font: 900 34px/1 var(--display); color: var(--flamingo); transition: transform 0.35s var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); max-width: 64ch; }
.foot { padding-top: 26px; border-top: 1.5px solid var(--line); font-size: 14px; color: var(--muted); display: grid; gap: 8px; }
.foot p { margin: 0; max-width: 80ch; }

/* ---------------- Magnetic + tilt helpers ---------------- */
.magnet { will-change: transform; }
.tilt { will-change: transform; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1180px) {
  .coin-layout, .launch-layout, .stash-layout, .crew-stage, .calc { grid-template-columns: 1fr; }
  .coin-id, .preview, .stash-list { position: static; }
  .preview { max-width: 420px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --tuner-w: 0px; --top-h: 64px; }
  .tuner { left: 10px; right: 10px; top: auto; bottom: 10px; width: auto; transform: none; }
  .tuner-face { grid-auto-flow: column; padding: 8px; gap: 0; overflow-x: auto; }
  .tuner-scale, .tuner-needle, .tuner-now { display: none; }
  .tuner a { text-align: center; padding: 8px 10px; }
  .tuner a b { font-size: 11px; }
  .tuner a span { font-size: 16px; white-space: nowrap; }
  .tuner a[aria-current="page"] { background: rgba(255, 244, 230, 0.1); }
  .page { padding: calc(var(--top-h) + 24px) 0 110px; }
  .page-home.active { padding-bottom: 86px; }
  .tape { margin-left: 0; }
  .countdown, .brand-name { display: none; }
  .ca-pill [data-ca] { max-width: 8ch; }
  .wanted { display: none; }
  .plan { grid-template-columns: 1fr; }
  .crew-picks { grid-template-columns: repeat(2, 1fr); }
  .card.lead { grid-column: auto; grid-template-columns: 1fr; grid-template-areas: 'top' 'price' 'spark' 'stats'; }
  .card.lead .spark { height: 90px; }
  .live-badge { margin-left: 0; }
  .steps button { font-size: 0; justify-content: center; }
  .steps b { font-size: 13px; }
}
@media (max-width: 560px) {
  .top-right { gap: 6px; }
  .pill { height: 38px; padding: 0 11px; }
  .pill-icon { width: 38px; }
  .sound { display: none; }
  .hero-actions .btn { width: 100%; }
  .copy-meter { grid-template-columns: 1fr; }
  .calc-out { grid-template-columns: 1fr 1fr; }
  .confirm-card { grid-template-columns: 1fr; }
  .hero-title { font-size: 86px; }
  #walletLabel { display: none; }
  .wallet-btn { width: 38px; padding: 0; justify-content: center; }
  .wallet-btn.on #walletLabel { display: none; }
  .seg button { padding: 9px 11px; font-size: 13px; white-space: nowrap; }
  .brand .logo-disc { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .ln > span { transform: none; }
  .tape-track { animation: none; }
}
