/* Recstar site. The world: a studio whose camera never stops; the page is its viewfinder and its shelf of tapes.
   Palette: coolors trending/purple (0D0A2B FF2D95 A259FF 5521FF F5F5F5); orange and record red are the avatar's own;
   the up green is from a second coolors palette. See 设计稿/设计方案.md. */
:root {
  --night: #0d0a2b;
  --panel: #1c1540;          /* night mixed with dusk purple */
  --panel-2: #261c55;
  --pink: #ff2d95;
  --purple: #a259ff;
  --indigo: #5521ff;
  --paper: #f5f5f5;
  --soft: rgba(245, 245, 245, .62);
  --line: rgba(245, 245, 245, .14);
  --orange: #fb923c;
  --rec: #ff2d3d;
  --up: #56e39f;
  --sunset: linear-gradient(180deg, #7c3aed 0%, #ec4899 55%, #fb923c 100%);
  --wrap: 1160px;
  --display: "Archivo Black", "Archivo", system-ui, sans-serif;
  --text: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --osd: "VT323", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { background: var(--night); color: var(--paper); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.55 var(--text); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
[hidden] { display: none !important; }

/* ---------------------------------------------------------------- header */
.top { position: fixed; inset: 0 0 auto 0; z-index: 30; transition: background .2s, border-color .2s; border-bottom: 1px solid transparent; }
.top.is-solid { background: rgba(13, 10, 43, .94); border-bottom-color: var(--line); backdrop-filter: blur(10px); }
.top__in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 22px/1 var(--display); letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; gap: 26px; margin-left: 8px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 16px; color: var(--soft); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--paper); }
.nav a[aria-current="page"] { color: var(--paper); border-bottom-color: var(--pink); }
.top__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.ca { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; background: rgba(13, 10, 43, .55); border: 1px solid var(--line); border-radius: 3px; font: 500 14px/1 var(--text); }
.ca b { color: var(--soft); font-weight: 600; }
.ca:hover { border-color: rgba(245, 245, 245, .4); }
.ca.is-copied { border-color: var(--up); color: var(--up); }
.ca.is-copied b { color: var(--up); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border: 0; border-radius: 3px; background: var(--pink); color: var(--night); font: 700 16px/1 var(--text); text-decoration: none; white-space: nowrap; }
.btn:hover { background: #ff58aa; }
.btn--sm { height: 40px; padding: 0 16px; font-size: 15px; }
.btn--quiet { background: transparent; color: var(--paper); border: 1px solid rgba(245, 245, 245, .38); }
.btn--quiet:hover { background: rgba(245, 245, 245, .08); }
.btn--paper { background: var(--paper); color: var(--night); }
.btn--paper:hover { background: #fff; }
.btn img { width: 20px; height: 20px; border-radius: 4px; }
.menu { display: none; }

/* ---------------------------------------------------------------- hero: the viewfinder */
.hero { position: relative; min-height: min(100svh, 940px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img, .hero__bg video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
/* the picture stays clear at the top (the camera and what it caught); the copy sits on the darkened floor */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(0deg, rgba(13, 10, 43, .97) 0%, rgba(13, 10, 43, .86) 26%, rgba(13, 10, 43, .42) 50%, rgba(13, 10, 43, 0) 70%),
  linear-gradient(180deg, rgba(13, 10, 43, .62) 0%, rgba(13, 10, 43, 0) 18%); }
.finder { position: absolute; inset: 92px 28px 28px; pointer-events: none; font: 400 24px/1 var(--osd); letter-spacing: .04em; text-shadow: 0 1px 0 rgba(0, 0, 0, .55); }
.finder i { position: absolute; width: 46px; height: 46px; border: 3px solid var(--paper); }
.finder i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.finder i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.finder i:nth-child(3) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.finder i:nth-child(4) { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.finder__rec { position: absolute; left: 26px; top: 22px; display: flex; align-items: center; gap: 12px; }
.finder__rec::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--rec); animation: blink 1.2s steps(1) infinite; }
.finder__spec { position: absolute; right: 26px; top: 22px; display: flex; align-items: center; gap: 16px; }
.batt { width: 34px; height: 16px; border: 2px solid var(--paper); position: relative; padding: 2px; display: flex; gap: 2px; }
.batt::after { content: ""; position: absolute; right: -6px; top: 3px; width: 3px; height: 6px; background: var(--paper); }
.batt span { flex: 1; background: var(--paper); }
.finder__last { position: absolute; left: 26px; bottom: 20px; right: 26px; display: flex; gap: 18px; align-items: baseline; pointer-events: auto; text-decoration: none; }
.finder__last b { font-weight: 400; color: var(--orange); }
@keyframes blink { 50% { opacity: .15; } }
.hero__copy { padding: 320px 0 104px; max-width: 700px; }
.hero h1 { font: 400 clamp(46px, 6vw, 86px)/.96 var(--display); letter-spacing: -.02em; }
.hero__lead { margin-top: 22px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; max-width: 30em; color: rgba(245, 245, 245, .9); }
.hero__cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero__note { margin-top: 16px; font-size: 14px; color: var(--soft); }

/* ---------------------------------------------------------------- sections */
.sec { padding: 96px 0; }
.sec--tight { padding: 72px 0; }
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
h2 { font: 400 clamp(32px, 3.6vw, 46px)/1.04 var(--display); letter-spacing: -.015em; }
.sec__sub { margin-top: 12px; color: var(--soft); max-width: 58ch; }
.more { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--pink); padding-bottom: 2px; white-space: nowrap; }
.more:hover { color: var(--pink); }
.page-head { padding: 148px 0 28px; }
.page-head h1 { font: 400 clamp(40px, 5vw, 64px)/1 var(--display); letter-spacing: -.02em; }
.page-head p { margin-top: 16px; color: var(--soft); max-width: 62ch; font-size: 19px; }

/* ---------------------------------------------------------------- tapes: one coin, its numbers and its trend */
.tapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tape { position: relative; background: var(--panel); border: 1px solid var(--line); padding: 18px 18px 14px; display: grid; gap: 14px; transition: border-color .15s; }
.tape:hover { border-color: rgba(245, 245, 245, .42); }
.tape__link { position: absolute; inset: 0; z-index: 1; }
.tape__top { display: flex; align-items: center; gap: 14px; min-width: 0; }
.tape__shot { position: relative; flex: none; width: 60px; height: 60px; background: #000; overflow: hidden; }
.tape__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* the play mark: this coin has a tape */
.tape__shot::after { content: ""; position: absolute; right: 4px; bottom: 4px; width: 18px; height: 18px; background: rgba(13, 10, 43, .86); }
.tape__shot::before { content: ""; position: absolute; right: 9px; bottom: 8px; z-index: 1; border-left: 8px solid var(--paper); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.tape__id { min-width: 0; display: grid; gap: 3px; }
.tape__sym { font: 700 16px/1.1 var(--text); color: var(--pink); }
.tape__name { font-size: 15px; color: var(--soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tape .ca { position: relative; z-index: 2; margin-left: auto; height: 32px; padding: 0 9px; font-size: 13px; flex: none; }
.tape__mid { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.tape__mc { font: 400 30px/1 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.tape__nums { margin-top: 9px; display: flex; gap: 14px; font-size: 14px; color: var(--soft); white-space: nowrap; }
.tape__nums b { font-weight: 600; }
.spark { width: 120px; height: 40px; flex: none; overflow: visible; }
.spark.up { color: var(--up); } .spark.down { color: var(--rec); }
.tape__meta { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--soft); white-space: nowrap; }
.tape__meta span:first-child { overflow: hidden; text-overflow: ellipsis; }
.up { color: var(--up); } .down { color: var(--rec); }
.empty { border: 1px dashed rgba(245, 245, 245, .28); padding: 56px 28px; text-align: center; color: var(--soft); }
.empty b { display: block; color: var(--paper); font: 400 24px/1.1 var(--display); margin-bottom: 10px; }
.empty .btn { margin-top: 22px; }
.bar { display: flex; gap: 12px; align-items: center; margin-bottom: 22px; flex-wrap: wrap; }
.chips { display: flex; gap: 6px; }
.chip { height: 38px; padding: 0 14px; border: 1px solid var(--line); background: transparent; border-radius: 3px; font-weight: 600; font-size: 15px; color: var(--soft); }
.chip[aria-pressed="true"] { background: var(--paper); color: var(--night); border-color: var(--paper); }
.count { margin-left: auto; color: var(--soft); font-size: 15px; }

/* ---------------------------------------------------------------- steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); counter-reset: step; }
.step { padding: 28px 26px 8px 0; border-right: 1px solid var(--line); counter-increment: step; }
.step + .step { padding-left: 26px; }
.step:last-child { border-right: 0; }
.step::before { content: counter(step); display: block; font: 400 56px/1 var(--display); background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px; }
.step h3 { font: 700 20px/1.2 var(--text); margin-bottom: 8px; }
.step p { color: var(--soft); font-size: 16px; }

/* ---------------------------------------------------------------- the split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split__bar { display: flex; height: 64px; border: 1px solid var(--line); }
.split__bar span { display: flex; align-items: center; justify-content: center; font: 400 20px/1 var(--display); }
.split__bar span:nth-child(1) { flex: 90; background: var(--paper); color: var(--night); }
.split__bar span:nth-child(2) { flex: 5; background: var(--rec); min-width: 46px; font-size: 16px; }
.split__bar span:nth-child(3) { flex: 5; background: var(--purple); color: var(--night); min-width: 46px; font-size: 16px; }
.split__key { margin-top: 16px; display: grid; gap: 10px; padding: 0; list-style: none; }
.split__key li { display: grid; grid-template-columns: 14px 1fr; gap: 12px; align-items: baseline; color: var(--soft); font-size: 16px; }
.split__key li::before { content: ""; width: 12px; height: 12px; align-self: center; background: var(--paper); }
.split__key li:nth-child(2)::before { background: var(--rec); }
.split__key li:nth-child(3)::before { background: var(--purple); }
.split__key b { color: var(--paper); font-weight: 600; }

/* ---------------------------------------------------------------- the $REC band: the avatar's own gradient */
.band { background: var(--sunset); color: #fff; }
.band__in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; padding: 84px 0; }
.band h2 { font-size: clamp(34px, 4vw, 54px); }
.band p { margin-top: 16px; font-size: 19px; max-width: 30em; }
.band .btn { margin-top: 28px; }
.figs { display: grid; gap: 22px; }
.fig { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; border-bottom: 2px solid rgba(255, 255, 255, .5); padding-bottom: 12px; }
.fig b { font: 400 clamp(34px, 4vw, 56px)/1 var(--display); letter-spacing: -.02em; }
.fig span { font-weight: 600; text-align: right; }

/* ---------------------------------------------------------------- long-form pages */
.doc { display: grid; grid-template-columns: 220px 1fr; gap: 56px; padding: 28px 0 110px; align-items: start; }
.doc__nav { position: sticky; top: 96px; display: grid; gap: 4px; }
.doc__nav a { text-decoration: none; color: var(--soft); font-weight: 500; padding: 7px 0 7px 14px; border-left: 2px solid var(--line); }
.doc__nav a:hover { color: var(--paper); border-left-color: var(--pink); }
.doc__body { max-width: 720px; }
.doc__body section { padding-bottom: 54px; scroll-margin-top: 96px; }
.doc__body h2 { font-size: 32px; margin-bottom: 16px; }
.doc__body h3 { font: 700 19px/1.3 var(--text); margin: 26px 0 8px; }
.doc__body p, .doc__body li { color: rgba(245, 245, 245, .84); }
.doc__body p + p { margin-top: 14px; }
.doc__body ul, .doc__body ol { padding-left: 22px; margin: 12px 0 0; display: grid; gap: 8px; }
.doc__body code { font: 500 .92em ui-monospace, "Cascadia Mono", Consolas, monospace; background: var(--panel); border: 1px solid var(--line); padding: 1px 6px; border-radius: 3px; word-break: break-all; }
.table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 16px; }
.table th, .table td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--soft); font-weight: 600; font-size: 14px; }
.table td:first-child { font-weight: 600; white-space: nowrap; }
.keys { display: inline-flex; gap: 6px; vertical-align: middle; }
.key { min-width: 34px; height: 34px; padding: 0 9px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(245, 245, 245, .4); border-radius: 3px; font: 600 15px/1 var(--text); background: var(--panel); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); padding: 24px; }
.card b { display: block; font: 400 34px/1 var(--display); margin-bottom: 8px; }
.card span { color: var(--soft); font-size: 15px; }
.addr { display: flex; align-items: center; gap: 12px; background: var(--panel); border: 1px solid var(--line); padding: 14px 16px; margin-top: 14px; }
.addr code { background: none; border: 0; padding: 0; flex: 1; font: 500 15px/1.4 "Cascadia Mono", Consolas, ui-monospace, monospace; }
.addr > span:first-child { min-width: 68px; }
.addr + .addr { margin-top: 8px; }
.dl { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; padding: 28px 0 110px; }
.dl__box { background: var(--panel); border: 1px solid var(--line); padding: 32px; }
.dl__box h2 { font-size: 28px; }
.dl__box .btn { margin-top: 22px; }
.dl__meta { margin-top: 14px; color: var(--soft); font-size: 15px; }
.list { padding: 0; margin: 0; list-style: none; display: grid; gap: 14px; }
.list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.list li::before { content: ""; width: 12px; height: 12px; margin-top: 8px; background: var(--pink); }

/* ---------------------------------------------------------------- a coin's own page: its market on the left, its tape and its money on the right */
.coin { padding: 96px 0 110px; }
.back { display: inline-block; margin-bottom: 16px; color: var(--soft); text-decoration: none; font-size: 15px; font-weight: 500; }
.back:hover { color: var(--paper); }
.back::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-1px); }
.panel { background: var(--panel); border: 1px solid var(--line); }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.panel__head h2 { font: 700 16px/1.2 var(--text); letter-spacing: 0; }
.panel__head span { color: var(--soft); font-size: 13px; }
.panel__body { padding: 16px; }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 3px; background: rgba(162, 89, 255, .22); color: #d9c2ff; font: 600 12.5px/1 var(--text); letter-spacing: 0; vertical-align: middle; white-space: nowrap; }
.badge--up { background: rgba(86, 227, 159, .16); color: var(--up); }
.coin__card { display: grid; }
.coin__head { display: flex; align-items: center; gap: 18px; padding: 20px; flex-wrap: wrap; }
.coin__img { width: 68px; height: 68px; object-fit: cover; background: #000; flex: none; }
.coin__title { display: grid; gap: 10px; justify-items: start; min-width: 0; }
.coin__title h1 { font: 400 clamp(26px, 3vw, 36px)/1.05 var(--display); letter-spacing: -.015em; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.coin__sub { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--soft); font-size: 15px; }
.coin__sym { font-weight: 700; color: var(--pink); }
.coin__sub .ca { height: 32px; font-size: 13px; padding: 0 9px; }
.coin__out { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.coin__out .btn { height: 40px; padding: 0 14px; font-size: 14.5px; }
.facts { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; border-top: 1px solid var(--line); }
.facts div { padding: 14px 20px 16px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts dt, .kv dt { color: var(--soft); font-size: 13.5px; font-weight: 600; }
.facts dd { margin: 7px 0 0; font: 400 21px/1.1 var(--display); overflow-wrap: anywhere; }
.coin__grid { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 20px; margin-top: 20px; align-items: start; }
.coin__main, .coin__side { display: grid; gap: 20px; min-width: 0; }
.coin__chartbar { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px 0; flex-wrap: wrap; }
.coin__chartbar .chip { height: 32px; padding: 0 11px; font-size: 14px; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; padding: 10px 16px 4px; font-size: 13px; color: var(--soft); min-height: 34px; }
.legend b { color: var(--paper); font-weight: 600; }
.legend i { font-style: normal; }
.chart { position: relative; height: 470px; }
.chart__msg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--soft); z-index: 2; pointer-events: none; }
.about { color: rgba(245, 245, 245, .84); max-width: 70ch; }
.holders { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.holders th { text-align: left; color: var(--soft); font-size: 13px; font-weight: 600; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.holders td { padding: 9px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.holders tr:last-child td { border-bottom: 0; }
.holders td:first-child { color: var(--soft); width: 44px; }
.holders td:last-child, .holders th:last-child { text-align: right; }
.holders code { font: 500 13.5px/1 "Cascadia Mono", Consolas, ui-monospace, monospace; }
.holders a { text-decoration: none; }
.holders a:hover { color: var(--pink); }
.share { display: flex; align-items: center; gap: 10px; justify-content: flex-end; }
.share i { display: block; width: 90px; height: 5px; background: rgba(245, 245, 245, .12); }
.share i b { display: block; height: 100%; background: var(--purple); }
.coin__clip { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.coin__clip img, .coin__clip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.coin__clip.is-still img { object-fit: contain; }
.coin__clip video { cursor: pointer; }
.osd { position: absolute; top: 10px; font: 400 20px/1 var(--osd); letter-spacing: .04em; text-shadow: 0 1px 0 #000, 0 0 6px rgba(0, 0, 0, .7); pointer-events: none; }
.osd--rec { left: 12px; display: flex; align-items: center; gap: 8px; }
.osd--rec::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--rec); }
.osd--time { right: 12px; }
.clip__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 38px; display: flex; align-items: center; gap: 10px; padding: 0 10px; background: rgba(13, 10, 43, .82); }
.clip__btn { background: none; border: 0; padding: 4px 2px; font: 600 13px/1 var(--text); color: var(--paper); white-space: nowrap; }
.clip__btn:hover { color: var(--pink); }
.clip__track { flex: 1; height: 14px; display: flex; align-items: center; cursor: pointer; background: linear-gradient(rgba(245, 245, 245, .22), rgba(245, 245, 245, .22)) center / 100% 4px no-repeat; }
.clip__track i { display: block; height: 4px; background: var(--pink); width: 0; }
.kv { margin: 0; display: grid; }
.kv div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 11px 16px; border-top: 1px solid var(--line); }
.kv dd { margin: 0; text-align: right; font-size: 15px; font-weight: 500; display: flex; align-items: center; gap: 8px; min-width: 0; }
.kv code { font: 500 13.5px/1 "Cascadia Mono", Consolas, ui-monospace, monospace; }
.copy { background: none; border: 1px solid var(--line); border-radius: 3px; height: 26px; padding: 0 8px; font: 600 12px/1 var(--text); color: var(--soft); }
.copy:hover { color: var(--paper); border-color: rgba(245, 245, 245, .4); }
.trade p { color: var(--soft); font-size: 15px; margin-bottom: 14px; }
.trade .btn { width: 100%; }
.fees .split__bar { height: 34px; }
.fees .split__bar span { font-size: 13.5px; }
.fees p { color: var(--soft); font-size: 14.5px; margin-top: 12px; }
.fees p a { color: var(--paper); }
.fees__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.fees__nums span { display: block; color: var(--soft); font-size: 13px; font-weight: 600; }
.fees__nums b { display: block; margin-top: 6px; font: 400 20px/1.1 var(--display); }

/* ---------------------------------------------------------------- the PS5 guide: steps down the page, notes beside them */
.guide { display: grid; grid-template-columns: 1fr 340px; gap: 56px; padding: 28px 0 110px; align-items: start; }
.guide__steps { list-style: none; margin: 0; padding: 0; counter-reset: g; border-top: 1px solid var(--line); }
.guide__steps li { counter-increment: g; display: grid; grid-template-columns: 84px 1fr; padding: 30px 0 32px; border-bottom: 1px solid var(--line); }
.guide__steps li::before { content: counter(g); grid-row: 1 / span 4; font: 400 60px/.9 var(--display); background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; }
.guide__steps h2 { grid-column: 2; font: 700 24px/1.2 var(--text); letter-spacing: 0; margin-bottom: 10px; }
.guide__steps p { grid-column: 2; color: rgba(245, 245, 245, .84); max-width: 60ch; }
.guide__steps p + p { margin-top: 16px; }
.guide__steps b { color: var(--paper); font-weight: 600; }
.guide__side { display: grid; gap: 18px; position: sticky; top: 96px; }
.guide__side h3 { font: 700 19px/1.3 var(--text); margin-bottom: 14px; }
.guide__side p { color: var(--soft); font-size: 15.5px; }
.guide__side p + p { margin-top: 12px; }
.guide__side .card b { display: inline; font: inherit; font-weight: 600; color: var(--paper); margin: 0; }
.guide__side .list { gap: 10px; font-size: 15.5px; color: var(--soft); }
.guide__side .list li { grid-template-columns: 20px 1fr; gap: 8px; }
.guide__side .list li::before { width: 8px; height: 8px; margin-top: 9px; }

/* ---------------------------------------------------------------- docs: facts in tiles, the split row by row, risks, addresses */
.doc--wide { grid-template-columns: 230px minmax(0, 1fr); }
.doc__nav a.is-on { color: var(--paper); border-left-color: var(--pink); }
.doc--wide .doc__body { max-width: 820px; }
.doc__body ol { padding-left: 22px; margin: 14px 0 0; display: grid; gap: 10px; }
.doc__body ol li { color: rgba(245, 245, 245, .84); }
.doc__body b, .doc__body strong { color: var(--paper); font-weight: 600; }
.doc__body .table td { color: rgba(245, 245, 245, .84); }
.doc__body .table td:first-child { color: var(--paper); }
.page-head__note { font-size: 15px !important; margin-top: 10px !important; max-width: 78ch !important; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0; }
.tile { background: var(--panel); border: 1px solid var(--line); padding: 18px 18px 16px; display: grid; gap: 8px; align-content: start; }
.tile b { font: 400 clamp(20px, 2vw, 26px)/1.05 var(--display); letter-spacing: -.01em; color: var(--paper); overflow-wrap: anywhere; }
.tile span { color: var(--soft); font-size: 14px; line-height: 1.35; }
.doc__body .split__bar { height: 14px; margin: 18px 0 0; border: 0; }
.doc__body .split__bar span { font-size: 0; min-width: 0 !important; }
.splitlist { border: 1px solid var(--line); background: var(--panel); margin-top: 12px; }
.splitlist > div { display: grid; grid-template-columns: 84px 1fr 14px; gap: 16px; align-items: center; padding: 16px 18px; border-top: 1px solid var(--line); }
.splitlist > div:first-child { border-top: 0; }
.splitlist > div > b { font: 400 26px/1 var(--display); }
.splitlist strong { display: block; font-size: 17px; }
.splitlist span { display: block; color: var(--soft); font-size: 15px; margin-top: 3px; }
.splitlist i { width: 12px; height: 12px; }
.risks { list-style: none !important; padding: 0 !important; border: 1px solid var(--line); background: var(--panel); gap: 0 !important; }
.risks li { padding: 14px 18px 14px 44px; border-top: 1px solid var(--line); position: relative; }
.risks li:first-child { border-top: 0; }
.risks li::before { content: ""; position: absolute; left: 18px; top: 22px; width: 10px; height: 10px; background: var(--orange); }
.contracts td { vertical-align: middle; }
.contracts td:first-child { white-space: normal; min-width: 170px; }
.contracts small { display: block; color: var(--soft); font-weight: 400; font-size: 13.5px; margin-top: 2px; }
.contracts code { background: none; border: 0; padding: 0; font-size: 13.5px; }
.contracts a { text-decoration: none; }
.contracts a:hover code { color: var(--pink); }

/* ---------------------------------------------------------------- revenue: three totals, two charts, two feeds */
.rev { display: grid; gap: 20px; padding: 24px 0 110px; }
.rev__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rev__tile { padding: 22px 22px 8px; display: grid; gap: 8px; align-content: start; }
.rev__tile > span { color: var(--soft); font-weight: 600; font-size: 15px; }
.rev__tile > b { font: 400 clamp(30px, 3.2vw, 44px)/1 var(--display); letter-spacing: -.02em; }
.rev__tile--burn > b { color: var(--rec); }
.rev__tile > small { color: var(--soft); font-size: 14px; min-height: 20px; }
.rev__tile dl { margin: 12px -22px 0; border-top: 1px solid var(--line); }
.rev__tile dl div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 22px; border-bottom: 1px solid var(--line); font-size: 15px; }
.rev__tile dl div:last-child { border-bottom: 0; }
.rev__tile dt { color: var(--soft); } .rev__tile dd { margin: 0; font-weight: 600; }
.rev__bar { justify-content: space-between; margin: 6px 0 -4px; }
#rev-charts { display: grid; gap: 20px; }
.rev .panel__head { align-items: flex-start; flex-wrap: wrap; }
.rev .panel__head > div:first-child { display: grid; gap: 4px; }
.rev .panel__head .chip { height: 32px; padding: 0 11px; font-size: 14px; }
.chart--rev { height: 330px; }
.keyline { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; color: var(--soft); font-size: 13.5px; }
.keyline span { display: inline-flex; align-items: center; gap: 7px; }
.keyline i { width: 10px; height: 10px; display: block; }
.scroll { overflow-x: auto; }
.table--tight { margin: 0; font-size: 14.5px; }
.table--tight th, .table--tight td { padding: 10px 16px; white-space: nowrap; text-align: right; }
.table--tight th:first-child, .table--tight td:first-child { text-align: left; }
.rev__feeds { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.feed__row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.feed__row:first-child { border-top: 0; }
.feed__row img { width: 40px; height: 40px; object-fit: cover; flex: none; background: #000; }
.feed__row > div:first-of-type { min-width: 0; display: grid; gap: 3px; }
.feed__what { font-weight: 600; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed__what span { color: var(--soft); font-weight: 500; }
.feed__row small { color: var(--soft); font-size: 13px; }
.feed__row small a { color: var(--soft); margin-left: 8px; }
.feed__row small a:hover { color: var(--paper); }
.feed__num { margin-left: auto; text-align: right; display: grid; gap: 3px; flex: none; }
.feed__num b { font: 400 17px/1 var(--display); }
.feed .empty { border: 0; padding: 34px 20px; }

/* ---------------------------------------------------------------- account */
.acct { padding: 28px 0 110px; display: grid; gap: 22px; }
.acct__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; }
.rows { border: 1px solid var(--line); background: var(--panel); }
.rows__head, .rows__row { display: grid; grid-template-columns: 56px 1.5fr 1fr 1fr 1fr 130px; gap: 14px; align-items: center; padding: 12px 16px; }
.rows--acct .rows__head, .rows--acct .rows__row { grid-template-columns: 56px 1.6fr 1fr 1fr 130px; }
.rows__head { color: var(--soft); font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--line); }
.rows__row + .rows__row { border-top: 1px solid var(--line); }
.rows__row img { width: 44px; height: 44px; object-fit: cover; }
.rows__row small { display: block; color: var(--soft); font-size: 13px; }

/* ---------------------------------------------------------------- footer */
.foot { border-top: 1px solid var(--line); padding: 44px 0 38px; margin-top: auto; }
.foot__in { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: start; }
.foot p { color: var(--soft); font-size: 14px; max-width: 64ch; margin-top: 12px; }
.foot__links { display: flex; gap: 10px; }
.foot__links a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 3px; }
.foot__links a:hover { border-color: rgba(245, 245, 245, .5); }
.foot__links img { width: 20px; height: 20px; object-fit: contain; }
.foot__nav { display: flex; gap: 22px; margin-top: 16px; flex-wrap: wrap; }
.foot__nav a { color: var(--soft); text-decoration: none; font-size: 15px; }
.foot__nav a:hover { color: var(--paper); }

/* ---------------------------------------------------------------- wallet window, toast */
dialog.win { border: 1px solid rgba(245, 245, 245, .22); background: var(--panel); color: var(--paper); padding: 0; width: min(420px, calc(100% - 32px)); border-radius: 4px; }
dialog.win::backdrop { background: rgba(6, 4, 22, .72); }
.win__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.win__head b { font: 400 20px/1 var(--display); }
.win__x { background: none; border: 0; font-size: 24px; line-height: 1; padding: 4px 8px; color: var(--soft); }
.win__body { padding: 14px 14px 18px; }
.wallets { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.wallets button, .wallets a { width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: var(--night); border: 1px solid var(--line); border-radius: 3px; text-decoration: none; text-align: left; }
.wallets button:hover, .wallets a:hover { border-color: rgba(245, 245, 245, .45); }
.wallets img { width: 32px; height: 32px; border-radius: 7px; }
.wallets b { flex: 1; font-weight: 600; }
.wallets small { color: var(--soft); font-size: 14px; }
.win__none { color: var(--soft); padding: 4px 6px 12px; font-size: 15px; }
.win__or { color: var(--soft); font-size: 14px; text-align: center; margin: 14px 0 10px; }
.win__kv .copy { margin-left: 6px; vertical-align: middle; }
.win__kv { display: grid; gap: 12px; padding: 6px 6px 4px; }
.win__kv code { word-break: break-all; font-size: 14px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--paper); color: var(--night); padding: 12px 18px; border-radius: 3px; font-weight: 600; z-index: 60; }

/* ---------------------------------------------------------------- narrow screens */
@media (max-width: 980px) {
  .nav { display: none; }
  .menu { display: inline-flex; }
  .nav.is-open { display: grid; position: absolute; top: 68px; left: 0; right: 0; background: var(--night); border-bottom: 1px solid var(--line); padding: 10px 24px 18px; gap: 4px; margin: 0; }
  .tapes { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px 0 22px !important; }
  .split, .band__in, .dl, .doc, .doc--wide, .acct__top, .guide, .rev__tiles, .rev__feeds { grid-template-columns: 1fr; gap: 32px; }
  .rev__tiles, .rev__feeds { gap: 16px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .guide__side, .coin__side { position: static; }
  .coin__grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div { border-bottom: 1px solid var(--line); }
  .chart { height: 380px; }
  .coin__out { margin-left: 0; }
  .guide__steps li { grid-template-columns: 58px 1fr; }
  .guide__steps li::before { font-size: 44px; }
  .doc__nav { position: static; display: flex; flex-wrap: wrap; gap: 4px 16px; }
  .doc__nav a { border-left: 0; padding-left: 0; }
  .cards { grid-template-columns: 1fr; }
  .rows__head { display: none; }
  .rows__row { grid-template-columns: 56px 1fr 1fr; }
  .ca b { display: none; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .finder { inset: 80px 12px 12px; font-size: 20px; }
  .finder__spec span:not(.batt) { display: none; }
  .hero__copy { padding: 300px 0 92px; }
  .hero__bg img { object-position: 22% 30%; }
  .tapes { grid-template-columns: 1fr; gap: 12px; }
  .steps { grid-template-columns: 1fr; }
  body[data-page="home"] .tape:nth-child(n+4) { display: none; }
  .sec { padding: 68px 0; }
  .top__right .ca { display: none; }
  .foot__in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .finder__rec::before { animation: none; }
  html { scroll-behavior: auto; }
  .tape { transition: none; }
}
