/* Vybe brand system — mirrors https://vybe-identity.tiiny.site/ */
:root {
  --bg-primary: #0b0b0b;
  --bg-secondary: #0f0f0f;
  --bg-card: #151515;
  --border: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(255, 255, 255, 0.2);
  --border-card: rgba(255, 255, 255, 0.04);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --text-muted: rgba(255, 255, 255, 0.5);
  --accent-light: #f1cd72;
  --accent: #e3b341;
  --accent-hover: #c5942b;
  --accent-ink: #0c0c0c;
  --accent-select: rgba(227, 179, 65, 0.1);
  --success: #25cc80;
  --success-10: rgba(37, 204, 128, 0.1);
  --error: #ff4757;
  --compare-lose: #f5d76e;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
#hero, #pillars, #why-us, #balances, #defi, #proof, #package, #method {
  scroll-margin-top: 70px;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  font-size: 14px;
}

.wrap { max-width: 1020px; margin: 0 auto; padding: 0 28px; }

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

/* ---- Brand lockup ---- */
.lockup { display: inline-flex; align-items: center; gap: 7px; }
.lockup img { height: 26px; width: auto; display: block; }
.lockup-text { display: flex; align-items: baseline; white-space: nowrap; line-height: 1; }
.lockup-wm { font-weight: 200; font-size: 27px; line-height: 1; letter-spacing: 0.005em; color: #fff; }
.lockup-pipe { width: 1px; height: 18px; background: var(--border-hover); margin: 0 11px; align-self: center; }
.lockup-trade {
  font-weight: 200; font-size: 13px; line-height: 1;
  text-transform: uppercase; letter-spacing: 0.28em;
  color: var(--accent); align-self: center;
}
.lockup.xl img { height: 44px; }
.lockup.xl .lockup-wm { font-size: 46px; }
.lockup.xl .lockup-pipe { height: 30px; margin: 0 16px; }
.lockup.xl .lockup-trade { font-size: 21px; }
.lockup.sm img { height: 18px; }
.lockup.sm .lockup-wm { font-size: 18px; }
.lockup.sm .lockup-pipe { height: 12px; margin: 0 7px; }
.lockup.sm .lockup-trade { font-size: 9.5px; }

/* ---- Sticky nav ---- */
nav.toc {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 11, 11, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-card);
}
.toc-inner { display: flex; align-items: center; justify-content: space-between; height: 58px; gap: 22px; }
.toc-links { display: flex; gap: 22px; align-items: center; }
.toc-links a { color: var(--text-muted); text-decoration: none; font-size: 12px; font-weight: 500; letter-spacing: 0.02em; transition: color 0.15s; }
.toc-links a:hover { color: var(--text-primary); }
.toc-links a.is-active {
  color: var(--accent);
  font-weight: 600;
}
.toc-links a.is-active:hover { color: var(--accent-light); }
.toc-right { display: flex; align-items: center; gap: 22px; }

a.story-btn {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid rgba(227, 179, 65, 0.4); border-radius: 999px;
  padding: 7px 15px; text-decoration: none;
  color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
a.story-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* Solid gold action — ink text, never white */
a.gold-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent); border: 1px solid var(--accent); border-radius: 999px;
  padding: 10px 22px; text-decoration: none;
  color: var(--accent-ink); font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
a.gold-btn:hover { background: var(--accent-light); border-color: var(--accent-light); }

a.ghost-btn {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--border); border-radius: 999px;
  padding: 10px 22px; text-decoration: none;
  color: var(--text-secondary); font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
a.ghost-btn:hover { border-color: var(--border-hover); color: var(--text-primary); }

/* Secondary gold outline — plan / comparisons CTAs */
a.outline-btn {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid rgba(227, 179, 65, 0.55); border-radius: 999px;
  padding: 10px 22px; text-decoration: none;
  color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  background: rgba(227, 179, 65, 0.06);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
a.outline-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

/* ---- Cover ---- */
.cover { padding: 110px 0 90px; text-align: center; position: relative; overflow: hidden; border-bottom: 1px solid var(--border-card); }
.cover::before {
  content: '';
  position: absolute; top: -220px; left: 50%; transform: translateX(-50%);
  width: 760px; height: 540px;
  background: radial-gradient(ellipse, rgba(227, 179, 65, 0.08) 0%, transparent 65%);
  pointer-events: none;
}
.cover .lockup { margin-bottom: 44px; }
.cover h1 { font-size: clamp(30px, 4.5vw, 44px); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 14px; }
.cover .meta { font-family: var(--mono); font-size: 12px; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; }
.cover .cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }

/* ---- Sections ---- */
section { padding: 84px 0; border-bottom: 1px solid var(--border-card); }
section.alt { background: var(--bg-secondary); }
.sec-num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 12px; text-transform: uppercase; }
h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
.lede { color: var(--text-muted); font-size: 15px; max-width: 640px; margin-bottom: 40px; }
.lede strong { color: var(--text-secondary); font-weight: 600; }
h3 { font-size: 15px; font-weight: 600; margin: 36px 0 14px; letter-spacing: -0.01em; }

.card {
  background: var(--bg-card); border: 1px solid var(--border-card);
  border-radius: 16px; padding: 26px;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---- Statement card (hero one-liner) ---- */
.oneliner {
  font-size: clamp(28px, 4.4vw, 42px); font-weight: 900; letter-spacing: -0.03em;
  padding: 44px 32px; text-align: center;
  background: var(--bg-card); border: 1px solid rgba(227, 179, 65, 0.25); border-radius: 16px;
  margin-bottom: 16px; position: relative; overflow: hidden;
  line-height: 1.2;
}
.oneliner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(227, 179, 65, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.oneliner em { font-style: normal; color: var(--accent); }
.oneliner-note { text-align: center; font-size: 13px; color: var(--text-muted); margin-bottom: 40px; max-width: 720px; margin-left: auto; margin-right: auto; }

/* ---- Status / caveat card ---- */
.status-card {
  background: var(--bg-card); border: 1px solid rgba(227, 179, 65, 0.25); border-radius: 16px;
  padding: 24px 28px; font-size: 13.5px; color: var(--text-secondary);
}
.status-card .tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  display: block; margin-bottom: 12px;
}
.status-card strong { color: var(--text-primary); }
.status-card code { color: var(--text-secondary); }
.status-card .fine { font-size: 12.5px; color: var(--text-muted); margin-top: 10px; }

.pending-note { font-size: 13px; color: var(--text-muted); margin-top: 16px; }
.pending-pill {
  display: inline-block; margin-right: 8px;
  padding: 2px 10px; border-radius: 999px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); border: 1px solid var(--border);
}

