/* ═══════════════════════════════════════════════════════════
   FLIPPR — one shared machine, one ball, always falling.
   DA: an arcade hall at night, a single machine switched on.
   Lacquered black, chrome, neon, an amber dot-matrix display.
   Hard rules from the spec:
   · zone colors (green/yellow/red) appear ONLY in zone contexts
   · pure white appears ONLY in the tilt flash
   · no soft gradients on neon, no light background, ever
   ═══════════════════════════════════════════════════════════ */

@import url("https://fonts.googleapis.com/css2?family=Audiowide&family=Orbitron:wght@400;500;600;700&display=swap");

:root {
  --cabinet: #08070a;        /* the room */
  --sheet: #14131a;          /* panels, frames */
  --sheet-2: #1b1a23;
  --chrome: #c8cdd6;         /* edges, rails, body text */
  --chrome-dark: #6b7280;
  --chrome-dim: #454b57;

  --dot-off: #2a0a1d;        /* the grid, always visible */
  --dot-on: #ff4f98;         /* pink neon */
  --dot-hot: #ff8fbe;

  --zone-clean: #39ff6a;     /* zones only */
  --zone-fair: #ffd400;
  --zone-save: #ff2d55;
  --neon-ball: #00e5ff;      /* multiball */
  --neon-knock: #c77dff;     /* knock */

  --cond: "Audiowide", "Arial Narrow", sans-serif;
  --sans: "Orbitron", "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--cabinet);
  color: var(--chrome);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 62px; /* the apron */
  -webkit-font-smoothing: antialiased;
}

/* the room around the machine: colored haze, drifting */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 120% 90% at 50% -20%, rgba(64, 44, 92, 0.2), transparent 56%),
    radial-gradient(ellipse 130% 70% at 50% 115%, rgba(84, 32, 52, 0.24), transparent 62%),
    radial-gradient(ellipse 70% 42% at 50% 17%, rgba(255, 79, 152, 0.06), transparent 70%);
  pointer-events: none;
}
.ambience {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.amb {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.amb-rose {
  left: -20vw; top: 30vh; width: 54vw; height: 54vw;
  background: radial-gradient(circle, rgba(255, 79, 152, 0.13), transparent 64%);
  animation: amb-drift1 38s ease-in-out infinite alternate;
}
.amb-gold {
  right: -22vw; top: -14vh; width: 58vw; height: 58vw;
  background: radial-gradient(circle, rgba(255, 196, 107, 0.11), transparent 62%);
  animation: amb-drift2 46s ease-in-out infinite alternate;
}
@keyframes amb-drift1 { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(8vw, -6vh, 0) scale(1.12); } }
@keyframes amb-drift2 { from { transform: translate3d(0, 0, 0) scale(1.05); } to { transform: translate3d(-7vw, 8vh, 0) scale(0.95); } }
@media (prefers-reduced-motion: reduce) { .amb { animation: none; } }

::selection { background: var(--dot-on); color: #08070a; }
a { color: var(--chrome); }

/* ═══════════ TYPE ═══════════ */
.h-neon {
  font-family: var(--cond);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--chrome);
  margin: 0;
}
.lede { color: var(--chrome); }
.dim { color: var(--chrome-dark); }
.mono { font-family: var(--mono); font-size: 0.92em; color: var(--chrome-dark); }
.amber { color: var(--dot-on); }

/* ═══════════ SHELL ═══════════ */
.wrap {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 clamp(14px, 3.5vw, 28px);
}

/* top rail */
.rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0 10px;
}
.rail-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.rail-logo img { width: 30px; height: 30px; }
.rail-logo b {
  font-family: var(--cond);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.1em;
  color: var(--chrome);
}
.rail-links { display: flex; align-items: center; gap: 10px; }

/* ═══════════ CHROME BUTTONS ═══════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--chrome);
  background: linear-gradient(180deg, #15141c 0%, #0b0a10 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 2px 8px rgba(0, 0, 0, 0.55);
  padding: 11px 22px 12px;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.btn:hover {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -12px 22px -14px var(--dot-on),
    0 10px 26px -14px rgba(255, 79, 152, 0.5);
}
.btn:active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.7);
}
.btn-amber {
  color: #fff;
  border-color: rgba(255, 79, 152, 0.4);
  text-shadow: 0 0 14px rgba(255, 79, 152, 0.85);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -14px 26px -14px var(--dot-on),
    0 14px 34px -12px rgba(255, 79, 152, 0.6),
    0 2px 8px rgba(0, 0, 0, 0.5);
}
.btn-amber:hover {
  border-color: rgba(255, 79, 152, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -18px 30px -13px var(--dot-on),
    0 18px 44px -10px rgba(255, 79, 152, 0.78),
    0 2px 8px rgba(0, 0, 0, 0.5);
}
.btn .b-x { width: 16px; height: 16px; }

/* ═══════════ THE MACHINE ═══════════
   a black cabinet head with a chrome bezel and the DMD inside */
