/* Hallmark · macrostructure: pinned object stage (studied: SOLARA HALO S1) · tone: luxury-technical · anchor hue: lilac on near-black + cream paper */
/* MOONPAD — one dark observatory stage, cream paper sheets laid over it. */
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --stage: #0b0c0f;
  --panel: #15161b;
  --cream: #ede6d6;
  --paper: #e9e3d6;
  --lilac: #b9a6ff;
  --quiet: #9a9aa3;
  --quiet-paper: #6b665d;
  --ink: #1a1b20;
  --cream-hi: #f6efdf;
  --warn: #e7a58f;
  --paper-deep: #d8d0bf;
  --placeholder: #74747c;
  --line-dark: rgba(237, 230, 214, .12);
  --line-paper: rgba(26, 27, 32, .14);
  --radius: 22px;
  --pad: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(.22, .8, .2, 1);
}

* { box-sizing: border-box; }
html { background: var(--stage); overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: "Geist", system-ui, sans-serif;
  color: var(--cream);
  background: var(--stage);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
code { font-family: ui-monospace, Menlo, monospace; font-size: .92em; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 99; top: 12px; left: 12px; padding: 10px 14px; background: var(--cream); color: var(--ink); border-radius: 10px; }
:focus-visible { outline: 2px solid var(--lilac); outline-offset: 3px; }

#sky { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; display: block; touch-action: pan-y; }
main, .foot { position: relative; z-index: 1; }

/* ---------- floating bar ---------- */
.bar {
  position: fixed; z-index: 40; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1320px, calc(100% - 28px));
  display: flex; align-items: center; gap: 18px;
  padding: 8px 8px 8px 16px;
  background: rgba(21, 22, 27, .72);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid var(--line-dark);
  border-radius: 18px;
}
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.mark-word { font-weight: 800; letter-spacing: -.03em; font-size: 17px; }
.bar-links { display: flex; gap: 4px; margin-left: 10px; }
.bar-links a { text-decoration: none; font-size: 14px; color: var(--quiet); padding: 8px 12px; border-radius: 10px; transition: color .2s, background .2s; }
.bar-links a:hover { color: var(--cream); background: rgba(237, 230, 214, .06); }
.bar-coin { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.ca {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
  background: transparent; border: 1px solid var(--line-dark); border-radius: 12px;
  padding: 5px 12px; cursor: pointer; text-align: left; line-height: 1.15;
}
.ca:hover { border-color: rgba(237, 230, 214, .3); }
.ca-main { font-size: 13px; font-weight: 600; }
.ca-pair { font-size: 11.5px; color: var(--quiet); }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: var(--cream); text-decoration: none; border: 1px solid var(--line-dark); transition: background .2s; }
.icon-btn:hover { background: rgba(237, 230, 214, .08); }
.buy, .wallet { height: 38px; padding: 0 16px; border-radius: 12px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; cursor: pointer; text-decoration: none; white-space: nowrap; }
.buy { border: 1px solid var(--line-dark); background: transparent; }
.buy[aria-disabled="true"] { color: var(--quiet); }
.wallet { background: var(--cream); color: var(--ink); border: 0; }
.wallet:hover { background: var(--cream-hi); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--cream); color: var(--ink); text-decoration: none; border: 0; cursor: pointer;
  font-weight: 600; font-size: 15px; padding: 14px 22px; border-radius: 14px;
  transition: transform .35s var(--ease), background .2s;
}
.btn:hover { background: var(--cream-hi); }
.btn .arr, .txt-btn .arr { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translate(3px, -3px); }
.btn.small { padding: 10px 14px; font-size: 13.5px; border-radius: 11px; }
.btn.wide { width: 100%; justify-content: center; padding: 17px 22px; font-size: 16px; }
.btn[disabled] { opacity: .55; cursor: progress; }
.txt-btn { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; font-weight: 500; color: var(--cream); padding: 14px 6px; }
.txt-btn:hover .arr { transform: translateY(3px); }
.pill { display: inline-flex; align-items: center; gap: 7px; background: rgba(21, 22, 27, .8); border: 1px solid var(--line-dark); border-radius: 999px; padding: 7px 13px; font-size: 12.5px; cursor: pointer; }
.pill:hover { border-color: rgba(237, 230, 214, .35); }

