/* WIRE — tokens from the dev brief. Light is the default, dark via [data-theme="dark"]. */
:root {
  --bg: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.82);
  --surface: #f6faf7;
  --border: #e5ede7;
  --border-strong: #d7e3da;
  --text: #101613;
  --text-2: #4a5d52;
  --accent: #166534;
  --accent-ink: #ffffff;      /* text on an accent fill */
  --accent-text: #166534;     /* accent used as text */
  --accent-hover: #0f4a26;
  --tint: #eaf6ee;
  --tint-border: #cbe7d4;
  --avatar: #dcefe2;
  --neg: #9a3412;
  --band: #0f1712;            /* dark stat band on light pages */
  --band-border: #24352a;
  --band-text: #f2f7f3;
  --band-text-2: #9fb3a6;
  --band-money: #4ade80;
  --band-panel: #101a14;
  --band-panel-border: #234731;
  --bar-1: #dcefe2; --bar-2: #a7d9b8; --bar-3: #52b788; --bar-4: #166534;
  --sk: #edf3ef;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "Chivo Mono", "IBM Plex Mono", ui-monospace, monospace; /* plain zero: Google's Plex Mono has its undotted-0 alternate stripped */
  --gutter: clamp(16px, 4.4vw, 64px);
  --gap: clamp(20px, 2.8vw, 40px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0a0f0c;
  --bg-glass: rgba(10, 15, 12, 0.8);
  --surface: #101a14;
  --border: #1c271f;
  --border-strong: #2a3a2f;
  --text: #f2f7f3;
  --text-2: #9fb3a6;
  --accent: #22c55e;
  --accent-ink: #06130a;
  --accent-text: #4ade80;
  --accent-hover: #86efac;
  --tint: #101a14;
  --tint-border: #234731;
  --avatar: #234731;
  --neg: #fca5a5;
  --band: #101a14;
  --band-border: #1c271f;
  --bar-1: #1d3a29; --bar-2: #2c6a42; --bar-3: #22a355; --bar-4: #4ade80;
  --sk: #152019;
  color-scheme: dark;
}

/* ---- base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-gutter: stable; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 15px; line-height: 1.5; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-text); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.money { color: var(--accent-text); }
.neg { color: var(--neg); }
.muted { color: var(--text-2); }
.num { text-align: right; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }
main { flex: 1; animation: rise 0.45s var(--ease) both; }
[hidden] { display: none !important; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@view-transition { navigation: auto; }
/* one soft cross-fade when the theme flips, instead of every element snapping */
:root.theming, :root.theming * { transition: background-color 0.3s, border-color 0.3s, color 0.3s !important; }

/* ---- nav ---- */
.nav { position: sticky; top: 0; z-index: 30; background: var(--bg-glass); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--border); view-transition-name: nav; }
.nav .wrap { height: 68px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
/* The wordmark is the designer's vector (letters only, transparent, `currentColor`), so it is sharp at any size and
   takes the theme's own green. The neon glow is drawn here, not baked in: two tight shadows on dark — a wide faint one
   reads as a grey halo rather than as light — and none on light, where a glow would be invisible anyway. */
.brand { justify-self: start; display: grid; color: var(--accent-text); transition: transform 0.15s var(--ease), color 0.15s; }
.brand:hover { color: var(--accent-text); }
.brand:active { transform: scale(0.97); }
.brand svg { display: block; height: 40px; width: auto; }
:root[data-theme="dark"] .brand svg { filter: drop-shadow(0 0 7px rgba(36, 206, 104, 0.55)) drop-shadow(0 0 18px rgba(36, 206, 104, 0.3)); }
.nav-links { display: flex; align-items: center; gap: 6px; font-weight: 500; }
.nav-links a { color: var(--text-2); padding: 8px 14px; border-radius: 8px; transition: color 0.15s, background-color 0.15s; }
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-right { justify-self: end; display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border); background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--text-2); transition: color 0.15s, border-color 0.15s, transform 0.15s; }
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); }
.icon-btn:active { transform: scale(0.94); }
.menu-btn { display: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent; background: var(--accent); color: var(--accent-ink); font-weight: 600; cursor: pointer; white-space: nowrap; transition: filter 0.15s, transform 0.15s var(--ease), border-color 0.15s, background-color 0.15s; }
.btn:hover { color: var(--accent-ink); filter: brightness(1.08); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn.lg { height: 52px; padding: 0 28px; border-radius: 12px; font-size: 16px; }
.btn.ghost { background: transparent; color: var(--accent-text); border-color: var(--tint-border); }
.btn.ghost:hover { color: var(--accent-text); background: var(--tint); filter: none; }
.btn svg { transition: transform 0.2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 4px 14px; border-radius: 999px; background: var(--tint); border: 1px solid var(--tint-border); color: var(--accent-text); font-size: 13px; font-weight: 600; }
.pill.warn { color: var(--neg); border-color: currentColor; background: transparent; }
.dot { flex: none; width: 8px; height: 8px; border-radius: 999px; background: #16a34a; }
.dot.live { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

.demo-bar { background: var(--surface); border-bottom: 1px solid var(--border); color: var(--text-2); font-size: 13px; text-align: center; padding: 7px 16px; }

/* ---- skeletons ---- */
.sk { display: block; border-radius: 8px; background: linear-gradient(90deg, var(--sk) 25%, var(--border) 50%, var(--sk) 75%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---- hero ---- */
.hero { padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 4.5vw, 56px); display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(38px, 6.4vw, 72px); line-height: 1.05; letter-spacing: -0.02em; max-width: 900px; text-wrap: balance; }
.hero h1 span { color: var(--accent-text); }
.hero p { font-size: clamp(16px, 1.5vw, 20px); line-height: 1.55; color: var(--text-2); max-width: 580px; text-wrap: balance; }
.hero-cta { display: flex; gap: 12px; margin-top: 6px; flex-wrap: wrap; justify-content: center; }
.steps { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; justify-content: center; }
.step { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); font-size: 14px; font-weight: 500; }
.step b { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--accent-text); }

/* ---- stat band ---- */
.band { padding: clamp(20px, 2.4vw, 28px) clamp(20px, 2.8vw, 40px); border-radius: 16px; background: var(--band); border: 1px solid var(--band-border); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(20px, 2.8vw, 40px); row-gap: 22px; }
.band > div { display: flex; flex-direction: column; justify-content: space-between; gap: 6px; min-width: 0; padding-left: clamp(20px, 2.8vw, 40px); border-left: 1px solid var(--band-border); }
.band > div:first-child { padding-left: 0; border-left: 0; }
.label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); }
.band .label { color: var(--band-text-2); }
.band .value { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: clamp(22px, 2.5vw, 34px); font-weight: 600; line-height: 1.2; color: var(--band-text); }
.band .value.money { color: var(--band-money); }

