/* ══════════════════════════════════════════════
   金融情报日报 · 主站样式
   设计理念：简约、高端、直观、专业
   色调：深夜蓝 + 金色点缀 + 纯白背景
   ══════════════════════════════════════════════ */

:root {
  --primary: #0a1628;
  --primary-light: #1a2e4a;
  --accent: #c9a84c;
  --accent-light: #e8c96b;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --bg: #f8f9fb;
  --bg-card: #ffffff;
  --border: #e5e7eb;
  --danger: #dc2626;
  --success: #16a34a;
  --warning: #d97706;
  --info: #2563eb;
  --radius: 12px;
  --shadow: 0 2px 16px rgba(10,22,40,.08);
  --shadow-lg: 0 8px 32px rgba(10,22,40,.14);
  --font-serif: 'Noto Serif SC', 'STSong', Georgia, serif;
  --font-sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --transition: .2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }

/* ── 容器 ─────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 800px; }

/* ── 合规公告栏 ───────────────────────────── */
.compliance-bar {
  background: var(--primary);
  color: rgba(255,255,255,.75);
  font-size: .78rem;
  text-align: center;
  padding: 7px 16px;
  letter-spacing: .02em;
}
.compliance-bar a { color: var(--accent-light); }
.compliance-bar i { margin-right: 6px; }

/* ── 顶部导航 ─────────────────────────────── */
.site-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.2rem; font-weight: 700;
  color: var(--primary);
}
.logo-icon {
  width: 38px; height: 38px;
  background: var(--primary);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 1rem;
}
.main-nav { display: flex; align-items: center; gap: 28px; font-size: .9rem; }
.main-nav a { color: var(--text-muted); font-weight: 500; }
.main-nav a:hover { color: var(--primary); }
.nav-admin {
  background: var(--primary); color: #fff !important;
  padding: 6px 16px; border-radius: 6px; font-size: .85rem;
}
.nav-admin:hover { background: var(--accent) !important; color: var(--primary) !important; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.3rem; cursor: pointer; }

/* ── 主内容 ───────────────────────────────── */
.site-main { padding: 40px 0 60px; }

/* ── Section 标题 ─────────────────────────── */
.section-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 24px; padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}
.section-badge {
  background: var(--primary); color: var(--accent);
  font-size: .75rem; font-weight: 700; letter-spacing: .08em;
  padding: 4px 12px; border-radius: 20px;
  white-space: nowrap;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 1.35rem; font-weight: 700;
  color: var(--primary);
  flex: 1;
}
.section-date {
  font-size: .85rem; color: var(--text-muted);
  white-space: nowrap;
}

/* ── 简报卡片 ─────────────────────────────── */
.briefing-section { margin-bottom: 52px; }

.briefing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.briefing-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.briefing-cover img {
  width: 100%; max-height: 320px; object-fit: cover;
}
.briefing-card-body { padding: 32px; }
.briefing-title {
  font-family: var(--font-serif);
  font-size: 1.5rem; font-weight: 700;
  color: var(--primary); margin-bottom: 12px;
}
.briefing-summary {
  color: var(--text-muted); font-size: .95rem;
  margin-bottom: 20px; line-height: 1.8;
}
.briefing-content { margin-bottom: 24px; }

/* 简报内部条目 */
.briefing-body { font-size: .93rem; }
.briefing-intro {
  background: #f0f4ff; border-left: 3px solid var(--info);
  padding: 14px 18px; border-radius: 0 8px 8px 0;
  margin-bottom: 20px; font-size: .9rem; color: var(--text-muted);
}
.briefing-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.briefing-item:last-of-type { border-bottom: none; }
.rank-badge {
  min-width: 32px; height: 32px;
  background: var(--primary); color: var(--accent);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: .8rem; font-weight: 700;
  flex-shrink: 0; margin-top: 2px;
}
.briefing-item-title { font-weight: 600; color: var(--primary); display: block; margin-bottom: 4px; }
.briefing-item-title:hover { color: var(--accent); }
.briefing-item-summary { font-size: .88rem; color: var(--text-muted); margin-bottom: 4px; }
.briefing-meta { font-size: .78rem; color: var(--text-light); }
.briefing-disclaimer {
  background: #fffbeb; border: 1px solid #fde68a;
  border-radius: 8px; padding: 12px 16px;
  font-size: .82rem; color: #92400e; margin-top: 20px;
}

.briefing-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.btn-read-more {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: var(--accent) !important;
  padding: 10px 22px; border-radius: 8px;
  font-size: .88rem; font-weight: 600;
  transition: all var(--transition);
}
.btn-read-more:hover { background: var(--accent); color: var(--primary) !important; }
.briefing-update-time { font-size: .82rem; color: var(--text-light); }

.briefing-empty {
  text-align: center; padding: 60px 24px;
  color: var(--text-muted);
}
.briefing-empty i { font-size: 2.5rem; margin-bottom: 16px; color: var(--text-light); }

/* ── 新闻网格 ─────────────────────────────── */
.news-section { margin-bottom: 48px; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.news-card-featured {
  grid-column: span 2;
  flex-direction: row;
}
.news-rank-badge {
  position: absolute; top: 12px; left: 12px;
  width: 28px; height: 28px;
  background: var(--primary); color: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 700; z-index: 1;
}
.news-card-featured .news-rank-badge {
  background: var(--accent); color: var(--primary);
  width: 34px; height: 34px; font-size: .9rem;
}
.news-img-wrap { height: 180px; overflow: hidden; flex-shrink: 0; }
.news-card-featured .news-img-wrap { width: 280px; height: auto; }
.news-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-img-wrap img { transform: scale(1.04); }
.news-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-category {
  display: inline-block;
  background: rgba(10,22,40,.07); color: var(--primary);
  font-size: .72rem; font-weight: 600; letter-spacing: .06em;
  padding: 2px 10px; border-radius: 20px;
  margin-bottom: 10px;
}
.news-title { font-family: var(--font-serif); font-size: 1rem; font-weight: 700; line-height: 1.5; margin-bottom: 10px; }
.news-title a { color: var(--primary); }
.news-title a:hover { color: var(--accent); }
.news-summary { font-size: .88rem; color: var(--text-muted); line-height: 1.7; flex: 1; margin-bottom: 14px; }
.news-meta {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  font-size: .78rem; color: var(--text-light);
  border-top: 1px solid var(--border); padding-top: 12px;
}
.news-source-link {
  margin-left: auto;
  color: var(--info) !important; font-size: .78rem;
}

/* ── 空状态 ───────────────────────────────── */
.empty-state {
  text-align: center; padding: 80px 24px; color: var(--text-muted);
}
.empty-state i { font-size: 3rem; margin-bottom: 16px; color: var(--text-light); display: block; }

/* ── 合规声明板块 ─────────────────────────── */
.compliance-notice {
  background: #f0f7ff; border: 1px solid #bfdbfe;
  border-radius: 10px; padding: 18px 24px;
  font-size: .85rem; color: #1e40af; line-height: 1.8;
  margin-bottom: 40px;
}
.compliance-notice i { margin-right: 8px; }
.compliance-notice a { color: #1d4ed8; text-decoration: underline; }

/* ── 文章详情 ─────────────────────────────── */
.article-detail { background: var(--bg-card); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); margin: 24px 0; }
.article-title { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 700; line-height: 1.4; margin-bottom: 16px; }
.article-meta { display: flex; gap: 20px; font-size: .85rem; color: var(--text-muted); margin-bottom: 24px; }
.article-hero-img { width: 100%; border-radius: 10px; margin-bottom: 24px; max-height: 400px; object-fit: cover; }
.article-summary { font-size: 1.02rem; color: var(--text); border-left: 4px solid var(--accent); padding-left: 18px; margin-bottom: 28px; line-height: 1.8; }
.article-content { font-size: .95rem; line-height: 1.9; color: var(--text); }
.article-content h2,h3,h4 { font-family: var(--font-serif); margin: 24px 0 12px; }
.article-content p { margin-bottom: 14px; }
.article-content ul,ol { padding-left: 22px; margin-bottom: 14px; }
.article-source { font-size: .85rem; color: var(--text-muted); margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.article-disclaimer { margin-top: 24px; background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 14px 18px; font-size: .85rem; color: #92400e; }
.article-no-content { margin-top: 28px; background: var(--card-bg); border: 1px dashed var(--border); border-radius: 8px; padding: 22px 24px; font-size: .9rem; color: var(--text-muted); text-align: center; }
.article-no-content i { font-size: 1.3rem; display: block; margin-bottom: 8px; opacity: .5; }
.article-no-content a { color: var(--accent); text-decoration: none; }
.article-no-content a:hover { text-decoration: underline; }
.news-content-para { margin-bottom: 14px; line-height: 1.85; }

/* ── 面包屑 ───────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--text-muted); margin: 16px 0; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb i { font-size: .65rem; }

/* ── 按钮 ─────────────────────────────────── */
.btn-back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-muted); font-size: .88rem;
  padding: 8px 0; margin-bottom: 20px;
}
.btn-back:hover { color: var(--primary); }

/* ── 警告/提示框 ──────────────────────────── */
.alert { padding: 12px 18px; border-radius: 8px; margin: 12px 0; font-size: .9rem; }
.alert-success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.alert-danger  { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.alert-warning { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.alert-info    { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }

/* ── 底部 ─────────────────────────────────── */
.site-footer {
  background: var(--primary); color: rgba(255,255,255,.55);
  padding: 32px 0;
}
.footer-inner { text-align: center; }
.footer-legal { font-size: .78rem; line-height: 1.9; margin-bottom: 10px; }
.footer-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  line-height: 1;
}
.footer-sep { opacity: .4; }
.footer-beian-link {
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,.45) !important;
  text-decoration: none;
  transition: color .2s;
  line-height: 1;
}
.footer-beian-link:hover { color: var(--accent) !important; }
.footer-gongan-icon { width: 16px; height: 16px; display: block; margin-right: 3px; }

/* ── 简报完整版 ───────────────────────────── */
.briefing-full .briefing-item { padding: 18px 0; }

/* ── 十大重磅·并列列表样式 ──────────────────── */
.news-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.news-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: background var(--transition);
}
.news-list-item:last-child { border-bottom: none; }
.news-list-item:hover { background: #f8f9fb; }
.news-list-item.news-hot { background: #fffdf5; }
.news-list-item.news-hot:hover { background: #fff9e6; }

.news-list-rank {
  flex-shrink: 0;
  width: 48px;
  padding-top: 2px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.rank-badge {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 800;
  letter-spacing: 0;
}
.rank-1 { background: linear-gradient(135deg, #b8860b, #f5c842); color: #fff; box-shadow: 0 2px 8px rgba(201,168,76,.4); }
.rank-2 { background: linear-gradient(135deg, #6b7280, #9ca3af); color: #fff; box-shadow: 0 2px 6px rgba(107,114,128,.3); }
.rank-3 { background: linear-gradient(135deg, #b45309, #d97706); color: #fff; box-shadow: 0 2px 6px rgba(180,83,9,.3); }
.rank-n { background: #f0f4f8; color: var(--text-muted); font-size: .82rem; }

.news-list-body {
  flex: 1;
  min-width: 0;
}

.news-list-meta-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}

.news-category-tag {
  display: inline-block;
  font-size: .7rem; font-weight: 700; letter-spacing: .04em;
  padding: 2px 9px; border-radius: 4px;
  background: rgba(10,22,40,.07); color: var(--primary);
}
/* 按类别着色 */
.cat-中东局势 { background: #fee2e2; color: #b91c1c; }
.cat-原油期货 { background: #fef3c7; color: #b45309; }
.cat-黄金期货 { background: #fef9c3; color: #854d0e; }
.cat-全球金融 { background: #eff6ff; color: #1d4ed8; }
.cat-地缘政治 { background: #fce7f3; color: #9d174d; }
.cat-A股市场  { background: #dcfce7; color: #15803d; }
.cat-货币政策 { background: #e0f2fe; color: #0369a1; }
.cat-宏观政策 { background: #f0fdf4; color: #166534; }
.cat-科技产业 { background: #f5f3ff; color: #6d28d9; }

.news-source-label {
  font-size: .72rem; color: var(--text-light);
  background: #f3f4f6; padding: 2px 8px; border-radius: 4px;
}

.news-list-title {
  font-family: var(--font-serif);
  font-size: 1rem; font-weight: 700;
  line-height: 1.55;
  margin-bottom: 7px;
  color: var(--primary);
}
.news-list-title a { color: var(--primary); }
.news-list-title a:hover { color: var(--accent); }

.news-list-summary {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 10px;
  /* 最多显示3行 */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-list-meta-bottom {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .78rem;
  color: var(--text-light);
}
.news-date i { margin-right: 4px; }
.news-source-link { color: var(--info) !important; }

.news-list-hot-label {
  position: absolute; top: 20px; right: 20px;
  color: #ef4444; font-size: .9rem;
  opacity: .7;
}

/* ── 主题标签行 ─────────────────────────────── */
.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.topic-tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .75rem; font-weight: 600;
  padding: 4px 12px; border-radius: 20px;
  letter-spacing: .03em;
}
.tag-intl   { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.tag-dom    { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.tag-oil    { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.tag-gold   { background: #fef9c3; color: #854d0e; border: 1px solid #fef08a; }
.tag-mideast { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }
.tag-finance { background: #f5f3ff; color: #6d28d9; border: 1px solid #ddd6fe; }

/* ── section-header 右侧分组 ─────────────────── */
.section-header-right {
  display: flex; align-items: center; gap: 12px;
  margin-left: auto;
}
.btn-refresh-sm {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 6px;
  color: var(--text-muted); font-size: .85rem;
  transition: all var(--transition);
  background: var(--bg-card);
}
.btn-refresh-sm:hover { color: var(--primary); border-color: var(--primary); background: #f0f4f8; }
.btn-refresh {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: var(--accent) !important;
  padding: 8px 18px; border-radius: 8px;
  font-size: .85rem; font-weight: 600; margin-top: 14px;
  transition: all var(--transition);
}
.btn-refresh:hover { background: var(--accent); color: var(--primary) !important; }

/* ── 报告章节样式（简报内容） ─────────────────── */
.report-full-body { font-size: .92rem; }
.report-meta {
  display: flex; gap: 18px;
  font-size: .8rem; color: var(--text-muted);
  margin-bottom: 20px; padding-bottom: 14px;
  border-bottom: 1px dashed var(--border);
}
.report-meta i { margin-right: 5px; }
.report-section {
  margin-bottom: 22px;
}
.report-section-heading {
  font-family: var(--font-serif);
  font-size: 1rem; font-weight: 700;
  color: var(--primary);
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(90deg, rgba(10,22,40,.05), transparent);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  margin-bottom: 12px;
}
.report-section-heading i { color: var(--accent); font-size: .9rem; }
.report-section-body { padding: 0 6px; }
.briefing-para {
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 10px;
  font-size: .9rem;
}

/* 简报内容预览（首页截断高度） */
.briefing-content-preview {
  max-height: 520px;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}
.briefing-content-preview::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(transparent, var(--bg-card));
  pointer-events: none;
}

/* ── 标题行（类别标签 + 轮播 + 时间） ─────────── */
.news-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 2px 0;
}

/* ── 轮播容器 ────────────────────────────────── */
.title-carousel {
  flex: 1;
  min-width: 0;
  position: relative;
  /* 高度由内容撑开；所有帧绝对叠放 */
  min-height: 1.6em;
}

.carousel-frame {
  display: none;
  opacity: 0;
  transition: opacity .3s ease;
}
.carousel-frame.active {
  display: block;
  opacity: 1;
}
.carousel-frame.fade-out {
  display: block;
  opacity: 0;
}

/* 标题链接 */
.news-list-title-link {
  font-family: var(--font-serif);
  font-size: .975rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--primary);
  text-decoration: none;
  display: block;
}
.news-list-title-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* 轮播时间标签 */
.carousel-date {
  flex-shrink: 0;
  font-size: .75rem;
  color: var(--text-light);
  white-space: nowrap;
  transition: opacity .3s ease;
}
.carousel-date i { margin-right: 3px; }

/* ── 移动端菜单展开样式 ─────────────────────── */
@media (max-width: 768px) {
  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--bg-card);
    padding: 12px 24px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    z-index: 200;
    gap: 4px;
    border-top: 1px solid var(--border);
  }
  .main-nav.mobile-open { display: flex; }
  .main-nav a { padding: 10px 0; font-size: .95rem; border-bottom: 1px solid var(--border); }
  .main-nav a:last-child { border-bottom: none; }
  .nav-admin { display: inline-block; margin-top: 6px; text-align: center; }
  .mobile-menu-btn { display: block; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card-featured { flex-direction: column; }
  .news-card-featured .news-img-wrap { width: 100%; height: 200px; }
  .section-header { flex-wrap: wrap; gap: 8px; }
  .article-detail { padding: 24px 18px; }
  .article-title { font-size: 1.4rem; }
  .briefing-footer { flex-direction: column; gap: 12px; align-items: flex-start; }
  .news-list-item { padding: 16px 14px; }
  .news-list-rank { width: 38px; }
  .section-header-right { flex-wrap: wrap; }
  .carousel-date { display: none; }
}

/* ── 滚动进入动画 ──────────────────────────── */
.fade-in-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .45s ease, transform .45s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 返回顶部按钮 ──────────────────────────── */
#backToTop {
  position: fixed;
  bottom: 32px; right: 28px;
  width: 42px; height: 42px;
  background: var(--primary);
  color: var(--accent);
  border: none; border-radius: 50%;
  font-size: .9rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(12px);
  transition: opacity .3s, transform .3s;
  z-index: 500;
  pointer-events: none;
}
#backToTop.show {
  opacity: 1; transform: translateY(0);
  pointer-events: auto;
}
#backToTop:hover { background: var(--accent); color: var(--primary); }

/* ── 简报展开按钮 ──────────────────────────── */
.btn-expand-briefing {
  display: flex; align-items: center; gap: 6px;
  margin: 0 auto 20px;
  background: #f0f4f8;
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 20px;
  font-size: .85rem; font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-expand-briefing:hover { background: var(--primary); color: var(--accent); }

/* ── 新闻列表 hover 左边框高亮 ─────────────── */
.news-list-item {
  border-left: 3px solid transparent;
  transition: background var(--transition), border-left-color var(--transition);
}
.news-list-item:hover { border-left-color: var(--accent); }
.news-list-item.news-hot { border-left-color: rgba(201,168,76,.35); }
.news-list-item.news-hot:hover { border-left-color: var(--accent); }

/* ── 简报卡片顶部渐变升级 ─────────────────── */
.briefing-card::before {
  height: 5px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 55%, var(--accent-light) 100%);
}

/* ── 页面加载进度条 ───────────────────────── */
.page-progress {
  position: fixed; top: 0; left: 0;
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 9999;
  transition: width .2s ease;
}

/* ── 数字标签升级（rank-1/2/3 更精致） ──── */
.rank-1 {
  background: linear-gradient(135deg, #92650a, #f5c842);
  box-shadow: 0 3px 10px rgba(245,200,66,.5);
}
.rank-2 {
  background: linear-gradient(135deg, #4b5563, #9ca3af);
  box-shadow: 0 2px 8px rgba(107,114,128,.4);
}
.rank-3 {
  background: linear-gradient(135deg, #92400e, #f59e0b);
  box-shadow: 0 2px 8px rgba(245,158,11,.35);
}

/* ── 响应式补充 ───────────────────────────── */
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .news-list-item { padding: 13px 12px; }
  .briefing-card-body { padding: 20px; }
  .section-title { font-size: 1.1rem; }
  #backToTop { bottom: 20px; right: 16px; width: 38px; height: 38px; }
}

/* ── 翻页控件 ─────────────────────────────── */
/* 锚点偏移：防止 sticky header 遮住 #top10 */
#top10 {
  scroll-margin-top: 70px;
}
.pagination-container {
  display: flex;
  justify-content: center;
  margin: 28px 0 16px;
}
.pagination {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #4a5568;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: all .18s;
  cursor: pointer;
  user-select: none;
}
.page-link:hover {
  background: #f7c948;
  border-color: #f7c948;
  color: #1a202c;
  text-decoration: none;
}
.page-link.current {
  background: #d4971a;
  border-color: #d4971a;
  color: #fff;
  font-weight: 700;
  cursor: default;
}
.page-link.disabled {
  opacity: .38;
  cursor: not-allowed;
  pointer-events: none;
  background: #f8fafc;
}
.pagination-info {
  font-size: 0.82rem;
  color: #888;
  margin-left: 8px;
  white-space: nowrap;
}
/* 手机端翻页适配 */
@media (max-width: 600px) {
  .pagination { gap: 4px; }
  .page-link { min-width: 32px; height: 32px; padding: 0 8px; font-size: 0.82rem; }
  .pagination-info { display: block; width: 100%; text-align: center; margin: 6px 0 0; }
}
