/* Gitpaid.
   Composition from the board Vadim dropped (art/ref/reference.jpg): one field, hairline rails and
   cells, one photoreal machine in the middle of a lot of empty, a contact sheet of identical windows
   under it. Flat on purpose: a flat graphic reference is built flat, its rules and blocks ARE the
   objects.
   Colour, light and texture from the logo and banner he handed over after it (art/ref/logo.jpg,
   art/ref/banner.jpg), because his logo overrules every look preference: black, milled gold, and one
   violet that glows. Every hex below is sampled off those two files. */

@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 300; font-display: swap;
  src: url(/font/dmmono-300-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 300; font-display: swap;
  src: url(/font/dmmono-300-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/font/dmmono-400-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/font/dmmono-400-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/font/dmmono-500-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/font/dmmono-500-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* sampled off art/ref/logo.jpg and art/ref/banner.jpg */
  --field: #060110;
  --panel: #0e0520;
  --glass: #140826;
  --line: #3a1c63;
  --line-soft: #241041;
  --mint: #de8bff;          /* his violet, lit: labels and live things */
  --mint-dim: #8c5ab8;      /* the same violet, quiet */
  --violet: #b026ff;        /* the glow itself */
  --violet-core: #ffd6ff;
  --paper: #efe4fb;
  --white: #ffffff;
  --red: #e3a63e;           /* the money colour on his coin: gold is what shouts here, not red */
  --gold-lit: #f7d77e;
  --cream: #d7cfc4;

  /* the reference's scale: display is about 4.3x the label */
  --t-micro: 16px;
  --t-label: 17px;
  --t-body: 18px;
  --t-lead: 22px;
  --t-head: 36px;
  --t-display: 60px;

  --gutter: clamp(20px, 3.2vw, 56px);
  --pad: 32px;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { background: var(--field); }

body {
  margin: 0;
  background: var(--field);
  color: var(--paper);
  font-family: "DM Mono", ui-monospace, "Cascadia Mono", "Consolas", monospace;
  font-weight: 300;
  font-size: var(--t-body);
  line-height: 1.6;
  letter-spacing: 0.035em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* the field is not flat: a slow phosphor bloom sits behind everything */
body::before {
  content: "";
  position: fixed;
  inset: -20vh -10vw;
  background:
    radial-gradient(40vw 34vh at 50% 38%, rgba(176, 38, 255, 0.11), transparent 70%),
    radial-gradient(56vw 46vh at 80% 6%, rgba(227, 166, 62, 0.07), transparent 70%);
  filter: blur(42px);
  animation: bloom 23s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes bloom {
  0%, 100% { opacity: 0.75; transform: translate3d(0, 0, 0) scale(1); }
  50% { opacity: 1; transform: translate3d(-1.5%, 1.5%, 0) scale(1.05); }
}

main { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
button { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; }

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

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* ============================================================ the rails ==== */
.band { padding: 0 var(--gutter) 88px; }
.band:last-child { padding-bottom: 104px; }

.rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 56px;
  margin: 40px 0 44px;
  padding: 15px 24px;
  border: 1px solid var(--line);
  font-size: var(--t-label);
  letter-spacing: 0.1em;
  color: var(--mint);
  transition: border-color 0.18s, color 0.18s;
}
.rail:hover { border-color: var(--mint-dim); color: var(--paper); }
.rail-chev { transition: transform 0.18s; }
.rail:hover .rail-chev { transform: translateY(3px); }

/* ============================================================== the hero === */
.band-hero { padding-bottom: 72px; overflow: hidden; }

.stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wires {
  z-index: 0;
  position: absolute;
  left: -10vw;
  right: -10vw;
  top: calc(var(--mon-w) * 0.445);
  height: 440px;
  transform: translateY(-50%);
  background: url(/img/commit-graph.png) left center repeat-x;
  background-size: auto 480px;
  opacity: 0.5;
  image-rendering: pixelated;
  pointer-events: none;
  animation: wires 90s linear infinite;
}
@keyframes wires { to { background-position-x: -1280px; } }

.gbig {
  z-index: 0;
  position: absolute;
  /* centred on the MACHINE, not on the whole stage: the stage also holds the keys */
  top: calc(var(--mon-w) * 0.445);
  left: 50%;
  width: calc(var(--mon-w) * 2.15);
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0.13;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 60px rgba(176, 38, 255, 0.5));
  pointer-events: none;
  animation: breathe 14s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { opacity: 0.12; filter: drop-shadow(0 0 44px rgba(176, 38, 255, 0.35)); }
  50% { opacity: 0.2; filter: drop-shadow(0 0 80px rgba(176, 38, 255, 0.6)); }
}

/* the one object: a cream CRT standing on the green floor */
.crt {
  z-index: 2;
  position: relative;
  width: var(--mon-w);
  aspect-ratio: 1042 / 926;
  background: url(/img/crt.png) center / 100% 100% no-repeat;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.72)) drop-shadow(0 0 2px rgba(176, 38, 255, 0.45));
}
:root { --mon-w: min(90vw, 78vh * 1.33, 880px); }

/* the screen well, measured off the picture: 11.43% / 11.34% / 77.04% / 80.99% */
.console {
  container-type: size;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
}
.console-slot { position: relative; z-index: 2; width: 100%; margin-top: 26px; }
.console-slot:empty { display: none; }
.console-slot .console { border: 1px solid var(--line); background: var(--glass); }

.screen {
  container-type: inline-size;
  position: absolute;
  left: 11.42%;
  top: 11.34%;
  width: 76.97%;
  height: 61.77%;
  display: flex;
  flex-direction: column;
  background: var(--glass);
  overflow: hidden;
}
/* the phosphor, over everything in the well */
.crt-glass {
  position: absolute;
  left: 11.42%; top: 11.34%; width: 76.97%; height: 61.77%;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 78% 6%, rgba(176, 38, 255, 0.1), transparent 52%),
    repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.17) 0 1px, transparent 1px 3px);
  mix-blend-mode: screen;
  animation: flicker 5.5s steps(1) infinite;
}
@keyframes flicker { 0%, 96% { opacity: 1; } 97% { opacity: 0.86; } 98%, 100% { opacity: 1; } }