/* ---- Tables ---- */
.table-card {
  background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 16px;
  padding: 10px 16px; overflow-x: auto;
}
.score-tables {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.table-card > .sec-label {
  margin: 6px 0 12px;
}
.line-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 640px; }
.line-table th {
  text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted); font-weight: 500;
  padding: 14px 16px 12px; border-bottom: 1px solid var(--border);
}
.plat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.plat img {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  flex: 0 0 auto;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
}
.line-table th .plat {
  letter-spacing: 0.08em;
}
.bar-label .plat {
  text-transform: none;
  letter-spacing: 0;
}
.line-table td { padding: 13px 16px; border-bottom: 1px solid var(--border-card); vertical-align: middle; }
.line-table tr:last-child td { border-bottom: none; }
.line-table td:first-child { color: var(--text-secondary); font-weight: 500; }
.line-table td:not(:first-child) { font-family: var(--mono); font-size: 12.5px; color: var(--text-secondary); }
.line-table td.win {
  color: var(--text-primary);
  font-weight: 650;
  position: relative;
  background: transparent;
  border: none;
  vertical-align: middle;
}
.line-table td.win::before { content: none; display: none; }
.line-table .win-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.7em;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(37, 204, 128, 0.55);
  background: rgba(37, 204, 128, 0.1);
  color: var(--text-primary);
  font-weight: 650;
  white-space: nowrap;
  box-sizing: border-box;
  margin: 0 auto;
}
.line-table td:not(:first-child):not(.win):not(.pending):not(.table-foot-note) {
  color: var(--text-secondary);
}
.line-table td.miss { color: var(--compare-lose); }
.line-table .pct-delta {
  display: inline-flex;
  align-items: center;
  margin-left: 0.45em;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 120, 130, 0.4);
  background: rgba(255, 99, 110, 0.16);
  color: #ff8a94;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.45;
  white-space: nowrap;
  vertical-align: 0.05em;
}
.line-table td.pending,
.line-table td.mute,
.line-table td.win,
.line-table td.rank-2,
.line-table td.rank-3,
.line-table td.rank-last {
  text-align: center;
  vertical-align: middle;
}
.line-table td.mute { color: var(--text-muted); }
.line-table .rank-pill--mute {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-weight: 550;
}
.line-table tr.section-row td {
  padding: 0;
  border-bottom: none;
  background: transparent;
}
.line-table tr.section-row--first td {
  padding-top: 4px;
}
.line-table tr.section-row--split td {
  padding-top: 18px;
}
.sec-label {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(227, 179, 65, 0.28);
  background: linear-gradient(90deg, rgba(227, 179, 65, 0.12), rgba(227, 179, 65, 0.03) 55%, transparent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.sec-ico {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--accent);
  opacity: 0.95;
}
.line-table tr.section-row + tr td {
  border-top: none;
  padding-top: 14px;
}
.cell-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.25;
}
.cell-sub {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}
.cell-sub.miss { color: var(--compare-lose); }
.table-note { font-size: 12.5px; color: var(--text-muted); margin-top: 14px; }

/* ---- Charts ---- */
.charts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.chart-card { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 16px; padding: 26px; }
.chart-card h4 { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 4px; }
.chart-note { margin: 0 0 18px; font-size: 12.5px; color: var(--text-muted); }
.bars { display: flex; flex-direction: column; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) 6rem; gap: 10px; align-items: center; }
.bar-label { font-size: 12.5px; font-weight: 500; color: var(--text-secondary); }
.bar-track { height: 8px; background: rgba(255, 255, 255, 0.05); border-radius: 999px; overflow: hidden; }
.bar { height: 100%; min-width: 0; border-radius: 999px; transform-origin: left center; animation: growBar 0.9s ease forwards; }
.bar-win, .bar-rank-1 { background: var(--success); }
.bar-rank-2, .bar-jup { background: var(--compare-lose); }
.bar-rank-3 { background: #f0a05a; }
.bar-rank-4 { background: var(--error); }
.bar-pending { background: transparent; }

/* Stretch ranks so last place is always red */
.bars[data-compare-n="2"] .bar-rank-2 {
  background: var(--error);
}
.bars[data-compare-n="3"] .bar-rank-2 {
  background: var(--compare-lose);
}
.bars[data-compare-n="3"] .bar-rank-3 {
  background: var(--error);
}
.bar-val { font-family: var(--mono); font-size: 12px; font-variant-numeric: tabular-nums; text-align: right; color: var(--text-muted); }
.pending-row .bar-label, .pending-row .bar-val { color: rgba(255, 255, 255, 0.3); }

@keyframes growBar {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ---- Pillar-style cards (roadmap / pitch / buyers) ---- */
.pillar { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 16px; padding: 26px; }
.pillar-num { font-family: var(--mono); font-size: 12px; color: var(--accent); margin-bottom: 14px; }
.pillar h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.pillar p { font-size: 13.5px; color: var(--text-muted); }
.pillar p strong { color: var(--text-secondary); }
.pillar ul { list-style: none; margin-top: 16px; }
.pillar li {
  font-size: 13px; color: var(--text-secondary);
  padding: 8px 0 8px 20px; position: relative;
  border-top: 1px solid var(--border-card);
}
.pillar li::before { content: '◆'; position: absolute; left: 0; color: var(--accent); font-size: 9px; top: 12px; }

.buyer-icon {
  width: 34px;
  height: 34px;
  display: block;
  flex: 0 0 auto;
  margin: 0 12px 0 0;
  color: var(--text-muted);
}
.buyer-icon svg { width: 100%; height: 100%; display: block; }
.buyer-grid h4 {
  margin: 0;
  line-height: 1.2;
}

/* ---- Code blocks ---- */
.codeblock {
  margin: 14px 0 18px;
  padding: 20px 24px;
  overflow-x: auto;
  background: var(--bg-secondary); border: 1px solid var(--border-card); border-radius: 12px;
  font-size: 12.5px; line-height: 1.5; color: var(--text-secondary);
}
.codeblock code { font-family: var(--mono); color: inherit; white-space: pre; background: none; padding: 0; }

code {
  font-family: var(--mono); font-size: 12.5px;
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 6px; border-radius: 5px;
  color: var(--text-secondary);
}

.plain-list { list-style: none; font-size: 13.5px; max-width: 720px; }
.plain-list li { padding: 10px 0 10px 20px; position: relative; border-bottom: 1px solid var(--border-card); color: var(--text-secondary); }
.plain-list li:last-child { border-bottom: none; }
.plain-list li::before { content: '◆'; position: absolute; left: 0; color: var(--accent); font-size: 9px; top: 14px; }
.plain-list strong { color: var(--text-primary); }

/* ---- CTA banner ---- */
.cta-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 40px; padding: 30px 34px;
  background: var(--bg-card); border: 1px solid rgba(227, 179, 65, 0.25); border-radius: 16px;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at left center, rgba(227, 179, 65, 0.05) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.cta-banner p { margin: 0; max-width: 560px; font-size: 13.5px; color: var(--text-muted); }
.links { font-size: 13px; color: var(--text-muted); margin-top: 18px; }
.links a { color: var(--accent); text-decoration: none; }
.links a:hover { text-decoration: underline; }

/* ---- Closing band ---- */
.band { text-align: center; padding: 96px 0; position: relative; overflow: hidden; border-bottom: 1px solid var(--border-card); }
.band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(227, 179, 65, 0.07) 0%, transparent 60%);
  pointer-events: none;
}
.band .band-lead { font-size: clamp(20px, 3vw, 30px); font-weight: 600; color: var(--text-muted); }
.band .strike-word { text-decoration: line-through; text-decoration-color: var(--error); text-decoration-thickness: 3px; }
.band .keep { font-size: clamp(30px, 5vw, 50px); font-weight: 900; letter-spacing: -0.03em; margin-top: 10px; }
.band .keep em { font-style: normal; color: var(--accent); }
.band p { color: var(--text-muted); margin-top: 18px; font-size: 14px; }

