@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(inter.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url(jetbrains-mono.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  color-scheme: light;
  --page: #f4f7f5; --surface: #ffffff; --panel: #f8faf9; --ink: #0b0f0d; --ink-2: #44544b; --muted: #6f8077;
  --grid: #e8eee9; --edge: #d3ded7; --wash: rgba(18,161,80,0.06); --track: #e3ebe6;
  --green: #12a150; --up: #0f8a45; --down: #c73636; --amber: #8a5a00; --amber-bg: #fbf1d9;
  --av-bg: 0.93; --av-fg: 0.42;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page: #0b0f0d; --surface: #101613; --panel: #0d1310; --ink: #e6f0ea; --ink-2: #a9bcb1; --muted: #7d9488;
    --grid: #18211d; --edge: #21302a; --wash: rgba(62,224,127,0.06); --track: #1b2721;
    --green: #3ee07f; --up: #3ee07f; --down: #ff7a7a; --amber: #f2b84b; --amber-bg: #2a2212;
    --av-bg: 0.3; --av-fg: 0.86;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #0b0f0d; --surface: #101613; --panel: #0d1310; --ink: #e6f0ea; --ink-2: #a9bcb1; --muted: #7d9488;
  --grid: #18211d; --edge: #21302a; --wash: rgba(62,224,127,0.06); --track: #1b2721;
  --green: #3ee07f; --up: #3ee07f; --down: #ff7a7a; --amber: #f2b84b; --amber-bg: #2a2212;
  --av-bg: 0.3; --av-fg: 0.86;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; } /* an author `display` rule must never unhide a hidden element */
html { scrollbar-gutter: stable; }
body { margin: 0; background: var(--page); color: var(--ink); font: 14px/1.45 var(--sans); font-feature-settings: "cv11", "ss01"; }
a { color: var(--green); text-underline-offset: 2px; }
.mono { font-family: var(--mono); font-size: 12.5px; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 24px 16px 64px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; }

.top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; align-items: center; column-gap: 24px; row-gap: 14px;
  background: var(--page); }
