/* ══════════════════════════════════════════════════════════════
   果核 Pulse · 液态玻璃设计系统
   苹果灰白底 + 统一白色表面 + 发丝分隔线，玻璃只在图层重叠处点到为止。
   移动优先，无框架，纯 CSS。
   ══════════════════════════════════════════════════════════════ */

:root {
  /* 中性 */
  --bg: #f5f5f7;
  --surface: #ffffff;
  --hover: #fbfbfd;
  --text: #1d1d1f;
  --text-body: #424245;
  --text-2: #6e6e73;
  --text-3: #86868b;
  --text-4: #aeaeb2;
  --faint: #d2d2d7;
  --hairline: rgba(0, 0, 0, 0.07);
  /* 强调 */
  --accent: #0071e3;
  --accent-link: #0066cc;
  --indigo: #5e5ce6;
  --x-blue: #1d9bf0;
  --heat: #ff6b00;
  --heat-bg: rgba(255, 107, 0, 0.1);
  --live: #30d158;
  /* 渐变 */
  --grad-blue: linear-gradient(135deg, #0a84ff 0%, #5e5ce6 100%);
  --grad-warm: linear-gradient(135deg, #ff9f0a 0%, #ff375f 100%);
  --grad-green: linear-gradient(135deg, #30d158 0%, #0a84ff 100%);
  --grad-cta: linear-gradient(135deg, #0071e3 0%, #5e5ce6 100%);
  --grad-tri: linear-gradient(135deg, #0a84ff 0%, #5e5ce6 55%, #ff375f 130%);
  /* 字体 */
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;
  /* 圆角 */
  --r-pill: 999px;
  --r-chip: 6px;
  --r-thumb: 12px;
  --r-card: 18px;
  --r-panel: 22px;
  --r-hero: 26px;
  /* 阴影 */
  --sh-card: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.05);
  --sh-panel: 0 1px 3px rgba(0, 0, 0, 0.05), 0 14px 40px rgba(0, 0, 0, 0.05);
  --sh-lift: 0 12px 32px rgba(0, 0, 0, 0.1);
  --sh-cta: 0 20px 54px rgba(0, 113, 227, 0.24);
  /* 容器 */
  --w-read: 720px;
  --w-wide: 1080px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
::selection { background: rgba(0, 113, 227, 0.18); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { letter-spacing: -0.01em; font-weight: 700; }
.tabular { font-variant-numeric: tabular-nums; }

/* ── 容器 ── */
.article-list, .cover-story, .home-search-section,
.stats, .topic-header, .topic-detail, .pagination,
.article-page, .agents-page, .content-area {
  max-width: var(--w-read);
  margin-left: auto;
  margin-right: auto;
  padding-left: 22px;
  padding-right: 22px;
}

/* ════ 吸顶玻璃导航栏 ════ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 245, 247, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
}
.site-nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-brand { display: flex; align-items: center; gap: 9px; min-width: 0; }
.nav-brand .brand-logo { width: 24px; height: 24px; border-radius: 6px; display: block; flex-shrink: 0; }
.nav-brand .name { font-size: 16px; font-weight: 650; letter-spacing: -0.01em; color: var(--text); white-space: nowrap; }
.nav-brand .tagline {
  font-size: 12px; color: var(--text-3);
  border-left: 1px solid rgba(0, 0, 0, 0.14);
  padding-left: 11px; margin-left: 2px; white-space: nowrap;
}
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-date { font-size: 12.5px; color: var(--text-2); white-space: nowrap; }
.nav-pill {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 15px;
  border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.08); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  font-size: 13px; color: var(--text); font-weight: 550;
}
.nav-pill:hover { background: #fff; }
.nav-back-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13.5px; color: var(--text-2); font-weight: 550;
}
.nav-back-link:hover { color: var(--text); }

/* 旧 .nav-back 兼容（详情页内联返回，已被 .site-nav 取代但保留样式） */
nav:has(.nav-back) { max-width: var(--w-read); margin: 0 auto; }
.nav-back {
  display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 1rem 22px; color: var(--accent); font-size: 0.875rem;
}

/* ════ 页面 Hero ════ */
.page-hero { padding: clamp(30px, 6vw, 58px) 22px clamp(22px, 4vw, 34px); max-width: var(--w-read); margin: 0 auto; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--text-3);
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); animation: cpPulse 2.2s infinite; }
.page-hero h1 {
  margin-top: 15px; font-size: clamp(30px, 6vw, 46px); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.08; color: var(--text);
}
.page-hero .hero-sub {
  margin-top: 15px; font-size: clamp(15px, 2.5vw, 18px); color: var(--text-2);
  line-height: 1.55; max-width: 540px;
}
.hero-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero-stat {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text);
  background: var(--surface); border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); padding: 6px 13px; border-radius: var(--r-pill); font-weight: 550;
}
.hero-stat strong { color: var(--accent); font-weight: 650; font-variant-numeric: tabular-nums; }

/* 旧 .site-header / .stats（归档等历史页仍用） */
.site-header { text-align: center; padding: clamp(28px, 5vw, 44px) 22px 1.25rem; }
.site-header h1 { font-size: clamp(24px, 5vw, 34px); font-weight: 700; letter-spacing: -0.02em; }
.site-header h1 a { color: inherit; }
.site-header .slogan { color: var(--text-2); font-size: 0.95rem; margin-top: 0.4rem; }
.site-header .date { color: var(--text-3); font-size: 0.8rem; margin-top: 0.3rem; }
.stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 0 auto 1.5rem; max-width: var(--w-read); }
.stat-item {
  font-size: 13px; color: var(--text-2); background: var(--surface);
  border: 1px solid var(--hairline); box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  padding: 6px 14px; border-radius: var(--r-pill);
}
.stat-num { color: var(--accent); font-weight: 650; font-variant-numeric: tabular-nums; }

/* ════ 区块标题 ════ */
.section-title {
  max-width: var(--w-read); margin: 0 auto; padding: clamp(34px, 6vw, 52px) 22px 0;
  font-size: clamp(20px, 3.4vw, 26px); font-weight: 700; letter-spacing: -0.02em; color: var(--text);
}
.section-desc {
  max-width: var(--w-read); margin: 5px auto 0; padding: 0 22px;
  font-size: 13.5px; color: var(--text-3);
}

/* ════ 胶囊分段控件（赛道筛选） ════ */
.lane-nav-wrapper { position: relative; max-width: var(--w-read); margin: 18px auto 20px; padding: 0 22px; }
.lane-nav {
  display: flex; gap: 3px; background: rgba(0, 0, 0, 0.05); border-radius: var(--r-pill);
  padding: 4px; overflow-x: auto; max-width: max-content;
  scrollbar-width: none;
}
.lane-nav::-webkit-scrollbar { display: none; }
.tab-radio { position: absolute; opacity: 0; pointer-events: none; }
.lane-anchor {
  display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
  font-size: 14px; font-weight: 500; padding: 8px 17px; border-radius: var(--r-pill);
  color: var(--text-2); background: transparent; white-space: nowrap;
  transition: all 0.25s var(--ease);
}
.lane-anchor:hover { color: var(--text); }
.tab-radio:checked + .lane-anchor {
  background: var(--text); color: #fff; font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.lane-count { font-size: 11px; color: var(--text-4); }
.tab-radio:checked + .lane-anchor .lane-count { color: rgba(255, 255, 255, 0.6); }
.signal-toggle-all {
  border: none; cursor: pointer; background: transparent; color: var(--text-3);
  font-size: 12.5px; font-weight: 550; padding: 8px 6px; margin-left: 4px; white-space: nowrap;
}
.signal-toggle-all:hover { color: var(--accent); }

/* ════ 信号雷达：head（标题 + 布局切换）+ 赛道筛选 + 列表舞台 ════ */
.signal-radar { width: 100%; }
.signal-radar-head, .lane-filter-wrap, .signal-stage {
  max-width: var(--w-read); margin-left: auto; margin-right: auto;
  padding-left: 22px; padding-right: 22px; transition: max-width 0.35s var(--ease);
}
.radar-wide .signal-radar-head, .radar-wide .lane-filter-wrap, .radar-wide .signal-stage { max-width: var(--w-wide); }
.signal-radar-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: clamp(34px, 6vw, 52px);
}
.radar-title { font-size: clamp(20px, 3.4vw, 26px); font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.radar-desc { font-size: 13.5px; color: var(--text-3); margin-top: 5px; }
/* 布局切换：白胶囊分段控件 */
.layout-switch { display: flex; align-items: center; gap: 9px; }
.layout-label { font-size: 12px; color: var(--text-3); }
.seg-track { display: inline-flex; background: rgba(0,0,0,0.05); border-radius: var(--r-pill); padding: 3px; gap: 2px; }
.seg-pill {
  border: none; cursor: pointer; font-family: var(--font); font-size: 12.5px; font-weight: 500;
  padding: 6px 13px; border-radius: var(--r-pill); background: transparent; color: var(--text-2);
  white-space: nowrap; transition: all 0.2s ease;
}
.seg-pill.active { background: #fff; color: var(--text); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,0.12); }
/* 赛道筛选：黑胶囊分段控件 */
.lane-filter-wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px auto 20px; flex-wrap: wrap; }
.lane-filter {
  display: inline-flex; gap: 3px; background: rgba(0,0,0,0.05); border-radius: var(--r-pill);
  padding: 4px; max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.lane-filter::-webkit-scrollbar { display: none; }
.lane-pill {
  display: inline-flex; align-items: center; gap: 5px; cursor: pointer; border: none; font-family: var(--font);
  font-size: 14px; font-weight: 500; padding: 8px 17px; border-radius: var(--r-pill); color: var(--text-2);
  background: transparent; white-space: nowrap; transition: all 0.25s var(--ease);
}
.lane-pill:hover { color: var(--text); }
.lane-pill.active { background: var(--text); color: #fff; font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.16); }
.lane-pill .lane-count { font-size: 11px; color: var(--text-4); }
.lane-pill.active .lane-count { color: rgba(255,255,255,0.6); }

/* ── 列表舞台：三种布局 ── */
.signal-stage { animation: cpFade 0.4s ease; }
/* 统一列表：一块白面板 + 发丝线 */
.layout-unified .signal-list { background: var(--surface); border-radius: var(--r-panel); box-shadow: var(--sh-panel); overflow: hidden; }
.layout-unified .signal-card + .signal-card { border-top: 1px solid var(--hairline); }
/* 网格：卡片瀑布，最热占满整行 */
.layout-grid .signal-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.layout-grid .signal-card { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--sh-card); }
.layout-grid .signal-card:first-child { grid-column: 1 / -1; }
.layout-grid .signal-card:hover { transform: translateY(-3px); box-shadow: var(--sh-lift); }
/* 焦点流：白面板 + 首条放大 */
.layout-focus .signal-list { background: var(--surface); border-radius: var(--r-panel); box-shadow: var(--sh-panel); overflow: hidden; }
.layout-focus .signal-card + .signal-card { border-top: 1px solid var(--hairline); }
.layout-focus .signal-card:first-child .signal-topic { font-size: clamp(21px, 4vw, 30px); line-height: 1.25; letter-spacing: -0.025em; }
.layout-focus .signal-card:first-child .signal-head { padding-top: 24px; padding-bottom: 20px; }
.layout-focus .signal-card:first-child .signal-context { font-size: 15px; }

/* 每条信号 = 行/卡通用内部（行间分隔线由布局类提供，避免网格态多余线） */
.signal-card { background: transparent; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.signal-head {
  display: flex; align-items: flex-start; gap: 12px; cursor: pointer; list-style: none;
  padding: 18px clamp(17px, 3vw, 24px); transition: background 0.15s;
}
.signal-head::-webkit-details-marker { display: none; }
.layout-unified .signal-card:hover, .layout-focus .signal-card:hover { background: var(--hover); }
.signal-head-main { flex: 1; min-width: 0; }
.story-label { font-size: 11.5px; color: var(--heat); font-weight: 650; margin-bottom: 6px; }
.signal-topic {
  font-size: clamp(15.5px, 2.4vw, 17px); font-weight: 600; line-height: 1.45;
  letter-spacing: -0.01em; color: var(--text);
}
.signal-header-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 9px; }
.signal-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.signal-metrics { display: flex; gap: 11px; align-items: center; color: var(--text-4); font-size: 12px; }
.metric { display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.metric-icon { width: 13px; height: 13px; opacity: 0.7; }
.signal-chevron { flex-shrink: 0; color: var(--faint); transition: transform 0.25s var(--ease); margin-top: 2px; }
.signal-detail[open] .signal-chevron { transform: rotate(180deg); }
.signal-body { overflow: hidden; }
.signal-body-inner { padding: 0 clamp(17px, 3vw, 24px) 18px; }
.signal-context { font-size: 14px; color: var(--text-2); line-height: 1.7; margin-bottom: 10px; }
.signal-fulltext { font-size: 14.5px; color: var(--text-body); line-height: 1.8; }
.signal-fulltext p { margin-bottom: 0.7em; }
.signal-fulltext p:last-child { margin-bottom: 0; }
.signal-x-link, .signal-readmore, .story-readmore {
  display: inline-block; margin-top: 12px; font-size: 13.5px; color: var(--accent); font-weight: 600;
}
.story-meta { margin-top: 8px; }
.story-voices { font-size: 12.5px; color: var(--text-3); }
.signal-detail:not([open]) .signal-body { display: none; }

/* ════ 标签 / 徽标 ════ */
.tag {
  display: inline-block; font-size: 11.5px; color: var(--text-2);
  background: rgba(0, 0, 0, 0.05); padding: 2px 9px; border-radius: var(--r-pill); font-weight: 500;
}
.x-badge {
  font-family: var(--mono); font-size: 10.5px; font-weight: 700; color: #fff;
  background: var(--x-blue); padding: 1.5px 6px; border-radius: var(--r-chip); letter-spacing: 0.02em;
}
.heat-badge {
  font-size: 11px; font-weight: 650; color: var(--heat); background: var(--heat-bg);
  padding: 2px 9px; border-radius: var(--r-pill);
}
.heat-badge.warm2 { color: var(--accent); background: rgba(0, 113, 227, 0.1); }
.time-badge {
  font-size: 11px; font-weight: 550; color: var(--text-3);
  background: rgba(0, 0, 0, 0.05); padding: 2px 9px; border-radius: var(--r-pill);
}
.thread-badge { font-size: 11px; color: var(--x-blue); font-weight: 550; }
.tutorial-badge {
  font-size: 11px; color: #fff; background: var(--live); font-weight: 600;
  padding: 1.5px 7px; border-radius: var(--r-pill);
}
.signal-page-label, .story-page-label {
  display: inline-block; font-size: 11.5px; font-weight: 650; letter-spacing: 0.06em;
  color: var(--accent); margin-bottom: 12px;
}
.story-page-label { color: var(--heat); }
.mention { color: var(--accent); }

/* ════ Cover Story（今日焦点 hero 卡） ════ */
.cover-story {
  background: var(--surface); border-radius: var(--r-hero); box-shadow: var(--sh-card);
  padding: clamp(22px, 4vw, 34px); margin-top: 8px; margin-bottom: 8px;
  border: 1px solid var(--hairline);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.cover-story:hover { transform: translateY(-2px); box-shadow: var(--sh-lift); }
.cover-label { font-size: 12px; font-weight: 650; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 12px; }
.cover-title {
  font-size: clamp(22px, 4.5vw, 30px); font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.25; color: var(--text); margin-bottom: 14px;
}
.cover-body p { font-size: clamp(15px, 2.4vw, 16px); color: var(--text-body); line-height: 1.75; margin-bottom: 0.7em; }
.cover-body p:last-child { margin-bottom: 0; }
.cover-readmore { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--accent); font-weight: 600; }
.cover-readmore::after { content: ' ›'; }

/* ════ AI 助理搜索卡 ════ */
.home-search-section { margin: 14px auto; }
.ai-assistant-card {
  background: var(--surface); border-radius: var(--r-card); box-shadow: var(--sh-card);
  border: 1px solid var(--hairline); padding: clamp(18px, 3vw, 24px);
}
.ai-assistant-header { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.ai-badge { font-size: 13px; font-weight: 650; color: var(--text); }
.ai-badge-desc { font-size: 12.5px; color: var(--text-3); }
.ai-search-wrap { display: flex; gap: 8px; }
.ai-search-input, .topic-search, .chat-input {
  flex: 1; width: 100%; font-family: var(--font); font-size: 15px; color: var(--text);
  background: var(--surface); border: 1px solid #d2d2d7; border-radius: var(--r-thumb);
  padding: 12px 15px; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); outline: none;
}
.ai-search-input:focus, .topic-search:focus, .chat-input:focus {
  border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.18);
}
.ai-search-btn {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  background: var(--accent); color: #fff; border: none; border-radius: var(--r-pill);
  padding: 0 18px; font-size: 14px; font-weight: 600; transition: background 0.2s var(--ease);
}
.ai-search-btn:hover { background: #0077ed; }
.ai-suggest-chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.chips-label { font-size: 12.5px; color: var(--text-3); }
.suggest-chip {
  cursor: pointer; border: 1px solid var(--hairline); background: var(--bg);
  color: var(--text); font-size: 12.5px; padding: 5px 13px; border-radius: var(--r-pill);
  font-family: var(--font); white-space: nowrap; max-width: 100%; overflow: hidden;
  text-overflow: ellipsis; transition: background 0.2s;
}
.suggest-chip:hover { background: var(--hover); border-color: var(--faint); }
.suggest-sep { color: var(--faint); }

/* ════ 深度阅读卡（左图右文） ════ */
.article-list { max-width: var(--w-read); margin: 0 auto; }
.article-card {
  display: flex; gap: 18px; align-items: center; background: var(--surface);
  border-radius: var(--r-card); padding: 14px; box-shadow: var(--sh-card);
  color: var(--text); margin-bottom: 14px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.article-card:hover { transform: translateY(-2px); box-shadow: var(--sh-lift); }
.article-card .art-thumb {
  flex-shrink: 0; width: 152px; height: 106px; border-radius: var(--r-thumb);
  background: var(--grad-blue); position: relative; overflow: hidden;
  display: flex; align-items: flex-end; padding: 10px;
}
.article-card .art-thumb::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.08) 0, rgba(255,255,255,0.08) 1px, transparent 1px, transparent 9px);
}
.article-card .art-thumb-img { background-size: cover; background-position: center; }
.article-card .art-thumb-img::before { display: none; }
.art-thumb .thumb-src {
  position: relative; font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,0.95);
  font-weight: 600; background: rgba(0,0,0,0.2); padding: 2.5px 8px; border-radius: var(--r-chip);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.article-card .art-main { flex: 1; min-width: 0; }
.article-card .headline {
  font-size: clamp(15.5px, 2.4vw, 17.5px); font-weight: 650; line-height: 1.4;
  letter-spacing: -0.01em; color: var(--text); margin: 0;
}
.article-card .oneliner {
  font-size: 13.5px; color: var(--text-2); line-height: 1.55; margin-top: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-card .meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; font-size: 12px; color: var(--text-4); }
.article-card .meta .source-name { color: var(--accent); font-weight: 550; }
.article-card .art-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.art-tags .tag { color: var(--accent-link); background: rgba(0, 113, 227, 0.08); }
.article-card.plain { display: block; }
.article-card.plain .headline { margin-bottom: 6px; }

/* ════ 时间线（深度解读分组） ════ */
.timeline { position: relative; margin-top: 18px; }
.timeline-group { margin-bottom: 10px; }
.timeline-header { display: flex; align-items: center; gap: 8px; margin: 18px 0 12px; }
.timeline-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.timeline-time { font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.timeline-count { font-size: 11.5px; color: var(--text-4); }
.timeline-articles { display: flex; flex-direction: column; gap: 14px; }

/* ════ 查看更多 / 分页 ════ */
.section-more { text-align: center; margin-top: 18px; }
.more-link {
  display: inline-block; padding: 10px 22px; font-size: 14px; font-weight: 600;
  color: var(--accent); background: rgba(0, 113, 227, 0.08); border-radius: var(--r-pill);
  transition: background 0.2s;
}
.more-link:hover { background: rgba(0, 113, 227, 0.14); }
.pagination { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 2rem auto; }
.pagination-link {
  display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px;
  padding: 0 16px; font-size: 14px; font-weight: 600; color: var(--accent);
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-pill);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.pagination-link:hover { background: var(--hover); }
.pagination-link.disabled { color: var(--faint); pointer-events: none; box-shadow: none; }
.pagination-link.home { background: rgba(0, 113, 227, 0.08); border: none; }

/* ════ 文章 / 信号 / 专题 详情页 ════ */
.article-page { max-width: var(--w-read); margin: 0 auto; padding: clamp(20px, 4vw, 40px) 22px clamp(40px, 6vw, 60px); }
.article-header { margin-bottom: clamp(20px, 4vw, 32px); }
.article-header h1, .article-header .headline {
  font-size: clamp(27px, 5vw, 42px); font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.15; color: var(--text);
}
.article-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; font-size: 13px; color: var(--text-3); }
.article-meta .source-name { color: var(--accent); font-weight: 550; }
.hero-image, .hero-grad {
  display: block; width: 100%; border-radius: var(--r-hero); margin-bottom: clamp(24px, 4vw, 36px);
}
.hero-grad {
  height: clamp(180px, 34vw, 280px); position: relative; overflow: hidden;
  display: flex; align-items: flex-end; padding: 18px;
}
.hero-grad::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.08) 0, rgba(255,255,255,0.08) 1px, transparent 1px, transparent 10px);
}
.hero-grad .thumb-src {
  position: relative; font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,0.95);
  font-weight: 600; background: rgba(0,0,0,0.22); padding: 4px 10px; border-radius: var(--r-chip);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
