/*
  Concept: a trading terminal for your education. Your diploma is a token on a
  bonding curve; every lecture you watch pushes it toward graduation.

  Palette: pump.fun's own design tokens (read from pump.fun's stylesheet)
    black      #0b0b0e  page            (bg-primary)
    surface    #131316  panels          (bg-secondary)
    surface-2  #1b1b1f  raised          (bg-tertiary)
    line       #232327  borders         (border-secondary)
    text       #e4e4e7  body copy       (text-primary)
    dim        #a1a1aa  secondary copy  (text-tertiary)
    green      #86efac  accent, buttons, watched  (bg-accent, text on it #052e16)
    amber      #facc15  in progress     (warning)

  Type: Archivo only. Width axis does the work: expanded for display, normal for body.
*/
:root {
  --black: #0b0b0e;
  --surface: #131316;
  --surface-2: #1b1b1f;
  --line: #232327;
  --text: #e4e4e7;
  --dim: #a1a1aa;
  --green: #86efac;
  --green-hover: #bbf7d0;
  --on-green: #052e16;
  --amber: #facc15;
  --sidebar: 220px;
  --pill: 999px;
  --r: 4px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--black);
  color: var(--text);
  font-family: Archivo, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.dim { color: var(--dim); }
.small { font-size: 13px; }
.green { color: var(--green); }
.amber { color: var(--amber); }

/* Display type: expanded width, tight tracking */
.display { font-stretch: 125%; font-weight: 800; letter-spacing: -.02em; line-height: .98; }

/* ---------- Buttons: pills, like the logo ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: var(--pill); border: 1px solid var(--line);
  background: transparent; font-weight: 600; font-size: 14px; white-space: nowrap;
}
.btn:hover { border-color: var(--dim); }
.btn-primary { background: var(--green); border-color: var(--green); color: var(--on-green); }
.btn-primary:hover { background: var(--green-hover); border-color: var(--green-hover); }
.btn-lg { height: 48px; padding: 0 24px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- Shell ---------- */
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: var(--sidebar); z-index: 20;
  border-right: 1px solid var(--line); background: var(--black);
  display: flex; flex-direction: column; padding: 20px 0;
}
.main { margin-left: var(--sidebar); min-height: 100vh; display: flex; flex-direction: column; }
.view { flex: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 32px 32px 64px; }

.brand { display: flex; align-items: center; gap: 8px; padding: 0 16px; }
.brand-logo { height: 28px; width: auto; flex: none; }
.brand-name { font-stretch: 125%; font-weight: 800; font-size: 15px; letter-spacing: -.02em; white-space: nowrap; }
.brand-mobile { display: none; }

.nav { display: flex; flex-direction: column; margin-top: 28px; }
.nav a { padding: 9px 20px; color: var(--dim); font-weight: 500; border-left: 2px solid transparent; }
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--text); border-left-color: var(--green); }
.sidebar-foot { margin-top: auto; padding: 0 20px; }
.sidebar-foot p { margin: 0; }

.topbar {
  position: sticky; top: 0; z-index: 15; display: flex; align-items: center; gap: 16px;
  height: 60px; padding: 0 32px; background: var(--black); border-bottom: 1px solid var(--line);
}
.search {
  flex: 1; max-width: 440px; display: flex; align-items: center; gap: 10px;
  height: 38px; padding: 0 16px; border-radius: var(--pill); border: 1px solid var(--line); color: var(--dim);
}
.search:focus-within { border-color: var(--dim); }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: inherit; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }

