:root {
  color-scheme: dark;
  --bg: oklch(16% 0.018 150);
  --surface: oklch(19.5% 0.021 150);
  --surface-raised: oklch(23% 0.025 150);
  --surface-hover: oklch(26% 0.026 150);
  --rule: oklch(33% 0.027 150);
  --rule-soft: oklch(27% 0.022 150);
  --text: oklch(91% 0.018 86);
  --muted: oklch(71% 0.022 146);
  --subtle: oklch(61% 0.023 146);
  --gold: oklch(77% 0.105 78);
  --gold-wash: oklch(29% 0.043 78);
  --positive: oklch(75% 0.105 147);
  --negative: oklch(72% 0.13 35);
  --font-body: "Avenir Next", Avenir, "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Bitstream Charter", "Iowan Old Style", "Songti SC", Georgia, serif;
  --font-numeric: "DIN Alternate", "Avenir Next", "Liberation Sans", sans-serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; background: var(--bg); }
body {
  min-width: 20rem;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.48;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .48; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { color: var(--bg); background: var(--gold); }

.skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  padding: .65rem 1rem;
  color: var(--bg);
  background: var(--gold);
  text-decoration: none;
  transform: translateY(-170%);
}
.skip-link:focus { transform: translateY(0); }

.topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  grid-template-columns: minmax(13rem, 1fr) auto minmax(17rem, 1fr);
  align-items: center;
  gap: 1.5rem;
  min-height: 4.25rem;
  padding: .45rem clamp(1rem, 2.5vw, 2.5rem);
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}
.brand { display: inline-flex; align-items: center; gap: .7rem; width: max-content; text-decoration: none; }
.brand-mark {
  position: relative;
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  border: 2px solid var(--gold);
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-31deg);
}
.brand-mark::before, .brand-mark::after { position: absolute; content: ""; background: var(--gold); }
.brand-mark::before { width: 1.18rem; height: 1px; }
.brand-mark::after { width: 1px; height: 1.18rem; }
.brand-mark span { width: .32rem; height: .32rem; border-radius: 50%; background: var(--gold); }
.brand-type { display: grid; line-height: 1.05; }
.brand-type strong { font-family: var(--font-numeric); font-size: 1.08rem; font-weight: 800; letter-spacing: .035em; }
.brand-type small { margin-top: .24rem; color: var(--subtle); font-size: .55rem; font-weight: 750; letter-spacing: .19em; }
.brand-slash { padding: 0 .07em; color: var(--gold); }
.topnav { display: flex; align-items: center; gap: clamp(.65rem, 1.6vw, 1.7rem); }
.topnav a {
  padding: .7rem .08rem;
  color: var(--muted);
  font-size: .79rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  transition: color 150ms var(--ease-out);
}
.topnav a:hover, .topnav a:focus-visible { color: var(--gold); }
.topbar-tools { display: flex; justify-content: flex-end; align-items: center; gap: .5rem; }
.search-box {
  display: flex;
  align-items: center;
  gap: .55rem;
  width: min(100%, 15.75rem);
  min-height: 2.25rem;
  padding: 0 .6rem;
  border: 1px solid var(--rule);
  background: var(--surface);
}
.search-box:focus-within { border-color: var(--gold); }
.search-glyph { color: var(--gold); font-size: 1.4rem; line-height: 1; }
.search-box input { flex: 1; min-width: 0; padding: .3rem 0; border: 0; outline: 0; color: var(--text); background: transparent; font-size: .75rem; }
.search-box input::placeholder { color: var(--subtle); opacity: 1; }
.search-box kbd { color: var(--subtle); font-family: var(--font-numeric); font-size: .68rem; }
.refresh-button {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--gold);
  font-family: var(--font-numeric);
  font-size: 1.25rem;
  line-height: 1;
  transition: background 150ms var(--ease-out), transform 150ms var(--ease-out);
}
.refresh-button:hover { background: var(--surface-hover); }
.refresh-button:active { transform: rotate(-35deg); }
.refresh-button.is-loading { opacity: .55; }

