/* Qhash site · COBALT LATTICE. One hue: the world behind the page is cobalt, the page is near-black and white, cobalt only as light.
   Type v2: Martian Grotesk (variable, medium weights, normal width), Lilex only for real data. Square instrument frames, no pills. */
:root {
  --bg: #02040F; --ink: #01020A; --deep: #030A26;
  --line: rgba(124, 144, 226, .17); --line2: rgba(150, 170, 240, .3); --hot: rgba(132, 158, 255, .85);
  --text: #EEF2FF; --text2: #A6B2DC; --text3: #6C7CB6;
  --brand: #2350FF; --bright: #6F8DFF; --ice: #C9D5FF;
  --err: #FFA3B1;
  --sans: 'Martian Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Lilex', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r: 6px; --gut: clamp(20px, 5vw, 76px); --railw: 0px;
  --box: rgba(2, 5, 20, .78);
}
@media (min-width: 1180px) { :root { --railw: 64px; } }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--text); font-family: var(--sans); font-weight: 380; font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; overflow-x: hidden; }
::selection { background: var(--brand); color: #fff; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-weight: 530; letter-spacing: -.034em; line-height: 1.02; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--bright); outline-offset: 3px; }

/* ---------------------------------------------------------------- the world behind the page */
#stage { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; background: var(--ink); }
#poster { position: absolute; inset: 0; background: url('../assets/poster.jpg') center / cover no-repeat, radial-gradient(90% 80% at 70% 50%, #0B1B66 0%, #061041 34%, #020722 62%, #01020A 100%); transition: opacity 1s ease; }
@media (max-aspect-ratio: 11/10) { #poster { background-image: url('../assets/poster-m.jpg'), radial-gradient(90% 80% at 50% 40%, #0B1B66 0%, #061041 34%, #020722 62%, #01020A 100%); } }
#world { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s ease; }
body.live #world { opacity: 1; }
body.live #poster { opacity: 0; }
#scrim { position: absolute; inset: 0; }
#scrim::before, #scrim::after { content: ''; position: absolute; inset: 0; transition: opacity .7s ease; }
#scrim::before { background: linear-gradient(90deg, rgba(1, 2, 10, .82) 0%, rgba(1, 2, 10, .5) 34%, rgba(1, 2, 10, 0) 62%); }
#scrim::after { background: linear-gradient(270deg, rgba(1, 2, 10, .82) 0%, rgba(1, 2, 10, .5) 34%, rgba(1, 2, 10, 0) 62%); opacity: 0; }
body[data-side="r"] #scrim::before { opacity: 0; }
body[data-side="r"] #scrim::after { opacity: 1; }
body.at-hero #scrim::before { opacity: .8; }

/* ---------------------------------------------------------------- header (scrolls away) + section rail */
.top { position: absolute; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 26px var(--gut); }
.brand { display: flex; align-items: center; gap: 9px; }
.brand-mark { display: none; width: 31px; height: 31px; color: #fff; }
.brand-mark:not(:empty) { display: block; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-word { height: 21px; width: auto; }
.top-actions { display: flex; gap: 10px; align-items: center; }
.top-actions > * { flex-shrink: 0; }
/* contract address: a square instrument chip, copies on click */
.ca-chip { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border: 1px solid var(--line2); border-radius: var(--r); background: rgba(2, 4, 15, .38); color: var(--text); font: inherit; white-space: nowrap; cursor: pointer; transition: border-color .2s, background .2s; }
.ca-chip:hover { border-color: rgba(200, 214, 255, .62); }
.ca-chip.ok { border-color: var(--hot); }
.ca-k { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--text3); }
.ca-v { font-family: var(--mono); font-size: 13px; font-weight: 400; color: var(--text); }
.ca-c { font-size: 13.5px; font-weight: 520; color: var(--text2); }
.ca-chip.ok .ca-c, .ca-top.ok .ca-v { font-family: var(--sans); color: var(--ice); }
.ca-i { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.3; color: var(--text2); }
.ca-hero { display: none; }

.rail { position: fixed; left: var(--gut); top: 50%; z-index: 15; display: none; flex-direction: column; gap: 16px; transform: translateY(-50%); transition: opacity .4s ease; }
@media (min-width: 1180px) { .rail { display: flex; } }
body.at-hero .rail, body.at-end .rail { opacity: 0; pointer-events: none; }
.rail a { display: flex; align-items: center; gap: 12px; color: var(--text3); font-size: 13px; font-weight: 460; transition: color .25s; }
.rail i { width: 16px; height: 1px; background: currentColor; transition: width .3s ease; }
.rail span { opacity: 0; transform: translateX(-4px); transition: opacity .25s, transform .25s; }
.rail a.on { color: var(--text); }
.rail a.on i { width: 30px; }
.rail:hover span { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: var(--r); border: 1px solid transparent; font-weight: 520; font-size: 15.5px; letter-spacing: -.005em; white-space: nowrap; cursor: pointer; transition: background .2s, border-color .2s, color .2s, opacity .2s; }
.btn.sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn.wide { width: 100%; }
.btn-primary { background: #F4F7FF; color: #02040F; }
.btn-primary:hover { background: #fff; }
.btn-line { border-color: var(--line2); background: rgba(2, 4, 15, .38); color: var(--text); }
.btn-line:hover { border-color: rgba(200, 214, 255, .62); }
.btn:disabled { opacity: .55; cursor: default; }
.btn-wallet .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text3); transition: background .2s; }
.btn-wallet.on .dot { background: var(--bright); box-shadow: 0 0 0 3px rgba(111, 141, 255, .22); }

/* ---------------------------------------------------------------- scenes over the world */
main { position: relative; z-index: 2; }
.scene { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px var(--gut) 120px calc(var(--gut) + var(--railw)); }
.hero { align-items: flex-end; padding-left: var(--gut); padding-bottom: clamp(72px, 13vh, 150px); }
.hero-copy { max-width: 820px; }
.hero h1 { font-size: clamp(40px, 4.15vw, 68px); }
.lead { margin-top: 28px; max-width: 33em; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; color: var(--text2); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.panel { position: relative; width: min(560px, 100%); }
.panel.wide { width: min(700px, 100%); }
.at-left { margin-right: auto; }
.at-right { margin-left: auto; }
.panel h2 { font-size: clamp(34px, 3.7vw, 60px); }
.panel h3 { font-size: clamp(30px, 3vw, 48px); }
.panel > p { margin-top: 22px; font-size: 17px; line-height: 1.62; color: var(--text2); }
.fine { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--text3); }

/* instrument frames: square corners, hairlines, no glow */
.inst { margin-top: 34px; border: 1px solid var(--line); border-radius: var(--r); background: var(--box); }

/* ---------------------------------------------------------------- any coin */
.coins { margin-top: 34px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--box); }
.coin { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 15px 18px; text-align: left; cursor: pointer; border-bottom: 1px solid var(--line); transition: background .2s, box-shadow .2s; }
.coin:nth-child(odd) { border-right: 1px solid var(--line); }
.coin:nth-last-child(-n+2):nth-child(odd), .coin:last-child { border-bottom: 0; }
.coin:hover { background: rgba(124, 144, 226, .08); }
.coin img, .coin .plus { width: 30px; height: 30px; border-radius: 50%; flex: none; }
.coin .plus { display: grid; place-items: center; border: 1px dashed var(--line2); color: var(--text2); font-size: 18px; font-weight: 400; }
.coin span { min-width: 0; }
.coin b { display: block; font-weight: 520; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coin small { display: block; margin-top: 3px; font-family: var(--mono); font-size: 12.5px; color: var(--text3); }
.coin[aria-selected="true"] { background: rgba(35, 80, 255, .17); box-shadow: inset 0 0 0 1px var(--hot); }
.coin[aria-selected="true"] small { color: var(--ice); }

/* ---------------------------------------------------------------- receipts (real ML-DSA-65 + Ed25519, signed in the browser) */
.rc { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 6px 14px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.rc-n { grid-row: span 3; padding-top: 3px; font-family: var(--mono); font-size: 12.5px; color: var(--text3); }
.rc-t { display: flex; justify-content: space-between; gap: 12px; font-weight: 520; font-size: 15px; }
.rc-t span { font-family: var(--mono); font-weight: 400; font-size: 12.5px; color: var(--text3); }
.rc-h { font-family: var(--mono); font-size: 12.5px; color: var(--text2); overflow-wrap: anywhere; }
.rc-h em { font-style: normal; color: var(--text3); }
.rc-s { display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--mono); font-size: 12px; color: var(--text3); }
.rc-s b { font-weight: 500; color: var(--ice); }
.rc-s .no { color: var(--err); }
.rc.wait .rc-h, .rc.wait .rc-s { opacity: .35; }
.inst-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 18px; font-size: 13.5px; color: var(--text3); }

/* ---------------------------------------------------------------- Winternitz chain */
.wots { padding: 20px 18px 18px; }
.wots-chain { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 4px; }
.wots-chain i { aspect-ratio: 1; border-radius: 2px; background: rgba(124, 144, 226, .1); transition: background .25s, box-shadow .25s; }
.wots-chain i.sec { background: rgba(124, 144, 226, .07); }
.wots-chain i.sig { background: #F4F7FF; box-shadow: 0 0 14px rgba(201, 213, 255, .55); }
.wots-chain i.ver { background: rgba(35, 80, 255, .55); }
.wots-chain i.pub { background: var(--bright); }
.wots-ctl { display: flex; align-items: center; gap: 16px; margin-top: 20px; font-size: 14px; color: var(--text2); }
.wots-ctl label { white-space: nowrap; }
.wots-ctl output { min-width: 2ch; font-family: var(--mono); font-size: 15px; color: var(--text); text-align: right; }
.wots-read { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 7px; font-family: var(--mono); font-size: 12.5px; color: var(--text2); }
.wots-read div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; }
.wots-read span { color: var(--text3); }
.wots-read p { margin-top: 4px; font-family: var(--sans); font-size: 13.5px; line-height: 1.5; color: var(--text3); }
input[type="range"] { -webkit-appearance: none; appearance: none; flex: 1; min-width: 0; height: 24px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--bright) var(--p, 60%), rgba(124, 144, 226, .25) var(--p, 60%)); }
input[type="range"]::-moz-range-track { height: 2px; background: rgba(124, 144, 226, .25); }
input[type="range"]::-moz-range-progress { height: 2px; background: var(--bright); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -7px; border-radius: 3px; background: #F4F7FF; border: 0; }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 3px; background: #F4F7FF; border: 0; }

/* ---------------------------------------------------------------- reward key */
.keygen { padding: 6px 18px 16px; }
.kg-row { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.kg-k { font-size: 13.5px; color: var(--text3); }
.kg-v { font-family: var(--mono); font-size: 13px; line-height: 1.55; color: var(--text); overflow-wrap: anywhere; }
.kg-v.masked { color: var(--text3); }
.kg-v.masked.on { letter-spacing: .12em; }
.kg-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 16px; font-size: 13.5px; color: var(--text3); }

/* ---------------------------------------------------------------- launch form */
.form-panel { width: min(600px, 100%); padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--r); background: rgba(2, 5, 20, .9); }
.form-panel h2 { font-size: clamp(30px, 3vw, 46px); }
.form-panel > p { font-size: 16px; margin-top: 14px; }
form { margin-top: 28px; }
.f-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.f-grid > * { min-width: 0; }
.fld label, .fld > .lbl { display: block; margin-bottom: 8px; font-size: 13.5px; font-weight: 500; color: var(--text2); }
.fld em, summary em { margin-left: 6px; font-style: normal; font-weight: 400; color: var(--text3); }
input:not([type]), input[type="text"], textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 4px; background: rgba(10, 18, 54, .5); font-size: 15px; outline: none; transition: border-color .2s, background .2s; }
input:not([type]):focus, textarea:focus { border-color: var(--hot); background: rgba(10, 18, 54, .78); }
textarea { resize: vertical; min-height: 64px; line-height: 1.5; }
::placeholder { color: #4D5B93; opacity: 1; }
.fld.bad input, .fld.bad textarea, .drop.bad, .minepick.bad { border-color: var(--err); }
.f-pair { display: grid; grid-template-columns: 1.45fr 1fr; gap: 14px; }
.tick { position: relative; }
.tick span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text3); pointer-events: none; }
.tick input { padding-left: 28px; text-transform: uppercase; }
.tick input::placeholder { text-transform: none; }
.drop { display: flex; align-items: center; gap: 16px; padding: 14px; border: 1px dashed var(--line2); border-radius: 4px; cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop.over { border-color: var(--hot); background: rgba(35, 80, 255, .06); }
.drop input { display: none; }
.drop-img { flex: none; width: 56px; height: 56px; border-radius: 4px; background: rgba(124, 144, 226, .1) center / cover no-repeat; }
.drop-t { flex: 1; min-width: 0; }
.drop-t b { display: block; font-weight: 520; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drop-t span { display: block; margin-top: 3px; font-size: 13px; color: var(--text3); }
.drop-pill { flex: none; padding: 8px 14px; border: 1px solid var(--line2); border-radius: 4px; font-size: 13.5px; }
.minepick { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 4px; background: rgba(10, 18, 54, .5); text-align: left; cursor: pointer; transition: border-color .2s; }
.minepick:hover { border-color: var(--hot); }
.minepick img { width: 26px; height: 26px; border-radius: 50%; flex: none; }
.minepick b { font-weight: 520; font-size: 15px; }
.minepick small { font-family: var(--mono); font-size: 12.5px; color: var(--text3); }
.minepick .chg { margin-left: auto; font-size: 13.5px; color: var(--text2); }
details.links summary { display: inline-block; cursor: pointer; list-style: none; font-size: 13.5px; font-weight: 500; color: var(--text2); }
details.links summary::-webkit-details-marker { display: none; }
details.links summary::before { content: '+'; display: inline-block; width: 16px; color: var(--text3); }
details.links[open] summary::before { content: '–'; }
.f-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.buy { display: flex; gap: 10px; align-items: stretch; }
.buy-in { position: relative; flex: 1; min-width: 0; }
.buy-in input { padding-right: 52px; }
.buy-in span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 14px; color: var(--text3); pointer-events: none; }
.buy-chips { display: flex; gap: 6px; }
.buy-chips button { min-width: 50px; padding: 0 12px; border: 1px solid var(--line); border-radius: 4px; font-size: 14px; color: var(--text2); cursor: pointer; transition: border-color .2s, color .2s; }
.buy-chips button:hover { color: var(--text); }
.buy-chips button.on { border-color: var(--hot); color: var(--text); }
.f-err { min-height: 20px; margin: 18px 0 10px; font-size: 14px; line-height: 1.45; color: var(--err); }
.f-err button { margin-left: 8px; text-decoration: underline; text-underline-offset: 3px; color: var(--text); cursor: pointer; }
.steps { list-style: none; display: grid; gap: 11px; margin-top: 22px; }
.steps li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--text3); transition: color .2s; }
.steps li i { position: relative; flex: none; width: 16px; height: 16px; border: 1px solid var(--line2); border-radius: 50%; }
.steps li.on { color: var(--text); }
.steps li.on i { border-color: var(--bright); border-top-color: transparent; animation: spin .9s linear infinite; }
.steps li.done { color: var(--text2); }
.steps li.done i { background: var(--bright); border-color: var(--bright); }
.steps li.done i::after { content: ''; position: absolute; left: 4.5px; top: 2px; width: 4px; height: 8px; border: solid #02040F; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.steps li.err { color: var(--err); }
.steps li.err i { border-color: var(--err); }
@keyframes spin { to { transform: rotate(360deg); } }
.result { margin-top: 22px; padding: 18px; border: 1px solid var(--hot); border-radius: 4px; background: rgba(35, 80, 255, .1); }
.result b { display: block; font-weight: 520; font-size: 17px; }
.result code { display: block; margin-top: 10px; font-family: var(--mono); font-size: 13px; color: var(--ice); overflow-wrap: anywhere; }
.result .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* ---------------------------------------------------------------- mines */
.mine-grid { margin-top: 34px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--line); }
.mt { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-height: 152px; padding: 18px; background: rgba(2, 5, 20, .86); }
.mt.own { background: rgba(10, 24, 86, .88); }
.mt-st { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text3); }
.mt-st i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--text3); }
.mt.own .mt-st { color: var(--ice); }
.mt.own .mt-st i { border: 0; background: var(--bright); box-shadow: 0 0 0 3px rgba(111, 141, 255, .22); }
.mt-c { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mt-c img { width: 34px; height: 34px; border-radius: 50%; flex: none; }
.mt-c b { display: block; font-weight: 520; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-c small { display: block; margin-top: 2px; font-family: var(--mono); font-size: 12.5px; color: var(--text3); overflow-wrap: anywhere; }
.mt.open { color: var(--text3); }
.mt.open b { color: var(--text2); font-weight: 460; font-size: 15.5px; }
.mt.open a { font-size: 13.5px; color: var(--text2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line2); }
.mt.open a:hover { color: var(--text); }

/* ---------------------------------------------------------------- specification (solid page) */
.spec { position: relative; z-index: 3; padding: clamp(90px, 13vh, 150px) var(--gut); background: var(--bg); border-top: 1px solid var(--line); }
.spec-in { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: 48px; }
.spec h2 { font-size: clamp(30px, 3vw, 46px); }
.spec-list > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; padding: 19px 0; border-top: 1px solid var(--line); }
.spec-list > div:last-child { border-bottom: 1px solid var(--line); }
.spec-list dt { font-size: 15px; font-weight: 460; color: var(--text3); }
.spec-list dd { font-size: 16px; line-height: 1.55; color: var(--text); }
.foot { position: relative; z-index: 3; padding: 44px var(--gut) 52px; background: var(--bg); border-top: 1px solid var(--line); }
.foot-in { max-width: 1180px; margin: 0 auto; display: grid; gap: 26px; font-size: 13.5px; color: var(--text3); }
.foot-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 30px; min-width: 0; }
.foot-in img { height: 20px; width: auto; opacity: .92; }
.foot-in p { flex: 1; min-width: 260px; line-height: 1.5; }
.ca-foot { height: 44px; }

