/* vnetwork.app
   A night-blue network of pixel-art worlds: Pixelify Sans for display, Figtree for reading.
   Palette from the website build strategy: night #18263C, blue #344C70, sky #749ACB,
   gold #D3B77D and mist #DFE8F5, with derived inks checked for contrast.

   The first half is the site's long-standing look (header, page heads, cards, lists, tables). The second half,
   from "the platform" on, is what the account, the network and the operators' pages added: the line map, forms,
   rows, notes and the rest. Corners are square and edges are stepped throughout: it's pixel art, not glass. */

@font-face {
  font-family: 'Pixelify Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url('/fonts/pixelify-sans-latin-wght.woff2') format('woff2');
}

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url('/fonts/figtree-latin-wght.woff2') format('woff2');
}

@font-face {
  font-family: 'Figtree';
  font-style: italic;
  font-display: swap;
  font-weight: 300 900;
  src: url('/fonts/figtree-latin-wght-italic.woff2') format('woff2');
}

:root {
  --night: #18263c;
  --night-deep: #101a2b;
  --blue: #344c70;
  --sky: #749acb;
  --gold: #d3b77d;
  --gold-ink: #6b5520;
  --mist: #dfe8f5;
  --paper: #f0f4fa;
  --ink: #142033;
  --ink-soft: #3d4c63;
  --rule: #b8c6da;
  --on-night: #eaf0f8;
  --on-night-soft: #b4c3d8;

  --pixel: 'Pixelify Sans', 'Courier New', ui-monospace, monospace;
  --sans: 'Figtree', 'Segoe UI', system-ui, sans-serif;

  --wrap: 74rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --measure: 40rem;
  --focus: var(--blue);
  --step: 4px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variant-numeric: lining-nums;
}

@media (min-width: 48rem) {
  body {
    font-size: 1.125rem;
  }
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.15;
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--pixel);
  font-weight: 600;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.3rem, 1.6rem + 3vw, 3.75rem);
}

h2 {
  font-size: clamp(1.65rem, 1.3rem + 1.4vw, 2.35rem);
}

h3,
h4 {
  font-family: var(--sans);
  font-weight: 750;
  font-size: 1.15rem;
}

p {
  margin: 0;
}

p + p {
  margin-top: 1rem;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--gold);
  color: var(--night);
  font-weight: 700;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Prose keeps a readable measure on its children, so it can share an element with .wrap. */
.prose > * {
  max-width: var(--measure);
}

.prose-wide > * {
  max-width: 52rem;
}

.prose > h2 {
  margin-bottom: 1rem;
}

.prose > * + h2 {
  margin-top: 2.25rem;
}

.prose > h2 + .defs,
.prose > p + .defs,
.prose > h2 + .ticks,
.prose > p + .ticks,
.prose > .ticks + p,
.prose > .defs + p,
.prose > .defs + .ticks,
.prose > h2 + .steps,
.prose > p + .steps,
.prose > .steps + p,
.prose > .table-wrap + p,
.prose > .modes + p {
  margin-top: 1.25rem;
}

/* ------------------------------------------------------------------ dark surfaces */

.site-head,
.page-head,
.hero,
.band-night,
.closing,
.site-foot {
  --focus: var(--gold);
  background: var(--night);
  color: var(--on-night);
}

.site-head a,
.page-head a:not(.btn),
.hero a:not(.btn),
.band-night a:not(.btn),
.closing a:not(.btn),
.site-foot a {
  color: var(--on-night);
}

.site-head a:hover,
.page-head a:not(.btn):hover,
.band-night a:not(.btn):hover,
.site-foot a:hover {
  color: var(--gold);
}

/* ------------------------------------------------------------------ header */

.site-head {
  position: relative;
  border-bottom: var(--step) solid var(--blue);
}

.head-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand img {
  image-rendering: pixelated;
}

.brand-word {
  margin: 0;
  color: var(--gold);
  font-family: var(--pixel);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
}

.site-head .brand:hover .brand-word {
  color: var(--on-night);
}

.nav-wide ul,
.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1rem;
}

.nav-wide a,
.nav-menu a {
  display: inline-block;
  padding-block: 0.4rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: var(--step) solid transparent;
}