/* ---------- stage ---------- */
.stage { position: relative; height: 100vh; min-height: 640px; }
.stage-pin { position: relative; height: 100vh; min-height: 640px; overflow: hidden; pointer-events: none; }
.stage-pin > * { pointer-events: auto; }
.ghost {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%);
  font-weight: 800; letter-spacing: -.06em; line-height: .8;
  font-size: clamp(140px, 26vw, 520px); white-space: nowrap;
  color: rgba(237, 230, 214, .055); pointer-events: none !important; user-select: none;
}
.hero { position: absolute; left: var(--pad); bottom: clamp(150px, 20vh, 220px); max-width: min(700px, 48vw); }
.hero-title { margin: 0; font-weight: 800; letter-spacing: -.045em; line-height: .94; font-size: clamp(44px, 5.6vw, 98px); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .line > span { display: inline-block; }
.hero-title em { font-style: normal; color: var(--lilac); }
.hero-lead { margin: 22px 0 0; max-width: 44ch; color: var(--quiet); font-size: clamp(15px, 1.1vw, 18px); line-height: 1.55; }
.hero-act { display: flex; gap: 12px; align-items: center; margin-top: 28px; flex-wrap: wrap; }
.hero-price { margin: 14px 0 0; font-size: 14px; color: var(--quiet); min-height: 1.4em; }
.hero-price strong { color: var(--cream); font-weight: 600; }
.stage-hint { position: absolute; right: var(--pad); top: 96px; display: flex; gap: 12px; align-items: center; }
.drag-note { font-size: 12.5px; color: var(--quiet); }

.rail {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 28px;
  display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 10px;
}
.rail-item {
  text-align: left; background: transparent; border: 0; padding: 12px 2px 4px; cursor: pointer; color: var(--quiet);
  position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 2px 10px; align-items: center;
}
.rail-item::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-dark); }
.rail-item .bar-fill { position: absolute; left: 0; top: 0; height: 1px; width: 0; background: var(--cream); }
.rail-item img, .rail-item .ph { width: 28px; height: 28px; border-radius: 50%; grid-row: span 2; object-fit: cover; background: var(--panel); }
.rail-item b { font-weight: 600; font-size: 14px; color: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail-item small { font-size: 12px; color: var(--quiet); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail-item[aria-selected="true"], .rail-item:hover { color: var(--cream); }
.rail-item[aria-selected="true"] .bar-fill { width: 100%; transition: width .6s var(--ease); }
.rail-empty { color: var(--quiet); font-size: 14px; grid-column: 1 / -1; padding-top: 12px; border-top: 1px solid var(--line-dark); }

.tip {
  position: fixed; z-index: 30; pointer-events: auto; min-width: 210px; max-width: 260px;
  background: var(--paper); color: var(--ink); border-radius: 16px; padding: 12px; box-shadow: 0 18px 40px rgba(0, 0, 0, .4);
  font-size: 13px; line-height: 1.4;
}
.tip-head { display: flex; gap: 10px; align-items: center; }
.tip-head img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--paper-deep); }
.tip-head b { display: block; font-size: 15px; }
.tip dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; margin: 10px 0; }
.tip dt { color: var(--quiet-paper); }
.tip dd { margin: 0; text-align: right; font-weight: 600; }
.tip a { display: inline-flex; gap: 6px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }

/* ---------- paper sheets ---------- */
.paper { position: relative; background: var(--paper); color: var(--ink); border-radius: var(--radius) var(--radius) 0 0; margin-top: -1px; }
.paper + .paper { border-radius: 0; }
.paper-2 { background: var(--cream); }
.paper-in, .details-in, .studio-in, .final-in { width: min(1320px, 100%); margin: 0 auto; padding: clamp(80px, 11vw, 160px) var(--pad); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.big { margin: 0; font-weight: 800; letter-spacing: -.045em; line-height: .96; font-size: clamp(40px, 5vw, 84px); max-width: 12ch; }
.mid { margin: 0; font-weight: 800; letter-spacing: -.04em; line-height: 1; font-size: clamp(32px, 3.6vw, 60px); }
.quiet { color: var(--quiet-paper); line-height: 1.55; font-size: 17px; max-width: 46ch; margin: 22px 0 0; }
.light { color: var(--cream); }
.quiet.light { color: var(--quiet); }
.small { font-size: 12.5px; }
.fine { font-size: 13px; color: var(--quiet-paper); line-height: 1.5; margin-top: 18px; }
.fine.light { color: var(--quiet); }
.sticky-col { position: sticky; top: 120px; }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line-paper); }
.fact { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--line-paper); }
.fact:nth-child(odd) { border-right: 1px solid var(--line-paper); }
.fact:nth-child(even) { padding-left: 28px; }
.fact h3 { margin: 0 0 10px; font-size: 20px; letter-spacing: -.02em; font-weight: 700; }
.fact p { margin: 0; color: var(--quiet-paper); line-height: 1.55; font-size: 15.5px; }