/* ======================================================= window anatomy ==== */
.strip { display: flex; align-items: stretch; flex: 0 0 auto; }

.strip-title {
  height: 46px;
  gap: 8px;
  padding: 8px;
  border-bottom: 1px solid var(--line);
}
.cell-mark {
  display: grid; place-items: center;
  width: 38px;
  border: 1px solid var(--line);
}
.cell-mark img { width: 20px; height: 20px; }
.graph {
  flex: 1 1 auto;
  min-width: 0;
  background: url(/img/grid.png) left top repeat;
  background-size: 8px 10px;
  opacity: 0.72;
  animation: drift 26s linear infinite;
}
@keyframes drift { to { background-position-x: 8px; } }
.cell-now {
  display: grid; place-items: center;
  padding: 0 18px;
  font-size: var(--t-micro);
  letter-spacing: 0.22em;
  color: var(--mint);
  text-shadow: 0 0 12px rgba(176, 38, 255, 0.55);
  white-space: nowrap;
}
.cell-flag {
  display: grid; place-items: center;
  width: 38px;
  background: var(--violet);
  box-shadow: 0 0 14px rgba(176, 38, 255, 0.45);
}
.cell-flag img { width: 18px; height: 18px; }

.screen-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 26px 30px;
  overflow-y: auto;
}

.poster {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 2cqw, 14px);
  padding: clamp(14px, 4cqw, 26px) clamp(18px, 6cqw, 32px);
  text-align: center;
}
.poster[hidden] { display: none; }
.poster .paybox { width: clamp(44px, 19cqw, 108px); height: auto; flex: 0 0 auto; image-rendering: pixelated; filter: drop-shadow(0 0 22px rgba(176, 38, 255, 0.55)); }
.poster-lead { margin: 0; font-size: clamp(26px, 13cqw, 50px); line-height: 1.15; color: var(--white); letter-spacing: 0.02em; }
.poster-sub { margin: 0; font-size: var(--t-micro); color: var(--mint); line-height: 1.6; }