.nav-wide a[aria-current='page'],
.nav-menu a[aria-current='page'] {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav-wide {
  display: none;
}

.nav-menu summary {
  padding: 0.45rem 0.9rem;
  border: 2px solid var(--sky);
  color: var(--on-night);
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.nav-menu summary::-webkit-details-marker {
  display: none;
}

.nav-menu[open] summary {
  background: var(--blue);
}

.nav-menu nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 5;
  padding: 1rem var(--gutter) 1.5rem;
  background: var(--night);
  border-bottom: var(--step) solid var(--blue);
}

.nav-menu ul {
  flex-direction: column;
  align-items: flex-start;
  font-size: 1.0625rem;
}

@media (min-width: 68rem) {
  .nav-wide {
    display: block;
  }
  .nav-menu {
    display: none;
  }
}

/* ------------------------------------------------------------------ page heads */

.page-head {
  padding-block: clamp(2.5rem, 6vw, 4.25rem);
}

.page-head-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 48rem) {
  .page-head-grid {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.6rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
}

.crumbs li + li::before {
  content: '/';
  margin-right: 0.6rem;
  color: var(--sky);
}

.page-head h1 {
  color: var(--gold);
}

.kicker {
  margin-top: 0.75rem;
  color: var(--sky);
  font-weight: 650;
  max-width: 42rem;
}

.lede {
  margin-top: 1rem;
  max-width: 42rem;
  color: var(--on-night);
  font-size: 1.2rem;
  line-height: 1.5;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.4rem;
  margin-top: 1.5rem;
  color: var(--on-night-soft);
  font-weight: 600;
}

/* ------------------------------------------------------------------ status lamps: pixel squares */

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.3;
  white-space: nowrap;
}

.status::before {
  content: '';
  width: 0.7rem;
  height: 0.7rem;
  flex: none;
  border: 2px solid currentColor;
}

.status-live::before {
  background: var(--gold);
  border-color: var(--gold-ink);
}

.status-early::before {
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
}

.status-development::before {
  background: radial-gradient(currentColor 30%, transparent 32%);
}

.status-concept::before {
  border-style: dashed;
}

.page-head .status,
.band-night .status {
  color: var(--on-night-soft);
}

.page-head .status-live::before {
  border-color: var(--gold);
}

/* ------------------------------------------------------------------ buttons */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.35rem;
  border: 2px solid transparent;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: var(--step) var(--step) 0 var(--night-deep);
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--night-deep);
}

.btn-gold {
  background: var(--gold);
  color: var(--night);
}

.btn-gold:hover {
  color: var(--night);
}

.btn-line {
  border-color: var(--sky);
  color: var(--on-night);
  box-shadow: none;
}

.btn-line:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: none;
}

.btn-blue {
  background: var(--blue);
  color: var(--paper);
}

.btn-blue:hover {
  color: var(--paper);
  background: var(--night);
}

.btn-line-dark {
  border-color: var(--blue);
  color: var(--blue);
  background: transparent;
  box-shadow: none;
}

.btn-line-dark:hover {
  background: var(--mist);
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover {
    transform: none;
  }
}

/* ------------------------------------------------------------------ hero */

.hero {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem);
  border-bottom: var(--step) solid var(--blue);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 62rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
}

.hero-title {
  color: var(--gold);
  font-size: clamp(2.8rem, 1.8rem + 4.4vw, 5rem);
  line-height: 1.02;
}

.hero-sub {
  margin-top: 1rem;
  color: var(--sky);
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.5rem);
  font-weight: 650;
}

.hero-lede {
  margin-top: 1rem;
  max-width: 34rem;
  color: var(--on-night);
  font-size: 1.15rem;
}

/* ------------------------------------------------------------------ bands and sections */

.band {
  padding-block: clamp(3.25rem, 7vw, 5.5rem);
}

.band-mist {
  background: var(--mist);
}

.section {
  padding-block: clamp(2.5rem, 5.5vw, 4rem);
}

.section + .section {
  border-top: 1px solid var(--rule);
}

.section-tight {
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
}

.section-intro {
  max-width: 44rem;
  margin-bottom: 2rem;
}

.section-intro p,
.section-lede {
  margin-top: 0.75rem;
  color: var(--ink-soft);
}

.band-night .section-intro p {
  color: var(--on-night-soft);
}

.section-title {
  margin-bottom: 1.75rem;
}

.split {
  display: grid;
  gap: 2rem 4rem;
}

@media (min-width: 56rem) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}

.more {
  margin-top: 2rem;
  font-weight: 700;
}

