:root {
  --ground: #f2f3f5;
  --card: #fff;
  --sunk: #e9ebee;
  --line: #e1e3e7;
  --ink: #0b0c0e;
  --ink-2: #5a5f69;
  --ink-3: #8f95a0;
  /* gate lights: signals only */
  --go: #10b561;
  --go-ink: #0a8a48;
  --stop: #ec3b3f;
  --stop-ink: #cf2427;
  --f: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --dot: "Doto", var(--f);
  --side: 248px;
}

* { box-sizing: border-box; margin: 0; }
[hidden] { display: none !important; }
html { background: var(--ground); color: var(--ink); font: 400 15px/1.45 var(--f); -webkit-font-smoothing: antialiased; }
body { visibility: visible; animation: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

/* Dot-matrix glyphs from the subway gates: unlit dots underneath, lit ones masked on top */
.led {
  --g: none;
  position: relative; display: inline-block; flex: none; width: 1em; height: 1em;
  background: radial-gradient(circle closest-side, color-mix(in srgb, currentColor 16%, transparent) 72%, transparent 78%) 0 0 / 20% 20%;
}
.led::after { content: ""; position: absolute; inset: 0; background: currentColor; -webkit-mask: var(--g) center / 100% 100% no-repeat; mask: var(--g) center / 100% 100% no-repeat; }
.led.go   { color: var(--go); --g: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 5'%3E%3Ccircle cx='2.5' cy='.5' r='.38'/%3E%3Ccircle cx='3.5' cy='1.5' r='.38'/%3E%3Ccircle cx='.5' cy='2.5' r='.38'/%3E%3Ccircle cx='1.5' cy='2.5' r='.38'/%3E%3Ccircle cx='2.5' cy='2.5' r='.38'/%3E%3Ccircle cx='3.5' cy='2.5' r='.38'/%3E%3Ccircle cx='4.5' cy='2.5' r='.38'/%3E%3Ccircle cx='3.5' cy='3.5' r='.38'/%3E%3Ccircle cx='2.5' cy='4.5' r='.38'/%3E%3C/svg%3E"); }
.led.x    { color: var(--stop); --g: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 5'%3E%3Ccircle cx='.5' cy='.5' r='.38'/%3E%3Ccircle cx='4.5' cy='.5' r='.38'/%3E%3Ccircle cx='1.5' cy='1.5' r='.38'/%3E%3Ccircle cx='3.5' cy='1.5' r='.38'/%3E%3Ccircle cx='2.5' cy='2.5' r='.38'/%3E%3Ccircle cx='1.5' cy='3.5' r='.38'/%3E%3Ccircle cx='3.5' cy='3.5' r='.38'/%3E%3Ccircle cx='.5' cy='4.5' r='.38'/%3E%3Ccircle cx='4.5' cy='4.5' r='.38'/%3E%3C/svg%3E"); }
.led.wait { color: var(--ink-3); --g: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 5'%3E%3Ccircle cx='.5' cy='2.5' r='.38'/%3E%3Ccircle cx='2.5' cy='2.5' r='.38'/%3E%3Ccircle cx='4.5' cy='2.5' r='.38'/%3E%3C/svg%3E"); }
.led.ring { background: none; --g: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 5'%3E%3Ccircle cx='1.5' cy='.5' r='.38'/%3E%3Ccircle cx='2.5' cy='.5' r='.38'/%3E%3Ccircle cx='3.5' cy='.5' r='.38'/%3E%3Ccircle cx='.5' cy='1.5' r='.38'/%3E%3Ccircle cx='4.5' cy='1.5' r='.38'/%3E%3Ccircle cx='.5' cy='2.5' r='.38'/%3E%3Ccircle cx='4.5' cy='2.5' r='.38'/%3E%3Ccircle cx='.5' cy='3.5' r='.38'/%3E%3Ccircle cx='4.5' cy='3.5' r='.38'/%3E%3Ccircle cx='1.5' cy='4.5' r='.38'/%3E%3Ccircle cx='2.5' cy='4.5' r='.38'/%3E%3Ccircle cx='3.5' cy='4.5' r='.38'/%3E%3C/svg%3E"); }

/* Graduation meter: 20 dots, lit ones are how far along the curve it is */
.meter { display: flex; gap: 3px; }
.meter i { flex: 1; aspect-ratio: 1; max-width: 7px; border-radius: 50%; background: var(--sunk); }
.meter i.on { background: var(--ink); }
.meter.full i.on { background: var(--go); }

/* Buttons: flat, 8px corners. Ink = the main action, green/red = buy/sell, line = everything else */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px;
  border: 0; border-radius: 8px; font-size: 14px; font-weight: 600; white-space: nowrap; transition: background-color .15s;
}
.btn.buy { background: var(--go); color: var(--ink); }
.btn.buy:hover { background: #0fa458; }
.btn.sell { background: var(--stop); color: #fff; }
.btn.sell:hover { background: var(--stop-ink); }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { background: #e9ebee; }
.btn.ink { background: var(--ink); color: #fff; }
.btn.ink:hover { background: #2a2c31; }
.btn.line { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.btn.line:hover { background: var(--ground); }

/* Wordmark (the user likes it; keep as is) */
.mark { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; font-stretch: 88%; letter-spacing: -.035em; line-height: 1; }
.mark .led { font-size: 17px; color: var(--ink); }
.mark.sm { display: none; }

/* Shell: fixed sidebar + scrolling main */
.side {
  position: fixed; inset: 0 auto 0 0; width: var(--side); display: flex; flex-direction: column; gap: 28px;
  padding: 22px 16px 20px; background: var(--card); border-right: 1px solid var(--line); overflow-y: auto;
}
.side > .mark { padding: 0 10px; height: 36px; }
.nav { display: grid; gap: 2px; }
.nav a { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 10px; border-radius: 8px; font-weight: 500; color: var(--ink-2); }
.nav a:hover { background: var(--ground); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--ground); color: var(--ink); font-weight: 600; }
.nav svg { width: 18px; height: 18px; }

/* The ticket: a black pass with notches on both sides and a perforation; the number is an LED readout */
.ticket {
  --cut: 100px;
  --notch: radial-gradient(circle at 0 var(--cut), transparent 9px, #000 9.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% var(--cut), transparent 9px, #000 9.5px) right / 51% 100% no-repeat;
  position: relative; margin-top: auto; padding: 16px 16px 18px; border-radius: 12px; background: var(--ink); color: #fff;
  -webkit-mask: var(--notch); mask: var(--notch);
}
.ticket::before { content: ""; position: absolute; left: 16px; right: 16px; top: calc(var(--cut) - 1px); border-top: 2px dashed rgba(255, 255, 255, .22); }
.ticket h2 { font-size: 13px; font-weight: 600; line-height: 18px; letter-spacing: 0; color: #a3a8b1; }
.ticket .no { height: 44px; margin-top: 6px; font-family: var(--dot); font-weight: 800; font-size: 40px; line-height: 44px; letter-spacing: .02em; }
.ticket .say { margin-top: 32px; font-size: 13px; line-height: 1.4; color: #c9ccd2; }
.ticket[data-state="mine"] .no { color: var(--go); }
.ticket .btn { width: 100%; margin-top: 14px; }

.tally { display: grid; gap: 10px; padding: 0 10px; font-size: 13px; }
.tally div { display: flex; justify-content: space-between; gap: 12px; }
.tally dt { color: var(--ink-2); }
.tally dd { font-weight: 600; font-variant-numeric: tabular-nums; }

.main { margin-left: var(--side); min-height: 100vh; }
.top {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 10px; height: 68px; padding: 0 28px;
  background: color-mix(in srgb, var(--ground) 88%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.search { position: relative; flex: 1; max-width: 560px; margin-right: auto; }
.search svg { position: absolute; left: 13px; top: 50%; width: 18px; height: 18px; translate: 0 -50%; color: var(--ink-3); }
.search input { width: 100%; height: 42px; padding: 0 14px 0 40px; border: 0; border-radius: 8px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
.search input::placeholder { color: var(--ink-3); }
.search input:focus-visible { outline-offset: 0; }

.board { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; max-width: 1480px; padding: 8px 28px 64px; }
.row-head { display: flex; align-items: flex-end; gap: 24px; margin-bottom: 14px; }
.row-head h2 { font-size: 20px; }

.intro {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 32px; gap: 28px; align-items: center;
  padding: 24px 20px 24px 28px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
}
.intro h1 { font-size: 30px; font-stretch: 90%; letter-spacing: -.03em; }
.intro p { max-width: 70ch; margin-top: 8px; color: var(--ink-2); font-size: 15px; text-wrap: pretty; }
.intro .x { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--ink-3); align-self: start; }
.intro .x:hover { background: var(--ground); color: var(--ink); }
.intro .x svg { width: 18px; height: 18px; }

/* At the door: the newest verdict slides in on the left */
.door { display: flex; align-items: center; gap: 18px; height: 52px; padding: 0 0 0 18px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.door h2 { flex: none; font-size: 13px; font-weight: 600; letter-spacing: 0; }
#feed {
  display: flex; gap: 8px; list-style: none; padding: 0; overflow: hidden; min-width: 0; flex: 1;
  -webkit-mask: linear-gradient(to right, #000 80%, transparent); mask: linear-gradient(to right, #000 80%, transparent);
}
#feed li { flex: none; display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 10px; border-radius: 6px; background: var(--ground); font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
#feed .a { font-weight: 600; }
#feed .v { color: var(--ink-2); }
#feed .led { font-size: 12px; }
#feed li.in { animation: nb-in .5s cubic-bezier(.2, .7, .2, 1); }
@keyframes nb-in { from { margin-left: -180px; opacity: 0; } }

/* Coin cards */
.near { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.big { position: relative; display: flex; flex-direction: column; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.big img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--sunk); }
.big .body { display: grid; gap: 10px; padding: 14px 16px 16px; }
.big .meter { margin-top: 2px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
.card { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 12px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.card img { display: block; width: 96px; height: 96px; border-radius: 8px; object-fit: cover; background: var(--sunk); }
.card .body { display: grid; align-content: space-between; gap: 6px; min-width: 0; }
.card:hover, .big:hover { box-shadow: inset 0 0 0 1px #c9ccd2; }
.card a::after, .big a::after { content: ""; position: absolute; inset: 0; }

.name { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: 15px; }
.name span { flex: none; color: var(--ink-3); font-size: 13px; }
.name time { flex: none; margin-left: auto; color: var(--ink-3); font-size: 13px; }
.cap { display: flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.cap strong { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.cap small { font-size: 13px; color: var(--ink-3); }
.up { color: var(--go-ink); }
.down { color: var(--stop-ink); }
.facts { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.facts .away { display: inline-flex; align-items: center; gap: 6px; }
.facts .led { font-size: 10px; }
.flag { position: absolute; top: 12px; right: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border-radius: 6px; background: #fdecec; color: var(--stop-ink); font-size: 12px; font-weight: 600; }
.big .flag { top: 10px; left: 10px; right: auto; }
.card .flag { position: static; justify-self: start; }
.flag .led { font-size: 9px; }

.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 10px; background: var(--sunk); }
.tabs button { height: 32px; padding: 0 12px; border: 0; border-radius: 7px; background: none; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--card); color: var(--ink); font-weight: 600; box-shadow: 0 1px 0 var(--line); }
.empty { padding: 48px 0; color: var(--ink-2); text-align: center; }

.tabbar { display: none; }

@media (max-width: 1280px) {
  .near { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .side { display: none; }
  .main { margin-left: 0; padding-bottom: 72px; }
  .mark.sm { display: inline-flex; font-size: 20px; }
  .top { padding: 0 16px; gap: 8px; }
  .top .btn.pass { display: none; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .top { flex-wrap: wrap; height: auto; padding-block: 12px; }
  .top .btn.line { margin-left: auto; }
  .board { padding: 4px 16px 40px; gap: 28px; }
  .intro { grid-template-columns: minmax(0, 1fr) 32px; padding: 18px 12px 18px 18px; gap: 14px; }
  .intro h1 { font-size: 24px; }
  .intro > .btn { grid-row: 2; justify-self: start; }
  .near { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .near .big { flex: 0 0 78%; scroll-snap-align: start; }
  .grid { grid-template-columns: 1fr; }
  .card { grid-template-columns: 80px minmax(0, 1fr); }
  .card img { width: 80px; height: 80px; }
  .tabs { overflow-x: auto; scrollbar-width: none; }
  .tabbar {
    position: fixed; inset: auto 0 0; z-index: 6; display: grid; grid-template-columns: repeat(4, 1fr); height: 64px;
    padding-bottom: env(safe-area-inset-bottom); background: var(--card); border-top: 1px solid var(--line);
  }
  .tabbar a { display: grid; place-items: center; font-size: 12px; font-weight: 500; color: var(--ink-2); }
  .tabbar a[aria-current="page"] { color: var(--ink); font-weight: 600; }
}
@media (prefers-reduced-motion: reduce) {
  #feed li.in { animation: none; }
  .btn { transition: none; }
}

/* Ticket states: the next pass (white readout), yours (green), turned away (red), like the gates */
.ticket[data-state="refused"] .no { font-size: 24px; white-space: nowrap; color: var(--stop); }
.btn[data-connect] { gap: 10px; }
.btn[data-connect] .dim { color: var(--ink-3); font-weight: 500; }
.btn[hidden] { display: none; }

/* Messages: one look everywhere, led first */
.note { display: flex; align-items: flex-start; gap: 10px; padding: 11px 14px; border-radius: 8px; background: var(--ground); font-size: 14px; line-height: 1.4; }
.note[hidden] { display: none; }
.note .led { font-size: 12px; margin-top: 3px; }
.note.err { background: #fdecec; color: var(--stop-ink); }
.note.ok { background: #e7f7ee; color: var(--go-ink); }
.toast { position: fixed; top: 16px; left: 50%; z-index: 20; translate: -50% 0; max-width: min(520px, calc(100vw - 32px)); box-shadow: 0 8px 24px rgba(11, 12, 14, .12); }

#feed .quiet { background: none; color: var(--ink-3); }
.empty a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Coin page: the coin on the left, the ticket pinned on the right */
.panel { padding: 20px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.panel h2 { font-size: 17px; }
.panel h3 { margin: 20px 0 10px; font-size: 14px; }
.sub { color: var(--ink-2); font-size: 14px; }
.prose { margin-top: 10px; color: var(--ink-2); max-width: 70ch; white-space: pre-line; }
.loading { padding: 80px 0; color: var(--ink-3); text-align: center; }
.coinpage { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; max-width: 1480px; padding: 8px 28px 64px; }
.coinpage > .loading, .coinpage > .lost { grid-column: 1 / -1; }
.coin-main { display: grid; gap: 16px; min-width: 0; }
.coin-head { display: flex; align-items: center; gap: 16px; }
.coin-head img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: var(--sunk); }
.coin-head h1 { font-size: 30px; font-stretch: 90%; letter-spacing: -.03em; }
.coin-head h1 span { color: var(--ink-3); font-weight: 500; font-size: 20px; letter-spacing: -.01em; }
.coin-head p { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 6px; color: var(--ink-2); font-size: 14px; }
.coin-head .links { display: flex; gap: 8px; margin-left: auto; }
.btn.icon { width: 40px; padding: 0; }
.btn.icon svg { width: 17px; height: 17px; }
.copy { display: inline-flex; gap: 8px; align-items: center; height: 28px; padding: 0 10px; border: 0; border-radius: 6px; background: var(--ground); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.copy span { color: var(--ink-3); font-weight: 500; }
.copy:hover span { color: var(--ink); }

.chartcard { padding: 18px 18px 12px; }
.price { display: flex; align-items: baseline; gap: 12px; }
.price strong { font-size: 32px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price span { font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.chartbox { position: relative; height: 360px; margin-top: 8px; }
.chart-empty { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; color: var(--ink-3); }
.chart-empty[hidden] { display: none; }
.steps { display: flex; gap: 4px; margin-top: 8px; }
.steps button { height: 28px; padding: 0 10px; border: 0; border-radius: 6px; background: none; font-size: 13px; font-weight: 500; color: var(--ink-3); }
.steps button[aria-pressed="true"] { background: var(--ground); color: var(--ink); font-weight: 600; }

.grad-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.grad-top span { font-weight: 600; font-variant-numeric: tabular-nums; }
.grad .meter i { max-width: 14px; }
.grad .meter { gap: 6px; }
.grad p { margin-top: 12px; color: var(--ink-2); font-size: 14px; }
.fees { display: grid; gap: 12px; justify-items: start; }
.fees-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; width: 100%; }
.fees-top strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.fees p { color: var(--ink-2); font-size: 14px; }
.fees .note { justify-self: stretch; }

.doorstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.doorstats div { padding: 14px; border-radius: 8px; background: var(--ground); }
.doorstats dt { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.doorstats dt .led { font-size: 11px; }
.doorstats dd { margin-top: 6px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.groups, .flagged { list-style: none; padding: 0; display: grid; gap: 8px; }
.groups li { padding: 12px 14px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); }
.groups li > div { display: flex; gap: 12px; align-items: baseline; font-size: 14px; }
.groups li > div span { color: var(--stop-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.groups li > div time { margin-left: auto; color: var(--ink-3); font-size: 13px; }
.groups li p { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; color: var(--ink-2); font-size: 13px; font-variant-numeric: tabular-nums; }
.doorcard .sub + .flagged { margin-top: 10px; }
.flagged li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.flagged .led { font-size: 11px; }
.flagged .w { font-weight: 600; font-variant-numeric: tabular-nums; min-width: 96px; }
.flagged li span:last-child { color: var(--ink-2); }

.ticketbox { position: sticky; top: 80px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.sides { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 10px; background: var(--sunk); }
.sides button { height: 38px; border: 0; border-radius: 7px; background: none; font-weight: 600; color: var(--ink-2); }
.sides button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.amount { display: flex; align-items: center; height: 56px; padding: 0 16px; border-radius: 10px; background: var(--ground); box-shadow: inset 0 0 0 1px var(--line); }
.amount:focus-within { box-shadow: inset 0 0 0 2px var(--ink); }
.amount input { flex: 1; min-width: 0; border: 0; background: none; font-size: 24px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; outline: none; }
.amount span { color: var(--ink-2); font-weight: 600; }
.presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.presets button { height: 34px; border: 0; border-radius: 7px; background: var(--ground); font-size: 13px; font-weight: 600; }
.presets button:hover { background: var(--sunk); }
.est { display: grid; gap: 6px; font-size: 14px; }
.est div { display: flex; justify-content: space-between; gap: 12px; }
.est dt { color: var(--ink-2); }
.est dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.btn.block { width: 100%; height: 50px; font-size: 15px; }
.btn:disabled { opacity: .6; cursor: progress; }
.passline { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.passline .led { font-size: 11px; margin-top: 3px; }
.passline.no { color: var(--stop-ink); }
.lost { text-align: center; padding: 64px 20px; }
.lost h1 { font-size: 24px; margin-bottom: 20px; }

@media (max-width: 1080px) {
  .coinpage { grid-template-columns: minmax(0, 1fr); }
  /* one column: the ticket comes right after the chart, not after the whole door report */
  .coin-main { display: contents; }
  .coin-head, .chartcard { order: 1; }
  .ticketbox { position: static; order: 2; }
  .coin-main > .panel:not(.chartcard) { order: 3; }
}
@media (max-width: 900px) {
  .coinpage { padding: 4px 16px 40px; }
  .coin-head { flex-wrap: wrap; }
  .coin-head .links { margin-left: 0; width: 100%; }
  .chartbox { height: 280px; }
  .doorstats { grid-template-columns: 1fr; }
}

/* Text pages (Caught, How it works) and the create form */
.textpage, .formpage { display: grid; gap: 16px; max-width: 960px; padding: 8px 28px 64px; }
.page-head { padding: 12px 0 8px; }
.page-head h1, .create h1 { font-size: 34px; font-stretch: 90%; letter-spacing: -.03em; }
.page-head .sub { max-width: 64ch; margin-top: 8px; font-size: 15px; }

.create { display: grid; gap: 16px; }
.create > .sub { margin-top: -8px; }
.create label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.create .opt { color: var(--ink-3); font-weight: 500; }
.create input:not([type=file]), .create textarea {
  width: 100%; padding: 11px 12px; border: 0; border-radius: 8px; background: var(--ground); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 15px; font-weight: 400; resize: vertical;
}
.create input:focus-visible, .create textarea:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.pick { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 16px; }
.fields { display: grid; gap: 12px; align-content: start; }
.drop { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px; background: var(--ground); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; cursor: pointer; text-align: center; }
.drop:hover { box-shadow: inset 0 0 0 1px #c9ccd2; }
.drop:focus-within { box-shadow: inset 0 0 0 2px var(--ink); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop img { width: 100%; height: 100%; object-fit: cover; }
.drop span { display: grid; gap: 4px; padding: 12px; font-size: 14px; font-weight: 600; }
.drop small { color: var(--ink-3); font-size: 12px; font-weight: 500; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.amount.small { height: 46px; padding: 0 12px; max-width: 220px; }
.amount.small input { font-size: 17px; padding: 0; box-shadow: none; background: none; }

.caughtlist { list-style: none; padding: 0; display: grid; gap: 8px; }
.caughtlist .panel { padding: 0; }
.caughtlist summary { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto auto; gap: 16px; align-items: center; padding: 12px 16px; list-style: none; cursor: pointer; }
.caughtlist summary::-webkit-details-marker { display: none; }
.caughtlist img, .caughtlist .noimg { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--sunk); }
.caughtlist .what { display: grid; grid-template-columns: 12px auto; column-gap: 8px; align-items: center; min-width: 0; }
.caughtlist .what .led { font-size: 11px; }
.caughtlist .what b { font-size: 14px; }
.caughtlist .what a { grid-column: 2; font-size: 13px; color: var(--ink-2); }
.caughtlist .what a span { color: var(--ink-3); }
.caughtlist .pct { color: var(--stop-ink); font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.caughtlist time, .caughtlist .more { color: var(--ink-3); font-size: 13px; }
.caughtlist .more { padding: 4px 8px; border-radius: 6px; background: var(--ground); color: var(--ink-2); font-weight: 600; }
.caughtlist details[open] .more { background: var(--sunk); }
.caughtlist .wallets { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0 16px 14px 76px; font-size: 13px; font-variant-numeric: tabular-nums; }
.caughtlist .wallets a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.caughtlist .wallets a:hover { color: var(--ink); }
.caughtlist .empty, .caughtlist .loading { padding: 48px 0; color: var(--ink-2); text-align: center; }

.check { display: grid; gap: 10px; }
.check label { font-size: 15px; font-weight: 600; }
.check .row { display: flex; gap: 8px; }
.check input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--ground); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; }
.check input:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.check .btn { height: 44px; }
.how .rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.how .rules .panel { display: grid; gap: 10px; align-content: start; }
.how .rules p:not(.note) { color: var(--ink-2); font-size: 14px; }
.how .rules .note { justify-self: start; margin-top: 4px; }
.plain h2:not(:first-child) { margin-top: 20px; }
.plain p { max-width: 70ch; margin-top: 6px; color: var(--ink-2); }

@media (max-width: 900px) {
  .textpage, .formpage { padding: 4px 16px 40px; }
  .pick { grid-template-columns: 112px minmax(0, 1fr); }
  .three, .how .rules { grid-template-columns: 1fr; }
  .caughtlist summary { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .caughtlist time, .caughtlist .pct { display: none; }
  .caughtlist .wallets { padding-left: 16px; }
}

/* ---- Sequel ---------------------------------------------------------------------------------------------------- */
/* (old Sequel mark, unused) */
.led.two { background: none; color: var(--ink); --g: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 5'%3E%3Ccircle cx='.5' cy='.5' r='.38'/%3E%3Ccircle cx='1.5' cy='.5' r='.38'/%3E%3Ccircle cx='2.5' cy='.5' r='.38'/%3E%3Ccircle cx='3.5' cy='.5' r='.38'/%3E%3Ccircle cx='4.5' cy='.5' r='.38'/%3E%3Ccircle cx='1.5' cy='1.5' r='.38'/%3E%3Ccircle cx='3.5' cy='1.5' r='.38'/%3E%3Ccircle cx='1.5' cy='2.5' r='.38'/%3E%3Ccircle cx='3.5' cy='2.5' r='.38'/%3E%3Ccircle cx='1.5' cy='3.5' r='.38'/%3E%3Ccircle cx='3.5' cy='3.5' r='.38'/%3E%3Ccircle cx='.5' cy='4.5' r='.38'/%3E%3Ccircle cx='1.5' cy='4.5' r='.38'/%3E%3Ccircle cx='2.5' cy='4.5' r='.38'/%3E%3Ccircle cx='3.5' cy='4.5' r='.38'/%3E%3Ccircle cx='4.5' cy='4.5' r='.38'/%3E%3C/svg%3E"); }
.dot { font-family: var(--dot); font-weight: 800; letter-spacing: .02em; }

/* Sidebar: the OGs and what their sequels have burned */
.ogs { margin-top: 8px; padding: 0 2px; }
.ogs h2 { padding: 0 8px; font-size: 13px; letter-spacing: 0; }
.ogs .sub { padding: 0 8px; margin-top: 2px; font-size: 12px; }
.ogs ul { list-style: none; padding: 0; margin-top: 10px; display: grid; gap: 2px; }
.ogs a { display: grid; grid-template-columns: 24px 1fr auto; gap: 10px; align-items: center; height: 38px; padding: 0 8px; border-radius: 8px; font-size: 14px; }
.ogs a:hover, .ogs a[aria-current="page"] { background: var(--ground); }
.ogs img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; background: var(--sunk); }
.ogs b { font-weight: 600; }
.ogs span.zero, .og dd.zero, .dot.zero, .burntotal b.zero { color: var(--ink-3); font-family: var(--f); font-weight: 600; }
.ogs span { font-family: var(--dot); font-weight: 800; font-size: 15px; color: var(--stop-ink); font-variant-numeric: tabular-nums; }

/* The OG cards on the board */
.hosts { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.og { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 16px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.og-top { display: flex; align-items: center; gap: 12px; }
.og-top img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--sunk); }
.og-top span { display: grid; }
.og-top b { font-size: 16px; }
.og-top small { color: var(--ink-3); font-size: 13px; }
.og dl { display: grid; gap: 6px; font-size: 13px; }
.og dl div { display: flex; justify-content: space-between; }
.og dt { color: var(--ink-2); }
.og dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.og dd.dot { font-size: 16px; color: var(--stop-ink); }
.og .btn { height: 36px; font-size: 13px; }

/* Host filter chips and the little host tag on cards */
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.filters button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 0; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.filters button img { width: 18px; height: 18px; border-radius: 50%; margin-left: -4px; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.hostchip { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px 0 3px; border-radius: 12px; background: var(--ground); font-size: 12px; font-weight: 600; color: var(--ink); }
.hostchip img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.hostchip:hover { background: var(--sunk); }

/* Host page */
.host-head { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.host-head img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--sunk); }
.host-head h1 { font-size: 30px; font-stretch: 90%; letter-spacing: -.03em; }
.host-head h1 span { color: var(--ink-3); font-weight: 500; font-size: 18px; letter-spacing: -.01em; }
.host-head p { max-width: 70ch; margin-top: 6px; color: var(--ink-2); font-size: 14px; }
.host-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 12px; }
.host-stats div { padding: 12px 14px; border-radius: 8px; background: var(--ground); }
.host-stats dt { font-size: 13px; color: var(--ink-2); }
.host-stats dd { margin-top: 4px; font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.host-stats dd.dot { color: var(--stop-ink); }
.host-stats dd.dot.zero { color: var(--ink-3); }

/* Coin page extras */
.burnnote { display: flex; align-items: center; gap: 14px; }
.burnnote img { width: 36px; height: 36px; border-radius: 50%; flex: none; }
.burnnote p { font-size: 14px; color: var(--ink-2); }
.burnnote b { color: var(--ink); }
.burnnote a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.coin-head .hostchip { vertical-align: middle; }
.pay { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.pay span { margin-right: auto; }
.pay button { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 0; border-radius: 15px; background: var(--ground); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.pay button img { width: 18px; height: 18px; border-radius: 50%; margin-left: -4px; }
.pay button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* Create: pick the OG */
.pickhost { border: 0; padding: 0; margin: 0; min-width: 0; }
.pickhost legend { margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.pickhost > div { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.hostpick { position: relative; display: grid; justify-items: center; gap: 4px; padding: 12px 8px; border-radius: 10px; background: var(--ground); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; text-align: center; }
.hostpick input { position: absolute; opacity: 0; }
.hostpick img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.hostpick b { font-size: 14px; }
.hostpick small { font-size: 12px; color: var(--ink-3); font-weight: 500; }
.hostpick.on { background: var(--card); box-shadow: inset 0 0 0 2px var(--ink); }
.hostpick:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Burns page */
.burntotals { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.burntotal { display: grid; grid-template-columns: 32px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px 16px; }
.burntotal img { grid-row: 1 / 3; width: 32px; height: 32px; border-radius: 50%; }
.burntotal span { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.burntotal b { font-size: 20px; color: var(--stop-ink); }
.burntotal b.zero { color: var(--ink-3); }
.burnrow { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 12px 16px; }
.burnrow img { width: 32px; height: 32px; border-radius: 50%; }
.burnrow .what { display: grid; min-width: 0; }
.burnrow .what b { font-size: 14px; }
.burnrow .what a { font-size: 13px; color: var(--ink-2); }
.burnrow time { color: var(--ink-3); font-size: 13px; }
.burnrow .more { padding: 4px 8px; border-radius: 6px; background: var(--ground); color: var(--ink-2); font-size: 13px; font-weight: 600; }

/* Docs */
.docs { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 32px; max-width: 1180px; padding: 8px 28px 80px; }
.toc { position: sticky; top: 84px; align-self: start; display: grid; gap: 2px; }
.toc a { padding: 6px 10px; border-radius: 6px; font-size: 14px; color: var(--ink-2); }
.toc a:hover { background: var(--card); color: var(--ink); }
.doc { max-width: 760px; padding: 28px 32px 36px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.doc h1 { font-size: 34px; font-stretch: 90%; letter-spacing: -.03em; }
.doc section { padding-top: 28px; scroll-margin-top: 84px; }
.doc h2 { margin-bottom: 10px; font-size: 21px; }
.doc p, .doc li { font-size: 15.5px; line-height: 1.6; color: #2c2f35; max-width: 68ch; }
.doc p + p, .doc ol + p, .doc p + ol, .doc table + p, .doc p + table { margin-top: 12px; }
.doc ol { padding-left: 22px; display: grid; gap: 6px; }
.doc a { color: var(--ink); text-decoration: underline; text-decoration-color: #c9ccd2; text-underline-offset: 3px; }
.doc code, .setup code { padding: 1px 5px; border-radius: 5px; background: var(--ground); font-size: 13px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.doc .eg { padding: 12px 14px; border-radius: 8px; background: var(--ground); color: var(--ink-2); font-size: 14px; }
.dtable { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.dtable th { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.dtable td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.dtable a { text-decoration: none; }
.og-cell { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.og-cell img { width: 22px; height: 22px; border-radius: 50%; }
.dim { color: var(--ink-3); }
.addrs { display: grid; gap: 1px; border-radius: 10px; overflow: hidden; background: var(--line); box-shadow: 0 0 0 1px var(--line); }
.addrs div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; background: var(--card); }
.addrs dt { font-size: 14px; font-weight: 600; }
.addrs dd { display: grid; justify-items: end; gap: 2px; text-align: right; }
.addrs dd a { text-decoration: none; }
.addrs small { font-size: 12px; color: var(--ink-3); }

/* Setup */
.setup .step { display: grid; gap: 14px; }
.setup .step h2 { display: flex; align-items: center; gap: 10px; font-size: 19px; }
.setup .num { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; }
.setup .step > .btn { justify-self: start; }
.setup .row { display: flex; flex-wrap: wrap; gap: 8px; }
.keycard { display: grid; gap: 10px; padding: 14px 16px; border-radius: 10px; background: var(--ground); }
.keycard + .keycard { margin-top: 10px; }
.keycard h3 { font-size: 15px; }
.keycard dl { display: grid; gap: 8px; font-size: 13px; }
.keycard dt { color: var(--ink-2); margin-bottom: 2px; }
.keycard code { display: inline-block; max-width: 100%; overflow-wrap: anywhere; background: var(--card); }
.keycard .secret { color: var(--stop-ink); }
.howto { padding-left: 20px; display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.hostlist { list-style: none; padding: 0; display: grid; gap: 1px; border-radius: 10px; overflow: hidden; background: var(--line); box-shadow: 0 0 0 1px var(--line); }
.hostlist li { display: grid; grid-template-columns: 26px 110px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; background: var(--card); font-size: 14px; }
.hostlist img { width: 26px; height: 26px; border-radius: 50%; }
.hostlist .lut { grid-column: 1 / 3; font-weight: 600; }
.hostlist span { color: var(--ink-3); }
.hostlist .ok { color: var(--go-ink); font-weight: 600; }

@media (max-width: 900px) {
  .docs { grid-template-columns: 1fr; padding: 4px 16px 40px; }
  .toc { display: none; }
  .doc { padding: 20px 18px; }
  .dtable { display: block; overflow-x: auto; }
  .hostlist li { grid-template-columns: 26px 1fr auto; }
  .hostlist code { display: none; }
}
@media (max-width: 900px) {
  .host-head { grid-template-columns: 56px minmax(0, 1fr); }
  .host-head img { width: 56px; height: 56px; }
  .host-head .btn { grid-column: 1 / -1; }
  .host-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .burnrow { grid-template-columns: 32px minmax(0, 1fr) auto; }
  .burnrow time { display: none; }
}
.dtable code { white-space: nowrap; }

/* The mark: a dot-matrix blood drop, red like the burns */
.led.drop { background: none; color: var(--stop); --g: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 5'%3E%3Ccircle cx='2.5' cy='0.5' r='.38'/%3E%3Ccircle cx='1.5' cy='1.5' r='.38'/%3E%3Ccircle cx='2.5' cy='1.5' r='.38'/%3E%3Ccircle cx='3.5' cy='1.5' r='.38'/%3E%3Ccircle cx='0.5' cy='2.5' r='.38'/%3E%3Ccircle cx='1.5' cy='2.5' r='.38'/%3E%3Ccircle cx='2.5' cy='2.5' r='.38'/%3E%3Ccircle cx='3.5' cy='2.5' r='.38'/%3E%3Ccircle cx='4.5' cy='2.5' r='.38'/%3E%3Ccircle cx='0.5' cy='3.5' r='.38'/%3E%3Ccircle cx='1.5' cy='3.5' r='.38'/%3E%3Ccircle cx='2.5' cy='3.5' r='.38'/%3E%3Ccircle cx='3.5' cy='3.5' r='.38'/%3E%3Ccircle cx='4.5' cy='3.5' r='.38'/%3E%3Ccircle cx='1.5' cy='4.5' r='.38'/%3E%3Ccircle cx='2.5' cy='4.5' r='.38'/%3E%3Ccircle cx='3.5' cy='4.5' r='.38'/%3E%3C/svg%3E"); }

/* The connected wallet's menu, under the top bar button */
.top { position: sticky; }
.walletmenu { position: absolute; top: 60px; right: 28px; z-index: 12; display: grid; min-width: 180px; padding: 6px; border-radius: 10px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 12px 32px rgba(11, 12, 14, .12); }
.walletmenu button { height: 38px; padding: 0 12px; border: 0; border-radius: 7px; background: none; text-align: left; font-size: 14px; font-weight: 500; }
.walletmenu button:hover { background: var(--ground); }
.walletmenu [data-act="off"] { color: var(--stop-ink); }
@media (max-width: 900px) { .walletmenu { top: 56px; right: 16px; } }

/* zero burned reads as a plain grey 0, never red dots */
.og dd.dot.zero, .ogs span.zero, .host-stats dd.dot.zero, .burntotal b.zero { color: var(--ink-3); font-family: var(--f); font-weight: 600; }

/* The fee wallet's burn panel */
.ownerburn { display: grid; gap: 12px; box-shadow: inset 0 0 0 2px var(--stop); }
.ownerburn > .btn { justify-self: start; }
.waitlist { list-style: none; padding: 0; display: grid; gap: 1px; border-radius: 10px; overflow: hidden; background: var(--line); box-shadow: 0 0 0 1px var(--line); }
.waitlist li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 12px; background: var(--card); font-size: 14px; }
.waitlist li.dim { display: block; }
.waitlist img { width: 24px; height: 24px; border-radius: 50%; }
.waitlist b span { color: var(--ink-3); font-weight: 500; }

/* $BLOOD page */
.token-head { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.led.drop.big { font-size: 56px; }
.token-head h1 { font-size: 34px; font-stretch: 90%; letter-spacing: -.03em; }
.token-head p { margin-top: 4px; color: var(--ink-2); max-width: 60ch; }
.token-cta { display: grid; gap: 10px; justify-items: end; max-width: 280px; text-align: right; }
.token-cta .row { display: flex; gap: 8px; }
.copy.big { height: 34px; font-size: 14px; }
.host-stats.two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 10px; }
.feeds { padding-left: 22px; display: grid; gap: 8px; margin-top: 8px; }
.feeds li { color: var(--ink-2); max-width: 70ch; }
.feeds b { color: var(--ink); }
.plain a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.burnrow .what .sub { font-size: 13px; }
@media (max-width: 900px) {
  .token-head { grid-template-columns: 48px minmax(0, 1fr); }
  .led.drop.big { font-size: 42px; }
  .token-cta { grid-column: 1 / -1; justify-items: start; text-align: left; max-width: none; }
}

/* Docs: API endpoints with live requests */
.endpoints { display: grid; gap: 12px; margin-top: 14px; }
.ep { display: grid; gap: 8px; padding: 14px 16px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); }
.ep-head { display: flex; align-items: center; gap: 10px; }
.ep-head code { background: none; padding: 0; font-size: 14px; font-weight: 600; }
.verb { padding: 2px 7px; border-radius: 5px; background: #e7f7ee; color: var(--go-ink); font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.ep p { font-size: 14.5px !important; margin: 0 !important; }
.ep .params { margin-top: 2px; }
.ep .params td { padding: 6px 10px; font-size: 13px; }
.try { display: flex; flex-wrap: wrap; gap: 8px; }
.try input { flex: 1 1 220px; min-width: 0; height: 36px; padding: 0 10px; border: 0; border-radius: 7px; background: var(--ground); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.try .btn { height: 36px; font-size: 13px; }
.ep pre { max-height: 360px; overflow: auto; padding: 12px 14px; border-radius: 8px; background: var(--ink); color: #e6e8ec; font-size: 12px; line-height: 1.5; white-space: pre; }

/* The waiting page (index.html until launch) */
body.soon { min-height: 100vh; display: grid; place-items: center; padding: 48px 20px; }
.soon-main { width: 100%; max-width: 760px; display: grid; justify-items: center; text-align: center; gap: 18px; }
.soon-mark { display: inline-flex; align-items: center; gap: 12px; font-size: 26px; font-weight: 600; font-stretch: 88%; letter-spacing: -.035em; }
.soon-mark .led { font-size: 22px; }
.soon h1 { font-size: clamp(38px, 6vw, 64px); font-stretch: 88%; letter-spacing: -.035em; line-height: 1; text-wrap: balance; }
.soon-lede { max-width: 56ch; color: var(--ink-2); font-size: 17px; text-wrap: pretty; }
.soon-status { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px; border-radius: 17px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--stop); animation: sq-pulse 1.6s ease-in-out infinite; }
@keyframes sq-pulse { 50% { opacity: .25; } }
.soon-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.soon-ogs { width: 100%; margin-top: 18px; padding: 18px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); text-align: left; }
.soon-ogs h2 { font-size: 13px; letter-spacing: 0; color: var(--ink-2); margin-bottom: 8px; }
.soon-ogs ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 18px; }
.soon-ogs li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.soon-ogs img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.og-name { display: grid; }
.og-name b { font-size: 15px; }
.og-name small { color: var(--ink-3); font-size: 13px; }
.og-mc { font-weight: 600; font-variant-numeric: tabular-nums; font-size: 14px; }
@media (max-width: 640px) { .soon-ogs ul { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }
