:root {
  --bg: #000;
  --panel: rgba(255, 255, 255, 0.035);
  --solid: #17171c;
  --line: rgba(125, 125, 140, 0.26);
  --hover: rgba(255, 255, 255, 0.055);
  --glass: blur(22px) saturate(140%);
  --sheen: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --head: Geist, system-ui, sans-serif;
  --text: #fafafa;
  --muted: #8d8d9b;
  --accent: #ff664d;
  --brand: #e84125;
  --accent-ink: #fff;
  --good: #7fe0a8;
  --warn: #f0c674;
  --bad: #ff8f8f;
  --mono: "Geist Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { background: var(--bg); min-height: 100%; }
/* The ground, on the docs page only: a sun in eclipse along the bottom of the screen, with faint rings around it. The terminal pages are plain black. */
body.docs-page { --ex: 62%; --ey: calc(100vh - 96px); --er: 130vmax; }
body.docs-page::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(circle at var(--ex) calc(var(--ey) + var(--er)), transparent calc(var(--er) + 69px), rgba(255, 102, 77, 0.3) calc(var(--er) + 70px), transparent calc(var(--er) + 71.5px), transparent calc(var(--er) + 169px), rgba(255, 102, 77, 0.17) calc(var(--er) + 170px), transparent calc(var(--er) + 171.5px), transparent calc(var(--er) + 299px), rgba(255, 102, 77, 0.09) calc(var(--er) + 300px), transparent calc(var(--er) + 301.5px)),
    radial-gradient(circle at var(--ex) calc(var(--ey) + var(--er)), rgba(232, 65, 37, 0.2) var(--er), rgba(232, 65, 37, 0.05) calc(var(--er) + 180px), transparent calc(var(--er) + 420px)); }
body.docs-page::after { content: ""; position: fixed; z-index: -1; pointer-events: none; left: var(--ex); top: var(--ey); width: calc(var(--er) * 2); height: calc(var(--er) * 2); transform: translateX(-50%); border-radius: 50%;
  background: #000;
  box-shadow: inset 0 2px 1px rgba(255, 214, 190, 0.9), inset 0 12px 36px rgba(232, 65, 37, 0.3), 0 -2px 12px rgba(255, 122, 92, 0.6), 0 -24px 110px rgba(232, 65, 37, 0.28); }
html, body { margin: 0; color: var(--text); font: 15px/1.5 Geist, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1 { font-family: var(--head); font-size: 44px; line-height: 1.06; letter-spacing: -0.03em; margin: 0 0 14px; font-weight: 500; }
h2 { font-size: 15px; margin: 0 0 10px; font-weight: 600; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.num { font-family: var(--mono); font-size: 0.93em; letter-spacing: -0.02em; }
.sol { width: 0.95em; height: 0.95em; vertical-align: -0.12em; margin-left: 0.28em; }

.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 20px; background: rgba(0, 0, 0, 0.6); backdrop-filter: var(--glass); -webkit-backdrop-filter: var(--glass); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 500; letter-spacing: -0.035em; font-size: 18px; }
.logo svg { color: var(--accent); }
.net { font-size: 12px; color: var(--warn); background: rgba(240, 198, 116, 0.1); padding: 2px 9px; border-radius: 999px; }
.grow { flex: 1; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--sheen); font-weight: 600; font-size: 14px; white-space: nowrap; transition: background 0.15s, border-color 0.15s, opacity 0.15s; }
.btn:hover { background: var(--hover); }
.btn.primary { background: var(--brand); color: var(--accent-ink); border-color: transparent; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 6px 26px rgba(232, 65, 37, 0.3); }
.btn.primary:hover { background: #ea4e33; }
.btn.small { height: 30px; padding: 0 12px; font-size: 13px; }
.btn[disabled] { opacity: 0.45; cursor: default; pointer-events: none; }
.btn.soon { opacity: 0.45; cursor: default; }
.tag { font-size: 11px; color: var(--muted); background: var(--hover); padding: 1px 7px; border-radius: 999px; font-weight: 500; }

.walletbox { position: relative; }
.menu { position: absolute; right: 0; top: 46px; min-width: 250px; background: rgba(14, 14, 17, 0.86); backdrop-filter: var(--glass); -webkit-backdrop-filter: var(--glass); border: 1px solid var(--line); border-radius: 16px; padding: 6px; box-shadow: var(--sheen), 0 18px 40px rgba(0, 0, 0, 0.5); }
.menu button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; text-align: left; background: none; border: 0; padding: 10px 11px; border-radius: 8px; font-size: 14px; }
.menu button:hover, .menu a.item:hover { background: var(--hover); }
.menu a.item { display: flex; padding: 10px 11px; border-radius: 8px; font-size: 14px; }
.menu .wl { display: flex; align-items: center; gap: 10px; }
.menu .wl img { width: 20px; height: 20px; border-radius: 5px; }
.menu button[disabled] { opacity: 0.5; cursor: default; }
.menu .hint { padding: 8px 11px 6px; font-size: 12.5px; color: var(--muted); }

