/* pumpo — graduation terminal
   Navy night palette so the DEXTools chart (themed to the same panel colour) sits flush.
   Gold is reserved for the graduation moment; green/red only mean price direction / buy. */
:root {
  --ink: #0E1220;
  --panel: #151A2C;
  --panel-2: #1B2138;
  --line: #262D47;
  --text: #E8EAF2;
  --dim: #8C93AD;
  --brand: #7C8CFF;
  --gold: #F5C451;
  --up: #3DDC97;
  --down: #FF6B7A;
  --warn: #FFB547;
  --head: 60px;
  --r-lg: 18px;
  --r-md: 10px;
  --r-sm: 6px;
  --display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --ui: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font: 14px/1.45 var(--ui); font-variant-numeric: tabular-nums; }
a { color: var(--brand); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.muted { color: var(--dim); }
.small { font-size: 12px; }
.pad { padding: 12px 16px; }
h2 { font: 600 13px/1.2 var(--ui); color: var(--dim); margin: 0; }

/* ---------- top bar ---------- */
.top { height: var(--head); display: flex; align-items: center; gap: 18px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--ink); position: sticky; top: 0; z-index: 20; }
.brand { display: flex; align-items: center; gap: 8px; font: 700 20px/1 var(--display); letter-spacing: -.02em; color: var(--text); text-decoration: none; }
.brand svg { color: var(--gold); }
.nav { display: flex; align-items: center; gap: 12px; }
.nav-link { color: var(--dim); text-decoration: none; font: 600 13px var(--ui); }
.nav-link:hover { color: var(--text); }
.nav-link.current { color: var(--text); }
.status { display: flex; align-items: center; gap: 8px; color: var(--dim); font-size: 13px; white-space: nowrap; }
.status-meta { padding-left: 8px; border-left: 1px solid var(--line); }
.status b { color: var(--text); font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--down); flex: none; }
.dot.live { background: var(--up); box-shadow: 0 0 0 3px rgba(61,220,151,.15); }
.filters { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.filters input[type=search] { width: 180px; background: var(--panel); border: 1px solid var(--line); color: var(--text); padding: 7px 10px; border-radius: var(--r-sm); font: inherit; }
.check { display: inline-flex; align-items: center; gap: 6px; color: var(--dim); font-size: 13px; cursor: pointer; white-space: nowrap; }
.check input { accent-color: var(--brand); margin: 0; }
.trade { display: flex; align-items: center; gap: 10px; }
.field { display: inline-flex; align-items: center; gap: 6px; color: var(--dim); font-size: 13px; white-space: nowrap; }
.field input { width: 62px; background: var(--panel); border: 1px solid var(--line); color: var(--text); padding: 6px 8px; border-radius: var(--r-sm); font: inherit; }
.btn { background: var(--panel); border: 1px solid var(--line); color: var(--text); padding: 7px 12px; border-radius: var(--r-sm); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 13px; white-space: nowrap; }
.btn:hover { border-color: var(--brand); }
.btn.ghost { background: none; border-color: transparent; color: var(--dim); }
.btn.ghost:hover { color: var(--text); border-color: var(--line); }
.wallet { position: relative; }
.wallet-btn img { width: 16px; height: 16px; border-radius: 4px; }
.wallet-btn .bal { color: var(--dim); }
.menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 230px; background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 6px; display: none; z-index: 30; box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.menu.open { display: block; }
.menu button { width: 100%; display: flex; gap: 10px; align-items: center; background: none; border: 0; padding: 8px 10px; border-radius: var(--r-sm); cursor: pointer; text-align: left; }
.menu button:hover { background: var(--panel); }
.menu img { width: 20px; height: 20px; border-radius: 4px; }
.menu .none { color: var(--dim); padding: 8px 10px; font-size: 13px; }
.feed-toggle { display: none; }
.filter-wrap { position: relative; }
.filter-menu { left: 0; right: auto; min-width: 290px; padding: 12px 14px; }
.filter-menu.open { display: grid; gap: 10px; }
.filter-menu .check { color: var(--text); }
.filter-menu p { margin: 0; line-height: 1.4; }
.limit { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; }
.limit input { width: 64px; background: var(--panel); border: 1px solid var(--line); color: var(--text); padding: 5px 8px; border-radius: var(--r-sm); font: inherit; }
.limit span { color: var(--dim); white-space: nowrap; }
.count { background: var(--brand); color: var(--ink); border-radius: 999px; padding: 0 6px; font-size: 11px; font-weight: 600; }

/* ---------- three-column layout ---------- */
.layout { display: grid; grid-template-columns: 290px minmax(0, 1fr) 360px; height: calc(100vh - var(--head)); }
.recent, .feed { overflow-y: auto; background: var(--ink); }
/* The coin list fills this column and stops on a whole row, so the pane itself never scrolls. */
.recent { border-right: 1px solid var(--line); padding-top: 14px; min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
.recent h2 { padding: 0 16px 10px; }
.ai-filter { margin: 0 12px 14px; padding: 10px 12px 11px; border: 1px solid rgba(255,107,122,.35); border-radius: var(--r-md); background: linear-gradient(180deg, rgba(255,107,122,.10), transparent 72%), var(--panel); }
.ai-kicker { display: flex; align-items: center; gap: 6px; font: 600 11px var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--down); }
.ai-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--down); box-shadow: 0 0 0 3px rgba(255,107,122,.16); flex: none; }
.ai-num { margin: 6px 0 0; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font: 700 26px/1 var(--display); letter-spacing: -.03em; }
.ai-num span { font: 500 12px/1.2 var(--ui); color: var(--dim); letter-spacing: 0; }
.ai-num b.bump { animation: rugbump .5s ease; }
@keyframes rugbump { from { color: var(--down); } }
.ai-sub { margin: 5px 0 0; color: var(--dim); font-size: 12px; line-height: 1.35; }
.stage { overflow-y: auto; padding: 20px 24px 40px; }
.feed { border-left: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; }
.feed .feed-list { flex: 1; min-height: 0; overflow-y: auto; }

