/* Fonts served from this site (SIL OFL, see fonts/OFL-*.txt): no request to Google, no visitor IP shared. */
@font-face { font-family: "Commissioner"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/commissioner-latin-ext-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Commissioner"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/commissioner-latin-wght-normal.woff2) format("woff2-variations"); 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: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 400; src: url(fonts/ibm-plex-mono-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 400; src: url(fonts/ibm-plex-mono-latin-400-normal.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: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 500; src: url(fonts/ibm-plex-mono-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 500; src: url(fonts/ibm-plex-mono-latin-500-normal.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; }

/* 6529 LFG, the 6529 chain explorer. Night-sky dial, parchment marks, one gilt hand.
   Two themes from one set of names: dark (the night, the default) and light (data-theme="light" on <html>,
   web/theme.js). A name says what a colour does (page, panel, ink, line, accent), not what it is; the ones
   used with their own opacity also come as an "r, g, b" triplet (--*-rgb). */
:root {
  --night: #0c1624;            /* the page */
  --vault: #13223a;            /* a panel on it */
  --raise: #172a46;            /* a pressed control */
  --rim: #23395a;              /* a line */
  --rim-2: #34507a;            /* a stronger line */
  --parchment: #efe6cd;        /* ink */
  --parchment-dim: rgba(239, 230, 205, 0.58);
  --ink-strong: #fff;          /* ink at its brightest (hover) */
  --ink-2: #cfd8e6;
  --haze: #98a6ba;             /* quiet ink */
  --gilt: #d9b45c;             /* the accent: fills, strokes, borders */
  --gilt-ink: #d9b45c;         /* the accent as text */
  --gilt-fill: #d9b45c;        /* the accent as a filled control (buttons, the chosen option) */
  --on-accent: #0c1624;        /* text on a gilt fill */
  --focus: #d9b45c;
  --ok: #4cc08f;
  --warn: #f2aa3e;
  --warn-mark: #f2aa3e;        /* amber as a mark (bars, dots): lighter than as text in the light theme */
  --bad: #ec6a5e;
  --mid: #9db4d6;
  --sky: #8fc4ff;
  --violet: #c5a9ff;
  --none-line: #5d7192;        /* the outline of "no data" */
  /* block marks: final = settled, pending = not final yet */
  --c-final: #efe6cd;
  --c-pending: #8fb3e3;
  --c-nodata: rgba(52, 80, 122, 0.22);
  /* data series (blocks gold, votes blue: checked for colour blindness together) and the 4-step gold scale */
  --series-gold: #b38a34;
  --series-gold-2: #d9b45c;
  --series-blue: #5b8fe0;
  --seq-1: #5e4c27; --seq-2: #8f7133; --seq-3: #c39a45; --seq-4: #f0cf78;
  /* 6529 profile levels, high to low */
  --lvl-1: #55b075; --lvl-2: #aabe68; --lvl-3: #dac660; --lvl-4: #daac60; --lvl-5: #da8c60;
  /* the collections on a validator's page */
  --io-memes: #d9b45c; --io-grad: #7aa7e8; --io-next: #c58fd6; --io-eth: #62c3b8;
  /* the network picture (Network page) */
  --nv-front: #0e1a2b; --nv-t3: #b9a77a; --nv-sig: #e9f1ff; --nv-vote: #b9cdea; --nv-award: #e4c46e;
  --logo-line: #98a6ba;
  --avatar-ink: #efe6cd;       /* initials on an avatar's dark colour */
  --ink-rgb: 239, 230, 205;
  --night-rgb: 12, 22, 36;
  --vault-rgb: 19, 34, 58;
  --deep-rgb: 11, 20, 38;
  --rim-rgb: 35, 57, 90;
  --rim2-rgb: 52, 80, 122;
  --haze-rgb: 152, 166, 186;
  --gilt-rgb: 217, 180, 92;
  --ok-rgb: 76, 192, 143;
  --warn-rgb: 242, 170, 62;
  --bad-rgb: 236, 106, 94;
  --coral-rgb: 226, 109, 90;
  --mid-rgb: 157, 180, 214;
  --pending-rgb: 143, 179, 227;
  --pending-hi-rgb: 196, 216, 242;
  --sky-rgb: 143, 196, 255;
  --violet-rgb: 197, 169, 255;
  --shadow-rgb: 0, 0, 0;  --shadow-k: 1;   /* shadows: their colour, and how strong */
  --scrim-rgb: 5, 10, 18; --scrim-k: 1;    /* behind a dialog */
  --sans: "Commissioner", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --wrap: 1180px;
  color-scheme: dark;
}
/* Light: a day page. Every text colour holds 4.5:1 against the page and a panel, every mark and line that
   carries meaning 3:1 (test/theme.test.js checks the pairs). */
:root[data-theme="light"] {
  --night: #eef2f7;
  --vault: #ffffff;
  --raise: #e3eaf4;
  --rim: #d5dde8;
  --rim-2: #aebdd1;
  --parchment: #13213a;
  --parchment-dim: rgba(19, 33, 58, 0.74);
  --ink-strong: #000814;
  --ink-2: #22324d;
  --haze: #4f5f76;
  --gilt: #b08327;
  --gilt-ink: #7f5c0e;
  --gilt-fill: #cda24a;
  --on-accent: #13213a;
  --focus: #7f5c0e;
  --ok: #146b44;
  --warn: #875308;
  --warn-mark: #c98310;
  --bad: #a62e26;
  --mid: #2f5d9b;
  --sky: #1f64b8;
  --violet: #6a46c2;
  --none-line: #8a9bb3;
  --c-final: #1d3557;
  --c-pending: #4a7fd0;
  --c-nodata: rgba(120, 142, 175, 0.2);
  --series-gold: #a87b22;
  --series-gold-2: #6e5010;
  --series-blue: #4a7fd0;
  --seq-1: #f1e1b6; --seq-2: #d9b45c; --seq-3: #a87b22; --seq-4: #6b4d0a;
  --lvl-1: #1f7a45; --lvl-2: #4f6b0c; --lvl-3: #786400; --lvl-4: #8a5a00; --lvl-5: #a3481c;
  --io-memes: #b08327; --io-grad: #3f72c4; --io-next: #9a4fb0; --io-eth: #1d7f74;
  --nv-front: #0e1a2b; --nv-t3: #7d6a3a; --nv-sig: #2f5d9b; --nv-vote: #4a7fd0; --nv-award: #b08327;
  --logo-line: #536379;
  --ink-rgb: 19, 33, 58;
  --night-rgb: 238, 242, 247;
  --vault-rgb: 255, 255, 255;
  --deep-rgb: 255, 255, 255;
  --rim-rgb: 213, 221, 232;
  --rim2-rgb: 143, 163, 191;
  --haze-rgb: 79, 95, 118;
  --gilt-rgb: 176, 131, 39;
  --ok-rgb: 20, 107, 68;
  --warn-rgb: 135, 83, 8;
  --bad-rgb: 166, 46, 38;
  --coral-rgb: 166, 46, 38;
  --mid-rgb: 47, 93, 155;
  --pending-rgb: 74, 127, 208;
  --pending-hi-rgb: 74, 127, 208;
  --sky-rgb: 31, 100, 184;
  --violet-rgb: 106, 70, 194;
  --shadow-rgb: 19, 33, 58;  --shadow-k: 0.4;
  --scrim-rgb: 19, 33, 58;   --scrim-k: 0.7;
  color-scheme: light;
}

* { box-sizing: border-box; }
/* nothing may widen the page sideways (a phone would show an empty strip on the right); the parts that
   scroll sideways (tables, code) do it inside their own box */
html, body { overflow-x: clip; }
html { background: var(--night); }
body {
  margin: 0;
  color: var(--parchment);
  font: 400 16px/1.55 var(--sans);
  font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 18% -10%, rgba(var(--rim2-rgb), 0.35), transparent 60%),
    var(--night);
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--vault); padding: 8px 12px; z-index: 10; }
.muted { color: var(--haze); }
.small { font-size: 13px; }
.mono, code { font-family: var(--mono); font-size: 0.86em; }
h1, h2, h3 { font-weight: 650; letter-spacing: -0.015em; margin: 0; }

/* ---------- top bar ---------- */
.top {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 18px 24px 10px;
  display: flex;
  align-items: center;
  gap: 10px 28px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; flex: 0 0 30px; margin: -2px 0; }
.brand-name { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  text-decoration: none; color: var(--haze); padding: 6px 10px; border-radius: 8px; font-size: 15px;
}
.nav a:hover { color: var(--parchment); }
.nav a[aria-current] { color: var(--parchment); background: var(--vault); }
/* the Orloj is the author's own work, not part of the explorer: the same dashed gilt frame as its plug */
.nav a[data-page="orloj"] { border: 1px dashed rgba(var(--gilt-rgb), 0.6); padding: 5px 9px; }
.nav a[data-page="orloj"]:hover, .nav a[data-page="orloj"][aria-current] { border-color: var(--gilt); }
.tabbar { display: none; }
.search { flex: 1 1 140px; min-width: 140px; max-width: 400px; margin-left: auto; }
.search input {
  width: 100%; font: inherit; font-size: 14px; color: var(--parchment);
  background: var(--vault); border: 1px solid var(--rim); border-radius: 10px; padding: 0 12px;
  box-sizing: border-box; height: 36px; /* as tall as the signed-in pill beside it (28px picture + 3px + border) */
}
.search input::placeholder { color: var(--haze); }
.search { position: relative; }
/* suggestions under the search box: what it would open, with a word on what's there */
.search-pop {
  position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; right: 0;
  background: var(--vault); border: 1px solid var(--rim); border-radius: 12px; padding: 6px;
  box-shadow: 0 14px 36px rgba(var(--shadow-rgb), calc(0.45 * var(--shadow-k))); max-height: min(70vh, 470px); overflow-y: auto;
}
.search-pop[hidden] { display: none; }
.sug { display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 8px; color: var(--parchment); text-decoration: none; }
.sug[aria-selected="true"] { background: rgba(var(--pending-rgb), 0.13); }
.sug-ico { flex: none; width: 28px; height: 28px; display: grid; place-items: center; }
.sug-main { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.sug-t { font-size: 14px; display: flex; align-items: center; gap: 8px; min-width: 0; }
.sug-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sug-t b { color: var(--gilt-ink); font-weight: 600; }
.sug-s { font-size: 12.5px; color: var(--haze); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sug-note { padding: 8px 10px; font-size: 12.5px; color: var(--haze); line-height: 1.45; }
.sug + .sug-note { border-top: 1px solid var(--rim); margin-top: 4px; padding-top: 10px; }
.ico-block { width: 14px; height: 18px; border-radius: 3px; background: var(--c-pending); }
.ico-slot { width: 14px; height: 18px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px var(--gilt); }
.ico-epoch { width: 24px; height: 14px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--c-pending) 0 2px, transparent 2px 3px); }
.ico-day { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--ok); }
.ico-addr { font: 600 11px var(--mono); font-style: normal; color: var(--haze); }
.ico-page { width: 16px; height: 12px; border: 1.5px solid var(--haze); border-radius: 3px; }
.top-end { display: flex; align-items: center; gap: 14px; }
/* the transfer fee, as an explorer shows gas */
.fee-wrap { position: relative; }
.fee-wrap[hidden] { display: none; }
.fee-stat { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--rim); border-radius: 10px; color: var(--haze); background: none; font: inherit; font-size: 13px; cursor: pointer; white-space: nowrap; }
.fee-wrap.is-open .fee-stat { border-color: var(--gilt); color: var(--parchment); }
/* the details: below the button, right-aligned; on hover (with a bridge over the gap) or after a click */
.fee-pop {
  display: none; position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; width: 280px; max-width: calc(100vw - 32px);
  padding: 14px 16px; border: 1px solid var(--rim-2); border-radius: 12px; background: var(--vault); box-shadow: 0 12px 32px rgba(var(--shadow-rgb), calc(0.45 * var(--shadow-k)));
  white-space: normal; text-align: left;
}
.fee-pop::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.fee-wrap:hover .fee-pop, .fee-wrap.is-open .fee-pop, .fee-wrap:focus-within .fee-pop { display: block; }
.fee-pop-title { margin: 0 0 8px; font-size: 14px; font-weight: 650; color: var(--parchment); }
.fee-pop-rows { margin: 0; }
.fee-pop-rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--rim); font-size: 14px; }
.fee-pop-rows dt { color: var(--haze); }
.fee-pop-rows dd { margin: 0; color: var(--parchment); font-weight: 600; font-variant-numeric: tabular-nums; }
.fee-pop-rows dd span { color: var(--haze); font-weight: 400; font-size: 12px; }
/* a heading over a few rows (the assets' three values), the rows under it a little in */
.fee-pop-rows > .fee-pop-h { border-bottom: 0; padding-bottom: 0; }
.fee-pop-rows > .is-sub dt { padding-left: 12px; }
.fee-pop-rows > .is-sub { padding: 4px 0; border-bottom: 0; }
.fee-pop-rows > .is-sub:last-child { padding-bottom: 8px; border-bottom: 1px solid var(--rim); }
.fee-pop-note { margin: 10px 0 8px; font-size: 12px; line-height: 1.5; color: var(--haze); }
.fee-pop-more { font-size: 13px; color: var(--gilt-ink); }
.fee-stat svg { width: 15px; height: 15px; color: var(--gilt-ink); flex: none; }
.fee-stat b { color: var(--parchment); font-weight: 600; font-variant-numeric: tabular-nums; }
.fee-stat:hover { border-color: var(--rim-2); color: var(--parchment); }
.top-end:not(:has(> :not([hidden]))) { display: none; }
/* the info line under the menu: the two badges on the left (under the name), the fee on the right
   (under who is signed in), as a thin strip; the fee a hair taller, square-cornered like a field */
.top-info { flex: 1 1 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 22px; }
.top-info-r { display: flex; align-items: center; gap: 8px; min-width: 0; }
/* the chip and the fee as flex boxes, so neither sits on a text baseline (the fee's icon would lift it) */
.top-info-r > * { display: flex; align-items: center; }
/* my validator in the info line: square-cornered like the fee beside it */
.my-chip { position: relative; }
.my-chip[hidden] { display: none; }
.my-chip-a { display: inline-flex; align-items: center; gap: 7px; padding: 2px 9px 2px 0; border: 1px solid var(--rim); border-radius: 6px; color: var(--haze); font-size: 11.5px; line-height: 1.4; text-decoration: none; white-space: nowrap; }
.my-chip-a:hover, .my-chip:focus-within .my-chip-a { border-color: var(--rim-2); color: var(--parchment); }
/* the label as the chip's own first cell, set off by a rule */
.my-chip-l { align-self: stretch; display: flex; align-items: center; padding: 0 8px 0 9px; margin-right: 1px; border-right: 1px solid var(--rim); border-radius: 5px 0 0 5px; background: rgba(var(--gilt-rgb), 0.07); color: var(--gilt-ink); font-weight: 600; }
/* the details, like the fee's: on hover or focus, under the chip, right-aligned */
.my-pop { width: 300px; }
.my-chip:hover .my-pop, .my-chip:focus-within .my-pop { display: block; }
.my-pop .vstat { font-size: 14px; font-weight: 600; }
.my-pop .fee-pop-note + .fee-pop-note { margin-top: 0; }
.my-chip-a b { color: var(--parchment); font-weight: 600; font-variant-numeric: tabular-nums; }
.my-chip-a i { font-style: normal; opacity: 0.55; }
.my-chip .vstat { gap: 5px; font-size: 11.5px; font-weight: 600; }
.my-chip .vstat::before { width: 6px; height: 6px; }
@media (min-width: 721px) {
  /* the info line as a thin strip above the menu, on a band a shade lighter than the sky,
     painted out to both edges of the window (border-image outset adds no scrolling) */
  .top { padding-top: 0; }
  .top-info { order: -1; padding: 7px 0; margin-bottom: 6px; border-image: linear-gradient(rgba(var(--pending-rgb), 0.065), rgba(var(--pending-rgb), 0.065)) fill 0 / 0 / 0 100vmax; }
  .top-info .fee-stat { gap: 5px; padding: 2px 8px; border-radius: 6px; font-size: 11.5px; line-height: 1.4; }
  .top-info .fee-stat svg { width: 12px; height: 12px; }
}
/* the two status badges: test chain, and whether data are live */
.brand-badges { display: flex; align-items: center; gap: 5px; }
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 1px 7px; border-radius: 999px;
  border: 1px solid; font-size: 10.5px; font-weight: 600; line-height: 1.35; white-space: nowrap;
}
.badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.live { color: var(--ok); border-color: rgba(var(--ok-rgb), 0.5); background: rgba(var(--ok-rgb), 0.1); }
.live.is-stale { color: var(--warn); border-color: rgba(var(--warn-rgb), 0.55); background: rgba(var(--warn-rgb), 0.12); }
.live.is-waiting { color: var(--haze); border-color: var(--rim-2); background: none; }
/* the language: a small button like the fee beside it, a menu of ten under it */
.lang-wrap { position: relative; }
.lang-btn svg { color: var(--haze); }
.lang-wrap.is-open .lang-btn { border-color: var(--gilt); color: var(--parchment); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; display: grid; min-width: 180px; padding: 6px; border: 1px solid var(--rim-2); border-radius: 12px; background: var(--vault); box-shadow: 0 12px 32px rgba(var(--shadow-rgb), calc(0.45 * var(--shadow-k))); }
.lang-menu[hidden] { display: none; }
.lang-menu button { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 7px 10px; border: 0; border-radius: 8px; background: none; color: var(--parchment); font: 500 14px/1.3 var(--sans); text-align: left; cursor: pointer; }
.lang-menu button:hover, .lang-menu button:focus-visible { background: rgba(var(--pending-rgb), 0.1); outline: none; }
.lang-menu button[aria-checked="true"] { color: var(--gilt-ink); }
.lang-code { color: var(--haze); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; }
/* the currency picker beside the language: the same button and menu */
.cur-wrap[hidden] { display: none; }
.cur-btn svg { width: 15px; height: 15px; color: var(--haze); }
.cur-wrap.is-open .cur-btn { border-color: var(--gilt); color: var(--parchment); }
.cur-menu { min-width: 230px; max-height: min(70vh, 460px); overflow-y: auto; }
.cur-menu button span:first-child { white-space: nowrap; }
/* a phone: the info line in one row even with enlarged text (Chrome then gives the page ~360 px): the test
   chain's badge says it short (the whole name stays in its tooltip and for readers), the currency shows Ξ and
   the price without its coins */
@media (max-width: 720px) {
  .badge.testnet[data-short] { gap: 0; font-size: 0; }
  .badge.testnet[data-short]::after { content: attr(data-short); margin-left: 5px; font-size: 10.5px; }
  .top-info .cur-btn svg { display: none; }
}
.demo-banner {
  max-width: var(--wrap); margin: 0 auto 8px; padding: 10px 24px; color: var(--gilt-ink); font-size: 14px;
}

.stale-banner {
  max-width: calc(var(--wrap) - 48px); margin: 0 auto 12px; padding: 12px 16px; border-radius: 10px;
  background: rgba(var(--warn-rgb), 0.12); border: 1px solid rgba(var(--warn-rgb), 0.45); color: var(--warn); font-size: 15px;
}
.stale-banner[hidden] { display: none; }

/* ---------- layout ---------- */
main { max-width: var(--wrap); margin: 0 auto; padding: 8px 24px 64px; }
main:focus { outline: none; }
.band { margin-top: 64px; }
.band-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.band-head h2 { font-size: 21px; }
.band-head p { margin: 0; max-width: 64ch; font-size: 15px; }
.more { color: var(--gilt-ink); font-size: 15px; text-decoration: none; }
.more:hover { text-decoration: underline; }
.split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; }
.split > .band { margin-top: 64px; }
.sub-h { font-size: 21px; margin: 40px 0 14px; }

/* ---------- my validator's crown (its picture inside its last 30 days, on /me) ---------- */
/* the last 30 days as rays around the picture */
.mv-crown { position: relative; display: block; width: 104px; height: 104px; flex: none; isolation: isolate; }
/* the medallion: the picture and its 30 days set on a dark round plate with a thin gilt rim */
.mv-crown::before { content: ""; position: absolute; inset: -4px; z-index: -1; border-radius: 50%; background: var(--night); box-shadow: inset 0 0 0 1px rgba(var(--gilt-rgb), 0.38), 0 0 0 6px rgba(var(--night-rgb), 0.6); }
.mv-crown svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mv-crown line { stroke-linecap: round; transition: stroke 0.15s ease; }
.mv-crown .mc-hit { stroke: transparent; stroke-width: 8; }
.mc-day line:last-child { stroke: var(--gilt); stroke-width: 2.6; }
.mc-day:hover line:last-child { stroke: var(--parchment); }
.mc-none line:last-child { stroke: var(--rim-2); stroke-width: 2.4; }
.mc-now line:last-child { stroke: var(--haze); stroke-width: 3.6; }
.mc-now.is-ok line:last-child { stroke: var(--ok); }
.mc-now.is-wait line:last-child { stroke: var(--warn-mark); }
.mc-now.is-bad line:last-child { stroke: var(--bad); }
.mv-crown .avatar { position: absolute; left: 50%; top: 50%; width: 55%; height: 55%; transform: translate(-50%, -50%); font-size: 24px; box-shadow: 0 0 0 2px var(--night), 0 0 0 3px rgba(var(--gilt-rgb), 0.4); }

/* ---------- hero ---------- */
/* Two columns of equal height. Left: epoch row (92px), dial, legend. Right mirrors it: head level with the
   epoch squares, month switch / hour axis level with the epoch caption, calendar over the dial, legends on one line. */
.hero {
  display: grid;
  grid-template-columns: minmax(300px, 470px) 1fr;
  gap: 56px;
  align-items: stretch;
  padding-top: 24px;
}
.hero-dial { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.epoch-now { display: flex; flex-direction: column; align-items: center; gap: 8px; height: 92px; flex: none; width: 100%; }
/* as wide as the ring: outer diameter 2 x 176 of the dial's 448-unit viewBox */
.epoch-now .epoch-big { width: calc(100% * 352 / 448); max-width: none; --g: 6px; gap: var(--g); position: relative; }
/* one gold frame over the running epoch's squares: it slides on to the next slot when one fills up,
   and the slot it leaves glows for a moment */
.slot-frame, .slot-glow {
  position: absolute; top: 0; bottom: 0; pointer-events: none; border-radius: 6px;
  width: calc((100% - 7 * var(--g)) / 8);
  left: calc((100% - 7 * var(--g)) / 8 * var(--i) + var(--g) * var(--i));
}
.slot-frame { box-shadow: inset 0 0 0 2px var(--gilt); transition: left 0.38s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease; }
.slot-frame.on-solid { box-shadow: inset 0 0 0 2px var(--gilt), inset 0 0 0 4px var(--night); }
.slot-glow { box-shadow: 0 0 16px 4px rgba(var(--pending-rgb), 0.5); opacity: 0; animation: slot-glow 1.1s ease-in-out forwards; }
@keyframes slot-glow { 40% { opacity: 1; } }
.epoch-slide .cell-now::after, .epoch-slide .cell.is-now::after { display: none; }
.epoch-now .epoch-big .cell { height: 42px; border-radius: 6px; }
/* level with the Days heading (42 px row), as wide as the squares under it */
.epoch-cap { width: calc(100% * 352 / 448); min-height: 42px; margin: 0; display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--haze); font-variant-numeric: tabular-nums; }
.epoch-cap h2 { font-size: 21px; color: var(--parchment); }
.epoch-cap .epoch-pos { margin-left: auto; }
.epoch-ghost { position: fixed; z-index: 30; margin: 0; max-width: none !important; pointer-events: none; transform-origin: 50% 50%; gap: 6px; }
.epoch-ghost .cell { height: 42px; border-radius: 6px; }
.epoch-enter { animation: epoch-enter 0.5s ease-out; }
@keyframes epoch-enter { from { opacity: 0; transform: translateY(-6px); } }
.dial { margin: 0; width: 100%; }
.dial svg { width: 100%; height: auto; display: block; overflow: visible; }
.dial-legend { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 18px; min-height: 20px; color: var(--haze); font-size: 13px; }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.sw-pending { background: var(--c-pending); }
.sw-final { background: var(--c-final); }
.sw-nodata { background: var(--c-nodata); box-shadow: inset 0 0 0 1px rgba(var(--rim2-rgb), 0.6); }
.seg-current .seg-track { fill: rgba(var(--gilt-rgb), 0.28); opacity: 1; }
.landing { opacity: 0; }
.landed path { animation: land 2.2s ease-out; }
@keyframes land {
  0%, 35% { fill: var(--gilt); opacity: 1; filter: drop-shadow(0 0 5px rgba(var(--gilt-rgb), 0.95)); }
  100% { filter: none; }
}
.impact {
  position: fixed; z-index: 31; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  border: 2px solid var(--gilt); pointer-events: none; animation: impact 0.9s ease-out forwards;
}
@keyframes impact { from { transform: scale(0.4); opacity: 1; } to { transform: scale(5); opacity: 0; } }
.seg-track { fill: var(--rim); opacity: 0.42; }
.seg-future { fill: none; stroke: var(--rim); stroke-width: 1; opacity: 0.7; }
.seg-unknown { fill: var(--c-nodata); }
.seg-final { fill: var(--c-final); }
.seg-pending { fill: var(--c-pending); }
.dial g.ep:hover { filter: brightness(1.35); }
.tick { stroke: var(--rim-2); stroke-width: 1.2; }
.tick-long { stroke: var(--haze); stroke-width: 1.6; }
.tick-label { fill: var(--haze); font: 500 12px var(--sans); text-anchor: middle; dominant-baseline: middle; }
.hand { transition: opacity 0.4s ease; }
.is-landing .hand { opacity: 0.12; }
.hand line { stroke: var(--gilt); stroke-width: 2.5; stroke-linecap: round; }
.hand circle { fill: var(--gilt); }
.dial-center { text-decoration: none; }
.dial-num { fill: var(--parchment); font: 700 54px var(--sans); letter-spacing: -0.03em; text-anchor: middle; }
.dial-label { fill: var(--haze); font: 400 14px var(--sans); text-anchor: middle; }
.dial-ago { fill: var(--gilt-ink); font: 500 14px var(--sans); text-anchor: middle; }
.dial-day { fill: var(--haze); font: 500 14px var(--sans); letter-spacing: 0.01em; text-anchor: middle; }
.dial-day-link:hover .dial-day { fill: var(--parchment); }
.dial-center:hover .dial-num { fill: var(--ink-strong); }

