/* ==========================================================================
   SURF · 深色页阅读性增强（灰字 → 纯白 · 整体字号等比放大）
   --------------------------------------------------------------------------
   背景：SURF 深色面板上的次要文字（灰 / 淡紫 / 淡褐 / 半透明白）对比度偏低、
         字号偏小，台账与长表格阅读吃力。
   作用：① 深色底上的灰色文字统一提纯为 #ffffff
            （金 / 蓝 / 绿 / 红 / 紫等品牌色一律保留，不做改动）
         ② 整体字号等比放大 18%（zoom），排版比例不变、不破坏原有布局
   范围：仅「深色底」页面生效。浅色主题（首页 / 后台 / 任务大厅浅色主题 /
         对齐面板 body.light）通过选择器自动排除，无需额外配置。
   回滚：删除各页面 <head> 内的 <link> / <script> 引用行即可，本文件可整删。
   ========================================================================== */

/* 1) 深色页「次要文字」变量重映射 ───────────────────────────────────────── */
:is(html:not([data-theme]) body:not(.light), html[data-theme="dark"] body) {
  --muted: #ffffff;
  --muted2: #ffffff;
  --dim: #ffffff;
  --dim2: #ffffff;
  --sub: #ffffff;
  --soft: #ffffff;
  --gray: #ffffff;
  --grey: #ffffff;
  --txt: #ffffff;
  --text: #ffffff;
  --fg: #ffffff;
}

/* 2) 常见「次要文字」类安全网（配合 theme-read.js 的精确扫描） ─────────────
   注意：不含 small / b 等常被「渐变裁字」(background-clip:text + 透明字色)
   嵌套使用的标签，避免把金色渐变文字刷成纯白。 */
:is(html:not([data-theme]) body:not(.light), html[data-theme="dark"] body)
:is(.muted, .sub, .dim, .hint, .note, .desc, .empty, .pathmono, th) {
  color: #ffffff !important;
}

/* 3) 整体字号等比放大 18% ──────────────────────────────────────────────── */
:is(html:not([data-theme]) body:not(.light), html[data-theme="dark"] body) {
  zoom: 1.18;
}
