/* ===========================================================
   RICHTERA — machine output paper
   six colours. no gradients. no shadows. no radius.
   =========================================================== */

:root {
  --paper:    #E9E4D4;
  --paper-2:  #DED8C4;
  --ink:      #14120C;
  --ink-soft: #6B6553;
  --band:     #FFC800;
  --spike:    #E4231B;

  --rail: 68px;
  --gut: 24px;
  --hair: 1px;

  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", "Consolas", monospace;
  --sans: "IBM Plex Sans Condensed", "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;

  --t-mega: clamp(52px, 8.5vw, 104px);
  --t-xl:   clamp(30px, 4.6vw, 52px);
  --t-l:    clamp(19px, 2.2vw, 26px);
  --t-m:    15px;
  --t-s:    12.5px;
  --t-xs:   10.5px;

  --lh: 8px; /* baseline unit */
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0 !important; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: var(--t-m);
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "zero" 1;
  -webkit-font-smoothing: antialiased;
}

/* every numeral on the page is tabular */
table, td, th, input, output, .num, .mono { font-variant-numeric: tabular-nums; }

a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { background: var(--ink); color: var(--band); text-decoration-color: transparent; }

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

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

.sr {
  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: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--band); padding: 8px 16px; font-size: var(--t-xs);
  letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
}
.skip:focus { left: 0; }

/* ===========================================================
   the roll — one continuous sheet, stamp rail down the left
   =========================================================== */

.roll {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  min-height: 100vh;
  border-left: var(--hair) solid var(--ink);
  border-right: var(--hair) solid var(--ink);
  max-width: 1680px;
  margin: 0 auto;
  background: var(--paper);
}

/* perforated sprocket margin — squares, never circles */
.rail {
  border-right: var(--hair) solid var(--ink);
  background-image:
    linear-gradient(var(--ink), var(--ink)),
    linear-gradient(var(--ink), var(--ink));
  background-repeat: repeat-y, repeat-y;
  background-size: 5px 24px, 5px 24px;
  background-position: 14px 0, 46px 0;
  position: relative;
}
.rail::before {
  /* mask the sprocket squares into 5x5 dots by overpainting the gaps */
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    to bottom, var(--paper) 0 19px, transparent 19px 24px);
  pointer-events: none;
}

.rail-stamps { position: sticky; top: 0; }

/* ===========================================================
   header
   =========================================================== */

.hdr {
  position: sticky; top: 0; z-index: 40;
  grid-column: 1 / -1;
  background: var(--paper);
  border-bottom: var(--hair) solid var(--ink);
  display: grid;
  grid-template-columns: var(--rail) minmax(0,1fr);
}

.hdr-rail { border-right: var(--hair) solid var(--ink); }

.hdr-inner {
  display: flex; align-items: stretch; gap: 0;
  min-height: 74px;
}

.brand {
  display: flex; align-items: center; gap: 12px;
  padding: 10px var(--gut) 10px 16px;
  border-right: var(--hair) solid var(--ink);
  text-decoration: none;
}
.brand:hover { background: transparent; color: inherit; }
.brand img { width: 34px; height: 34px; display: block; }
.wordmark {
  font-size: 21px; font-weight: 600; letter-spacing: .30em;
  text-transform: uppercase; line-height: 1;
}
.brand-sub {
  font-size: 9.5px; letter-spacing: .09em; color: var(--ink-soft);
  margin-top: 5px; text-transform: lowercase; max-width: 30ch;
}

.clock {
  padding: 12px 18px;
  border-right: var(--hair) solid var(--ink);
  display: flex; flex-direction: column; justify-content: center;
  min-width: 190px;
}
.clock-row { display: flex; gap: 10px; align-items: baseline; white-space: nowrap; }
.clock-zone { font-size: 9px; letter-spacing: .16em; color: var(--ink-soft); width: 62px; }
.clock-ny  { font-size: 19px; font-weight: 600; letter-spacing: .02em; }
.clock-utc { font-size: 12px; color: var(--ink-soft); }
.clock-ny .sec, .clock-utc .sec { color: var(--ink-soft); }