footer { padding: 40px 0 56px; text-align: center; font-size: 12px; color: var(--text-muted); }
footer .lockup { margin-bottom: 14px; }
footer .foot-line { display: block; margin-top: 4px; }

/* ---- Reveal (never hide content; keep subtle motion only when JS adds .in) ---- */
.reveal {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .bar { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 820px) {
  .grid-2, .charts { grid-template-columns: 1fr; }
  .toc-links { display: none; }
}

.line-table tr.row-hidden {
  display: none !important;
}

/* ---- Depth tabs (balances / defi) ---- */
#depth > .wrap > .sec-num {
  text-align: center;
}
.depth-anchor {
  position: relative;
  top: -72px;
  height: 0;
  width: 0;
  overflow: hidden;
  pointer-events: none;
}
.depth-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 8px auto 28px;
}
.depth-tab {
  appearance: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 10px 22px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.depth-tab:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}
.depth-tab.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.depth-panel[hidden] {
  display: none !important;
}
.depth-panel > h2 {
  text-align: center;
}
.depth-panel > .lede {
  text-align: center;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Compare old/new table layouts ---- */
.compare-bar {
  position: sticky; top: 58px; z-index: 40;
  background: rgba(15, 15, 15, 0.92);
  border-bottom: 1px solid rgba(227, 179, 65, 0.35);
  backdrop-filter: blur(10px);
}
.compare-inner {
  display: flex; align-items: center; gap: 10px;
  min-height: 44px; flex-wrap: wrap;
  padding: 8px 0;
}
.compare-label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted); margin-right: 4px;
}
.compare-tab {
  display: inline-flex; align-items: center;
  padding: 6px 12px; border-radius: 999px; text-decoration: none;
  font-size: 12.5px; font-weight: 600;
  border: 1px solid var(--border); color: var(--text-secondary);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.compare-tab:hover { border-color: var(--border-hover); color: var(--text-primary); }
.compare-tab.active {
  background: var(--accent); border-color: var(--accent); color: var(--accent-ink);
}
.compare-hint { font-size: 12px; color: var(--text-muted); margin-left: 6px; }
.row-sub {
  display: block; margin-top: 3px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 400;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted);
}
.toc { z-index: 50; }

.line-table tr.note-row td,
.line-table td.table-foot-note {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-muted);
  line-height: 1.45;
  padding: 14px 16px 12px;
  border-bottom: none;
  background: rgba(255, 255, 255, 0.02);
}
.line-table td.table-foot-note code {
  font-size: 11.5px;
}

.line-table th.sec-th {
  text-transform: none;
  letter-spacing: 0;
  padding: 10px 10px 10px 12px;
  vertical-align: middle;
  width: 1%;
  white-space: nowrap;
  min-width: 0;
}
.sec-label--inline {
  display: inline-flex;
  width: auto;
  max-width: max-content;
  margin: 0;
  padding: 6px 8px;
  border-radius: 8px;
  white-space: nowrap;
  gap: 7px;
}
.line-table td:first-child,
.line-table th:first-child {
  width: 1%;
  white-space: nowrap;
  padding-right: 12px;
}
.table-card > .sec-label { margin: 6px 0 12px; }


/* Field label icons in comparison tables */
.field-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.field-ico {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  color: var(--text-muted);
  opacity: 0.9;
}
.field-text {
  min-width: 0;
}
.line-table td:first-child {
  white-space: nowrap;
}
.line-table td:first-child .field-text code {
  font-size: 12px;
}