/* ---- sections / tables ---- */
.section { padding-top: clamp(40px, 4.5vw, 56px); display: flex; flex-direction: column; gap: 18px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
h2 { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); }
.page-head { padding-top: clamp(32px, 4vw, 48px); display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.page-head h1 { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; text-wrap: balance; }
.page-head p { font-size: clamp(15px, 1.3vw, 17px); color: var(--text-2); max-width: 620px; margin-top: 8px; }

.table { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--bg); }
.trow { display: grid; align-items: center; column-gap: 16px; padding: 14px clamp(14px, 1.8vw, 24px); border-top: 1px solid var(--border); color: var(--text); transition: background-color 0.15s; }
.trow > * { min-width: 0; }
a.trow:hover { background: var(--surface); color: var(--text); }
.trow.head { border-top: 0; padding-block: 12px; background: var(--surface); font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); }
.trow .mono { font-size: 14px; }
.tokens .trow { grid-template-columns: 28px minmax(0, 2.2fr) minmax(0, 1.4fr) repeat(4, minmax(84px, 1fr)); }
.tk-name { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.tk-sub, .ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-sub { font-size: 13px; color: var(--text-2); }
.author { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.avatar { flex: none; width: 28px; height: 28px; border-radius: 999px; background: var(--avatar); object-fit: cover; display: grid; place-items: center; font-size: 11px; font-weight: 600; color: var(--accent-text); overflow: hidden; }
.avatar.lg { width: 48px; height: 48px; font-size: 16px; }
.badge { flex: none; display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; font-size: 10px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; border: 1px solid currentColor; color: var(--neg); }
.empty { padding: 40px 24px; text-align: center; color: var(--text-2); }

.card { border: 1px solid var(--border); border-radius: 16px; padding: clamp(18px, 2vw, 24px); background: var(--bg); }
.card.dark { background: var(--band); border-color: var(--band-border); color: var(--band-text); }
.card.dark .label, .card.dark .muted { color: var(--band-text-2); }
.card.dark .money { color: var(--band-money); }

/* ---- launch ---- */
.launch-grid { padding-top: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: var(--gap); row-gap: 26px; align-items: start; }
.launch-grid form { display: contents; }
.launch-grid .field { grid-column: 1; }
.side { grid-column: 2; grid-row: 1 / span 4; position: sticky; top: 60px; padding-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field-title { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.field-title b { font-family: var(--mono); font-size: 13px; color: var(--accent-text); }
.url-box { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 16px; border: 1.5px solid var(--border-strong); border-radius: 12px; background: var(--surface); transition: border-color 0.2s, box-shadow 0.2s; }
.url-box:focus-within, .url-box.ok { border-color: var(--accent); }
.url-box:focus-within { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent); }
.url-box.bad { border-color: var(--neg); }
.url-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-family: var(--mono); font-size: 15px; color: var(--text); }
.url-state { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--avatar); color: var(--accent-text); font-size: 13px; font-weight: 600; white-space: nowrap; animation: pop 0.3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(0.9); } }
.spinner { width: 12px; height: 12px; border-radius: 999px; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.field-error { font-size: 13px; color: var(--neg); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 14px; }
.input-label { font-size: 13px; font-weight: 500; color: var(--text-2); display: block; margin-bottom: 6px; }
.input { width: 100%; height: 50px; padding: 0 16px; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 15px; transition: border-color 0.2s, box-shadow 0.2s; }
.input.mono { font-family: var(--mono); }
.input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent); }
.media-row { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 14px; margin-top: 4px; }
.img-pick { width: 116px; height: 116px; padding: 0; border-radius: 12px; border: 1px dashed var(--border-strong); background: var(--surface); color: var(--text-2); cursor: pointer; overflow: hidden; display: grid; place-items: center; transition: border-color 0.15s, color 0.15s, transform 0.15s; }
.img-pick:hover, .img-pick.over { border-color: var(--accent); color: var(--accent-text); }
.img-pick:active { transform: scale(0.98); }
.img-pick img { width: 100%; height: 100%; object-fit: cover; display: block; }
.desc-box { display: flex; flex-direction: column; min-width: 0; }
textarea.input { flex: none; height: 116px; min-height: 116px; padding: 12px 16px; line-height: 1.5; resize: vertical; }
.auto-lines { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 14px; font-size: 12px; color: var(--text-2); line-height: 1.4; }
.fee-row { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.fee-pills { display: flex; gap: 10px; }
.fee-pill { height: 50px; min-width: 76px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--bg); font-family: var(--mono); font-weight: 500; color: var(--text-2); cursor: pointer; transition: border-color 0.15s, background-color 0.15s, color 0.15s, transform 0.15s; }
.fee-pill:hover { border-color: var(--accent); color: var(--text); }
.fee-pill:active { transform: scale(0.96); }
.fee-pill[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--tint); color: var(--accent-text); font-weight: 600; }
.buy-box { position: relative; max-width: 220px; }
.buy-box .input { padding-right: 52px; }
.buy-box .unit { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 13px; color: var(--text-2); pointer-events: none; }
.split { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); font-size: 13px; color: var(--text-2); }
.chips { display: flex; gap: 8px; }
.chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; font-family: var(--mono); font-size: 13px; font-weight: 600; white-space: nowrap; }
.chip.author { background: var(--accent); color: var(--accent-ink); }
.chip.burn { background: #101613; color: #fff; border: 1px solid var(--band-border); }
.chip.to { background: #22c55e; color: #06130a; }
.launch-btn { height: 58px; width: 100%; padding: 0 16px; border: 0; border-radius: 14px; background: var(--accent); color: var(--accent-ink); font-family: var(--display); font-size: clamp(15px, 1.4vw, 18px); font-weight: 600; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: filter 0.15s, transform 0.15s var(--ease), opacity 0.2s; }
.launch-btn:hover:not([disabled]) { filter: brightness(1.08); transform: translateY(-1px); }
.launch-btn:active:not([disabled]) { transform: scale(0.99); }
.launch-btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.fine { font-size: 13px; color: var(--text-2); text-align: center; text-wrap: balance; }
.tweet-card { display: flex; flex-direction: column; gap: 14px; animation: rise 0.35s var(--ease) both; }
.tweet-head { display: flex; align-items: center; gap: 12px; }
.tweet-head .who { flex: 1; min-width: 0; }
.tweet-head .who b { display: block; font-size: 16px; }
.tweet-text { font-size: 16px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 8; line-clamp: 8; overflow: hidden; }
.tweet-meta { display: flex; gap: 6px 18px; font-size: 13px; color: var(--text-2); flex-wrap: wrap; }
.placeholder { border: 1px dashed var(--border-strong); border-radius: 16px; padding: 48px 24px; text-align: center; color: var(--text-2); }
.route { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--mono); font-size: 14px; }
.route svg { stroke: var(--band-money); flex: none; }
.notice { padding: 12px 16px; border-radius: 12px; border: 1px solid var(--tint-border); background: var(--tint); font-size: 14px; }
.notice.warn { border-color: var(--border-strong); background: var(--surface); color: var(--text-2); }

/* ---- live ---- */
/* Two columns of equal height: the left one stretches (its last card grows) so both end on the same line. */
.lv-grid { padding-top: clamp(24px, 2.6vw, 32px); display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: var(--gap); align-items: stretch; }
.lv-side { display: flex; flex-direction: column; gap: clamp(16px, 1.8vw, 24px); min-width: 0; }
.lv-flow { display: flex; flex-direction: column; }
.lv-total { font-size: 15px; font-weight: 600; color: var(--band-money); }
.lv-node { margin-top: 16px; padding: 16px 18px; border-radius: 12px; background: var(--band-panel); border: 1px solid var(--band-panel-border); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lv-node b, .lv-leaf b { display: block; font-size: 15px; color: var(--band-text); }
.lv-node span, .lv-leaf span { font-size: 13px; color: var(--band-text-2); }
.lv-node .lv-amt, .lv-leaf .lv-amt { font-size: clamp(18px, 1.7vw, 22px); font-weight: 600; color: var(--band-text); white-space: nowrap; }
.lv-leaf .lv-amt.money { color: var(--band-money); }
.lv-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lv-split > div { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.lv-arrow { display: block; margin: 6px 0; }
.lv-leaf { width: 100%; flex: 1; padding: 16px 18px; border-radius: 12px; background: var(--band-panel); border: 1px solid var(--band-panel-border); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lv-leaf.hot { background: #14301f; border-color: #2c6a42; }
.lv-pct { font-weight: 600; color: var(--band-money) !important; }
.lv-pct.muted { color: var(--band-text-2) !important; }
.lv-leaf .lv-amt { margin-top: 6px; }

.lv-top { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.lv-rows { display: flex; flex-direction: column; }
.lv-row { display: grid; grid-template-columns: 28px minmax(0, 1.1fr) minmax(0, 1fr) auto; align-items: center; column-gap: 12px; height: 46px; }
.lv-row + .lv-row { border-top: 1px solid var(--border); }
.lv-handle { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-bar { height: 8px; border-radius: 999px; background: var(--surface); overflow: hidden; }
.lv-bar i { display: block; height: 100%; border-radius: 999px; background: var(--accent-text); transition: width 0.5s var(--ease); }
.lv-top .empty { padding: 28px 0; }

.lv-feed { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.lv-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.lv-chip { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: transparent; font-size: 14px; font-weight: 500; color: var(--text-2); cursor: pointer; transition: color 0.15s, background-color 0.15s, border-color 0.15s; }
.lv-chip:hover { color: var(--text); border-color: var(--border-strong); }
.lv-chip[aria-pressed="true"] { color: var(--accent-text); background: var(--tint); border-color: var(--tint-border); font-weight: 600; }
.feed { display: flex; flex-direction: column; gap: 10px; }
.feed-item { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 18px; border: 1px solid var(--border); border-radius: 14px; color: var(--text); background: var(--bg); transition: border-color 0.15s, background-color 0.15s; will-change: transform; }
a.feed-item:hover { border-color: var(--border-strong); color: var(--text); }
.feed-item.payout { border-color: var(--tint-border); background: var(--surface); }
.feed-item.new { animation: feedIn 0.5s var(--ease) both; }
@keyframes feedIn { from { opacity: 0; transform: translateY(-14px) scale(0.98); } }
.feed-icon { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--tint); color: var(--accent-text); }
.feed-item.payout .feed-icon { background: var(--accent); color: var(--accent-ink); }
.feed-item.buyback .feed-icon { background: #101613; color: #fff; }
.feed-item.pending .feed-icon, .feed-item.expired .feed-icon { background: var(--surface); color: var(--text-2); border: 1px solid var(--border); }
.feed-body { flex: 1; min-width: 0; }
.feed-body b { display: block; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-body > span { display: block; font-size: 13px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-time { flex: none; font-family: var(--mono); font-size: 13px; color: var(--text-2); white-space: nowrap; min-width: 56px; text-align: right; }

/* ---- analytics ---- */
/* One grid for the whole page. Row 1: four equal stats. Rows 2 and 3 share the same two columns, and in each
   row the right-hand box is stretched to the left-hand box's height, so every edge has a partner. */
.an-grid { padding-top: clamp(24px, 2.6vw, 32px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(16px, 1.8vw, 24px); align-items: stretch; }
.an-grid > * { min-width: 0; }
.an-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: inherit; }
.an-stats .card { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.big { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: clamp(22px, 2.3vw, 34px); font-weight: 600; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.an-addr { align-self: center; gap: 10px; transition: border-color 0.15s, background-color 0.15s; }
.an-addr:hover { border-color: var(--accent); }
.an-addr .mono { font-weight: 500; }

.chart { display: flex; flex-direction: column; gap: 18px; }
.bars { flex: 1; display: flex; align-items: flex-end; gap: clamp(5px, 1vw, 14px); min-height: clamp(180px, 22vw, 260px); }
.bars > div { flex: 1; border-radius: 6px 6px 0 0; min-height: 2px; position: relative; transform-origin: bottom; animation: grow 0.7s var(--ease) both; animation-delay: calc(var(--i) * 35ms); transition: filter 0.15s; }
.bars > div:hover { filter: brightness(1.12); }
@keyframes grow { from { transform: scaleY(0); } }
.bars > div:hover::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--text); color: var(--bg); font-family: var(--mono); font-size: 12px; padding: 4px 8px; border-radius: 6px; white-space: nowrap; z-index: 2; pointer-events: none; }
.bars > div:first-child:hover::after { left: 0; transform: none; }
.bars > div:last-child:hover::after { left: auto; right: 0; transform: none; }
.bar-axis { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--text-2); }

/* The history takes its height from the chart next to it and scrolls inside. flex-basis 0 keeps its own rows out
   of the row-height calculation; the header is sticky inside the scroll box so it always matches the rows. */
/* 42px header + eight 46px rows + the 1px borders: never a half-cut row. The chart stretches to this height. */
.buybacks { display: flex; flex-direction: column; height: 412px; }
.buybacks .tbody { flex: 1 1 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
.buybacks .trow { grid-template-columns: 0.9fr 1fr 1.2fr 0.9fr; height: 46px; padding-block: 0; font-family: var(--mono); font-size: 14px; }
.buybacks .trow.head { position: sticky; top: 0; z-index: 1; height: 42px; border-bottom: 1px solid var(--border); }
.buybacks [data-buybacks] > .trow:first-child { border-top: 0; }
.buybacks .empty, .an-sources .empty { font-family: var(--body); }

.an-sources { display: flex; flex-direction: column; gap: 14px; }
.an-rows { display: flex; flex-direction: column; }
.an-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 92px; align-items: center; column-gap: 16px; height: 40px; color: var(--text); border-radius: 8px; transition: background-color 0.15s; }
a.an-row:hover { color: var(--text); background: var(--surface); }
.an-sym { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.an-bar { height: 10px; border-radius: 999px; background: var(--surface); overflow: hidden; }
.an-bar i { display: block; height: 100%; border-radius: 999px; background: var(--accent-text); transform-origin: left; animation: growX 0.7s var(--ease) both; animation-delay: calc(var(--i) * 60ms); }
@keyframes growX { from { transform: scaleX(0); } }
/* amount + countdown ring share the box's height; a footer row pins the last burn to the bottom edge */
.an-pool { display: flex; flex-direction: column; gap: 0; }
.an-pool-main { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 0; }
.an-pool-text { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.an-pool .big { font-size: clamp(28px, 3vw, 44px); }
.an-next { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--band-text-2); }
.an-ring { position: relative; flex: none; width: clamp(112px, 11vw, 156px); aspect-ratio: 1; }
.an-ring svg { display: block; width: 100%; height: 100%; transform: rotate(-90deg); }
.an-ring circle { fill: none; stroke-width: 8; }
.an-ring-track { stroke: var(--band-border); }
.an-ring-fill { stroke: var(--band-money); stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.an-ring-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.an-ring-text b { font-size: clamp(20px, 1.9vw, 26px); font-weight: 600; color: var(--band-text); line-height: 1.1; }
.an-ring-text span { font-size: 12px; color: var(--band-text-2); }
.an-pool-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--band-border); font-size: 13px; color: var(--band-text-2); }
.an-pool-foot .mono { color: var(--band-text); }

/* ---- token ---- */
.token-head { padding-top: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px 20px; }
.token-head .avatar.lg { width: 56px; height: 56px; }
.token-head h1 { font-family: var(--display); font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.token-actions { display: flex; gap: 10px; justify-self: end; }
.chart-head { align-items: flex-start; }
.quote { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.quote-line { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.quote .price { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; line-height: 1.15; }
.chart-head .chart-legend { padding-top: 2px; }
.kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: 16px; margin-top: 24px; overflow: hidden; }
.kv > div { padding: 16px clamp(14px, 1.8vw, 24px); border-left: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kv > div:first-child { border-left: 0; }
.kv .v { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: clamp(16px, 1.5vw, 20px); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* One grid for all four blocks: chart | tweet on the first row, claims | payouts on the second.
   Both rows share the same two columns, so every box has a neighbour with the same top and bottom edge. */
.token-grid { padding-top: clamp(20px, 2.2vw, 28px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: clamp(20px, 2.2vw, 28px); align-items: stretch; }
.token-grid > * { min-width: 0; }
.token-grid h2 { font-size: 20px; margin-bottom: 12px; }
.token-grid .tweet-card { animation: none; }
.token-grid .tweet-card .tweet-meta { margin-top: auto; }
.chart-legend { font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.legend-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--accent-text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-text) 25%, transparent); margin-right: 4px; }

.plot { position: relative; display: flex; height: clamp(240px, 27vw, 380px); touch-action: pan-y; }
.plot svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: reveal 1s var(--ease) both; }
@keyframes reveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.marks { position: absolute; inset: 0; animation: fadeIn 0.4s ease 0.8s both; }
@keyframes fadeIn { from { opacity: 0; } }
.pay-line { position: absolute; bottom: 0; width: 0; border-left: 1px dashed color-mix(in srgb, var(--accent-text) 55%, transparent); pointer-events: none; }
.pay-dot { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; padding: 0; border-radius: 999px; border: 3px solid var(--bg); background: var(--accent-text); box-shadow: 0 0 0 1px var(--accent-text); cursor: pointer; transition: box-shadow 0.2s var(--ease); }
.pay-dot::after { content: ""; position: absolute; inset: -14px; border-radius: 999px; } /* comfortable hit area */
.pay-dot:hover, .pay-dot:focus-visible { z-index: 3; outline: 0; box-shadow: 0 0 0 1px var(--accent-text), 0 0 0 7px color-mix(in srgb, var(--accent-text) 28%, transparent); }
.tip { position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translate(-50%, 4px); display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border-radius: 10px; background: var(--text); color: var(--bg); font-family: var(--body); font-size: 12px; line-height: 1.4; text-align: left; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.15s, transform 0.2s var(--ease); }
.tip b { font-family: var(--mono); font-size: 14px; }
.tip span { opacity: 0.75; }
.tip.l { left: -8px; transform: translate(0, 4px); }
.tip.r { left: auto; right: -8px; transform: translate(0, 4px); }
.pay-dot:hover .tip, .pay-dot:focus-visible .tip { opacity: 1; transform: translate(-50%, 0); }
.pay-dot:hover .tip.l, .pay-dot:focus-visible .tip.l, .pay-dot:hover .tip.r, .pay-dot:focus-visible .tip.r { transform: none; }
.cross { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px solid var(--border-strong); pointer-events: none; }
.cross-tip { position: absolute; top: 0; transform: translateX(-50%); padding: 3px 8px; border-radius: 6px; background: var(--surface); border: 1px solid var(--border); font-size: 12px; color: var(--text-2); white-space: nowrap; pointer-events: none; }

.tabs { display: flex; align-items: center; gap: 6px; height: 40px; margin-bottom: 12px; }
.tabs h2 { margin: 0 !important; }
.tab { height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid transparent; background: transparent; font-family: var(--display); font-size: 17px; font-weight: 700; color: var(--text-2); cursor: pointer; transition: color 0.15s, background-color 0.15s, border-color 0.15s; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: var(--text); background: var(--surface); border-color: var(--border); }
/* The three token-page tables are one fixed size: a 42px header + six 50px rows. The header sits INSIDE the
   scroll box (sticky), so it always has exactly the width of the rows under it, scrollbar or not. */
.token-grid .tbody { height: 342px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
.token-grid .trow { height: 50px; padding-block: 0; }
.token-grid .trow.head { position: sticky; top: 0; z-index: 1; height: 42px; border-bottom: 1px solid var(--border); }
.token-grid .trow.head + .trow, .token-grid [data-trades] > .trow:first-child { border-top: 0; }
.token-grid .tbody .empty { font-family: var(--body); padding-top: 110px; }
.trades .trow { grid-template-columns: 64px 1fr 1fr 1.1fr 0.9fr; font-family: var(--mono); font-size: 14px; }
.trades .trow.new { animation: rowIn 0.6s var(--ease); }
@keyframes rowIn { from { opacity: 0; transform: translateY(-8px); background: var(--tint); } }
/* the pill IS the grid cell: same box for Buy and Sell, label centred both ways */
.tx-type { justify-self: start; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 24px; border-radius: 999px; font-family: var(--body); font-size: 12px; font-weight: 600; line-height: 1; }
.tx-type.buy { color: var(--accent-text); background: color-mix(in srgb, var(--accent-text) 14%, transparent); }
.tx-type.sell { color: var(--neg); background: color-mix(in srgb, var(--neg) 14%, transparent); }
.claims .trow { grid-template-columns: 0.9fr 1fr 1fr 0.8fr; font-family: var(--mono); font-size: 14px; }
.payouts .trow { grid-template-columns: 0.8fr 1fr 1.3fr; font-family: var(--mono); font-size: 14px; }
.payouts .status { font-family: var(--body); font-size: 13px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- docs: how it works ---- */
.hw-example { margin-top: clamp(24px, 2.6vw, 32px); display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.hw-control { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.hw-control:first-child { flex: 1 1 320px; }
.hw-slider { display: flex; align-items: center; gap: 16px; height: 50px; }
.hw-slider input { flex: 1; min-width: 0; height: 28px; accent-color: var(--accent); cursor: pointer; }
.hw-slider output { flex: none; min-width: 120px; text-align: right; font-size: 20px; font-weight: 600; }

/* Desktop: tweet -> trades -> treasury -> fork -> [author | burn]. Phones: the same thing, top to bottom. */
.hw-flow { margin-top: clamp(20px, 2.2vw, 28px); display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr) 72px minmax(0, 1fr) 88px minmax(0, 1.15fr); align-items: stretch; }
.hw-node { display: flex; flex-direction: column; gap: 6px; padding: clamp(16px, 1.6vw, 22px); border: 1px solid var(--border); border-radius: 16px; background: var(--bg); min-width: 0; align-self: center; }
.hw-node.hot { border-color: var(--tint-border); background: var(--surface); }
.hw-node b { font-size: 15px; line-height: 1.35; }
.hw-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--tint); color: var(--accent-text); margin-bottom: 6px; }
.hw-node.hot .hw-icon { background: var(--accent); color: var(--accent-ink); }
.hw-icon svg { width: 18px; height: 18px; }
.hw-value { margin-top: 6px; font-size: clamp(18px, 1.8vw, 24px); font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hw-split { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.hw-split .hw-node { align-self: stretch; }

/* A coin travels from (--x0, --y0) to (--x1, --y1) of its track. The same keyframes serve every pipe and both
   orientations; only the four variables change. */
.hw-pipe, .hw-fork { position: relative; --x0: 0%; --y0: 50%; --x1: 100%; --y1: 50%; --dur: 2.4s; --count: 3; }
.hw-pipe { align-self: center; height: 24px; }
.hw-pipe::before { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; border-top: 2px dashed var(--border-strong); }
.hw-pipe.plain::after { content: ""; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-top: 2px solid var(--border-strong); border-right: 2px solid var(--border-strong); transform: rotate(45deg); }
.hw-coin { position: absolute; left: var(--x0); top: var(--y0); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 999px; background: var(--accent-text); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-text) 22%, transparent); animation: hwCoin var(--dur) linear infinite; animation-delay: calc(var(--n) * var(--dur) / var(--count) * -1); }
@keyframes hwCoin {
  0% { left: var(--x0); top: var(--y0); opacity: 0; }
  12%, 88% { opacity: 1; }
  100% { left: var(--x1); top: var(--y1); opacity: 0; }
}
.hw-fork { --count: 5; --dur: 3s; }
.hw-fork svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hw-fork path { fill: none; stroke: var(--border-strong); stroke-width: 2; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; }
.hw-fork-v { display: none; }
.hw-coin.a { --y1: 24%; }                                   /* four of every five coins go to the author */
.hw-coin.b { --y1: 76%; background: var(--text-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--text-2) 22%, transparent); }

.hw-ladder { margin-top: clamp(20px, 2.2vw, 28px); display: flex; flex-direction: column; gap: 16px; }
.hw-rungs { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 6px; }
.hw-rung { display: flex; align-items: center; justify-content: center; height: 36px; padding: 0 4px; border-radius: 10px; border: 1px solid var(--border); font-family: var(--mono); font-size: 13px; color: var(--text-2); white-space: nowrap; transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease); }
.hw-rung.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; transform: translateY(-2px); }
.hw-track { height: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.hw-track span { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--accent-text); transition: width 0.35s var(--ease); }

.hw-facts { margin-top: clamp(20px, 2.2vw, 28px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.hw-facts .card { display: flex; flex-direction: column; gap: 6px; font-size: 14px; scroll-margin-top: 92px; }
.hw-facts .card b { font-family: var(--display); font-size: 17px; }

@media (max-width: 1100px) {
  .hw-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hw-flow { grid-template-columns: minmax(0, 1fr); }
  /* stacked cards go compact: icon on the left, text beside it */
  .hw-node { align-self: stretch; display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: center; }
  .hw-node .hw-icon { grid-row: 1 / span 3; margin: 0; }
  .hw-node .hw-value { margin-top: 2px; }
  .hw-split .hw-node { display: flex; }
  .hw-split .hw-icon { margin-bottom: 6px; }
  .hw-pipe, .hw-fork { --x0: 50%; --y0: 0%; --x1: 50%; --y1: 100%; }
  .hw-pipe { height: 44px; width: 100%; }
  .hw-pipe::before { left: 50%; right: auto; top: 6px; bottom: 6px; border-top: 0; border-left: 2px dashed var(--border-strong); margin-left: -1px; }
  .hw-pipe.plain::after { right: auto; left: 50%; top: auto; bottom: 4px; margin: 0 0 0 -5px; transform: rotate(135deg); }
  .hw-fork { height: 56px; }
  .hw-fork-h { display: none; }
  .hw-fork-v { display: block; }
  .hw-coin.a { --x1: 24%; --y1: 100%; }
  .hw-coin.b { --x1: 76%; --y1: 100%; }
  .hw-split { grid-template-rows: none; grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (max-width: 720px) {
  .hw-slider output { min-width: 96px; font-size: 18px; }
  .hw-rungs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hw-track { display: none; } /* the rungs wrap onto three rows here, so a single bar no longer maps onto them */
  .hw-facts { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .hw-coin { display: none; }
}

/* ---- footer ---- */
.footer { margin-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--border); font-size: 13px; color: var(--text-2); }
.footer .wrap { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; padding-block: 16px; }
.footer a { color: var(--text-2); }
.footer a:hover { color: var(--text); }
.footer nav { display: flex; gap: 20px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 12px; font-size: 14px; z-index: 40; width: max-content; max-width: calc(100vw - 32px); animation: toastIn 0.3s var(--ease); }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } }

/* ---- responsive ---- */
@media (max-width: 1100px) {
  .tokens .c-price { display: none; }
  .tokens .trow { grid-template-columns: 28px minmax(0, 2.2fr) minmax(0, 1.4fr) repeat(3, minmax(84px, 1fr)); }
  .token-grid, .an-grid { grid-template-columns: minmax(0, 1fr); }
  .an-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .launch-grid, .lv-grid { grid-template-columns: minmax(0, 1fr); }
  /* phones: numbers first, then the feed, then the earners */
  .lv-side { display: contents; }
  .lv-flow { order: 0; }
  .lv-feed { order: 1; }
  .lv-top { order: 2; }
  .launch-grid .field, .side { grid-column: 1; grid-row: auto; }
  .side { position: static; order: 1; padding-top: 0; }
  .side [data-route] { display: none; } /* the launch button already names the author */
  .launch-grid .field { order: 2; }
  .launch-grid .field:first-child { order: 0; }
  .tokens .c-fees { display: none; }
  .tokens .trow { grid-template-columns: 28px minmax(0, 2fr) minmax(0, 1.3fr) repeat(2, minmax(84px, 1fr)); }
  .band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band > div:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 720px) {
  .nav .wrap { height: 60px; grid-template-columns: 1fr auto; }
  .menu-btn { display: grid; }
  .nav-links { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px var(--gutter) 14px; background: var(--bg); border-bottom: 1px solid var(--border); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0.2s; }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 12px; }
  .nav-right .btn { height: 40px; padding: 0 14px; font-size: 14px; }
  .brand svg { height: 34px; }
  .icon-btn { width: 40px; height: 40px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .steps { display: none; }

  /* token rows become two-line cards */
  .tokens .trow.head { display: none; }
  .tokens .trow { grid-template-columns: 22px minmax(0, 1fr) auto; grid-template-areas: "rank token paid" "rank author change"; row-gap: 4px; column-gap: 12px; }
  .tokens [data-tokens] .trow:first-child { border-top: 0; }
  .tokens .c-rank { grid-area: rank; align-self: start; padding-top: 2px; }
  .tokens .c-token { grid-area: token; }
  .tokens .c-token .tk-sub { display: none; }
  .tokens .c-author { grid-area: author; font-size: 13px; color: var(--text-2); font-weight: 400; }
  .tokens .c-author .avatar { width: 18px; height: 18px; font-size: 8px; }
  .tokens .c-paid { grid-area: paid; }
  .tokens .c-change { grid-area: change; }
  .tokens .c-paid::before { content: "paid "; font-family: var(--body); font-size: 12px; color: var(--text-2); }

  .row { grid-template-columns: minmax(0, 1fr); }
  .media-row, .auto-lines { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
  .img-pick { width: 96px; height: 96px; }
  textarea.input { height: 96px; min-height: 96px; }
  .fee-pills { flex: 1 1 100%; }
  .fee-pill { flex: 1; min-width: 0; }
  .buy-box { max-width: none; }
  .url-state { padding: 0 8px; }
  .url-state .t { display: none; }
  .kv > div { padding: 14px 10px; }
  .kv { grid-template-columns: 1.3fr 1fr 1fr; }
  .kv .label { font-size: 10.5px; letter-spacing: 0.02em; }
  .token-head { grid-template-columns: auto minmax(0, 1fr); }
  .token-actions { grid-column: 1 / -1; justify-self: stretch; }
  .chart-head { flex-wrap: wrap; }
  .token-actions .btn { flex: 1; }
  .feed-item { padding: 12px 14px; gap: 12px; }
  .feed-body b { font-size: 14px; white-space: normal; }
  .buybacks .trow, .claims .trow { font-size: 13px; column-gap: 10px; }
  .footer .wrap { justify-content: center; text-align: center; }
}
@media (max-width: 420px) {
  .an-ring { width: 92px; }
  .an-ring-text b { font-size: 17px; }
  .an-ring-text span { font-size: 11px; }
  .an-pool-main { gap: 12px; }
  .band .value { font-size: 20px; }
  .trades .c-who { display: none; }
  .trades .trow { grid-template-columns: 64px 1fr 1fr 0.9fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  @view-transition { navigation: none; }
}
