/* UINI — uini.run
   The explorer and the network status page.
   The visual language is the one of the official site (uini.uno): a dark
   instrument panel, phosphor amber for anything live, monospaced numerals
   for anything measured, hairlines instead of shadows.

   No build step and no web fonts: the site is a handful of static files
   that the same tarball deploys to four hosts, so everything here is
   hand-written CSS over the same token names the official site uses. */

/* ── tokens ─────────────────────────────────────────────────────── */
:root {
	color-scheme: dark;

	--void: #06080a;
	--substrate: #0c0e12;
	--panel: #13161b;
	--panel-hi: #1a1e24;

	--rule: #1f242b;
	--rule-hi: #2b313a;

	--chalk: #e6e9ed;
	--graphite: #9aa3ad;
	--ash: #5c646e;

	--phosphor: #f0b34e;
	--phosphor-dim: #b07a2e;
	--phosphor-glow: #ffd687;
	--phosphor-deep: #8a5a1c;

	--lattice: #2a3540;
	--lattice-hi: #3d4c5c;

	--good: #5fd08a;
	--bad: #e2705f;

	--font-display: "Inter Tight", "Inter", "Helvetica Neue", system-ui, sans-serif;
	--font-body: "Inter", "Helvetica Neue", "PingFang SC", system-ui, sans-serif;
	--font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;

	--container: 72rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background:
		linear-gradient(to right, rgba(240, 179, 78, 0.022) 1px, transparent 1px) 0 0 / 80px 80px,
		linear-gradient(to bottom, rgba(240, 179, 78, 0.022) 1px, transparent 1px) 0 0 / 80px 80px,
		radial-gradient(ellipse 80% 50% at 50% -10%, rgba(240, 179, 78, 0.05), transparent 70%),
		var(--void);
	background-attachment: fixed;
	color: var(--graphite);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: var(--chalk);
	margin: 0;
}
h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h3 { font-size: 1rem; letter-spacing: -0.01em; }

p { margin: 0.9em 0; }

a { color: var(--phosphor); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--phosphor-glow); }

strong { color: var(--chalk); font-weight: 600; }
em { color: var(--phosphor); font-style: normal; }

code, .mono {
	font-family: var(--font-mono);
	font-size: 0.85em;
	color: var(--phosphor);
	background: var(--panel);
	padding: 0.14em 0.4em;
	border: 1px solid var(--rule);
	overflow-wrap: anywhere;
}

hr { border: 0; border-top: 1px solid var(--rule); margin: 3rem 0; }

::selection { background: var(--phosphor); color: var(--void); }

/* ── utilities ──────────────────────────────────────────────────── */

.eyebrow {
	font-family: var(--font-mono);
	font-size: 0.66rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ash);
}
.eyebrow-bright { color: var(--phosphor); }

.readout {
	font-family: var(--font-mono);
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.02em;
}
.readout-xl { font-size: clamp(2rem, 5vw, 3rem); font-weight: 600; line-height: 1.05; }
.readout-lg { font-size: clamp(1.35rem, 3vw, 1.9rem); font-weight: 600; line-height: 1.15; }
.readout-md { font-size: 1.05rem; font-weight: 500; }
.readout-sm { font-size: 0.85rem; }

.phosphor { color: var(--phosphor); }
.phosphor-dim { color: var(--phosphor-dim); }
.chalk { color: var(--chalk); }
.graphite { color: var(--graphite); }
.ash { color: var(--ash); }

.panel {
	background: var(--panel);
	border: 1px solid var(--rule);
}
.panel-hi {
	background: linear-gradient(180deg, var(--panel-hi), var(--panel));
	border: 1px solid var(--rule-hi);
}
.panel-glow {
	background: linear-gradient(180deg, var(--panel-hi), var(--panel));
	border: 1px solid var(--phosphor-deep);
	box-shadow:
		inset 0 1px 0 rgba(240, 179, 78, 0.14),
		0 0 30px -12px rgba(240, 179, 78, 0.28);
}

/* The corner marks of the official site: a panel that is an instrument
   reads as an instrument because of its edges. */