.status-top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.learn-link { color: var(--gilt-ink); font-size: 14px; text-decoration: none; }
.learn-link:hover { text-decoration: underline; }
.board { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 22px 32px; margin: 0 0 14px; }
.board-cell { border-top: 1px solid var(--rim); padding-top: 12px; margin: 0; }
.board-cell dt { color: var(--haze); font-size: 13px; }
.board-cell dd { margin: 0; }
.v-warn { color: var(--warn); }
.v-ok { color: var(--ok); }
.v-bad { color: var(--bad); }
.board-v { font-size: 28px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.25; margin-top: 4px !important; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.board-v .level { font-size: 14px; letter-spacing: 0; }
.status-help .tag { margin-bottom: 4px; }
.verdict h1 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -0.025em; max-width: 20ch; margin: 14px 0 14px; }
.lede { font-size: 19px; line-height: 1.5; margin: 0 0 10px; }
.lede .line { display: block; }
.ago-fixed { font-variant-numeric: tabular-nums; }
.explain { color: var(--haze); margin: 0 0 24px; }
.tag {
  display: inline-flex; align-items: center; gap: 7px; margin: 0; font-size: 14px; font-weight: 600;
  padding: 4px 11px 4px 8px; border-radius: 999px; border: 1px solid currentColor;
}
.tag svg { width: 16px; height: 16px; }
.tag.inline { margin-left: 8px; font-size: 13px; vertical-align: 2px; }
/* a block's title with its finality on the right of the same line (under it on a narrow phone) */
.block-head { display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; margin-bottom: 14px; }
.block-head .block-title h1 { margin-bottom: 0; }
.block-head .tag { margin: 0; }
.tag .hint { color: inherit; opacity: .65; margin-left: -2px; }
.tag .hint:hover, .tag .hint:focus { color: inherit; opacity: 1; }
/* the arrows sit on the title's baseline, a size quieter than it */
.block-title { display: flex; align-items: baseline; gap: 14px; min-width: 0; }
/* baseline alignment takes an arrow's icon bottom as the button's baseline: lift by the space under the icon */
.blk-step { display: inline-flex; gap: 5px; flex: none; position: relative; top: -8px; }
.step-btn { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--rim-2); background: var(--vault); color: var(--parchment); transition: border-color 0.15s, color 0.15s; }
.step-btn svg { width: 14px; height: 14px; }
a.step-btn:hover { border-color: var(--gilt); color: var(--gilt-ink); }
a.step-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.step-btn.is-off { opacity: 0.35; }
@media (max-width: 640px) { .block-title { gap: 10px; } .step-btn { width: 32px; height: 32px; } .blk-step { top: -9px; } }
@media (max-width: 640px) { .block-head { margin-bottom: 10px; } }
.tag-ok { color: var(--ok); }
.tag-warn { color: var(--warn); }
.tag-bad { color: var(--bad); }
.tag-info { color: var(--mid); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px 28px; margin: 22px 0 0; }
.fact { border-top: 1px solid var(--rim); padding-top: 10px; }
.fact dt { color: var(--haze); font-size: 13px; display: flex; align-items: center; gap: 6px; }
.fact dd { margin: 2px 0 0; font-size: 17px; }
.fact .sub, .sub { display: block; color: var(--haze); font-size: 13px; }
/* a validator's figures in two rows of six (signing, then its days and the chain): smaller type */
/* the top of a validator's page: the weight ring with its figures, then a two-column list */
.vo { display: grid; grid-template-columns: minmax(280px, 310px) minmax(0, 1fr); gap: 28px; align-items: stretch; margin: 0 0 30px; }
.vo-hero { display: flex; align-items: center; gap: 20px; padding: 20px; border: 1px solid var(--rim); border-radius: 14px; background: rgba(var(--vault-rgb), 0.45); }
.vo-ring { position: relative; width: 112px; height: 112px; flex: none; }
.vo-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.vo-ring circle { fill: none; stroke-width: 3.2; }
.vo-ring-bg { stroke: rgba(var(--rim2-rgb), 0.35); }
.vo-ring-fg { stroke: var(--gilt); stroke-linecap: round; }
.vo-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; font-weight: 700; }
.vo-figs { display: flex; flex-direction: column; min-width: 0; }
.vo-big a { color: inherit; text-decoration: none; }
.vo-big a:hover { text-decoration: underline; text-decoration-color: var(--gilt); }
.vo-list dd .warn-num { color: var(--warn); }
.vo-l { display: inline-flex; align-items: center; gap: 4px; color: var(--haze); font-size: 12px; }
.vo-big { font-size: 34px; font-weight: 700; line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.vo-mid { font-size: 18px; font-weight: 650; font-variant-numeric: tabular-nums; }
.vo-sub { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; color: var(--haze); font-size: 12px; }
.vo-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(var(--vo-rows), auto); grid-auto-flow: column; column-gap: 36px; align-content: center; margin: 0; }
.vo-list > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rim); font-size: 15px; min-width: 0; }
.vo-list dt { display: inline-flex; align-items: center; gap: 4px; color: var(--haze); white-space: nowrap; }
.vo-list dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vo-list dd .sub { display: inline; margin-left: 4px; color: var(--haze); font-weight: 400; font-size: 12px; }
.vo-list dd .vstat { font-size: 15px; font-weight: 600; }
.vo-list dd a { color: var(--parchment); }
/* a block's page: a bar with who made it, its votes and when; then the facts in three groups */
.bo-bar { display: flex; align-items: center; gap: 14px 28px; flex-wrap: wrap; padding: 14px 20px; margin: 0 0 22px; border: 1px solid var(--rim); border-radius: 14px; background: rgba(var(--vault-rgb), 0.45); }
.bo-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.bo-who .avatar { width: 44px; height: 44px; font-size: 16px; box-shadow: 0 0 0 1px var(--rim-2); }
.bo-k { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bo-l { display: inline-flex; align-items: center; gap: 4px; color: var(--haze); font-size: 12px; }
.bo-v { font-size: 17px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bo-name .bo-v { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.bo-name .bo-v a { color: var(--parchment); text-decoration: none; }
.bo-name .bo-v a:hover { color: var(--gilt-ink); }
.bo-key { margin-left: 6px; color: var(--haze); font-size: 12px; font-weight: 400; }
.bo-sub { margin-left: 4px; color: var(--haze); font-size: 13px; font-weight: 400; }
.bo-sep { width: 1px; align-self: stretch; background: var(--rim); }
.bo-when { color: var(--haze); font-size: 12px; white-space: nowrap; }
.bo-jump { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: var(--rim-2); text-underline-offset: 3px; }
.bo-jump:hover { color: var(--gilt-ink); text-decoration-color: currentColor; }
/* the fingerprints folded under the facts: a quiet line that opens to the hash and the roots */
.bo-prints { margin: 0; }
.bo-prints summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 12px 0; cursor: pointer; list-style: none; color: var(--haze); }
.bo-prints summary::-webkit-details-marker { display: none; }
.bo-prints summary::before { content: ""; flex: none; align-self: center; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform 0.15s; }
.bo-prints[open] summary::before { transform: rotate(45deg); }
.bo-prints summary:hover, .bo-prints summary:focus-visible { color: var(--parchment); outline: none; }
.bo-prints-t { font-size: 13px; font-weight: 600; }
.bo-prints-s { font-size: 12px; opacity: 0.8; }
.bo-prints .bo-list { padding-bottom: 6px; }
@media (prefers-reduced-motion: reduce) { .bo-prints summary::before { transition: none; } }
.bo-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 10px 32px; margin: 0 0 30px; }
.bo-group h3 { margin: 0 0 2px; font-size: 13px; font-weight: 600; color: var(--haze); }
.bo-list { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; }
@media (max-width: 640px) { .bo-sep { display: none; } .bo-bar { gap: 12px 22px; padding: 14px 16px; } .bo-who { flex: 1 1 100%; } }
.vo-mid .sub { display: inline; margin-left: 4px; color: var(--haze); font-weight: 400; font-size: 13px; }
@media (max-width: 900px) {
  .vo { grid-template-columns: 1fr; gap: 16px; }
  .vo-list { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; }
}
@media (max-width: 420px) { .vo-hero { padding: 16px; gap: 16px; } .vo-ring { width: 92px; height: 92px; } .vo-big { font-size: 28px; } }
.hint {
  position: relative; display: inline-flex; align-items: center; vertical-align: -2px; width: 15px; height: 15px;
  color: var(--haze); cursor: help; margin-left: 4px;
}
.hint svg { width: 15px; height: 15px; }
.hint:hover, .hint:focus { color: var(--gilt-ink); outline: none; }
/* the tooltip of an (i): one floating box at the page level (app.js places it), so a table or any other
   scrolling box never cuts it off or grows scrollbars because of it */
.tip {
  position: fixed; left: 0; top: 0; z-index: 60; width: max-content; max-width: min(300px, calc(100vw - 24px));
  background: var(--vault); border: 1px solid var(--rim-2); color: var(--parchment); padding: 10px 12px; border-radius: 10px;
  font: 400 13px/1.45 var(--sans); letter-spacing: 0; text-transform: none; white-space: pre-line; text-align: left;
  box-shadow: 0 8px 24px rgba(var(--shadow-rgb), calc(0.35 * var(--shadow-k))); pointer-events: none;
}
.tip[hidden] { display: none; }
/* a tooltip with its own layout (the machines behind a validator's pill) */
.tip.is-rich { white-space: normal; max-width: min(340px, calc(100vw - 24px)); }
.tip-mh { font-weight: 650; margin-bottom: 7px; }
.tip-mt { display: grid; grid-template-columns: auto 1fr auto auto; gap: 5px 12px; align-items: center; font-variant-numeric: tabular-nums; }
.tip-mt .h { color: var(--haze); font-size: 12px; }
.tip-mt .r { text-align: right; }
.tip-mt .warn { color: var(--warn); }
.tip-mt b { font-weight: 600; }
.tip-mt i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.tip-mf { color: var(--haze); font-size: 12px; margin-top: 8px; }
.tip-mf + .tip-mf { margin-top: 4px; }
.tip-mf b { color: var(--parchment); font-weight: 600; }
.tip-l + .tip-l { margin-top: 5px; }
.tip-l b { font-weight: 650; color: var(--gilt-ink); }
h2 .hint { vertical-align: 1px; }
h1 .hint { vertical-align: 0.35em; margin-left: 10px; width: 18px; height: 18px; }
h1 .hint svg { width: 18px; height: 18px; }

/* ---------- the strip, by epochs ---------- */
.strip { display: grid; grid-template-columns: repeat(15, 1fr); gap: 14px; }
.epoch-col { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.epoch { display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; }
.strip .epoch { background: rgba(var(--rim-rgb), 0.32); padding: 4px; border-radius: 6px; }
.epoch-no { font-size: 11px; color: var(--haze); height: 14px; padding-left: 4px; }
.epoch-no.is-cur { color: var(--parchment); }
.cell { display: block; height: 42px; border-radius: 3px; position: relative; }
.cell:hover, .cell:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; z-index: 1; }
.cell-block { background: var(--c-pending); }
.cell-final { background: var(--c-final); }
.cell-empty { background: var(--rim-2); }
.cell-unknown { background: var(--c-nodata); }
.cell-future { background: none; box-shadow: inset 0 0 0 1px rgba(var(--rim2-rgb), 0.45); }
/* The running slot glows inside its gold frame: a calm pulse (1.6 s) that grows brighter, with a growing gold
   halo, as its 30 seconds pass. When it is over and its result is still on the way (results reach the site a few
   seconds late) it breathes. Then it settles: the pale fill fades into a blue block (or the gold checkpoint), or
   drains to an empty slot. Both rhythms follow the clock (negative delays), so a redraw doesn't restart them. */
@property --slot-p { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --slot-pulse { syntax: "<number>"; inherits: true; initial-value: 0; }
.cell { overflow: hidden; transition: background-color 0.6s ease; }
.cell::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 0; pointer-events: none;
  background: rgba(var(--pending-rgb), 0); box-shadow: inset 0 1px 0 rgba(var(--pending-hi-rgb), 0);
  transition: height 0.8s cubic-bezier(0.55, 0, 0.8, 0.2), background-color 0.6s ease, box-shadow 0.4s ease;
}
.cell-now::before, .cell-pending::before { background: rgba(var(--pending-rgb), 0.26); box-shadow: inset 0 1px 0 rgba(var(--pending-hi-rgb), 0.85); }
.cell-now {
  animation: slot-p var(--slot-ms, 30s) linear var(--slot-at, 0s) both, slot-pulse 0.8s ease-in-out var(--pulse-at, 0s) infinite alternate;
  box-shadow: 0 0 calc(4px + 16px * var(--slot-p)) rgba(var(--gilt-rgb), calc((0.1 + 0.5 * var(--slot-p)) * (0.5 + 0.5 * var(--slot-pulse))));
}
.cell-now::before {
  height: 100%; border-radius: inherit; box-shadow: none;
  background: rgba(var(--pending-rgb), calc((0.08 + 0.42 * var(--slot-p)) * (0.65 + 0.35 * var(--slot-pulse))));
}
@keyframes slot-p { from { --slot-p: 0; } to { --slot-p: 1; } }
@keyframes slot-pulse { from { --slot-pulse: 0; } to { --slot-pulse: 1; } }
.cell-now::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--gilt); pointer-events: none; }
.cell-pending { background: none; box-shadow: inset 0 0 0 1px rgba(var(--pending-rgb), 0.55); }
.cell-pending::before { height: 100%; animation: slot-wait 2.4s ease-in-out var(--wait-at, 0s) infinite; }
@keyframes slot-wait { 50% { opacity: 0.4; } }
.cell-block::before, .cell-final::before { height: 100%; }
.cell-empty::before { background: rgba(var(--pending-rgb), 0.26); }
/* the gold frame stays on the running slot whatever has already come in for it (a block, say) */
.cell.is-now::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 2px var(--gilt), inset 0 0 0 4px var(--night);
}
/* the frame held on a slot still waiting for its result (or not started by this device's clock) */
.cell-pending.is-now::after, .cell-future.is-now::after { box-shadow: inset 0 0 0 2px var(--gilt); }
.day-chain { margin: 8px 0 40px; }
.day-strip { position: relative; padding-bottom: 22px; }
.day-strip .dl-axis { position: absolute; left: 0; right: 0; bottom: 0; height: 16px; }
@keyframes breathe { 50% { box-shadow: inset 0 0 0 2px rgba(var(--gilt-rgb), 0.25); } }
.cell.is-cp { background: var(--gilt); }
.cp-inline { display: inline-flex; align-items: center; gap: 8px; }
.cp-inline .cell { width: 12px; height: 18px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 10px; color: var(--haze); font-size: 13px; }
.lg { display: inline-flex; align-items: center; gap: 8px; }
.lg .cell { width: 12px; height: 18px; animation: none; }
.lg .cell::before { animation: none; }
.lg .cell-now { --slot-p: 0.6; --slot-pulse: 0.5; box-shadow: none; }

/* the current epoch in the hero */
.now-epoch { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.epoch-big { max-width: 240px; gap: 4px; }
.epoch-big .cell { height: 26px; border-radius: 4px; }


/* ---------- days & blocks ---------- */
.days, .blocks, .transfers { list-style: none; margin: 0; padding: 0; }
.day-row, .block-row {
  display: grid; align-items: center; gap: 14px; text-decoration: none; padding: 11px 6px;
  border-bottom: 1px solid var(--rim); border-radius: 4px;
}
.day-row:hover, .block-row:hover { background: rgba(var(--rim-rgb), 0.35); }
.day-row { grid-template-columns: 92px 1fr 52px; row-gap: 6px; }
.day-meta { grid-column: 2 / -1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.day-date { font-weight: 600; }
.day-pct { text-align: right; }
.b-height { font-weight: 650; }
.votes-sum { margin: 0 0 10px; color: var(--haze); }
.votes-table { font-size: 14px; }
.votes-table td { white-space: nowrap; }
@media (max-width: 640px) {
  /* a phone: validator, slot (how much earlier below it), weight */
  .votes-table th:nth-child(1), .votes-table td:nth-child(1), .votes-table th:nth-child(3), .votes-table td:nth-child(3) { display: none; }
  .votes-table .vote-lag { display: block; font-size: 12px; }
  .votes-table td:nth-child(2) { white-space: normal; }
}
.transfer-row { display: flex; gap: 14px; padding: 10px 6px; border-bottom: 1px solid var(--rim); }
.tx-amount { font-weight: 600; min-width: 90px; }
.empty { color: var(--haze); max-width: 46ch; }

/* the agreement gauge: three zones (weak, majority, strong) with a small gap at ½ and ⅔ */
.wbar { display: flex; gap: 2px; height: 8px; }
.wseg { position: relative; overflow: hidden; background: var(--rim); border-radius: 1.5px; }
.wseg:first-child { border-radius: 4px 1.5px 1.5px 4px; }
.wseg:last-child { border-radius: 1.5px 4px 4px 1.5px; }
.wseg-fill { position: absolute; inset: 0 auto 0 0; background: var(--parchment); }
.wbar-big { height: 18px; gap: 4px; }
.wbar-big .wseg { border-radius: 3px; background: rgba(var(--rim-rgb), 0.85); }
.wbar-big .wseg:first-child { border-radius: 9px 3px 3px 9px; }
.wbar-big .wseg:last-child { border-radius: 3px 9px 9px 3px; }
.wbar-big.wbar-strong .wseg-fill { background: var(--ok); }
.wbar-big.wbar-majority .wseg-fill { background: var(--mid); }
.wbar-big.wbar-weak .wseg-fill { background: var(--warn-mark); }
.weight-figure { position: relative; margin: 34px 0 26px; }
.val-machines th { white-space: nowrap; }
.val-machines code { white-space: nowrap; }
.mc-sub { display: block; color: var(--haze); font-size: 12px; white-space: nowrap; }
.weight-marks { position: absolute; left: 0; right: 0; top: -24px; height: 20px; }
.weight-marks span { position: absolute; translate: -50% 0; padding: 0 7px; border-radius: 999px; background: var(--vault); box-shadow: inset 0 0 0 1px var(--rim-2); color: var(--parchment); font-size: 12px; line-height: 19px; }
.weight-marks span::after { content: ""; position: absolute; left: 50%; bottom: -4px; translate: -50% 0; border: 4px solid transparent; border-top-color: var(--rim-2); border-bottom: 0; }
.weight-scale { display: flex; gap: 4px; margin-top: 8px; font-size: 13px; color: var(--haze); }
.ws-zone { min-width: 0; text-align: center; white-space: nowrap; }
.ws-zone.is-on { font-weight: 600; }
.ws-weak.is-on { color: var(--warn); } .ws-majority.is-on { color: var(--mid); } .ws-strong.is-on { color: var(--ok); }

.level { font-size: 13px; font-weight: 600; padding: 2px 9px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; }
.level-ok { color: var(--ok); }
.level-mid { color: var(--mid); }
.level-warn { color: var(--warn); }

/* ---------- days panel (right of the dial) ---------- */
.dp-head { gap: 14px; }
.dp-head .more { margin-left: auto; }
.seg { display: inline-flex; border: 1px solid var(--rim); border-radius: 8px; overflow: hidden; }
.seg button { font: inherit; font-size: 13px; color: var(--haze); background: none; border: 0; padding: 4px 11px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--rim); color: var(--parchment); }
.seg button:hover { color: var(--parchment); }
/* calendar: one month, 6 weeks, rings sized to the dial's height */
.days-panel { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dp-top { flex: none; display: flex; flex-direction: column; }
.dp-top .dp-head { min-height: 42px; margin: 0; align-items: center; flex-wrap: wrap; row-gap: 8px; }
/* list: the days share the height left of the head, so switching modes never changes the page height */
.list-body { flex: 1 1 0; min-height: 0; container-type: size; display: flex; flex-direction: column; }
.list-body .dp-axis { flex: none; padding: 6px 6px 2px; }
.list-body .daylines { flex: 1; min-height: 0; }
.list-body .dayline:not(.dp-axis) { flex: 1 1 0; min-height: 0; padding-top: 0; padding-bottom: 0; align-content: center; }
@container (max-height: 470px) {
  .list-body .dl-date small { display: none; }
  .list-body .dayline { row-gap: 3px; }
}
@container (max-height: 380px) { .list-body .daylines > .dayline:nth-child(n + 6) { display: none; } }
.dp-head .cal-nav { margin-left: auto; }
.cal-legend .dp-all { margin-left: auto; }
.days-panel { container-type: inline-size; }
/* narrow panel: keep the calendar head on one line ("All days" is also in the top menu) */
@container (max-width: 580px) {
  .dp-top.is-cal .more { display: none; }
  /* a month of this year without its year, and a little less space around, so the head stays on one line */
  .cal-y.is-this { display: none; }
  .days-panel .dp-head { column-gap: 10px; }
  .days-panel .cal-nav { gap: 2px; }
  .days-panel .cal-month { min-width: 4.5em; }
}
@container (max-width: 360px) {
  .days-panel .seg button { padding: 4px 8px; }
  .days-panel .cal-arrow { width: 24px; height: 24px; }
}
.cal-body { flex: 1 1 0; min-height: 0; contain: size; display: flex; flex-direction: column; }
.cal-head { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0 8px; padding: 6px 0 4px; }
.cal-wd { font-size: 12px; color: var(--haze); text-align: center; text-transform: lowercase; }
.cal-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-template-rows: repeat(6, minmax(0, 1fr)); gap: 2px 8px; }
.cal-cell { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 0; border-radius: 10px; }
.cal-cell.is-other { opacity: 0.4; }
.cal-cell.is-future { opacity: 0.35; }
.cal-cell.is-future.is-other { opacity: 0.18; }
a.cal-cell:hover .mr, a.cal-cell:focus-visible .mr { filter: brightness(1.3); }
.cal-nav { display: flex; align-items: center; gap: 4px; }
.cal-month { min-width: 8.5em; text-align: center; font-weight: 600; font-size: 15px; color: var(--parchment); }
.cal-arrow { display: inline-grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 1px solid var(--rim); border-radius: 8px; background: none; color: var(--haze); cursor: pointer; }
.cal-arrow svg { width: 14px; height: 14px; }
.cal-arrow:hover:not(:disabled) { color: var(--parchment); border-color: var(--haze); }
.cal-arrow:disabled { opacity: 0.35; cursor: default; }
.cal-back { margin-left: 10px; font: inherit; font-size: 13px; color: var(--gilt-ink); background: none; border: 0; padding: 0; cursor: pointer; }
.cal-back:hover { text-decoration: underline; }
.mr { width: 100%; height: 100%; display: block; overflow: visible; }
.mr-ttrack { fill: none; stroke: rgba(var(--rim2-rgb), 0.45); stroke-width: 2.5; }
.mr-base { fill: none; stroke: rgba(var(--rim-rgb), 0.35); }
.mr-track { fill: rgba(var(--rim-rgb), 0.45); }
.mr-nodata { fill: var(--c-nodata); }
.mr-final { fill: var(--c-final); }
.mr-pending { fill: var(--c-pending); }
.mr-tdh { fill: none; stroke-width: 2.6; stroke-linecap: round; }
.mr-ok { stroke: var(--ok); }
.mr-mid { stroke: var(--mid); }
.mr-warn { stroke: var(--warn-mark); }
.mr-hand { stroke: var(--gilt); stroke-width: 1.6; stroke-linecap: round; }
.mr-num { fill: var(--haze); font: 600 9px var(--sans); text-anchor: middle; }
.mr-num.is-today { fill: var(--gilt-ink); }
.cal-legend { display: flex; align-items: center; gap: 18px; min-height: 20px; flex: none; color: var(--haze); font-size: 13px; }
.sw-arc { width: 14px; height: 4px; border-radius: 2px; background: var(--ok); }
.daylines { display: flex; flex-direction: column; }
.dayline {
  display: grid; grid-template-columns: 92px 1fr 76px; column-gap: 14px; row-gap: 6px; align-items: center;
  text-decoration: none; padding: 10px 6px; border-bottom: 1px solid var(--rim); border-radius: 4px;
}
a.dayline:hover { background: rgba(var(--rim-rgb), 0.35); }
.dp-axis { padding-top: 0; padding-bottom: 2px; border-bottom: 0; }
.dl-date { font-weight: 600; font-size: 15px; display: flex; flex-direction: column; line-height: 1.25; }
.dl-date small { font-weight: 400; color: var(--haze); font-size: 12px; }
.dl-strip { display: block; height: 22px; position: relative; }
.ds { display: block; width: 100%; height: 100%; overflow: visible; }
.ds-base { stroke: var(--rim); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ds-track { fill: rgba(var(--rim-rgb), 0.45); }
.ds-nodata { fill: var(--c-nodata); }
.ds-final { fill: var(--c-final); }
.ds-pending { fill: var(--c-pending); }
.ds-now { stroke: var(--gilt); stroke-width: 2; vector-effect: non-scaling-stroke; }
.ds-empty { position: absolute; inset: 0; display: flex; align-items: center; font-size: 12px; color: var(--haze); border-bottom: 1px dashed var(--rim); }
.dl-fill { text-align: right; display: flex; flex-direction: column; line-height: 1.2; font-variant-numeric: tabular-nums; }
.dl-fill strong { font-weight: 650; }
.dl-fill small { color: var(--haze); font-size: 12px; }
.dl-tdh { grid-column: 2 / -1; display: flex; align-items: center; gap: 10px; font-size: 13px; }
.dl-tdh .wbar { flex: 1; height: 5px; }
.dl-tdh .level { font-size: 12px; padding: 1px 8px; min-width: 92px; text-align: center; }
.dl-tdh-v { color: var(--haze); min-width: 72px; text-align: right; }
.dl-axis { position: relative; display: block; height: 14px; font-size: 11px; color: var(--haze); }
.dl-axis span { position: absolute; transform: translateX(-50%); }
.dl-axis span:first-child { transform: none; }
.dl-axis span:last-child { transform: translateX(-100%); }
.dl-axis.big { margin: 6px 0 4px; }
/* the days page: the overview's day rows at full width, with one more line of detail */
/* Blocks | Days: one place in the menu, two tabs */
.days-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 18px; }
.days-head h1 { margin: 0; }
.days-page .facts { margin-bottom: 26px; }
.days-list .dayline { grid-template-columns: 120px 1fr 112px; column-gap: 18px; padding: 14px 8px; }
.days-list .dp-axis { padding-top: 0; padding-bottom: 4px; }
.days-list .dl-strip { height: 30px; }
.days-list .dl-date { font-size: 16px; }
.days-list .dl-fill strong { font-size: 17px; }
/* the Days tab: a table like the blocks list */
.dtab { margin-top: 4px; }
.dt-head, .dt-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) 64px 76px 70px 70px 200px; align-items: center; column-gap: 18px; }
.dt-head { padding: 0 10px 8px; font-size: 12px; color: var(--haze); border-bottom: 1px solid var(--rim-2); }
.dt-head .r, .dt-row .r { text-align: right; }
.dt-strip-h { position: relative; }
/* the hours across the whole column, the label where midnight would be */
.dt-ticks { position: absolute; inset: 0; }
.dt-ticks i { position: absolute; top: 0; transform: translateX(-50%); font-style: normal; font-size: 11px; opacity: 0.8; white-space: nowrap; }
.dt-ticks i:first-child { transform: none; }
.dt-ticks i:last-child { transform: translateX(-100%); }
.dt-row { padding: 12px 10px; border-bottom: 1px solid var(--rim); color: inherit; text-decoration: none; font-variant-numeric: tabular-nums; }
.dt-row:hover { background: rgba(var(--rim-rgb), 0.35); }
.dt-row:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.dt-day { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.dt-day b { font-weight: 650; }
.dt-day small { color: var(--haze); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dt-strip { position: relative; display: block; height: 22px; }
/* the soft strip: a faint band where the chain ran (no hard boxes over the bars), the blocks as an area */
.dt-strip .ds-band { fill: rgba(var(--rim2-rgb), 0.14); }
.dt-strip .ds-pending { fill: rgba(var(--pending-rgb), 0.7); }
.dt-strip .ds-final { fill: rgba(var(--gilt-rgb), 0.62); }
.dt-strip .ds-nodata { fill: rgba(var(--rim2-rgb), 0.3); }
.dt-strip .ds-now { stroke: var(--parchment); stroke-width: 1.5; opacity: 0.85; }
.dt-row:hover .ds-band { fill: rgba(var(--rim2-rgb), 0.22); }
.dt-fill { font-weight: 650; }
.dt-tdh { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.dt-tdh .wbar { flex: 1; height: 6px; }
.dt-tdh .level { font-size: 11.5px; padding: 0 8px; }
.dt-tdh-v { min-width: 36px; text-align: right; }
@media (max-width: 900px) {
  .dt-head, .dt-row { grid-template-columns: 110px minmax(0, 1fr) 56px 64px 170px; }
  .dt-head > :nth-child(5), .dt-head > :nth-child(6), .dt-row > :nth-child(5), .dt-row > :nth-child(6) { display: none; }
}
@media (max-width: 640px) {
  .dt-head { display: none; }
  .dt-row { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "d f b" "s s s" "t t t"; row-gap: 8px; column-gap: 14px; }
  .dt-row > .dt-day { grid-area: d; } .dt-row > .dt-fill { grid-area: f; } .dt-row > :nth-child(4) { grid-area: b; }
  .dt-row > .dt-strip { grid-area: s; } .dt-row > .dt-tdh { grid-area: t; }
  .dt-row > :nth-child(5), .dt-row > :nth-child(6) { display: none; }
  .dt-day { flex-direction: row; align-items: baseline; gap: 8px; }
}
.dl-meta { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 2px 16px; font-size: 12.5px; color: var(--haze); }

.day-strip-big { height: 48px; margin-top: 8px; }

/* ---------- detail pages ---------- */
/* sub-pages use the same width as the overview; prose keeps its own readable measure */
/* the page starts close under the menu: the breadcrumb, then the title right under it */
.page { padding-top: 10px; }
.page h1 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.15; margin-bottom: 8px; }
/* title + one outward action: the button sits on the title's line, right-aligned */
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 14px; }
/* the page's main link with a share button beside it (validator, network, orloj) */
/* the share button as tall as the link beside it, its top on the same line (the link's own top margin off) */
.head-acts { display: flex; align-items: stretch; gap: 10px; flex: none; }
.head-acts .cta-out { margin: 0; }
.share-btn { flex: none; display: inline-grid; place-items: center; box-sizing: border-box; width: 43px; height: auto; min-height: 32px; padding: 0; border: 1px solid var(--rim-2); border-radius: 10px; background: none; color: var(--haze); cursor: pointer; transition: border-color 0.15s, color 0.15s; }
.share-btn svg { width: 18px; height: 18px; }
.share-btn:hover, .share-btn[aria-expanded="true"] { border-color: var(--gilt); color: var(--parchment); }
.share-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.share-btn.is-busy { cursor: progress; opacity: 0.6; }
.share-btn.is-ready { border-color: var(--gilt); color: var(--gilt-ink); }
.share-menu { position: absolute; z-index: 60; min-width: 196px; padding: 6px; background: var(--vault); border: 1px solid var(--rim-2); border-radius: 12px; box-shadow: 0 10px 28px rgba(var(--shadow-rgb), calc(0.4 * var(--shadow-k))); }
.share-menu [role="menuitem"] { display: flex; align-items: center; gap: 10px; width: 100%; box-sizing: border-box; padding: 9px 12px; border: 0; border-radius: 8px; background: none; color: var(--parchment); font: 500 14px/1.3 var(--sans); text-align: left; text-decoration: none; cursor: pointer; }
.share-menu [role="menuitem"] svg { flex: none; width: 16px; height: 16px; color: var(--haze); }
.share-menu [role="menuitem"]:hover, .share-menu [role="menuitem"]:focus-visible { background: rgba(var(--pending-rgb), 0.1); outline: none; }
@media (prefers-reduced-motion: reduce) { .share-btn { transition: none; } }
.page-head h1 { margin: 0; }
.page-title { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; }
/* a sticker that says out loud what the page is, and why it's here: under the page's title, full width;
   its name sits on the dashed frame like a label on a parcel, the Orloj's dial beside the line */
.plug {
  position: relative; display: flex; align-items: center; gap: 14px; margin: 14px 0 18px; padding: 16px 18px 14px;
  border: 1px dashed rgba(var(--gilt-rgb), 0.55); border-radius: 12px;
  background: linear-gradient(100deg, rgba(var(--gilt-rgb), 0.09), rgba(var(--gilt-rgb), 0.02) 45%, transparent 80%);
}
.plug-tag {
  position: absolute; top: 0; left: 16px; transform: translateY(-50%); padding: 1px 9px; border-radius: 999px;
  background: var(--gilt-fill); color: var(--on-accent); font-size: 12px; font-weight: 700; letter-spacing: 0.01em; line-height: 1.5;
  box-shadow: 0 0 0 4px var(--night);
}
.plug-ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--gilt-ink);
  background: rgba(var(--gilt-rgb), 0.1); box-shadow: inset 0 0 0 1px rgba(var(--gilt-rgb), 0.45); }