.top .brand { justify-self: start; }
.top .nav { justify-self: center; }
.top .status { justify-self: end; }
.top .theme { justify-self: end; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand h1 { font-size: 21px; font-weight: 700; letter-spacing: -0.015em; margin: 0; line-height: 1.2; }
.brand p { margin: 0; color: var(--muted); font-size: 13px; }
.status { display: inline-flex; align-items: center; white-space: nowrap; font-size: 13px; color: var(--ink-2); background: var(--surface); border: 1px solid var(--edge); border-radius: 999px; padding: 5px 14px 5px 12px; font-variant-numeric: tabular-nums; }
.status > span + span { margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--edge); }
.status .state { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--ink); }
.status .state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status.live .state::before { background: var(--green); box-shadow: 0 0 0 3px var(--wash); }
.status.syncing .state::before, .status.stale .state::before { background: var(--amber); box-shadow: none; }
.stats { display: flex; flex-wrap: wrap; gap: 8px 36px; margin: 20px 0 0; }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dt { font-size: 12px; color: var(--muted); }
.stats dd { margin: 0; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.stats dd .up, .stats dd .down, .stats dd .na { margin-left: 8px; font-size: 13px; font-weight: 500; }
.sync { margin: 16px 0 0; color: var(--amber); background: var(--amber-bg); border-radius: 8px; padding: 9px 12px 8px; font-size: 13px; }
.sync p { margin: 0 0 8px; }
.strip { position: relative; height: 5px; background: var(--track); border-radius: 3px; }
.strip span { position: absolute; top: 0; bottom: 0; background: var(--green); border-radius: 3px; }
.strip-legend { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-top: 3px; }

.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 24px 0 12px; }
.toolbar input[type=search], .toolbar select { font: inherit; font-size: 13px; color: var(--ink); background: var(--surface); border: 1px solid var(--edge); border-radius: 8px; padding: 6px 10px; height: 32px; }
.toolbar input[type=search] { width: 280px; max-width: 100%; }
.seg { display: flex; flex-wrap: wrap; gap: 4px; flex-basis: 100%; }
.trim { display: flex; flex-wrap: wrap; gap: 6px; flex-basis: 100%; }
.chip { font: inherit; font-size: 12.5px; color: var(--ink-2); background: transparent; border: 1px solid var(--edge); border-radius: 999px; height: 28px; padding: 0 11px 0 8px; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.chip:hover { background: var(--surface); }
.chip .box { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--muted); display: grid; place-items: center; }
.chip .box svg { width: 10px; height: 10px; color: var(--page); visibility: hidden; }
.chip[aria-pressed=true] { color: var(--ink); }
.chip[aria-pressed=true] .box { background: var(--ink); border-color: var(--ink); }
.chip[aria-pressed=true] .box svg { visibility: visible; }
.chip[aria-pressed=false] .lb { text-decoration: line-through; text-decoration-color: var(--muted); }
.chip .n { color: var(--muted); font-variant-numeric: tabular-nums; }
.ratio { font-variant-numeric: tabular-nums; } .ratio .u { color: var(--muted); margin-left: 3px; }
.sum { display: flex; flex-wrap: wrap; gap: 4px 28px; flex-basis: 100%; align-items: baseline; margin-top: 6px; }
.sum .si { display: inline-flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.sum .k { color: var(--muted); font-size: 13px; }
.sum b { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.sum .up, .sum .down, .sum .na { font-size: 13px; }
.vbtn { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.vbtn .chev { align-self: center; }
.vbtn:hover .k, .vbtn[aria-expanded=true] .k { color: var(--ink); }
.vbtn[aria-expanded=true] .chev { transform: rotate(90deg); color: var(--ink); }
.vchart { --panel: var(--surface); background: var(--surface); border: 1px solid var(--edge); border-radius: 10px; padding: 14px 18px 12px; margin-bottom: 12px; }
.vchart .note { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.vchart .chart > .na { display: grid; place-items: center; height: 252px; margin: 0; }
.ratio.under { display: none; font-size: 12px; color: var(--muted); }
.ratio.eth { display: block; font-size: 12px; color: var(--muted); }
.seg button, .rng button { font: inherit; font-size: 13px; color: var(--ink-2); background: transparent; border: 1px solid transparent; border-radius: 8px; padding: 0 10px; height: 32px; cursor: pointer; }
.seg button:hover, .rng button:hover { background: var(--surface); }
.seg button[aria-pressed=true], .rng button[aria-pressed=true] { color: var(--ink); background: var(--surface); border-color: var(--edge); font-weight: 600; }
.seg .n { color: var(--muted); font-weight: 400; margin-left: 5px; font-variant-numeric: tabular-nums; }
.selects { display: inline-flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }

.tablewrap { background: var(--surface); border: 1px solid var(--edge); border-radius: 10px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 8px 10px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--grid); vertical-align: middle; }
th { position: sticky; top: 0; z-index: 1; background: var(--surface); font-size: 12px; font-weight: 600; color: var(--muted); box-shadow: 0 1px 0 var(--grid); }
th button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
th[aria-sort=ascending] button, th[aria-sort=descending] button { color: var(--ink); }
th[aria-sort=ascending] button::after { content: " ↑"; } th[aria-sort=descending] button::after { content: " ↓"; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
tbody tr.row { cursor: pointer; }
tbody tr.row:hover > td { background: var(--wash); }
tbody tr.row:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
tbody tr.row[aria-expanded=true] > td { border-bottom-color: transparent; }
td.rank { color: var(--muted); width: 1%; font-variant-numeric: tabular-nums; }
tbody tr.row.junk { color: var(--muted); --ink: var(--muted); --ink-2: var(--muted); --up: var(--muted); --down: var(--muted); }
tbody tr.row.junk .av { opacity: .5; filter: grayscale(1); }
.jk { margin-left: -4px; color: var(--amber); font-weight: 700; cursor: help; }
.ac { display: flex; align-items: center; gap: 10px; }
.at { min-width: 0; }
.av { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; font-size: 12px; font-weight: 700; background: oklch(var(--av-bg) 0.045 var(--h)); color: oklch(var(--av-fg) 0.11 var(--h)); }
.av.sq { border-radius: 7px; }
img.av { background: none; object-fit: contain; }
.a1 { display: flex; align-items: center; gap: 6px; }
.sym { font-weight: 650; }
.a2 { color: var(--muted); font-size: 12px; max-width: 240px; overflow: hidden; text-overflow: ellipsis; }
.a2 .iss { margin-left: 6px; color: var(--ink-2); }
.tag { font-size: 11px; line-height: 17px; padding: 0 6px; border-radius: 4px; background: var(--grid); color: var(--ink-2); }
.ico { width: 14px; height: 14px; flex: none; }
.ico.warn { color: var(--amber); }
.ico.chev { color: var(--muted); transition: transform .15s ease; }
tr.row[aria-expanded=true] .ico.chev { transform: rotate(90deg); color: var(--ink); }
td.open { width: 1%; padding-left: 0; }
.up { color: var(--up); } .down { color: var(--down); } .na { color: var(--muted); }
.spark { display: block; }
@keyframes flash-up { from { background: color-mix(in srgb, var(--up) 24%, transparent); } }
@keyframes flash-down { from { background: color-mix(in srgb, var(--down) 24%, transparent); } }
td.flash-up { animation: flash-up 2s ease-out; } td.flash-down { animation: flash-down 2s ease-out; }
.empty { padding: 40px 16px; text-align: center; color: var(--muted); }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 2px 0; color: var(--muted); font-size: 13px; }
.pager button { font: inherit; font-size: 13px; padding: 7px 16px; border-radius: 8px; border: 1px solid var(--edge); background: var(--surface); color: var(--ink); cursor: pointer; }
.pager button:hover { border-color: var(--green); }

#modal { width: min(1180px, calc(100vw - 48px)); max-height: calc(100vh - 48px); padding: 0; border: 1px solid var(--edge);
  border-radius: 14px; background: var(--panel); color: var(--ink); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25); }
#modal::backdrop { background: rgba(11, 15, 13, 0.45); }
.m-bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 14px 20px;
  background: var(--panel); border-bottom: 1px solid var(--edge); }