.nav {
  display: flex; align-items: center; gap: 0; flex: 1 1 auto;
  overflow-x: auto; scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  font-size: var(--t-xs); letter-spacing: .16em; text-transform: uppercase;
  padding: 10px 14px; text-decoration: none; white-space: nowrap;
  border-right: var(--hair) solid var(--ink);
  align-self: stretch; display: flex; align-items: center;
}
.nav a:first-child { border-left: 0; }
.nav a[aria-current="page"] { background: var(--band); }
.nav a:hover { background: var(--ink); color: var(--band); }

.hdr-right {
  display: flex; align-items: center; gap: 8px; padding: 0 14px;
  margin-left: auto; border-left: var(--hair) solid var(--ink);
}

/* ===========================================================
   buttons — rectangular, hairline, invert on hover
   =========================================================== */

.btn {
  font-family: var(--mono);
  font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase;
  background: transparent; color: var(--ink);
  border: var(--hair) solid var(--ink);
  padding: 7px 11px; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: background 120ms linear, color 120ms linear;
  display: inline-flex; align-items: center; gap: 7px;
}
.btn:hover, .btn:focus-visible { background: var(--ink); color: var(--band); }
.btn[aria-pressed="true"] { background: var(--band); }
.btn-solid { background: var(--ink); color: var(--band); }
.btn-solid:hover, .btn-solid:focus-visible { background: transparent; color: var(--ink); }
.btn-ghost { border-color: rgba(20,18,12,.45); color: var(--ink-soft); }
.btn-ghost[aria-pressed="true"] { background: var(--band); color: var(--ink); border-color: var(--ink); }

/* ===========================================================
   the band — structural, not decorative.
   every section is cut off the roll by one of these.
   =========================================================== */

.band {
  background: var(--band);
  color: var(--ink);
  min-height: 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gut);
  border-top: var(--hair) solid var(--ink);
  border-bottom: var(--hair) solid var(--ink);
  font-size: var(--t-xs); letter-spacing: .20em; text-transform: uppercase;
  font-weight: 600;
  position: relative;
}
/* the band carries the real section heading — h1/h2 styled to inherit, so
   the document has an outline without the band changing shape */
.band h1, .band h2 {
  font: inherit; margin: 0; letter-spacing: inherit; text-transform: inherit;
}

/* the band is a fixed structural stripe. it never grows to fit its text —
   the text gives way instead. */
.band > * { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.band > *:first-child { flex: 0 0 auto; }
.band > *:last-child {
  flex: 0 1 auto; min-width: 0;
  font-weight: 400; letter-spacing: .10em; opacity: .78; text-align: right;
}

/* the band on the rail side continues across the sprocket margin */
.band-full { grid-column: 1 / -1; }

.roll > main { grid-column: 2; min-width: 0; }
.roll > .rail { grid-column: 1; }

/* ===========================================================
   seismograph — the live needle
   =========================================================== */

.seismo-wrap { position: relative; background: var(--paper-2); border-bottom: var(--hair) solid var(--ink); }
#seismo { display: block; width: 100%; height: 180px; }
.seismo-legend {
  position: absolute; top: 8px; left: var(--gut);
  font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft);
  pointer-events: none;
}
.seismo-status {
  position: absolute; top: 8px; right: var(--gut);
  font-size: 9px; letter-spacing: .14em; text-transform: uppercase;
  display: flex; align-items: center; gap: 7px; pointer-events: none;
}
.led { width: 7px; height: 7px; background: var(--ink); display: inline-block; }
.led.off { background: transparent; border: var(--hair) solid var(--ink-soft); }
.led.live { animation: blink 1.6s steps(1,end) infinite; }
@keyframes blink { 0%,60% { opacity: 1 } 61%,100% { opacity: .15 } }