.shell { display: grid; grid-template-columns: 190px minmax(0, 1fr) 300px; gap: 28px; max-width: 1240px; margin: 0 auto; padding: 26px 20px 80px; }
.side { position: sticky; top: 82px; align-self: start; display: flex; flex-direction: column; gap: 2px; }
.side a { display: flex; align-items: center; gap: 11px; padding: 9px 13px; border-radius: 999px; border: 1px solid transparent; color: var(--muted); font-weight: 500; }
.side a:hover { background: var(--hover); color: var(--text); }
.side a.on { background: var(--hover); border-color: var(--line); box-shadow: var(--sheen); color: var(--text); }
.side a.on svg { color: var(--accent); }
.side svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
main { min-width: 0; outline: none; }
.lead { color: #9f9fac; max-width: 54ch; font-size: 16px; }
.cta { display: flex; gap: 10px; margin: 20px 0 30px; flex-wrap: wrap; }

.tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin-bottom: 8px; overflow-x: auto; scrollbar-width: none; }
.tabs button { background: none; border: 0; padding: 10px 0; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button.on { color: var(--text); border-color: var(--accent); }

.rows { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: 13px; width: 100%; padding: 12px 10px; margin: 0 -10px; border: 0; background: none; border-radius: 12px; text-align: left; }
button.row:hover, a.row:hover { background: var(--hover); }
button.row:hover .title, a.row:hover .title { color: var(--accent); }
.coin { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: rgba(255, 102, 77, 0.12); color: var(--accent); }
.row .mid { flex: 1; min-width: 0; }
.row .title { font-weight: 700; transition: color 0.15s; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .sub { color: var(--muted); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .end { text-align: right; flex: none; }
.row .end .sub { font-size: 12.5px; }
.chip { font-size: 12px; padding: 2px 9px; border-radius: 999px; background: var(--hover); color: var(--muted); }
.chip.good { background: rgba(127, 224, 168, 0.1); color: var(--good); }
.chip.live { background: rgba(255, 102, 77, 0.12); color: var(--accent); }
.chip.warn { background: rgba(240, 198, 116, 0.1); color: var(--warn); }
.quiet { color: var(--muted); padding: 26px 0; }

.steps { counter-reset: s; display: grid; gap: 16px; padding: 14px 0 6px; max-width: 58ch; }
.steps div { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.steps div::before { content: counter(s); width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--hover); color: var(--accent); font-weight: 700; font-size: 13px; }
.steps b { display: block; }
details { margin-top: 18px; max-width: 58ch; color: var(--muted); }
details summary { cursor: pointer; color: var(--text); font-weight: 600; }
details ul { padding-left: 18px; margin: 10px 0 0; display: grid; gap: 6px; }

.card { background: var(--panel); backdrop-filter: var(--glass); -webkit-backdrop-filter: var(--glass); border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: var(--sheen), 0 20px 50px rgba(0, 0, 0, 0.35); }
.rail { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 82px; align-self: start; }
.rail .line { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: 14px; }
.rail .ev { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 13.5px; }
.rail .ev b { font-weight: 600; }
.up { color: var(--good); }

form.stack { display: grid; gap: 16px; max-width: 460px; margin-top: 22px; }
label.f { display: grid; gap: 6px; font-weight: 600; font-size: 13.5px; }
label.f span.h { color: var(--muted); font-weight: 400; }
.in { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); backdrop-filter: var(--glass); -webkit-backdrop-filter: var(--glass); box-shadow: var(--sheen); }
.in:focus-within { border-color: rgba(255, 102, 77, 0.55); }
.in input, .in select { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: 500 15px var(--mono); }
.in select { font-family: inherit; font-weight: 600; appearance: none; }
.in select option { background: var(--solid); }
.in .unit { color: var(--muted); font-size: 13.5px; font-weight: 600; flex: none; }
.in .max { background: var(--hover); border: 0; border-radius: 6px; padding: 3px 8px; font-size: 12px; color: var(--muted); }
.sum { display: grid; gap: 6px; font-size: 14px; }
.sum div { display: flex; justify-content: space-between; gap: 12px; }
.sum div span:first-child { color: var(--muted); }
.status { font-size: 14px; color: var(--muted); min-height: 21px; display: flex; align-items: center; gap: 9px; }
.status.bad { color: var(--bad); }
.status.good { color: var(--good); }
.spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--accent); animation: sp 0.8s linear infinite; flex: none; }
@keyframes sp { to { transform: rotate(360deg); } }
.note { backdrop-filter: var(--glass); -webkit-backdrop-filter: var(--glass); font-size: 13.5px; color: var(--muted); background: var(--panel); border: 1px solid var(--line); padding: 10px 14px; border-radius: 14px; max-width: 58ch; }
.addr { font-family: var(--mono); font-size: 13px; word-break: break-all; }
.section { margin-top: 30px; }
.section h2, .card h2 { color: var(--muted); font: 500 11.5px var(--mono); letter-spacing: 0.09em; text-transform: uppercase; }

