/* ============================================================
   八界零世界 · 共享设计系统（默认浅色 / Light-first）
   Analytical Futurism · 纯原生 · 零 CDN
   ============================================================ */
:root{
  /* 浅色（默认） */
  --bg-void:#EAEEF4; --bg-base:#F4F6FA; --surface-1:#FFFFFF; --surface-2:#FFFFFF;
  --border:#E2E8F0; --border-strong:#CBD5E1;
  --text-hi:#0E1219; --text-mid:#475467; --text-lo:#8A95A5;
  --accent:#227CFF; --accent-soft:rgba(34,124,255,.10);
  --glow:#0EA5C4; --diverge:#E5484D; --positive:#149A5B;
  --shadow-sm:0 1px 2px rgba(15,23,42,.06);
  --shadow-md:0 8px 24px rgba(15,23,42,.10);
  --mono:ui-monospace,"SF Mono","JetBrains Mono",Menlo,Consolas,monospace;
  --sans:-apple-system,"PingFang SC","Microsoft YaHei","Segoe UI",Roboto,system-ui,sans-serif;
  --maxw:1200px; --radius:14px; --radius-sm:10px;
}
[data-theme="dark"]{
  --bg-void:#0A0D13; --bg-base:#0E1219; --surface-1:#151B26; --surface-2:#1C2433;
  --border:#283142; --border-strong:#3A455A;
  --text-hi:#EAF0F8; --text-mid:#A8B4C6; --text-lo:#6B7689;
  --accent:#2E7BFF; --accent-soft:rgba(46,123,255,.12);
  --glow:#3FE0FF; --diverge:#FF5C7A; --positive:#2BDC8C;
  --shadow-sm:0 1px 2px rgba(0,0,0,.4);
  --shadow-md:0 8px 24px rgba(0,0,0,.45);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:var(--sans); background:var(--bg-base); color:var(--text-hi);
  line-height:1.65; -webkit-font-smoothing:antialiased;
  background-image:radial-gradient(circle at 50% -10%, rgba(34,124,255,.08), transparent 55%);
  min-height:100vh;
}
a{color:inherit;text-decoration:none}
.mono{font-family:var(--mono)}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 20px}

/* ---------- Header ---------- */
header{
  position:sticky;top:0;z-index:50;backdrop-filter:blur(12px);
  background:color-mix(in srgb, var(--bg-base) 80%, transparent);
  border-bottom:1px solid var(--border);
}
.nav{display:flex;align-items:center;gap:20px;height:64px}
.logo{display:flex;align-items:center;gap:10px;font-weight:700;font-size:18px;letter-spacing:.5px}
.logo .mark{
  width:34px;height:34px;border-radius:9px;display:grid;place-items:center;
  background:linear-gradient(135deg,var(--accent),var(--glow));color:#fff;font-weight:800;font-size:17px;
  box-shadow:0 0 16px rgba(14,165,196,.35);
}
.logo small{display:block;font-size:11px;font-weight:500;color:var(--text-lo);letter-spacing:2px}
.nav-links{display:flex;gap:4px;margin-left:8px}
.nav-links a{padding:8px 14px;border-radius:9px;color:var(--text-mid);font-size:14px;font-weight:500;transition:.15s}
.nav-links a:hover{color:var(--text-hi);background:var(--surface-1)}
.nav-links a.active{color:var(--accent);background:var(--accent-soft);font-weight:600}
.nav-right{margin-left:auto;display:flex;align-items:center;gap:12px}
.theme-btn{
  width:38px;height:38px;border-radius:10px;border:1px solid var(--border);background:var(--surface-1);
  color:var(--text-mid);cursor:pointer;font-size:16px;transition:.15s
}
.theme-btn:hover{color:var(--text-hi);border-color:var(--border-strong)}
@media(max-width:860px){.nav-links{display:none}}

/* ---------- Page hero (inner pages) ---------- */
.page-hero{padding:46px 0 26px;border-bottom:1px solid var(--border);margin-bottom:34px}
.page-hero .kicker{color:var(--accent);font-weight:600;letter-spacing:3px;font-size:12px}
.page-hero h1{font-size:32px;margin:10px 0 8px;font-weight:800}
.page-hero p{color:var(--text-mid);font-size:15px;max-width:760px}
.breadcrumb{font-size:13px;color:var(--text-lo);margin-bottom:10px}
.breadcrumb a:hover{color:var(--accent)}

