:root {
  --bg: #0b0e11;
  --bg2: #111418;
  --panel: #161a1f;
  --panel2: #1e2329;
  --hover: #23282f;
  --line: #262b33;
  --line2: #2f353e;
  --txt: #eaecef;
  --muted: #848e9c;
  --dim: #5e6673;
  --brand: #3d8bfd;
  --brand-h: #5a9cff;
  --up: #0ecb81;
  --down: #f6465d;
  --down-soft: #ff7a45;
  --warn: #f0a92e;
  --info: #5b8def;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --sans: Inter, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r: 8px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--txt); font: 14px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.txt { color: var(--txt); }
.small { font-size: 13px; }
.xsmall { font-size: 12px; }
.center { text-align: center; }
.pad { padding: 28px 0 !important; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.2px; }
.link { color: var(--brand); }
.link:hover { color: var(--brand-h); }
.up { color: var(--up); }
.down { color: var(--down); }
.err { color: var(--down); font-size: 13px; margin-top: 10px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 18px;
  border-radius: 6px; border: 1px solid transparent; font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap;
  transition: background .12s, border-color .12s, color .12s; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-h); }
.btn-ghost { background: transparent; border-color: var(--line2); color: var(--txt); }
.btn-ghost:hover { background: var(--hover); }
.btn:disabled { opacity: .55; cursor: default; }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 28px; height: 60px; padding: 0 24px; max-width: 1440px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; letter-spacing: -.3px; }
.brand-sm { font-size: 15px; margin-bottom: 6px; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 12px; color: var(--muted); font-weight: 500; border-radius: 6px; }
.nav a:hover, .nav a.active { color: var(--txt); }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.sol-chip { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.sol-chip b { color: var(--txt); font-weight: 500; }
.sol-dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #9945ff, #14f195); }
.auth { display: flex; align-items: center; gap: 8px; }
.user-email { color: var(--muted); font-size: 13px; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 4px; font-size: 12px; font-weight: 600;
  background: var(--panel2); color: var(--muted); border: 1px solid var(--line2); }
.badge-pro, .badge.pro { background: rgba(61, 139, 253, .14); color: var(--brand-h); border-color: rgba(61, 139, 253, .35); }

/* ticker tape */
.tape { height: 34px; overflow: hidden; border-top: 1px solid var(--line); background: var(--bg2); position: relative; }
.tape-track { display: inline-flex; gap: 28px; align-items: center; height: 34px; white-space: nowrap; padding-left: 24px;
  animation: tape 80s linear infinite; }
.tape:hover .tape-track { animation-play-state: paused; }
.tape-item { display: inline-flex; gap: 8px; align-items: center; font-size: 12.5px; cursor: pointer; color: var(--muted); }
.tape-item b { color: var(--txt); font-weight: 600; }
@keyframes tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* layout */
.layout { max-width: 1440px; margin: 0 auto; padding: 20px 24px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; }
.col-main, .col-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.panel-head h1, .panel-head h2 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.2px; }
.side-title { font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.row-between { display: flex; justify-content: space-between; align-items: center; }

/* search */
.search { position: relative; display: flex; gap: 8px; align-items: center; }
.search input { flex: 1; min-width: 0; height: 48px; background: var(--bg2); border: 1px solid var(--line2); border-radius: 6px;
  color: var(--txt); padding: 0 82px 0 42px; font: 15px var(--mono); outline: none; }
.search input::placeholder { font-family: var(--sans); color: var(--dim); }
.search input:focus { border-color: var(--brand); }
.search-ic { position: absolute; left: 14px; top: 15px; color: var(--dim); pointer-events: none; }
.paste-btn { position: absolute; right: 104px; height: 30px; border-color: transparent; color: var(--brand); }
.paste-btn:hover { background: transparent; color: var(--brand-h); }
.search .btn-primary { height: 48px; padding: 0 28px; }
.search-foot { min-height: 20px; margin-top: 8px; }

/* report */
.tk-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.tk-id { display: flex; gap: 12px; align-items: center; min-width: 0; }
.tk-logo { width: 44px; height: 44px; border-radius: 50%; background: var(--panel2); object-fit: cover; flex: none; }
.tk-name { font-size: 20px; font-weight: 700; letter-spacing: -.3px; }
.tk-name .muted { font-weight: 500; font-size: 15px; margin-left: 2px; }
.tk-sub { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.addr { background: var(--panel2); border: 1px solid var(--line2); color: var(--muted); border-radius: 4px; padding: 1px 7px;
  font: 12px var(--mono); cursor: pointer; }
.addr:hover { color: var(--txt); }
.score-box { display: flex; align-items: center; gap: 12px; }
.score-ring { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; position: relative; }
.score-ring::before { content: ""; position: absolute; inset: 6px; background: var(--panel); border-radius: 50%; }
.score-ring span { position: relative; font: 600 20px var(--mono); }
.verdict { font-weight: 700; font-size: 16px; letter-spacing: .2px; }
.stats { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; margin: 18px -20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 12px 20px; border-right: 1px solid var(--line); min-width: 0; }
.stat:last-child { border-right: 0; }
.stat .k { color: var(--muted); font-size: 12px; margin-bottom: 2px; white-space: nowrap; }
.stat .v { font: 500 14px var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin: 0 -20px; padding: 0 12px; overflow-x: auto; scrollbar-width: none; }
.tab { background: none; border: 0; color: var(--muted); padding: 13px 10px; font-weight: 500; cursor: pointer; white-space: nowrap;
  border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab:hover { color: var(--txt); }
.tab.active { color: var(--txt); border-bottom-color: var(--brand); }
.pro-mark { font-size: 10px; font-weight: 700; color: var(--brand-h); border: 1px solid rgba(61, 139, 253, .4); border-radius: 3px; padding: 0 4px; margin-left: 4px; vertical-align: 1px; }
.tab-body { padding-top: 14px; min-height: 120px; }
.summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.sum { background: var(--bg2); border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; }
.sum .n { font: 600 20px var(--mono); }
.sum .l { color: var(--muted); font-size: 12px; }
.check { display: flex; align-items: flex-start; gap: 10px; padding: 11px 2px; border-bottom: 1px solid var(--line); }
.check:last-child { border-bottom: 0; }
.dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 7px; flex: none; }
.check-txt { flex: 1; min-width: 0; }
.sev { font-size: 11px; font-weight: 700; letter-spacing: .4px; padding: 2px 7px; border-radius: 3px; flex: none; margin-top: 1px; }
.sev-critical { color: var(--down); background: rgba(246, 70, 93, .12); }
.sev-high { color: var(--down-soft); background: rgba(255, 122, 69, .12); }
.sev-medium { color: var(--warn); background: rgba(240, 169, 46, .12); }
.sev-low { color: #c9b458; background: rgba(201, 180, 88, .1); }
.sev-good { color: var(--up); background: rgba(14, 203, 129, .1); }
.sev-info { color: var(--info); background: rgba(91, 141, 239, .1); }
.empty { color: var(--muted); padding: 18px 0; }
.report-foot { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }

/* skeleton while scanning */
.skel { background: linear-gradient(90deg, var(--panel2) 25%, var(--hover) 50%, var(--panel2) 75%); background-size: 200% 100%;
  animation: skel 1.2s infinite; border-radius: 4px; height: 14px; }
@keyframes skel { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.progress-steps { display: flex; flex-direction: column; gap: 8px; padding: 6px 0; }
.pstep { display: flex; gap: 10px; align-items: center; color: var(--dim); font-size: 13px; }
.pstep.on { color: var(--txt); }
.pstep.done { color: var(--muted); }
.pstep i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line2); flex: none; }
.pstep.on i { border-color: var(--brand); border-top-color: transparent; animation: spin .8s linear infinite; }
.pstep.done i { border-color: var(--up); background: var(--up); }

/* market table */
.table-wrap { overflow-x: auto; margin: 0 -20px; }
table.mkt { width: 100%; border-collapse: collapse; font-size: 13px; }
.mkt th { color: var(--muted); font-weight: 500; font-size: 12px; text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.mkt td { padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.mkt tr:last-child td { border-bottom: 0; }
.mkt tbody tr { cursor: pointer; }
.mkt tbody tr:hover { background: var(--panel2); }
.mkt th:first-child, .mkt td:first-child { padding-left: 20px; color: var(--dim); width: 36px; }
.mkt th:last-child, .mkt td:last-child { padding-right: 20px; }
.r { text-align: right !important; }
.tok { display: flex; align-items: center; gap: 10px; }
.tok img { width: 24px; height: 24px; border-radius: 50%; background: var(--panel2); object-fit: cover; }
.tok b { font-weight: 600; }
.tok span { color: var(--muted); font-size: 12px; max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.scan-mini { height: 26px; padding: 0 10px; font-size: 12px; }

/* side */
.kv { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 13px; }
.bar { height: 4px; background: var(--panel2); border-radius: 2px; overflow: hidden; margin: 2px 0 8px; }
.bar-fill { height: 100%; background: var(--brand); width: 0; transition: width .3s; }
#upgrade-btn { margin-top: 12px; }
.note { margin-top: 10px; padding: 10px; background: var(--bg2); border: 1px solid var(--line); border-radius: 6px; font-size: 13px; }
.hist-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); cursor: pointer; gap: 8px; }
.hist-row:last-child { border-bottom: 0; }
.hist-row:hover .hist-name { color: var(--brand-h); }
.hist-name { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hist-score { font: 600 13px var(--mono); flex: none; }
.legend { display: grid; gap: 7px; font-size: 13px; }
.legend div { display: grid; grid-template-columns: 14px 64px 1fr; align-items: center; gap: 8px; }
.legend .num, .legend div { font-variant-numeric: tabular-nums; }
.lg { width: 10px; height: 10px; border-radius: 2px; }

/* pricing */
.pricing { border-top: 1px solid var(--line); background: var(--bg2); }
.pricing-in { max-width: 1440px; margin: 0 auto; padding: 40px 24px; }
.pricing h2 { margin: 0 0 18px; font-size: 22px; letter-spacing: -.3px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 16px; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; }
.plan-pro { border-color: rgba(61, 139, 253, .5); }
.plan-name { font-weight: 600; font-size: 15px; display: flex; gap: 8px; align-items: center; }
.plan-price { font-size: 30px; font-weight: 600; margin: 8px 0 12px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; }
.plan li { padding: 6px 0 6px 22px; position: relative; color: #c5cad3; font-size: 13.5px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 9px; height: 5px; border-left: 2px solid var(--up);
  border-bottom: 2px solid var(--up); transform: rotate(-45deg); }

/* footer */
.footer { border-top: 1px solid var(--line); }
.footer-in { max-width: 1440px; margin: 0 auto; padding: 28px 24px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.footer-links a:hover { color: var(--txt); }

/* modal */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .6); display: grid; place-items: center; padding: 16px; }
.modal-box { width: 100%; max-width: 400px; background: var(--panel); border: 1px solid var(--line2); border-radius: 10px; padding: 24px; position: relative;
  max-height: calc(100vh - 32px); overflow-y: auto; }
.modal-box h3 { margin: 0 0 16px; font-size: 18px; }
.modal-x { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border: 0; background: none; color: var(--muted); font-size: 22px; cursor: pointer; border-radius: 6px; }
.modal-x:hover { background: var(--hover); color: var(--txt); }
.lbl { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.inp { width: 100%; height: 44px; background: var(--bg2); border: 1px solid var(--line2); border-radius: 6px; color: var(--txt); padding: 0 14px; font-size: 15px; outline: none; margin-bottom: 14px; }
.inp:focus { border-color: var(--brand); }
.code-inp { text-align: center; font-size: 24px; letter-spacing: 10px; height: 54px; }
.cf-turnstile { margin-bottom: 14px; min-height: 0; }
.pay-total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px; background: var(--bg2); border: 1px solid var(--line); border-radius: 6px; margin-bottom: 14px; }
.pay-total .num { font-size: 20px; font-weight: 600; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.seg-btn { height: 40px; border-radius: 6px; border: 1px solid var(--line2); background: var(--bg2); color: var(--txt); font-weight: 600; cursor: pointer; }
.seg-btn:hover { border-color: var(--muted); }
.seg-btn.active { border-color: var(--brand); color: var(--brand-h); background: rgba(61, 139, 253, .08); }
.qr { background: #fff; width: 212px; height: 212px; padding: 6px; border-radius: 8px; margin: 0 auto 14px; }
.qr svg { width: 100%; height: 100%; display: block; }
#inv-link { margin: 12px 0 10px; }
.pay-status { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.pay-status.ok { color: var(--up); font-weight: 600; }
.spinner { width: 14px; height: 14px; border: 2px solid var(--line2); border-top-color: var(--brand); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--panel2); border: 1px solid var(--line2);
  color: var(--txt); padding: 10px 16px; border-radius: 6px; font-size: 13px; z-index: 60; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }

/* responsive */
@media (max-width: 1180px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat:nth-child(4) { border-right: 0; }
  .stat:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .hide-md { display: none; }
}
@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; }
  .nav, .user-email { display: none; }
}
@media (max-width: 600px) {
  .topbar-in { padding: 0 16px; gap: 12px; }
  .sol-chip { display: none; }
  .layout { padding: 16px; }
  .panel { padding: 16px; }
  .stats, .tabs, .table-wrap { margin-left: -16px; margin-right: -16px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 10px 16px; border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(4) { border-right: 0; }
  .summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search { flex-wrap: wrap; }
  .search input { padding-right: 70px; }
  .paste-btn { right: 8px; top: 9px; }
  .search .btn-primary { width: 100%; }
  .hide-sm { display: none; }
  .mkt td:first-child, .mkt th:first-child { padding-left: 16px; }
  .mkt td:last-child, .mkt th:last-child { padding-right: 16px; }
  .plans { grid-template-columns: 1fr; }
  .pricing-in, .footer-in { padding-left: 16px; padding-right: 16px; }
  #auth-out .btn-ghost { display: none; }
  .mkt .hide-xs { display: none; }
  .risk .rv { display: none; }
  .tok img { width: 20px; height: 20px; }
  .mkt td, .mkt th { padding-left: 8px; padding-right: 8px; }
  .mkt th:nth-child(2), .mkt td:nth-child(2) { padding-left: 16px; }
  .tok span { display: none; }
}

/* simple pages (privacy, pay) */
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px 40px; }
.wrap > header { padding: 18px 0; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; line-height: 1.6; }
.card h1 { font-size: 22px; } .card h3 { font-size: 15px; margin: 22px 0 6px; }
.card li { margin: 4px 0; color: #c5cad3; }
.paywall { text-align: center; }
.card button.green { width: 100%; height: 44px; border: 0; border-radius: 6px; background: var(--brand); color: #fff; font-weight: 600; cursor: pointer; }

/* dark scrollbars */
* { scrollbar-width: thin; scrollbar-color: var(--line2) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--dim); }
@media (max-width: 1320px) { .mkt .hide-lg { display: none; } }

/* hero + kpis */
.hero h1 { margin: 0 0 6px; font-size: 26px; font-weight: 700; letter-spacing: -.5px; line-height: 1.2; }
.hero p { margin: 0 0 16px; max-width: 720px; font-size: 14.5px; }
.search-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 16px -20px -18px; border-top: 1px solid var(--line); }
.kpi { padding: 14px 20px; border-right: 1px solid var(--line); }
.kpi:last-child { border-right: 0; }
.kpi-v { font-size: 20px; font-weight: 600; }
.kpi-l { color: var(--muted); font-size: 12px; }

/* risk pill */
.risk { display: inline-flex; align-items: center; gap: 6px; font: 600 12px var(--mono); padding: 2px 8px; border-radius: 4px; border: 1px solid; }
.risk-pending { color: var(--dim); border-color: var(--line2); font-family: var(--sans); font-weight: 500; }

/* live feed */
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--up); margin-bottom: 10px; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--up); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.feed-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.feed-row:last-child { border-bottom: 0; }
.feed-row img { width: 22px; height: 22px; border-radius: 50%; background: var(--panel2); object-fit: cover; flex: none; }
.feed-row:hover .hist-name { color: var(--brand-h); }

/* report extras */
.pub-banner { margin-top: 14px; padding: 10px 14px; border: 1px solid rgba(61, 139, 253, .35); background: rgba(61, 139, 253, .07);
  border-radius: 6px; font-size: 13px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.report-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.share { display: flex; align-items: center; gap: 6px; }
.share .btn-sm { height: 28px; padding: 0 10px; font-size: 12px; }
.locked { text-align: center; padding: 26px 10px; border: 1px dashed var(--line2); border-radius: 6px; }
.locked b { display: block; font-size: 15px; margin-bottom: 4px; }
.locked p { margin: 0 0 14px; }

/* how it works + faq */
.info { border-top: 1px solid var(--line); }
.info-in { max-width: 1440px; margin: 0 auto; padding: 40px 24px; }
.info h2 { margin: 0 0 18px; font-size: 22px; letter-spacing: -.3px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.step-n { color: var(--brand); font-size: 13px; font-weight: 600; }
.step-t { font-weight: 600; font-size: 15px; margin: 6px 0 4px; }
.step p { margin: 0; }
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 500; font-size: 15px; list-style: none; display: flex; justify-content: space-between; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 16px; max-width: 760px; }

@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 21px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 14px -16px -16px; }
  .kpi { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .kpi:nth-child(2n) { border-right: 0; }
  .supports { display: none; }
  .info-in { padding: 32px 16px; }
  .share > span { display: none; }
}

.panel, section { scroll-margin-top: 110px; }

/* ===================== multi-page hub ===================== */
.page { max-width: 1440px; margin: 0 auto; padding: 20px 24px 40px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 6px 0 16px; }
.page-head h1 { margin: 2px 0 6px; font-size: 26px; letter-spacing: -.5px; }
.page-head p { margin: 0; max-width: 760px; }
.crumbs { font-size: 12px; color: var(--dim); }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--txt); }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.side-stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.table-panel { padding: 0; overflow: hidden; }
.table-panel .table-wrap { margin: 0; }
.table-panel .panel-head { margin: 0; padding: 16px 20px 10px; }
.pad-x { padding-left: 20px; padding-right: 20px; }
.empty-panel { padding: 40px 20px; text-align: center; color: var(--muted); }
.kpi-panel { padding: 0; margin-bottom: 16px; }
.kpis-flat { margin: 0; border-top: 0; }
.kpis-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.live.big { font-size: 13px; margin: 0 0 6px; }
.tag { display: inline-block; font-size: 11px; font-weight: 600; color: var(--muted); background: var(--panel2); border: 1px solid var(--line2);
  border-radius: 3px; padding: 0 6px; margin-left: 6px; vertical-align: 1px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.chip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line2); color: var(--muted); font-size: 13px; font-weight: 500; }
