/* The chain pages' tokens (/<chain>/ and /<chain>/flow/), light and dark, and the block flow's legend and
   tooltip (assets/flow.js). --c1..--c8 are the site's categorical palette, in this order (the dataviz
   validator: lightness, chroma, adjacent CVD ≥ 8.4 and normal-vision ≥ 19 ΔE pass in both modes on the
   panel; slots 3-5 are under 3:1 in light, relieved by the tooltip on every mark): blue, orange, aqua,
   yellow, magenta, green, violet, olive. Red is no category: it is --bad, the MEV victim's ring. */
:root{
  --paper:#f6f3ec; --paper-2:#efeadf; --panel:#fbf9f4;
  --ink:#16130f; --ink-soft:#5c554a; --ink-faint:#8d857a;
  --line:rgba(22,19,15,.15); --line-soft:rgba(22,19,15,.08);
  --qed:#1a7f4b; --qed-ink:#125a36; --qed-wash:rgba(26,127,75,.10);
  --warn:#a85f12; --warn-wash:rgba(168,95,18,.12);
  --bad:#a8321c; --bad-wash:rgba(168,50,28,.12);
  --series:#1a7f4b; --series-2:#5c554a; --series-3:#b48a2c;
  --c1:#2a78d6; --c2:#eb6834; --c3:#1baf7a; --c4:#eda100; --c5:#e87ba4; --c6:#008300; --c7:#6250d6; --c8:#7a7a00; --c-other:#a39b8f;
  --scrim:rgba(22,19,15,.45);
  --display:"Source Serif 4",Georgia,serif;
  --sans:"IBM Plex Sans",system-ui,sans-serif;
  --mono:"IBM Plex Mono",ui-monospace,monospace;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --paper:#17150f; --paper-2:#1f1c15; --panel:#1c1912;
    --ink:#efeadf; --ink-soft:#b5ad9f; --ink-faint:#7d7568;
    --line:rgba(239,234,223,.18); --line-soft:rgba(239,234,223,.08);
    --qed:#3fae75; --qed-ink:#6fcf9a; --qed-wash:rgba(63,174,117,.14);
    --warn:#e0a35a; --warn-wash:rgba(224,163,90,.14);
    --bad:#e07a62; --bad-wash:rgba(224,122,98,.14);
    --series:#3fae75; --series-2:#b5ad9f; --series-3:#d6ab4a;
    --c1:#3987e5; --c2:#d95926; --c3:#199e70; --c4:#c98500; --c5:#d55181; --c6:#008300; --c7:#9085e9; --c8:#8f8f00; --c-other:#6f685d;
    --scrim:rgba(0,0,0,.6);
  }
}
:root[data-theme="dark"]{
  --paper:#17150f; --paper-2:#1f1c15; --panel:#1c1912;
  --ink:#efeadf; --ink-soft:#b5ad9f; --ink-faint:#7d7568;
  --line:rgba(239,234,223,.18); --line-soft:rgba(239,234,223,.08);
  --qed:#3fae75; --qed-ink:#6fcf9a; --qed-wash:rgba(63,174,117,.14);
  --warn:#e0a35a; --warn-wash:rgba(224,163,90,.14);
  --bad:#e07a62; --bad-wash:rgba(224,122,98,.14);
  --series:#3fae75; --series-2:#b5ad9f; --series-3:#d6ab4a;
  --c1:#3987e5; --c2:#d95926; --c3:#199e70; --c4:#c98500; --c5:#d55181; --c6:#008300; --c7:#9085e9; --c8:#8f8f00; --c-other:#6f685d;
  --scrim:rgba(0,0,0,.6);
}
.flegend{display:flex;flex-wrap:wrap;gap:4px 14px;font-family:var(--mono);font-size:11px;color:var(--ink-soft)}
.flegend i{display:inline-block;width:9px;height:9px;margin-right:5px;vertical-align:-1px;border-radius:2px}
.flegend i.hollow{border:1.5px solid var(--ink-soft)} .flegend svg{vertical-align:-2px;margin-right:4px}
.ftip{position:fixed;pointer-events:none;background:var(--panel);border:1px solid var(--line);padding:8px 10px;font-family:var(--mono);font-size:11.5px;line-height:1.55;z-index:40;max-width:340px;color:var(--ink)}
.ftip.pinned{pointer-events:auto} .ftip .h{font-weight:500} .ftip .f{color:var(--ink-faint)} .ftip .bad{color:var(--bad)} .ftip a{color:var(--qed-ink)}
.ftip i{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:5px} .ftip ul{list-style:none} .ftip li{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