/* the readout is printed in reverse — black paper, yellow ink. it is the
   loudest thing above the scale and it should look like it. */
.readout {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px;
  padding: 16px var(--gut);
  background: var(--ink); color: var(--paper);
  border-bottom: var(--hair) solid var(--ink);
  font-size: var(--t-s);
}
.readout .big {
  font-size: clamp(34px, 4.4vw, 54px); font-weight: 600; line-height: .95;
  letter-spacing: -.03em; color: var(--band);
}
.readout .lbl { color: rgba(233,228,212,.62); font-size: var(--t-xs);
  letter-spacing: .18em; text-transform: uppercase; }
.readout .unit { display: flex; flex-direction: column; gap: 3px; }
.readout .mid { font-size: 25px; font-weight: 600; line-height: 1; }
.readout .sep { color: rgba(233,228,212,.28); font-size: 22px; }
.readout .claim {
  margin-left: auto; text-align: right; font-family: var(--sans);
  font-size: clamp(15px, 1.5vw, 19px); line-height: 1.25; color: var(--paper);
}
.readout .claim b { color: var(--band); font-weight: 600; }
.readout .tally-gate i { background: var(--band); }
.readout .tally-gate i.red { background: var(--spike); }
.readout .tally-gate.struck::after { background: var(--band); }
.readout .tally-gate.empty i { border-left-color: rgba(233,228,212,.4); }

/* the odometer — digits roll, nothing else moves */
.odo { display: inline-flex; align-items: flex-start; line-height: 1; }
.odo > span { display: block; }
.odo-d { overflow: hidden; height: 1em; }
.odo-d > span {
  display: block;
  transition: transform 420ms cubic-bezier(.2,.75,.3,1);
}
.odo-d > span > span { display: block; height: 1em; line-height: 1em; }
@media (prefers-reduced-motion: reduce) { .odo-d > span { transition: none; } }

/* the tally — lifted straight off the mark */
.tally { display: inline-flex; align-items: flex-end; gap: 7px; vertical-align: -2px; }
.tally-gate { position: relative; display: inline-flex; gap: 3px; height: 19px; }
.tally-gate i { width: 2px; height: 19px; background: var(--ink); display: block; }
.tally-gate i.red { background: var(--spike); }
.tally-gate.struck::after {
  content: ""; position: absolute; left: -3px; right: -3px; top: 50%;
  height: 2px; background: var(--ink); transform: rotate(-22deg);
}
.tally-gate.empty i { background: transparent; border-left: 1px dashed var(--ink-soft); width: 1px; }

/* ===========================================================
   the scale
   =========================================================== */

.scale { width: 100%; border-collapse: collapse; }
.scale th {
  text-align: left; font-weight: 400;
  font-size: 9.5px; letter-spacing: .20em; text-transform: uppercase;
  color: var(--ink-soft);
  padding: 8px var(--gut); border-bottom: var(--hair) solid var(--ink);
  background: var(--paper);
  position: sticky; top: 74px; z-index: 5;
}
.scale th.r, .scale td.r { text-align: right; }
.scale tbody tr { border-bottom: var(--hair) solid rgba(20,18,12,.16); }
.scale tbody tr.row:nth-child(4n+3) { background: var(--paper-2); }
.scale tbody tr.row { cursor: pointer; }
.scale tbody tr.row:hover { background: var(--band); }
.scale tbody tr.row:focus-within { background: var(--band); }
.scale td { padding: 9px var(--gut); font-size: var(--t-s); vertical-align: baseline; }

/* the magnitude is the product. it is printed at the size of the claim it
   makes, with the bar underneath carrying the same number as ink. */