/* ---------- recent list ---------- */
.recent-list { list-style: none; margin: 0; padding: 0 8px; overflow: hidden; }
.recent-item { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px; border-radius: var(--r-md); cursor: pointer; border: 1px solid transparent; }
.recent-item:hover { background: var(--panel); }
.recent-item.selected { background: var(--panel); border-color: var(--brand); }
.recent-item.fresh { animation: arrive 2.4s ease-out; }
@keyframes arrive { from { background: rgba(245,196,81,.18); } }
.thumb { width: 38px; height: 38px; border-radius: 9px; background: var(--panel-2); display: grid; place-items: center; color: var(--dim); font: 600 12px var(--ui); position: relative; overflow: hidden; flex: none; text-decoration: none; }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ri-name { min-width: 0; }
.ri-sym { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ri-sub { color: var(--dim); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ri-num { text-align: right; font-size: 13px; }
.ri-num .chg { font-size: 12px; }
.up { color: var(--up); } .down { color: var(--down); }
.tag.bad { border-color: var(--down); color: var(--down); }
.tag.paid { border-color: var(--gold); color: var(--gold); }
.chip.paid { border-color: rgba(245,196,81,.55); } .chip.paid b { color: var(--gold); }
.borrowed { margin-top: 10px; padding: 8px 12px; border-radius: var(--r-sm); background: rgba(255,107,122,.08); border: 1px solid rgba(255,107,122,.4); color: #FFB3BB; font-size: 13px; }
.borrowed b { color: var(--down); }
.tag { font-size: 10.5px; padding: 0 5px; border-radius: 4px; border: 1px solid var(--warn); color: var(--warn); margin-left: 5px; vertical-align: 1px; font-weight: 500; }

/* ---------- stage (the latest coin) ---------- */
.stage-empty { height: 100%; display: grid; place-content: center; text-align: center; gap: 4px; }
.stage-empty .big { font: 700 28px/1.2 var(--display); margin: 0; }
.stage-empty p { margin: 0; }
.hero { max-width: 1180px; margin: 0 auto; }
.hero-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; }
.hero-img { width: 104px; height: 104px; border-radius: 22px; background: var(--panel-2); display: grid; place-items: center; font: 800 30px var(--display); color: var(--dim); position: relative; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-ticker { font: 800 clamp(40px, 5.4vw, 76px)/.95 var(--display); letter-spacing: -.035em; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-name { font-size: 16px; color: var(--dim); margin: 6px 0 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.addr { font: 500 12.5px var(--mono); background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 4px 8px; cursor: pointer; color: var(--text); }
.addr:hover { border-color: var(--brand); }
.social { font-size: 12.5px; color: var(--dim); text-decoration: none; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 4px 8px; }
.social:hover { color: var(--text); border-color: var(--brand); }
.grad { text-align: right; }
.grad-badge { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); border: 1px solid rgba(245,196,81,.45); background: rgba(245,196,81,.08); padding: 6px 12px; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.grad-badge.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.grad-sub { color: var(--dim); font-size: 12px; margin-top: 6px; }
.follow { margin-top: 8px; }

.price-row { display: grid; grid-template-columns: minmax(240px, auto) minmax(0, 1fr); gap: 28px; align-items: end; margin: 24px 0 16px; }
.price { font: 700 44px/1 var(--display); letter-spacing: -.02em; transition: color .5s; }
.price sub { font-size: .5em; vertical-align: -.1em; }
.price.flash-up { color: var(--up); transition: none; }
.price.flash-down { color: var(--down); transition: none; }
.changes { display: flex; gap: 6px; margin-top: 10px; }
.chgpill { font-size: 12.5px; padding: 3px 8px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); }
.chgpill span { color: var(--dim); margin-right: 4px; }
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel); }
.stat { padding: 12px 14px; border-left: 1px solid var(--line); min-width: 0; }
.stat:first-child { border-left: 0; }
.stat .k { color: var(--dim); font-size: 12px; }
.stat .v { font-size: 18px; font-weight: 600; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat .s { color: var(--dim); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.show-seg { margin-bottom: 8px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.seg button { background: none; border: 0; padding: 5px 10px; font-size: 12.5px; color: var(--dim); cursor: pointer; }
.seg button[aria-pressed=true] { background: var(--panel-2); color: var(--text); }

.holders { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; align-items: center; }
.chip { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--dim); white-space: nowrap; background: var(--panel); }
.chip b { color: var(--text); font-weight: 600; margin-left: 4px; }
.chip.good b { color: var(--up); }
.chip.warn { border-color: rgba(255,181,71,.5); } .chip.warn b { color: var(--warn); }
.chip.bad { border-color: rgba(255,107,122,.55); } .chip.bad b { color: var(--down); }
.refresh { background: none; border: 1px solid var(--line); color: var(--dim); border-radius: 999px; padding: 4px 10px; cursor: pointer; font-size: 13px; }
.refresh:hover { color: var(--text); border-color: var(--brand); }

.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 6px; }
.hero .actions .buy { padding: 11px 20px; font-size: 15px; }
.buy { background: var(--up); color: #06261A; border: 0; font-weight: 600; border-radius: var(--r-sm); padding: 9px 16px; cursor: pointer; font-size: 14px; }
.buy:hover { filter: brightness(1.08); }
.buy:disabled { opacity: .6; cursor: progress; }
.buy.alt { background: transparent; color: var(--up); box-shadow: inset 0 0 0 1px rgba(61,220,151,.5); padding: 9px 12px; }
.actions .spacer { flex: 1; }

/* ---------- whale feed ---------- */
.feed-head { position: sticky; top: 0; background: var(--ink); border-bottom: 1px solid var(--line); padding: 14px 16px 10px; z-index: 2; }
.feed-title { display: flex; align-items: center; gap: 10px; }
.feed-title img { width: 30px; height: 30px; border-radius: 50%; }
.feed-title h2 { color: var(--text); font: 600 15px var(--ui); }
.feed-title a { text-decoration: none; }
.feed-close { margin-left: auto; display: none; }
.feed-filters { display: flex; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.feed-list { padding: 10px 12px 30px; }
.post { border-bottom: 1px solid var(--line); padding: 12px 4px; }
.post:last-child { border-bottom: 0; }
.post.new { animation: arrive 2.4s ease-out; }
.post.tracked { box-shadow: inset 2px 0 0 var(--gold); padding-left: 10px; }
.post-meta { display: flex; gap: 8px; align-items: center; color: var(--dim); font-size: 12px; margin-bottom: 5px; }
.post-meta a { color: var(--dim); text-decoration: none; margin-left: auto; }
.post-meta a:hover { color: var(--text); }
.chain { padding: 0 6px; border-radius: 4px; border: 1px solid var(--line); }
.chain.sol { color: #B9A2FF; border-color: #45386B; }
.post-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.post-text { white-space: pre-wrap; word-break: break-word; font-size: 13.5px; }
.post-text a { color: var(--brand); text-decoration: none; }
.post-pic { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; background: var(--panel-2); }
.post-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; align-items: center; }
.post-actions .btn { padding: 3px 8px; font-size: 12px; }
.post-actions .buy { padding: 4px 10px; font-size: 12.5px; }
.gold { color: var(--gold); border-color: rgba(245,196,81,.5) !important; }

/* ---------- toasts ---------- */
#toasts { position: fixed; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; z-index: 50; max-width: calc(100vw - 32px); }
.toast { background: var(--panel-2); border: 1px solid var(--line); border-left: 3px solid var(--dim); padding: 10px 14px; border-radius: var(--r-md); font-size: 13.5px; width: 360px; max-width: 100%; word-break: break-word; box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.toast.ok { border-left-color: var(--up); } .toast.err { border-left-color: var(--down); } .toast.wait { border-left-color: var(--warn); }

/* ---------- responsive ---------- */
@media (max-width: 1360px) {
}
@media (max-width: 1520px) {
  .price-row { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 1280px) {
  .layout { grid-template-columns: 260px minmax(0, 1fr); }
  .feed-toggle { display: inline-flex; }
  .feed { position: fixed; top: var(--head); right: 0; bottom: 0; width: min(400px, 100vw); z-index: 25; transform: translateX(100%); transition: transform .22s ease; box-shadow: -20px 0 40px rgba(0,0,0,.45); }
  .feed.open { transform: none; }
  .feed-close { display: inline-flex; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat:nth-child(4) { border-left: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 1100px) {
  .filters input[type=search] { width: 130px; }
}
@media (max-width: 860px) {
  .top { height: auto; flex-wrap: wrap; padding: 10px 16px; gap: 10px; }
  .nav { gap: 8px; }
  .nav-link { font-size: 12.5px; }
  :root { --head: 104px; }
  .trade { width: 100%; margin-left: 0; flex-wrap: wrap; }
  .layout { display: flex; flex-direction: column-reverse; height: auto; }
  .recent { border-right: 0; border-top: 1px solid var(--line); overflow: visible; }
  .stage { padding: 16px; overflow: visible; }
  .hero-head { grid-template-columns: auto minmax(0, 1fr); }
  .hero-img { width: 72px; height: 72px; border-radius: 16px; }
  .grad { grid-column: 1 / -1; text-align: left; }
  .price-row { grid-template-columns: 1fr; gap: 14px; }
  .price { font-size: 36px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat:nth-child(4) { border-left: 1px solid var(--line); }
  .feed { top: 0; width: 100vw; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before { animation: none !important; transition: none !important; }
}

/* ---------- calls / stats ---------- */
/* The board locks html/body to the viewport. This page is a normal document, so it has to scroll on its own. */
html:has(body.page-stats) { height: 100%; overflow: hidden; }
body.page-stats { height: 100%; width: 100%; max-width: 100%; min-height: 0; overflow-x: clip; overflow-y: auto; }
body.page-stats .top { position: sticky; top: 0; max-width: 100%; }
.stats-page { width: 100%; max-width: 1040px; min-width: 0; margin: 0 auto; padding: 28px 20px 72px; }
.stats-kicker { margin: 0 0 8px; color: var(--gold); font: 600 11px/1 var(--ui); letter-spacing: .16em; text-transform: uppercase; }
.stats-head h1 { font: 700 40px/1 var(--display); letter-spacing: -.035em; margin: 0 0 8px; }
.stats-head p { margin: 0; max-width: 42rem; overflow-wrap: break-word; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 10px; margin: 22px 0 18px; min-width: 0; }
.stat-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 14px 12px; min-width: 0; overflow: hidden; }
.stat-card .k { color: var(--dim); font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.stat-card .v { font: 700 28px/1.1 var(--display); letter-spacing: -.03em; margin-top: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stat-card .s { color: var(--dim); font-size: 12px; margin-top: 6px; overflow-wrap: break-word; }
.ath-num { color: var(--gold); }
.last-call { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; background: linear-gradient(180deg, rgba(245,196,81,.1), transparent 62%), var(--panel); border: 1px solid rgba(245,196,81,.35); border-radius: var(--r-lg); padding: 18px; margin-bottom: 28px; min-width: 0; max-width: 100%; overflow: hidden; }
.last-call .last-empty { grid-column: 1 / -1; }
.last-main, .call-id { min-width: 0; overflow: hidden; }
.last-kicker { margin: 0 0 6px; color: var(--gold); font: 600 11px/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; }
.last-call h2 { font: 700 30px/1.05 var(--display); letter-spacing: -.03em; margin: 0; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.last-call h2 a { color: inherit; text-decoration: none; }
.last-call h2 a:hover { color: var(--gold); }
.last-name { margin: 4px 0 0; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.last-mint { margin-top: 8px !important; min-width: 0; max-width: 100%; overflow: hidden; }
/* text-overflow is ignored on the button itself, so the mint lives in a span that can ellipsize. */
.last-mint .addr { display: block; width: 100%; max-width: 100%; min-width: 0; overflow: hidden; text-align: left; }
.last-mint .addr span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.last-mults, .call-mults { display: flex; gap: 18px; align-items: flex-end; flex: none; }
.last-x, .last-ath, .call-x, .call-ath { font: 700 28px/1 var(--display); letter-spacing: -.03em; white-space: nowrap; text-align: right; }
.last-ath, .call-ath { color: var(--gold); }
.last-x span, .last-ath span, .call-x span, .call-ath span { display: block; margin-top: 5px; color: var(--dim); font: 600 10px/1.2 var(--ui); letter-spacing: .08em; text-transform: uppercase; text-align: right; }
.thumb.lg { width: 64px; height: 64px; border-radius: 16px; font-size: 16px; }
.call-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 12px; margin-top: 12px; min-width: 0; }
.call-metrics .mk { display: block; color: var(--dim); font: 600 10px/1.2 var(--ui); letter-spacing: .08em; text-transform: uppercase; }
.call-metrics b { display: block; margin-top: 3px; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stats-list-title { margin: 0 2px 10px; color: var(--text); font: 600 14px var(--ui); }
.call-list { list-style: none; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.call-row { display: grid; grid-template-columns: 42px minmax(0, 1.1fr) minmax(220px, 1.5fr) auto; gap: 14px; align-items: center; padding: 12px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); min-width: 0; }
.call-row:hover { border-color: #343C5C; }
.call-row .call-metrics { margin-top: 0; }
.call-sym { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.call-sym a { color: inherit; text-decoration: none; }
.call-sym a:hover { color: var(--gold); }
.call-name { color: var(--dim); font-size: 12px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.call-x, .call-ath { font-size: 18px; }
.sim-row { grid-template-columns: 42px minmax(0, 1fr) minmax(240px, 1.3fr); }
.strategy { margin-top: 22px; }
.strategy .rule { margin: 0 2px; }
.strategy .stat-grid { margin-top: 12px; }
.sim-name { display: flex; align-items: baseline; gap: 8px; }
.sim-name > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.out-tag { flex: none; color: var(--gold); font: 600 11px/1.2 var(--ui); letter-spacing: .04em; }
.stop-tag, .trail-tag { flex: none; font: 600 11px/1.2 var(--ui); letter-spacing: .04em; }
.stop-tag { color: var(--down); }
.trail-tag { color: var(--warn); }
.rug-tag, .filter-tag { flex: none; font: 600 11px/1.2 var(--ui); letter-spacing: .04em; padding: 1px 5px; border-radius: 4px; border: 1px solid currentColor; }
.rug-tag { color: var(--down); }
.filter-tag { color: var(--warn); }
.trade-line { grid-column: 1 / -1; margin: 2px 0 0; color: var(--dim); font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.strategy-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: 8px; }
.strategy-tools .stats-list-title { margin: 0; }
.strategy-switch { display: flex; flex-wrap: wrap; gap: 6px; }
.strategy-switch button { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font: 600 12px var(--ui); color: var(--dim); cursor: pointer; }
.strategy-switch button[aria-pressed="true"] { background: var(--panel-2); color: var(--text); border-color: #343C5C; }
@media (max-width: 980px) {
  .call-row { grid-template-columns: 42px minmax(0, 1fr) auto; }
  .call-row .call-metrics { grid-column: 1 / -1; }
  .sim-row { grid-template-columns: 42px minmax(0, 1fr); }
}
@media (max-width: 860px) {
  body.page-stats { --head: 60px; }
  body.page-stats .top { height: var(--head); flex-wrap: nowrap; }
  .stats-page { padding: 20px 16px 64px; }
  .stats-head h1 { font-size: 32px; }
  .last-call { grid-template-columns: auto minmax(0, 1fr); padding: 14px; gap: 12px; }
  .last-mults { grid-column: 1 / -1; justify-content: flex-start; }
  .call-row { grid-template-columns: 42px minmax(0, 1fr); }
  .call-mults { grid-column: 1 / -1; justify-content: flex-start; }
  .call-x, .call-ath, .last-x, .last-ath { text-align: left; }
  .call-x span, .call-ath span, .last-x span, .last-ath span { text-align: left; }
}

/* Pictures stay hidden until loaded, so no broken-image icons while they download. */
.thumb img, .hero-img img, .post-pic { opacity: 0; transition: opacity .2s; }
.thumb img.ok, .hero-img img.ok, .post-pic.ok { opacity: 1; }

/* Latest boosts, under the whale feed */
.boosts { flex: none; max-height: 44%; display: flex; flex-direction: column; border-top: 1px solid var(--line); background: var(--ink); }
.boosts-head { display: flex; align-items: baseline; justify-content: space-between; padding: 10px 16px 6px; }
.boosts-head h2 { color: var(--text); font: 600 14px var(--ui); }
.boost-list { list-style: none; margin: 0; padding: 0 8px 10px; overflow-y: auto; min-height: 0; }
.boost { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto auto; gap: 8px; align-items: center; padding: 6px 8px; border-radius: var(--r-sm); }
.boost:hover { background: var(--panel); }
.boost.new { animation: arrive 2.4s ease-out; }
.thumb.sm { width: 30px; height: 30px; border-radius: 7px; font-size: 11px; }
.b-name { min-width: 0; }
.b-sym { font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-chain { font-weight: 400; color: var(--dim); font-size: 11px; margin-left: 6px; }
.b-sub { color: var(--dim); font-size: 12px; white-space: nowrap; }
.b-amt { text-align: right; color: var(--gold); font-weight: 600; font-size: 13px; white-space: nowrap; }
.b-link { padding: 3px 8px; font-size: 12px; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); cursor: pointer; }
