/* gotempt — TipRanks-like IA (v8)
   Nav: 分类 | 名人观察 | 新闻 | 关于
   Ledger-driven influencer mentions / win rates. No API sales.
*/
:root, [data-theme="light"] {
  --bg: #f7f8fa;
  --bg2: #f0f2f5;
  --panel: #ffffff;
  --panel2: #fafbfc;
  --border: #e8eaef;
  --border-strong: #d0d5de;
  --text: #111827;
  --muted: #6b7280;
  --bull: #059669;
  --bear: #dc2626;
  --neut: #b45309;
  /* one primary accent — cool sky blue; violet only as soft wash */
  --accent: #2563eb;
  --accent2: #2563eb;
  --accent-soft: rgba(37,99,235,.08);
  --chip: #f3f4f6;
  --warn-bg: #fffbeb;
  --warn-bd: #fcd34d;
  --warn-tx: #92400e;
  --shadow: 0 1px 2px rgba(17,24,39,.04), 0 8px 24px rgba(17,24,39,.05);
  --shadow-sm: 0 1px 2px rgba(17,24,39,.04);
  --shadow-lg: 0 12px 40px rgba(17,24,39,.07);
  --header-bg: rgba(255,255,255,.92);
  --th-bg: #f9fafb;
  --row-hover: rgba(37,99,235,.03);
  --nav-active: #2563eb;
  --toggle-bg: #f3f4f6;
  --ring: rgba(37,99,235,.22);
  --grad-a: transparent;
  --grad-b: transparent;
  --hero-overlay: none;
  --success-soft: rgba(5,150,105,.1);
  --danger-soft: rgba(220,38,38,.1);
  --neutral-soft: rgba(180,83,9,.1);
  --content-max: 1280px;
  --content-max-wide: 1280px;
  --page-pad-x: 28px;
  --section-gap: 64px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-sm: 8px;
  --card-pad: 20px 22px;
  --gap-sm: 12px;
  --gap-md: 16px;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0a0c10;
  --bg2: #0f1218;
  --panel: #12151c;
  --panel2: #161a22;
  --border: #1e2430;
  --border-strong: #2a3344;
  --text: #f3f4f6;
  --muted: #9ca3af;
  --bull: #34d399;
  --bear: #f87171;
  --neut: #fbbf24;
  --accent: #60a5fa;
  --accent2: #60a5fa;
  --accent-soft: rgba(96,165,250,.12);
  --chip: #1a1f2a;
  --warn-bg: #1c1610;
  --warn-bd: #5b4520;
  --warn-tx: #fbbf77;
  --shadow: 0 8px 28px rgba(0,0,0,.35);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.25);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.4);
  --header-bg: rgba(10,12,16,.92);
  --th-bg: #161a22;
  --row-hover: rgba(96,165,250,.04);
  --nav-active: #3b82f6;
  --toggle-bg: #1a1f2a;
  --ring: rgba(96,165,250,.28);
  --grad-a: transparent;
  --grad-b: transparent;
  --hero-overlay: none;
  --success-soft: rgba(52,211,153,.12);
  --danger-soft: rgba(248,113,113,.12);
  --neutral-soft: rgba(251,191,36,.12);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter","PingFang SC","Noto Sans SC","Segoe UI",system-ui,-apple-system,sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  padding-top: 64px; /* room for fixed header */
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85em; color: var(--accent); }
img { max-width: 100%; }

/* ===== Minimal product header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px) saturate(1.1);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--content-max); margin: 0 auto;
  padding: 14px var(--page-pad-x);
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  justify-content: space-between;
}
.header-inner.wide { max-width: var(--content-max-wide); }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; color: inherit; text-decoration: none; }
.brand:hover { text-decoration: none; }
/* logo: bare img only — no chip / box / padding */
img.site-logo, .brand-logo {
  height: 32px;
  width: auto;
  max-width: none; /* override global img{max-width:100%} */
  display: block;
  flex-shrink: 0;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0;
  box-shadow: none !important;
  border-radius: 0 !important;
  object-fit: contain;
}
html[data-theme="dark"] img.site-logo {
  filter: invert(1);
  background: transparent !important;
}
.brand .titles { min-width: 0; }
.brand h1, .brand .brand-title {
  margin: 0; font-size: 1rem; font-weight: 650; letter-spacing: -.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text);
}
.brand .sub { color: var(--muted); font-size: .72rem; margin-top: 1px; font-weight: 500; }
.badge {
  display: inline-block; padding: 2px 7px; border-radius: 5px;
  background: var(--chip); color: var(--muted);
  font-size: .65rem; font-weight: 650; margin-left: 6px; vertical-align: middle;
}
.header-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.site-nav {
  display: flex; gap: 2px; flex-wrap: wrap;
  background: transparent; border: none; padding: 0;
}
.site-nav a {
  color: var(--muted); font-size: .875rem; font-weight: 550;
  padding: 8px 14px; border-radius: 8px; text-decoration: none;
  transition: color .12s, background .12s;
}
.site-nav a:hover, .site-nav a:focus-visible {
  color: var(--text); background: var(--chip); outline: none; text-decoration: none;
}
.site-nav a.active {
  color: var(--text); background: var(--chip); font-weight: 650;
}
.theme-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  background: transparent; border: 1px solid var(--border);
  color: var(--muted); border-radius: 8px; padding: 7px 12px;
  cursor: pointer; font-size: .8rem; font-weight: 550;
  transition: border-color .12s, color .12s;
}
.theme-toggle:hover { border-color: var(--border-strong); color: var(--text); }
.theme-toggle .icon { font-size: .9rem; line-height: 1; }