.fineprint {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.related {
  color: var(--ink-soft);
}

.callout {
  padding: 1rem 1.25rem;
  background: var(--mist);
  border-left: var(--step) solid var(--blue);
}

.loop-note {
  max-width: 44rem;
  margin-top: 2rem;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------------ lists */

.ticks {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  padding-left: 1.6rem;
}

.ticks li::before {
  content: '';
  position: absolute;
  left: 0.1rem;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--sky);
  box-shadow: 2px 2px 0 var(--blue);
}

.defs {
  display: grid;
  margin: 0;
}

.defs > div {
  display: grid;
  gap: 0.2rem 2rem;
  padding-block: 0.9rem;
  border-top: 1px solid var(--rule);
}

.defs > div:last-child {
  border-bottom: 1px solid var(--rule);
}

.defs dt {
  font-weight: 750;
}

.defs dd {
  margin: 0;
}

@media (min-width: 48rem) {
  .defs > div {
    grid-template-columns: 13rem minmax(0, 1fr);
  }
}

.steps {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 3.25rem;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  background: var(--night);
  color: var(--gold);
  font-family: var(--pixel);
  font-weight: 600;
}

.steps h3 {
  margin-bottom: 0.25rem;
}

/* ------------------------------------------------------------------ tables */

.table-wrap {
  overflow-x: auto;
  margin-block: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

th,
td {
  padding: 0.8rem 1.25rem 0.8rem 0;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}

th:last-child,
td:last-child {
  padding-right: 0;
}

thead th {
  border-bottom: var(--step) solid var(--night);
  font-weight: 750;
}

tbody th {
  font-weight: 700;
}

.num {
  width: auto;
  min-width: min(100%, 30rem);
}

.num td,
.num thead th:not(:first-child) {
  text-align: right;
  font-variant-numeric: lining-nums tabular-nums;
}

@media (max-width: 40rem) {
  .stack-table thead {
    display: none;
  }
  .stack-table tr {
    display: grid;
    gap: 0.25rem;
    padding-block: 0.9rem;
    border-bottom: 1px solid var(--rule);
  }
  .stack-table th,
  .stack-table td {
    padding: 0;
    border: 0;
  }
}

/* ------------------------------------------------------------------ pixel badges */

.pix {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 3.5rem;
  height: 3.5rem;
  padding: 0.35rem;
  background: var(--night);
  box-shadow: inset 0 0 0 var(--step) var(--blue);
}

.pix-svg {
  width: 100%;
  height: 100%;
}

.pix-large {
  width: clamp(6rem, 14vw, 9rem);
  height: clamp(6rem, 14vw, 9rem);
  padding: 0.8rem;
  box-shadow: inset 0 0 0 6px var(--gold);
}

/* ------------------------------------------------------------------ world cards */

.world-grid {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 44rem) {
  .world-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 70rem) {
  .world-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.world-card {
  display: flex;
  gap: 1rem;
  padding: 1.1rem;
  background: #fff;
  border: 2px solid var(--rule);
  border-bottom-width: var(--step);
  border-right-width: var(--step);
  border-color: var(--rule) var(--blue) var(--blue) var(--rule);
}

.band-mist .world-card {
  border-color: var(--paper) var(--blue) var(--blue) var(--paper);
}

.world-card-body {
  display: grid;
  gap: 0.45rem;
  align-content: start;
  min-width: 0;
}

.world-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.75rem;
}

.world-card-name {
  font-family: var(--pixel);
  font-size: 1.45rem;
  font-weight: 600;
}

.world-card-name a {
  color: var(--night);
  text-decoration: none;
}

.world-card-name a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.world-card-text {
  font-size: 1rem;
}

.world-card-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  font-size: 0.9rem;
}

.domain {
  color: var(--ink-soft);
  font-weight: 650;
}

.counterpart {
  font-weight: 650;
}

.modes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.modes li {
  padding: 0.1rem 0.5rem;
  background: var(--mist);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 650;
}

.world-grid-three {
  margin-top: 0.5rem;
}

/* ------------------------------------------------------------------ filter chips */

.chips ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips a {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border: 2px solid var(--blue);
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.chips a:hover {
  background: var(--mist);
}

.chips a[aria-current] {
  background: var(--night);
  border-color: var(--night);
  color: var(--gold);
}

/* ------------------------------------------------------------------ home page parts */

.invitations {
  display: grid;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--pixel);
  font-size: clamp(1.3rem, 1rem + 1.1vw, 1.75rem);
  line-height: 1.35;
}

.invitations a {
  color: var(--night);
  text-decoration-color: var(--sky);
  text-decoration-thickness: 3px;
}

.invitations a:hover {
  color: var(--blue);
}

.collections {
  display: grid;
  gap: 1.5rem 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 52rem) {
  .collections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.collection {
  display: flex;
  gap: 1rem;
  align-items: start;
}

.collection h3 a {
  color: var(--night);
}

.collection p {
  margin-top: 0.3rem;
  color: var(--ink-soft);
}

.collection .collection-names {
  color: var(--ink);
  font-weight: 650;
}

.featured {
  display: grid;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 52rem) {
  .featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.feature {
  display: flex;
  gap: 1.25rem;
  align-items: start;
}

.feature h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.8rem;
  font-family: var(--pixel);
  font-size: 1.8rem;
  font-weight: 600;
}

.feature h3 a {
  color: var(--night);
}

.feature p {
  margin-top: 0.5rem;
}

.go {
  font-weight: 750;
}

.pairs {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 52rem) {
  .pairs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2.5rem;
  }
}

.pairs li {
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--blue);
}