.plug-ico svg { width: 22px; height: 22px; }
.plug-text { color: var(--parchment); font-size: 15px; line-height: 1.5; }
@media (max-width: 720px) {
  .plug { gap: 12px; margin-top: 22px; padding: 16px 14px 12px; }
  .plug-ico { width: 32px; height: 32px; }
  .plug-ico svg { width: 19px; height: 19px; }
  .plug-text { font-size: 14px; }
}
.cta-out { margin: 0; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 18px; white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(var(--gilt-rgb), 0.35), 0 6px 18px -8px rgba(var(--gilt-rgb), 0.55); transition: filter 0.15s, transform 0.15s; }
.cta-out:hover { transform: translateY(-1px); }
.cta-out:focus-visible { outline: 2px solid var(--parchment); outline-offset: 3px; }
.cta-short { display: none; }
.cta-arrow { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(var(--night-rgb), 0.14); font-size: 12px; line-height: 1; }
@media (prefers-reduced-motion: reduce) { .cta-out, .cta-out:hover { transition: none; transform: none; } }
.page > .tag { margin: 4px 0 8px; }
.page h2 { font-size: 21px; margin: 40px 0 14px; }
/* the way to a detail page, a quiet line above its title: Chain › Blocks › #6,798 */
.crumb { display: flex; flex-wrap: wrap; align-items: baseline; min-width: 0; margin: 0 0 2px; font-size: 13px; line-height: 1.5; color: var(--haze); }
.crumb a { color: var(--haze); text-decoration: none; }
.crumb a:hover { color: var(--parchment); text-decoration: underline; text-underline-offset: 3px; }
.crumb a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
.crumb .crumb-sep { margin: 0 0.55em; color: var(--rim-2); }
.crumb .crumb-cur { color: var(--parchment-dim); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crumb .crumb-cur code { font-size: 0.95em; }
.note {
  display: flex; gap: 10px; align-items: flex-start; background: var(--vault); border-radius: 10px;
  padding: 12px 14px; color: var(--haze); font-size: 14px; margin: 24px 0;
}
.note svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; color: var(--mid); }
.note.error svg { color: var(--bad); }
.pager { display: flex; justify-content: space-between; gap: 16px; margin: 28px 0; }
.pager a { color: var(--gilt-ink); text-decoration: none; }
.pager a:hover { text-decoration: underline; }
.copy { font: inherit; color: var(--parchment); background: none; border: 0; padding: 0; cursor: copy; border-bottom: 1px dashed var(--rim-2); }