.app-frame { width: min(100%, 105rem); margin: 0 auto; padding: 0 clamp(1rem, 2.5vw, 2.5rem) 3rem; }
.service-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  margin-top: .8rem;
  padding: .65rem .9rem;
  border: 1px solid var(--negative);
  color: var(--text);
  background: oklch(24% .035 35);
  font-size: .8rem;
}
.service-banner[hidden] { display: none; }
.service-banner button { padding: .28rem .55rem; border: 1px solid var(--negative); background: transparent; font-size: .76rem; }
.service-banner button:hover { background: oklch(30% .048 35); }

.opening {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  min-height: 8.2rem;
  padding: 2rem 0 1.35rem;
  border-bottom: 1px solid var(--rule);
  animation: rise-in 500ms var(--ease-out) both;
}
.opening::after {
  position: absolute;
  right: 1rem;
  top: 0;
  width: 12rem;
  height: 7rem;
  border-right: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
  content: "";
  pointer-events: none;
}
.eyebrow, .section-index {
  margin: 0;
  color: var(--gold);
  font-family: var(--font-numeric);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .16em;
}
.eyebrow { display: flex; align-items: center; gap: .55rem; }
.eyebrow-line { width: 1.5rem; height: 1px; background: var(--gold); }
.eyebrow-separator { color: var(--subtle); }
.opening h1 {
  margin: .45rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 4.2vw, 4.65rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.062em;
}
.opening h1 em {
  margin-left: .15em;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: .68em;
  font-style: normal;
  font-weight: 620;
  letter-spacing: -.08em;
}
.opening-deck { margin: .7rem 0 0; color: var(--muted); font-size: .86rem; }
.snapshot-stamp { position: relative; z-index: 1; display: grid; justify-items: end; gap: .2rem; padding-bottom: .15rem; font-family: var(--font-numeric); font-size: .7rem; font-variant-numeric: tabular-nums; }
.snapshot-stamp > span:not(:first-child) { color: var(--subtle); }
.live-indicator { display: inline-flex; align-items: center; gap: .5rem; color: var(--positive); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.live-indicator.is-delayed { color: var(--negative); }
.live-dot { width: .43rem; height: .43rem; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 .25rem oklch(40% .035 145 / 25%); }

.metric-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 6.45rem;
  border-bottom: 1px solid var(--rule);
  animation: rise-in 550ms 65ms var(--ease-out) both;
}
.metric-loading { grid-column: 1 / -1; align-self: center; color: var(--muted); font-size: .9rem; }
.metric-cell { display: grid; align-content: center; min-width: 0; padding: .65rem 1.2rem .65rem 0; }
.metric-cell + .metric-cell { padding-left: 1.2rem; border-left: 1px solid var(--rule-soft); }
.metric-label { margin: 0 0 .14rem; color: var(--muted); font-size: .66rem; font-weight: 680; letter-spacing: .055em; }
.metric-value { display: block; overflow: hidden; font-family: var(--font-numeric); font-size: clamp(1.25rem, 1.9vw, 1.9rem); font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.13; letter-spacing: -.04em; text-overflow: ellipsis; white-space: nowrap; }
.metric-value.positive { color: var(--positive); }
.metric-value.negative { color: var(--negative); }
.metric-sub { margin: .2rem 0 0; overflow: hidden; color: var(--subtle); font-size: .63rem; text-overflow: ellipsis; white-space: nowrap; }
.date-toolbar { display: flex; align-items: center; gap: 1.2rem; min-height: 3.65rem; border-bottom: 1px solid var(--rule); }
.date-toolbar-label { display: flex; align-items: baseline; gap: .45rem; flex-shrink: 0; font-size: .77rem; font-weight: 700; }
.date-toolbar-label small { color: var(--subtle); font-size: .64rem; font-weight: 450; }
.day-tabs { display: flex; align-self: stretch; align-items: stretch; gap: .1rem; overflow-x: auto; scrollbar-width: none; }
.day-tabs::-webkit-scrollbar { display: none; }
.day-tabs button { position: relative; min-width: 3.7rem; padding: .35rem .6rem; border: 0; color: var(--subtle); background: transparent; font-family: var(--font-numeric); font-size: .71rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.day-tabs button[aria-pressed="true"] { color: var(--gold); font-weight: 800; }
.day-tabs button[aria-pressed="true"]::after { position: absolute; right: .48rem; bottom: 0; left: .48rem; height: 2px; background: var(--gold); content: ""; }
.day-tabs button:hover { color: var(--text); }
.partial-label { margin-left: auto; color: var(--subtle); font-size: .65rem; white-space: nowrap; }

.terminal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; align-items: start; gap: 1.1rem; padding-top: 1.25rem; animation: rise-in 600ms 110ms var(--ease-out) both; }
.primary-column, .intelligence-column { min-width: 0; }
.primary-column { display: grid; gap: 1.1rem; }
.market-row, .discovery-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.data-panel { min-width: 0; padding: 1.05rem 1rem 0; border: 1px solid var(--rule-soft); background: var(--surface); }
.panel-heading { display: flex; justify-content: space-between; align-items: start; gap: .75rem; margin-bottom: .75rem; }
.panel-heading h2 { display: flex; align-items: baseline; gap: .5rem; margin: .17rem 0 0; font-size: 1.15rem; font-weight: 650; letter-spacing: -.055em; line-height: 1.2; }
.heading-count { color: var(--subtle); font-family: var(--font-numeric); font-size: .68rem; font-weight: 600; letter-spacing: 0; }
.micro-label { align-self: end; padding-bottom: .1rem; color: var(--subtle); font-size: .62rem; white-space: nowrap; }
.panel-loading { display: grid; min-height: 7.7rem; place-items: center; margin: 0; color: var(--subtle); font-size: .76rem; }
.panel-footnote { margin: .7rem -1rem 0; padding: .55rem 1rem .62rem; border-top: 1px solid var(--rule-soft); color: var(--subtle); font-size: .65rem; line-height: 1.48; }
.empty-state { display: grid; gap: .3rem; justify-items: start; min-height: 5rem; align-content: center; padding: .9rem 0; color: var(--muted); font-size: .76rem; }
.empty-state strong { color: var(--text); font-size: .81rem; }

