:root {
  --bg: #0b0d12; --bg2: #0f1218; --panel: #13161e; --panel2: #181c26; --border: #222838; --border2: #2c3447;
  --text: #e8eaf0; --muted: #8b93a7; --red: #ff3b3b; --green: #22c55e; --down: #ef4444; --gold: #f5b700; --blue: #4f8cff; --purple: #a78bfa;
  --radius: 14px; --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --display: "Barlow Condensed", "Inter", sans-serif;
  --ticker-h: 38px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; padding-top: var(--ticker-h); background: radial-gradient(1200px 500px at 20% -10%, #17203a 0%, var(--bg) 55%) fixed, var(--bg); color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.45; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: .01em; margin: 0; }
h2 { font-size: 30px; font-weight: 800; text-transform: uppercase; }
h3 { font-size: 22px; font-weight: 700; }
h4 { font-size: 16px; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.up { color: var(--green); } .down { color: var(--down); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }

/* ---------- ticker ---------- */
.ticker { position: fixed; top: 0; left: 0; right: 0; height: var(--ticker-h); z-index: 50; display: flex; align-items: center; background: #0a0c11; border-bottom: 1px solid var(--border); overflow: hidden; }
.live-badge { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 100%; padding: 0 14px; background: var(--red); color: #fff; font-family: var(--display); font-weight: 800; letter-spacing: .12em; font-size: 15px; }
.live-badge i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: blink 1.1s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.ticker-viewport { flex: 1; overflow: hidden; height: 100%; }
.ticker-track { display: inline-flex; align-items: center; height: 100%; white-space: nowrap; will-change: transform; animation: marquee var(--tk-dur, 60s) linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tk-item { display: inline-flex; align-items: center; gap: 7px; padding: 0 18px; font-size: 13.5px; border-right: 1px solid var(--border); height: 100%; }
.tk-item .sym { font-weight: 700; }
.tk-item .kind { font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .1em; padding: 2px 6px; border-radius: 4px; }
.tk-item .kind.news { background: #1d2740; color: #9fc0ff; }
.tk-item .kind.signal { background: #2a1f00; color: var(--gold); }
.tk-item .kind.smart { background: #241a3d; color: var(--purple); }
.tk-item .src { color: var(--muted); font-size: 12px; }
.tk-item a:hover { text-decoration: underline; }

/* ---------- header ---------- */
.topbar { display: flex; align-items: center; gap: 24px; padding: 14px 28px; border-bottom: 1px solid var(--border); background: rgba(11,13,18,.75); backdrop-filter: blur(10px); position: sticky; top: var(--ticker-h); z-index: 40; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 42px; height: 42px; border-radius: 10px; flex: none; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, #22c55e, #4f8cff); color: #0b0d12; font-family: var(--display); font-weight: 800; font-size: 18px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: .02em; }
.brand-tag { font-size: 11.5px; color: var(--muted); }
.nav { display: flex; gap: 4px; margin-left: 10px; }
.nav a { padding: 8px 12px; border-radius: 8px; font-weight: 500; color: #c8cddb; }
.nav a:hover { background: var(--panel2); color: #fff; }
.account { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 16px; border-radius: 10px; border: 1px solid var(--border2); background: var(--panel2); color: #fff; font-weight: 600; font-size: 14px; cursor: pointer; font-family: var(--font); }
.btn:hover { border-color: #3b4560; background: #1f2431; }
.btn.google { background: #fff; color: #1f2937; border-color: #fff; }
.btn.google:hover { background: #eef2f7; }
.btn.gold { background: linear-gradient(135deg, #f5b700, #ff8a00); color: #1a1200; border: none; }
.btn.ghost { background: transparent; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border2); }
.pro-badge { display: inline-block; padding: 2px 7px; border-radius: 6px; background: #2a1f00; color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .06em; vertical-align: middle; }
.account form { margin: 0; }
.account .name { font-weight: 600; font-size: 14px; }

/* ---------- breaking ---------- */
.breaking { padding: 22px 28px 6px; }
.breaking-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.tag-red { background: var(--red); color: #fff; font-family: var(--display); font-weight: 800; letter-spacing: .12em; padding: 3px 9px; border-radius: 5px; font-size: 14px; }
.breaking-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; align-content: start; }
.stat { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.stat .v { font-family: var(--display); font-size: 30px; font-weight: 800; line-height: 1; }
.stat .l { color: var(--muted); font-size: 12.5px; margin-top: 6px; }
.stat .v.ok { color: var(--green); } .stat .v.bad { color: var(--down); }

/* ---------- layout ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; padding: 18px 28px 28px; }
.section-head { display: flex; align-items: center; gap: 16px; margin: 6px 0 14px; flex-wrap: wrap; }
.tabs { display: inline-flex; background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 3px; }
.tabs button { border: none; background: transparent; color: var(--muted); padding: 7px 12px; border-radius: 8px; font-weight: 600; cursor: pointer; font-family: var(--font); font-size: 13px; }
.tabs button.on { background: var(--panel2); color: #fff; }
.refresh { margin-left: auto; font-size: 12px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.empty { color: var(--muted); padding: 30px; text-align: center; grid-column: 1 / -1; }
.note { font-size: 12.5px; margin-top: 14px; }

/* ---------- card ---------- */
.card { position: relative; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; transition: border-color .15s; }
.card:hover { border-color: var(--border2); }
.card.pro { border-color: #3a2f0a; box-shadow: inset 0 0 0 1px rgba(245,183,0,.15); }
.card.smart-stage { border-color: #2e2450; }
.card-top { display: flex; align-items: center; gap: 12px; }
.avatar-token { width: 46px; height: 46px; border-radius: 12px; background: #1d2230; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 18px; color: #c8cddb; overflow: hidden; flex: none; }
.avatar-token img { width: 100%; height: 100%; object-fit: cover; }
.title { min-width: 0; flex: 1; }
.title .sym { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.05; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.title .sym .name { font-family: var(--font); font-weight: 500; font-size: 13px; color: var(--muted); margin-left: 8px; }
.title .meta { color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.title .meta .stage { color: #c8cddb; }
.score { flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1; border: 3px solid var(--border2); }
.score small { font-size: 10px; color: var(--muted); font-weight: 600; }
.score.s-high { border-color: var(--green); color: var(--green); }
.score.s-mid { border-color: var(--gold); color: var(--gold); }
.score.s-low { border-color: #3b4560; color: #c8cddb; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 10px; }
.metrics div { background: var(--bg2); border-radius: 8px; padding: 6px 9px; font-size: 13px; }
.metrics b { display: block; color: var(--muted); font-weight: 500; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 11.5px; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--border2); color: #c8cddb; background: var(--bg2); }
.chip.good { border-color: #1d5a35; color: #7ee2a3; background: #0f2418; }
.chip.warn { border-color: #6b2323; color: #ff9d9d; background: #2a1212; }
.chip.info { border-color: #2b3c66; color: #9fc0ff; background: #131c30; }
.chip.hot { border-color: #6b3d00; color: #ffb54d; background: #2a1a00; cursor: default; }
.results { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; }
.results span b { color: var(--muted); font-weight: 500; }
.results .exit { color: var(--down); font-weight: 600; }
.links { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12.5px; color: #9fc0ff; }
.links a:hover, .links button:hover { text-decoration: underline; }
.links button { background: none; border: none; color: inherit; padding: 0; cursor: pointer; font: inherit; }
.sparkline { font-family: ui-monospace, monospace; letter-spacing: 1px; color: var(--green); }
.card.locked .metrics, .card.locked .chips, .card.locked .results { filter: blur(5px); pointer-events: none; user-select: none; }
.lock-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 20px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(19,22,30,.1), rgba(19,22,30,.85) 45%); }
.lock-overlay .lk { font-size: 26px; }
.lock-overlay .t { font-family: var(--display); font-weight: 800; font-size: 20px; }
.lock-overlay .s { color: var(--muted); font-size: 12.5px; }
.night-tag { display: inline-block; font-size: 10.5px; padding: 1px 6px; border-radius: 4px; background: #1d2740; color: #9fc0ff; margin-left: 6px; vertical-align: middle; }

/* top story */
.top-story .card { padding: 18px 20px; background: linear-gradient(160deg, #161b27, #11141c); }
.top-story .title .sym { font-size: 30px; }
.top-story .metrics { grid-template-columns: repeat(6, 1fr); }
.top-story .score { width: 72px; height: 72px; font-size: 30px; }

/* ---------- side panels ---------- */
.side-col { display: flex; flex-direction: column; gap: 16px; }
.panel { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
.panel h3 { margin-bottom: 6px; }
.panel .sub { margin: 12px 0 6px; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.mini-list { display: flex; flex-direction: column; }
.mini { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--border); font-size: 13.5px; }
.mini:first-child { border-top: none; }
.mini .sym { font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini .r { margin-left: auto; text-align: right; white-space: nowrap; }
.mini .sc { font-family: var(--display); font-weight: 800; font-size: 17px; }
.mini .ago { color: var(--muted); font-size: 12px; }
.news { list-style: none; margin: 0; padding: 0; }
.news li { padding: 8px 0; border-top: 1px solid var(--border); font-size: 13.5px; line-height: 1.35; }
.news li:first-child { border-top: none; }
.news .src { color: var(--muted); font-size: 12px; margin-left: 6px; white-space: nowrap; }
.news a:hover { text-decoration: underline; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 10px; }
.kpi { background: var(--bg2); border-radius: 10px; padding: 10px 12px; }
.kpi .v { font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1; }
.kpi .l { color: var(--muted); font-size: 11.5px; margin-top: 4px; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 54px; margin: 10px 0 4px; }
.bar { flex: 1; background: #24304a; border-radius: 3px 3px 0 0; position: relative; min-height: 2px; }
.bar i { position: absolute; bottom: 0; left: 0; right: 0; background: var(--green); border-radius: 3px 3px 0 0; }
.bar-note { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }

/* ---------- pricing ---------- */
.pricing { padding: 30px 28px; border-top: 1px solid var(--border); }
.pricing > p { max-width: 760px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; max-width: 980px; }
.plan { background: var(--panel); border: 1px solid var(--border); border-radius: 18px; padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.plan.pro { border-color: #5a4400; background: linear-gradient(160deg, #1a1608, #13161e 60%); }
.plan-name { font-family: var(--display); font-weight: 800; font-size: 24px; }
.plan-price { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; }
.plan-price span { font-size: 16px; color: var(--muted); font-weight: 600; margin-left: 4px; }
.plan ul { margin: 0; padding-left: 18px; color: #c8cddb; display: flex; flex-direction: column; gap: 7px; }
.plan .btn { margin-top: auto; }

footer { padding: 24px 28px 40px; border-top: 1px solid var(--border); color: #c8cddb; font-size: 13px; display: flex; flex-direction: column; gap: 8px; max-width: 980px; }

@media (max-width: 1080px) {
  .layout { grid-template-columns: 1fr; }
  .breaking-grid { grid-template-columns: 1fr; }
  .top-story .metrics { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .topbar { flex-wrap: wrap; gap: 10px; padding: 12px 16px; }
  .nav { order: 3; width: 100%; overflow-x: auto; margin-left: 0; }
  .breaking, .layout, .pricing, footer { padding-left: 16px; padding-right: 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  h2 { font-size: 24px; }
  .brand-tag { display: none; }
}

/* ---------- views / pages ---------- */
.view { display: none; }
.view.on { display: block; }
.page { padding: 22px 28px 40px; max-width: 1240px; }
.nav a.on { background: var(--panel2); color: #fff; }
.nav a.nav-pro { color: var(--gold); }
.mt { margin-top: 28px; margin-bottom: 10px; }
.more { display: inline-block; margin-top: 10px; color: #9fc0ff; font-size: 13px; }
.more:hover { text-decoration: underline; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th, .tbl td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
.tbl th { color: var(--muted); font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; }
.tbl tbody tr:hover { background: var(--panel2); }
.tbl .sym { font-weight: 700; }
.tbl .sc { font-family: var(--display); font-weight: 800; font-size: 17px; }
.tbl td.lock { color: var(--gold); }
.compare td:nth-child(2), .compare td:nth-child(3), .compare th:nth-child(2), .compare th:nth-child(3) { text-align: center; width: 140px; }
.compare td:nth-child(3) { color: var(--gold); }
.trends-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.trends-grid .wide { grid-column: 1 / -1; }
.chips.big .chip { font-size: 15px; padding: 8px 14px; }
.pro-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 26px; align-items: start; margin-top: 8px; }
.pro-hero h2 { font-size: 44px; line-height: 1; margin: 8px 0 12px; }
.lead { font-size: 16px; color: #c8cddb; max-width: 640px; }
.tag-gold { display: inline-block; background: var(--gold); color: #1a1200; font-family: var(--display); font-weight: 800; letter-spacing: .12em; padding: 3px 9px; border-radius: 5px; font-size: 14px; }
.price-card { background: linear-gradient(160deg, #1a1608, #13161e 60%); border: 1px solid #5a4400; border-radius: 18px; padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.price-card ul { margin: 6px 0 0; padding-left: 18px; color: #c8cddb; display: flex; flex-direction: column; gap: 7px; }
.pro-cta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.faq details { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; margin-bottom: 8px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: #c8cddb; margin: 8px 0 2px; }
.acc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 16px; }
.acc-grid .panel.wide { grid-column: 1 / -1; }
.profile { display: flex; align-items: center; gap: 14px; }
.profile img { width: 56px; height: 56px; border-radius: 50%; }
.profile .n { font-weight: 700; font-size: 17px; }
.plan-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.plan-pill { font-family: var(--display); font-weight: 800; font-size: 20px; padding: 4px 12px; border-radius: 8px; background: var(--bg2); }
.plan-pill.pro { background: #2a1f00; color: var(--gold); }
.code-box { font-family: ui-monospace, monospace; font-size: 26px; letter-spacing: .2em; background: var(--bg2); border: 1px dashed var(--border2); border-radius: 10px; padding: 10px 14px; display: inline-block; margin: 8px 0; }
.steps { margin: 8px 0 0; padding-left: 18px; color: #c8cddb; display: flex; flex-direction: column; gap: 5px; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); }
.switch:first-of-type { border-top: none; }
.toggle { position: relative; width: 44px; height: 24px; border-radius: 12px; background: #2c3447; border: none; cursor: pointer; flex: none; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .15s; }
.toggle.on { background: var(--green); }
.toggle.on::after { left: 23px; }
.star { position: absolute; top: 12px; right: 78px; background: none; border: none; color: #5b657d; font-size: 20px; cursor: pointer; line-height: 1; padding: 2px 4px; }
.star:hover { color: var(--gold); }
.star.on { color: var(--gold); }
.top-story .star { right: 96px; top: 16px; }
.signin-card { text-align: center; padding: 40px 20px; }
.signin-card h2 { margin-bottom: 8px; }
@media (max-width: 900px) {
  .trends-grid, .pro-hero { grid-template-columns: 1fr; }
  .pro-hero h2 { font-size: 32px; }
  .page { padding: 16px; }
}

/* ---------- trade of the day ---------- */
.tod-wrap { padding: 4px 28px 0; }
.tod { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; background: linear-gradient(120deg, #1d1704, #13161e 55%); border: 1px solid #5a4400; border-radius: var(--radius); padding: 14px 18px; position: relative; }
.tod .lbl { position: absolute; top: -11px; left: 16px; background: var(--gold); color: #1a1200; font-family: var(--display); font-weight: 800; letter-spacing: .12em; font-size: 12px; padding: 2px 9px; border-radius: 5px; }
.tod .who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tod .who .sym { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1; }
.tod .who .meta { color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.tod .nums { display: flex; gap: 22px; flex-wrap: wrap; }
.tod .num .v { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; }
.tod .num .l { color: var(--muted); font-size: 11.5px; margin-top: 3px; text-transform: uppercase; letter-spacing: .06em; }
.tod .act { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.tod .chips { margin-top: 8px; }
.tod .who .sym a:hover { text-decoration: underline; }
@media (max-width: 900px) { .tod { grid-template-columns: 1fr; } .tod .act { align-items: flex-start; } .tod-wrap { padding: 4px 16px 0; } }

/* ---------- token page ---------- */
.token-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.token-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; }
.chart { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.chart svg { width: 100%; height: 240px; display: block; }
.chart .ax { fill: var(--muted); font-size: 11px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; gap: 12px; padding: 8px 0; border-top: 1px solid var(--border); font-size: 13.5px; }
.timeline li:first-child { border-top: none; }
.timeline .t { color: var(--muted); white-space: nowrap; min-width: 120px; }
@media (max-width: 900px) { .token-grid { grid-template-columns: 1fr; } }

/* ---------- how it works ---------- */
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin-top: 18px; }
.how-step { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; position: relative; }
.how-step .n { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #22c55e, #4f8cff); color: #0b0d12; font-family: var(--display); font-weight: 800; display: grid; place-items: center; margin-bottom: 10px; }
.how-step h3 { font-size: 19px; margin-bottom: 6px; }
.how-step p { margin: 0; color: #c8cddb; font-size: 14px; }

/* ---------- theme modal ---------- */
.mini.clickable, .chip.clickable { cursor: pointer; }
.mini.clickable:hover { background: var(--panel2); }
.chip.clickable:hover { border-color: var(--gold); }
.modal-bg { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 100; display: flex; align-items: flex-start; justify-content: center; padding: 60px 16px 16px; overflow-y: auto; }
.modal { background: var(--panel); border: 1px solid var(--border2); border-radius: 16px; width: min(760px, 100%); padding: 18px 20px; position: relative; }
.modal h3 { padding-right: 40px; }
.modal .close { position: absolute; top: 12px; right: 12px; background: var(--panel2); border: 1px solid var(--border2); color: #fff; width: 32px; height: 32px; border-radius: 8px; cursor: pointer; font-size: 16px; }
.modal .tbl th, .modal .tbl td { padding: 8px 10px; }
.modal .st { font-size: 11px; padding: 2px 7px; border-radius: 999px; border: 1px solid var(--border2); color: var(--muted); }
.modal .st.alerted { border-color: #1d5a35; color: #7ee2a3; } .modal .st.graduated { border-color: #2b3c66; color: #9fc0ff; } .modal .st.dead, .modal .st.rejected { border-color: #6b2323; color: #ff9d9d; }

/* ---------- activity bar ---------- */
.activity { display: flex; align-items: center; gap: 10px; padding: 8px 28px; background: #0e1118; border-bottom: 1px solid var(--border); font-size: 13px; color: #c8cddb; flex-wrap: wrap; }
.activity .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse 1.6s infinite; flex: none; }
.activity .dot.off { background: var(--down); animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); } 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.activity b { color: #fff; font-family: var(--display); font-size: 15px; }
.activity .sep { color: var(--border2); }
@media (max-width: 760px) { .activity { padding: 8px 16px; } }

/* ---------- live badge ---------- */
.live-tag { display: inline-flex; align-items: center; gap: 5px; font-family: var(--display); font-weight: 800; letter-spacing: .08em; font-size: 11px; padding: 2px 7px; border-radius: 5px; background: #2a1212; color: #ff9d9d; margin-left: 8px; vertical-align: middle; }
.live-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: blink 1.1s infinite; }
.live-now { font-weight: 700; }
.card.locked .results { filter: none; pointer-events: auto; user-select: auto; }
.lock-overlay .now { font-family: var(--display); font-weight: 800; font-size: 22px; }

/* ---------- results page ---------- */
.res-hero { background: linear-gradient(160deg, #0f2418, #13161e 60%); border: 1px solid #1d5a35; border-radius: 18px; padding: 22px 24px; margin-bottom: 16px; }
.res-hero.neg { background: linear-gradient(160deg, #2a1212, #13161e 60%); border-color: #6b2323; }
.res-hero .big { font-family: var(--display); font-weight: 800; font-size: 46px; line-height: 1; }
.res-hero .sub { color: #c8cddb; margin-top: 6px; }
.res-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.res-grid .wide { grid-column: 1 / -1; }
.bars.sum .bar i { background: var(--green); }
.bars.sum .bar.neg i { background: var(--down); }
@media (max-width: 900px) { .res-grid { grid-template-columns: 1fr; } }

/* ---------- feed filters ---------- */
.filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: -4px 0 12px; }
.filters label { color: var(--muted); font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.filters select, .prefs select { background: var(--panel2); color: #fff; border: 1px solid var(--border2); border-radius: 8px; padding: 6px 8px; font: inherit; font-size: 13px; }
.fchip { background: var(--panel); border: 1px solid var(--border2); color: #c8cddb; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.fchip[data-on="1"] { background: #0f2418; border-color: #1d5a35; color: #7ee2a3; }

/* ---------- timing ---------- */
.tbars { display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; align-items: end; height: 90px; }
.tbars.days { grid-template-columns: repeat(7, 1fr); }
.tbar { background: #24304a; border-radius: 3px 3px 0 0; min-height: 3px; position: relative; }
.tbar.good { background: var(--green); } .tbar.bad { background: var(--down); } .tbar.mid { background: var(--gold); }
.tlabels { display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; color: var(--muted); font-size: 10px; text-align: center; margin-top: 4px; }
.tlabels.days { grid-template-columns: repeat(7, 1fr); font-size: 12px; }

/* ---------- smart money page ---------- */
.wallet { font-family: ui-monospace, monospace; font-size: 12.5px; }
.recent-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.recent-chips .chip { font-size: 11px; }
.pro-numbers { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; color: #c8cddb; font-size: 14px; }
.pro-numbers b { font-family: var(--display); font-size: 20px; color: #fff; margin-right: 4px; }

/* ---------- prefs ---------- */
.prefs .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--border); }
.prefs .row:first-of-type { border-top: none; }
.prefs .saved { color: var(--green); font-size: 12.5px; }

/* ---------- light theme & density ---------- */
html[data-theme="light"] { --bg: #f4f6fa; --bg2: #eaeef5; --panel: #ffffff; --panel2: #eef1f7; --border: #dfe4ee; --border2: #c9d2e3; --text: #14181f; --muted: #5d6779; }
html[data-theme="light"] body { background: var(--bg); color: var(--text); }
html[data-theme="light"] .ticker { background: #ffffff; }
html[data-theme="light"] .topbar { background: rgba(244,246,250,.85); }
html[data-theme="light"] .nav a { color: #2b3445; } html[data-theme="light"] .nav a:hover, html[data-theme="light"] .nav a.on { color: #000; }
html[data-theme="light"] .btn { color: #14181f; } html[data-theme="light"] .btn.google { background: #fff; border-color: var(--border2); }
html[data-theme="light"] .avatar-token { background: #e3e8f2; color: #2b3445; }
html[data-theme="light"] .score.s-low { color: #2b3445; }
html[data-theme="light"] .chip { color: #2b3445; } html[data-theme="light"] .chip.good { background: #e6f7ec; color: #14683a; } html[data-theme="light"] .chip.warn { background: #fdeaea; color: #9b1c1c; } html[data-theme="light"] .chip.info { background: #e7eefc; color: #1f4fa3; } html[data-theme="light"] .chip.hot { background: #fff1de; color: #8a4b00; }
html[data-theme="light"] .plan ul, html[data-theme="light"] .price-card ul, html[data-theme="light"] .how-step p, html[data-theme="light"] .lead, html[data-theme="light"] .activity, html[data-theme="light"] footer, html[data-theme="light"] .faq p, html[data-theme="light"] .res-hero .sub, html[data-theme="light"] .tk-item, html[data-theme="light"] .title .meta .stage, html[data-theme="light"] .pro-numbers, html[data-theme="light"] .steps { color: #2b3445; }
html[data-theme="light"] .tk-item .kind.news { background: #e7eefc; color: #1f4fa3; }
html[data-theme="light"] .lock-overlay { background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.9) 45%); }
html[data-theme="light"] .stat .v, html[data-theme="light"] .kpi .v, html[data-theme="light"] .activity b, html[data-theme="light"] .tbl .sym, html[data-theme="light"] .tod .who .sym, html[data-theme="light"] .tod .num .v { color: #14181f; }
html[data-theme="light"] .brand-mark { color: #fff; }
html[data-density="compact"] .card { padding: 10px 12px; gap: 7px; }
html[data-density="compact"] .metrics div { padding: 4px 7px; font-size: 12px; }
html[data-density="compact"] .title .sym { font-size: 18px; }
html[data-density="compact"] .score { width: 46px; height: 46px; font-size: 19px; }
html[data-density="compact"] .cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
html[data-density="compact"] .chips { display: none; }
.theme-btn { background: var(--panel2); border: 1px solid var(--border2); border-radius: 10px; width: 38px; height: 38px; cursor: pointer; font-size: 16px; }

/* ---------- search ---------- */
.search { display: flex; gap: 0; margin-left: 8px; }
.search input { width: 220px; background: var(--panel2); border: 1px solid var(--border2); border-radius: 10px 0 0 10px; padding: 8px 10px; color: var(--text); font: inherit; font-size: 13px; }
.search button { border: 1px solid var(--border2); border-left: none; background: var(--panel2); border-radius: 0 10px 10px 0; padding: 0 10px; cursor: pointer; }
.search-results { position: fixed; top: calc(var(--ticker-h) + 70px); left: 50%; transform: translateX(-50%); width: min(760px, calc(100% - 32px)); background: var(--panel); border: 1px solid var(--border2); border-radius: 14px; padding: 14px 16px; z-index: 60; box-shadow: 0 20px 60px rgba(0,0,0,.4); max-height: 70vh; overflow-y: auto; }
.search-results .close { float: right; background: none; border: none; color: var(--muted); cursor: pointer; font-size: 16px; }
.search-results .cards { grid-template-columns: 1fr; }
@media (max-width: 1080px) { .search input { width: 150px; } }
@media (max-width: 760px) { .search { order: 4; width: 100%; margin-left: 0; } .search input { flex: 1; } }

/* ---------- compare ---------- */
.cmp-btn { position: absolute; top: 12px; right: 112px; background: none; border: none; color: #5b657d; font-size: 16px; cursor: pointer; padding: 2px 4px; }
.cmp-btn:hover, .cmp-btn.on { color: var(--blue); }
.compare-bar { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); background: var(--panel); border: 1px solid var(--border2); border-radius: 999px; padding: 8px 10px 8px 16px; display: flex; align-items: center; gap: 10px; z-index: 70; box-shadow: 0 10px 40px rgba(0,0,0,.4); font-size: 13.5px; }
.cmp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.cmp-col .chart svg { height: 180px; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-top: 8px; }
.cmp-table td, .cmp-table th { padding: 7px 8px; border-bottom: 1px solid var(--border); text-align: left; }
.cmp-table th { color: var(--muted); font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- changelog / admin ---------- */
.cl-entry { border-left: 3px solid var(--green); padding: 4px 0 4px 16px; margin: 14px 0 22px; }
.cl-entry .d { color: var(--muted); font-size: 12.5px; }
.cl-entry ul { margin: 6px 0 0; padding-left: 18px; color: #c8cddb; display: flex; flex-direction: column; gap: 4px; }
html[data-theme="light"] .cl-entry ul { color: #2b3445; }
.admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 14px 0; }

/* header fit with the search box */
.nav a { padding: 8px 9px; white-space: nowrap; }
.topbar { gap: 14px; }
@media (max-width: 1400px) { .brand-tag { display: none; } .search input { width: 160px; } }
@media (max-width: 1180px) { .nav a { padding: 8px 7px; font-size: 14px; } .search input { width: 130px; } }
html[data-theme="light"] .activity { background: #ffffff; color: #2b3445; }
html[data-theme="light"] .compare-bar, html[data-theme="light"] .search-results { box-shadow: 0 10px 40px rgba(0,0,0,.15); }
html[data-theme="light"] .tk-item .kind.signal { background: #fff1de; color: #8a4b00; }
html[data-theme="light"] .tk-item .kind.smart { background: #efe9ff; color: #5b3fb8; }
html[data-theme="light"] .tbar { background: #d9e0ee; } html[data-theme="light"] .bar { background: #d9e0ee; }
html[data-theme="light"] .modal { background: #fff; }
html[data-theme="light"] .tabs button.on { color: #000; }
html[data-theme="light"] .res-hero { background: linear-gradient(160deg, #e6f7ec, #ffffff 60%); } html[data-theme="light"] .res-hero.neg { background: linear-gradient(160deg, #fdeaea, #ffffff 60%); }
html[data-theme="light"] .tod { background: linear-gradient(120deg, #fff6df, #ffffff 55%); }
html[data-theme="light"] .price-card, html[data-theme="light"] .plan.pro { background: linear-gradient(160deg, #fff6df, #ffffff 60%); }
html[data-theme="light"] .top-story .card { background: #ffffff; }
.compare-bar[hidden], .search-results[hidden] { display: none !important; }
.star, .cmp-btn { top: 12px; height: 26px; width: 26px; display: flex; align-items: center; justify-content: center; line-height: 1; padding: 0; }
.star { font-size: 20px; right: 78px; }
.cmp-btn { font-size: 18px; right: 106px; }
.top-story .star { right: 96px; top: 16px; }
.top-story .cmp-btn { right: 124px; top: 16px; }

/* ---------- pay modal ---------- */
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0; }
.pay-opt { background: var(--bg2); border: 1px solid var(--border2); border-radius: 12px; padding: 14px; }
.pay-opt .amt { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1; }
.pay-opt .cur { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }
.addr { font-family: ui-monospace, monospace; font-size: 12.5px; word-break: break-all; background: var(--bg2); border: 1px dashed var(--border2); border-radius: 10px; padding: 10px 12px; margin: 8px 0; }
.pay-status { margin-top: 10px; font-size: 13.5px; }
.pay-status.ok { color: var(--green); font-weight: 600; }
@media (max-width: 600px) { .pay-grid { grid-template-columns: 1fr; } }

/* ---------- locked Pro cards: the overlay owns the card ---------- */
.card.locked .card-top .title, .card.locked .card-top .avatar-token { visibility: hidden; }
.card.locked .results { filter: blur(5px); pointer-events: none; user-select: none; }
.lock-overlay { background: linear-gradient(180deg, rgba(19,22,30,.55), rgba(19,22,30,.93) 38%); }
html[data-theme="light"] .lock-overlay { background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.94) 38%); }

/* ---------- compact header on phones ---------- */
.btn.google .lbl-short { display: none; }
@media (max-width: 760px) {
  .topbar { flex-wrap: wrap; gap: 10px; padding: 10px 16px; }
  .brand { order: 1; } .brand-logo { width: 36px; height: 36px; } .brand-name { font-size: 22px; }
  .theme-btn { order: 2; margin-left: auto; width: 36px; height: 36px; }
  .account { order: 3; margin-left: 0; }
  .nav { order: 4; width: 100%; margin-left: 0; }
  .search { order: 5; width: 100%; margin-left: 0; }
  .btn.google { padding: 7px 12px; }
  .btn.google .lbl-long { display: none; } .btn.google .lbl-short { display: inline; }
  .account .name { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .activity { font-size: 12.5px; gap: 6px; }
}
@media (max-width: 760px) { .topbar { position: static; } }

/* ---------- legal links ---------- */
.legal-note { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }
.legal-note a, .footer-links a { color: #9fc0ff; text-decoration: underline; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; }
.more-wrap { grid-column: 1 / -1; text-align: center; padding: 6px 0 4px; }