.lang-switch {
  display: inline-flex; align-items: center; gap: 0;
  border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
  background: transparent;
}
.lang-switch .lang-btn {
  appearance: none; border: 0; background: transparent;
  color: var(--muted); font-size: .72rem; font-weight: 650;
  padding: 7px 8px; cursor: pointer; line-height: 1;
  letter-spacing: .02em;
}
.lang-switch .lang-btn:hover { color: var(--text); background: var(--chip); }
.lang-switch .lang-btn.active {
  color: var(--text); background: var(--chip);
}
.lang-switch .lang-btn + .lang-btn { border-left: 1px solid var(--border); }


.disclaimer-bar { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--page-pad-x) 12px; }
.disclaimer-bar.wide { max-width: var(--content-max-wide); }
.disclaimer {
  padding: 10px 14px; border-radius: var(--radius-sm);
  background: var(--warn-bg); border: 1px solid var(--warn-bd); color: var(--warn-tx);
  font-size: .8rem; font-weight: 550;
  display: flex; gap: 8px; align-items: flex-start;
}

.wrap {
  padding: 40px var(--page-pad-x) 80px;
  max-width: var(--content-max); margin: 0 auto; width: 100%; flex: 1;
}
.wrap.wide { max-width: var(--content-max-wide); padding-top: 24px; padding-bottom: 64px; }

/* ===== Buttons — one strong CTA ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-weight: 650; font-size: .925rem;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .1s, box-shadow .12s, background .12s, border-color .12s, color .12s;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 1px 2px rgba(37,99,235,.2), 0 4px 14px rgba(37,99,235,.18);
}
.btn-primary:hover { color: #fff; filter: brightness(1.05); transform: translateY(-1px); }
.btn-secondary {
  background: var(--panel); color: var(--text); border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--border-strong); background: var(--panel2); }
.btn-ghost {
  background: transparent; color: var(--muted); border-color: transparent; padding-left: 12px; padding-right: 12px;
}
.btn-ghost:hover { color: var(--text); background: var(--chip); }

/* ===== Airy hero (prediction-market landing) ===== */
.hero { padding: 56px 0 48px; }
.hero-grid {
  display: grid; grid-template-columns: 1fr; gap: 0; max-width: 720px;
}
.hero-kicker {
  display: inline-block;
  font-size: .75rem; font-weight: 600; color: var(--muted);
  letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  font-weight: 750; letter-spacing: -.04em; line-height: 1.12;
}
.hero .lead {
  margin: 0 0 32px; color: var(--muted);
  font-size: 1.125rem; max-width: 32em; line-height: 1.65; font-weight: 400;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-card { display: none; } /* keep markup optional; home stays airy */

/* ===== Sections ===== */
.section { margin-bottom: var(--section-gap); }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin: 0 0 20px;
}
.section-head h2 {
  margin: 0; font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em;
}
.section-head h2 .dot { display: none; }
.section-head .meta { color: var(--muted); font-size: .8125rem; }
.section-head a.more { font-size: .875rem; font-weight: 550; color: var(--muted); }
.section-head a.more:hover { color: var(--accent); }

/* ===== Sparse KPI strip (3–4 max, home) ===== */
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.kpi {
  padding: 22px 24px;
  border-right: 1px solid var(--border);
}
.kpi:last-child { border-right: none; }
.kpi .label {
  color: var(--muted); font-size: .75rem; font-weight: 550;
  letter-spacing: .01em;
}
.kpi .value {
  font-size: 1.75rem; font-weight: 700; margin-top: 6px;
  font-variant-numeric: tabular-nums; letter-spacing: -.03em; line-height: 1.1;
}
.kpi .hint { color: var(--muted); font-size: .7rem; margin-top: 6px; opacity: .9; }
.kpi.win .value { color: var(--bull); }
.kpi.lose .value { color: var(--bear); }

