/* ============================================================================
 * dark-contrast.css —— 暗色主题下的文字对比度修复
 *
 * ## 反馈 f27152c7（2026-10-18）
 * ```
 *   「这个页面不仅没有随主题变颜色，而且始终有点难看清」
 * ```
 *
 * ## 实测方法
 * ```
 *   __lv.html 探测页：iframe 同源打开 /dns-status/app/
 *   → 点「我的」tab → 遍历所有可见文字节点
 *   → WCAG 相对亮度公式算 前景/背景 对比度
 *   → 列出 < 3.0 的元素及其**真实 class**
 * ```
 *
 * ## 第一版踩的坑（记下来）
 * ```
 *   我按"猜测的类名"写选择器：
 *     .sub-entry-btn  ← 实际是 .sub-entry-b
 *     .cls-t          ← 实际是 .st
 *     .lvb-t          ← 实际是 .sub-men-exp / .k-tag
 *   ⇒ 18 个低对比度元素只修掉 7 个，剩 11 个
 *   ★ 教训：补丁 CSS 的选择器必须从**实测 DOM** 抄，⛔ 不能按命名习惯猜
 * ```
 *
 * ## 第二版（本版）：全部用实测到的类名
 * ```
 *   1.31  「立即开通」        .sub-entry-b              rgb(74,54,8)
 *   1.60  「TLS 加密传输中」  .st                       rgb(30,58,138)
 *   1.67  「9999年12月31日」  .sub-men-exp              rgb(143,29,21)
 *   2.17  「已自动合并…」     .ipf-auto-t               rgb(124,74,3)
 *   2.58  「已计入」          .cls-tip-tag.status-ok    rgb(4,120,87)
 *   2.64  「owner/super」     .k-tag.role               rgb(14,116,144)
 *   2.37  「我的」            .tb-lb                     rgb(29,78,216)
 *   2.54  「战报/排行榜…」    .tb-lb                     rgb(61,96,132)
 *   1.10  「免费抽奖」        .lt-entry-btn             rgb(68,36,4)
 *   2.34  「LV3」            .lvb-t                     rgb(185,28,28)
 * ```
 *
 * ## 修法
 * ```
 *   同色系换成 300 档（亮），达到 WCAG AA 4.5:1 以上：
 *     amber-900/700 -> amber-300   rgb(252,211,77)
 *     blue-800/900/600 -> blue-300 rgb(147,197,253)
 *     red-600/800   -> red-300     rgb(252,165,165)
 *     emerald-700   -> emerald-300 rgb(110,231,183)
 *     cyan-700      -> cyan-300    rgb(103,232,249)
 *   ⛔ 只改 color：不动布局、字号、结构、间距
 *   ⛔ 只在 [data-theme="dark"] 下生效（亮色主题一个字节不变）
 * ```
 * ========================================================================== */

/* ── amber 系：免费抽奖 / 立即开通 / 已自动合并 ─────────────────────── */
[data-theme="dark"] .lt-entry-btn,
[data-theme="dark"] .sub-entry-b,
[data-theme="dark"] .ipf-auto-t,
[data-theme="dark"] [class*="entry-b"] {
    color: rgb(252, 211, 77) !important;   /* amber-300 · 对比度 ≈ 9.8 */
}

/* ── blue 系：TLS 加密传输中 / 我的 / 底部导航 ───────────────────────── */
[data-theme="dark"] .st,
[data-theme="dark"] .tb-lb,
[data-theme="dark"] .tb-lb.is-on,
[data-theme="dark"] [class*="tb-lb"] {
    color: rgb(147, 197, 253) !important;  /* blue-300 · 对比度 ≈ 8.1 */
}

/* ── red 系：LV 徽章 / 到期日 ────────────────────────────────────────── */
[data-theme="dark"] .lvb-t,
[data-theme="dark"] .sub-men-exp {
    color: rgb(252, 165, 165) !important;  /* red-300 · 对比度 ≈ 8.5 */
}

/* ── emerald 系：已计入 ──────────────────────────────────────────────── */
[data-theme="dark"] .cls-tip-tag.status-ok,
[data-theme="dark"] [class*="cls-tip-tag"] {
    color: rgb(110, 231, 183) !important;  /* emerald-300 · 对比度 ≈ 10.2 */
}

/* ── cyan 系：owner / super 角色标签 ─────────────────────────────────── */
[data-theme="dark"] .k-tag.role,
[data-theme="dark"] [class*="k-tag"].role {
    color: rgb(103, 232, 249) !important;  /* cyan-300 · 对比度 ≈ 9.4 */
}


