:root {
  --bg: #080907;
  --bg-2: #10160c;
  --bg-3: #0c110b;
  --text: #e7f2df;
  --muted: #c5d4bc;
  --lime: #c8ff3a;
  --lime-ink: #081006;
  --magenta: #ff3ec8;
  --magenta-ink: #14010f;
  --line: #2a3820;
  --danger: #ff6b6b;
  --display: "Big Shoulders Condensed", "Arial Narrow", Impact, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --sans: "IBM Plex Sans", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  background:
    linear-gradient(rgba(200, 255, 58, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 255, 58, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 48px 48px, 48px 48px, auto;
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  color-scheme: dark;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--lime);
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--magenta);
}

:focus-visible {
  outline: 3px solid var(--magenta);
  outline-offset: 3px;
}

::selection {
  background: var(--magenta);
  color: var(--magenta-ink);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 0.9;
  text-transform: uppercase;
}

.sr-only {
  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: 0.75rem;
  top: -4rem;
  z-index: 40;
  background: var(--lime);
  color: var(--lime-ink);
  padding: 0.6rem 0.8rem;
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.85rem;
}

.skip:focus {
  top: 0.6rem;
}

.hazard {
  height: 8px;
  background: repeating-linear-gradient(
    -45deg,
    var(--lime),
    var(--lime) 10px,
    var(--bg) 10px,
    var(--bg) 20px
  );
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  padding: 0.7rem 1rem;
  background: #080907;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: auto;
  min-width: 0;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}

.logo:hover {
  color: var(--text);
}

.logo-mark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.04em;
  line-height: 0.85;
  color: var(--lime);
}

.logo-sub,
.header-live {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.header-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  color: var(--lime);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a:hover {
  color: var(--lime);
}

.header-actions,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.how-btn,
.btn-hot,
.back,
.copy-btn,
.dialog-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.45rem 0.8rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  max-width: 100%;
}

.how-btn {
  background: transparent;
  color: var(--lime);
  border-color: var(--lime);
}

.how-btn:hover {
  background: var(--lime);
  color: var(--lime-ink);
}

.how-btn-lg {
  font-size: 1.45rem;
  min-height: 48px;
  padding: 0.5rem 0.95rem;
}

.btn-hot {
  background: var(--magenta);
  color: var(--magenta-ink);
  border-color: var(--magenta);
}

.btn-hot:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--lime-ink);
}

.tape {
  overflow: hidden;
  max-width: 100%;
  border-bottom: 1px solid var(--line);
  background: #050605;
}

.tape-track {
  display: flex;
  width: max-content;
  animation: ticker 42s linear infinite;
}

.tape:hover .tape-track {
  animation-play-state: paused;
}

.tape-row {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tape-row li {
  padding: 0.55rem 1rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  white-space: nowrap;
}

.tape-row li + li {
  border-left: 1px solid rgba(255, 62, 200, 0.45);
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.blink {
  width: 0.55rem;
  height: 0.55rem;
  background: var(--lime);
  display: inline-block;
  flex: none;
  animation: blink 1.8s steps(1, end) infinite;
}

@keyframes blink {
  0%, 45% { opacity: 1; }
  50%, 100% { opacity: 0.25; }
}

.hero-wrap {
  padding: 1.4rem 0 0.4rem;
}

.hero-grid {
  display: grid;
  gap: 1.15rem;
}

.hero-copy {
  min-width: 0;
}

.kicker,
.section-kicker,
.counter-kicker,
.mint-kicker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.7rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
}

h1 {
  margin: 0;
  max-width: 100%;
  color: var(--lime);
  font-size: clamp(3.6rem, 11vw, 7.2rem);
  border-left: 6px solid var(--lime);
  padding-left: 0.45rem;
}

.dek {
  max-width: 40rem;
  margin: 0.9rem 0 0;
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--text);
}

.counter {
  position: relative;
  border: 1px solid var(--lime);
  background: var(--bg-3);
  padding: 0.95rem 1rem 1rem;
  min-width: 0;
}

.counter::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: var(--magenta);
}

.counter-label {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 0.95;
}