#modal-asset, #modal-title { flex: 1; min-width: 0; }
.m-bar .ph { margin: 0; } .m-bar .ph .av { width: 30px; height: 30px; font-size: 13px; } .m-bar .ph h1 { font-size: 17px; }
.m-close { font: inherit; font-size: 22px; line-height: 1; width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--edge);
  background: var(--surface); color: var(--ink); cursor: pointer; }
.m-close:hover, .m-close:focus-visible { border-color: var(--green); }
#modal-body { padding: 18px 20px 24px; }
.panel { display: grid; gap: 16px; }
.mkt th button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; white-space: nowrap; }
.mkt th[aria-sort=descending] button::after { content: " \2193"; } .mkt th[aria-sort=ascending] button::after { content: " \2191"; }
.mkt th button:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 3px; }
.p-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.p-head .big { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.p-head .chg { font-size: 13px; font-variant-numeric: tabular-nums; }
.p-head .src { flex-basis: 100%; color: var(--muted); font-size: 13px; }
.callout { margin: 0; padding: 8px 12px 8px 30px; border-radius: 8px; background: var(--amber-bg); color: var(--amber); font-size: 13px; }
.callout li + li { margin-top: 2px; }
.remarks { margin: -6px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 13px; }
.p-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px 32px; align-items: start; }
.p-col { display: grid; gap: 24px; min-width: 0; }
.kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 14px 20px; margin: 0; }
.kv div { display: flex; flex-direction: column-reverse; }
.kv dt { font-size: 12px; color: var(--muted); }
.kv dd { margin: 0; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mk h3, .chart h3 { font-size: 13px; font-weight: 650; margin: 0 0 10px; }
.mk h3 .cap { margin-left: 8px; color: var(--muted); font-weight: 400; }
.dexbars { display: grid; gap: 10px; }
.dexbar .l { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.dexbar .l b { font-weight: 600; font-variant-numeric: tabular-nums; }
.track { height: 6px; margin-top: 4px; background: var(--track); border-radius: 3px; overflow: hidden; }
.track span { display: block; height: 100%; background: var(--green); border-radius: 3px; }
.mk .scroll { overflow-x: auto; }
.mk table { width: 100%; font-size: 13px; }
.mk th, .mk td { position: static; background: transparent; box-shadow: none; padding: 7px 14px 7px 0; }
.mk th { font-size: 12px; }
.mk tr:last-child td { border-bottom: 0; }
.mk .m2 { color: var(--muted); font-size: 12px; }
.mk .share { display: inline-block; width: 44px; height: 4px; margin-left: 8px; background: var(--track); border-radius: 2px; vertical-align: middle; overflow: hidden; }
.mk .share span { display: block; height: 100%; background: var(--green); }
.linkbtn { font: inherit; font-size: 13px; color: var(--green); background: none; border: 0; padding: 6px 0 0; cursor: pointer; }

/* the SVG is stretched to its box: labels stay in HTML so their text never stretches */
.c-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-bottom: 4px; }
.c-head h3 { margin: 0; }
.rng { display: flex; gap: 2px; }
.rng button { height: 26px; padding: 0 9px; font-size: 12px; }
.plot { position: relative; height: 200px; margin-top: 28px; touch-action: pan-y; cursor: crosshair; }
.plot.up { --c: var(--up); } .plot.down { --c: var(--down); }
.plot svg { display: block; width: 100%; height: 100%; overflow: visible; }
.plot .line { fill: none; stroke: var(--c); stroke-width: 2px; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.plot .area { fill: var(--c); opacity: 0.07; }
.plot .vg { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--grid); }
.plot .hl { position: absolute; transform: translate(var(--tx, -50%), var(--ty, -135%)); font-size: 12px; color: var(--ink-2); white-space: nowrap; pointer-events: none; font-variant-numeric: tabular-nums; }
.plot .hl.lo { --ty: 35%; } .plot .hl.l { --tx: 0%; } .plot .hl.r { --tx: -100%; }
.plot .cross { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--muted); pointer-events: none; }
.plot .dot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px var(--panel); pointer-events: none; }
.plot .badge { position: absolute; top: 0; z-index: 1; transform: translate(var(--tx, -50%), calc(-100% - 4px)); padding: 2px 8px;
  border-radius: 6px; background: var(--surface); border: 1px solid var(--edge); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  font-size: 12px; color: var(--ink-2); white-space: nowrap; pointer-events: none; font-variant-numeric: tabular-nums; }
