/* 雷报 · IP 商业价值报告
   移动优先（微信内置浏览器为主），系统中文字体，无外部字体或脚本。 */

:root {
  --ink: #141414;          /* 主色：接近黑，与 LOGO 底色一致 */
  --ink-2: #2a2a2a;
  --black: #0f0f0f;
  --gold: #b09358;         /* LOGO 金色（取样 #9c8350–#b89a5e），只用于深色底上的文字、条、边框 */
  --gold-2: #c9ad73;
  --gold-text: #75602f;    /* 浅底上用的深金色文字，白底 ≈ 6:1 */
  --accent: var(--gold);
  --text: #1d1d1f;
  --muted: #5b5f69;        /* 暖白底 ≈ 6:1 */
  --faint: #6a6d75;  /* 白底 ≈ 5:1 */
  --line: #e9e4d9;
  --bg: #f6f4ef;
  --card: #ffffff;
  --soft: #faf8f4;
  --good: #1d7a4c;
  --warn: #9a5800;
  --bad: #b42318;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(40, 30, 10, 0.04), 0 4px 16px rgba(40, 30, 10, 0.05);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.78;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold-text); text-decoration-color: rgba(117, 96, 47, 0.35); text-underline-offset: 3px; }
a:hover { color: #4f401e; }

h1, h2, h3 { color: var(--ink); line-height: 1.35; margin: 0; font-weight: 700; }
h1 { font-size: 1.9rem; letter-spacing: 0.01em; }
h2 { font-size: 1.22rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
h2::before { content: ""; width: 4px; height: 1.05em; border-radius: 2px; background: linear-gradient(180deg, var(--gold-2), #8f7744); flex: none; }
h3 { font-size: 1.06rem; }
p { margin: 0 0 0.9em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding-left: 1.3em; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, var(--font); }

.wrap { max-width: 760px; margin: 0 auto; padding: 16px 14px 40px; }

/* ---------- 顶栏 ---------- */
.topbar { background: var(--black); color: #fff; border-bottom: 1px solid rgba(176, 147, 88, 0.35); }
.topbar-in { max-width: 760px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.seal {
  display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none;
  background: var(--accent); color: #fff; border-radius: 8px; font-weight: 800; font-size: 1.05rem;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.18);
}
.seal.big { width: 56px; height: 56px; font-size: 1.7rem; border-radius: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text b { font-size: 1.05rem; letter-spacing: 0.08em; }
.brand-text small { font-size: 0.74rem; color: rgba(255, 255, 255, 0.78); letter-spacing: 0.04em; }
.topbar-meta { font-size: 0.78rem; color: rgba(255, 255, 255, 0.72); text-align: right; }

/* ---------- 卡片 ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px 18px; margin: 0 0 14px;
}
.section-title { margin: 26px 2px 12px; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
.label { display: block; font-size: 0.78rem; color: var(--muted); letter-spacing: 0.08em; margin-bottom: 6px; }
.kicker { color: var(--gold-text); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; margin: 0 0 6px; }

.banner { margin: 0 0 14px; padding: 12px 14px; border-radius: 10px; background: #fff5e6; border: 1px solid #f1d3a2; color: #6b4300; font-size: 0.93rem; }
.banner.mock { background: #fbeceb; border-color: #efc4c0; color: #7a2620; }

/* ---------- 报告头 ---------- */
.hero { padding: 22px 18px 20px; background: #fff; border-top: 3px solid var(--gold); }
.hero h1 { font-size: 1.95rem; }
.hero-head { display: block; }
.hero-head.has-img { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: start; }
.ip-thumb { margin: 2px 0 0; }
.ip-thumb img { display: block; width: 96px; height: 120px; border-radius: 14px; object-fit: cover; background: #f6f2ea; border: 1px solid #e4dccb; box-shadow: 0 4px 14px rgba(20, 16, 8, 0.12); }
.ip-thumb img.fit-contain { object-fit: contain; padding: 6px; background: #fff; }
.ip-thumb figcaption { margin-top: 4px; font-size: 0.66rem; line-height: 1.3; text-align: center; }
.ip-thumb figcaption a { color: var(--muted); text-decoration: none; }
.hero-name { min-width: 0; }
.hero-head.has-img h1 { overflow-wrap: anywhere; font-size: 1.7rem; }
.hero-head.has-img .chips { margin-top: 10px; }
.aka { color: var(--muted); font-size: 0.9rem; margin: 4px 0 0; }
.chips { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 0.8rem; line-height: 1.6; padding: 2px 10px; border-radius: 999px; background: #f1ece1; color: #4a4232; }

.verdict {
  margin: 18px 0 16px; padding: 16px; border-radius: 12px; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, #2a2418 0%, var(--black) 55%); border: 1px solid rgba(176, 147, 88, 0.35);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.overall { color: var(--gold-2); font-size: 3.1rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.overall small { font-size: 1rem; font-weight: 500; color: rgba(255, 255, 255, 0.7); margin-left: 4px; letter-spacing: 0; }
.meter { display: flex; gap: 4px; margin-top: 10px; }
.meter span { width: 22px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.22); }
.meter span.on { background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.hint { word-break: keep-all; margin: 8px 0 0; font-size: 0.76rem; color: rgba(255, 255, 255, 0.72); }
.verdict-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.verdict-side .label { color: rgba(255, 255, 255, 0.7); margin: 0; }
.verdict .stamp { background: #fff; }

.stamp {
  display: inline-block; padding: 5px 14px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.08em; border: 1.5px solid currentColor; white-space: nowrap; background: #fff;
}
.stamp.sm { font-size: 0.8rem; padding: 1px 10px; letter-spacing: 0.04em; }
.stamp.ok { color: var(--good); }
.stamp.mid { color: var(--warn); }
.stamp.bad { color: var(--bad); }

.summary { font-size: 1.04rem; line-height: 1.85; color: #263045; margin: 0; }

/* ---------- 目录 ---------- */
.toc {
  position: sticky; top: 0; z-index: 5; display: flex; gap: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin: 0 -14px 14px; padding: 10px 14px; background: rgba(246, 244, 239, 0.94);
  backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px); scrollbar-width: none;
}
.toc::-webkit-scrollbar { display: none; }
.toc a {
  flex: none; font-size: 0.84rem; padding: 4px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  color: var(--ink); text-decoration: none;
}
.toc a:hover { border-color: var(--gold); color: var(--gold-text); }
section[id], article[id] { scroll-margin-top: 64px; }

/* ---------- 评分表 ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -4px; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { padding: 10px 8px; text-align: left; vertical-align: middle; }
thead th {
  position: sticky; top: 0; background: var(--soft); color: var(--muted); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.06em; border-bottom: 1px solid var(--line);
}
tbody tr:nth-child(even) { background: #fbfaf6; }
tbody tr + tr { border-top: 1px solid var(--line); }
tbody th { font-weight: 600; white-space: nowrap; }
tbody th a { color: var(--ink); text-decoration: none; }
.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; width: 4.5em; }
.num b { font-size: 1.1rem; color: var(--ink); }
.of { color: var(--faint); font-size: 0.8rem; margin-left: 1px; }
.bar-col { width: 42%; min-width: 90px; }
.track { display: block; height: 8px; border-radius: 4px; background: #ece7dc; overflow: hidden; }
.track b { display: block; height: 100%; border-radius: 4px; background: var(--ink-2); }
.track b.s1, .track b.s2 { background: #c0533f; }
.track b.s3 { background: #c98a1b; }
.track b.s4, .track b.s5 { background: #2c7a5a; }

/* ---------- 关键数据卡 ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.stat { background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.stat-label { font-size: 0.86rem; color: #3d3a33; line-height: 1.5; margin: 0; }
.stat-value { margin: 2px 0 0; color: var(--ink); line-height: 1.2; }
.stat-value strong { font-size: 1.7rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.stat-value .unit { font-size: 0.92rem; margin-left: 4px; color: var(--gold-text); font-weight: 600; }
.orig { font-size: 0.78rem; color: var(--faint); margin: 0; }
.stat-meta, .ev-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 0; }
.stat-note { font-size: 0.82rem; color: var(--muted); line-height: 1.6; margin: 2px 0 0; }
.stat .src { margin-top: auto; padding-top: 4px; font-size: 0.8rem; }

.period { font-size: 0.76rem; color: var(--muted); background: #f1ece1; border-radius: 6px; padding: 1px 8px; line-height: 1.7; }
.flag {
  display: inline-block; font-size: 0.74rem; line-height: 1.6; padding: 1px 9px; border-radius: 999px; white-space: nowrap;
  background: #fff2df; color: #8f5100; border: 1px solid #f2c98c; font-weight: 600;
}
.src { font-size: 0.8rem; white-space: nowrap; }
.orig-inline { color: var(--faint); font-size: 0.84em; }

/* ---------- 分项说明 ---------- */
.dim-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.score-pill { flex: none; font-weight: 800; font-size: 1.05rem; color: #fff; background: var(--ink-2); border-radius: 999px; padding: 2px 12px; font-variant-numeric: tabular-nums; }
.score-pill small { font-weight: 500; opacity: 0.75; margin-left: 1px; font-size: 0.75rem; }
.score-pill.s1, .score-pill.s2 { background: #b4472f; }
.score-pill.s3 { background: #a86f0c; }
.score-pill.s4, .score-pill.s5 { background: #23694d; }
.why { color: #263045; }
.evidence { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.evidence li { position: relative; padding: 10px 12px 10px 14px; background: var(--soft); border-radius: 10px; border-left: 3px solid #d8c9a6; font-size: 0.95rem; line-height: 1.75; }
.evidence li p { margin: 0; }
.unknown { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: #f7f6f3; border: 1px dashed #d9d3c5; color: var(--muted); font-size: 0.9rem; line-height: 1.7; }
.unknown b { display: inline-block; margin-right: 8px; color: #4a4232; font-size: 0.8rem; letter-spacing: 0.08em; }

/* ---------- 列表 / 两栏 ---------- */
.two-col { display: grid; gap: 0 14px; }
.list { display: grid; gap: 8px; padding-left: 1.2em; }
.list li::marker { color: var(--accent); }
.steps-list li::marker { font-weight: 700; }

.sources { padding-left: 1.6em; display: grid; gap: 8px; font-size: 0.9rem; line-height: 1.6; }
.sources li::marker { color: var(--faint); font-variant-numeric: tabular-nums; }
.sources a { word-break: break-word; }
.src-meta { display: block; font-size: 0.78rem; color: var(--muted); }

.caveats { background: #fbfbfc; }
.caveats .list { font-size: 0.93rem; color: #3d3a33; }

.method { font-size: 0.8rem; line-height: 1.75; color: var(--muted); margin: 20px 4px 8px; }
.site-foot { font-size: 0.8rem; color: var(--faint); margin: 0 4px 18px; }

/* ---------- 关注 ---------- */
.follow {
  display: flex; align-items: center; gap: 16px; padding: 18px; margin: 10px 0 0; border-radius: var(--radius);
  background: radial-gradient(120% 140% at 100% 0%, #2a2418 0%, var(--black) 60%); color: #fff; border: 1px solid rgba(176, 147, 88, 0.4);
}
.follow .follow-qr { width: 112px; height: 112px; flex: none; border-radius: 10px; background: #fff; padding: 6px; }
.follow p { margin: 0; font-size: 0.88rem; line-height: 1.7; color: rgba(255, 255, 255, 0.86); }
.follow .follow-title { font-size: 1.02rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.colophon { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 14px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--black); font-size: 0.8rem; color: rgba(255, 255, 255, 0.72); }
.colophon img { width: 30px; height: auto; }
.colophon b { color: var(--gold-2); letter-spacing: 0.08em; margin-right: 4px; }

/* ---------- 按钮 / 命令 ---------- */
.btn { display: inline-block; padding: 9px 20px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.btn:hover { background: var(--ink-2); color: #fff; }
.btn.light { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #111; }
.btn.light:hover { background: var(--gold-2); color: #000; }
.cmd-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.cmd { display: inline-block; font-size: 0.92rem; padding: 6px 12px; border-radius: 8px; background: #f3efe6; color: var(--ink); border: 1px solid #e3dccb; }
.cmd.inline { padding: 1px 6px; font-size: 0.85rem; }

/* ---------- 首页 ---------- */
.home-hero { background: radial-gradient(90% 80% at 50% 0%, #2a2419 0%, var(--black) 62%); color: #fff; border-bottom: 1px solid rgba(176, 147, 88, 0.4); }
.home-hero-in { max-width: 760px; margin: 0 auto; padding: 40px 20px 36px; }
.home-brand { color: #fff; font-size: 2.8rem; letter-spacing: 0.18em; margin: 14px 0 2px; }
.home-sub { font-size: 1.05rem; color: rgba(255, 255, 255, 0.85); letter-spacing: 0.12em; margin: 0 0 18px; }
.home-lede { color: rgba(255, 255, 255, 0.86); font-size: 0.98rem; line-height: 1.85; max-width: 36em; margin-bottom: 20px; }
.page-home .wrap { margin-top: -18px; }

.howto { list-style: none; padding: 0; margin: 14px 0 18px; counter-reset: s; display: grid; gap: 12px; }
.howto li { counter-increment: s; position: relative; padding-left: 44px; min-height: 32px; }
.howto li::before {
  content: counter(s); position: absolute; left: 0; top: 2px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--black); color: var(--gold-2); font-weight: 700; font-size: 0.9rem;
}
.howto b { display: block; color: var(--ink); }
.howto span { display: block; color: var(--muted); font-size: 0.93rem; line-height: 1.7; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; margin-bottom: 14px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; box-shadow: var(--shadow); }
.feature-no { display: block; font-size: 0.78rem; font-weight: 800; color: var(--gold-text); letter-spacing: 0.1em; margin-bottom: 4px; }
.feature h3 { margin-bottom: 4px; }
.feature p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; margin: 0; }

.ip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); gap: 8px; margin-bottom: 12px; }
.ip-card { padding: 12px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); }
.ip-card b { display: block; color: var(--ink); font-size: 0.98rem; }
.ip-card code { font-size: 0.78rem; color: var(--muted); }

.empty { text-align: center; padding: 36px 20px; }
.empty-mark { font-size: 3.4rem; font-weight: 800; color: #e4dccb; line-height: 1; margin-bottom: 10px; letter-spacing: 0.06em; }
.empty h1 { margin-bottom: 10px; font-size: 1.6rem; }
.empty .cmd-row { justify-content: center; margin-top: 4px; }

/* ---------- 桌面 ---------- */
@media (min-width: 720px) {
  body { font-size: 17px; }
  .wrap { padding: 24px 20px 56px; }
  .card { padding: 26px 28px; margin-bottom: 18px; }
  .hero { padding: 32px 32px 28px; }
  .hero h1 { font-size: 2.4rem; }
  .hero-head.has-img { grid-template-columns: 150px minmax(0, 1fr); gap: 24px; }
  .hero-head.has-img h1 { font-size: 2.4rem; }
  .ip-thumb img { width: 150px; height: 180px; border-radius: 18px; }
  .verdict { padding: 20px 24px; }
  .overall { font-size: 3.6rem; }
  .toc { margin: 0 -20px 18px; padding: 10px 20px; }
  .two-col { grid-template-columns: 1fr 1fr; }
  .two-col > .card:only-child { grid-column: 1 / -1; }
  .follow { padding: 22px 26px; gap: 22px; }
  .follow .follow-qr { width: 128px; height: 128px; }
  .home-hero-in { padding: 64px 20px 56px; }
  .home-brand { font-size: 3.4rem; }
  .page-home .wrap { margin-top: -28px; }
}

@media (max-width: 380px) {
  .verdict { flex-direction: column; align-items: flex-start; }
  .verdict-side { align-items: flex-start; flex-direction: row; align-items: center; }
  .follow { flex-direction: column; text-align: center; }
}

/* ---------- 打印 ---------- */
@media print {
  @page { margin: 14mm 12mm; }
  body { background: #fff; font-size: 11pt; line-height: 1.6; color: #000; }
  .topbar, .toc, .follow, .btn, .site-foot { display: none !important; }
  .wrap { max-width: none; padding: 0; }
  .card, .feature, .stat { box-shadow: none; border-color: #ccc; break-inside: avoid; }
  .verdict { background: #fff; color: #000; border: 1px solid #999; }
  .overall small, .hint, .verdict-side .label { color: #444; }
  .meter span { background: #ddd; } .meter span.on { background: #555; }
  a { color: #000; text-decoration: none; }
  .sources a::after { content: " (" attr(href) ")"; font-size: 8pt; color: #555; word-break: break-all; }
  .home-hero { background: #fff; color: #000; }
}

/* ---------- 细调 ---------- */
.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat-value strong { font-size: 1.5rem; }
.feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature { padding: 14px; }
.ip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) {
  .topbar-meta { display: none; }
}
@media (max-width: 340px) {
  .stats, .feature-grid { grid-template-columns: 1fr; }
}
@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-value strong { font-size: 1.7rem; }
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ip-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* ---------- LOGO ---------- */
.brand { gap: 12px; }
.brand-logo { width: 46px; height: auto; display: block; flex: none; }
.brand-sub { font-size: 0.8rem; letter-spacing: 0.1em; color: var(--gold-2); padding-left: 12px; border-left: 1px solid rgba(201, 173, 115, 0.45); line-height: 1.4; }
.home-brand { margin: 0 0 6px; line-height: 0; }
.home-brand img { width: 132px; height: auto; }
.home-sub { color: var(--gold-2); }
.home-hero-in { text-align: center; }
.home-lede { margin-left: auto; margin-right: auto; }
.follow .follow-logo { width: 40px; height: auto; display: block; margin-bottom: 8px; background: none; padding: 0; border: 0; }
.follow .follow-title { color: #fff; }
.follow-qr { border: 2px solid rgba(201, 173, 115, 0.6); }
.verdict-side .label { color: rgba(255, 255, 255, 0.72); }
@media (min-width: 720px) {
  .brand-logo { width: 52px; }
  .brand-sub { font-size: 0.86rem; }
  .home-brand img { width: 168px; }
}
@media (max-width: 380px) {
  .follow-logo { margin: 0 auto 8px; }
}
@media print {
  .colophon { background: #fff; color: #000; }
  .overall { color: #000; }
}

/* ---------- 图表 ---------- */
.chart-svg { display: block; width: 100%; height: auto; max-width: 560px; margin: 0 auto; overflow: visible; }
.radar { margin: 0 auto 10px; max-width: 420px; }
.charts { display: grid; gap: 14px; }
.chart { margin: 0; padding: 14px 12px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; break-inside: avoid; }
.chart-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: 8px; }
.chart-title { font-weight: 700; color: var(--ink); font-size: 0.98rem; line-height: 1.5; }
.chart-note { font-size: 0.78rem; color: var(--muted); margin: 6px 0 0; line-height: 1.6; }
.chart-src { font-size: 0.78rem; color: var(--muted); margin: 6px 0 0; }
.chart-src a { margin-right: 4px; }
.chart-data { margin-top: 8px; font-size: 0.86rem; }
.chart-data summary { cursor: pointer; color: var(--gold-text); font-size: 0.8rem; width: max-content; }
.chart-data table { font-size: 0.84rem; margin-top: 6px; }
.chart-data th, .chart-data td { padding: 6px 8px; }
.chart-data tbody th { white-space: normal; font-weight: 500; }
@media (min-width: 720px) {
  .charts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chart-compare, .chart-trend:only-child { grid-column: auto; }
}
@media print {
  .chart-data { display: block; }
  .chart-data[open] summary, .chart-data summary { display: none; }
}

/* ---------- 正文配图 ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 4px 0 2px; }
.gallery.one { grid-template-columns: minmax(0, 1fr); }
.dim-figs { margin-top: 12px; }
.dim-figs .gallery.one { max-width: 420px; }
.gfig { margin: 0; background: #faf7f0; border: 1px solid #e8e0cd; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.gimg { aspect-ratio: 1 / 1; background: #fff; overflow: hidden; }
.gallery.one .gimg { aspect-ratio: 16 / 10; }
.gimg img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gimg img.fit-contain { object-fit: contain; background: #fff; }
.gfig figcaption { padding: 7px 9px 8px; font-size: 0.78rem; line-height: 1.4; border-top: 2px solid var(--gold); }
.gcap { display: block; color: var(--ink); font-weight: 600; }
.gsrc { display: block; margin-top: 3px; color: var(--muted); font-size: 0.7rem; text-decoration: none; }
a.gsrc:hover { color: var(--gold-text); text-decoration: underline; }
.sub-h { font-size: 1rem; margin: 16px 0 8px; padding-left: 8px; border-left: 3px solid var(--gold); }
@media (min-width: 720px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .gallery.one { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
}

/* ---------- 社交媒体 ---------- */
.social-note { color: var(--muted); font-size: 0.8rem; line-height: 1.55; margin: 0 0 12px; }
.social-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.social-card { border: 1px solid #e8e0cd; border-radius: 12px; padding: 10px 11px; background: #fdfbf6; min-width: 0; }
.social-card.empty { background: #f7f5f0; }
.social-head { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; font-size: 0.92rem; }
.pf-badge { display: inline-flex; width: 24px; height: 24px; border-radius: 7px; align-items: center; justify-content: center; color: #fff; font-size: 0.78rem; font-weight: 800; flex: none; }
.pf-douyin { background: #111; box-shadow: inset -2px 0 0 #25f4ee, inset 2px 0 0 #fe2c55; }
.pf-weibo { background: #e6162d; }
.pf-xiaohongshu { background: #ff2442; }
.pf-channels { background: #fa9d3b; }
.pf-kuaishou { background: #ff4906; }
.pf-bilibili { background: #00a1d6; }
.acct { border-top: 1px dashed #e4dccb; padding-top: 6px; margin-top: 6px; }
.acct-name { font-weight: 700; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.acct-role { display: block; font-size: 0.72rem; color: var(--muted); }
.vbadge { color: #7a5c1c; font-weight: 700; }
.acct-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin: 6px 0 4px; }
.acct-stats div { background: #fff; border: 1px solid #eee5d2; border-radius: 8px; padding: 4px 2px; text-align: center; }
.acct-stats dt { font-size: 0.66rem; color: var(--muted); }
.acct-stats dd { margin: 0; font-weight: 800; font-size: 0.84rem; white-space: nowrap; letter-spacing: -0.02em; color: var(--gold-text); }
.acct-src { display: block; font-size: 0.66rem; color: var(--muted); text-decoration: none; overflow-wrap: anywhere; }
.topic { margin-top: 6px; font-size: 0.76rem; }
.topic b { display: block; font-size: 1rem; color: var(--gold-text); }
.sec-item { font-size: 0.76rem; line-height: 1.5; margin: 6px 0 0; overflow-wrap: anywhere; }
.sec-item .acct-src { display: inline; }
.na { color: #9a927f; font-size: 0.8rem; margin: 4px 0 0; }
.social-chart { margin-top: 14px; }
@media (max-width: 360px) { .social-grid { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 720px) { .social-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* 雷报自有报道 */
.lb-badge { display: inline-block; font-size: 0.64rem; line-height: 1; padding: 3px 5px; border-radius: 4px; background: #111; color: #e8c977; font-weight: 800; letter-spacing: 0.04em; vertical-align: 1px; margin-right: 2px; }
.lb-list { list-style: none; margin: 8px 0 0; padding: 0; }
.lb-list li { padding: 9px 0; border-top: 1px solid #eee5d2; }
.lb-list li:first-child { border-top: 0; }
.lb-list a { color: inherit; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.lb-list .src-meta { display: block; margin-top: 3px; font-size: 0.72rem; color: var(--muted); }
.lb-list .src-meta a { font-weight: 500; color: var(--gold-text); }
.lb-cited { color: var(--gold-text); font-weight: 700; }
.lb-note { font-size: 0.74rem; }