.mag {
  font-size: 38px; font-weight: 600; letter-spacing: -.035em; line-height: .92;
  width: 1%; white-space: nowrap; padding-right: 22px;
}
.mag.spike { color: var(--spike); }
.mag.quiet { color: var(--ink-soft); }
.mag-bar {
  display: block; height: 4px; margin-top: 6px;
  background: rgba(20,18,12,.14); width: 96px; max-width: 100%;
}
.mag-bar i { display: block; height: 100%; background: var(--ink);
  transition: width 340ms cubic-bezier(.2,.75,.3,1); }
.mag.spike .mag-bar i { background: var(--spike); }
.mag.quiet .mag-bar i { background: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { .mag-bar i { transition: none; } }

.topic { font-size: 15px; }
.topic .kind {
  font-size: 9px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-soft); margin-left: 8px;
}
.epi { font-size: var(--t-s); }
.newsfrac { white-space: nowrap; }

tr.enter { animation: flashband 1000ms linear 1; }
@keyframes flashband {
  0%, 62% { background: var(--band); }
  100% { background: transparent; }
}

tr.expand td { padding: 0 var(--gut) 16px var(--gut); background: var(--paper-2); }
.timeline { border-left: var(--hair) solid var(--ink); padding: 10px 0 2px 0; }
.tl-row { display: grid; grid-template-columns: 96px 62px 1fr; align-items: center; gap: 8px; padding: 3px 0; font-size: var(--t-s); }
.tl-label { color: var(--ink-soft); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; }
.tl-bar { height: 9px; position: relative; }
.tl-bar span { position: absolute; top: 0; bottom: 0; background: var(--ink); }
.tl-bar b { position: absolute; top: -2px; width: 9px; height: 13px; background: var(--ink); }
.tl-bar.first b { background: var(--spike); }

/* ===========================================================
   panels grid
   =========================================================== */

.cols2 { display: grid; grid-template-columns: 1fr 1fr; }
.cols2 > * + * { border-left: var(--hair) solid var(--ink); }

.list { list-style: none; margin: 0; padding: 0; }
.list li {
  display: grid; grid-template-columns: minmax(0,1fr) auto auto;
  gap: 14px; align-items: baseline;
  padding: 9px var(--gut);
  border-bottom: var(--hair) solid rgba(20,18,12,.16);
  font-size: var(--t-s);
}
.list li:nth-child(even) { background: var(--paper-2); }
.list .term { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list .meta { color: var(--ink-soft); font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; }
.list .tag {
  font-size: 9px; letter-spacing: .16em; text-transform: uppercase;
  border: var(--hair) solid var(--ink); padding: 2px 6px;
}
.list .tag.unclaimed { background: var(--band); }

.note {
  font-family: var(--sans); font-size: var(--t-s); line-height: 1.5;
  padding: 12px var(--gut); border-top: var(--hair) solid var(--ink);
  color: var(--ink);
}
.note strong { font-weight: 600; }

.empty {
  padding: 22px var(--gut); font-size: var(--t-s); color: var(--ink-soft);
  letter-spacing: .04em;
}

/* first sight — the whole panel is a yellow field with the number cut out */
.leadfield {
  background: var(--band);
  border-bottom: var(--hair) solid var(--ink);
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--gut); flex-wrap: wrap;
  padding: 22px var(--gut);
}
.leadbig {
  font-size: var(--t-mega); font-weight: 600; line-height: .82; letter-spacing: -.045em;
}
.leadbig small { font-size: var(--t-l); font-weight: 400; letter-spacing: .02em; }
.leadclaim {
  margin: 0; font-family: var(--sans); font-size: clamp(19px, 2.1vw, 27px);
  max-width: 30ch; line-height: 1.16; text-align: right; margin-left: auto;
}
.leadclaim .meta { display: block; font-size: var(--t-s); margin-top: 8px;
  font-family: var(--mono); letter-spacing: .02em; opacity: .72; }