/* ===== Cards ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap-md);
}
.card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--card-pad); box-shadow: none;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color .15s, box-shadow .15s;
}
.card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.card a.stretched {
  color: inherit; text-decoration: none;
  display: flex; flex-direction: column; gap: 10px; height: 100%;
}
.card a.stretched:hover { text-decoration: none; }
.card .meta-row {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
  font-size: .75rem; color: var(--muted);
}
.card h3, .card .card-title {
  margin: 0; font-size: 1.05rem; font-weight: 650; line-height: 1.35; letter-spacing: -.015em;
}
.card h2.card-title { font-size: 1.1rem; font-weight: 650; }
.card .excerpt {
  color: var(--muted); font-size: .9rem; margin: 0; flex: 1; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card .read-more { font-size: .8125rem; font-weight: 550; color: var(--accent); margin-top: 4px; }

/* ===== Market cards — clean Polymarket-like 3-col ===== */
.markets-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}
.market-card,
.market-card.signal-card,
.signal-card.market-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .15s, box-shadow .15s;
  min-height: 148px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
/* never collapse market cards to bare block text stacks */
.signal-card { display: flex; flex-direction: column; }
.market-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.market-card .mc-top {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}
.market-card .mc-top > :first-child { min-width: 0; flex: 1; }
.market-card .mc-ticker {
  font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em;
  color: var(--text); font-variant-numeric: tabular-nums;
}
.market-card .mc-pct {
  flex-shrink: 0; text-align: right;
  font-size: 1.35rem; font-weight: 700;
  font-variant-numeric: tabular-nums; letter-spacing: -.03em; line-height: 1;
}
.market-card .mc-co {
  font-size: .875rem; font-weight: 550; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.market-card .mc-co-en {
  font-size: .75rem; color: var(--muted); font-weight: 400;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px;
}
.market-card .mc-pills {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: auto;
}
.market-card .mc-foot {
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px; padding-top: 10px; border-top: 1px solid var(--border);
  font-size: .72rem; color: var(--muted);
}
.market-card .mc-excerpt {
  font-size: .8rem; color: var(--muted); margin: 0; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.market-card .mc-rail { display: none; }

.stance, .pill {
  display: inline-flex; align-items: center;
  padding: 3px 9px; border-radius: 999px; font-size: .7rem; font-weight: 600;
  white-space: nowrap;
}
.bullish { background: var(--success-soft); color: var(--bull); }
.bearish { background: var(--danger-soft); color: var(--bear); }
.neutral { background: var(--neutral-soft); color: var(--neut); }
.pill-src {
  background: var(--chip); color: var(--muted); font-weight: 550;
}
.pill-sector {
  background: var(--chip); color: var(--muted); font-weight: 550;
}
.pill-outcome-win { background: var(--success-soft); color: var(--bull); }
.pill-outcome-lose { background: var(--danger-soft); color: var(--bear); }
.pill-outcome-na { background: var(--chip); color: var(--muted); }
.pos { color: var(--bull); font-weight: 650; font-variant-numeric: tabular-nums; }
.neg { color: var(--bear); font-weight: 650; font-variant-numeric: tabular-nums; }
.na { color: var(--muted); }


.market-card.is-skeleton {
  pointer-events: none;
  min-height: 148px;
}
.market-card.is-skeleton .sk {
  display: block;
  background: var(--chip);
  border-radius: 6px;
  opacity: .7;
}
.market-card.is-skeleton .sk-ticker { width: 48%; height: 16px; margin-bottom: 8px; }
.market-card.is-skeleton .sk-co { width: 72%; height: 12px; }
.market-card.is-skeleton .sk-pct { width: 56px; height: 22px; }
.market-card.is-skeleton .sk-pill { width: 52px; height: 20px; border-radius: 999px; display: inline-block; }
.market-card.is-skeleton .sk-foot { width: 40%; height: 10px; }

/* ===== Source cards ===== */
.source-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
}
.src-page-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px 24px;
  transition: border-color .15s;
}
.src-page-card:hover { border-color: var(--border-strong); }
.src-page-card .name { font-size: 1.1rem; font-weight: 650; margin: 0 0 4px; letter-spacing: -.015em; }
.src-page-card .handle { color: var(--accent); font-size: .875rem; font-weight: 550; }
.src-page-card .role { color: var(--muted); font-size: .875rem; margin: 12px 0 0; line-height: 1.55; }
.src-page-card .note {
  color: var(--muted); font-size: .78rem; margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--border); opacity: .9;
}
.src-page-card .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip {
  font-size: .7rem; font-weight: 550; padding: 3px 9px; border-radius: 999px;
  background: var(--chip); color: var(--muted);
}

/* ===== Research hub list (blog) — clean rows ===== */
.hub-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--panel); }
.hub-card {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  display: block;
  transition: background .12s;
}
.hub-card:last-child { border-bottom: none; }
.hub-card:hover { background: var(--panel2); }
.hub-card a.stretched { color: inherit; text-decoration: none; display: block; }
.hub-card a.stretched:hover { text-decoration: none; }
.hub-card .hub-meta {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: .75rem; color: var(--muted); margin-bottom: 8px;
}
.hub-card .hub-title {
  margin: 0; font-size: 1.15rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.35;
}
.hub-card .hub-excerpt {
  margin: 8px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.55; max-width: 48em;
}
.hub-card .hub-cta {
  display: inline-block; margin-top: 12px;
  font-size: .8125rem; font-weight: 550; color: var(--accent);
}
.hub-tag {
  display: inline-flex; padding: 2px 8px; border-radius: 999px;
  background: var(--chip); color: var(--muted); font-weight: 550; font-size: .7rem;
}