/* ---------- Split Hero (home) ---------- */
.hero{position:relative;padding:48px 0 30px;overflow:hidden}
.split{
  display:grid;grid-template-columns:1fr 64px 1fr;align-items:stretch;
  border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;background:var(--surface-1);
}
.half{padding:34px 30px;position:relative}
.half.left{background:linear-gradient(135deg, rgba(14,165,196,.10), transparent 70%)}
.half.right{background:linear-gradient(225deg, rgba(229,72,77,.10), transparent 70%)}
.half .tag{font-size:12px;letter-spacing:2px;font-weight:600;text-transform:uppercase}
.half.left .tag{color:var(--glow)} .half.right .tag{color:var(--diverge)}
.half h3{font-size:22px;margin:10px 0 8px;font-weight:700}
.half p{font-size:14px;color:var(--text-mid)}
.divider{position:relative;display:grid;place-items:center;background:var(--bg-void)}
.divider::before{content:"";position:absolute;top:0;bottom:0;width:2px;
  background:linear-gradient(var(--glow),var(--accent),var(--diverge));box-shadow:0 0 14px rgba(14,165,196,.4)}
.divider .zero{
  width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:var(--bg-base);
  border:2px solid var(--glow);color:var(--glow);font-weight:800;font-size:22px;font-family:var(--mono);
  box-shadow:0 0 20px rgba(14,165,196,.5);z-index:1
}
.hero-head{text-align:center;max-width:760px;margin:0 auto 28px}
.hero-head .kicker{color:var(--accent);font-weight:600;letter-spacing:3px;font-size:13px}
.hero-head h1{font-size:34px;line-height:1.25;margin:12px 0;font-weight:800}
.hero-head h1 em{font-style:normal;color:var(--glow)}
.hero-head p{color:var(--text-mid);font-size:15px}
@media(max-width:768px){
  .split{grid-template-columns:1fr}
  .divider{height:54px}
  .divider::before{left:0;right:0;top:50%;bottom:auto;width:auto;height:2px;background:linear-gradient(90deg,var(--glow),var(--accent),var(--diverge))}
  .hero-head h1{font-size:26px}
}

/* ---------- Stats ---------- */
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:28px 0}
.stat{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius-sm);padding:20px}
.stat .num{font-family:var(--mono);font-size:27px;font-weight:700;color:var(--text-hi)}
.stat .num.up{color:var(--positive)} .stat .num.warn{color:var(--diverge)}
.stat .lbl{font-size:13px;color:var(--text-mid);margin-top:4px}
@media(max-width:768px){.stats{grid-template-columns:repeat(2,1fr)}}

/* ---------- Section ---------- */
.section{margin:44px 0}
.section-head{display:flex;align-items:baseline;gap:12px;margin-bottom:18px;flex-wrap:wrap}
.section-head h2{font-size:20px;font-weight:700}
.section-head .sub{color:var(--text-lo);font-size:13px}

/* ---------- Featured ---------- */
.featured{
  display:grid;grid-template-columns:1.4fr 1fr;gap:0;border:1px solid var(--border);
  border-radius:var(--radius);overflow:hidden;background:var(--surface-1);transition:.2s;cursor:pointer
}
.featured:hover{transform:translateY(-3px);box-shadow:var(--shadow-md);border-color:var(--border-strong)}
.featured .fbody{padding:28px}
.featured .ftag{align-self:start;display:inline-block;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:600;background:var(--accent-soft);color:var(--accent)}
.featured h3{font-size:23px;margin:14px 0 10px;font-weight:800;line-height:1.3}
.featured p{color:var(--text-mid);font-size:14px}
.featured .meta{margin-top:16px;font-size:12px;color:var(--text-lo);font-family:var(--mono)}
.featured .fside{background:
  radial-gradient(circle at 30% 30%, rgba(14,165,196,.22), transparent 60%),
  radial-gradient(circle at 70% 70%, rgba(229,72,77,.18), transparent 60%), var(--bg-void);
  display:grid;place-items:center;min-height:200px}
.featured .fside .orb{width:120px;height:120px;border-radius:50%;border:2px solid var(--glow);
  display:grid;place-items:center;font-family:var(--mono);font-size:46px;color:var(--glow);
  box-shadow:0 0 38px rgba(14,165,196,.4);animation:pulse 4s ease-in-out infinite}
@keyframes pulse{0%,100%{transform:scale(1);opacity:.9}50%{transform:scale(1.05);opacity:1}}
@media(max-width:768px){.featured{grid-template-columns:1fr}.featured .fside{order:-1;min-height:140px}}