.corner-frame { position: relative; }
.corner-frame::before,
.corner-frame::after {
	content: "";
	position: absolute;
	width: 11px; height: 11px;
	border-color: var(--phosphor);
	opacity: 0.55;
	transition: opacity 0.2s ease;
	pointer-events: none;
}
.corner-frame::before { top: -1px; left: -1px; border-top: 1px solid; border-left: 1px solid; }
.corner-frame::after { bottom: -1px; right: -1px; border-bottom: 1px solid; border-right: 1px solid; }
.corner-frame:hover::before, .corner-frame:hover::after { opacity: 1; }

.chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.14em 0.55em;
	border: 1px solid var(--rule-hi);
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.04em;
	color: var(--graphite);
	background: var(--substrate);
}
.chip-phosphor { border-color: var(--phosphor-dim); color: var(--phosphor); }
.chip-ok { border-color: var(--good); color: var(--good); }
.chip-bad { border-color: var(--bad); color: var(--bad); }

.dot {
	display: inline-block;
	width: 6px; height: 6px;
	border-radius: 50%;
	background: var(--phosphor);
	animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes blink { 0%, 80%, 100% { opacity: 0.95; } 40% { opacity: 0.25; } }
.blink { animation: blink 1.6s ease-in-out infinite; }

/* ── chrome ─────────────────────────────────────────────────────── */

.topbar {
	border-bottom: 1px solid var(--rule);
	background: rgba(6, 8, 10, 0.9);
}
.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	height: 1.75rem;
	font-family: var(--font-mono);
	font-size: 0.66rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ash);
}
.topbar-right { display: flex; align-items: center; gap: 0.6rem; }

.masthead {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid var(--rule);
	background: rgba(6, 8, 10, 0.85);
	backdrop-filter: blur(12px);
}
.masthead-inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	height: 3.5rem;
	flex-wrap: wrap;
}
.brand {
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--chalk);
	font-size: 1.05rem;
}
.brand:hover { color: var(--phosphor); }
.brand-sub {
	font-family: var(--font-mono);
	font-size: 0.66rem;
	font-weight: 400;
	letter-spacing: 0.14em;
	color: var(--ash);
	margin-left: 0.5rem;
	text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: 1.4rem; font-size: 0.875rem; }
.nav a {
	color: var(--graphite);
	padding: 0.3rem 0;
	border-bottom: 1px solid transparent;
}
.nav a:hover { color: var(--phosphor); }
.nav a[aria-current="page"] { color: var(--phosphor); border-bottom-color: var(--phosphor); }
.nav-sep { width: 1px; height: 1rem; background: var(--rule-hi); }
.nav-ext { font-family: var(--font-mono); font-size: 0.75rem; color: var(--ash) !important; }
.nav-ext:hover { color: var(--phosphor) !important; }

.netswitch { display: flex; margin-left: auto; border: 1px solid var(--rule-hi); }
.netbtn {
	font: inherit;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	cursor: pointer;
	background: transparent;
	color: var(--ash);
	border: 0;
	border-right: 1px solid var(--rule-hi);
	padding: 0.3rem 0.75rem;
}
.netbtn:last-child { border-right: 0; }
.netbtn:hover { color: var(--chalk); }
.netbtn[aria-selected="true"] { background: var(--phosphor); color: var(--void); }

main { padding: 3rem 0 5rem; }

footer {
	border-top: 1px solid var(--rule);
	margin-top: 4rem;
	padding: 2.5rem 0 3rem;
}
.footer-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1.5rem;
	font-size: 0.875rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-tagline {
	margin-top: 1.75rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--rule);
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

/* ── page header ────────────────────────────────────────────────── */

.page-head { margin-bottom: 2.5rem; }
.page-head .eyebrow { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.page-head .eyebrow::before { content: ""; width: 2rem; height: 1px; background: var(--phosphor); }
.page-head p { max-width: 46rem; margin-top: 1rem; }

/* ── panels and readouts ────────────────────────────────────────── */

.panel-block { padding: 1.5rem 1.75rem; margin-bottom: 1.25rem; }
.panel-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1.25rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--rule);
}

.grid { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }

.cell { background: var(--panel); padding: 1.15rem 1.25rem; }
.cell-hi { background: linear-gradient(180deg, var(--panel-hi), var(--panel)); }
.cell .eyebrow { margin-bottom: 0.55rem; }
.cell .v {
	font-family: var(--font-mono);
	font-variant-numeric: tabular-nums;
	font-size: 1.35rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--chalk);
	overflow-wrap: anywhere;
}
.cell .v.lg { font-size: clamp(1.5rem, 3vw, 2rem); }
.cell .n { font-size: 0.8rem; color: var(--ash); margin-top: 0.35rem; }

.stat-list { display: grid; gap: 0.15rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.stat-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.55rem 0;
	border-bottom: 1px solid var(--rule);
}
.stat-row .k { color: var(--ash); font-size: 0.85rem; }
.stat-row .v {
	font-family: var(--font-mono);
	font-variant-numeric: tabular-nums;
	color: var(--chalk);
	font-size: 0.9rem;
	text-align: right;
	overflow-wrap: anywhere;
}

.stamp {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	color: var(--ash);
	margin: 1rem 0 0;
}

/* ── forms ──────────────────────────────────────────────────────── */

form.search { display: flex; gap: 0.6rem; flex-wrap: wrap; }
input[type="text"], input:not([type]) {
	flex: 1 1 22rem;
	font: inherit;
	font-size: 0.92rem;
	padding: 0.6rem 0.8rem;
	border-radius: 0;
	border: 1px solid var(--rule-hi);
	background: var(--substrate);
	color: var(--chalk);
	font-family: var(--font-mono);
}
input:focus { outline: none; border-color: var(--phosphor-dim); }
button.action {
	font: inherit;
	font-family: var(--font-mono);
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	cursor: pointer;
	padding: 0.6rem 1.4rem;
	border: 1px solid var(--phosphor);
	background: var(--phosphor);
	color: var(--void);
}
button.action:hover { background: var(--phosphor-glow); border-color: var(--phosphor-glow); }

/* ── tables ─────────────────────────────────────────────────────── */

table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
th {
	text-align: left;
	font-family: var(--font-mono);
	font-size: 0.64rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ash);
	padding: 0.6rem 0.75rem;
	border-bottom: 1px solid var(--rule-hi);
}
td {
	padding: 0.65rem 0.75rem;
	border-bottom: 1px solid var(--rule);
	color: var(--graphite);
	vertical-align: top;
}
tbody tr:hover td { background: rgba(240, 179, 78, 0.025); }
td.empty { color: var(--ash); padding: 1.25rem 0.75rem; }
td.num, th.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.table-wrap { overflow-x: auto; }

/* ── the join guide ─────────────────────────────────────────────── */

.guide-layout { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 60rem) {
	.guide-layout { grid-template-columns: 12rem 1fr; align-items: start; }
	.guide-nav { position: sticky; top: 5rem; }
}
.guide-nav .eyebrow { margin-bottom: 0.75rem; }
.guide-nav a {
	display: block;
	font-size: 0.82rem;
	color: var(--ash);
	padding: 0.28rem 0 0.28rem 0.75rem;
	border-left: 1px solid var(--rule);
}
.guide-nav a:hover { color: var(--graphite); }
.guide-nav a[aria-current="true"] { color: var(--phosphor); border-left-color: var(--phosphor); }

.guide-section { margin-bottom: 2.75rem; scroll-margin-top: 5.5rem; }
.guide-section > h2 { margin-bottom: 0.9rem; }
.guide-section > h3 { margin: 1.75rem 0 0.6rem; color: var(--chalk); }

.callout {
	border: 1px solid var(--rule-hi);
	border-left: 2px solid var(--ash);
	padding: 1rem 1.15rem;
	margin: 1.25rem 0;
	font-size: 0.88rem;
	line-height: 1.65;
	background: var(--substrate);
}
.callout p:first-child { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }
.callout.warn { border-left-color: var(--phosphor); }
.callout.note { border-left-color: var(--lattice-hi); }

ul.plain, ol.plain { margin: 0.6rem 0; padding-left: 1.25rem; font-size: 0.9rem; line-height: 1.65; }
ul.plain li, ol.plain li { margin-bottom: 0.5rem; }
ol.plain li::marker { color: var(--phosphor-dim); font-family: var(--font-mono); }

ol.steps { margin: 0.6rem 0; padding-left: 1.4rem; font-size: 0.9rem; line-height: 1.65; }
ol.steps > li { margin-bottom: 1.1rem; }
ol.steps > li::marker { color: var(--phosphor); font-family: var(--font-mono); font-size: 0.85rem; }

