/* TrendRadar 报告页主题覆盖：对齐主站「无记」风（墨色底 + 暖灰正文 + 霞鹜文楷） */
@import url("/fonts/lxgw-wenkai/lxgwwenkai-regular.css");
@import url("/fonts/lxgw-wenkai/lxgwwenkai-bold.css");

/* ===== 字体 ===== */
body, .news-title a, .word-name, .rss-title a, .new-item-title,
.standalone-name, .feed-name, .project-name, .ai-block-content {
  font-family: "LXGW WenKai", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif !important;
}
.rank-num, .news-number, .time-info, .count-info, .word-count, .word-index {
  font-family: "Ubuntu Mono", Consolas, monospace !important;
}

/* ===== 全局墨色底（亮/暗两套都覆盖成主站暗色） ===== */
body, body.dark-mode { background: #0e0d0b !important; color: #d8d2c4 !important; }
.container, body.dark-mode .container {
  background: #161411 !important;
  box-shadow: none !important;
  border: 1px solid rgba(216, 210, 196, 0.08) !important;
}

/* ===== 头部：去掉紫蓝渐变，改墨色 ===== */
.header, body.dark-mode .header { background: #141210 !important; }
.header-title { color: #f4efe1 !important; }
.info-label { color: #a39c8e !important; }
.info-value, body.dark-mode .info-value { color: #d8d2c4 !important; }

/* ===== 正文文字 ===== */
.word-name, .new-section-title, .standalone-name, .new-item-title, .project-name,
body.dark-mode .word-name, body.dark-mode .new-section-title,
body.dark-mode .standalone-name, body.dark-mode .new-item-title, body.dark-mode .project-name {
  color: #f4efe1 !important;
}
.word-count, .word-index, .source-name, .time-info, .feed-count,
.new-source-title, .standalone-count, .rss-section-count,
.standalone-section-count, .news-meta, .rss-time, .rss-author, .rss-summary,
body.dark-mode .word-count, body.dark-mode .word-index, body.dark-mode .source-name,
body.dark-mode .time-info, body.dark-mode .feed-count, body.dark-mode .new-source-title,
body.dark-mode .standalone-count, body.dark-mode .rss-section-count,
body.dark-mode .standalone-section-count, body.dark-mode .news-meta,
body.dark-mode .rss-time, body.dark-mode .rss-author, body.dark-mode .rss-summary {
  color: #a39c8e !important;
}

/* ===== 链接 ===== */
.news-title a, .rss-title a, .new-item a, .standalone-item a, .rss-link,
body.dark-mode .news-title a, body.dark-mode .rss-title a,
body.dark-mode .new-item a, body.dark-mode .standalone-item a, body.dark-mode .rss-link {
  color: #d8d2c4 !important;
}
.news-title a:visited, body.dark-mode .news-title a:visited { color: #a39c8e !important; }
.news-link:hover, .rss-link:hover, body.dark-mode .rss-link:hover { color: #f4efe1 !important; }

/* ===== 边框与分割线 ===== */
.word-header, .news-item, .new-item, .standalone-item, .new-source-title, .standalone-header,
body.dark-mode .word-header, body.dark-mode .news-item, body.dark-mode .new-item,
body.dark-mode .standalone-item, body.dark-mode .new-source-title, body.dark-mode .standalone-header,
.section-divider, body.dark-mode .section-divider,
.feed-header, body.dark-mode .feed-header {
  border-color: rgba(216, 210, 196, 0.12) !important;
}

/* ===== RSS 卡片 / AI 区块 / 错误区 ===== */
.rss-item, body.dark-mode .rss-item,
.ai-block, body.dark-mode .ai-block,
.error-section, body.dark-mode .error-section {
  background: #1c1a16 !important;
  border-color: rgba(216, 210, 196, 0.08) !important;
}
.ai-block-content, body.dark-mode .ai-block-content { color: #d8d2c4 !important; }

/* ===== Tab 栏 / 搜索框 / 悬浮按钮 ===== */
.tab-bar-wrapper, body.dark-mode .tab-bar-wrapper { background: #161411 !important; border-color: rgba(216,210,196,0.08) !important; }
.tab-btn, body.dark-mode .tab-btn { color: #a39c8e !important; }
.tab-btn.active, body.dark-mode .tab-btn.active { color: #f4efe1 !important; border-color: #f4efe1 !important; }
.search-input, body.dark-mode .search-input {
  background: #1c1a16 !important; color: #d8d2c4 !important;
  border-color: rgba(216, 210, 196, 0.15) !important;
}
.search-input::placeholder, body.dark-mode .search-input::placeholder { color: #6e675c !important; }
.fab-btn, body.dark-mode .fab-btn {
  background: #1c1a16 !important; color: #d8d2c4 !important;
  border-color: rgba(216, 210, 196, 0.15) !important;
}

/* ===== Footer ===== */
.footer, body.dark-mode .footer { color: #6e675c !important; border-color: rgba(216,210,196,0.12) !important; }
.footer-link, body.dark-mode .footer-link { color: #a39c8e !important; }