.chip:hover { color: var(--txt); border-color: var(--muted); }
.chip.on { color: var(--txt); background: var(--panel2); border-color: var(--brand); }
.side-link { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; color: #c5cad3; }
.side-link:last-child { border-bottom: 0; }
.side-link:hover { color: var(--brand-h); }
.side-link span { color: var(--dim); }
.mini-search { display: flex; gap: 6px; margin-top: 8px; }
.mini-search input { flex: 1; min-width: 0; height: 32px; background: var(--bg2); border: 1px solid var(--line2); border-radius: 6px; color: var(--txt);
  padding: 0 10px; font: 13px var(--mono); outline: none; }
.mini-search input:focus { border-color: var(--brand); }
.mkt tr.static { cursor: default; }
.issue { white-space: normal !important; color: #c5cad3; max-width: 420px; font-size: 13px; }

/* news */
.news-lead { display: grid; grid-template-columns: 280px 1fr; gap: 0; padding: 0; overflow: hidden; margin-bottom: 16px; }
.news-lead-img { background: var(--panel2) center/cover no-repeat; min-height: 190px; }
.news-lead-body { padding: 18px 20px; }
.news-lead h2 { margin: 6px 0 8px; font-size: 20px; line-height: 1.3; letter-spacing: -.3px; }
.news-lead:hover h2, .news-item:hover h3 { color: var(--brand-h); }
.news-lead p { margin: 0 0 10px; }
.news-list { padding: 4px 20px; margin-bottom: 10px; }
.news-item { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.news-item:last-child { border-bottom: 0; }
.news-txt { flex: 1; min-width: 0; }
.news-item h3 { margin: 4px 0 4px; font-size: 15px; font-weight: 600; line-height: 1.35; }
.news-item p { margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { font-size: 12px; color: var(--muted); }
.news-meta b { color: var(--txt); font-weight: 600; }
.news-thumb { width: 132px; height: 84px; border-radius: 6px; background: var(--panel2) center/cover no-repeat; flex: none; }
.src-list { display: flex; flex-direction: column; }
.src-list a { padding: 7px 0; color: var(--muted); font-size: 13.5px; border-bottom: 1px solid var(--line); }
.src-list a:last-child { border-bottom: 0; }
.src-list a.on, .src-list a:hover { color: var(--txt); }

/* markets */
.movers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mover { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 9px 20px; border-top: 1px solid var(--line); cursor: pointer; font-size: 13px; }
.panel:not(.table-panel) .mover { padding: 8px 0; }
.mover:hover { background: var(--panel2); }
.spark { display: inline-block; vertical-align: middle; }
.fng { text-align: center; }
.fng-gauge { width: 200px; max-width: 100%; }
.fng-num { font: 600 34px var(--mono); }
.fng-label { font-weight: 700; font-size: 16px; margin-top: -4px; }
.fng-hist { display: flex; align-items: flex-end; gap: 2px; height: 46px; margin: 14px 0 4px; }
.fng-hist i { flex: 1; border-radius: 1px; opacity: .85; min-height: 2px; }

/* learn + articles */
.guide-feature { display: block; padding: 26px; margin-bottom: 16px; border-color: rgba(61, 139, 253, .35); }
.guide-feature h2 { margin: 10px 0 8px; font-size: 24px; letter-spacing: -.4px; }
.guide-feature .tag, .guide-card .tag { margin-left: 0; }
.guide-feature p { max-width: 760px; }
.guide-feature:hover h2, .guide-card:hover h3 { color: var(--brand-h); }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.guide-card { display: block; }
.guide-card h3 { margin: 10px 0 6px; font-size: 16px; line-height: 1.35; }
.guide-card p { margin: 0; }
.article { padding: 28px 32px; }
.article h1 { font-size: 30px; line-height: 1.2; letter-spacing: -.6px; margin: 8px 0 8px; }
.article-meta { margin-bottom: 14px; }
.lead { font-size: 17px; color: #c5cad3; line-height: 1.6; margin: 0 0 8px; }
.prose { font-size: 15.5px; line-height: 1.75; color: #d5d9e0; max-width: 760px; }
.prose h2 { font-size: 20px; margin: 30px 0 8px; color: var(--txt); letter-spacing: -.2px; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 14px; }
.prose li { margin: 5px 0; }
.prose a { color: var(--brand-h); text-decoration: underline; text-underline-offset: 2px; }
.prose b { color: var(--txt); }
.article-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 30px;
  padding: 18px 20px; background: var(--bg2); border: 1px solid rgba(61, 139, 253, .35); border-radius: 8px; }
.article-cta p { margin: 2px 0 0; }
.article-cta .mini-search { margin: 0; min-width: 280px; }
.glossary h2 { font-size: 18px; color: var(--brand); margin: 18px 0 4px; }
.glossary h2:first-child { margin-top: 0; }
.glossary dl { margin: 0; }
.gl-row { padding: 10px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.gl-row dt { font-weight: 600; margin-bottom: 2px; }
.gl-row dd { margin: 0; font-size: 14px; }
.letters .chip { padding: 4px 10px; font-family: var(--mono); }

/* footer columns */
.footer-cols { display: grid; grid-template-columns: repeat(4, auto); gap: 40px; }
.footer-cols div { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.footer-cols a { color: var(--muted); }
.footer-cols a:hover { color: var(--txt); }
.fc-t { color: var(--txt); font-weight: 600; font-size: 13px; margin-bottom: 2px; }

/* top search + mobile menu */
.top-search { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; background: var(--bg2); border: 1px solid var(--line2);
  border-radius: 6px; color: var(--dim); }
.top-search:focus-within { border-color: var(--brand); }
.top-search input { width: 150px; background: none; border: 0; outline: none; color: var(--txt); font: 12.5px var(--mono); }
.top-search input::placeholder { font-family: var(--sans); color: var(--dim); }
.page-scanner .top-search { display: none; }
.menu-btn { display: none; width: 36px; height: 36px; border: 0; background: none; padding: 9px 7px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.menu-btn span { display: block; height: 2px; background: var(--txt); border-radius: 1px; }
.nav-mobile-only { display: none; }
.nav a { white-space: nowrap; }

@media (max-width: 1320px) { .top-search { display: none; } .nav a { padding: 8px 9px; } }
@media (max-width: 1180px) {
  .kpis-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sol-chip { display: none; }
}
@media (max-width: 1080px) {
  .menu-btn { display: flex; }
  .nav { display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg);
    border-bottom: 1px solid var(--line); padding: 6px 12px 12px; z-index: 30; }
  .menu-open .nav { display: flex; }
  .nav a { padding: 12px; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--txt); }
  .nav-mobile-only { display: block; }
  .topbar-in { position: relative; }
}
@media (max-width: 960px) {
  .grid2 { grid-template-columns: 1fr; }
  .movers { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, auto); gap: 24px; }
}
@media (max-width: 600px) {
  .page { padding: 16px 16px 32px; }
  .page-head { flex-direction: column; align-items: flex-start; }
  .page-head h1 { font-size: 22px; }
  .kpis-5, .kpis-flat { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
  .news-lead { grid-template-columns: 1fr; }
  .news-lead-img { min-height: 160px; }
  .news-list { padding: 4px 16px; }
  .news-thumb { width: 84px; height: 64px; }
  .guide-grid { grid-template-columns: 1fr; }
  .article { padding: 20px 16px; }
  .article h1 { font-size: 24px; }
  .article-cta .mini-search { min-width: 0; width: 100%; }
  .table-panel .panel-head { padding: 14px 16px 8px; }
  .mover { padding: 9px 16px; }
  .pad-x { padding-left: 16px; padding-right: 16px; }
}
