/* Candle Surfers: chart-paper cream, ink outlines, green/red candles. */
:root {
  --paper: #F2EDE2;
  --paper-2: #E8E0CF;
  --card: #FBF8F1;
  --ink: #10131C;
  --ink-2: #3A3D47;
  --mute: #6E6C64;
  --rule: rgba(16, 19, 28, 0.12);
  --green: #1FAF6B;
  --green-hot: #2BC77D;
  --green-ink: #0B7A45;
  --red: #E5484D;
  --blue: #2B59FF;
  --gold: #E9B23A;
  --face: "Instrument Sans", system-ui, sans-serif;
  --display: "Archivo", "Instrument Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
  --ease: cubic-bezier(0.2, 0.9, 0.25, 1);
  --hard: 4px 4px 0 var(--ink);
  --edge: 2px solid var(--ink);
  /* game cabinet width, shared with the dock so they line up */
  --cab-w: min(calc(100vw - 56px), calc((100dvh - 250px) * 8 / 3), 1680px);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--face);
  color: var(--ink);
  min-height: 100dvh;
  height: 100dvh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-columns: minmax(0, 1fr);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 100% 36px, 36px 100%;
  background-position: 0 -1px, -1px 0;
  -webkit-font-smoothing: antialiased;
}
body::before {
  /* faint candle chart climbing along the bottom of the page */
  content: "";
  position: fixed;
  inset: auto 0 0 0;
  height: 46vh;
  z-index: -1;
  pointer-events: none;
  opacity: 0.09;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 200' preserveAspectRatio='none'%3E%3Cg fill='%2310131C'%3E%3Crect x='10' y='150' width='14' height='40'/%3E%3Crect x='16' y='138' width='2' height='60'/%3E%3Crect x='40' y='130' width='14' height='50'/%3E%3Crect x='46' y='116' width='2' height='72'/%3E%3Crect x='70' y='140' width='14' height='30'/%3E%3Crect x='76' y='128' width='2' height='56'/%3E%3Crect x='100' y='110' width='14' height='60'/%3E%3Crect x='106' y='96' width='2' height='86'/%3E%3Crect x='130' y='96' width='14' height='54'/%3E%3Crect x='136' y='82' width='2' height='80'/%3E%3Crect x='160' y='112' width='14' height='34'/%3E%3Crect x='166' y='100' width='2' height='58'/%3E%3Crect x='190' y='80' width='14' height='62'/%3E%3Crect x='196' y='64' width='2' height='92'/%3E%3Crect x='220' y='66' width='14' height='52'/%3E%3Crect x='226' y='52' width='2' height='80'/%3E%3Crect x='250' y='86' width='14' height='30'/%3E%3Crect x='256' y='74' width='2' height='56'/%3E%3Crect x='280' y='54' width='14' height='60'/%3E%3Crect x='286' y='40' width='2' height='88'/%3E%3Crect x='310' y='40' width='14' height='50'/%3E%3Crect x='316' y='26' width='2' height='76'/%3E%3Crect x='340' y='60' width='14' height='28'/%3E%3Crect x='346' y='48' width='2' height='52'/%3E%3Crect x='370' y='30' width='14' height='56'/%3E%3Crect x='376' y='16' width='2' height='84'/%3E%3Crect x='400' y='20' width='14' height='46'/%3E%3Crect x='406' y='8' width='2' height='70'/%3E%3Crect x='430' y='34' width='14' height='26'/%3E%3Crect x='436' y='24' width='2' height='48'/%3E%3Crect x='460' y='8' width='14' height='44'/%3E%3Crect x='466' y='0' width='2' height='64'/%3E%3C/g%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
}