.machine {
  position: relative;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-top: clamp(10px, 2.5vh, 26px);
  border-radius: 16px;
  padding: 3px;
  background: linear-gradient(175deg, #d8dce4, #7d838f 18%, #3c414c 45%, #767d8a 78%, #22252d);
  box-shadow:
    0 6px 24px rgba(0, 0, 0, 0.75),
    0 22px 70px rgba(255, 79, 152, 0.06);
}
.machine-in {
  border-radius: 13px;
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, #17161d, #0b0a0f 70%);
  padding: clamp(14px, 2.8vw, 26px);
}
.machine-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--cond);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--chrome-dark);
  padding: 0 4px 10px;
}
.machine-head b { color: var(--chrome); font-weight: 700; }

/* the dot-matrix display */
.dmd {
  position: relative;
  border-radius: 8px;
  background: #050403;
  border: 1px solid #24101c;
  box-shadow:
    inset 0 0 34px rgba(255, 79, 152, 0.06),
    inset 0 2px 10px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}
.dmd canvas { display: block; width: 100%; height: auto; }

/* the playfield under its glass */
.playfield {
  position: relative;
  margin-top: 12px;
  border-radius: 10px;
  background: #060509;
  border: 1px solid #24101c;
  box-shadow:
    inset 0 0 40px rgba(255, 79, 152, 0.05),
    inset 0 3px 14px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}
.playfield canvas { display: block; width: 100%; height: auto; }
.playfield .glass {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(112deg, transparent 42%, rgba(200, 205, 214, 0.045) 47%, rgba(200, 205, 214, 0.015) 55%, transparent 62%),
    linear-gradient(160deg, rgba(200, 205, 214, 0.03), transparent 22%);
}

/* the lockdown bar between the glass and the controls */
.lockbar {
  height: 12px;
  margin-top: 10px;
  border-radius: 6px;
  background: linear-gradient(#565c68, #23262e 55%, #14131a);
  box-shadow: inset 0 1px 0 rgba(200, 205, 214, 0.35), 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* the coin line */
.coinline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 14px;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--chrome-dark);
}
.coinline i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dot-on);
  box-shadow: 0 0 10px var(--dot-on);
  animation: coinBlink 1.6s steps(2) infinite;
}
@keyframes coinBlink { 50% { opacity: 0.15; } }

/* the zone bar: the one place the zone colors live */
.zonebar { margin-top: 14px; }
.zonebar-track {
  position: relative;
  height: 22px;
  border-radius: 5px;
  background: #0d0c11;
  border: 1px solid #26252e;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}
.zonebar-fill {
  position: absolute;
  inset: 2px auto 2px 2px;
  width: 0%;
  border-radius: 3px;
  background: var(--zone-clean);
  box-shadow: 0 0 14px currentColor;
  transition: none;
}
.zonebar-ticks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.zonebar-ticks i {
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: rgba(200, 205, 214, 0.22);
}
.zonebar-ticks i:nth-child(1) { left: 33.333%; }
.zonebar-ticks i:nth-child(2) { left: 66.666%; }
.zonebar-labels {
  display: flex;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  margin-top: 7px;
}
.zonebar-labels span { width: 33.333%; text-align: center; }
.zonebar-labels .z1 { color: var(--zone-clean); }
.zonebar-labels .z2 { color: var(--zone-fair); }
.zonebar-labels .z3 { color: var(--zone-save); }
.zone-now {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 18px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--chrome-dark);
}
.zone-now b { color: var(--chrome); font-weight: 600; }

/* stat tiles under the machine */
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.tile {
  background: var(--sheet);
  border: 1px solid #232230;
  border-radius: 9px;
  padding: 12px 14px 10px;
  box-shadow: inset 0 1px 0 rgba(200, 205, 214, 0.06);
}
.tile small {
  display: block;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--chrome-dark);
}
.tile b {
  display: block;
  font-family: var(--cond);
  font-weight: 800;
  font-size: 25px;
  letter-spacing: 0.03em;
  color: var(--chrome);
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}
.tile .amber { color: var(--dot-on); text-shadow: 0 0 12px rgba(255, 79, 152, 0.4); }
.tile i { font-style: normal; font-size: 12px; color: var(--chrome-dim); }