.plot .badge b { color: var(--ink); font-weight: 600; }
.axis { position: relative; height: 20px; margin-top: 4px; border-top: 1px solid var(--edge); font-size: 12px; color: var(--muted); }
.axis span { position: absolute; top: 3px; transform: translateX(-50%); white-space: nowrap; }
details.more > summary, .about summary { cursor: pointer; color: var(--ink-2); font-size: 13px; font-weight: 600; width: fit-content; }
details.more[open] > summary { margin-bottom: 10px; }
.dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 18px; margin: 0; font-size: 13px; }
.dl dt { color: var(--muted); } .dl dd { margin: 0; overflow-wrap: anywhere; }

.about { margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--edge); }
.about summary { font-size: 14px; color: var(--ink); }
footer.about { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
footer.about > details[open] { flex-basis: 100%; }
.powered { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; padding: 4px 13px 4px 9px; border: 1px solid var(--edge);
  border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: 13px; text-decoration: none; transition: border-color .15s, background-color .15s; }
.powered svg { width: 18px; height: 18px; color: var(--ink); }
.powered b { color: var(--ink); font-weight: 650; }
.powered:hover { border-color: var(--green); background: var(--wash); }
.powered .dot { transform-box: fill-box; transform-origin: center; }
@keyframes hop { 40% { transform: translateY(-45%); } }
@media (prefers-reduced-motion: no-preference) { .powered:hover .dot { animation: hop .45s cubic-bezier(.3, 0, .2, 1); } }
.notes { margin-top: 14px; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.notes h2 { font-size: 13px; font-weight: 650; margin: 0 0 6px; }
.notes ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 13px; }
.notes li { margin: 4px 0; }
#tip { position: fixed; pointer-events: none; background: var(--surface); color: var(--ink); border: 1px solid var(--edge); border-radius: 6px; padding: 6px 9px; font-size: 12px; box-shadow: 0 6px 20px rgba(0,0,0,0.18); display: none; z-index: 10; }
#tip b { font-variant-numeric: tabular-nums; } #tip div { color: var(--muted); }

@media (max-width: 1100px) { .hide-md { display: none; } }
@media (max-width: 900px) {
  .hide-sm { display: none; } .ratio.under { display: block; }
  .p-grid { grid-template-columns: minmax(0, 1fr); }
  .p-col { display: contents; }
  .chart { order: -1; } .dexs { order: 1; }
}
@media (max-width: 640px) { .selects { margin-left: 0; } }
@media (max-width: 760px) {
  .tag, .brand p { display: none; }
  .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin-top: 16px; } .stats dd { font-size: 15px; }
  th, td { padding: 9px 4px; } th { white-space: normal; } table { font-size: 13px; }
  .ac { gap: 8px; } .av { width: 22px; height: 22px; font-size: 11px; }
  .a2 { max-width: 88px; } .a2 .iss { display: none; }
  .seg, .trim { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; } .seg::-webkit-scrollbar, .trim::-webkit-scrollbar { display: none; }
  .seg button, .chip { flex: none; } .toolbar select { flex: 1 1 auto; min-width: 0; } .selects { width: 100%; }
  .sym { display: inline-block; max-width: 8ch; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
  #modal { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; border: 0; }
  .m-bar { padding: 10px 14px; } #modal-body { padding: 14px 14px 22px; }
  .plot { height: 160px; } .vchart .chart > .na { height: 212px; }
}
@media (max-width: 480px) { .status .lbl, td.rank, th.rank { display: none; } }
@media (max-width: 380px) { .av { display: none; } }
@media (prefers-reduced-motion: reduce) { .ico.chev { transition: none; } td.flash-up, td.flash-down { animation: none; } }
.nav { display: flex; gap: 2px; padding: 3px; background: var(--surface); border: 1px solid var(--edge); border-radius: 10px; }
.nav a { font-size: 13px; font-weight: 500; color: var(--ink-2); text-decoration: none; padding: 5px 12px; border-radius: 7px; }
.nav a:hover { color: var(--ink); background: var(--wash); }
.nav a:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; }
.nav a[aria-current="page"] { color: var(--ink); background: var(--panel); box-shadow: inset 0 0 0 1px var(--edge); }
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }
.nav a[aria-current="page"] { view-transition-name: nav-pill; }
.nav a:nth-child(1) span { view-transition-name: nav-1; }
.nav a:nth-child(2) span { view-transition-name: nav-2; }
.nav a:nth-child(3) span { view-transition-name: nav-3; }
::view-transition-group(nav-1), ::view-transition-group(nav-2), ::view-transition-group(nav-3) { z-index: 1; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; }
.theme { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border-radius: 999px; border: 1px solid var(--edge);
  background: var(--surface); color: var(--ink-2); cursor: pointer; }