/* Vybe vs Solflare missing metadata gap tables */
.gap-table-card {
  margin-top: 18px;
  overflow-x: hidden;
}
.gap-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.01em;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
}
.gap-count {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.gap-scroll {
  max-height: min(52vh, 520px);
  overflow-x: hidden;
  overflow-y: auto;
  border-top: 1px solid var(--border-card);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}
.gap-scroll::-webkit-scrollbar {
  width: 8px;
}
.gap-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.gap-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
.gap-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.28);
  border: 2px solid transparent;
  background-clip: padding-box;
}
.gap-table.line-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}
.gap-table-3 {
  min-width: 0;
}
.gap-table th,
.gap-table td {
  padding-left: 10px;
  padding-right: 10px;
}
.gap-table th:nth-child(1),
.gap-table td.mint-cell {
  font-size: 11.5px;
  letter-spacing: 0;
  white-space: nowrap;
  width: 15%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gap-table th:nth-child(2),
.gap-table td.tok-meta:nth-child(2) {
  width: 20%;
}
.gap-table th:nth-child(3),
.gap-table td.tok-meta:nth-child(3) {
  width: 12%;
}
.gap-table th:nth-child(2),
.gap-table td.tok-meta:nth-child(2),
.gap-table th:nth-child(3),
.gap-table td.tok-meta:nth-child(3) {
  padding-left: 6px;
  padding-right: 6px;
}
.gap-table th:nth-child(4),
.gap-table td.gap-missing-cell {
  width: 21%;
}
.gap-table th:nth-child(5),
.gap-table td.dual-cell:nth-child(5),
.gap-table th:nth-child(6),
.gap-table td.dual-cell:nth-child(6) {
  width: 16%;
}
.mint-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dotted rgba(227, 179, 65, 0.45);
}
.mint-link:hover {
  color: var(--accent-light);
  border-bottom-color: var(--accent-light);
}
.gap-table a.logo-link {
  color: var(--accent);
  text-decoration: none;
}
.gap-table a.logo-link:hover {
  text-decoration: underline;
}
.gap-sub {
  display: block;
  margin-top: 2px;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
}
.gap-missing-cell {
  white-space: normal;
}
.gap-badge {
  display: inline-block;
  margin: 0 4px 4px 0;
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid rgba(255, 120, 120, 0.35);
  background: rgba(255, 80, 80, 0.12);
  color: var(--compare-lose);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tok-meta {
  min-width: 0;
  overflow: hidden;
}
.tok-row {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
}
.tok-img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
  flex: 0 0 auto;
}
.tok-img-missing {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  font-size: 10px;
  flex: 0 0 auto;
}
.tok-copy {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.tok-sym {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-primary);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tok-name {
  margin-top: 2px;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.25;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gap-table td.tok-meta {
  font-family: inherit;
}
.prog-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  white-space: normal;
  line-height: 1.35;
  max-width: 28rem;
}
.prog-cell .mint-link {
  display: inline-block;
  margin-right: 0;
  font-size: 9.5px;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  word-break: break-all;
}
.prog-cell .mint-link + .mint-link {
  padding-top: 4px;
  border-top: 1px dotted rgba(255,255,255,0.12);
}
.prog-cell .gap-count {
  font-size: 10px;
}
.dual-cell {
  font-family: var(--mono);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}
.dual-sf {
  display: block;
  color: var(--accent);
  font-weight: 600;
}
.dual-vy {
  display: block;
  margin-top: 2px;
  color: #7ec8e3;
  font-weight: 500;
}
.dual-legend {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.dual-legend .dual-sf,
.dual-legend .dual-vy {
  display: block;
  margin: 0;
  font-weight: 600;
}
.chart-note .dual-sf,
.chart-note .dual-vy {
  display: inline;
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
}


/* Missing-protocol variant chips */
.var-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 6px;
  max-width: 340px;
  font-family: var(--sans, inherit);
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--text-secondary);
}
.var-cell--ok { max-width: 220px; color: var(--text-muted); }
.var-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 2px 7px;
  border: 1px solid var(--border-card);
  border-radius: 4px;
  background: rgba(255,255,255,0.03);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.var-chip--miss {
  border-color: rgba(232, 93, 79, 0.35);
  color: #e89a90;
}
.var-chip--note {
  border-style: dashed;
  color: var(--text-muted);
  font-size: 10.5px;
}