/* ═══════════ THE APRON — fixed bottom, shake gauge lives here ═══════════ */
.apron {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  height: 54px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 clamp(12px, 3vw, 26px);
  background: linear-gradient(#131218, #0a090e);
  border-top: 1px solid #26252e;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.6);
}
.shake {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 1;
  min-width: 0;
}
.shake-label {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--chrome-dark);
  white-space: nowrap;
}
.shake-track {
  flex: 1;
  max-width: 340px;
  height: 10px;
  border-radius: 4px;
  background: #0d0c11;
  border: 1px solid #26252e;
  overflow: hidden;
}
.shake-fill {
  height: 100%;
  width: 0%;
  background: var(--chrome-dim);
  border-radius: 3px;
  transition: width 0.3s ease, background 0.3s ease;
}
.shake.warn .shake-fill { background: var(--zone-fair); box-shadow: 0 0 10px var(--zone-fair); }
.shake.hot .shake-fill { background: var(--zone-save); box-shadow: 0 0 10px var(--zone-save); }
.shake.hot.tremble .shake-track { animation: tremble 0.12s linear infinite; }
@keyframes tremble {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-1px); }
  75% { transform: translateX(1px); }
}
.shake-count {
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--chrome);
  letter-spacing: 0.14em;
  white-space: nowrap;
}
.apron-right { display: flex; align-items: center; gap: 10px; }
.sound-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chrome-dark);
  background: none;
  border: 1px solid #2c2b36;
  border-radius: 6px;
  padding: 7px 12px;
  cursor: pointer;
}
.sound-btn:hover { color: var(--chrome); border-color: #3c3b48; }
.sound-btn.on { color: var(--dot-on); border-color: #4a0f33; text-shadow: 0 0 10px rgba(255, 79, 152, 0.5); }
.apron a.mini {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chrome-dark);
  text-decoration: none;
  padding: 7px 10px;
}
.apron a.mini:hover { color: var(--chrome); }

/* ═══════════ SECTIONS ═══════════ */
section.panel {
  margin-top: clamp(38px, 7vh, 64px);
}
.panel-title {
  font-family: var(--cond);
  font-weight: 800;
  font-size: clamp(24px, 3.6vw, 34px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--chrome);
  margin: 0 0 6px;
}
.panel-title .tick {
  display: inline-block;
  width: 26px;
  height: 4px;
  border-radius: 2px;
  margin: 0 14px 7px 0;
  vertical-align: middle;
  background: var(--dot-on);
  box-shadow: 0 0 12px var(--dot-on);
}
.panel-title.t-cyan .tick { background: var(--neon-ball); box-shadow: 0 0 12px var(--neon-ball); }
.panel-title.t-purple .tick { background: var(--neon-knock); box-shadow: 0 0 12px var(--neon-knock); }
.panel-sub {
  color: var(--chrome-dark);
  margin: 0 0 20px;
  max-width: 70ch;
}

.cards {
  display: grid;
  gap: 12px;
}
.cards.c2 { grid-template-columns: 1fr 1fr; }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.cards.c5 { grid-template-columns: repeat(5, 1fr); }
.card {
  position: relative;
  background: var(--sheet);
  border: 1px solid #232230;
  border-radius: 11px;
  padding: 17px 17px 15px;
  box-shadow: inset 0 1px 0 rgba(200, 205, 214, 0.05);
}
.card::before, .card::after {
  content: "";
  position: absolute;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #b9bec8, #565c68 60%, #23262e);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.card::before { left: 9px; }
.card::after { right: 9px; }
.card h3 {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 17.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--chrome);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.card h3 .g {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dot-on);
  border: 1px solid #3a0f2a;
  border-radius: 5px;
  padding: 2px 7px;
  letter-spacing: 0.04em;
  text-shadow: 0 0 8px rgba(255, 79, 152, 0.5);
}
.card p { margin: 0; font-size: 14px; line-height: 1.62; color: #a7adb8; }
.card p b { color: var(--chrome); font-weight: 600; }

/* the zones table: the second place zone colors are allowed */
.zones-table .card { position: relative; overflow: hidden; }
.zones-table .card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
}
.zones-table .card.zc::before { background: var(--zone-clean); box-shadow: 0 0 14px var(--zone-clean); }
.zones-table .card.zf::before { background: var(--zone-fair); box-shadow: 0 0 14px var(--zone-fair); }
.zones-table .card.zs::before { background: var(--zone-save); box-shadow: 0 0 14px var(--zone-save); }
.zones-table .z-name.zc { color: var(--zone-clean); }
.zones-table .z-name.zf { color: var(--zone-fair); }
.zones-table .z-name.zs { color: var(--zone-save); }
.zones-table .z-big {
  font-family: var(--cond);
  font-weight: 800;
  font-size: 30px;
  color: var(--chrome);
  margin: 2px 0 6px;
}

/* tables, chrome lined */
table.sheet {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--sheet);
  border: 1px solid #232230;
  border-radius: 11px;
  overflow: hidden;
}
table.sheet th {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: left;
  color: var(--chrome-dark);
  padding: 11px 16px;
  border-bottom: 1px solid #232230;
  background: #17161d;
}
table.sheet td {
  padding: 10px 16px;
  border-bottom: 1px solid #1d1c25;
  color: #a7adb8;
}
table.sheet tr:last-child td { border-bottom: none; }
table.sheet td.num {
  font-family: var(--mono);
  color: var(--chrome);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
table.sheet td .amber { text-shadow: 0 0 10px rgba(255, 79, 152, 0.4); }
table.sheet tbody tr:hover td { background: rgba(200, 205, 214, 0.03); }

.kv {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 2px;
  border-bottom: 1px solid #1d1c25;
  font-size: 14px;
}
.kv:last-child { border-bottom: none; }
.kv span { color: var(--chrome-dark); }
.kv b { color: var(--chrome); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }

/* the phrase */
.phrase {
  text-align: center;
  padding: clamp(30px, 6vh, 54px) 0 0;
}
.phrase .p1 {
  font-family: var(--cond);
  font-weight: 800;
  font-size: clamp(30px, 5.6vw, 54px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--chrome);
  margin: 0;
  line-height: 1.15;
}
.phrase .p1 .amber { text-shadow: 0 0 22px rgba(255, 79, 152, 0.55); }
.phrase .p2 {
  margin: 14px 0 0;
  color: var(--chrome-dark);
  font-size: 15.5px;
}

/* footer */
.foot {
  margin: clamp(40px, 8vh, 70px) 0 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: var(--chrome-dim);
  font-size: 12.5px;
}

/* ═══════════ APP PANELS ═══════════ */
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 16px;
}
.stack { display: flex; flex-direction: column; gap: 12px; }
.card .warnbox {
  border: 1px solid #3a0f2a;
  border-radius: 8px;
  background: rgba(255, 79, 152, 0.05);
  padding: 12px 14px;
  font-size: 13.5px;
  color: #c86aa8;
  margin-top: 12px;
}
.card .warnbox b { color: var(--dot-on); }

