* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
       background: #f5f6f8; color: #222; }
.container { max-width: 1100px; margin: 0 auto; padding: 16px; }
.topnav {
  background: linear-gradient(90deg,
    #010408 0%, #03080e 5%, #060d15 10%, #08111b 16%, #0b1622 22%,
    #0d1a28 28%, #101f2f 36%, #122436 44%, #15283c 53%,
    #172d43 62%, #1a3149 72%, #1c3650 85%, #1f3b57 100%);
  padding: 10px 16px;
}
.topnav a { color: #fff; margin-right: 18px; text-decoration: none; font-size: 14px; }
.topnav a:hover { text-decoration: underline; }
h1 { font-size: 20px; color: #1f3b57; }
h2 { font-size: 16px; margin-top: 24px; }
.card { background: #fff; border: 1px solid #e3e6ea; border-radius: 8px; padding: 12px 14px; margin-bottom: 12px; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.actions { margin-top: 8px; }
.flash { padding: 8px 14px; margin-bottom: 10px; border-radius: 6px; font-size: 14px; }
.flash.ok { background: #bcd2e6; color: #1f3b57; }
.flash.error { background: #ffce7a; color: #1f3b57; }
.btn { display: inline-block; padding: 6px 14px; border: 1px solid #c9ced4; border-radius: 6px;
       background: #fff; cursor: pointer; font-size: 14px; text-decoration: none; color: #222; }
.btn.ok { background: #1f3b57; border-color: #1f3b57; color: #fff; }
.linkbtn { background: none; border: none; color: #1f3b57; cursor: pointer; padding: 0; font-size: 14px; }
.muted { color: #8a9199; font-size: 13px; }
input[type=text], input[type=password], select, textarea {
  padding: 6px 8px; border: 1px solid #c9ced4; border-radius: 6px; font-size: 14px; }
.title-input { flex: 2; min-width: 240px; }
.body-input { width: 100%; margin-top: 6px; font-size: 14px; }
.table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #e3e6ea; }
.table th, .table td { border: 1px solid #e3e6ea; padding: 6px 8px; text-align: left; font-size: 13px; vertical-align: top; }
.title-cell { word-break: break-all; overflow-wrap: anywhere; }
.url-cell { word-break: break-all; overflow-wrap: anywhere; font-size: 12px; color: #555; }
.preview-list { padding-left: 18px; font-size: 14px; }
.preview-list li { margin-bottom: 6px; }
.filters { margin-bottom: 12px; }

/* ---------- 前台 ---------- */
.site-header {
  background: linear-gradient(90deg,
    #010408 0%, #03080e 5%, #060d15 10%, #08111b 16%, #0b1622 22%,
    #0d1a28 28%, #101f2f 36%, #122436 44%, #15283c 53%,
    #172d43 62%, #1a3149 72%, #1c3650 85%, #1f3b57 100%);
  color: #fff;
  height: 112px;
  display: flex;
  align-items: center;
}
.header-inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; width: 100%; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 28px; font-weight: bold; color: #fff; text-decoration: none; }
.brand-logo { height: 112px; width: auto; display: block; }
.brand-name { line-height: 1; }
.tagline { color: #bcd2e6; font-size: 13px; font-weight: bold; }
.trial-badge {
  font-size: 12px;
  color: #fff;
  background: #ff0000;
  border: 1px solid #ff0000;
  border-radius: 3px;
  padding: 2px 7px;
  letter-spacing: 3px;
  font-weight: bold;
}
.site-nav { margin-left: auto; }
.site-nav a { color: #93a3b5; margin-left: 14px; text-decoration: none; font-size: 18px; font-weight: bold; }
.site-nav a:hover { color: #fff; text-decoration: underline; }
.site-footer {
  background: linear-gradient(90deg,
    #1f3b57 0%, #1c3650 8%, #1a3149 15%, #172d43 22%, #15283c 30%,
    #122436 38%, #101f2f 46%, #0d1a28 55%, #0b1622 63%,
    #08111b 72%, #060d15 80%, #03080e 90%, #010408 100%);
  color: #bcd2e6;
  margin-top: 32px;
  padding: 26px 0;
  font-size: 13px;
}
.site-footer .container { text-align: center; }
.site-footer p { margin: 5px 0; color: #bcd2e6; }
.site-footer .footer-brand { color: #fff; font-size: 15px; font-weight: bold; }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-item { padding: 10px 0; border-bottom: 1px solid #f0f2f5; display: flex; gap: 8px; }
.news-left { flex-shrink: 0; }
.news-main { flex: 1; min-width: 0; }
.news-item .title { font-size: 17px; font-weight: bold; color: #1f3b57; text-decoration: none;
                    word-break: break-all; overflow-wrap: anywhere; }
.news-item .title:hover { color: #1f3b57; text-decoration: underline; }
.news-item .meta { margin-top: 4px; font-size: 13px; text-align: right; }
.tag { display: inline-block; background: #bcd2e6; color: #1f3b57; border-radius: 4px;
       padding: 1px 6px; font-size: 12px; margin-left: 6px; }
.article-title { font-size: 22px; line-height: 1.5; word-break: break-all; overflow-wrap: anywhere;
                text-align: center; }
/* 详情页标题/发布时间/来源居中（2026-08-11 老板要求）；列表 .news-item .meta 保持右对齐不受影响 */
.article-card .meta { text-align: center; }
.article-body { font-size: 16px; line-height: 1.9; color: #333;
                word-break: break-all; overflow-wrap: anywhere; }
/* 手机显示通用原则（2026-08-11 老板定）：正文长网址/长字符串自动换行，不溢出屏幕
   ——显示层通用规则（非抓取层，不影响数据）；所有网站正文手机端都适用 */
.article-body a { word-break: break-all; overflow-wrap: anywhere; }
.article-body table { max-width: 100%; }
.article-body img { max-width: 100%; height: auto; }
.article-body p { margin: 0 0 14px; }
.source-label { color: #1f3b57; font-weight: bold; }
.btn.origin { background: #1f3b57; border-color: #1f3b57; color: #fff; }
.ad-banner { margin: 20px 0; text-align: center; }
.ad-banner img { max-width: 100%; border-radius: 6px; }
.share-box { margin-top: 24px; border-top: 1px dashed #d8dde3; padding-top: 14px; }
.share-box h3 { font-size: 15px; }
.share-box .btn { margin-right: 8px; margin-bottom: 8px; }
.qr-box { margin-top: 10px; }
.qr { width: 140px; height: 140px; border: 1px solid #e3e6ea; }
.platform-list { margin: 0; padding-left: 18px; line-height: 2; }
@media (max-width: 768px) {
  .site-header { height: auto; padding: 10px 0 6px; }
  .header-inner { gap: 10px; }
  .brand-logo { height: 80px; }
  .tagline { font-size: 12px; }
  .trial-badge { font-size: 9px; padding: 1px 4px; letter-spacing: 2px; }
  .site-nav { margin-left: 0; width: 100%; }
  .site-nav a { font-size: 18px; }
  .site-nav a { margin-left: 0; margin-right: 12px; }
}
.search-form { display: inline-flex; gap: 6px; }
.search-input { padding: 4px 8px; border: 1px solid #c9ced4; border-radius: 6px; font-size: 13px; width: 8em; }
@media (max-width: 768px) { .search-input { width: 100%; } }
.stats { gap: 12px; margin-bottom: 16px; }
.stat { min-width: 120px; text-align: center; }
.stat .num { font-size: 26px; font-weight: bold; color: #1f3b57; }
.stat .lbl { font-size: 13px; color: #8a9199; }
.help-box summary { cursor: pointer; font-weight: bold; color: #1f3b57; }
.help-box .table { margin-top: 8px; }
.help-box .table { margin-top: 8px; }

.new-tag{display:inline-block;margin-left:6px;background:#ff0000;color:#fff;font-size:10px;line-height:1;padding:2px 5px;border-radius:3px;font-weight:bold;vertical-align:middle;animation:rec-pulse 1.4s ease-in-out infinite;}

.list-num{display:inline-block;min-width:18px;margin-right:3px;color:#1f3b57;font-weight:bold;font-style:normal;font-size:17px;text-align:right;}
.list-num::after{content:".";}
.more-row{text-align:right;margin-top:6px;padding-top:6px;border-top:1px dashed #eee;}
.more{color:#1f3b57;font-size:16px;font-weight:bold;}
.announce-list .news-item{display:flex;}
.announce-list .announce-inner{flex:1;}
.region-tag{color:#1f3b57;font-weight:bold;font-size:17px;margin-right:2px;}
.card-head h2 { font-size: 20px; margin: 0; color: #1f3b57; }

.news-item .title.read { color: #999; }
.news-item .title.read:hover { color: #999; }

.list-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 6px; padding-top: 6px; border-top: 1px dashed #eee; }
.list-footer .more-row { margin: 0; padding: 0; border: 0; }
.list-footer .pagination { margin: 0; }
.pagination { margin: 16px 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.pagination .per-select { padding: 4px 6px; }
.page-links { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.page-links .pg { display: inline-block; min-width: 26px; text-align: center; padding: 4px 7px; border: 1px solid #d9dee4; border-radius: 4px; color: #1f3b57; text-decoration: none; }
.page-links .pg.active { background: #1f3b57; color: #fff; border-color: #1f3b57; }
.page-links .pg.disabled { color: #b0b8c4; pointer-events: none; }
.page-links .pg-ellipsis { color: #8a9199; padding: 0 2px; }
.pg-goto { display: inline-flex; align-items: center; gap: 4px; }

.home-tabs .tab-nav { display: flex; border-bottom: 2px solid #1f3b57; margin: -4px 0 10px; gap: 4px; }
.home-tabs .tab-btn { padding: 6px 20px; border: none; background: none; font-size: 20px; color: #666; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; text-decoration: none; }
.home-tabs .tab-btn.active { color: #1f3b57; font-weight: bold; border-bottom-color: #1f3b57; }
.home-tabs .tab-btn:hover { color: #1f3b57; }
.home-tabs .tab-content { display: none; }
.home-tabs .tab-content.active { display: block; }

.top-tag { margin-left: 2px; }

.admin-tabs { display: flex; align-items: center; border-bottom: 2px solid #1f3b57; margin-bottom: 12px; gap: 2px; flex-wrap: wrap; }
.admin-tabs .atab { padding: 8px 16px; color: #666; text-decoration: none; font-size: 15px; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.admin-tabs .atab.active { color: #1f3b57; font-weight: bold; border-bottom-color: #1f3b57; }
.admin-tabs .atab-status { margin-left: auto; }
.admin-tabs select { padding: 4px 6px; }

.title-cell a { color: #1f3b57; text-decoration: none; }
.title-cell a:hover { text-decoration: underline; }
.title-cell a.read { color: #999; }

/* 平台导航：一排 3 个地区，手机自动变 1 列 */
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 768px) { .platform-grid { grid-template-columns: 1fr; } }
.platform-grid .card { margin: 0; }

/* 正文图片：自适应屏幕宽度（手机友好） */
.article-body img { max-width: 100%; height: auto; display: block; margin: 10px auto; }

/* 正文表格（原文表格还原） */
.article-body .article-table {
  border-collapse: collapse;
  width: 100%;
  margin: 10px 0;
  font-size: 14px;
  line-height: 1.6;
}
.article-body .article-table th,
.article-body .article-table td {
  border: 1px solid #333;
  padding: 6px 10px;
  text-align: center;
  word-break: break-all;
}
.article-body .article-table th {
  font-weight: bold;
  background: #f2f5f9;
}
@media (max-width: 768px) {
  .article-body .article-table {
    font-size: 12px;
  }
  .article-body .article-table th,
  .article-body .article-table td {
    padding: 4px 6px;
  }
}

/* 后台导航待审核徽章 */
.nav-with-badge { position: relative; }
.nav-badge { position: absolute; top: -6px; right: -12px; background: #e74c3c; color: #fff; font-size: 11px; line-height: 16px; min-width: 16px; padding: 0 5px; border-radius: 10px; text-align: center; font-weight: bold; }

/* 免责声明：首页顶部红字提示 */
.disclaimer-notice {
  background: #fff5f5;
  border: 1px solid #ff0000;
  color: #ff0000;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 12px;
  line-height: 1.6;
}
/* 免责声明：页脚完整版 */
.site-footer .disclaimer {
  margin: 18px auto 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.18);
  text-align: left;
  max-width: 1100px;
}
.site-footer .disclaimer h4 {
  color: #fff;
  background: #ff0000;
  font-size: 15px;
  margin: 0 0 8px;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  animation: rec-pulse 1.4s ease-in-out infinite;
}
.site-footer .disclaimer p { text-align: left; line-height: 1.7; margin: 6px 0; color: #bcd2e6; }

/* 免责声明：页脚折叠展开 */
.site-footer .disclaimer-more summary {
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  margin: 10px 0 4px;
  display: inline-block;
  border-bottom: 1px dashed rgba(255,255,255,0.5);
  padding-bottom: 1px;
}
.site-footer .disclaimer-more summary:hover { text-decoration: underline; }
.site-footer .disclaimer-more summary::marker { content: ''; }
.site-footer .disclaimer-more[open] summary { margin-bottom: 8px; }

/* 免责声明：顶部红字里的"免责声明"链接跳转 */
.disclaimer-notice a { color: #ff0000; text-decoration: underline; }
.disclaimer-notice a:hover { color: #cc0000; }
/* 免责声明：页脚标题（红底白字脉动，样式见 .disclaimer h4） */

/* 栏目列表页：检索条（关键词/地区/平台/日期） */
.search-form-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.search-form-row .search-q { flex: 2; min-width: 220px; padding: 6px 10px; font-size: 14px; }
.search-form-row select { padding: 6px 8px; font-size: 14px; }
.search-form-row input[type=date] { padding: 5px 8px; font-size: 14px; }

/* 检索条：平台可输入可选框 */
.search-form-row .platform-input { padding: 6px 10px; font-size: 14px; min-width: 220px; }

/* 检索条：地区可输入可选框 */
.search-form-row .region-input { padding: 6px 10px; font-size: 14px; min-width: 140px; }

/* 每日速览 */
.daily-item { display: flex; gap: 8px; }
.daily-item .list-num { flex-shrink: 0; margin-top: 2px; }
.daily-inner { flex: 1; min-width: 0; }
.daily-inner .title { font-size: 17px; color: #1f3b57; text-decoration: none; font-weight: bold;
                      word-break: break-all; overflow-wrap: anywhere; }
.daily-inner .title:hover { text-decoration: underline; }
.daily-summary { display: block; margin: 6px 0 6px; color: #555; font-size: 15px; line-height: 1.7;
                 word-break: break-all; overflow-wrap: anywhere; text-decoration: none; cursor: pointer; }
.daily-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.daily-go { font-size: 13px; padding: 4px 12px; }

/* （每日速览火焰文字效果已撤除，2026-08-08 用户反馈渐变不好看） */

/* 每日速览"荐"字徽章（推荐标识） */
.site-nav a .rec-badge {
  display: inline-block;
  margin-right: 4px;
  background: #ff0000;
  color: #fff;
  font-size: 10px;
  line-height: 1.2;
  padding: 2px 4px;
  border-radius: 3px;
  font-weight: bold;
  vertical-align: 2px;
  animation: rec-pulse 1.4s ease-in-out infinite;
}
@keyframes rec-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

/* 每日/每周速览：来源平台名至少占 8 个汉字宽（不足自动补白，超过正常显示），保证手机端排版对齐 */
.daily-source-name { display: inline-block; min-width: 8em; }

/* 首页/栏目列表摘要（可点击跳详情） */
.news-item .item-summary { display: block; margin: 4px 0 0; padding-left: 0; color: #777; font-size: 15px; line-height: 1.6;
                            word-break: break-all; overflow-wrap: anywhere; text-decoration: none; cursor: pointer; }

/* 摘要前缀标签：深蓝底白字徽章（与内容形成反差） */
.summary-label {
  color: #fff;
  background: #1f3b57;
  font-weight: bold;
  font-size: 14px;
  padding: 1px 6px;
  border-radius: 3px;
  margin-right: 4px;
  white-space: nowrap;
}

/* 摘要中的日期/时间高亮（红色加粗） */
.date-hl { color: #ff0000; font-weight: bold; }

/* 首页列表右上角"检索更多信息"入口 */
.more-top-row { text-align: right; margin-bottom: 6px; }
.more-top-row .more { color: #1f3b57; font-size: 16px; font-weight: bold; text-decoration: none; }
.more-top-row .more:hover { text-decoration: underline; }

/* 微信朋友圈引导提示 */
.wechat-tip { margin-top: 10px; }

/* 收藏引导提示条（顶部蓝色横条下方） */
.bookmark-bar {
  background: #fff7e0;
  color: #1f3b57;
  text-align: center;
  padding: 6px 12px;
  font-size: 13px;
  border-bottom: 1px solid #f0e0c0;
}
.bookmark-bar b { font-weight: bold; }

/* ===== 皮肤 V1（深蓝经典）覆盖：body.theme-v1 时生效 ===== */
.theme-v1 .site-header {
  background: #1f3b57;
  height: auto;
  display: block;
}
.theme-v1 .header-inner { align-items: baseline; padding-top: 0; padding-bottom: 8px; }
.theme-v1 .brand-logo { height: 70px; }
.theme-v1 .tagline { font-size: 13px; font-weight: bold; color: #bcd2e6; }
.theme-v1 .trial-badge { font-size: 10px; }
.theme-v1 .site-nav a { color: #dfe9f2; }
.theme-v1 .site-footer { background: #1f3b57; }
.theme-v1 .topnav { background: #1f3b57; }
@media (max-width: 768px) {
  .theme-v1 .brand-logo { height: 80px; }
  .theme-v1 .site-header { padding: 10px 0 6px; }
  .theme-v1 .header-inner { gap: 10px; }
  .theme-v1 .tagline { font-size: 12px; }
  .theme-v1 .trial-badge { font-size: 9px; }
  .theme-v1 .site-nav a { font-size: 18px; }
}

/* 汉堡菜单（2026-08-11 老板方案A：手机端只留核心入口 + ☰ 展开全部） */
.nav-toggle {
  display: none;
  background: none; border: none; color: #fff;
  font-size: 24px; line-height: 1; cursor: pointer;
  padding: 0 8px 0 0; vertical-align: middle;
}
@media (max-width: 768px) {
  .topnav { position: relative; }
  .nav-toggle { display: inline-block; color: #93a3b5; font-size: 26px; }
  .nav-core a { font-size: 18px; margin-right: 14px; color: #93a3b5; }
  .nav-rest { display: none; position: absolute; left: 0; right: 0; top: 100%;
              background: #1f3b57; z-index: 99; padding: 4px 16px 12px; }
  .nav-rest.open { display: block; }
  .nav-rest a { display: block; margin: 0; padding: 10px 0; font-size: 18px; color: #93a3b5;
                border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-rest a:last-child { border-bottom: none; }
}

/* 手机端隐藏次要列（2026-08-11 文章管理 Id 列） */
@media (max-width: 768px) {
  .hide-mobile { display: none; }
}

/* AI生成内容标识（2026-08-12 2号建议+老板拍板：《人工智能生成合成内容标识办法》） */
.ai-tag {
  display: inline-block;
  font-size: 10px;
  color: #aaa;
  border: 1px solid #e0e0e0;
  border-radius: 3px;
  padding: 0 3px;
  margin-right: 5px;
  vertical-align: 1px;
  white-space: nowrap;
}

/* 哀悼模式：全站黑白（后台开关 site_mourning，2026-08-12） */
html.mourning { filter: grayscale(100%); }

/* 网站公告默认深蓝字体（2026-08-13 老板：仅公告模块默认深蓝，全站其余恢复原色） */
.announce-body { color: #1f3b57; }
.announce-meta { text-align: right; margin-top: 8px; }
