/* Monerochanpad — one stylesheet. Tokens first, then shell, then parts. */
[hidden] { display: none !important; }

:root {
  --ink-0: #090909;
  --ink-1: #101010;
  --ink-2: #181818;
  --ink-3: #202020;
  --line: #2a2a2a;
  --line-hi: #393939;

  --orange: #ff6600;
  --orange-hi: #ff6600;
  --orange-dim: #454545;

  --silver: #ededed;
  --muted: #989898;
  --muted-dim: #909090;

  --good: #3ddc97;
  --bad: #ff4d5e;
  --warn: #ff6600;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, system-ui, sans-serif;
  --font-num: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Mono", Consolas, monospace;

  --gut: 20px;
  --maxw: 1180px;
  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink-0);
  color: var(--silver);
  font: 400 16px/1.55 var(--font-sans);
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* one faint grain, so the near-black never reads as flat plastic */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>");
}

a { color: var(--orange-hi); text-decoration: none; }
a:hover { color: var(--orange); }
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}

img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.num { font-family: var(--font-num); font-variant-numeric: tabular-nums; }
.eyebrow {
  font: 700 10px/1 var(--font-num);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
}
.muted { color: var(--muted); }
.dim { color: var(--muted-dim); }
.up { color: var(--good); }
.down { color: var(--bad); }

/* ---------- shell ---------- */

.shell { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--ink-0) 88%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 60px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand__mark { width: 30px; height: 30px; border-radius: 50%; flex: none; }
.brand__name { font-weight: 800; font-size: 15px; letter-spacing: -.03em; white-space: nowrap; }
.brand__name span { color: var(--orange); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--muted);
  border-radius: var(--radius);
}
.nav a:hover { color: var(--silver); background: var(--ink-2); }
.nav a[aria-current="page"] { color: var(--orange); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  background: var(--orange);
  color: #0c0c0c;
  border: 0;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: background .16s ease, transform .16s ease;
}
.btn:hover { background: var(--orange-hi); color: #0c0c0c; }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--silver); box-shadow: inset 0 0 0 1px var(--line-hi); }
.btn--ghost:hover { background: var(--ink-2); color: var(--silver); }
.btn--wide { width: 100%; }

.foot {
  margin-top: 72px;
  border-top: 1px solid var(--line);
  padding: 30px 0 56px;
  display: grid;
  gap: 16px;
}
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot__links a { color: var(--muted); font-size: 13px; }
.foot__links a:hover { color: var(--orange); }
.foot p { color: var(--muted-dim); font-size: 12px; max-width: 70ch; }

/* ---------- the signature: live rail ---------- */

.rail {
  border-bottom: 1px solid var(--line);
  background: var(--ink-1);
}
.rail__in { display: flex; align-items: stretch; overflow-x: auto; scrollbar-width: none; }
.rail__in::-webkit-scrollbar { display: none; }
.rail__cell {
  flex: 1 0 auto;
  min-width: 116px;
  padding: 11px 18px 12px;
  border-right: 1px solid var(--line);
  display: grid;
  gap: 3px;
}
.rail__cell:last-child { border-right: 0; }
.rail__k { font: 700 9px/1 var(--font-num); letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dim); }
.rail__v { font: 700 15px/1.1 var(--font-num); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.rail__cell--hero .rail__v { font-size: 21px; color: var(--orange); }

/* live badge — never let a number read as real when it is not */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 100px;
  font: 700 9px/1 var(--font-num);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.badge--live { color: var(--good); background: color-mix(in srgb, var(--good) 12%, transparent); }
.badge--sim { color: var(--warn); background: color-mix(in srgb, var(--warn) 12%, transparent); }
.badge--dead { color: var(--bad); background: color-mix(in srgb, var(--bad) 12%, transparent); }
.badge--live::before { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* ---------- hero ---------- */

.hero { padding: 46px 0 40px; display: grid; gap: 30px; }
.hero h1 {
  font-size: clamp(38px, 11vw, 76px);
  letter-spacing: -.055em;
  margin: 16px 0 0;
}
.hero h1 em { font-style: normal; color: var(--orange); }
.hero__sub { color: var(--muted); font-size: clamp(15px, 4vw, 18px); max-width: 46ch; margin-top: 16px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero__mascot {
  width: min(62vw, 300px);
  justify-self: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, #1f1f1f 0%, var(--ink-0) 68%);
}

/* ---------- panels ---------- */

.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-1); }
.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}
.panel__head h2 { font-size: 15px; letter-spacing: -.02em; }
.panel__body { padding: 18px; }

.split { display: grid; gap: 22px; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 30px; } }

/* ---------- tabs ---------- */