.theme:hover { color: var(--ink); }
.theme:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.theme svg { width: 16px; height: 16px; }
.theme .moon, .theme .sun { display: none; }
:root:not([data-theme="dark"]) .theme .moon { display: block; }
:root[data-theme="dark"] .theme .sun { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme .moon { display: none; }
  :root:not([data-theme="light"]) .theme .sun { display: block; }
}

.status { position: relative; min-width: 277px; }
.status .extra { position: absolute; top: calc(100% + 3px); right: 12px; margin: 0; padding: 0; border: 0; font-size: 12px; line-height: 1.2; color: var(--muted); }
.status .lbl { min-width: 8ch; text-align: right; }
@media (max-width: 1023px) {
  .top { grid-template-columns: minmax(0, 1fr) auto auto; }
  .top .brand { grid-column: 1 / -1; grid-row: 1; }
  .top .nav { grid-column: 1; grid-row: 2; justify-self: start; }
  .top .status { grid-column: 2; grid-row: 2; }
  .top .theme { grid-column: 3; grid-row: 2; }
}
@media (max-width: 760px) {
  .top { grid-template-columns: minmax(0, 1fr) auto; }
  .top .nav { grid-column: 1 / -1; grid-row: 2; }
  .top .status { grid-column: 1; grid-row: 3; justify-self: start; }
  .top .theme { grid-column: 2; grid-row: 3; }
}
@media (max-width: 380px) { .status { min-width: 0; } }

