/* ==========================================================================
   跨境资讯阅读器（左树右文）· v3 浅色
   浅色外壳 + 白色「纸面」正文：正文片段自带浅色主题，纸面保证可读性
   ========================================================================== */

/* ---------------------------------------------------------------- 顶部阅览栏 */
.rmk {
  position: sticky; top: 0; z-index: 40;
  height: 58px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.6) blur(12px);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--border);
}
.rmk__in {
  max-width: 1440px; margin: 0 auto; height: 100%;
  padding: 0 20px; display: flex; align-items: center; gap: 16px;
}
.rmk__brand { display: flex; align-items: center; gap: 10px; flex: none; }
.rmk__brand img { width: 28px; height: 28px; border-radius: 8px; }
.rmk__brand b { font-size: 15.5px; color: var(--brand-ink); letter-spacing: .2px; }
.rmk__brand span {
  font-size: 10.5px; letter-spacing: 1.6px; color: var(--text-3);
  border-left: 1px solid var(--border-2); padding-left: 10px; margin-left: 2px;
}
.rmk__search { flex: 1; max-width: 440px; position: relative; }
.rmk__search input {
  width: 100%; height: 36px; border-radius: 999px;
  border: 1px solid var(--border); background: #f4f7ff;
  padding: 0 14px 0 36px; font: inherit; font-size: 13.5px; color: var(--text);
}
.rmk__search input::placeholder { color: var(--text-3); }
.rmk__search input:focus {
  outline: none; border-color: var(--brand); background: #fff;
  box-shadow: 0 0 0 3px rgba(93, 135, 255, .16);
}
.rmk__search::before {
  content: "🔍"; position: absolute; left: 12px; top: 50%;
  transform: translateY(-50%); font-size: 12px; opacity: .55;
}
.rmk__nav { margin-left: auto; display: flex; align-items: center; gap: 4px; flex: none; }
.rmk__nav a {
  font-size: 13.5px; color: var(--text-2); padding: 7px 11px; border-radius: 9px;
  white-space: nowrap;
}
.rmk__nav a:hover { background: var(--brand-tint); color: var(--brand-deep); }
.rmk__nav a.is-cta {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-weight: 800;
}
.rmk__nav a.is-cta:hover { color: #fff; filter: brightness(1.08); }
.rmk__burger { display: none; }

/* ---------------------------------------------------------------- 主布局 */
.rd {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: 306px minmax(0, 1fr);
  gap: 0; align-items: start;
  min-height: calc(100vh - 58px);
}
/* 遮罩只在移动端出现；桌面端必须 display:none，否则它会占掉一个网格单元把正文挤走 */
.rd__side  { grid-column: 1; }
.rd__main  { grid-column: 2; }
.rd__scrim { display: none; }

/* ---------------------------------------------------------------- 左栏 */
.rd__side {
  position: sticky; top: 58px;
  height: calc(100vh - 58px);
  display: flex; flex-direction: column;
  border-right: 1px solid var(--border);
  background: #fbfcff;
}
.rd__desk {
  padding: 18px 20px 10px; flex: none;
  font-family: var(--mono); font-size: 10px; font-weight: 800; letter-spacing: 2.2px;
  color: var(--text-3); text-transform: uppercase;
}
.rd__tabs {
  display: flex; gap: 2px; padding: 0 14px 12px; flex: none;
  border-bottom: 1px solid var(--border);
}
.rd__tab {
  flex: 1; text-align: center; padding: 8px 4px; border: 0; background: none;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--text-3);
  cursor: pointer; border-radius: 9px; position: relative; transition: .15s;
}
.rd__tab:hover { background: var(--brand-tint); color: var(--brand-deep); }
.rd__tab.is-on { color: var(--brand-deep); background: var(--brand-tint); }
.rd__tab.is-on::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  width: 22px; height: 2px; border-radius: 2px; background: var(--brand);
}
.rd__tab i { font-style: normal; font-size: 11px; color: var(--text-3); margin-left: 3px; }