.proto-catalog {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 32px 0 20px;
  border-top: 1px solid var(--border);
}
.proto-band {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border-card);
  align-items: start;
}
.proto-band-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 6px;
}
.proto-band-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.2;
}
.proto-variant-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent-select);
  color: var(--accent);
  flex: 0 0 auto;
}
.proto-variant-icon svg {
  width: 15px;
  height: 15px;
  display: block;
}
.proto-band-count {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  padding-left: 36px;
}
.proto-summary {
  margin: 0 0 8px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.proto-summary strong { color: var(--text-secondary); font-weight: 650; }
.proto-type-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 32px;
}
.proto-type-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  padding: 11px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
}
.proto-type-card .proto-band-label {
  min-width: 0;
  font-size: 11px;
}
.proto-type-card .proto-band-count {
  padding-left: 0;
  font-size: 10px;
  white-space: nowrap;
}
.supported-protocol-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  min-width: 0;
  padding: 0;
}
.supported-protocol-grid li {
  width: auto;
  min-width: 0;
  max-width: none;
  flex: none;
}
.proto-band-scroll {
  position: relative;
  min-width: 0;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(227, 179, 65, 0.45) transparent;
  container-type: inline-size;
  scroll-snap-type: x proximity;
  mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 28px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 28px), transparent 100%);
}
.proto-band-scroll:hover,
.proto-band-scroll:focus-within {
  mask-image: none;
  -webkit-mask-image: none;
}
.proto-band-list {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin: 0;
  padding: 0 4px 2px 0;
  width: max-content;
  min-width: 100%;
  box-sizing: border-box;
}
.proto-band-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  flex: 0 0 calc((100cqw - 40px) / 5);
  width: calc((100cqw - 40px) / 5);
  min-width: 148px;
  max-width: none;
  padding: 11px 13px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  transition: border-color 0.15s, background 0.15s;
  scroll-snap-align: start;
}
.proto-band-list li:hover {
  border-color: var(--border-hover);
  background: #181818;
}
.proto-logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 auto;
  background: rgba(255,255,255,0.06);
}
img.proto-logo {
  background: transparent;
}
.proto-logo--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-select);
}
.proto-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.proto-band-list .proto-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.proto-band-list code {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  background: none;
  padding: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.supported-defi-catalog,
.wallet-position-catalog,
.supported-router-catalog {
  margin-top: 34px;
  border-top: 1px solid var(--border);
}
.supported-defi-catalog,
.wallet-position-catalog,
.supported-router-catalog {
  padding-top: 24px;
}
.supported-subheading {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.025em;
}
.supported-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.supported-title-row .supported-subheading {
  margin: 0;
}
.supported-protocols-title {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.supported-count {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid var(--border-card);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 11px;
  white-space: nowrap;
}
.supported-count strong {
  color: var(--text-primary);
  font-size: 16px;
}
.supported-defi-catalog > .lede {
  margin-top: 0;
  margin-bottom: 18px;
}
.wallet-position-catalog > .lede {
  margin-top: 0;
}
.supported-router-catalog > .lede {
  margin-top: 0;
}
.wallet-position-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 4px;
}
.wallet-position-head h3 {
  margin: 6px 0 0;
  font-size: 22px;
  letter-spacing: -0.025em;
}
.wallet-position-head p {
  max-width: 360px;
  margin: 0 0 2px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.45;
}
.wallet-position-band {
  width: 100%;
  border-bottom: 0;
  padding: 0;
}
.wallet-position-list {
  min-width: 0;
  width: 100%;
  overflow: visible;
}
.wallet-position-list .proto-band-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  min-width: 0;
}
.wallet-position-list .proto-band-list li {
  width: auto;
  min-width: 0;
  max-width: none;
  flex: none;
}
@media (max-width: 720px) {
  .proto-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .proto-band {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 0;
  }
  .proto-band-head {
    position: static;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 0;
  }
  .proto-band-count {
    padding-left: 0;
  }
  .proto-band-list li {
    flex-basis: calc((100cqw - 10px) / 2);
    width: calc((100cqw - 10px) / 2);
    min-width: 140px;
  }
  .wallet-position-head {
    display: block;
  }
  .wallet-position-head p {
    margin-top: 10px;
  }
  .supported-title-row {
    align-items: flex-start;
  }
  .wallet-position-list .proto-band-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.var-prog {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-muted);
  margin-right: 2px;
}


.gap-meta.wallet-universe {
  margin-top: 56px;
}
.gap-meta.wallet-universe .gap-scroll {
  max-height: min(60vh, 640px);
}
.gap-meta-heading {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.015em;
  text-align: center;
}
.missing-protocols-heading {
  margin: 40px 0 16px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.015em;
  text-align: center;
}
#missing-protocols + .lede {
  text-align: center;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}
.gap-meta-tabs {
  flex-wrap: wrap;
  margin-bottom: 18px;
  justify-content: center;
}
.gap-meta-tab {
  font-size: 13px;
  padding: 9px 14px;
}
.gap-tab-count {
  margin-left: 6px;
  opacity: 0.75;
  font-size: 11px;
  font-weight: 500;
}
.gap-meta-panel[hidden] {
  display: none !important;
}
.gap-meta .gap-table td.mint-cell,
.gap-meta .gap-table td.mint-cell .mint-link {
  font-size: 9.5px;
  letter-spacing: -0.02em;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-all;
}


.missing-protocols-subheading {
  margin: 2.25rem 0 0.65rem;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-align: center;
}

/* ---- ELI5 sales redesign (v120) ---- */
.cover h1 em {
  font-style: normal;
  color: var(--accent);
}
.cover-sub {
  max-width: 520px;
  margin: 0 auto;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.5;
}
.cover-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}
.cover-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-secondary);
}
.cover-pill svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
  flex: 0 0 auto;
}

.pillar-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sell-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}
.sell-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(227, 179, 65, 0.06) 0%, transparent 55%);
  pointer-events: none;
}
.sell-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--accent);
  background: var(--accent-select);
  border: 1px solid rgba(227, 179, 65, 0.22);
}
.sell-icon svg { width: 22px; height: 22px; }
.sell-card h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.sell-stat {
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 14px;
  color: var(--text-primary);
}
.sell-stat span {
  font-size: 0.38em;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-left: 6px;
  color: var(--accent);
  vertical-align: 0.35em;
}
.sell-card > p:last-child {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}
.sell-card > p:last-child strong { color: var(--text-secondary); }

.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
}

