:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-2: #eef2f5;
  --text: #10212e;
  --muted: #687985;
  --faint: #94a2ad;
  --line: #dbe2e7;
  --navy: #092b40;
  --navy-2: #0f3a52;
  --cyan: #17a5a5;
  --cyan-soft: #def4f1;
  --signal: #e5ff54;
  --orange: #ed8a3b;
  --red: #c04444;
  --shadow: 0 16px 44px rgba(13, 42, 59, .08);
}

[data-theme="dark"] {
  --bg: #09141c;
  --surface: #10212c;
  --surface-2: #172b37;
  --text: #edf5f7;
  --muted: #9aadb7;
  --faint: #71858f;
  --line: #253b47;
  --navy: #071018;
  --navy-2: #102c3b;
  --cyan-soft: #123a3c;
  --shadow: 0 18px 48px rgba(0, 0, 0, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.65 "Manrope", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  width: 250px;
  padding: 28px 20px 22px;
  display: flex;
  flex-direction: column;
  color: #dbe8ed;
  background:
    radial-gradient(circle at 15% 5%, rgba(23,165,165,.24), transparent 30%),
    linear-gradient(165deg, var(--navy-2), var(--navy) 48%, #061c2b);
}
.brand { display: flex; align-items: center; gap: 12px; margin: 0 6px 42px; }
.brand-symbols { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.brand-mark {
  width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.32); border-radius: 11px;
  display: grid; place-items: center; color: var(--signal); font-size: 13px; font-weight: 800; letter-spacing: .08em;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.06);
}
.brand strong { display: block; color: #fff; font-size: 14px; }
.brand small { display: block; margin-top: 2px; color: #83a0af; font-size: 8px; letter-spacing: .12em; }
.side-nav { display: grid; gap: 7px; }
.side-nav a {
  display: flex; align-items: center; gap: 13px; padding: 11px 13px; border-radius: 9px;
  color: #9fb4bf; font-weight: 600; transition: .18s ease;
}
.side-nav a span { width: 20px; color: #7193a4; text-align: center; }
.side-nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.side-nav a.active { color: #fff; background: rgba(23,165,165,.18); box-shadow: inset 3px 0 var(--signal); }
.side-nav a.active span { color: var(--signal); }
.sidebar-foot { margin-top: auto; display: grid; gap: 10px; padding: 16px 6px 0; border-top: 1px solid rgba(255,255,255,.09); }
.sidebar-foot a, .theme-toggle { color: #8fa9b5; font-size: 12px; }
.theme-toggle { padding: 0; border: 0; text-align: left; background: none; }
.sidebar-foot a:hover, .theme-toggle:hover { color: #fff; }

.app-shell { min-height: 100vh; margin-left: 250px; }
.topbar {
  position: sticky; top: 0; z-index: 30; height: 72px; padding: 0 4.5vw;
  display: flex; align-items: center; gap: 20px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(14px);
}
.global-search {
  width: min(650px, 62vw); height: 42px; display: flex; align-items: center; gap: 10px;
  padding: 0 13px; background: var(--surface-2); border: 1px solid transparent; border-radius: 10px;
}
.global-search:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cyan) 15%, transparent); }
.global-search span { color: var(--muted); font-size: 22px; }
.global-search input { flex: 1; min-width: 0; border: 0; outline: 0; color: var(--text); background: transparent; }
.global-search input::placeholder { color: var(--faint); }
kbd { padding: 1px 7px; color: var(--faint); background: var(--surface); border: 1px solid var(--line); border-radius: 5px; font-size: 10px; }
.topbar-link { margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 600; }
.topbar-title { font-weight: 700; }
.menu-toggle { display: none; border: 0; color: var(--text); background: none; font-size: 20px; }

.page { width: min(1240px, calc(100% - 8vw)); margin: 0 auto; padding: 46px 0 76px; }
.eyebrow { margin: 0 0 10px; color: var(--cyan); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.hero {
  position: relative; min-height: 320px; padding: 44px 50px; overflow: hidden;
  display: grid; grid-template-columns: 1.35fr .65fr; align-items: center;
  color: #fff; border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(10,47,68,.98) 0%, rgba(10,47,68,.9) 55%, rgba(10,47,68,.52) 100%),
    repeating-linear-gradient(90deg, transparent 0 45px, rgba(255,255,255,.025) 46px),
    linear-gradient(135deg, #0e415b, #061c2a);
  box-shadow: var(--shadow);
}
.hero:after { content: ""; position: absolute; inset: auto -70px -110px auto; width: 430px; height: 250px; border: 1px solid rgba(255,255,255,.08); transform: rotate(-12deg); }
.hero h1 { margin: 0; max-width: 680px; font-size: clamp(34px, 4.1vw, 60px); line-height: 1.13; letter-spacing: -.035em; }
.hero h1 em { color: var(--signal); font-style: normal; }
.hero-copy { max-width: 680px; margin: 22px 0 0; color: #bdd0d9; font-size: 14px; }
.hero-radar { position: relative; width: 220px; height: 220px; justify-self: center; border-radius: 50%; border: 1px solid rgba(229,255,84,.35); }
.radar-ring { position: absolute; inset: 50%; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; transform: translate(-50%,-50%); }
.ring-1 { width: 72%; height: 72%; } .ring-2 { width: 44%; height: 44%; } .ring-3 { width: 14%; height: 14%; background: var(--signal); box-shadow: 0 0 18px var(--signal); }
.radar-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 40deg, transparent 0 78%, rgba(229,255,84,.32) 96%, rgba(229,255,84,.9) 100%); animation: sweep 7s linear infinite; }
.dot { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 9px var(--signal); }
.d1 { top: 42px; left: 82px; } .d2 { right: 38px; top: 118px; } .d3 { left: 40px; bottom: 54px; }
@keyframes sweep { to { transform: rotate(360deg); } }

.metric-strip {
  margin: 56px 0 0; display: grid; grid-template-columns: repeat(4,1fr);
  background: var(--surface); border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow);
}
.metric-strip-bottom:before {
  content: "数据概览"; grid-column: 1/-1; padding: 13px 28px 9px;
  color: var(--faint); border-bottom: 1px solid var(--line); font-size: 10px; font-weight: 800; letter-spacing: .12em;
}
.metric-strip div { padding: 20px 28px; display: flex; align-items: baseline; gap: 11px; border-right: 1px solid var(--line); }
.metric-strip div:last-child { border: 0; }
.metric-strip strong { color: var(--navy-2); font-size: 26px; }
[data-theme="dark"] .metric-strip strong { color: var(--signal); }
.metric-strip span { color: var(--muted); font-size: 11px; }

.section-head { margin: 0 0 18px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-head h2 { margin: 0; font-size: 25px; letter-spacing: -.02em; }
.section-head > a { color: var(--cyan); font-size: 12px; font-weight: 700; }
.highlight-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.highlight-card {
  min-height: 260px; padding: 23px; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 6px 24px rgba(15,48,67,.05);
  transition: transform .18s ease, box-shadow .18s ease;
}
.highlight-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.highlight-top { display: flex; justify-content: space-between; color: var(--faint); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.highlight-source { margin: 22px 0 8px; color: var(--cyan); font-size: 10px; font-weight: 700; }
.highlight-card h3 { margin: 0 0 10px; font-size: 16px; line-height: 1.5; }
.highlight-card h3 a:hover { color: var(--cyan); }
.highlight-card > p:last-of-type { margin: 0; color: var(--muted); font-size: 12px; }
.highlight-foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; gap: 8px; }
.highlight-foot strong { margin-left: auto; color: var(--cyan); font-size: 20px; }

.stream-section { margin-top: 58px; }
.all-stream { margin-top: 18px; }
.stream-title { padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.feed-meta { color: var(--muted); font-size: 13px; }
.filter-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 18px 0 8px; }
.filter-bar select {
  height: 36px; padding: 0 28px 0 11px; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px; font-size: 11px;
}
.range-switch { display: flex; padding: 3px; background: var(--surface-2); border-radius: 9px; }
.range-btn { height: 30px; padding: 0 11px; color: var(--muted); background: transparent; border: 0; border-radius: 7px; font-size: 11px; }
.range-btn.active { color: var(--text); background: var(--surface); box-shadow: 0 2px 7px rgba(0,0,0,.08); font-weight: 700; }
.active-filters { min-height: 31px; display: flex; gap: 6px; flex-wrap: wrap; }
.active-filters button { padding: 3px 9px; color: var(--cyan); background: var(--cyan-soft); border: 0; border-radius: 99px; font-size: 10px; }

.feed { min-height: 240px; }
.day-section { margin: 26px 0 0; }
.day-header { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; padding-bottom: 9px; border-bottom: 2px solid var(--text); }
.day-header span { font-size: 20px; font-weight: 800; }
.day-header small { color: var(--faint); font-size: 14px; }
.news-card { display: grid; grid-template-columns: 48px 1fr; gap: 13px; padding: 22px 5px; border-bottom: 1px solid var(--line); }
.news-index {
  padding-top: 1px; color: var(--cyan); font-size: 14px; font-weight: 800;
  font-variant-numeric: tabular-nums; letter-spacing: .04em;
}
.news-body { min-width: 0; }
.news-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 7px; }
.source-name { color: var(--cyan); font-size: 11px; font-weight: 700; }
.tier-badge {
  min-width: 19px; height: 18px; padding: 0 5px; display: inline-grid; place-items: center;
  color: #fff; border-radius: 4px; font-size: 9px; font-weight: 800;
}
.tier-A { background: var(--red); } .tier-B { background: #2874ad; } .tier-C { background: #72828c; } .tier-D { background: #9a9a9a; }
.score-badge { color: var(--navy-2); background: var(--signal); font-size: 9px; font-weight: 800; border-radius: 4px; padding: 1px 6px; }
.meta-badge { padding: 1px 7px; color: var(--muted); background: var(--surface-2); border-radius: 99px; font-size: 9px; font-weight: 700; }
.selected-badge { color: #765b00; background: #fff0a8; }
.novelty-new { color: #126a53; background: #d9f3e9; }
.novelty-update { color: #864c18; background: #fae5d1; }
.category-badge { color: #236c77; background: #dff2f3; }
[data-theme="dark"] .category-badge { color: #8ed5da; background: #153940; }
.news-title { margin: 0 0 8px; font-size: 19px; line-height: 1.48; }
.news-title a:hover { color: var(--cyan); }
.news-summary { max-width: 920px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.72; }
.evidence-note { margin: 9px 0 0; padding-left: 10px; color: var(--muted); border-left: 2px solid var(--cyan); font-size: 11px; }
.evidence-note strong { margin-right: 8px; color: var(--text); }
.verification-note { margin: 8px 0 0; color: var(--faint); font-size: 10px; }
.verification-note strong { color: #21705f; }
.model-note { margin-top: 8px; color: var(--muted); font-size: 11px; }
.model-note summary { width: max-content; color: var(--faint); cursor: pointer; }
.model-note p { margin: 5px 0; padding: 8px 11px; background: var(--surface-2); border-radius: 6px; }
.card-actions { display: flex; gap: 15px; margin-top: 9px; color: var(--faint); font-size: 10px; }
.card-actions a:hover { color: var(--cyan); }

.page-intro { max-width: 800px; margin: 15px 0 50px; }
.page-intro h1 { margin: 0; font-size: clamp(34px, 4vw, 57px); line-height: 1.16; letter-spacing: -.04em; }
.page-intro > p:last-child { max-width: 700px; margin: 20px 0 0; color: var(--muted); }
.topics-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.topic-card { position: relative; padding: 28px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; transition: .18s ease; }
.topic-card:hover { transform: translateY(-3px); border-color: var(--cyan); box-shadow: var(--shadow); }
.topic-index { position: absolute; right: 20px; top: 12px; color: color-mix(in srgb, var(--cyan) 13%, transparent); font-size: 60px; font-weight: 800; }
.topic-card h2 { position: relative; margin: 0 0 10px; font-size: 20px; }
.topic-card > p { position: relative; min-height: 45px; margin: 0; color: var(--muted); font-size: 12px; }
.topic-bar { height: 4px; margin: 25px 0 14px; overflow: hidden; background: var(--surface-2); border-radius: 99px; }
.topic-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--signal)); }
.topic-stats { display: flex; gap: 18px; color: var(--faint); font-size: 10px; }
.topic-stats strong { color: var(--text); font-size: 12px; }
.method-banner { margin-top: 35px; padding: 34px; display: grid; grid-template-columns: 1fr 1.5fr auto; align-items: center; gap: 28px; color: #fff; background: var(--navy-2); border-radius: 14px; }
.method-banner h2 { margin: 0; }
.method-banner > p { color: #a9c1cc; font-size: 12px; }
.method-banner a { color: var(--signal); font-size: 11px; font-weight: 700; }

.about-page { max-width: 1060px; }
.about-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 15px; }
.about-grid article { position: relative; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; }
.step-no { color: var(--cyan); font-size: 10px; font-weight: 800; }
.about-grid h2 { margin: 18px 0 8px; font-size: 18px; }
.about-grid p { margin: 0; color: var(--muted); font-size: 12px; }
.principles, .source-levels, .disclaimer { margin-top: 36px; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.principles { display: grid; grid-template-columns: .7fr 1.3fr; gap: 45px; }
.principles h2, .source-levels h2 { margin: 0; }
.principles ul { margin: 0; padding-left: 18px; }
.principles li { margin-bottom: 12px; color: var(--muted); }
.principles strong { color: var(--text); }
.level-row { padding: 18px 0; display: flex; align-items: start; gap: 15px; border-bottom: 1px solid var(--line); }
.level-row:last-child { border: 0; }
.level-row p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.disclaimer { color: var(--muted); border-left: 4px solid var(--orange); font-size: 12px; }
.disclaimer strong { color: var(--text); }
.disclaimer p { margin: 8px 0 0; }

.article-page { width: min(1180px, calc(100% - 8vw)); margin: 0 auto; }
.article-container { width: min(100%, 1040px); margin: 0 auto; padding: 48px 0 78px; }
.article-topbar > div { display: grid; line-height: 1.18; }
.topbar-kicker { margin-bottom: 4px; color: var(--cyan); font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header-inner { max-width: 1060px; margin: auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; }
.site-header .brand { margin: 0; color: var(--text); }
.site-header .brand-mark { color: var(--cyan); border-color: var(--line); }
.site-header .brand strong, .site-header .brand h1 { color: var(--text); }
.site-header .brand p { margin: 0; color: var(--faint); font-size: 10px; }
.site-nav { display: flex; gap: 16px; }
.nav-link { color: var(--cyan); font-weight: 700; font-size: 12px; }
.article-meta { margin-bottom: 15px; }
.article-title { margin: 0 0 18px; font-size: clamp(26px,4vw,40px); line-height: 1.28; letter-spacing: -.025em; }
.article-time { color: var(--faint); font-size: 10px; }
.article-actions { display: flex; gap: 10px; margin-bottom: 25px; }
.original-link, .cn-btn { padding: 7px 13px; color: var(--cyan); background: transparent; border: 1px solid var(--cyan); border-radius: 7px; font-size: 11px; }
.article-body { color: var(--text); font-size: 15px; line-height: 1.95; }
.article-story {
  padding: 30px 32px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
}
.article-section {
  margin: 0; padding: 0 0 28px;
}
.article-section + .article-section { padding-top: 28px; border-top: 1px solid var(--line); }
.article-section:last-child { padding-bottom: 0; }
.article-section h2 {
  margin: 0 0 17px; display: flex; align-items: center; gap: 9px;
  color: var(--text); font-size: 17px; line-height: 1.35;
}
.article-section h2:before { content: ""; width: 3px; height: 16px; flex: 0 0 auto; background: var(--cyan); border-radius: 99px; }
.article-section-content p {
  margin: 0 0 16px; color: var(--text); font-size: 16px; font-weight: 400; line-height: 1.95;
}
.article-section-content p:last-child { margin-bottom: 0; }
.article-media-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
  margin: 0 0 22px;
}
.article-media-grid.count-1 { grid-template-columns: minmax(0, 1fr); }
.article-media-card {
  margin: 0; overflow: hidden; background: var(--surface-2);
  border: 1px solid var(--line); border-radius: 10px;
}
.article-media-card img {
  width: 100%; height: clamp(230px, 27vw, 390px); display: block;
  object-fit: cover; background: var(--surface-2);
}
.article-media-grid.count-1 .article-media-card img { height: clamp(280px, 37vw, 470px); }
.article-media-card figcaption {
  padding: 9px 12px; color: var(--faint); font-size: 10px; line-height: 1.55;
}
.article-media-card figcaption a { color: var(--cyan); font-weight: 700; }
.original-title { margin: -8px 0 24px; color: var(--faint); font-size: 11px; }
.article-summary-card {
  margin: 0 0 24px; padding: 18px 20px; color: var(--text);
  background: var(--cyan-soft); border-left: 4px solid var(--cyan); border-radius: 8px;
}
.article-facts { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 22px; }
.article-note { padding: 11px 14px; color: #8a5c19; background: #fff2d8; border-radius: 8px; font-size: 11px; }
.article-keywords { margin-top: 30px; padding-top: 16px; color: var(--faint); border-top: 1px solid var(--line); font-size: 10px; }
.cn-block { margin: 30px 0; padding: 25px; background: var(--cyan-soft); border-radius: 12px; }

.empty-state { grid-column: 1/-1; padding: 65px 20px; color: var(--faint); text-align: center; }
.loader { width: 13px; height: 13px; margin-right: 8px; display: inline-block; border: 2px solid var(--line); border-top-color: var(--cyan); border-radius: 50%; animation: sweep .7s linear infinite; vertical-align: -2px; }
.site-footer { padding: 25px 4vw 35px; color: var(--faint); text-align: center; font-size: 9px; letter-spacing: .08em; }
.nav-scrim { display: none; }

@media (max-width: 980px) {
  .sidebar { width: 220px; }
  .app-shell { margin-left: 220px; }
  .page { width: calc(100% - 48px); }
  .hero { grid-template-columns: 1fr; }
  .hero-radar { position: absolute; right: -30px; opacity: .36; }
  .highlight-grid { grid-template-columns: 1fr; }
  .highlight-card { min-height: 0; }
  .method-banner { grid-template-columns: 1fr; }
  .article-page { width: calc(100% - 48px); }
}

@media (max-width: 720px) {
  .sidebar { width: 260px; transform: translateX(-100%); transition: transform .2s ease; }
  .sidebar.open { transform: translateX(0); box-shadow: 20px 0 50px rgba(0,0,0,.25); }
  .app-shell { margin-left: 0; }
  .nav-scrim { position: fixed; inset: 0; z-index: 35; background: rgba(2,13,20,.55); }
  .nav-open .nav-scrim { display: block; }
  .menu-toggle { display: block; }
  .topbar { height: 62px; padding: 0 18px; }
  .topbar-link, kbd { display: none; }
  .global-search { width: auto; flex: 1; }
  .page { width: calc(100% - 30px); padding-top: 24px; }
  .article-page { width: calc(100% - 30px); }
  .article-container { padding-top: 26px; }
  .hero { min-height: 315px; padding: 32px 24px; }
  .hero-copy { font-size: 12px; }
  .metric-strip { grid-template-columns: repeat(2,1fr); }
  .metric-strip div:nth-child(2) { border-right: 0; }
  .metric-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .metric-strip div { padding: 16px 18px; }
  .topics-grid, .about-grid, .principles { grid-template-columns: 1fr; }
  .principles { gap: 20px; }
  .topic-stats { flex-wrap: wrap; gap: 8px 15px; }
  .news-card { grid-template-columns: 34px 1fr; }
  .news-title { font-size: 18px; }
  .day-header span { font-size: 19px; }
  .article-story { padding: 22px 20px; }
  .article-section { padding-bottom: 24px; }
  .article-section + .article-section { padding-top: 24px; }
  .article-section-content p { font-size: 15.5px; }
  .article-media-grid { grid-template-columns: 1fr; }
  .article-media-card img, .article-media-grid.count-1 .article-media-card img { height: auto; max-height: 420px; }
}

@media (max-width: 460px) {
  .filter-bar select { flex: 1; min-width: calc(50% - 8px); }
  .range-switch { width: 100%; }
  .range-btn { flex: 1; }
  .hero-radar { display: none; }
  .hero h1 { font-size: 34px; }
  .page-intro { margin-bottom: 32px; }
  .page-intro h1 { font-size: 36px; }
  .news-card { grid-template-columns: 30px 1fr; gap: 8px; }
  .news-index { font-size: 12px; }
  .news-title { font-size: 17.5px; }
  .day-header span { font-size: 18px; }
  .day-header small { font-size: 13px; }
  .section-head { align-items: start; }
}

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