/* ticker lookup — built to be screenshotted */
.lookup { display: flex; border-bottom: var(--hair) solid var(--ink); }
.lookup label { display: none; }
.lookup .pfx {
  display: flex; align-items: center; padding: 0 4px 0 var(--gut);
  font-size: 25px; font-weight: 600; color: var(--ink-soft);
}
.lookup input {
  flex: 1 1 auto; min-width: 0;
  font-family: var(--mono); font-size: 25px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  background: transparent; color: var(--ink);
  border: 0; padding: 14px 0;
}
.lookup input::placeholder { color: var(--ink-soft); opacity: .55; letter-spacing: .04em; }
.lookup input:focus { outline: none; }
.lookup:focus-within { background: var(--paper-2); }
.lookup .btn { align-self: stretch; border-top: 0; border-bottom: 0; border-right: 0; padding: 0 18px; }

.card { padding: 18px var(--gut) 20px; display: grid; gap: 4px; }
.card .sym { font-size: var(--t-xl); font-weight: 600; line-height: 1; }
.card .line { font-size: var(--t-s); }
.card .line .k { color: var(--ink-soft); }
#spark { display: block; width: 100%; height: 46px; margin-top: 10px; border-bottom: var(--hair) solid var(--ink); }

/* helicorder drum */
.drum-wrap { padding: 0; background: var(--paper); }
#drum { display: block; width: 100%; height: 456px; }
.drum-key {
  display: flex; gap: 18px; flex-wrap: wrap;
  padding: 10px var(--gut); border-top: var(--hair) solid var(--ink);
  font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft);
}

/* ===========================================================
   footer
   =========================================================== */

.foot { grid-column: 1 / -1; border-top: var(--hair) solid var(--ink); }
.foot-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.foot-grid > * { padding: 16px var(--gut); border-right: var(--hair) solid var(--ink); }
.foot-grid > *:last-child { border-right: 0; }
.foot h3 { margin: 0 0 10px; font-size: 9.5px; letter-spacing: .20em; text-transform: uppercase; font-weight: 400; color: var(--ink-soft); }
.srclist { list-style: none; margin: 0; padding: 0; font-size: var(--t-s); }
.srclist li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.srclist .st { color: var(--ink-soft); font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; }
.srclist .st.ok { color: var(--ink); }
/* --spike on --paper is 3.6:1 — fine for a 31px magnitude, not for 10px of
   status text. the words carry it, and red stays rare. */
.srclist .st.down { color: var(--ink); font-weight: 600; }

.foot-legal {
  border-top: var(--hair) solid var(--ink);
  padding: 14px var(--gut); font-size: var(--t-xs); color: var(--ink-soft);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  letter-spacing: .08em;
}

/* ===========================================================
   prose (how-it-works / archive)
   =========================================================== */

.prose { font-family: var(--sans); font-size: 16px; line-height: 1.55; max-width: 68ch; padding: var(--gut); }
.prose p { margin: 0 0 1em; }
.prose h2 { font-family: var(--mono); font-size: var(--t-l); font-weight: 600; letter-spacing: -.01em; margin: 1.8em 0 .5em; }
.prose h3 { font-family: var(--mono); font-size: var(--t-m); font-weight: 600; letter-spacing: .04em; margin: 1.6em 0 .4em; }
.prose ul { margin: 0 0 1em; padding-left: 1.1em; }
.prose li { margin-bottom: .35em; }
.prose .lede { font-size: 19px; line-height: 1.4; }

.formula {
  font-family: var(--mono); font-size: var(--t-s); white-space: pre; overflow-x: auto;
  background: var(--paper-2); border: var(--hair) solid var(--ink);
  padding: 16px; margin: 0 var(--gut) var(--gut);
  line-height: 1.7;
}
.kv { width: 100%; border-collapse: collapse; font-size: var(--t-s); }
.kv td, .kv th { padding: 7px var(--gut); border-bottom: var(--hair) solid rgba(20,18,12,.16); text-align: left; font-weight: 400; vertical-align: top; }
.kv th { color: var(--ink-soft); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; }
.kv tr:nth-child(even) td { background: var(--paper-2); }
.kv code { font-family: var(--mono); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: var(--gut); }
.chip { border: var(--hair) solid var(--ink); padding: 3px 8px; font-size: var(--t-xs); letter-spacing: .06em; }