/* ---------------------------------------------------------------- top tape */
.chrome { position: relative; min-width: 0; }
.ca-rail-wrap {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 34px;
  padding: 0 0 0 24px;
  background: var(--ink);
  color: var(--paper);
}
.ca-rail {
  --ca-row: 13px;
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 22px;
  margin: 0;
  padding: 0 12px 0 9px;
  border: 1px solid rgba(242, 237, 226, 0.28);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: var(--ca-row);
  font-weight: 500;
  line-height: var(--ca-row);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: border-color 160ms var(--ease), color 160ms var(--ease);
}
.ca-rail:hover:not(:disabled) { border-color: var(--green); }
.ca-rail:disabled { cursor: default; }
.ca-rail:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.ca-live {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 8px;
  height: var(--ca-row);
  flex: 0 0 8px;
}
.ca-dot, .ca-ping { display: block; font-style: normal; }
.ca-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: var(--gold);
}
.ca-ping {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 1px;
  background: var(--gold);
  opacity: 0.5;
  animation: ca-ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.ca-rail.is-live .ca-dot, .ca-rail.is-live .ca-ping { background: var(--green); }
.ca-rail.is-live #token-ca { color: var(--green-hot); }
.ca-rail.is-copied #token-ca { color: var(--paper); }
.ca-copy { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.ca-label, #token-ca { display: inline-flex; align-items: center; line-height: 1; }
.ca-label {
  font-family: var(--display);
  font-size: 10px;
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: 0.14em;
  color: rgba(242, 237, 226, 0.6);
}
#token-ca { font-family: var(--mono); font-size: var(--ca-row); white-space: nowrap; color: inherit; }
.ca-sweep { display: none; }

.tape {
  position: relative;
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(242, 237, 226, 0.72);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent);
}
.tape-track {
  display: inline-flex;
  white-space: nowrap;
  animation: tape 38s linear infinite;
}
.tape-track span { display: inline-flex; align-items: center; }
.tape-track span::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 12px;
  margin: 0 22px;
  background: var(--green);
  box-shadow: 0 -3px 0 -2px var(--green), 0 3px 0 -2px var(--green);
}
.tape-track span:nth-child(even)::after { background: var(--red); height: 8px; }

/* ---------------------------------------------------------------- header */
.mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: var(--cab-w);
  margin: 0 auto;
  padding: 12px 0 10px;
}
.brand { display: flex; align-items: center; gap: 18px; min-width: 0; }
.brand a { display: block; line-height: 0; }
.brand .wordmark {
  display: block;
  height: 54px;
  width: auto;
  aspect-ratio: 1734 / 470;
  object-fit: cover;
}
.brand-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.brand-kicker {
  padding-left: 16px;
  border-left: 2px solid var(--ink);
  font-family: var(--display);
  font-stretch: 100%;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.25;
  color: var(--ink-2);
  white-space: nowrap;
}
.mast-nav { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.project-chrome { display: flex; align-items: center; }
.project-x {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: background 160ms var(--ease);
}
.project-x:hover { background: rgba(16, 19, 28, 0.07); }
.project-x.is-empty { color: var(--mute); pointer-events: none; }
.x-logo { width: 15px; height: 15px; flex: 0 0 auto; }

.proof-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border: var(--edge);
  border-radius: 10px;
  background: var(--card);
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--ink);
  font-family: var(--display);
  font-stretch: 112%;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 140ms var(--ease), box-shadow 140ms var(--ease), background 140ms var(--ease);
}
.proof-btn::before {
  content: "";
  width: 6px;
  height: 14px;
  background: var(--green);
  border: 1.5px solid var(--ink);
  border-radius: 1px;
}
.proof-btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); background: #fff; }
.proof-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.proof-btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* ---------------------------------------------------------------- game */
.stage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  min-height: 0;
  padding: 4px 0 24px;
}
.play {
  display: grid;
  place-items: center;
  min-height: 0;
}
.cabinet {
  position: relative;
  width: var(--cab-w);
  aspect-ratio: 8 / 3;
  border: 3px solid var(--ink);
  border-radius: 18px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}
.cabinet iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--paper);
}
.boot-cover { display: none; }

/* ---------------------------------------------------------------- dock */
.dock {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: stretch;
  width: var(--cab-w);
  margin: 0 auto;
  border: var(--edge);
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--hard);
}
.meters { display: flex; align-items: stretch; }
.token-picker,
.meter {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px 11px;
  border-right: 2px solid var(--ink);
}
.token-picker-label,
.meter label {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.token-chips { display: flex; gap: 6px; }
.token-chips button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  margin: 0;
  padding: 0 10px 0 4px;
  border: 1.5px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-2);
  font: inherit;
  cursor: pointer;
  transition: background 140ms var(--ease), border-color 140ms var(--ease), color 140ms var(--ease);
}
.token-chips button img {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
}
.token-chips button b {
  font-family: var(--display);
  font-stretch: 108%;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.token-chips button:hover { border-color: var(--ink); color: var(--ink); }
.token-chips button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.token-chips button.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  box-shadow: inset 0 -3px 0 var(--green);
}
.token-picker.is-locked .token-chips { opacity: 0.5; }
.token-picker.is-locked button { cursor: not-allowed; }
.token-picker.is-locked .token-picker-label::after { content: " · locked for this run"; color: var(--red); }