/* ===== i18n content blocks (news articles) ===== */
.i18n-switch { display: block; }
.i18n-block { display: none; }
.i18n-block.is-on { display: block; }
span.i18n-block.is-on { display: inline; }

/* ===== Blog article ===== */
.article { max-width: 680px; margin: 0 auto; }
.article-meta { color: var(--muted); font-size: .85rem; margin-bottom: 12px; }
.article h1 { margin: 0 0 16px; font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.2; letter-spacing: -.025em; font-weight: 700; }
.article .lede {
  font-size: 1.1rem; color: var(--muted); margin: 0 0 32px; padding-bottom: 24px;
  border-bottom: 1px solid var(--border); line-height: 1.65;
}
.article h2 { margin: 32px 0 12px; font-size: 1.2rem; letter-spacing: -.015em; }
.article h3 { margin: 24px 0 8px; font-size: 1.05rem; }
.article p, .article li { color: var(--text); font-size: .975rem; line-height: 1.65; }
.article ul, .article ol { padding-left: 1.25em; }
.article li { margin-bottom: 6px; }
.article .callout {
  background: var(--chip); border: 1px solid var(--border); border-radius: 10px;
  padding: 16px 18px; margin: 20px 0; font-size: .9rem;
}
.article .warn-callout {
  background: var(--warn-bg); border: 1px solid var(--warn-bd); color: var(--warn-tx);
  border-radius: 10px; padding: 16px 18px; margin: 20px 0; font-size: .9rem; font-weight: 550;
}
.article table {
  width: 100%; border-collapse: collapse; font-size: .875rem; margin: 16px 0;
  background: var(--panel); border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
}
.article th, .article td { padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left; }
.article th { background: var(--th-bg); color: var(--muted); font-weight: 550; }
.back-link { display: inline-block; margin-bottom: 20px; font-size: .875rem; font-weight: 550; color: var(--muted); }
.back-link:hover { color: var(--accent); }