.scrim { position: fixed; inset: 0; z-index: 20; background: rgba(2, 3, 6, 0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; }
.scrim[hidden] { display: none; }
.sheet { width: 100%; max-width: 420px; background: rgba(14, 14, 17, 0.82); backdrop-filter: var(--glass); -webkit-backdrop-filter: var(--glass); box-shadow: var(--sheen), 0 30px 80px rgba(0, 0, 0, 0.6); border: 1px solid var(--line); border-radius: 24px; padding: 22px; display: grid; gap: 16px; max-height: 90vh; overflow: auto; }
.sheet .head { display: flex; align-items: center; gap: 12px; }
.sheet .head .title { font-weight: 500; font-size: 22px; letter-spacing: -0.02em; line-height: 1.1; }
.sheet .x { margin-left: auto; background: none; border: 0; color: var(--muted); font-size: 22px; line-height: 1; padding: 4px 8px; border-radius: 8px; }
.sheet .x:hover { background: var(--hover); }
.sheet .btn { width: 100%; height: 44px; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 30; background: rgba(23, 23, 28, 0.9); backdrop-filter: var(--glass); -webkit-backdrop-filter: var(--glass); border: 1px solid var(--line); padding: 10px 18px; border-radius: 999px; font-size: 14px; max-width: calc(100vw - 32px); }
.toast[hidden] { display: none; }

@media (max-width: 1080px) {
  .shell { grid-template-columns: 190px minmax(0, 1fr); }
  .rail { grid-column: 2; position: static; }
}
@media (max-width: 720px) {
  h1 { font-size: 38px; }
  body { --ex: 70%; --ey: calc(100vh - 128px); }
  .top { padding: 0 14px; }
  .shell { grid-template-columns: minmax(0, 1fr); padding: 18px 16px 96px; gap: 22px; }
  .rail { grid-column: 1; }
  .side { position: fixed; top: auto; bottom: 0; left: 0; right: 0; z-index: 6; flex-direction: row; justify-content: space-around; gap: 0; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: rgba(0, 0, 0, 0.72); backdrop-filter: var(--glass); -webkit-backdrop-filter: var(--glass); border-top: 1px solid var(--line); }
  .side a { flex-direction: column; gap: 3px; font-size: 11.5px; padding: 6px 12px; border-radius: 14px; }
  .scrim { place-items: end center; padding: 0; }
  .sheet { border-radius: 24px 24px 0 0; max-width: none; }
  .toast { bottom: 84px; }
}
.under { color: var(--good); }
.stats { display: flex; gap: 34px; flex-wrap: wrap; margin: 22px 0 8px; }
.stats div { display: grid; gap: 2px; }
.stats b { font-size: 30px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.stats span { color: var(--muted); font-size: 13.5px; }
.steps span.muted { display: block; }

/* Privacy: small mono labels, and a blacked-out bar wherever the desk knows a figure it will not show. */
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 2px 0 16px; color: var(--accent); font: 500 11.5px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; box-shadow: 0 0 0 2px #000, 0 0 0 3px var(--accent), 0 0 0 6px #000, 0 0 0 7px rgba(255, 102, 77, 0.45); margin: 0 7px; }
.redact { display: inline-block; width: 46px; height: 0.72em; margin-right: 8px; border-radius: 2px; vertical-align: -0.02em; background: repeating-linear-gradient(90deg, #2c2c33 0 7px, #232329 7px 9px); }
.built { margin-top: 44px; color: var(--muted); font: 400 11.5px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.built a { color: var(--text); border-bottom: 1px solid var(--line); }
.built a:hover { color: var(--accent); }

/* Terminal pass: small page titles, no hero copy. */
h1 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; margin: 0; }
.pagehead { display: flex; align-items: center; gap: 12px; min-height: 36px; margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pagehead .btn { margin-left: auto; }
.pagehead .count { color: var(--muted); font-size: 13px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; }
.cta { margin: 6px 0 22px; }
.stats { margin: 6px 0 4px; }
.stats b { font-size: 24px; }
.quiet { padding: 18px 0; }
.section { margin-top: 26px; }

/* Terminal detail: a real table for the board, a status strip, and the small parts around them. */
.num, .strip, .thead { font-variant-numeric: tabular-nums; }
.shell { padding-bottom: 96px; }
.toolbar { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.search { flex: 1; max-width: 300px; display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.search:focus-within { border-color: rgba(255, 102, 77, 0.55); }
.search svg { width: 15px; height: 15px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; flex: none; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: 500 13.5px Geist, system-ui, sans-serif; }
.search input::placeholder { color: var(--muted); }
kbd { font: 500 11px var(--mono); color: var(--muted); border: 1px solid var(--line); border-radius: 5px; padding: 0 5px; line-height: 16px; }
.search:focus-within kbd { visibility: hidden; }
.seg { margin-left: auto; display: flex; padding: 2px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.seg button { height: 28px; padding: 0 11px; border: 0; background: none; border-radius: 8px; font-size: 12.5px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.seg button.on { background: var(--hover); color: var(--text); box-shadow: var(--sheen); }
.thead, .trow { display: grid; grid-template-columns: minmax(140px, 1.5fr) minmax(104px, 1fr) minmax(104px, 1fr) 92px 44px 12px; align-items: center; column-gap: 14px; }
.thead { padding: 0 0 8px; border-bottom: 1px solid var(--line); color: var(--muted); font: 500 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.thead span:nth-child(3), .thead span:nth-child(4), .thead span:nth-child(5) { text-align: right; }
.trow { padding: 11px 10px; border-radius: 0; border-bottom: 1px solid rgba(125, 125, 140, 0.12); }
.trow:last-child { border-bottom: 0; }
.thead { padding-left: 0; padding-right: 0; }
.trow .c-coin { display: flex; align-items: center; gap: 12px; min-width: 0; }
.trow .c-coin .sub { font-size: 12px; }
.trow .c-size { color: var(--muted); font-size: 13.5px; white-space: nowrap; }
.trow .c-price, .trow .c-vs, .trow .c-age { text-align: right; white-space: nowrap; }
.trow .c-age { color: var(--muted); font-size: 12.5px; }
.trow .c-go { color: var(--muted); opacity: 0; transform: translateX(-4px); transition: opacity 0.15s, transform 0.15s; font-size: 18px; line-height: 1; }
.trow:hover .c-go, .trow:focus-visible .c-go { opacity: 1; transform: none; color: var(--accent); }
.trow:focus-visible { outline: 1px solid rgba(255, 102, 77, 0.55); outline-offset: -1px; }
.vs { display: inline-block; font: 500 12.5px var(--mono); padding: 2px 8px; border-radius: 6px; }
.vs.under { color: var(--good); background: rgba(127, 224, 168, 0.1); }
.vs.over { color: var(--warn); background: rgba(240, 198, 116, 0.1); }
.vs.flat, .vs.none { color: var(--muted); background: var(--hover); }
.side-tag { display: inline-block; font: 500 10.5px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; padding: 1px 6px; border-radius: 5px; margin-right: 8px; vertical-align: 0.1em; }
.side-tag.sell { color: var(--accent); background: rgba(255, 102, 77, 0.12); }
.side-tag.buy { color: var(--good); background: rgba(127, 224, 168, 0.1); }
.prog { display: flex; gap: 3px; margin-top: 7px; max-width: 150px; }
.prog i { flex: 1; height: 3px; border-radius: 2px; background: var(--hover); }
.prog i.on { background: var(--accent); }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 8px; vertical-align: 0.12em; background: var(--muted); }
.dot.ok, .dot.k-filled, .dot.k-dropped { background: var(--good); }
.dot.ok { box-shadow: 0 0 0 3px rgba(127, 224, 168, 0.16); }
.dot.k-bought, .dot.k-buyback, .dot.k-burned { background: var(--accent); }
.dot.off { background: var(--warn); }
.copy { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; color: var(--text); }
.copy svg { width: 13px; height: 13px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.copy:hover svg { stroke: var(--accent); }
.sum .total { padding-top: 8px; margin-top: 2px; border-top: 1px solid var(--line); font-weight: 600; }
.sum .total span:first-child { color: var(--text); }
.hold.low { color: var(--warn); }
.hold.out { color: var(--bad); }
.strip { position: fixed; left: 0; right: 0; bottom: 0; z-index: 4; display: flex; align-items: center; height: 30px; padding: 0 6px; background: rgba(0, 0, 0, 0.78); backdrop-filter: var(--glass); -webkit-backdrop-filter: var(--glass); border-top: 1px solid var(--line); font: 500 11.5px var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; }
.strip > span { display: inline-flex; align-items: center; padding: 0 12px; border-right: 1px solid rgba(125, 125, 140, 0.16); height: 100%; }
.strip > span.grow { border: 0; flex: 1; }
.strip > span:last-child { border-right: 0; }
.strip em { font-style: normal; margin-right: 7px; letter-spacing: 0.06em; text-transform: uppercase; font-size: 10.5px; }
.strip b { color: var(--text); font-weight: 500; }
.toast { bottom: 46px; }
@media (max-width: 720px) {
  .strip { display: none; }
  .toolbar { flex-wrap: wrap; }
  .search { max-width: none; flex: 1 1 100%; }
  .search kbd { display: none; }
  .seg { margin-left: 0; }
  .thead { display: none; }
  .trow { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "coin price" "size vs"; row-gap: 4px; padding: 12px 10px; }
  .trow .c-coin { grid-area: coin; }
  .trow .c-price { grid-area: price; }
  .trow .c-size { grid-area: size; padding-left: 48px; }
  .trow .c-vs { grid-area: vs; }
  .trow .c-age, .trow .c-go { display: none; }
  .toast { bottom: 84px; }
}
@media (max-width: 720px) {
  .trow .c-size { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .trow .c-coin .mid { min-width: 0; }
  .row .mid .sub { white-space: normal; }
}
.btn.docs { color: var(--muted); }
.btn.docs:hover { color: var(--text); }
.btn.docs svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 720px) { .btn.docs { padding: 0 11px; } .btn.docs span { display: none; } }
@media (max-width: 720px) {
  .top { gap: 8px; }
  .top .logo { font-size: 16px; gap: 7px; }
  .top .btn { height: 34px; padding: 0 12px; font-size: 13px; }
  .top .btn.docs { padding: 0 9px; }
  .net { padding: 2px 7px; font-size: 11px; }
}

/* Sidebar: full height against the left edge, label on top, X link and collapse at the foot. Collapses to icons. */
:root { --top: 56px; --sidew: 236px; --strip: 30px; }
.shell { display: flex; align-items: flex-start; gap: 0; max-width: none; margin: 0; padding: 0; min-height: calc(100vh - var(--top)); }
.shell > main { flex: 1; min-width: 0; max-width: 860px; margin: 0 auto; padding: 28px 32px 96px; }
.shell > .rail { flex: none; width: 320px; top: var(--top); padding: 28px 24px 24px 0; max-height: calc(100vh - var(--top) - var(--strip)); overflow-y: auto; scrollbar-width: none; }
.rail:empty { display: none; }
.side { position: sticky; top: var(--top); flex: none; width: var(--sidew); height: calc(100vh - var(--top) - var(--strip)); padding: 18px 10px 12px; gap: 0; border-right: 1px solid var(--line); background: rgba(0, 0, 0, 0.35); display: flex; flex-direction: column; transition: width 0.22s cubic-bezier(0.2, 0.7, 0.2, 1); }
.side-label { padding: 0 12px 8px; color: var(--muted); font-size: 13px; font-weight: 500; white-space: nowrap; }
.side nav.tabs { display: flex; flex-direction: column; gap: 2px; margin: 0; border: 0; overflow: visible; }
.side nav.tabs a, .side-foot a { display: flex; align-items: center; gap: 12px; width: 100%; height: 42px; padding: 0 12px; border: 0; border-radius: 11px; background: none; box-shadow: none; color: rgba(255, 255, 255, 0.72); font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; transition: color 0.15s, background 0.15s; }
.side nav.tabs a:hover, .side-foot a:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.side nav.tabs a.on { color: #fff; background: rgba(255, 255, 255, 0.08); border: 0; box-shadow: none; }
.side nav.tabs a.on svg { color: var(--accent); }
.side svg { width: 20px; height: 20px; flex: none; }
.side svg.fill { fill: currentColor; stroke: none; width: 17px; height: 17px; margin: 0 1.5px; }
.side-foot { margin-top: auto; display: flex; align-items: center; gap: 4px; }
.side-foot a { flex: 1; min-width: 0; }
.side-foot a.soon, .side-foot a.soon:hover { color: rgba(255, 255, 255, 0.35); background: none; cursor: default; overflow: visible; }
[data-tip] { position: relative; }
[data-tip]::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translate(-50%, 3px); padding: 5px 9px; border-radius: 8px; background: #1a1a1f; border: 1px solid rgba(255, 255, 255, 0.1); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.15s, transform 0.15s; z-index: 50; }
[data-tip]:hover::after { opacity: 1; transform: translate(-50%, 0); }
.collapse { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 11px; background: none; color: rgba(255, 255, 255, 0.55); transition: color 0.15s, background 0.15s; }
.collapse:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
body.collapsed .side { width: 68px; }
body.collapsed .side-label { visibility: hidden; }
body.collapsed .side nav.tabs a span, body.collapsed .side-foot a span { display: none; }
body.collapsed .side-foot { flex-direction: column; }
body.collapsed .side-foot a { justify-content: center; padding: 0; }
body.collapsed .side-foot a[data-tip]::after { left: calc(100% + 8px); bottom: 50%; transform: translate(-3px, 50%); }
body.collapsed .side-foot a[data-tip]:hover::after { transform: translate(0, 50%); }
@media (max-width: 1180px) { .shell > .rail { display: none; } }
@media (max-width: 1023px) and (min-width: 721px) {
  .side { width: 68px; }
  .side-label { visibility: hidden; }
  .side nav.tabs a span, .side-foot a span, .collapse { display: none; }
  .side-foot a { justify-content: center; padding: 0; }
}
@media (max-width: 720px) {
  .shell { display: block; }
  .shell > main { padding: 18px 16px 96px; max-width: none; }
  .shell > .rail { display: flex; position: static; width: auto; max-height: none; padding: 0 16px 100px; }
  .side, body.collapsed .side { position: fixed; z-index: 6; top: auto; bottom: 0; left: 0; right: 0; width: auto; height: auto; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); border-right: 0; border-top: 1px solid var(--line); background: rgba(0, 0, 0, 0.78); backdrop-filter: var(--glass); -webkit-backdrop-filter: var(--glass); }
  .side-label, .side-foot { display: none; }
  .side nav.tabs { flex-direction: row; justify-content: space-around; gap: 0; }
  .side nav.tabs a { flex: 1 1 0; flex-direction: column; justify-content: center; gap: 3px; height: 50px; padding: 0 3px; font-size: 11px; border-radius: 12px; }
  .side nav.tabs a span, body.collapsed .side nav.tabs a span { display: block; }
  .side nav.tabs a.on { background: none; }
  .shell > main { padding-bottom: 24px; }
}

/* Right-hand cards: balance with a total, split and per-coin rows; feed with filters. */
.chead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.chead h2 { margin: 0; display: flex; align-items: center; }
.tools { display: flex; gap: 2px; margin: -6px -6px -6px 0; }
.icon { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 8px; background: none; color: var(--muted); }
.icon:hover { color: var(--text); background: var(--hover); }
.icon svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon.turn svg { animation: sp 0.8s linear infinite; }
.btotal { display: flex; align-items: baseline; gap: 2px; }
.btotal .big { font-size: 28px; letter-spacing: -0.03em; line-height: 1.1; }
.btotal .sol { width: 16px; height: 16px; margin-left: 7px; align-self: center; }
.btotal .approx { margin-left: auto; color: var(--muted); font-size: 13px; }
.btotal .redact { width: 96px; height: 18px; margin: 5px 0; }
.bnote { color: var(--muted); font-size: 12px; margin-top: 4px; }
.split { height: 4px; margin: 14px 0 7px; border-radius: 2px; background: #2a2a31; overflow: hidden; }
.split i { display: block; height: 100%; background: var(--accent); border-radius: 2px; transition: width 0.3s; }
.splitkey { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.splitkey b { color: var(--text); font-weight: 500; }
.dot.hot { background: var(--accent); }
.dot.dim { background: #3a3a44; }
.brows { margin: 12px -8px 0; padding-top: 6px; border-top: 1px solid var(--line); display: grid; }
.brow { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 8px; border: 0; border-radius: 10px; background: none; text-align: left; }
.brow:hover { background: var(--hover); }
.coin.sm { width: 26px; height: 26px; border-radius: 8px; font-size: 11.5px; }
.bmid { flex: 1; min-width: 0; display: grid; gap: 5px; }
.bname { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bbar { height: 2px; border-radius: 1px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.bbar i { display: block; height: 100%; background: rgba(255, 102, 77, 0.7); }
.bend { display: grid; justify-items: end; font-size: 13.5px; }
.bend .redact { margin: 0; }
.bsub { color: var(--muted); font-size: 11.5px; min-height: 14px; }
.bgroup { display: flex; justify-content: space-between; margin: 10px 0 2px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font: 500 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.bgroup + .brow, .bgroup ~ a.brow { margin: 0 -8px; width: calc(100% + 16px); }
.bfoot { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.bfoot .btn.small { height: 28px; padding: 0 12px; font-size: 12.5px; }
.synced { margin-left: auto; color: var(--muted); font-size: 11.5px; }
.pulsecard .synced { margin-left: 0; }
.more { margin-left: auto; font-size: 12.5px; color: var(--muted); }
.more:hover { color: var(--accent); }
.seg.mini { margin: -4px 0; padding: 2px; border-radius: 9px; }
.seg.mini button { height: 22px; padding: 0 8px; font-size: 11.5px; border-radius: 7px; }
.evs { display: grid; margin: 0 -8px; }
.rail .evs .ev { width: 100%; padding: 6px 8px; border: 0; border-radius: 9px; background: none; text-align: left; align-items: baseline; }
.rail .evs .ev:hover { background: var(--hover); }
.rail .evs .ev > span:first-child { min-width: 0; }

/* Coin page: a headline figure with the fee ring, four tiles, then where it all went. */
.chipcopy { padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; color: var(--muted); }
.pagehead .btn + .btn, .pagehead .chipcopy + .btn { margin-left: auto; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 26px 28px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(255, 102, 77, 0.16); box-shadow: 0 0 0 46px rgba(255, 102, 77, 0.025), 0 0 0 47px rgba(255, 102, 77, 0.1); pointer-events: none; }
.eyebrow2 { display: flex; align-items: center; color: var(--muted); font: 500 11.5px var(--mono); letter-spacing: 0.09em; text-transform: uppercase; }
.hero-num { font-size: 60px; line-height: 1.05; letter-spacing: -0.045em; margin: 10px 0 8px; font-weight: 500; }
.hero-sub { color: var(--muted); font-size: 14px; }
.hero-wait { display: inline-flex; align-items: center; margin-top: 16px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; color: var(--muted); }
.hero-wait b { color: var(--text); font-weight: 500; margin-right: 6px; }
.hero-ring { position: relative; display: grid; justify-items: center; gap: 12px; }
.ring { width: 148px; height: 148px; }
.ring circle { fill: none; stroke-width: 9; }
.r-track { stroke: #24242a; }
.r-hold { stroke: var(--accent); stroke-linecap: butt; }
.r-burn { stroke: #5a1f14; }
.r-num { fill: var(--text); font: 500 15px var(--mono); text-anchor: middle; letter-spacing: -0.02em; }
.r-lab { fill: var(--muted); font: 500 8px var(--mono); text-anchor: middle; letter-spacing: 0.1em; text-transform: uppercase; }
.legend { display: grid; gap: 4px; font-size: 12.5px; color: var(--muted); }
.legend span { display: flex; align-items: center; }
.legend b { margin-left: auto; padding-left: 14px; color: var(--text); font-weight: 500; }
.dot.burn { background: #8a2f1e; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 14px 0; }
.tile2 { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.tile2 span { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile2 b { font-size: 22px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; }
.tile2 b .sol { width: 14px; height: 14px; }
.tile2 em { font-style: normal; color: var(--muted); font-size: 12px; }
.cols2 { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.cols2 > :only-child { grid-column: 1 / -1; }
.panel2 { padding: 18px 20px; margin-top: 14px; }
.cols2 .panel2 { margin-top: 0; }
.hint2 { color: var(--muted); font-size: 12px; }
.drow { display: flex; align-items: center; gap: 12px; padding: 9px 0; }
.drow + .drow { border-top: 1px solid rgba(125, 125, 140, 0.12); }
.drow.link { margin: 0 -8px; padding: 9px 8px; border-radius: 10px; }
.drow.link:hover { background: var(--hover); }
.dmid { flex: 1; min-width: 0; display: grid; gap: 6px; }
.dname { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dname em, .dend em { font-style: normal; font-weight: 400; color: var(--muted); font-size: 12px; }
.dname em { margin-left: 8px; }
.dbar { display: flex; gap: 2px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.05); overflow: hidden; }
.dbar i { height: 100%; background: var(--accent); border-radius: 3px; }
.dbar i.wait { background: repeating-linear-gradient(90deg, #3a3a44 0 5px, #2a2a31 5px 7px); }
.dend { display: grid; justify-items: end; font-size: 14px; white-space: nowrap; }
.coin.sm.burn { background: rgba(240, 198, 116, 0.1); color: var(--warn); }
.tl { display: grid; }
.tlrow { display: grid; grid-template-columns: 14px 68px 1fr auto; align-items: center; gap: 8px; padding: 8px 0; font-size: 13.5px; position: relative; }
.tlrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(255, 102, 77, 0.14); }
.tlrow + .tlrow::before { content: ""; position: absolute; left: 3px; top: -11px; width: 1px; height: 22px; background: var(--line); }
.tlrow span.num { color: var(--muted); font-size: 12px; }
.minegrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 10px; }
.minegrid div { display: grid; gap: 3px; }
.minegrid span { color: var(--muted); font-size: 12.5px; }
.minegrid b { font-weight: 500; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mine .btn { margin: 4px 0 10px; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cols2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; }
  .hero-num { font-size: 46px; }
  .hero-ring { grid-template-columns: auto 1fr; justify-items: start; align-items: center; gap: 18px; }
  .ring { width: 110px; height: 110px; }
  .pagehead .btn { display: none; }
  .minegrid { grid-template-columns: 1fr 1fr; }
}

/* ---------- instant house buy (sell form) ---------- */
.vicon { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -2px; }
.house:empty { display: none; }
.hq { display: grid; gap: 10px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255, 102, 77, 0.28); background: rgba(255, 102, 77, 0.06); }
.hq.off { border-color: var(--line); background: none; color: var(--muted); font-size: 13px; padding: 10px 14px; }
.hq-head { display: flex; align-items: center; gap: 10px; }
.hq-head b { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-weight: 600; font-size: 14px; }
.vbadge { margin-left: auto; padding: 2px 8px; border-radius: 6px; background: rgba(255, 102, 77, 0.14); color: var(--accent); font: 500 11px var(--mono); letter-spacing: 0.03em; white-space: nowrap; }
.hq p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.hq p.warnline { color: var(--warn); }
.hq-rows { display: grid; gap: 6px; font-size: 13.5px; }
.hq-rows div { display: flex; justify-content: space-between; gap: 12px; }
.hq-rows div span:first-child { color: var(--muted); }
.hq-rows .total { padding-top: 8px; border-top: 1px solid rgba(255, 102, 77, 0.18); font-weight: 600; }
.hq-rows em { font-style: normal; }
.hq .btn { height: 40px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.note.warn { margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(240, 198, 116, 0.3); color: var(--warn); font-size: 13px; }
.note.warn a { color: inherit; }

/* ---------- Coin page: the flywheel ---------- */
.hero-unit { font-size: 0.38em; letter-spacing: -0.01em; color: var(--muted); margin-left: 12px; font-weight: 500; }
.wheel { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 300px; }
.wstep { position: relative; display: grid; gap: 2px; padding: 12px 12px 12px 42px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.02); }
.wstep i { position: absolute; left: 12px; top: 12px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font: 600 11px var(--mono); font-style: normal; background: var(--hover); color: var(--muted); }
.wstep b { font-size: 13.5px; font-weight: 600; }
.wstep span { color: var(--muted); font-size: 11.5px; line-height: 1.35; }
.wstep.hot { border-color: rgba(255, 102, 77, 0.35); background: rgba(255, 102, 77, 0.07); }
.wstep.hot i { background: var(--accent); color: #000; }
/* the loop: 1 -> 2 across, 2 -> 3 down, 3 -> 4 back, 4 -> 1 up */
.wheel::before { content: ""; position: absolute; inset: 22% 24%; border: 1.5px dashed rgba(255, 102, 77, 0.35); border-radius: 50%; z-index: -1; }
.wheel .wstep:nth-child(3) { order: 4; }
.chead h2 .vicon { color: var(--accent); margin-right: 6px; }
.tl.rules .tlrow { grid-template-columns: 14px 1fr auto; padding: 7px 0; }
.tl.rules .tlrow span:first-of-type { color: var(--muted); }
.tl.rules .tlrow span:last-child { color: var(--text); font: 500 12.5px var(--mono); text-align: right; }
.rnote { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
@media (max-width: 900px) { .wheel { width: 100%; } }

/* Desk and Trades: numbers strip, filter chips, watchlist stars, trade links */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 14px; }
.stat { display: grid; gap: 4px; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); text-align: left; color: var(--text); font: inherit; }
.stat > span { color: var(--muted); font: 500 10.5px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.stat b { display: flex; align-items: center; gap: 4px; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat b .sol { width: 13px; height: 13px; margin: 0; }
.stat b .muted { font-weight: 500; }
button.stat { cursor: pointer; transition: background 0.15s, border-color 0.15s; }
button.stat:hover { background: var(--hover); border-color: rgba(255, 102, 77, 0.35); }
.fchips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: -4px 0 14px; }
.fchips .seg:first-child { margin-left: 0; }
.fchip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--muted); font-size: 12.5px; font-weight: 500; cursor: pointer; transition: color 0.15s, background 0.15s, border-color 0.15s; }
.fchip:hover { color: var(--text); background: var(--hover); }
.fchip.on { color: var(--text); border-color: rgba(255, 102, 77, 0.45); background: rgba(255, 102, 77, 0.08); }
.fchip svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.fchip.on svg { color: var(--accent); fill: currentColor; }
.fchip .num { color: var(--accent); }
.star { display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; margin: 0 -6px 0 -6px; border-radius: 6px; color: var(--muted); opacity: 0.35; transition: opacity 0.15s, color 0.15s, background 0.15s; }
.star svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.trow:hover .star { opacity: 0.8; }
.star:hover { opacity: 1; background: var(--hover); color: var(--text); }
.star.on { opacity: 1; color: var(--warn); }
.star.on svg { fill: currentColor; }
.trow.fresh { animation: freshrow 9s ease-out; }
@keyframes freshrow { 0%, 60% { background: rgba(255, 102, 77, 0.1); } 100% { background: transparent; } }
.since.up { color: var(--good); }
.since.down { color: var(--bad); }
.since.flat { color: var(--muted); }
.tlink { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 6px; border-radius: 9px; color: var(--muted); vertical-align: middle; opacity: 0; transition: opacity 0.15s, background 0.15s, color 0.15s; }
.tlink svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.row:hover .tlink, .tlink:focus-visible { opacity: 1; }
.tlink:hover { background: var(--hover); color: var(--accent); }
.row .end { display: flex; align-items: center; justify-content: flex-end; }
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fchips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  .fchips::-webkit-scrollbar { display: none; }
  .fchips > * { flex: none; }
  .star { opacity: 0.6; }
  .tlink { opacity: 1; }
  .pagehead .btn[href="#/sell"], .pagehead .btn[data-act="csv"], .pagehead .btn[data-act="disconnect"], .pagehead .btn[data-act="copy"] { display: inline-flex; }
}

/* Profile: private balance card and section headers; desk rows open the trade page */
.pcard { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.pcard b { display: block; font-weight: 600; margin-bottom: 3px; }
.pcard p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.45; max-width: 46ch; }
.pcard .btn { flex: none; }
.pcard + .status:empty { display: none; }
.shead { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.shead h2 { margin: 0; }
.shead .count { color: var(--muted); font-size: 12px; padding: 1px 7px; border: 1px solid var(--line); border-radius: 999px; }
.shead .btn { margin-left: auto; }
a.row.trow { color: inherit; text-decoration: none; }
a.row.trow:hover { background: var(--hover); }
a.stat { color: var(--text); text-decoration: none; cursor: pointer; transition: background 0.15s, border-color 0.15s; }
a.stat:hover { background: var(--hover); border-color: rgba(255, 102, 77, 0.35); }
@media (max-width: 720px) {
  .pcard { flex-direction: column; align-items: stretch; }
  .shead .btn { display: inline-flex; }
}

/* ---------- profile: private, laid out like a trader page, every figure blank until unlocked ---------- */
body.pfpage .shell > .rail { display: none; }
body.pfpage .shell > main { max-width: 1180px; padding-top: 18px; }
.pf .redact { margin: 0; }
.pf .down { color: var(--bad); }
.pf .flat { color: var(--muted); }
.pfwho { display: flex; align-items: center; gap: 14px; }
.pfav { flex: none; display: block; width: 30px; height: 30px; border-radius: 50%; }
.pfav.lg { width: 56px; height: 56px; box-shadow: 0 0 0 1px var(--line); }
.pfav.xs { width: 26px; height: 26px; }
.pfname { display: grid; gap: 1px; flex: 1; min-width: 0; }
.pfname b, .pfname span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pfname b { font: 600 17px var(--head); letter-spacing: -0.01em; }
.pfname span { color: var(--muted); font-size: 13px; }
.pfacts { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.pfic { width: 30px; height: 30px; border: 1px solid var(--line); background: var(--panel); }
.pfmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 12px 0 0 2px; color: var(--muted); font-size: 12.5px; }
.pfmeta b { color: var(--text); font-weight: 600; }
.pfmeta .redact { width: 22px; vertical-align: -0.05em; }
.pfpriv { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px 2px 7px; border-radius: 999px; background: rgba(255, 102, 77, 0.1); color: var(--accent); font-weight: 500; }
.pfpriv svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pftop { display: flex; gap: 8px; margin: 16px 0 0; overflow-x: auto; scrollbar-width: none; }
.pftt { flex: none; display: grid; gap: 6px; min-width: 150px; padding: 8px 11px 9px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--text); text-decoration: none; transition: background 0.15s; }
a.pftt:hover { background: var(--hover); }
.pfrank { justify-self: start; padding: 1px 6px; border-radius: 5px; background: var(--hover); color: var(--muted); font: 500 10px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.pftt > div { display: flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 13.5px; }
.pftt .coin.sm { width: 20px; height: 20px; border-radius: 50%; font-size: 10px; }
.pftt > div > .coin.sm:empty { background: var(--hover); }
.pftt b { display: inline-flex; align-items: center; gap: 3px; font-weight: 600; }
.pftt b .sol { width: 12px !important; height: 12px !important; }
.pfpct { font: 500 11.5px var(--mono); }
.pfgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); align-items: start; }
.pfcol { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pfcard { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); padding: 14px; min-width: 0; }
.pfch { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; min-height: 26px; }
.pfch h2 { margin: 0; font: 600 14px var(--head); }
.pfch .count { color: var(--muted); font-size: 12px; }
.pfch .count .redact { width: 14px; }
.pfch .seg { margin-left: auto; }
.pfch > .muted { font-size: 12px; }
.pfvalue { padding: 0; overflow: hidden; }
.pfvh { display: flex; align-items: flex-start; gap: 10px; padding: 14px 14px 0; }
.pfvh .seg { margin-left: auto; }
.pfbig { display: flex; align-items: center; gap: 4px; min-height: 40px; font: 500 34px var(--head); letter-spacing: -0.035em; line-height: 1.15; }
.pfbig .redact { width: 130px; height: 26px; }
.pfbig .sol { width: 22px !important; height: 22px !important; }
.pfsub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 2px; font-size: 13px; }
.pfsub em { margin-left: 4px; color: var(--muted); font-style: normal; white-space: nowrap; }
.pfsub .redact { width: 54px; }
.pfchart { position: relative; height: 150px; margin-top: 8px; }
.pfline { display: block; width: 100%; height: 100%; overflow: visible; }
.pfline path { fill: none; stroke: var(--brand); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.pfline path.fill { fill: url(#pfg); stroke: none; }
.pfline.blank path { stroke: var(--line); stroke-dasharray: 4 5; }
.pfcl { position: absolute; left: 14px; bottom: 8px; color: var(--muted); font: 500 10px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.7; }
.pfcash { display: flex; align-items: center; gap: 12px; margin: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0, 0, 0, 0.25); }
.pfcash > svg:not(.sol) { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--muted); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pfcash > div { display: grid; gap: 1px; min-width: 0; margin-right: auto; }
.pfcash span { color: var(--muted); font-size: 12px; }
.pfcash b { font-size: 15px; font-weight: 600; }
.pfcash b.pfhint { font-size: 12.5px; font-weight: 400; color: var(--muted); }
.pfvalue .status { margin: 0 14px 10px; }
.pfvalue .status:empty { display: none; }
.pfwrows { display: grid; gap: 2px; }
.pfwrows > div { display: flex; align-items: center; gap: 9px; padding: 5px 6px; border-radius: 9px; font-size: 13.5px; }
.pfwrows > div:hover { background: var(--hover); }
.pfwrows b { margin-left: auto; font-weight: 500; }
.pfrow { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.9fr) 84px; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 10px; font-size: 13.5px; }
.pfrow:not(.pfth):hover { background: var(--hover); }
.pfrow > .btn { justify-self: end; }
.pfth { padding-top: 0; padding-bottom: 6px; color: var(--muted); font: 500 10.5px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; border-bottom: 1px solid var(--line); border-radius: 0; margin-bottom: 4px; }
.pfval { text-align: right; }
.pftok { display: flex; align-items: center; gap: 9px; min-width: 0; }
.pftok .coin { width: 30px; height: 30px; border-radius: 50%; font-size: 12px; }
.pftok .coin:empty { background: var(--hover); }
.pftok > span:last-child { display: grid; min-width: 0; }
.pftok b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pftok em { color: var(--muted); font: normal 11.5px var(--mono); }
.pftok em .redact { width: 34px; height: 0.6em; }
.pfpx .sol { width: 12px; height: 12px; }
.pfnone { padding: 10px 6px; margin: 0; }
.pffeed { padding-bottom: 6px; }
.pftabs { display: flex; gap: 2px; }
.pftabs button { height: 26px; padding: 0 9px; border: 0; border-radius: 8px; background: none; color: var(--muted); font-size: 13px; font-weight: 500; }
.pftabs button.on { color: var(--text); background: var(--hover); }
.pftabs button:hover { color: var(--text); }
.pffeed .pfch { margin: -2px -4px 6px 0; }
.pffeed .pfic { margin-left: 2px; }
.pfevs { margin: 0 -6px; }
.pfev { display: flex; align-items: flex-start; gap: 10px; padding: 10px 6px; border-top: 1px solid rgba(125, 125, 140, 0.12); border-radius: 10px; }
.pfev:first-child { border-top: 0; }
.pfev:hover { background: var(--hover); }
.pfev:hover .tlink { opacity: 1; }
.pfevm { display: grid; gap: 4px; min-width: 0; flex: 1; font-size: 13px; }
.pfevm > div:first-child { display: flex; align-items: center; gap: 7px; }
.pfevm .side-tag { margin: 0; }
.pfevm .muted { font-size: 11.5px; }
.pfevl { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 5px; }
.pfevl em { color: var(--muted); font-style: normal; }
.pfevl .coin.sm { width: 18px; height: 18px; border-radius: 50%; font-size: 9.5px; }
.pfevl .sol { width: 12px; height: 12px; margin: 0 0 0 2px; }
.pfevl .since { margin-left: -3px; }
.pfevr { display: flex; align-items: center; gap: 6px; flex: none; }
.pfevr .muted { font-size: 12px; }
.pfevr .tlink { margin: 0; width: 26px; height: 26px; }
.pfev.ghost .pfevl .redact { width: 64px; }
.pfev.ghost .pfevl .redact:first-of-type { width: 92px; }
.pfev.ghost .coin.sm { background: var(--hover); }
.pfev.ghost > .muted .redact { width: 26px; }
@media (max-width: 1000px) { .pfgrid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) {
  body.pfpage .shell > main { padding: 14px 16px 96px; }
  .pfwho { gap: 10px; }
  .pfav.lg { width: 46px; height: 46px; }
  .pfname b { font-size: 15.5px; }
  .pfname span { font-size: 12px; }
  .pfacts .btn.small { padding: 0 10px; }
  .pfbig { font-size: 28px; }
  .pfvh { flex-direction: column; gap: 8px; }
  .pfvh .seg { margin-left: 0; }
  .pfchart { height: 110px; }
  .pfrow { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.9fr) auto; gap: 8px; }
  .pfrow .pfpx { display: none; }
  .pffeed .pfch { flex-wrap: wrap; }
  .pfevr .chip { display: none; }
}

/* ---------- Newly Verified: the rail's live scanner ---------- */
.nvcard .chead h2 { display: flex; align-items: center; gap: 8px; }
.dot.live { animation: nvpulse 2s ease-in-out infinite; }
@keyframes nvpulse { 50% { box-shadow: 0 0 0 6px rgba(127, 224, 168, 0); } }
.nvday { color: var(--muted); font-size: 12px; }
.nvsub { margin: -4px 0 10px; color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.nvs { display: grid; margin: 0 -8px; }
.nv { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; color: var(--text); text-decoration: none; }
.nv:hover { background: var(--hover); }
.nv.fresh { animation: freshrow 2.4s ease-out; }
.nvic { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; overflow: hidden; background: rgba(255, 102, 77, 0.12); color: var(--accent); font-size: 12px; }
.nvic img { width: 100%; height: 100%; object-fit: cover; }
.nvm, .nve { display: grid; min-width: 0; line-height: 1.25; }
.nvm b { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nvm em, .nve em { color: var(--muted); font-size: 11.5px; font-style: normal; white-space: nowrap; }
.nve { margin-left: auto; text-align: right; font-size: 13px; }

/* profile: the Private / Public switch */
.pfmode { display: flex; align-items: center; gap: 14px; margin: 14px 0 0; padding: 6px 14px 6px 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.pfseg { flex: none; display: flex; padding: 3px; border-radius: 11px; background: rgba(0, 0, 0, 0.45); border: 1px solid var(--line); }
.pfseg button { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 16px; border: 0; border-radius: 8px; background: none; color: var(--muted); font: 600 14px var(--head); cursor: pointer; transition: background 0.15s, color 0.15s; }
.pfseg button:hover { color: var(--text); }
.pfseg button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pfseg button.on[data-k="priv"] { background: rgba(232, 65, 37, 0.16); color: var(--accent); box-shadow: inset 0 0 0 1px rgba(255, 102, 77, 0.35); }
.pfseg button.on[data-k="pub"] { background: var(--hover); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.pfmode p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.pfpriv.pub { background: var(--hover); color: var(--text); }
@media (max-width: 720px) {
  .pfmode { flex-direction: column; align-items: stretch; gap: 8px; padding: 6px 6px 10px; }
  .pfseg button { flex: 1; justify-content: center; }
  .pfmode p { padding: 0 6px; font-size: 12.5px; }
}