.table-wrap { overflow-x: auto; }
.table { border-collapse: collapse; width: 100%; font-size: 15px; }
.table th { text-align: left; color: var(--haze); font-weight: 500; font-size: 13px; padding: 8px 10px; border-bottom: 1px solid var(--rim-2); }
.table td { padding: 9px 10px; border-bottom: 1px solid var(--rim); }
.table .r { text-align: right; }
.share-cell { width: 22%; }
.minitrack { display: block; height: 6px; background: var(--c-nodata); border-radius: 3px; overflow: hidden; }
.minibar { display: block; height: 100%; background: var(--c-pending); border-radius: 3px; min-width: 2px; }
.m-only { display: none; }
/* day grid: 24 hours x 15 epochs */
.dg-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 20px; flex-wrap: wrap; margin: 40px 0 12px; }
.day-chain .dg-head h2 { margin: 0; }
.dg-head .legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--haze); }
.dg-head .lg { display: inline-flex; align-items: center; gap: 6px; }
.dg-head .m { width: 6px; height: 14px; }
.day-grid { display: grid; gap: 3px; margin-bottom: 18px; }
.dg-row { display: grid; grid-template-columns: 34px 1fr; gap: 8px; align-items: stretch; }
.dg-hour-btn { background: none; border: 0; color: var(--haze); font: inherit; font-size: 12px; line-height: 1; font-variant-numeric: tabular-nums; cursor: pointer; border-radius: 5px; padding: 0; }
.dg-hour-btn:hover, .dg-hour-btn.is-sel { color: var(--parchment); background: var(--vault); }
.dg-cells { display: grid; grid-template-columns: repeat(15, minmax(0, 1fr)); gap: 4px; }
.dg-cell { display: grid; grid-template-columns: repeat(8, 1fr); gap: 1px; align-items: end; height: 16px; padding: 1px 2px; border: 1px solid transparent; border-radius: 4px; background: none; cursor: pointer; }
.dg-cell:hover { border-color: var(--rim-2); background: rgba(var(--vault-rgb), 0.55); }
.dg-cell.is-sel { border-color: var(--gilt); background: var(--vault); }
.dg-cell:focus-visible, .dg-hour-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.dg-cell.is-before { background: none; cursor: default; }
.m { display: block; border-radius: 1px; }
.dg-cell .m { height: 100%; }
.m-block { background: var(--c-pending); }
.m-final { background: var(--c-final); }
.m-empty { background: var(--rim-2); }
.m-unknown { background: var(--c-nodata); }
.m-now { background: none; box-shadow: inset 0 0 0 1px var(--gilt); }
/* hours still to come: faint ghost slots (a 1 px line rendered unevenly on scaled screens) */
.m-future { background: rgba(var(--rim2-rgb), 0.09); }
.dg-panel { margin: 6px 0 10px 42px; padding: 14px 16px; border: 1px solid var(--rim-2); border-radius: 12px; background: var(--vault); }
.dg-panel-head { display: flex; align-items: center; gap: 8px 12px; margin-bottom: 12px; flex-wrap: wrap; }
.dg-panel-head h3 { margin: 0; font-size: 16px; }
.dg-steps { display: flex; gap: 8px; margin-left: auto; }
.dg-step, .dg-close { white-space: nowrap; background: none; border: 1px solid var(--rim-2); color: var(--parchment); border-radius: 8px; font: inherit; font-size: 13px; padding: 4px 10px; cursor: pointer; }
.dg-close { font-size: 18px; line-height: 1; padding: 2px 9px; }
.dg-steps + .dg-close { margin-left: 0; }
.dg-panel-head h3 + .dg-close { margin-left: auto; }
.dg-step:hover, .dg-close:hover { border-color: var(--gilt); }
.dg-panel .epoch-big { max-width: none; gap: 6px; }
.dg-panel .epoch-big .cell { height: 38px; border-radius: 5px; }
/* each slot a column: the cell, then its block and time under it */
.slot-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.dg-slot { display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 13.5px; font-variant-numeric: tabular-nums; text-align: center; }
.dg-slot .muted { font-size: 12.5px; }
.dg-panel .epoch-labelled { row-gap: 14px; }
@media (max-width: 640px) { .dg-panel .epoch-labelled { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.dg-hour { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 22px; }
.dg-hour-row { display: grid; grid-template-columns: 44px 1fr; gap: 8px; align-items: center; font-size: 13px; }
.dg-hour-row .cell { height: 22px; }
.dg-blocks { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; }
.dg-blocks li { display: inline-flex; gap: 6px; }
@media (max-width: 760px) {
  .dg-cells { gap: 2px; }
  .dg-cell { padding: 1px; height: 14px; border-radius: 3px; }
  .dg-panel { margin-left: 0; }
  .dg-hour { grid-template-columns: 1fr; }
}

/* validators */
.vchart { margin: 30px 0 8px; scroll-margin-top: 16px; }
.vchart-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; }
.vchart-head h2 { margin: 0; }
.vchart-head .legend { display: flex; gap: 16px; margin: 0; font-size: 13px; color: var(--haze); }
.vchart-head .lg { display: inline-flex; align-items: center; gap: 7px; }
.vchart .sw { width: 14px; height: 3px; border-radius: 2px; display: inline-block; flex: none; }
.vchart-plot { position: relative; margin-top: 12px; min-height: 210px; }
.vchart-plot svg { display: block; overflow: visible; touch-action: pan-y; }
.vc-grid { stroke: rgba(var(--rim2-rgb), 0.45); stroke-width: 1; stroke-dasharray: 2 4; }
.vc-y, .vc-x { fill: var(--haze); font-size: 12px; font-family: var(--sans); font-variant-numeric: tabular-nums; }
.vc-y { text-anchor: end; }
.vc-line { fill: none; stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round; }
.vc-dot, .vc-hot { stroke: var(--night); stroke-width: 2.5; }
.vc-end { font-size: 13px; font-family: var(--sans); font-weight: 650; font-variant-numeric: tabular-nums; }
.vc-cross { stroke: rgba(var(--ink-rgb), 0.28); stroke-width: 1; }
.vc-acc.vc-line, .sw.vc-acc { stroke: var(--c-final); background: var(--c-final); }
.vc-mach.vc-line, .sw.vc-mach { stroke: var(--c-pending); background: var(--c-pending); }
.vc-dot.vc-acc, .vc-hot.vc-acc, .vc-end.vc-acc { fill: var(--c-final); }
.vc-dot.vc-mach, .vc-hot.vc-mach, .vc-end.vc-mach { fill: var(--c-pending); }
.vc-hit { fill: transparent; cursor: crosshair; }
.vc-tip {
  position: absolute; z-index: 2; pointer-events: none; min-width: 190px; padding: 10px 12px; border-radius: 10px;
  background: rgba(var(--vault-rgb), 0.96); border: 1px solid var(--rim-2); box-shadow: 0 10px 28px -12px rgba(var(--shadow-rgb), calc(0.7 * var(--shadow-k)));
  font-size: 13px; color: var(--parchment); font-variant-numeric: tabular-nums;
}
.vc-tip-date { color: var(--haze); font-size: 12px; margin-bottom: 6px; }
.vc-tip-row { display: grid; grid-template-columns: 14px 1fr auto; align-items: center; column-gap: 8px; }
.vc-tip-row + .vc-tip-row { margin-top: 4px; }
.vc-tip-row strong { font-weight: 650; text-align: right; }
.vc-tip-row .muted { grid-column: 2 / 4; font-size: 12px; margin-top: -1px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.val-dist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 28px; margin: 22px 0 30px; }
/* world map of machines by country, the country list beside it */
.val-geo { scroll-margin-top: 16px; display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(220px, 1fr); gap: 18px 32px; align-items: start; margin: 30px 0 8px; }
.val-map { margin: 0; }
.val-map-plot { aspect-ratio: 1000 / 416; }
.val-map-plot svg { display: block; width: 100%; height: 100%; overflow: visible; }
.val-map-plot path, .val-map-plot circle { vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.vm-base path { fill: rgba(var(--rim2-rgb), 0.42); stroke: var(--night); stroke-width: 0.6px; }
.vm-pt { fill: var(--gilt); stroke: var(--night); stroke-width: 0.6px; cursor: pointer; outline: none; }
.vm-pt:hover, .vm-pt.is-on { stroke: var(--parchment); stroke-width: 1.6px; }
.vm-pt:focus-visible { stroke: var(--parchment); stroke-width: 2px; }
/* the region map: four steps of gold, darkest for the fewest machines; a region with none only outlined */
.vm-pt.vm-s1, .vm-legend .vm-s1 { fill: var(--seq-1); background: var(--seq-1); }
.vm-pt.vm-s2, .vm-legend .vm-s2 { fill: var(--seq-2); background: var(--seq-2); }
.vm-pt.vm-s3, .vm-legend .vm-s3 { fill: var(--seq-3); background: var(--seq-3); }
.vm-pt.vm-s4, .vm-legend .vm-s4 { fill: var(--seq-4); background: var(--seq-4); }
.vm-base path.vm-none { fill: rgba(var(--rim2-rgb), 0.14); stroke: var(--none-line); stroke-width: 1px; stroke-dasharray: 3 3; }
.vm-labels text.vm-zero { fill: var(--haze); }
.vm-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 13px; color: var(--parchment-dim); font-variant-numeric: tabular-nums; }
.vm-legend span { display: inline-flex; align-items: center; gap: 6px; }
.vm-legend i { width: 18px; height: 11px; border-radius: 3px; }
.vm-legend i.vm-none { border: 1px dashed var(--none-line); background: rgba(var(--rim2-rgb), 0.14); }
/* the validators list's strip: a small map, the numbers, the count over time */
.val-tabs .val-cta { flex: none; margin-left: 18px; align-self: center; }
.val-sum { justify-content: space-between; gap: 14px 20px; padding: 12px 20px; }
/* the summary strips: label, value and the line under it at the same heights in every cell */
.val-sum, .tx-sum { align-items: flex-start; }
.val-sum .bo-sep, .tx-sum .bo-sep { align-self: stretch; }
.val-sum .val-mini, .val-sum .val-spark { align-self: center; }
.val-sum .bo-k .bo-v, .tx-sum .bo-k .bo-v { line-height: 1.3; }
.val-mini { display: block; width: 168px; height: 74px; flex: none; border-radius: 8px; }
.val-mini-plot, .val-mini-plot svg { display: block; width: 100%; height: 100%; }
.val-mini .vm-data path, .val-mini .vm-data circle { fill: var(--gilt); stroke: var(--night); stroke-width: 0.6px; }
.val-mini .vm-base path { fill: rgba(var(--rim2-rgb), 0.55); }
.val-mini:hover .vm-base path { fill: rgba(var(--rim2-rgb), 0.75); }
.val-mini:focus-visible, .val-spark:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.val-spark { display: block; flex: none; text-decoration: none; }
.val-spark svg { display: block; width: 168px; height: 74px; overflow: visible; } /* as big as .val-mini */
.val-spark .vs-acc { fill: none; stroke: var(--c-final); stroke-width: 1.8; }
.val-spark .vs-mach { fill: none; stroke: var(--c-pending); stroke-width: 1.4; opacity: 0.8; }
.val-spark .vs-area { fill: rgba(var(--ink-rgb), 0.07); }
.val-spark circle { fill: var(--c-final); }
.val-spark:hover .vs-area { fill: rgba(var(--ink-rgb), 0.12); }
@media (max-width: 900px) {
  .val-sum .val-mini, .val-sum .val-spark svg { width: 120px; height: 54px; }
}
@media (max-width: 640px) {
  .val-sum { display: grid; grid-template-columns: 1fr 1fr; }
  .val-sum .val-mini { grid-column: 1; width: 100%; height: 64px; }
  .val-sum .val-spark { grid-column: 2; grid-row: 1; margin-left: 0; }
  .val-sum .val-spark svg { width: 100%; height: 64px; }
  .val-tabs .val-cta .cta-long { display: none; }
  .val-tabs .val-cta .cta-short { display: inline; }
  .val-tabs .val-cta { gap: 6px; padding: 6px 10px 6px 12px; font-size: 13px; border-radius: 9px; }
}
.vm-labels text { fill: var(--ink-strong); stroke: var(--night); paint-order: stroke; font-weight: 700; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.val-map-cap { margin-top: 8px; min-height: 1.55em; font-size: 13.5px; color: var(--haze); }
/* same head as the chart: the title, and on the right the colour scale and the region/country switch */
.val-geo-h { grid-column: 1 / -1; align-items: center; margin-bottom: 4px; }
.geo-ctrl { display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; }
.val-geo .dist h3, .geo-dialog .dist h3 { display: none; }
.geo-expand, .gd-close {
  display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; border-radius: 8px;
  color: var(--haze); background: none; border: 1px solid var(--rim); cursor: pointer;
}
.geo-expand:hover, .gd-close:hover { color: var(--parchment); border-color: var(--rim-2); }
.geo-expand svg, .gd-close svg { width: 16px; height: 16px; }
/* the map enlarged: as big as the window allows, with every region or country beside it (scrolls on its own) */
.geo-dialog {
  width: min(1320px, 96vw); max-width: none; max-height: 94vh; padding: 0; color: var(--parchment);
  background: var(--night); border: 1px solid var(--rim); border-radius: 16px; overflow: hidden;
}
.geo-dialog::backdrop { background: rgba(var(--scrim-rgb), calc(0.72 * var(--scrim-k))); }
.gd-box { display: flex; flex-direction: column; max-height: 94vh; padding: 20px 24px 18px; }
.gd-head { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 10px; }
.gd-head h2 { margin: 0; font-size: 21px; }
.gd-head .geo-ctrl { margin-left: auto; }
.gd-body { display: grid; grid-template-columns: minmax(0, 3fr) minmax(240px, 1fr); gap: 18px 32px; min-height: 0; }
.gd-body .vm-list { overflow-y: auto; max-height: calc(94vh - 120px); padding-right: 4px; }
@media (max-width: 900px) {
  /* dvh: the height left between a phone browser's bars (100vh counts the space under them, so the top was cut) */
  .geo-dialog { width: 100vw; max-height: 100vh; max-height: 100dvh; height: 100vh; height: 100dvh; border-radius: 0; }
  .gd-box { max-height: 100vh; max-height: 100dvh; padding: 14px 14px 12px; }
  .gd-body { grid-template-columns: 1fr; overflow-y: auto; }
  .gd-body .vm-list { max-height: none; overflow: visible; }
  .gd-head .geo-ctrl { margin-left: 0; order: 3; width: 100%; }
  .gd-head .gd-close { margin-left: auto; }
}
.val-geo .dist { padding-top: 4px; }
.dist-unknown { color: var(--haze); border-top: 1px dashed var(--rim); padding-top: 6px; margin-top: 2px; }
.dist-unknown .dist-bar { visibility: hidden; }
.dist h3 { font-size: 14px; color: var(--haze); font-weight: 500; margin: 0 0 8px; }
.dist ul { list-style: none; padding: 0; margin: 0; }
.dist li { display: grid; grid-template-columns: minmax(0, 1fr) 72px 40px; gap: 10px; align-items: center; padding: 4px 0; font-size: 14px; }
.dist-k { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dist-bar { height: 6px; background: var(--c-nodata); border-radius: 3px; overflow: hidden; }
.dist-bar span { display: block; height: 100%; background: var(--c-pending); border-radius: 3px; }
.dist-n { text-align: right; color: var(--haze); font-variant-numeric: tabular-nums; }
.val-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin: 8px 0 12px; }
.val-tools h2 { margin: 0; }
/* the title, a few filters beside it, and on a phone (no column headers there) a sort menu */
.val-title { display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; min-width: 0; }
/* the title, the filters and the search share one line height, so they read as one row */
.val-tools { --row-h: 38px; }
.val-title h2 { line-height: var(--row-h); }
.val-title .seg { height: var(--row-h); border-radius: 10px; }
.val-title .seg button { padding: 0 14px; font-size: 14px; }
.val-tools #val-filter { height: var(--row-h); padding: 0 12px; }
.val-table .share-cell { width: 12%; }
.val-table .share-cell .minitrack { max-width: 140px; }
/* on a phone the filters become a menu beside the sort menu, both on one line (no column headers there) */
.val-m-row { display: none; }
.val-m-sel { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; color: var(--haze); }
.val-m-sel select { flex: 1 1 auto; min-width: 0; height: 36px; font: inherit; font-size: 14px; color: var(--parchment); background: var(--night); border: 1px solid var(--rim); border-radius: 10px; padding: 0 8px; }
.th-sort { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.th-sort:hover { color: var(--parchment); }
.sort-ind::after { content: ""; display: inline-block; width: 8px; opacity: 0.35; }
th[aria-sort="descending"] .sort-ind::after { content: "▾"; opacity: 1; color: var(--gilt-ink); }
th[aria-sort="ascending"] .sort-ind::after { content: "▴"; opacity: 1; color: var(--gilt-ink); }
th[aria-sort="none"] .th-sort:hover .sort-ind::after { content: "▾"; }
.val-table .val-earned { white-space: nowrap; }
.val-table thead th { white-space: nowrap; }
.blk-tools { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin: 4px 0 12px; }
.blk-tools #blk-count { margin-left: auto; }
#blk-filter { height: 38px; }
.blk-sel { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; color: var(--haze); }
.blk-sel select { height: 38px; font: inherit; font-size: 14px; color: var(--parchment); background: var(--vault); border: 1px solid var(--rim-2); border-radius: 10px; padding: 0 10px; }
.blk-sel select:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.blk-sort-m { display: none; }
.blk-note { margin: -4px 0 10px; }
.blk-note:empty { display: none; }
/* sortable column heads of the block list (the blocks page) */
.blist-head [aria-sort="none"] .th-sort:hover .sort-ind::after { content: "▾"; }
#val-filter, #blk-filter { background: var(--vault); border: 1px solid var(--rim-2); border-radius: 10px; color: var(--parchment); padding: 9px 12px; font: inherit; font-size: 15px; width: min(320px, 100%); }
#val-filter:focus-visible, #blk-filter:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.val-table td { vertical-align: middle; }
.val-table .share-cell .sub { display: block; font-size: 12px; color: var(--haze); margin-top: 3px; }
.val-name { display: inline-flex; align-items: center; gap: 9px; color: var(--parchment); text-decoration: none; }
.val-name:hover span:last-child { text-decoration: underline; }
.avatar { position: relative; overflow: hidden; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--avatar-ink); font-size: 12px; font-weight: 600; flex: none; }
.avatar .pfp { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.avatar-big { width: 76px; height: 76px; font-size: 30px; box-shadow: 0 0 0 1px var(--rim-2); }
.val-who { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.val-chips { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.val-chips:empty { display: none; }
/* small status words after a validator's name: on the chain or not, signed every day */
.vchip { display: inline-flex; align-items: center; padding: 1px 7px; border-radius: 999px; border: 1px solid; font-size: 10.5px; font-weight: 600; line-height: 1.35; white-space: nowrap; cursor: help; }
.vchip-chain { color: var(--c-pending); border-color: rgba(var(--pending-rgb), 0.45); background: rgba(var(--pending-rgb), 0.08); }
.vchip-tdh { color: var(--warn); border-color: rgba(var(--warn-rgb), 0.5); background: rgba(var(--warn-rgb), 0.08); }
.vchip-left { color: var(--bad); border-color: rgba(var(--coral-rgb), 0.5); background: rgba(var(--coral-rgb), 0.08); }
.vchip-every { color: var(--gilt-ink); border-color: rgba(var(--gilt-rgb), 0.5); background: rgba(var(--gilt-rgb), 0.1); }
/* level as on 6529.io: the number in a ring of its level's color */
.lvl { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 5px; border-radius: 999px; box-shadow: inset 0 0 0 1px currentColor; font-size: 11px; font-weight: 600; line-height: 1; cursor: help; flex: none; }
.lvl-big { min-width: 32px; height: 32px; font-size: 14px; }
.val-head { align-items: center; margin-bottom: 22px; }
.val-id { display: flex; align-items: center; gap: 18px; min-width: 0; }
.val-id > div { min-width: 0; }
/* the wallet right under the name, with a button to copy it */
.val-wallet { display: flex; align-items: center; gap: 6px; margin: -2px 0 0; font-size: 14px; color: var(--haze); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.vw-short { display: none; }
.val-copy { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 1px solid transparent; border-radius: 7px; background: none; color: var(--haze); cursor: pointer; }
.val-copy svg { width: 15px; height: 15px; }
.val-copy:hover { color: var(--parchment); border-color: var(--rim); background: var(--vault); }
.val-copy:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.vstat.big { font-size: 20px; font-weight: 600; }
@media (max-width: 560px) { .avatar-big { width: 56px; height: 56px; font-size: 22px; } .val-id { gap: 12px; } }
.chip { display: inline-block; font-size: 11px; padding: 1px 6px; border-radius: 6px; border: 1px solid var(--rim-2); color: var(--haze); vertical-align: middle; }
.chip-own { border-color: var(--gilt); color: var(--gilt-ink); }
tr.is-own td { background: rgba(var(--gilt-rgb), 0.06); }
.vstat { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--haze); white-space: nowrap; }
.vstat::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.vstat.is-ok { color: var(--ok); }
.vstat.is-wait { color: var(--warn); }
.vstat.is-bad { color: var(--bad); }
/* a machine's votes over the last day: how often, how fast */
.mstat { font-weight: 600; cursor: help; }
.mstat.is-ok { color: var(--ok); }
.mstat.is-warn { color: var(--warn); }
.mspeed { display: inline-grid; grid-template-columns: auto 54px; grid-template-rows: auto auto; align-items: center; column-gap: 8px; cursor: help; }
.mspeed b { font-weight: 600; }
.mspeed-bar { display: flex; gap: 2px; height: 6px; border-radius: 3px; overflow: hidden; }
.mspeed-bar i { min-width: 0; }
.mspeed-bar .ms-1 { background: var(--ok); } .mspeed-bar .ms-2 { background: var(--mid); } .mspeed-bar .ms-3 { background: var(--warn-mark); } .mspeed-bar .ms-4 { background: var(--bad); }
.mspeed .sub { grid-column: 1 / -1; color: var(--haze); font-size: 12px; }
.joining { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.joining a { display: inline-flex; align-items: center; gap: 8px; color: var(--parchment); text-decoration: none; }
.net-live { margin: 6px 0 26px; }
@media (max-width: 900px) { .val-dist { grid-template-columns: repeat(2, minmax(0, 1fr)); } .val-geo { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .validators .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .val-dist { grid-template-columns: 1fr; } }
.releases { list-style: none; padding: 0; margin: 0; }
.releases li { display: grid; grid-template-columns: 130px 1fr 56px; gap: 14px; align-items: center; padding: 8px 0; }
.rel-p { text-align: right; }

/* figures on the "how it works" page */
/* figure left, its caption beside it: the page uses the same width as the others */
.fig { margin: 8px 0 12px; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px 40px; align-items: center; }
.fig svg { width: 100%; height: auto; display: block; }
.fig figcaption { color: var(--haze); font-size: 15px; max-width: 64ch; margin-top: 6px; line-height: 1.6; }
.f-final { fill: var(--c-final); }
.f-pending { fill: var(--c-pending); }
.f-dot { fill: var(--rim-2); }
.f-cp { fill: var(--gilt); }
.f-line { fill: none; stroke: var(--rim-2); stroke-width: 1.5; }
.f-label { fill: var(--parchment); font: 600 14px var(--sans); text-anchor: middle; }
.f-small { fill: var(--haze); font: 400 13px var(--sans); text-anchor: middle; }
.f-gilt { fill: var(--gilt-ink); }
.f-start { text-anchor: start; }
.f-end { text-anchor: end; }
.f-in { fill: var(--night); font: 600 14px var(--sans); text-anchor: middle; }
.f-in-dark { fill: var(--night); }
.f-track { fill: var(--rim); opacity: 0.55; }
.f-votes { fill: var(--c-pending); }
.f-votes-ok { fill: var(--c-final); }
.f-threshold { stroke: var(--gilt); stroke-width: 2; stroke-dasharray: 4 3; }
.f-node { stroke-width: 3; }
.f-node-final { fill: var(--c-final); stroke: var(--c-final); }
.f-node-justified { fill: var(--night); stroke: var(--c-final); }
.f-node-waiting { fill: var(--night); stroke: var(--rim-2); }
.f-state { font: 600 14px var(--sans); text-anchor: middle; }
.f-state-final { fill: var(--c-final); }
.f-state-justified { fill: var(--parchment); }
.f-state-waiting { fill: var(--haze); }
.f-curve { fill: none; stroke: var(--c-final); stroke-width: 2.5; }
.learn h2 { margin-top: 44px; }

.glossary { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px 40px; margin: 28px 0 0; }
.glossary dt { font-weight: 650; font-size: 18px; }
.glossary dd { margin: 4px 0 0; color: var(--haze); }

/* ---------- technical details ---------- */
/* a quiet button at the foot of a page; the data open in a dialog over it */
.tech-open { display: inline-flex; align-items: center; gap: 8px; margin: 36px 12px 0 0; padding: 7px 12px; border: 1px solid var(--rim); border-radius: 9px; background: none; color: var(--haze); font: 500 14px/1.3 var(--sans); cursor: pointer; }
.tech-open svg { width: 15px; height: 15px; }
.tech-open:hover { border-color: var(--rim-2); color: var(--parchment); }
.tech-open:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
/* a page's technical details: a small </> in its head, left of its status */
.head-side { display: flex; align-items: center; gap: 10px; }
/* on a phone a lone </> moves up to the right end of the breadcrumbs, not a row of its own under the title */
@media (max-width: 640px) {
  .block-head:has(> .head-side.solo) { position: relative; }
  .head-side.solo { position: absolute; right: 0; bottom: 100%; margin-bottom: -3px; }
  .head-side.solo .tech-ico { height: 28px; }
}
.tech-ico { display: inline-grid; place-items: center; flex: none; width: 32px; height: 30px; padding: 0; border: 1px solid var(--rim); border-radius: 8px; background: none; color: var(--haze); cursor: pointer; }
.tech-ico svg { width: 16px; height: 16px; }
.tech-ico:hover { border-color: var(--rim-2); color: var(--parchment); }
.tech-ico:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.tech-dlg { width: min(880px, calc(100vw - 32px)); max-height: min(86vh, 900px); padding: 0; border: 1px solid var(--rim-2); border-radius: 14px; background: var(--night); color: var(--parchment); box-shadow: 0 24px 64px rgba(var(--shadow-rgb), calc(0.55 * var(--shadow-k))); overflow: hidden; }
.tech-dlg[open] { display: flex; flex-direction: column; }
.tech-dlg::backdrop { background: rgba(var(--scrim-rgb), calc(0.62 * var(--scrim-k))); backdrop-filter: blur(2px); }
.tech-dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--rim); }
.tech-dlg-head h2 { margin: 0; font-size: 17px; }
.tech-x { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--rim); border-radius: 9px; background: none; color: var(--haze); cursor: pointer; }
.tech-x svg { width: 15px; height: 15px; }
.tech-x:hover { border-color: var(--gilt); color: var(--parchment); }
.tech-dlg .tech-body { overflow: auto; margin: 0; border-radius: 0; background: none; padding: 16px 18px 18px; }
.tech-body h3 { font-size: 14px; font-weight: 600; margin: 4px 0 10px; }
.tech-body h3 + .json { margin-bottom: 18px; }
.json { font: 13px/1.6 var(--mono); overflow-x: auto; }
.json ul { list-style: none; margin: 0; padding-left: 18px; border-left: 1px solid var(--rim); }
.j-node { display: inline-block; vertical-align: top; }
.j-node > summary { cursor: pointer; }
.j-node > summary::marker { color: var(--rim-2); }
.j-key { color: var(--mid); }
.j-str { color: var(--parchment); }
.j-num { color: var(--gilt-ink); }
.j-bool, .j-null { color: var(--ok); }
.j-punct { color: var(--haze); }
.j-hash { font: inherit; color: var(--parchment); background: none; border: 0; padding: 0; cursor: copy; text-align: left; word-break: break-all; }
.j-hash:hover { color: var(--ink-strong); text-decoration: underline dotted; }

/* ---------- footer & toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--vault);
  border: 1px solid var(--rim-2); padding: 10px 16px; border-radius: 10px; font-size: 14px; z-index: 20;
}

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 28px; }
  .cal-body { flex: none; contain: none; }
  .cal-grid { grid-template-rows: none; }
  .cal-cell { aspect-ratio: 1; }
  .list-body { flex: none; container-type: normal; }
  .list-body .dayline:not(.dp-axis) { padding-top: 10px; padding-bottom: 10px; }
  .days-list .dayline { grid-template-columns: 76px 1fr 72px; column-gap: 10px; padding: 12px 4px; }
  .days-list .dl-date { font-size: 15px; }
  .days-head h1 { font-size: 34px; }
  .hero-dial { max-width: 440px; margin: 0 auto; width: 100%; }
  .split { grid-template-columns: 1fr; gap: 0; }
  .search { order: 3; max-width: none; flex-basis: 100%; }
}
@media (max-width: 720px) {
  .board-v { font-size: 22px; }
  .dayline { grid-template-columns: 74px 1fr 64px; column-gap: 10px; }
  .dl-tdh { gap: 8px; }
  .dl-tdh .wbar { min-width: 70px; }
  .dl-tdh-v { min-width: 0; }
  .dl-tdh .level { min-width: 0; }
  .top { gap: 14px; padding: 14px 16px; }
  main { padding: 8px 16px 48px; }
  .strip { grid-template-columns: repeat(5, 1fr); gap: 10px; }
  .cell { height: 30px; }
  .day-row { grid-template-columns: 78px 1fr 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .epoch-enter, .impact { animation: none; }
  .cell, .cell::before { transition: none; }
  .cell-now { animation: none; --slot-p: var(--slot-f, 0); --slot-pulse: 0.5; }
  .cell-pending::before { animation: none; opacity: 0.7; }
  .slot-frame { transition: none; }
  .slot-glow { display: none; }
  .landed path { animation: none; fill: var(--gilt); }
}

.glossary.api dt { font-weight: 400; }
.glossary.api dt .mono { color: var(--parchment); }
/* technical section on the How it works page: a compact list of unfoldable answers */
.learn #sec-tech + p, .learn .intro { color: var(--haze); }
.learn .tech { margin: 0; border-top: 1px solid var(--rim); padding: 10px 0; }
.learn .tech:last-of-type { border-bottom: 1px solid var(--rim); }
/* ---------- the network at a glance (top of the Network page, web/netviz.js) ---------- */
.nv { position: relative; margin: 8px 0 34px; container-type: inline-size; }
/* the title in the picture's top left corner (above it on a phone, where the art takes that corner) */
/* over the picture, centred across the whole panel, at the picture's scale (21 px on a 1132 px stage) */
.nv .nv-title { position: absolute; z-index: 1; left: 50%; top: 2.12cqi; transform: translateX(-50%); margin: 0 !important; font-size: max(13px, 1.855cqi); font-weight: 700; letter-spacing: -0.015em; white-space: nowrap; color: var(--parchment); pointer-events: none; }
.nv-stage {
  position: relative; border: 1px solid var(--rim); border-radius: 20px; overflow: hidden;
  /* gilt light behind the ring, a cooler one behind the chain */
  background:
    radial-gradient(circle at 34% 48%, rgba(var(--gilt-rgb), 0.10), rgba(var(--gilt-rgb), 0) 32%),
    radial-gradient(circle at 76% 48%, rgba(var(--pending-rgb), 0.07), rgba(var(--pending-rgb), 0) 30%),
    rgba(var(--night-rgb), 0.6);
}
.nv-stage svg { display: block; width: 100%; height: auto; font-family: var(--sans); }
/* focus: what the step is about stays lit, the rest steps back */
.nv-stage [data-part] { transition: opacity 0.6s ease; }
.nv-stage.has-focus [data-part]:not(.is-on) { opacity: 0.13; }
.nv-stage:not(.is-detail) .nv-note { display: none; }
.nv-stage.is-paused * { animation-play-state: paused !important; }
.nv-t1 { fill: var(--parchment); font-size: 17px; font-weight: 650; letter-spacing: -0.01em; }
.nv-t1.nv-big { font-size: 21px; }
.nv-t2 { fill: var(--haze); font-size: 13px; }
.nv-t2.nv-small { font-size: 11px; }
.nv-t3 { fill: var(--parchment-dim); font-size: 11.5px; }
.nv-note .nv-t3 { fill: var(--nv-t3); }
/* the art */
.nv-tile { opacity: 0.78; }
/* TDH = NFT × time: a layer behind the art for every day held, the axis going back ending in a clock */
.nv-layer { fill: none; stroke: var(--gilt); stroke-width: 1; stroke-opacity: var(--o); }
.nv-front { fill: var(--nv-front); }
.nv-axis { fill: none; stroke: var(--gilt); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.nv-clock :is(circle, path), .nv-eq-clock :is(circle, path) { fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nv-clock :is(circle, path) { stroke: var(--gilt); }
.nv-eq-clock :is(circle, path) { stroke: var(--parchment); stroke-width: 1.9; }
.nv-eq-nft { fill: var(--gilt); }
.nv-eq-tdh { fill: var(--parchment); }
.nv-eq-in { fill: var(--on-accent); font-size: 9.5px; font-weight: 750; letter-spacing: 0.03em; }
.nv-eq-op { fill: var(--haze); font-size: 19px; }
.nv-tile.is-on { animation: nv-shimmer 1.6s ease-in-out var(--d) 2; }
@keyframes nv-shimmer { 50% { opacity: 1; filter: brightness(1.45); } }
/* the daily beam */
.nv-beam { fill: none; stroke: var(--gilt); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 2 7; opacity: 0; transition: opacity 0.5s ease; }
.nv-beam.is-on { opacity: 1; animation: nv-flow 0.9s linear infinite; }
@keyframes nv-flow { to { stroke-dashoffset: -18; } }
.nv-when { fill: var(--gilt-ink); font-size: 12px; font-weight: 650; opacity: 0; transition: opacity 0.5s ease; }
.nv-when.is-on { opacity: 1; }
.nv-when-sub { fill: var(--parchment-dim); font-size: 11px; font-weight: 500; }
/* while the day's TDH runs, the block maker's label would only crowd the ring */
.nv-stage.is-day .nv-maker { visibility: hidden; }
/* the ring and its epoch */
.nv-guide { fill: none; stroke: rgba(var(--rim2-rgb), 0.55); stroke-width: 1; stroke-dasharray: 1.5 5; transform-box: fill-box; transform-origin: center; animation: nv-spin 160s linear infinite; }
@keyframes nv-spin { to { transform: rotate(360deg); } }
.nv-node { fill: var(--parchment); fill-opacity: 0.82; transition: fill 0.2s ease; cursor: default; }
.nv-node:hover { fill: var(--gilt); fill-opacity: 1; }
/* the draw: the hand from the middle to this slot's block maker, and its label */
.nv-hand-track { fill: none; stroke: rgba(var(--gilt-rgb), 0.18); stroke-width: 1; }
.nv-hand line { stroke: var(--gilt); stroke-width: 1.6; stroke-linecap: round; }
.nv-hand-tip { fill: var(--gilt); }
.nv-hand-base { fill: var(--night); stroke: var(--gilt); stroke-width: 1.2; }
.nv-maker { fill: var(--gilt-ink); font-size: 12px; font-weight: 650; pointer-events: none; }
.nv-maker.is-off { fill: var(--haze); }
.nv-tops { opacity: 0; transition: opacity 0.6s ease; pointer-events: none; }
.nv-stage[data-step="0"] .nv-tops { opacity: 1; }
.nv-top { fill: var(--gilt-ink); font-size: 12.5px; font-weight: 650; }
.nv-ep { fill: none; stroke: rgba(var(--rim2-rgb), 0.4); stroke-width: 4; stroke-linecap: round; transition: stroke 0.35s ease; }
.nv-ep.is-block { stroke: rgba(var(--pending-rgb), 0.75); }
.nv-ep.is-empty { stroke: rgba(var(--rim2-rgb), 0.22); }
.nv-ep.is-now { stroke: var(--gilt); }
.nv-center { transition: opacity 0.5s ease; }
/* the certificate takes the middle only where it is shown: everything at once, or the daily step */
.nv-stage.is-day:not(.has-focus) .nv-center, .nv-stage.is-day[data-step="4"] .nv-center { opacity: 0; }
/* the certificate */
.nv-seal { opacity: 0; transition: opacity 0.6s ease; pointer-events: none; }
.nv-stage.is-day .nv-seal { opacity: 1; }
.nv-stage.has-focus .nv-seal:not(.is-on) { opacity: 0; }
.nv-seal-bg { fill: rgba(var(--night-rgb), 0.85); stroke: rgba(var(--rim2-rgb), 0.6); stroke-width: 1; }
.nv-seal-arc { fill: none; stroke: var(--parchment); stroke-width: 3.2; stroke-linecap: round; transition: stroke 0.4s ease; }
.nv-seal.is-strong .nv-seal-arc { stroke: var(--gilt); }
.nv-seal-tick { stroke: var(--gilt); stroke-width: 1.6; }
.nv-seal.is-strong .nv-big { fill: var(--gilt); }
/* moving things */
.nv-pulse { fill: none; stroke-width: 1.6; pointer-events: none; }
.nv-pulse.is-make { stroke: var(--gilt); stroke-width: 2; }
.nv-pulse.is-miss { stroke: var(--haze); stroke-dasharray: 2 3; }
.nv-pulse.is-sign { stroke: var(--parchment); }
.nv-pulse.is-sig { stroke: var(--nv-sig); stroke-width: 1.4; }
.nv-pulse.is-award { stroke: var(--gilt); }
/* a block on its way and just landed: an outline; it fills once the slot's votes reach it */
.nv-fly { fill: rgba(var(--pending-rgb), 0.16); stroke: var(--c-pending); stroke-width: 1.5; }
.nv-blk.is-fresh rect { fill: rgba(var(--pending-rgb), 0.16); stroke: var(--c-pending); stroke-width: 1.5; }
.nv-vote { fill: var(--nv-vote); }
.nv-award { fill: var(--nv-award); }
.nv-award.is-big { fill: var(--gilt); }
/* the chain */
.nv-track { stroke: rgba(var(--rim2-rgb), 0.55); stroke-width: 1; }
.nv-blk rect { fill: var(--c-pending); stroke: transparent; stroke-width: 2; transition: fill 0.7s ease, stroke 0.4s ease; }
.nv-blk.is-just rect { stroke: var(--gilt); }
.nv-blk.is-final rect { fill: var(--c-final); }
.nv-blk.is-final.is-just rect { stroke: rgba(var(--gilt-rgb), 0.5); }
.nv-notch { fill: var(--gilt); }
.nv-dot { fill: var(--rim-2); }
.nv-meter-bg { fill: rgba(var(--rim2-rgb), 0.4); }
.nv-meter-fill { fill: var(--nv-vote); transition: fill 0.4s ease; }
.nv-meter.is-just .nv-meter-fill { fill: var(--gilt); }
.nv-meter.is-final { opacity: 0.45; }
.nv-meter-tick { stroke: var(--gilt); stroke-width: 1.6; }
/* once passed, the mark stays only as a quiet notch in the gilt bar */
.nv-meter.is-just .nv-meter-tick { stroke: rgba(var(--night-rgb), 0.55); }
.nv-pop { fill: var(--gilt); font-size: 11.5px; font-weight: 650; text-anchor: middle; animation: nv-pop 2.4s ease forwards; }
@keyframes nv-pop { 0% { opacity: 0; transform: translateY(6px); } 15%, 70% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px); } }
.nv-lg-made { fill: var(--c-pending); }
.nv-lg-just { fill: var(--c-pending); stroke: var(--gilt); stroke-width: 1.6; }
.nv-lg-final { fill: var(--c-final); }
.nv-lg-empty { fill: var(--rim-2); }
/* the awards */
.nv-path { fill: none; stroke: rgba(var(--gilt-rgb), 0.32); stroke-width: 1.2; stroke-dasharray: 2 5; }
.nv-mint circle { fill: rgba(var(--gilt-rgb), 0.1); stroke: rgba(var(--gilt-rgb), 0.7); stroke-width: 1.4; transition: fill 0.4s ease; }
.nv-mint.is-on circle { fill: rgba(var(--gilt-rgb), 0.32); }
/* under the picture: the steps, how much to show, pause; what the step says */
.nv-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-top: 14px; }
.nv-steps { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nv-steps button {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px 7px 8px;
  border: 1px solid var(--rim); border-radius: 999px; background: none; color: var(--haze); font: inherit; font-size: 14px; cursor: pointer;
}
.nv-steps .nv-all button { padding-left: 13px; }
.nv-steps button:hover { color: var(--parchment); border-color: var(--rim-2); }
.nv-steps button[aria-current="step"] { color: var(--parchment); border-color: rgba(var(--gilt-rgb), 0.6); background: rgba(var(--gilt-rgb), 0.07); }
.nv-n { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--vault); color: var(--haze); font-size: 12px; font-weight: 650; }
[aria-current="step"] .nv-n { background: var(--gilt-fill); color: var(--on-accent); }
/* how far the tour is through this step */
.nv-prog { position: absolute; left: 0; bottom: 0; height: 2px; width: calc(var(--p, 0) * 100%); background: var(--gilt); }
.nv-ctrl { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.nv-play { font: inherit; font-size: 13px; color: var(--haze); background: none; border: 1px solid var(--rim); border-radius: 8px; padding: 4px 11px; cursor: pointer; }
.nv-play:hover { color: var(--parchment); }
.nv-tour { font-size: 14px; }
.nv-cap { max-width: 78ch; min-height: 3.2em; margin: 14px 0 6px; font-size: 16px; line-height: 1.6; color: var(--parchment); }
.nv-fine { margin: 0; color: var(--haze); font-size: 12.5px; }
@media (max-width: 640px) {
  .nv .nv-title { position: static; transform: none; margin: 0 0 10px !important; font-size: 20px; }
  .nv-stage { border-radius: 16px; }
  .nv-steps button { font-size: 13px; padding: 5px 11px 6px 6px; }
  .nv-n { width: 18px; height: 18px; font-size: 11px; }
  .nv-cap { font-size: 15px; min-height: 4.8em; }
}
@media (prefers-reduced-motion: reduce) {
  .nv-guide, .nv-beam.is-on, .nv-tile.is-on { animation: none; }
}
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }
.toc button { font: inherit; font-size: 14px; color: var(--haze); background: none; border: 1px solid var(--rim); border-radius: 999px; padding: 5px 14px; cursor: pointer; }
.toc button:hover { color: var(--parchment); border-color: var(--haze); }
.learn [id^="sec-"] { scroll-margin-top: 24px; }
.learn h3 { font-size: 17px; margin: 30px 0 12px; color: var(--parchment); }

/* ---------- orloj ---------- */
.orloj-stage { position: relative; margin: 18px 0 10px; border: 1px solid var(--rim); border-radius: 14px; overflow: hidden; background: #070d17; }
.orloj-stage iframe { position: relative; display: block; width: 100%; height: min(80vh, 860px); border: 0; }
/* over the artwork until its page has loaded (it paints its own dark wall first, before its scripts run) */
.orloj-stage::before { content: attr(data-loading); position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; color: var(--haze); font-size: 15px; pointer-events: none; animation: orloj-wait 1.6s ease-in-out infinite alternate; }
.orloj-stage.loaded::before { animation: none; opacity: 0; transition: opacity .3s; }
@keyframes orloj-wait { from { opacity: .35; } to { opacity: .9; } }
@media (prefers-reduced-motion: reduce) { .orloj-stage::before { animation: none; } }
.orloj-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 8px; }
.orloj-actions button, .orloj-actions a { font: inherit; font-size: 14px; color: var(--gilt-ink); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none; }
.orloj-actions button:hover, .orloj-actions a:hover { text-decoration: underline; }
.orloj-info { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.orloj-tldr { display: block; width: 100%; aspect-ratio: 16 / 9; margin: 0 0 30px; border: 1px solid var(--rim); border-radius: 12px; background: #070d17; }
.orloj-about p { line-height: 1.6; color: var(--haze); }
.orloj-about strong { color: var(--parchment); }
.warn-num { color: var(--warn); }
.big-num { font-size: 26px; font-weight: 650; color: var(--parchment); letter-spacing: -0.01em; }
.cta { display: inline-block; margin-top: 6px; padding: 9px 16px; border-radius: 10px; background: var(--gilt-fill); color: var(--on-accent); font-weight: 600; text-decoration: none; }
.cta:hover { filter: brightness(1.08); }
@media (max-width: 900px) { .orloj-info { grid-template-columns: 1fr; gap: 0; } }

/* test chain badge under the name, on every page */
.testnet { border-color: rgba(var(--warn-rgb), 0.55); background: rgba(var(--warn-rgb), 0.12); color: var(--warn); cursor: help; }

/* footer: the way out to 6529.io */
.foot { max-width: calc(var(--wrap) - 48px); margin: 0 auto; padding: 22px 0 40px; border-top: 1px solid var(--rim); display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; text-align: center; }
.foot-link { color: var(--gilt-ink); text-decoration: none; font-size: 15px; }
.foot-link:hover { text-decoration: underline; }
.foot-note { margin: 2px 0 0; flex-basis: 100%; color: var(--haze); font-size: 13px; }
/* network page: closing invitation to run a validator. Hairlines and the logo's ring, no card. */
.join {
  display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; align-items: center; gap: 20px 32px;
  margin: 64px 0 24px; padding: 30px 0; border-top: 1px solid var(--rim); border-bottom: 1px solid var(--rim);
}
.join-mark { width: 88px; height: 88px; display: block; }
.join h2 { margin: 0 0 6px !important; font-size: 22px; }
.join p { margin: 0; color: var(--haze); line-height: 1.6; }
.join .cta { margin: 0; white-space: nowrap; }
@media (max-width: 720px) {
  .join { grid-template-columns: 56px minmax(0, 1fr); }
  .join-mark { width: 56px; height: 56px; }
  .join .cta { grid-column: 1 / -1; justify-self: start; }
}
.glossary.status-help { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
@media (max-width: 900px) { .fig { grid-template-columns: 1fr; } }

/* block list: a height we never saw sits in its place, an inferred one carries a small tag */
.block-row.is-missing .b-height { color: var(--haze); }
.b-tag { margin-left: 6px; padding: 1px 7px; border-radius: 999px; border: 1px solid var(--rim); color: var(--haze); font-size: 11px; font-weight: 500; vertical-align: 2px; }

/* the magnifier and the way back from the search: phones only */
.search-open, .search-cancel { display: none; }

/* ---------- phones ---------- */
@media (max-width: 720px) {
  /* header: a thin strip on top as on a computer (the two badges | the fee and the language); under it
     the name, a magnifier and who is signed in. The search hides behind the magnifier and, open, takes
     the whole row with a way back. No menu: every place is in the bar at the bottom */
  .top { gap: 10px 12px; padding: 0 16px 10px; }
  .top-info { order: -1; padding: 7px 0; margin-bottom: 2px; border-image: linear-gradient(rgba(var(--pending-rgb), 0.065), rgba(var(--pending-rgb), 0.065)) fill 0 / 0 / 0 100vmax; }
  .top-info-r { gap: 6px; }
  .top-info .fee-stat { gap: 5px; padding: 2px 8px; border-radius: 6px; font-size: 11.5px; line-height: 1.4; }
  .top-info .fee-stat svg { width: 12px; height: 12px; }
  .brand-block { display: flex; align-items: center; order: 1; flex: 1 1 auto; min-width: 0; }
  .search-open { order: 2; display: grid; place-items: center; flex: none; width: 34px; height: 34px; padding: 0; border: 1px solid var(--rim); border-radius: 50%; background: none; color: var(--haze); cursor: pointer; }
  .search-open:hover { border-color: var(--rim-2); color: var(--parchment); }
  .search-open svg { width: 16px; height: 16px; }
  .search-cancel { order: 3; flex: none; height: 36px; padding: 0 4px; border: 0; background: none; color: var(--haze); font: inherit; font-size: 15px; cursor: pointer; }
  .search-cancel:hover { color: var(--parchment); }
  .top.is-searching .brand-block, .top.is-searching .search-open, .top.is-searching .acct { display: none; }
  .top.is-searching .search { display: block; }
  .top.is-searching .search-cancel { display: block; }
  .my-chip { display: none !important; }
  .acct-me { position: relative; }
  #acct[data-live] .acct-me::after { content: ""; position: absolute; left: 23px; top: 23px; width: 9px; height: 9px; border-radius: 50%; background: var(--haze); box-shadow: 0 0 0 2px var(--night); }
  #acct[data-live="is-ok"] .acct-me::after { background: var(--ok); }
  #acct[data-live="is-bad"] .acct-me::after { background: var(--bad); }
  .brand-badges { flex: 1 1 auto; min-width: 0; flex-wrap: nowrap; }
  .nav { display: none; }
  .top-end { order: 1; flex: none; }
  .search { order: 2; display: none; flex: 1 1 0; min-width: 0; max-width: none; margin-left: 0; }
  .fee-stat .fee-l { display: none; }
  /* the bar at the bottom: one floating pill with the main places under the thumb. Scrolling down
     it shrinks to icons only, scrolling up (or at the top / end of a page) it grows back */
  .tabbar {
    --ease: cubic-bezier(0.32, 0.72, 0, 1); --dur: 0.42s;
    display: flex; position: fixed; z-index: 30; left: 0; right: 0; bottom: calc(12px + env(safe-area-inset-bottom));
    width: min(calc(100% - 24px), 420px); margin: 0 auto; padding: 5px; border-radius: 999px;
    background: rgba(var(--vault-rgb), 0.8); border: 1px solid rgba(var(--rim2-rgb), 0.75);
    box-shadow: 0 12px 32px rgba(var(--shadow-rgb), calc(0.5 * var(--shadow-k))), inset 0 1px 0 rgba(var(--ink-rgb), 0.07);
    -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
    transition: width var(--dur) var(--ease), padding var(--dur) var(--ease), bottom var(--dur) var(--ease);
  }
  .tabbar a {
    flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    padding: 7px 2px 6px; border-radius: 999px; color: var(--haze); text-decoration: none; -webkit-tap-highlight-color: transparent;
    transition: padding var(--dur) var(--ease), gap var(--dur) var(--ease), color 0.2s ease, background-color 0.2s ease;
  }
  .tabbar a span {
    max-width: 100%; max-height: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; line-height: 13px;
    transition: max-height var(--dur) var(--ease), opacity 0.22s ease, transform var(--dur) var(--ease);
  }
  .tabbar svg { width: 22px; height: 22px; flex: none; transition: width var(--dur) var(--ease), height var(--dur) var(--ease), color 0.2s ease; }
  .tabbar a:active { background: rgba(var(--pending-rgb), 0.08); }
  .tabbar a[aria-current] { color: var(--parchment); background: rgba(var(--pending-rgb), 0.13); }
  .tabbar a[aria-current] svg { color: var(--gilt-ink); }
  /* the Orloj, the author's own work: its dashed gilt frame here too */
  .tabbar a[data-page="orloj"] { outline: 1px dashed rgba(var(--gilt-rgb), 0.55); outline-offset: -3px; }
  /* shrunk: a short pill of icons; the labels fold away. Keyboard focus inside keeps it full */
  .tabbar.is-compact:not(:has(:focus-visible)) { width: min(calc(100% - 24px), 264px); padding: 4px; bottom: calc(10px + env(safe-area-inset-bottom)); }
  .tabbar.is-compact:not(:has(:focus-visible)) a { padding: 7px 2px; gap: 0; }
  .tabbar.is-compact:not(:has(:focus-visible)) a span { max-height: 0; opacity: 0; transform: translateY(4px) scale(0.9); }
  .tabbar.is-compact:not(:has(:focus-visible)) svg { width: 20px; height: 20px; }
  @media (prefers-reduced-motion: reduce) { .tabbar, .tabbar a, .tabbar a span, .tabbar svg { transition: none; } }
  /* six places on a narrow phone: the labels a little smaller, so "Validators" fits */
  @media (max-width: 380px) { .tabbar a span { font-size: 10px; letter-spacing: -0.01em; } }
  body { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(86px + env(safe-area-inset-bottom)); }
  .search-pop { width: 100%; }
  .search input { padding: 9px 12px; }
}
@media (max-width: 640px) {
  /* facts and the overview summary in two columns: half the scrolling */
  .facts, .board { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
  .fact dd { font-size: 16px; overflow-wrap: anywhere; }
  .board-v { font-size: 22px; }
  .big-num { font-size: 24px; }
  h1 { font-size: 30px; }
  .page-head .cta-out { padding: 8px 14px; font-size: 14px; }
  .share-btn { width: 37px; }
  .head-acts { gap: 8px; }
  /* the button shrinks to its short label and stays beside the title */
  .page-head.has-short { flex-wrap: nowrap; }
  .page-head.has-short .page-title { min-width: 0; }
  .page-head.has-short .cta-out { flex: none; gap: 6px; padding: 6px 10px 6px 12px; font-size: 13px; border-radius: 9px; }
  .page-head.has-short .share-btn { width: 32px; border-radius: 9px; }
  .page-head.has-short .share-btn svg { width: 16px; height: 16px; }
  .page-head.has-short .cta-long { display: none; }
  .page-head.has-short .cta-short { display: inline; }
  .page-head.has-short .cta-arrow { width: 16px; height: 16px; font-size: 10px; }
  /* tooltips as a bar at the bottom of the screen, above the tab bar */
  .tip.is-bar { left: 12px; right: 12px; top: auto; bottom: calc(86px + env(safe-area-inset-bottom)); width: auto; max-width: none; font-size: 14px; }
  /* explainer figures switch to their narrow layout (app.js), drawn at about real size */
  .fig { display: block; }
  .fig svg { width: 100%; max-width: 440px; }
  /* transfers: one line each */
  .transfer-row { grid-template-columns: auto 1fr auto; column-gap: 10px; }
  .transfer-row > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  /* validators list as cards: who and today on top, weight and 30 days under it */
  .val-table thead { display: none; }
  .val-table, .val-table tbody { display: block; }
  .val-table tr {
    display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; grid-template-areas: "n who today" ". share s30" ". earn earn";
    align-items: center; column-gap: 10px; row-gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--rim);
  }
  .val-table td { display: block; width: auto; padding: 0; border: 0; }
  .val-table td:nth-child(1) { grid-area: n; align-self: start; line-height: 28px; font-size: 13px; }
  .val-table td:nth-child(2) { grid-area: who; min-width: 0; }
  .val-table td:nth-child(3) { grid-area: share; display: flex; align-items: center; gap: 10px; padding-left: 37px; }
  .val-table td:nth-child(3) .minitrack { flex: none; width: 88px; }
  .val-table td:nth-child(3) .sub { margin: 0; font-size: 13px; }
  .val-table td:nth-child(4), .val-table td:nth-child(6) { display: none; }
  .val-table td:nth-child(5) { grid-area: earn; padding-left: 37px; font-size: 13px; color: var(--haze); text-align: left; }
  .val-table td:nth-child(7) { grid-area: s30; font-size: 13px; color: var(--haze); white-space: nowrap; }
  .val-table td:nth-child(8) { grid-area: today; align-self: start; line-height: 28px; }
  .val-m-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; width: 100%; order: 1; }
  .val-title .val-show { display: none; }
  .val-tools #val-filter { order: 2; }
  .val-who { row-gap: 6px; }
  .val-who .val-name { min-width: 0; }
  .val-who .val-name > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  /* the chips as small round icons after the level (a link: on the chain, orange: only the TDH, broken: left it;
     a tick: signed every day), so they take no line of their own; the words stay in the tooltip and for readers */
  .val-chips { gap: 5px; }
  .val-chips .vchip { width: 22px; height: 22px; padding: 0; justify-content: center; font-size: 0; }
  .val-chips .vchip::before { content: ""; width: 13px; height: 13px; background: currentColor; -webkit-mask: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M6.8 9.2a2.6 2.6 0 0 0 3.7 0l2-2a2.6 2.6 0 0 0-3.7-3.7l-.7.7'/%3E%3Cpath d='M9.2 6.8a2.6 2.6 0 0 0-3.7 0l-2 2a2.6 2.6 0 0 0 3.7 3.7l.7-.7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M6.8 9.2a2.6 2.6 0 0 0 3.7 0l2-2a2.6 2.6 0 0 0-3.7-3.7l-.7.7'/%3E%3Cpath d='M9.2 6.8a2.6 2.6 0 0 0-3.7 0l-2 2a2.6 2.6 0 0 0 3.7 3.7l.7-.7'/%3E%3C/svg%3E") center / contain no-repeat; }
  .val-chips .vchip-left::before { -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M9.6 4.1l.4-.4a2.6 2.6 0 0 1 3.7 3.7l-1.6 1.6'/%3E%3Cpath d='M6.4 11.9l-.4.4a2.6 2.6 0 0 1-3.7-3.7l1.6-1.6'/%3E%3Cpath d='M6 2.5v1.6M2.5 6h1.6M10 13.5v-1.6M13.5 10h-1.6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M9.6 4.1l.4-.4a2.6 2.6 0 0 1 3.7 3.7l-1.6 1.6'/%3E%3Cpath d='M6.4 11.9l-.4.4a2.6 2.6 0 0 1-3.7-3.7l1.6-1.6'/%3E%3Cpath d='M6 2.5v1.6M2.5 6h1.6M10 13.5v-1.6M13.5 10h-1.6'/%3E%3C/svg%3E"); }
  .val-chips .vchip-every::before { -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E"); }
  #val-filter, #blk-filter { width: 100%; }
  .blk-tools { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 12px; }
  .blk-tools #blk-filter { grid-column: 1 / -1; grid-row: 2; }
  .blk-tools #blk-count { grid-column: 1 / -1; grid-row: 3; margin-left: 0; }
  .blk-sort-m { display: inline-flex; }
  .blk-sel select { flex: 1 1 auto; min-width: 0; }
  .m-only { display: inline; }
  /* the running epoch's caption stays on one line */
  .epoch-cap { width: 100%; gap: 10px; font-size: 13px; }
  .epoch-cap h2 { font-size: 19px; white-space: nowrap; }
  .epoch-cap > span { white-space: nowrap; }
  .epoch-now .epoch-big { width: 100%; --g: 5px; }
  /* a validator's machines as labelled cards, two columns of facts each */
  .val-machines thead, .val-awards thead { display: none; }
  .val-machines, .val-machines tbody, .val-awards, .val-awards tbody { display: block; }
  .val-machines tr, .val-awards tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; padding: 14px 0; border-bottom: 1px solid var(--rim); }
  .val-machines td, .val-awards td { display: block; padding: 0; border: 0; text-align: left !important; font-size: 15px; }
  .val-machines td:first-child, .val-awards td:first-child { grid-column: 1 / -1; font-weight: 650; color: var(--parchment); }
  .val-machines td:first-child::before { content: "#"; }
  .val-machines td[data-label]::before, .val-awards td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; color: var(--haze); margin-bottom: 2px; }
  /* agreement bar marks sit beside their line, so the two never collide */
}

/* ---------- a validator's awards: summary, the parts, by day, by key ---------- */
.aw-b { background: var(--series-gold); }      /* for blocks (checked for colour blindness with the votes' blue) */
.aw-v { background: var(--series-blue); }      /* for votes */
.aw-rel { background: var(--parchment); }
.aw-ves { background: var(--rim-2); }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; flex: none; }
.aw-band { margin: 18px 0 6px; padding: 20px 22px 18px; border: 1px solid var(--rim); border-radius: 14px; background: rgba(var(--vault-rgb), 0.45); }
.aw-top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 18px 28px; align-items: start; }
.aw-stat { display: flex; flex-direction: column; min-width: 0; }
.aw-label { color: var(--haze); font-size: 13px; display: flex; align-items: center; gap: 4px; }
.aw-stat strong { font-size: 26px; font-weight: 650; letter-spacing: -0.01em; line-height: 1.25; margin-top: 2px; }
.aw-main .aw-big { font-size: 38px; letter-spacing: -0.02em; }
.aw-main .aw-cur { font-size: 15px; font-weight: 500; color: var(--haze); letter-spacing: 0; }
.aw-splits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; margin-top: 22px; }
.aw-split-legend { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.aw-side { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.aw-side.r { align-items: flex-end; text-align: right; }
.aw-side-l { display: inline-flex; align-items: center; gap: 6px; color: var(--haze); font-size: 13px; }
.aw-side-v { font-size: 15px; white-space: nowrap; }
.aw-side-v b { font-weight: 600; }
.aw-bar { display: flex; gap: 2px; height: 10px; border-radius: 5px; overflow: hidden; background: var(--c-nodata); }
.aw-bar > span { display: block; height: 100%; min-width: 0; }
.aw-extra { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin: 18px 0 0; font-size: 14px; color: var(--haze); }
.aw-extra b { color: var(--parchment); font-weight: 600; }
.aw-vest { margin: 6px 0 0; }
.aw-chart-head { display: flex; align-items: baseline; gap: 8px 24px; flex-wrap: wrap; margin: 30px 0 10px; }
.aw-chart-head h3 { margin: 0; font-size: 16px; }
.aw-legend { display: flex; gap: 16px; font-size: 13px; color: var(--haze); }
.aw-legend span { display: inline-flex; align-items: center; gap: 6px; }
.aw-chart { position: relative; height: 170px; padding-top: 20px; margin-bottom: 30px; border-bottom: 1px solid var(--rim-2); }
.aw-chart::before { content: ""; position: absolute; left: 0; right: 0; top: 20px; border-top: 1px dashed var(--rim); }
.aw-ymax { position: absolute; top: 0; left: 0; font-size: 12px; color: var(--haze); }
.aw-cols { position: relative; display: flex; align-items: flex-end; gap: 6px; height: 100%; }
.aw-chart.is-dense .aw-cols { gap: 2px; }
.aw-col { position: relative; flex: 1 1 0; max-width: 44px; min-width: 3px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.aw-stack { display: flex; flex-direction: column; gap: 2px; min-height: 0; border-radius: 4px 4px 0 0; overflow: hidden; transition: filter 0.15s; }
.aw-stack > span { flex-basis: 0; min-height: 0; }
.aw-col:hover .aw-stack, .aw-col:focus-visible .aw-stack, .aw-col.is-on .aw-stack { filter: brightness(1.25); }
.aw-col:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.aw-x { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--haze); white-space: nowrap; }
.aw-col:first-child .aw-x { left: 0; transform: none; }
.aw-col:last-child:not(:first-child) .aw-x { left: auto; right: 0; transform: none; }
.aw-col[data-tip]:hover::after, .aw-col[data-tip]:focus-visible::after {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 0; z-index: 40; width: max-content; max-width: 260px;
  white-space: pre; text-align: left; background: var(--vault); border: 1px solid var(--rim-2); color: var(--parchment);
  padding: 9px 12px; border-radius: 10px; font: 400 13px/1.5 var(--sans); box-shadow: 0 8px 24px rgba(var(--shadow-rgb), calc(0.35 * var(--shadow-k)));
}
.aw-col.tip-r[data-tip]:hover::after, .aw-col.tip-r[data-tip]:focus-visible::after { left: auto; right: 0; }
.aw-days .aw-date { white-space: nowrap; }
.aw-days .muted { font-size: 13px; }
.aw-row.is-open td { border-bottom-color: transparent; }
.aw-tg { width: 40px; }
.aw-toggle { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--rim); border-radius: 8px; background: none; color: var(--haze); cursor: pointer; }
.aw-toggle svg { width: 14px; height: 14px; transition: transform 0.15s; }
.aw-toggle:hover { color: var(--gilt-ink); border-color: var(--rim-2); }
.aw-toggle[aria-expanded="true"] { color: var(--gilt-ink); }
.aw-toggle[aria-expanded="true"] svg { transform: rotate(90deg); }
.aw-detail > td { background: rgba(var(--vault-rgb), 0.45); padding: 14px 16px 16px; }
.aw-mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px 18px; margin: 0 0 12px; }
.aw-mini dt { color: var(--haze); font-size: 12px; }
.aw-mini dd { margin: 1px 0 0; font-size: 15px; }
.aw-keys { font-size: 14px; }
.aw-keys th, .aw-keys td { padding: 7px 10px; }
.aw-keys tr:last-child td { border-bottom: 0; }
.aw-settle { margin: 10px 0 0; }
.aw-m-only { display: none; }
.aw-more { display: inline-block; margin: 12px 0 0; padding: 6px 0; background: none; border: 0; color: var(--gilt-ink); font: inherit; font-size: 14px; cursor: pointer; }
.aw-more:hover { text-decoration: underline; }
/* a month: one row with its sums, opening into its days */
.aw-month { cursor: pointer; }
.aw-month td { background: rgba(var(--vault-rgb), 0.45); }
.aw-month:hover td { background: rgba(var(--rim-rgb), 0.5); }
.aw-mtoggle { display: inline-flex; align-items: center; gap: 14px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.aw-mtoggle:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.aw-mtoggle .aw-toggle { flex: none; }
.aw-mtoggle[aria-expanded="true"] .aw-toggle { color: var(--gilt-ink); }
.aw-mtoggle[aria-expanded="true"] .aw-toggle svg { transform: rotate(90deg); }
.aw-month:hover .aw-toggle { color: var(--gilt-ink); border-color: var(--rim-2); }
.aw-mname b { display: block; font-weight: 650; font-size: 16px; }
.aw-mname .sub { display: block; font-weight: 400; }
.aw-days tr.aw-in td.aw-date { padding-left: 60px; }
@media (prefers-reduced-motion: reduce) { .aw-stack, .aw-toggle svg { transition: none; } }
@media (max-width: 900px) {
  .aw-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .aw-main { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .aw-band { padding: 16px; }
  .aw-top { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 12px; }
  .aw-stat strong { font-size: 19px; }
  .aw-stat .sub { font-size: 12px; }
  .aw-main .aw-big { font-size: 32px; }
  .aw-splits { grid-template-columns: 1fr; gap: 18px; }
  .aw-chart { height: 130px; }
  .aw-cols { gap: 3px; }
  /* a day reads as a card: date and total on top, the rest labelled below; the keys too */
  .aw-days thead, .aw-keys thead { display: none; }
  .aw-days, .aw-days tbody, .aw-keys, .aw-keys tbody { display: block; }
  .aw-days tr.aw-row, .aw-days tr.aw-month { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 12px; padding: 12px 0; border-bottom: 1px solid var(--rim); }
  .aw-days td.aw-m-hide { display: none !important; }
  .aw-days td.aw-tot { order: 1; } .aw-days td.aw-share { order: 3; }
  .aw-days tr.aw-row td:nth-child(2), .aw-days tr.aw-month td:nth-child(2) { order: 2; }
  .aw-m-only { display: block; }
  .aw-days tr.aw-row[hidden], .aw-days tr.aw-detail[hidden] { display: none; }
  .aw-days tr.aw-row td, .aw-days tr.aw-month td { display: block; padding: 0; border: 0; text-align: left; font-size: 15px; background: none; }
  .aw-days tr.aw-row td.aw-date, .aw-days tr.aw-month td.aw-date { grid-column: 1 / -1; font-weight: 650; padding-right: 44px; }
  .aw-days tr.aw-month { padding: 12px; margin-bottom: 2px; border-radius: 10px; border-bottom: 0; background: rgba(var(--vault-rgb), 0.45); }
  .aw-days tr.aw-month td.aw-tg { display: none; }
  .aw-days tr.aw-month td:nth-child(2) .sub { display: none; } /* "best" is in its label */
  .aw-days tr.aw-in td.aw-date { padding-left: 0; }
  .aw-days tr.aw-in { padding-left: 14px; border-left: 2px solid var(--rim-2); }
  .aw-days tr.aw-row td.aw-tg { position: absolute; top: 8px; right: 0; width: auto; }
  .aw-days tr.aw-row td[data-label]::before, .aw-days tr.aw-month td[data-label]::before, .aw-keys td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; color: var(--haze); margin-bottom: 1px; }
  .aw-days tr.aw-detail { display: block; }
  .aw-days tr.aw-detail > td { display: block; border: 0; border-radius: 10px; margin: 0 0 10px; padding: 12px; }
  .aw-keys tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; padding: 10px 0; border-bottom: 1px solid var(--rim); }
  .aw-keys tr:last-child { border-bottom: 0; }
  .aw-keys td { display: block; padding: 0; border: 0; text-align: left !important; }
  .aw-keys td:first-child { grid-column: 1 / -1; }
}

/* ---------- the token page ---------- */
.tk-lede { max-width: 70ch; }
.tk-sym { color: var(--parchment); font-weight: 700; }
.tk-sec { margin-top: 34px; }
.tk-sec > h2, .tk-sec .aw-chart-head h2 { margin: 0; font-size: 21px; }
.tk-sec .aw-chart-head { margin: 0 0 12px; }
.tk-note { margin: 4px 0 12px; max-width: 80ch; }
.tk-source { margin-top: 30px; }
/* supply: released below, still vesting on top */
.sp-chart { position: relative; height: 200px; padding-top: 20px; margin-bottom: 30px; border-bottom: 1px solid var(--rim-2); }
.sp-chart svg { position: absolute; left: 0; right: 0; bottom: 0; top: 20px; width: 100%; height: calc(100% - 20px); }
.sp-rel { fill: var(--parchment); opacity: 0.85; }
.sp-ves { fill: var(--rim-2); }
.sp-line { fill: none; stroke: var(--parchment); stroke-width: 1.5; opacity: 0.6; }
.sp-cols { position: absolute; left: 0; right: 0; top: 20px; bottom: 0; display: flex; }
.sp-col { flex: 1 1 0; max-width: none; min-width: 0; height: 100%; }
.sp-col:hover { background: rgba(var(--ink-rgb), 0.06); }
.sp-col:first-child .aw-x { left: 0; transform: none; }
.sp-col:last-child .aw-x { left: auto; right: 0; transform: none; }
/* who got it: the top ten, the rest, and the Lorenz curve */
/* panels: the two time charts side by side, how concentrated beside the ladder */
.tk-panel { border: 1px solid var(--rim); border-radius: 14px; padding: 18px 20px 14px; background: rgba(var(--vault-rgb), 0.35); min-width: 0; }
.tk-panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; margin-bottom: 14px; }
.tk-panel-head h2 { margin: 0; font-size: 18px; }
.tk-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.tk-pair .aw-chart, .tk-pair .sp-chart { height: 190px; margin-bottom: 26px; }
.aw-chart.is-fill .aw-cols { justify-content: center; }
.tk-dist { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px 32px; align-items: stretch; }
.tk-dist-l > h2 { margin: 0 0 14px; font-size: 21px; line-height: 1; }
/* beside the list, the panel takes the list's height and never sets it (its curve takes what is left) */
@media (min-width: 901px) { .tk-dist .tk-conc { contain: size; margin-top: 3px; /* the heading's capitals start 3 px below its box */ } .tk-dist .lz-box { min-height: 90px; grid-template-rows: auto minmax(60px, 1fr) auto; } }
.tk-dist-l .tk-top { margin-bottom: 0; }
/* the panel as tall as the list beside it: the Lorenz curve takes the room that is left */
.tk-conc { display: flex; flex-direction: column; }
.tk-lz-h { display: flex; align-items: center; gap: 4px; margin: 16px 0 8px; padding-top: 14px; border-top: 1px solid var(--rim-2); font-size: 13px; font-weight: 500; color: var(--haze); }
.lz-box { flex: 1; display: grid; grid-template-rows: auto minmax(120px, 1fr) auto; min-height: 150px; }
.lz-plot { position: relative; border-left: 1px solid var(--rim-2); border-bottom: 1px solid var(--rim-2); cursor: crosshair; }
.lz { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lz-gap { fill: rgba(var(--gilt-rgb), 0.2); }
.lz-eq { fill: none; stroke: var(--haze); stroke-width: 1; stroke-dasharray: 4 4; opacity: 0.7; }
.lz-line { fill: none; stroke: var(--series-gold); stroke-width: 2; }
.lz-ax { font-size: 11px; color: var(--haze); }
.lz-ax-y { margin-bottom: 4px; }
.lz-ax-x { margin-top: 4px; text-align: right; }
/* on the diagonal 42% of the way along, turned to its angle, lifted just above it */
.lz-eq-l { position: absolute; left: 42%; top: 58%; transform: translate(-50%, -50%) rotate(var(--lz-a, -30deg)) translateY(-9px); font-size: 11px; line-height: 1; white-space: nowrap; color: var(--haze); pointer-events: none; opacity: 0; transition: opacity 0.2s; }
.lz-plot.is-sized .lz-eq-l { opacity: 0.85; }
.lz-dot { position: absolute; width: 9px; height: 9px; margin: 0 0 -4.5px -4.5px; border-radius: 50%; background: var(--gilt); box-shadow: 0 0 0 2px var(--night); pointer-events: none; }
.lz-tip { position: absolute; top: 6px; transform: translateX(8px); padding: 4px 8px; border: 1px solid var(--rim-2); border-radius: 8px; background: var(--vault); font-size: 12px; white-space: nowrap; pointer-events: none; }
.lz-tip.is-r { transform: translateX(calc(-100% - 8px)); }
.lz-plot:not(.is-on) .lz-dot, .lz-plot:not(.is-on) .lz-tip { display: none; }
.tk-conc h3 { margin: 0 0 14px; font-size: 16px; display: flex; align-items: center; gap: 4px; }
.tk-conc-bar { display: flex; gap: 2px; height: 14px; border-radius: 7px; overflow: hidden; background: var(--c-nodata); }
.tk-conc-bar > span { display: block; height: 100%; min-width: 2px; }
.tk-c1 { background: var(--series-gold-2); }
.tk-c2 { background: var(--series-gold); }
.tk-c3 { background: var(--rim-2); }
.tk-conc-legend { list-style: none; margin: 14px 0 0; padding: 0; }
.tk-conc-legend li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--rim); font-size: 14px; }
.tk-conc-legend li:last-child { border-bottom: 0; }
.tk-conc-legend b { font-weight: 600; font-variant-numeric: tabular-nums; }
.tk-conc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--rim-2); }
.tk-conc-stats dt { color: var(--haze); font-size: 12px; }
.tk-conc-stats dd { margin: 2px 0 0; font-size: 20px; font-weight: 650; }
.tk-top { list-style: none; margin: 0; padding: 0; }
.tk-row { display: grid; grid-template-columns: 22px minmax(0, 1.3fr) minmax(0, 1fr) 100px 52px; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--rim); }
.tk-rank { text-align: right; font-size: 13px; }
.tk-who { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; color: var(--parchment); }
.tk-who > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-who:hover span { color: var(--gilt-ink); }
.tk-who .avatar { width: 26px; height: 26px; font-size: 12px; flex: none; }
.tk-bar { height: 8px; border-radius: 4px; background: var(--c-nodata); overflow: hidden; }
.tk-bar span { display: block; height: 100%; border-radius: 4px; background: var(--series-gold); }
.tk-rest .tk-bar span { background: var(--rim-2); }
.tk-amt { text-align: right; font-variant-numeric: tabular-nums; }
.tk-pct { text-align: right; font-size: 13px; }
/* award against weight */
.sc { position: relative; padding: 0 0 44px 46px; }
.sc-plot { position: relative; height: 340px; border-left: 1px solid var(--rim-2); border-bottom: 1px solid var(--rim-2); }
.sc-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sc-eq { fill: none; stroke: var(--haze); stroke-width: 1; stroke-dasharray: 4 4; }
.sc-tx, .sc-ty { position: absolute; font-size: 11px; color: var(--haze); white-space: nowrap; }
.sc-tx { bottom: -20px; transform: translateX(-50%); }
.sc-ty { left: -8px; transform: translate(-100%, 50%); }
.sc-pt { position: absolute; width: 10px; height: 10px; margin: 0 0 -5px -5px; border-radius: 50%; background: var(--series-blue); border: 2px solid var(--night); z-index: 1; }
.sc-pt.is-own { background: var(--gilt); }
.sc-pt:hover, .sc-pt:focus-visible { z-index: 3; transform: scale(1.4); outline: none; box-shadow: 0 0 0 2px var(--parchment); }
.sc-pt[data-tip]:hover::after, .sc-pt[data-tip]:focus-visible::after {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 0; z-index: 40; width: max-content; max-width: 240px; transform: scale(0.72); transform-origin: bottom left;
  white-space: pre; text-align: left; background: var(--vault); border: 1px solid var(--rim-2); color: var(--parchment);
  padding: 9px 12px; border-radius: 10px; font: 400 13px/1.5 var(--sans); box-shadow: 0 8px 24px rgba(var(--shadow-rgb), calc(0.35 * var(--shadow-k)));
}
.sc-pt.tip-r[data-tip]:hover::after, .sc-pt.tip-r[data-tip]:focus-visible::after { left: auto; right: 0; transform-origin: bottom right; }
.sc-ax { position: absolute; margin: 0; font-size: 12px; color: var(--haze); }
.sc-ax-x { right: 0; bottom: 0; }
.sc-ax-y { position: static; margin: 0 0 8px -46px; }
@media (max-width: 900px) { .tk-dist, .tk-pair { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .tk-row { grid-template-columns: 18px minmax(0, 1fr) 92px 44px; gap: 8px; }
  .tk-row .tk-bar { display: none; }
  .sc-plot { height: 260px; }
  .sc { padding-left: 38px; }
  .sc-ax-y { margin-left: -38px; }
  .sp-chart { height: 160px; }
}

/* ---------- the block list: fixed columns under a header, the proposer with its picture ---------- */
.blist { --bcols: 92px minmax(0, 1.5fr) minmax(0, 1fr) 84px 64px 52px 140px; }
.blist.no-who { --bcols: 92px 130px minmax(0, 1fr) 84px 140px; }
.blist.is-compact { --bcols: 70px minmax(0, 1fr) max-content 44px 118px; }
.blist-head, .blist .block-row { display: grid; grid-template-columns: var(--bcols); align-items: center; gap: 14px; }
.blist-head { padding: 0 6px 8px; border-bottom: 1px solid var(--rim-2); color: var(--haze); font-size: 12px; }
.blist-head .r, .blist .b-slot, .blist .b-votes, .blist .b-txs { text-align: right; font-variant-numeric: tabular-nums; }
.blist .b-txs.has-tx { color: var(--gilt-ink); font-weight: 650; }
.blist .block-row { padding: 9px 6px; }
.blist.is-compact .b-slot { display: none; }
/* the votes: in the overview's list a ballot and the count, in a validator's own list a bar against the list's most */
.blist.is-compact .b-votes { display: inline-flex; align-items: center; justify-content: flex-end; gap: 4px; font-size: 13px; color: var(--haze); }
.b-votes svg { width: 13px; height: 13px; flex: none; opacity: 0.8; }
.b-votes-bar { display: grid; grid-template-columns: minmax(0, 1fr) 34px; align-items: center; gap: 10px; text-align: left !important; }
.b-votes-bar .vb { display: block; height: 6px; border-radius: 3px; background: var(--c-nodata); overflow: hidden; }
.b-votes-bar .vb > span { display: block; height: 100%; border-radius: 3px; background: var(--series-blue); }
.b-votes-bar b { font-weight: 600; color: var(--parchment); text-align: right; }
/* a validator's own blocks: its picture in the heading, a line of what the shown blocks add up to */
.prop-head h2 { display: flex; align-items: center; gap: 10px; }
.prop-head h2 .avatar { width: 30px; height: 30px; font-size: 12px; box-shadow: 0 0 0 1px var(--rim-2); }
/* its totals: four cells in one framed row (two by two on a phone) */
.prop-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0 0 18px; border: 1px solid var(--rim); border-radius: 14px; background: rgba(var(--vault-rgb), 0.35); overflow: hidden; }
.prop-stats > div { padding: 14px 18px; border-right: 1px solid var(--rim); min-width: 0; }
.prop-stats > div:last-child { border-right: 0; }
.prop-stats dt { display: inline-flex; align-items: center; gap: 4px; color: var(--haze); font-size: 12px; }
.prop-stats dd { margin: 4px 0 0; }
.prop-stats strong { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.prop-stats strong small { font-size: 13px; font-weight: 500; color: var(--haze); }
.prop-stats strong a { color: inherit; text-decoration: none; }
.prop-stats strong a:hover { text-decoration: underline; text-decoration-color: var(--gilt); }
.prop-stats .sub { margin-top: 2px; font-size: 12px; }
@media (max-width: 720px) {
  .prop-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prop-stats > div:nth-child(2n) { border-right: 0; }
  .prop-stats > div:nth-child(-n + 2) { border-bottom: 1px solid var(--rim); }
}
.prop-sum { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 8px; color: var(--haze); font-size: 13px; }
.prop-sum b { color: var(--parchment); font-weight: 600; }
.b-who { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--parchment); }
.b-who .avatar { width: 26px; height: 26px; font-size: 11px; }
/* a validator with its picture: who proposed a block, who voted for it */
.who-link { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; min-width: 0; vertical-align: middle; text-decoration: none; }
.who-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who-link:hover .who-name { color: var(--gilt-ink); }
.who-link .avatar { width: 26px; height: 26px; font-size: 11px; }
.fact dd .who-link .avatar { width: 30px; height: 30px; font-size: 12px; }
.b-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar-none { background: none !important; border: 1px dashed var(--rim-2); }
.b-time { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blist.is-compact .b-time { font-size: 13px; }
/* a gap in heights spans the proposer, time, slot and votes columns */
.blist .is-missing .b-gap { grid-column: 2 / -2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.blist .is-missing .b-state { grid-column: -2 / -1; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; border: 1px solid; font-size: 12px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.is-final { color: var(--ok); border-color: rgba(var(--ok-rgb), 0.45); background: rgba(var(--ok-rgb), 0.1); }
.pill.is-pending { color: var(--warn); border-color: rgba(var(--warn-rgb), 0.5); background: rgba(var(--warn-rgb), 0.1); }
.pill.is-missed { color: var(--mid); border-color: var(--rim-2); background: none; }
@media (max-width: 720px) {
  /* a block in two lines: block and state, then who and when */
  .blist-head { display: none; }
  .blist .block-row, .blist.no-who .block-row, .blist.is-compact .block-row {
    grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "h s" "w t"; row-gap: 6px; gap: 6px 12px;
  }
  .blist .b-height { grid-area: h; }
  .blist .b-state { grid-area: s; justify-self: end; }
  .blist .b-who { grid-area: w; }
  .blist .b-time { grid-area: t; justify-self: end; font-size: 13px; }
  .blist.no-who .b-time { grid-area: w; justify-self: start; }
  .blist .b-slot, .blist .b-votes, .blist .b-txs { display: none; }
  /* the overview's list keeps its votes, beside the time */
  .blist.is-compact .block-row:not(.is-missing) { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "h h s" "w v t"; }
  .blist.is-compact .b-votes { display: inline-flex; grid-area: v; }
  .blist.no-who .block-row:not(.is-missing) { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "h h s" "w v v"; }
  .blist.no-who .b-votes-bar { display: grid; grid-area: v; grid-template-columns: minmax(0, 1fr) 30px; }
  .blist .is-missing .b-gap { grid-area: w; grid-column: 1 / -1; }
  .blist .is-missing .b-state { grid-area: s; grid-column: auto; }
}

/* Blocks | Days: the two tabs are the page's title */
.title-tabs { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; }
/* tabs as the page's heading: one size for all (nothing moves when you switch), a thin rule under the row,
   and the open one underlined in gilt across the whole word */
.title-tabs nav { display: flex; align-items: flex-end; gap: 0 30px; flex: 1 1 auto; min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 3px 3px 0; margin: 0 -3px; }
.title-tabs nav::-webkit-scrollbar { display: none; }
.title-tabs h1 { margin: 0; font-size: inherit; line-height: inherit; font-weight: inherit; }
.title-tabs nav a { position: relative; display: inline-block; flex: none; font-size: clamp(20px, 2.1vw, 26px); font-weight: 650; letter-spacing: -0.015em; line-height: 1.2; color: var(--haze); opacity: 0.8; text-decoration: none; white-space: nowrap; padding: 0 0 12px; transition: opacity 0.15s, color 0.15s; }
.title-tabs nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--rim-2); opacity: 0; transition: opacity 0.15s; }
.title-tabs nav a:hover { opacity: 1; color: var(--parchment); }
.title-tabs nav a:hover::after { opacity: 1; }
.title-tabs nav a[aria-current="page"] { color: var(--parchment); opacity: 1; }
.title-tabs nav a[aria-current="page"]::after { background: var(--gilt); opacity: 1; }
.title-tabs a:focus-visible { outline: 2px solid var(--focus); outline-offset: 0; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { .title-tabs a, .title-tabs a::after { transition: none; } }

/* the release schedule: figures in a row, the chart, marks for today, rule v3 and the planned switch */
.vs-panel { margin: 22px 0 8px; }
.vs-figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 24px; margin: 6px 0 16px; }
.vs-figs dt { display: inline-flex; align-items: center; gap: 4px; color: var(--haze); font-size: 12px; }
.vs-figs dd { margin: 3px 0 0; }
.vs-figs strong { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.vs-figs .sub { margin-top: 2px; font-size: 12px; }
/* drawn like the validators chart: released a line with a soft fill, still vesting a faint band up to the
   earned line, the outlook dashed, the marks thin with their labels along the top */
.vs-plot { min-height: 200px; margin: 4px 0 14px; }
.vs-band { fill: var(--c-pending); fill-opacity: 0.1; }
.vs-rel { stroke: var(--c-final); }
.vs-earned { stroke: var(--c-pending); stroke-width: 1.5; }
.vs-ahead { stroke-dasharray: 5 5; opacity: 0.85; }
.vs-rel-dot, .vs-hot-r { fill: var(--c-final); }
.vs-hot-e { fill: var(--c-pending); }
.vs-end { fill: var(--c-final); }
.vs-mk { stroke: var(--haze); stroke-width: 1; stroke-dasharray: 2 3; opacity: 0.7; }
.vs-mk.vs-now { stroke: var(--parchment); stroke-dasharray: none; opacity: 0.45; }
.vs-mk.vs-switch { stroke: var(--warn-mark); opacity: 0.75; }
.vs-mk-t { fill: var(--haze); font: 500 11px/1 var(--sans); }
.vs-mk-t.vs-now { fill: var(--parchment); font-weight: 600; }
.vs-mk-t.vs-switch { fill: var(--warn); }
.vs-legend .sw { width: 14px; height: 3px; border-radius: 2px; }
.sw.vs-sw-rel { background: var(--c-final); }
.sw.vs-sw-ves { height: 8px; border-radius: 2px; background: rgba(var(--pending-rgb), 0.22); box-shadow: inset 0 2px 0 var(--c-pending); }
.sw.vs-sw-proj { height: 2px; background: repeating-linear-gradient(90deg, var(--haze) 0 4px, transparent 4px 7px); }
.vs-note { margin: 0; }
.tk-vest { margin-top: 20px; }
.tk-vest .vs-panel { margin: 0; }
@media (max-width: 720px) {
  .vs-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* a day whose award may cover days before it */
.aw-earlier { display: block; margin-top: 2px; font-size: 12px; color: var(--haze); cursor: help; text-decoration: underline dotted; text-underline-offset: 3px; }

/* votes on time: a figure on the profile that opens the details */
.ps-speed-btn { display: flex; flex-direction: column; align-items: flex-start; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.ps-speed-btn:disabled { cursor: default; }
.ps-speed-btn strong { font-size: 22px; font-weight: 700; }
.ps-speed-btn .ps-more { color: var(--gilt-ink); }
.ps-speed-btn:hover .ps-more, .ps-speed-btn:focus-visible .ps-more { text-decoration: underline; }
.speed-dialog { width: min(720px, 96vw); }
.sd-body { overflow-y: auto; }
.sd-lede { margin: 0 0 14px; font-size: 15px; line-height: 1.5; }
.sd-legend { display: flex; gap: 18px; margin-bottom: 8px; font-size: 13px; color: var(--haze); }
.sd-legend span { display: inline-flex; align-items: center; gap: 6px; }
.sd-sw-me { background: var(--series-blue); }
.sd-sw-net { width: 2px !important; height: 12px !important; border-radius: 0 !important; background: var(--parchment); }
.sd-rows { display: grid; gap: 10px; margin-bottom: 18px; }
.sd-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 150px; align-items: center; gap: 14px; font-size: 14px; }
.sd-l { color: var(--haze); }
.sd-bar { position: relative; height: 10px; border-radius: 5px; background: var(--c-nodata); }
.sd-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 5px; background: var(--series-blue); }
.sd-net { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: var(--parchment); }
.sd-v { text-align: right; font-variant-numeric: tabular-nums; }
.sd-figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 0 0 16px; padding: 14px 0; border-top: 1px solid var(--rim); border-bottom: 1px solid var(--rim); }
.sd-figs dt { color: var(--haze); font-size: 12px; }
.sd-figs dd { margin: 3px 0 0; }
.sd-figs strong { font-size: 20px; font-weight: 700; }
.sd-figs .sub { display: block; margin-top: 2px; font-size: 12px; }
.sd-body h3 { margin: 4px 0 8px; font-size: 15px; }
.sd-keys { margin-bottom: 14px; }
.sd-note { margin: 0; line-height: 1.55; }
@media (max-width: 1000px) { .prop-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .prop-stats > div:nth-child(3n) { border-right: 0; } .prop-stats > div:nth-child(-n + 3) { border-bottom: 1px solid var(--rim); } }
@media (max-width: 720px) {
  .sd-row { grid-template-columns: 1fr auto; }
  .sd-bar { grid-column: 1 / -1; order: 3; }
  .speed-dialog { width: 100vw; }
  .prop-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prop-stats > div { border-right: 1px solid var(--rim); border-bottom: 1px solid var(--rim); }
  .prop-stats > div:nth-child(2n) { border-right: 0; }
  .prop-stats > div:last-child { border-bottom: 0; }
  .prop-stats > div:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
}
.sd-box .gd-close { margin-left: auto; }

/* ---------- signing in ---------- */
.acct[hidden] { display: none; }
.acct-in { display: inline-flex; align-items: center; gap: 6px; box-sizing: border-box; height: 36px; padding: 0 14px; border: 1px solid rgba(var(--gilt-rgb), 0.55); border-radius: 10px; background: none; color: var(--gilt-ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.acct-in:hover { background: rgba(var(--gilt-rgb), 0.1); }
.acct-in svg { display: none; width: 16px; height: 16px; }
.acct-me { display: inline-flex; align-items: center; gap: 8px; padding: 3px 10px 3px 3px; border: 1px solid var(--rim); border-radius: 999px; color: var(--parchment); text-decoration: none; font-size: 14px; max-width: 200px; }
.acct-me:hover { border-color: var(--rim-2); }
.acct-me .avatar { width: 28px; height: 28px; font-size: 12px; }
.acct-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auth-dialog { width: min(480px, 96vw); }
/* the sign-in on a phone: a card as tall as its content (fit-content: auto would stretch it between inset 0), inside the room between the browser's bars, scrolling
   when it doesn't fit (it was the full height of the screen, its title under the address bar) */
@media (max-width: 900px) {
  .auth-dialog { width: calc(100vw - 20px); height: fit-content; max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); border-radius: 16px; overflow-y: auto; }
  .auth-dialog .gd-box { max-height: none; }
}
.au-box { gap: 4px; }
.au-lede { margin: 0 0 14px; color: var(--haze); line-height: 1.5; }
.au-opts { display: grid; gap: 10px; }
.au-opt { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 14px; border: 1px solid var(--rim); border-radius: 12px; background: var(--vault); color: var(--parchment); font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.au-opt:hover, .au-opt:focus-visible { border-color: var(--gilt); }
.au-opt b { display: block; font-size: 15px; }
.au-opt small { display: block; margin-top: 2px; color: var(--haze); font-size: 12px; }
.au-ico { display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--night); color: var(--parchment); font-weight: 700; object-fit: contain; }
.au-g { background: #fff; }
.au-g svg { width: 18px; height: 18px; }
.au-d { background: #5865f2; color: #fff; }
.au-d svg { width: 18px; height: 18px; }
.au-box .gd-close { margin-left: auto; }
.au-none { margin: 0; color: var(--haze); line-height: 1.5; }
.au-msg { min-height: 1.4em; margin: 12px 0 4px; color: var(--gilt-ink); font-size: 14px; }
.au-privacy { margin: 0; line-height: 1.5; }
.btn, .btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 10px; font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn { border: 1px solid var(--rim-2); background: none; color: var(--parchment); }
.btn:hover { border-color: var(--gilt); }
.btn-primary { border: 0; background: var(--gilt-fill); color: var(--on-accent); }
.btn-primary:hover { filter: brightness(1.08); }
.link-btn { padding: 0; border: 0; background: none; color: var(--gilt-ink); font: inherit; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.ac-intro { display: grid; justify-items: start; gap: 14px; max-width: 640px; }
/* my validator (/me): its page, with a switch between the ones I paired and my account beside the way out */
.me-switch { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 24px; }
.me-pick { display: inline-flex; align-items: center; gap: 8px; padding: 3px 12px 3px 3px; border: 1px solid var(--rim); border-radius: 999px; background: none; color: var(--haze); font: inherit; font-size: 14px; cursor: pointer; }
.me-pick .avatar { width: 24px; height: 24px; font-size: 11px; }
.me-pick:hover { border-color: var(--rim-2); color: var(--parchment); }
.me-pick[aria-pressed="true"] { border-color: var(--gilt); color: var(--parchment); background: rgba(var(--gilt-rgb), 0.08); }
.me-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
/* the two buttons the same height; the way out of the account as a quiet link before them */
.me-actions .btn, .me-actions .cta { box-sizing: border-box; height: 40px; margin: 0; padding-top: 0; padding-bottom: 0; display: inline-flex; align-items: center; font-size: 14px; }
.me-actions .share-btn { width: 40px; height: 40px; }
.me-out { display: inline-grid; place-items: center; box-sizing: border-box; width: 40px; height: 40px; padding: 0; border: 1px solid var(--rim-2); border-radius: 10px; background: none; color: var(--haze); cursor: pointer; }
.me-out svg { width: 17px; height: 17px; }
/* my account: its name on wide screens, a gear on a phone */
.me-acct svg { display: none; width: 18px; height: 18px; }
.me-out:hover { border-color: var(--gilt); color: var(--parchment); }
/* the title and the buttons on one line, the wallet under them */
.val-head.is-mine .val-id { flex: 1 1 auto; }
.me-titles { flex: 1 1 auto; min-width: 0; }
.me-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; }
.me-foot { margin: 40px 0 0; padding-top: 14px; border-top: 1px solid var(--rim); color: var(--haze); font-size: 13px; }
.me-foot .link-btn, .me-foot a { font-size: 13px; color: var(--haze); text-decoration: underline; text-underline-offset: 2px; }
.me-foot .link-btn:hover, .me-foot a:hover { color: var(--parchment); }
.val-head.is-mine { margin-bottom: 36px; }
.val-head.is-mine .val-id { gap: 14px; }
.val-head.is-mine .mv-crown { margin: -8px 0 -8px -10px; }
@media (max-width: 720px) {
  .val-head.is-mine .mv-crown { width: 92px; height: 92px; margin: -6px 0 -6px -8px; }
  .me-actions { width: 100%; }
}
/* a validator's head on a phone: one centred column (picture, name and chips, the short address), its buttons
   under it in one row: the way to 6529.io as wide as it can be, then the quiet square ones (my account as a gear,
   sharing, signing out at the end); wider screens keep the head as it is */
@media (max-width: 640px) {
  .val-head, .val-head.is-mine { flex-direction: column; align-items: stretch; gap: 18px; margin-bottom: 28px; }
  .val-head:not(.is-mine) { margin-top: 10px; }
  .val-head .val-id, .val-head.is-mine .val-id { flex-direction: column; align-items: center; gap: 12px; text-align: center; }
  .val-head .val-id > div { width: 100%; }
  .val-head .avatar-big { width: 76px; height: 76px; font-size: 28px; }
  .val-head.is-mine .mv-crown { width: 104px; height: 104px; margin: 0; }
  .val-head .page-title { justify-content: center; gap: 8px 10px; }
  .val-head .page-title h1 { flex-basis: auto; overflow-wrap: anywhere; }
  /* the name with its level on the first line, the chips together on the next */
  .val-head .page-title::after { content: ""; order: 1; flex-basis: 100%; height: 0; }
  .val-head .page-title > .chip, .val-head .page-title > .vchip { order: 2; }
  .val-wallet { justify-content: center; margin-top: 8px; }
  .vw-full { display: none; }
  .vw-short { display: inline; font-size: 13px; }
  /* mine: the title, the address, then the buttons */
  .me-titles { display: flex; flex-direction: column; gap: 0; }
  .me-row { display: contents; }
  .me-titles .val-wallet { order: 1; }
  .me-actions, .head-acts { order: 2; display: grid; grid-template-columns: minmax(0, 1fr) 46px 46px 46px; gap: 8px; width: 100%; margin-top: 18px; }
  .head-acts { grid-template-columns: minmax(0, 1fr) 46px; margin-top: 0; }
  .me-actions .cta-out, .head-acts .cta-out { order: -1; display: flex; align-items: center; justify-content: center; height: 46px; padding: 0 14px; font-size: 15px; }
  .me-actions .me-acct { justify-content: center; width: 46px; height: 46px; padding: 0; }
  .me-acct svg { display: block; }
  .me-acct span { display: none; }
  .me-actions .share-btn, .head-acts .share-btn, .me-out { width: 46px; height: 46px; border-radius: 10px; }
  .me-actions .share-btn { order: 1; }
  .me-out { order: 2; }
}
.ac-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; margin-top: 10px; }
.ac-sec { padding: 18px 20px; border: 1px solid var(--rim); border-radius: 14px; background: rgba(var(--vault-rgb), 0.35); }
.ac-sec h2 { margin: 0 0 12px; font-size: 18px; display: flex; align-items: center; gap: 6px; }
/* just confirmed: the notifications section glows once as the page lands on it */
.ac-notify { scroll-margin-top: 16px; }
.ac-notify.is-flash { animation: nt-flash 2.2s ease-out; }
@keyframes nt-flash { 0%, 35% { border-color: var(--gilt); box-shadow: 0 0 0 3px rgba(var(--gilt-rgb), 0.3); } 100% { border-color: var(--rim); box-shadow: 0 0 0 3px rgba(var(--gilt-rgb), 0); } }
@media (prefers-reduced-motion: reduce) { .ac-notify.is-flash { animation: none; border-color: var(--gilt); } }
.ac-vals, .ac-logins, .ac-pick-list { list-style: none; margin: 0; padding: 0; }
.ac-v, .ac-l { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rim); flex-wrap: wrap; }
.ac-v-who { display: inline-flex; align-items: center; gap: 10px; color: var(--parchment); text-decoration: none; font-weight: 600; margin-right: auto; }
.ac-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--rim-2); color: var(--haze); font-size: 12px; font-weight: 600; }
.ac-badge.is-ok { border-color: rgba(var(--ok-rgb), 0.5); color: var(--ok); background: rgba(var(--ok-rgb), 0.08); }
.ac-badge svg { width: 12px; height: 12px; }
.ac-x { font-size: 13px; }
.ac-pick { margin-top: 16px; display: grid; gap: 8px; }
.ac-pick label { font-size: 13px; color: var(--haze); }
.ac-pick input { height: 38px; padding: 0 12px; border: 1px solid var(--rim); border-radius: 10px; background: var(--night); color: var(--parchment); font: inherit; }
.ac-pick-b { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 4px; border: 0; border-bottom: 1px solid var(--rim); background: none; color: var(--parchment); font: inherit; text-align: left; cursor: pointer; }
.ac-pick-b:hover { background: rgba(var(--ink-rgb), 0.04); }
.ac-pick-b .muted { margin-left: auto; color: var(--gilt-ink); }
.ac-l-kind { display: inline-flex; align-items: center; gap: 8px; min-width: 120px; }
.ac-l-kind .au-ico { width: 24px; height: 24px; font-size: 12px; }
.ac-l-kind .au-g svg, .ac-l-kind .au-d svg { width: 14px; height: 14px; }
.ac-l-what { margin-right: auto; }
.ac-add { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.ac-merge { flex-wrap: wrap; }
.ac-merge-b { display: inline-flex; gap: 14px; align-items: center; margin-left: auto; }
.ac-foot { margin-top: 22px; display: flex; gap: 16px; align-items: baseline; flex-wrap: wrap; }
.chip-mine { text-decoration: none; border-color: var(--rim-2); color: var(--haze); }
.chip-mine.is-ok { border-color: rgba(var(--ok-rgb), 0.5); color: var(--ok); }
@media (max-width: 900px) { .ac-grid { grid-template-columns: 1fr; } }
/* e-mail notifications: across the account page's grid; the address, then two boxes (offline, transactions) */
.ac-notify { grid-column: 1 / -1; }
.note.ok svg { color: var(--ok); }
.nt-lede { margin: 0 0 12px; color: var(--parchment-dim); }
.nt-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.nt-form input { flex: 1 1 240px; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid var(--rim); border-radius: 10px; background: var(--night); color: var(--parchment); font: inherit; }
.nt-form input:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.nt-pending { margin: 12px 0 4px; }
/* where they go: one bordered list, a row each (the e-mail, other devices, this device) */
.nt-l { border: 1px solid var(--rim); border-radius: 12px; overflow: hidden; }
.nt-rows { display: contents; }
.nt-r { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--rim); }
.nt-l > .nt-r:first-child, .nt-l > .nt-rows:first-child > .nt-r:first-child { border-top: 0; }
.nt-here { background: rgba(var(--gilt-rgb), 0.06); }
.nt-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(var(--rim2-rgb), 0.3); color: var(--parchment-dim); }
.nt-ic svg { width: 20px; height: 20px; }
.nt-ic.on { background: rgba(var(--ok-rgb), 0.14); color: var(--ok); }
.nt-t { display: grid; gap: 2px; min-width: 0; }
.nt-t b { font-weight: 600; color: var(--parchment); overflow-wrap: anywhere; }
.nt-t small { color: var(--haze); font-size: 13px; line-height: 1.45; }
.nt-t .nt-form { margin-top: 6px; }
.nt-r:has(.nt-form) { align-items: start; }
.nt-a { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px 16px; }
.nt-a .link-btn { font-size: 14px; }
.nt-on { display: inline-flex; align-items: center; gap: 7px; color: var(--ok); font-weight: 600; }
.nt-on::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.nt-priv { margin: 12px 0 0; }
@media (max-width: 600px) {
  .nt-r { grid-template-columns: 40px minmax(0, 1fr); row-gap: 10px; padding: 12px 14px; }
  .nt-a { grid-column: 2; justify-content: flex-start; }
}
.nt-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 14px; margin-top: 14px; }
.nt-box { padding: 14px 16px; border: 1px solid var(--rim); border-radius: 12px; background: rgba(var(--deep-rgb), 0.45); display: grid; gap: 10px; align-content: start; }
.nt-box-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.nt-opt { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.nt-opt > span { display: grid; gap: 2px; }
.nt-opt small, .nt-mode-sub { color: var(--haze); font-size: 13px; line-height: 1.45; }
.nt-opt.is-off { cursor: default; opacity: 0.45; }
/* a switch: the track and its knob, gold when on */
.nt-sw { appearance: none; flex: none; position: relative; width: 38px; height: 22px; margin: 1px 0 0; border-radius: 999px; background: var(--rim); cursor: pointer; transition: background 0.15s; }
.nt-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--parchment-dim); transition: transform 0.15s, background 0.15s; }
.nt-sw:checked { background: var(--gilt); }
.nt-sw:checked::after { transform: translateX(16px); background: var(--night); }
.nt-sw:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.nt-sw:disabled { cursor: default; }
/* three ways for transactions, one chosen */
.nt-seg { display: inline-flex; padding: 3px; border: 1px solid var(--rim); border-radius: 10px; background: var(--night); }
.nt-seg label { position: relative; }
.nt-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.nt-seg span { display: block; padding: 5px 12px; border-radius: 7px; font-size: 13px; font-weight: 600; color: var(--haze); white-space: nowrap; }
.nt-seg input:checked + span { background: var(--gilt-fill); color: var(--on-accent); }
.nt-seg input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.nt-dirs { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.nt-for { margin: 14px 0 0; }
.nt-for.note { margin: 14px 0 0; }
.nt-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 14px; }
.nt-foot .muted { flex: 1 1 260px; }
@media (max-width: 640px) {
  .nt-grid { grid-template-columns: 1fr; }
  .nt-box-h { flex-direction: column; align-items: flex-start; }
  .nt-seg { width: 100%; }
  .nt-seg label { flex: 1; }
  .nt-seg span { text-align: center; padding: 7px 6px; }
}
/* a narrower desktop: who is signed in as their picture only, so the header stays one line */
@media (max-width: 1100px) { .acct-name { display: none; } .acct-me { padding: 3px; } }
/* below this the menu, the search and who is signed in no longer fit one line: the search takes its own */
@media (min-width: 721px) and (max-width: 1000px) { .search { order: 3; max-width: none; flex-basis: 100%; } .acct { margin-left: auto; } }
@media (max-width: 720px) {
  .acct { order: 3; }
  .acct-name { display: none; }
  .acct-me { padding: 3px; }
  .acct-in { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border-radius: 50%; }
  .acct-in svg { display: block; }
  .acct-in span { display: none; }
}