/* ===== Footer — quiet ===== */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: transparent;
  padding: 40px var(--page-pad-x) 48px;
  color: var(--muted); font-size: .8rem; line-height: 1.7;
}
.site-footer-inner {
  max-width: var(--content-max); margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px;
}
.site-footer-inner.wide { max-width: var(--content-max-wide); }
.site-footer strong { color: var(--text); font-weight: 650; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.site-footer .foot-brand { font-size: .9rem; margin-bottom: 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer h4 {
  margin: 0 0 10px; font-size: .7rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: .06em; font-weight: 650;
}

.loading, .error-box {
  padding: 40px 24px; text-align: center; color: var(--muted);
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.error-box { color: var(--warn-tx); border-color: var(--warn-bd); background: var(--warn-bg); }

.page-intro { margin-bottom: 36px; max-width: 640px; }
.page-intro .back-link { margin-bottom: 16px; }
.page-intro h1 {
  margin: 0 0 12px; font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  font-weight: 700; letter-spacing: -.03em; line-height: 1.15;
}
.page-intro .lede {
  margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.65;
}

/* about / faq cards stay simple */
.about-card p { margin: 0 0 12px; }
.about-card ul { margin: 0; padding-left: 1.2em; color: var(--muted); font-size: .925rem; }
.about-card li { margin-bottom: 6px; }

/* Desktop (≥901px): markets stay 3-col — do not collapse */
@media (min-width: 901px) {
  .markets-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
  }
}
@media (max-width: 900px) {
  :root { --page-pad-x: 20px; --section-gap: 48px; }
  .markets-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi-strip { grid-template-columns: repeat(2, 1fr); }
  .kpi { border-right: none; border-bottom: 1px solid var(--border); }
  .kpi:nth-child(odd) { border-right: 1px solid var(--border); }
  .kpi:nth-last-child(-n+2) { border-bottom: none; }
  .site-footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .site-nav { order: 3; width: 100%; }
  .hero { padding: 36px 0 32px; }
  .wrap { padding-top: 28px; }
}
@media (max-width: 560px) {
  :root { --page-pad-x: 16px; --card-pad: 18px; }
  .hero-cta .btn { width: 100%; }
  .markets-strip { grid-template-columns: minmax(0, 1fr); }
  .kpi-strip { grid-template-columns: 1fr 1fr; }
  .brand .brand-title { font-size: .95rem; }
}

/* ===== QuiverQuant-style product chrome (2026-10) =====
   Homepage showcases live board; dashboard is the product.
   No API / pricing sections. */

.hero.hero-product {
  padding: 48px 0 40px;
}
.hero-product .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  max-width: none;
}
.hero-product .hero-kicker {
  color: var(--accent);
  text-transform: none;
  letter-spacing: .02em;
  font-weight: 650;
}
.hero-product h1 {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  letter-spacing: -.035em;
}
.hero-product .lead { margin-bottom: 28px; font-size: 1.05rem; }
.hero-cta .btn-primary {
  padding: 13px 26px;
  font-size: 1rem;
  border-radius: 10px;
}
.hero-cta .btn-secondary { padding: 12px 18px; }

/* Live board preview panel (Quiver “open the dashboard” tease) */
.board-preview {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}
.board-preview-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; flex-wrap: wrap;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--panel2);
}
.board-preview-head .bp-title {
  font-size: .8rem; font-weight: 650; color: var(--text);
  letter-spacing: -.01em;
}
.board-preview-head .bp-meta {
  font-size: .7rem; color: var(--muted); font-weight: 550;
}
.board-preview-table {
  width: 100%; border-collapse: collapse; font-size: .78rem;
  flex: 1;
}
.board-preview-table th {
  text-align: left; padding: 8px 12px;
  color: var(--muted); font-weight: 600; font-size: .68rem;
  text-transform: uppercase; letter-spacing: .03em;
  background: var(--th-bg); border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.board-preview-table td {
  padding: 9px 12px; border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.board-preview-table tr:last-child td { border-bottom: none; }
.board-preview-table tr:hover td { background: var(--row-hover); }
.board-preview-table .bp-ticker {
  font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .02em;
}
.board-preview-foot {
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  font-size: .75rem; color: var(--muted); background: var(--panel2);
}
.board-preview-foot a { font-weight: 600; }

/* Product feature strip — like Quiver dataset cards, but no API */
.product-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.product-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  transition: border-color .15s, box-shadow .15s;
  display: flex; flex-direction: column; gap: 8px;
  min-width: 0;
}
.product-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.product-card .pc-kicker {
  font-size: .7rem; font-weight: 650; color: var(--accent);
  letter-spacing: .04em; text-transform: uppercase;
}
.product-card h3 {
  margin: 0; font-size: 1.05rem; font-weight: 650; letter-spacing: -.015em;
}
.product-card p {
  margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.55; flex: 1;
}
.product-card a.pc-link {
  font-size: .8125rem; font-weight: 600; color: var(--accent); margin-top: 4px;
}
.product-card a.pc-link:hover { text-decoration: underline; }

/* Dense home KPI — slightly more “quant panel” */
.kpi-strip.kpi-product .kpi { padding: 18px 20px; }
.kpi-strip.kpi-product .kpi .value { font-size: 1.6rem; }

/* CTA band before footer */
.cta-band {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}
.cta-band h2 {
  margin: 0 0 6px; font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em;
}
.cta-band p { margin: 0; color: var(--muted); font-size: .9rem; max-width: 36em; }

@media (max-width: 900px) {
  .hero-product .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .product-strip { grid-template-columns: 1fr; }
  .board-preview { min-height: 0; }
}
@media (max-width: 560px) {
  .cta-band { padding: 22px 18px; }
  .cta-band .btn { width: 100%; }
  .board-preview-table th:nth-child(4),
  .board-preview-table td:nth-child(4) { display: none; }
}

/* ===== TipRanks-like IA (v7) ===== */
.nav-dropdown { position: relative; display: inline-flex; }
.nav-dropdown > button, .nav-dropdown > .nav-drop-btn {
  color: var(--muted); font-size: .875rem; font-weight: 550;
  padding: 8px 14px; border-radius: 8px; background: transparent;
  border: none; cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; gap: 4px;
}
.nav-dropdown > button:hover, .nav-dropdown.open > button,
.nav-dropdown > .nav-drop-btn:hover, .nav-dropdown.open > .nav-drop-btn,
.nav-dropdown.active > button, .nav-dropdown.active > .nav-drop-btn {
  color: var(--text); background: var(--chip);
}
.nav-dropdown .caret { font-size: .65rem; opacity: .7; }
.nav-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 4px); left: 0;
  min-width: 148px; padding: 6px;
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 10px; box-shadow: var(--shadow-lg); z-index: 120;
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block; padding: 8px 12px; border-radius: 6px;
  color: var(--text); font-size: .875rem; font-weight: 550; text-decoration: none;
}
.nav-dropdown-menu a:hover { background: var(--chip); text-decoration: none; color: var(--text); }

.header-search {
  display: flex; align-items: center; gap: 0;
  background: var(--chip); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden; min-width: 140px; max-width: 220px;
}
.header-search input {
  flex: 1; border: none; background: transparent; color: var(--text);
  padding: 7px 10px; font-size: .8125rem; font-family: inherit; min-width: 0;
  outline: none;
}
.header-search input::placeholder { color: var(--muted); }
.header-search button {
  border: none; background: transparent; color: var(--muted);
  padding: 7px 10px; cursor: pointer; font-size: .85rem;
}
.header-search button:hover { color: var(--text); }