/* ============================================================================
 * ★★ 2026-10-29【第三轮：解决 !important 之间的特异性竞争】
 *
 * ## 现象
 * ```
 *   第一版：18 个低对比度 -> 11 个
 *   第二版：11 个 -> 7 个
 *   仍剩 3 类，颜色一个字节都没变：
 *     1.67  「9999年12月31日」 .sub-men-exp            rgb(143,29,21)
 *     2.17  「已自动合并…」    .ipf-auto-t             rgb(124,74,3)
 *     2.58  「已计入」         .cls-tip-tag.status-ok  rgb(4,120,87)
 * ```
 *
 * ## 为什么前两版没生效（这是我第三次踩同一个坑）
 * ```
 *   我的：  [data-theme="dark"] .sub-men-exp          { color:X !important }
 *   对手：  html[data-theme="dark"] .sub-men .sub-men-exp { color:Y !important }
 *   ⇒ 双方都有 !important ⇒ **按特异性决胜**，与加载顺序无关
 *   ⇒ 对手多了 html + 一级祖先 .sub-men ⇒ 特异性更高 ⇒ 我的被压住
 * ```
 *
 * ## 修法：同一配方（加 html 前缀 + 重复对手的祖先类）
 * ```
 *   html[data-theme="dark"] .sub-men .sub-men-exp   ← 与对手同特异性，且我后加载
 *   html[data-theme="dark"] .ipf .ipf-auto-t
 *   html[data-theme="dark"] .cls-tip-tag.status-ok  ← 双类连写提升特异性
 *   ⛔ 仍然只改 color
 * ```
 * ========================================================================== */

/* ── 到期日：「9999年12月31日」 ─────────────────────────────────────── */
html[data-theme="dark"] .sub-men .sub-men-exp,
html[data-theme="dark"] .sub-men-exp,
html[data-theme="dark"] [class*="sub-men-exp"] {
    color: rgb(252, 165, 165) !important;   /* red-300 */
}

/* ── 「已自动合并 N 个历史 IP 的数据」 ──────────────────────────────── */
html[data-theme="dark"] .ipf .ipf-auto-t,
html[data-theme="dark"] .ipf-auto-t,
html[data-theme="dark"] [class*="ipf-auto-t"] {
    color: rgb(252, 211, 77) !important;    /* amber-300 */
}

/* ── 「已计入」提示标签 ────────────────────────────────────────────── */
html[data-theme="dark"] .cls-tip .cls-tip-tag.status-ok,
html[data-theme="dark"] .cls-tip-tag.status-ok,
html[data-theme="dark"] [class*="cls-tip-tag"] {
    color: rgb(110, 231, 183) !important;   /* emerald-300 */
}


/* ============================================================================
 * ★★ 2026-10-29【第四轮：用实测的真实 DOM 结构】
 *
 * ## 前三轮都失败的原因（三次踩不同的坑）
 * ```
 *   第一轮：类名按命名习惯猜  .sub-entry-btn / .cls-t ✓ 这两个是对的
 *                             .cls-tip-tag        ✗ 实际是 .ip-tag
 *   第二轮：只加 [data-theme="dark"] 前缀，特异性不够
 *   第三轮：加了 html 前缀但仍用错的类名
 * ```
 *
 * ## 第四轮：从 __lv8.html 单次扫描拿到的**真实 outerHTML**
 * ```
 *   <span data-v-1a2c0b89 class="sub-men-exp">9999年12月31日</span>
 *       父 = <span class="sub-men-mark is-svip">
 *
 *   <span data-v-37a08b31 class="ipf-auto-t">已自动合并 39 个历史 IP 的数据</span>
 *       父 = <div class="ipf-auto">
 *
 *   <span data-v-b6bc20f2 class="ip-tag status ok">已计入</span>
 *       父 = <div class="ip-meta">
 *       ⚠️ class 是 **"ip-tag status ok"**（三个独立类，空格分隔）
 *          不是 "cls-tip-tag status ok" —— 截图 OCR 把 ip- 读成了 cls-
 * ```
 *
 * ## 修法：祖先类 + 目标类连写（特异性 ≥ 对手）
 * ```
 *   .sub-men-mark.is-svip .sub-men-exp
 *   .ipf-auto .ipf-auto-t
 *   .ip-meta .ip-tag.status
 *   ⛔ 仍然只改 color
 * ```
 * ========================================================================== */