/* ---------- transactions (rc.19): Chain › Transactions and a block's own ---------- */
.txlist { --tcols: minmax(150px, 0.7fr) 82px minmax(0, 1fr) minmax(0, 1fr) 168px 44px 62px 182px; }
.txlist.in-block { --tcols: minmax(165px, 0.8fr) 82px minmax(0, 1fr) minmax(0, 1fr) 190px 70px; }
/* the transactions' summary: the blocks page's layout, the ring split by type with a legend under it */
.vo-ring-seg { stroke-linecap: butt; }
.tx-sum-vo .vo-hero { flex-wrap: wrap; }
.tx-ring b { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; }
.tx-ring b small { font-size: 11px; font-weight: 500; color: var(--haze); margin-top: 2px; }
.tx-klegend { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--haze); }
.tx-kl { display: inline-flex; align-items: center; gap: 6px; }
.tx-kl i { width: 9px; height: 9px; border-radius: 2px; }
.tx-kl b { color: var(--parchment); font-weight: 600; }
.tx-kind-t { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; color: var(--parchment-dim); background: rgba(var(--rim2-rgb), 0.4); }
.txlist-head, .tx-row { display: grid; grid-template-columns: var(--tcols); align-items: center; gap: 14px; }
.txlist-head { padding: 0 6px 8px; border-bottom: 1px solid var(--rim-2); color: var(--haze); font-size: 12px; }
.txlist-head .r, .tx-amt, .tx-fee { text-align: right; font-variant-numeric: tabular-nums; }
.txlist ol { list-style: none; margin: 0; padding: 0; }
.tx-row { padding: 10px 6px; border-bottom: 1px solid var(--rim); }
[data-main] { cursor: pointer; }
.tx-row[data-main]:hover { background: rgba(var(--rim-rgb), 0.35); }
.tx-row > span, .tx-pair > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* sender and recipient: two columns of the table, one line on a phone */
.tx-pair { display: contents; }
.tx-arrow { color: var(--haze); margin-right: 8px; }
.tx-amt b { color: var(--parchment); font-weight: 650; }
.b-tag.is-bad { color: var(--bad); border-color: rgba(var(--bad-rgb), 0.5); }
.tx-dir { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-left: 4px; border-radius: 50%; font-size: 12px; line-height: 1; vertical-align: middle; cursor: help; }
.tx-dir.is-in { color: var(--ok); background: rgba(var(--ok-rgb), 0.14); }
.tx-dir.is-out { color: var(--mid); background: rgba(var(--mid-rgb), 0.14); }
.tx-dir.is-bad { color: var(--bad); background: rgba(var(--bad-rgb), 0.16); font-size: 11px; font-weight: 700; }
.tx-row.is-failed .tx-amt b { color: var(--haze); text-decoration: line-through; text-decoration-color: rgba(var(--bad-rgb), 0.8); }
/* a party in a list: its picture and name */
.tx-from, .tx-to { display: flex; align-items: center; }
.tx-to .tx-arrow { flex: none; }
.tx-who { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; vertical-align: middle; text-decoration: none; }
.tx-who .avatar { width: 22px; height: 22px; font-size: 10px; }
.tx-who-n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.tx-who:hover .tx-who-n { color: var(--gilt-ink); }