.pair-world {
  font-family: var(--pixel);
  font-size: 1.25rem;
  font-weight: 600;
}

.band-night .pair-world {
  color: var(--gold);
}

.pairs span {
  margin-inline: 0.35rem;
  color: var(--sky);
}

.closing {
  padding-block: clamp(3.5rem, 8vw, 6rem);
  border-top: var(--step) solid var(--blue);
}

.closing h2 {
  color: var(--gold);
  max-width: 40rem;
}

.closing p {
  margin-top: 1rem;
  color: var(--on-night-soft);
}

/* ------------------------------------------------------------------ the hierarchy */

.tiers {
  --line: 2px solid var(--sky);
  margin: 0;
  text-align: center;
}

.tiers-list {
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tier {
  position: relative;
  width: min(100%, 36rem);
  padding: 0.9rem 1.25rem 1rem;
  background: #fff;
  border: 2px solid var(--night);
  box-shadow: var(--step) var(--step) 0 var(--blue);
}

.band-mist .tier {
  background: var(--paper);
}

.tier + .tier::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  height: 1.5rem;
  border-left: var(--line);
}

.tier-names {
  font-family: var(--pixel);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
}

.tier-names a {
  color: var(--night);
}

.tier-text {
  margin-top: 0.3rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.tier-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  font-weight: 650;
}

.tier-chips a {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  background: var(--mist);
  color: var(--ink);
  text-decoration: none;
}

.tier-chips a:hover {
  background: var(--sky);
}

.here {
  color: var(--gold-ink);
}

.tiers-across {
  max-width: 44rem;
  margin: 1.75rem auto 0;
  padding: 0.9rem 1.25rem;
  background: var(--night);
  color: var(--on-night);
}

.tiers-across span {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--gold);
  font-family: var(--pixel);
  font-weight: 600;
}

.tiers-across a {
  color: var(--gold);
}

.tiers-across .here {
  color: var(--on-night);
  text-decoration: underline;
}

/* ------------------------------------------------------------------ world pages */

.counterparts {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 52rem) {
  .counterparts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2.5rem;
  }
}

.counterparts li {
  padding-block: 0.75rem;
  border-top: 1px solid var(--rule);
}

.counterpart-name {
  font-weight: 750;
  font-size: 1.1rem;
}

.counterparts li p + p {
  margin-top: 0.3rem;
  color: var(--ink-soft);
}

.mode-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.mode-list > div {
  display: grid;
  gap: 0.35rem 2rem;
  padding-block: 1.1rem;
  border-top: 1px solid var(--rule);
}

.mode-list > div:last-child {
  border-bottom: 1px solid var(--rule);
}

.mode-list dt {
  font-family: var(--pixel);
  font-size: 1.35rem;
  font-weight: 600;
}

.mode-list dd {
  margin: 0;
}

.mode-worlds {
  margin-top: 0.4rem;
  font-weight: 650;
}

@media (min-width: 52rem) {
  .mode-list > div {
    grid-template-columns: 16rem minmax(0, 1fr);
  }
}

/* ------------------------------------------------------------------ roadmap */

.stages {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: var(--step) solid var(--night);
}

.stage {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 1.25rem;
  padding-block: 1.6rem;
  border-bottom: 1px solid var(--rule);
}

.stage-num {
  color: var(--blue);
  font-family: var(--pixel);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
}

.stage h2 {
  font-size: clamp(1.45rem, 1.2rem + 0.9vw, 1.9rem);
  margin-bottom: 0.6rem;
}

.stage-body {
  max-width: 46rem;
}

.stage-body p + p {
  margin-top: 0.6rem;
}

.stage-worlds {
  font-weight: 650;
}

