/* forumz: the new skin. Near-white page, white cards with soft shadows, black type, pill buttons.
   Colour means something: each forum has an accent, and the main button is black. Sizes are in rem and the root
   size grows on very wide screens, so the whole page scales up instead of leaving a narrow strip.
   The brand is ink, white and one accent (--brand, highlighter yellow); see "Brand layer" near the end. */

:root {
  --brand: #ffdd1f;       /* the one accent: change it here and the mark, the home band and the buttons on black follow */
  --brand-ink: #0b0b0c;   /* text on the accent */
  --black: #0b0b0c;
  --display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
  --lift: 0 2px 4px rgba(16, 17, 20, 0.04), 0 12px 32px rgba(16, 17, 20, 0.1);

  --bg: #f6f6f7;
  --card: #ffffff;
  --ink: #0b0b0c;
  --ink-2: #4a4c53;
  --ink-3: #85878e;
  --soft: #efeff1;
  --soft-2: #e5e5e8;
  --error: #b42318;
  --ok: #1f9d55;          /* claimed, verified, live */
  --ok-soft: #e7f6ed;
  --ok-ink: #146c3a;
  --warn: #d68a00;        /* test network */
  --warn-soft: #fdf3dc;
  --warn-ink: #7a4f00;
  --accent: #6b7280; /* a forum we don't know yet */

  --shadow: 0 1px 2px rgba(16, 17, 20, 0.04), 0 2px 10px rgba(16, 17, 20, 0.05);
  --shadow-up: 0 2px 4px rgba(16, 17, 20, 0.05), 0 10px 28px rgba(16, 17, 20, 0.09);
  --radius: 1rem;
  --bar-h: 4rem;
  --gutter: 1.5rem;
  --page-max: 84rem;
  --side-w: 21rem;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
}