.rd__list { flex: 1; overflow-y: auto; padding: 12px 12px 24px; scrollbar-width: thin; }
.rd__list::-webkit-scrollbar { width: 8px; }
.rd__list::-webkit-scrollbar-thumb {
  background: rgba(138, 151, 181, .35); border-radius: 8px;
  border: 2px solid transparent; background-clip: padding-box;
}
.rd__group {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 8px 6px; font-size: 12px; font-weight: 700; color: var(--text-2);
}
.rd__group em { font-style: normal; color: var(--text-3); font-weight: 600; font-size: 11px; }
.rd__item {
  display: block; width: 100%; text-align: left; border: 0; cursor: pointer;
  background: none; font: inherit; padding: 9px 10px; border-radius: 10px;
  border-left: 3px solid transparent; margin-bottom: 2px; transition: .14s;
}
.rd__item:hover { background: #eef2ff; }
.rd__item.is-on {
  background: var(--brand-tint); border-left-color: var(--brand);
}
.rd__item.is-on .rd__it { color: var(--brand-ink); font-weight: 600; }
.rd__ih { display: flex; align-items: baseline; gap: 7px; margin-bottom: 3px; }
.rd__id { font-family: var(--mono); font-size: 12px; font-weight: 800; color: var(--text-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rd__item.is-on .rd__id { color: var(--brand-deep); }
.rd__lv {
  font-size: 10px; font-weight: 800; padding: 1px 6px; border-radius: 5px;
  background: rgba(226, 60, 60, .10); color: #c22b2b; border: 1px solid rgba(226, 60, 60, .26); white-space: nowrap;
}
.rd__lv--important { background: rgba(214, 138, 0, .12); color: #a06400; border-color: rgba(214, 138, 0, .28); }
.rd__it {
  display: block; font-size: 13.2px; line-height: 1.55; color: var(--text-2);
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.rd__snip {
  display: block; margin-top: 4px; padding-left: 8px;
  border-left: 2px solid var(--border-2);
  font-size: 11.5px; line-height: 1.5; color: var(--text-3);
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.rd__empty { padding: 30px 12px; text-align: center; color: var(--text-3); font-size: 13.5px; }
.rd__sidefoot { flex: none; padding: 12px 14px; border-top: 1px solid var(--border); }
.rd__sidefoot a {
  display: block; text-align: center; font-size: 13px; font-weight: 700;
  padding: 9px; border-radius: 10px; background: var(--accent-soft);
  color: var(--accent-ink); border: 1px solid #ffd9a8;
}
.rd__sidefoot a:hover { background: #ffe9cf; color: var(--accent-ink); }
.rd__sidefoot p { margin: 8px 2px 0; font-size: 11.5px; color: var(--text-3); line-height: 1.5; }
.rd__sidefoot p strong { color: var(--accent-ink); }
.rd__sidefoot .rd__credit {
  margin-top: 10px; padding-top: 9px;
  border-top: 1px dashed var(--border);
  font-size: 11px; color: var(--text-3); opacity: .82;
}

/* ---------------------------------------------------------------- 右栏正文 */
.rd__main { min-width: 0; padding: 30px 34px 70px; }
.rd__art { max-width: 880px; margin: 0 auto; }
.rd__eyebrow {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--brand-deep);
  letter-spacing: .8px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border); margin-bottom: 20px;
}
.rd__eyebrow span { color: var(--text-3); font-weight: 600; letter-spacing: 0; font-family: var(--font); }
.rd__title { font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 18px; color: var(--brand-ink); }
.rd__stats {
  display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 26px;
  border: 1px solid var(--border); border-radius: 12px;
  background: #fff; overflow: hidden; box-shadow: var(--shadow-sm);
}
.rd__stat { flex: 1 1 120px; padding: 12px 16px; border-right: 1px solid var(--border); }
.rd__stat:last-child { border-right: 0; }
.rd__stat b {
  display: block; font-family: var(--mono); font-size: 19px; color: var(--brand-deep);
  font-variant-numeric: tabular-nums; line-height: 1.25;
}
.rd__stat span { font-size: 11.5px; color: var(--text-3); }

/* 「纸面」：承载浅色正文片段，保证既有内容的可读性 */
.rd__body {
  background: var(--paper); color: #1C2B3A;
  border-radius: 16px; padding: 32px 34px 38px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 15.5px;
}
.rd__body a { color: #1E6FEB; }
.rd__body a:hover { color: #1250A8; }
.rd__body h1, .rd__body h2, .rd__body h3, .rd__body h4 { color: #12253C; }
.rd__body strong { color: #12253C; }
.rd__body blockquote { border-left-color: #CFE2F5; color: #43596F; }
.rd__body img { border-radius: 12px; }

/* 片段落地：抹平源模板的整页背景，只保留内容版式 */
.sf-art {
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 15.5px;
}
.sf-art .wrap { max-width: 100% !important; margin: 0 !important; }
.sf-art > .wrap > *:first-child { margin-top: 0 !important; }

.rd__loading { padding: 40px 0; text-align: center; color: #6A7F96; font-size: 14px; }
.rd__loading::after {
  content: ""; display: block; width: 26px; height: 26px; margin: 14px auto 0;
  border: 3px solid rgba(30, 111, 235, .22); border-top-color: #1E6FEB;
  border-radius: 50%; animation: rd-spin .8s linear infinite;
}
@keyframes rd-spin { to { transform: rotate(360deg); } }
.rd__err { padding: 40px 0; text-align: center; color: #c22b2b; font-size: 14px; }

/* 期次翻页 */
.rd__pager {
  display: flex; justify-content: space-between; gap: 12px; margin-top: 28px;
  padding-top: 22px; border-top: 1px solid var(--border);
}
.rd__pager a, .rd__pager span {
  flex: 1; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--border);
  background: #fff; font-size: 13.5px; color: var(--text-2);
  transition: .2s; box-shadow: var(--shadow-sm);
}
.rd__pager a:hover {
  border-color: var(--brand); color: var(--brand-deep);
  background: var(--brand-tint);
}
.rd__pager small { display: block; font-size: 11px; color: var(--text-3); margin-bottom: 3px; }
.rd__pager .is-next { text-align: right; }
.rd__pager span { opacity: .42; }

/* 搜索结果态 */
.rd__hint {
  margin: 0 0 16px; padding: 10px 14px; border-radius: 10px;
  background: var(--brand-tint); border: 1px solid rgba(93, 135, 255, .22);
  color: var(--brand-deep); font-size: 13px;
}

/* ---------------------------------------------------------------- 响应式 */
@media (max-width: 1080px) {
  .rd { grid-template-columns: 264px minmax(0, 1fr); }
  .rd__main { padding: 24px 20px 60px; }
  .rd__body { padding: 26px 22px 30px; }
}

@media (max-width: 860px) {
  .rmk__brand span { display: none; }
  .rmk__nav a:not(.is-cta) { display: none; }
  .rmk__search { max-width: none; }
  .rmk__burger {
    display: grid; place-items: center; width: 36px; height: 36px; flex: none;
    border: 1px solid var(--border); border-radius: 9px;
    background: #f4f7ff; color: var(--text);
    font-size: 15px; cursor: pointer; margin-left: auto;
  }
  .rd { grid-template-columns: 1fr; min-height: 0; }
  .rd__side {
    position: fixed; top: 58px; left: 0; bottom: 0; width: min(84vw, 320px);
    z-index: 60; height: auto; transform: translateX(-102%);
    transition: transform .22s ease; box-shadow: var(--shadow-lg);
    background: #fff;
  }
  .rd__side.is-open { transform: none; }
  .rd__side, .rd__main { grid-column: auto; }
  .rd__scrim {
    display: block;
    position: fixed; inset: 58px 0 0; background: rgba(2, 5, 12, .62);
    z-index: 55; opacity: 0; pointer-events: none; transition: opacity .2s;
  }
  .rd__scrim.is-open { opacity: 1; pointer-events: auto; }
  .rd__main { padding: 20px 16px 60px; }
  .rd__body { padding: 20px 16px 24px; border-radius: 14px; }
  .rd__stat { flex-basis: 50%; border-bottom: 1px solid var(--border); }
  .rd__pager { flex-direction: column; }
  .rd__pager .is-next { text-align: left; }
}

@media (max-width: 520px) {
  .rd__stat b { font-size: 17px; }
  .rd__title { font-size: 24px; }
}

/* ==========================================================================
   刊物归一化 —— 日报 / 周报 / 月报统一视觉
   --------------------------------------------------------------------------
   背景：三套刊物原本是三种媒介的设计，各自成篇没问题，但放进同一个阅读器
   里切换时观感跳变，非常突兀。实测差异：

     维度        日报            周报             月报
     ─────────────────────────────────────────────────────────
     设计宽      720px           1200px           2400px
     正文基准    13.5px          14.5px           18~28px
     章节标题    section-title    section-title    section-title h2 46px
     头部区块    无 / .header    header.hero      main.report>section.hero（1186px 高）
     正文主色    #1e6feb          #0b5bd3          #0d6efd
     圆角        14 / 18px        16 / 24px        20 / 38px

   做法：源片段一个字不改，全部在阅读器侧覆盖（三套各自带 sf-art--daily /
   --weekly / --monthly 修饰类，可直接定位）。这样历史 26 期无需重新生成，
   以后新刊自动套用同一套规则。
   ========================================================================== */

/* ---------- 1. 外壳：去掉各自的整页容器，统一到纸面 ---------- */
.rd__body .sf-art .wrap,
.rd__body .sf-art .report {
  width: 100% !important; max-width: 100% !important;
  margin: 0 !important; padding: 0 !important;
  background: transparent !important; border: 0 !important;
  border-radius: 0 !important; box-shadow: none !important;
  overflow: visible !important;
}
.rd__body .sf-art {
  font-size: 14px !important; line-height: 1.72 !important;
  color: #1F2E44 !important;
}

/* ---------- 2. 头部区块：三套统一为同一块深色头 ---------- */
.rd__body .sf-art--weekly .hero,
.rd__body .sf-art--monthly .hero,
.rd__body .sf-art .header {
  min-height: auto !important;
  padding: 20px 22px 18px !important;
  margin: 0 0 18px !important;
  border-radius: 16px !important;
  background: linear-gradient(118deg, #0d1830, #16294f 45%, #2c2150) !important;
  box-shadow: 0 8px 22px rgba(24, 39, 75, .16) !important;
  overflow: hidden !important;
}
/* 月报：hero 内是「左文 + 右雷达 + 底部四统计」，2400px 设计稿里并排很好看，
   压到 810px 后单列会把头部拉成 770px 高。保持两栏但收窄雷达，头部压到 ~350px */
.rd__body .sf-art--monthly .hero-grid {
  grid-template-columns: minmax(0, 1fr) 212px !important;
  gap: 16px !important; align-items: start !important;
}
.rd__body .sf-art--monthly .radar-card {
  min-height: auto !important; padding: 12px !important; border-radius: 14px !important;
  background: rgba(255, 255, 255, .10) !important; border: 1px solid rgba(255, 255, 255, .22) !important;
}
.rd__body .sf-art--monthly .radar { max-width: 100% !important; margin: 0 auto !important; display: block !important; }
.rd__body .sf-art--monthly .hero-bottom {
  grid-template-columns: repeat(4, 1fr) !important; gap: 8px !important; margin-top: 16px !important;
}

/* 头部内文字尺度：月报 20~44px、周报 17px → 统一 12.5~15px */
.rd__body .sf-art--weekly .brand { font-size: 12.5px !important; letter-spacing: 1px !important; }
.rd__body .sf-art--weekly .hero .sub { font-size: 13.5px !important; }
.rd__body .sf-art--weekly .hero .chips { margin-top: 11px !important; gap: 7px !important; }
.rd__body .sf-art--weekly .chip { font-size: 12px !important; padding: 3px 10px !important; }
.rd__body .sf-art--weekly .verify {
  font-size: 13.5px !important; padding: 11px 14px !important;
  margin-top: 14px !important; border-radius: 12px !important;
}
.rd__body .sf-art--monthly .eyebrow {
  font-size: 12px !important; padding: 5px 12px !important; letter-spacing: .06em !important;
}
.rd__body .sf-art--monthly .subtitle { font-size: 14px !important; line-height: 1.7 !important; max-width: none !important; margin: 10px 0 0 !important; }
.rd__body .sf-art--monthly .hero-meta { gap: 8px !important; margin-top: 14px !important; }
.rd__body .sf-art--monthly .hero-meta span {
  font-size: 12.5px !important; padding: 5px 11px !important; border-radius: 999px !important;
}
.rd__body .sf-art--monthly .radar-title { font-size: 12.5px !important; }
.rd__body .sf-art--monthly .radar-title b { font-size: 15px !important; }
.rd__body .sf-art--monthly .hero-stat { padding: 12px 14px !important; border-radius: 12px !important; }
.rd__body .sf-art--monthly .hero-stat b { font-size: 22px !important; }
.rd__body .sf-art--monthly .hero-stat span { font-size: 12.5px !important; margin-top: 5px !important; line-height: 1.5 !important; }

/* ---------- 3. 章节标题：三套统一 ---------- */
.rd__body .sf-art .section-title,
.rd__body .sf-art .section-title h2,
.rd__body .sf-art h2 {
  font-size: 17px !important; line-height: 1.45 !important;
  font-weight: 800 !important; letter-spacing: 0 !important;
  color: #12253C !important; margin: 0 0 12px !important;
  gap: 9px !important;
}
.rd__body .sf-art .section-title .bar {
  width: 4px !important; height: 15px !important; border-radius: 3px !important;
  background: linear-gradient(180deg, #5d87ff, #7c6ce0) !important; flex: none !important;
}
.rd__body .sf-art .section-title .sub,
.rd__body .sf-art .section-title p {
  font-size: 12.5px !important; font-weight: 600 !important;
  color: #8a97b5 !important; margin: 0 !important; max-width: none !important;
}
.rd__body .sf-art h3,
.rd__body .sf-art h4 {
  font-size: 15px !important; line-height: 1.5 !important;
  font-weight: 700 !important; letter-spacing: 0 !important;
  color: #12253C !important; margin: 0 0 8px !important;
}

/* ---------- 4. 卡片：圆角 / 描边 / 阴影 / 内边距统一 ---------- */
.rd__body .sf-art .card,
.rd__body .sf-art .judge,
.rd__body .sf-art .panel,
.rd__body .sf-art .chart-card,
.rd__body .sf-art .quick,
.rd__body .sf-art .metric,
.rd__body .sf-art .news-card,
.rd__body .sf-art .platform,
.rd__body .sf-art .qr-block {
  border-radius: 14px !important;
  border: 1px solid #dce9f8 !important;
  box-shadow: 0 3px 12px rgba(30, 111, 235, .06) !important;
  padding: 16px !important;
  margin-bottom: 12px !important;
}
/* 提示条保留自己的警示底色，只统一尺寸 */
.rd__body .sf-art .notice {
  border-radius: 12px !important; padding: 11px 14px !important;
  font-size: 13px !important; line-height: 1.7 !important; margin-bottom: 12px !important;
}

/* ---------- 5. 正文与列表：统一到 14px / 1.75 ---------- */
.rd__body .sf-art p,
.rd__body .sf-art li,
.rd__body .sf-art .impact,
.rd__body .sf-art .tl-desc,
.rd__body .sf-art .platform-desc,
.rd__body .sf-art .judgment p,
.rd__body .sf-art .news-card li {
  font-size: 14px !important; line-height: 1.75 !important;
}
.rd__body .sf-art .impact {
  padding: 9px 13px !important; border-radius: 0 9px 9px 0 !important;
  border-left: 3px solid #5d87ff !important; margin-top: 9px !important;
}
.rd__body .sf-art .meta { font-size: 12.5px !important; gap: 10px !important; margin: 9px 0 4px !important; }

/* ---------- 6. 数字与标签：统一 ---------- */
.rd__body .sf-art .metric b,
.rd__body .sf-art .bar-row strong { font-size: 20px !important; line-height: 1.2 !important; }
.rd__body .sf-art .metric span { font-size: 12.5px !important; margin-top: 5px !important; }
.rd__body .sf-art .tl-date,
.rd__body .sf-art .platform-name { font-size: 15px !important; }
.rd__body .sf-art .priority,
.rd__body .sf-art .item-no,
.rd__body .sf-art .tl-tag,
.rd__body .sf-art .platform-tag,
.rd__body .sf-art .small-note,
.rd__body .sf-art .source-links,
.rd__body .sf-art .next { font-size: 12.5px !important; }
.rd__body .sf-art .bar-row { grid-template-columns: 108px 1fr 52px !important; gap: 10px !important; }
.rd__body .sf-art .metric-grid,
.rd__body .sf-art .judgments { gap: 12px !important; }

/* ---------- 7. 页脚区块 ---------- */
.rd__body .sf-art .footer {
  border-radius: 14px !important; padding: 16px !important; margin-top: 18px !important;
}
.rd__body .sf-art .footer h2 { font-size: 17px !important; margin: 0 0 10px !important; }
.rd__body .sf-art .footer p { font-size: 13px !important; line-height: 1.7 !important; }

/* ---------- 8. 窄屏微调 ---------- */
@media (max-width: 760px) {
  .rd__body .sf-art { font-size: 13.5px !important; }
  .rd__body .sf-art--weekly .hero,
  .rd__body .sf-art--monthly .hero,
  .rd__body .sf-art .header { padding: 16px 16px 14px !important; }
  .rd__body .sf-art--monthly .hero-grid { grid-template-columns: 1fr !important; }
  .rd__body .sf-art--monthly .radar { max-width: 250px !important; }
  .rd__body .sf-art--monthly .hero-bottom { grid-template-columns: repeat(2, 1fr) !important; }
  .rd__body .sf-art p,
  .rd__body .sf-art li,
  .rd__body .sf-art .impact,
  .rd__body .sf-art .tl-desc,
  .rd__body .sf-art .platform-desc { font-size: 13.5px !important; }
  .rd__body .sf-art .section-title,
  .rd__body .sf-art .section-title h2,
  .rd__body .sf-art h2 { font-size: 16px !important; }
  .rd__body .sf-art .bar-row { grid-template-columns: 88px 1fr 44px !important; }
}

/* ---------------------------------------------------------------- 打印 */
@media print {
  .rmk, .rd__side, .rd__pager { display: none !important; }
  .rd { grid-template-columns: 1fr; }
  .rd__main { padding: 0; }
  .rd__body { box-shadow: none; border: 0; padding: 0; background: #fff; }
}