pre {
	background: var(--substrate);
	border: 1px solid var(--rule);
	padding: 0.85rem 1rem;
	overflow-x: auto;
	margin: 0.6rem 0;
}
pre code { background: none; border: 0; padding: 0; color: var(--graphite); font-size: 0.8rem; line-height: 1.6; }
pre.tpl { white-space: pre-wrap; }

.kv { display: grid; grid-template-columns: max-content 1fr; gap: 0.35rem 1.25rem; font-size: 0.88rem; }
.kv dt { color: var(--ash); }
.kv dd { margin: 0; overflow-wrap: anywhere; font-family: var(--font-mono); font-size: 0.85rem; }

.dl { border: 1px solid var(--rule-hi); padding: 1rem 1.15rem; background: var(--substrate); margin: 0.75rem 0 1.25rem; }
.dl p { margin: 0.35rem 0; }
.dlbtn {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 0.85rem;
	color: var(--void);
	background: var(--phosphor);
	padding: 0.5rem 1.1rem;
}
.dlbtn:hover { background: var(--phosphor-glow); color: var(--void); }

.note { color: var(--graphite); font-size: 0.88rem; }
.hint { color: var(--ash); font-size: 0.82rem; }
.err { color: var(--bad); font-size: 0.88rem; }

.result-block { border-top: 1px solid var(--rule); padding-top: 1.25rem; margin-top: 1.25rem; }
.result-block h3 { margin-bottom: 0.75rem; }

@media (max-width: 40rem) {
	.masthead-inner { height: auto; padding-top: 0.6rem; padding-bottom: 0.6rem; gap: 0.75rem; }
	.nav { gap: 1rem; font-size: 0.82rem; order: 3; width: 100%; overflow-x: auto; }
	.netswitch { margin-left: auto; }
	.topbar-right .optional { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   The official site's vocabulary, brought over
   ───────────────────────────────────────────────────────────────────
   uini.uno draws its pages from a small set of figures: an oversized
   monospace wordmark with corner marks, a lattice of tiles for the
   live picture, numbered rows divided by hairlines, section headings
   that carry a section number, and a closing statement in the middle
   of the page. These are the same figures, drawn by hand.
   ═══════════════════════════════════════════════════════════════════ */

/* ── the wordmark ─────────────────────────────────────────────── */

.hero {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	align-items: start;
}
@media (min-width: 62rem) {
	.hero { grid-template-columns: 1.15fr 0.85fr; }
}

.wordmark {
	position: relative;
	font-family: var(--font-mono);
	font-weight: 700;
	font-size: clamp(3rem, 9vw, 5.25rem);
	letter-spacing: -0.05em;
	line-height: 1;
	color: var(--phosphor);
	margin: 1.75rem 0 0;
	padding: 0.35rem 0;
}
.wordmark .mark {
	position: absolute;
	width: 0.85rem;
	height: 0.85rem;
	border-color: var(--phosphor);
	opacity: 0.5;
}
.wordmark .mark.tl { top: 0; left: 0; border-top: 1px solid; border-left: 1px solid; }
.wordmark .mark.tr { top: 0; right: 0; border-top: 1px solid; border-right: 1px solid; }
.wordmark .mark.bl { bottom: 0; left: 0; border-bottom: 1px solid; border-left: 1px solid; }
.wordmark .mark.br { bottom: 0; right: 0; border-bottom: 1px solid; border-right: 1px solid; }
.wordmark .tag {
	position: absolute;
	font-family: var(--font-mono);
	font-size: 0.66rem;
	letter-spacing: 0.12em;
	color: var(--phosphor-dim);
}
.wordmark .tag.tl { top: -0.2rem; left: -2.25rem; }
.wordmark .tag.br { bottom: -0.2rem; right: -2.25rem; color: var(--ash); }

.hero-lede {
	font-size: 1.05rem;
	line-height: 1.65;
	color: var(--graphite);
	max-width: 34rem;
	margin-top: 1.75rem;
}
.hero-lede strong { color: var(--chalk); font-weight: 500; }

/* ── the lattice ───────────────────────────────────────────────── */

/* A tile is a cell of the live picture. The official site uses it for
 * the block lattice; here it is the node mesh: one tile per node, lit
 * when that node answers its probe. */
.lattice {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(4.5rem, 1fr));
	gap: 0.4rem;
}
.tile {
	aspect-ratio: 1;
	position: relative;
	border: 1px solid var(--lattice);
	background: rgba(255, 255, 255, 0.01);
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-mono);
	font-size: 0.6rem;
	color: var(--ash);
}
.tile::before {
	content: "";
	position: absolute;
	inset: 22%;
	border: 1px solid var(--lattice-hi);
	transform: rotate(45deg);
	transition: all 0.3s ease;
}
.tile::after {
	content: "";
	position: absolute;
	top: 50%; left: 0; right: 0;
	height: 1px;
	background: var(--lattice);
	transition: background 0.3s ease;
}
.tile:hover { border-color: var(--phosphor-dim); background: rgba(240, 179, 78, 0.04); }
.tile:hover::before { border-color: var(--phosphor); box-shadow: 0 0 12px rgba(240, 179, 78, 0.4); }
.tile-lit {
	border-color: var(--phosphor-dim);
	background: rgba(240, 179, 78, 0.06);
	color: var(--phosphor);
}
.tile-lit::before { border-color: var(--phosphor); box-shadow: 0 0 12px rgba(240, 179, 78, 0.35); }
.tile-lit::after { background: var(--phosphor); opacity: 0.4; }
.tile-down { border-color: var(--bad); color: var(--bad); }
.tile-down::before { border-color: var(--bad); }