.tabs { display: flex; gap: 2px; padding: 0 18px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 13px 13px 11px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  cursor: pointer;
}
.tab:hover { color: var(--silver); }
.tab[aria-selected="true"] { color: var(--orange); border-bottom-color: var(--orange); }

/* ---------- coin list ---------- */

.coins { display: block; }
.coin {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  color: inherit;
  transition: background .14s ease;
}
.coin:last-child { border-bottom: 0; }
.coin:hover { background: var(--ink-2); color: inherit; }
.coin__av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink-3);
  display: grid;
  place-items: center;
  font: 800 11px var(--font-num);
  color: var(--orange);
  overflow: hidden;
}
.coin__av img { width: 100%; height: 100%; object-fit: cover; }
.coin__id { min-width: 0; }
.coin__sym { font-weight: 700; font-size: 14px; letter-spacing: -.01em; display: flex; align-items: center; gap: 7px; }
.coin__name { color: var(--muted-dim); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coin__fig { text-align: right; }
.coin__mc { font: 700 13px var(--font-num); font-variant-numeric: tabular-nums; }
.coin__chg { font: 600 11px var(--font-num); font-variant-numeric: tabular-nums; }

.chip {
  font: 700 8.5px/1 var(--font-num);
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 3px 6px;
  border-radius: 2px;
  color: var(--muted);
  background: var(--ink-3);
}
.chip--curved { color: var(--orange); background: color-mix(in srgb, var(--orange) 16%, transparent); }
.chip--grad { color: var(--good); background: color-mix(in srgb, var(--good) 14%, transparent); }

/* progress: how far up the curve */
.bar { grid-column: 1 / -1; height: 2px; background: var(--ink-3); border-radius: 2px; overflow: hidden; margin-top: -4px; }
.bar i { display: block; height: 100%; background: var(--orange); }

/* ---------- states ---------- */

.state { padding: 40px 18px; text-align: center; display: grid; gap: 12px; justify-items: center; }
.state img { width: 128px; border-radius: 50%; }
.state h3 { font-size: 17px; }
.state p { color: var(--muted); font-size: 13px; max-width: 40ch; }

.skel { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.skel i { display: block; height: 10px; border-radius: 2px; background: linear-gradient(90deg, var(--ink-2), var(--ink-3), var(--ink-2)); background-size: 200% 100%; animation: sweep 1.3s linear infinite; }
.skel i + i { margin-top: 8px; width: 55%; }
@keyframes sweep { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- sections ---------- */

.sect { padding: 46px 0 0; }
.sect__head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.sect__head h2 { font-size: clamp(22px, 5vw, 30px); }
.sect__head a { font-size: 12px; font-weight: 700; color: var(--muted); }
.sect__head a:hover { color: var(--orange); }

.how { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.how > div { background: var(--ink-1); padding: 20px 18px; }
.how h3 { font-size: 14px; margin-bottom: 7px; }
.how p { color: var(--muted); font-size: 13px; }
@media (min-width: 700px) { .how { grid-template-columns: repeat(4, 1fr); } }

.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(21px, 4vw, 27px); margin: 38px 0 12px; }
.prose h3 { font-size: 16px; margin: 26px 0 8px; letter-spacing: -.02em; }
.prose p { color: var(--muted); margin-bottom: 12px; }
.prose strong { color: var(--silver); font-weight: 700; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose ul { margin: 0 0 14px; display: grid; gap: 7px; }
.prose li { color: var(--muted); padding-left: 16px; position: relative; }
.prose li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; background: var(--orange); border-radius: 1px; }

dl.keys { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
dl.keys > div { background: var(--ink-1); padding: 15px 18px; display: grid; gap: 4px; }
dl.keys dt { font: 700 11px var(--font-num); letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
dl.keys dd { margin: 0; font-size: 13px; color: var(--muted); }

/* ---------- forms ---------- */

.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field > label { font: 700 10px var(--font-num); letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  background: var(--ink-0);
  border: 1px solid var(--line-hi);
  border-radius: var(--radius);
  color: var(--silver);
  font: 500 16px var(--font-num);
}
.input:focus { border-color: var(--orange); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--orange) 22%, transparent); }
.input::placeholder { color: var(--muted-dim); }

.pick { display: grid; gap: 9px; }
.pick label {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 11px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line-hi);
  border-radius: var(--radius);
  cursor: pointer;
  min-height: 56px;
  transition: border-color .14s ease, background .14s ease;
}
.pick label:hover { background: var(--ink-2); }
.pick input { accent-color: var(--orange); width: 18px; height: 18px; margin: 2px 0 0; }
.pick input:checked + div > strong { color: var(--orange); }
.pick strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.pick small { color: var(--muted); font-size: 12px; line-height: 1.45; }

.note {
  padding: 13px 15px;
  border-left: 2px solid var(--orange);
  background: var(--ink-1);
  font-size: 13px;
  color: var(--muted);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.note--warn { border-left-color: var(--warn); }
.note strong { color: var(--silver); }

.toc { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; }
.toc a {
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 100px;
}
.toc a:hover { color: var(--orange); border-color: var(--orange); }

table.rows { width: 100%; border-collapse: collapse; font-size: 13px; }
table.rows th, table.rows td { padding: 11px 10px; text-align: left; border-bottom: 1px solid var(--line); }
table.rows th { font: 700 9.5px var(--font-num); letter-spacing: .15em; text-transform: uppercase; color: var(--muted-dim); }
table.rows td.num, table.rows th.num { text-align: right; font-family: var(--font-num); font-variant-numeric: tabular-nums; }
.scroll-x { overflow-x: auto; }

/* ---------- the trade tape: the thing that makes it feel like a market ---------- */

.tape {
  border-bottom: 1px solid var(--line);
  background: var(--ink-0);
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 40px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 40px), transparent);
}
.tape__in { display: flex; gap: 0; width: max-content; animation: slide 46s linear infinite; }
.tape:hover .tape__in { animation-play-state: paused; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tape__in { animation: none; } }

.tape__i {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 7px 14px;
  font: 600 11.5px var(--font-num);
  white-space: nowrap;
  border-right: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.tape__side { font-weight: 700; letter-spacing: .06em; }
.tape__side--buy { color: var(--good); }
.tape__side--sell { color: var(--bad); }
.tape__sym { color: var(--silver); }
.tape__usd { color: var(--muted); }
.tape__age { color: var(--muted-dim); }

.tape--empty { padding: 8px 14px; font-size: 12px; color: var(--muted-dim); }

/* ---------- chart ---------- */

.chart { position: relative; }
.chart__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.chart__px { display: flex; align-items: baseline; gap: 10px; }
.chart__px b { font: 800 26px var(--font-num); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.chart__ranges { display: flex; gap: 2px; }
.chart__ranges button {
  appearance: none; background: none; border: 0; cursor: pointer;
  padding: 7px 10px; min-height: 34px;
  font: 700 11px var(--font-num); letter-spacing: .08em; color: var(--muted); border-radius: var(--radius);
}
.chart__ranges button:hover { color: var(--silver); background: var(--ink-2); }
.chart__ranges button[aria-pressed="true"] { color: var(--orange); background: var(--ink-3); }
.chart__body { padding: 14px 8px 6px; }
.ch { width: 100%; height: 260px; display: block; touch-action: none; }
.ch-grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ch-rule { stroke: var(--muted-dim); stroke-width: 1; stroke-dasharray: 3 3; }
.ch-label { fill: var(--muted-dim); font: 600 10px var(--font-num); }
.ch-read { padding: 0 14px 12px; font: 600 11.5px var(--font-num); color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- trade list ---------- */

.trades { display: block; }
.trade {
  display: grid;
  grid-template-columns: 54px 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
  font: 600 12.5px var(--font-num);
  font-variant-numeric: tabular-nums;
}
.trade:last-child { border-bottom: 0; }
.trade:hover { background: var(--ink-2); }
.trade__side { font-weight: 700; letter-spacing: .06em; text-align: center; padding: 3px 0; border-radius: 2px; font-size: 10.5px; }
.trade__side--buy { color: var(--good); background: color-mix(in srgb, var(--good) 12%, transparent); }
.trade__side--sell { color: var(--bad); background: color-mix(in srgb, var(--bad) 12%, transparent); }
.trade__sym { color: var(--silver); font-weight: 700; }
.trade__usd { color: var(--muted); }
.trade__age { color: var(--muted-dim); font-size: 11px; min-width: 44px; text-align: right; }

.new { animation: flash 1.1s ease-out; }
@keyframes flash { from { background: color-mix(in srgb, var(--orange) 22%, transparent); } to { background: transparent; } }

/* ---------- a value that just moved ---------- */

.tick { animation: tick .5s ease-out; }
@keyframes tick { 0% { color: var(--orange); } 100% { color: inherit; } }

/* ---------- graduation lane ---------- */

.stage-strip { display: flex; gap: 2px; margin-top: 5px; }
.stage-strip i { height: 2px; flex: 1; background: var(--ink-3); border-radius: 2px; }
.stage-strip i.on { background: var(--orange); }

/* ---------- the guided tour ---------- */

.guide {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 4px;
  align-items: end;
  padding: 14px 16px 14px 8px;
  background: color-mix(in srgb, var(--ink-1) 96%, transparent);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--line-hi);
  border-radius: 8px;
  box-shadow: 0 24px 60px -20px #000c, 0 0 0 1px #0006;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .28s ease, transform .28s ease;
}
.guide--in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .guide { transition: none; } }

.guide__pose { appearance: none; border: 0; background: none; padding: 0; cursor: pointer; border-radius: 50%; }
.guide__pose img { width: 76px; height: 76px; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #202020, var(--ink-1) 70%); }
.guide__pose:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.guide__say { min-width: 0; display: grid; gap: 6px; }
.guide__step { font: 700 9.5px var(--font-num); letter-spacing: .18em; color: var(--orange); margin: 0; }
.guide__title { font-size: 16px; letter-spacing: -.02em; margin: 0; }
.guide__body { color: var(--muted); font-size: 13.5px; line-height: 1.5; margin: 0; }
.guide__foot { display: flex; align-items: center; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.guide__btn { min-height: 40px; padding: 0 14px; font-size: 13px; }
.guide__btn[disabled] { opacity: .4; cursor: not-allowed; }
.guide__link { font-size: 12.5px; font-weight: 700; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.guide__link:hover { color: var(--orange); }
.guide__x {
  position: absolute; top: 8px; right: 10px;
  appearance: none; border: 0; background: none; color: var(--muted-dim);
  font-size: 20px; line-height: 1; cursor: pointer; padding: 6px 8px; min-width: 32px;
}
.guide__x:hover { color: var(--silver); }

.guide-reopen {
  position: fixed; left: 16px; bottom: 16px; z-index: 80;
  display: flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 6px; min-height: 46px;
  background: color-mix(in srgb, var(--ink-1) 94%, transparent);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-hi); border-radius: 100px;
  color: var(--muted); font: 700 12px var(--font-sans); cursor: pointer;
}
.guide-reopen img { width: 34px; height: 34px; border-radius: 50%; }
.guide-reopen:hover { color: var(--orange); border-color: var(--orange); }
@media (max-width: 520px) { .guide-reopen span { display: none; } .guide-reopen { padding: 6px; } }

.guided { position: relative; }
.guided::after {
  content: "";
  position: absolute; inset: -6px;
  border: 1px dashed var(--orange);
  border-radius: 6px;
  pointer-events: none;
  animation: guidepulse 1.6s ease-in-out infinite;
}
@keyframes guidepulse { 0%, 100% { opacity: .85; } 50% { opacity: .25; } }

@media (min-width: 760px) {
  .guide { left: 24px; right: auto; bottom: 24px; width: 460px; grid-template-columns: 92px 1fr; padding: 16px 20px 16px 10px; }
}

@media (min-width: 760px) {
  .hero { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; }
  .hero__mascot { grid-column: 2; grid-row: 1; justify-self: end; }
  .hero__copy { grid-column: 1; grid-row: 1; }
}

/* ---------- narrow phones ---------- */

@media (max-width: 620px) {
  :root { --gut: 16px; }
  /* The nav lives in the footer below this width; a 5-item row plus a CTA does
     not fit 390px without squeezing every target under 44px. */
  .topbar__in { height: auto; min-height: 56px; flex-wrap: wrap; padding-top: 8px; gap: 6px; }
  .nav { display: flex; order: 3; width: 100%; overflow-x: auto; }
  .nav a { min-height: 44px; display:flex; align-items:center; }
  .hero { padding: 30px 0 24px; gap: 20px; }
  .hero__mascot { width: min(52vw, 210px); order: -1; }
  .hero__cta .btn { flex: 1 1 100%; }
  .rail__cell { min-width: 104px; padding: 10px 14px 11px; }
  .coin { grid-template-columns: 30px 1fr auto; padding: 11px 14px; }
  .panel__head, .panel__body, .tabs, .coin { padding-left: 14px; padding-right: 14px; }
  .foot__links { gap: 6px 16px; }
}

@media (min-width: 621px) {
  .hero__mascot { width: min(62vw, 300px); }
}

/* Keep markets close to the first screen; Monerochan guides instead of blocking them. */
.hero { padding: 22px 0; grid-template-columns: minmax(0,1fr) 100px; gap: 16px; }
.hero h1 { font-size: clamp(26px,4vw,44px); margin-top:10px; }
.hero__copy { grid-column:1; grid-row:1; }
.hero__mascot { grid-column:2; grid-row:1; width:100px; height:auto; order:0; align-self:center; }
.hero__sub { font-size:14px; max-width:65ch; }
.hero__cta { margin-top:14px; }
.coin__mc,.coin__chg { display:block; }
.row__links { min-width:0; }
.row__links .tag { overflow-wrap:anywhere; max-width:100%; }
.guide__say { padding-right:12px; }
.guide__x { min-width:44px; min-height:44px; top:0; right:0; }
@media(max-width:620px) {
  .hero { grid-template-columns:minmax(0,1fr) 72px; }
  .hero__mascot { width:72px; }
  .hero__cta .btn { flex:1 1 auto; }
  .hero__sub { font-size:13px; }
}