/* ---------------------------------------------------------------- dialogs */
.pop { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(1, 2, 10, .7); }
.pop[hidden] { display: none; }
.pop-card { width: min(460px, 100%); max-height: min(660px, 92vh); display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--line2); border-radius: var(--r); background: #040A24; }
.pop-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.pop-h b { font-weight: 520; font-size: 17px; }
.pop-x { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 4px; font-size: 18px; line-height: 1; color: var(--text2); cursor: pointer; }
.pop-x:hover { color: var(--text); border-color: var(--line2); }
.pop-card > input { width: 100%; }
.pop-list { display: grid; gap: 2px; margin-top: 12px; overflow: auto; overscroll-behavior: contain; }
.pop-list button, .pop-list a { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border-radius: 4px; text-align: left; cursor: pointer; transition: background .15s; }
.pop-list button:hover, .pop-list a:hover, .pop-list .sel { background: rgba(124, 144, 226, .1); }
.pop-list img { width: 26px; height: 26px; border-radius: 50%; flex: none; }
.pop-list b { font-weight: 500; font-size: 15px; }
.pop-list small { margin-left: auto; font-family: var(--mono); font-size: 12.5px; color: var(--text3); }
.pop-list .wl img { border-radius: 6px; }
.pop-list .grp { padding: 10px 10px 4px; font-size: 12.5px; color: var(--text3); }