/* ── numbered rows ────────────────────────────────────────────── */

/* The official site's five iron rules: an index numeral, a name, an
 * English name, a sentence. Here it carries the readouts. */
.rules { border-top: 1px solid var(--rule-hi); }

/* A row is a figure, not a table row: the index numeral, the name, the
 * English name and the measurement on one line, and the explanation
 * under them at full width. The explanation used to be a fifth cell of
 * the same row, where it had the width of the index column and was
 * squeezed into one word per line. */
.rule {
	display: grid;
	grid-template-columns: 2.75rem 1fr;
	grid-template-areas:
		"idx name"
		"idx en"
		"idx note"
		"idx value";
	column-gap: 1.25rem;
	row-gap: 0.3rem;
	align-items: baseline;
	padding: 1.1rem 0.5rem;
	border-bottom: 1px solid var(--rule);
	transition: background 0.2s ease;
}
@media (min-width: 48rem) {
	.rule {
		grid-template-columns: 2.75rem minmax(7rem, 10rem) minmax(6rem, 9rem) 1fr;
		grid-template-areas:
			"idx name en value"
			"idx note note note";
		row-gap: 0.45rem;
	}
}
.rule:hover { background: rgba(240, 179, 78, 0.025); }
.rule .idx {
	grid-area: idx;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	color: var(--phosphor);
	letter-spacing: 0.08em;
	text-align: right;
}
.rule .name { grid-area: name; color: var(--chalk); font-weight: 500; }
.rule .en {
	grid-area: en;
	font-family: var(--font-mono);
	font-size: 0.64rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ash);
}
.rule .value {
	grid-area: value;
	font-family: var(--font-mono);
	font-variant-numeric: tabular-nums;
	color: var(--chalk);
	font-size: 0.95rem;
	text-align: right;
	overflow-wrap: anywhere;
}
.rule .note { grid-area: note; font-size: 0.82rem; color: var(--ash); }

/* ── section headings ─────────────────────────────────────────── */

.section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
	margin: 0 0 1.75rem;
}
.section-head .eyebrow { color: var(--phosphor); margin-bottom: 0.4rem; }
.section-head h2 { font-size: clamp(1.25rem, 2.4vw, 1.75rem); }
.section-head .aside { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ash); }

.rule-hr { border: 0; border-top: 1px solid var(--rule); margin: 3.5rem 0; }

/* ── the settlement strip ──────────────────────────────────────── */

/* The last hours of the settlement chain, one cell each: the newest
 * hour lit, the older ones receding. */