.meter { min-width: 148px; overflow: hidden; transition: background 180ms var(--ease); }
.meter b {
  font-family: var(--display);
  font-stretch: 115%;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.meter-payout b { color: var(--green-ink); }
.meter-payout::after {
  /* little rising candle in the corner */
  content: "";
  position: absolute;
  top: 12px;
  right: 14px;
  width: 7px;
  height: 16px;
  background: var(--green);
  border: 1.5px solid var(--ink);
  border-radius: 1px;
  box-shadow: 0 -5px 0 -2.5px var(--ink), 0 5px 0 -2.5px var(--ink);
}
.meter.is-flash { animation: payout-flash 700ms var(--ease); }

.mast-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  padding: 10px 12px 10px 18px;
}
.composer {
  display: grid;
  grid-template-columns: minmax(110px, 0.7fr) minmax(170px, 1.4fr) auto;
  gap: 10px;
  align-items: stretch;
}
.composer input, .composer button { font: inherit; width: 100%; min-width: 0; }
.composer input {
  height: 46px;
  padding: 0 14px;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  transition: background 140ms var(--ease), box-shadow 140ms var(--ease);
}
#address { font-family: var(--mono); font-size: 13px; }
.composer input::placeholder { color: var(--mute); font-family: var(--face); }
.composer input:hover { background: #fff; }
.composer input:focus { outline: none; background: #fff; box-shadow: 0 0 0 3px rgba(43, 89, 255, 0.28); }
.composer button {
  position: relative;
  overflow: hidden;
  height: 46px;
  padding: 0 22px;
  border: var(--edge);
  border-radius: 10px;
  font-family: var(--display);
  font-stretch: 118%;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 140ms var(--ease), box-shadow 140ms var(--ease), background 140ms var(--ease);
}
.composer button:not(:disabled) {
  background: var(--green);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.composer button:not(:disabled):hover { background: var(--green-hot); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.composer button:not(:disabled):active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.composer button:disabled {
  background: var(--paper-2);
  color: var(--mute);
  border: 2px dashed rgba(16, 19, 28, 0.35);
  box-shadow: none;
  cursor: not-allowed;
}
.composer button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.composer button.is-sweep::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: translateX(-120%);
  animation: claim-sweep 420ms var(--ease);
}
#claim-status {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-2);
}
#claim-status a { color: var(--blue); font-weight: 700; }

.ticket { display: none; }
body.is-debug .ticket { display: block; }
.debug {
  position: fixed;
  left: 12px;
  bottom: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
}

/* ---------------------------------------------------------------- proof page */
body.is-proof {
  display: block;
  height: auto;
  min-height: 100dvh;
  overflow: auto;
}
body.is-proof .mast { width: min(1040px, calc(100vw - 48px)); }
.proof-page {
  width: min(1040px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 28px 0 64px;
  animation: intro 480ms var(--ease) both;
}
.proof-head { margin-bottom: 26px; }
.proof-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.proof-eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--green); border-radius: 1px; }
.proof-page h1 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-stretch: 125%;
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.proof-page .note {
  max-width: 520px;
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink-2);
}
.proof-scroll {
  overflow-x: auto;
  border: var(--edge);
  border-radius: 14px;
  background: var(--card);
  box-shadow: 6px 6px 0 var(--ink);
}
.proof-table { width: 100%; border-collapse: collapse; }
.proof-table th, .proof-table td {
  padding: 13px 18px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}
.proof-table th {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 0;
}
.proof-table tbody tr:nth-child(even) td { background: rgba(16, 19, 28, 0.03); }
.proof-table tbody tr:last-child td { border-bottom: 0; }
.proof-table td { font-variant-numeric: tabular-nums; }
.proof-table td:nth-child(3), .proof-table td:nth-child(4) { font-family: var(--mono); }
.proof-table td:nth-child(4) { color: var(--green-ink); font-weight: 600; }
.proof-table .empty {
  padding: 44px 18px;
  text-align: center;
  color: var(--mute);
  font-family: var(--mono);
  font-size: 13px;
  background: none !important;
}
.proof-table code { font-family: var(--mono); font-size: 12.5px; color: var(--ink); }
.fine {
  max-width: 640px;
  margin: 28px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--mute);
}