/* ---------- Activity ticker ---------- */
.ticker { overflow: hidden; border-bottom: 1px solid var(--line); font-size: 13px; }
.ticker-track { display: flex; width: max-content; animation: scroll 80s linear infinite; cursor: copy; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tick { display: inline-flex; align-items: center; gap: 8px; padding: 8px 20px; border-right: 1px solid var(--line); white-space: nowrap; color: var(--dim); }
.tick b { color: var(--text); font-weight: 600; }
.tick i { width: 6px; height: 6px; border-radius: 50%; background: var(--dim); }
.tick.done i { background: var(--green); }
.tick.watch i { background: var(--amber); }
.tick.grad { color: var(--text); }
.tick.grad i { background: var(--text); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Bars ---------- */
.bar { height: 4px; background: var(--line); }
.bar i { display: block; height: 100%; background: var(--green); }
.bar.amber i { background: var(--amber); }

/* ---------- Hero: the curve ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 300px; border: 1px solid var(--line); margin-bottom: 48px; }
.hero-main { padding: 32px 32px 20px; border-right: 1px solid var(--line); }
.hero h1 { font-size: clamp(34px, 4.6vw, 60px); margin: 0 0 12px; max-width: 12ch; }
.hero-lede { color: var(--dim); max-width: 46ch; margin: 0; font-size: 16px; }
.curve { display: block; width: 100%; height: auto; margin-top: 20px; overflow: visible; }
.curve .fill-clip { transition: width .9s cubic-bezier(.2,.7,.2,1); }
.hero-side { padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; }
.hero-side h2 { margin: 0; font-size: 13px; font-weight: 500; color: var(--dim); }
.next-title { font-stretch: 112%; font-weight: 700; font-size: 22px; line-height: 1.15; letter-spacing: -.01em; margin: 0; }
.next-desc { color: var(--dim); margin: 0; font-size: 14px; }
.hero-side .btn { margin-top: auto; }
.holders { border-top: 1px solid var(--line); padding-top: 14px; font-size: 13px; color: var(--dim); }
.holders b { color: var(--text); font-weight: 600; }

/* ---------- Lecture feed ---------- */
.feed-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.feed-head h2 { margin: 0; font-size: 28px; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.tab { height: 32px; padding: 0 14px; border-radius: var(--pill); border: 1px solid transparent; background: none; color: var(--dim); font-size: 14px; font-weight: 500; }
.tab:hover { color: var(--text); }
.tab.active { border-color: var(--line); color: var(--text); background: var(--surface); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.coin { display: flex; gap: 16px; padding: 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.coin:hover { background: var(--surface); }
.coin-body { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.coin-title { font-weight: 700; font-size: 16px; line-height: 1.25; margin: 0 0 2px; }
.coin-ticker { color: var(--dim); font-weight: 500; font-size: 13px; }
.coin-desc { color: var(--dim); font-size: 13px; margin: 6px 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.coin-foot { margin-top: auto; display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; }
.empty { padding: 48px 16px; color: var(--dim); text-align: center; grid-column: 1 / -1; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Generated "coin image": lecture number + its own little chart */
.tile { position: relative; width: 96px; height: 96px; flex: none; background: var(--surface-2); border-radius: var(--r); overflow: hidden; }
.tile svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tile .n { position: absolute; left: 8px; top: 4px; font-stretch: 125%; font-weight: 800; font-size: 28px; letter-spacing: -.03em; }
/* Square card image (lecture.tile); the lecture number becomes a small badge */
.tile.has-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile.has-thumb .n { top: 6px; left: 6px; font-size: 13px; padding: 1px 7px; border-radius: var(--pill); background: var(--black); color: var(--text); letter-spacing: 0; }
.tile.sm.has-thumb .n { display: none; }
.tile.sm { width: 40px; height: 40px; }
.ai-note { margin: 10px 0 0; font-size: 13px; color: var(--dim); }

/* Chapters, transcript, quiz (lectures with a meta file) */
.chapters { margin: 0 0 24px; }
.chapters h2, .quiz h2 { font-size: 15px; margin: 0 0 10px; }
.chapter-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.chapter, .tline {
  display: flex; gap: 12px; align-items: baseline; text-align: left; background: none; border: 0;
  color: var(--text); font: inherit; font-size: 14px; padding: 10px 12px; cursor: pointer;
}
.chapter { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.chapter:hover, .tline:hover { background: var(--surface); }
.chapter.current { background: var(--surface-2); box-shadow: inset 2px 0 0 var(--green); }
.ct { color: var(--dim); font-size: 13px; flex: none; min-width: 34px; }
.chapter.current .ct, .tline.current .ct { color: var(--green); }
.transcript { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 16px; }
.transcript summary { cursor: pointer; font-weight: 600; }
.transcript > div { display: flex; flex-direction: column; margin-top: 10px; max-height: 360px; overflow: auto; }
.tline { padding: 6px 8px; border-radius: var(--r); }
.tline.current { background: var(--surface-2); }
.quiz { margin-top: 28px; border: 1px solid var(--amber); padding: 18px 20px; }
.quiz h2 { color: var(--amber); }
.quiz p { margin: 0; }
.quiz-q { font-weight: 600; font-size: 17px; margin-bottom: 14px !important; }
.quiz-opts { display: grid; gap: 8px; }
.quiz-opt {
  text-align: left; padding: 12px 16px; border-radius: var(--pill); border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font: inherit; font-size: 15px; cursor: pointer;
}
.quiz-opt:hover { border-color: var(--dim); }
.quiz-opt.wrong { border-color: var(--red); color: var(--red); animation: nope .3s; }
.quiz-msg { margin-top: 12px !important; color: var(--red); min-height: 1.4em; }
@keyframes nope { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.quiz-next { margin-top: 14px !important; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* XP + streak chips in the top bar */
.chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--pill); border: 1px solid var(--line); font-size: 13px; font-weight: 600; white-space: nowrap; }
.chip:hover { border-color: var(--dim); }
.chip-xp { color: var(--green); }
.bag-stats { display: flex; gap: 28px; flex-wrap: wrap; margin: -16px 0 28px; color: var(--dim); }
.bag-stats b { color: var(--text); font-size: 20px; margin-right: 4px; }

/* Clips to share */
.clips { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 18px; }
.clips:empty { display: none; }
.clips h2 { font-size: 15px; margin: 0 0 4px; }
.clip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; margin-top: 14px; }
.clip { margin: 0; }
.clip video { width: 100%; aspect-ratio: 9 / 16; background: #000; border: 1px solid var(--line); display: block; }
.clip figcaption { font-size: 13px; margin: 8px 0; line-height: 1.3; }
.clip-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.clip-actions .btn { height: 32px; padding: 0 12px; font-size: 13px; }

/* Spot the larp */
.spot { max-width: 680px; }
.spot-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.spot-head h1, .spot h1 { font-size: clamp(30px, 4vw, 46px); margin: 0; }
.post { margin: 28px 0 20px; padding: 20px 22px; border: 1px solid var(--line); background: var(--surface); border-radius: 14px; }
.post-who { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; font-weight: 700; color: var(--dim); }
.post-text { font-size: 19px; line-height: 1.45; margin: 0; }
.spot-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.spot-btn.right { border-color: var(--green); color: var(--green); }
.spot-btn.wrong { border-color: var(--red); color: var(--red); animation: nope .3s; }
.spot-btn:disabled { opacity: 1; cursor: default; }
.spot-why { margin: 18px 0 0; min-height: 1.5em; line-height: 1.5; }
.spot-why .btn { margin-top: 14px; display: flex; width: fit-content; }
.spot-score { font-size: 20px; margin: 14px 0 6px; }
.spot-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.red { color: var(--red); }
@media (max-width: 860px) { .chip { height: 28px; padding: 0 9px; font-size: 12px; } }
.tile.sm .n { font-size: 14px; left: 5px; top: 2px; }

/* ---------- Lecture page ---------- */
.back { display: inline-block; color: var(--dim); margin-bottom: 20px; }
.back:hover { color: var(--text); }
.lecture { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.player { position: relative; aspect-ratio: 16 / 9; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.player video { width: 100%; height: 100%; display: block; background: #000; }
.stage { position: absolute; inset: 0; padding: 28px; display: flex; flex-direction: column; }
.stage-title { font-size: clamp(26px, 4vw, 52px); max-width: 14ch; margin: 0; }
.stage-note { color: var(--dim); font-size: 13px; margin-top: 10px; }
.stage-chart { position: absolute; left: 0; right: 0; bottom: 56px; height: 45%; width: 100%; }
.controls { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--black); }
.controls .bar { flex: 1; }
.controls .time { font-size: 13px; color: var(--dim); min-width: 96px; text-align: right; }
.play { height: 32px; padding: 0 16px; border-radius: var(--pill); border: 0; background: var(--green); color: var(--on-green); font-weight: 600; font-size: 13px; }
.play:hover { background: var(--green-hover); }

.lec-head { margin: 24px 0 12px; }
.lec-head h1 { font-size: clamp(28px, 3.4vw, 40px); margin: 4px 0 0; }
.lec-meta { color: var(--dim); font-size: 14px; display: flex; gap: 16px; flex-wrap: wrap; }
.lec-desc { color: var(--dim); max-width: 64ch; margin: 0 0 24px; font-size: 16px; }
.learn { border-top: 1px solid var(--line); padding-top: 20px; }
.learn h2 { font-size: 15px; margin: 0 0 10px; }
.learn ul { margin: 0; padding-left: 18px; color: #d4d4d8; }
.learn li { margin-bottom: 4px; }
.lec-actions { margin-top: 28px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

.lec-side { position: sticky; top: 84px; border: 1px solid var(--line); }
.side-block { padding: 16px; border-bottom: 1px solid var(--line); }
.side-block:last-child { border-bottom: 0; }
.side-block h2 { font-size: 13px; font-weight: 500; color: var(--dim); margin: 0 0 10px; }
.side-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; }
.playlist { display: flex; flex-direction: column; padding: 4px 0; }
.pl-item { display: flex; gap: 12px; align-items: center; padding: 8px 16px; font-size: 14px; }
.pl-item:hover { background: var(--surface); }
.pl-item.current { background: var(--surface-2); }
.pl-item .t { flex: 1; min-width: 0; line-height: 1.25; }
.pl-item .s { font-size: 13px; flex: none; }

/* ---------- Progress ---------- */
.summary { font-size: clamp(20px, 2.4vw, 28px); line-height: 1.3; max-width: 30ch; margin: 0 0 32px; font-stretch: 112%; font-weight: 600; letter-spacing: -.01em; }
.summary span { color: var(--dim); }
.table-wrap { border: 1px solid var(--line); overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-weight: 500; color: var(--dim); padding: 12px 16px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr { cursor: pointer; }
.table tbody tr:hover td { background: var(--surface); }
.table .lc { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.table .bar { width: 120px; }
.reset { margin-top: 24px; background: none; border: 0; color: var(--dim); text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.reset:hover { color: var(--text); }

/* ---------- Diploma ---------- */
.diploma-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.cert-frame { border: 1px solid var(--line); }
.cert-frame svg { display: block; width: 100%; height: auto; }
.cert-preview { margin: 24px 0 8px; user-select: none; pointer-events: none; } /* look, don't save */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 14px; color: var(--dim); }
.field input { height: 44px; padding: 0 16px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--black); color: var(--text); font: inherit; outline: 0; }
.field input:focus { border-color: var(--dim); }
.cert-side .btn + .btn { margin-top: 10px; }
.locked { max-width: 760px; }
.locked h1 { font-size: clamp(32px, 4vw, 52px); margin: 0 0 12px; }
.locked p { color: var(--dim); margin: 0 0 8px; max-width: 52ch; }
.checklist { border-top: 1px solid var(--line); margin: 28px 0; }
.checklist a { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.checklist a:hover .t { text-decoration: underline; text-underline-offset: 3px; }
.checklist .box { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--dim); flex: none; }
.checklist .done .box { background: var(--green); border-color: var(--green); }
.checklist .done .t { color: var(--dim); }
.checklist .s { margin-left: auto; font-size: 13px; color: var(--dim); }

/* ---------- How it works ---------- */
.how h1 { font-size: clamp(32px, 4vw, 52px); margin: 0 0 32px; max-width: 14ch; }
.steps { list-style: none; padding: 0; margin: 0 0 32px; border-top: 1px solid var(--line); counter-reset: s; max-width: 760px; }
.steps li { display: grid; grid-template-columns: 64px 1fr; padding: 20px 0; border-bottom: 1px solid var(--line); counter-increment: s; }
.steps li::before { content: counter(s); font-stretch: 125%; font-weight: 800; font-size: 28px; line-height: 1; }
.steps h2 { margin: 0 0 4px; font-size: 18px; }
.steps p { margin: 0; color: var(--dim); max-width: 56ch; }

/* ---------- Footer, toasts ---------- */
.footer { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 20px 32px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.toasts { position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 8px; z-index: 50; }
.toast { background: var(--text); color: var(--black); padding: 12px 18px; border-radius: var(--pill); font-size: 14px; font-weight: 500; }
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 60; width: 100vw; height: 100vh; }
.bottom-nav { display: none; }

/* ---------- Degen layer: stickers, scribbles, king of the hill, shake ---------- */
/* Comic Neue is the "shitpost" voice: only for stickers and hand-written notes. */
.sticker, .scribble text, .gm { font-family: "Comic Neue", "Comic Sans MS", cursive; font-weight: 700; }
.hero-main { position: relative; }
.sticker {
  position: absolute; z-index: 2; padding: 4px 12px; border-radius: var(--pill);
  font-size: 15px; line-height: 1.3; border: 2px solid var(--black); box-shadow: 3px 3px 0 var(--black);
  user-select: none; transition: transform .15s;
}
.sticker:hover { transform: rotate(0deg) scale(1.08) !important; }
.sticker.s1 { top: 22px; right: 28px; background: var(--amber); color: #422006; transform: rotate(9deg); }
.sticker.s2 { top: 64px; right: 92px; background: var(--green); color: var(--on-green); transform: rotate(-7deg); }
.sticker.s3 { top: 108px; right: 24px; background: #f472b6; color: #831843; transform: rotate(4deg); }
.gm { color: var(--green); font-size: 16px; margin: 0 0 6px !important; }

.king { border: 1px solid var(--amber); margin: -1px -1px -1px 0; background: linear-gradient(var(--surface), var(--surface)); }
.king h2 { color: var(--amber); font-size: 15px; font-weight: 700; }

/* pump.fun shakes the coin that's moving. We shake your next lecture, every few seconds. */
.coin.shake { animation: shake 4s ease-in-out infinite; position: relative; z-index: 1; }
.coin.shake { box-shadow: inset 0 0 0 1px var(--amber); }
@keyframes shake {
  0%, 82%, 100% { transform: none; }
  84% { transform: translate(-2px, 1px) rotate(-1.2deg); }
  86% { transform: translate(2px, -1px) rotate(1.2deg); }
  88% { transform: translate(-2px, 0) rotate(-.8deg); }
  90% { transform: translate(2px, 1px) rotate(.8deg); }
  92% { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; }
  .hero-main { border-right: 0; border-bottom: 1px solid var(--line); }
  .lecture, .diploma-wrap { grid-template-columns: 1fr; }
  .lec-side { position: static; }
}
@media (max-width: 860px) {
  .sidebar { display: none; }
  .main { margin-left: 0; padding-bottom: 60px; }
  .brand-mobile { display: flex; padding: 0; }
  .brand-mobile .brand-name { display: none; }
  .topbar { padding: 0 16px; gap: 12px; }
  .view { padding: 24px 16px 48px; }
  .footer { padding: 16px; }
  .hide-sm { display: none; }
  .hero-main { padding: 24px 20px 12px; }
  .sticker { position: relative; display: inline-block; top: auto !important; right: auto !important; margin: 0 6px 18px 0; font-size: 13px; }
  .hero-side { padding: 20px; }
  .grid { grid-template-columns: 1fr; }
  .tile { width: 80px; height: 80px; }
  .stage { padding: 18px; }
  .stage-note { display: none; }
  .bottom-nav {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: var(--black); border-top: 1px solid var(--line);
  }
  .bottom-nav a { padding: 14px 0 16px; text-align: center; font-size: 13px; color: var(--dim); }
  .bottom-nav a.active { color: var(--text); box-shadow: inset 0 2px 0 var(--green); }
  .toasts { bottom: 72px; left: 16px; right: 16px; }
  .toast { border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .curve .fill-clip { transition: none; }
  .coin.shake { animation: none; }
}
