/* Schrodinger's Dev. One poster: black field, acid ink, hazard tape, one photograph.
   Built to art/ref/poster.jpg (RULES/REFERENCE.md). No SVG, no icon fonts, no card panels:
   the rules, the blocks and the type ARE the objects. */

@font-face {
  font-family: "Excon";
  src: url("/fonts/Excon-Black.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "Plein";
  src: url("/fonts/Plein-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Plein";
  src: url("/fonts/Plein-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Plein";
  src: url("/fonts/Plein-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "RX";
  src: url("/fonts/RX100-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #000000;
  --lime: #84e01a;
  --lime-deep: #5ba012;
  --ghost: #2e5e12;
  --ghost-faint: #1b3a0a;
  --white: #ffffff;
  --grey: #b4c1a6;
  --red: #ff4b2b;

  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 64px;
  --s9: 96px;

  --rule: 3px;
  --container: 1600px;
  --gap: 24px;

  --t-display: clamp(34px, 11.5vw, 118px);
  --t-title: clamp(28px, 2.4vw, 38px);
  --t-lede: 20px;
  --t-body: 18px;
  --t-label: 16px;
  --t-value: 20px;
  --t-figure: clamp(28px, 2.6vw, 38px);

  --display: "Excon", "Arial Black", sans-serif;
  --text: "Plein", system-ui, sans-serif;
  --mono: "RX", ui-monospace, "Consolas", monospace;
}

* {
  box-sizing: border-box;
}
html {
  background: var(--ink);
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--text);
  font-size: var(--t-body);
  line-height: 1.5;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* ---------------------------------------------------------------- the field */
.field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--ink);
}
.field-stars,
.field-arcs,
.field-plus {
  position: absolute;
  inset: -10% -10% -10% -10%;
}
.field-stars {
  background-image: url("/img/deep-field.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  animation: drift 150s linear infinite alternate;
}
.field-arcs {
  background-image: url("/img/arcs.png");
  background-size: 1400px 1400px;
  background-position: left bottom;
  background-repeat: no-repeat;
  opacity: 0.9;
  animation: drift 190s linear infinite alternate-reverse;
}
.field-plus {
  background-image: url("/img/plus-white.png");
  background-size: 96px 96px;
  opacity: 0.22;
  animation: breathe 24s ease-in-out infinite;
}
@keyframes drift {
  from {
    transform: translate3d(-1.5%, -1%, 0) scale(1.04);
  }
  to {
    transform: translate3d(1.5%, 1%, 0) scale(1.08);
  }
}
@keyframes breathe {
  0%,
  100% {
    opacity: 0.16;
  }
  50% {
    opacity: 0.3;
  }
}
@media (prefers-reduced-motion: reduce) {
  .field-stars,
  .field-arcs,
  .field-plus {
    animation: none;
  }
}

/* ------------------------------------------------------------------ the tape */
.tape {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  background: var(--ink);
  border-bottom: var(--rule) solid var(--lime);
}
.tape-strip {
  position: relative;
  flex: 1 1 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: var(--s2) var(--s5);
  text-decoration: none;
  color: var(--lime);
  font-family: var(--text);
  font-weight: 700;
  font-size: var(--t-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background-image: url("/img/tape-dark.png");
  background-size: auto 100%;
  border-right: var(--rule) solid var(--lime);
}
.tape-strip:last-child {
  border-right: 0;
}
.tape-strip span {
  background: var(--ink);
  padding: var(--s2) var(--s4);
  border: 2px solid transparent;
}
.tape-strip:hover span {
  border-color: var(--lime);
}
.tape-strip:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: -6px;
}
.tape-strip[aria-current="page"] {
  background-image: url("/img/tape-lime.png");
}
.tape-strip[aria-current="page"] span {
  background: var(--lime);
  color: var(--ink);
}

/* ----------------------------------------------------------------- the sheet */
.sheet {
  position: relative;
  z-index: 2;
  display: flex;
  background: rgba(0, 0, 0, 0.74);
  max-width: var(--container);
  margin: 12px auto var(--s8);
  padding: var(--s3);
  border: var(--rule) solid var(--lime);
}
.sheet-inner {
  flex: 1 1 auto;
  border: var(--rule) solid var(--lime);
  padding: var(--s5) var(--s6);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* --------------------------------------------------------------- state strip */
.strip {
  border: var(--rule) solid var(--lime);
  padding: var(--s3) var(--s5);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s2) var(--s5);
  font-family: var(--text);
  font-weight: 500;
  font-size: var(--t-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}
.strip .k {
  white-space: nowrap;
}
.strip b {
  font-family: var(--mono);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--lime);
}
.strip .sep {
  color: var(--ghost);
}

/* ------------------------------------------------------------------- the hero */
.hero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}
/* The type and the box own separate columns: nothing of the word ever goes under the picture.
   The type block is its own container, so the display size is measured against the column it sits
   in (cqw), not against the window. */
.hero-type {
  --t-fit: clamp(34px, 17cqw, 112px);
  grid-column: 1 / span 5;
  grid-row: 1;
  min-width: 0;
  container-type: inline-size;
  position: relative;
  z-index: 2;
}
.hero-figure {
  grid-column: 6 / span 4;
  grid-row: 1;
  align-self: end;
  justify-self: center;
  margin-bottom: calc(var(--s4) * -1);
  max-width: 100%;
  z-index: 1;
  min-width: 0;
}
.hero-cells {
  grid-column: 10 / span 3;
  grid-row: 1;
  min-width: 0;
}

.ident {
  display: inline-flex;
  max-width: 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s4);
  border: var(--rule) solid var(--lime);
  padding: var(--s3) var(--s5);
  margin-bottom: var(--s5);
}
.ident img {
  width: 44px;
  height: 44px;
  display: block;
}
.ident-lines {
  min-width: 0;
  overflow-wrap: anywhere;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ident-name {
  font-family: var(--display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0;
  color: var(--lime);
}
.ident-sub {
  font-family: var(--mono);
  font-size: var(--t-label);
  color: var(--grey);
  letter-spacing: 0.04em;
}

.masthead {
  font-family: var(--display);
  font-weight: 900;
  font-size: var(--t-fit);
  line-height: 0.88;
  letter-spacing: -0.02em;
  color: var(--lime);
  margin: 0;
}
.echoes {
  margin: 0;
  pointer-events: none;
  user-select: none;
  max-width: 100%;
  overflow: hidden;
}
.echo {
  font-family: var(--display);
  font-weight: 900;
  font-size: var(--t-fit);
  line-height: 0.62;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 2px var(--ghost);
}
.echo:nth-child(2) {
  -webkit-text-stroke-color: var(--ghost-faint);
}
.echo:nth-child(3) {
  -webkit-text-stroke-color: #142b07;
}

.hero-figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* the epoch rail: 17 cells, one per measurement */
.cells-head {
  font-family: var(--text);
  font-weight: 700;
  font-size: var(--t-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--s3);
}
.cells {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s2);
}
.cell {
  display: flex;
  align-items: center;
  gap: var(--s2);
  border: 2px solid var(--ghost);
  padding: 4px var(--s4);
  min-height: 38px;
}
.cell-k {
  font-family: var(--mono);
  font-size: var(--t-label);
  color: var(--grey);
  min-width: 2ch;
}
.cell img {
  width: 26px;
  height: auto;
  display: block;
}
.cell-rest {
  opacity: 0.55;
}
.cell-one {
  border-color: var(--lime);
}
.cell-zero {
  border-color: var(--white);
}
.cell-zero img {
  transform: rotate(180deg);
}

/* ------------------------------------------------------------------ the band */
.band {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  align-items: stretch;
}
.band > * {
  min-width: 0;
}
.band > *:not(.cell-what) {
  height: 100%;
}
.cell-what {
  grid-column: 1 / span 5;
}
.cell-live {
  grid-column: 6 / span 3;
}
.cell-token {
  grid-column: 9 / span 4;
}

.lede {
  font-size: var(--t-lede);
  line-height: 1.45;
  margin: 0 0 var(--s4);
  color: var(--white);
}
.lede b {
  color: var(--lime);
  font-weight: 500;
}
.note {
  font-size: var(--t-body);
  color: var(--grey);
  margin: 0;
}

.block-lime {
  background: var(--lime);
  color: var(--ink);
  padding: var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.block-lime h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: var(--t-title);
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0;
  text-transform: none;
}
.block-lime .figure {
  font-family: var(--mono);
  font-size: var(--t-figure);
  line-height: 1;
  color: var(--ink);
}
.block-lime .label,
.block-dark .label {
  font-family: var(--text);
  font-weight: 700;
  font-size: var(--t-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.block-lime .label {
  color: #15300a;
}
.block-dark {
  border: var(--rule) solid var(--lime);
  padding: var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.block-dark .label {
  color: var(--lime);
}

.mint {
  font-family: var(--mono);
  font-size: var(--t-label);
  line-height: 1.4;
  color: var(--white);
  background: #0d1406;
  border: 2px solid var(--ghost);
  padding: var(--s3) var(--s4);
  overflow-wrap: anywhere;
  min-width: 0;
  user-select: all;
}
.mint.empty {
  color: var(--grey);
  user-select: none;
}

.keys {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}
.key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  min-height: 48px;
  padding: var(--s3) var(--s5);
  border: 2px solid var(--lime);
  background: var(--ink);
  color: var(--lime);
  font-family: var(--text);
  font-weight: 700;
  font-size: var(--t-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 90ms linear, color 90ms linear;
}
.key img {
  height: 18px;
  width: auto;
  display: block;
}
.key:hover,
.key:focus-visible {
  background: var(--lime);
  color: var(--ink);
}
.key:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 2px;
}
.key:active {
  background: var(--lime-deep);
  color: var(--ink);
}
.key[aria-disabled="true"],
.key:disabled {
  border-color: var(--ghost);
  color: var(--ghost);
  cursor: not-allowed;
  background: var(--ink);
}
.key-solid {
  background: var(--lime);
  color: var(--ink);
}
.key-solid:hover,
.key-solid:focus-visible {
  background: var(--white);
  color: var(--ink);
}

/* ------------------------------------------------------------- the proof bar */
.proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s3) var(--s4);
  background: var(--lime);
  color: var(--ink);
  padding: var(--s3) var(--s5);
  font-family: var(--text);
  font-weight: 700;
  font-size: var(--t-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.proof a {
  font-family: var(--mono);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-transform: none;
  overflow-wrap: anywhere;
}
.proof.waiting {
  background: var(--ink);
  color: var(--white);
  border: var(--rule) solid var(--white);
}

/* ---------------------------------------------------------------- the steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}
.step {
  border: var(--rule) solid var(--ghost);
  padding: var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  min-width: 0;
}
.step-n {
  font-family: var(--display);
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
  color: var(--lime);
}
.step h3 {
  font-family: var(--text);
  font-weight: 700;
  font-size: var(--t-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
  color: var(--white);
}
.step p {
  margin: 0;
  font-size: var(--t-body);
  color: var(--grey);
  line-height: 1.45;
}

/* ------------------------------------------------------------ station layout */
/* The rule under a station title is drawn, not a border: a bordered band makes the tool (and the eye)
   read the heading as text pressed against a box it never had. */
.station-head {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s4);
  padding-bottom: var(--s5);
}
.station-head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--rule);
  background: var(--lime);
}
.station-head h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: var(--t-title);
  line-height: 1;
  margin: 0;
  color: var(--lime);
}
.station-head p {
  margin: 0;
  color: var(--grey);
  font-size: var(--t-body);
  max-width: 62ch;
}

.rows {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.row {
  display: grid;
  grid-template-columns: 64px 1fr 1fr 1fr 110px;
  gap: var(--s4);
  align-items: center;
  border: 2px solid var(--ghost);
  padding: 20px var(--s6);
  min-width: 0;
}
.row > * {
  min-width: 0;
}
.row .k {
  font-family: var(--display);
  font-size: 28px;
  color: var(--lime);
  line-height: 1;
}
.row .label {
  display: block;
  font-family: var(--text);
  font-weight: 700;
  font-size: var(--t-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 2px;
}
.row .v {
  font-family: var(--mono);
  font-size: var(--t-label);
  color: var(--white);
  overflow-wrap: anywhere;
}
.row a.v {
  color: var(--lime);
}
.row .verdict {
  justify-self: end;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.02em;
}
.verdict-alive {
  color: var(--lime);
}
.verdict-dead {
  color: var(--white);
}

.empty-note {
  border: var(--rule) dashed var(--ghost);
  padding: var(--s6);
  color: var(--grey);
  font-size: var(--t-body);
  text-align: center;
}

.figure-plate {
  border: var(--rule) solid var(--lime);
  padding: var(--s3);
}
.figure-plate img {
  display: block;
  width: 100%;
  height: auto;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}

.field-input {
  font-family: var(--mono);
  font-size: var(--t-label);
  color: var(--white);
  background: #0d1406;
  border: 2px solid var(--ghost);
  padding: var(--s3) var(--s4);
  min-height: 48px;
  width: 100%;
}
.field-input:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 0;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: var(--s6);
  transform: translateX(-50%);
  z-index: 9;
  background: var(--lime);
  color: var(--ink);
  padding: var(--s3) var(--s5);
  font-family: var(--text);
  font-weight: 700;
  font-size: var(--t-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: var(--rule) solid var(--ink);
}
.toast.bad {
  background: var(--red);
  color: var(--white);
}

/* ------------------------------------------------------------------- widths */
@media (max-width: 1200px) {
  .hero-type {
    grid-column: 1 / span 12;
  }
  /* stacked, never stacked ON: the picture takes its own row and keeps a sane size */
  .hero-figure {
    grid-column: 1 / span 12;
    grid-row: 2;
    margin-bottom: 0;
    max-width: 420px;
  }
  .hero-cells {
    grid-column: 1 / span 12;
    grid-row: 3;
  }
  .cells {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .cell-what {
    grid-column: 1 / span 12;
  }
  .cell-live {
    grid-column: 1 / span 6;
  }
  .cell-token {
    grid-column: 7 / span 6;
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --gap: 16px;
  }
  .tape-strip {
    flex-basis: 150px;
    padding: var(--s3) var(--s4);
    min-height: 56px;
  }
  .tape-strip span {
    padding: 6px var(--s4);
  }

  .tape-strip {
    border-bottom: var(--rule) solid var(--lime);
  }
  .sheet {
    margin: var(--s3) var(--s2) var(--s7);
    padding: var(--s1);
  }
  .sheet-inner {
    padding: var(--s5) var(--s6);
    gap: var(--s5);
  }
  .hero-figure {
    grid-column: 1 / span 12;
  }
  .cells {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .cell-live,
  .cell-token {
    grid-column: 1 / span 12;
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .row {
    grid-template-columns: 44px 1fr;
    gap: var(--s3);
  }
  .row .verdict {
    justify-self: start;
  }
}

/* a key that carries only the platform's own mark */
.key-mark {
  width: 56px;
  min-width: 56px;
  padding: 0;
}
.key-mark img {
  height: 26px;
  filter: none;
}
.key-mark[aria-disabled="true"] img {
  opacity: 0.45;
}
.proof {
  min-height: 48px;
  padding: var(--s3) var(--s6);
}

@media (max-width: 460px) {
  .cells {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tape-strip {
    flex-basis: 130px;
  }
}

/* keys never push past their row on a phone */
.keys {
  width: 100%;
}
.key {
  max-width: 100%;
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
}
.note a,
figcaption a {
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .epoch-bits {
    grid-template-columns: repeat(9, minmax(0, 1fr)) !important;
  }
}

.row-epoch {
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: start;
}
.row-claim {
  grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1fr) 200px;
}
.epoch-body {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  min-width: 0;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3) var(--s5);
  min-width: 0;
}
@media (max-width: 760px) {
  .row-epoch,
  .row-claim {
    grid-template-columns: minmax(0, 1fr);
  }
}

.mint-row {
  display: flex;
  align-items: stretch;
  gap: var(--s2);
  min-width: 0;
}
.mint-row .mint {
  flex: 1 1 auto;
  min-width: 0;
}
.mint-row .key {
  flex: 0 0 auto;
}

@media (max-width: 460px) {
  .mint-row {
    flex-wrap: wrap;
  }
  .mint-row .key {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .keys .key:not(.key-mark) {
    width: 100%;
  }
}

/* column spans live here, never in a style attribute, so a width can change them */
.col-main {
  grid-column: span 8;
  min-width: 0;
}
.col-side {
  grid-column: span 4;
  min-width: 0;
  margin: 0;
}
.col-3 {
  grid-column: span 3;
  min-width: 0;
}
.col-6 {
  grid-column: span 6;
  min-width: 0;
  margin: 0;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
}
@media (max-width: 1100px) {
  .col-main,
  .col-side,
  .col-6 {
    grid-column: 1 / -1;
  }
  .col-3 {
    grid-column: span 6;
  }
}
@media (max-width: 640px) {
  .col-3 {
    grid-column: 1 / -1;
  }
}

/* a disabled key stays disabled, whatever else it wears */
.key-solid[aria-disabled="true"],
.key-solid:disabled {
  background: var(--ink);
  border-color: var(--ghost);
  color: var(--ghost);
}
.figure-plate.col-6 img {
  height: 190px;
  object-fit: cover;
  object-position: center;
}

.row-payout {
  grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr) 120px;
}
@media (max-width: 760px) {
  .row-payout {
    grid-template-columns: minmax(0, 1fr);
  }
  /* a block inside a block does not need both insets on a phone */
  .block-dark .rows .row {
    padding: var(--s4) var(--s5);
  }
  .block-dark {
    padding: var(--s5);
  }
}

/* ------------------------------------------------------------- the phone pass */
@media (max-width: 760px) {
  /* the state line reads as rows of label and value, not as one wrapped sentence */
  .strip {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px var(--s4);
    align-items: baseline;
  }
  .strip .sep {
    display: none;
  }
  .proof {
    text-transform: none;
    letter-spacing: 0.01em;
    font-weight: 500;
  }
}


.epoch-bits .cell {
  min-height: 34px;
  padding: 6px 4px;
  justify-content: center;
}

/* the bits of a settled epoch: cells on a desktop, one mono line on a phone */
.bits-line {
  display: none;
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.3em;
  color: var(--white);
  border: 2px solid var(--ghost);
  padding: var(--s3) var(--s4);
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .epoch-bits {
    display: none !important;
  }
  .bits-line {
    display: block;
  }
}

.row-payout .k {
  font-size: 22px;
}

@media (max-width: 460px) {
  .sheet {
    margin: var(--s3) var(--s1) var(--s7);
    padding: 2px;
  }
  .verdict {
    font-size: 20px !important;
    overflow-wrap: anywhere;
  }
}

/* at the narrowest width the state line gives up its second column rather than push the frame */
@media (max-width: 400px) {
  .strip {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
  .strip b {
    margin-bottom: 6px;
  }
}

/* On a laptop the third echo is what pushes the band past the fold: the mass survives on two. */
@media (max-width: 1700px) {
  .echo:nth-child(3) {
    display: none;
  }
}

/* the epoch rail gives up a few pixels a row so the band clears the fold on a laptop */
@media (max-width: 1700px) {
  .cells {
    gap: 6px;
  }
  .cell {
    min-height: 34px;
  }
  .hero-cells .note {
    font-size: 16px;
  }
}

/* the epoch head is two lines on purpose, never a wrapped orphan */
.cells-score {
  display: block;
  margin-top: 4px;
  color: var(--lime);
}