html[data-theme="dark"] .sub-men-mark .sub-men-exp,
html[data-theme="dark"] .sub-men-mark.is-svip .sub-men-exp,
html[data-theme="dark"] span.sub-men-exp {
    color: rgb(252, 165, 165) !important;   /* red-300 */
}

html[data-theme="dark"] .ipf-auto .ipf-auto-t,
html[data-theme="dark"] span.ipf-auto-t {
    color: rgb(252, 211, 77) !important;    /* amber-300 */
}

html[data-theme="dark"] .ip-meta .ip-tag.status,
html[data-theme="dark"] .ip-meta .ip-tag,
html[data-theme="dark"] span.ip-tag.status {
    color: rgb(110, 231, 183) !important;   /* emerald-300 */
}


/* ============================================================================
 * ★★ 2026-10-29【第五轮：命中 Vue scoped 的 data-v 属性选择器】
 *
 * ## 进展
 * ```
 *   第一版 18 个 -> 第二版 11 -> 第三版 7 -> 第四版 **2**
 *   第四版修好的：<span class="ip-tag status ok">已计入</span> ✓
 * ```
 *
 * ## 仍剩 2 个，颜色一个字节没变
 * ```
 *   <span data-v-1a2c0b89 class="sub-men-exp">9999年12月31日</span>
 *       父 = <span class="sub-men-mark is-svip">
 *   <span data-v-37a08b31 class="ipf-auto-t">已自动合并 39 个历史 IP 的数据</span>
 *       父 = <div class="ipf-auto">
 * ```
 *
 * ## 为什么这两个比 ip-tag 难
 * ```
 *   它们的对手规则是 **Vue scoped CSS**：
 *     .sub-men-exp[data-v-1a2c0b89] { color: … !important }
 *   属性选择器 [data-v-…] 本身就贡献特异性，而且前面还有更长的祖先链
 *   ⇒ 只加 html 前缀不够
 * ```
 *
 * ## 修法（两条一起上）
 * ```
 *   ① 直接命中 [data-v] 属性存在性 —— ⛔ 不锁死具体哈希（那会随构建变）
 *      写成 [class*="sub-men-exp"][data-v]
 *   ② 类名重复一次提高特异性（.a.a 等于 2 个类）
 *      写成 .sub-men-exp.sub-men-exp
 *   ⛔ 仍然只改 color
 * ```
 * ========================================================================== */

/* ── 到期日「9999年12月31日」 ──────────────────────────────────────── */
html[data-theme="dark"] span.sub-men-exp[data-v],
html[data-theme="dark"] span.sub-men-exp.sub-men-exp,
html[data-theme="dark"] .sub-men-mark.is-svip span.sub-men-exp,
html[data-theme="dark"] span[class*="sub-men-exp"] {
    color: rgb(252, 165, 165) !important;   /* red-300 · 对比度 ≈ 8.5 */
}

/* ── 「已自动合并 N 个历史 IP 的数据」 ─────────────────────────────── */
html[data-theme="dark"] span.ipf-auto-t[data-v],
html[data-theme="dark"] span.ipf-auto-t.ipf-auto-t,
html[data-theme="dark"] .ipf-auto span.ipf-auto-t,
html[data-theme="dark"] span[class*="ipf-auto-t"] {
    color: rgb(252, 211, 77) !important;    /* amber-300 · 对比度 ≈ 9.8 */
}


/* ============================================================================
 * ★★ 2026-10-29【第六轮：用完整祖先链，特异性 (0,5,0)】
 *
 * ## 实测完整父链（__w1.html，createTreeWalker 抓文本节点）
 * ```
 *   span.sub-men-exp
 *     ← span.sub-men-mark.is-svip
 *     ← button.sub-men
 *     ← div.sub-menrow
 *     ← div.mv-mmeta
 *
 *   span.ipf-auto-t
 *     ← div.ipf-auto
 *     ← div.ipf-body
 *     ← section.ipf
 *     ← main.app-main
 * ```
 *
 * ## 前五轮为什么都没赢
 * ```
 *   轮①  .sub-men-exp                       特异性 (0,1,0)
 *   轮②  [data-theme] .sub-men-exp           (0,2,0)
 *   轮③  html[data-theme] .sub-men-exp       (0,2,1)
 *   轮④  .sub-men-mark .sub-men-exp          (0,2,0)
 *   轮⑤  span.sub-men-exp[data-v]            (0,2,1)
 *   ⇒ 对手是 Vue scoped 且带长祖先链，上面这些都不够
 *   ★ 本轮用完整链 (0,5,0)/(0,4,1)
 * ```
 *
 * ## ⛔ 仍然只改 color，不动任何别的东西
 * ========================================================================== */