.counter-num {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.45rem 0 0;
  font-family: var(--mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--lime);
  font-size: clamp(2.8rem, 10vw, 4.8rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.unit {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.32em;
  letter-spacing: 0.12em;
  color: var(--text);
}

.counter-note,
.mint-note,
.rules-lead,
.ticket-lead,
.rate,
.prose p,
.rail p,
.stream-game,
.hint,
.fine,
.example-note {
  color: var(--muted);
}

.counter-note {
  margin: 0.55rem 0 0;
  font-family: var(--mono);
  font-size: 0.82rem;
}

.mint {
  border: 1px solid var(--lime);
  background: #0c110b;
  padding: 0.9rem;
  min-width: 0;
}

.mint-kicker {
  color: var(--magenta);
}

.mint-head {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
}

.mint-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  background: #080907;
  border: 1px solid var(--line);
  padding: 0.4rem 0.45rem 0.4rem 0.7rem;
}

.mint-inline {
  font-family: var(--mono);
  font-size: 0.78em;
  overflow-wrap: anywhere;
  color: var(--lime);
}

.mint-address {
  display: block;
  flex: 1 1 12rem;
  min-width: 0;
  margin: 0;
  padding: 0.35rem 0;
  font-family: var(--mono);
  font-size: clamp(0.92rem, 2.4vw, 1.2rem);
  line-height: 1.35;
  color: var(--lime);
  user-select: all;
  -webkit-user-select: all;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.copy-btn {
  flex: 0 0 auto;
  min-width: 5.5rem;
  background: var(--magenta);
  color: var(--magenta-ink);
  border-color: var(--magenta);
}

.copy-btn:hover,
.copy-btn.is-copied {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--lime-ink);
}

.mint-note {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.45;
}

.hero-actions {
  margin-top: 0.85rem;
}

.block {
  padding: 2.1rem 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 5vw, 3.3rem);
  color: var(--text);
}

.section-head h2,
.ticket-head h2 {
  margin: 0;
}

.board-count {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
}

.board-list {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr);
}

.board-empty {
  grid-column: 1 / -1;
  border: 1px dashed var(--lime);
  padding: 1.4rem 1.1rem 1.5rem;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(200, 255, 58, 0.045) 8px,
    rgba(200, 255, 58, 0.045) 9px
  );
}

.board-empty-mark {
  margin: 0 0 0.45rem;
  font-family: var(--mono);
  letter-spacing: 0.14em;
  color: var(--magenta);
}

.board-empty p:last-child {
  margin: 0;
  max-width: 16ch;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--text);
}

.stream-card {
  min-width: 0;
  display: grid;
  gap: 0.45rem;
  align-content: start;
  border: 1px solid var(--line);
  border-left: 4px solid var(--lime);
  background: var(--bg-2);
  padding: 0.9rem 0.95rem 1rem;
  overflow-wrap: anywhere;
}

.stream-card.is-off {
  border-left-color: var(--magenta);
}

.stream-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.stream-card h3 {
  margin: 0;
  font-size: 1.8rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.2rem 0.45rem;
  border: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  flex: none;
}

.pill-live {
  color: var(--lime);
}

.pill-off {
  color: var(--muted);
}

.pill-review {
  color: var(--magenta);
}

.pill .blink {
  width: 0.45rem;
  height: 0.45rem;
}

.stream-game,
.stream-missing {
  margin: 0;
}

.stream-cut {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding-top: 0.45rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
}

.stream-cut strong {
  color: var(--lime);
  font-size: 1.25rem;
  font-weight: 500;
}