/* a transaction at a glance: sender, the amount on its way, recipient */
.tf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 1.15fr) minmax(0, 1fr); align-items: start; gap: 12px; margin: 4px 0 0; padding: 30px 24px 26px; border: 1px solid var(--rim); border-radius: 16px; background: linear-gradient(180deg, rgba(var(--vault-rgb), 0.62), rgba(var(--vault-rgb), 0.3)); }
.tf-side { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; text-align: center; }
.tf-side .avatar-big { width: 84px; height: 84px; font-size: 32px; }
.tf-pic { display: inline-flex; border-radius: 50%; text-decoration: none; transition: box-shadow 0.15s; }
.tf-pic:hover { box-shadow: 0 0 0 2px var(--gilt); }
.tf-id { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; max-width: 100%; }
.tf-role { color: var(--haze); font-size: 12px; letter-spacing: 0.02em; }
/* names of people link to their page without an underline: the colour answers the pointer */
.tf-name { font-size: 21px; font-weight: 650; line-height: 1.2; padding-bottom: 4px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; transition: color 0.15s; }
a.tf-name:hover { color: var(--gilt-ink); }
.tf-name .mono { font-size: 17px; font-weight: 500; }
.tf-name-row { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-width: 0; }
.tf-name-row .tf-name { min-width: 0; }
.tf-name-row .lvl { margin-bottom: 4px; }
/* to the profile on 6529.io: 6529's mark beside the name */
.g6529 { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; margin-bottom: 4px; border-radius: 7px; color: var(--parchment); background: #0a0f17; box-shadow: inset 0 0 0 1px rgba(var(--ink-rgb), 0.22); text-decoration: none; transition: color 0.15s, box-shadow 0.15s; }
.g6529 svg { width: 16px; height: 16px; }
.g6529:hover { color: var(--gilt-ink); box-shadow: inset 0 0 0 1px var(--gilt); }
.g6529:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.txf-o-n .lvl { min-width: 20px; height: 20px; font-size: 10px; margin-left: 6px; vertical-align: middle; }
.tf-addr { display: inline-flex; align-items: center; gap: 2px; color: var(--haze); font-size: 12px; }
.tf-addr .val-copy { width: 24px; height: 24px; }
.tf-flow { display: flex; flex-direction: column; align-items: center; gap: 9px; margin-top: 8px; min-width: 0; }
.tf-meta { display: flex; flex-direction: column; align-items: center; gap: 3px; margin-bottom: 12px; color: var(--parchment); }
.tf-date { font-size: 16px; font-weight: 600; }
.tf-time { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-variant-numeric: tabular-nums; }
.tf-meta .b-tag { font-size: 12px; margin: 0 0 4px; }
.tf-amt { white-space: nowrap; line-height: 1.2; }
.tf-amt b { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }
.tf-cur { color: var(--haze); font-size: 14px; margin-left: 2px; }
.tf-line { position: relative; display: block; width: 100%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(var(--gilt-rgb), 0.15), var(--gilt)); }
.tf-line::after { content: ""; position: absolute; right: -2px; top: 50%; translate: 0 -50%; border: 6px solid transparent; border-left: 9px solid var(--gilt); border-right: 0; }
.tf-coin { position: absolute; left: 0; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--gilt); box-shadow: 0 0 12px 3px rgba(var(--gilt-rgb), 0.55); opacity: 0; }
.tf-play .tf-coin { animation: tf-coin 1.5s cubic-bezier(0.55, 0, 0.35, 1) 0.3s 1 both; }
@keyframes tf-coin { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 82% { opacity: 1; } 100% { left: calc(100% - 12px); opacity: 0; } }
.tf-sub { color: var(--haze); font-size: 13px; }
.tf.is-failed .tf-line { background: repeating-linear-gradient(90deg, rgba(var(--bad-rgb), 0.75) 0 8px, transparent 8px 14px); }
.tf.is-failed .tf-line::after { border-left-color: rgba(var(--bad-rgb), 0.45); }
.tf.is-failed .tf-amt b { color: var(--haze); text-decoration: line-through; text-decoration-color: rgba(var(--bad-rgb), 0.8); text-decoration-thickness: 2px; }
.tf-x { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--night); box-shadow: inset 0 0 0 1.5px var(--bad); color: var(--bad); }
.tf-x svg { width: 12px; height: 12px; }
.tf-foot { margin: 12px 0 26px; text-align: center; color: var(--parchment-dim); font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .tf-coin { display: none; } }
/* a transfer on a phone: the sender, one long arrow down to the receiver, how much on its left and when on its
   right; the From and To words go (the arrow says it), still read out by screen readers */