/* ---------------------------------------------------------------- motion */
.mast, .play, .dock { animation: intro 520ms var(--ease) both; }
.play { animation-delay: 60ms; }
.dock { animation-delay: 120ms; }

@keyframes intro {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes tape { to { transform: translateX(-50%); } }
@keyframes claim-sweep { to { transform: translateX(120%); } }
@keyframes payout-flash {
  0% { background: var(--green); }
  100% { background: transparent; }
}
@keyframes ca-ping {
  0% { transform: scale(1); opacity: 0.5; }
  75%, 100% { transform: scale(2.4); opacity: 0; }
}

/* ---------------------------------------------------------------- mid widths */
@media (max-width: 1180px) {
  :root { --cab-w: min(calc(100vw - 40px), calc((100dvh - 330px) * 8 / 3), 1680px); }
  .dock { grid-template-columns: 1fr; }
  .meters { border-bottom: 2px solid var(--ink); }
  .meters .meter:last-child { border-right: 0; }
  .meter { flex: 1 1 0; }
  .brand-kicker { display: none; }
}

/* ---------------------------------------------------------------- phones */
@media (max-width: 800px) {
  :root { --cab-w: calc(100vw - 20px); }
  body.is-play { height: 100dvh; overflow: hidden; }
  body { background-size: 100% 28px, 28px 100%; }
  .ca-rail-wrap { min-height: 30px; gap: 10px; padding-left: 10px; }
  .ca-rail { --ca-row: 12px; height: 20px; padding: 0 9px 0 7px; }
  .tape { font-size: 10px; }
  .mast { gap: 10px; padding: 8px 0 8px; }
  .brand .wordmark { height: 34px; }
  .mast-nav { gap: 8px; }
  .project-x { width: 36px; height: 36px; padding: 0; justify-content: center; border: var(--edge); background: var(--card); }
  .project-x #project-x-handle {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .proof-btn { height: 36px; padding: 0 12px; font-size: 13px; box-shadow: 2px 2px 0 var(--ink); }
  .stage { justify-content: stretch; gap: 10px; padding: 0 0 10px; }
  .play { flex: 1 1 auto; padding: 0 10px; place-items: stretch; }
  .cabinet {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-width: 2.5px;
    border-radius: 14px;
    box-shadow: 4px 4px 0 var(--ink);
  }
  .boot-cover {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
    background: var(--paper);
  }
  .boot-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 52% 50%;
  }
  .boot-wait {
    position: absolute;
    left: 50%;
    bottom: 7%;
    transform: translateX(-50%);
    margin: 0;
    padding: 7px 14px;
    border: var(--edge);
    border-radius: 999px;
    background: var(--card);
    box-shadow: 2px 2px 0 var(--ink);
    white-space: nowrap;
    font-family: var(--display);
    font-stretch: 110%;
    font-size: 13px;
    font-weight: 800;
    color: var(--ink);
  }
  .boot-cover.is-off { display: none; }

  .dock {
    flex: 0 0 auto;
    width: calc(100vw - 20px);
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 3px 3px 0 var(--ink);
  }
  .meters { flex-wrap: wrap; }
  .token-picker {
    flex: 1 1 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 8px;
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }
  .token-picker-label { display: none; }
  .token-picker.is-locked .token-chips { opacity: 0.4; }
  .token-chips { flex: 1 1 auto; gap: 5px; }
  .token-chips button { flex: 1 1 0; justify-content: center; height: 32px; gap: 5px; padding: 0 6px 0 3px; }
  .token-chips button img { width: 20px; height: 20px; }
  .token-chips button b { font-size: 10.5px; }
  .meter {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    min-width: 0;
    padding: 8px 12px;
  }
  .meter label { font-size: 9px; white-space: nowrap; }
  .meter b { font-size: 21px; }
  .meter-payout::after { display: none; }
  .mast-center { padding: 8px; gap: 6px; }
  .composer { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) auto; gap: 6px; }
  .composer input { height: 40px; padding: 0 10px; font-size: 13px; }
  #address { font-size: 12px; }
  .composer button { height: 40px; padding: 0 12px; font-size: 13px; }

  body.is-proof { overflow: auto; height: auto; }
  body.is-proof .mast, .proof-page { width: calc(100vw - 28px); }
  .proof-page { padding-top: 18px; }
  .proof-page .note { font-size: 15px; }
  .proof-scroll { box-shadow: 4px 4px 0 var(--ink); }
  .proof-table th, .proof-table td { padding: 11px 12px; }
}

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