/* ---- Combined proof table (v142) ---- */
.proof-table-card {
  overflow: hidden;
  display: none;
}
.proof-table-card .proof-table {
  min-width: 0 !important;
  table-layout: fixed;
}
.proof-sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.proof-sec-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.proof-sec-label .sec-ico {
  width: 13px;
  height: 13px;
  opacity: 0.95;
}
.proof-sec-hint {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.proof-table-card .line-table th,
.proof-table-card .line-table td {
  padding: 10px 12px;
}
.proof-table-card .line-table th:first-child,
.proof-table-card .line-table td:first-child {
  width: 44%;
  white-space: normal;
}
.proof-table-card .line-table th:nth-child(2),
.proof-table-card .line-table th:nth-child(3),
.proof-table-card .line-table th:nth-child(4),
.proof-table-card .line-table td:nth-child(2),
.proof-table-card .line-table td:nth-child(3),
.proof-table-card .line-table td:nth-child(4) {
  width: 18.5%;
}
.proof-table-card tr.section-row td {
  padding: 10px 12px 2px;
  border-bottom: none;
  background: transparent;
}
.proof-table-card tr.section-row--first td {
  padding-top: 2px;
}
.proof-table-card tr.section-row--split td {
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.proof-table-card tr.section-row + tr td {
  border-top: none;
  padding-top: 10px;
}
.proof-table-card .win-pill,
.proof-table-card .rank-pill {
  padding: 4px 7px;
  font-size: 11px;
}
.proof-table-card .plat--comp {
  font-size: 10.5px;
  letter-spacing: 0.04em;
}
.proof-grid .table-card {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overflow-x: hidden;
}
.proof-grid .line-table,
.proof-grid table.line-table.compact {
  min-width: 0 !important;
  width: 100%;
  table-layout: fixed;
}
.proof-grid .table-head {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  flex: 0 0 auto;
}
.proof-grid .plat {
  font-size: 11px;
  white-space: nowrap;
}
.proof-grid .line-table th,
.proof-grid .line-table td {
  padding: 10px 6px;
}
.proof-grid .line-table th:first-child,
.proof-grid .line-table td:first-child {
  width: 42%;
  white-space: normal;
  padding-right: 6px;
}
.proof-grid .line-table th:not(:first-child),
.proof-grid .line-table td:not(:first-child) {
  width: 29%;
}
.proof-grid .field-label {
  white-space: normal;
  gap: 6px;
}
.proof-grid .field-text {
  white-space: normal;
  line-height: 1.25;
}
.proof-grid .win-pill,
.proof-grid .rank-pill {
  padding: 5px 7px;
  font-size: 11px;
  max-width: 100%;
  white-space: nowrap;
}
@media (max-width: 980px) {
  .proof-grid {
    grid-template-columns: 1fr;
  }
  .proof-grid .table-card {
    height: auto;
  }
}
.table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 4px 0 8px;
}
.table-hint {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.table-head .sec-label {
  width: auto;
  padding: 8px 12px;
}
.inline-ico {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  margin-right: 4px;
  color: var(--accent);
}
.line-table.compact { min-width: 560px; }
.line-table.compact th,
.line-table.compact td { padding: 11px 12px; }

.eli5-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.eli5-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 20px 18px;
}
.eli5-ico {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  place-items: center;
  display: grid;
  flex: 0 0 auto;
  margin: 0 10px 0 0;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
}
.eli5-ico svg { width: 18px; height: 18px; }
.eli5-card h4 {
  font-size: 16px;
  font-weight: 650;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.eli5-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.eli5-card p strong { color: var(--text-secondary); }

.defi-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0 18px;
}
.defi-shot {
  margin: 0;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
}
.defi-shot-media {
  aspect-ratio: 1024 / 744;
  overflow: hidden;
  background: var(--bg-secondary);
}
.defi-shot-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.defi-shot figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--border-card);
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.45;
}
.defi-shot figcaption strong {
  color: var(--text-primary);
  font-size: 13px;
}

.note-box {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-card);
  background: rgba(255, 255, 255, 0.02);
  max-width: none;
}

.package-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 8px;
}
.buyer-title {
  margin-top: 40px;
}
.buyer-grid {
  margin-top: 8px;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.method-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 20px 16px;
}
.method-card h4 {
  margin: 0 0 8px;
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.method-card p {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .pillar-trio,
  .eli5-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }
  .package-split {
    grid-template-columns: 1fr;
  }
  .defi-showcase {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .cover-pills { gap: 8px; }
  .toc-links { display: none; }
  .sell-stat { font-size: 40px; }
}

/* ---- Package get/skip checkmarks (v122) ---- */
.package-card {
  border-color: var(--border);
}
.package-card--get {
  border-color: rgba(37, 204, 128, 0.28);
  background: linear-gradient(180deg, rgba(37, 204, 128, 0.06), var(--bg-card) 42%);
}
.package-card--skip {
  border-color: rgba(255, 71, 87, 0.22);
  background: linear-gradient(180deg, rgba(255, 71, 87, 0.05), var(--bg-card) 42%);
}
.package-card-hd {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.pkg-badge {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}
.pkg-badge svg { width: 12px; height: 12px; display: block; }
.pkg-badge--get {
  color: #0b0b0b;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(37, 204, 128, 0.18);
}
.pkg-badge--skip {
  color: #fff;
  background: var(--error);
  box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.16);
}
.package-card .pkg-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.package-card .pkg-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--border-card);
  font-size: 13.5px;
  color: var(--text-secondary);
  position: static;
}
.package-card .pkg-list li::before { content: none; }
.package-card .pkg-list li:first-child { border-top: none; padding-top: 2px; }
.pkg-mark {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  margin-top: 1px;
}
.pkg-mark svg { width: 11px; height: 11px; display: block; }
.pkg-mark--check {
  color: #0b0b0b;
  background: var(--success);
}
.pkg-mark--x {
  color: #fff;
  background: rgba(255, 71, 87, 0.85);
}
.package-card .pkg-list strong { color: var(--text-primary); }

/* ---- Why us vs DIY (v123) ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 22px 18px;
}
.why-card--bad { border-color: rgba(255, 71, 87, 0.2); }
.why-card--mid { border-color: rgba(227, 179, 65, 0.22); }
.why-card--good {
  border-color: rgba(37, 204, 128, 0.3);
  background: linear-gradient(180deg, rgba(37, 204, 128, 0.07), var(--bg-card) 50%);
}
.why-card-head,
.eli5-card-head,
.buyer-card-head {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-card);
  padding-bottom: 14px;
  margin-bottom: 14px;
}
.why-ico {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  place-items: center;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  display: grid;
  flex: 0 0 auto;
  margin: 0 10px 0 0;
}
.why-card--good .why-ico {
  color: var(--success);
  background: rgba(37, 204, 128, 0.1);
  border-color: rgba(37, 204, 128, 0.25);
}
.why-card--bad .why-ico { color: var(--error); }
.why-card--mid .why-ico { color: var(--accent); }
.why-ico svg { width: 18px; height: 18px; }
.why-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--border-card);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}
.why-list li:first-child { border-top: none; padding-top: 0; }
.why-list strong { color: var(--text-primary); }
.why-split { margin-top: 4px; }
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ---- Feedback pass: win boxes, footnotes, request (v125+) ---- */
.fn {
  font-size: 10px;
  color: var(--text-muted);
  margin-left: 1px;
}
.proof-footnote {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-card);
  background: rgba(255, 255, 255, 0.02);
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: none;
}
.proof-footnote sup {
  color: var(--accent);
  font-weight: 700;
}
.proof-footnote .fn-note {
  display: block;
  padding-left: 18px;
  text-indent: -18px;
}
.proof-footnote .fn-note + .fn-note {
  margin-top: 10px;
}
.proto-request {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: 16px;
  border: 1px solid rgba(227, 179, 65, 0.28);
  background: linear-gradient(135deg, rgba(227, 179, 65, 0.08), rgba(255, 255, 255, 0.02));
}
.proto-request-copy h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.proto-request-copy p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-muted);
  max-width: 520px;
}
@media (max-width: 720px) {
  .proto-request { padding: 18px; }
}