/* Forum accents. Only used for small marks: the tab dot and underline, the OP tag, quotes, coin pills. */
[data-forum="4chan"] { --accent: #1f8a4c; }
[data-forum="hn"] { --accent: #ff6600; }
[data-forum="btt"] { --accent: #476c8e; }
[data-forum="lobsters"] { --accent: #ac130d; }
[data-forum="reddit"] { --accent: #ff4500; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  /* 16px on laptops and phones, about 18.5px at 1920 wide, 21px at 2400 wide */
  font-size: clamp(16px, calc(9px + 0.5vw), 21px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  font-feature-settings: "cv11", "ss03";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 0.375rem; }

.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;
}
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 50;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 999px; text-decoration: none; font-weight: 600;
}
.skip:focus { top: 0.75rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  height: 2.5rem; padding: 0 1.15rem; border: 0; border-radius: 999px;
  font-size: 0.875rem; font-weight: 600; letter-spacing: -0.005em; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn-main { background: var(--ink); color: #fff; }
.btn-main:hover { background: #2b2c31; }
.btn-soft { background: var(--soft); color: var(--ink); }
.btn-soft:hover { background: var(--soft-2); }
.btn[disabled], .btn.is-off { opacity: 0.4; cursor: default; pointer-events: none; }
.btn-lg { height: 3rem; padding: 0 1.5rem; font-size: 0.9375rem; }
.btn .ext { font-size: 0.95em; opacity: 0.7; }

.pill-coin {
  display: inline-flex; align-items: center; gap: 0.4rem;
  height: 2.125rem; padding: 0 0.95rem; border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, #fff);
  color: color-mix(in srgb, var(--accent) 72%, #000);
  font-size: 0.8125rem; font-weight: 650; text-decoration: none; white-space: nowrap;
}
.pill-coin::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--accent); }
.pill-coin:hover { background: color-mix(in srgb, var(--accent) 20%, #fff); }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 rgba(16, 17, 20, 0.05), 0 2px 12px rgba(16, 17, 20, 0.03);
}
@supports (backdrop-filter: blur(1px)) {
  .topbar { background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(1.4) blur(14px); }
}
.topbar-in {
  max-width: var(--page-max); margin: 0 auto; padding: 0 var(--gutter);
  height: var(--bar-h); display: flex; align-items: center; gap: 2rem;
}
.nav { display: flex; gap: 0.25rem; }
.nav a {
  padding: 0.5rem 0.8rem; border-radius: 999px;
  font-size: 0.9375rem; font-weight: 500; color: var(--ink-2); text-decoration: none;
}
.nav a:hover { color: var(--ink); background: var(--soft); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- the paste-a-link box (top bar and the no-feed panel) ---------- */
.linkbox {
  position: relative; display: flex; align-items: center; gap: 0.5rem;
  background: var(--soft); border-radius: 999px; padding: 0.3125rem 0.3125rem 0.3125rem 0;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}
.linkbox:focus-within { background: #fff; box-shadow: 0 0 0 1px rgba(16, 17, 20, 0.08), 0 4px 18px rgba(16, 17, 20, 0.08); }
.linkbox input {
  flex: 1; min-width: 0; height: 2.375rem; border: 0; background: transparent; outline: none;
  padding: 0 0.5rem 0 1.15rem; font-size: 0.9375rem;
}
.linkbox input::placeholder { color: var(--ink-3); opacity: 1; }
.linkbox .btn { height: 2.375rem; }
.linkbox-top { flex: 1; max-width: 40rem; margin-left: auto; }
.linkbox-msg {
  position: absolute; top: calc(100% + 0.5rem); left: 0; right: 0; z-index: 30;
  background: #fff; border-radius: 0.875rem; box-shadow: var(--shadow-up);
  padding: 0.8rem 1.1rem; font-size: 0.875rem; line-height: 1.45; color: var(--ink-2);
}
.linkbox-msg b { color: var(--ink); font-weight: 600; }
.linkbox-msg.is-error b { color: var(--error); }

/* ---------- page layout ---------- */
.page {
  max-width: var(--page-max); margin: 0 auto; padding: 1.75rem var(--gutter) 4rem;
  display: grid; grid-template-columns: minmax(0, 1fr) var(--side-w); gap: 2.25rem; align-items: start;
}
.main { min-width: 0; outline: none; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- forum tabs ---------- */
.tabs {
  position: relative; display: flex; gap: 2rem; overflow-x: auto; scrollbar-width: none;
  padding: 0.25rem 0.25rem 0.85rem; margin: 0 -0.25rem;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; display: inline-flex; align-items: center; gap: 0.6rem; flex: none;
  font-size: 1.625rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.2;
  color: var(--ink-3); text-decoration: none; padding: 0.2rem 0;
  transition: color 0.15s ease;
}
.tab:hover { color: var(--ink-2); }
.tab .dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--accent); flex: none; opacity: 0.55; }
.tab[aria-current="page"] { color: var(--ink); }
.tab[aria-current="page"] .dot { opacity: 1; }
.tab[aria-current="page"]::after {
  content: ""; position: absolute; left: 1.1rem; right: 0; bottom: -0.45rem;
  height: 3px; border-radius: 3px; background: var(--accent);
}
.tabs-skel { display: flex; gap: 2rem; padding: 0.45rem 0 1.1rem; }
.tabs-skel span { width: 7rem; height: 1.6rem; border-radius: 0.5rem; background: var(--soft-2); }

/* ---------- section chips ---------- */
.chips {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin: 0.85rem -0.25rem 0; padding: 0.25rem;
}
.chips:empty { display: none; }
.chip {
  display: inline-flex; align-items: baseline; gap: 0.4rem; flex: none;
  padding: 0.55rem 1rem; border-radius: 999px;
  background: var(--card); box-shadow: var(--shadow);
  font-size: 0.875rem; color: var(--ink-3); text-decoration: none; white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.chip b { color: var(--ink); font-weight: 600; }
.chip:hover { box-shadow: var(--shadow-up); }
.chip .long { display: none; } /* the long name only on the chosen chip, so one row fits */
.chip[aria-current="page"] .long { display: inline; }
.chip[aria-current="page"] { background: var(--ink); color: rgba(255, 255, 255, 0.66); box-shadow: none; }
.chip[aria-current="page"] b { color: #fff; }

/* ---------- feed ---------- */
.feedhead { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 1.6rem 0 0.75rem; }
.feedhead-title { font-size: 0.9375rem; font-weight: 600; color: var(--ink-2); }
.feedhead-page { font-size: 0.8125rem; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.feed { display: grid; gap: 0.75rem; margin-top: 1.4rem; }
.feedhead:not([hidden]) + .feed { margin-top: 0; }

.row {
  position: relative; display: grid; align-items: center;
  grid-template-columns: 5.75rem minmax(0, 1fr) auto;
  grid-template-areas: "thumb main act" "thumb meta act";
  column-gap: 1.25rem; padding: 1rem 1.25rem 1rem 1rem;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: box-shadow 0.15s ease;
}
.row.no-thumb { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "main act" "meta act"; padding: 1.15rem 1.25rem 1.15rem 1.5rem; }
.row:hover { box-shadow: var(--shadow-up); }
.row-thumb {
  grid-area: thumb; width: 5.75rem; height: 5.75rem; border-radius: 0.75rem; overflow: hidden;
  background: var(--soft);
}
.row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.row-main { grid-area: main; min-width: 0; align-self: end; }
.row-title { font-size: 1.125rem; line-height: 1.35; font-weight: 600; letter-spacing: -0.012em; overflow-wrap: anywhere; }
.row-title a {
  text-decoration: none; color: var(--ink);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
.row-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.row-title a:focus-visible { outline: none; }
.row-title a:focus-visible::after { outline: 2px solid var(--ink); outline-offset: 2px; }
.row-domain { display: inline-block; margin-top: 0.15rem; font-size: 0.875rem; font-weight: 500; color: var(--ink-3); }
.row-excerpt {
  margin-top: 0.3rem; font-size: 0.9375rem; line-height: 1.5; color: var(--ink-2); overflow-wrap: anywhere;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
.row-meta {
  grid-area: meta; align-self: start; min-width: 0;
  display: flex; flex-wrap: wrap; column-gap: 0.5rem; row-gap: 0.1rem; margin-top: 0.55rem;
  font-size: 0.8125rem; color: var(--ink-3); font-variant-numeric: tabular-nums;
}
.row-meta span + span::before { content: "·"; margin-right: 0.5rem; }
.row-meta .sec { font-weight: 500; }
.row-meta .closed { color: var(--ink-2); font-weight: 600; }
.row-act { grid-area: act; position: relative; z-index: 1; display: flex; align-items: center; gap: 0.5rem; padding-left: 0.5rem; }
.row .btn-launch { background: var(--soft); color: var(--ink); }
.row:hover .btn-launch, .row .btn-launch:focus-visible { background: var(--ink); color: #fff; }

/* loading rows */
.skel { pointer-events: none; }
.skel .row-thumb, .skel i { background: var(--soft); }
.skel i { display: block; height: 0.8rem; border-radius: 0.4rem; margin: 0.45rem 0; }
.skel i.t { height: 1.05rem; width: 70%; margin-top: 0; }
.skel i.s { width: 30%; margin-bottom: 0; }
.skel .row-act i { width: 6.5rem; height: 2.5rem; border-radius: 999px; margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  .skel { animation: pulse 1.4s ease-in-out infinite; }
  @keyframes pulse { 50% { opacity: 0.55; } }
}

/* empty and error states */
.state { padding: 3rem 2rem; text-align: center; }
.state h2 { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.015em; }
.state p { margin: 0.5rem auto 0; max-width: 30rem; color: var(--ink-2); }
.state .btn { margin-top: 1.25rem; }

/* paging */
.pager { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.75rem; }
.pager-at { font-size: 0.875rem; color: var(--ink-3); font-variant-numeric: tabular-nums; min-width: 7rem; text-align: center; }

/* a forum with no list: explanation and the paste box */
.forum-extra { margin-top: 1rem; }
.forum-note { font-size: 0.8125rem; color: var(--ink-3); }
.forum-extra .linkbox { margin-top: 0.6rem; max-width: 40rem; }
.forum-extra .linkbox-msg { position: static; margin-top: 0.6rem; max-width: 40rem; box-shadow: none; background: var(--soft); }
.nofeed { margin-top: 1.4rem; padding: 2.25rem 2.25rem 2.5rem; }
.nofeed h2 { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; }
.nofeed p { margin-top: 0.5rem; max-width: 36rem; color: var(--ink-2); font-size: 1rem; }
.nofeed .linkbox { margin-top: 1.5rem; max-width: 40rem; }
.nofeed .linkbox-msg { position: static; margin-top: 0.75rem; max-width: 40rem; box-shadow: none; background: var(--soft); }

/* ---------- thread view ---------- */
.back {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.5rem 0.95rem 0.5rem 0.8rem; margin-left: -0.15rem; border-radius: 999px;
  font-size: 0.875rem; font-weight: 600; color: var(--ink-2); text-decoration: none; background: var(--soft);
}
.back:hover { color: var(--ink); background: var(--soft-2); }
.thead { margin-top: 1.25rem; }
.thead-where { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--ink-2); }
.thead-where::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--accent); }
.thead h1 {
  margin-top: 0.5rem; font-size: 2.125rem; line-height: 1.18; font-weight: 750; letter-spacing: -0.03em;
  overflow-wrap: anywhere; text-wrap: balance;
}
.thead-meta { margin-top: 0.6rem; font-size: 0.9375rem; color: var(--ink-3); display: flex; flex-wrap: wrap; column-gap: 0.55rem; }
.thead-meta span + span::before { content: "·"; margin-right: 0.55rem; }

/* The bar sits on a band of page colour while it sticks, so posts scroll away under it rather than around it. */
.actionwrap {
  position: sticky; top: var(--bar-h); z-index: 10;
  margin: 0.65rem -0.75rem 0.75rem; padding: 0.75rem 0.75rem 0.85rem;
  background: var(--bg);
}
.actionbar {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  padding: 0.5rem; width: fit-content; max-width: 100%;
  background: var(--card); border-radius: 999px; box-shadow: var(--shadow-up);
}
.actionbar .lbl { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tcoins { padding: 1.1rem 1.25rem; margin-bottom: 0.75rem; }
.tcoins h2 { font-size: 0.9375rem; font-weight: 650; margin-bottom: 0.4rem; }

.posts { display: grid; gap: 0.75rem; }
.post { padding: 1.2rem 1.5rem 1.3rem; }
.post-head { display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem 0.6rem; font-size: 0.875rem; color: var(--ink-3); }
.post-author { font-weight: 650; color: var(--ink); overflow-wrap: anywhere; }
.post-id {
  font-family: var(--mono); font-size: 0.75rem; color: var(--ink-2);
  background: var(--soft); padding: 0.1rem 0.45rem; border-radius: 0.375rem;
}
.post-op {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 0.15rem 0.45rem; border-radius: 0.375rem;
  background: color-mix(in srgb, var(--accent) 13%, #fff); color: color-mix(in srgb, var(--accent) 72%, #000);
}
.post-to { color: var(--ink-3); }
.post-time { margin-left: auto; font-variant-numeric: tabular-nums; white-space: nowrap; }
.post-body { display: flow-root; margin-top: 0.6rem; }
.post-text { font-size: 1rem; line-height: 1.62; white-space: pre-wrap; overflow-wrap: anywhere; color: #1d1e22; }
.post-text a { color: var(--ink); text-decoration-color: rgba(11, 11, 12, 0.3); text-underline-offset: 0.18em; }
.post-text a:hover { text-decoration-color: currentColor; }
.post-text .q { color: color-mix(in srgb, var(--accent) 78%, #000); }
.post-text .ref { color: var(--ink-3); }
.post-first { padding: 1.5rem 1.75rem 1.6rem; }
.post-first .post-text { font-size: 1.0625rem; }
.post-img {
  float: left; width: 9.5rem; max-height: 12rem; margin: 0.2rem 1.25rem 0.5rem 0;
  border-radius: 0.75rem; overflow: hidden; background: var(--soft);
}
.post-img img { width: 100%; height: auto; max-height: 12rem; object-fit: cover; }
.post-empty { color: var(--ink-3); font-style: italic; }
.tmore { padding: 1.1rem 1.25rem; text-align: center; color: var(--ink-2); font-size: 0.9375rem; }
.tmore a { color: var(--ink); font-weight: 600; }

/* ---------- side column ---------- */
.side { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: calc(var(--bar-h) + 1.75rem); }
.side-card { padding: 1.4rem 1.5rem 1.5rem; }
.side-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.side-title { font-size: 1rem; font-weight: 700; letter-spacing: -0.012em; }
.side-more { font-size: 0.8125rem; font-weight: 600; color: var(--ink-3); text-decoration: none; }
.side-more:hover { color: var(--ink); }
.steps { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
.steps li { display: flex; gap: 0.85rem; align-items: flex-start; }
.step-n {
  flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--soft);
  font-size: 0.8125rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
.steps p { font-size: 0.9375rem; line-height: 1.45; color: var(--ink-2); padding-top: 0.15rem; }

.coins { list-style: none; margin: 0.75rem -0.5rem 0; padding: 0; display: grid; gap: 0.15rem; }
.coin a {
  display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) auto; align-items: center; gap: 0.75rem;
  padding: 0.5rem; border-radius: 0.75rem; text-decoration: none;
}
.coin a:hover { background: var(--soft); }
.coin-img { width: 2.5rem; height: 2.5rem; border-radius: 50%; overflow: hidden; background: var(--soft); display: grid; place-items: center; font-size: 0.6875rem; font-weight: 700; color: var(--ink-2); }
.coin-img img { width: 100%; height: 100%; object-fit: cover; }
.coin-name { font-size: 0.9375rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coin-name .tk { font-weight: 500; color: var(--ink-3); margin-left: 0.3rem; }
.coin-for { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8125rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; }
.coin-for::before { content: ""; flex: none; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--accent); }
.coin-for span { overflow: hidden; text-overflow: ellipsis; }
.coin-age { font-size: 0.75rem; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.coins-note { padding: 0.25rem 0.5rem; font-size: 0.875rem; color: var(--ink-3); line-height: 1.5; }
.coins-skel { height: 3.5rem; border-radius: 0.75rem; background: var(--soft); margin: 0.15rem 0.5rem; }

/* ---------- footer (its layout is in the brand layer) ---------- */
.fine { margin-top: 0.75rem; max-width: 52rem; font-size: 0.75rem; line-height: 1.55; color: var(--ink-3); }
.fine-lead { margin-top: 1rem; color: var(--ink-2); font-weight: 500; }
.fine-lead + .fine { margin-top: 0.35rem; }

/* ======================================================================================================
   Shared pieces for the other pages (coins, launch, coin, claim). Same rules: white cards, soft shadows,
   black type, pill buttons, colour only for meaning.
   ====================================================================================================== */

/* test network / demo note under the top bar */
.netnote { padding: 0.75rem var(--gutter) 0; }
.netnote-in {
  max-width: calc(var(--page-max) - 2 * var(--gutter)); margin: 0 auto;
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.8125rem; font-weight: 500; color: var(--ink-2);
}
.netnote-in::before { content: ""; flex: none; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--warn); }
.netnote + .page { padding-top: 1.1rem; }

/* page heading */
.pagehead { margin-bottom: 1.5rem; }
.pagehead h1 { font-size: 2.125rem; line-height: 1.15; font-weight: 750; letter-spacing: -0.03em; text-wrap: balance; }
.lede { margin-top: 0.45rem; max-width: 42rem; font-size: 1.0625rem; line-height: 1.5; color: var(--ink-2); }
.section-title { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.9rem; }
.card-title { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.015em; }
.card-pad { padding: 1.5rem 1.6rem 1.6rem; }
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; align-content: start; }
.muted { color: var(--ink-3); }

/* a forum's name with its accent dot */
.ftag { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.ftag .dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--accent); flex: none; }

/* status labels */
.tag {
  display: inline-flex; align-items: center; gap: 0.35rem; flex: none;
  height: 1.5rem; padding: 0 0.6rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 650; white-space: nowrap; line-height: 1;
  background: var(--soft); color: var(--ink-2);
}
.tag-ok { background: var(--ok-soft); color: var(--ok-ink); }
.tag-ok::before { content: ""; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--ok); }
.tag-warn { background: var(--warn-soft); color: var(--warn-ink); }
.adult {
  display: inline-block; padding: 0.05rem 0.4rem; border-radius: 0.35rem;
  background: var(--soft); color: var(--ink-2); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.02em;
}
.row-meta .adult, .thead-meta .adult { margin-right: 0.15rem; align-self: center; }
.row-meta .adult + span::before, .thead-meta .adult + span::before { content: none; }

/* messages under forms */
.msg { margin-top: 0.75rem; font-size: 0.9375rem; line-height: 1.5; }
.msg-error { color: var(--error); font-weight: 500; }
.msg-ok { color: var(--ok-ink); font-weight: 600; }
.msg-info { color: var(--ink-2); }

/* fields */
.field { display: grid; gap: 0.4rem; }
.field + .field { margin-top: 1.1rem; }
.field-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1rem; }
.field-row .field + .field { margin-top: 0; }
.label { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.label .opt { font-weight: 500; color: var(--ink-3); }
.hint { font-size: 0.8125rem; line-height: 1.5; color: var(--ink-3); }
.input {
  width: 100%; height: 3rem; padding: 0 1rem; border: 0; border-radius: 0.875rem;
  background: var(--soft); font-size: 1rem; outline: none;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}
textarea.input { height: auto; min-height: 6.5rem; padding: 0.8rem 1rem; line-height: 1.5; resize: vertical; font: inherit; }
.input::placeholder { color: var(--ink-3); opacity: 1; }
.input:focus { background: #fff; box-shadow: 0 0 0 1px rgba(16, 17, 20, 0.1), 0 4px 18px rgba(16, 17, 20, 0.08); }
.input.mono { font-family: var(--mono); font-size: 0.9375rem; }
.input-pre { position: relative; }
.input-pre > span { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-weight: 600; pointer-events: none; }
.input-pre .input { padding-left: 1.85rem; text-transform: uppercase; font-weight: 600; letter-spacing: 0.02em; }
.input-pre .input::placeholder { text-transform: none; font-weight: 400; letter-spacing: 0; }
.inline { display: flex; gap: 0.5rem; align-items: center; }
.inline .input { flex: 1; min-width: 0; }
.inline .btn { height: 3rem; flex: none; }
.check { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.9375rem; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.check input { flex: none; width: 1.25rem; height: 1.25rem; margin: 0.12rem 0 0; accent-color: var(--ink); cursor: pointer; }
.check a { color: var(--ink); font-weight: 600; }
.btn-xl { height: 3.5rem; padding: 0 2rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn.is-busy { opacity: 0.6; pointer-events: none; }
.spin {
  display: inline-block; flex: none; width: 1rem; height: 1rem; border-radius: 50%;
  border: 2px solid var(--soft-2); border-top-color: var(--ink);
}
@media (prefers-reduced-motion: no-preference) {
  .spin { animation: spin 0.8s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
}
.busyline { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.9rem; font-size: 0.9375rem; color: var(--ink-2); }

/* numbered step cards (launch form, claim) */
.wsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.wstep { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.wstep-head {
  display: flex; align-items: center; gap: 0.9rem; width: 100%;
  padding: 1.15rem 1.4rem; border: 0; background: none; text-align: left; cursor: default;
}
.wstep-n {
  flex: none; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--soft); font-size: 0.875rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink-2);
}
.wstep-title { font-size: 1.0625rem; font-weight: 650; letter-spacing: -0.012em; }
.wstep-sum { min-width: 0; margin-left: auto; font-size: 0.9375rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wstep-edit { flex: none; font-size: 0.875rem; font-weight: 600; color: var(--ink-3); }
.wstep-body { padding: 0 1.4rem 1.4rem 4.3rem; }
.wstep-foot { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.25rem; }
.wstep.is-open .wstep-n { background: var(--ink); color: #fff; }
.wstep.is-done .wstep-n { background: var(--ok-soft); color: var(--ok-ink); }
.wstep:not(.is-open) .wstep-head { cursor: pointer; }
.wstep.is-done .wstep-head:hover .wstep-edit { color: var(--ink); }
.wstep:not(.is-open) .wstep-body { display: none; }
.wstep.is-open .wstep-sum, .wstep.is-open .wstep-edit, .wstep:not(.is-done) .wstep-edit, .wstep:not(.is-done) .wstep-sum { display: none; }
.wstep:not(.is-open):not(.is-done) .wstep-title { color: var(--ink-3); }

/* who a coin is for: the card at the top of the launch page and the claim page */
.forcard { padding: 1.4rem 1.6rem 1.5rem; margin-bottom: 1rem; }
.forcard-top { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem 0.75rem; font-size: 0.875rem; }
.forcard-kind { color: var(--ink-3); font-weight: 500; }
.forcard-title { margin-top: 0.5rem; font-size: 1.5rem; line-height: 1.25; font-weight: 700; letter-spacing: -0.022em; overflow-wrap: anywhere; text-wrap: balance; }
.forcard-who { margin-top: 0.45rem; font-size: 1rem; color: var(--ink-2); }
.forcard-who b { color: var(--ink); font-weight: 600; }
.forcard-acts { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.1rem; }
.forcard-change { margin-left: auto; }
.forcard .inline { margin-top: 1rem; max-width: 40rem; }
.forcard-skel i { display: block; height: 0.9rem; width: 9rem; border-radius: 0.4rem; background: var(--soft); }
.forcard-skel i + i { height: 1.6rem; width: 70%; margin-top: 0.75rem; }
.forcard-skel i + i + i { height: 1rem; width: 45%; }

/* picture picker */
.pick { display: flex; align-items: center; gap: 1.25rem; }
.pick-img {
  flex: none; width: 7rem; height: 7rem; border-radius: 1.25rem; overflow: hidden;
  display: grid; place-items: center; background: var(--soft); color: var(--ink-3); font-size: 0.8125rem; font-weight: 600;
}
.pick-img img { width: 100%; height: 100%; object-fit: cover; }
.pick .btn { position: relative; overflow: hidden; }
.pick input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pick-text { display: grid; gap: 0.6rem; justify-items: start; }

.counter { font-size: 0.8125rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.feeline { margin-top: 0.6rem; padding: 0.75rem 0.95rem; border-radius: 0.75rem; background: var(--soft); font-size: 0.875rem; line-height: 1.5; color: var(--ink-2); }
.feeline b { color: var(--ink); font-weight: 600; }
.wallet { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0.6rem 0.6rem 1rem; border-radius: 0.875rem; background: var(--soft); }
.wallet-label { flex: 1; min-width: 0; font-size: 0.9375rem; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wallet-label.is-on { color: var(--ink); font-weight: 600; }
.cost { font-size: 0.9375rem; color: var(--ink-2); }
.cost b { color: var(--ink); }

/* preview of a coin's page (launch side column) */
.preview { padding: 1.4rem 1.5rem 1.5rem; }
.preview-label { font-size: 0.8125rem; font-weight: 600; color: var(--ink-3); }
.preview-head { display: flex; align-items: center; gap: 0.9rem; margin-top: 0.85rem; }
.preview-img { width: 4rem; height: 4rem; border-radius: 1rem; font-size: 0.8125rem; }
.preview-name { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.015em; overflow-wrap: anywhere; }
.preview-tk { font-size: 0.875rem; font-weight: 600; color: var(--ink-3); }
.preview-for { margin-top: 0.85rem; font-size: 0.875rem; color: var(--ink-2); }
.preview-desc { margin-top: 0.6rem; font-size: 0.875rem; line-height: 1.55; color: var(--ink-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.facts { list-style: none; margin: 0.9rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.facts li { position: relative; padding-left: 1.1rem; font-size: 0.9375rem; line-height: 1.45; color: var(--ink-2); }
.facts li::before { content: ""; position: absolute; left: 0; top: 0.55rem; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--soft-2); }
.facts b { color: var(--ink); font-weight: 600; }

/* the site's numbers, the questions and the site's own coin (home, below the feed) */
.about { margin-top: 3rem; }
.stats { margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.75rem; }
.stat { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.1rem 1.2rem 1.15rem; min-width: 0; }
.stat dt { font-size: 0.8125rem; font-weight: 500; color: var(--ink-3); }
.stat dd { margin: 0.3rem 0 0; font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.qa { padding: 1.3rem 1.45rem 1.4rem; }
.qa h3 { font-size: 1rem; font-weight: 650; letter-spacing: -0.01em; }
.qa p { margin-top: 0.45rem; font-size: 0.9375rem; line-height: 1.55; color: var(--ink-2); }
.qa a { color: var(--ink); font-weight: 600; }
.qa b { color: var(--ink); }
.token { margin-top: 0.75rem; padding: 1.3rem 1.45rem 1.4rem; }
.token-title { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem; font-size: 1rem; font-weight: 700; }
.token-state { font-size: 0.75rem; font-weight: 650; padding: 0.25rem 0.6rem; border-radius: 999px; background: var(--soft); color: var(--ink-2); }
.token-text { margin-top: 0.45rem; font-size: 0.9375rem; line-height: 1.55; color: var(--ink-2); max-width: 46rem; }
.token-row { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.9rem; }
.addr { font-family: var(--mono); font-size: 0.8125rem; background: var(--soft); padding: 0.45rem 0.7rem; border-radius: 0.6rem; overflow-wrap: anywhere; user-select: all; color: var(--ink); }

/* filter chips with counts and a forum dot */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.toolbar .chips { margin: 0 -0.25rem; }
.chip .dot { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--accent); flex: none; align-self: center; }
.chip .n { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.chip[aria-current="page"] .n { color: rgba(255, 255, 255, 0.66); }
.seg { display: inline-flex; gap: 0.25rem; padding: 0.25rem; border-radius: 999px; background: var(--soft); }
.seg button { height: 2rem; padding: 0 0.85rem; border: 0; border-radius: 999px; background: none; font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow); }

/* coin rows (coins page, claim page) */
.crows { display: grid; gap: 0.625rem; }
.crow {
  position: relative; display: grid; align-items: center;
  grid-template-columns: 3.5rem minmax(0, 1fr) 7.5rem 7rem 5rem; column-gap: 1.1rem;
  padding: 0.9rem 1.25rem 0.9rem 1rem; text-decoration: none; color: inherit;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: box-shadow 0.15s ease;
}
.crow:hover { box-shadow: var(--shadow-up); }
.crow-img { width: 3.5rem; height: 3.5rem; border-radius: 0.875rem; font-size: 0.75rem; }
.crow-main { min-width: 0; }
.crow-name { display: block; font-size: 1.0625rem; font-weight: 650; letter-spacing: -0.012em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crow-name .tk { margin-left: 0.4rem; font-weight: 550; color: var(--ink-3); font-size: 0.9375rem; }
.crow-for { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.2rem; min-width: 0; font-size: 0.875rem; color: var(--ink-3); }
.crow-for .ftag { font-size: 0.8125rem; }
.crow-src { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crow-fees { text-align: right; font-variant-numeric: tabular-nums; }
.crow-fees b { display: block; font-size: 0.9375rem; font-weight: 650; }
.crow-fees small { display: block; font-size: 0.75rem; color: var(--ink-3); }
.crow-status { display: flex; justify-content: flex-start; }
.crow-age { text-align: right; font-size: 0.8125rem; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.crow.skel { height: 5.3rem; }
.crow.crow-plain { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "main meta"; padding-left: 1.4rem; }
.crow.crow-plain .crow-main { grid-area: main; }
.crow.crow-plain .crow-fees { grid-area: meta; display: block; }
.coin-img.crow-img, .coin-img.preview-img { display: grid; place-items: center; }

/* the coin page */
.coinhead { padding: 1.6rem 1.75rem 1.7rem; }
.coinhead-top { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1.4rem; align-items: center; }
.coinhead-img { width: 6.5rem; height: 6.5rem; border-radius: 1.5rem; font-size: 1rem; }
.coinhead h1 { font-size: 2.125rem; line-height: 1.12; font-weight: 750; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.coinhead-tk { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.4rem; }
.coinhead-tk .tk { font-size: 1.0625rem; font-weight: 650; color: var(--ink-2); margin-right: 0.25rem; }
.coinfor { margin-top: 1.4rem; padding: 1rem 1.15rem; border-radius: 0.875rem; background: var(--soft); }
.coinfor-top { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem 0.75rem; font-size: 0.8125rem; color: var(--ink-3); }
.coinfor-title { display: block; margin-top: 0.3rem; font-size: 1.0625rem; font-weight: 650; line-height: 1.35; color: var(--ink); overflow-wrap: anywhere; text-decoration: none; }
a.coinfor-title:hover { text-decoration: underline; text-underline-offset: 0.18em; text-decoration-color: rgba(11, 11, 12, 0.3); }
.coinfor-who { margin-top: 0.2rem; font-size: 0.9375rem; color: var(--ink-2); }
.acts { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.mintline { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.9rem; min-width: 0; }
.mintline .addr { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; overflow-wrap: normal; }
.mintline .btn { height: 2.125rem; padding: 0 0.9rem; font-size: 0.8125rem; flex: none; }
.desc { font-size: 1rem; line-height: 1.62; white-space: pre-wrap; overflow-wrap: anywhere; color: #1d1e22; }
.desc .q { color: var(--ink-2); }
.nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin-top: 1rem; }
.num { padding: 0.9rem 1rem 0.95rem; border-radius: 0.875rem; background: var(--soft); min-width: 0; }
.num dt { font-size: 0.8125rem; font-weight: 500; color: var(--ink-3); }
.num dd { margin: 0.25rem 0 0; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.num.is-main { background: var(--ink); color: #fff; }
.num.is-main dt { color: rgba(255, 255, 255, 0.66); }
.status-text { margin-top: 1.1rem; font-size: 0.9375rem; line-height: 1.6; color: var(--ink-2); }
.status-text b { color: var(--ink); font-weight: 600; }
.paylist { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: 0.1rem; }
.paylist li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; box-shadow: 0 -1px 0 var(--soft); font-size: 0.9375rem; }
.paylist .when { flex: none; font-size: 0.8125rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.paylist a { color: var(--ink); font-weight: 600; }
.sidebig { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.sidetext { margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.55; color: var(--ink-2); }
.sidetext a { color: var(--ink); font-weight: 600; }
.side-card .btn-block { margin-top: 1.1rem; }
.kv { margin: 0.9rem 0 0; display: grid; gap: 0.1rem; }
.kv div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; box-shadow: 0 -1px 0 var(--soft); font-size: 0.9375rem; }
.kv div:first-child { box-shadow: none; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; text-align: right; }
.notice { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1.1rem 1.4rem; margin-bottom: 1rem; }
.notice p { flex: 1; min-width: 14rem; font-size: 1rem; font-weight: 600; }
.notice::before { content: ""; flex: none; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--ok); }

/* where each fee goes */
.split { margin-top: 1.1rem; }
.split-bar { display: flex; height: 0.75rem; border-radius: 999px; overflow: hidden; gap: 2px; background: var(--card); }
.split-bar span { display: block; height: 100%; }
.split .s-owner { background: var(--ink); }
.split .s-treasury { background: var(--ink-3); }
.split .s-buyback { background: var(--soft-2); }
.split-legend { list-style: none; margin: 0.75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; font-size: 0.875rem; color: var(--ink-2); }
.split-legend li { display: inline-flex; align-items: center; gap: 0.45rem; }
.split-legend i { width: 0.6rem; height: 0.6rem; border-radius: 50%; }
.split-legend b { color: var(--ink); font-weight: 650; }
.split-note { margin-top: 0.5rem; font-size: 0.8125rem; color: var(--ink-3); }

/* the claim: code box and the forum's steps */
.csteps { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.9rem; counter-reset: cs; }
.csteps li { display: flex; gap: 0.85rem; align-items: flex-start; font-size: 0.9875rem; line-height: 1.55; color: var(--ink-2); }
.csteps li::before {
  counter-increment: cs; content: counter(cs);
  flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--soft); font-size: 0.8125rem; font-weight: 700; color: var(--ink); margin-top: -0.05rem;
}
.csteps code { font-family: var(--mono); font-size: 0.875em; font-weight: 600; color: var(--ink); background: var(--soft); padding: 0.1rem 0.4rem; border-radius: 0.35rem; overflow-wrap: anywhere; }
.claim-link { margin-top: 1.4rem; }
.claimcard { padding: 1.6rem 1.75rem 1.75rem; scroll-margin-top: calc(var(--bar-h) + 1rem); }
.claimcard h2 { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; }
.claimcard .sidetext { font-size: 1rem; max-width: 40rem; }
.claimcard .btn-xl { margin-top: 1.25rem; }
.claimcard .field { margin-top: 1.25rem; max-width: 40rem; }
.state-row { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.9rem; flex-wrap: wrap; }
.optform { margin-top: 0.9rem; }
.optform summary { cursor: pointer; font-size: 0.875rem; font-weight: 600; color: var(--ink-2); }
.optform summary:hover { color: var(--ink); }
.optform form { margin-top: 0.9rem; }
.optform .btn { margin-top: 0.9rem; }
.lookup { padding: 2rem 2.1rem 2.2rem; }
.lookup h1 { font-size: 1.875rem; font-weight: 750; letter-spacing: -0.028em; line-height: 1.2; }
.lookup .lede { font-size: 1rem; }
.lookup .inline { margin-top: 1.4rem; max-width: 40rem; }
.side .inline { flex-wrap: wrap; }
.side .inline .input { flex-basis: 100%; }
.side .inline .btn { flex: 1 1 auto; }
.side .findbox { margin-top: 1rem; }
.field-foot { display: flex; justify-content: space-between; gap: 1rem; }
.pick label:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.empty-note { padding: 1.4rem 1.5rem; font-size: 0.9375rem; color: var(--ink-2); }
.empty-note a { color: var(--ink); font-weight: 600; }

/* ---------- narrower screens ---------- */
@media (max-width: 75em) {
  :root { --side-w: 19rem; }
  .page { gap: 1.75rem; }
}

/* one column below 1024 px */
@media (max-width: 63.99em) {
  .page { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
}

@media (max-width: 47.99em) {
  :root { --gutter: 1rem; --bar-h: 3.5rem; }
  .topbar { position: static; }
  .topbar-in { height: auto; flex-wrap: wrap; gap: 0.6rem 1rem; padding-top: 0.75rem; padding-bottom: 0.85rem; }
  .nav { margin-left: auto; }
  .nav a { padding: 0.45rem 0.65rem; font-size: 0.9375rem; }
  .linkbox-top { order: 3; flex-basis: 100%; max-width: none; margin-left: 0; }
  .page { padding-top: 1.25rem; padding-bottom: 6rem; }
  .side { grid-template-columns: minmax(0, 1fr); }

  .tabs { gap: 1.5rem; padding-bottom: 0.75rem; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .tab { font-size: 1.3125rem; }
  .chips {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    margin: 0.7rem calc(-1 * var(--gutter)) 0; padding: 0.25rem var(--gutter) 0.5rem;
  }
  .chips::-webkit-scrollbar { display: none; }
  .chip .long { display: none; }
  .feed { margin-top: 1rem; gap: 0.625rem; }
  .feedhead { margin-top: 1rem; }

  .row {
    grid-template-columns: 4.25rem minmax(0, 1fr) auto;
    grid-template-areas: "thumb main main" "meta meta act";
    column-gap: 0.9rem; padding: 0.9rem 0.9rem 0.85rem;
    align-items: start;
  }
  .row.no-thumb { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "main main" "meta act"; padding-left: 1.05rem; min-height: 0; }
  .row-thumb { width: 4.25rem; height: 4.25rem; border-radius: 0.6rem; }
  .row-main { align-self: start; }
  .row-title { font-size: 1.0625rem; line-height: 1.33; }
  .row-title a { -webkit-line-clamp: 3; line-clamp: 3; }
  .row-excerpt { font-size: 0.875rem; }
  /* one line on phones: the section is already on its chip, and the rest ends in "…" if it can't fit */
  .row-meta { flex-wrap: nowrap; align-self: center; margin-top: 0.75rem; white-space: nowrap; overflow: hidden; }
  .row-meta span { flex: none; }
  .row-meta .by { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .row-meta .sec { display: none; }
  .row-meta .sec + span::before { content: none; }
  .row-act { align-self: center; margin-top: 0.75rem; padding-left: 0; }
  .row .btn { height: 2.25rem; padding: 0 0.95rem; font-size: 0.8125rem; }
  .row .pill-coin { height: 2rem; }

  .nofeed { padding: 1.5rem 1.25rem 1.6rem; }
  .thead h1 { font-size: 1.625rem; }
  .actionwrap { position: static; margin: 0; padding: 0; background: none; }
  .thead + .actionwrap { height: 1.25rem; }
  .actionbar {
    position: fixed; top: auto; z-index: 10; left: var(--gutter); right: var(--gutter);
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px)); margin: 0; width: auto;
    border-radius: 1.25rem; flex-wrap: nowrap;
  }
  .actionbar .more { display: none; }
  .actionbar .btn { flex: 1 1 auto; min-width: 0; padding: 0 0.85rem; height: 2.75rem; }
  .actionbar .btn-main { flex-grow: 2; }
  .actionbar .pill-coin { display: none; }
  .post, .post-first { padding: 1rem 1.1rem 1.1rem; }
  .post-img { width: 6.5rem; margin-right: 0.9rem; }
  .state { padding: 2.25rem 1.25rem; }
}

/* ---------- the other pages on narrower screens ---------- */
@media (max-width: 75em) {
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .crow { grid-template-columns: 3.25rem minmax(0, 1fr) 6.5rem 6.5rem 4.5rem; column-gap: 0.9rem; }
}
.narrow-only { display: none; }
@media (max-width: 63.99em) {
  .side-card.is-tall { grid-column: 1 / -1; }
  .narrow-only { display: block; }
  .wide-only { display: none; }
}
@media (max-width: 47.99em) {
  .netnote { padding-top: 0.6rem; }
  .netnote-in { font-size: 0.75rem; align-items: flex-start; }
  .netnote-in::before { margin-top: 0.3rem; }
  .pagehead h1, .coinhead h1 { font-size: 1.75rem; }
  .lede { font-size: 1rem; }
  .card-pad, .forcard, .claimcard, .coinhead, .lookup { padding: 1.2rem 1.15rem 1.3rem; }
  .forcard-title { font-size: 1.3125rem; }
  .forcard-change { margin-left: 0; }
  .about { margin-top: 2.25rem; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.625rem; }
  .stats .stat:first-child { grid-column: 1 / -1; }
  .stat dd { font-size: 1.25rem; }
  .faq { grid-template-columns: minmax(0, 1fr); gap: 0.625rem; }
  .qa, .token { padding: 1.1rem 1.15rem 1.2rem; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .field-row .field + .field { margin-top: 1.1rem; }
  .wstep-head { padding: 1rem 1.1rem; gap: 0.75rem; }
  .wstep-body { padding: 0 1.1rem 1.2rem; }
  .wstep-sum { display: none; }
  .wstep-edit { margin-left: auto; }
  .row-meta .by { min-width: 2.75em; }
  .pick-img { width: 5.5rem; height: 5.5rem; border-radius: 1rem; }
  .toolbar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .toolbar .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0.25rem var(--gutter) 0.4rem; }
  .toolbar .chips::-webkit-scrollbar { display: none; }
  .toolbar .seg { align-self: flex-start; }
  .crow {
    grid-template-columns: 3rem minmax(0, 1fr) auto; grid-template-areas: "img main main" "img meta age";
    column-gap: 0.85rem; row-gap: 0.45rem; padding: 0.85rem 0.95rem; align-items: center;
  }
  .crow-img { grid-area: img; width: 3rem; height: 3rem; border-radius: 0.75rem; align-self: start; }
  .crow-main { grid-area: main; }
  .crow-name { font-size: 1rem; }
  .crow-fees { grid-area: meta; display: none; }
  .crow-status { grid-area: meta; }
  .crow-age { grid-area: age; }
  .crow.skel { height: 4.9rem; }
  .coinhead-top { grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1rem; }
  .coinhead-img { width: 4.5rem; height: 4.5rem; border-radius: 1.1rem; }
  .nums { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.5rem; }
  .nums .num.is-main { grid-column: 1 / -1; }
  .acts .btn { flex: 1 1 auto; }
  .inline { flex-wrap: wrap; }
  .inline .input { flex-basis: 100%; }
  .inline .btn { flex: 1 1 auto; }
  .paylist li { flex-direction: column; gap: 0.1rem; }
  .btn-xl { width: 100%; }
}

/* ======================================================================================================
   Wave 3: the text pages (rules, terms, disclosures), opt-out, receipts, admin, and who a coin pays.
   ====================================================================================================== */

.btn-danger { background: #fdecea; color: var(--error); }
.btn-danger:hover { background: #fbdcd8; }
.btn-sm { height: 2.125rem; padding: 0 0.9rem; font-size: 0.8125rem; }
.pagehead .meta { margin-top: 0.6rem; font-size: 0.875rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* the text pages: one card per section */
.doc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
.doc-sec { padding: 1.5rem 1.65rem 1.6rem; scroll-margin-top: calc(var(--bar-h) + 1rem); }
.doc-sec h2 { font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.017em; line-height: 1.3; }
.doc-sec h2 .n { color: var(--ink-3); font-weight: 600; margin-right: 0.4rem; font-variant-numeric: tabular-nums; }
.doc-sec p { margin-top: 0.55rem; max-width: 46rem; font-size: 1rem; line-height: 1.62; color: var(--ink-2); }
.doc-sec h2 + p { margin-top: 0.5rem; }
.doc-sec a { color: var(--ink); font-weight: 600; text-decoration-color: rgba(11, 11, 12, 0.3); text-underline-offset: 0.18em; }
.doc-sec a:hover { text-decoration-color: currentColor; }
.doc-sec b { color: var(--ink); font-weight: 650; }
.doc-lead { padding: 1.5rem 1.65rem 1.6rem; }
.doc-lead p { font-size: 1.0625rem; line-height: 1.6; color: var(--ink-2); max-width: 46rem; }
.doc-lead a { color: var(--ink); font-weight: 600; }
.rules { margin: 0.8rem 0 0; padding-left: 1.75rem; display: grid; gap: 0.65rem; max-width: 46rem; }
.rules li { padding-left: 0.4rem; font-size: 1rem; line-height: 1.6; color: var(--ink-2); }
.rules li::marker { color: var(--ink-3); font-weight: 650; font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.dots { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; gap: 0.55rem; max-width: 46rem; }
.dots li { position: relative; padding-left: 1.15rem; font-size: 1rem; line-height: 1.6; color: var(--ink-2); }
.dots li::before { content: ""; position: absolute; left: 0; top: 0.65rem; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--soft-2); }
/* per forum: how a poster proves it's them */
.proofs { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.5rem; }
.proof { display: grid; grid-template-columns: 9rem minmax(0, 1fr); column-gap: 1.25rem; padding: 1rem 1.15rem 1.05rem; border-radius: 0.875rem; background: var(--soft); }
.proof .ftag { align-self: start; padding-top: 0.12rem; color: var(--ink); }
.doc-sec .proof p { margin: 0; grid-column: 2; font-size: 0.9375rem; line-height: 1.55; max-width: none; }
.doc-sec .proof p + p { margin-top: 0.4rem; }
/* the side column of a text page */
.toc { list-style: none; margin: 0.7rem -0.55rem 0; padding: 0; display: grid; gap: 0.05rem; }
.toc a { display: block; padding: 0.42rem 0.55rem; border-radius: 0.6rem; font-size: 0.875rem; line-height: 1.35; color: var(--ink-2); text-decoration: none; }
.toc a:hover { background: var(--soft); color: var(--ink); }
.side-card .dots li { font-size: 0.9375rem; line-height: 1.5; }
.side-card .dots li::before { top: 0.55rem; }

/* a sentence to post, with its Copy button */
.saybox {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.55rem 1rem;
  margin-top: 1rem; padding: 0.95rem 0.85rem 1rem 1.2rem; border-radius: 1rem; background: var(--soft);
}
.saybox-lbl { grid-column: 1 / -1; font-size: 0.8125rem; font-weight: 600; color: var(--ink-3); }
.saybox-text { font-family: var(--mono); font-size: 1rem; font-weight: 600; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; user-select: all; }
.saybox .btn { align-self: center; }
.saybox-note { grid-column: 1 / -1; font-size: 0.8125rem; line-height: 1.5; color: var(--ink-3); }
.saybox-note b { color: var(--ink-2); font-weight: 600; }
.csteps b { color: var(--ink); font-weight: 650; }

/* the opt-out page */
.optcard { padding: 1.6rem 1.75rem 1.75rem; }
.optcard h2 { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; }
.optcard .field { margin-top: 1.25rem; max-width: 40rem; }
.optcard .sidetext { font-size: 1rem; max-width: 40rem; }
.whobox { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem 0.75rem; margin-top: 0.9rem; padding: 0.8rem 1rem; border-radius: 0.875rem; background: var(--soft); font-size: 0.9375rem; color: var(--ink-2); }
.whobox b { color: var(--ink); font-weight: 650; overflow-wrap: anywhere; }
.donebox { display: flex; align-items: flex-start; gap: 0.75rem; }
.donebox::before { content: ""; flex: none; width: 0.65rem; height: 0.65rem; margin-top: 0.55rem; border-radius: 50%; background: var(--ok); }
.donebox.is-wait::before { background: var(--ink-3); }
.donebox h2 { font-size: 1.375rem; }

/* receipts */
.stats.stats-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ledger { padding: 0.35rem 1.5rem; }
.ledger-row { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr) auto; gap: 0.35rem 1.25rem; align-items: baseline; padding: 0.95rem 0; box-shadow: 0 -1px 0 var(--soft); }
.ledger-row:first-child { box-shadow: none; }
.ledger-when { font-size: 0.8125rem; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ledger-what { min-width: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.3rem 0.6rem; font-size: 0.9375rem; line-height: 1.5; color: var(--ink-2); overflow-wrap: anywhere; }
.ledger-what .tag { align-self: center; }
.ledger-what a { color: var(--ink); font-weight: 650; text-decoration: none; }
.ledger-what a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
.ledger-links { display: flex; gap: 0.5rem; white-space: nowrap; }
.ledger-links a { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); text-decoration: none; padding: 0.3rem 0.65rem; border-radius: 999px; background: var(--soft); }
.ledger-links a:hover { color: var(--ink); background: var(--soft-2); }
.ledger-more { margin-top: 0.75rem; font-size: 0.8125rem; color: var(--ink-3); }

/* admin */
.adm-sec { margin-top: 2.25rem; scroll-margin-top: calc(var(--bar-h) + 1rem); }
.adm-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem 1rem; flex-wrap: wrap; margin-bottom: 0.9rem; }
.adm-head .section-title { margin-bottom: 0; }
.adm-head .btn { align-self: center; }
.adm-intro { max-width: 46rem; margin: -0.35rem 0 1rem; font-size: 0.9375rem; line-height: 1.55; color: var(--ink-2); }
.adm-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.625rem; }
.adm-item { padding: 1.3rem 1.45rem 1.4rem; }
.adm-top { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem 0.6rem; font-size: 0.8125rem; color: var(--ink-3); }
.adm-top .when { margin-left: auto; font-variant-numeric: tabular-nums; white-space: nowrap; }
.adm-title { margin-top: 0.55rem; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.018em; line-height: 1.3; overflow-wrap: anywhere; }
.adm-title a { color: var(--ink); text-decoration: none; }
.adm-title a:hover { text-decoration: underline; text-underline-offset: 0.18em; text-decoration-color: rgba(11, 11, 12, 0.3); }
.adm-text { margin-top: 0.5rem; max-width: 52rem; font-size: 0.9375rem; line-height: 1.55; color: var(--ink-2); overflow-wrap: anywhere; }
.adm-text b { color: var(--ink); font-weight: 600; }
.adm-label { display: block; margin-top: 1.1rem; font-size: 0.8125rem; font-weight: 600; color: var(--ink-3); }
.adm-acts { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.adm-acts .input { height: 2.5rem; max-width: 20rem; flex: 1 1 14rem; font-size: 0.9375rem; }
.adm-acts .msg { margin: 0; flex-basis: 100%; }
.adm-out { margin-top: 0.85rem; font-size: 0.9375rem; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink-2); }
.adm-out.is-ok { color: var(--ok-ink); font-weight: 500; }
.adm-out.is-error { color: var(--error); font-weight: 500; }
.adm-empty { padding: 1.2rem 1.45rem; font-size: 0.9375rem; color: var(--ink-3); }
.adm-form { padding: 1.4rem 1.5rem 1.5rem; }
.adm-form .sidetext { margin-top: 0; max-width: 46rem; }
.adm-form .adm-acts .input { max-width: none; flex: 1 1 18rem; }
/* the two wallets of a claim that would replace the current one */
.wpair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 0.6rem; margin-top: 0.5rem; }
.wbox { min-width: 0; padding: 0.8rem 1rem 0.85rem; border-radius: 0.875rem; background: var(--soft); }
.wbox.is-new { background: var(--warn-soft); }
.wbox-lbl { font-size: 0.8125rem; font-weight: 600; color: var(--ink-3); }
.wbox.is-new .wbox-lbl { color: var(--warn-ink); }
.wbox code { display: block; margin-top: 0.3rem; font-family: var(--mono); font-size: 0.875rem; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; user-select: all; }
.wpair-arrow { align-self: center; color: var(--ink-3); font-size: 1.25rem; }
.wpair.is-one { grid-template-columns: minmax(0, 1fr); max-width: 32rem; }
/* links a claimant gave */
.alinks { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; gap: 0.45rem; }
.alinks li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 0.6rem; font-size: 0.875rem; color: var(--ink-2); }
.alinks .tag { align-self: center; }
.alinks a, .alinks .raw { min-width: 0; font-family: var(--mono); font-size: 0.8125rem; color: var(--ink); overflow-wrap: anywhere; }
.alinks .why { grid-column: 2; font-size: 0.8125rem; color: var(--ink-3); margin-top: -0.25rem; }
/* forum check */
.fcheck { list-style: none; margin: 0; padding: 0.35rem 1.45rem; }
.fcheck > li { padding: 0.95rem 0; box-shadow: 0 -1px 0 var(--soft); }
.fcheck > li:first-child { box-shadow: none; }
.fcheck-top { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem 0.75rem; }
.fcheck-top .ftag { color: var(--ink); min-width: 8.5rem; }
.fcheck-nums { font-size: 0.875rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.fcheck-err { margin-top: 0.4rem; font-size: 0.875rem; color: var(--error); overflow-wrap: anywhere; }
.fcheck-note { margin-top: 0.4rem; font-size: 0.875rem; color: var(--ink-3); overflow-wrap: anywhere; }
.fsteps { list-style: none; margin: 0.45rem 0 0; padding: 0; display: grid; gap: 0.2rem; }
.fsteps li { display: flex; flex-wrap: wrap; gap: 0.15rem 0.6rem; font-size: 0.8125rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.fsteps li b { color: var(--ink-2); font-weight: 600; }
.fsteps li.is-bad b { color: var(--error); }
.fsteps .e { flex-basis: 100%; color: var(--error); overflow-wrap: anywhere; }
.fsteps .n { flex-basis: 100%; color: var(--ink-3); overflow-wrap: anywhere; }
.fcheck-sum { margin: 0 0 0.75rem; font-size: 0.875rem; color: var(--ink-3); }
.tag-bad { background: #fdecea; color: var(--error); }
.tag-bad::before { content: ""; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--error); }
.side .navcount { float: right; font-variant-numeric: tabular-nums; color: var(--ink-3); }

/* who a coin pays: thread view groups and coin rows */
.tcoins + .tcoins { margin-top: -0.25rem; }
.tcoins-note { margin: -0.15rem 0 0.35rem; font-size: 0.875rem; color: var(--ink-3); }
.coin-for .pays, .crow-pays { color: var(--ink-2); font-weight: 500; }
.crow-pays { min-width: 0; flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crow-for .crow-src { flex: 1 1 0; }
.crow-src::before { content: "·"; margin-right: 0.5rem; }
.row-meta .cc { color: var(--ink-2); }

@media (max-width: 75em) {
  .proof { grid-template-columns: 8rem minmax(0, 1fr); }
}
@media (max-width: 47.99em) {
  .doc-sec, .doc-lead, .optcard { padding: 1.2rem 1.15rem 1.3rem; }
  .doc-sec h2 { font-size: 1.125rem; }
  .doc-sec p, .rules li, .dots li { font-size: 0.9875rem; }
  .rules { padding-left: 1.5rem; }
  .proof { grid-template-columns: minmax(0, 1fr); row-gap: 0.45rem; padding: 0.9rem 1rem 0.95rem; }
  .doc-sec .proof p { grid-column: 1; }
  .saybox { grid-template-columns: minmax(0, 1fr); padding: 0.9rem 0.9rem 0.95rem 1rem; }
  .saybox .btn { justify-self: stretch; }
  .saybox-text { font-size: 0.9375rem; }
  .stats.stats-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats.stats-4 .stat:first-child { grid-column: auto; }
  .ledger { padding: 0.25rem 1.1rem; }
  .ledger-row { grid-template-columns: minmax(0, 1fr); grid-template-areas: "when" "what" "links"; row-gap: 0.4rem; padding: 0.9rem 0; }
  .ledger-when { grid-area: when; }
  .ledger-what { grid-area: what; }
  .ledger-links { grid-area: links; }
  .ledger-links:empty { display: none; }
  .adm-item { padding: 1.1rem 1.1rem 1.2rem; }
  .adm-top .when { margin-left: 0; flex-basis: 100%; }
  .adm-title { font-size: 1.125rem; }
  .wpair { grid-template-columns: minmax(0, 1fr); }
  .wpair-arrow { justify-self: center; transform: rotate(90deg); line-height: 1; }
  .alinks li { grid-template-columns: minmax(0, 1fr); gap: 0.25rem; }
  .alinks .tag { justify-self: start; }
  .alinks .why { grid-column: 1; margin-top: 0; }
  .adm-acts .input { max-width: none; flex-basis: 100%; }
  .adm-acts .btn { flex: 1 1 auto; }
  .fcheck { padding: 0.25rem 1.1rem; }
  .crow-for .crow-src { display: none; }
  /* the row's meta is one line on phones: the reply-coin count would be cut off, and the thread view lists those coins */
  .row-meta .cc { display: none; }
}

/* ======================================================================================================
   Brand layer: ink, white and one accent (highlighter yellow, --brand). The mark is three bars stepped to
   the right like nested replies, in the accent on a black rounded square. Headings use Inter Tight.
   The accent is used for: the mark, the headline highlight on the home band, the main button on dark
   surfaces, text selection and the band's focus ring. Never as text on white.
   ====================================================================================================== */

::selection { background: var(--brand); color: var(--brand-ink); }

/* ---------- the mark and the wordmark ---------- */
.mk-bg { fill: var(--black); }
.mk-bar { fill: var(--brand); }
.logo { display: inline-flex; align-items: center; gap: 0.55rem; flex: none; color: var(--ink); text-decoration: none; border-radius: 0.6rem; }
.logo-mark { display: block; flex: none; width: 2.125rem; height: 2.125rem; }
.logo-word { font-family: var(--display); font-weight: 800; font-size: 1.5625rem; letter-spacing: -0.045em; line-height: 1; padding-bottom: 0.14rem; }
.logo:hover .logo-mark { transform: rotate(-4deg); }
.logo-mark { transition: transform 0.35s var(--ease); }

/* ---------- headings in the display face ---------- */
.pagehead h1, .thead h1, .coinhead h1, .lookup h1, .forcard-title, .section-title, .state h2, .nofeed h2,
.claimcard h2, .optcard h2, .doc-sec h2, .side-title, .card-title, .token-title, .qa h3, .sidebig,
.adm-title, .preview-name, .wstep-title, .tcoins h2, .donebox h2 {
  font-family: var(--display);
}
.pagehead h1 { font-size: 3rem; line-height: 1.04; font-weight: 800; letter-spacing: -0.034em; }
.lede { margin-top: 0.7rem; font-size: 1.125rem; }
.pagehead .meta { margin-top: 0.75rem; }
.thead h1 { font-size: 2.5rem; line-height: 1.08; font-weight: 800; letter-spacing: -0.027em; }
.coinhead h1 { font-size: 2.5rem; line-height: 1.04; font-weight: 800; letter-spacing: -0.03em; }
.lookup h1 { font-size: 2.5rem; line-height: 1.04; font-weight: 800; letter-spacing: -0.03em; }
.forcard-title { font-size: 1.75rem; line-height: 1.15; font-weight: 800; letter-spacing: -0.024em; }
.section-title { font-size: 1.625rem; font-weight: 800; letter-spacing: -0.028em; line-height: 1.15; }
.side-title { font-size: 1.1875rem; font-weight: 750; letter-spacing: -0.018em; }
.card-title { font-size: 1.3125rem; font-weight: 800; letter-spacing: -0.028em; }
.state h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; }
.nofeed h2, .claimcard h2, .optcard h2, .donebox h2 { font-size: 1.625rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.doc-sec h2 { font-size: 1.375rem; font-weight: 750; letter-spacing: -0.028em; }
.qa h3 { font-size: 1.125rem; font-weight: 750; letter-spacing: -0.022em; }
.token-title { font-size: 1.1875rem; font-weight: 800; letter-spacing: -0.025em; }
.sidebig { font-size: 1.625rem; font-weight: 800; letter-spacing: -0.032em; }
.adm-title { font-weight: 750; letter-spacing: -0.025em; }
.wstep-title { font-size: 1.125rem; font-weight: 750; letter-spacing: -0.02em; }
.tcoins h2 { font-size: 1.0625rem; font-weight: 750; letter-spacing: -0.02em; }
.stat dd, .num dd { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; }
.stat dd { font-size: 1.625rem; }

/* ---------- top bar ---------- */
.topbar-in { gap: 2.25rem; }
.nav a { font-weight: 550; }
.nav a[aria-current="page"] { background: var(--soft); }
/* the home page's band has the big paste box: the bar's own box only floats in once the band has scrolled away */
.linkbox-top { transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background-color 0.15s ease, box-shadow 0.15s ease; }
body[data-view="feed"]:not(.band-gone) .linkbox-top { opacity: 0; transform: translateY(-0.35rem); pointer-events: none; visibility: hidden; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s 0.3s; }

/* ---------- buttons ---------- */
.btn { transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.25s var(--ease), transform 0.25s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); transition-duration: 0.08s; }
.btn-main:hover { box-shadow: 0 6px 16px rgba(16, 17, 20, 0.18); }
.btn-brand { background: var(--brand); color: var(--brand-ink); }
.btn-brand:hover { background: color-mix(in srgb, var(--brand) 88%, #fff); box-shadow: 0 6px 20px color-mix(in srgb, var(--brand) 30%, transparent); }

/* ---------- the home band ---------- */
.band { background: var(--black); color: #fff; }
body:not([data-view="feed"]) .band { display: none; }
.band-in { max-width: var(--page-max); margin: 0 auto; padding: 2.6rem var(--gutter) 2.4rem; }
.band-title {
  font-family: var(--display); font-weight: 800; font-size: 3.625rem; line-height: 1.02; letter-spacing: -0.03em; word-spacing: 0.02em;
  text-wrap: balance;
}
.band-title mark {
  background: var(--brand); color: var(--brand-ink);
  padding: 0 0.1em 0.02em; margin: 0 -0.02em; border-radius: 0.12em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.band-sub { margin-top: 0.85rem; max-width: 44rem; font-size: 1.125rem; line-height: 1.5; color: rgba(255, 255, 255, 0.7); }
.band-act { display: flex; align-items: center; flex-wrap: wrap; gap: 0.9rem 1.75rem; margin-top: 1.6rem; }
.band .linkbox { flex: 0 1 42rem; min-width: 0; background: #fff; padding: 0.375rem; }
.band .linkbox input { height: 3rem; font-size: 1.0625rem; padding-left: 1.25rem; color: var(--ink); }
.band .linkbox .btn { height: 3rem; padding: 0 1.6rem; font-size: 0.9375rem; }
.band .linkbox:focus-within { background: #fff; box-shadow: 0 0 0 3px var(--brand); }
.band .linkbox-msg { color: var(--ink-2); }
.band-nums { display: flex; flex-wrap: wrap; gap: 0.2rem 0; margin: 0; padding: 0; list-style: none; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.55); font-variant-numeric: tabular-nums; }
.band-nums li { display: inline-flex; align-items: baseline; gap: 0.35rem; }
.band-nums li + li::before { content: "·"; margin: 0 0.65rem; color: rgba(255, 255, 255, 0.3); }
.band-nums b { color: #fff; font-weight: 650; }
/* the test-network note joins the band on the home page */
body[data-view="feed"] .netnote { background: var(--black); }
body[data-view="feed"] .netnote-in { color: rgba(255, 255, 255, 0.62); }
.netnote:not([hidden]) ~ .band .band-in { padding-top: 2rem; }

/* ---------- forum tabs: one white track, the chosen forum in black ---------- */
.tabs {
  display: flex; width: fit-content; max-width: 100%; gap: 0.25rem; margin: 0; padding: 0.3125rem;
  background: var(--card); border-radius: 999px; box-shadow: var(--shadow);
}
.tab {
  height: 2.875rem; padding: 0 1.15rem 0 1rem; gap: 0.55rem; border-radius: 999px;
  font-family: var(--display); font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1;
  color: var(--ink-2);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.tab:hover { color: var(--ink); background: var(--soft); }
.tab .dot { width: 0.5rem; height: 0.5rem; opacity: 1; }
.tab[aria-current="page"] { color: #fff; background: var(--black); }
.tab[aria-current="page"]::after { content: none; }
.tabs-skel { gap: 0.25rem; padding: 0; }
.tabs-skel span { width: 7rem; height: 2.875rem; border-radius: 999px; background: var(--soft); }

/* section chips: quieter than the tabs, the chosen one ringed in ink */
.chips { margin-top: 0.9rem; }
.chip { transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), background-color 0.15s ease, color 0.15s ease; }
.chip:hover { transform: translateY(-1px); }
.chip[aria-current="page"] { background: var(--card); color: var(--ink-2); box-shadow: inset 0 0 0 2px var(--ink); }
.chip[aria-current="page"] b { color: var(--ink); }
.chip[aria-current="page"] .n { color: var(--ink-3); }

/* ---------- thread rows: every row has a tile (the picture, or the reply count in the forum's colour) ---------- */
.row { transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease); }
.row:hover { transform: translateY(-2px); box-shadow: var(--lift); }
.row-title { font-family: var(--display); font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.008em; line-height: 1.28; }
.row-tile {
  grid-area: thumb; width: 5.75rem; height: 5.75rem; border-radius: 0.75rem;
  display: grid; place-content: center; justify-items: center; gap: 0.15rem;
  background: color-mix(in srgb, var(--accent) 9%, #fff);
  color: color-mix(in srgb, var(--accent) 80%, #000);
  font-variant-numeric: tabular-nums;
}
.row-tile b { font-family: var(--display); font-size: 1.625rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.row-tile span { font-size: 0.75rem; font-weight: 600; line-height: 1; opacity: 0.75; }
.row-tile svg { width: 1.25rem; height: 1.25rem; margin-bottom: 0.2rem; opacity: 0.9; }
.row.has-tile .row-meta .n-rep { display: none; } /* the tile already says it */
.skel .row-tile { background: var(--soft); }
.row .btn-launch:hover { background: var(--black); color: #fff; }
.pill-coin { transition: background-color 0.15s ease, transform 0.25s var(--ease); }
.pill-coin:hover { transform: translateY(-1px); }

/* ---------- side column ---------- */
.side-card { padding: 1.5rem 1.6rem 1.6rem; }
.steps { margin-top: 1.15rem; gap: 1.1rem; }
.steps li { gap: 1rem; align-items: center; }
.step-ic {
  flex: none; width: 2.75rem; height: 2.75rem; border-radius: 0.85rem;
  display: grid; place-items: center; background: var(--black); color: #fff;
}
.step-ic svg { width: 1.375rem; height: 1.375rem; }
.steps p { padding-top: 0; font-size: 0.9688rem; line-height: 1.42; color: var(--ink-2); }
.steps p b { color: var(--ink); font-weight: 650; }
.coin a { transition: background-color 0.15s ease; }

/* cards that lift a little on hover */
.crow { transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease); }
.crow:hover { transform: translateY(-2px); box-shadow: var(--lift); }

/* ---------- footer: the mark, the wordmark, tidy columns ---------- */
.foot { margin-top: 2rem; padding: 0; background: var(--card); box-shadow: 0 -1px 0 rgba(16, 17, 20, 0.06); }
.foot-in { max-width: var(--page-max); margin: 0 auto; padding: 3rem var(--gutter) 3rem; box-shadow: none; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 4rem; align-items: start; }
.foot-brand .logo-mark { width: 2.5rem; height: 2.5rem; }
.foot-brand .logo-word { font-size: 1.875rem; }
.foot-tag { margin-top: 0.75rem; font-family: var(--display); font-size: 1.125rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(8rem, auto)); gap: 1.5rem 3.5rem; }
.foot-col { display: grid; align-content: start; gap: 0.55rem; }
.foot-col h2 { margin-bottom: 0.2rem; font-size: 0.8125rem; font-weight: 600; color: var(--ink-3); }
.foot-col a { font-size: 0.9375rem; font-weight: 550; color: var(--ink); text-decoration: none; width: fit-content; }
.foot-col a:hover { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1.5px; }
.foot-fine { margin-top: 2.5rem; padding-top: 1.5rem; box-shadow: 0 -1px 0 var(--soft); }
.foot-fine .fine-lead { margin-top: 0; }

/* ---------- motion: things float in, nothing bounces ---------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes fz-rise { from { opacity: 0; transform: translateY(0.5rem); } to { opacity: 1; transform: none; } }
  @keyframes fz-fade { from { opacity: 0; } to { opacity: 1; } }
  .feed > .row:not(.skel), .feed > .card, .crows > .crow:not(.skel), #thread-body > *, .posts > .post,
  .main > *:not(#feed-view):not(#thread-view), .side > *, .band-in > * {
    animation: fz-rise 0.5s var(--ease) backwards;
  }
  .feed > :nth-child(2), .crows > :nth-child(2), .posts > :nth-child(2), .side > :nth-child(2), .band-in > :nth-child(2) { animation-delay: 0.04s; }
  .feed > :nth-child(3), .crows > :nth-child(3), .posts > :nth-child(3), .side > :nth-child(3), .band-in > :nth-child(3) { animation-delay: 0.08s; }
  .feed > :nth-child(4), .crows > :nth-child(4), .posts > :nth-child(4), .side > :nth-child(4) { animation-delay: 0.12s; }
  .feed > :nth-child(5), .crows > :nth-child(5), .posts > :nth-child(5) { animation-delay: 0.16s; }
  .feed > :nth-child(6), .crows > :nth-child(6), .posts > :nth-child(6) { animation-delay: 0.2s; }
  .feed > :nth-child(n+7), .crows > :nth-child(n+7), .posts > :nth-child(n+7) { animation-delay: 0.24s; }
  .coins > .coin, .band-nums li { animation: fz-fade 0.45s ease backwards; }
}

/* ---------- brand layer on narrower screens ---------- */
@media (max-width: 75em) {
  .band-title { font-size: 3.25rem; }
}
@media (max-width: 63.99em) {
  .foot-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 47.99em) {
  .logo-mark { width: 1.875rem; height: 1.875rem; }
  .logo-word { font-size: 1.4375rem; }
  body[data-view="feed"] .linkbox-top { display: none; }
  .band-in { padding: 1.6rem var(--gutter) 1.5rem; }
  .band-title { font-size: 2.375rem; line-height: 1.04; }
  .band-sub { margin-top: 0.6rem; font-size: 0.9688rem; line-height: 1.45; }
  .band-act { margin-top: 1.1rem; gap: 0.75rem; }
  .band .linkbox { flex-basis: 100%; padding: 0.3rem; }
  .band .linkbox input { height: 2.75rem; font-size: 1rem; padding-left: 1rem; }
  .band .linkbox .btn { height: 2.75rem; padding: 0 1.15rem; }
  .band-nums { font-size: 0.8125rem; min-height: 1.5em; } /* room kept for the numbers, so nothing moves when they arrive */
  .band-nums li + li::before { margin: 0 0.5rem; }

  .tabs { width: auto; margin-right: calc(-1 * var(--gutter)); border-radius: 999px 0 0 999px; padding-right: var(--gutter); }
  .tab { height: 2.5rem; padding: 0 0.95rem 0 0.85rem; font-size: 1rem; }
  .row-tile { width: 4.25rem; height: 4.25rem; border-radius: 0.6rem; }
  .row-tile b { font-size: 1.3125rem; }
  .row-tile span { font-size: 0.6875rem; }
  .row-title { font-size: 1.0938rem; }
  .row:hover { transform: none; }

  .pagehead h1 { font-size: 2.25rem; }
  .thead h1, .coinhead h1, .lookup h1 { font-size: 1.875rem; }
  .forcard-title { font-size: 1.4375rem; }
  .section-title { font-size: 1.375rem; }
  .stat dd { font-size: 1.375rem; }

  .foot-in { padding: 2.25rem var(--gutter) 6rem; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
  .foot-fine { margin-top: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