/* 正文与 hero 一体，直接落在页面背景上（不套白卡） */
.body { font-size: clamp(16px, 2.6vw, 18px); color: var(--text-body); line-height: 1.9; }
.body p { margin-bottom: 1.1em; text-wrap: pretty; }
.body p:last-child { margin-bottom: 0; }
.body h2 { font-size: clamp(20px, 3.4vw, 26px); font-weight: 700; letter-spacing: -0.02em; margin: 1.6em 0 0.6em; color: var(--text); }
.body h3 { font-size: clamp(17px, 2.8vw, 20px); font-weight: 650; letter-spacing: -0.015em; margin: 1.4em 0 0.5em; color: var(--text); }
.body h2:first-child, .body h3:first-child { margin-top: 0; }
.body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.body code { font-family: var(--mono); font-size: 0.88em; background: rgba(0,0,0,0.05); padding: 1px 5px; border-radius: 5px; }
.signal-translated-note { font-size: 12.5px; color: var(--text-4); margin-top: 16px; font-style: italic; }

.source-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: clamp(24px, 4vw, 32px);
  height: 44px; padding: 0 22px; background: var(--accent); color: #fff;
  border-radius: var(--r-pill); font-size: 15px; font-weight: 600; transition: background 0.2s;
}
.source-link:hover { background: #0077ed; }
.source-link svg { stroke: currentColor; }

.article-topics { margin-top: clamp(24px, 4vw, 32px); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.article-topics-label { font-size: 13px; color: var(--text-3); font-weight: 550; }
.topic-link {
  font-size: 13px; color: var(--accent-link); background: rgba(0, 113, 227, 0.08);
  padding: 5px 13px; border-radius: var(--r-pill); font-weight: 500;
}
.topic-link:hover { background: rgba(0, 113, 227, 0.14); }

.story-references { margin-top: clamp(24px, 4vw, 32px); }
.story-references h3 { font-size: 16px; font-weight: 650; margin-bottom: 10px; }
.story-references ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.story-references a { font-size: 14px; color: var(--accent); }
.paper-abstract { margin-top: 24px; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--sh-card); padding: 16px 20px; }
.paper-abstract summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--text-2); }
.paper-abstract p { margin-top: 12px; font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* 专题三色 hero */
.story-hero {
  position: relative; overflow: hidden; background: var(--grad-tri);
  padding: clamp(40px, 7vw, 72px) 22px clamp(28px, 5vw, 44px); color: #fff; margin-bottom: clamp(24px, 4vw, 36px);
}
.story-hero-inner { max-width: var(--w-read); margin: 0 auto; position: relative; z-index: 1; }
.story-hero h1 { font-size: clamp(30px, 6.5vw, 52px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; color: #fff; }
.story-hero .glass-tag {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 650; letter-spacing: 0.1em;
  background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 5px 13px; border-radius: var(--r-pill); margin-bottom: 16px; color: #fff;
}

/* ════ 主题 / 话题 ════ */
.topic-header { text-align: left; padding-top: clamp(30px, 6vw, 58px); }
.topic-header .eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--text-3); }
.topic-title { font-size: clamp(27px, 5vw, 42px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin-top: 10px; }
.topic-count { font-size: 14px; color: var(--text-3); margin-top: 12px; }
.topic-search-wrap { max-width: var(--w-read); margin: 20px auto 0; padding: 0 22px; }
.topic-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px;
  margin: 24px auto; max-width: var(--w-wide); padding: 0 22px;
}
.topic-card {
  background: var(--surface); border-radius: var(--r-card); box-shadow: var(--sh-card);
  border: 1px solid var(--hairline); padding: 20px; color: var(--text);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  display: flex; flex-direction: column; gap: 10px;
}
.topic-card:hover { transform: translateY(-3px); box-shadow: var(--sh-lift); }
.topic-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.topic-card-name { font-size: 16px; font-weight: 650; letter-spacing: -0.01em; color: var(--text); }
.topic-card-count {
  font-size: 12px; font-weight: 650; color: #fff; background: var(--accent);
  padding: 2px 10px; border-radius: var(--r-pill); font-variant-numeric: tabular-nums;
}
.topic-card-sample { font-size: 13.5px; color: var(--text-2); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.topic-card-break { font-size: 12px; color: var(--text-4); }
.topic-detail { padding-top: clamp(20px, 4vw, 32px); }

/* ════ 问 AI 对话页 ════ */
.chat-container { display: flex; flex-direction: column; max-width: var(--w-read); margin: 0 auto; width: 100%; padding: 0 22px; min-height: 60vh; }
.chat-toolbar { display: flex; justify-content: flex-end; padding: 12px 0 0; }
.chat-clear-btn { cursor: pointer; border: 1px solid var(--hairline); background: var(--surface); color: var(--text-2); font-size: 12.5px; padding: 6px 13px; border-radius: var(--r-pill); }
.chat-clear-btn:hover { background: var(--hover); }
.chat-messages { flex: 1; padding: 16px 0; display: flex; flex-direction: column; gap: 16px; }
.chat-welcome { text-align: center; padding: clamp(30px, 8vw, 70px) 0; }
.chat-welcome-icon {
  width: 64px; height: 64px; border-radius: var(--r-card); background: var(--grad-blue);
  display: flex; align-items: center; justify-content: center; font-size: 30px; margin: 0 auto 18px;
}
.chat-welcome p { font-size: clamp(16px, 3vw, 19px); color: var(--text-2); margin-bottom: 22px; }
.chat-suggestions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chat-suggest-btn {
  cursor: pointer; background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--sh-card);
  color: var(--text); font-size: 14px; font-family: var(--font); padding: 11px 18px; border-radius: var(--r-pill);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.chat-suggest-btn::before { content: '✦ '; color: var(--accent); }
.chat-suggest-btn:hover { transform: translateY(-2px); box-shadow: var(--sh-lift); }
.chat-msg { display: flex; }
.chat-user { justify-content: flex-end; }
.chat-user .chat-bubble { background: var(--accent); color: #fff; border-radius: 20px 20px 5px 20px; max-width: 85%; }
.chat-ai .chat-bubble { background: var(--surface); border-radius: 5px 20px 20px 20px; box-shadow: var(--sh-card); max-width: 92%; }
.chat-bubble { padding: 14px 18px; font-size: 15px; line-height: 1.7; }
.ai-thinking { display: flex; align-items: center; gap: 4px; color: var(--text-3); font-size: 14px; }
.ai-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-4); animation: cpBounce 1.2s infinite; }
.ai-dot:nth-child(2) { animation-delay: 0.2s; }
.ai-dot:nth-child(3) { animation-delay: 0.4s; }
.ai-answer { color: var(--text-body); }
.ai-ref-link, .ai-ref { color: var(--accent); font-size: 0.85em; }
.ai-sources { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--hairline); }
.ai-sources-label { font-size: 12px; color: var(--text-3); margin-bottom: 8px; }
.ai-source-list { display: flex; flex-direction: column; gap: 6px; }
.ai-source-link { font-size: 13.5px; color: var(--accent); }
.ai-error { color: #ff375f; font-size: 14px; }
.chat-input-area { padding: 12px 0 18px; position: sticky; bottom: 0; background: linear-gradient(to top, var(--bg) 70%, transparent); }
.chat-input-wrap {
  display: flex; align-items: flex-end; gap: 8px; background: var(--surface);
  border: 1px solid #d2d2d7; border-radius: 24px; padding: 6px 6px 6px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.chat-input-wrap:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0,113,227,0.18); }
.chat-input { flex: 1; border: none; background: transparent; box-shadow: none; padding: 9px 0; resize: none; max-height: 120px; border-radius: 0; }
.chat-input:focus { box-shadow: none; }
.chat-send-btn {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.chat-send-btn:hover { background: #0077ed; }

/* ════ 问答归档 / Agents 等内容页 ════ */
.content-area { padding-top: clamp(20px, 4vw, 32px); padding-bottom: clamp(40px, 6vw, 60px); }
.qa-index-list { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.qa-article {
  display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border-radius: var(--r-card);
  box-shadow: var(--sh-card); border: 1px solid var(--hairline); padding: 18px; color: var(--text);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.qa-article:hover { transform: translateY(-2px); box-shadow: var(--sh-lift); }
.qa-badge { flex-shrink: 0; width: 34px; height: 34px; border-radius: var(--r-thumb); background: var(--grad-blue); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.qa-body h2, .qa-body h3 { font-size: 16px; font-weight: 650; line-height: 1.4; }
.qa-sources { font-size: 12.5px; color: var(--text-4); margin-top: 6px; }
.qa-cta {
  display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 22px;
  background: var(--accent); color: #fff; border-radius: var(--r-pill); font-size: 15px; font-weight: 600;
}
.breadcrumb { max-width: var(--w-read); margin: 0 auto; padding: 1rem 22px 0; font-size: 13px; color: var(--text-3); }
.breadcrumb a { color: var(--accent); }

/* Agents / Skills 页 */
.agents-page { padding-top: clamp(20px, 4vw, 32px); padding-bottom: clamp(40px, 6vw, 60px); }
.agents-header { margin-bottom: 24px; }
.agents-header h1 { font-size: clamp(27px, 5vw, 40px); font-weight: 700; letter-spacing: -0.03em; }
.skill-card {
  background: var(--surface); border-radius: var(--r-card); box-shadow: var(--sh-card);
  border: 1px solid var(--hairline); padding: clamp(18px, 3vw, 26px); margin-bottom: 16px;
}
.skill-card-highlight { border-color: rgba(0, 113, 227, 0.25); }
.skill-card-info { background: var(--hover); }
.skill-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.skill-icon { font-size: 26px; }
.skill-desc { font-size: 13.5px; color: var(--text-2); }
.skill-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 12px 0; }
.skill-tag { font-size: 11px; font-weight: 650; color: var(--accent-link); background: rgba(0,113,227,0.08); padding: 2px 10px; border-radius: var(--r-pill); }
.skill-full-desc, .skill-note, .skill-install-note { font-size: 13px; color: var(--text-2); line-height: 1.6; }
.skill-prompt { margin-top: 14px; }
.skill-prompt-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; font-size: 12.5px; color: var(--text-3); }
.skill-try { margin-top: 16px; }
.skill-full-actions { font-size: 13px; color: var(--text-2); margin: 10px 0; }

/* 代码块 + 复制按钮 */
.code-block {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #1d1d1f; border-radius: var(--r-thumb); padding: 12px 14px; margin-top: 8px; overflow-x: auto;
}
.code-block code, .code-block pre { font-family: var(--mono); font-size: 13px; color: #e8e8ed; white-space: pre-wrap; word-break: break-all; }
.copy-btn {
  flex-shrink: 0; cursor: pointer; border: none; background: rgba(255,255,255,0.14); color: #fff;
  font-size: 12px; font-weight: 600; padding: 6px 13px; border-radius: var(--r-pill); transition: background 0.2s;
}
.copy-btn:hover { background: rgba(255,255,255,0.24); }
.copy-btn.copied { background: var(--live); }
.agent-prompt { background: var(--surface); border: 1px solid var(--hairline); }
.agent-prompt pre { color: var(--text-body); }

/* ════ 彩色 CTA ════ */
.cta-block { max-width: var(--w-read); margin: clamp(38px, 6vw, 56px) auto 0; padding: 0 22px; }
.cta-inner {
  position: relative; overflow: hidden; border-radius: var(--r-hero);
  padding: clamp(28px, 5vw, 44px); background: var(--grad-cta); box-shadow: var(--sh-cta);
}
.cta-inner::before, .cta-inner::after { content: ''; position: absolute; border-radius: 50%; }
.cta-inner::before { width: 280px; height: 280px; background: rgba(255,255,255,0.18); filter: blur(46px); top: -90px; right: -50px; }
.cta-inner::after { width: 220px; height: 220px; background: rgba(120,80,255,0.45); filter: blur(50px); bottom: -100px; left: 10%; }
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-size: clamp(21px, 4vw, 29px); font-weight: 700; color: #fff; letter-spacing: -0.02em; line-height: 1.25; }
.cta-content p { margin-top: 12px; font-size: clamp(14px, 2.4vw, 16px); color: rgba(255,255,255,0.82); line-height: 1.6; max-width: 480px; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.cta-primary {
  display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 22px;
  border-radius: var(--r-pill); background: #fff; color: var(--accent); font-size: 15px; font-weight: 600;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.cta-glass {
  display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: var(--r-pill);
  background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.22); color: #fff;
  font-size: 13.5px; font-weight: 550; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: pointer;
}
.cta-glass-group { display: flex; gap: 8px; flex-wrap: wrap; }

/* ════ 订阅区（轻量化） ════ */
.subscribe-section {
  max-width: var(--w-read); margin: clamp(34px, 6vw, 52px) auto 0; padding: clamp(28px, 5vw, 40px) 22px;
}
.subscribe-section .section-title, .subscribe-section .section-desc { padding-left: 0; padding-right: 0; text-align: left; }
.subscribe-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin-top: 18px; }
.subscribe-method { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--sh-card); border: 1px solid var(--hairline); padding: 20px; }
.method-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.subscribe-icon { font-size: 18px; }
.subscribe-label { font-size: 15px; font-weight: 650; }
.subscribe-hint { font-size: 13px; color: var(--text-2); line-height: 1.5; margin-bottom: 10px; }

/* ════ 页脚 ════ */
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 30px; }
.footer-nav a { font-size: 13px; color: var(--accent); font-weight: 550; }
.site-footer {
  text-align: center; padding: clamp(24px, 4vw, 36px) 22px; margin-top: 16px;
  color: var(--text-4); font-size: 12px;
}
.site-footer p { margin: 0; }

/* ════ 回到顶部 ════ */
.back-to-top {
  display: block; width: max-content; margin: 24px auto 0; padding: 8px 16px;
  background: rgba(255,255,255,0.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--hairline); border-radius: var(--r-pill); box-shadow: var(--sh-card);
  color: var(--text); font-size: 13px; font-weight: 550;
}
.back-to-top:hover { box-shadow: var(--sh-lift); }

/* ════ 分享海报弹窗（share.js 注入） ════ */
.share-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 22px; }
.share-modal { background: var(--surface); border-radius: var(--r-panel); padding: 20px; max-width: 92vw; max-height: 90vh; overflow: auto; box-shadow: var(--sh-lift); }

/* ════ 动画 ════ */
@keyframes cpPulse {
  0% { box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(48, 209, 88, 0); }
  100% { box-shadow: 0 0 0 0 rgba(48, 209, 88, 0); }
}
@keyframes cpFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes cpBounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }

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

/* ════ 响应式 ════ */
@media (max-width: 680px) {
  .article-card { flex-direction: column; align-items: stretch; }
  .article-card .art-thumb { width: 100%; height: 132px; }
  .hide-sm, .nav-brand .tagline, .nav-date { display: none; }
  .topic-grid { grid-template-columns: 1fr; }
  .chat-ai .chat-bubble, .chat-user .chat-bubble { max-width: 100%; }
}

/* ════ 主题详情：目录列表 / 标签页 / 分页器 ════ */
.topic-tabs { display: flex; gap: 3px; background: rgba(0,0,0,0.05); border-radius: var(--r-pill); padding: 4px; margin: 18px 0; max-width: max-content; overflow-x: auto; scrollbar-width: none; }
.topic-tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  display: inline-flex; align-items: center; gap: 5px; cursor: pointer; border: none;
  font-family: var(--font); font-size: 13.5px; font-weight: 500; padding: 7px 15px; border-radius: var(--r-pill);
  color: var(--text-2); background: transparent; white-space: nowrap; transition: all 0.25s var(--ease);
}
.tab-btn.active { background: var(--text); color: #fff; font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.16); }
.tab-count { font-size: 11px; color: var(--text-4); }
.tab-btn.active .tab-count { color: rgba(255,255,255,0.6); }
.dir-list { background: var(--surface); border-radius: var(--r-panel); box-shadow: var(--sh-panel); overflow: hidden; }
.dir-item {
  display: flex; align-items: baseline; gap: 12px; padding: 16px clamp(17px,3vw,22px); cursor: pointer; transition: background 0.15s;
}
.dir-item + .dir-item { border-top: 1px solid var(--hairline); }
.dir-item:hover { background: var(--hover); }
.dir-icon { flex-shrink: 0; font-size: 14px; }
.dir-text { flex: 1; min-width: 0; font-size: 15px; font-weight: 550; line-height: 1.45; color: var(--text); letter-spacing: -0.01em; }
h3.dir-text { font-weight: 600; }
.dir-meta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.dir-date { font-size: 12px; color: var(--text-4); font-variant-numeric: tabular-nums; }
.dir-tag { font-size: 11px; color: var(--text-2); background: rgba(0,0,0,0.05); padding: 2px 8px; border-radius: var(--r-pill); }
.dir-x { font-size: 12px; color: var(--x-blue); }
.dir-pager { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 18px; flex-wrap: wrap; }
.pg-btn, .pg-cur { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 10px; border-radius: var(--r-pill); font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pg-btn { cursor: pointer; border: 1px solid var(--hairline); background: var(--surface); color: var(--accent); }
.pg-btn:hover { background: var(--hover); }
.pg-cur { background: var(--text); color: #fff; }
.pg-dots { color: var(--text-4); padding: 0 4px; }
.pg-info { font-size: 12.5px; color: var(--text-4); margin-left: 8px; }
.topic-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; }

/* 主题索引页搜索条 */
.topic-detail .ai-search-wrap { margin-top: 4px; }

/* ════ 问答页（answers，二期开启） ════ */
.deep-article { max-width: var(--w-read); margin: 0 auto; }
.article-body { font-size: clamp(16px,2.6vw,18px); color: var(--text-body); line-height: 1.9; background: var(--surface); border-radius: var(--r-panel); box-shadow: var(--sh-card); padding: clamp(22px,4vw,36px); margin-top: 16px; }
.article-body p { margin-bottom: 1.1em; }
.article-badge { display: inline-block; font-size: 11.5px; font-weight: 650; color: var(--accent); }
.ref-link { color: var(--accent); font-size: 0.85em; }
.qa-cta { margin-top: 24px; background: var(--hover); border-radius: var(--r-card); padding: 16px 20px; font-size: 14px; }
.qa-cta p { margin: 0; color: var(--text-2); }
.qa-sources { margin-top: 24px; }
.qa-sources h3 { font-size: 16px; font-weight: 650; margin-bottom: 10px; }
.qa-sources ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.qa-sources a { font-size: 14px; color: var(--accent); }
.qa-index-list { list-style: none; }
.qa-index-list li { background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--sh-card); border-radius: var(--r-card); padding: 16px 18px; margin-bottom: 10px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.qa-index-list a { font-size: 15px; font-weight: 550; color: var(--text); flex: 1; }
.qa-index-list time { font-size: 12px; color: var(--text-4); font-variant-numeric: tabular-nums; }
.content-area h1 { font-size: clamp(27px,5vw,40px); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 8px; }

/* ════ 文章页底部：原文来源卡 / 分享长图 / 回到首页 ════ */
.article-meta > span:not(:first-child)::before { content: '·'; margin-right: 10px; color: var(--faint); }
.meta-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 7px; vertical-align: middle; }

.source-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--sh-card);
  border-radius: var(--r-panel); padding: clamp(18px, 3vw, 26px) clamp(20px, 3vw, 30px);
  margin-top: clamp(28px, 5vw, 44px);
}
.source-card-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.source-card-label { font-size: 12.5px; color: var(--text-3); }
.source-card-name { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
.source-card-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
/* 卡内的「阅读英文原文」蓝色主按钮（覆盖通用 .source-link 的 margin-top） */
.source-card-actions .source-link { margin-top: 0; }

/* 分享长图：次按钮（白底描边，符合设计规范 §5） */
.share-poster-btn {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer; height: 44px; padding: 0 20px;
  background: rgba(255,255,255,0.8); border: 1px solid rgba(0,0,0,0.1); box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  border-radius: var(--r-pill); font-family: var(--font); font-size: 14.5px; font-weight: 600; color: var(--text);
  transition: background 0.2s, box-shadow 0.2s;
}
.share-poster-btn:hover { background: #fff; box-shadow: var(--sh-card); }
.share-poster-btn svg { width: 16px; height: 16px; }

/* 其它页（专题/信号/论文）操作行 */
.article-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: clamp(24px, 4vw, 32px); }
.article-actions .source-link { margin-top: 0; }

/* 底部回到首页胶囊 */
.article-bottom-nav { display: flex; justify-content: center; margin-top: clamp(28px, 5vw, 40px); }
.back-home-pill {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 24px;
  background: rgba(255,255,255,0.8); border: 1px solid var(--hairline); box-shadow: var(--sh-card);
  border-radius: var(--r-pill); font-size: 14.5px; font-weight: 550; color: var(--text);
  transition: box-shadow 0.2s;
}
.back-home-pill:hover { box-shadow: var(--sh-lift); }

/* ════ 分享长图弹窗（share.js 注入） ════ */
.poster-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.poster-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.poster-modal-close {
  position: absolute; top: 18px; right: 18px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  border: none; cursor: pointer; background: rgba(255,255,255,0.16); color: #fff; font-size: 18px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.poster-modal-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 16px; max-height: 90vh; }
.poster-modal-body { position: relative; max-height: 72vh; overflow: auto; border-radius: var(--r-card); box-shadow: var(--sh-lift); -webkit-overflow-scrolling: touch; }
.poster-modal-body.clipped::after { content: '下面还有 ↓'; position: sticky; bottom: 0; left: 0; right: 0; display: block; text-align: center; padding: 10px; font-size: 12px; color: #fff; background: linear-gradient(to top, rgba(0,0,0,0.5), transparent); }
.poster-preview { display: block; width: min(420px, 86vw); height: auto; }
.poster-modal-actions { display: flex; gap: 10px; }
.poster-download-btn {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer; height: 44px; padding: 0 24px;
  background: var(--accent); color: #fff; border: none; border-radius: var(--r-pill); font-size: 15px; font-weight: 600;
}
.poster-download-btn:hover { background: #0077ed; }
.poster-wechat-hint { color: #fff; font-size: 13px; text-align: center; }

/* ════ 深读归档：按日期分组 + 白面板行 ════ */
.archive-list { max-width: 860px; margin: 0 auto; padding: 0 22px; }
.archive-group { margin-bottom: clamp(28px, 5vw, 44px); }
.archive-date { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; padding-left: 2px; }
.archive-date strong { font-size: clamp(19px, 3vw, 24px); font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.archive-date-sub { font-size: 13.5px; color: var(--text-3); }
.archive-panel { background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--sh-panel); border-radius: var(--r-panel); overflow: hidden; }
.archive-row { display: flex; align-items: center; gap: 18px; padding: 18px clamp(18px, 3vw, 24px); color: var(--text); transition: background 0.15s; }
.archive-row + .archive-row { border-top: 1px solid var(--hairline); }
.archive-row:hover { background: var(--hover); }
.archive-thumb { flex-shrink: 0; width: 92px; height: 64px; border-radius: var(--r-thumb); background: var(--grad-blue); }
.archive-thumb-img { background-size: cover; background-position: center; }
.archive-row-main { flex: 1; min-width: 0; }
.archive-row-main .art-tags { margin-bottom: 7px; }
.archive-row-title { font-size: clamp(15.5px, 2.4vw, 17.5px); font-weight: 650; line-height: 1.4; letter-spacing: -0.01em; color: var(--text); }
.archive-row-sum { font-size: 13.5px; color: var(--text-2); line-height: 1.5; margin-top: 5px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.archive-row-meta { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.archive-row-meta .source-name { font-size: 13px; font-weight: 600; color: var(--accent); }
.archive-row-time { font-size: 12px; color: var(--text-4); font-variant-numeric: tabular-nums; }
@media (max-width: 680px) {
  .archive-row { gap: 12px; padding: 14px 16px; align-items: flex-start; }
  .archive-thumb { width: 72px; height: 52px; }
  .archive-row-meta { display: none; }
}
