/* Aave Tracker design system. Dark first; light follows the visitor's OS setting.
   Chart colours were checked with a colour-blind-safety validator against both surfaces. */
:root {
  color-scheme: dark;
  --page: #07080d;
  --surface: #0f1118;
  --surface-2: #181b28;
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .16);
  --text: #f5f6fb;
  --text-2: #b6bacb;
  --muted: #8389a0;
  --grid: #1b1e2b;
  --axis: #30354a;
  --series: #8b7ff0;
  --series-2: #199e70;
  --series-glow: rgba(139, 127, 240, .45);
  --glow-a: rgba(139, 127, 240, .22);
  --glow-b: rgba(56, 189, 248, .11);
  --edge-a: rgba(139, 127, 240, .55);
  --edge-b: rgba(56, 189, 248, .18);
  --good: #0ca30c;
  --warning: #fab219;
  --critical: #e66767;
  --row-hover: rgba(255, 255, 255, .03);
  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 24px 48px -28px rgba(0, 0, 0, .7);
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --page: #f4f5fa;
    --surface: #ffffff;
    --surface-2: #eef0f7;
    --border: rgba(11, 12, 20, .09);
    --border-strong: rgba(11, 12, 20, .18);
    --text: #0b0c14;
    --text-2: #4a4e60;
    --muted: #676c82;
    --grid: #eceef5;
    --axis: #cfd3e0;
    --series: #5b4bd6;
    --series-2: #0f8f63;
    --series-glow: rgba(91, 75, 214, .25);
    --glow-a: rgba(91, 75, 214, .13);
    --glow-b: rgba(14, 165, 233, .09);
    --edge-a: rgba(91, 75, 214, .45);
    --edge-b: rgba(14, 165, 233, .18);
    --good: #0a7d0a;
    --warning: #a86f00;
    --critical: #c53030;
    --row-hover: rgba(11, 12, 20, .025);
    --shadow: 0 1px 2px rgba(11, 12, 20, .04), 0 24px 48px -32px rgba(11, 12, 20, .22);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--page);
  color: var(--text);
  font: 15px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.backdrop {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 10% -12%, var(--glow-a), transparent 62%),
    radial-gradient(720px 440px at 96% -4%, var(--glow-b), transparent 62%);
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
main.wrap { padding-top: 8px; padding-bottom: 56px; }
.narrow { max-width: 960px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--series); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
h1, h2, h3 { letter-spacing: -.015em; line-height: 1.2; }

/* ---- header & navigation ---- */
.site-head { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: color-mix(in srgb, var(--page) 78%, transparent); border-bottom: 1px solid var(--border); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: none; font-weight: 680; font-size: 16px; letter-spacing: -.01em; }
.brand svg { border-radius: 9px; box-shadow: 0 8px 24px -8px var(--series-glow); }
.nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; margin: 0 -8px; padding: 0 8px; }
.nav::-webkit-scrollbar { display: none; }
.nav a { flex: none; padding: 8px 12px; border-radius: 9px; font-size: 14px; font-weight: 560; color: var(--text-2); text-decoration: none; transition: color .15s, background-color .15s; }
.nav a:hover { color: var(--text); background: var(--row-hover); }
.nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border); }

