/* MEME/COIN — one stylesheet for every page. Flat dark panels, square-ish corners, Geist, the coins' own pictures for
   color, one iridescent gradient for the main action, green for market caps. Light theme below. */
:root {
  --bg: #0e0f13;
  --bg-2: #121318;
  --panel: #16171d;
  --panel-2: #1b1d24;
  --well: #101116;
  --line: #24262e;
  --line-2: #30333d;
  --text: #eceef2;
  --text-2: #a3a8b3;
  --text-3: #6f7480;
  --good: #3ddc84;
  --good-2: #22c55e;
  --bad: #f2555a;
  --warn: #f5c451;
  --link: #8fb1ff;
  --holo: linear-gradient(100deg, #ffd5a6 0%, #f8b3d6 24%, #cdb9ff 48%, #a6ebff 72%, #d6f7a3 100%);
  --holo-soft: linear-gradient(100deg, #ffd5a61f, #f8b3d61f, #cdb9ff1f, #a6ebff1f, #d6f7a31f);
  --on-holo: #15161b;
  --holo-ink: var(--holo); /* numbers drawn in the gradient */
  --r: 4px;
  --r-lg: 6px;
  --hdr: 60px;
  --tape: 34px;
  --shadow: 0 12px 32px -8px rgba(0, 0, 0, .6), 0 0 0 1px var(--line);
  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f6f6f3;
  --bg-2: #efefeb;
  --panel: #ffffff;
  --panel-2: #f7f7f4;
  --well: #f3f3ef;
  --line: #e4e4de;
  --line-2: #d4d4cc;
  --text: #16171b;
  --text-2: #55585f;
  --text-3: #8a8d94;
  --good: #128a43;
  --good-2: #16a34a;
  --bad: #d43c42;
  --warn: #b7791f;
  --link: #2f5fd0;
  --holo-soft: linear-gradient(100deg, #ffd5a640, #f8b3d640, #cdb9ff40, #a6ebff40, #d6f7a340);
  --holo-ink: linear-gradient(100deg, #9333ea 0%, #4f46e5 38%, #0284c7 72%, #7c3aed 100%);
  --shadow: 0 12px 32px -10px rgba(30, 30, 20, .18), 0 0 0 1px var(--line);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 14px/1.5 var(--font); letter-spacing: -.005em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, h5, p { margin: 0; }
h1 { font-size: 30px; font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
h2 { font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
h3 { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
code, .mono { font-family: var(--mono); font-size: .92em; letter-spacing: 0; }
::selection { background: #cdb9ff55; }
.t2 { color: var(--text-2); }
.t3 { color: var(--text-3); }
.u { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.u:hover { text-decoration-color: currentColor; }
.link { color: var(--link); }
.label { font-size: 11px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); }
.px { flex: none; }
.brand-ic { width: 14px; height: 14px; flex: none; }
.sp { flex: 1; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #cdb9ff; outline-offset: 2px; }

/* ——— buttons ——— */
.btn, .btn-2, .btn-holo, .btn-3 { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: var(--r); font-weight: 500; font-size: 14px; white-space: nowrap; transition: background .15s, border-color .15s, filter .15s, color .15s; }
.btn { background: var(--text); color: var(--bg); }
.btn:hover { filter: brightness(.9); }
.btn-2 { border: 1px solid var(--line-2); background: var(--panel); }
.btn-2:hover { border-color: var(--text-3); background: var(--panel-2); }
.btn-3 { color: var(--text-2); padding: 0 10px; }
.btn-3:hover { color: var(--text); background: var(--panel-2); }
.btn-holo { background: var(--holo); color: var(--on-holo); font-weight: 600; background-size: 160% 100%; background-position: 0 0; }
.btn-holo:hover { background-position: 100% 0; }
.btn-holo[disabled], .btn[disabled] { opacity: .45; cursor: not-allowed; filter: grayscale(.4); }
.sm { height: 30px; padding: 0 10px; font-size: 13px; gap: 6px; }
.lg { height: 46px; padding: 0 20px; font-size: 15px; }
.wide { width: 100%; }
.icon-btn { width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: var(--r); border: 1px solid transparent; color: var(--text-2); }
.icon-btn:hover { color: var(--text); background: var(--panel-2); border-color: var(--line); }

/* ——— header ——— */
.hdr { position: sticky; isolation: isolate; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.hdr-in { height: var(--hdr); display: flex; align-items: center; gap: 22px; padding: 0 24px; max-width: 1480px; margin: 0 auto; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -.03em; white-space: nowrap; }
.brand-name { font-weight: 600; letter-spacing: -.04em; }
.brand-name .br { color: var(--text-3); font-weight: 500; }
.brand-name i { font-style: normal; margin: 0 .02em; background: var(--holo-ink); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--text); }
.mark { position: relative; width: 45px; height: 24px; flex: none; } /* two balls, overlapping by 12% like the coin pictures */
.mark img { position: absolute; top: 0; width: 24px; height: 24px; border-radius: 50%; box-shadow: 0 0 0 2px var(--bg); }
.mark img:first-child { left: 0; z-index: 1; }
.mark img:last-child { left: 21px; }
.hnav { display: flex; gap: 2px; }
.hnav a { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border-radius: var(--r); color: var(--text-2); font-weight: 500; }
.hnav a:hover { color: var(--text); background: var(--panel); }
.hnav a.on { color: var(--text); }
.hnav a .px { opacity: .8; }
.search { position: relative; flex: 1; max-width: 420px; }
.search-box { display: flex; align-items: center; gap: 9px; height: 36px; padding: 0 10px 0 12px; background: var(--well); border: 1px solid var(--line); border-radius: var(--r); color: var(--text-3); transition: border-color .15s; }
.search-box:focus-within { border-color: var(--line-2); color: var(--text-2); }
.search-box input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; font-size: 13.5px; color: var(--text); }
.search-box input::placeholder { color: var(--text-3); }
.search-box input::-webkit-search-cancel-button { display: none; }
.search-box kbd { font: 500 11px var(--mono); color: var(--text-3); border: 1px solid var(--line-2); border-radius: 3px; padding: 1px 6px; }
.bar-r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.demo-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 3px; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; background: var(--holo-soft); border: 1px solid var(--line-2); color: var(--text-2); cursor: help; }
.menu-btn { display: none; }
.wallet-wrap { position: relative; }
.w-dot { width: 8px; height: 8px; border-radius: 2px; background: var(--holo); }

/* the live tape under the header */
.tape { height: var(--tape); border-bottom: 1px solid var(--line); overflow: hidden; position: relative; background: var(--bg); }
.tape::before, .tape::after { content: ''; position: absolute; top: 0; bottom: 0; width: 48px; z-index: 1; pointer-events: none; }
.tape::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.tape::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.tape-track { display: flex; width: max-content; height: 100%; align-items: center; animation: tape 90s linear infinite; }
.tape:hover .tape-track { animation-play-state: paused; }
@keyframes tape { to { transform: translateX(-50%); } }
.tape-i { display: inline-flex; align-items: center; gap: 7px; padding: 0 16px; font-size: 12.5px; white-space: nowrap; color: var(--text-2); }
.tape-i img { width: 16px; height: 16px; border-radius: 3px; }
.tape-i b { color: var(--text); font-weight: 600; }
.tape-i .chg { display: inline-flex; align-items: center; gap: 2px; color: var(--text); font-weight: 500; }
.tape-i .chg .px { color: var(--text-3); }
.tape-i .what { color: var(--text-3); }
.tape-i > .px { color: var(--text-3); }
.tape-i .mono { color: var(--text-3); font-size: 11.5px; }
.tape-i:hover b { text-decoration: underline; text-underline-offset: 3px; }

/* mobile menu */
.mnav { display: none; }

/* ——— page ——— */
.page { max-width: 1480px; margin: 0 auto; padding: 28px 24px 64px; min-height: 60vh; }
.narrow { max-width: 1100px; }
.sec { margin-top: 36px; }
.sec-h { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; min-height: 30px; }
.sec-h p { color: var(--text-2); font-size: 13.5px; }
.sec-h .more { margin-left: auto; color: var(--text-2); font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.sec-h .more:hover { color: var(--text); }
.pagehead { margin-bottom: 22px; }
.pagehead p { margin-top: 8px; color: var(--text-2); max-width: 720px; font-size: 15px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); }
.panel-pad { padding: 18px; }

/* tabs: underline style, like the coin lists */
.tabs { display: flex; gap: 18px; align-items: center; }
.tabs button, .tabs a { position: relative; height: 30px; color: var(--text-3); font-weight: 500; font-size: 14px; }
.tabs button:hover { color: var(--text-2); }
.tabs .on { color: var(--text); }
.tabs .on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--holo); }
/* segmented: small boxed buttons */
.seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--well); border: 1px solid var(--line); border-radius: var(--r); }
.seg button { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 3px; color: var(--text-3); font-size: 13px; font-weight: 500; }
.seg button:hover { color: var(--text-2); }
.seg button.on { background: var(--panel-2); color: var(--text); box-shadow: 0 0 0 1px var(--line-2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 3px; border: 1px solid var(--line); background: var(--panel); color: var(--text-2); font-size: 13px; font-weight: 500; }
.chip img { width: 16px; height: 16px; border-radius: 50%; }
.chip:hover { border-color: var(--line-2); color: var(--text); }
.chip.on { border-color: var(--text-3); color: var(--text); background: var(--panel-2); }

/* badges */
.badge { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px; border-radius: 3px; font-size: 11.5px; font-weight: 600; white-space: nowrap; background: var(--panel-2); color: var(--text-2); border: 1px solid var(--line-2); }
.badge.holo { background: var(--holo); color: var(--on-holo); border: 0; }
/* status marks: a small square with a pixel glyph. Free / done is the holo square, taken is a grey square with a lock,
   not done yet is an empty one. No red, no green. */
.mk { width: 18px; height: 18px; flex: none; display: inline-grid; place-items: center; border-radius: 4px; }
.mk .px { width: 12px; height: 12px; }
.mk.free { background: var(--holo); color: var(--on-holo); }
.mk.taken, .mk.info, .mk.no { background: var(--panel-2); color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.mk.todo { box-shadow: inset 0 0 0 1px var(--line-2); }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px 0 4px; border-radius: 4px; background: var(--panel); border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.tag .mk { width: 16px; height: 16px; border-radius: 3px; }
.tag.free { color: var(--text); border-color: var(--line-2); }
.tag.taken { color: var(--text-3); }
.badge .px { width: 12px; height: 12px; }

/* progress to graduation */
.prog { height: 6px; background: var(--well); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.prog i { display: block; height: 100%; background: var(--holo); }
.prog-l { font-size: 12px; color: var(--text-3); margin-bottom: 5px; }

/* popovers */
.pop { position: absolute; top: calc(100% + 6px); right: 0; z-index: 60; min-width: 240px; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 6px; display: none; }
.pop.on { display: block; }
.search-pop { left: 0; right: 0; max-height: 70vh; overflow-y: auto; }
.pop-h { font-size: 11px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); padding: 8px 8px 6px; }
.pop-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px; border-radius: var(--r); text-align: left; color: var(--text); }
.pop-row:hover, .pop-row.sel { background: var(--panel-2); }
.pop-row img { width: 22px; height: 22px; border-radius: 4px; }
.pop-row.coin img { width: 30px; height: 30px; }
.pop-row small { margin-left: auto; color: var(--text-3); font-size: 12px; }
.pop-row.foot { border-top: 1px solid var(--line); border-radius: 0 0 var(--r) var(--r); margin-top: 4px; padding-top: 10px; color: var(--text-2); }
.pr-tx { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.pr-tx b { font-weight: 600; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pr-tx .ptext { font-size: 12px; }
.pr-n { text-align: right; font-weight: 600; font-size: 13px; display: flex; flex-direction: column; }
.pr-n small { margin: 0; font-weight: 400; font-size: 11px; }
.pop-note { padding: 10px 8px; color: var(--text-2); font-size: 13px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100; display: flex; align-items: center; gap: 9px; padding: 10px 14px; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow); font-weight: 500; font-size: 13.5px; transition: opacity .25s, transform .25s; }
.toast.out { opacity: 0; transform: translate(-50%, 6px); }
.tip { position: absolute; z-index: 120; max-width: 300px; padding: 8px 10px; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: var(--shadow); font-size: 12.5px; color: var(--text-2); line-height: 1.45; pointer-events: none; }
[data-tip] { cursor: help; }

/* ——— coins: pictures, paths, tokens, routes ——— */
.av { border-radius: 4px; object-fit: cover; background: var(--panel-2); flex: none; }
.pic { position: relative; flex: none; }
.pic > img:first-child { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); background: var(--panel-2); }
.pic .pair { position: absolute; right: -5px; bottom: -5px; width: 34%; height: 34%; min-width: 16px; min-height: 16px; border-radius: 50%; box-shadow: 0 0 0 2px var(--panel); background: var(--panel-2); object-fit: cover; }
.ptext { font-family: var(--mono); font-size: 12.5px; color: var(--text-3); letter-spacing: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ptext b { color: var(--text-2); font-weight: 500; }
.pchips { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px; font-family: var(--mono); font-size: 13px; }
.pchips .sl { color: var(--text-3); }
.pc { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 8px 0 4px; border-radius: 3px; background: var(--panel-2); border: 1px solid var(--line); color: var(--text); }
.pc img { border-radius: 3px; }
a.pc:hover { border-color: var(--line-2); }
.pc.new { border-style: dashed; color: var(--text-2); background: none; }
.pc-dot { width: 14px; height: 14px; border-radius: 3px; background: var(--holo); }
.pchips.sm { font-size: 12px; height: auto; padding: 0; } /* not the small-button .sm: its 30px height clipped a wrapped path */
.pchips.sm .pc { height: 22px; padding: 0 6px 0 3px; gap: 5px; }
.pchips.lg { font-size: 15px; gap: 6px; }
.pchips.lg .pc { height: 32px; padding: 0 10px 0 5px; gap: 8px; }
.tok { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 9px 0 4px; border-radius: 3px; background: var(--panel-2); border: 1px solid var(--line); font-size: 13px; white-space: nowrap; }
.tok img, .tok i { width: 20px; height: 20px; border-radius: 3px; object-fit: cover; }
.tok i { background: var(--holo); }
.tok b { font-weight: 600; }
.tok.new { border-style: dashed; background: none; }
.route { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.hop { color: var(--text-3); display: inline-flex; }
.pw { display: inline-flex; align-items: center; gap: 5px; }
.pw img { border-radius: 50%; }
.pw b { font-weight: 600; color: var(--text); }
.mc, .row-n b, .pr-n, .cp-nav a small { background: var(--holo-ink); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--text); }
.mc { font-weight: 600; width: fit-content; }
.pr-n small { -webkit-text-fill-color: var(--text-3); }

/* the coin row (lists on home and explore): square picture with its pair as a badge, then the facts */
.rows2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.cr { display: flex; gap: 16px; padding: 18px 16px; border-bottom: 1px solid var(--line); min-width: 0; transition: background .12s; position: relative; }
.rows2 .cr:nth-child(odd) { border-right: 1px solid var(--line); }
.cr:hover { background: var(--panel); }
.cr .pic { width: 96px; height: 96px; }
.cr-tx { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.cr-h { display: flex; align-items: baseline; gap: 6px; min-width: 0; padding-right: 54px; }
.cr-h b { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cr-h span { color: var(--text-2); font-size: 13.5px; white-space: nowrap; }
.cr-l { font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-width: 0; }
.cr-l .mc { font-size: 13.5px; }
.cr-l i { font-style: normal; color: var(--text-3); }
.cr-l .by { color: var(--link); font-family: var(--mono); font-size: 12px; }
.cr-path { margin-top: 3px; }
.cr-foot { margin-top: auto; padding-top: 6px; display: flex; align-items: center; gap: 10px; }
.cr-foot .prog { flex: 1; max-width: 260px; }
.cr-in { position: absolute; top: 16px; right: 16px; display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 7px; border-radius: 3px; border: 1px solid var(--line-2); color: var(--text-2); font-size: 12px; font-weight: 600; background: var(--bg); }
.cr-in .px { width: 14px; height: 14px; }

/* compact rows */
.list { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); min-width: 0; }
.row:last-child { border-bottom: 0; }
.row:hover { background: var(--panel-2); }
.row-tx { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.row-tx b { font-weight: 600; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-tx > span { font-size: 12px; color: var(--text-3); display: flex; gap: 6px; min-width: 0; }
.row-tx i { font-style: normal; }
.row-n { text-align: right; display: flex; flex-direction: column; flex: none; }
.row-n b { font-weight: 600; font-size: 13.5px; }
.row-n small { color: var(--text-3); font-size: 11.5px; }

.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 36px 20px; color: var(--text-2); }
.empty-ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r); background: var(--panel-2); border: 1px solid var(--line); color: var(--text-2); }
.empty b { color: var(--text); font-weight: 600; font-size: 15px; }
.empty p { max-width: 420px; font-size: 13.5px; }
.acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }

/* ——— home ——— */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); margin: -28px -24px 0; padding: 64px 24px 44px; text-align: center; isolation: isolate; }
.hero-bg { position: absolute; inset: -20px; z-index: -2; display: grid; grid-template-columns: repeat(9, 1fr); gap: 10px; filter: blur(5px) saturate(1.1); opacity: .42; }
.hero-bg img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 46% 62% at 50% 50%, color-mix(in srgb, var(--bg) 82%, transparent) 30%, color-mix(in srgb, var(--bg) 35%, transparent) 100%), linear-gradient(180deg, color-mix(in srgb, var(--bg) 40%, transparent), transparent 30%, transparent 70%, var(--bg)); }
.hero-t { display: inline-block; font-size: clamp(32px, 4.6vw, 48px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; }
.hero-t:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.hero-p { margin: 16px auto 0; max-width: 620px; color: var(--text-2); font-size: 15.5px; }
.hero-p b { color: var(--text); font-weight: 500; }
.hero-search { margin: 24px auto 0; max-width: 560px; display: flex; gap: 0; position: relative; }
.hero-search .search-box { flex: 1; height: 46px; border-radius: var(--r) 0 0 var(--r); background: color-mix(in srgb, var(--panel) 85%, transparent); font-size: 15px; }
.hero-search .search-box input { font-size: 15px; }
.hero-search .btn-holo { height: 46px; border-radius: 0 var(--r) var(--r) 0; padding: 0 20px; }
.hero-search .search-pop { text-align: left; }

/* MEME/COIN: the first two coins */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) minmax(0, 1.3fr); border-bottom: 1px solid var(--line); margin: 0 -24px; }
.duo-c { display: flex; align-items: center; gap: 14px; padding: 18px 24px; min-width: 0; }
.duo-c:hover { background: var(--panel); }
.duo-c .pic { width: 56px; height: 56px; }
.duo-c .pic > img:first-child { border-radius: 50%; }
.duo-tx { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.duo-tx b { font-size: 15px; font-weight: 600; }
.duo-tx span { font-size: 13px; color: var(--text-2); }
.duo-x { display: grid; place-items: center; color: var(--text-3); padding: 0 4px; font: 600 22px var(--mono); }
.duo-note { padding: 18px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; gap: 6px; font-size: 13.5px; color: var(--text-2); }
.duo-note b { color: var(--text); font-weight: 600; }

/* how it works, four boxes with arrows */
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.st { position: relative; padding: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.st-n { display: flex; align-items: center; gap: 10px; }
.st-n span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 4px; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); font: 600 13px var(--mono); }
.st-n h3 { font-size: 14.5px; }
.st p { font-size: 13px; color: var(--text-2); }
.st-v { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.st-v .px { color: var(--text-3); }

/* root coins strip */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); scrollbar-width: thin; }
.rc { display: flex; gap: 12px; padding: 14px; border-right: 1px solid var(--line); min-width: 0; }
.rc:last-child { border-right: 0; }
.rc:hover { background: var(--panel-2); }
.rc .pic { width: 64px; height: 64px; }
.rc-tx { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rc-tx b { font-weight: 600; font-size: 14.5px; }
.rc-kids { display: flex; gap: 3px; margin: 3px 0; }
.rc-kids img { width: 18px; height: 18px; border-radius: 3px; }
.rc-kids span { font-size: 11.5px; color: var(--text-3); align-self: center; margin-left: 3px; }
.rc-tx small { color: var(--text-2); font-size: 12.5px; }

/* the list + activity layout */
.feed { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 0; margin: 36px -24px 0; border-top: 1px solid var(--line); }
.feed-main { min-width: 0; }
.feed-bar { display: flex; align-items: center; gap: 16px; padding: 12px 16px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.feed-bar .tabs { padding-bottom: 10px; }
.feed-bar .filt { margin-left: auto; display: flex; gap: 4px; padding-bottom: 10px; flex-wrap: wrap; }
.filt button { height: 28px; padding: 0 9px; border-radius: 3px; color: var(--text-3); font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; flex: none; }
.filt button img { width: 16px; height: 16px; border-radius: 50%; }
.filt button:hover { color: var(--text-2); }
.filt button.on { color: var(--text); background: var(--panel-2); }
.feed .rows2 { border-top: 0; }
.feed-more { display: flex; justify-content: center; padding: 18px; }
.feed-side { border-left: 1px solid var(--line); min-width: 0; }
.feed-side-in { position: sticky; top: calc(var(--hdr) + 1px); max-height: calc(100vh - var(--hdr) - 1px); display: flex; flex-direction: column; }
.feed-side-h { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.feed-side-h h2 { font-size: 15px; }
.live-dot { width: 8px; height: 8px; border-radius: 2px; background: var(--holo); margin-left: 2px; }
.acts-list { overflow-y: auto; flex: 1; scrollbar-width: thin; }
.ai { display: block; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.ai-h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 12px; color: var(--text-3); }
.ai-box { display: flex; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); min-width: 0; }
.ai-box:hover { border-color: var(--line-2); }
.ai-box .pic { width: 40px; height: 40px; }
.ai-box .pr-tx b { font-size: 13.5px; }
.ai-box .pr-tx span { font-size: 12px; color: var(--text-2); }
.ai-tx { font-size: 13px; color: var(--text-2); }
.ai-tx a.u { color: var(--text-3); }

.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 15px 2px; cursor: pointer; font-weight: 500; font-size: 14.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .px { margin-left: auto; color: var(--text-3); transition: transform .2s; }
.faq details[open] summary .px { transform: rotate(45deg); }
.faq .ans { padding: 0 2px 16px; color: var(--text-2); font-size: 14px; display: flex; flex-direction: column; gap: 8px; }
.faq code { color: var(--text); }

/* pages */
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-top: 1px solid var(--line); }
.pg-info { font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.pg-nums { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.pg-nums button { min-width: 32px; height: 32px; padding: 0 8px; border-radius: var(--r); color: var(--text-2); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid transparent; }
.pg-nums button:hover:not([disabled]) { color: var(--text); background: var(--panel-2); border-color: var(--line); }
.pg-nums button.on { color: var(--on-holo); background: var(--holo); font-weight: 600; }
.pg-nums button[disabled] { opacity: .35; cursor: default; }
.pg-step .px { width: 12px; height: 12px; }
.pg-gap { color: var(--text-3); padding: 0 2px; }
.acts-pager .pager { padding: 10px 12px; }
.acts-pager .pg-info { display: none; }
.acts-pager .pg-step span { display: none; }

/* ——— explore ——— */
.xbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.xbar .search-box { width: 280px; }
.xbar .views { margin-left: auto; }
.xfilt { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.xfilt .label { margin-right: 4px; }
.xwrap { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); overflow: hidden; }
.xwrap .rows2 { border-top: 0; }
.xwrap .rows2 .cr:nth-last-child(-n+2):nth-child(odd), .xwrap .rows2 .cr:last-child { border-bottom: 0; }
.xcount { color: var(--text-3); font-size: 13px; }

/* explore: how to read it, then the tree as a table with columns */
.xread { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 14px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--holo-soft), var(--panel); font-size: 13.5px; color: var(--text-2); }
.xread .mk { flex: none; }
.xread b { color: var(--text); font-weight: 600; }
.xread-ex { display: inline-flex; align-items: center; gap: 6px; }
.xstats { display: flex; gap: 18px; margin-left: auto; font-size: 13px; color: var(--text-3); }
.xstats b { color: var(--text); font-weight: 600; }
.tt { background: var(--panel); }
.tt-h, .tt-r { display: grid; grid-template-columns: minmax(0, 1fr) 140px 110px 120px 110px 150px; align-items: center; gap: 12px; padding: 0 16px; }
.tt-h { height: 38px; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); background: var(--panel); }
.tt-h span:nth-child(n+3), .tt-r > :nth-child(n+3) { text-align: right; justify-self: end; }
.tt-r { min-height: 56px; border-bottom: 1px solid var(--line); position: relative; }
.tt-r:last-child { border-bottom: 0; }
.tt-r:hover { background: var(--panel-2); }
.tt-r.root { background: var(--bg-2); }
.tt-r.root:hover { background: var(--panel-2); }
.tt-coin { display: flex; align-items: stretch; min-width: 0; height: 100%; }
.tt-lead { display: flex; flex: none; }
.tt-lead i { width: 24px; position: relative; flex: none; }
.tt-lead i.bar::before, .tt-lead i.mid::before { content: ''; position: absolute; left: 11px; top: 0; bottom: 0; border-left: 1px solid var(--tline); }
.tt-lead i.end::before { content: ''; position: absolute; left: 11px; top: 0; height: 50%; border-left: 1px solid var(--tline); }
.tt-lead i.mid::after, .tt-lead i.end::after { content: ''; position: absolute; left: 11px; top: 50%; width: 10px; border-top: 1px solid var(--tline); }
.tt { --tline: color-mix(in srgb, var(--text-3) 55%, transparent); }
.tt-tog { width: 24px; flex: none; display: grid; place-items: center; color: var(--text-3); align-self: center; height: 24px; border-radius: 3px; }
.tt-tog:hover { color: var(--text); background: var(--panel); }
.tt-tog .px { width: 12px; height: 12px; transition: transform .15s; }
.tt-tog.open .px { transform: rotate(90deg); }
.tt-tog.none { visibility: hidden; }
.tt-name { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 0; }
.tt-name .pic { width: 36px; height: 36px; }
.tt-r.root .tt-name .pic { width: 40px; height: 40px; }
.tt-name > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.tt-name b { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tt-name b small { font-weight: 400; color: var(--text-3); font-size: 12.5px; margin-left: 4px; }
.tt-name:hover b { text-decoration: underline; text-underline-offset: 3px; }
.tt-in { font-size: 13.5px; color: var(--text-2); display: inline-flex; align-items: center; gap: 6px; }
.tt-in .px { color: var(--text-3); width: 14px; height: 14px; }
.tt-mc { font-size: 14px; }
.tt-age { font-size: 13px; color: var(--text-3); white-space: nowrap; }
.tt-act .btn-3 { opacity: 0; transition: opacity .12s; }
.tt-r:hover .tt-act .btn-3, .tt-act .btn-3:focus-visible { opacity: 1; }
.tt-more { padding: 14px 16px; display: flex; gap: 8px; border-top: 1px solid var(--line); }

/* label / value rows (launch preview, coin panel) */
.kv { margin: 0; display: grid; gap: 0; }
.kv > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.kv > div:last-child { border-bottom: 0; }
.kv dt { color: var(--text-3); }
.kv dd { margin: 0; text-align: right; font-weight: 500; min-width: 0; }

/* ——— coin page ——— */
.cp { display: grid; grid-template-columns: 250px minmax(0, 1fr) 340px; margin: -28px -24px 0; min-height: calc(100vh - var(--hdr) - var(--tape)); }
.cp-side { border-right: 1px solid var(--line); min-width: 0; }
.cp-side-in { position: sticky; top: calc(var(--hdr) + 1px); max-height: calc(100vh - var(--hdr) - 1px); overflow-y: auto; scrollbar-width: thin; padding-bottom: 20px; }
.cp-side-h { padding: 16px 16px 8px; }
.cp-nav a { display: flex; align-items: center; gap: 9px; padding: 7px 16px; font-size: 13.5px; min-width: 0; }
.cp-nav a:hover { background: var(--panel); }
.cp-nav a.on { background: var(--panel); box-shadow: inset 2px 0 0 var(--text); }
.cp-nav a b { font-weight: 500; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-nav a small { font-size: 12px; font-weight: 600; }
.cp-nav .ind { width: 14px; flex: none; }
.cp-main { min-width: 0; padding: 24px 28px 48px; }
.cp-head { display: flex; gap: 18px; align-items: flex-start; }
.cp-head .pic { width: 88px; height: 88px; }
.cp-head h1 { font-size: 26px; }
.cp-head-tx { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.cp-sub { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--text-2); font-size: 13.5px; }
.cp-sub .by { color: var(--link); font-family: var(--mono); font-size: 12.5px; }
.ca { display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 4px 0 8px; border-radius: 3px; background: var(--panel); border: 1px solid var(--line); font-size: 12px; color: var(--text-2); }
.ca code { color: var(--text); }
.ca button { height: 20px; padding: 0 6px; border-radius: 2px; background: var(--panel-2); color: var(--text-2); font-size: 11.5px; display: inline-flex; align-items: center; gap: 4px; }
.ca button:hover { color: var(--text); }
.cp-links { display: flex; gap: 6px; flex-wrap: wrap; }
.cp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); margin-top: 20px; background: var(--panel); }
.cp-stats > div { padding: 14px 16px; border-right: 1px solid var(--line); min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cp-stats > div:last-child { border-right: 0; }
.cp-stats b { font-size: 20px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.cp-stats small { font-size: 12px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-box { margin-top: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); }
.cp-box > .label { display: block; margin-bottom: 10px; }
.cp-route { display: flex; flex-direction: column; gap: 10px; }
.cp-route p { color: var(--text-2); font-size: 13.5px; }
.cp-desc { color: var(--text-2); font-size: 14px; white-space: pre-line; }
.cp-panel { border-left: 1px solid var(--line); min-width: 0; }
.cp-panel-in { position: sticky; top: calc(var(--hdr) + 1px); padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.cp-panel .kv > div { font-size: 13.5px; }
.cp-mini { display: flex; flex-direction: column; gap: 8px; }
.cp-mini-h { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 500; }

/* ——— launch ——— */
.lp { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.lp-form { padding: 22px; display: flex; flex-direction: column; gap: 24px; }
.lp-sec { display: flex; flex-direction: column; gap: 10px; }
.lp-sec > .lp-h { display: flex; align-items: baseline; gap: 10px; }
.lp-h h3 { font-size: 14.5px; }
.lp-h small { color: var(--text-3); font-size: 12.5px; }
.lp-sec > p { color: var(--text-2); font-size: 13px; margin-top: -4px; }
.oc-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.oc { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--well); text-align: left; transition: border-color .15s, background .15s; }
.oc:hover { border-color: var(--line-2); }
.oc.on { border-color: var(--text-3); background: var(--panel-2); }
.oc .radio { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--line-2); margin-top: 2px; flex: none; display: grid; place-items: center; }
.oc .radio { border-radius: 4px; }
.oc.on .radio { border: 0; background: var(--holo); }
.oc.on .radio::after { content: ''; width: 6px; height: 6px; border-radius: 1px; background: var(--on-holo); }
.oc b { display: block; font-weight: 600; font-size: 13.5px; }
.oc small { display: block; color: var(--text-2); font-size: 12.5px; margin-top: 2px; line-height: 1.4; }
.picked { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 10px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel-2); }
.picked .pic { width: 34px; height: 34px; }
.picked .pr-tx b { font-size: 14px; }
.picked .x { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 3px; color: var(--text-3); margin-left: auto; }
.picked .x:hover { background: var(--panel); color: var(--text); }
.picker { position: relative; }
.picker .search-box { height: 40px; }
.picker .pop { left: 0; right: 0; max-height: 320px; overflow-y: auto; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; }
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld > label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 500; color: var(--text-2); }
.fld > label small { color: var(--text-3); font-weight: 400; }
.inp { display: flex; align-items: center; gap: 6px; padding: 0 12px; height: 42px; background: var(--well); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .15s; }
.inp:focus-within { border-color: var(--line-2); }
.inp input, .inp textarea { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 14px; }
.inp .pre { color: var(--text-3); font-family: var(--mono); }
.inp.area { height: auto; padding: 10px 12px; }
.inp textarea { resize: vertical; min-height: 64px; }
.fld .hint { font-size: 12px; color: var(--text-3); }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.nameline { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; }
.drop { position: relative; width: 104px; height: 104px; border: 1px dashed var(--line-2); border-radius: var(--r); background: var(--well); display: grid; place-items: center; cursor: pointer; overflow: hidden; color: var(--text-3); text-align: center; font-size: 11.5px; }
.drop:hover, .drop.over { border-color: var(--text-3); color: var(--text-2); }
.drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop > span:first-child { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.verdict { display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; border-radius: var(--r); border: 1px solid var(--line); background: var(--well); font-size: 13.5px; color: var(--text-2); }
.verdict { align-items: flex-start; }
.lp-closed { margin: 0 0 16px; }
.verdict > .mk { margin-top: 1px; }
.verdict .mk { margin-top: 0; }
.verdict.ok { border-color: var(--line-2); background: var(--holo-soft), var(--well); color: var(--text); }
.verdict.no { border-color: var(--line-2); background: var(--panel-2); color: var(--text); }
.verdict .fix { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.combo { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: start; }
.combo-plus { color: var(--text-3); padding-top: 38px; }
.combo .picked { min-height: 58px; }
.combo .picker .search-box { height: 58px; }
.combo-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.co { display: flex; flex-direction: column; gap: 6px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--well); text-align: left; }
.co:hover:not([disabled]) { border-color: var(--line-2); }
.co.on { border-color: var(--text-3); background: var(--holo-soft), var(--panel-2); }
.co[disabled] { opacity: .55; cursor: not-allowed; }
.co small { color: var(--text-2); font-size: 12.5px; }
.co .co-h { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.lp-more summary { cursor: pointer; color: var(--text-2); font-size: 13px; font-weight: 500; list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.lp-more summary::-webkit-details-marker { display: none; }
.lp-more[open] summary .px { transform: rotate(90deg); }
.lp-more .grid3 { margin-top: 12px; }
.devbuy { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.devbuy .quick { flex: 1; min-width: 0; }
.sol-inp { width: 150px; height: 36px; flex: none; }
.sol-inp input { text-align: right; font-variant-numeric: tabular-nums; }
.costs .total { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 2px; }
.costs .total span, .costs .total b { color: var(--text); font-weight: 600; }
.costs small { color: var(--text-3); font-size: 12px; margin-left: 6px; }
.costs > div { gap: 12px; }
.costs b { white-space: nowrap; flex: none; text-align: right; }
.costs { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: var(--r); background: var(--well); font-size: 13px; }
.costs div { display: flex; justify-content: space-between; color: var(--text-2); }
.costs b { color: var(--text); font-weight: 500; }
.lp-aside { position: sticky; top: calc(var(--hdr) + var(--tape) + 16px); display: flex; flex-direction: column; gap: 12px; }
.pv { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.pv-c { display: flex; gap: 12px; }
.pv-c .pic { width: 72px; height: 72px; }
.pv-c .pr-tx b { font-size: 15px; white-space: normal; }
.pv-c .pr-tx span { color: var(--text-2); font-size: 13px; }
.checks { display: flex; flex-direction: column; gap: 7px; font-size: 13px; color: var(--text-3); }
.checks div { display: flex; align-items: center; gap: 8px; }
.checks div.done { color: var(--text); }
.checks div .mk { width: 16px; height: 16px; border-radius: 3px; }
.state { font-size: 13px; color: var(--text-2); display: none; }
.state.on { display: block; }
.state.err { color: var(--text); }
.done-card { max-width: 640px; margin: 20px auto; padding: 30px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.done-card .pic { width: 120px; height: 120px; margin-bottom: 6px; }
.done-card p { color: var(--text-2); }

/* ——— docs ——— */
.docs { max-width: 820px; margin: 0 auto; }
.docs h1 { font-size: 40px; }
.docs-lead { margin-top: 10px; color: var(--text-2); font-size: 16px; }
.docs-nav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; font-size: 14px; }
.docs-nav a { color: var(--text-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); }
.docs-nav a:hover { color: var(--text); text-decoration-color: currentColor; }
.flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 8px; margin-top: 30px; }
.flow-c { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); min-width: 0; }
.flow-c span.n { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 4px; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); font: 600 14px var(--mono); flex: none; }
.flow-c b { display: block; font-weight: 600; }
.flow-c small { color: var(--text-2); font-size: 12.5px; }
.flow-a { display: grid; place-items: center; color: var(--text-3); }
.doc { margin-top: 48px; scroll-margin-top: calc(var(--hdr) + var(--tape) + 16px); }
.doc h2 { font-size: 22px; margin-bottom: 14px; }
.doc h3 { margin: 22px 0 8px; }
.doc p, .doc li { color: var(--text-2); font-size: 15px; line-height: 1.65; }
.doc p + p { margin-top: 12px; }
.doc ul { margin: 10px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.doc b, .doc strong { color: var(--text); font-weight: 600; }
.doc code { color: var(--text); background: var(--panel); border: 1px solid var(--line); padding: 1px 5px; border-radius: 3px; }
.why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.why-c { padding: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 8px; }
.why-big { font-size: 30px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; color: var(--text); }
:root:not([data-theme="light"]) .why-big { background: var(--holo); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.why-c b { font-size: 15px; }
.why-c p { font-size: 14px; }
.why-c .st-v { padding-top: 4px; }
.callout { margin-top: 16px; padding: 14px 16px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--holo-soft), var(--panel); }
.callout.warn { border-color: var(--line-2); background: var(--panel); }
.callout b .mk { width: 18px; height: 18px; }
.callout b { display: flex; align-items: center; gap: 8px; color: var(--text); margin-bottom: 4px; }
.callout p { font-size: 14px !important; }
.ex { margin-top: 14px; padding: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 10px; }
.ex-r { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--text-2); }
.ex-r .badge { margin-left: auto; }
.tbl { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.tbl th { text-align: left; font-size: 11px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); padding: 10px 14px; background: var(--panel); border-bottom: 1px solid var(--line); }
.tbl td { padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--text-2); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td:first-child { color: var(--text); font-weight: 500; white-space: nowrap; }

/* ——— footer ——— */
.foot { border-top: 1px solid var(--line); margin-top: 40px; }
.foot-in { max-width: 1480px; margin: 0 auto; padding: 40px 24px 48px; display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 28px; }
.foot-brand p { margin-top: 12px; color: var(--text-2); font-size: 13.5px; max-width: 380px; }
.foot-small { font-size: 12px !important; color: var(--text-3) !important; }
.foot h5 { font-size: 13px; font-weight: 500; color: var(--text-3); margin-bottom: 12px; }
.foot a:not(.logo) { display: block; color: var(--text); font-size: 14px; margin-bottom: 9px; }
.foot a:not(.logo):hover { text-decoration: underline; text-underline-offset: 3px; }


/* ——— live ——— */
[data-r] { font-variant-numeric: tabular-nums; }
/* the bar under the header: fills up until the next update */
.beat { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; pointer-events: none; }
.beat i { display: block; height: 100%; background: var(--holo); transform-origin: left; transform: scaleX(0); opacity: .75; }
.beat.run i { animation: beat var(--every, 2000ms) linear forwards; }
@keyframes beat { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* a changed number: a short line draws itself under it and fades (gradient: up, grey: down) */
.lv-up, .lv-dn { position: relative; }
.lv-up::after, .lv-dn::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; border-radius: 1px; transform-origin: left; animation: lvline 1.2s cubic-bezier(.3, .7, .2, 1) forwards; }
.lv-up::after { background: var(--holo); }
.lv-dn::after { background: var(--text-3); }
@keyframes lvline { 0% { transform: scaleX(0); opacity: 1; } 45% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
/* new rows come in from the left with a gradient edge */
.lv-in { animation: lvin .5s cubic-bezier(.2, .8, .2, 1) both; position: relative; }
.lv-in::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--holo); animation: lvedge 2.4s ease-out forwards; pointer-events: none; z-index: 1; }
@keyframes lvin { from { opacity: 0; transform: translateX(-10px); } }
@keyframes lvedge { 0%, 40% { opacity: 1; } 100% { opacity: 0; } }
/* placeholders until the first answer */
.sk { display: block; border-radius: 4px; background: linear-gradient(100deg, var(--panel-2) 30%, color-mix(in srgb, #f8b3d6 22%, var(--panel-2)) 42%, color-mix(in srgb, #a6ebff 22%, var(--panel-2)) 52%, var(--panel-2) 64%); background-size: 320% 100%; animation: sk 1.6s linear infinite; flex: none; }
@keyframes sk { from { background-position: 100% 0; } to { background-position: 0 0; } }
.sk-row { pointer-events: none; }
.sk-row .cr-tx, .sk-row .row-tx { gap: 8px; }

/* ——— creator rewards ——— */
.rw-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 12px; margin-bottom: 14px; }
.rw-win { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--r-lg); background: var(--holo-soft), var(--panel); border: 1px solid var(--line-2); position: relative; min-width: 0; }
a.rw-win:hover { border-color: var(--text-3); }
.rw-win::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: var(--r-lg) 0 0 var(--r-lg); background: var(--holo); }
.rw-win .pic { width: 72px; height: 72px; }
.rw-win-tx { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.rw-win-tx b { font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.rw-win-tx > span:last-child { font-size: 13.5px; color: var(--text-2); }
.rw-win .badge { align-self: flex-start; }
.rw-round { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); }
.rw-round > div { padding: 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; border-right: 1px solid var(--line); }
.rw-round > div:last-child { border-right: 0; }
.rw-clock b { font-size: 26px; font-weight: 600; letter-spacing: 0; }
.rw-clock .rw-wait { font: 600 15px/1.35 var(--font); letter-spacing: -.01em; margin-top: 4px; }
.rw-clock small { color: var(--text-3); font-size: 12.5px; }
.rw-stat b { font-size: 20px; font-weight: 600; }
.rw-stat small { color: var(--text-3); font-size: 12px; }
.rw-stat .pw b { font-size: 16px; }
.rw-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.rw-h { display: flex; align-items: baseline; gap: 10px; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.rw-h h2 { font-size: 15px; }
.rw-h span { font-size: 12.5px; }
.rw-rows { display: flex; flex-direction: column; }
.rw-row { display: grid; grid-template-columns: 26px 36px minmax(0, 1fr) minmax(60px, 160px) 96px; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.rw-row:last-child { border-bottom: 0; }
.rw-row:hover { background: var(--panel-2); }
.rw-row .pic { width: 36px; height: 36px; }
.rw-row.lead { background: var(--holo-soft); }
.rw-rank { font: 600 13px var(--mono); color: var(--text-3); text-align: center; }
.rw-row.lead .rw-rank { color: var(--on-holo); background: var(--holo); border-radius: 4px; padding: 2px 0; }
.rw-tx { display: flex; flex-direction: column; min-width: 0; }
.rw-tx b { font-weight: 600; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rw-bar { height: 6px; border-radius: 2px; background: var(--well); overflow: hidden; }
.rw-bar i { display: block; height: 100%; background: var(--holo); }
.rw-n { text-align: right; display: flex; flex-direction: column; }
.rw-n b { font-weight: 600; font-size: 13.5px; }
.rw-n small { color: var(--text-3); font-size: 11.5px; }
.rw-pot .row img.av { border-radius: 50%; }
.rw-past { gap: 14px; }
.rw-when { font-size: 12.5px; width: 120px; flex: none; }
.rw-fees { font-size: 12.5px; width: 110px; flex: none; }
.rw-paid { display: flex; align-items: center; gap: 3px; flex: 1; min-width: 0; overflow: hidden; }
.rw-paid img { width: 22px; height: 22px; border-radius: 50%; flex: none; }
.rw-paid small { color: var(--text-3); font-size: 11.5px; margin-left: 4px; }
/* the split of a coin's fees */
.fs-bar { display: flex; height: 30px; border-radius: 4px; overflow: hidden; gap: 2px; }
.fs-bar i { display: flex; align-items: center; justify-content: center; min-width: 0; font-style: normal; }
.fs-bar span { font: 600 12px var(--mono); color: var(--on-holo); }
.fs-bar .c, .fs-dot.c { background: var(--line-2); }
.fs-bar .c span { color: var(--text); }
.fs-bar .d, .fs-dot.d { background: #cdb9ff; }
.fs-bar .h, .fs-dot.h { background: #a6ebff; }
.fs-bar .p, .fs-dot.p { background: var(--holo); }
.fs-bar.sm { height: 8px; padding: 0; } /* the small-button .sm adds side padding */
.fs-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.fs-list > div { display: flex; flex-direction: column; gap: 4px; }
.fs-list b { font-size: 14px; display: flex; align-items: center; gap: 8px; }
.fs-list p { font-size: 13px; color: var(--text-2); }
.fs-dot { width: 10px; height: 10px; border-radius: 2px; display: inline-block; margin-bottom: 2px; }
/* the home page's strip for the race */
.rw-strip { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 14px 18px; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--holo-soft), var(--panel); position: relative; }
.rw-strip::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: var(--r-lg) 0 0 var(--r-lg); background: var(--holo); }
.rw-strip .pic { width: 44px; height: 44px; }
.rw-strip-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rw-strip-tx b { font-size: 15px; font-weight: 600; }
.rw-strip-tx span { font-size: 13px; color: var(--text-2); }
.rw-strip .rw-s { display: flex; flex-direction: column; gap: 2px; padding-left: 18px; border-left: 1px solid var(--line); }
.rw-strip .rw-s b { font-size: 16px; font-weight: 600; }
.rw-strip .acts { margin: 0 0 0 auto; }

/* ——— responsive ——— */
@media (max-width: 1240px) {
  .feed { grid-template-columns: minmax(0, 1fr) 300px; }
  .cp { grid-template-columns: 220px minmax(0, 1fr) 300px; }
  .duo { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .duo-note { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 1080px) {
  .rw-top, .rw-grid { grid-template-columns: minmax(0, 1fr); }
  .fs-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tt-h, .tt-r { grid-template-columns: minmax(0, 1fr) 120px 100px 110px; }
  .tt-h span:nth-child(5), .tt-h span:nth-child(6), .tt-r > .tt-age, .tt-r > .tt-act { display: none; }
  .hnav { display: none; }
  .menu-btn { display: inline-grid; }
  .mnav { display: block; position: fixed; inset: var(--hdr) 0 auto; z-index: 39; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; transform: translateY(-110%); transition: transform .2s; visibility: hidden; }
  body.nav-open .mnav { transform: none; visibility: visible; }
  .mnav a { display: flex; align-items: center; gap: 10px; padding: 12px 6px; border-bottom: 1px solid var(--line); font-weight: 500; }
  .feed { grid-template-columns: minmax(0, 1fr); }
  .feed-side { border-left: 0; border-top: 1px solid var(--line); }
  .feed-side-in { position: static; max-height: 520px; }
  .rows2 { grid-template-columns: minmax(0, 1fr); }
  .rows2 .cr:nth-child(odd) { border-right: 0; }
  .cp { grid-template-columns: minmax(0, 1fr) 300px; }
  .cp-side { display: none; }
  .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp { grid-template-columns: minmax(0, 1fr); }
  .lp-aside { position: static; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .foot-in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --hdr: 56px; }
  .hdr-in { padding: 0 14px; gap: 10px; }
  .hdr .search { display: none; }
  .hide-sm { display: none !important; }
  .logo { font-size: 15px; }
  .page { padding: 20px 16px 48px; }
  .hero { margin: -20px -16px 0; padding: 40px 16px 30px; }
  .hero-bg { grid-template-columns: repeat(5, 1fr); }
  .duo { margin: 0 -16px; grid-template-columns: minmax(0, 1fr); }
  .duo-x { display: none; }
  .duo-c { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .duo-note { padding: 14px 16px; border-top: 0; }
  .feed { margin: 28px -16px 0; }
  .feed-bar .filt { margin-left: 0; width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .cr { padding: 14px 16px; gap: 12px; }
  .cr .pic { width: 76px; height: 76px; }
  .steps4 { grid-template-columns: minmax(0, 1fr); }
  .cp { grid-template-columns: minmax(0, 1fr); margin: -20px -16px 0; }
  .cp-main { padding: 20px 16px; }
  .cp-panel { border-left: 0; border-top: 1px solid var(--line); }
  .cp-panel-in { position: static; padding: 16px; }
  .cp-head .pic { width: 64px; height: 64px; }
  .cp-head h1 { font-size: 21px; }
  .cp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cp-stats > div:nth-child(2) { border-right: 0; }
  .cp-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .oc-row, .combo-opts, .grid2, .grid3 { grid-template-columns: minmax(0, 1fr); }
  .combo { grid-template-columns: minmax(0, 1fr); }
  .combo-plus { justify-self: center; }
  .nameline { grid-template-columns: 84px minmax(0, 1fr); }
  .drop { width: 84px; height: 84px; }
  .lp-form { padding: 16px; }
  .costs small { display: block; margin: 2px 0 0; }
  .sol-inp { width: 120px; }
  .xbar .search-box { width: 100%; order: 3; }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow-a { transform: rotate(90deg); }
  .why { grid-template-columns: minmax(0, 1fr); }
  .docs h1 { font-size: 32px; }
  .foot-in { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 32px 16px; }
  .tbl { display: block; overflow-x: auto; }
  .tt-h, .tt-r { grid-template-columns: minmax(0, 1fr) 90px; padding: 0 12px; }
  .tt-h span:nth-child(2), .tt-h span:nth-child(3), .tt-h span:nth-child(5), .tt-h span:nth-child(6), .tt-r > .tt-pw, .tt-r > .tt-in, .tt-r > .tt-age, .tt-r > .tt-act { display: none; }
  .tt-lead i { width: 14px; }
  .tt-lead i.bar::before, .tt-lead i.mid::before, .tt-lead i.end::before, .tt-lead i.mid::after, .tt-lead i.end::after { left: 6px; }
  .xstats { margin-left: 0; width: 100%; }
  .rw-round { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .rw-round > div:first-child { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); }
  .rw-row { grid-template-columns: 22px 36px minmax(0, 1fr) 84px; }
  .rw-bar { display: none; }
  .fs-list { grid-template-columns: minmax(0, 1fr); }
  .rw-when, .rw-fees { display: none; }
  .rw-strip .rw-s { padding-left: 0; border-left: 0; }
  .pager { justify-content: center; }
  .pg-info { width: 100%; text-align: center; }
  .pg-step span { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