@media (max-width: 640px) {
  .tf { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 22px 16px 24px; }
  .tf-side { gap: 10px; }
  .tf-side .avatar-big { width: 64px; height: 64px; font-size: 24px; }
  .tf-id { gap: 4px; }
  .tf-role { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .tf-name { font-size: 20px; }
  .tf-flow { display: grid; grid-template-columns: minmax(0, 1fr) 2px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 18px; row-gap: 4px; align-items: center; margin: 12px 0; }
  .tf-line { grid-column: 2; grid-row: 1 / 3; align-self: stretch; height: auto; min-height: 128px; margin: 0 0 8px; background: linear-gradient(180deg, rgba(var(--gilt-rgb), 0.55), var(--gilt)); }
  .tf-line::after { right: auto; left: 50%; top: auto; bottom: -2px; translate: -50% 0; border: 6px solid transparent; border-top: 9px solid var(--gilt); border-bottom: 0; }
  .tf.is-failed .tf-line { background: repeating-linear-gradient(180deg, rgba(var(--bad-rgb), 0.75) 0 8px, transparent 8px 14px); }
  .tf.is-failed .tf-line::after { border-left-color: transparent; border-top-color: rgba(var(--bad-rgb), 0.45); }
  .tf-amt { grid-column: 1; grid-row: 1; align-self: end; justify-self: end; text-align: right; white-space: normal; line-height: 1.15; }
  .tf-amt b { display: block; font-size: 22px; overflow-wrap: anywhere; }
  .tf-cur { display: block; margin: 2px 0 0; font-size: 13px; }
  .tf-sub { grid-column: 1; grid-row: 2; align-self: start; justify-self: end; text-align: right; font-size: 12px; }
  .tf-meta { grid-column: 3; grid-row: 1 / 3; justify-self: start; align-items: flex-start; text-align: left; margin: 0; gap: 2px; }
  .tf-date { font-size: 14px; } .tf-time { font-size: 13px; }
  .tf-coin { left: 50%; top: 0; margin: 0 0 0 -6px; }
  .tf-play .tf-coin { animation-name: tf-coin-v; }
  @keyframes tf-coin-v { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 82% { opacity: 1; } 100% { top: calc(100% - 12px); opacity: 0; } }
  .tf-foot { margin-top: 12px; }
}
.empty-block { padding: 28px 0 8px; }
.btn-primary:disabled { opacity: 0.4; cursor: default; filter: none; }

/* ---------- transactions filter ---------- */
.txf { position: relative; display: grid; grid-template-columns: auto auto minmax(220px, 1fr) auto; align-items: stretch; gap: 10px; margin: 6px 0 14px; }
.txf-q { position: relative; display: flex; align-items: center; min-width: 0; }
.txf-q svg { position: absolute; left: 13px; width: 16px; height: 16px; color: var(--haze); pointer-events: none; }
.txf-q input { width: 100%; height: 48px; padding: 0 74px 0 38px; font: inherit; font-size: 15px; color: var(--parchment); background: var(--vault); border: 1px solid var(--rim-2); border-radius: 12px; }
.txf-q input::placeholder { color: var(--haze); }
.txf-count { position: absolute; right: 12px; display: inline-flex; align-items: baseline; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 13px; font-variant-numeric: tabular-nums; color: var(--haze); background: rgba(var(--gilt-rgb), 0.12); pointer-events: none; }
.txf-count:empty { display: none; }
.txf-q:has(.txf-count:not(:empty)) input { padding-right: 118px; }
.txf-count b { color: var(--gilt-ink); font-weight: 700; }
.txf-q-pop .txf-count { display: none; }
.txf-reset { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; color: var(--gilt-ink); background: none; border: 1px dashed rgba(var(--gilt-rgb), 0.5); border-radius: 12px; cursor: pointer; }
.txf-reset[hidden] { display: none; }
.txf-reset svg { width: 20px; height: 20px; }
.txf-reset:hover { background: rgba(var(--gilt-rgb), 0.1); border-style: solid; }
.txf-q input:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.txf-who { display: flex; align-items: stretch; gap: 0; }
.txf-who > span { display: flex; }
.txf-field { position: relative; display: flex; }
.txf-btn { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; align-content: center; column-gap: 10px; min-width: 176px; height: 48px; padding: 0 14px; font: inherit; text-align: left; color: var(--parchment); background: var(--vault); border: 1px solid var(--rim-2); border-radius: 12px; cursor: pointer; transition: border-color 0.12s, background 0.12s; }
.txf-btn:hover { border-color: rgba(var(--gilt-rgb), 0.6); }
.txf-btn[aria-expanded="true"] { border-color: var(--gilt); background: var(--raise); }
.txf-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.txf-l { grid-column: 1; font-size: 11px; line-height: 1.2; color: var(--haze); }
.txf-v { grid-column: 1; display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 14px; line-height: 1.35; font-weight: 600; }
.txf-v svg { flex: none; width: 15px; height: 15px; color: var(--gilt-ink); }
.txf-v .avatar { width: 18px; height: 18px; font-size: 9px; }
.txf-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.txf-any { color: var(--parchment-dim); font-weight: 500; }
.txf-chev { grid-column: 2; grid-row: 1 / 3; width: 14px; height: 14px; color: var(--haze); transition: transform 0.15s; }
.txf-btn[aria-expanded="true"] .txf-chev { transform: rotate(180deg); }
.txf-field.is-set .txf-btn { border-color: rgba(var(--gilt-rgb), 0.55); padding-right: 40px; }
.txf-field.is-set .txf-chev { display: none; }
.txf-x { position: absolute; right: 8px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 26px; height: 26px; padding: 0; color: var(--haze); background: none; border: 0; border-radius: 50%; cursor: pointer; }
.txf-x svg { width: 12px; height: 12px; }
.txf-x:hover { color: var(--parchment); background: var(--rim); }
.txf-who .txf-party[data-side="from"] .txf-btn { border-radius: 12px 0 0 12px; }
.txf-who .txf-party[data-side="to"] .txf-btn { border-radius: 0 12px 12px 0; }
.txf-swap { flex: none; display: grid; place-items: center; width: 38px; padding: 0; margin: 0 -1px; color: var(--haze); background: var(--night); border: 1px solid var(--rim-2); cursor: pointer; position: relative; z-index: 1; }
.txf-swap svg { width: 16px; height: 16px; }
.txf-swap:hover { color: var(--gilt-ink); }
.txf-sum { display: flex; align-items: center; gap: 14px; margin: 0 0 6px; font-size: 14px; }
.txf-sum:empty { display: none; }
.txf-empty { padding: 34px 0 20px; text-align: center; color: var(--parchment-dim); }
.txf-empty p { margin: 0 0 14px; }
.txf-more { display: flex; justify-content: center; padding: 18px 0 6px; }

/* the pickers: a card under their button (a sheet from the bottom on a phone) */
.txf-pop { position: absolute; z-index: 30; width: 340px; padding: 12px; background: var(--vault); border: 1px solid var(--rim-2); border-radius: 16px; box-shadow: 0 18px 50px rgba(var(--shadow-rgb), calc(0.5 * var(--shadow-k))), 0 0 0 1px rgba(var(--shadow-rgb), calc(0.2 * var(--shadow-k))); }
.txf-pop-when { width: 590px; }
.txf-pop-opts { width: 240px; }
.txf-states { display: flex; flex-direction: column; gap: 2px; }
.txf-states .txf-preset { display: flex; align-items: center; gap: 9px; }
.txf-states .txf-preset span { flex: 1; }
.txf-opt-n { color: var(--haze); font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
/* the transactions' bar in one row: who, when, type, the search, reset */
.txf.txf-tx { grid-template-columns: auto auto auto minmax(200px, 1fr) auto; }
.txf-tx .txf-who .txf-btn { min-width: 150px; }
.txf-tx #txf-when .txf-btn { min-width: 160px; max-width: 240px; }
.txf-tx #txf-kind .txf-btn { min-width: 130px; }
.st-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--haze); }
.st-dot.is-final { background: var(--ok); }
.st-dot.is-pending { background: var(--warn-mark); }
.st-dot.is-ok { background: var(--ok); } .st-dot.is-bad { background: var(--bad); } .st-dot.is-warn { background: var(--warn-mark); }
.txf-pop-head { display: none; align-items: center; justify-content: space-between; margin: 0 0 10px; font-weight: 600; }
.txf-close { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; color: var(--haze); background: none; border: 0; border-radius: 50%; cursor: pointer; }
.txf-close svg { width: 13px; height: 13px; }
.txf-q-pop input { height: 42px; font-size: 14px; background: var(--night); }
.txf-list { list-style: none; margin: 8px 0 0; padding: 0; max-height: 330px; overflow-y: auto; overscroll-behavior: contain; }
.txf-opt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; cursor: pointer; }
.txf-opt .avatar { width: 30px; height: 30px; font-size: 12px; }
.txf-opt.is-active { background: rgba(var(--rim2-rgb), 0.45); }
.txf-opt.is-on { box-shadow: inset 2px 0 0 var(--gilt); }
.txf-o-id { display: flex; flex-direction: column; min-width: 0; }
.txf-o-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: 14px; }
.txf-o-a { color: var(--haze); font-size: 11.5px; }
.txf-o-c { display: flex; gap: 8px; font-size: 12px; font-variant-numeric: tabular-nums; }
.txf-o-c .is-out { color: var(--mid); } .txf-o-c .is-in { color: var(--ok); }
.txf-nope { margin: 14px 4px 6px; color: var(--haze); font-size: 14px; }
.txf-when-grid { display: grid; grid-template-columns: 172px minmax(0, 1fr); gap: 14px; }
.txf-presets { display: flex; flex-direction: column; gap: 2px; padding-right: 12px; border-right: 1px solid var(--rim); }
.txf-preset { padding: 8px 10px; font: inherit; font-size: 14px; text-align: left; color: var(--parchment-dim); background: none; border: 0; border-radius: 9px; cursor: pointer; }
.txf-preset:hover { color: var(--parchment); background: rgba(var(--rim2-rgb), 0.35); }
.txf-preset.is-on { color: var(--gilt-ink); background: rgba(var(--gilt-rgb), 0.1); font-weight: 600; }
.tcal-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 8px; }
.tcal-month { font-weight: 600; }
.tcal-nav { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; font: inherit; font-size: 18px; line-height: 1; color: var(--parchment); background: none; border: 1px solid var(--rim); border-radius: 9px; cursor: pointer; }
.tcal-nav:disabled { opacity: 0.3; cursor: default; }
.tcal-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 3px; }
.tcal-wd { padding: 2px 0 6px; text-align: center; font-size: 11px; color: var(--haze); }
.tcal-d { position: relative; height: 38px; padding: 0; font: inherit; font-size: 13.5px; font-variant-numeric: tabular-nums; color: var(--parchment); background: none; border: 0; cursor: pointer; }
.tcal-d > span { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; }
.tcal-d:hover:not(:disabled) > span { box-shadow: inset 0 0 0 1px var(--gilt); }
.tcal-d:disabled { color: rgba(var(--haze-rgb), 0.35); cursor: default; }
.tcal-d.is-today > span { box-shadow: inset 0 0 0 1px var(--rim-2); }
.tcal-d.in-range::before { content: ""; position: absolute; top: 3px; bottom: 3px; left: 0; right: 0; background: rgba(var(--gilt-rgb), 0.16); }
.tcal-d.is-start::before { left: 50%; } .tcal-d.is-end::before { right: 50%; } .tcal-d.is-start.is-end::before { display: none; }
.tcal-d.is-start > span, .tcal-d.is-end > span { background: var(--gilt-fill); color: var(--on-accent); font-weight: 700; box-shadow: none; }
.tcal-dot { position: absolute; left: 50%; bottom: 2px; translate: -50% 0; width: 4px; height: 4px; border-radius: 50%; background: var(--ok); z-index: 2; }
.tcal-dot.l2 { width: 5px; height: 5px; } .tcal-dot.l3 { width: 6px; height: 6px; box-shadow: 0 0 6px rgba(var(--ok-rgb), 0.7); }
.tcal-legend { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; }
.tcal-legend .tcal-dot { position: static; translate: none; }
.tcal-hint { margin: 8px 0 10px; font-size: 12.5px; color: var(--haze); }
.tcal-times { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 8px; }
.tcal-times label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--haze); }
.tcal-times b { color: var(--parchment); font-weight: 600; }
.tcal-times input { width: 100%; height: 40px; padding: 0 12px; font: inherit; font-size: 16px; font-weight: 600; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; color: var(--parchment); background: var(--night); border: 1px solid var(--rim-2); border-radius: 10px; }
.tcal-times input:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.tcal-times input.is-bad { border-color: var(--bad); }
.tcal-arrow { padding-bottom: 9px; color: var(--haze); }
.tcal-foot { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.tcal-foot .muted { margin-right: auto; }
@media (max-width: 900px) {
  .txf { grid-template-columns: minmax(0, 1fr) auto; }
  .txf-q { grid-column: 1 / 2; }
  .txf:has(.txf-reset[hidden]) .txf-q { grid-column: 1 / -1; }
  .txf-who { grid-column: 1 / -1; }
  .txf-who > span { flex: 1 1 0; min-width: 0; }
  .txf-who .txf-field, .txf-who .txf-btn { flex: 1 1 auto; min-width: 0; width: 100%; }
  #txf-when { grid-column: 1 / -1; display: flex; }
  .txf-reset { grid-column: 2; }
  #txf-when .txf-field, #txf-when .txf-btn { flex: 1 1 auto; width: 100%; }
}
.txf.blkf { grid-template-columns: auto auto auto minmax(200px, 1fr) auto; }
/* the validators' bar: what to show, the status, the search, reset */
.txf.valf { grid-template-columns: auto auto minmax(200px, 1fr) auto; margin-top: 4px; }
.valf .txf-btn { min-width: 160px; }
.blkf #txf-when .txf-btn { max-width: 240px; }
.blkf .txf-state .txf-btn { min-width: 150px; }
@media (max-width: 900px) {
  /* the transactions' bar: who on its own row, when and type side by side, then the search */
  .txf.txf-tx { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
  .txf-tx .txf-who { grid-column: 1 / -1; }
  .txf-tx #txf-when { grid-column: 1; display: flex; }
  .txf-tx #txf-kind { grid-column: 2 / -1; display: flex; }
  .txf-tx #txf-when .txf-btn { max-width: none; }
  .txf-tx #txf-kind .txf-field, .txf-tx #txf-kind .txf-btn { flex: 1 1 auto; width: 100%; min-width: 0; }
  .txf-tx .txf-q { grid-column: 1 / 3; }
  .txf-tx:has(.txf-reset[hidden]) .txf-q { grid-column: 1 / -1; }
  .txf-tx .txf-reset { grid-column: 3; }
  /* the blocks' bar: who, when and state side by side, the search under them */
  .txf.blkf { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto; }
  .blkf .txf-who { grid-column: 1; }
  .blkf #txf-when { grid-column: 2; }
  .blkf #txf-state { grid-column: 3 / -1; display: flex; }
  .blkf #txf-state .txf-field, .blkf #txf-state .txf-btn { flex: 1 1 auto; width: 100%; min-width: 0; }
  .blkf .txf-q { grid-column: 1 / 4; }
  .blkf:has(.txf-reset[hidden]) .txf-q { grid-column: 1 / -1; }
  .blkf .txf-reset { grid-column: 4; }
}
@media (max-width: 900px) {
  .txf.valf { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
  .valf #txf-show { grid-column: 1; display: flex; } .valf #txf-live { grid-column: 2 / -1; display: flex; }
  .valf #txf-show .txf-field, .valf #txf-show .txf-btn, .valf #txf-live .txf-field, .valf #txf-live .txf-btn { flex: 1 1 auto; width: 100%; min-width: 0; }
  .valf .txf-q { grid-column: 1 / 3; }
  .valf:has(.txf-reset[hidden]) .txf-q { grid-column: 1 / -1; }
  .valf .txf-reset { grid-column: 3; }
}
@media (max-width: 560px) {
  .txf.blkf { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
  .blkf .txf-who { grid-column: 1 / -1; }
  .blkf #txf-when { grid-column: 1; }
  .blkf #txf-state { grid-column: 2 / -1; }
  .blkf .txf-q { grid-column: 1 / 3; }
  .blkf .txf-reset { grid-column: 3; }
}
@media (max-width: 640px) {
  .tx-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
  .tx-sum .bo-v { white-space: normal; overflow: visible; }
  .tx-sum .bo-v .bo-sub { margin-left: 0; }
  .txf-btn { min-width: 0; height: 52px; }
  .txf-pop { position: fixed; z-index: 60; left: 0 !important; right: 0; top: auto !important; bottom: 0; width: auto; max-height: 86vh; overflow-y: auto; padding: 14px 14px calc(18px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; box-shadow: 0 0 0 100vmax rgba(var(--scrim-rgb), calc(0.6 * var(--scrim-k))); animation: txf-sheet 0.18s ease-out; }
  @keyframes txf-sheet { from { transform: translateY(24px); opacity: 0.6; } }
  .txf-pop-when { width: auto; }
  .txf-pop-head { display: flex; }
  .txf-list { max-height: 52vh; }
  .txf-when-grid { grid-template-columns: 1fr; }
  .txf-presets { flex-direction: row; flex-wrap: wrap; gap: 6px; padding: 0 0 12px; border-right: 0; border-bottom: 1px solid var(--rim); }
  .txf-preset { padding: 7px 12px; border: 1px solid var(--rim-2); border-radius: 999px; font-size: 13px; }
  .tcal-d { height: 42px; }
}
.empty-block .lede { margin-bottom: 6px; }
.roots { display: flex; flex-direction: column; gap: 4px; }
.roots > span { color: var(--haze); font-size: 13px; }
h2 .count { color: var(--haze); font-weight: 500; margin-left: 6px; }
@media (max-width: 720px) {
  .txlist-head { display: none; }
  /* a phone: when on top (in the page's ink) with the amount on the right; under it the type and who to whom. The id
     and the block stay on the transaction's own page (the whole row opens it); a refusal or the direction still shows.
     On a block's page there is no time: who to whom stays on top */
  .tx-row { grid-template-columns: auto auto minmax(0, 1fr) auto; grid-template-areas: "w w w a" "k i p p"; gap: 8px 10px; padding: 12px 4px; }
  .txlist.in-block .tx-row { grid-template-areas: "p p p a" "k i w w"; gap: 6px 10px; }
  .tx-pair { grid-area: p; display: flex; align-items: center; min-width: 0; }
  .tx-pair > span { flex: 0 1 auto; }
  .tx-pair .tx-who { min-width: 0; }
  .tx-to .tx-arrow { margin: 0 6px 0 6px; }
  .tx-amt { grid-area: a; align-self: start; font-size: 16px; line-height: 1.15; }
  .tx-amt .muted { display: block; font-size: 11.5px; }
  .tx-kind { grid-area: k; align-self: center; }
  .tx-id { grid-area: i; align-self: center; font-size: 13px; }
  .tx-id > a, .tx-id > .muted:first-child, .tx-block, .tx-fee { display: none; }
  .tx-time { grid-area: w; align-self: start; padding-top: 1px; color: var(--parchment); font-size: 14px; font-weight: 600; }
  .tx-time .muted { font-weight: 400; }
}
/* three chain tabs on one line on a phone */
@media (max-width: 720px) {
  .title-tabs nav { gap: 0 20px; }
  .title-tabs nav a { font-size: 17px; padding-bottom: 10px; }
}

/* ---------- what the chain announced ahead: a box on the Network page, a line on the overview ---------- */
.upcoming { margin: 26px 0 30px; padding: 20px 22px; border: 1px solid rgba(var(--gilt-rgb), 0.45); border-radius: 16px; background: linear-gradient(135deg, rgba(var(--gilt-rgb), 0.1), rgba(var(--vault-rgb), 0.4) 55%); }
.upcoming h2 { margin: 0 0 14px; font-size: 20px; }
.up-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.up-item { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 18px; align-items: start; }
.up-item + .up-item { padding-top: 14px; border-top: 1px solid var(--rim); }
.up-when { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--parchment-dim); }
.up-when b { font-size: 22px; line-height: 1.2; color: var(--gilt-ink); font-variant-numeric: tabular-nums; }
.up-what h3 { margin: 0 0 4px; font-size: 16px; }
.up-what p { margin: 0; color: var(--parchment-dim); max-width: 70ch; }
.up-extra { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px !important; font-size: 13px; }
.up-note { display: flex; align-items: center; margin: 0 0 18px; padding-right: 6px; border: 1px solid rgba(var(--gilt-rgb), 0.4); border-radius: 12px; background: rgba(var(--gilt-rgb), 0.08); }
.up-note-a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 10px 8px 10px 14px; border-radius: 12px; color: var(--parchment); text-decoration: none; font-size: 14px; }
.up-note-a > svg { flex: none; width: 18px; height: 18px; color: var(--gilt-ink); }
.up-note-a > span:first-of-type { min-width: 0; }
.up-more { margin-left: auto; flex: none; color: var(--gilt-ink); font-weight: 600; white-space: nowrap; }
.up-note-a:hover .up-more { text-decoration: underline; }
/* closed, it stays away until something else is announced */
.up-x { flex: none; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 9px; background: none; color: var(--haze); cursor: pointer; }
.up-x svg { width: 16px; height: 16px; }
.up-x:hover { color: var(--parchment); background: rgba(var(--gilt-rgb), 0.14); }
.up-x:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
@media (max-width: 640px) {
  .up-item { grid-template-columns: 1fr; gap: 8px; }
  .up-note { align-items: flex-start; }
  .up-note-a { align-items: flex-start; font-size: 13px; }
  .up-x { width: 40px; height: 40px; margin-top: 2px; }
  .up-more { display: none; }
}

/* ---------- a validator's machines: health cards, details in a panel ---------- */
/* ---------- the top of a validator's page: the validator and its 6529.io account, joined by the wallet ---------- */
/* my validator: what its 6529 assets are worth: a ring of the collections' shares beside a table (the
   transactions' ring, the same drawing) */
.ap-sec { margin: 0 0 8px; }
/* the heading as the machines' one (.page h2), the rate and the prices' time at its right */
.ap-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin: 40px 0 14px; }
.ap-head h2 { margin: 0; display: flex; align-items: center; gap: 4px; }
.ap { margin: 0 0 6px; padding: 16px 20px 12px; border: 1px solid var(--rim); border-radius: 16px; background: linear-gradient(180deg, rgba(var(--vault-rgb), 0.72), rgba(var(--vault-rgb), 0.32)); }
.ap-meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: 13px; color: var(--haze); font-variant-numeric: tabular-nums; }
.ap-body { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 28px; align-items: center; }
/* by floor over by top offers */
.ap-rings { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ap-ring { position: relative; width: 132px; aspect-ratio: 1; container-type: inline-size; }
.ap-ring svg { display: block; width: 100%; height: 100%; transform: rotate(-90deg); }
.ap-ring circle { fill: none; stroke-width: 12; }
.ap-track { stroke: rgba(var(--rim2-rgb), 0.35); }
.ap-mid { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 13%; }
/* the total fits inside the ring at any size */
.ap-mid b { font-size: clamp(13px, 10.5cqi, 22px); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ap-mid span { margin-top: 3px; font-size: 11.5px; line-height: 1.25; color: var(--haze); text-wrap: balance; } /* the line under the total wraps inside the hole */
.ap-table { width: 100%; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; }
/* the owner's: ETH on the validator's wallets (switched on here), the cards as one row of small pictures */
.ap-eth { display: inline-flex; align-items: center; gap: 8px; color: var(--parchment-dim); font-size: 13px; cursor: pointer; }
.ap-cards { display: flex; align-items: center; gap: 12px; width: 100%; margin: 14px 0 0; padding: 12px 0 2px; border: 0; border-top: 1px solid var(--rim); background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.ap-cards-l { flex: none; font-size: 12.5px; color: var(--haze); }
.ap-cards-row { display: flex; gap: 4px; flex: 1; min-width: 0; overflow: hidden; }
.ap-cards-row img, .ap-cards-row i { flex: none; width: 30px; height: 30px; border-radius: 5px; object-fit: cover; background: rgba(var(--rim2-rgb), 0.3); }
.ap-cards-row i[hidden] { display: none; }
.ap-cards-more { flex: none; display: grid; place-items: center; height: 30px; padding: 0 9px; border-radius: 5px; background: rgba(var(--rim2-rgb), 0.35); font-size: 12.5px; font-weight: 600; color: var(--parchment-dim); }
.ap-cards:hover .ap-cards-l, .ap-cards:hover .ap-cards-more { color: var(--gilt-ink); }
.ap-cards:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
/* the cards by season (a dialog): every card of a season, the held ones with their picture */
.cards-dlg { width: min(1160px, calc(100vw - 24px)); }
.cd-body { display: grid; gap: 10px; }
.cd-row { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 14px; align-items: center; }
/* the season and the held count on one line, the share as a thin bar under them; a whole season in gold */
.cd-s { display: grid; gap: 5px; font-variant-numeric: tabular-nums; }
.cd-sl { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; white-space: nowrap; }
.cd-sl b { font-size: 13px; font-weight: 600; color: var(--parchment); }
.cd-sl small { color: var(--haze); font-size: 11.5px; }
.cd-bar { display: block; height: 4px; border-radius: 4px; background: rgba(var(--rim2-rgb), 0.45); overflow: hidden; }
.cd-bar i { display: block; height: 100%; border-radius: 4px; background: var(--gilt); }
.cd-row.is-full .cd-sl b, .cd-row.is-full .cd-sl small { color: var(--gilt-ink); }
.cd-cells { display: flex; flex-wrap: wrap; gap: 3px; }
.cd-cells img, .cd-cells i { display: block; width: 18px; height: 18px; border-radius: 4px; object-fit: cover; }
.cd-cells i { box-shadow: inset 0 0 0 1px rgba(var(--rim2-rgb), 0.45); background: rgba(var(--rim2-rgb), 0.08); }
@media (max-width: 720px) { .cd-row { grid-template-columns: 1fr; gap: 6px; } .cd-sl { justify-content: flex-start; } .cd-cells img, .cd-cells i { width: 16px; height: 16px; } }
.ap-table th, .ap-table td { padding: 9px 0; border-top: 1px solid var(--rim); text-align: left; vertical-align: top; }
.ap-table thead th { border-top: 0; padding-top: 0; font-size: 12px; font-weight: 500; color: var(--haze); white-space: nowrap; }
.ap-table .r { text-align: right; padding-left: 16px; width: 26%; }
.ap-table tbody th, .ap-table tfoot th { font-weight: 500; }
.ap-th { display: flex; gap: 12px; align-items: flex-start; }
.ap-table tfoot th, .ap-table tfoot td { border-top-color: var(--rim-2); }
.ap-name b { display: inline-flex; align-items: center; font-weight: 600; color: var(--parchment); }
.ap-table b { font-weight: 650; }
.ap-table .sub { display: block; font-size: 12.5px; font-weight: 400; color: var(--haze); white-space: nowrap; }
.ap-o b { color: var(--ink-2); }
.ap-dot { flex: none; width: 10px; height: 10px; margin-top: 5px; border-radius: 3px; }
.ap-dot.is-none { border: 1px dashed var(--none-line); }
.ap-dot.is-blank { visibility: hidden; }
/* a collection still to come (Stream): the row in place, quieter, with a small "soon" */
.ap-soon .ap-name b { color: var(--parchment-dim); }
.ap-pill { margin-left: 8px; padding: 1px 7px; border: 1px solid rgba(var(--gilt-rgb), 0.55); border-radius: 999px; color: var(--gilt-ink); font-size: 11px; font-weight: 600; line-height: 16px; }
@media (max-width: 760px) {
  .ap { padding: 14px 14px 8px; }
  .ap-body { grid-template-columns: 1fr; gap: 10px; }
  /* side by side on a phone, over the table's three columns (floor, last sales, offers) */
  .ap-rings { flex-direction: row; justify-content: center; gap: 10px; }
  .ap-ring { width: min(31%, 124px); }
  .ap-mid { padding: 0 11%; }
  .ap-mid b { font-size: clamp(11px, 10.5cqi, 14px); }
  .ap-mid span { font-size: 10.5px; }
  /* four columns in a phone's width: fixed shares, the headings may wrap, smaller figures */
  .ap-table { font-size: 12.5px; table-layout: fixed; }
  .ap-table thead th { white-space: normal; font-size: 11px; line-height: 1.25; }
  .ap-table th:first-child { width: 31%; }
  .ap-table .r { padding-left: 6px; }
  .ap-table .sub { font-size: 10.5px; }
  .ap-name .sub { white-space: normal; }
  .ap-th { gap: 6px; }
  .ap-cards-l { display: none; }
}
.vp { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); margin: 18px 0 6px; border: 1px solid var(--rim); border-radius: 16px; background: linear-gradient(180deg, rgba(var(--vault-rgb), 0.72), rgba(var(--vault-rgb), 0.32)); }
.vp-half { display: flex; flex-direction: column; min-width: 0; padding: 18px 20px 12px; }
.vp .mc-top h2.mc-where { margin: 0; font-size: 18px; }
.vp-ico { display: inline-grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 8px; color: var(--gilt-ink); background: rgba(var(--gilt-rgb), 0.15); }
.vp-ico svg { width: 17px; height: 17px; }
.vp-rank, .vp-cls { font-size: 13px; font-weight: 500; color: var(--haze); white-space: nowrap; }
.vp .mc-where .avatar { width: 30px; height: 30px; font-size: 13px; }
/* a link out to 6529.io: blue, not a state (green and red are the machines') */
.mc-pill.vp-linked { color: var(--mid); background: rgba(var(--mid-rgb), 0.13); }
.mc-pill-none { color: var(--haze); }
.vp .mc-nums { grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 0; }
/* a long number shrinks to fit its cell (32,137,736 on a phone), a short one keeps the full size */
.vp .mc-nums > div { container-type: inline-size; min-width: 0; }
.vp .mc-nums b { font-size: min(27px, calc(100cqi / (var(--len, 6) * 0.62))); line-height: 31px; white-space: nowrap; } /* fixed line keeps the labels level */
.vp .mc-nums span { display: inline-flex; align-items: center; gap: 3px; }
.vp-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; margin: 0; border-top: 1px solid var(--rim); }
.vp-list > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; padding: 8px 0; border-bottom: 1px solid var(--rim); font-size: 14.5px; }
.vp-list dt { display: inline-flex; align-items: center; gap: 4px; color: var(--haze); white-space: nowrap; }
.vp-list dd { margin: 0; font-weight: 600; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.vp-list dd .sub { display: inline; color: var(--haze); font-weight: 400; font-size: 12px; margin-left: 3px; }
.vp-list dd a { color: var(--parchment); }
.vp-note { margin: 4px 0 12px; color: var(--haze); font-size: 14px; }
.vp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; margin: -6px 0 10px; font-size: 13px; color: var(--parchment-dim); }
.vp-meta b { color: var(--parchment); font-weight: 600; }
.vp-meta b.mc-old-v { color: var(--warn); }
.vp-meta .vp-left, .vp-meta .vp-left b, .vp-meta .vp-left a { color: var(--warn); }
/* not voting while on the chain's list: when it would drop off it */
.vp-drop { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 12px; padding: 9px 12px; border: 1px solid rgba(var(--warn-rgb), 0.32); border-radius: 10px; background: rgba(var(--warn-rgb), 0.07); color: var(--parchment-dim); font-size: 13px; line-height: 1.45; }
.vp-drop svg { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--warn); }
/* how TDH counts (the network page): a label column and its text, then a worked example */
.tdh-list { display: grid; gap: 0; margin: 14px 0 0; border-top: 1px solid var(--rim); }
.tdh-list > div { display: grid; grid-template-columns: minmax(130px, 200px) minmax(0, 1fr); gap: 6px 22px; padding: 14px 0; border-bottom: 1px solid var(--rim); }
.tdh-list dt { color: var(--parchment); font-weight: 600; }
.tdh-list dd { margin: 0; color: var(--parchment-dim); line-height: 1.55; max-width: 72ch; }
.tdh-example { margin: 16px 0 6px; padding: 12px 14px; border-left: 3px solid var(--gilt); background: rgba(var(--gilt-rgb), 0.06); border-radius: 0 10px 10px 0; color: var(--parchment); max-width: 78ch; }
@media (max-width: 640px) { .tdh-list > div { grid-template-columns: 1fr; gap: 4px; } }
a.mc-pill.vp-linked { text-decoration: none; }
a.mc-pill.vp-linked:hover { background: rgba(var(--mid-rgb), 0.22); }
a.mc-pill.vp-linked:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.vp-arrow { font-size: 11px; margin-left: -2px; }
/* the seasons: a column each, filled by the share of its cards held; a full set wears gold */
.vp-szn { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 3px; height: 44px; margin-top: 12px; }
.vp-szn i { position: relative; display: block; border-radius: 4px; background: rgba(var(--rim2-rgb), 0.35); overflow: hidden; cursor: help; }
.vp-szn i b { position: absolute; left: 0; right: 0; bottom: 0; background: var(--series-blue); }
.vp-szn i.full b { background: var(--gilt); }
.vp-days { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 3px; height: 44px; margin-top: 12px; }
.vp-days > a { position: relative; display: block; border-radius: 3px; background: rgba(var(--rim2-rgb), 0.35); overflow: hidden; }
.vp-days > a > b { position: absolute; left: 0; right: 0; bottom: 0; }
.vp-days > a > i.vp-miss { position: absolute; left: 0; right: 0; top: 0; background: var(--warn-mark); }
.vp-days > a:hover { filter: brightness(1.25); }
.vp-days > a:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.vp-szn-x > span:first-child, .vp-szn-x > span:last-child { flex: none; white-space: nowrap; }
.vp-szn-x > span:nth-child(2) { text-align: center; }
.vp-szn-x { display: flex; justify-content: space-between; gap: 8px; margin-top: 4px; font-size: 11px; color: var(--haze); }
.vp .vp-out { margin-top: auto; border-top: 0; text-decoration: none; }
.vp-none .vp-note { margin-top: 0; padding-top: 12px; border-top: 1px solid var(--rim); }
.vp-bridge { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; cursor: help; }
.vp-bridge::before { content: ""; position: absolute; top: 18px; bottom: 18px; left: 50%; border-left: 1px dashed var(--rim-2); }
.vp-bridge span { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--night); border: 1px solid var(--rim-2); color: var(--gilt-ink); }
.vp-bridge span svg { width: 18px; height: 18px; }
.vp-bridge small { position: relative; padding: 2px 4px; background: var(--night); color: var(--haze); font: 11px var(--mono, monospace); writing-mode: vertical-rl; transform: rotate(180deg); }
@media (max-width: 1100px) and (min-width: 901px) {
  .vp-list { grid-template-columns: minmax(0, 1fr); } /* halves too narrow for two columns of rows */
}
@media (max-width: 900px) {
  .vp { grid-template-columns: minmax(0, 1fr); }
  .vp-bridge { flex-direction: row; height: 40px; }
  .vp-bridge::before { top: 50%; bottom: auto; left: 18px; right: 18px; border-left: 0; border-top: 1px dashed var(--rim-2); }
  .vp-bridge small { writing-mode: horizontal-tb; transform: none; }
}
@media (max-width: 640px) {
  .vp-half { padding: 16px 14px 10px; }
  .vp .mc-nums b { font-size: min(22px, calc(100cqi / (var(--len, 6) * 0.62))); line-height: 26px; }
  /* a label that wraps keeps its (i) right after the last word instead of pushing it to the far edge */
  .vp .mc-nums > div > span { display: block; }
  .vp .mc-nums > div > span > .hint { display: inline-flex; vertical-align: -3px; margin-left: 3px; }
  .vp .mc-where .vp-cls { display: none; } /* no room for the kind of account on a phone; the name gets the space */
  .vp-list { grid-template-columns: minmax(0, 1fr); }
  .vp-rank { display: none; }
}
.mc-sec { margin: 30px 0 8px; }
.mc-sec h2 { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.mc-grid { display: flex; flex-direction: column; gap: 12px; }
/* a machine as a band across the page */
.mc.mc-row { display: grid; grid-template-columns: minmax(250px, 330px) repeat(2, minmax(120px, 1fr)) minmax(210px, 1.15fr) 56px; align-items: stretch; padding: 0; background: linear-gradient(90deg, rgba(var(--vault-rgb), 0.72), rgba(var(--vault-rgb), 0.36)); }
.mc-row .mc-id { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 0; padding: 10px 22px; border-right: 1px solid var(--rim); }
.mc-row .mc-id .mc-foot { margin: 0; }
.mc-cell { position: relative; display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 10px 22px; border-right: 1px solid var(--rim); }
.mc-cell > b { display: block; font-size: 27px; line-height: 1.15; font-weight: 700; }
.mc-cell > span:not(.mc-pill) { font-size: 12px; color: var(--haze); }
.mc-cell b .mc-check { font-size: inherit; color: inherit; cursor: help; }
.mc-cell .ok { color: var(--ok); } .mc-cell .warn { color: var(--warn); } .mc-cell .bad { color: var(--bad); } .mc-cell .muted { color: var(--haze); }
.mc-last > .mc-pill { position: absolute; top: 10px; right: 14px; }
.mc-go { display: grid; place-items: center; padding: 0; border: 0; border-radius: 0 15px 15px 0; background: none; color: var(--gilt-ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.mc-go svg { width: 16px; height: 16px; transition: transform 0.15s; }
.mc-go:hover { background: rgba(var(--gilt-rgb), 0.08); }
.mc-go:hover svg { transform: translateX(2px); }
.mc-go:focus-visible { outline: 2px solid var(--focus); outline-offset: -3px; }
.mc-go-l { display: none; }
@media (max-width: 1000px) {
  /* the place and its facts on top (its pill in the corner), the figures below, the details last */
  .mc.mc-row { position: relative; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* room for the widest pill in the corner ("Stav neznámý"); the machine's share goes to the line below */
  .mc-row .mc-id { grid-column: 1 / -1; padding: 14px 16px; border-right: 0; border-bottom: 1px solid var(--rim); }
  .mc-row .mc-id .mc-where { padding-right: 136px; }
  .mc-row .mc-where .mc-part { display: none; }
  .mc-foot .mc-part-m { display: inline; }
  .mc-cell { padding: 12px 16px; }
  .mc-cell > b { font-size: 23px; }
  .mc-last { position: static; border-right: 0; }
  .mc-last > .mc-pill { top: 14px; right: 14px; }
  .mc-go { grid-column: 1 / -1; display: flex; justify-content: center; gap: 6px; padding: 10px 0; border-top: 1px dashed var(--rim); border-radius: 0 0 15px 15px; }
  .mc-go-l { display: inline; }
}
.mc { padding: 18px 18px 10px; border: 1px solid var(--rim); border-radius: 16px; background: linear-gradient(180deg, rgba(var(--vault-rgb), 0.72), rgba(var(--vault-rgb), 0.32)); }
.mc.is-ok { border-color: rgba(var(--ok-rgb), 0.38); }
.mc.is-warn { border-color: rgba(var(--warn-rgb), 0.55); }
.mc.is-off { border-color: rgba(var(--bad-rgb), 0.55); }
.mc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.mc-where { display: flex; align-items: center; gap: 9px; min-width: 0; margin: 0; font-size: 18px; font-weight: 650; }
.mc-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc { display: inline-grid; place-items: center; flex: none; min-width: 30px; height: 22px; padding: 0 6px; border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--night); background: var(--parchment); }
.cc.cc-rg { color: var(--mid); background: none; box-shadow: inset 0 0 0 1.5px var(--mid); cursor: help; }
.mc-su { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 8px; }
.mc-su svg { width: 16px; height: 16px; }
.mc-su-home { color: var(--gilt-ink); background: rgba(var(--gilt-rgb), 0.15); }
.mc-su-cloud { color: var(--sky); background: rgba(var(--sky-rgb), 0.15); }
.mc-su-rack { color: var(--violet); background: rgba(var(--violet-rgb), 0.15); }
.mc-pill { display: inline-flex; align-items: center; gap: 7px; flex: none; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; color: var(--haze); background: rgba(var(--rim2-rgb), 0.3); }
.mc-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent); }
.mc-pill-online { color: var(--ok); background: rgba(var(--ok-rgb), 0.13); }
.mc-pill-offline { color: var(--bad); background: rgba(var(--bad-rgb), 0.13); }
.mc-pill-tdh { color: var(--warn); background: rgba(var(--warn-rgb), 0.13); }
/* a dot per machine in a validator's pill, and in its tooltip */
.vp-dots { display: inline-flex; align-items: center; gap: 6px; }
.vp-d-online { color: var(--ok); } .vp-d-offline { color: var(--bad); } .vp-d-tdh { color: var(--warn); } .vp-d-unknown, .vp-d-out { color: var(--haze); }
.vp-more { font-size: 11px; font-weight: 600; }
/* a machine's share of the account's weight, beside its name */
.mc-part { margin-left: 4px; font-size: 13px; font-weight: 400; color: var(--parchment-dim); white-space: nowrap; cursor: help; }
.mc-part b { color: var(--parchment); font-weight: 600; }
.mc-part-m { display: none; }
.mc-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 0; border-top: 1px solid var(--rim); border-bottom: 1px solid var(--rim); }
.mc-nums b { display: block; font-size: 27px; line-height: 1.15; font-weight: 700; }
.mc-nums span { font-size: 12px; color: var(--haze); }
.mc-nums b .mc-check { font-size: inherit; color: inherit; cursor: help; }
.mc-nums .ok { color: var(--ok); } .mc-nums .warn { color: var(--warn); } .mc-nums .bad { color: var(--bad); } .mc-nums .muted { color: var(--haze); }
.mc-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 10px; font-size: 13px; color: var(--parchment-dim); }
.mc-foot b { color: var(--parchment); font-weight: 600; }
.mc-foot b.mc-old-v, .mc-box b.mc-old-v { color: var(--warn); cursor: help; }
.mc-foot b.mono:not(.mc-old-v) { cursor: help; }
.mc-pill[title], .mc-pill[data-tip] { cursor: help; }
.mc-pill:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.mc-more { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 10px; padding: 9px 0 4px; font: inherit; font-size: 13px; font-weight: 600; color: var(--gilt-ink); background: none; border: 0; border-top: 1px dashed var(--rim); cursor: pointer; }
.mc-more svg { width: 12px; height: 12px; transition: transform 0.15s; }
.mc-more:hover svg { transform: translateX(2px); }
.mc-more:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.mc-dialog { width: min(1000px, 96vw); }
.mc-d .gd-head h2 { font-size: 24px; }
.mc-d .gd-head .gd-close { margin-left: auto; }
.mc-lv { font-size: 14px; }
.mc-sub { margin: 0 0 16px; color: var(--parchment-dim); font-size: 14px; }
.mc-boxes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; overflow-y: auto; }
.mc-box { padding: 13px 15px; border: 1px solid var(--rim); border-radius: 12px; background: rgba(var(--vault-rgb), 0.55); }
.mc-box dt { color: var(--haze); font-size: 12px; }
.mc-box dd { margin: 4px 0 0; font-size: 21px; font-weight: 650; }
.mc-box small { display: block; margin-top: 2px; color: var(--haze); font-size: 12px; font-weight: 500; }
.mc-box small.mc-inline { display: inline; }
.mc-box .ok { color: var(--ok); } .mc-box .warn { color: var(--warn); } .mc-box .bad { color: var(--bad); }
.mc-box .mono { font-size: 17px; }
.mc-wide { grid-column: span 2; }
.mc-bar { display: flex; gap: 2px; height: 8px; margin-top: 10px; border-radius: 4px; overflow: hidden; }
.mc-bar i:nth-child(1) { background: var(--ok); } .mc-bar i:nth-child(2) { background: var(--mid); } .mc-bar i:nth-child(3) { background: var(--warn-mark); } .mc-bar i:nth-child(4) { background: var(--bad); }
.mc-lag { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; font-size: 11.5px; color: var(--haze); }
.mc-meters { display: flex; flex-direction: column; gap: 7px; font-size: 14px !important; }
.mc-meter { display: grid; grid-template-columns: 60px minmax(0, 1fr) 46px; align-items: center; gap: 10px; font-weight: 500; }
.mc-meter span:first-child { color: var(--haze); font-size: 12px; }
.mc-meter b { text-align: right; font-weight: 650; }
.mc-mbar { height: 8px; border-radius: 4px; background: rgba(var(--rim2-rgb), 0.4); overflow: hidden; }
.mc-mbar i { display: block; height: 100%; background: var(--ok); border-radius: 4px; }
/* the last 30 days, a cell a day: signed, not, can still, not on the roster, no record */
.mc-strip { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 3px; margin-top: 12px; }
.mc-strip > * { display: block; height: 22px; border-radius: 3px; }
.mc-strip a:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.mc-strip a:hover { filter: brightness(1.25); }
.st-ok { background: var(--ok); }
.st-bad { background: var(--bad); }
.st-warn { background: var(--warn-mark); }
.st-off { box-shadow: inset 0 0 0 1.5px rgba(var(--haze-rgb), 0.35); }
.st-none { background: repeating-linear-gradient(135deg, rgba(var(--haze-rgb), 0.22) 0 2px, transparent 2px 5px); }
.mc-strip-axis { display: flex; justify-content: space-between; margin-top: 5px; font-size: 11.5px; color: var(--haze); }
.mc-strip-key { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-size: 12px; color: var(--parchment-dim); }
.mc-strip-key span { display: inline-flex; align-items: center; gap: 6px; }
.mc-strip-key i { width: 10px; height: 10px; border-radius: 2px; }
@media (max-width: 760px) {
  .mc-grid { grid-template-columns: 1fr; }
  .mc-boxes { grid-template-columns: 1fr 1fr; }
  .mc-d .gd-head h2 { font-size: 20px; }
}
@media (max-width: 480px) {
  .mc-boxes { grid-template-columns: 1fr; }
  .mc-wide { grid-column: auto; }
}