.segmented { display: flex; gap: .1rem; padding: .13rem; border: 1px solid var(--rule); background: var(--bg); }
.segmented button, .sort-controls button, .social-controls button { border: 0; color: var(--muted); background: transparent; font-size: .65rem; font-weight: 700; white-space: nowrap; }
.segmented button { min-height: 1.55rem; padding: .22rem .45rem; }
.segmented button[aria-pressed="true"] { color: var(--bg); background: var(--gold); }
.segmented button:not([aria-pressed="true"]):hover { color: var(--text); }
.capital-content, .swaps-content { min-height: 12rem; }
.flow-summary { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: end; gap: .8rem; }
.flow-main .small-label, .flow-side .small-label, .swap-topline .small-label { display: block; color: var(--subtle); font-size: .62rem; }
.flow-main strong, .swap-topline strong { display: block; font-family: var(--font-numeric); font-size: clamp(1.55rem, 2.1vw, 2.1rem); font-variant-numeric: tabular-nums; letter-spacing: -.055em; line-height: 1.12; }
.flow-main strong.positive { color: var(--positive); }
.flow-main strong.negative { color: var(--negative); }
.flow-net { display: flex; align-items: baseline; gap: .3rem; min-width: 0; white-space: nowrap; }
.flow-unit { color: var(--muted); font-family: var(--font-numeric); font-size: .67rem; font-weight: 700; }
.flow-side { padding-bottom: .16rem; text-align: right; }
.flow-side strong { display: block; font-family: var(--font-numeric); font-size: .82rem; font-variant-numeric: tabular-nums; }
.flow-side.in strong { color: var(--positive); }
.flow-side.out strong { color: var(--negative); }
.capital-net-summary { grid-template-columns: minmax(0, 1fr) auto; }
.capital-valuation-time { align-self: end; padding-bottom: .16rem; text-align: right; }
.capital-valuation-time .small-label { display: block; color: var(--subtle); font-size: .62rem; }
.capital-valuation-time strong { color: var(--muted); font-family: var(--font-numeric); font-size: .7rem; font-variant-numeric: tabular-nums; }
.capital-contributions { display: grid; gap: .34rem; margin-top: .8rem; padding-top: .62rem; border-top: 1px solid var(--rule-soft); }
.capital-contribution { display: grid; grid-template-columns: 7.4rem minmax(2rem, 1fr) 4.5rem; align-items: center; gap: .55rem; min-height: 1.4rem; }
.contribution-label { display: flex; align-items: baseline; gap: .35rem; min-width: 0; }
.contribution-label strong { color: var(--text); font-family: var(--font-numeric); font-size: .68rem; }
.contribution-label span { overflow: hidden; color: var(--subtle); font-size: .55rem; text-overflow: ellipsis; white-space: nowrap; }
.contribution-track { display: block; width: 100%; height: .24rem; overflow: hidden; border: 0; border-radius: 0; background: var(--rule-soft); appearance: none; }
.contribution-track::-webkit-progress-bar { background: var(--rule-soft); }
.contribution-track.positive::-webkit-progress-value { background: var(--positive); }
.contribution-track.negative::-webkit-progress-value { background: var(--negative); }
.contribution-track.positive::-moz-progress-bar { background: var(--positive); }
.contribution-track.negative::-moz-progress-bar { background: var(--negative); }
.contribution-value { font-family: var(--font-numeric); font-size: .7rem; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.contribution-value.positive { color: var(--positive); }
.contribution-value.negative { color: var(--negative); }
.flow-chart, .swap-chart { margin-top: .95rem; }
.chart-scale-note { display: block; margin-top: .22rem; color: var(--subtle); font-size: .54rem; text-align: right; }
.capital-breakdown { margin-top: .85rem; border-top: 1px solid var(--rule); }
.capital-breakdown summary { display: flex; align-items: center; justify-content: space-between; min-height: 2.5rem; color: var(--gold); font-size: .68rem; font-weight: 700; cursor: pointer; list-style: none; }
.capital-breakdown summary::-webkit-details-marker { display: none; }
.capital-breakdown summary::after { content: "↗"; font-size: .85rem; transition: transform 180ms var(--ease-out); }
.capital-breakdown[open] summary::after { transform: rotate(90deg); }
.capital-asset-list { border-top: 1px solid var(--rule-soft); }
.capital-asset-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: .5rem; padding: .47rem 0; border-bottom: 1px solid var(--rule-soft); font-family: var(--font-numeric); font-variant-numeric: tabular-nums; }
.capital-asset-identity { display: grid; min-width: 0; gap: .08rem; }
.capital-asset-identity strong { color: var(--text); font-size: .7rem; }
.capital-asset-identity span { overflow: hidden; color: var(--subtle); font-family: var(--font-body); font-size: .57rem; text-overflow: ellipsis; white-space: nowrap; }
.capital-asset-identity .capital-asset-legs { color: var(--muted); font-family: var(--font-numeric); font-size: .58rem; }
.capital-asset-raw { color: var(--muted); font-size: .65rem; text-align: right; white-space: nowrap; }
.capital-asset-value { color: var(--text); font-size: .7rem; text-align: right; white-space: nowrap; }
.capital-method-line { margin: .55rem 0; color: var(--subtle); font-size: .61rem; line-height: 1.45; }
.capital-price-sources { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem .5rem; padding: .5rem 0 .15rem; border-top: 1px solid var(--rule-soft); color: var(--subtle); font-family: var(--font-numeric); font-size: .58rem; }
.capital-price-sources a { color: var(--muted); text-align: right; text-underline-offset: .15rem; }
.flow-chart svg, .swap-chart svg { display: block; width: 100%; height: 5.5rem; overflow: visible; }
.chart-grid { stroke: var(--rule); stroke-width: 1; }
.chart-missing { stroke: var(--subtle); stroke-width: 1.5; }
.chart-positive { fill: var(--positive); }
.chart-negative { fill: var(--negative); }
.chart-swap { fill: var(--gold); }
.chart-swap.is-selected { fill: var(--text); }
.chart-axis { display: flex; justify-content: space-around; gap: .15rem; margin-top: .1rem; color: var(--subtle); font-family: var(--font-numeric); font-size: .6rem; font-variant-numeric: tabular-nums; }
.chart-axis span { width: 2rem; text-align: center; }
.chart-axis span.is-selected { color: var(--gold); }
.swap-topline { display: flex; justify-content: space-between; align-items: end; gap: .65rem; }
.swap-topline .swap-events { padding-bottom: .15rem; color: var(--muted); font-family: var(--font-numeric); font-size: .75rem; text-align: right; }
.swap-topline .swap-events b { display: block; color: var(--text); font-size: .86rem; }
.swap-split { display: flex; align-items: center; gap: .6rem; margin-top: .65rem; color: var(--muted); font-size: .61rem; }
.split-track { display: flex; flex: 1; height: .36rem; overflow: hidden; background: var(--rule); }
.split-v3 { background: var(--positive); }
.split-v4 { background: var(--gold); }
.swap-meta { display: flex; justify-content: space-between; gap: .5rem; margin-top: .36rem; color: var(--subtle); font-size: .65rem; }