/* ---- page intro ---- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { text-decoration: none; color: var(--text-2); }
.crumbs a:hover { text-decoration: underline; }
.intro { margin: 26px 0 24px; }
.intro h1 { margin: 0 0 8px; font-size: clamp(26px, 4.4vw, 38px); font-weight: 700; letter-spacing: -.03em; }
.intro p { margin: 0; max-width: 68ch; color: var(--text-2); font-size: 15.5px; }
.intro .updated { margin-top: 10px; font-size: 13px; color: var(--muted); }
.title-row { display: flex; align-items: center; gap: 14px; }
.section { margin-top: 34px; }
.section > h2, .section-head h2 { margin: 0 0 4px; font-size: 19px; font-weight: 660; }
.section > p.sub, .section-head p { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.section-head p { margin: 0; }
.more { font-size: 14px; font-weight: 600; color: var(--text-2); text-decoration: none; white-space: nowrap; }
.more:hover { color: var(--text); }

/* ---- cards, tiles ---- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); }
.pad { padding: 22px 24px; }
.label { margin: 0; font-size: 13px; font-weight: 550; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.tiles.three, .tiles.six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile { padding: 20px 22px; }
.tile-value { margin: 4px 0 2px; font-size: 28px; line-height: 1.15; font-weight: 660; letter-spacing: -.03em; }
.tile-sub { margin: 0; font-size: 13px; color: var(--muted); }
.tile.key { position: relative; overflow: hidden; }
.tile.key::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--series), transparent); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.link-card { display: block; padding: 20px 22px; text-decoration: none; transition: transform .15s ease, border-color .15s ease; }
.link-card:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.link-card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 650; }
.link-card p { margin: 0; font-size: 14px; color: var(--text-2); }

.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: end; padding: 30px 32px;
  border: 1px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, var(--edge-a), var(--edge-b) 38%, var(--border) 70%) border-box;
}
.hero-value { margin: 6px 0 8px; font-size: clamp(56px, 13vw, 88px); line-height: 1; font-weight: 680; letter-spacing: -.045em; transition: opacity .35s ease; }
.hero-value .unit { font-size: .5em; font-weight: 600; letter-spacing: 0; color: var(--text-2); margin-left: .06em; }
.hero-value[data-loading="true"] { opacity: .28; }
.hero-value.small { font-size: clamp(40px, 8vw, 56px); }
a.hero { padding: 26px 30px; }
.hero-meta { margin: 0; font-size: 13.5px; color: var(--text-2); }
.hint, .note { margin: 14px 0 0; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2); font-size: 13.5px; color: var(--text-2); }
.hint { max-width: 46ch; }
.facts { margin: 0; display: grid; gap: 10px; min-width: 232px; }
.facts div { display: flex; justify-content: space-between; gap: 24px; font-size: 13.5px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }

.status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status[data-state="live"] .dot { background: var(--good); animation: pulse 2.4s ease-out infinite; }
.status[data-state="saved"] .dot { background: var(--warning); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(12, 163, 12, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(12, 163, 12, 0); } }

/* ---- controls ---- */
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 13px; border: 1px solid var(--border); background: var(--surface); }
.seg button { appearance: none; border: 0; background: none; cursor: pointer; padding: 8px 14px; border-radius: 9px; font: inherit; font-size: 13px; font-weight: 600; color: var(--muted); transition: color .15s ease, background-color .15s ease; }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { color: var(--text); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border-strong); }
.range-note { margin: 0; font-size: 13px; color: var(--muted); }
.field { display: grid; gap: 6px; font-size: 13px; font-weight: 550; color: var(--text-2); }
.input, select.input {
  width: 100%; padding: 11px 13px; border-radius: 11px; border: 1px solid var(--border-strong); background: var(--surface-2);
  color: var(--text); font: inherit; font-size: 15px;
}
.input::placeholder { color: var(--muted); }
.search { max-width: 260px; }
.btn { appearance: none; cursor: pointer; padding: 11px 18px; border-radius: 11px; border: 0; font: inherit; font-weight: 650; font-size: 14.5px; color: #fff; background: linear-gradient(135deg, #7d6ff0, #5b4bd6); }
.btn:hover { filter: brightness(1.08); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

/* ---- tables ---- */
.table-card { overflow: hidden; }
.table-scroll { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.data th, .data td { padding: 13px 16px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--border); }
.data th:first-child, .data td:first-child { text-align: left; padding-left: 22px; }
.data th:last-child, .data td:last-child { padding-right: 22px; }
.data thead th { position: sticky; top: 0; background: var(--surface-2); font-size: 12.5px; font-weight: 600; color: var(--muted); }
.data th[data-sort] { cursor: pointer; user-select: none; }
.data th[data-sort]:hover { color: var(--text); }
.data th[aria-sort="ascending"]::after { content: " ↑"; }
.data th[aria-sort="descending"]::after { content: " ↓"; }
.data tbody tr:last-child td { border-bottom: 0; }
.data tbody tr:hover { background: var(--row-hover); }
.data td.left, .data th.left { text-align: left; }
.data .sub { display: block; font-size: 12.5px; color: var(--muted); font-weight: 400; }
.data .strong { font-weight: 620; }
.data a { text-decoration: none; }
.data a:hover { text-decoration: underline; }
.extra { display: block; font-size: 12px; color: var(--good); font-weight: 600; }
.asset { display: flex; align-items: center; gap: 12px; min-width: 150px; text-decoration: none; }
.asset b { display: block; font-weight: 640; }
.asset small { display: block; font-size: 12.5px; color: var(--muted); max-width: 190px; overflow: hidden; text-overflow: ellipsis; }
.tok { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); font-size: 12px; font-weight: 700; color: var(--text-2); overflow: hidden; }
.tok img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; background: var(--surface); }
.tok.lg { width: 44px; height: 44px; font-size: 15px; }
.scroll-y { max-height: 420px; overflow-y: auto; }
.m-only { display: none; }
.card-title { margin: 0 0 10px; font-size: 17px; }
.list-head { padding: 20px 22px 6px; }
.list-head h3 { margin: 0; font-size: 16px; }
.mt-10 { margin-top: 10px; }
.mt-14 { margin-top: 14px; }
.mt-22 { margin-top: 22px; }
.mb-0 { margin-bottom: 0; }
.small-value { font-size: 16px !important; }
.prose.compact { max-width: none; font-size: 15px; }
.mt-28 { margin-top: 28px; }
.intro.split { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.wide-field { grid-column: 1 / -1; }
.empty-row td { text-align: center !important; color: var(--muted); padding: 28px 16px; }

.badge { display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--border-strong); font-size: 11.5px; font-weight: 650; color: var(--text-2); vertical-align: middle; }
.badge.v4 { color: var(--series); border-color: color-mix(in srgb, var(--series) 50%, transparent); }
.seg.tabs { margin: 0 0 22px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg.tabs::-webkit-scrollbar { display: none; }
.seg a { flex: none; padding: 8px 14px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; transition: color .15s ease, background-color .15s ease; }
.seg a:hover { color: var(--text); }
.seg a[aria-current="page"] { color: var(--text); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border-strong); }
.split-line { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.split-line b { color: var(--text-2); font-weight: 600; }
.badge.warn { color: var(--warning); border-color: color-mix(in srgb, var(--warning) 45%, transparent); }
.badge.crit { color: var(--critical); border-color: color-mix(in srgb, var(--critical) 45%, transparent); }
.meter { display: inline-block; width: 64px; height: 6px; margin-left: 10px; border-radius: 4px; background: var(--surface-2); vertical-align: middle; overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 4px; background: var(--series); }
.meter.wide { display: block; width: 100%; height: 8px; margin: 8px 0 0; }
.kv { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.kv th, .kv td { padding: 11px 0; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.kv th { font-weight: 500; color: var(--muted); width: 46%; padding-right: 16px; }
.kv td { font-weight: 600; text-align: right; word-break: break-word; }
.kv tr:last-child th, .kv tr:last-child td { border-bottom: 0; }
.kv a { text-decoration: none; color: var(--text); border-bottom: 1px dotted var(--muted); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }

/* ---- charts ---- */
.chart-card { padding: 24px 24px 18px; }
.chart-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.chart-head h2 { margin: 0; font-size: 16px; font-weight: 650; letter-spacing: -.01em; }
.chart-head p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.chart { position: relative; height: 320px; border-radius: 12px; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.chart.short { height: 260px; }
.chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.chart text { font-size: 12px; fill: var(--muted); font-variant-numeric: tabular-nums; }
.grid-line { stroke: var(--grid); stroke-width: 1; shape-rendering: crispEdges; }
.base-line { stroke: var(--axis); stroke-width: 1; shape-rendering: crispEdges; }
.line { fill: none; stroke: var(--series); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 6px 10px var(--series-glow)); }
.line.s2 { stroke: var(--series-2); filter: none; }
.line.dense { stroke-width: 1.5; filter: none; }
.line.open { stroke-dasharray: 2 6; filter: none; }
.wash-top { stop-color: var(--series); stop-opacity: .2; }
.wash-bottom { stop-color: var(--series); stop-opacity: 0; }
.avg-line { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 4 5; }
.chart text.end-text { fill: var(--text-2); font-weight: 600; }
.marker { fill: var(--series); stroke: var(--surface); stroke-width: 2; }
.marker.s2 { fill: var(--series-2); }
.marker.open { fill: var(--surface); stroke: var(--series); }
.crosshair { stroke: var(--border-strong); stroke-width: 1; shape-rendering: crispEdges; }
.chart-key { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin: 0 0 4px; font-size: 12.5px; color: var(--text-2); }
.key-item { display: inline-flex; align-items: center; gap: 8px; }
.key-item svg { flex: none; overflow: visible; }
.key-item strong { font-weight: 650; color: var(--text); }
.tip { position: absolute; top: 0; left: 0; z-index: 2; pointer-events: none; min-width: 116px; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface-2); box-shadow: 0 14px 32px -12px rgba(0, 0, 0, .55); opacity: 0; transition: opacity .12s ease; will-change: transform; }
.tip[data-show="true"] { opacity: 1; }
.tip strong { display: block; font-size: 17px; font-weight: 680; letter-spacing: -.02em; }
.tip span { display: block; font-size: 12.5px; color: var(--text-2); white-space: nowrap; }
.tip em { display: block; font-size: 12px; font-style: normal; color: var(--muted); }
.tip .row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); white-space: nowrap; }
.tip .row b { margin-left: auto; padding-left: 14px; color: var(--text); font-weight: 680; }
.tip .row i { width: 12px; height: 2px; border-radius: 2px; background: var(--series); }
.tip .row i.s2 { background: var(--series-2); }
.empty { display: grid; place-items: center; height: 100%; padding: 0 24px; text-align: center; color: var(--muted); font-size: 14px; }
.table-wrap { max-height: 360px; overflow: auto; border-radius: 12px; border: 1px solid var(--border); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.table-wrap th, .table-wrap td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.table-wrap th { position: sticky; top: 0; z-index: 1; background: var(--surface-2); font-size: 12.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.table-wrap th:last-child, .table-wrap td:last-child { text-align: right; }
.table-wrap td:last-child { font-weight: 600; }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap td small { margin-left: 8px; font-size: 12px; color: var(--muted); }

/* ---- results (tools, wallet) ---- */
.result { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 18px; }
.result div { padding: 14px 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); }
.result dt { font-size: 12.5px; color: var(--muted); }
.result dd { margin: 4px 0 0; font-size: 21px; font-weight: 660; letter-spacing: -.02em; }
.hf { margin: 6px 0 4px; font-size: 44px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.hf.sm { font-size: 26px; }
.gap-top { margin-top: 18px; }
.hf[data-level="safe"] { color: var(--good); }
.hf[data-level="watch"] { color: var(--warning); }
.hf[data-level="risk"] { color: var(--critical); }
.msg { margin: 14px 0 0; font-size: 14px; color: var(--text-2); }
.msg.error { color: var(--critical); }

/* ---- articles ---- */
.prose { max-width: 72ch; font-size: 16.5px; line-height: 1.7; color: var(--text-2); }
.prose h2 { margin: 2em 0 .6em; font-size: 22px; color: var(--text); }
.prose h3 { margin: 1.6em 0 .5em; font-size: 18px; color: var(--text); }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose strong { color: var(--text); }
.prose a { color: var(--text); }
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--surface-2); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; color: var(--text); }
.prose table { width: 100%; margin: 0 0 1.3em; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 9px 12px; border-bottom: 1px solid var(--border); text-align: left; }
.prose th { color: var(--muted); font-weight: 600; font-size: 13px; }
.prose .note { margin: 0 0 1.3em; font-size: 15px; }
.faq { max-width: 72ch; }
.faq details { border-bottom: 1px solid var(--border); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 620; color: var(--text); }
.faq p { margin: 10px 0 0; color: var(--text-2); }