.pull { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-paper); }
.pull li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 6px 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-paper); }
.pull img, .pull .ph { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--paper-deep); grid-row: span 2; }
.pull b { font-size: 19px; letter-spacing: -.02em; }
.pull .meta { color: var(--quiet-paper); font-size: 14px; }
.pull .num { text-align: right; font-weight: 700; font-size: clamp(22px, 2.2vw, 34px); letter-spacing: -.03em; grid-row: span 2; }
.pull .num small { display: block; font-size: 12.5px; font-weight: 500; letter-spacing: 0; color: var(--quiet-paper); }
.pull .meter { grid-column: 2 / 3; height: 3px; background: rgba(26, 27, 32, .08); border-radius: 2px; overflow: hidden; }
.pull .meter i { display: block; height: 100%; background: var(--ink); width: 0; transition: width 1.2s var(--ease); }
.pull li.wait { color: var(--quiet-paper); }
.pull li.wait .meter i { width: 30%; background: var(--quiet-paper); animation: wait 1.6s ease-in-out infinite; }
@keyframes wait { 0% { transform: translateX(-100%); } 100% { transform: translateX(340%); } }

/* ---------- launch studio ---------- */
.studio { position: relative; background: transparent; }
.studio-in { display: grid; grid-template-columns: minmax(0, 560px) 1fr; gap: 40px; }
.studio-form { background: rgba(21, 22, 27, .86); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.studio-form .quiet { margin-top: 14px; font-size: 15.5px; }
.field { border: 0; padding: 0; margin: 26px 0 0; display: block; }
.field legend, .field > span, .field label > span { display: block; font-size: 13px; color: var(--quiet); margin-bottom: 8px; }
.field.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input, textarea {
  width: 100%; background: rgba(11, 12, 15, .7); border: 1px solid var(--line-dark); border-radius: 12px;
  padding: 12px 14px; font-size: 15px; outline: none; transition: border-color .2s;
}
textarea { resize: vertical; min-height: 54px; }
input:focus, textarea:focus { border-color: var(--lilac); }
input::placeholder, textarea::placeholder { color: var(--placeholder); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid var(--line-dark); background: transparent; cursor: pointer; font-size: 13.5px; }
.swatch img, .swatch .ph { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; background: var(--panel); }
.swatch[aria-checked="true"] { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.swatch:hover { border-color: rgba(237, 230, 214, .4); }
.search { display: block; margin-top: 12px; }
.results { list-style: none; margin: 8px 0 0; padding: 4px; border: 1px solid var(--line-dark); border-radius: 12px; background: var(--stage); max-height: 260px; overflow: auto; }
.results li button { width: 100%; display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; text-align: left; background: transparent; border: 0; border-radius: 9px; padding: 8px; cursor: pointer; }
.results li button:hover { background: rgba(237, 230, 214, .06); }
.results img, .results .ph { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: var(--panel); }
.results small { color: var(--quiet); font-size: 12px; }
.results .no { color: var(--warn); }
.results .yes { color: var(--lilac); }
.results .msg { padding: 10px; color: var(--quiet); font-size: 13.5px; }
.verdict { margin: 12px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--quiet); min-height: 1.5em; }
.verdict.ok { color: var(--lilac); }
.verdict.bad { color: var(--warn); }
.drop { position: relative; }
.drop input { position: absolute; inset: auto 0 0 0; height: 46px; opacity: 0; cursor: pointer; }
.drop-face { display: flex !important; align-items: center; gap: 10px; height: 46px; padding: 0 12px; margin: 0 !important; border: 1px dashed rgba(237, 230, 214, .25); border-radius: 12px; font-size: 13.5px; color: var(--quiet) !important; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.drop-face img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.price-row { display: flex; justify-content: space-between; margin: 26px 0 16px; padding: 14px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.price-row div { display: grid; gap: 3px; }
.price-row .right { text-align: right; }
.price-row strong { font-size: 18px; letter-spacing: -.02em; }
.status { min-height: 1.5em; margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: var(--cream); }
.status.bad { color: var(--warn); }
.status a { color: var(--lilac); }
.studio-dock { position: relative; display: flex; align-items: flex-end; justify-content: center; }
.dock-cap { font-size: 14px; color: var(--quiet); margin: 0 0 12px; text-align: center; }

/* ---------- details accordion ---------- */
.details { position: relative; background: rgba(11, 12, 15, .9); border-top: 1px solid var(--line-dark); }
.acc details { border-bottom: 1px solid var(--line-dark); }
.acc details:first-child { border-top: 1px solid var(--line-dark); }
.acc summary { list-style: none; cursor: pointer; padding: 24px 0; font-size: clamp(19px, 1.6vw, 24px); font-weight: 600; letter-spacing: -.02em; display: flex; justify-content: space-between; align-items: center; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-weight: 300; font-size: 28px; transition: transform .4s var(--ease); color: var(--quiet); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc p { margin: 0 0 26px; color: var(--quiet); line-height: 1.65; max-width: 62ch; font-size: 16px; }

/* ---------- brightest moons ---------- */
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; margin-bottom: 44px; }
.head-row .quiet { margin: 0; }
.bright { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.moon-card { background: var(--cream); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .45s var(--ease), box-shadow .45s; }
.moon-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(26, 27, 32, .12); }
.moon-card .pic { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--paper-deep); display: grid; place-items: center; }
.moon-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.moon-card .pic span { font-weight: 800; font-size: 34px; color: var(--quiet-paper); letter-spacing: -.04em; }
.moon-card h3 { margin: 14px 0 2px; font-size: 18px; letter-spacing: -.02em; display: flex; justify-content: space-between; gap: 8px; }
.moon-card h3 .arr { transition: transform .35s var(--ease); }
.moon-card:hover h3 .arr { transform: translate(3px, -3px); }
.moon-card p { margin: 0; font-size: 13.5px; color: var(--quiet-paper); line-height: 1.45; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.moon-card .row { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13.5px; font-weight: 600; }
.bright .empty, .reg .empty { color: var(--quiet-paper); font-size: 16px; line-height: 1.55; grid-column: 1 / -1; list-style: none; padding: 20px 0; border-top: 1px solid var(--line-paper); }

/* ---------- registry ---------- */
.reg { list-style: none; margin: 0; padding: 0; }
.reg li.moon { display: grid; grid-template-columns: 40px 1fr auto; gap: 4px 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-paper); }
.reg li.moon:first-child { border-top: 1px solid var(--line-paper); }
.reg img, .reg .ph { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--paper-deep); grid-row: span 2; }
.reg b { font-size: 17px; }
.reg .meta { color: var(--quiet-paper); font-size: 13.5px; }
.reg .meta a { color: inherit; }
.reg .go { grid-row: span 2; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; font-size: 14px; }

/* ---------- final + footer ---------- */
.final { position: relative; min-height: 90vh; display: flex; align-items: center; }
.final-copy { max-width: 760px; }
.final .big { max-width: 14ch; }
.foot { background: var(--paper); color: var(--ink); border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.foot-row { width: min(1320px, 100%); margin: 0 auto; padding: 56px var(--pad) 10px; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-row > div { display: flex; gap: 14px; align-items: flex-start; max-width: 460px; }
.foot-row > div img { filter: brightness(.15); }
.foot-row p { margin: 0; color: var(--quiet-paper); font-size: 14px; line-height: 1.55; }
.foot-row nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-row nav a { text-decoration: none; font-weight: 500; font-size: 14.5px; }
.foot-row nav a:hover { text-decoration: underline; }
.foot-word { font-weight: 800; letter-spacing: -.065em; line-height: .78; font-size: 19.6vw; text-align: center; white-space: nowrap; color: var(--ink); padding-top: 2vw; margin-bottom: -2.2vw; user-select: none; }

/* ---------- sticky planet bar ---------- */
.dock-bar {
  position: fixed; z-index: 35; left: 50%; bottom: 16px; transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: 16px; padding: 8px 8px 8px 10px;
  background: rgba(21, 22, 27, .88); border: 1px solid var(--line-dark); border-radius: 18px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform .6s var(--ease);
}
.dock-bar.on { transform: translate(-50%, 0); }
.dock-bar img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: var(--panel); }
.dock-bar > div { display: grid; line-height: 1.2; }
.dock-bar strong { font-size: 14.5px; }
.dock-price { text-align: right; padding: 0 8px; }

.reveal { will-change: transform, opacity; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .bar-links { display: none; }
  .bright { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .split, .studio-in { grid-template-columns: 1fr; }
  .studio-dock { display: none; }
  .sticky-col { position: static; }
  .hero { max-width: none; right: var(--pad); bottom: 170px; }
  .rail { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 4px; }
  .bright { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage-hint { top: 84px; }
}
@media (max-width: 640px) {
  .bar { top: 8px; width: calc(100% - 16px); padding: 6px 6px 6px 10px; gap: 8px; }
  .mark-word { display: none; }
  .ca { padding: 4px 9px; }
  .ca-main { font-size: 12px; }
  .ca-pair { font-size: 10.5px; }
  .bar-coin #xLink, .bar-coin #pumpLink { display: none; }
  .buy, .wallet { padding: 0 11px; font-size: 13px; height: 36px; }
  .hero { bottom: 210px; }
  .hero-title { font-size: clamp(38px, 11.5vw, 60px); }
  .hero-lead { font-size: 15px; margin-top: 16px; }
  .ghost { font-size: 44vw; top: 32%; }
  .drag-note { display: none; }
  .rail { bottom: 16px; gap: 6px; }
  .rail-item { grid-template-columns: 22px 1fr; gap: 1px 7px; }
  .rail-item img, .rail-item .ph { width: 22px; height: 22px; }
  .rail-item b { font-size: 12.5px; }
  .rail-item small { font-size: 11px; }
  .facts { grid-template-columns: 1fr; }
  .fact, .fact:nth-child(even) { padding: 22px 0; border-right: 0 !important; }
  .field.two { grid-template-columns: 1fr; }
  .dock-bar { gap: 10px; width: calc(100% - 16px); }
  .dock-price { display: none; }
  .dock-bar .btn { margin-left: auto; }
  .bright { grid-template-columns: 1fr 1fr; gap: 10px; }
  .moon-card { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* wide screens: keep the headline at two lines */
@media (min-width: 1600px) {
  .hero { max-width: min(980px, 52vw); }
  .hero-title { font-size: clamp(98px, 5.4vw, 150px); }
  .hero-lead { font-size: clamp(18px, .95vw, 22px); }
}
.ca-pair, .ca-main, .dock-bar .btn { white-space: nowrap; }
@media (max-width: 640px) {
  .ca-pair { font-size: 10px; }
  .dock-bar #dockMoons { display: none; }
  .dock-bar { padding: 6px 6px 6px 8px; }
}
.mark img { flex-shrink: 0; }
@media (max-width: 640px) { .wl { display: none; } .bar-coin { gap: 5px; } }
h1, h2, h3 { overflow-wrap: anywhere; min-width: 0; font-style: normal; }

/* ---------- pair with + initial buy ---------- */
.paired { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; background: var(--cream); color: var(--ink); }
.paired-face img, .paired-face .ph { display: block; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--paper-deep); }
.paired-name { display: grid; gap: 2px; min-width: 0; }
.paired-name b { font-size: 22px; letter-spacing: -.02em; font-weight: 600; }
.paired-name small, .paired-price small { font-size: 12.5px; color: var(--quiet-paper); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.paired-price { display: grid; gap: 2px; text-align: right; }
.paired-price strong { font-size: 18px; letter-spacing: -.02em; }
.pairwith .verdict { margin-top: 10px; }
.picks-cap { margin: 16px 0 8px; font-size: 13px; color: var(--quiet); }
.buy-in { display: grid; grid-template-columns: 1fr 130px; gap: 12px; }
.buy-in label { position: relative; display: block; }
.buy-in input { width: 100%; padding-right: 64px; }
.buy-amt input { font-size: 22px; letter-spacing: -.02em; height: 58px; }
.buy-unit, .buy-slip b { position: absolute; right: 14px; bottom: 0; height: 58px; display: flex; align-items: center; font-weight: 600; color: var(--quiet); pointer-events: none; }
.buy-slip span { position: absolute; left: 14px; top: 7px; font-size: 11.5px; color: var(--quiet); }
.buy-slip input { height: 58px; padding-top: 18px; }
.buy-slip b { bottom: 0; }
.buy-est { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--cream); }
.buy-est em { font-style: normal; color: var(--lilac); }
.buy-bal { margin: 6px 0 0; font-size: 13.5px; color: var(--quiet); min-height: 1.4em; }
.buy-bal.bad { color: var(--warn); }
.swap-btn { background: transparent; border: 0; cursor: pointer; padding: 8px 0 0; color: var(--lilac); font-size: 15px; }
.swap-btn:hover .arr { transform: translate(3px, -3px); }
.swap-btn[disabled] { opacity: .55; cursor: progress; }
@media (max-width: 640px) {
  .paired { grid-template-columns: 44px 1fr auto; gap: 10px; padding: 12px; }
  .paired-face img, .paired-face .ph { width: 44px; height: 44px; }
  .paired-name b { font-size: 19px; }
  .buy-in { grid-template-columns: 1fr 104px; }
}
.swap-btn[hidden] { display: none; }
.buy-slip input { font-size: 18px; }