/* dialogs, machine style */
.dlg-veil {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: rgba(2, 2, 4, 0.75);
  padding: 18px;
}
.dialog {
  width: min(460px, 94vw);
  border-radius: 13px;
  padding: 2px;
  background: linear-gradient(175deg, #b9bec8, #565c68 30%, #23262e 70%, #4c525e);
  box-shadow: 0 14px 60px rgba(0, 0, 0, 0.8);
}
.dialog-in {
  border-radius: 11px;
  background: #100f15;
  padding: 22px 22px 18px;
}
.dialog h4 {
  font-family: var(--cond);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--dot-on);
  text-shadow: 0 0 14px rgba(255, 79, 152, 0.45);
  margin: 0 0 10px;
}
.dialog p { margin: 0 0 8px; font-size: 14px; color: #a7adb8; }
.dialog p b { color: var(--chrome); }
.dialog .d-foot { display: flex; justify-content: flex-end; margin-top: 14px; }

/* wallet connected chip */
.js-wallet.connected { font-family: var(--mono); letter-spacing: 0.02em; text-transform: none; }

/* ═══════════ OVERLAYS: tilt and knock ═══════════ */
.fx {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  pointer-events: none;
}
.fx.on { display: block; }
.fx .flash { position: absolute; inset: 0; }
.fx canvas {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 92vw;
}

/* ═══════════ REVEALS ═══════════ */
.rv { opacity: 0; transform: translateY(14px); transition: opacity 0.4s ease, transform 0.4s ease; }
.rv.rv-in { opacity: 1; transform: none; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 900px) {
  .cards.c5 { grid-template-columns: repeat(2, 1fr); }
  .cards.c3 { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .grid2 { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .cards.c2 { grid-template-columns: 1fr; }
  .cards.c5 { grid-template-columns: 1fr; }
  .zone-now { font-size: 12px; }
  .apron { gap: 8px; }
  .shake-track { max-width: none; }
  .apron a.mini { display: none; }
}

/* ═══════════ REDUCED MOTION ═══════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .coinline i { animation: none; }
  .rv { opacity: 1; transform: none; transition: none; }
  .shake.hot.tremble .shake-track { animation: none; }
  .btn { transition: none; }
}

/* X button in the rail */
.rail-links { display: flex; align-items: center; gap: 10px; }
.btn-x-rail { padding: 11px 13px 12px; }
