:root {
  --bg: #0b0b0d;
  --panel: #141417;
  --card: #1c1c20;
  --card-2: #232328;
  --line: #2a2a30;
  --text: #f4f4f5;
  --muted: #8b8b94;
  --dim: #5f5f68;
  --green: #86efac;
  --green-d: #4ade80;
  --red: #f87171;
  --yellow: #facc15;
  --s: #86efac;
  --a: #93c5fd;
  --b: #fcd34d;
  --c: #fdba74;
  --d: #a1a1aa;
  --font: ui-sans-serif, -apple-system, system-ui, "Segoe UI", Inter, Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --top-h: 64px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
html { background: var(--bg); overscroll-behavior: none; scrollbar-gutter: stable; }
html.no-scroll { overflow: hidden; }
body { overscroll-behavior: none; }
body { background: var(--bg); color: var(--text); font: 14px/1.45 var(--font); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
.num { font-variant-numeric: tabular-nums; }
.up { color: var(--green); }
.down { color: var(--red); }
.muted { color: var(--muted); }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr minmax(0, 460px) 1fr; align-items: center; gap: 16px;
  height: var(--top-h); padding: 0 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(134, 239, 172, .45), transparent); pointer-events: none; }
.brand { display: flex; align-items: center; gap: 18px; min-width: 0; }
.logo { display: flex; flex: none; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; letter-spacing: .01em; white-space: nowrap; }
.logo b { color: var(--green); }
.logo span { display: flex; gap: 5px; }
.mark { height: 34px; width: auto; object-fit: contain; transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.logo:hover .mark { transform: rotate(-4deg) scale(1.06); }
.nav { display: flex; gap: 2px; }
.nav a { position: relative; padding: 7px 12px; border-radius: 999px; color: var(--muted); font-size: 13.5px; font-weight: 600; white-space: nowrap; transition: color .15s, background .15s; }
.nav a:hover { color: var(--text); background: var(--card); }
.nav a.on { color: var(--text); background: var(--card-2); }
.nav a.on::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 7px 1px 0; border-radius: 50%; background: var(--green); vertical-align: middle; }
.search { transition: border-color .15s, box-shadow .15s; }
.search:focus-within { border-color: rgba(134, 239, 172, .45) !important; box-shadow: 0 0 0 4px rgba(134, 239, 172, .08); }
.kbd { padding: 1px 7px; border: 1px solid var(--line); border-radius: 6px; color: var(--dim); font: 11px var(--mono); }
.search:focus-within .kbd { display: none; }
.live-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.live-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--green-d); box-shadow: 0 0 0 3px rgba(74, 222, 128, .15); animation: pulse 1.6s infinite; }
.live-pill.busy i { background: var(--yellow); box-shadow: 0 0 0 3px rgba(250, 204, 21, .15); }
.token-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border: 1px solid rgba(134, 239, 172, .35); border-radius: 999px; background: rgba(134, 239, 172, .08); font-size: 12.5px; white-space: nowrap; transition: background .15s; }
.token-chip b { color: var(--green); }
.token-chip .num { color: var(--muted); font: 11.5px var(--mono); }
.token-chip:hover { background: rgba(134, 239, 172, .16); }
.copy-ico { color: var(--muted); font-size: 12px; }
.tagline { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search { position: relative; width: 100%; display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; color: var(--muted); }
.search:focus-within { border-color: #3d3d45; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; padding: 10px 0; color: var(--text); }
.search input::-webkit-search-cancel-button { filter: invert(.6); }
.results { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.5); }
.results a, .results .none { display: flex; align-items: center; gap: 10px; padding: 9px 12px; color: var(--text); }
.results a:hover, .results a.on { background: var(--card-2); }
.results .none { color: var(--muted); }
.results small { color: var(--muted); }
.results .grow { flex: 1; min-width: 0; }
.results .grow b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- layout ---------- */
main { flex: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 24px; }
.foot { position: relative; margin-top: 24px; padding: 18px 24px 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12.5px; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 1680px; margin: 0 auto; }
.love { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.love b { color: var(--text); transition: color .15s; }
.love:hover b { color: var(--green); }
.heart { display: inline-block; color: #f43f5e; animation: beat 1.4s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.3); } 28% { transform: scale(1); } 42% { transform: scale(1.18); } 56% { transform: scale(1); } }
.disclaimer { flex: 1; min-width: 240px; margin: 0; color: var(--dim); font-size: 12px; text-align: center; }
.ca { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.ticker { color: var(--green); font-weight: 800; }
.ca-val { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 5px 9px; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 8px; color: var(--text); font: 12px var(--mono); text-overflow: ellipsis; white-space: nowrap; }
button.ca-val { cursor: copy; transition: border-color .15s; }
button.ca-val:hover { border-color: rgba(134, 239, 172, .5); }
.ca-val.soon { color: var(--muted); font-family: var(--font); }
.ca-buy { color: var(--green); font-weight: 600; white-space: nowrap; }
.ca-buy:hover { text-decoration: underline; }

.hero { position: relative; z-index: 10; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.hero h1 { margin: 0; font-size: 30px; letter-spacing: -.02em; }
.hero p { margin: 4px 0 0; color: var(--muted); }
.controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.seg { display: inline-flex; gap: 2px; padding: 3px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; }
.seg button { border: 0; background: none; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 12.5px; letter-spacing: .03em; color: var(--muted); }
.seg button.on { background: var(--text); color: #000; }
.seg button:not(.on):hover { color: var(--text); }
.select { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; color: var(--text); }

.dd { position: relative; }
.dd svg { display: block; width: 16px; height: 16px; }
.dd-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 8px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; color: var(--text); font-size: 13px; transition: border-color .15s, background .15s; }
.dd-btn:hover, .dd.open .dd-btn { background: var(--card-2); border-color: #3d3d45; }
.dd-btn:focus-visible { outline: 0; border-color: rgba(134, 239, 172, .6); box-shadow: 0 0 0 3px rgba(134, 239, 172, .15); }
.dd-btn .dd-ico { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(134, 239, 172, .12); color: var(--green); }
.dd-btn .dd-ico svg { width: 14px; height: 14px; }
.dd-k { color: var(--muted); }
.dd-btn b { font-weight: 700; }
.dd-chev { color: var(--muted); transition: transform .2s cubic-bezier(.2, .8, .2, 1); }
.dd.open .dd-chev { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 40; width: 292px; max-height: min(70vh, 520px); overflow-y: auto; padding: 6px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .02) inset; backdrop-filter: blur(16px); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-6px) scale(.98); transform-origin: top right; transition: opacity .16s, transform .2s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .2s; }
.dd.left .dd-menu { right: auto; left: 0; transform-origin: top left; }
.dd.open .dd-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
.dd-g { padding: 10px 10px 4px; color: var(--dim); font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.dd-g:first-child { padding-top: 6px; }
.dd-o { display: grid; grid-template-columns: 32px minmax(0, 1fr) 16px; align-items: center; gap: 10px; width: 100%; padding: 6px 8px; border: 0; border-radius: 11px; background: none; color: var(--text); text-align: left; transition: background .12s; }
.dd.open .dd-o { animation: fadeUp .28s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 18ms); }
.dd-o .dd-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--card); color: var(--muted); transition: background .12s, color .12s; }
.dd-t b { display: block; font-size: 13px; font-weight: 600; }
.dd-t small { display: block; overflow: hidden; color: var(--muted); font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }
.dd-o:hover, .dd-o:focus-visible { background: var(--card); outline: 0; }
.dd-o:hover .dd-ico, .dd-o:focus-visible .dd-ico { background: var(--card-2); color: var(--text); }
.dd-o.on .dd-ico { background: rgba(134, 239, 172, .14); color: var(--green); }
.dd-o.on .dd-t b { color: var(--green); }
.dd-check { color: var(--green); opacity: 0; transform: scale(.6); transition: opacity .15s, transform .2s cubic-bezier(.2, .8, .2, 1); }
.dd-o.on .dd-check { opacity: 1; transform: none; }

th.sorted { color: var(--green); }
th.sorted::after { content: " ↓"; }
td.sorted { background: rgba(134, 239, 172, .035); }

.status { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; margin-bottom: 14px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-d); box-shadow: 0 0 0 3px rgba(74,222,128,.15); }
.dot.busy { background: var(--yellow); box-shadow: 0 0 0 3px rgba(250,204,21,.15); animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .4; } }
.bar { flex: 0 0 160px; height: 4px; background: var(--card-2); border-radius: 4px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--yellow); }

