
:root {
  --bg: #0e0e11;
  --fg: #f1f1f3;
  --muted: #848e9c;
  --line: #23232b;
  --card: #16161c;
  --hover: #1c1c24;
  --green: #88d693;
  --green-rgb: 136, 214, 147;
  --red: #f6465d;
  --gold: #e5b94c;
  --accent: #88d693;
  --row-h: 48px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg);
  font-family: Inter, "PingFang SC", "Noto Sans SC", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.4; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { max-width: 1480px; margin: 0 auto; padding: 0 20px 72px; }
a { color: var(--fg); text-decoration: none; }
a:hover { color: var(--green); }
h1 { font-size: 20px; font-weight: 650; margin: 0 0 6px; letter-spacing: -0.02em; }
h2 { font-size: 15px; font-weight: 600; margin: 0 0 10px; }
.brand { margin: 0; display: flex; align-items: center; gap: 12px; }
.brand a { color: var(--fg); font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; font-size: 22px; line-height: 1;
  display: flex; align-items: center; gap: 10px; }
.brand a:hover { color: var(--green); }
.brand-ico { width: 18px; height: 18px; display: block; }
.chain-switch { display: inline-flex; align-items: center; gap: 4px; }
.chain-switch a.chain-btn {
  font-size: 11px; font-weight: 800; letter-spacing: 0.06em;
  padding: 3px 8px; border: 1px solid var(--line); border-radius: 4px;
  color: var(--muted); line-height: 1.2;
}
.chain-switch a.chain-btn.chain-robinhood { color: #88d693; }
.chain-switch a.chain-btn.chain-robinhood.on {
  border-color: #88d693; color: #88d693; background: rgba(136, 214, 147, 0.14);
}
.chain-switch a.chain-btn.chain-bsc { color: #F0B90B; }
.chain-switch a.chain-btn.chain-bsc.on {
  border-color: #F0B90B; color: #F0B90B; background: rgba(240, 185, 11, 0.16);
}
.chain-switch a.chain-btn.chain-arc { color: #3DDBD9; }
.chain-switch a.chain-btn.chain-arc.on {
  border-color: #3DDBD9; color: #3DDBD9; background: rgba(61, 219, 217, 0.16);
}
.chain-switch a.chain-btn.chain-solana { color: #9945FF; }
.chain-switch a.chain-btn.chain-solana.on {
  border-color: #9945FF; color: #9945FF; background: rgba(153, 69, 255, 0.16);
}
.muted, .dim { color: var(--muted); }
.up { color: var(--green); }
.dn { color: var(--red); }
header {
  display: flex; align-items: center; gap: 20px;
  position: sticky; top: 0; z-index: 20;
  background: rgba(14, 14, 17, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  margin: 0 -20px 18px;
  padding-left: 20px; padding-right: 20px;
}
nav { display: flex; gap: 2px; margin: 0; flex-shrink: 0; }
nav a { color: var(--muted); padding: 6px 12px; border-radius: 6px; font-size: 13px; font-weight: 500; }
nav a:hover { color: var(--fg); background: var(--hover); text-decoration: none; }
nav a.on { color: var(--green); background: rgba(var(--green-rgb), 0.08); }
.meta { margin: 0 0 0 auto; font-size: 12px; color: var(--muted); white-space: nowrap;
  display: flex; align-items: center; gap: 8px; }
.meta .on { color: var(--fg); }
.db-size {
  flex-shrink: 0; font-variant-numeric: tabular-nums; font-weight: 550;
  color: var(--muted); letter-spacing: 0.02em;
}
section { margin-bottom: 28px; }
.block { margin-top: 32px; }
.block h2 { margin-bottom: 6px; }
.block > .muted { margin: 0 0 12px; font-size: 12px; }
.pagehead { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 14px; }
.pagehead .subtabs { flex-basis: 100%; }
.subpane { display: none; }
.subpane.on { display: block; }
.subpane > .muted { margin: 0 0 12px; font-size: 12px; }
.pagehead h1 { margin: 0; }
.pagehead .search { margin-left: auto; }
.pagehead-tools { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; overflow: visible; }
.pagehead-tools .search { margin-left: 0; }
.hold-filters { display: inline-flex; align-items: center; gap: 6px; overflow: visible; }
.gate-filters { display: inline-flex; align-items: center; gap: 6px; overflow: visible; }
.gate-filters + .hold-filters,
.gate-filters + .heat-win {
  padding-left: 10px; margin-left: 2px; border-left: 1px solid var(--line);
}
button.gate-filter {
  appearance: none; background: var(--card); border: 1px solid var(--line);
  color: var(--muted); padding: 0 10px; border-radius: 999px;
  font-size: 12px; font-family: inherit; cursor: pointer;
  height: 28px; display: inline-flex; align-items: center;
  white-space: nowrap; position: relative;
}
button.gate-filter.on {
  border-color: var(--green); color: var(--green);
  background: rgba(var(--green-rgb), 0.12); font-weight: 650;
}
button.hold-filter {
  appearance: none; background: var(--card); border: 1px solid var(--line);
  color: var(--muted); padding: 4px 12px; border-radius: 999px;
  font-size: 12px; font-family: inherit; cursor: pointer;
  display: inline-flex; align-items: center; white-space: nowrap;
  position: relative; }
.hold-filters button.hold-filter {
  box-sizing: border-box; width: 36px; height: 28px; min-width: 36px;
  padding: 0; justify-content: center; font-size: 12px; line-height: 1;
}
button.hold-filter[data-tip]:hover::after,
button.gate-filter[data-tip]:hover::after {
  content: attr(data-tip);
  position: absolute; left: 50%; top: calc(100% + 7px); transform: translateX(-50%);
  background: #1c1c22; border: 1px solid var(--line); color: var(--fg);
  font-size: 11px; font-weight: 500; line-height: 1.2; padding: 5px 8px;
  border-radius: 6px; white-space: nowrap; z-index: 40; pointer-events: none;
  box-shadow: 0 6px 16px rgba(0,0,0,.4); }
button.hold-filter[data-filter="fav"] {
  font-size: 13px;
}
button.hold-filter[data-filter="fav"]:hover { color: var(--gold); border-color: var(--gold); }
button.hold-filter[data-filter="fav"].on { border-color: var(--gold); color: var(--gold);
  background: rgba(229, 185, 76, 0.12); }
button.hold-filter[data-filter="new"]:hover { color: var(--green); border-color: var(--green); }
button.hold-filter[data-filter="new"].on { border-color: var(--green); color: var(--green);
  background: rgba(var(--green-rgb), 0.12); }
button.hold-filter[data-filter="s"]:hover { color: var(--green); border-color: var(--green); }
button.hold-filter[data-filter="s"].on { border-color: var(--green); color: var(--green);
  background: rgba(var(--green-rgb), 0.12); }
button.hold-filter[data-filter="a"]:hover { color: var(--gold); border-color: var(--gold); }
button.hold-filter[data-filter="a"].on { border-color: var(--gold); color: var(--gold);
  background: rgba(229, 185, 76, 0.12); }
button.hold-filter[data-filter="up"]:hover { color: var(--green); border-color: var(--green); }
button.hold-filter[data-filter="up"].on { border-color: var(--green); color: var(--green);
  background: rgba(var(--green-rgb), 0.12); }
button.hold-filter[data-filter="down"]:hover { color: var(--red); border-color: var(--red); }
button.hold-filter[data-filter="down"].on { border-color: var(--red); color: var(--red);
  background: rgba(246, 70, 93, 0.12); }
button.hold-filter[data-filter="bull"]::before,
button.hold-filter[data-filter="bear"]::before {
  content: ""; width: 11px; height: 11px; border-radius: 50%;
  box-sizing: border-box; opacity: 0.55;
}
button.hold-filter[data-filter="bull"]::before { border: 1.5px solid var(--green); }
button.hold-filter[data-filter="bear"]::before { border: 1.5px solid var(--red); }
button.hold-filter[data-filter="bull"]:hover { border-color: var(--green); }
button.hold-filter[data-filter="bull"]:hover::before,
button.hold-filter[data-filter="bull"].on::before {
  opacity: 1; background: var(--green); border-color: var(--green);
}
button.hold-filter[data-filter="bull"].on { border-color: var(--green);
  background: rgba(var(--green-rgb), 0.12); }
button.hold-filter[data-filter="bear"]:hover { border-color: var(--red); }
button.hold-filter[data-filter="bear"]:hover::before,
button.hold-filter[data-filter="bear"].on::before {
  opacity: 1; background: var(--red); border-color: var(--red);
}
button.hold-filter[data-filter="bear"].on { border-color: var(--red);
  background: rgba(246, 70, 93, 0.12); }
button.hold-filter.hold-tab-only,
button.hold-filter.watch-hold-only { display: none; }
body:not(.searching).fav-only-on table.sheet tr.token-row:not(.faved),
body:not(.searching).fav-only-on table.sheet tr.token-row:not(.faved) + tr.detail,
body:not(.searching).fav-only-on table.flow tr.token-row:not(.faved),
body:not(.searching).fav-only-on table.flow tr.token-row:not(.faved) + tr.detail,
body:not(.searching) tr.grade-hide,
body:not(.searching).s-up-on:not(.s-down-on) tr.token-row:not(.s-up),
body:not(.searching).s-up-on:not(.s-down-on) tr.token-row:not(.s-up) + tr.detail,
body:not(.searching).s-down-on:not(.s-up-on) tr.token-row:not(.s-down),
body:not(.searching).s-down-on:not(.s-up-on) tr.token-row:not(.s-down) + tr.detail,
body:not(.searching).s-up-on.s-down-on tr.token-row:not(.s-up):not(.s-down),
body:not(.searching).s-up-on.s-down-on tr.token-row:not(.s-up):not(.s-down) + tr.detail,
body:not(.searching).fresh-on tr.token-row:not(.is-new),
body:not(.searching).fresh-on tr.token-row:not(.is-new) + tr.detail,
body:not(.searching).stance-up-on:not(.stance-dn-on) tr.token-row:not(.stance-up),
body:not(.searching).stance-up-on:not(.stance-dn-on) tr.token-row:not(.stance-up) + tr.detail,
body:not(.searching).stance-dn-on:not(.stance-up-on) tr.token-row:not(.stance-dn),
body:not(.searching).stance-dn-on:not(.stance-up-on) tr.token-row:not(.stance-dn) + tr.detail,
body:not(.searching).stance-up-on.stance-dn-on tr.token-row:not(.stance-up):not(.stance-dn),
body:not(.searching).stance-up-on.stance-dn-on tr.token-row:not(.stance-up):not(.stance-dn) + tr.detail {
  display: none !important; }
.pagehead-title { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.pagehead-title h1 { white-space: nowrap; }
.pagehead .token-actions { margin-left: auto; display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.token-add, .follow-add { display: inline-flex; gap: 6px; align-items: center; }
.token-add input, .follow-add input {
  width: min(280px, 38vw); background: var(--card); border: 1px solid var(--line);
  color: var(--fg); padding: 2px 12px; border-radius: 999px;
  font-size: 12px; font-family: inherit; outline: none; }
.token-add input:focus, .follow-add input:focus, .follow-add select:focus { border-color: var(--green); }
.token-add input::placeholder, .follow-add input::placeholder { color: var(--muted); }
.follow-add select {
  width: min(320px, 52vw); background: var(--card); border: 1px solid var(--line);
  color: var(--fg); padding: 2px 10px; border-radius: 999px;
  font-size: 12px; font-family: inherit; outline: none; max-width: 100%; }
.token-add button, .follow-add button {
  appearance: none; background: var(--card); border: 1px solid var(--line);
  color: var(--muted); padding: 2px 10px; border-radius: 999px;
  font-size: 12px; font-family: inherit; cursor: pointer; }
.token-add button:hover, .follow-add button:hover { color: var(--green); border-color: var(--green); }
.pagehead .token-pills { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; flex-basis: 100%; }
.pagehead .token-pills .pill { margin: 0; }
.pagehead .token-meta { margin-left: auto; font-size: 12px; color: var(--muted); }
.pagehead .muted { flex-basis: 100%; margin: 0; font-size: 12px; }
.pagehead input.search {
  width: min(240px, 42vw); background: var(--card); border: 1px solid var(--line);
  color: var(--fg); padding: 4px 12px; border-radius: 999px;
  font-size: 12px; font-family: inherit; outline: none; }
.pagehead input.search:focus { border-color: var(--green); }
.pagehead input.search::placeholder { color: var(--muted); }
tr.filter-hide { display: none !important; }
a.refresh, button.refresh {
  appearance: none; background: var(--card); border: 1px solid var(--line);
  color: var(--muted); padding: 0 10px; border-radius: 999px;
  font-size: 12px; font-family: inherit; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  box-sizing: border-box; height: 24px; line-height: 1; }
a.refresh:hover, button.refresh:hover { color: var(--green); border-color: var(--green); }
html.login, body.login { max-width: none; margin: 0; padding: 0; min-height: 100%; }
body.login {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: #0e0e11; }
.login-box {
  width: 280px; display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 36px 28px 32px; background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; }
.login-feather { width: 56px; height: 56px; display: block; }
.login-box h1 {
  margin: 0; font-size: 22px; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; }
.login-err { margin: 0; font-size: 13px; color: var(--red); }
.login-box label {
  width: 100%; display: flex; flex-direction: column; gap: 6px;
  font-size: 12px; color: var(--muted); }
.login-box input {
  width: 100%; box-sizing: border-box; background: #0e0e11; border: 1px solid var(--line);
  color: var(--fg); font-size: 15px; font-family: inherit; padding: 10px 12px;
  border-radius: 8px; }
.login-box input:focus { outline: none; border-color: #00c805; }
.login-box button {
  appearance: none; width: 100%; margin-top: 4px; padding: 10px 12px;
  background: #00c805; border: 0; border-radius: 8px; color: #04140a;
  font-size: 15px; font-weight: 700; font-family: inherit; cursor: pointer; }
.login-box button:hover { filter: brightness(1.06); }
.count { display: inline-block; font-size: 12px; font-weight: 600; color: var(--muted);
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 1px 8px; vertical-align: middle; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stats div { background: var(--card); border: 1px solid var(--line); padding: 12px 14px; border-radius: 10px; }
.stats span { display: block; color: var(--muted); font-size: 12px; }
.stats strong { font-size: 22px; font-weight: 650; }
.stats small { display: block; color: var(--muted); margin-top: 4px; }
table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--muted); font-weight: 500; font-size: 12px; white-space: nowrap; }
thead th.sortable { cursor: pointer; user-select: none; }
thead th.sortable:hover { color: var(--fg); }
thead th.sortable.sort-asc::after,
thead th.sortable.sort-desc::after {
  content: " ▲"; font-size: 10px; color: var(--green); font-weight: 700;
}
thead th.sortable.sort-desc::after { content: " ▼"; }
thead th { position: sticky; top: 52px; background: var(--bg); z-index: 5; }
table:not(.inner) tbody > tr:not(.detail) { height: var(--row-h); }
table:not(.inner) tbody > tr:not(.detail) > td {
  height: var(--row-h);
  padding-top: 4px; padding-bottom: 4px; overflow: hidden;
}
tbody tr:hover { background: var(--hover); }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
th.num { font-variant-numeric: tabular-nums; }
.col-kind { white-space: nowrap; min-width: 5.2em; padding-right: 18px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
ul.plain { padding-left: 18px; }
.pill { display: inline-block; background: var(--card); border: 1px solid var(--line);
  padding: 2px 8px; margin: 0 6px 6px 0; border-radius: 999px; font-size: 12px; }
a.pill { color: var(--fg); }
a.pill.current { border-color: var(--green); color: var(--green); }
a.pill.expired { opacity: 0.55; border-style: dashed; color: var(--muted); }
a.token-update, form.token-update { display: inline-block; margin: 0; }
a.token-update, form.token-update button { display: inline-block; border: 1px solid var(--line); color: var(--muted);
  padding: 2px 10px; border-radius: 999px; font-size: 12px; }
form.token-update button {
  appearance: none; background: var(--card); font-family: inherit; cursor: pointer; }
form.expire { display: inline; margin: 0; }
form.expire button {
  appearance: none; background: var(--card); border: 1px solid var(--line);
  color: var(--muted); padding: 2px 10px; border-radius: 999px;
  font-size: 12px; font-family: inherit; cursor: pointer; }
form.expire button:hover { color: var(--red); border-color: var(--red); }
form.expire.on button { color: var(--muted); border-color: #4a4a55; }
a.token-update:hover, form.token-update button:hover { color: var(--green); border-color: var(--green); }
a.token-update.busy, form.token-update.busy button, .token-add.busy button {
  opacity: 0.55; pointer-events: none; cursor: default;
}
a.track { display: inline-block; border: 1px solid var(--line); color: var(--muted);
  padding: 2px 10px; border-radius: 999px; font-size: 12px; white-space: nowrap; }
a.track:hover { color: var(--green); border-color: var(--green); }
a.track.on { border-color: var(--green); color: var(--green); background: rgba(var(--green-rgb), 0.12); }
a.track.busy { opacity: 0.55; pointer-events: none; }
.follow-block { margin: 12px 0 18px; }
.follow-block h3 { font-size: 12px; font-weight: 600; color: var(--muted); margin: 0 0 8px; }
a.star { display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; color: var(--muted); font-size: 15px; line-height: 1;
  opacity: 0.35; }
a.star::before { content: "★"; }
a.star:hover { color: var(--gold); opacity: 1; }
a.star.on { color: var(--gold); opacity: 1; }
a.star.busy { pointer-events: none; opacity: 0.45; }
.marks { display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
a.dot {
  display: inline-flex; width: 11px; height: 11px; border-radius: 50%;
  box-sizing: border-box; opacity: 0.38; flex-shrink: 0;
}
a.dot.up { border: 1.5px solid var(--green); background: transparent; }
a.dot.down { border: 1.5px solid var(--red); background: transparent; }
a.dot.up:hover { opacity: 1; background: rgba(var(--green-rgb), 0.35); }
a.dot.down:hover { opacity: 1; background: rgba(246, 70, 93, 0.35); }
a.dot.up.on { opacity: 1; background: var(--green); border-color: var(--green); }
a.dot.down.on { opacity: 1; background: var(--red); border-color: var(--red); }
a.dot.busy { pointer-events: none; opacity: 0.4; }
.grade { display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 18px; padding: 0 5px; border-radius: 4px;
  font-size: 11px; font-weight: 700; }
.g-S { background: rgba(var(--green-rgb), 0.16); color: var(--green); }
.g-A { background: rgba(229, 185, 76, 0.16); color: var(--gold); }
.g-B { background: rgba(132, 142, 156, 0.18); color: #c5ccd6; }
.g-C { background: rgba(132, 142, 156, 0.1); color: var(--muted); }
.col-last { width: 1%; white-space: nowrap; }
.last-act { display: flex; flex-direction: column; gap: 3px; }
.last-line { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; }
.last-line .col-kind { min-width: 0; padding: 0; }
.last-line .num { font-variant-numeric: tabular-nums; }
.last-tag { color: var(--muted); font-size: 12px; }
.flow-n { font-size: 15px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.flow-buy { color: var(--green); }
.flow-sell { color: var(--red); }
th.col-flow, td.col-flow { width: 1%; white-space: nowrap; }
#early-watch th.col-flow, #early-watch td.col-flow {
  width: auto; min-width: 7.5em; padding-left: 12px; padding-right: 12px; }
.col-holds { border-left: 1px solid var(--line); padding-left: 12px; text-align: right; }
th.col-holds { font-weight: 500; }
td.col-holds .holds { width: 100%; justify-content: flex-end; gap: 6px; }
.holds { display: inline-flex; align-items: center; gap: 6px; flex-wrap: nowrap; }
.holds .hold-total { font-variant-numeric: tabular-nums; }
.ghold { display: inline-flex; align-items: baseline; gap: 4px;
  padding: 0 7px; border-radius: 4px; font-variant-numeric: tabular-nums; line-height: 18px; }
.ghold .g { font-size: 10px; font-weight: 700; letter-spacing: 0.02em; }
.ghold .n { font-size: 12px; font-weight: 650; }
.ghold .s-dir { font-size: 10px; margin-left: 1px; font-weight: 700; line-height: 1; }
.ghold .s-dir.up { color: var(--green); }
.ghold .s-dir.dn { color: var(--red); }
.ghold.g-S { background: rgba(var(--green-rgb), 0.16); color: var(--green); }
.ghold.g-A { background: rgba(229, 185, 76, 0.16); color: var(--gold); }
.ghold.g-B { background: rgba(132, 142, 156, 0.18); color: #c5ccd6; }
.ghold.g-C { background: rgba(132, 142, 156, 0.1); color: var(--muted); }
.ghold.g-S.s-warm {
  background: rgba(70, 220, 120, 0.26); color: #72e09e;
  box-shadow: inset 0 0 0 1px rgba(93, 255, 154, 0.32);
}
.ghold.g-S.s-hot {
  background: rgba(70, 220, 120, 0.4); color: #9dffc2;
  box-shadow: inset 0 0 0 1px rgba(93, 255, 154, 0.5);
}
.pnl { font-variant-numeric: tabular-nums; font-weight: 600; }
.pnl-inline { display: inline-flex; align-items: baseline; gap: 8px; justify-content: flex-end; white-space: nowrap; }
.avatar { width: 22px; height: 22px; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center; font-size: 10px; font-weight: 700;
  line-height: 1; background: hsl(var(--h, 200) 28% 28%); color: #fff; flex-shrink: 0;
  overflow: hidden; }
.avatar.dev { font-variant-numeric: tabular-nums; letter-spacing: -0.06em; }
.avatar.has-pad { flex-direction: row; gap: 0; }
.avatar.has-pad b { font-weight: inherit; font-size: inherit; line-height: 1; }
.avatar.has-pad .pad-in {
  font-style: normal; font-size: inherit; font-weight: inherit; line-height: 1;
  letter-spacing: inherit; color: inherit; margin: 0;
}
table.heat-hold-table .avatar,
table.flow .avatar { width: 24px; height: 24px; }
.tok, .wal { display: flex; align-items: center; gap: 8px; min-width: 0; }
.wal { align-items: flex-start; }
.wal-addr { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-width: 0; }
.wal-addr > .mono { word-break: keep-all; white-space: nowrap; }
.wal-metrics {
  display: flex; flex-wrap: wrap; gap: 0 7px; font-size: 10px; line-height: 1.35;
  color: var(--muted); font-variant-numeric: tabular-nums;
}
.wal-metrics b { font-weight: 650; }
.tok-name { font-weight: 650; }
.sub { font-size: 11px; color: var(--muted); margin: 0; display: flex; align-items: center; gap: 6px; line-height: 15px; }
.sub .chip { flex-shrink: 0; }
.tag { font-size: 11px; color: var(--gold); margin-top: 1px; }
.note { font-size: 12px; color: var(--gold); font-weight: 600; }
div.note { margin-top: 1px; }
td.col-memo { min-width: 16em; width: 18em; max-width: 26em; }
input.memo {
  width: 100%; box-sizing: border-box; background: transparent;
  border: 1px solid transparent; color: var(--gold); font-size: 12px;
  font-family: inherit; font-weight: 600; padding: 3px 6px; border-radius: 4px; }
.wal input.memo, .last-line input.memo {
  width: 14em; max-width: 100%; display: block; margin-top: 2px; padding: 1px 4px; }
.last-line input.memo { display: inline-block; width: 18em; min-width: 18em; margin-top: 0; vertical-align: middle; }
input.memo:hover, input.memo:focus {
  border-color: var(--line); background: var(--card); outline: none; color: var(--fg); }
input.memo::placeholder { color: var(--muted); font-weight: 400; }
input.memo.busy { opacity: 0.55; }
input.tok-memo {
  width: 20em; max-width: 100%; box-sizing: border-box; background: transparent;
  border: 1px solid transparent; color: var(--gold); font-size: 12px;
  font-family: inherit; font-weight: 600; padding: 1px 4px; border-radius: 4px;
  display: inline-block; margin: 0; vertical-align: middle; height: 18px; line-height: 18px; }
h1 input.tok-memo {
  display: inline-block; width: 20em; margin: 0 0 0 10px; vertical-align: middle;
  font-size: 13px; }
input.tok-memo:hover, input.tok-memo:focus {
  border-color: var(--line); background: var(--card); outline: none; color: var(--fg); }
input.tok-memo::placeholder { color: var(--muted); font-weight: 400; }
input.tok-memo.busy { opacity: 0.55; }
.chip { font-size: 10px; padding: 1px 6px; border-radius: 4px; background: #2a2a31; color: var(--muted); }
.chip.seed { color: var(--gold); background: rgba(229, 185, 76, 0.12); }
.chip.sold { color: var(--muted); background: rgba(132, 142, 156, 0.14); }
.chip.follow { color: var(--green); background: rgba(var(--green-rgb), 0.16); }
.chip.dump { color: var(--red); background: rgba(246, 70, 93, 0.14); }
.heat-ranks { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; vertical-align: 1px; }
.heat-chip {
  font-size: 10px; font-weight: 650; letter-spacing: 0.02em;
  color: var(--muted); background: rgba(132, 142, 156, 0.16);
  border-radius: 4px; padding: 0 5px; line-height: 16px;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.heat-chip i { font-style: normal; font-weight: 500; opacity: 0.72; margin-left: 2px; }
.heat-cell .heat-chip { pointer-events: none; flex-shrink: 0; }
table.inner tr.sold td { color: var(--muted); }
table.inner tr.sold .mono { color: var(--muted); }
table.inner tr.sold .tag { color: var(--muted); }
table.inner tr.sold .pnl.up,
table.inner tr.sold .up { color: var(--green); }
table.inner tr.sold .pnl.dn,
table.inner tr.sold .dn { color: var(--red); }
.col-chev { width: 28px; padding-left: 8px; padding-right: 0; }
table.flow {
  table-layout: fixed;
  width: 100%;
}
table.flow col.col-chev { width: 36px; }
table.flow col.col-star { width: 68px; }
table.flow col.col-time { width: 7.8em; }
table.flow col.col-tok { width: 36em; }
table.flow col.col-last { width: auto; }
table.flow col.col-flow { width: 7.8em; }
table.flow col.col-holds { width: 15.5em; }
table.flow col.col-rest { width: 7.4em; }
table.flow th, table.flow td { padding-left: 8px; padding-right: 8px; }
table.flow .col-time { white-space: nowrap; }
table.flow th.col-tok,
table.flow td.col-tok { width: auto; max-width: none; overflow: hidden; }
table.flow th.col-last,
table.flow td.col-last { width: auto; max-width: none; white-space: nowrap; overflow: hidden; }
table.flow th.col-holds,
table.flow td.col-holds { width: 15.5em; min-width: 0; }
table.flow th.col-flow { white-space: normal; line-height: 1.3; }
table.flow .tok { min-width: 0; }
table.flow .tok > div {
  display: flex; flex-direction: column; justify-content: center;
  min-width: 0; overflow: hidden; gap: 0;
}
table.flow .tok-id {
  display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; min-width: 0;
  overflow: hidden; line-height: 18px; height: 18px;
}
table.flow .tok-id .tok-name {
  display: inline-block; flex-shrink: 0; max-width: none;
  overflow: visible; text-overflow: clip; white-space: nowrap;
}
table.flow .tok-id .tok-memo {
  flex: 1 1 auto; width: auto; min-width: 0; max-width: 20em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
table.flow .sub { flex-wrap: nowrap; overflow: hidden; white-space: nowrap; }
table.flow .sub .chip { flex-shrink: 1; }
table.flow .last-act { width: 100%; min-width: 0; }
table.flow .last-line { flex-wrap: nowrap; gap: 6px; overflow: hidden; width: 100%; min-width: 0; }
table.flow .last-line .grade,
table.flow .last-line .col-kind,
table.flow .last-line .num,
table.flow .last-line .last-tag { flex-shrink: 0; }
table.flow .last-line input.memo {
  flex: 1 1 auto; width: auto; min-width: 10em; max-width: none;
}
table.flow td.col-holds .holds { flex-wrap: nowrap; }
#early-watch table.flow th.col-flow,
#early-watch table.flow td.col-flow {
  width: 7.4em; min-width: 0; padding-left: 10px; padding-right: 10px;
}
.col-star { width: 68px; padding-left: 0; padding-right: 4px; text-align: center; }
table.sheet { table-layout: fixed; width: 100%; }
table.sheet col.col-chev { width: 36px; }
table.sheet col.col-star { width: 68px; }
table.sheet col.col-tok { width: auto; }
table.sheet col.col-age { width: 5.6em; }
table.sheet col.col-mcap { width: 5.2em; }
table.sheet col.col-n { width: 4em; }
table.sheet col.col-usd { width: 5.4em; }
table.heat-hold-table col.col-rank { width: 3.2em; }
table.heat-hold-table col.col-tok { width: 24em; }
table.heat-hold-table col.col-born { width: 5.6em; }
table.heat-hold-table col.col-chg3 { width: 16em; }
table.heat-hold-table col.col-mcap { width: 5.2em; }
table.heat-hold-table col.col-n { width: 4em; }
table.heat-hold-table col.col-vol { width: 5.4em; }
table.heat-hold-table col.col-usd { width: 5.4em; }
table.heat-hold-table td.col-rank { color: var(--muted); font-variant-numeric: tabular-nums; }
table.heat-hold-table .col-n .n-wrap { width: auto; }
table.heat-hold-table .col-tok .tok-name { max-width: 12em; }
table.heat-hold-table .tok-id .tok-memo {
  width: auto; flex: 1 1 auto; min-width: 6em; max-width: none;
}
table.heat-hold-table th.col-born,
table.heat-hold-table td.col-born,
table.heat-hold-table th.col-chg3,
table.heat-hold-table td.col-chg3 {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.age .new {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  margin-right: 4px;
}
table.heat-board-table col.col-rank { width: 3.4em; }
table.heat-board-table col.col-tok { width: 18em; }
table.heat-board-table col.col-age { width: 4.2em; }
table.heat-board-table col.col-chg3 { width: 16em; }
table.heat-board-table col.col-holds { width: 11em; }
table.heat-board-table td.col-rank { color: var(--muted); font-variant-numeric: tabular-nums; }
table.heat-board-table th.col-age,
table.heat-board-table td.col-age,
table.heat-board-table th.col-chg3,
table.heat-board-table td.col-chg3 {
  text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.chg3 { display: inline-flex; align-items: baseline; gap: 8px; justify-content: flex-end; width: 100%; }
.chg-bit { display: inline-flex; align-items: baseline; justify-content: flex-end; min-width: 4.4em; }
th.col-chg3 .chg-bit { color: var(--muted); font-size: 11px; font-weight: 650; }
.chg-bit i { font-style: normal; font-size: 10px; color: var(--muted); font-weight: 650; }
table.heat-board-table td.col-holds .holds { justify-content: flex-end; }
table.sheet th.col-tok, table.sheet td.col-tok { text-align: left; white-space: nowrap; }
table.sheet th.col-age, table.sheet td.col-age,
table.sheet th.col-mcap, table.sheet td.col-mcap,
table.sheet th.col-usd, table.sheet td.col-usd {
  text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap;
}
table.sheet th.col-n, table.sheet td.col-n {
  text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap;
}
table.sheet .col-n .n-wrap {
  display: inline-block; text-align: left; width: auto;
  font-size: 13px; font-variant-numeric: tabular-nums;
}
table.sheet col.col-grade { width: 210px; }
table.sheet th.col-grade, table.sheet td.col-grade {
  width: 210px; text-align: right; white-space: nowrap;
}
table.sheet td.col-grade .holds { width: 100%; justify-content: flex-end; gap: 6px; }
td.col-grade .ghold,
td.col-holds .ghold {
  padding: 2px 8px; gap: 4px; border-radius: 4px;
}
td.col-grade .ghold .g,
td.col-holds .ghold .g { font-size: 12px; }
td.col-grade .ghold .n,
td.col-holds .ghold .n { font-size: 14px; font-weight: 700; }
td.col-last .grade.g-S {
  background: rgba(70, 228, 125, 0.55); color: #b8ffd4;
}
table.sheet .col-tok .tok-name {
  display: inline-block; max-width: 12em; overflow: hidden;
  text-overflow: ellipsis; vertical-align: bottom; flex-shrink: 0;
}
details.expand { display: block; }
details.expand summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: center; }
details.expand summary::-webkit-details-marker { display: none; }
.chev { display: inline-block; width: 0; height: 0;
  border-style: solid; border-width: 4px 0 4px 6px;
  border-color: transparent transparent transparent var(--muted); transition: transform .15s; }
tr.token-row { cursor: pointer; }
tr.s-hot-row > td {
  box-shadow: inset 0 1px 0 rgba(var(--green-rgb), 0.32), inset 0 -1px 0 rgba(var(--green-rgb), 0.32);
}
tr.s-hot-row > td:first-child {
  box-shadow: inset 1px 0 0 rgba(var(--green-rgb), 0.32), inset 0 1px 0 rgba(var(--green-rgb), 0.32), inset 0 -1px 0 rgba(var(--green-rgb), 0.32);
}
tr.s-hot-row > td:last-child {
  box-shadow: inset -1px 0 0 rgba(var(--green-rgb), 0.32), inset 0 1px 0 rgba(var(--green-rgb), 0.32), inset 0 -1px 0 rgba(var(--green-rgb), 0.32);
}
tr.radar-follow > td {
  box-shadow: inset 0 1px 0 rgba(var(--green-rgb), 0.28), inset 0 -1px 0 rgba(var(--green-rgb), 0.28);
}
tr.radar-follow > td:first-child {
  box-shadow: inset 1px 0 0 rgba(var(--green-rgb), 0.28), inset 0 1px 0 rgba(var(--green-rgb), 0.28), inset 0 -1px 0 rgba(var(--green-rgb), 0.28);
}
tr.radar-follow > td:last-child {
  box-shadow: inset -1px 0 0 rgba(var(--green-rgb), 0.28), inset 0 1px 0 rgba(var(--green-rgb), 0.28), inset 0 -1px 0 rgba(var(--green-rgb), 0.28);
}
tr.token-row.open { background: var(--card); }
tr.token-row.open .chev { transform: rotate(90deg); border-left-color: var(--fg); }
tr.detail { display: none; }
tr.token-row.open + tr.detail,
tr.token-row:has(details[open]) + tr.detail { display: table-row; }
tr.detail > td { padding: 0 8px 10px 36px; background: var(--card); border-bottom: 1px solid var(--line); overflow-x: auto; }
tr.detail:hover { background: transparent; }
table.inner { margin: 0; background: transparent; }
table.inner th, table.inner td { font-size: 12px; padding: 7px 8px; border-bottom-color: #22222a; }
table.inner thead th { position: static; background: transparent; }
table.inner tbody tr:hover { background: var(--hover); }
.last3 { display: flex; flex-direction: column; gap: 2px; min-width: 210px; }
.last3 .t3 { display: flex; align-items: center; gap: 6px; white-space: nowrap; line-height: 1.35; }
.last3 .t { color: var(--muted); font-variant-numeric: tabular-nums; }
.win-flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); width: 100%;
  margin: 4px 0 6px; border: 1px solid #3a3a46; background: #121218;
  font-size: 12px; font-variant-numeric: tabular-nums; }
.win-flow .win { display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 2px; min-width: 0; padding: 5px 6px;
  white-space: nowrap; overflow: hidden; border-right: 1px solid #3a3a46; }
.win-flow .win:last-child { border-right: 0; }
.win-flow .wsides { display: flex; flex-direction: column; align-items: center;
  gap: 0; line-height: 1.35; }
.win-flow .wline { white-space: nowrap; }
.win-flow .wl { color: var(--muted); font-weight: 650; }
.win-flow .wn { font-weight: 500; opacity: 0.72; }
.win-flow .wg { display: inline; margin-left: 4px; font-weight: 650; }
.win-flow .wg.s { color: var(--green); }
.win-flow .wg.a { color: var(--gold); }
.score-break { margin: 8px 4px 6px; font-size: 12px; color: var(--muted); }
.score-break strong { color: var(--fg); }
table.sheet td.col-tok > .tok {
  align-items: center; gap: 8px;
}
table.sheet .tok-id {
  display: flex; align-items: center; gap: 6px; flex-wrap: nowrap;
  min-width: 0; flex: 1;
}
table.sheet .tok-id .tok-memo {
  width: auto; flex: 1 1 auto; min-width: 6em; max-width: none; margin: 0; display: inline-block;
}
table.sheet .tok-id .chip.seed { flex-shrink: 0; }
.fav-at {
  flex-shrink: 0; font-size: 12px; color: var(--gold); font-weight: 550;
  white-space: nowrap;
}
body.page-heat { padding-bottom: 12px; }
.heat-offboard { margin-top: 32px; }
.heat-offboard .pagehead { margin-bottom: 10px; }
.heat-offboard h2 {
  font-size: 16px; font-weight: 650; margin: 0; color: var(--muted);
  letter-spacing: -0.02em;
}
body.page-heat .heat-offboard .pagehead-title h2 { white-space: nowrap; }
.heat-win { display: inline-flex; align-items: center; gap: 6px; }
.heat-win .win-lab { font-size: 11px; color: var(--muted); padding: 0 2px 0 0; }
.heat-win a.hold-filter {
  appearance: none; background: var(--card); border: 1px solid var(--line);
  color: var(--muted); box-sizing: border-box; height: 28px; min-width: 44px;
  padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 500;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
}
.heat-win a.hold-filter:hover { color: var(--fg); border-color: var(--fg); }
.heat-win a.hold-filter.on {
  border-color: var(--green); color: var(--green);
  background: rgba(var(--green-rgb), 0.12);
}
.heat-board {
  position: relative; width: 100%; min-height: 420px;
  border-radius: 10px; overflow: hidden; background: #0a0a0d;
}
.heat-empty {
  margin: 0; height: 100%; display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 13px; padding: 24px;
}
.heat-cell {
  position: absolute; overflow: hidden; contain: paint; border-radius: 5px;
  color: var(--fg); padding: 7px 8px 6px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}
.heat-cell:hover { filter: brightness(1.1); }
.heat-hit { position: absolute; inset: 0; z-index: 1; }
.heat-body {
  position: relative; z-index: 2; pointer-events: none;
  display: flex; flex-direction: column; gap: 2px;
  width: 100%; height: 100%; max-width: 100%; max-height: 100%;
  min-width: 0; min-height: 0; overflow: hidden; box-sizing: border-box;
}
.heat-body .star { pointer-events: auto; }
.heat-top { display: flex; align-items: center; gap: 3px; min-width: 0; max-width: 100%; flex-shrink: 0; }
.heat-cell a.star { width: 18px; height: 18px; font-size: 13px; opacity: 0.55; color: #fff;
  flex-shrink: 0; }
.heat-cell a.star:hover, .heat-cell a.star.on { color: var(--gold); opacity: 1; }
.heat-cell .sym {
  flex: 1; min-width: 0; font-weight: 750; font-size: 13px; line-height: 1.15;
  white-space: nowrap; overflow: hidden;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
}
.heat-cell .hold {
  font-size: 12px; font-weight: 650; color: rgba(241,241,243,.72);
  line-height: 1.2;
}
.heat-meta {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px;
  min-width: 0; max-width: 100%; flex-shrink: 0; line-height: 1.2;
}
.heat-cell .fav-at {
  font-size: 12px; color: rgba(229, 185, 76, .78); line-height: 1.2;
}
.heat-sides {
  display: flex; flex-wrap: wrap; column-gap: 8px; row-gap: 0;
  min-width: 0; max-width: 100%;
  font-size: 12px; line-height: 1.25;
  font-variant-numeric: tabular-nums; font-weight: 600; flex-shrink: 0;
}
.heat-sides > span { white-space: nowrap; max-width: 100%; min-width: 0; }
.heat-foot {
  margin-top: auto; display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px;
  min-width: 0; max-width: 100%;
  font-variant-numeric: tabular-nums; flex-shrink: 0;
}
.heat-cell .amt { font-size: 12px; color: rgba(241,241,243,.78); }
.heat-cell .net { font-size: 12px; font-weight: 700; }
.heat-cell .mcap { font-weight: 650; color: rgba(241,241,243,.82); }
.heat-cell.lg { padding: 10px 12px 9px; }
.heat-cell.lg .sym { font-size: 20px; font-weight: 800; }
.heat-cell.lg .heat-sides { font-size: 13px; column-gap: 10px; }
.heat-cell.lg .amt, .heat-cell.lg .net { font-size: 13px; }
.heat-cell.md .sym { font-size: 15px; }
.heat-cell.sm .sym { font-size: 13px; }
.heat-cell.sm .heat-sides { font-size: 12px; }
.heat-cell.sm .heat-body { gap: 2px; }
.heat-cell.xs { padding: 5px 6px; }
.heat-cell.xs .heat-body { gap: 2px; }
.heat-cell.xs .heat-sides { font-size: 12px; line-height: 1.3; }
.heat-cell.xs .sym { font-size: 13px; }
.heat-cell.pack .heat-foot {
  margin-top: 0;
}
.heat-cell.fav { box-shadow: inset 0 0 0 2px var(--gold); }
.heat-cell.stance-up { box-shadow: inset 0 0 0 2px var(--green); }
.heat-cell.stance-dn { box-shadow: inset 0 0 0 2px var(--red); }
.heat-cell.fav.stance-up { box-shadow: inset 0 0 0 2px var(--gold), inset 0 0 0 4px var(--green); }
.heat-cell.fav.stance-dn { box-shadow: inset 0 0 0 2px var(--gold), inset 0 0 0 4px var(--red); }
.heat-board.searching .heat-cell {
  opacity: 0.42;
  filter: grayscale(0.45) brightness(0.78);
}
.heat-board.searching .heat-cell.hit {
  opacity: 1; z-index: 8; filter: none;
  outline: 3px solid var(--gold); outline-offset: -3px;
  animation: heat-hit-pulse 2s ease-in-out infinite;
}
@keyframes heat-hit-pulse {
  0%, 100% { outline-color: rgba(229, 185, 76, 0.28); }
  50% { outline-color: var(--gold); }
}
.tape-lead { margin: 0; font-size: 12px; white-space: nowrap; }
.tape-bar {
  display: flex; flex-wrap: nowrap; align-items: baseline; gap: 16px;
  margin: -6px 0 12px; font-size: 12px; color: var(--muted);
  overflow-x: auto;
}
.tape-stat { margin-left: auto; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tape-alerts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.tape-alerts:empty { display: none; }
.tape-tabs { display: none; }
.tape-tabs button {
  appearance: none; background: var(--card); border: 1px solid var(--line);
  color: var(--muted); padding: 6px 0; border-radius: 999px;
  font: inherit; font-size: 13px; font-weight: 650; cursor: pointer;
}
.tape-card {
  display: inline-flex; flex-direction: column; align-items: stretch; gap: 2px;
  box-sizing: border-box; height: auto; min-height: 28px; max-width: 210px;
  padding: 4px 8px 5px; border-radius: 6px; background: var(--card);
  border: 1px solid var(--line); font-size: 12px; color: var(--fg);
  text-decoration: none; position: relative; overflow: visible;
}
.tape-go {
  display: inline-flex; align-items: center; gap: 4px; min-width: 0;
  color: inherit; text-decoration: none;
}
.tape-go:hover { color: inherit; text-decoration: none; }
.tape-sub { display: flex; align-items: center; gap: 6px; min-width: 0; }
.tape-card .age { font-size: 11px; color: var(--muted); white-space: nowrap; }
.tape-card .mcap {
  font-size: 11px; font-weight: 650; font-variant-numeric: tabular-nums;
  color: rgba(241,241,243,.82); white-space: nowrap;
}
.tape-card .marks { margin-left: auto; }
.tape-card .avatar { width: 16px; height: 16px; font-size: 9px; flex-shrink: 0; }
.tape-card a.star { width: 16px; height: 16px; font-size: 13px; }
.tape-card .marks { gap: 3px; }
.tape-card.buy, .tape-card.cluster { border-color: var(--green); background: rgba(136,214,147,0.08); }
.tape-card.mix, .tape-card.crowd { border-color: var(--gold); background: rgba(229,185,76,0.08); }
.tape-card.sell, .tape-card.dump { border-color: var(--red); background: rgba(246,70,93,0.08); }
.tape-card .sym {
  font-size: 13px; font-weight: 650; min-width: 0; flex: 1 1 auto;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tape-plus {
  font-weight: 700; margin-left: 0; font-variant-numeric: tabular-nums;
  font-size: 12px; flex-shrink: 0;
}
.tape-plus.up { color: var(--green); }
.tape-plus.dn { color: var(--red); }
.tape-plus.mix { color: var(--gold); }
.tape-card .tape-plus { font-size: 12px; }
table.tape .tape-plus { margin-left: 6px; font-size: 13px; }
.tape-card .tip {
  display: none; position: absolute; left: 0; top: calc(100% + 6px);
  z-index: 50; min-width: 234px; max-width: 416px; padding: 8px 10px;
  border-radius: 6px; background: #1c1c24; border: 1px solid var(--line);
  color: var(--fg); font-size: 12px; font-weight: 500; line-height: 1.55;
  white-space: normal; box-shadow: 0 6px 16px rgba(0,0,0,.4); pointer-events: none;
}
.tape-card:hover .tip { display: block; }
.tape-card .tip .up { color: var(--green); font-weight: 650; }
.tape-card .tip .dn { color: var(--red); font-weight: 650; }
table.tape td.tok { white-space: nowrap; }
table.tape { width: 100%; border-collapse: collapse; font-size: 13px; }
table.tape th, table.tape td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: left; }
table.tape th { color: var(--muted); font-weight: 500; font-size: 12px; }
table.tape .num { text-align: right; font-variant-numeric: tabular-nums; }
table.tape .mono { font-variant-numeric: tabular-nums; color: var(--muted); width: 6.5em; }
table.tape th.side, table.tape td.side { width: 6.4em; }
table.tape td.side { font-weight: 700; white-space: nowrap; }
table.tape td.side.up, table.tape td.note.up { color: var(--green); }
table.tape td.side.dn, table.tape td.note.dn { color: var(--red); font-weight: 650; }
table.tape td.side.dim, table.tape td.note.dim { color: var(--muted); font-weight: 500; }
table.tape tr.dump { box-shadow: inset 3px 0 0 var(--red); }
table.tape tr.cluster { box-shadow: inset 3px 0 0 var(--green); }
table.tape tr.crowd { box-shadow: inset 3px 0 0 var(--gold); }
table.tape tr.dump.cluster, table.tape tr.dump.crowd { box-shadow: inset 3px 0 0 var(--red); }
table.tape .wal { margin-left: 4px; }
table.tape td.note { color: var(--muted); }
.tape-empty { margin: 24px 0; text-align: center; }
code { background: var(--card); padding: 1px 6px; border-radius: 4px; }
@media (max-width: 860px) {
  body { padding: 0 12px calc(72px + env(safe-area-inset-bottom)); }
  header {
    flex-wrap: wrap; align-items: center; gap: 8px 10px;
    margin: 0 -12px 12px;
    padding: calc(10px + env(safe-area-inset-top)) 12px 10px;
  }
  .brand { flex: 1 1 0; min-width: 0; gap: 6px; flex-wrap: nowrap; overflow: hidden; }
  .brand > a { flex: 0 0 auto; }
  .chain-switch { flex: 1 1 auto; min-width: 0; gap: 3px; overflow-x: auto; scrollbar-width: none; }
  .chain-switch::-webkit-scrollbar { display: none; }
  .chain-switch a.chain-btn { padding: 3px 5px; letter-spacing: 0.02em; }
  .brand a { font-size: 16px; letter-spacing: 0.06em; gap: 8px; }
  nav {
    flex: 1 1 100%; order: 3;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap; gap: 0; scrollbar-width: none;
  }
  nav::-webkit-scrollbar { display: none; }
  nav a { flex-shrink: 0; padding: 8px 7px; font-size: 13px; }
  .meta {
    display: flex; flex: 0 0 auto; margin-left: 6px; gap: 4px; min-width: 0;
  }
  .meta .meta-time, .meta .db-size { display: none; }
  .pagehead { gap: 8px 10px; max-width: 100%; }
  .pagehead-tools {
    margin-left: 0; width: 100%; max-width: 100%; flex-wrap: wrap;
  }
  .pagehead input.search { width: 100%; min-width: 0; font-size: 16px; }
  .pagehead .token-actions { margin-left: 0; width: 100%; }
  .pagehead .token-pills { display: flex; flex-wrap: wrap; gap: 6px; max-width: 100%; }
  .token-add, .follow-add { width: 100%; }
  .token-add input, .follow-add input, .follow-add select { flex: 1; min-width: 0; font-size: 16px; }
  .hold-filters, .heat-win, .gate-filters { flex-wrap: wrap; max-width: 100%; }
  .hold-filters { width: 100%; }
  .login-box { width: min(280px, calc(100vw - 32px)); }
  .login-box input { font-size: 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats strong { font-size: 18px; }
  .win-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  thead th { position: static; }
  table.inner {
    display: block; overflow-x: auto; -webkit-overflow-scrolling: touch;
    max-width: 100%; width: max-content; min-width: 100%;
  }
  input.tok-memo, input.memo, .last-line input.memo { font-size: 16px; }
  .pagehead-title h1 { white-space: normal; }
  body.page-heat .heat-offboard .pagehead-title h2 { white-space: normal; }
  .heat-board { min-height: 280px; }
  .pagehead-title { flex-wrap: wrap; max-width: 100%; }
  .hscroll {
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }
  .hscroll > table { width: max-content; min-width: 100%; }
  .hscroll > table.heat-hold-table { min-width: 1180px; }
  .hscroll > table.flow { min-width: 1040px; }
  .hscroll > table.tape { min-width: 980px; }
  body.page-multi .hscroll > table { min-width: 1080px; }
  body.page-follow .hscroll > table { min-width: 820px; }
  body.page-pool section { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  body.page-pool section > table { width: max-content; min-width: 720px; }
  body.page-pool p.token-pills { display: flex; flex-wrap: wrap; gap: 6px; }
  body.page-lock .hscroll,
  body.page-lock section { overflow: visible; max-width: none; }
  body.page-lock .sheet-scroll { padding-bottom: env(safe-area-inset-bottom); }
  body.page-tape .tape-bar {
    flex-wrap: wrap; overflow-x: visible; gap: 4px 0;
  }
  body.page-tape .tape-lead,
  body.page-tape .tape-stat { white-space: normal; }
  body.page-tape .tape-stat { margin-left: 0; flex-basis: 100%; }
  body.page-tape .tape-tabs { display: flex; gap: 8px; margin: 0 0 10px; }
  body.page-tape .tape-tabs button { flex: 1; }
  body.page-tape .tape-tabs button.on {
    color: var(--fg); border-color: var(--muted); background: rgba(255, 255, 255, 0.06);
  }
  body.page-tape.tape-tab-cards > .sheet-scroll { display: none; }
  body.page-tape.tape-tab-fills > .tape-cards { display: none; }
  body.page-tape.tape-tab-cards > .tape-cards {
    flex: 1 1 auto; min-height: 0; overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: env(safe-area-inset-bottom);
  }
}
html:has(body.page-funds) { height: 100%; overflow: hidden; }
body.page-funds {
  max-width: 1480px; height: 100dvh; overflow: hidden;
  display: flex; flex-direction: column; padding-bottom: 0;
}
body.page-funds header { flex: 0 0 auto; }
body.page-funds .funds {
  flex: 1 1 auto; min-height: 0;
  display: flex; flex-direction: column;
  padding-bottom: env(safe-area-inset-bottom);
}
.funds-head {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px;
  padding-bottom: 8px;
}
.funds-head h1 { margin: 0; }
.funds-head p { margin: 0; overflow-wrap: anywhere; }
.funds-head a.funds-src { font-size: 12px; }
.funds-picks {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-left: auto;
}
.funds-picks button {
  appearance: none; background: transparent; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 3px 10px; font: inherit; font-size: 12px; font-weight: 650;
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.funds-picks button.on {
  color: var(--fg); border-color: var(--muted); background: rgba(255, 255, 255, 0.06);
}
.funds-picks .swatch { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.funds-picks button:not(.on) .swatch { opacity: 0.35; }
.funds-picks .swatch.tvl { background: #d2b4ff; }
.funds-picks .swatch.stable { background: #4ec8e0; }
.funds-picks .swatch.bridge { background: #7aa2ff; }
.funds-picks .swatch.dex { background: #88d693; }
.funds-picks .swatch.flow { background: #e5b94c; }
.funds-flow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--muted); font-size: 12px; margin-left: 4px;
}
.funds-plot { position: relative; flex: 1 1 auto; min-height: 0; user-select: none; }
.funds-plot svg { width: 100%; height: 100%; display: block; touch-action: none; }
.funds-plot text { fill: var(--muted); font-size: 11px; font-family: inherit; }
.funds-plot .grid line { stroke: rgba(255, 255, 255, 0.06); }
.funds-plot .zero { stroke: rgba(255, 255, 255, 0.22); }
.funds-plot .tvl-area { fill: rgba(210, 180, 255, 0.34); }
.funds-plot .tvl-line { fill: none; stroke: #d2b4ff; stroke-width: 1.6; }
.funds-plot .stable-area { fill: rgba(78, 200, 224, 0.32); }
.funds-plot .bridge-area { fill: rgba(122, 162, 255, 0.38); }
.funds-plot .dex-area { fill: rgba(136, 214, 147, 0.32); }
.funds-plot .stable-line { fill: none; stroke: #4ec8e0; stroke-width: 1.6; }
.funds-plot .bridge-line { fill: none; stroke: #7aa2ff; stroke-width: 1.6; }
.funds-plot .dex-line { fill: none; stroke: #88d693; stroke-width: 1.6; }
.funds-plot .bar { fill: #e5b94c; }
.funds-plot .bar.on { fill: #ffe08a; }
.funds-plot .hair { stroke: rgba(255, 255, 255, 0.45); stroke-dasharray: 3 3; }
.funds-plot .brush-bg { fill: rgba(255, 255, 255, 0.05); }
.funds-plot .brush-area { fill: rgba(122, 162, 255, 0.55); }
.funds-plot .brush-dim { fill: rgba(14, 14, 17, 0.62); }
.funds-plot .brush-win { fill: transparent; stroke: rgba(255, 255, 255, 0.7); stroke-width: 1; }
.funds-plot .brush-h { fill: #f1f1f3; }
.funds-read {
  position: absolute; left: 64px; top: 12px; z-index: 2;
  min-width: 168px;
  background: rgba(14, 14, 17, 0.88);
  border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 12px; font-size: 13px;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.funds-read .when { font-weight: 650; margin-bottom: 4px; }
.funds-read .row { display: flex; justify-content: space-between; gap: 18px; line-height: 1.55; }
.funds-read .row[hidden] { display: none; }
.funds-read .k { color: var(--muted); }
.funds-read .up { color: #88d693; }
.funds-read .dn { color: #f6465d; }
@media (max-width: 860px) {
  html:has(body.page-funds) { height: 100%; overflow: hidden; }
  body.page-funds {
    height: 100dvh; overflow: hidden;
    padding-bottom: 0;
  }
  body.page-funds .funds {
    display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
  body.page-funds .funds-head { padding-bottom: 4px; gap: 4px 10px; }
  .funds-head a.funds-src { font-size: 11px; }
  body.page-funds .funds-plot {
    flex: 1 1 auto; min-height: 0; height: auto; max-height: none;
    display: flex; flex-direction: column;
  }
  body.page-funds .funds-plot svg {
    flex: 1 1 auto; width: 100%; height: 0; min-height: 0; max-height: none;
  }
  .funds-picks { margin-left: 0; }
  .funds-read {
    position: static; order: 1; left: auto; top: auto; flex: 0 0 auto;
    width: 100%; min-width: 0; margin: 6px 0 0;
    padding: 6px 8px; font-size: 12px;
  }
  .funds-read .row { line-height: 1.35; gap: 12px; }
  .funds-plot text { font-size: 10px; }
  .funds-plot text.axis { font-size: 8px; }
}
html:has(body.page-btc) { height: 100%; overflow: hidden; }
body.page-btc {
  max-width: 1480px; height: 100dvh; overflow: hidden;
  display: flex; flex-direction: column; padding-bottom: 0;
}
body.page-btc header { flex: 0 0 auto; }
body.page-btc .btc-desk {
  flex: 1 1 auto; min-height: 0;
  display: flex; flex-direction: column;
}
body.page-btc .btc-head { flex: 0 0 auto; }
body.page-btc .btc-scroll {
  flex: 1 1 auto; min-height: 0; overflow: auto;
  -webkit-overflow-scrolling: touch;
}
html:has(body.page-lock) { height: 100%; overflow: hidden; }
body.page-lock {
  height: 100dvh; overflow: hidden;
  display: flex; flex-direction: column; padding-bottom: 0;
}
body.page-lock > * { flex: 0 0 auto; }
body.page-lock > .sheet-scroll {
  flex: 1 1 auto; min-height: 0; overflow: auto;
  -webkit-overflow-scrolling: touch;
}
body.page-lock .sheet-scroll thead th {
  position: sticky; top: 0; z-index: 6; background: var(--bg);
  background-clip: padding-box; box-shadow: 0 -2px 0 #0e0e11;
}
body.page-lock .sheet-scroll .heat-offboard .pagehead {
  position: sticky; top: 0; z-index: 8; margin: 0;
  padding: 10px 0 8px; background: var(--bg);
}
body.page-lock .sheet-scroll .heat-offboard thead th {
  top: var(--off-head, 52px); z-index: 7;
}
body.page-lock > .pagehead { margin-bottom: 0; padding-bottom: 10px; }
.btc-intro h1 { margin-bottom: 8px; }
.btc-book { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin: 10px 0 0; }
.btc-book label { color: var(--muted); font-size: 12px; display: flex; flex-direction: column; gap: 4px; }
.btc-book input {
  background: var(--card); color: var(--fg); border: 1px solid var(--line);
  border-radius: 6px; padding: 6px 8px; width: 88px; font: inherit; font-size: 14px;
}
.btc-book input[type="datetime-local"] { width: 188px; color-scheme: dark; }
.btc-cmp-wrap { overflow-x: auto; margin-top: 8px; }
.btc-cmp { width: 100%; border-collapse: collapse; font-size: 13px; }
.btc-cmp th, .btc-cmp td {
  text-align: right; padding: 6px 8px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.btc-cmp th:first-child, .btc-cmp td:first-child { text-align: left; }
.btc-cmp th { color: var(--muted); font-weight: 600; }
.btc-cmp tr.on td { background: rgba(255, 255, 255, 0.04); }
.btc-cmp td.b-看涨 { color: #88d693; }
.btc-cmp td.b-看跌 { color: var(--red); }
.btc-cmp tr.b-看涨 td:nth-child(3) { color: #88d693; }
.btc-cmp tr.b-看跌 td:nth-child(3) { color: var(--red); }
.btc-cmp a { color: inherit; }
.btc-split {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  gap: 28px; align-items: start; margin-top: 10px;
}
.btc-col:first-child .btc-cmp { width: auto; }
.btc-cmp th.sig, .btc-cmp td.sig { text-align: center; }
.btc-cmp td.sig { font-size: 16px; font-weight: 700; }
.btc-arrows td.sig { position: relative; }
.btc-cmp td.flat { color: var(--muted); font-weight: 400; font-size: 13px; }
.btc-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; padding-bottom: 8px; }
.btc-head h1 { margin: 0; }
.btc-live { display: inline-flex; align-items: baseline; gap: 8px; font-size: 22px; font-weight: 650; font-variant-numeric: tabular-nums; }
.btc-live time { color: var(--muted); font-size: 12px; font-weight: 500; }
.btc-arrows { width: 100%; table-layout: fixed; margin-top: 0; border-collapse: separate; border-spacing: 0; }
.btc-arrows th, .btc-arrows td { text-align: center; padding: 8px 0; }
.btc-arrows th:first-child, .btc-arrows td:first-child {
  text-align: left; width: 9em; font-variant-numeric: tabular-nums;
}
table.btc-arrows:not(.inner) tbody > tr:not(.detail) { height: auto; }
table.btc-arrows:not(.inner) tbody > tr:not(.detail) > td { height: auto; overflow: visible; }
.btc-arrows td.when { line-height: 1.2; }
.btc-arrows .when-t, .btc-arrows .when-px { display: block; }
.btc-arrows .when-px { color: var(--muted); font-size: 11px; font-weight: 500; margin-top: 1px; }
.btc-arrows thead th {
  position: sticky; top: 0; z-index: 6; background: var(--bg); background-clip: padding-box;
  box-shadow: 0 -2px 0 #0e0e11;
}
.btc-arrows .vote-first, .btc-arrows .chop { border-left: 1px solid var(--line); }
.btc-arrows td.chop { font-size: 12px; font-variant-numeric: tabular-nums; }
.btc-arrows .run-n {
  display: inline-block; margin-left: 2px; vertical-align: sub;
  font-size: 9px; font-weight: 700; line-height: 1;
  font-variant-numeric: tabular-nums; color: var(--muted);
}
.btc-arrows td.sig .run-n { position: absolute; left: calc(50% + 6px); bottom: 3px; margin: 0; }
.btc-arrows th .since {
  display: block; margin-top: 2px; font-size: 11px; font-weight: 500; color: var(--muted);
  font-variant-numeric: tabular-nums; letter-spacing: 0;
}
.btc-arrows td.chop.trend { color: var(--fg); font-weight: 600; }
@media (max-width: 860px) {
  .btc-arrows {
    width: 100%; table-layout: fixed; margin-top: 0;
  }
  .btc-arrows th, .btc-arrows td {
    padding: 10px 0; font-size: 11px;
  }
  .btc-arrows th:first-child, .btc-arrows td:first-child {
    width: 7.6em; font-size: 12px; padding-right: 4px;
  }
  .btc-arrows .when-px { font-size: 10px; }
  .btc-live { font-size: 18px; }
  .btc-arrows td.sig { font-size: 17px; }
  .btc-arrows .run-n { margin-left: 1px; font-size: 8px; }
  .btc-arrows td.sig .run-n { left: calc(50% + 5px); bottom: 2px; }
  .btc-arrows th.vote, .btc-arrows th.chop {
    font-size: 9px; white-space: nowrap; letter-spacing: -0.2px; padding-left: 1px; padding-right: 1px;
  }
  .btc-arrows .chop-w { display: none; }
  .btc-arrows th .since { font-size: 9px; }
  .btc-arrows td.chop { font-size: 12px; }
  body.page-btc { padding-bottom: 0; }
  body.page-btc .btc-scroll { padding-bottom: env(safe-area-inset-bottom); }
  .btc-arrows thead th {
    position: sticky; top: 0;
    background: var(--bg); z-index: 6;
    box-shadow: 0 -2px 0 #0e0e11;
  }
}
.btc-ind-wrap { overflow-x: auto; }
.btc-ind thead th { position: static; }
.btc-ind { width: max-content; min-width: 100%; }
.btc-ind th, .btc-ind td { text-align: left; }
.btc-ind td { font-size: 12px; }
.btc-split h2 {
  position: sticky; top: 52px; z-index: 6; margin: 0;
  padding: 6px 0 8px; background: var(--bg); font-size: 13px; color: var(--muted);
}
.btc-split thead th { top: 84px; }
.btc-sig { width: auto; }
.btc-sig th:nth-child(n + 2), .btc-sig td.sig { text-align: center; }
.btc-sig td.sig { font-size: 16px; font-weight: 700; }
.btc-sig td.flat { color: var(--muted); font-weight: 400; font-size: 13px; }
@media (max-width: 860px) {
  .btc-split { grid-template-columns: 1fr; }
}
.btc-book button {
  background: transparent; color: var(--fg); border: 1px solid var(--line);
  border-radius: 6px; padding: 6px 12px; font: inherit; cursor: pointer;
}
.btc-rail {
  display: inline-block; margin-top: 8px; padding: 2px 8px; border-radius: 6px;
  background: #7a2e2e; color: #f6d6d6; font-size: 12px; font-weight: 650;
}
.btc-rule { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.btc-side {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  max-height: calc(100vh - 150px); overflow: auto; padding: 8px;
}
.btc-count { margin: 4px 8px 8px; color: var(--muted); font-size: 12px; }
.btc-day {
  display: flex; justify-content: space-between; margin: 10px 8px 4px;
  color: var(--muted); font-size: 12px; font-weight: 650;
}
.btc-hour {
  width: 100%; display: grid; grid-template-columns: 96px 1fr auto; gap: 6px;
  align-items: center; border: 0; background: transparent; color: inherit;
  border-radius: 8px; padding: 7px 8px; cursor: pointer; text-align: left; font: inherit;
}
.btc-hour time { font-variant-numeric: tabular-nums; font-size: 13px; }
.btc-hour em { color: var(--muted); font-style: normal; font-size: 12px; }
.btc-hour.on { background: rgba(255, 255, 255, 0.06); box-shadow: inset 2px 0 0 var(--muted); }
.btc-bias {
  font-style: normal; font-size: 12px; font-weight: 650; border-radius: 999px;
  padding: 1px 0; text-align: center;
}
.btc-bias.b-做空, .btc-chip.b-做空 { color: #ff8d8d; }
.btc-bias.b-偏空, .btc-chip.b-偏空 { color: #f0a0a0; }
.btc-bias.b-做多, .btc-chip.b-做多, .btc-bias.b-涨, .btc-chip.b-涨 { color: #7dcea0; }
.btc-bias.b-偏多, .btc-chip.b-偏多 { color: #b7e0c4; }
.btc-bias.b-跌, .btc-chip.b-跌, .btc-bias.b-看跌, .btc-chip.b-看跌, .btc-stars.b-看跌 { color: #ff8d8d; }
.btc-bias.b-看涨, .btc-chip.b-看涨, .btc-stars.b-看涨 { color: #7dcea0; }
.btc-bias.b-中性, .btc-chip.b-中性 { color: var(--muted); }
.btc-hour .btc-bias { text-align: left; padding-left: 4px; }
.btc-stars {
  font-weight: 650; font-size: 12px; letter-spacing: 1px; line-height: 1;
  font-style: normal; white-space: nowrap;
}
.btc-meta .btc-stars { margin-left: auto; }
.btc-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 14px 0 0; }
.btc-facts div { margin: 0; }
.btc-facts dt { color: var(--muted); font-size: 12px; }
.btc-facts dd { margin: 2px 0 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.btc-main {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px 28px;
}
.btc-note h2 { font-size: 22px; margin: 0 0 8px; }
.btc-meta { color: var(--muted); font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.btc-chip {
  border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; font-size: 12px;
}
.btc-sec { margin-top: 16px; }
.btc-sec h3 { margin: 0 0 6px; font-size: 13px; color: var(--muted); font-weight: 650; }
.btc-sec p { margin: 0; font-size: 14px; line-height: 1.65; }
@media (max-width: 800px) {
  .btc-split { grid-template-columns: 1fr; }
  .btc-side { max-height: 280px; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  h1 { font-size: 18px; }
  .tape-card { max-width: none; }
}
