/* ══════════════════════════════════════════════════════════════════════
   ISABER 正文对比度防线 — 白卡深字（v5 · 定稿）
   ──────────────────────────────────────────────────────────────────────
   症状：正文白卡里的文字是浅色（#C7D2DF / #ffffff）压白底 → 对比度 1.00，完全隐形。
   根因：主题 assets/blog-layout.css 为**深色页面**服务（实测页面底色 #0A1628），
        把 .entry-content 的 p/h3/li/strong 一律 !important 染浅 —— 它不知道正文里有白卡。
        级联实测：body.single-post .entry-content h3 = (0,2,2)  ← 赢
                  .sbx .svg-wrap h3                = (0,2,1)  ← 输
        所以套件自己写的深字规则会被主题压掉。

   ⛔ 两条设计红线（v1~v4 翻车教训，勿犯）：
     ① **绝不动全局正文色**。页面底色是深色，正文本来就该是浅字。
        v2 用 `color:inherit` 把正文带成深字 → 深底深字全站 1.01，比原病更糟。
     ② **只给"经全站矩阵验证恒为浅底"的容器补深字**。
        v3/v4 凭印象加了 `.cbar-wrap`、`.viz-section` → 前者在深底上、后者时浅时深，
        共在 27 个页面制造出 200+ 处新的深底深字。

   ✅ 安全依据：scan_container_matrix.py 扫遍 **97 页全部类名容器**，
      下面列出的 7 个容器**每一页都是浅底**（0 次深底），故可一刀切。

   特异性：`body.single-post .entry-content .容器 标签` = (0,3,2) > 主题 (0,2,2)；
          双方都 !important 时由特异性取胜，与源顺序无关。
   ══════════════════════════════════════════════════════════════════════ */

/* ① 恒浅容器内的文字 → 显式深字 --------------------------------------
   矩阵实测（浅底节点数 / 出现页数）：
     .wtab-wrap    25/11   .svg-wrap 13/11   .isaber-card 2/2
     .ic-thumb      2/2    .lfs-bars  2/2    .lfs-spec-card 1/1   .lfs-card 1/1
   ⛔ 不含 td —— `.sbx .wtab td` 本来就是深字，无需覆盖。
   ⛔ 不含 th —— 表头是深底 #132A4A，必须保持浅字（见 ③）。
   ⛔ 不含 .viz-section —— 时浅时深（浅11/深7/透明22），**不可按类名修**。
   ⛔ 不含 .cbar-wrap —— 自身无背景，落在深底上，文字应保持浅色。 */