/* ------------------------------------------------------- the control strip - */
.strip-links {
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  border-top: 1px solid var(--line);
}
.strip-links .cell {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  transition: border-color 0.16s, background 0.16s, transform 0.08s;
}
.strip-links a.cell:hover { border-color: var(--mint); }
.strip-links a.cell:active { transform: translateY(1px); }
.cell-x, .cell-dex { width: 54px; flex: 0 0 54px; background: #1c0f33; }
.cell-x:hover, .cell-dex:hover { background: #2a1750; }
.cell-x img { width: 17px; height: auto; }
.cell-dex img { width: 22px; height: 22px; }
.cell-ca {
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 9px 24px;
  gap: 2px;
}
.ca-label {
  font-size: var(--t-micro);
  letter-spacing: 0.22em;
  color: var(--mint-dim);
  line-height: 1.1;
}
.ca-value {
  display: block;
  width: 100%;
  min-width: 0;
  text-align: left;
  font-size: var(--t-micro);
  line-height: 1.25;
  color: var(--paper);
  overflow-wrap: anywhere;
  cursor: pointer;
  user-select: text;
}
.ca-value[disabled] { color: var(--mint-dim); cursor: default; }
.cell-buy { flex: 0 0 auto; gap: 10px; padding: 0 12px; background: #1c0f33; }
.pump-mark { width: 22px; height: 22px; border-radius: 3px; }
.capsule {
  display: grid;
  place-items: center;
  height: 40px;
  padding: 0 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--gold-lit), var(--red));
  color: #2a1803;
  font-size: var(--t-micro);
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.capsule.is-off, .cell.is-off { opacity: 0.45; pointer-events: none; }
.capsule.is-off { background: #2a2033; color: var(--mint-dim); }

/* ========================================================= the keyboard ==== */
.keyboard {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 10px;
  margin-top: 30px;
  flex-wrap: wrap;
  justify-content: center;
}
.key {
  display: grid;
  place-items: center;
  min-width: 176px;
  min-height: 58px;
  padding: 12px 26px;
  line-height: 1.3;
  text-align: center;
  background: url(/img/key.png) center / 100% 100% no-repeat;
  color: #cbbfe0;
  font-size: var(--t-label);
  font-weight: 400;
  letter-spacing: 0.1em;
  transition: transform 0.07s, filter 0.16s;
}
.key:hover { filter: brightness(1.18); color: var(--paper); }
.key:active { transform: translateY(2px); }
.key.is-on { color: var(--violet-core); filter: brightness(1.35); box-shadow: inset 0 0 0 99px rgba(176, 38, 255, 0.18), 0 0 18px rgba(176, 38, 255, 0.3); }

/* =========================================================== the views ===== */
.view-lead {
  text-wrap: balance;
  font-size: clamp(26px, min(10.4cqw, 15cqh), 72px);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: 0.01em;
  color: var(--white);
  margin: 0 0 6px;
}
.view-sub {
  font-size: clamp(16px, 3.1cqw, 21px);
  color: var(--mint);
  margin: 0 0 26px;
  line-height: 1.45;
}
.view-row { display: flex; align-items: flex-start; gap: clamp(14px, 3cqw, 26px); }
.view-text { min-width: 0; }
.coin { width: clamp(56px, 15cqw, 124px); height: auto; flex: 0 0 auto; image-rendering: pixelated; filter: drop-shadow(0 0 18px rgba(176, 38, 255, 0.55)); animation: shine 6s ease-in-out infinite; }
@keyframes shine { 0%, 100% { filter: drop-shadow(0 0 14px rgba(176, 38, 255, 0.4)); } 50% { filter: drop-shadow(0 0 30px rgba(176, 38, 255, 0.75)); } }


.field-row { display: flex; gap: 10px; margin: 0 0 18px; }
.field {
  flex: 1 1 auto;
  min-width: 0;
  height: 56px;
  padding: 0 20px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: var(--t-body);
  letter-spacing: 0.04em;
}
.field::placeholder { color: var(--mint-dim); opacity: 1; }
.field:focus { border-color: var(--mint); outline: none; }

.act {
  display: grid;
  place-items: center;
  height: 56px;
  padding: 0 26px;
  border: 1px solid var(--mint);
  color: var(--mint);
  font-size: var(--t-label);
  letter-spacing: 0.1em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.16s, color 0.16s, transform 0.07s;
}
.act:hover { background: var(--violet); border-color: var(--violet); color: var(--white); }
.act:active { transform: translateY(1px); }
.act-primary { border-color: var(--red); background: linear-gradient(180deg, var(--gold-lit), var(--red)); color: #2a1803; }
.act-primary:hover { filter: brightness(1.12); color: #2a1803; }
.act[disabled] { opacity: 0.4; pointer-events: none; }

.note { font-size: var(--t-micro); color: var(--mint-dim); margin: 14px 0 0; line-height: 1.5; }
.note-bad { color: var(--red); }

/* the locked split, drawn as the reference draws its meter */
.split { margin: 22px 0 0; }
.split-row { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.split-who { flex: 0 0 11ch; font-size: var(--t-micro); color: var(--mint); letter-spacing: 0.08em; }
.split-bar { flex: 1 1 auto; height: 20px; border: 1px solid var(--line); padding: 3px; }
.split-fill { height: 100%; background: var(--violet); box-shadow: 0 0 10px rgba(176, 38, 255, 0.5); }
.split-fill.is-pad { background: var(--red); box-shadow: 0 0 10px rgba(227, 166, 62, 0.45); }
.split-pct { flex: 0 0 5ch; text-align: right; font-size: var(--t-micro); color: var(--paper); }

.facts { margin: 0; display: grid; grid-template-columns: 13ch 1fr; gap: 6px 18px; }
.facts dt { font-size: var(--t-micro); color: var(--mint-dim); letter-spacing: 0.08em; }
.facts dd { margin: 0; font-size: var(--t-micro); color: var(--paper); overflow-wrap: anywhere; }

/* ======================================================== the contact sheet */
.sheet {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.win {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--panel);
}
.win-title {
  display: flex;
  align-items: stretch;
  gap: 8px;
  height: 42px;
  padding: 7px;
  border-bottom: 1px solid var(--line);
  flex: 0 0 auto;
}
.win-title .cell-mark { width: 34px; }
.win-title .cell-mark img { width: 16px; height: 16px; }
.win-title .cell-now { font-size: var(--t-micro); padding: 0 12px; }
.win-title .cell-flag { width: 34px; }
.win-title .cell-flag img { width: 15px; height: 15px; }
.win-body { flex: 1 1 auto; padding: 26px var(--pad); }
.win-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px var(--pad);
  border-top: 1px solid var(--line);
  font-size: var(--t-micro);
  color: var(--mint-dim);
  flex: 0 0 auto;
}

a.win { transition: border-color 0.16s, transform 0.12s, box-shadow 0.16s; }
a.win:hover { border-color: var(--violet); transform: translateY(-3px); box-shadow: 0 0 26px rgba(176, 38, 255, 0.22); }

.repo-top { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.repo-pic { width: 46px; height: 46px; flex: 0 0 auto; image-rendering: pixelated; border: 1px solid var(--line-soft); object-fit: cover; }
.repo-name { font-size: var(--t-body); color: var(--white); line-height: 1.3; overflow-wrap: anywhere; }
.repo-owner { font-size: var(--t-micro); color: var(--mint-dim); }
.repo-money { font-size: 34px; line-height: 1.1; color: var(--gold-lit); margin: 0; }
.repo-money-unit { font-size: var(--t-micro); color: var(--mint-dim); letter-spacing: 0.14em; margin-left: 10px; }
.repo-alert {
  margin: 16px calc(var(--pad) * -1) 0;
  padding: 12px var(--pad);
  background: var(--red);
  color: #2a1803;
  font-size: var(--t-micro);
  letter-spacing: 0.06em;
}

.band-note {
  margin: 26px 0 0;
  font-size: var(--t-micro);
  color: var(--mint-dim);
  line-height: 1.6;
}

/* ============================================================ two columns == */
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.two-up-tail { margin-top: 22px; }

.rows { margin: 0; padding: 0; list-style: none; }
.rows li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: var(--t-micro);
}
.rows li:last-child { border-bottom: 0; }
.rows .r-rank { flex: 0 0 3ch; color: var(--mint-dim); }
.rows .r-main { flex: 1 1 auto; min-width: 0; color: var(--paper); overflow-wrap: anywhere; }
.rows .r-val { flex: 0 0 auto; color: var(--gold-lit); }

/* =============================================================== the steps = */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step-pic {
  display: grid;
  place-items: center;
  height: 150px;
  background: url(/img/grid.png) center / 16px 20px repeat;
  border-bottom: 1px solid var(--line);
}
.step-pic img { width: auto; height: 84px; image-rendering: pixelated; }
.step-n { font-size: var(--t-micro); color: var(--red); letter-spacing: 0.22em; }
.step-h { font-size: var(--t-lead); color: var(--white); margin: 6px 0 10px; line-height: 1.3; }
.step-p { font-size: var(--t-micro); color: var(--mint); margin: 0; line-height: 1.6; }

.badge-shot {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 0 16px;
  image-rendering: auto;
}
.code {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  font-size: var(--t-micro);
  color: var(--mint);
  overflow-wrap: anywhere;
  user-select: all;
}

.risk {
  margin: 60px 0 0;
  font-size: var(--t-micro);
  color: var(--mint-dim);
  text-align: center;
  line-height: 1.6;
}

/* ============================================================== phone ====== */
@media (max-width: 1180px) {
  .sheet { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  /* in the slot the console has no height of its own, so it measures by width alone */
  .console { container-type: inline-size; }
  .view-lead { font-size: clamp(26px, 9.2cqw, 50px); }
  :root { --mon-w: min(94vw, 58vh * 1.33, 720px); }
  .sheet { grid-template-columns: repeat(2, 1fr); }
  .two-up { grid-template-columns: 1fr; }
  /* the console steps out of the glass: the screen keeps the poster, the work happens below */
  .screen-body { padding: 24px; }
  .keyboard .key { min-width: 136px; }
}

@media (max-width: 680px) {
  :root { --t-display: 44px; --mon-w: min(96vw, 520px); }
  .band { padding: 0 var(--gutter) 64px; }
  .rail { min-height: 54px; padding: 14px 18px; margin: 28px 0 30px; letter-spacing: 0.04em; align-items: flex-start; }
  .rail-label { line-height: 1.4; }
  .sheet { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .keyboard { gap: 8px; }
  .keyboard .key { min-width: calc(50% - 4px); flex: 1 1 calc(50% - 4px); padding: 12px 14px; letter-spacing: 0.06em; }
  .keyboard .key:last-child { flex-basis: 100%; }
  .view-row { gap: 16px; }
  .coin { width: 68px; }
}

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

@media (max-height: 860px) and (min-width: 901px) {
  .rail { margin: 24px 0 26px; }
  .keyboard { margin-top: 22px; }
}

/* the author's own instructions, folded away until they ask for them */
.claim-how {
  margin: 16px 0 0;
  padding: 18px 22px;
  border: 1px solid var(--line);
  background: rgba(176, 38, 255, 0.05);
}
.claim-how[hidden] { display: none; }
.claim-how-lead { margin: 0 0 12px; font-size: var(--t-micro); color: var(--paper); line-height: 1.6; }
.claim-how-steps { margin: 0; padding-left: 1.4em; }
.claim-how-steps li { font-size: var(--t-micro); color: var(--mint); line-height: 1.6; margin-bottom: 8px; }
.claim-how-steps li::marker { color: var(--gold-lit); }