/* ---- footer ---- */
.site-foot { margin-top: 24px; border-top: 1px solid var(--border); padding: 34px 0 44px; font-size: 13.5px; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.foot-grid h2 { margin: 0 0 10px; font-size: 13px; font-weight: 650; color: var(--text-2); letter-spacing: 0; }
.foot-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--text); }
.foot-grid p { margin: 0 0 8px; max-width: 44ch; }

@media (max-width: 860px) {
  .site-head .wrap { height: auto; flex-direction: column; align-items: stretch; gap: 6px; padding-top: 12px; padding-bottom: 8px; }
  .grid-3 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .hero { grid-template-columns: 1fr; gap: 22px; padding: 24px 22px; }
  .facts { min-width: 0; padding-top: 18px; border-top: 1px solid var(--border); }
  .grid-2, .form-grid { grid-template-columns: 1fr; }
  .tiles, .tiles.six { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tiles.three { grid-template-columns: 1fr; }
  .hide-m { display: none; }
  .m-only { display: inline; }
  .d-only { display: none; }
  .tile { padding: 16px 18px; }
  .tile-value { font-size: 22px; }
  .tile.key::before { left: 18px; right: 18px; }
  .chart-card { padding: 20px 16px 14px; }
  .chart-head { flex-direction: column; align-items: stretch; gap: 12px; }
  .chart-head .seg { align-self: flex-start; }
  .chart { height: 260px; }
  .table-wrap td small { display: block; margin-left: 0; }
  .range-note { display: none; }
  .data { font-size: 14px; }
  .data thead th { white-space: normal; line-height: 1.25; vertical-align: bottom; }
  .data th, .data td { padding: 12px 7px; }
  .data th:first-child, .data td:first-child { padding-left: 14px; }
  .data th:last-child, .data td:last-child { padding-right: 14px; }
  .asset { min-width: 0; gap: 10px; }
  .asset > span:last-child { min-width: 0; max-width: calc(100vw - 278px); }
  .data .sub { white-space: normal; max-width: 92px; margin-left: auto; }
  .data td:first-child .sub { margin-left: 0; max-width: none; }
  .data .wrap-m { white-space: normal; min-width: 84px; overflow-wrap: anywhere; }
  .asset b, .asset small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: none; }
  .asset .badge { margin-left: 5px; padding: 1px 6px; font-size: 10.5px; }
  .tok { width: 28px; height: 28px; }
  .extra { font-size: 11px; }
  .asset small { max-width: 110px; }
  .search { max-width: none; flex: 1 1 100%; }
  .prose { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