/* ── 到期日「9999年12月31日」：完整链 + 兜底 ────────────────────────── */
html[data-theme="dark"] .mv-mmeta .sub-menrow .sub-men .sub-men-mark .sub-men-exp,
html[data-theme="dark"] .sub-menrow .sub-men .sub-men-mark .sub-men-exp,
html[data-theme="dark"] .sub-men-mark.is-svip .sub-men-exp,
html[data-theme="dark"] button.sub-men .sub-men-mark .sub-men-exp,
html[data-theme="dark"] .sub-men-exp {
    color: rgb(252, 165, 165) !important;   /* red-300 */
}

/* ── 「已自动合并 N 个历史 IP 的数据」：完整链 + 兜底 ──────────────── */
html[data-theme="dark"] .ipf .ipf-body .ipf-auto .ipf-auto-t,
html[data-theme="dark"] .ipf-body .ipf-auto .ipf-auto-t,
html[data-theme="dark"] .ipf-auto .ipf-auto-t,
html[data-theme="dark"] section.ipf .ipf-auto-t,
html[data-theme="dark"] .ipf-auto-t {
    color: rgb(252, 211, 77) !important;    /* amber-300 */
}

/* ── 「已计入」：完整链（已修好，补上完整链防回退） ────────────────── */
html[data-theme="dark"] .ip-listwrap .ip-list .ip-row .ip-meta .ip-tag.status.ok,
html[data-theme="dark"] .ip-row .ip-meta .ip-tag.status.ok,
html[data-theme="dark"] .ip-meta .ip-tag.status.ok,
html[data-theme="dark"] .ip-tag.status.ok,
html[data-theme="dark"] .ip-tag {
    color: rgb(110, 231, 183) !important;   /* emerald-300 */
}


/* ============================================================================
 * ★★ 2026-10-29【第七轮：反馈页 .fbv-pub 的 1.18 对比度】
 *
 * ## 实测（__f1.html，暗色主题，切到「我要反馈」）
 * ```
 *   [2] <div class="fbv-pub fbv-vis">
 *       bg    = rgba(255, 255, 255, 0.78)   ← 白色 78% 不透明
 *       color = rgb(232, 236, 246)          ← 暗色主题的浅色令牌
 *       ★ 对比度 = **1.18**（WCAG AA 要求 4.5）
 *
 *   [0] <label class="fbv-pub">
 *       ★ 对比度 = **1.18**
 * ```
 *
 * ## 根因
 * ```
 *   .fbv-pub 的 background 是 rgba(255,255,255,.78)（为**亮色主题**设计），
 *   而文字用了**暗色主题的浅色令牌** rgb(232,236,246)
 *   ⇒ 浅底压浅字 ⇒ 那一段几乎什么都看不见
 *   ⇒ 典型的「背景没跟随主题、字体却跟随了」错配
 * ```
 *
 * ## 修法
 * ```
 *   暗色下把背景换成与周围一致的深色：
 *     rgba(255,255,255,.78) -> rgba(255,255,255,.06)
 *   再加一层边框把它从背景里区分出来（不加会糊在一起）
 *   ⛔ 只改 background / border-color，⛔ 不动文字颜色（文字色是对的）
 *   ⛔ 只在 [data-theme="dark"] 下生效
 * ```
 * ========================================================================== */

/* ── 「这条反馈 / 公开 / 匿名」区块 ─────────────────────────────────── */
html[data-theme="dark"] .fbv-write .fbv-pub,
html[data-theme="dark"] .fbv-pub.fbv-vis,
html[data-theme="dark"] label.fbv-pub,
html[data-theme="dark"] div.fbv-pub,
html[data-theme="dark"] .fbv-pub {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
}

/* ── 兜底：暗色下任何"半透明白底"都不该出现 ──────────────────────────
 * ⚠️ 只针对 .fbv-* 命名空间，⛔ 不扩大到全站（避免误伤）
 * ─────────────────────────────────────────────────────────────────── */
html[data-theme="dark"] .fbv-write [class*="fbv-pub"],
html[data-theme="dark"] .fbv-write [class*="fbv-note"] {
    background-color: rgba(255, 255, 255, 0.06) !important;
}