/* on the home screen: a phone's overview offers it once; the iPhone's steps in a dialog */
.install-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px 12px; align-items: center; margin: 0 0 18px; padding: 12px 14px; border: 1px solid var(--rim); border-radius: 14px; background: var(--vault); }
.install-card img { border-radius: 10px; }
.install-card h2 { margin: 0 0 2px; font-size: 15px; }
.install-card p { margin: 0; color: var(--haze); font-size: 13px; line-height: 1.45; }
.install-b { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; }
.install-b .link-btn { color: var(--haze); font-size: 14px; }
.foot .install-link { font-size: 15px; }
.foot .install-link[hidden] { display: none; }
.install-steps { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 10px; }
.install-steps li { line-height: 1.5; }
.install-share { width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; color: var(--gilt-ink); }
/* opened from the home screen, an iPhone draws its clock over the page's top edge */
@media (display-mode: standalone) {
  body { padding-top: env(safe-area-inset-top); }
}
/* the theme switch: a sun to go light, a moon to go back; in the strip on top, on phones beside the magnifier */
.theme-btn { padding-left: 8px; padding-right: 8px; }
.theme-m { display: none; }
@media (max-width: 720px) {
  .top-info #theme { display: none; }
  .theme-m { order: 2; display: grid; place-items: center; flex: none; width: 34px; height: 34px; padding: 0; border: 1px solid var(--rim); border-radius: 50%; background: none; color: var(--haze); cursor: pointer; }
  .theme-m svg { width: 16px; height: 16px; }
  .top.is-searching .theme-m { display: none; }
}
.theme-btn svg { color: var(--haze); }
.theme-btn:hover { border-color: var(--rim-2); color: var(--parchment); }
.theme-btn .th-moon { display: none; }
:root[data-theme="light"] .theme-btn .th-sun { display: none; }
:root[data-theme="light"] .theme-btn .th-moon { display: block; }
/* the mark's brackets in the theme's quiet ink, its square in the accent */
.brand-mark path, .join-mark path { stroke: var(--logo-line); }
.brand-mark rect, .join-mark rect { fill: var(--gilt); }
/* light, opened from an iPhone's home screen: its clock is white, so a dark strip goes under it */
@media (display-mode: standalone) {
  :root[data-theme="light"] body::before { content: ""; position: fixed; z-index: 100; inset: 0 0 auto 0; height: env(safe-area-inset-top); background: #13213a; }
}
/* light: the pending blue is a mark colour; as text it goes deeper */
:root[data-theme="light"] .vchip-chain { color: var(--mid); }
/* 6529's tile stays black in both themes, so its mark stays light (the page's ink would vanish on it) */
:root[data-theme="light"] .g6529 { color: #fff; }
:root[data-theme="light"] .g6529:hover { color: var(--gilt); }
/* light: quiet ink is already as light as small text may go, so it isn't faded further */
:root[data-theme="light"] :is(.bo-prints-s, .dt-ticks i, .lz-plot.is-sized .lz-eq-l, .title-tabs nav a, .my-chip-a i) { opacity: 1; }
/* light: a switch that is off is a grey track with a white knob */
:root[data-theme="light"] .nt-sw:not(:checked) { background: var(--rim-2); }
:root[data-theme="light"] .nt-sw::after { background: #fff; box-shadow: 0 1px 2px rgba(var(--shadow-rgb), 0.35); }