/* ---------- podium ---------- */
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.pod { position: relative; display: flex; flex-direction: column; gap: 12px; background: linear-gradient(180deg, var(--card), var(--panel)); border: 1px solid var(--line); border-radius: 18px; padding: 16px; transition: border-color .15s, transform .15s; }
.pod:hover { border-color: #3a3a42; transform: translateY(-1px); }
.pod .who { display: flex; align-items: center; gap: 12px; }
.pod .who b { font-size: 16px; }
.pod .who .score { display: flex; margin-top: 4px; }
.pod .place { position: absolute; top: 14px; right: 16px; font-size: 22px; }
.pod .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpi { background: var(--bg); border-radius: 10px; padding: 8px 10px; }
.kpi b { display: block; font-size: 16px; }
.kpi small { color: var(--muted); font-size: 11.5px; }

.av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--card-2); flex: none; }
.av.sm { width: 30px; height: 30px; }
.av.lg { width: 72px; height: 72px; }
.av.coin { border-radius: 12px; width: 52px; height: 52px; }
.check { color: var(--green); font-size: 12px; margin-left: 3px; }

.tier { display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 6px; border-radius: 7px; font-weight: 800; font-size: 12px; color: #000; }
.tier.S { background: var(--s); } .tier.A { background: var(--a); } .tier.B { background: var(--b); } .tier.C { background: var(--c); } .tier.D { background: var(--d); }
.score { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; }

/* ---------- table ---------- */
.table-wrap { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: auto; }
table { width: 100%; border-collapse: collapse; min-width: 980px; }
th, td { padding: 11px 9px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line); }
th { position: sticky; top: 0; background: var(--panel); color: var(--muted); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
th:nth-child(1), td:nth-child(1), th:nth-child(2), td:nth-child(2) { text-align: left; }
tbody tr { cursor: pointer; transition: background .1s; }
tbody tr:hover { background: var(--card); }
tbody tr:last-child td { border-bottom: 0; }
td.rank { width: 46px; color: var(--muted); font-weight: 700; }
.caller { display: flex; align-items: center; gap: 10px; max-width: 260px; }
.caller span { overflow: hidden; text-overflow: ellipsis; }
.caller small { display: block; color: var(--muted); font-size: 12px; }
.hit { display: inline-flex; align-items: center; gap: 8px; }
.hit i { display: inline-block; width: 48px; height: 5px; border-radius: 4px; background: var(--card-2); overflow: hidden; }
.hit i::after { content: ""; display: block; height: 100%; width: var(--w); background: var(--green-d); }

.empty { text-align: center; color: var(--muted); padding: 60px 20px; }
.empty b { display: block; color: var(--text); font-size: 17px; margin-bottom: 6px; }

/* ---------- profile ---------- */
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); margin-bottom: 14px; }
.back:hover { color: var(--text); }
.prof { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.prof h1 { margin: 0; font-size: 26px; }
.prof .meta { display: flex; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 13px; margin-top: 4px; }
.prof .meta a:hover { color: var(--text); }
.prof .links { margin-left: auto; display: flex; gap: 8px; }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: 13px; }
.btn:hover { background: var(--card-2); }
.btn.primary { background: var(--green); color: #000; border-color: transparent; }

.scores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.sc { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.sc small { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.sc .big { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 2px; }
.sc .big b { font-size: 28px; }
.sc .r { color: var(--muted); font-size: 13px; }
.factors { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.factors span { padding: 3px 8px; border-radius: 999px; background: var(--card); color: var(--muted); font-size: 12px; cursor: help; }
.factors span.up { color: var(--green); background: rgba(134, 239, 172, .08); }
.factors span.down { color: var(--red); background: rgba(248, 113, 113, .08); }
.mts { display: inline-flex; align-items: center; gap: 3px; width: 24px; margin-left: -2px; }
.mt { font-style: normal; font-size: 10px; cursor: help; }
.mt.up { color: var(--green); }
.mt.down { color: var(--red); }
.mt.spam { color: var(--yellow); font-size: 12px; }
.how p { color: var(--muted); }

.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.panel h2 { margin: 0 0 12px; font-size: 16px; }
.panel .head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.panel .head h2 { margin: 0; }

.reach small { color: var(--muted); }
.reach .pct { display: flex; align-items: baseline; gap: 10px; margin: 2px 0 14px; }
.reach .pct b { font-size: 44px; font-weight: 800; letter-spacing: -.02em; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.card { background: var(--card); border-radius: 12px; padding: 12px 8px; text-align: center; }
.card b { display: block; font-size: 18px; }
.card small { color: var(--muted); font-size: 12px; }

.spread { margin-top: 18px; }
.spread h3, .tail h3 { font-size: 14px; margin: 0 0 10px; }
.bars { display: grid; grid-template-columns: repeat(11, 1fr); gap: 6px; align-items: end; height: 96px; }
.bars div { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.bars i { display: block; background: var(--yellow); border-radius: 3px 3px 0 0; min-height: 2px; }
.bars i.win { background: var(--green); }
.bars i.zero { background: var(--card-2); }
.labels { display: grid; grid-template-columns: repeat(11, 1fr); gap: 6px; margin-top: 6px; color: var(--muted); font-size: 11px; text-align: center; }
.tail { margin-top: 18px; }
.tail .cards { grid-template-columns: repeat(3, 1fr); }

.calls { display: flex; flex-direction: column; }
.call { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.call:last-child { border-bottom: 0; }
.call .nm b { font-size: 16px; }
.call .nm small { display: block; color: var(--muted); }
.call .rt { text-align: right; }
.call .rt b { display: block; font-size: 17px; }
.call .mc { font-size: 13px; color: var(--muted); }
.call .mc strong { color: var(--text); }
.call .tl { grid-column: 2 / -1; text-align: right; color: var(--muted); font-size: 12.5px; margin-top: -6px; }
.more { width: 100%; margin-top: 10px; }
.note { color: var(--muted); font-size: 12.5px; }

.how { margin-top: 18px; }
.how summary { cursor: pointer; color: var(--muted); }
.how ul { color: var(--muted); padding-left: 20px; }
.how b { color: var(--text); }

/* ---------- loading + motion ---------- */
.loader { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 50; pointer-events: none; opacity: 0; transition: opacity .3s; }
.loader.on { opacity: 1; }
.loader i { position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, transparent, var(--green), #bbf7d0, var(--green), transparent); box-shadow: 0 0 12px var(--green-d); animation: slide 1s cubic-bezier(.4, 0, .2, 1) infinite; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

.sk { display: block; border-radius: 8px; background: linear-gradient(100deg, var(--card) 30%, #2d2d34 50%, var(--card) 70%); background-size: 300% 100%; animation: shimmer 1.3s infinite linear; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -50% 0; } }
.sk-line { height: 12px; }
.sk-line.lg { height: 22px; }
.sk-circle { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.sk-circle.sm { width: 30px; height: 30px; }
.sk-circle.lg { width: 72px; height: 72px; }
.sk-coin { width: 52px; height: 52px; border-radius: 12px; }
.sk-block { height: 64px; border-radius: 12px; }
.sk-card { pointer-events: none; }
.sk-card .who { gap: 12px; }
.sk-card .grow { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.sk-row { display: grid; grid-template-columns: 30px 30px minmax(0, 1.4fr) repeat(6, minmax(0, 1fr)); gap: 16px; align-items: center; padding: 15px 14px; border-bottom: 1px solid var(--line); animation: fadeUp .4s both; animation-delay: calc(var(--i, 0) * 45ms); }
.sk-row:last-child { border-bottom: 0; }
.sk-call { display: grid; grid-template-columns: 52px 1fr 90px; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); animation: fadeUp .4s both; animation-delay: calc(var(--i, 0) * 60ms); }
.sk-call > div { display: flex; flex-direction: column; gap: 8px; }
.w10 { width: 10%; } .w20 { width: 20%; } .w30 { width: 30%; } .w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; } .w100 { width: 100%; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: translateY(14px) scale(.96); } 70% { transform: translateY(-2px) scale(1.01); } 100% { opacity: 1; transform: none; } }
@keyframes medal { 0% { transform: scale(0) rotate(-40deg); } 60% { transform: scale(1.3) rotate(10deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes widen { from { width: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes glow { to { --angle: 360deg; } }
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

.view-in > * { animation: fadeUp .45s cubic-bezier(.2, .8, .2, 1) both; }
.view-in > :nth-child(2) { animation-delay: 60ms; }
.view-in > :nth-child(3) { animation-delay: 120ms; }
.view-in > :nth-child(4) { animation-delay: 180ms; }
.view-in > :nth-child(5) { animation-delay: 240ms; }

.pod { animation: pop .55s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 90ms); }
.pod .place { animation: medal .6s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 90ms + 250ms); }
.pod.first { border-color: transparent; background: linear-gradient(180deg, var(--card), var(--panel)) padding-box, conic-gradient(from var(--angle), #86efac, #22d3ee, #a78bfa, #facc15, #86efac) border-box; border: 1px solid transparent; animation: pop .55s cubic-bezier(.2, .8, .2, 1) both, glow 6s linear infinite; }

tbody tr { animation: fadeUp .4s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(min(var(--i, 0), 30) * 18ms); }
.hit i::after { animation: widen .9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(min(var(--i, 0), 30) * 18ms + 150ms); }
#board { transition: opacity .25s, filter .25s; }
#board.fading { opacity: .35; filter: blur(2px); pointer-events: none; }

.bars i { transform-origin: bottom; animation: grow .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 45ms); }
.cards .card { animation: fadeUp .4s both; animation-delay: calc(var(--i, 0) * 40ms); }
.call { animation: fadeUp .4s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(min(var(--i, 0), 20) * 40ms); transition: background .15s; border-radius: 10px; }
.call:hover { background: var(--card); }
.reach .pct b, .sc .big b { display: inline-block; animation: fadeUp .5s both; }

.av-ring { position: relative; display: inline-grid; place-items: center; padding: 3px; border-radius: 50%; background: conic-gradient(from var(--angle), #86efac, #22d3ee, #a78bfa, #facc15, #86efac); animation: glow 4s linear infinite; }
.av-ring .av { border: 3px solid var(--bg); }

.results:not([hidden]) { animation: drop .18s ease-out both; transform-origin: top; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px) scaleY(.96); } }
.results a { animation: fadeUp .25s both; animation-delay: calc(var(--i, 0) * 30ms); }
.search .spin { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--green); animation: spin .7s linear infinite; }
.search.loading .spin { display: block; }
.search.loading .glass { display: none; }

.btn.loading { color: transparent; position: relative; pointer-events: none; }
.btn.loading::after { content: ""; position: absolute; inset: 0; margin: auto; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--green); animation: spin .7s linear infinite; }

.bar i { background: repeating-linear-gradient(45deg, var(--yellow) 0 8px, #fde68a 8px 16px); background-size: 22px 100%; animation: stripes .6s linear infinite; transition: width .4s; }
@keyframes stripes { to { background-position: 22px 0; } }

/* ---------- watch + follow ---------- */
.acts { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.watch { display: inline-grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--muted); transition: transform .15s, color .15s, border-color .15s, background .15s; }
.watch.btn { display: inline-flex; width: auto; height: auto; padding: 8px 14px; }
.watch .star::before { content: "☆"; font-size: 15px; line-height: 1; }
.watch.on .star::before { content: "★"; }
.watch .star { display: inline-block; }
.watch.on .star { animation: medal .45s cubic-bezier(.2, .8, .2, 1); }
.watch .lbl::after { content: "Watch"; }
.watch.on .lbl::after { content: "Watching"; }
.watch:hover, .watch.on { color: var(--yellow); border-color: rgba(250, 204, 21, .45); }
.watch.on { background: rgba(250, 204, 21, .08); }
.watch:active { transform: scale(.9); }
.follow:not(.btn) { color: var(--green); font-weight: 600; white-space: nowrap; }
.follow:not(.btn):hover { text-decoration: underline; }
.rk { display: flex; align-items: center; gap: 8px; }
.rk .watch { width: 26px; height: 26px; }
td.rank { width: 72px; }
.btn.primary:hover { filter: brightness(1.08); }
.pod { cursor: pointer; }
.pod .acts { justify-content: flex-start; }
.pod .acts .btn { padding: 6px 12px; font-size: 12.5px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- hot coins ---------- */
.hot { margin-bottom: 20px; }
.hot-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.hot-head h2 { margin: 0; font-size: 18px; }
.hot-head small { flex-basis: 100%; font-size: 12.5px; }
.hot-list { display: grid; grid-auto-flow: column; grid-auto-columns: 264px; gap: 12px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.hot-list.is-empty { display: block; }
.coin-card { display: flex; flex-direction: column; gap: 10px; padding: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; scroll-snap-align: start; animation: pop .45s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(min(var(--i, 0), 8) * 60ms); }
.coin-card.fire { border-color: transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, conic-gradient(from var(--angle), #f97316, #facc15, #ef4444, #f97316) border-box; animation: pop .45s cubic-bezier(.2, .8, .2, 1) both, glow 5s linear infinite; }
.cc-head { display: flex; align-items: center; gap: 10px; }
.cc-head .grow { flex: 1; min-width: 0; }
.cc-head b, .cc-head small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-head b { font-size: 15px; }
.cc-head small { color: var(--muted); font-size: 12px; }
.badges { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.badge { padding: 2px 7px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.badge.fire { background: rgba(249, 115, 22, .15); color: #fdba74; }
.badge.trend { background: rgba(147, 197, 253, .12); color: var(--a); }
.cc-mid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cc-mid > div { padding: 7px 10px; background: var(--bg); border-radius: 10px; }
.cc-mid small { display: block; color: var(--muted); font-size: 11px; }
.cc-mid b { font-size: 15px; }
.cc-callers { display: flex; align-items: center; gap: 8px; min-height: 26px; }
.cc-callers small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 12px; }
.cc-callers small a { color: var(--text); }
.cc-callers small a:hover { color: var(--green); }
.stack { display: flex; flex: none; align-items: center; }
.stack a { position: relative; margin-left: -7px; animation: pop .35s both; animation-delay: calc(var(--i, 0) * 50ms + 200ms); }
.stack a:first-child { margin-left: 0; }
.stack a:hover { z-index: 1; transform: translateY(-2px); }
.stack .av { border: 2px solid var(--panel); }
.dot-tier { position: absolute; right: -1px; bottom: -1px; width: 9px; height: 9px; border: 2px solid var(--panel); border-radius: 50%; }
.dot-tier.S { background: var(--s); } .dot-tier.A { background: var(--a); } .dot-tier.B { background: var(--b); } .dot-tier.C { background: var(--c); } .dot-tier.D { background: var(--d); }
.more-n { margin-left: 4px; color: var(--muted); font-size: 11.5px; }
.warn { padding: 5px 8px; border-radius: 8px; background: rgba(248, 113, 113, .08); color: var(--red); font-size: 12px; }
.buy { justify-content: center; margin-top: auto; }
.empty.small { padding: 24px; }
.av.xs { width: 22px; height: 22px; }
.av.coin.sm { width: 40px; height: 40px; border-radius: 10px; }
.sk-circle.xs { width: 22px; height: 22px; }
.sk-coin.sm { width: 40px; height: 40px; border-radius: 10px; }
.sk-block.sm { height: 48px; }
.sk-btn { height: 34px; border-radius: 999px; }

/* ---------- sidebar ---------- */
.top-r { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; }
.side-toggle { position: relative; }
.side-toggle .star-ico { color: var(--muted); transition: color .15s; }
.side-toggle.on { border-color: rgba(250, 204, 21, .4); }
.side-toggle.on .star-ico { color: var(--yellow); }
.side-toggle b { padding: 0 7px; border-radius: 999px; background: var(--green); color: #000; font-size: 12px; }
.hot { scroll-margin-top: calc(var(--top-h) + 14px); }
@media (min-width: 1200px) {
  body.side-hidden .shell { grid-template-columns: minmax(0, 1fr); }
  body.side-hidden .side { display: none; }
}
@media (max-width: 1399px) { .live-pill { display: none !important; } }
.unread { position: absolute; top: -3px; right: -3px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px var(--bg); animation: pulse 1.2s infinite; }
.shell { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; width: 100%; max-width: 1680px; margin: 0 auto; }
.shell main { min-width: 0; }
.side { position: sticky; top: var(--top-h); display: flex; flex-direction: column; height: calc(100vh - var(--top-h)); background: var(--bg); border-left: 1px solid var(--line); }
.side-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 18px 16px 10px; }
.side-head h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; }
.side-head small { font-size: 12px; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(248, 113, 113, .2); animation: pulse 1.4s infinite; }
.side-tools { display: flex; align-items: center; gap: 6px; }
.tool-btn { display: inline-grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--card); color: var(--muted); transition: color .15s, border-color .15s, background .15s, transform .15s; }
.tool-btn:hover { color: var(--text); }
.tool-btn:active { transform: scale(.9); }
.tool-btn.on { color: var(--green); border-color: rgba(134, 239, 172, .45); background: rgba(134, 239, 172, .1); }
.side-head { position: relative; z-index: 5; }
.snd { display: inline-flex; align-items: center; height: 32px; padding: 2px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; transition: border-color .15s, background .15s; }
.snd.on { background: rgba(134, 239, 172, .07); border-color: rgba(134, 239, 172, .4); }
.snd-mute { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: var(--card-2); color: var(--muted); transition: color .15s, background .15s, transform .15s; }
.snd-mute svg { width: 15px; height: 15px; }
.snd-mute:hover { color: var(--text); }
.snd-mute:active { transform: scale(.88); }
.snd-mute:focus-visible, .snd-pick:focus-visible { outline: 0; box-shadow: 0 0 0 2px rgba(134, 239, 172, .5); }
.snd.on .snd-mute { background: rgba(134, 239, 172, .16); color: var(--green); }
.snd.on .snd-mute svg { animation: ring .6s ease-in-out; transform-origin: 30% 50%; }
@keyframes ring { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(14deg); } 40% { transform: rotate(-10deg); } 60% { transform: rotate(6deg); } 80% { transform: rotate(-3deg); } }
.dd-btn.snd-pick { height: 26px; gap: 4px; padding: 0 6px 0 8px; background: none; border: 0; font-size: 12.5px; }
.snd-pick b { font-weight: 600; }
.snd:not(.on) .snd-pick { color: var(--muted); }
.snd-pick .dd-chev { width: 13px; height: 13px; }
.snd-dd .dd-menu { width: 230px; }
.icon-btn { display: none; width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--card); color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.chip { display: inline-flex; align-items: center; gap: 2px; padding: 2px 4px 2px 3px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; animation: pop .3s both; }
.chip a { display: inline-flex; align-items: center; gap: 6px; max-width: 130px; }
.chip a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip .x { padding: 0 5px; border: 0; background: none; color: var(--muted); font-size: 15px; line-height: 1; }
.chip .x:hover { color: var(--red); }
.feed { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 0 12px 16px; overflow-y: auto; overscroll-behavior: contain; }
.fi { display: flex; flex-direction: column; gap: 9px; padding: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; animation: fadeUp .35s both; animation-delay: calc(min(var(--i, 0), 12) * 40ms); }
.fi.new { border-color: rgba(134, 239, 172, .6); animation: fadeUp .35s both, flash 2.4s ease-out; }
@keyframes flash { from { box-shadow: 0 0 0 0 rgba(134, 239, 172, .55); } to { box-shadow: 0 0 0 14px rgba(134, 239, 172, 0); } }
.fi-who { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.fi-who a { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.fi-who a b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fi-who a:hover b { color: var(--green); }
.fi-who .tier { height: 18px; min-width: 20px; font-size: 11px; }
.fi-who small { margin-left: auto; color: var(--muted); white-space: nowrap; }
.fi-coin { display: flex; align-items: center; gap: 10px; }
.fi-coin .grow { flex: 1; min-width: 0; }
.fi-coin .grow b { display: block; font-size: 15px; }
.fi-coin small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 12px; }
.fi-x { text-align: right; }
.fi-x b { display: block; font-size: 17px; }
.fi-x small { font-size: 11px; }
.fi-mc { color: var(--muted); font-size: 12.5px; }
.fi-mc strong { color: var(--text); }
.fi-thesis { margin: 0; padding: 7px 9px; background: var(--card); border-radius: 10px; color: #c4c4cc; font-size: 12.5px; }
.fi-thesis span { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.fi-acts { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fi-acts small { color: var(--muted); font-size: 12px; }
.fi-acts .buy { margin: 0; padding: 7px 12px; font-size: 12.5px; }
.feed-empty { padding: 30px 10px; color: var(--muted); text-align: center; }
.feed-empty b { display: block; margin: 8px 0 6px; color: var(--text); font-size: 15px; }
.feed-empty p { margin: 0 0 14px; font-size: 13px; }
.eyes { font-size: 34px; animation: look 3s ease-in-out infinite; }
@keyframes look { 0%, 100% { transform: none; } 30% { transform: translateX(-5px); } 60% { transform: translateX(5px); } }
.star-inline { color: var(--yellow); }
.scrim { position: fixed; inset: 0; z-index: 30; background: rgba(0, 0, 0, .55); animation: fadeIn .2s both; }
@keyframes fadeIn { from { opacity: 0; } }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; padding: 10px 16px; background: var(--card-2); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 12px 30px rgba(0, 0, 0, .5); font-size: 13.5px; opacity: 0; pointer-events: none; transform: translate(-50%, 20px); transition: opacity .2s, transform .25s cubic-bezier(.2, .8, .2, 1); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1199px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { position: fixed; top: 0; right: 0; bottom: 0; z-index: 40; width: min(400px, 92vw); height: auto; box-shadow: -20px 0 40px rgba(0, 0, 0, .4); transform: translateX(105%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); }
  body.side-open .side { transform: none; }
  .icon-btn { display: inline-grid; place-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
}

@media (max-width: 900px) {
  .tagline { display: none; }
  .podium, .scores { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  main { padding: 16px; }
  .top { padding: 0 16px; grid-template-columns: max-content minmax(0, 1fr) auto; gap: 10px; }
  .search input { min-width: 0; }
  .brand { flex: none; }
  .nav, .token-chip, .kbd { display: none !important; }
  .foot-in { flex-direction: column; text-align: center; }
  .ca { flex-wrap: wrap; justify-content: center; max-width: 100%; }
  .ca-val { max-width: 82vw; }
}

@media (max-width: 600px) {
  .logo span { display: none; }
  .mark { height: 24px; }
  .side-toggle { padding: 8px 12px; }
  .side-toggle .lbl { display: none; }
}