/* ============================================================================
 * ★★ 2026-10-29【第八轮：全站静态扫描出的最后一处白色底】
 *
 * ## 扫描方法（纯服务器端，不需要浏览器）
 * ```
 *   正则：background(-color)?: rgba(255, 255, 255, <α>)
 *   条件：α > 0.30（在暗色背景上会明显发白）
 *   且   ：选择器里没有 [data-theme="dark"]
 *
 *   19 个 CSS 文件里，α > 0.30 的只有 **2 条**，且是同一条规则的两个副本：
 *     [mv-fix.css]        .mv-mdbanner .mv-mdtabs button
 *     [mv-fix-inline.css] .mv-mdbanner .mv-mdtabs button
 *     background: rgba(255, 255, 255, .72)
 * ```
 *
 * ## 为什么是 bug
 * ```
 *   原注释写着：「标签页：未选中深灰，选中蓝」
 *   但实际背景写的是 **白色 72%**
 *   ⇒ 注释的意图（深灰）与实现（白 72%）不一致
 *   ⇒ 在暗色主题下必然是一块刺眼的白斑
 * ```
 *
 * ## 修法
 * ```
 *   暗色下改成深色半透明（保持"未选中是深色"的原意图）：
 *     rgba(255,255,255,.72) -> rgba(255,255,255,.10)
 *   ⛔ 不改 mv-fix.css / mv-fix-inline.css 本身
 *      （那两个是补丁文件，下次重生成会覆盖；dark-contrast.css 是专用覆盖层）
 *   ⛔ 只改 background，不动文字颜色与尺寸
 * ```
 * ========================================================================== */

/* ── 会员域名抽屉的标签页（未选中态） ───────────────────────────────── */
html[data-theme="dark"] .mv-mdbanner .mv-mdtabs button:not(.on),
html[data-theme="dark"] .mv-mdtabs button:not(.on),
html[data-theme="dark"] .mv-mdtabs > button:not(.on) {
    background: rgba(255, 255, 255, 0.10) !important;
}

/* ── 兜底：暗色下任何 .mv-md* 里的白色半透明都压暗 ─────────────────────
 * ⚠️ 只针对 .mv-md 命名空间，⛔ 不扩大到全站
 * ─────────────────────────────────────────────────────────────────── */
html[data-theme="dark"] .mv-mdbanner button:not(.on),
html[data-theme="dark"] .mv-mdbanner .mv-mdtabs > *:not(.on) {
    background-color: rgba(255, 255, 255, 0.10) !important;
}

/* ★★★ 2026-11-05【反馈 81b049c0「二级菜单和背景混起来了，看不见字」· 第二半】
 * ---------------------------------------------------------------------------
 * ## 为什么还要这一条（第一半见上方的 `:not(.on)`）
 * ```
 *   914 轮已把上面两条规则收窄为 `:not(.on)` ⇒ 选中态不再被强刷浅底。
 *   但选中态仍会落到 `mv-fix.css` / `mv-fix-inline.css` 的这条规则：
 *       .mv-mdbanner .mv-mdtabs button { color:#475569; background:rgba(255,255,255,.72) }
 *   该选择器特异性 (0,3,0)，**没有 :not(.on)**，且注释写着
 *   「标签页：未选中深灰，**选中蓝**」—— **但规则体里根本没有蓝色**。
 *   ⇒ 结果是：选中项 = 72% 白底 + 深灰字，在深色面板里是一块**突兀的亮白**，
 *     而它本该是「蓝」。这正是用户说的"和背景混起来"。
 * ```
 * ## 修法
 *   用 ID 前缀把特异性提到 (1,4,0)，稳胜 mv-fix 的 (0,3,0) 与上面的 (0,2,1)，
 *   **真正实现注释里承诺的「选中蓝」**（浅蓝字 + 蓝底 + 蓝边）。
 * ## ⛔ 边界
 *   只命中 `#agh-md-banner` 下的 `.mv-mdtabs button.on`，
 *   不影响未选中态、不影响其它任何 chip/pill、不影响浅色主题。
 * ------------------------------------------------------------------------- */
html:root[data-theme=dark] #agh-md-banner .mv-mdtabs button.on,
html:root:not([data-theme=light]) #agh-md-banner .mv-mdtabs button.on {
    color: #dbeafe !important;
    background: rgba(59, 130, 246, 0.38) !important;
    border: 1px solid rgba(147, 197, 253, 0.55) !important;
}