.stream-card a {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.player {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.stream-frame {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: #000;
}

.player-fallback {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.rail {
  display: grid;
  gap: 0;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
}

.rail li {
  min-width: 0;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

.rail li:last-child {
  border-bottom: 0;
}

.num {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--lime);
  line-height: 1;
}

.rail h3 {
  margin: 0.35rem 0;
  font-size: 1.55rem;
}

.rail p,
.prose p {
  margin: 0;
}

.prose p + p {
  margin-top: 0.85rem;
}

.rate {
  margin: 1rem 0 0;
  font-size: 0.98rem;
}

.split {
  display: grid;
  gap: 1.25rem;
}

.receipt {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  border: 1px solid var(--magenta);
  background: #100810;
}

.receipt caption {
  caption-side: top;
  text-align: left;
  padding: 0.75rem 0.85rem 0.35rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--magenta);
}

.receipt th,
.receipt td {
  padding: 0.4rem 0.85rem;
  text-align: left;
  font-weight: 400;
  color: var(--text);
}

.receipt td {
  text-align: right;
  color: var(--lime);
}

.receipt .total th,
.receipt .total td {
  border-top: 1px solid var(--line);
  padding-top: 0.55rem;
  padding-bottom: 0.7rem;
}

.submit-grid {
  display: grid;
  gap: 1rem;
}

.ticket {
  position: relative;
  min-width: 0;
  border: 1px solid var(--lime);
  background: var(--bg-3);
  padding: 1.1rem 1rem 1.15rem;
}

.ticket-lead {
  margin: 0.75rem 0 1rem;
  color: var(--text);
}

form[data-stream-form] {
  display: grid;
  gap: 0.9rem;
}

.field {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

label,
.rev-label {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
}

.hint,
.fine,
.example-note {
  margin: 0;
  font-size: 0.875rem;
}

input,
textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line);
  background: #080907;
  color: var(--text);
  border-radius: 0;
  padding: 0.75rem 0.7rem;
  font-family: var(--mono);
  font-size: 1rem;
  line-height: 1.4;
}

textarea {
  resize: vertical;
  min-height: 6rem;
}

input::placeholder,
textarea::placeholder {
  color: #b7c9b0;
  opacity: 1;
}

input:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
  box-shadow: 0 0 0 1000px #10160e inset;
}

.rev-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.rev-readout {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.8rem, 8vw, 4rem);
  line-height: 0.8;
  color: var(--lime);
}

.rev-readout .pct {
  font-size: 0.5em;
}

input[type="range"] {
  --fill: 25%;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

input[type="range"]:focus-visible {
  outline-offset: 4px;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  background: linear-gradient(90deg, var(--lime) var(--fill), #1c2418 var(--fill));
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 28px;
  margin-top: -10px;
  background: var(--magenta);
  border: 0;
}

input[type="range"]::-moz-range-track {
  height: 8px;
  background: linear-gradient(90deg, var(--lime) var(--fill), #1c2418 var(--fill));
  border: 0;
}

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 28px;
  background: var(--magenta);
  border: 0;
  border-radius: 0;
}

.example {
  display: grid;
  gap: 0.3rem;
  padding: 0.8rem 0.85rem;
  border: 1px solid var(--lime);
  background: #0c1208;
}

.example-kicker {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.example-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--text);
}

.example-row strong {
  font-weight: 500;
  color: var(--lime);
}

.check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  min-width: 0;
  font-family: var(--sans);
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.check input {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.15rem;
  padding: 0;
  accent-color: var(--lime);
}

.field-error {
  margin: 0;
  color: #ffb4b4;
  font-family: var(--mono);
  font-size: 0.8rem;
}

[aria-invalid="true"] {
  border-color: var(--danger);
}

.form-alert {
  margin: 0;
  padding: 0.75rem 0.8rem;
  border: 1px solid var(--danger);
  background: #2a0d0d;
  color: #ffd0d0;
  font-family: var(--mono);
  font-size: 0.85rem;
}

form[data-stream-form] button[type="submit"] {
  width: 100%;
  min-height: 52px;
  border: 0;
  cursor: pointer;
  background: var(--lime);
  color: var(--lime-ink);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

form[data-stream-form] button[type="submit"]:hover {
  background: var(--magenta);
  color: var(--magenta-ink);
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.rules {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  min-width: 0;
}

.rules-title {
  margin-bottom: 0;
}

.rules-lead {
  margin: 0;
  color: var(--text);
}

.rule {
  border: 1px solid var(--line);
  padding: 0.9rem 1rem 0.4rem;
  background: #0c100b;
}

.rule-bring {
  border-top: 3px solid var(--lime);
}

.rule-decline {
  border-top: 3px solid var(--magenta);
}

.rule h3 {
  margin: 0 0 0.45rem;
  font-size: 1.45rem;
}

.rule ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rule li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.5rem;
  padding: 0.45rem 0;
  border-top: 1px solid var(--line);
}

.rule-bring li::before {
  content: "+";
  color: var(--lime);
  font-family: var(--mono);
}

.rule-decline li::before {
  content: "–";
  color: var(--magenta);
  font-family: var(--mono);
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-of-type {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--lime);
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 1;
  flex: none;
}

.faq details[open] summary::after {
  content: "–";
}

.faq summary span {
  min-width: 0;
}

.faq details p {
  margin: 0 0 1rem;
  max-width: 46rem;
  color: var(--text);
}

.site-footer {
  padding: 0.4rem 0 2.2rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  max-width: 48rem;
}

.site-footer p + p {
  margin-top: 0.45rem;
}

.status-line {
  margin: 0;
  padding: 0.55rem 1rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
}

.thanks {
  padding: 2.6rem 0 3.5rem;
  max-width: 42rem;
}

.thanks h1 {
  max-width: 12ch;
  font-size: clamp(3.2rem, 10vw, 5.6rem);
}

.thanks .dek {
  margin-bottom: 1.2rem;
}

.thanks ol {
  margin: 1.1rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.thanks ol li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  margin-top: 0.75rem;
  color: var(--text);
}

.thanks ol li::before {
  content: counter(step, decimal-leading-zero);
  counter-increment: step;
  font-family: var(--mono);
  color: var(--lime);
}

.thanks ol {
  counter-reset: step;
}

.back {
  background: transparent;
  color: var(--lime);
  border-color: var(--lime);
  font-size: 1.35rem;
}

.back:hover {
  background: var(--lime);
  color: var(--lime-ink);
}

dialog {
  width: min(36rem, calc(100vw - 1.5rem));
  max-width: calc(100vw - 1.5rem);
  padding: 0;
  border: 2px solid var(--lime);
  background: #0b0e09;
  color: var(--text);
  box-shadow: none;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
}

dialog[open] {
  display: flex;
  flex-direction: column;
  max-height: min(86vh, 44rem);
  overflow: hidden;
}

.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  flex: none;
}

.dialog-top h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
}