body.single-post .entry-content .wtab-wrap p,
body.single-post .entry-content .wtab-wrap div,
body.single-post .entry-content .wtab-wrap span,
body.single-post .entry-content .wtab-wrap h1,
body.single-post .entry-content .wtab-wrap h2,
body.single-post .entry-content .wtab-wrap h3,
body.single-post .entry-content .wtab-wrap h4,
body.single-post .entry-content .wtab-wrap li,
body.single-post .entry-content .wtab-wrap strong,
body.single-post .entry-content .wtab-wrap em,
body.single-post .entry-content .wtab-wrap blockquote,
body.single-post .entry-content .svg-wrap p,
body.single-post .entry-content .svg-wrap div,
body.single-post .entry-content .svg-wrap span,
body.single-post .entry-content .svg-wrap h1,
body.single-post .entry-content .svg-wrap h2,
body.single-post .entry-content .svg-wrap h3,
body.single-post .entry-content .svg-wrap h4,
body.single-post .entry-content .svg-wrap li,
body.single-post .entry-content .svg-wrap strong,
body.single-post .entry-content .svg-wrap em,
body.single-post .entry-content .svg-wrap blockquote,
body.single-post .entry-content .isaber-card p,
body.single-post .entry-content .isaber-card div,
body.single-post .entry-content .isaber-card span,
body.single-post .entry-content .isaber-card h1,
body.single-post .entry-content .isaber-card h2,
body.single-post .entry-content .isaber-card h3,
body.single-post .entry-content .isaber-card h4,
body.single-post .entry-content .isaber-card li,
body.single-post .entry-content .isaber-card strong,
body.single-post .entry-content .isaber-card em,
body.single-post .entry-content .ic-thumb,
body.single-post .entry-content .lfs-spec-card p,
body.single-post .entry-content .lfs-spec-card h3,
body.single-post .entry-content .lfs-spec-card h4,
body.single-post .entry-content .lfs-spec-card strong,
body.single-post .entry-content .lfs-spec-card div,
body.single-post .entry-content .lfs-spec-card span,
body.single-post .entry-content .lfs-card p,
body.single-post .entry-content .lfs-card h3,
body.single-post .entry-content .lfs-card h4,
body.single-post .entry-content .lfs-card strong,
body.single-post .entry-content .lfs-card div,
body.single-post .entry-content .lfs-card span,
body.single-post .entry-content .lfs-bars p,
body.single-post .entry-content .lfs-bars h3,
body.single-post .entry-content .lfs-bars h4,
body.single-post .entry-content .lfs-bars strong,
body.single-post .entry-content .lfs-bars div,
body.single-post .entry-content .lfs-bars span,
/* page 侧（info-layout.css 同病） */
body.page .entry-content .wtab-wrap p,
body.page .entry-content .wtab-wrap h3,
body.page .entry-content .wtab-wrap strong,
body.page .entry-content .wtab-wrap div,
body.page .entry-content .wtab-wrap span,
body.page .entry-content .svg-wrap p,
body.page .entry-content .svg-wrap h3,
body.page .entry-content .svg-wrap strong,
body.page .entry-content .isaber-card p,
body.page .entry-content .isaber-card div,
body.page .entry-content .isaber-card span,
body.page .entry-content .isaber-card strong { color: #16161f !important; }

/* ② 恒浅容器自身也要显式深字（矩阵实测 .wtab-wrap/.isaber-card/.ic-thumb 无 color） */
body.single-post .entry-content .wtab-wrap,
body.single-post .entry-content .isaber-card,
body.single-post .entry-content .ic-thumb,
body.single-post .entry-content .svg-wrap,
body.single-post .entry-content .lfs-spec-card,
body.single-post .entry-content .lfs-card,
body.single-post .entry-content .lfs-bars,
body.page .entry-content .wtab-wrap,
body.page .entry-content .svg-wrap,
body.page .entry-content .isaber-card { color: #16161f !important; }

/* ③ 深底浅字的区块必须显式保住（不能被 ① 的容器规则带跑） -----------
   深色表头（.wtab th 底 #132A4A） */
body.single-post .entry-content th,
body.single-post .entry-content th strong,
body.single-post .entry-content th span,
body.single-post .entry-content .wtab-wrap th,
body.single-post .entry-content .wtab-wrap th strong,
body.page .entry-content th,
body.page .entry-content th strong { color: #ffffff !important; }

/* 套件里的深色强调块（设计上就是浅字） */
body.single-post .entry-content .ans-hero,
body.single-post .entry-content .ans-hero p,
body.single-post .entry-content .ans-hero li,
body.single-post .entry-content .ans-hero div,
body.single-post .entry-content .ans-hero span { color: #e4e4ec !important; }
body.single-post .entry-content .ans-hero strong { color: #ffffff !important; }
body.single-post .entry-content .ans-lead,
body.single-post .entry-content .ans-lead p,
body.single-post .entry-content .ans-lead li,
body.single-post .entry-content .ans-lead div { color: #dcdce6 !important; }
body.single-post .entry-content .ans-lead strong { color: #ffe2e2 !important; }

/* 深色底上的条形标签（矩阵实测 cbar-* 家族恒为深底） */
body.single-post .entry-content .cbar-label { color: #c8cad8 !important; }

/* ④ 白卡内的次要文字：深灰（留层次，不用纯黑） ----------------------
   ⛔ `.svg-caption` **不能裸用** —— ezra/kanan 两页里它落在深底匿名 DIV 上
      （实测底 L=14），裸用会造成深底深字。必须限定在恒浅容器内。 */
body.single-post .entry-content .svg-wrap .svg-caption,
body.single-post .entry-content .lfs-spec-card .svg-caption,
body.single-post .entry-content .lfs-card .svg-caption,
body.single-post .entry-content .spec-card .label,
body.single-post .entry-content .isaber-card .ic-sub { color: #3a3a44 !important; }

/* ⑤ 白卡内的链接：浅底上品牌蓝不够读，换深蓝 ------------------------ */
body.single-post .entry-content .wtab-wrap a,
body.single-post .entry-content .lfs-spec-card a,
body.single-post .entry-content .lfs-card a,
body.single-post .entry-content .isaber-card a { color: #1a5fb4 !important; }