/* ============================================================================
 * 反馈 51e18f65（2026-10-31 · 山东济南）—— 深色模式下「DNS 战报」文字看不清
 * ```
 *   「深色模式下自检，连通性检测，拦截测试内部分文字显示不清楚」（附 3 张截图）
 * ```
 * ## 截图看到的现象
 * ```
 *   战报页整张卡片几乎全透明，壁纸（亮色动漫图）直接透上来；
 *   而文字用的是深色主题的**浅色字** ⇒ 浅字叠在亮背景上，几乎看不清：
 *     双线 IPv4+IPv6 / dns.23-4.cn / 已允许 / 已启用 / 未监听
 *     SNI 过滤下面整段说明文字（最严重，基本消失）
 * ```
 * ## 根因（不是"忘了配色"，是两条规则打架）
 * ```css
 *   // 先有一条正确的深色底：
 *   html[data-theme=dark] :is(.rpv-card,…){ background-color:#232b3d }
 *   // 但后面又被玻璃拟态覆盖成半透明：
 *   :is(.rpv-card,.rpv-gcard,.rpv-ipcard,…){ background:var(--fluid-glass-bg); … }
 *   ⇒ --fluid-glass-bg 带 alpha ⇒ 壁纸透上来 ⇒ 浅色字失去对比度
 * ```
 * ## 修法
 * ```
 *   深色模式下把战报系卡片强制回不透明底，并关掉 backdrop-filter。
 *   ⛔ 不用改 --fluid-glass-bg 全局变量 —— 那会影响"我的"页等别处的玻璃观感；
 *      只针对战报这一组卡片，范围可控。
 *   ★ 用 html:not([data-theme="light"]) 而不是 =dark ——
 *     本站 data-theme 可能是 auto，auto 走的就是深色这套，必须一起覆盖。
 * ========================================================================== */
html:not([data-theme="light"]) :is(.rpv-card,.rpv-gcard,.rpv-ipcard,
  .rpv-guide,.rpv-site,.rpv-boost,.rpv-hero) {
  background: rgba(28, 35, 51, .965) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
/* 卡片内的说明/正文：确保是浅色字（壁纸再亮也压得住） */
html:not([data-theme="light"]) :is(.rpv-scnote,.rpv-subnote,.rpv-dcnodes-note,
  .rpv-eyenote,.rpv-note,.rpv-sub,.rpv-kicker,.rpv-scdk) {
  color: #c9d6ef !important;
}
/* SNI 过滤下面那段长说明（截图中最不可读的部分） */
html:not([data-theme="light"]) .rpv-guide,
html:not([data-theme="light"]) .rpv-guide * {
  color: #cdd9f0;
}
html:not([data-theme="light"]) .rpv-guide :is(b,strong) {
  color: #eaf1ff !important;
}
/* 「自检 / 连通性检测 / 拦截测试」行内文字 */
html:not([data-theme="light"]) :is(.rpv-selfchk,.rpv-selfrow,.rpv-scrow,
  .rpv-sck,.rpv-scv,.rpv-scn,.rpv-scsub,.rpv-scsub2,.rpv-scdelta) {
  color: #cfdbf2 !important;
}
/* code 片段在深底上要能看清 */
html:not([data-theme="light"]) .rpv-scnote code {
  background: rgba(96, 165, 250, .16) !important;
  color: #9ec5ff !important;
}


/* ===== 2026-11-01 · 反馈 81b049c0「二级菜单和背景混起来，看不见字」=====
 * 根因与 51e18f65 相同：index-*.js 把一批面板设成 background:var(--fluid-glass-bg)
 *   ⇒ --fluid-glass-bg 带 alpha ⇒ 壁纸/亮色背景透上来 ⇒ 深色主题下浅色字失去对比度
 * 修法照 51e18f65：只给这批"会盖在内容上、需要清晰文字"的面板加不透明底，
 *   ⛔ 不动 --fluid-glass-bg 全局变量（会波及「我的」页等别处的玻璃观感）。
 */
html:not([data-theme="light"]) :is(.sub-panel,.subpanel,.fbpanel,.mv-mdpanel,.agh-sim-panel,.lt-win,.lt-sheet,.lt-pzwin,.srp-body,.lvp-pop){
    background:rgba(28,35,51,.965)!important;
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
}

/* 2026-11-01 修正：订阅规则面板的真实类名是 **.aghs**（subs-panel.js:508
 *   panel.className = "aghs"; PANEL_ID = "agh-subs-panel"）
 *   上一版按 .sub-panel/.subpanel 猜的类名没有命中，故补这一条。
 */
html:not([data-theme="light"]) .aghs{
    background:rgba(28,35,51,.965)!important;
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
}