.dialog-close {
  flex: none;
  background: transparent;
  color: var(--text);
  border-color: var(--text);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

.dialog-close:hover {
  border-color: var(--magenta);
  color: var(--magenta);
}

.dialog-body {
  overflow: auto;
  padding: 1rem 1.05rem 1.2rem;
}

.how-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.how-list li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
}

.how-list span {
  font-family: var(--mono);
  color: var(--lime);
  font-size: 0.85rem;
  padding-top: 0.15rem;
}

.how-list p {
  margin: 0;
  color: var(--text);
}

@media (max-width: 640px) {
  .mint-box {
    flex-direction: column;
    align-items: stretch;
  }

  .copy-btn {
    width: 100%;
  }
}

@media (max-width: 979px) {
  .nav,
  .header-actions {
    flex: 1 0 100%;
  }

  .header-actions {
    order: 3;
  }

  .nav {
    order: 4;
  }

  .header-actions .how-btn,
  .header-actions .btn-hot,
  .hero-actions .how-btn,
  .hero-actions .btn-hot {
    flex: 1 1 9rem;
  }
}

@media (min-width: 720px) {
  .board-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
    align-items: start;
  }
}

@media (min-width: 900px) {
  .rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .rail li {
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .rail li:last-child {
    border-right: 0;
  }

  .mint-head {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
    align-items: center;
    gap: 1.15rem;
  }
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
    grid-template-areas:
      "copy counter"
      "mint mint";
    align-items: start;
  }

  .hero-copy { grid-area: copy; }
  .counter { grid-area: counter; }
  .mint { grid-area: mint; }

  .submit-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.8fr);
    align-items: start;
    gap: 1.25rem;
  }

  .rules {
    position: sticky;
    top: 5.5rem;
  }
}

@media (min-width: 1040px) {
  .board-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .tape-track {
    animation: none;
    width: auto;
    max-width: 100%;
    flex-wrap: wrap;
  }

  .tape-row {
    flex-wrap: wrap;
  }

  .tape-row li {
    white-space: normal;
  }

  .tape-clone {
    display: none;
  }

  .blink {
    animation: none;
    opacity: 1;
  }
}