.page-tabs {
  display: flex; gap: 4px; flex-wrap: wrap;
  margin: 0 0 20px; padding: 4px;
  background: var(--panel2); border: 1px solid var(--border);
  border-radius: 10px; width: fit-content; max-width: 100%;
}
.page-tabs a, .page-tabs button {
  padding: 8px 16px; border-radius: 7px; font-size: .8125rem; font-weight: 600;
  color: var(--muted); background: transparent; border: none; cursor: pointer;
  text-decoration: none; font-family: inherit;
}
.page-tabs a:hover, .page-tabs button:hover { color: var(--text); background: var(--chip); text-decoration: none; }
.page-tabs a.active, .page-tabs button.active {
  color: var(--text); background: var(--panel); box-shadow: var(--shadow-sm);
}

/* Mini market widgets (TipRanks-style) */
.widget-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.market-widget {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.market-widget-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 10px; border-bottom: 1px solid var(--border);
}
.market-widget-head h3 {
  margin: 0; font-size: .95rem; font-weight: 700; letter-spacing: -.01em;
}
.market-widget-head .mw-link {
  font-size: .75rem; font-weight: 600; color: var(--muted);
}
.market-widget-head .mw-link:hover { color: var(--accent); }
.mw-table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.mw-table th {
  text-align: left; padding: 7px 12px; color: var(--muted);
  font-weight: 600; font-size: .65rem; text-transform: uppercase;
  letter-spacing: .04em; background: var(--th-bg); border-bottom: 1px solid var(--border);
}
.mw-table th.num, .mw-table td.num { text-align: right; }
.mw-table td {
  padding: 9px 12px; border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.mw-table tr:last-child td { border-bottom: none; }
.mw-table tr:hover td { background: var(--row-hover); }
.mw-table .mw-name {
  display: block; font-weight: 600; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px;
}
.mw-table .mw-ticker {
  font-size: .7rem; color: var(--muted); font-weight: 550;
  font-variant-numeric: tabular-nums;
}
.mw-table .mw-last { font-variant-numeric: tabular-nums; font-weight: 550; }
.mw-soon {
  padding: 28px 16px; text-align: center; color: var(--muted); font-size: .85rem;
}
.mw-soon strong { display: block; color: var(--text); margin-bottom: 4px; font-size: .9rem; }

/* News featured + columns */
.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}
.news-featured {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px 24px;
  display: flex; flex-direction: column; gap: 10px; min-height: 220px;
}
.news-featured .nf-cat {
  font-size: .7rem; font-weight: 650; color: var(--accent);
  text-transform: uppercase; letter-spacing: .04em;
}
.news-featured h3 {
  margin: 0; font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.3;
}
.news-featured h3 a { color: inherit; text-decoration: none; }
.news-featured h3 a:hover { color: var(--accent); }
.news-featured .nf-excerpt { color: var(--muted); font-size: .9rem; line-height: 1.55; flex: 1; margin: 0; }
.news-col {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 16px 18px;
}
.news-col h4 {
  margin: 0 0 12px; font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; color: var(--muted);
  padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.news-col-item {
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.news-col-item:last-child { border-bottom: none; padding-bottom: 0; }
.news-col-item a {
  color: var(--text); font-weight: 600; font-size: .875rem; line-height: 1.4;
  text-decoration: none; display: block;
}
.news-col-item a:hover { color: var(--accent); }
.news-col-item .meta { font-size: .7rem; color: var(--muted); margin-top: 4px; }
.ticker-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ticker-pill {
  display: inline-flex; padding: 2px 8px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  font-size: .68rem; font-weight: 650; font-variant-numeric: tabular-nums;
  text-decoration: none;
}
.ticker-pill:hover { filter: brightness(1.1); text-decoration: none; }
.cadence-note {
  font-size: .75rem; color: var(--muted); margin-top: 12px;
}

/* Influencer ranking — dual cards */
.rank-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}
.rank-card .section-head { margin-bottom: 12px; }
.rank-card .section-head h2 { font-size: 1.05rem; }
.rank-table-wrap {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.rank-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.rank-table th {
  text-align: left; padding: 10px 16px; background: var(--th-bg);
  color: var(--muted); font-size: .68rem; font-weight: 650;
  text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--border);
}
.rank-table th.num, .rank-table td.num { text-align: right; }
.rank-table td {
  padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: middle;
}
.rank-table tr:last-child td { border-bottom: none; }
.rank-table tr:hover td { background: var(--row-hover); }
.rank-table .rank-n { color: var(--muted); font-weight: 650; width: 36px; }
.rank-table .rank-name { font-weight: 650; }
.rank-table .rank-name a { color: inherit; text-decoration: none; }
.rank-table .rank-name a:hover { color: var(--accent); }
.rank-table .rank-handle { font-size: .75rem; color: var(--muted); font-weight: 500; }

/* SEO keyword pills */
.keyword-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.keyword-pill {
  display: inline-flex; padding: 6px 14px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--border);
  color: var(--muted); font-size: .8rem; font-weight: 550;
  text-decoration: none;
}
.keyword-pill:hover {
  border-color: var(--border-strong); color: var(--text); text-decoration: none;
}