.stats { min-height: 41px; }
.toolbar { min-height: 32px; }
.tablewrap { min-height: 320px; }
@media (max-width: 760px) { .stats { min-height: 91px; } }

@media (prefers-reduced-motion: no-preference) {
  .wrap > :not(.top) { animation: content-in 160ms ease-out backwards; }
}
@keyframes content-in { from { opacity: 0; } }

.crumbs { margin: 16px 0 0; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.page { margin-top: 10px; }
.ph { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ph .av { width: 40px; height: 40px; font-size: 17px; }
.ph h1 { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 650; letter-spacing: -0.01em; }
.ph h1 .nm { color: var(--ink-2); font-weight: 500; }
.ph2 { display: flex; align-items: center; gap: 8px; margin-top: 3px; font-size: 12px; color: var(--muted); }
.page .panel { padding: 18px 20px 22px; background: var(--panel); border: 1px solid var(--edge); border-radius: 12px; }
.page .note a { color: var(--green); }
.missing { margin: 24px 0 6px; font-size: 22px; }
.mkt tr.extra { display: none; }
.mkt.all tr.extra { display: table-row; }
.pid { display: block; color: var(--muted); font-size: 11.5px; font-family: var(--mono); }
.vhead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.vhead .big { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.vhead .k { color: var(--muted); font-size: 13px; }
.vstats { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.vstats b { color: var(--ink); font-variant-numeric: tabular-nums; }
.bars7 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; align-items: end; height: 180px; margin-top: 16px; }
.bars7 div { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-width: 0; text-align: center; }
.bars7 b { margin-bottom: 4px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bars7 i { display: block; width: 64%; min-height: 2px; margin: 0 auto; background: var(--green); opacity: 0.85; border-radius: 4px 4px 0 0; }
.bars7 span { margin-top: 6px; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
@media (max-width: 480px) { .bars7 { gap: 4px; } .bars7 b { font-size: 10px; } }
a.sym, a.vname { color: inherit; text-decoration: none; }
a.sym:hover, a.vname:hover { text-decoration: underline; }

.seg a, .rng a { display: inline-flex; align-items: center; font-size: 13px; color: var(--ink-2); text-decoration: none; border: 1px solid transparent; border-radius: 8px; padding: 0 10px; height: 32px; }
.rng a { height: 26px; padding: 0 9px; font-size: 12px; }
.seg a:hover, .rng a:hover { background: var(--surface); }
.seg a[aria-current=true], .rng a[aria-current=true] { color: var(--ink); background: var(--surface); border-color: var(--edge); font-weight: 600; }
th a { color: inherit; text-decoration: none; }
th[aria-sort=ascending] a, th[aria-sort=descending] a { color: var(--ink); }
th[aria-sort=ascending] a::after { content: " ↑"; } th[aria-sort=descending] a::after { content: " ↓"; }
a.chip { text-decoration: none; }
.chip[data-on=true] { color: var(--ink); }
.chip[data-on=true] .box { background: var(--ink); border-color: var(--ink); }
.chip[data-on=true] .box svg { visibility: visible; }
.chip[data-on=false] .lb { text-decoration: line-through; text-decoration-color: var(--muted); }
a.vbtn { text-decoration: none; }
.pager a.more { font-size: 13px; padding: 7px 16px; border-radius: 8px; border: 1px solid var(--edge); background: var(--surface); color: var(--ink); text-decoration: none; }
.pager a.more:hover { border-color: var(--green); }
.toolbar .custom { font: inherit; font-size: 13px; color: var(--ink); background: var(--surface); border: 1px solid var(--edge); border-radius: 8px; padding: 6px 10px; height: 32px; width: 150px; }
.toolbar .go { font: inherit; font-size: 13px; height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--edge); background: var(--surface); color: var(--ink); cursor: pointer; }
.js .toolbar .go { display: none; }
.wrap > #view.swapped { animation: none; }

.kind { margin-left: 8px; }
td .bar { display: inline-block; width: 64px; height: 4px; margin-left: 10px; background: var(--track); border-radius: 2px; vertical-align: middle; }
td .bar span { display: block; height: 100%; background: var(--green); border-radius: 2px; }
/* the note opens down and to the left: .tablewrap scrolls sideways and would clip it */
.q { position: relative; display: inline-grid; place-items: center; width: 14px; height: 14px; margin-left: 5px; border: 1px solid var(--edge);
  border-radius: 50%; font-size: 10px; line-height: 1; color: var(--muted); cursor: help; vertical-align: 1px; }
.q:hover, .q:focus-visible { color: var(--ink); border-color: var(--muted); }
.q::after { content: attr(data-tip); display: none; position: absolute; top: calc(100% + 6px); right: -8px; width: 240px; padding: 6px 9px;
  border: 1px solid var(--edge); border-radius: 6px; background: var(--surface); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  color: var(--ink-2); font-size: 12px; font-weight: 400; line-height: 1.45; text-align: left; white-space: normal; }
.q:hover::after, .q:focus::after { display: block; }
.vname { font-weight: 600; }
.vol .ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 10px; }
.vol .ctl .zoom { margin-left: auto; }
.vol .rng button:disabled { opacity: 0.4; cursor: default; background: transparent; }
.vplot { --c: var(--green); height: 220px; user-select: none; }
.vplot.drag { cursor: grabbing; }
.vplot rect { fill: var(--green); opacity: 0.8; } .vplot rect.hot { opacity: 1; }
.vplot .gl { position: absolute; left: 0; right: 0; height: 1px; background: var(--grid); }
.vplot .ymax { position: absolute; top: -20px; left: 0; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.fbadge { position: fixed; z-index: 3; transform: translate(-50%, -100%); padding: 2px 8px; border-radius: 6px; background: var(--surface);
  border: 1px solid var(--edge); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); font-size: 12px; color: var(--ink-2); white-space: nowrap;
  pointer-events: none; font-variant-numeric: tabular-nums; }
.fbadge b { color: var(--ink); font-weight: 600; }
.chart-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; }
.chart-top h3 { font-size: 13px; font-weight: 650; margin: 0; }
.note { color: var(--muted); font-size: 12.5px; margin: 8px 0 0; }
@media (max-width: 760px) { .hide-sm { display: none; } td .bar { width: 40px; } .vplot { height: 180px; } }