.pull {
  margin: 0;
  padding: calc(var(--gut) * 1.2) var(--gut);
  border-bottom: var(--hair) solid var(--ink);
}
.pull-text {
  display: block;
  font-family: var(--sans); font-size: clamp(21px, 2.6vw, 31px); line-height: 1.2;
  max-width: 32ch; text-wrap: balance;
}

/* ===========================================================
   responsive
   =========================================================== */

@media (max-width: 1080px) {
  .hdr-inner { flex-wrap: wrap; }
  .nav { order: 3; width: 100%; border-top: var(--hair) solid var(--ink); }
  .nav a { flex: 1 1 auto; justify-content: center; }
  .hdr-right { border-left: 0; }
}

@media (max-width: 760px) {
  :root { --rail: 26px; --gut: 14px; }
  .rail {
    background-position: 10px 0, 10px 0;
    background-size: 4px 22px, 0 0;
  }
  .rail::before { background-image: repeating-linear-gradient(to bottom, var(--paper) 0 17px, transparent 17px 22px); }
  /* the margin keeps its perforation but gives up its stamps — there is no
     honest way to set six lines of vertical type in 26 pixels */
  .rail-stamps { display: none; }

  .band { min-height: 30px; padding: 0 var(--gut); }
  /* the section name never gives way. only the meta beside it does. */
  .band > *:first-child { flex: 0 0 auto; }
  .band > *:last-child { font-size: 9px; letter-spacing: .06em; min-width: 0; }

  .nav { flex-wrap: wrap; overflow: visible; }
  .nav a { flex: 1 0 33%; justify-content: center; border-bottom: var(--hair) solid var(--ink); }

  .hdr-inner { min-height: 0; }
  .brand { padding: 8px 12px; border-right: 0; }
  .brand img { width: 28px; height: 28px; }
  .wordmark { font-size: 17px; letter-spacing: .24em; }
  .brand-sub { display: none; }
  .clock { border-right: 0; border-top: var(--hair) solid var(--ink); width: 100%; padding: 8px 12px; }
  .clock-ny { font-size: 16px; }
  .hdr-right { width: 100%; border-top: var(--hair) solid var(--ink); padding: 8px 12px; }
  .hdr-right .btn { flex: 1 1 auto; justify-content: center; }

  #seismo { height: 104px; }
  #drum { height: 380px; }

  .scale th { top: 0; position: static; }
  /* drop columns rather than scroll */
  .scale .c-epi, .scale .c-first { display: none; }
  .mag { font-size: 21px; }
  .scale td, .list li, .kv td { padding-left: var(--gut); padding-right: var(--gut); }

  .cols2 { grid-template-columns: 1fr; }
  .cols2 > * + * { border-left: 0; border-top: var(--hair) solid var(--ink); }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-grid > * { border-right: 0; border-bottom: var(--hair) solid var(--ink); }
  .readout { gap: 10px 0; padding: 14px var(--gut); }
  .readout .sep { display: none; }
  .readout .unit { width: 100%; }
  .readout .big { font-size: 44px; }
  .readout .claim { margin-left: 0; text-align: left; width: 100%; margin-top: 6px; }
  .lookup input, .lookup .pfx { font-size: 20px; }
  .tl-row { grid-template-columns: 74px 52px 1fr; }
}

@media (max-width: 420px) {
  .scale .c-coins { display: none; }
}

/* ===========================================================
   reduced motion — freeze, do not hide
   =========================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ===========================================================
   print — it is paper already
   =========================================================== */

@media print {
  .hdr, .nav, .btn, .lookup { display: none !important; }
  body { background: #fff; }
  .roll { border: 0; }
}