/* Dark multi-column footer */
.site-footer.footer-dark {
  background: #0a0c10;
  border-top: 1px solid #1e2430;
  color: #9ca3af;
  padding: 48px var(--page-pad-x) 40px;
}
.site-footer.footer-dark .site-footer-inner {
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
}
.site-footer.footer-dark strong,
.site-footer.footer-dark h4 { color: #f3f4f6; }
.site-footer.footer-dark a { color: #9ca3af; }
.site-footer.footer-dark a:hover { color: #f3f4f6; }
.site-footer.footer-dark .foot-copy {
  margin-top: 36px; padding-top: 20px;
  border-top: 1px solid #1e2430;
  font-size: .75rem; color: #6b7280;
  max-width: var(--content-max); margin-left: auto; margin-right: auto;
}
html[data-theme="light"] .site-footer.footer-dark {
  background: #111827;
}

/* Dual Buy/Sell tables */
.dual-tables {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.dual-panel {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.dual-panel-head {
  padding: 12px 16px; font-weight: 700; font-size: .9rem;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.dual-panel-head.bull { color: var(--bull); background: var(--success-soft); }
.dual-panel-head.bear { color: var(--bear); background: var(--danger-soft); }
.dual-panel .mw-table th { font-size: .62rem; }

/* Filters bar */
.filters-bar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin-bottom: 20px;
}
.filters-bar select, .filters-bar input[type="search"] {
  background: var(--panel); border: 1px solid var(--border); color: var(--text);
  border-radius: 8px; padding: 8px 12px; font-size: .875rem; font-family: inherit;
}
.filters-bar select:focus, .filters-bar input:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--ring);
}

/* News card grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.news-card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px 22px;
  display: flex; flex-direction: column; gap: 8px;
  transition: border-color .15s, box-shadow .15s;
}
.news-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.news-card .nc-cat {
  font-size: .68rem; font-weight: 650; color: var(--accent);
  text-transform: uppercase; letter-spacing: .04em;
}
.news-card h3 {
  margin: 0; font-size: 1.05rem; font-weight: 650; letter-spacing: -.015em; line-height: 1.35;
}
.news-card h3 a { color: inherit; text-decoration: none; }
.news-card h3 a:hover { color: var(--accent); }
.news-card .nc-excerpt { margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.5; flex: 1; }
.news-card .nc-meta { font-size: .72rem; color: var(--muted); margin-top: 4px; }


/* ===== Market focus tags (influencer market chips) ===== */
.tag-mkt {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.35;
  white-space: nowrap;
  vertical-align: middle;
}
.tag-mkt.tag-sm {
  padding: 1px 6px;
  font-size: .62rem;
  font-weight: 550;
}
.tag-stocks {
  background: rgba(37, 99, 235, .10);
  color: #2563eb;
}
.tag-ashare {
  background: rgba(5, 150, 105, .10);
  color: #059669;
}
.tag-precious_metals {
  background: rgba(180, 83, 9, .10);
  color: #b45309;
}
.tag-bitcoin {
  background: rgba(234, 88, 12, .10);
  color: #c2410c;
}
[data-theme="dark"] .tag-stocks {
  background: rgba(96, 165, 250, .14);
  color: #93c5fd;
}
[data-theme="dark"] .tag-ashare {
  background: rgba(52, 211, 153, .14);
  color: #6ee7b7;
}
[data-theme="dark"] .tag-precious_metals {
  background: rgba(251, 191, 36, .14);
  color: #fbbf24;
}
[data-theme="dark"] .tag-bitcoin {
  background: rgba(251, 146, 60, .14);
  color: #fdba74;
}
.page-intro h1 .tag-mkt {
  margin-left: 10px;
  position: relative;
  top: -2px;
  font-size: .72rem;
  padding: 3px 10px;
}

.tag-ticker {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: .68rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
  line-height: 1.35;
  white-space: nowrap;
  background: var(--chip);
  color: var(--text);
  border: 1px solid var(--border);
}
.tag-ticker.tag-sm {
  padding: 1px 5px;
  font-size: .6rem;
  font-weight: 600;
}
.mkt-row .tag-ticker { margin: 0; }
.mkt-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.page-intro .mkt-row {
  margin-top: 10px;
  gap: 8px;
}
.page-intro .mkt-row .tag-mkt { margin-left: 0; top: 0; }
.inf-card .mkt-row {
  margin: 6px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.inf-card h3 .tag-mkt { margin-left: 8px; font-size: .65rem; }
.rank-table .rank-mkt { margin-top: 3px; }
.rank-table .rank-handle .tag-mkt { margin-left: 0; }

/* Influencer cards */
.inf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.inf-card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px 22px;
  transition: border-color .15s;
}
.inf-card:hover { border-color: var(--border-strong); }
.inf-card h3 { margin: 0 0 4px; font-size: 1.05rem; font-weight: 650; }
.inf-card h3 a { color: inherit; text-decoration: none; }
.inf-card h3 a:hover { color: var(--accent); }
.inf-card .handle { color: var(--accent); font-size: .8125rem; font-weight: 550; }
.inf-card .stats {
  display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--border); font-size: .8rem;
}
.inf-card .stats .sv { font-weight: 700; font-variant-numeric: tabular-nums; display: block; font-size: 1.1rem; }
.inf-card .stats .sl { color: var(--muted); font-size: .7rem; }
.inf-card .role { color: var(--muted); font-size: .85rem; margin: 10px 0 0; line-height: 1.5; }

.coming-banner {
  background: var(--chip); border: 1px dashed var(--border-strong);
  border-radius: var(--radius); padding: 14px 18px;
  color: var(--muted); font-size: .875rem; margin-bottom: 20px;
}
.coming-banner strong { color: var(--text); }

@media (max-width: 900px) {
  .widget-grid { grid-template-columns: 1fr; }
  .news-layout { grid-template-columns: 1fr; }
  .dual-tables { grid-template-columns: 1fr; }
  .rank-grid { grid-template-columns: 1fr; }
  .site-footer.footer-dark .site-footer-inner { grid-template-columns: 1fr 1fr; }
  .header-search { max-width: none; width: 100%; order: 4; }
  .lang-switch { order: 3; }
}
@media (max-width: 560px) {
  .site-footer.footer-dark .site-footer-inner { grid-template-columns: 1fr; }
  .mw-table .mw-name { max-width: 90px; }
}

/* time-window win-rate KPIs on influencer detail */
.kpi-strip.kpi-product { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.rank-table th.num { white-space: nowrap; font-size: .8rem; }

/* Nested L2 under 股票 in 分类 dropdown */
.nav-flyout { position: relative; }
.nav-flyout > .nav-flyout-parent {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 12px; border-radius: 6px;
  color: var(--text); font-size: .875rem; font-weight: 550; text-decoration: none;
}
.nav-flyout > .nav-flyout-parent:hover { background: var(--chip); text-decoration: none; color: var(--text); }
.nav-flyout > .nav-flyout-parent .caret { font-size: .65rem; opacity: .65; }
.nav-flyout-menu {
  display: none; position: absolute; left: calc(100% - 4px); top: -4px;
  min-width: 118px; padding: 6px;
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 10px; box-shadow: var(--shadow-lg); z-index: 130;
}
.nav-flyout:hover > .nav-flyout-menu,
.nav-flyout.open > .nav-flyout-menu,
.nav-dropdown.open .nav-flyout:focus-within > .nav-flyout-menu { display: block; }
.nav-flyout-menu a {
  display: block; padding: 8px 12px; border-radius: 6px;
  color: var(--text); font-size: .875rem; font-weight: 550; text-decoration: none;
}
.nav-flyout-menu a:hover { background: var(--chip); text-decoration: none; color: var(--text); }
/* Footer L2 under 股票 */
.site-footer ul.foot-sub {
  list-style: none; margin: 4px 0 8px; padding: 0 0 0 12px;
  border-left: 2px solid var(--border);
}
.site-footer ul.foot-sub li { margin: 0; }
.site-footer ul.foot-sub a {
  font-size: .8rem; font-weight: 500; opacity: .9; padding: 3px 0; display: inline-block;
}
@media (max-width: 900px) {
  .nav-flyout-menu {
    position: static; left: auto; top: auto;
    box-shadow: none; border: none; border-radius: 0;
    padding: 0 0 4px 14px; margin: 0;
    background: transparent;
  }
  .nav-flyout.open > .nav-flyout-menu { display: block; }
}


/* market filter chips */
.filters-bar .chip,
button.chip {
  appearance: none; border: 1px solid var(--border); background: var(--chip);
  color: var(--muted); border-radius: 999px; padding: 6px 12px; font-size: .8125rem;
  font-weight: 550; cursor: pointer;
}
button.chip.active, .filters-bar .chip.active {
  background: var(--accent); color: #fff; border-color: transparent;
}

.foot-copy .foot-tiny {
  color: #6b7280; text-decoration: none; font-size: inherit; opacity: .85;
}
.foot-copy .foot-tiny:hover { color: #9ca3af; text-decoration: underline; opacity: 1; }
.foot-copy .foot-sep { margin: 0 .35em; opacity: .5; }
.stats-box {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px 22px; margin: 18px 0; max-width: 40rem;
}
.stats-box h2 { margin: 0 0 8px; font-size: 1.05rem; }
.stats-box p { margin: 0; color: var(--muted); line-height: 1.55; }
.site-map-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 18px; margin: 20px 0 40px; }
.site-map-col h2 { font-size: .95rem; margin: 0 0 10px; }
.site-map-col ul { margin: 0; padding-left: 1.1em; line-height: 1.7; }
.site-map-col a { color: var(--text); text-decoration: none; }
.site-map-col a:hover { text-decoration: underline; color: var(--accent); }

/* 404 */
.err404 .err404-code {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0 0 0.25rem;
  line-height: 1;
}
.err404 .hero-cta { flex-wrap: wrap; gap: 0.75rem; }