/* ---- Rank pills: 2 yellow, 3 orange, last red (v127) ---- */
.line-table .rank-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.7em;
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 650;
  white-space: nowrap;
  box-sizing: border-box;
  color: var(--text-primary);
}
.line-table .rank-pill--2 {
  border: 1px solid rgba(250, 204, 21, 0.75);
  background: rgba(250, 204, 21, 0.16);
  color: #fef9c3;
}
.line-table .rank-pill--3 {
  border: 1px solid rgba(234, 88, 12, 0.7);
  background: rgba(194, 65, 12, 0.22);
  color: #ffedd5;
}
.line-table .rank-pill--last {
  border: 1px solid rgba(255, 71, 87, 0.65);
  background: rgba(255, 71, 87, 0.14);
}
.line-table td.rank-2,
.line-table td.rank-3,
.line-table td.rank-last {
  vertical-align: middle;
  color: var(--text-primary);
}

.line-table th:not(:first-child),
.line-table td:not(:first-child) {
  text-align: center;
}
.line-table td:not(:first-child) .win-pill,
.line-table td:not(:first-child) .rank-pill {
  margin-left: auto;
  margin-right: auto;
}

/* ---- Competitors column (v130) ---- */
.plat--comp { gap: 8px; }
.comp-ico {
  width: 16px;
  height: 16px;
  display: inline-flex;
  color: var(--text-muted);
  flex: 0 0 auto;
}
.comp-ico svg { width: 16px; height: 16px; display: block; }
.line-table.compare-2 { min-width: 0; }
.bars[data-compare-n="2"] .bar-rank-1 { background: var(--success); }
.bars[data-compare-n="2"] .bar-rank-2 { background: var(--error); }

/* ---- Best / Worst competitor cols (v142) ---- */
.line-table.compare-3 { min-width: 0; }
.bars[data-compare-n="3"] .bar-rank-1 { background: var(--success); }
.bars[data-compare-n="3"] .bar-rank-2 { background: #facc15; }
.bars[data-compare-n="3"] .bar-rank-3 { background: var(--error); }
.proof-grid .plat--comp { font-size: 10.5px; letter-spacing: 0.01em; }

/* ---- Stacked proof card polish (v145) ---- */
.proof-grid {
  gap: 12px;
}
.proof-grid .proof-card {
  padding: 0;
  background: transparent;
  border: 0;
  overflow: visible;
}
.proof-grid .table-head {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 2px 6px;
}
.proof-grid .table-head .sec-label {
  width: auto;
  padding: 5px 9px;
  border-radius: 8px;
}
.proof-grid .table-hint {
  font-size: 10px;
  letter-spacing: 0.08em;
}
.proof-grid .line-table {
  table-layout: fixed;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}
.proof-grid .line-table th,
.proof-grid .line-table td {
  padding: 10px 10px;
}
.proof-grid .line-table th:first-child,
.proof-grid .line-table td:first-child {
  width: 34%;
}
.proof-grid .line-table th:not(:first-child),
.proof-grid .line-table td:not(:first-child) {
  width: 22%;
  border-left: 1px solid rgba(255, 255, 255, 0.035);
}
.proof-grid .line-table th {
  padding-top: 6px;
  padding-bottom: 7px;
}
.proof-grid .line-table td {
  min-height: 48px;
}
.proof-grid .field-label {
  gap: 7px;
}
.proof-grid .win-pill,
.proof-grid .rank-pill {
  min-height: 1.7em;
  padding: 5px 8px;
}
.proof-grid .line-table th:not(:first-child),
.proof-grid .line-table td:not(:first-child) {
  width: 16.5%;
  text-align: center;
}
.proof-grid .line-table td:not(:first-child) .rank-pill--mute {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}
.charts .bars[data-compare-n="4"] .bar-rank-2,
.charts .bars[data-compare-n="4"] .bar-rank-3,
.charts .bars[data-compare-n="4"] .bar-rank-4 {
  background: rgba(255, 255, 255, 0.28);
}

/* Detailed comparison tables use the same five provider columns. */
#balances .line-table.compare-3 th:first-child,
#balances .line-table.compare-3 td:first-child,
#defi .line-table.compare-3 th:first-child,
#defi .line-table.compare-3 td:first-child {
  width: 34%;
}
#balances .line-table.compare-3 th:not(:first-child),
#balances .line-table.compare-3 td:not(:first-child),
#defi .line-table.compare-3 th:not(:first-child),
#defi .line-table.compare-3 td:not(:first-child) {
  width: 16.5%;
  text-align: center;
}

/* Section labels live in the first table-column header. */
.proof-grid .table-head {
  display: none;
}
.proof-grid .proof-section-th {
  text-transform: none;
  letter-spacing: 0;
  vertical-align: middle;
}
.proof-th-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.proof-th-title .sec-ico {
  width: 13px;
  height: 13px;
}
.proof-th-hint {
  display: inline;
  margin-left: 8px;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
}
.proof-section-th {
  white-space: nowrap;
}

/* Match the proof cards to the detailed tables below. */
.proof-grid .proof-card {
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  overflow: hidden;
}
.proof-grid .table-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 8px;
}
.proof-grid .table-head .sec-label {
  padding: 8px 12px;
}
.proof-grid .line-table {
  background: transparent;
  border: 0;
  border-radius: 0;
}
.proof-grid .line-table th,
.proof-grid .line-table td {
  padding: 11px 12px;
}
.proof-grid .line-table th:not(:first-child),
.proof-grid .line-table td:not(:first-child) {
  border-left: 0;
}