.leaderboard-panel { padding-top: 1.1rem; }
.leaderboard-heading { align-items: end; margin-bottom: .9rem; }
.sort-controls, .social-controls { display: flex; gap: .8rem; }
.sort-controls button, .social-controls button { padding: .38rem .15rem; border-bottom: 1px solid transparent; }
.sort-controls button[aria-pressed="true"], .social-controls button[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); }
.sort-controls button:hover, .social-controls button:hover { color: var(--text); }
.table-head, .table-row { display: grid; align-items: center; column-gap: .55rem; }
.table-head { min-height: 1.75rem; border-bottom: 1px solid var(--rule); color: var(--subtle); font-size: .62rem; font-weight: 700; }
.table-head span:not(:first-child) { text-align: right; }
.table-body { min-height: 3.5rem; }
.table-row { min-height: 3.65rem; padding: .42rem 0; border-bottom: 1px solid var(--rule-soft); transition: background 140ms var(--ease-out); }
.table-row:last-child { border-bottom: 0; }
.table-row:hover { background: var(--surface-hover); }
.launch-table-head, .launch-table .table-row { grid-template-columns: minmax(0, 1.9fr) minmax(4.5rem, .46fr) minmax(7.3rem, .72fr) minmax(4.4rem, .45fr); }
.identity-cell { display: flex; align-items: center; min-width: 0; gap: .62rem; }
.rank { flex: 0 0 1.35rem; color: var(--subtle); font-family: var(--font-numeric); font-size: .65rem; font-variant-numeric: tabular-nums; }
.identity-main { min-width: 0; }
.identity-title { display: inline-flex; align-items: center; gap: .35rem; max-width: 100%; overflow: hidden; color: var(--text); font-size: .82rem; font-weight: 700; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
a.identity-title:hover, .evidence-link:hover { color: var(--gold); }
.identity-sub { display: flex; align-items: center; gap: .36rem; min-width: 0; margin-top: .12rem; color: var(--subtle); font-family: var(--font-numeric); font-size: .61rem; }
.identity-sub span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge { display: inline-flex; align-items: center; flex-shrink: 0; min-height: 1.1rem; padding: .05rem .32rem; border: 1px solid var(--rule); color: var(--muted); font-family: var(--font-body); font-size: .57rem; font-weight: 650; white-space: nowrap; }
.badge.official { border-color: var(--gold); color: var(--gold); }
.badge.corroborated { border-color: var(--positive); color: var(--positive); }
.badge.candidate { border-color: var(--rule); color: var(--subtle); }
.badge.metadata-badge { border-color: var(--rule); color: var(--muted); }
.badge.warning-badge { border-color: var(--negative); color: var(--negative); }
.source-details { margin-top: .14rem; color: var(--muted); font-size: .61rem; }
.source-details summary { width: max-content; max-width: 100%; cursor: pointer; list-style: none; }
.source-details summary::-webkit-details-marker { display: none; }
.source-details summary::before { margin-right: .25rem; color: var(--gold); content: "▸"; }
.source-details[open] summary::before { content: "▾"; }
.source-details summary:hover { color: var(--gold); }
.source-links { display: flex; flex-wrap: wrap; gap: .2rem .65rem; margin: .25rem 0 .1rem; }
.numeric-cell { color: var(--text); font-family: var(--font-numeric); font-size: .82rem; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.numeric-cell.main-volume { font-weight: 750; }
.numeric-cell.is-missing { color: var(--subtle); font-family: var(--font-body); font-size: .65rem; font-weight: 450; }
.venue-cell { color: var(--subtle); font-family: var(--font-numeric); font-size: .65rem; text-align: right; text-transform: uppercase; white-space: nowrap; }
.evidence-link { color: var(--muted); font-family: var(--font-body); font-size: .61rem; text-decoration: none; white-space: nowrap; }

.token-table-head, .token-table .table-row { grid-template-columns: minmax(0, 1fr) minmax(3.3rem, .29fr) minmax(5.3rem, .48fr); }
.protocol-table-head, .protocol-table .table-row { grid-template-columns: minmax(0, 1fr) minmax(3.5rem, .35fr) minmax(4.1rem, .4fr); }
.tokens-panel .table-row, .protocols-panel .table-row { min-height: 3.25rem; }
.token-avatar { position: relative; display: grid; flex: 0 0 1.9rem; width: 1.9rem; height: 1.9rem; place-items: center; overflow: hidden; border: 1px solid var(--rule); background: var(--surface-raised); }
.token-avatar svg { width: 1.55rem; height: 1.55rem; }
.token-avatar img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.token-avatar.has-image img { opacity: 1; }
.token-title-line { display: flex; align-items: center; gap: .25rem; min-width: 0; }
.token-title-line .identity-title { min-width: 0; }
.token-title-line .badge { padding-inline: .2rem; font-size: .5rem; }
.tokens-panel .identity-title, .protocols-panel .identity-title { font-size: .76rem; }
.tokens-panel .identity-sub, .protocols-panel .identity-sub { font-size: .57rem; }
.tokens-panel .rank, .protocols-panel .rank { flex-basis: 1.05rem; }

.intelligence-column { display: grid; gap: 1.1rem; }
.social-mark { color: var(--gold); font-family: var(--font-display); font-size: 1.45rem; line-height: 1; }
.social-panel { padding-top: 1.05rem; }
.social-controls { margin: -.1rem 0 .2rem; border-bottom: 1px solid var(--rule); }
.social-more { width: 100%; min-height: 2.75rem; margin-top: .45rem; padding: .7rem .5rem; border: 1px solid var(--rule); background: transparent; color: var(--gold); font: inherit; font-size: .72rem; letter-spacing: .04em; cursor: pointer; }
.social-more:hover, .social-more:focus-visible { border-color: var(--gold); color: var(--text); }
.social-list { max-height: 27rem; overflow-y: auto; scrollbar-color: var(--rule) var(--surface); scrollbar-width: thin; }
.social-event { padding: .72rem 0 .75rem; border-bottom: 1px solid var(--rule-soft); }
.social-event:last-child { border-bottom: 0; }
.event-overline { display: flex; justify-content: space-between; align-items: center; gap: .55rem; margin-bottom: .26rem; color: var(--subtle); font-family: var(--font-numeric); font-size: .57rem; letter-spacing: .07em; }
.event-type { display: inline-flex; align-items: center; gap: .34rem; color: var(--gold); font-weight: 750; }
.event-type::before { width: .28rem; height: .28rem; border-radius: 50%; background: currentColor; content: ""; }
.event-title { margin: 0; color: var(--text); font-size: .77rem; line-height: 1.48; }
.event-title a { color: var(--text); font-weight: 730; text-decoration: none; }
.event-title a:hover { color: var(--gold); }
.event-title .arrow { padding: 0 .2rem; color: var(--gold); }
.event-title .target { color: var(--gold); }
.event-excerpt { display: -webkit-box; overflow: hidden; margin: .3rem 0 0; color: var(--muted); font-size: .7rem; line-height: 1.45; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.event-meta { display: flex; flex-wrap: wrap; gap: .25rem .65rem; margin-top: .33rem; color: var(--subtle); font-size: .61rem; }
.event-meta a { color: var(--muted); text-decoration-color: var(--rule); text-underline-offset: .17rem; }
.event-meta a:hover { color: var(--gold); }
.event-caution { margin-top: .36rem; color: var(--subtle); font-size: .59rem; }
.people-list { max-height: 18rem; overflow-y: auto; scrollbar-color: var(--rule) var(--surface); scrollbar-width: thin; }
.person-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .3rem; min-height: 3rem; padding: .38rem 0; border-bottom: 1px solid var(--rule-soft); }
.person-row:last-child { border-bottom: 0; }
.person-name-line { display: flex; align-items: center; gap: .35rem; min-width: 0; }
.person-name { display: flex; align-items: center; gap: .3rem; min-width: 0; color: var(--text); font-size: .72rem; font-weight: 680; text-decoration: none; }
.person-name:hover { color: var(--gold); }
.person-name .person-handle { overflow: hidden; color: var(--subtle); font-family: var(--font-numeric); font-size: .59rem; font-weight: 450; text-overflow: ellipsis; white-space: nowrap; }
.person-role { display: block; overflow: hidden; margin-top: .08rem; color: var(--subtle); font-size: .6rem; text-overflow: ellipsis; white-space: nowrap; }
.person-activity { color: var(--muted); font-family: var(--font-numeric); font-size: .6rem; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.person-activity strong { display: block; color: var(--gold); font-size: .81rem; }
.candidate-row { display: flex; justify-content: space-between; align-items: center; gap: .7rem; padding: .6rem 0; border-bottom: 1px solid var(--rule-soft); }
.candidate-row:last-child { border-bottom: 0; }
.candidate-address { display: block; color: var(--text); font-family: var(--font-numeric); font-size: .7rem; font-variant-numeric: tabular-nums; }
.candidate-sub { display: block; color: var(--subtle); font-size: .58rem; }
.candidate-count { color: var(--gold); font-family: var(--font-numeric); font-size: .8rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

.site-footer { margin-top: 2.5rem; border-top: 1px solid var(--rule); }
.method-details { padding: .8rem 0; border-bottom: 1px solid var(--rule); }
.method-details summary { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .72rem; font-weight: 650; cursor: pointer; list-style: none; }
.method-details summary::-webkit-details-marker { display: none; }
.method-details summary span { color: var(--gold); transition: transform 180ms var(--ease-out); }
.method-details[open] summary span { transform: rotate(90deg); }
.coverage-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1.5rem; margin: .8rem 0 .3rem; color: var(--subtle); font-size: .68rem; }
.coverage-list p { margin: 0; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem; padding: 1.15rem 0; color: var(--subtle); font-family: var(--font-numeric); font-size: .61rem; letter-spacing: .04em; }
.footer-base span:first-child { color: var(--gold); font-weight: 800; letter-spacing: .12em; }
.noscript { margin: 1rem; padding: .75rem; color: var(--negative); background: var(--surface); }

@keyframes rise-in { from { opacity: 0; transform: translateY(.5rem); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 83rem) {
  .topbar { grid-template-columns: auto 1fr; }
  .topnav { grid-column: 1 / 3; grid-row: 2; justify-content: center; border-top: 1px solid var(--rule-soft); }
  .topbar-tools { grid-column: 2; grid-row: 1; }
  .terminal-layout { grid-template-columns: minmax(0, 1fr); }
  .intelligence-column { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .candidates-panel { grid-column: 1 / -1; }
  .social-list { max-height: 23rem; }
}
@media (max-width: 60rem) {
  .date-toolbar { flex-wrap: wrap; gap: 0 .8rem; padding-top: .6rem; }
  .date-toolbar-label { flex-basis: 100%; }
  .day-tabs { flex: 1; min-width: 0; }
  .partial-label { font-size: .6rem; }
  .market-row, .discovery-row { grid-template-columns: minmax(0, 1fr); }
  .capital-content, .swaps-content { min-height: 10rem; }
  .intelligence-column { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 46rem) {
  .topbar { grid-template-columns: minmax(0, 1fr) auto; gap: .3rem .7rem; min-height: 3.8rem; padding: .5rem 1rem 0; }
  .brand-type strong { font-size: .94rem; }
  .brand-type small { font-size: .49rem; }
  .brand-mark { width: 1.85rem; height: 1.85rem; }
  .topbar-tools { min-width: 0; gap: .3rem; }
  .search-box { width: clamp(4.5rem, calc(100vw - 250px), 9rem); min-width: 0; }
  .search-box input { font-size: .7rem; }
  .search-box input::placeholder { color: transparent; }
  .search-box kbd { display: none; }
  .topnav { min-width: 0; justify-content: flex-start; gap: 1.2rem; overflow-x: auto; scrollbar-width: none; }
  .topnav::-webkit-scrollbar { display: none; }
  .topnav a { padding: .55rem .05rem .62rem; font-size: .72rem; }
  .opening { align-items: start; min-height: 10rem; padding: 1.5rem 0 1rem; }
  .opening::after { width: 4rem; height: 4rem; }
  .opening h1 { font-size: clamp(2.35rem, 8.5vw, 3.1rem); }
  .opening-deck { max-width: 24rem; font-size: .76rem; }
  .snapshot-stamp { align-self: end; gap: .1rem; min-width: 6rem; font-size: .54rem; }
  .live-indicator { font-size: .55rem; }
  .metric-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-cell { min-height: 5.15rem; padding: .6rem .5rem .6rem 0; }
  .metric-cell + .metric-cell { padding-left: .65rem; }
  .metric-cell:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule-soft); }
  .metric-cell:nth-child(4) { border-top: 1px solid var(--rule-soft); }
  .metric-value { font-size: 1.4rem; }
  .terminal-layout { gap: .8rem; padding-top: .8rem; }
  .primary-column, .intelligence-column, .market-row, .discovery-row { gap: .8rem; }
  .intelligence-column { grid-template-columns: minmax(0, 1fr); }
  .candidates-panel { grid-column: auto; }
  .coverage-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 36rem) {
  .brand-type small { display: none; }
  .brand-type strong { font-size: .86rem; }
  .capital-panel .panel-heading { flex-wrap: wrap; }
  .flow-summary { grid-template-columns: minmax(0, 1fr) auto; gap: .65rem; }
  .capital-contribution { grid-template-columns: 5.2rem minmax(1.5rem, 1fr) 4.2rem; gap: .35rem; }
  .contribution-label span { display: none; }
  .flow-side.in { text-align: left; }
  .capital-asset-row { grid-template-columns: minmax(0, 1fr) auto; gap: .13rem .45rem; }
  .capital-asset-identity { grid-column: 1 / -1; }
  .capital-asset-raw { text-align: left; }
  .capital-price-sources { grid-template-columns: minmax(0, 1fr); }
  .capital-price-sources a { margin-bottom: .25rem; text-align: left; }
  .capital-panel .segmented { margin-left: auto; }
  .tokens-panel .panel-heading { flex-wrap: wrap; }
  .tokens-panel .micro-label { margin-left: auto; }
  .token-title-line .metadata-badge { display: none; }
  .flow-main strong { font-size: 1.44rem; }
  .opening { display: block; }
  .opening::after { display: none; }
  .snapshot-stamp { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-top: 1.15rem; }
  .date-toolbar-label small { display: none; }
  .partial-label { display: none; }
  .leaderboard-heading { align-items: start; }
  .leaderboard-heading h2 { font-size: 1.03rem; }
  .sort-controls { flex-direction: column; align-items: end; gap: .05rem; }
  .sort-controls button { padding: .18rem .1rem; }
  .launch-table-head, .token-table-head, .protocol-table-head { display: none; }
  .launch-table .table-row { grid-template-columns: minmax(0, 1fr) auto; gap: .25rem .6rem; padding: .6rem 0; }
  .launch-table .identity-cell { grid-column: 1; grid-row: 1; }
  .launch-table .numeric-cell.main-volume { grid-column: 2; grid-row: 1; align-self: center; }
  .launch-table .numeric-cell.launch-count { grid-column: 1; grid-row: 2; padding-left: 1.95rem; color: var(--muted); font-size: .65rem; text-align: left; }
  .launch-table .venue-cell { grid-column: 2; grid-row: 2; font-size: .6rem; }
  .token-table .table-row, .protocol-table .table-row { grid-template-columns: minmax(0, 1fr) auto; gap: .15rem .5rem; }
  .token-table .identity-cell, .protocol-table .identity-cell { grid-column: 1; grid-row: 1 / 3; }
  .token-table .numeric-cell, .protocol-table .numeric-cell { grid-column: 2; font-size: .71rem; }
  .token-table .numeric-cell:last-child, .protocol-table .numeric-cell:nth-child(2) { grid-row: 1; }
  .token-table .numeric-cell:nth-child(2), .protocol-table .numeric-cell:last-child { grid-row: 2; color: var(--subtle); font-size: .61rem; }
  .table-row .numeric-cell::before { color: var(--subtle); content: attr(data-label) " "; font-family: var(--font-body); font-size: .55rem; font-weight: 450; }
}
@media (pointer: coarse) {
  .topnav a, .day-tabs button, .segmented button, .sort-controls button, .social-controls button { min-height: 2.75rem; }
  .search-box, .service-banner button { min-height: 2.75rem; }
  .refresh-button { width: 2.75rem; height: 2.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