/* ---------- Filter ---------- */
.filterbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:18px}
.pill{padding:7px 14px;border-radius:999px;border:1px solid var(--border);background:var(--surface-1);
  color:var(--text-mid);font-size:13px;font-weight:500;cursor:pointer;transition:.15s}
.pill:hover{color:var(--text-hi)}
.pill.active{background:var(--accent);border-color:var(--accent);color:#fff}
.search{margin-left:auto;display:flex;align-items:center;gap:8px;background:var(--surface-1);
  border:1px solid var(--border);border-radius:999px;padding:8px 14px;min-width:220px}
.search input{background:transparent;border:none;outline:none;color:var(--text-hi);font-size:14px;width:100%}
.search input::placeholder{color:var(--text-lo)}
@media(max-width:768px){.search{margin-left:0;width:100%}}

/* ---------- Feed / Card ---------- */
.feed{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
@media(max-width:1024px){.feed{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.feed{grid-template-columns:1fr}}
.card{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius);padding:20px;
  transition:.2s;cursor:pointer;display:flex;flex-direction:column}
.card:hover{transform:translateY(-3px);box-shadow:var(--shadow-md);border-color:var(--border-strong)}
.card .ctop{display:flex;align-items:center;gap:8px;margin-bottom:12px}
.cat{font-size:11px;font-weight:700;letter-spacing:1px;padding:3px 9px;border-radius:6px}
.cat.观点{background:rgba(34,124,255,.14);color:#2b6fff}
.cat.论文{background:rgba(14,165,196,.16);color:var(--glow)}
.cat.政策{background:rgba(229,72,77,.14);color:var(--diverge)}
.cat.数据{background:rgba(20,154,91,.16);color:var(--positive)}
.cat.产业{background:rgba(138,149,165,.16);color:var(--text-mid)}
.cat.访谈{background:rgba(224,180,90,.18);color:#b07d1f}
.card h3{font-size:16px;font-weight:700;line-height:1.4;margin-bottom:8px}
.card p{font-size:13px;color:var(--text-mid);flex:1}
.card .meta{margin-top:14px;font-size:12px;color:var(--text-lo);font-family:var(--mono);display:flex;justify-content:space-between}
.empty{grid-column:1/-1;text-align:center;color:var(--text-lo);padding:40px;border:1px dashed var(--border);border-radius:var(--radius)}

/* ---------- Pager ---------- */
.pager{display:flex;justify-content:center;align-items:center;gap:8px;margin:34px 0 6px;flex-wrap:wrap}
.pager .pg{padding:9px 15px;border:1px solid var(--border);background:var(--surface-1);color:var(--text-mid);
  border-radius:10px;cursor:pointer;font-size:14px;font-family:var(--sans);transition:.18s;min-width:42px}
.pager .pg:hover:not(.disabled):not(.active){border-color:var(--accent);color:var(--accent)}
.pager .pg.active{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:600}
.pager .pg.disabled{opacity:.4;cursor:not-allowed}
@media(max-width:480px){.pager .pg{padding:8px 11px;font-size:13px;min-width:36px}}

/* ---------- Concept band / blocks ---------- */
.concept{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-1);padding:30px;
  display:grid;grid-template-columns:auto 1fr;gap:22px;align-items:center}
.concept .badge{width:70px;height:70px;border-radius:18px;display:grid;place-items:center;font-family:var(--mono);
  font-size:32px;color:var(--glow);border:2px solid var(--glow);box-shadow:0 0 22px rgba(14,165,196,.35)}
.concept h3{font-size:20px;margin-bottom:8px}
.concept p{color:var(--text-mid);font-size:14px}
@media(max-width:640px){.concept{grid-template-columns:1fr;text-align:center}}

.prose{max-width:820px}
.prose h2{font-size:22px;margin:30px 0 12px;font-weight:700}
.prose h3{font-size:17px;margin:22px 0 8px;font-weight:700;color:var(--text-hi)}
.prose p{color:var(--text-mid);font-size:15px;margin-bottom:14px}
.prose ul{color:var(--text-mid);font-size:15px;margin:0 0 14px 20px}
.prose ul li{margin-bottom:8px}
.prose .lead{font-size:16px;color:var(--text-hi)}
.callout{border-left:3px solid var(--accent);background:var(--accent-soft);padding:14px 18px;border-radius:0 var(--radius-sm) var(--radius-sm) 0;color:var(--text-mid);font-size:14px;margin:16px 0}

/* timeline */
.timeline{position:relative;margin:20px 0 0 8px;padding-left:24px;border-left:2px solid var(--border)}
.timeline .item{position:relative;margin-bottom:22px}
.timeline .item::before{content:"";position:absolute;left:-31px;top:4px;width:12px;height:12px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}
.timeline .date{font-family:var(--mono);font-size:12px;color:var(--accent);font-weight:600}
.timeline .item h4{font-size:15px;margin:2px 0 4px}
.timeline .item p{font-size:14px;color:var(--text-mid)}

/* ---------- Data charts ---------- */
.chart{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius);padding:24px;margin-bottom:18px}
.chart h3{font-size:16px;margin-bottom:4px}
.chart .note{font-size:12px;color:var(--text-lo);margin-bottom:18px}
.bar{display:grid;grid-template-columns:160px 1fr;align-items:center;gap:14px;margin-bottom:14px}
.bar .blabel{font-size:13px;color:var(--text-mid);text-align:right}
.bar .track{background:var(--bg-void);border-radius:999px;height:26px;position:relative;overflow:hidden}
.bar .fill{height:100%;border-radius:999px;background:linear-gradient(90deg,var(--accent),var(--glow));display:flex;align-items:center;justify-content:flex-end;padding-right:10px;color:#fff;font-size:12px;font-family:var(--mono);font-weight:600}
.bar .fill.warn{background:linear-gradient(90deg,var(--diverge),#f08a8a)}
.bar .fill.pos{background:linear-gradient(90deg,var(--positive),#5fe0a8)}
@media(max-width:640px){.bar{grid-template-columns:110px 1fr}.bar .blabel{font-size:12px}}

/* ---------- Brief list ---------- */
.brief{display:flex;flex-direction:column;gap:14px}
.brief .row{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius);padding:22px;display:grid;grid-template-columns:120px 1fr;gap:18px;transition:.2s;cursor:pointer}
.brief .row:hover{border-color:var(--border-strong);box-shadow:var(--shadow-sm)}
.brief .bdate{font-family:var(--mono);font-size:13px;color:var(--accent);font-weight:600}
.brief .bissue{font-size:12px;color:var(--text-lo)}
.brief h3{font-size:17px;margin-bottom:6px}
.brief p{font-size:14px;color:var(--text-mid)}
@media(max-width:640px){.brief .row{grid-template-columns:1fr;gap:6px}}

/* ---------- Article detail ---------- */
.article{max-width:820px;margin:0 auto}
.article .ahead{margin-bottom:24px}
.article .ahead .cat{margin-bottom:14px;display:inline-block}
.article h1{font-size:30px;line-height:1.3;font-weight:800;margin-bottom:14px}
.article .ameta{font-family:var(--mono);font-size:13px;color:var(--text-lo);display:flex;gap:18px;flex-wrap:wrap;border-bottom:1px solid var(--border);padding-bottom:18px}
.article .body p{color:var(--text-mid);font-size:16px;margin-bottom:16px;line-height:1.8}
.article .body h3{font-size:18px;margin:26px 0 10px;font-weight:700}
.article .keypoints{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius);padding:20px 22px;margin:22px 0}
.article .keypoints h4{font-size:14px;color:var(--accent);margin-bottom:10px;letter-spacing:1px}
.article .keypoints ul{margin-left:18px;color:var(--text-mid);font-size:14px}
.article .keypoints li{margin-bottom:6px}
.article .tags{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0}
.article .tags .t{font-size:12px;padding:5px 12px;border-radius:999px;background:var(--surface-1);border:1px solid var(--border);color:var(--text-mid)}
.backlink{display:inline-flex;align-items:center;gap:6px;color:var(--accent);font-size:14px;font-weight:600;margin-bottom:18px}

/* ---------- Footer ---------- */
footer{border-top:1px solid var(--border);margin-top:60px;padding:30px 0;color:var(--text-lo);font-size:13px}
.foot-grid{display:flex;flex-wrap:wrap;gap:22px;justify-content:space-between;align-items:flex-start}
.foot-grid .col h4{color:var(--text-mid);font-size:13px;margin-bottom:10px;font-weight:600}
.foot-grid .col a{display:block;color:var(--text-lo);margin-bottom:7px;font-size:13px}
.foot-grid .col a:hover{color:var(--accent)}
.foot-bottom{margin-top:24px;padding-top:18px;border-top:1px solid var(--border);display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;align-items:center}
.foot-bottom .copy{color:var(--text-mid);font-size:13px}
.foot-bottom a.beian{color:var(--text-lo);font-family:var(--mono);font-size:13px}
.foot-bottom a.beian:hover{color:var(--accent)}