.strip { display: flex; gap: 0.3rem; flex-wrap: wrap; }
.strip-cell {
	flex: 1 1 3.5rem;
	border: 1px solid var(--rule);
	background: var(--panel);
	padding: 0.5rem 0.4rem;
	text-align: center;
	transition: all 0.25s ease;
}
.strip-cell:hover { border-color: var(--phosphor-dim); background: var(--panel-hi); }
.strip-cell .h {
	font-family: var(--font-mono);
	font-size: 0.9rem;
	color: var(--chalk);
	font-variant-numeric: tabular-nums;
}
.strip-cell .t { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.1em; color: var(--ash); text-transform: uppercase; }
.strip-cell.lit { border-color: var(--phosphor-dim); background: rgba(240, 179, 78, 0.07); }
.strip-cell.lit .h { color: var(--phosphor); }
.strip-cell.lit .t { color: var(--phosphor-dim); }

/* ── the closing statement ────────────────────────────────────── */

.manifesto {
	max-width: 42rem;
	margin: 4rem auto 0;
	text-align: center;
}
.manifesto p {
	font-family: var(--font-display);
	font-size: clamp(1.4rem, 3.4vw, 2.1rem);
	line-height: 1.35;
	letter-spacing: -0.025em;
	color: var(--chalk);
	margin: 0;
}
.manifesto .attrib { color: var(--ash); font-size: 0.85rem; margin-top: 1.25rem; letter-spacing: 0.04em; }

/* ── node cards ───────────────────────────────────────────────── */

.node-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
	gap: 1px;
	background: var(--rule);
	border: 1px solid var(--rule);
}
.node-card {
	background: var(--panel);
	padding: 1.15rem 1.25rem;
	position: relative;
}
.node-card .eyebrow { display: flex; align-items: center; gap: 0.5rem; }
.node-card .height {
	font-family: var(--font-mono);
	font-variant-numeric: tabular-nums;
	font-size: 1.6rem;
	font-weight: 600;
	color: var(--chalk);
	letter-spacing: -0.02em;
	margin-top: 0.6rem;
}
.node-card .meta {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 0.5rem;
	font-size: 0.76rem;
	color: var(--ash);
	font-family: var(--font-mono);
}
.node-card .state { position: absolute; top: 1.15rem; right: 1.25rem; }

/* ── the emission curve ────────────────────────────────────────── */

/* The official site's release curve: a step bar, one column per
 * period, the newest one lit. Here the columns are the last twelve
 * settlement hours and their height is what that hour released. */
.step-bar {
	display: flex;
	align-items: flex-end;
	gap: 4px;
	height: 10rem;
}
.step-bar > div {
	flex: 1;
	background: var(--lattice-hi);
	min-height: 3px;
	transition: background 0.3s ease, box-shadow 0.3s ease;
	cursor: default;
}
.step-bar > div:hover { background: var(--phosphor); }
.step-bar > div.lit {
	background: var(--phosphor);
	box-shadow: 0 0 20px rgba(240, 179, 78, 0.3);
}
.step-labels { display: flex; gap: 4px; margin-top: 0.6rem; }
.step-labels span {
	flex: 1;
	text-align: center;
	font-family: var(--font-mono);
	font-size: 0.58rem;
	color: var(--ash);
	letter-spacing: 0.04em;
}
.step-labels span.lit { color: var(--phosphor); }

/* The drafting grid behind the lattice, the way the official site puts
 * one behind its block lattice. */
.lattice { position: relative; }
.lattice::before {
	content: "";
	position: absolute;
	inset: -0.6rem;
	pointer-events: none;
	opacity: 0.6;
	background-image:
		linear-gradient(to right, var(--rule) 1px, transparent 1px),
		linear-gradient(to bottom, var(--rule) 1px, transparent 1px);
	background-size: 32px 32px;
}
.lattice > .tile { z-index: 1; }

/* ── meters ────────────────────────────────────────────────────── */

/* How much of an hour's pool has been taken. The fill is usually a
 * sliver: the pool is sized for every slot, and the slots are there
 * so that a claim is worth the same however many people claim. */
.meter {
	height: 6px;
	background: var(--panel-hi);
	border: 1px solid var(--rule);
	overflow: hidden;
}
.meter > span {
	display: block;
	height: 100%;
	background: var(--phosphor);
	box-shadow: 0 0 12px rgba(240, 179, 78, 0.35);
	transition: width 0.4s ease;
}