/* Keep the flat protocol catalog on multiple rows. */
.supported-protocol-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  min-width: 0;
}
.supported-protocol-grid li {
  width: auto;
  min-width: 0;
  flex: none;
}
@media (max-width: 720px) {
  .supported-protocol-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Show the 24 most recognizable wallet platforms, with the rest in a hover card. */
.wallet-position-list .proto-band-list > li {
  display: none;
}
.wallet-position-list .proto-band-list > li:nth-child(1) { display: flex; order: 1; }
.wallet-position-list .proto-band-list > li:nth-child(2) { display: flex; order: 2; }
.wallet-position-list .proto-band-list > li:nth-child(3) { display: flex; order: 3; }
.wallet-position-list .proto-band-list > li:nth-child(4) { display: flex; order: 4; }
.wallet-position-list .proto-band-list > li:nth-child(5) { display: flex; order: 5; }
.wallet-position-list .proto-band-list > li:nth-child(6) { display: flex; order: 6; }
.wallet-position-list .proto-band-list > li:nth-child(7) { display: flex; order: 7; }
.wallet-position-list .proto-band-list > li:nth-child(8) { display: flex; order: 8; }
.wallet-position-list .proto-band-list > li:nth-child(9) { display: flex; order: 9; }
.wallet-position-list .proto-band-list > li:nth-child(35) { display: flex; order: 10; }
.wallet-position-list .proto-band-list > li:nth-child(14) { display: flex; order: 11; }
.wallet-position-list .proto-band-list > li:nth-child(52) { display: flex; order: 12; }
.wallet-position-list .proto-band-list > li:nth-child(55) { display: flex; order: 13; }
.wallet-position-list .proto-band-list > li:nth-child(48) { display: flex; order: 14; }
.wallet-position-list .proto-band-list > li:nth-child(33) { display: flex; order: 15; }
.wallet-position-list .proto-band-list > li:nth-child(20) { display: flex; order: 16; }
.wallet-position-list .proto-band-list > li:nth-child(11) { display: flex; order: 17; }
.wallet-position-list .proto-band-list > li:nth-child(45) { display: flex; order: 18; }
.wallet-position-list .proto-band-list > li:nth-child(41) { display: flex; order: 19; }
.wallet-position-list .proto-band-list > li:nth-child(39) { display: flex; order: 20; }
.wallet-position-list .proto-band-list > li:nth-child(54) { display: flex; order: 21; }
.wallet-position-list .proto-band-list > li:nth-child(25) { display: flex; order: 22; }
.wallet-position-list .proto-band-list > li:nth-child(28) { display: flex; order: 23; }
.wallet-position-list .proto-band-list > li:nth-child(16) { display: flex; order: 24; }
.wallet-position-list .proto-band-list > li.wallet-more {
  display: flex;
  position: relative;
  order: 25;
  cursor: help;
}
.router-grid > li {
  display: none;
}
.router-grid > li:nth-child(50) { display: flex; order: 1; }
.router-grid > li:nth-child(48) { display: flex; order: 2; }
.router-grid > li:nth-child(47) { display: flex; order: 3; }
.router-grid > li:nth-child(41) { display: flex; order: 4; }
.router-grid > li:nth-child(51) { display: flex; order: 5; }
.router-grid > li:nth-child(49) { display: flex; order: 6; }
.router-grid > li:nth-child(52) { display: flex; order: 7; }
.router-grid > li:nth-child(53) { display: flex; order: 8; }
.router-grid > li:nth-child(54) { display: flex; order: 9; }
.router-grid > li:nth-child(55) { display: flex; order: 10; }
.router-grid > li:nth-child(56) { display: flex; order: 11; }
.router-grid > li:nth-child(5) { display: flex; order: 12; }
.router-grid > li:nth-child(44) { display: flex; order: 13; }
.router-grid > li:nth-child(34) { display: flex; order: 14; }
.router-grid > li:nth-child(40) { display: flex; order: 15; }
.router-grid > li:nth-child(24) { display: flex; order: 16; }
.router-grid > li:nth-child(10) { display: flex; order: 17; }
.router-grid > li:nth-child(2) { display: flex; order: 18; }
.router-grid > li:nth-child(36) { display: flex; order: 19; }
.router-grid > li:nth-child(31) { display: flex; order: 20; }
.router-grid > li:nth-child(30) { display: flex; order: 21; }
.router-grid > li:nth-child(46) { display: flex; order: 22; }
.router-grid > li:nth-child(15) { display: flex; order: 23; }
.router-grid > li:nth-child(7) { display: flex; order: 24; }
.router-grid > li.router-more {
  display: flex;
  position: relative;
  order: 25;
  cursor: help;
}
.wallet-more-popover {
  display: none;
  position: absolute;
  z-index: 10;
  top: calc(100% + 8px);
  right: 0;
  width: min(780px, calc(100vw - 32px));
  padding: 14px 16px;
  border: 1px solid var(--border-hover);
  border-radius: 12px;
  background: #1b1b1b;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4);
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.55;
}
.wallet-more-popover strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text-primary);
  font-size: 12px;
}
.wallet-more-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.wallet-more-item {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid var(--border-card);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-secondary);
  font-size: 11px;
  line-height: 1.2;
}
.wallet-more-item > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 6px;
  background: var(--accent-select);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
}
.wallet-more-item > img {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 6px;
  object-fit: cover;
  background: transparent;
}
.proto-type-card.proto-type-more {
  position: relative;
  cursor: help;
}
.proto-type-more .wallet-more-popover {
  width: min(330px, calc(100vw - 32px));
}
.proto-type-more .wallet-more-grid {
  grid-template-columns: minmax(0, 1fr);
}
.wallet-more:hover .wallet-more-popover,
.wallet-more:focus .wallet-more-popover,
.wallet-more:focus-within .wallet-more-popover {
  display: block;
}

#balances > .wrap {
  display: flex;
  flex-direction: column;
}
#balances > .wrap > .wallet-position-catalog {
  order: 1;
}
#balances > .wrap > .supported-router-catalog {
  order: 2;
}