/* ---------------------------------------------------------------- phones */
@media (max-width: 760px) {
  .hide-sm { display: none; }
  .top { padding: 18px 20px; }
  .brand-word { height: 18px; }
  #scrim::before, #scrim::after { background: linear-gradient(180deg, rgba(1, 2, 10, 0) 26%, rgba(1, 2, 10, .7) 58%, rgba(1, 2, 10, .9) 100%); }
  body[data-side] #scrim::before { opacity: 1; }
  body[data-side] #scrim::after { opacity: 0; }
  .scene { align-items: flex-end; padding: 96px 20px 64px; }
  .scene.launch, .scene.mines { align-items: center; }
  .hero { padding-bottom: 56px; }
  .hero h1 { font-size: clamp(30px, 9.8vw, 50px); }
  .hero h1 br.d { display: none; }
  .panel:not(.form-panel) { padding: 22px 20px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(2, 5, 20, .86); }
  .panel .inst, .panel .coins { background: rgba(4, 9, 30, .7); }
  .lead { font-size: 16.5px; margin-top: 20px; }
  .cta { margin-top: 28px; }
  .cta .btn { flex: 1 1 auto; }
  .panel h2 { font-size: clamp(30px, 8.6vw, 40px); }
  .panel h3 { font-size: clamp(28px, 8vw, 36px); }
  .panel > p { font-size: 16px; }
  .coin { padding: 13px 12px; gap: 10px; }
  .coin img, .coin .plus { width: 26px; height: 26px; }
  .coin b { font-size: 14.5px; }
  .f-pair, .f-three { grid-template-columns: 1fr; }
  .buy { flex-direction: column; }
  .buy-chips button { flex: 1; height: 42px; }
  .mine-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mt { min-height: 128px; padding: 14px; }
  .spec-in { grid-template-columns: 1fr; gap: 26px; }
  .spec-list > div { grid-template-columns: 1fr; gap: 6px; }
  .kg-row { grid-template-columns: 1fr; gap: 6px; }
  .wots-read div { grid-template-columns: 1fr; gap: 2px; }
  /* the CA: off the phone header, a full-width chip under the hero buttons, and stacked in the footer */
  .top .ca-top { display: none; }
  .ca-hero { display: flex; width: 100%; height: 48px; margin-top: 12px; justify-content: space-between; background: rgba(2, 5, 20, .72); }
  .ca-hero .ca-v { margin-right: auto; }
  .foot-row:first-child { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 18px; }
  .ca-foot { display: grid; grid-template-columns: 1fr auto; width: 100%; height: auto; padding: 12px 10px; gap: 8px 10px; text-align: left; }
  .ca-foot .ca-v { grid-column: 1 / -1; grid-row: 2; font-size: clamp(9.5px, calc((100vw - 66px) / 26.6), 13px); white-space: nowrap; }
}
/* the smallest phones (320-359 px): the second hero button and the form fit without widening the page */
@media (max-width: 359px) {
  .cta .btn { padding: 0 14px; font-size: 14.5px; }
  .form-panel { padding: 20px 18px; }
  .drop { gap: 12px; padding: 12px; }
  .drop-img { width: 44px; height: 44px; }
}
.bare .top, .bare main, .bare .foot, .bare .rail, .bare #scrim, .bare .pop { visibility: hidden !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