.gate {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.gate span {
  font-weight: 700;
  color: var(--ink);
}

.now {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.1rem 0.5rem;
  background: var(--gold);
  color: var(--night);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 750;
  vertical-align: middle;
}

.is-now .stage-num {
  color: var(--gold-ink);
}

@media (min-width: 48rem) {
  .stage {
    grid-template-columns: 6rem minmax(0, 1fr);
  }
  .stage-num {
    font-size: 3.4rem;
  }
}

/* ------------------------------------------------------------------ early access */

.interest-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.family dt a {
  font-weight: 750;
}

/* ------------------------------------------------------------------ footer */

.site-foot {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  border-top: var(--step) solid var(--blue);
}

.foot-grid {
  display: grid;
  gap: 2.25rem 3rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 52rem) {
  .foot-grid {
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  }
}

.foot-brand p + p {
  margin-top: 0.6rem;
  color: var(--on-night-soft);
}

.foot-nav h2 {
  margin-bottom: 0.75rem;
  color: var(--gold);
  font-size: 1.15rem;
}

.foot-nav ul {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-legal {
  padding-block: 1.5rem 2.25rem;
  border-top: 1px solid var(--blue);
  color: var(--on-night-soft);
  font-size: 0.9rem;
}

.foot-legal p + p {
  margin-top: 0.4rem;
}

@media (forced-colors: active) {
  .btn,
  .chips a,
  .tier,
  .world-card {
    border: 2px solid CanvasText;
  }
  .status::before {
    forced-color-adjust: none;
  }
}

/* ------------------------------------------------------------------ directory search and filters */

.filter-bar {
  padding-block: 1.5rem 1.75rem;
  background: var(--mist);
  border-bottom: 1px solid var(--rule);
}

.filter-grid {
  display: grid;
  gap: 1.25rem;
}

.search label {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 750;
}

.search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  max-width: 40rem;
}

.search input[type='search'] {
  flex: 1 1 15rem;
  min-width: 0;
  padding: 0.7rem 0.85rem;
  border: 2px solid var(--blue);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.search input[type='search']::placeholder {
  color: var(--ink-soft);
  opacity: 1;
}

.search .btn {
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.chips-label {
  margin: 1rem 0 0.5rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.filter-bar .chips a:hover {
  background: var(--paper);
}

/* The adults-only note: present for completeness, deliberately low-key. */
.section-quiet h2 {
  margin-bottom: 0.5rem;
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 750;
}

.section-quiet p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ================================================================== the platform */

code {
  padding: 0.05em 0.3em;
  background: var(--mist);
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.9em;
  overflow-wrap: anywhere;
}

h3.sub,
.sub {
  margin: 1.75rem 0 0.75rem;
}

.side-title {
  margin-bottom: 0.75rem;
  font-family: var(--pixel);
  font-size: 1.35rem;
  font-weight: 600;
}

/* ------------------------------------------------------------------ header: the way in, and the menu's extras */

.nav-signin {
  padding: 0.3rem 0.8rem !important;
  border: 2px solid var(--gold) !important;
  color: var(--gold) !important;
}

.nav-signin:hover {
  background: var(--gold);
  color: var(--night) !important;
}

.nav-extra {
  margin-top: 0.9rem !important;
  padding-top: 0.9rem !important;
  border-top: 1px solid var(--blue);
}

.linkish {
  padding: 0.4rem 0;
  border: 0;
  background: none;
  color: var(--on-night);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.linkish:hover {
  color: var(--gold);
}

body.bare .site-head {
  border-bottom-color: var(--gold);
}

/* ------------------------------------------------------------------ notes: what just happened */

.note-bar {
  border-bottom: var(--step) solid var(--blue);
  background: var(--mist);
  color: var(--ink);
  font-weight: 650;
}

.note-bar p {
  position: relative;
  padding: 0.8rem 0 0.8rem 1.6rem;
}

.note-bar p::before {
  content: '';
  position: absolute;
  left: 0.1rem;
  top: 1.3em;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--blue);
}

.note-err {
  background: #f6e7c8;
  border-bottom-color: var(--gold-ink);
}

.note-err p::before {
  background: transparent;
  border: 3px solid var(--gold-ink);
}

/* ------------------------------------------------------------------ the line map */

.map-figure {
  margin: 0;
}

.line-map {
  width: 100%;
  height: auto;
}

.line-map-wide {
  display: none;
}

@media (min-width: 40rem) {
  .line-map-wide {
    display: block;
  }
  .line-map-compact {
    display: none;
  }
}

.map-label {
  fill: var(--on-night);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
}

.map-count {
  fill: var(--on-night-soft);
  font-family: var(--sans);
  font-size: 12px;
}

.map-open,
.map-hub {
  fill: var(--gold);
  font-family: var(--pixel);
  font-weight: 600;
}

.map-open {
  font-size: 13px;
}

.map-hub {
  font-size: 18px;
}

.line-map-compact .map-label {
  font-size: 13px;
}

.line-map-compact .map-hub {
  font-size: 16px;
}

.map-key {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  margin-top: 1rem;
}

.hero .status {
  color: var(--on-night-soft);
}

.hero .status-live::before {
  border-color: var(--gold);
}

.hero .status-planned::before {
  border-color: var(--sky);
}

/* ------------------------------------------------------------------ small labels */

.tag {
  display: inline-block;
  padding: 0.05rem 0.45rem;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.5;
  vertical-align: middle;
  white-space: nowrap;
}

.tag-warn {
  background: #f6e7c8;
  color: var(--gold-ink);
}

.band-night .tag {
  background: var(--blue);
  color: var(--on-night);
}

/* ------------------------------------------------------------------ cards and lists of apps */

.world-card.is-open {
  border-color: var(--gold-ink) var(--night) var(--night) var(--gold-ink);
}

.world-card .inline-form {
  margin-top: 0.25rem;
}

.app-links {
  display: grid;
  gap: 0.15rem 2rem;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.app-links li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.1rem 0.75rem;
  padding-block: 0.45rem;
  border-bottom: 1px solid var(--rule);
}

.app-links a {
  font-family: var(--pixel);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--night);
  text-decoration: none;
}

.app-links a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.band-night .app-links a {
  color: var(--gold);
}

/* ------------------------------------------------------------------ home */

.resume,
.people,
.sisters,
.event-list,
.first-four {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.resume li {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.resume-name,
.sister-name,
.first-name {
  font-family: var(--pixel);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
}

.resume-name a,
.sister-name a {
  color: var(--night);
}

.resume p + p,
.sisters p + p,
.first-four p + p {
  margin-top: 0.3rem;
}

.people li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.75rem;
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--rule);
}

.person-name {
  font-weight: 750;
}

.person-where {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Presence: a lamp and a word, never the lamp alone. */
.presence {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--ink-soft);
}

.presence::before {
  content: '';
  width: 0.65rem;
  height: 0.65rem;
  border: 2px solid var(--ink-soft);
}

.presence-online::before,
.presence-available::before,
.presence-exploring::before,
.presence-playing::before,
.presence-working::before {
  background: var(--gold);
  border-color: var(--gold-ink);
}

.presence-busy::before,
.presence-meeting::before,
.presence-focus::before {
  background: var(--blue);
  border-color: var(--night);
}

.presence-away::before {
  background: linear-gradient(90deg, var(--ink-soft) 50%, transparent 50%);
}

@media (min-width: 52rem) {
  .first-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.first-four li {
  padding-top: 0.9rem;
  border-top: var(--step) solid var(--sky);
}

.first-name a {
  color: var(--gold);
}

.first-four p {
  color: var(--on-night-soft);
  font-size: 0.98rem;
}

.pillars {
  display: grid;
  gap: 1.75rem 2.5rem;
}

@media (min-width: 44rem) {
  .pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 70rem) {
  .pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pillar-group h3 {
  font-family: var(--pixel);
  font-size: 1.35rem;
  font-weight: 600;
}

.pillar-line {
  margin-top: 0.2rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.pillar-group ul {
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
  border-top: var(--step) solid var(--night);
}

.pillar-group li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.1rem 0.75rem;
  padding-block: 0.4rem;
  border-bottom: 1px solid var(--rule);
}

.pillar-group li a {
  font-weight: 750;
}

.pillar-role {
  flex: 1;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.event-list li {
  padding-block: 0.9rem;
  border-top: 1px solid var(--rule);
}

.event-when {
  color: var(--gold-ink);
  font-size: 0.9rem;
  font-weight: 750;
}

.event-title {
  margin-top: 0.15rem;
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 750;
}

.event-list p + p {
  margin-top: 0.3rem;
}

.sisters li {
  padding-block: 0.9rem;
  border-top: 1px solid var(--rule);
}

.sister-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.8rem;
}

/* ------------------------------------------------------------------ an app's page */

.page-head .actions {
  margin-top: 1.5rem;
  align-items: center;
}

.page-head .inline-form .btn {
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  background: transparent;
}

.page-head .callout {
  background: var(--blue);
  border-left-color: var(--gold);
  color: var(--on-night);
}

.profile-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 60rem) {
  .profile-grid {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem);
    gap: 4rem;
  }
}

.standing {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.9rem;
  font-weight: 650;
}

.facts-panel {
  padding: 0.35rem 1.15rem 0.6rem;
  background: #fff;
  border: 2px solid var(--night);
  box-shadow: var(--step) var(--step) 0 var(--blue);
}

.facts {
  margin: 0;
}

.facts > div {
  padding-block: 0.65rem;
  border-bottom: 1px solid var(--rule);
}

.facts > div:last-child {
  border-bottom: 0;
}

.facts dt {
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 700;
}

.facts dd {
  margin: 0.1rem 0 0;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.fact-note {
  display: block;
  margin-top: 0.15rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 400;
}

.prose .facts {
  max-width: 34rem;
  margin-block: 1rem;
  border-top: var(--step) solid var(--night);
}

.take-part {
  max-width: 44rem;
  margin-top: 3rem;
}

.take-part > h2 {
  margin-bottom: 0.5rem;
}

.part-list {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.part {
  padding-top: 0.85rem;
  border-top: var(--step) solid var(--rule);
}

.part-yes {
  border-top-color: var(--gold-ink);
}

.part h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 0.75rem;
  font-family: var(--pixel);
  font-size: 1.35rem;
  font-weight: 600;
}

.part-state {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 750;
  color: var(--ink-soft);
}

.part-yes .part-state {
  color: var(--gold-ink);
}

.part p {
  margin-top: 0.4rem;
  color: var(--ink-soft);
}

.modes-row {
  margin-top: 2rem;
}

.modes-row h3 {
  margin-bottom: 0.6rem;
}

.modes-row .fineprint {
  margin-top: 0.6rem;
}

details.plan {
  border-top: var(--step) solid var(--night);
  border-bottom: 1px solid var(--rule);
}

details > summary {
  padding-block: 0.8rem;
  font-weight: 750;
  cursor: pointer;
}

details.plan[open] > summary {
  border-bottom: 1px solid var(--rule);
}

details.plan .prose {
  padding-block: 1.25rem 1.5rem;
}

details.plan .prose > h3 {
  margin: 1.75rem 0 0.75rem;
  font-family: var(--pixel);
  font-size: 1.35rem;
  font-weight: 600;
}

details.plan .prose > h3:first-child {
  margin-top: 0;
}

details.plan .prose > * + .defs,
details.plan .prose > * + .ticks,
details.plan .prose > * + .steps,
details.plan .prose > .defs + p,
details.plan .prose > .ticks + p {
  margin-top: 1rem;
}

.section .callout {
  max-width: 44rem;
  margin-top: 1.5rem;
}

.guide-after {
  margin-top: 2.5rem;
}

.guide-after h3 {
  margin: 1.75rem 0 0.75rem;
}

/* ------------------------------------------------------------------ forms */

.stack-form {
  display: grid;
  gap: 1rem;
  align-content: start;
  max-width: 30rem;
}

.stack-form h2,
.stack-form h3 {
  margin-bottom: 0.1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label,
.report-form label {
  font-weight: 750;
}

input[type='text'],
input[type='email'],
input[type='password'],
input[type='url'],
input[type='datetime-local'],
select,
textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 2px solid var(--blue);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

select {
  appearance: auto;
}

.hint {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 650;
}

.check input {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.25rem;
  flex: none;
  accent-color: var(--blue);
}

button.btn {
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.inline-form {
  display: inline-block;
}

.btn-small {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border: 2px solid var(--blue);
  background: #fff;
  color: var(--blue);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.btn-small:hover {
  background: var(--mist);
  color: var(--night);
}

.btn-small-go {
  background: var(--blue);
  color: var(--paper);
}

.btn-small-go:hover {
  background: var(--night);
  color: var(--paper);
}

.form-error,
.form-done {
  padding: 0.7rem 0.9rem;
  border-left: var(--step) solid var(--gold-ink);
  background: #f6e7c8;
  font-weight: 650;
}

.form-done {
  border-left-color: var(--blue);
  background: var(--mist);
}

[hidden] {
  display: none !important;
}

.prefs-form {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
}

/* ------------------------------------------------------------------ rows: people, places, sessions */

.rows {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: var(--step) solid var(--night);
}

.rows > li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--rule);
}

.row-main {
  flex: 1 1 14rem;
  min-width: 0;
}

.row-main p + p {
  margin-top: 0.15rem;
}

.row-name {
  font-weight: 750;
  overflow-wrap: anywhere;
}

.rows + .inline-form,
.rows + .btn,
.code-box + .inline-form {
  margin-top: 1.25rem;
}

.rows + .inline-form + .fineprint,
.inline-form + .fineprint {
  margin-top: 0.6rem;
}

.row-more {
  flex: 0 1 auto;
}

.row-more > summary {
  padding: 0.35rem 0.75rem;
  border: 2px solid var(--rule);
  font-size: 0.92rem;
  list-style: none;
}

.row-more > summary::-webkit-details-marker {
  display: none;
}

.row-more[open] {
  flex-basis: 100%;
}

.row-more[open] > summary {
  display: inline-block;
  background: var(--mist);
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.report-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.5rem;
  flex: 1 1 100%;
  margin-top: 0.4rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--rule);
}

.report-form label {
  flex: 1 1 100%;
  font-size: 0.92rem;
}

.report-form input {
  flex: 1 1 14rem;
  width: auto;
}

.code-box {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1rem;
  margin-top: 1.25rem;
  padding: 0.9rem 1.1rem;
  background: var(--night);
  color: var(--on-night);
}

.code-label {
  font-weight: 650;
  color: var(--on-night-soft);
}

.code {
  color: var(--gold);
  font-family: var(--pixel);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  user-select: all;
}

.code-long {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.95rem;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

/* ------------------------------------------------------------------ signing in */

.sign-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 56rem) {
  .sign-grid {
    grid-template-columns: minmax(0, 26rem) minmax(0, 1fr);
    gap: 4.5rem;
  }
}

.sign-card {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  background: #fff;
  border: 2px solid var(--night);
  box-shadow: var(--step) var(--step) 0 var(--blue);
}

.sign-card .stack-form {
  max-width: none;
}

.sign-aside h2 {
  font-size: 1.5rem;
}

.or {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.or::before,
.or::after {
  content: '';
  flex: 1;
  border-top: 1px solid var(--rule);
}

.switch {
  font-size: 0.98rem;
}

.sign-card p + p {
  margin-top: 0;
}

.quiet-details p {
  margin-bottom: 0.75rem;
  color: var(--ink-soft);
}

.section-quiet details + details {
  margin-top: 0.25rem;
}

.section-quiet details p {
  margin-bottom: 0.75rem;
}

.section-quiet details .stack-form {
  margin-top: 0.75rem;
}

/* ------------------------------------------------------------------ memberships */

.plans {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 46rem) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 72rem) {
  .plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.plan-card {
  display: grid;
  gap: 0.6rem;
  align-content: start;
  padding: 1.15rem 1.25rem 1.35rem;
  background: #fff;
  border: 2px dashed var(--rule);
}

.plan-card.is-open {
  border: 2px solid var(--night);
  box-shadow: var(--step) var(--step) 0 var(--gold);
}

.plan-card h3 {
  font-family: var(--pixel);
  font-size: 1.4rem;
  font-weight: 600;
}

.plan-price {
  color: var(--ink-soft);
  font-weight: 750;
}

.plan-card.is-open .plan-price {
  color: var(--gold-ink);
}

.plan-card .ticks {
  gap: 0.4rem;
  font-size: 0.98rem;
}

/* ------------------------------------------------------------------ the operators' pages */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0;
  margin: 0 0 1rem;
  border-top: var(--step) solid var(--night);
}

.stats > div {
  padding: 0.8rem 1rem 0.9rem 0;
  border-bottom: 1px solid var(--rule);
}

.stats dt {
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 700;
}

.stats dd {
  margin: 0.1rem 0 0;
  font-family: var(--pixel);
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.cell-sub {
  display: block;
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 400;
}

@media (forced-colors: active) {
  .btn-small,
  .facts-panel,
  .sign-card,
  .plan-card {
    border: 2px solid CanvasText;
  }
  .presence::before {
    forced-color-adjust: none;
  }
}

form + .fineprint,
.actions + .fineprint {
  margin-top: 1.25rem;
}

.section .actions .inline-form .btn {
  background: transparent;
}

.foot-nav .linkish {
  padding: 0;
  font-weight: 400;
}

.foot-nav form {
  display: inline;
}

/* A form's own button keeps its natural width, unless it's meant to fill the card. */
.stack-form > .btn:not(.btn-block) {
  justify-self: start;
}
