/* ============================================================
   mayingbin.com — 金融黑金主题 · 第二轮页面级覆盖 v1.0
   ------------------------------------------------------------
   定位：blackgold-theme.css（第一轮·共享组件）的补充层。
   解决问题：各页面 body 内 <style> 私有变量组（--ph-*/--cfo-*/
        --navy/--bg-page/--card-bg 等）与硬编码浅色（#fff/#f4f7fa/
        #e3f2fd/#fff8e1…）在链接样式之后解析，会压过第一轮覆盖层。
   架构：同样零侵入 —— 只新增本文件，不改任何既有 CSS/模板逻辑。
   生效条件：<html data-theme="blackgold">；默认皮肤完全不受影响。
   特异性策略：html[data-theme="blackgold"] + 页面选择器 = (0,2,x)，
        稳定压过页面级 (0,1,x) 规则；页面带 !important 的规则本文件
        同步使用 !important 对抗（特异性相同时 !important 者胜）。
   卸载方式：删除本文件 + head.html 中的 link 引用即完全还原。
   ============================================================ */

/* ============================================================
   第 A 章 · 页面级私有变量组重定义
   （页面 :root 定义被本规则以更高特异性接管，默认皮肤无影响）
   ============================================================ */

/* ---- A1. 表单工具页族（claims-self-service / comprehensive-needs /
       customized-solution / financial-checkup / policy-review /
       quick-inquiry / general）：--bg-page / --card-bg ---- */
html[data-theme="blackgold"] {
  --bg-page: #0f0d08;
  --card-bg: #1b1710;
}

/* ---- A2. datalist（家庭CFO工具库）：--cfo-* ---- */
html[data-theme="blackgold"] {
  --cfo-blue: #c9a227;          /* 原深蓝 → 古典金 */
  --cfo-gold: #c9a227;          /* 原金 → 统一金 */
  --cfo-gray: #1b1710;          /* 原浅灰底 → 暖墨黑 */
  --cfo-shadow: 0 2px 12px rgba(0,0,0,0.50);
  --cfo-shadow-hover: 0 8px 28px rgba(0,0,0,0.60);
}

/* ---- A3. philosophy / philosophylist：--ph-* ---- */
html[data-theme="blackgold"] {
  --ph-bg:           #131009;
  --ph-card-bg:      rgba(27,23,16,0.90);
  --ph-primary:      #c9a227;   /* 深蓝 → 金 */
  --ph-primary-mid:  #e9cf82;   /* 中蓝 → 香槟金（链接色） */
  --ph-accent:       #c9a227;
  --ph-accent-light: #e9cf82;
  --ph-text:         #f4eddc;
  --ph-text-soft:    #d3c8ac;
  --ph-text-muted:   #a89b78;
  --ph-border:       rgba(201,162,39,0.18);
  --ph-shadow:       0 4px 24px rgba(0,0,0,0.50);
}

/* ---- A4. financial-health：--navy 组 ---- */
html[data-theme="blackgold"] {
  --navy:      #c9a227;         /* 深蓝 → 金（标题/条/次级按钮） */
  --navy-deep: #a8842a;
  --gold:      #c9a227;         /* 页面私有 --gold 与全局同名，值一致 */
  --gold-light:#e9cf82;
  --card-bg:   #1b1710;
  --border-light: rgba(201,162,39,0.14);
  --shadow-sm: 0 12px 28px rgba(0,0,0,0.50);
  --shadow-md: 0 20px 35px -12px rgba(0,0,0,0.60);
}

/* ---- A5. family_insurance（家庭保单管理工具）：全套私有变量 ----
   注意：本页仅 include head/foot 两个共享片段，且导航/顶栏/页脚
   均由第一轮以 !important 显式接管，故在 html 作用域重定义
   --primary 等共享名是安全的（不会波及其他页）。 */
html[data-theme="blackgold"] {
  --primary:      #c9a227;
  --primary-light: rgba(201,162,39,0.14);
  --success:      #a3b55c;
  --success-bg:   rgba(163,181,92,0.12);
  --warning:      #e0983f;
  --warning-bg:   rgba(224,152,63,0.12);
  --danger:       #e06c5e;
  --danger-bg:    rgba(224,108,94,0.12);
  --bg:           #0f0d08;
  --card:         #1b1710;
  --text:         #f4eddc;
  --text2:        #a89b78;
  --border:       rgba(201,162,39,0.18);
}

/* ============================================================
   第 B 章 · 表单工具页族（7 页同类结构一套覆盖）
   claims-self-service / comprehensive-needs / customized-solution /
   financial-checkup / policy-review / quick-inquiry / general
   ============================================================ */

/* 页面横幅（深蓝渐变 → 黑金渐变） */
html[data-theme="blackgold"] .hero-banner {
  background: linear-gradient(135deg, #070502 0%, #1a1409 45%, #2b2010 100%);
}

/* 分区标题（原 var(--primary) 深蓝 → 金） */
html[data-theme="blackgold"] .section-title {
  color: #c9a227;
  border-bottom-color: rgba(201,162,39,0.35);
}

/* 表单标签与输入 */
html[data-theme="blackgold"] .form-group label,
html[data-theme="blackgold"] .form-group .required-star + label {
  color: #d3c8ac;
}
html[data-theme="blackgold"] .form-control-custom {
  background: #17130c;
  border-color: rgba(201,162,39,0.22);
  color: #f4eddc;
}
html[data-theme="blackgold"] .form-control-custom:focus {
  border-color: #c9a227;
  box-shadow: 0 0 0 3px rgba(201,162,39,0.14);
  background: #1b1710;
}
html[data-theme="blackgold"] .form-control-custom::placeholder {
  color: #84795e;
}

/* 选项卡网格（option-item / service-tab） */
html[data-theme="blackgold"] .option-item label {
  border-color: rgba(201,162,39,0.20);
  color: #d3c8ac;
  background: #17130c;
}
html[data-theme="blackgold"] .option-item label i {
  color: #a89b78;
}
html[data-theme="blackgold"] .option-item input:checked + label {
  border-color: #c9a227;
  background: rgba(201,162,39,0.14);
  color: #e9cf82;
}
html[data-theme="blackgold"] .option-item input:checked + label i {
  color: #e9cf82;
}
html[data-theme="blackgold"] .service-tab {
  border-color: rgba(201,162,39,0.20);
  color: #d3c8ac;
}
html[data-theme="blackgold"] .service-tab i { color: #a89b78; }
html[data-theme="blackgold"] .service-tab:hover { border-color: rgba(201,162,39,0.45); }
html[data-theme="blackgold"] .service-tab.active {
  border-color: #c9a227;
  background: rgba(201,162,39,0.14);
  color: #e9cf82;
}
html[data-theme="blackgold"] .service-tab.active i { color: #e9cf82; }

/* 复选框网格（financial-checkup） */
html[data-theme="blackgold"] .checkbox-item {
  border-color: rgba(201,162,39,0.20);
  background: #17130c;
}
html[data-theme="blackgold"] .checkbox-item:hover { border-color: rgba(201,162,39,0.45); }
html[data-theme="blackgold"] .checkbox-item input[type="checkbox"] { accent-color: #c9a227; }
html[data-theme="blackgold"] .checkbox-item span { color: #d3c8ac; }
html[data-theme="blackgold"] .checkbox-item.checked {
  border-color: #c9a227;
  background: rgba(201,162,39,0.14);
}
html[data-theme="blackgold"] .checkbox-item.checked span {
  color: #e9cf82;
  font-weight: 600;
}

/* 保单卡片（policy-review） */
html[data-theme="blackgold"] .policy-card {
  border-color: rgba(201,162,39,0.20);
  background: #17130c;
}
html[data-theme="blackgold"] .policy-card:hover { border-color: #c9a227; }
html[data-theme="blackgold"] .policy-card .remove-btn {
  color: #e06c5e;
  border-color: #e06c5e;
}
html[data-theme="blackgold"] .policy-card .remove-btn:hover {
  background: #e06c5e;
  color: #131009;
}
html[data-theme="blackgold"] .btn-add-policy {
  background: rgba(201,162,39,0.12);
  color: #e9cf82;
  border-color: rgba(201,162,39,0.45);
}
html[data-theme="blackgold"] .btn-add-policy:hover { background: rgba(201,162,39,0.22); }

/* 上传区（claims-self-service） */
html[data-theme="blackgold"] .upload-area {
  border-color: rgba(201,162,39,0.35);
  background: #17130c;
}
html[data-theme="blackgold"] .upload-area:hover {
  border-color: #c9a227;
  background: rgba(201,162,39,0.10);
}
html[data-theme="blackgold"] .upload-area i { color: #c9a227; }
html[data-theme="blackgold"] .upload-area p { color: #a89b78; }
html[data-theme="blackgold"] .file-item { background: rgba(201,162,39,0.10); }
html[data-theme="blackgold"] .file-item .remove-file { color: #e06c5e; }

/* 提交按钮（蓝渐变 → 金渐变） */
html[data-theme="blackgold"] .btn-submit {
  background: linear-gradient(135deg, #c9a227 0%, #a8842a 100%);
  color: #1a1409;
}
html[data-theme="blackgold"] .btn-submit:hover {
  box-shadow: 0 6px 20px rgba(201,162,39,0.35);
}
html[data-theme="blackgold"] .btn-submit:disabled { opacity: 0.6; }

/* 合规提示 / 隐私勾选 / 信息横幅 / 警示横幅 */
html[data-theme="blackgold"] .compliance-box,
html[data-theme="blackgold"] .compliance-notice {
  background: rgba(201,162,39,0.10);
  border-left-color: #c9a227;
  color: #e9cf82;
}
html[data-theme="blackgold"] .privacy-check {
  background: #17130c;
  border-color: rgba(201,162,39,0.16);
}
html[data-theme="blackgold"] .privacy-check label { color: #d3c8ac; }
html[data-theme="blackgold"] .privacy-check a { color: #e9cf82; }
html[data-theme="blackgold"] .info-banner {
  background: rgba(201,162,39,0.10);
  border-color: rgba(201,162,39,0.30);
  color: #e9cf82;
}
html[data-theme="blackgold"] .info-banner i { color: #c9a227; }
html[data-theme="blackgold"] .alert-banner {
  background: rgba(224,108,94,0.10);
  border-color: rgba(224,108,94,0.35);
  color: #e06c5e;
}

/* 成功提示卡 */
html[data-theme="blackgold"] .success-card {
  background: #1b1710;
  border: 1px solid rgba(201,162,39,0.22);
}
html[data-theme="blackgold"] .success-card i { color: #a3b55c; }
html[data-theme="blackgold"] .success-card h3 { color: #f4eddc; }
html[data-theme="blackgold"] .success-card p { color: #a89b78; }

/* 信任徽标（quick-inquiry） */
html[data-theme="blackgold"] .trust-badges { background: #17130c; }
html[data-theme="blackgold"] .trust-badge {
  background: #1b1710;
  border-color: rgba(201,162,39,0.16);
  color: #a89b78;
}
html[data-theme="blackgold"] .trust-badge i { color: #c9a227; }

/* 错误态（页面带 !important，必须对称对抗） */
html[data-theme="blackgold"] input.error {
  border-color: #e06c5e !important;
  background: rgba(224,108,94,0.10) !important;
}

/* 健康评分区（financial-checkup，浅绿渐变 → 暗金橄榄） */
html[data-theme="blackgold"] .health-score-section {
  background: linear-gradient(135deg, rgba(163,181,92,0.10), rgba(201,162,39,0.06));
  border-color: rgba(163,181,92,0.30);
}
html[data-theme="blackgold"] .health-score-section .score-icon { color: #a3b55c; }
html[data-theme="blackgold"] .health-score-section h3 { color: #a3b55c; }
html[data-theme="blackgold"] .health-score-section p { color: #bcae8d; }

/* 分步进度（financial-checkup / general） */
html[data-theme="blackgold"] .progress-steps::before { background: rgba(201,162,39,0.16); }
html[data-theme="blackgold"] .step-item .step-num {
  background: #221c0e;
  color: #a89b78;
}
html[data-theme="blackgold"] .step-item.active .step-num {
  background: #c9a227;
  color: #1a1409;
}
html[data-theme="blackgold"] .step-item.completed .step-num {
  background: #a3b55c;
  color: #131009;
}
html[data-theme="blackgold"] .step-item .step-label { color: #a89b78; }
html[data-theme="blackgold"] .step-item.active .step-label {
  color: #e9cf82;
  font-weight: 600;
}
html[data-theme="blackgold"] .step-item.completed .step-label { color: #a3b55c; }

/* general 专属：进度条 / 步骤圆 / 导航按钮 / 备注 */
html[data-theme="blackgold"] .progress-bar-container { background: rgba(201,162,39,0.14); }
html[data-theme="blackgold"] .progress-bar-fill { background: #c9a227; }
html[data-theme="blackgold"] .step-circle {
  background: #221c0e;
  border-color: rgba(201,162,39,0.25);
  color: #a89b78;
}
html[data-theme="blackgold"] .step-item.active .step-circle {
  background: #c9a227;
  border-color: #c9a227;
  color: #1a1409;
}
html[data-theme="blackgold"] .step-item:not(:last-child)::after { background: rgba(201,162,39,0.16); }
html[data-theme="blackgold"] .step-label { color: #a89b78; }
html[data-theme="blackgold"] .step-item.active .step-label { color: #e9cf82; }
html[data-theme="blackgold"] .step-title { color: #c9a227; }
html[data-theme="blackgold"] .step-subtitle { color: #a89b78; }
html[data-theme="blackgold"] .btn-prev {
  background: #221c0e;
  border-color: rgba(201,162,39,0.25);
  color: #d3c8ac;
}
html[data-theme="blackgold"] .btn-next {
  background: #c9a227;
  color: #1a1409;
}
html[data-theme="blackgold"] .footer-note { color: #84795e; }

/* ============================================================
   第 C 章 · datalist（家庭CFO工具库）
   ============================================================ */

html[data-theme="blackgold"] .kb-page { background: #131009; }

html[data-theme="blackgold"] .kb-hero {
  background: linear-gradient(135deg, #070502 0%, #1a1409 50%, #2b2010 100%);
}

html[data-theme="blackgold"] .section-header h2 { color: #c9a227; }
html[data-theme="blackgold"] .section-header .section-count {
  color: #a89b78;
  background: #221c0e;
}
html[data-theme="blackgold"] .section-desc { color: #a89b78; }

html[data-theme="blackgold"] .res-card {
  background: #1b1710;
  border-color: rgba(201,162,39,0.18);
}
html[data-theme="blackgold"] .res-card:hover {
  border-color: #c9a227;
  box-shadow: 0 8px 28px rgba(0,0,0,0.60);
}
html[data-theme="blackgold"] .res-card .card-badge {
  background: #221c0e;
  color: #a89b78;
}
html[data-theme="blackgold"] .res-card p { color: #a89b78; }
html[data-theme="blackgold"] .res-card .card-tag {
  color: #a89b78;
  background: #221c0e;
}

/* 分类图标块：浅色 tint → 暗金 tint（保留色相区分） */
html[data-theme="blackgold"] .res-card-icon.blue   { background: rgba(201,162,39,0.12);  color: #c9a227; }
html[data-theme="blackgold"] .res-card-icon.gold   { background: rgba(201,162,39,0.12);  color: #e9cf82; }
html[data-theme="blackgold"] .res-card-icon.green  { background: rgba(163,181,92,0.12);  color: #a3b55c; }
html[data-theme="blackgold"] .res-card-icon.purple { background: rgba(169,140,78,0.14);  color: #c9b184; }
html[data-theme="blackgold"] .res-card-icon.teal   { background: rgba(179,160,74,0.12);  color: #b3a04a; }
html[data-theme="blackgold"] .res-card-icon.orange { background: rgba(209,145,58,0.12);  color: #d1913a; }

/* 卡片按钮 */
html[data-theme="blackgold"] .res-card .btn-gold {
  background: #c9a227;
  color: #1a1409;
}
html[data-theme="blackgold"] .res-card .btn-gold:hover { background: #a8842a; }
html[data-theme="blackgold"] .res-card .btn-outline {
  border-color: #c9a227;
  color: #e9cf82;
}
html[data-theme="blackgold"] .res-card .btn-outline:hover {
  background: #c9a227;
  color: #1a1409;
}

/* 登录提示 */
html[data-theme="blackgold"] .login-required {
  background: rgba(201,162,39,0.08);
  border-color: rgba(201,162,39,0.30);
}
html[data-theme="blackgold"] .login-required h4 { color: #e0983f; }
html[data-theme="blackgold"] .login-required p { color: #a89b78; }
html[data-theme="blackgold"] .login-required .btn-gold-lg {
  background: #c9a227;
  color: #1a1409;
}
html[data-theme="blackgold"] .login-required .btn-gold-lg:hover { background: #a8842a; }

/* 免责声明条 */
html[data-theme="blackgold"] .kb-footer-note {
  background: #17130c;
  border-left-color: #c9a227;
}
html[data-theme="blackgold"] .kb-footer-note h6 { color: #e9cf82; }
html[data-theme="blackgold"] .kb-footer-note p { color: #a89b78; }

/* ============================================================
   第 D 章 · demand-centerlist（需求中心列表）
   ============================================================ */

html[data-theme="blackgold"] .need-card {
  background: #1b1710;
  border-color: rgba(201,162,39,0.14);
  box-shadow: 0 2px 12px rgba(0,0,0,0.45);
}
html[data-theme="blackgold"] .need-card:hover {
  border-color: rgba(201,162,39,0.40);
  box-shadow: 0 8px 30px rgba(0,0,0,0.60);
}
html[data-theme="blackgold"] .need-card-thumb {
  background: linear-gradient(135deg, #1a1409 0%, #2b2010 100%);
}
html[data-theme="blackgold"] .need-card-title { color: #e9cf82; }
html[data-theme="blackgold"] .need-card:hover .need-card-title { color: #c9a227; }
html[data-theme="blackgold"] .need-card-meta { border-top-color: rgba(201,162,39,0.14); }
html[data-theme="blackgold"] .meta-readmore { color: #c9a227; }
html[data-theme="blackgold"] .need-card:hover .meta-readmore { color: #e9cf82; }

/* ============================================================
   第 E 章 · philosophy / philosophylist（英鉴规划）
   ============================================================ */

/* ---- E1. philosophy（内容页） ---- */

/* Hero（深蓝渐变 → 黑金渐变） */
html[data-theme="blackgold"] .phil-hero {
  background: linear-gradient(135deg, #070502 0%, #1a1409 45%, #2b2010 100%);
}
/* 页面底（浅灰渐变 → 暖墨黑） */
html[data-theme="blackgold"] .phil-page {
  background: linear-gradient(180deg, #0a0805 0%, #131009 8%, #131009 100%);
}
/* 面包屑 */
html[data-theme="blackgold"] .phil-bread,
html[data-theme="blackgold"] .phil-bread a { color: #a89b78; }
html[data-theme="blackgold"] .phil-bread a:hover { color: #e9cf82; }
html[data-theme="blackgold"] .phil-bread-sep { color: rgba(201,162,39,0.30); }
html[data-theme="blackgold"] .phil-bread-current { color: #e9cf82; }
/* 玻璃卡片（变量已接管底色，仅补边框） */
html[data-theme="blackgold"] .phil-body {
  border-color: rgba(201,162,39,0.16);
  box-shadow: 0 4px 24px rgba(0,0,0,0.50);
}
/* 标题 / 元信息 / 正文 */
html[data-theme="blackgold"] .phil-title { color: #f4eddc; }
html[data-theme="blackgold"] .phil-meta { color: #a89b78; }
html[data-theme="blackgold"] .phil-content,
html[data-theme="blackgold"] .phil-content p,
html[data-theme="blackgold"] .phil-content li { color: #d3c8ac; }
html[data-theme="blackgold"] .phil-content h2 { border-bottom-color: rgba(201,162,39,0.16); }

/* 表格：页面规则带 !important，必须对称对抗 */
html[data-theme="blackgold"] .phil-content table {
  background: #1b1710 !important;
  box-shadow: 0 1px 6px rgba(0,0,0,0.40) !important;
}
html[data-theme="blackgold"] .phil-content thead th,
html[data-theme="blackgold"] .phil-content th {
  background: linear-gradient(135deg, #c9a227 0%, #a8842a 100%) !important;
  color: #1a1409 !important;
}
html[data-theme="blackgold"] .phil-content tbody td,
html[data-theme="blackgold"] .phil-content td {
  color: #d3c8ac !important;
  background: #1b1710 !important;
  border-bottom-color: rgba(201,162,39,0.14) !important;
}
html[data-theme="blackgold"] .phil-content tbody tr:nth-child(even) td {
  background: rgba(201,162,39,0.05) !important;
}
html[data-theme="blackgold"] .phil-content tbody tr:hover td {
  background: rgba(201,162,39,0.10) !important;
}
html[data-theme="blackgold"] .phil-content tbody tr:last-child td {
  border-bottom-color: #c9a227 !important;
}

/* 参考文献区 */
html[data-theme="blackgold"] .article-source-section {
  background: #17130c;
  border-color: rgba(201,162,39,0.16);
  box-shadow: 0 2px 12px rgba(0,0,0,0.40);
}
html[data-theme="blackgold"] .article-source-section .source-title { color: #a89b78; }
html[data-theme="blackgold"] .article-source-section .source-list li {
  border-bottom-color: rgba(201,162,39,0.12);
  color: #8d805f;
}
html[data-theme="blackgold"] .article-source-section .source-list li a { color: #e9cf82; }
html[data-theme="blackgold"] .article-source-section .source-list li a:hover { color: #c9a227; }
html[data-theme="blackgold"] .article-source-section .source-list li strong { color: #bcae8d; }

/* 上一篇 / 下一篇 */
html[data-theme="blackgold"] .phil-nav-item {
  background: #1b1710;
  border-color: rgba(201,162,39,0.16);
}
html[data-theme="blackgold"] .phil-nav-item:hover {
  background: rgba(201,162,39,0.08);
  border-color: #c9a227;
  color: #e9cf82;
  box-shadow: 0 4px 16px rgba(0,0,0,0.50);
}

/* ---- E2. philosophylist（列表页） ---- */

html[data-theme="blackgold"] .ph-page { background: #131009; }
html[data-theme="blackgold"] .ph-hero {
  background: linear-gradient(135deg, #070502 0%, #1a1409 45%, #2b2010 100%);
}
html[data-theme="blackgold"] .ph-nav { border-bottom-color: rgba(201,162,39,0.18); }
html[data-theme="blackgold"] .ph-nav a {
  background: #1b1710;
  border-color: rgba(201,162,39,0.22);
  color: #d3c8ac;
}
html[data-theme="blackgold"] .ph-nav a:hover {
  border-color: #c9a227;
  color: #e9cf82;
  background: rgba(201,162,39,0.10);
}
html[data-theme="blackgold"] .ph-nav a.active,
html[data-theme="blackgold"] .ph-nav a.btn-info {
  background: linear-gradient(135deg, #c9a227 0%, #a8842a 100%) !important;
  color: #1a1409 !important;
  border-color: #c9a227 !important;
  box-shadow: 0 2px 10px rgba(201,162,39,0.30);
}
html[data-theme="blackgold"] .ph-card {
  background: #1b1710;
  border-color: rgba(201,162,39,0.16);
  box-shadow: 0 1px 3px rgba(0,0,0,0.40);
}
html[data-theme="blackgold"] .ph-card:hover {
  border-color: rgba(201,162,39,0.40);
  box-shadow: 0 6px 28px rgba(0,0,0,0.55);
}
html[data-theme="blackgold"] .ph-card-title,
html[data-theme="blackgold"] .ph-card-title a { color: #f4eddc; }
html[data-theme="blackgold"] .ph-card-title a:hover { color: #e9cf82; }
html[data-theme="blackgold"] .ph-card-desc { color: #a89b78; }
html[data-theme="blackgold"] .ph-card-link { color: #c9a227; }
html[data-theme="blackgold"] .ph-card-link:hover { color: #e9cf82; }
html[data-theme="blackgold"] .ph-empty i { color: #2e2612; }

/* 右侧 CTA */
html[data-theme="blackgold"] .ph-cta {
  background: #1b1710;
  border-color: rgba(201,162,39,0.18);
  box-shadow: 0 1px 3px rgba(0,0,0,0.40);
}
html[data-theme="blackgold"] .ph-cta h4 { color: #e9cf82; }
html[data-theme="blackgold"] .ph-cta p { color: #a89b78; }
html[data-theme="blackgold"] .ph-cta-btn {
  background: linear-gradient(135deg, #c9a227 0%, #a8842a 100%);
  color: #1a1409;
  box-shadow: 0 3px 12px rgba(201,162,39,0.30);
}
html[data-theme="blackgold"] .ph-cta-btn:hover {
  box-shadow: 0 5px 20px rgba(201,162,39,0.45);
  color: #1a1409;
}
html[data-theme="blackgold"] .ph-cta-links { border-top-color: rgba(201,162,39,0.14); }
html[data-theme="blackgold"] .ph-cta-links a:hover { color: #e9cf82; }
html[data-theme="blackgold"] .ph-mobile-cta {
  background: linear-gradient(135deg, #c9a227 0%, #a8842a 100%);
  color: #1a1409;
  box-shadow: 0 4px 16px rgba(201,162,39,0.40);
}
html[data-theme="blackgold"] .ph-mobile-cta:hover {
  box-shadow: 0 6px 22px rgba(201,162,39,0.55);
  color: #1a1409;
}

/* ============================================================
   第 F 章 · diagnostic-center / financial-health
   ============================================================ */

/* ---- F1. diagnostic-center ---- */
html[data-theme="blackgold"] .hero {
  background: linear-gradient(135deg, #070502 0%, #1a1409 50%, #2b2010 100%);
}
html[data-theme="blackgold"] .input-panel,
html[data-theme="blackgold"] .chart-panel {
  background: #1b1710;
  border: 1px solid rgba(201,162,39,0.16);
  box-shadow: 0 4px 20px rgba(0,0,0,0.45);
}
html[data-theme="blackgold"] .input-panel h3,
html[data-theme="blackgold"] .chart-panel h3 {
  color: #e9cf82;
  border-bottom-color: rgba(201,162,39,0.16);
}
html[data-theme="blackgold"] .input-field label { color: #d3c8ac; }
html[data-theme="blackgold"] .input-field input,
html[data-theme="blackgold"] .input-field select {
  background: #17130c;
  border-color: rgba(201,162,39,0.22);
  color: #f4eddc;
}
html[data-theme="blackgold"] .input-field input:focus { border-color: #c9a227; }
html[data-theme="blackgold"] .btn-generate {
  background: #c9a227;
  color: #1a1409;
}
html[data-theme="blackgold"] .btn-generate:hover { background: #a8842a; }
html[data-theme="blackgold"] .chart-panel p { color: #a89b78; }
html[data-theme="blackgold"] .modal-content,
html[data-theme="blackgold"] .modal-header {
  background: #1b1710;
  border: 1px solid rgba(201,162,39,0.18);
}
html[data-theme="blackgold"] .modal-header { border-bottom-color: rgba(201,162,39,0.16); }
html[data-theme="blackgold"] .modal-footer {
  background: #17130c;
  border-top-color: rgba(201,162,39,0.16);
}
html[data-theme="blackgold"] .close-btn { color: #a89b78; }
html[data-theme="blackgold"] .btn-close {
  background: #221c0e;
  color: #d3c8ac;
}
html[data-theme="blackgold"] .btn-pdf {
  background: #c9a227;
  color: #1a1409;
}
html[data-theme="blackgold"] .report-table th,
html[data-theme="blackgold"] .report-table td {
  border-color: rgba(201,162,39,0.18);
}
html[data-theme="blackgold"] .report-table th {
  background: #221c0e;
  color: #e9cf82;
}

/* ---- F2. financial-health ---- */
html[data-theme="blackgold"] .hero {
  background: linear-gradient(135deg, #070502 0%, #1a1409 50%, #2b2010 100%);
}
html[data-theme="blackgold"] .hero .signature { color: #e9cf82; }
html[data-theme="blackgold"] .glass-card {
  background: rgba(27,23,16,0.96);
  border-color: rgba(201,162,39,0.16);
}
html[data-theme="blackgold"] .form-label { color: #d3c8ac; }
html[data-theme="blackgold"] .check-item {
  background: #17130c;
  color: #d3c8ac;
}
html[data-theme="blackgold"] .check-item input { accent-color: #c9a227; }
html[data-theme="blackgold"] .hint-text { color: #a89b78; }
html[data-theme="blackgold"] .bar-bg { background: rgba(201,162,39,0.14); }
html[data-theme="blackgold"] .risk-breakdown { background: #17130c; }
html[data-theme="blackgold"] .diagnosis {
  background: linear-gradient(120deg, #17130c, #221c0e);
  border-left-color: #c9a227;
  color: #d3c8ac;
}
html[data-theme="blackgold"] .btn-primary {
  background: #c9a227;
  color: #1a1409;
}
html[data-theme="blackgold"] .btn-primary:hover { background: #a8842a; }
html[data-theme="blackgold"] .btn-secondary {
  border-color: #c9a227;
  color: #e9cf82;
}
html[data-theme="blackgold"] .btn-secondary:hover {
  background: #c9a227;
  color: #1a1409;
}
html[data-theme="blackgold"] .footer-note,
html[data-theme="blackgold"] .signature-footer { color: #84795e; }
html[data-theme="blackgold"] .modal-content {
  background-color: #1b1710;
  border: 1px solid rgba(201,162,39,0.18);
}
html[data-theme="blackgold"] .report-section h3 {
  color: #e9cf82;
  border-left-color: #c9a227;
}
html[data-theme="blackgold"] .report-table { background: #17130c; }
html[data-theme="blackgold"] .report-table th {
  background: #221c0e;
  color: #e9cf82;
}
html[data-theme="blackgold"] .report-table th,
html[data-theme="blackgold"] .report-table td {
  border-color: rgba(201,162,39,0.16);
}

/* ============================================================
   第 G 章 · privacy / disclaimer（隐私政策 / 免责声明）
   ============================================================ */

html[data-theme="blackgold"] .content,
html[data-theme="blackgold"] .privacy-container,
html[data-theme="blackgold"] .disclaimer-container {
  background: #1b1710;
  border-color: rgba(201,162,39,0.14);
  box-shadow: 0 4px 20px rgba(0,0,0,0.45);
}
html[data-theme="blackgold"] .privacy-header h1,
html[data-theme="blackgold"] .disclaimer-header h1 { color: #e9cf82; }
html[data-theme="blackgold"] .privacy-header p,
html[data-theme="blackgold"] .disclaimer-header p { color: #a89b78; }
html[data-theme="blackgold"] .privacy-header,
html[data-theme="blackgold"] .disclaimer-header { border-bottom-color: rgba(201,162,39,0.16); }
html[data-theme="blackgold"] .privacy-section h3 i,
html[data-theme="blackgold"] .disclaimer-section h3 i { color: #c9a227; }
html[data-theme="blackgold"] .highlight-box {
  background: rgba(201,162,39,0.10);
  border-left-color: #c9a227;
  color: #e9cf82;
}
html[data-theme="blackgold"] .right-box {
  background: rgba(163,181,92,0.10);
  border-left-color: #a3b55c;
  color: #c5d189;
}
html[data-theme="blackgold"] .warning-box {
  background: rgba(224,152,63,0.10);
  border-left-color: #e0983f;
  color: #e8b76a;
}
html[data-theme="blackgold"] .contact-info { color: #a89b78; }
html[data-theme="blackgold"] .contact-info strong { color: #e9cf82; }

/* ---- G7. 免责/隐私正文分节卡片 ----
   根因：trust-design.css:5394 `.disclaimer-section{background:#F8FAFC}`
   页面内联 <style> 的同名规则未声明 background，故共享库的浅灰底生效，
   在深色容器内形成一块块白卡（截图 bright≈17% 的根因）。 */
html[data-theme="blackgold"] .disclaimer-section {
  background: #1b1710;
  color: #d3c8ac;
}
html[data-theme="blackgold"] .disclaimer-section strong { color: #e9cf82; }

/* ============================================================
   第 H 章 · family_insurance（家庭保单管理工具）
   （私有变量已于第 A 章重定义，此处补硬编码浅色）
   ============================================================ */

html[data-theme="blackgold"] .header {
  background: linear-gradient(135deg, #070502 0%, #1a1409 55%, #2b2010 100%);
  border-bottom: 1px solid rgba(201,162,39,0.22);
}
html[data-theme="blackgold"] .btn-white {
  background: linear-gradient(135deg, #c9a227 0%, #a8842a 100%);
  color: #1a1409;
  border: none;
}
/* guideBox 收入输入框：页面 #familyIncome（ID 特异性 1,0,0）压过类规则，
   必须同 ID + html 属性前缀（1,1,1）接管；--text 已由 A5 接管为暖白 */
html[data-theme="blackgold"] #familyIncome {
  background: #17130c;
  border-color: rgba(201,162,39,0.22);
  color: #f4eddc;
}
html[data-theme="blackgold"] #familyIncome::placeholder { color: #84795e; }
html[data-theme="blackgold"] #familyIncome:focus {
  border-color: #c9a227;
  box-shadow: 0 0 0 2px rgba(201,162,39,0.18);
}
/* 受益人标签/添加钮：--primary-light（金 tint）底 + --primary（A5 接管为金）
   字 → 金压金 3.1:1 不足，提亮香槟金 */
html[data-theme="blackgold"] .bene-tag,
html[data-theme="blackgold"] .btn-bene-add { color: #e9cf82; }
html[data-theme="blackgold"] .guide {
  background: linear-gradient(135deg, #1b1710, #221c0e);
  border: 1px solid rgba(201,162,39,0.14);
}
html[data-theme="blackgold"] .guide h2 { color: #e9cf82; }
html[data-theme="blackgold"] .guide .step .num {
  background: #c9a227;
  color: #1a1409;
}
html[data-theme="blackgold"] .kpi-card {
  background: #1b1710;
  border: 1px solid rgba(201,162,39,0.12);
  box-shadow: 0 1px 3px rgba(0,0,0,0.40);
}
html[data-theme="blackgold"] .alert-bar {
  background: #1b1710;
  border: 1px solid rgba(201,162,39,0.12);
}
html[data-theme="blackgold"] .alert-item.warning { color: #e0983f; }
html[data-theme="blackgold"] .chart-card,
html[data-theme="blackgold"] .analysis-card,
html[data-theme="blackgold"] .table-wrap {
  background: #1b1710;
  border: 1px solid rgba(201,162,39,0.12);
}
html[data-theme="blackgold"] .analysis-card li { border-bottom-color: rgba(201,162,39,0.10); }
html[data-theme="blackgold"] .toolbar input,
html[data-theme="blackgold"] .toolbar select {
  background: #17130c;
  border-color: rgba(201,162,39,0.22);
  color: #f4eddc;
}
html[data-theme="blackgold"] table th {
  background: #221c0e;
  color: #a89b78;
  border-bottom-color: rgba(201,162,39,0.22);
}
html[data-theme="blackgold"] table th:hover {
  background: #2b2010;
  color: #e9cf82;
}
html[data-theme="blackgold"] table td { border-bottom-color: rgba(201,162,39,0.10); }
html[data-theme="blackgold"] tr:hover td { background: rgba(201,162,39,0.05); }
html[data-theme="blackgold"] tr.d7 td { background: rgba(224,108,94,0.10); }
html[data-theme="blackgold"] td[contenteditable="true"]:hover { background: rgba(201,162,39,0.08); }
html[data-theme="blackgold"] td[contenteditable="true"]:focus {
  background: #221c0e;
  outline-color: #c9a227;
}

/* 芯片 / 标签：浅色 tint → 暗色 tint（保留色相） */
html[data-theme="blackgold"] .chip.cz   { background: rgba(224,108,94,0.14);  color: #e06c5e; }
html[data-theme="blackgold"] .chip.yi   { background: rgba(201,162,39,0.14);  color: #e9cf82; }
html[data-theme="blackgold"] .chip.yw   { background: rgba(169,140,78,0.16);  color: #c9b184; }
html[data-theme="blackgold"] .chip.yang { background: rgba(163,181,92,0.14);  color: #a3b55c; }
html[data-theme="blackgold"] .chip.jy   { background: rgba(224,152,63,0.14);  color: #e0983f; }
html[data-theme="blackgold"] .chip.qt   { background: rgba(154,145,124,0.14); color: #bcae8d; }
html[data-theme="blackgold"] .tag.yellow { color: #e0983f; }

/* 弹窗 */
html[data-theme="blackgold"] .modal {
  background: #1b1710;
  border: 1px solid rgba(201,162,39,0.18);
}
html[data-theme="blackgold"] .modal .field input,
html[data-theme="blackgold"] .modal .field select,
html[data-theme="blackgold"] .modal .field textarea {
  background: #17130c;
  border-color: rgba(201,162,39,0.22);
  color: #f4eddc;
}
html[data-theme="blackgold"] .modal .field .hint { color: #84795e; }
html[data-theme="blackgold"] .modal .loan-field {
  background: rgba(224,152,63,0.10);
  border-color: rgba(224,152,63,0.35) !important;
}
html[data-theme="blackgold"] .modal .loan-field:focus {
  box-shadow: 0 0 0 3px rgba(224,152,63,0.18) !important;
}
html[data-theme="blackgold"] .btn-bene-add:hover { background: rgba(201,162,39,0.28); }

/* 拖拽区 /  toast / 页脚 */
html[data-theme="blackgold"] .dz {
  background: #17130c;
  border-color: rgba(201,162,39,0.22);
}
html[data-theme="blackgold"] .dz:hover,
html[data-theme="blackgold"] .dz.dragover {
  border-color: #c9a227;
  background: rgba(201,162,39,0.10);
}
html[data-theme="blackgold"] .toast.info {
  background: #c9a227;
  color: #1a1409;
}

/* 移动端 guide（页面 media query 内的浅色规则，被本规则特异性压过） */
html[data-theme="blackgold"] .guide {
  background: linear-gradient(135deg, #1b1710, #221c0e) !important;
  border-color: rgba(201,162,39,0.14) !important;
}

/* ============================================================
   第 I 章 · msg 族（message / schedule / consultation 在线留言）
   ============================================================ */

html[data-theme="blackgold"] .msg-hero {
  background: linear-gradient(135deg, #070502 0%, #1a1409 55%, #2b2010 100%);
}
html[data-theme="blackgold"] .info-card-enhanced {
  background: linear-gradient(145deg, #221c0e 0%, #131009 100%);
  border-color: rgba(201,162,39,0.18);
}
html[data-theme="blackgold"] .info-card-header {
  background: linear-gradient(135deg, #0e0c07 0%, #1a160c 100%);
  border-bottom: 2px solid rgba(201,162,39,0.35);
}
html[data-theme="blackgold"] .info-card-notice {
  background: rgba(163,181,92,0.08);
  border-left-color: #a3b55c;
}
html[data-theme="blackgold"] .msg-section-title .badge {
  background: #221c0e;
  color: #e9cf82;
}
html[data-theme="blackgold"] .info-card-text .value a { color: #e9cf82; }
html[data-theme="blackgold"] .msg-card-enhanced {
  background: #1b1710;
  border-color: rgba(201,162,39,0.14);
}
html[data-theme="blackgold"] .msg-card-enhanced:hover { border-color: rgba(201,162,39,0.32); }
html[data-theme="blackgold"] .msg-empty-enhanced {
  background: #1b1710;
  border: 1px solid rgba(201,162,39,0.14);
}
html[data-theme="blackgold"] .page-nav a {
  background: #1b1710;
  border-color: rgba(201,162,39,0.18);
  color: #d3c8ac;
}
html[data-theme="blackgold"] .page-nav a:hover {
  background: #221c0e;
  border-color: rgba(201,162,39,0.35);
}
html[data-theme="blackgold"] .page-nav a.active {
  background: #c9a227;
  border-color: #c9a227;
  color: #1a1409;
}

/* ---- I7. 留言表单卡（message / schedule / consultation）----
   根因：三页内联 <style> 的 `.form-card{background:#fff}`（如
   message.html:695 / schedule.html:216 / consultation.html:394），
   第二轮此前未覆盖 → 表单区整卡白底（截图 bright≈7.1-7.4%）。 */
html[data-theme="blackgold"] .form-card {
  background: #1b1710;
  border: 1px solid rgba(201,162,39,0.16);
  box-shadow: 0 4px 24px rgba(0,0,0,0.45);
}
html[data-theme="blackgold"] .form-card-header {
  background: linear-gradient(135deg, #0e0c07 0%, #221c0e 100%);
  border-bottom: 1px solid rgba(201,162,39,0.22);
}
html[data-theme="blackgold"] .form-card-header h5 { color: #e9cf82; }
html[data-theme="blackgold"] .form-card-header p { color: #a89b78; }

/* ============================================================
   第 J 章 · about（关于顾问 V2）
   ============================================================ */

html[data-theme="blackgold"] .timeline-v2-card {
  background: #1b1710;
  border: 1px solid rgba(201,162,39,0.14);
  border-left-color: #c9a227;
}
html[data-theme="blackgold"] .timeline-v2-dot { border-color: #131009; }
html[data-theme="blackgold"] .timeline-v2-year {
  background: #c9a227;
  color: #1a1409;
}
html[data-theme="blackgold"] .timeline-v2-title { color: #e9cf82; }
html[data-theme="blackgold"] .core-question-card {
  background: #1b1710;
  border: 1px solid rgba(201,162,39,0.14);
}
html[data-theme="blackgold"] .core-question-card:nth-child(1)::before {
  background: linear-gradient(90deg, #c9a227, #a8842a);
}
html[data-theme="blackgold"] .core-question-card:nth-child(2)::before {
  background: linear-gradient(90deg, #e9cf82, #c9a227);
}
html[data-theme="blackgold"] .core-question-card:nth-child(3)::before {
  background: linear-gradient(90deg, #a3b55c, #7d8f43);
}
html[data-theme="blackgold"] .core-q-title { color: #e9cf82; }
html[data-theme="blackgold"] .promise-v2-card {
  background: #1b1710;
  border: 1px solid rgba(201,162,39,0.14);
}
html[data-theme="blackgold"] .cert-v2-card {
  background: #1b1710;
  border-color: rgba(201,162,39,0.14);
}
html[data-theme="blackgold"] .cert-v2-card:hover { border-color: #c9a227; }
html[data-theme="blackgold"] .cert-img-placeholder {
  background: #221c0e;
  border: 1px solid rgba(201,162,39,0.12);
}
html[data-theme="blackgold"] .cert-v2-card h5 { color: #e9cf82; }
html[data-theme="blackgold"] .anchor-nav-v2 {
  background: #131009;
  border-bottom-color: rgba(201,162,39,0.16);
}
html[data-theme="blackgold"] .anchor-chip {
  color: #e9cf82;
  background: rgba(201,162,39,0.10);
}
html[data-theme="blackgold"] .anchor-chip:hover {
  background: #c9a227;
  color: #1a1409;
}
html[data-theme="blackgold"] .case-v2-card {
  background: #1b1710;
  border: 1px solid rgba(201,162,39,0.14);
  border-top-color: #c9a227;
}
html[data-theme="blackgold"] .case-v2-tag {
  background: #c9a227;
  color: #1a1409;
}
html[data-theme="blackgold"] .case-v2-card h5 { color: #e9cf82; }
html[data-theme="blackgold"] .case-v2-result {
  color: #c5d189;
  background: rgba(163,181,92,0.10);
}
html[data-theme="blackgold"] .voice-v2-card {
  background: #1b1710;
  border-color: rgba(201,162,39,0.14);
}
html[data-theme="blackgold"] .voice-v2-meta { border-top-color: rgba(201,162,39,0.14); }
html[data-theme="blackgold"] .voice-v2-avatar {
  background: linear-gradient(135deg, #c9a227, #a8842a);
  color: #1a1409;
}
html[data-theme="blackgold"] .stats-bar-v2 {
  background: linear-gradient(135deg, #0a0805 0%, #1a1409 55%, #2b2010 100%);
  border-top: 1px solid rgba(201,162,39,0.18);
  border-bottom: 1px solid rgba(201,162,39,0.18);
}
html[data-theme="blackgold"] .service-scope-v2 thead th {
  background: #c9a227;
  color: #1a1409;
}
html[data-theme="blackgold"] .service-scope-v2 tbody td:first-child { color: #e9cf82; }
html[data-theme="blackgold"] .service-scope-v2 tbody td { border-bottom-color: rgba(201,162,39,0.12); }

/* ============================================================
   第 K 章 · search（搜索结果页）
   ============================================================ */

html[data-theme="blackgold"] .page-banner {
  background: linear-gradient(135deg, #070502 0%, #1a1409 50%, #2b2010 100%);
}
html[data-theme="blackgold"] .search-item h3 a em,
html[data-theme="blackgold"] .search-item h3 a mark { color: #e9cf82; }
html[data-theme="blackgold"] .search-pagination a {
  border-color: rgba(201,162,39,0.25);
  color: #d3c8ac;
  background: #1b1710;
}
html[data-theme="blackgold"] .search-pagination a:hover { background: #221c0e; }
html[data-theme="blackgold"] .search-pagination a.page-num-current {
  background: #c9a227;
  border-color: #c9a227;
  color: #1a1409;
}
html[data-theme="blackgold"] .search-pagination .page-status { color: #a89b78; }

/* ============================================================
   第 L 章 · 防御性兜底（全站通用浅色残留）
   ============================================================ */

/* Bootstrap 浅色工具类（任何页面误用时的安全网） */
html[data-theme="blackgold"] .bg-white { background-color: #1b1710 !important; }
html[data-theme="blackgold"] .bg-light { background-color: #17130c !important; }
html[data-theme="blackgold"] .text-dark { color: #f4eddc !important; }
html[data-theme="blackgold"] .text-muted { color: #a89b78 !important; }
html[data-theme="blackgold"] .border { border-color: rgba(201,162,39,0.18) !important; }

/* 原生 select 下拉（color-scheme 已由第一轮置 dark，此处双保） */
html[data-theme="blackgold"] select { color-scheme: dark; }

/* ============================================================
   第 M 章 · trust-design.css 共享组件（跨页生效）
   根因库：trust-design.css 经 comm/head.html 全站加载，
   以下组件的浅色底/浅字未被前两轮覆盖。
   ============================================================ */

/* ---- M1. 客户评价卡（index 底部 testimonial 区）----
   根因：trust-design.css:1148 `.testimonial-card{background:white}` */
html[data-theme="blackgold"] .testimonial-card {
  background: #1b1710;
  border-color: rgba(201,162,39,0.14);
  box-shadow: 0 1px 3px rgba(0,0,0,0.40);
}
html[data-theme="blackgold"] .testimonial-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.55);
}
html[data-theme="blackgold"] .testimonial-card::before { color: rgba(201,162,39,0.10); }
/* 标签：--bg-blue（暗金褐）底 + var(--primary)（近黑）字 → 不可见，改香槟金 */
html[data-theme="blackgold"] .testi-tag { color: #e9cf82; }
/* 评价人头像（内联 var(--primary) 渐变 → 近黑圆 + 白字，可读；保持） */

/* ---- M2. 列表空态卡 ----
   根因：trust-design.css:2874 `.text-center.my-5.text-secondary{background:white}`
   （knowledgelist 等页无数据时的「暂无相关知识」大白卡）。
   特异性：(0,4,1) 稳过页面级 (0,3,0)，无需 !important。 */
html[data-theme="blackgold"] .text-center.my-5.text-secondary {
  background: #1b1710;
  border-color: rgba(201,162,39,0.20);
}

/* ---- M3. 搜索浮层提交钮 ----
   根因：trust-design.css:4687/4773 `.search-overlay-submit{background:var(--primary)}`
   A5 接管后 --primary=金，白图标在金底上对比仅 2.2:1 → 暗图标。 */
html[data-theme="blackgold"] .search-overlay-submit { color: #1a1409; }

/* ============================================================
   第 N 章 · 文章详情页（article-pro.css，knowledge.html）
   根因库：article-pro.css（v5.5）—— `.article-main` 浅渐变 +
   `.article-body-wrap` 白色玻璃卡 + 表格/引用/提示框全套浅色。
   ============================================================ */

/* ---- N1. 文章页私有变量组（.article-page 作用域，页面 :root 同名接管）---- */
html[data-theme="blackgold"] .article-page {
  --article-color:         #d3c8ac;   /* 正文 */
  --article-heading-color: #f4eddc;   /* 标题 */
  --article-muted:         #a89b78;   /* 弱化 */
  --article-border:        rgba(201,162,39,0.18);
  --article-bg-soft:       #1b1710;
  --article-gold:          #c9a227;
  --article-gold-light:    #e9cf82;
  --article-blue:          #c9a227;   /* 深蓝 → 金（首字下沉/CTA 主按钮） */
  --article-blue-mid:      #e9cf82;
}

/* ---- N2. 主体容器（浅渐变 + 白色玻璃卡）---- */
html[data-theme="blackgold"] .article-main {
  background: linear-gradient(180deg, #0a0805 0%, #131009 100%);
}
html[data-theme="blackgold"] .article-body-wrap {
  background: rgba(27,23,16,0.92);
  border-color: rgba(201,162,39,0.16);
  box-shadow: 0 8px 40px rgba(0,0,0,0.45);
}

/* ---- N3. 面包屑分隔符 ---- */
html[data-theme="blackgold"] .article-breadcrumb .sep { color: #84795e; }

/* ---- N4. 上下篇导航卡 ---- */
html[data-theme="blackgold"] .article-nav a {
  background: #1b1710;
  border-color: rgba(201,162,39,0.16);
}
html[data-theme="blackgold"] .article-nav a:hover {
  border-color: #c9a227;
  box-shadow: 0 4px 20px rgba(0,0,0,0.40);
}

/* ---- N5. 文末 CTA 资质卡（白渐变 → 黑金渐变）---- */
html[data-theme="blackgold"] .article-cta-card {
  background: linear-gradient(135deg, #1b1710 0%, #221c0e 100%);
  border-color: rgba(201,162,39,0.20);
}
html[data-theme="blackgold"] .article-cta-card .cta-badge {
  background: rgba(201,162,39,0.10);
  border-color: rgba(201,162,39,0.22);
}

/* ---- N6. 引用块 / 提示框（保留色相，浅 tint → 暗 tint）---- */
html[data-theme="blackgold"] .article-content blockquote {
  background: linear-gradient(135deg, #221c0e, #1b1710);
  color: #d3c8ac;
}
html[data-theme="blackgold"] .article-content .tip-key {
  background: linear-gradient(135deg, #221c0e, #1b1710);
}
html[data-theme="blackgold"] .article-content .tip-info {
  background: rgba(201,162,39,0.08);
  border-color: rgba(201,162,39,0.18);
  border-left-color: #c9a227;
}
html[data-theme="blackgold"] .article-content .tip-info::before { color: #e9cf82; }
html[data-theme="blackgold"] .article-content .tip-warning {
  background: rgba(224,108,94,0.08);
  border-color: rgba(224,108,94,0.18);
}
html[data-theme="blackgold"] .article-content .tip-compliance {
  background: rgba(163,181,92,0.08);
  border-color: rgba(163,181,92,0.18);
}

/* ---- N7. 数据表格（页面规则带 !important，对称对抗）---- */
html[data-theme="blackgold"] .article-content table {
  background: #1b1710 !important;
  box-shadow: 0 2px 16px rgba(0,0,0,0.35) !important;
}
html[data-theme="blackgold"] .article-content table th {
  background: #221c0e !important;
  color: #e9cf82;
  border-bottom-color: rgba(201,162,39,0.25);
}
html[data-theme="blackgold"] .article-content table td {
  color: #d3c8ac;
  border-bottom-color: rgba(201,162,39,0.10);
}
html[data-theme="blackgold"] .article-content table tbody tr:nth-child(even) td {
  background: rgba(201,162,39,0.04);
}
html[data-theme="blackgold"] .article-content table tbody tr:hover td {
  background: rgba(201,162,39,0.08);
}
html[data-theme="blackgold"] .article-content table tbody tr:last-child td {
  border-bottom-color: transparent;
}

/* ---- N8. 参考文献上标与列表 ---- */
html[data-theme="blackgold"] .article-content sup.article-ref { color: #e9cf82; }
html[data-theme="blackgold"] .article-content sup.article-ref:hover { color: #f4eddc; }

/* ============================================================
   第 O 章 · 内联样式兜底（全站通用）
   两类内联写法无法用类选择器覆盖，必须属性选择器 + !important：
   O1 内联纯白卡片底；O2 内联 var(--primary) 文字（黑金下解析为
   近黑 #0e0c07，暗底上不可见）；O3 内联 var(--primary) 按钮底
   （近黑按钮 → 金渐变 + 暗字）；O4 内联深蓝渐变区。
   ============================================================ */

/* ---- O1. 内联纯白/浅色卡片底（knowledgelist 侧栏 / serviceslist 统计卡·
   服务卡·CTA 卡 / about 证书占位 / insurance·family guideBox 按钮·
   #f8fafc 提示框 / JS 生成的 #fffbeb 列表项等）----
   注意：不限 div——button/select/span/li 同样带内联白底，用通配属性
   选择器 + !important（author !important 压过 inline 非 important）。 */
html[data-theme="blackgold"] [style*="background:#fff"],
html[data-theme="blackgold"] [style*="background: #fff"],
html[data-theme="blackgold"] [style*="background:white"],
html[data-theme="blackgold"] [style*="background: white"],
html[data-theme="blackgold"] [style*="background:#f8fafc"],
html[data-theme="blackgold"] [style*="background:#fffbeb"] {
  background: #1b1710 !important;
  border-color: rgba(201,162,39,0.14) !important;
}

/* ---- O2. 内联 var(--primary) 文字 → 香槟金 ----
   波及 19 个模板（serviceslist 标题/统计数字、knowledgelist 侧栏
   标题、disclaimer 内链、about 等）。近黑字在暗底上完全不可见，
   亮像素扫描无法发现，属必须兜底的隐形缺陷。 */
html[data-theme="blackgold"] [style*="color:var(--primary)"] { color: #e9cf82 !important; }
/* 同族：var(--primary-dark)（family_insurance/insurance 的导入导出按钮，
   白底被 O1 打暗后近黑字不可见） */
html[data-theme="blackgold"] [style*="color:var(--primary-dark)"] { color: #e9cf82 !important; }

/* ---- O3. 内联 var(--primary) 按钮/徽章底 → 金渐变 + 暖墨字 ---- */
html[data-theme="blackgold"] a[style*="background:var(--primary)"],
html[data-theme="blackgold"] span[style*="background:var(--primary)"] {
  background: linear-gradient(135deg, #c9a227 0%, #a8842a 100%) !important;
  color: #1a1409 !important;
}
/* 内联 var(--primary) 描边按钮（serviceslist「回到顶部选择」） */
html[data-theme="blackgold"] a[style*="border:2px solid var(--primary)"] {
  border-color: #c9a227 !important;
}

/* ---- O4. 内联深蓝渐变区（serviceslist「不止于保险」横幅）---- */
html[data-theme="blackgold"] div[style*="linear-gradient(135deg,#0a2463"] {
  background: linear-gradient(135deg, #070502 0%, #1a1409 55%, #2b2010 100%) !important;
}

/* ---- O5. 内联描边 / 徽章字色 / 暗灰字兜底 ----
   O5a 内联 border-color:var(--primary-dark)（#050401 近黑）在暗底上
       不可见 → 金（guideBox 导入/导出按钮、mobileSearchBtn）；
       var(--primary) 版同行列（A5 已接管为金，双保险）。
   O5b 内联 color:var(--primary) 的徽章底（success/primary/amber 数字
       圆章）→ 暗字（白/深棕字在这些中亮底上对比不足）。
   O5c 内联 color:#92400e（JS 日历贷款续贷项深棕字）→ 琥珀。
   O5d 内联 color:#64748b（slate 灰字，暗底 3.7:1 偏暗）→ 提亮。 */
html[data-theme="blackgold"] [style*="border-color:var(--primary-dark)"],
html[data-theme="blackgold"] [style*="border-color:var(--primary)"] {
  border-color: #c9a227 !important;
}
html[data-theme="blackgold"] [style*="background:var(--success)"],
html[data-theme="blackgold"] [style*="background:var(--primary)"],
html[data-theme="blackgold"] [style*="background:#f59e0b"] {
  color: #1a1409 !important;
}
html[data-theme="blackgold"] [style*="color:#92400e"] { color: #e0983f !important; }
html[data-theme="blackgold"] [style*="color:#64748b"] { color: #a89b78 !important; }

/* ============================================================
   第 P 章 · Bootstrap 分页（comm/page.html 片段）
   被 joblist / knowledgelist 等多页 {include} 引用；
   预览渲染为单页不显形，线上多页时 .page-link 白底会显形，提前覆盖。
   ============================================================ */
html[data-theme="blackgold"] .pagination .page-link {
  background: #1b1710;
  border-color: rgba(201,162,39,0.22);
  color: #d3c8ac;
}
html[data-theme="blackgold"] .pagination .page-link:hover {
  background: #221c0e;
  border-color: #c9a227;
  color: #e9cf82;
}
html[data-theme="blackgold"] .pagination .page-item.active .page-link {
  background: #c9a227;
  border-color: #c9a227;
  color: #1a1409;
}
html[data-theme="blackgold"] .pagination .page-item.disabled .page-link {
  background: #17130c;
  border-color: rgba(201,162,39,0.10);
  color: #84795e;
}

/* ============================================================
   第 Q 章 · member 页公共头部横幅（comm/top.html .jumbotron）
   仅 member/umodify.html {include file=comm/top.html} 引入。
   双重浅色源：① 内联 background:#e9ecef url(头图)；② Bootstrap
   .jumbotron 默认 background-color:#e9ecef。预览环境头图 404 显
   纯灰带，且 .text-light 白字在灰底上不可见。黑金下整幅换暗金
   渐变（shorthand !important 同时清底色与头图，白字保持可读）。
   ============================================================ */
html[data-theme="blackgold"] .jumbotron,
html[data-theme="blackgold"] .jumbotron-fluid {
  background: linear-gradient(135deg, #070502 0%, #1a1409 55%, #2b2010 100%) !important;
  background-color: #131009 !important;
}
/* 横幅标题/副标题：text-light 白字继承不变，仅补副标题金调 */
html[data-theme="blackgold"] .jumbotron p { color: #d3c8ac; }

/* ============================================================
   第 R 章 · 线上实测补漏（2026-10-24 部署后 CDP 实测发现）
   文章内容页（philosophy 模板）:root --ph-* 变量体系暗化重映射
   + 内联硬编码浅底（blockquote/th/td/斑马纹）对抗
   ============================================================ */

/* R-A · 变量重映射：对手 :root (0,1,0)，本作用域 (0,1,1) 次序无关必胜 */
html[data-theme="blackgold"] {
  --ph-bg:           #131009;
  --ph-card-bg:      rgba(27,23,16,0.92);
  --ph-primary:      #e9cf82;
  --ph-primary-mid:  #c9a227;
  --ph-accent:       #c9a227;
  --ph-accent-light: #e9cf82;
  --ph-text:         #d3c8ac;
  --ph-text-soft:    #bdb190;
  --ph-text-muted:   #a89b78;
  --ph-border:       rgba(201,162,39,0.18);
  --ph-shadow:       0 4px 24px rgba(0,0,0,0.45);
}

/* R-B · 正文段落与列表（对手 .phil-content p{color:#1a1a2e}；内联 style="color:#333" 须 !important 压制） */
html[data-theme="blackgold"] .phil-content p,
html[data-theme="blackgold"] .phil-content li {
  color: #d3c8ac !important;
}

/* R-C · 标题（探针实测 h2 呈 #1a2744 深字压深底，!important 兜底） */
html[data-theme="blackgold"] .phil-content h1,
html[data-theme="blackgold"] .phil-content h2,
html[data-theme="blackgold"] .phil-content h3,
html[data-theme="blackgold"] .phil-content h4 {
  color: #e9cf82 !important;
}

/* R-D · 引用金句块（探针实测 background:#f9f6f0;color:#555 内联，须 !important 压制） */
html[data-theme="blackgold"] .phil-content blockquote {
  background: rgba(201,162,39,0.07) !important;
  color: #d3c8ac !important;
  border-left-color: #c9a227 !important;
}

/* R-E · 表格（对手 th 深蓝底白字 / td 深字 !important / 斑马纹蓝染） */
html[data-theme="blackgold"] .phil-content th {
  background: rgba(201,162,39,0.16) !important;
  color: #e9cf82 !important;
  border-bottom: 1px solid rgba(201,162,39,0.28) !important;
}
html[data-theme="blackgold"] .phil-content td {
  background: transparent !important;
  color: #d3c8ac !important;
  border-bottom: 1px solid rgba(201,162,39,0.12) !important;
}
html[data-theme="blackgold"] .phil-content tbody tr:nth-child(even) td {
  background: rgba(201,162,39,0.05) !important;
}
html[data-theme="blackgold"] .phil-content tbody tr:hover td {
  background: rgba(201,162,39,0.10) !important;
}
html[data-theme="blackgold"] .phil-content table {
  background: transparent !important;
}

/* ============================================================
   R-F · 分割线（内联 style="border-top:1px solid #e0e0e0" 浅灰，须 !important 压）
   ============================================================ */
html[data-theme="blackgold"] .phil-content hr {
  border-top-color: rgba(201,162,39,0.20) !important;
  border-color: rgba(201,162,39,0.20) !important;
}

/* ============================================================
   R-G · 上下篇导航卡（模板 .phil-nav-item{background:rgba(255,255,255,.6)}
   字面白、非变量，R-A 变量重映射覆盖不到 —— y≈11020 亮带根因）
   ============================================================ */
html[data-theme="blackgold"] .phil-nav-item {
  background: rgba(27,23,16,0.60) !important;
  border-color: rgba(201,162,39,0.20) !important;
  color: #bdb190 !important;
}
html[data-theme="blackgold"] .phil-nav-item:hover {
  background: rgba(201,162,39,0.10) !important;
  border-color: #c9a227 !important;
  color: #e9cf82 !important;
}
html[data-theme="blackgold"] .phil-nav-label { color: #a89b78 !important; }
html[data-theme="blackgold"] .phil-nav-title { color: #d3c8ac !important; }

/* ============================================================
   R-H · 参考文献区（模板 .article-source-section{background:rgba(255,255,255,.55)}
   字面白、非变量；source-list 灰字须转浅金）
   ============================================================ */
html[data-theme="blackgold"] .article-source-section {
  background: rgba(27,23,16,0.55) !important;
  border-color: rgba(201,162,39,0.18) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.40) !important;
}
html[data-theme="blackgold"] .article-source-section .source-title { color: #e9cf82 !important; }
html[data-theme="blackgold"] .article-source-section .source-list li {
  color: #bdb190 !important;
  border-bottom-color: rgba(201,162,39,0.12) !important;
}
html[data-theme="blackgold"] .article-source-section .source-list li a { color: #e9cf82 !important; }

/* ============================================================
   R-I · 代码块双保险（压制内联 background:#f5f5f5 / #f9f6f0）
   ============================================================ */
html[data-theme="blackgold"] .phil-content pre,
html[data-theme="blackgold"] .phil-content pre code {
  background: #17130c !important;
  color: #d3c8ac !important;
  border-color: rgba(201,162,39,0.18) !important;
}
html[data-theme="blackgold"] .phil-content code {
  background: rgba(201,162,39,0.10) !important;
  color: #e9cf82 !important;
}

/* ============================================================
   R-E-FINAL · 表格权威覆盖（根治 rgb(250,249,247) 白行）
   根因：trust-design.css 的
     .phil-content table tbody tr:nth-child(even){background:#faf9f7}
   叠加本文件 block1/block2 把 .phil-content td / table 设为 transparent，
   透明单元格透出白 tr。此处统一为不透明深底，并显式压住白 tr。
   ============================================================ */
html[data-theme="blackgold"] .phil-content table {
  background: #1b1710 !important;
  box-shadow: 0 1px 6px rgba(0,0,0,0.40) !important;
  border: 1px solid rgba(201,162,39,0.18) !important;
}
html[data-theme="blackgold"] .phil-content thead th,
html[data-theme="blackgold"] .phil-content th {
  background: linear-gradient(135deg, #c9a227 0%, #a8842a 100%) !important;
  color: #1a1409 !important;
  border: 1px solid rgba(201,162,39,0.30) !important;
}
html[data-theme="blackgold"] .phil-content tbody td,
html[data-theme="blackgold"] .phil-content td {
  background: #1b1710 !important;
  color: #d3c8ac !important;
  border: 1px solid rgba(201,162,39,0.14) !important;
}
html[data-theme="blackgold"] .phil-content tbody tr:nth-child(even) td {
  background: #221c10 !important;
}
html[data-theme="blackgold"] .phil-content tbody tr:hover td {
  background: #2a2312 !important;
}
/* 关键：压住 trust-design.css 白 tr（即使单元格透明也不露白） */
html[data-theme="blackgold"] .phil-content table tbody tr:nth-child(even) {
  background: transparent !important;
}
html[data-theme="blackgold"] .phil-content table tbody tr:hover {
  background: transparent !important;
}
html[data-theme="blackgold"] .phil-content tbody tr:last-child td {
  border-bottom-color: #c9a227 !important;
}

/* ============================================================
   R-J · 正文标题 / 强调字（内联 color:#0a1628 / #1a2744 深字 → 黑底不可读）
   ============================================================ */
html[data-theme="blackgold"] .phil-content h1,
html[data-theme="blackgold"] .phil-content h2,
html[data-theme="blackgold"] .phil-content h3,
html[data-theme="blackgold"] .phil-content h4 {
  color: #f4eddc !important;
}
html[data-theme="blackgold"] .phil-content h2 {
  border-bottom-color: rgba(201,162,39,0.30) !important;
}
html[data-theme="blackgold"] .phil-content strong,
html[data-theme="blackgold"] .phil-content b {
  color: #e9cf82 !important;
}
html[data-theme="blackgold"] .phil-content a {
  color: #e9cf82 !important;
}
html[data-theme="blackgold"] .phil-content em {
  color: #d3c8ac !important;
}

/* ============================================================
   第 R-K 章 · v4 · 英鉴智库列表页（knowledge-card）
   根因：trust-design.css 后置 .k-title{color:#0F172A} 字面深蓝
   ============================================================ */
html[data-theme="blackgold"] .knowledge-card .k-title { color: #f4eddc !important; }
html[data-theme="blackgold"] .knowledge-card:hover .k-title { color: #e9cf82 !important; }
html[data-theme="blackgold"] .knowledge-card .k-meta { color: #84795e !important; }
html[data-theme="blackgold"] .knowledge-card .k-meta span { color: #a89b78 !important; }
html[data-theme="blackgold"] .knowledge-card .k-meta i { color: #84795e !important; }

/* ============================================================
   第 R-L 章 · v4 · 首页资质认证卡（cert-card 白卡 → 黑金）
   ============================================================ */
html[data-theme="blackgold"] .cert-card {
  background: #1b1710 !important;
  border: 1px solid rgba(201,162,39,0.22) !important;
  box-shadow: 0 4px 18px rgba(0,0,0,0.45) !important;
}
html[data-theme="blackgold"] .cert-card:hover {
  border-color: #c9a227 !important;
  box-shadow: 0 8px 26px rgba(201,162,39,0.16) !important;
}
html[data-theme="blackgold"] .cert-card h5 { color: #f4eddc !important; }
html[data-theme="blackgold"] .cert-card p { color: #a89b78 !important; }
html[data-theme="blackgold"] .cert-card .cert-icon {
  border: 1px solid rgba(201,162,39,0.30);
}

/* ============================================================
   第 R-M 章 · v4 · 主题切换按钮 · 左下角悬浮（双皮肤可见）
   ============================================================ */
.theme-toggle-float {
  position: fixed;
  left: 18px;
  bottom: 22px;
  z-index: 9990;
  width: 46px;
  height: 46px;
  font-size: 17px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.45);
}
.theme-toggle-float .theme-toggle-text { display: none; }
@media (max-width: 575.98px) {
  .theme-toggle-float {
    left: 12px;
    bottom: 80px;
    width: 42px;
    height: 42px;
    font-size: 15px;
  }
}

/* ============================================================
   第 R-N 章 · v4 · 右侧在线客服栏精修（适配所有屏幕）
   ============================================================ */
.online { right: 12px; }
.online dl {
  padding: 12px 6px !important;
  margin-bottom: 8px !important;
  border-radius: 12px !important;
}
.online dl dd i { font-size: 22px; }
.online dl dd { letter-spacing: 0.5px; }
@media (max-width: 991.98px) {
  .online { right: 8px; bottom: 96px; }
  .online dl { padding: 10px 4px !important; }
}
html[data-theme="blackgold"] .online dt {
  border-color: rgba(201,162,39,0.30) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.55) !important;
}
html[data-theme="blackgold"] .online dt h3 {
  border-bottom-color: rgba(201,162,39,0.25) !important;
}
html[data-theme="blackgold"] .online dt p { color: #a89b78 !important; }
html[data-theme="blackgold"] .online dt p span { color: #a89b78 !important; }
html[data-theme="blackgold"] .online dt input {
  background: #241d10 !important;
  border-color: rgba(201,162,39,0.30) !important;
  color: #f4eddc !important;
}
html[data-theme="blackgold"] .online dt input::placeholder { color: #84795e !important; }
html[data-theme="blackgold"] .online dt button {
  background: linear-gradient(135deg, #c9a227, #8f7a2a) !important;
  color: #131009 !important;
}
html[data-theme="blackgold"] .online dt a { color: #e9cf82 !important; }
html[data-theme="blackgold"] .online dt .remove i { color: #a89b78 !important; }

/* ============================================================
   第 R-O 章 · v4 · 详情页双保险（article-content 通用表格/文字）
   ============================================================ */
html[data-theme="blackgold"] .article-content table {
  background: #1b1710 !important;
  color: #d3c8ac !important;
}
html[data-theme="blackgold"] .article-content th {
  background: linear-gradient(135deg, #c9a227, #8f7a2a) !important;
  color: #131009 !important;
  border: 1px solid rgba(201,162,39,0.35) !important;
  padding: 10px 12px !important;
}
html[data-theme="blackgold"] .article-content td {
  background: transparent !important;
  color: #d3c8ac !important;
  border: 1px solid rgba(201,162,39,0.18) !important;
  padding: 10px 12px !important;
}
html[data-theme="blackgold"] .article-content tr { background: transparent !important; }
html[data-theme="blackgold"] .article-content tbody tr:nth-child(even) {
  background: rgba(201,162,39,0.04) !important;
}
html[data-theme="blackgold"] .article-content p,
html[data-theme="blackgold"] .article-content li { color: #d3c8ac !important; }
html[data-theme="blackgold"] .article-content h2,
html[data-theme="blackgold"] .article-content h3,
html[data-theme="blackgold"] .article-content h4,
html[data-theme="blackgold"] .article-content h5 { color: #f4eddc !important; }
html[data-theme="blackgold"] .article-content strong,
html[data-theme="blackgold"] .article-content b { color: #e9cf82 !important; }
html[data-theme="blackgold"] .article-content blockquote {
  background: rgba(201,162,39,0.07) !important;
  color: #d3c8ac !important;
  border-left-color: #c9a227 !important;
}
html[data-theme="blackgold"] .article-content a { color: #e9cf82 !important; }

/* phil-content 杂项兜底：mark/em/u 与导航卡标题提亮 */
html[data-theme="blackgold"] .phil-content mark {
  background: rgba(201,162,39,0.25) !important;
  color: #f4eddc !important;
}
html[data-theme="blackgold"] .phil-content u { color: #d3c8ac !important; }
html[data-theme="blackgold"] .phil-nav-item .phil-nav-title { color: #e9cf82 !important; }
html[data-theme="blackgold"] .phil-nav-item .phil-nav-label { color: #a89b78 !important; }

/* ============================================================
   第 R-P 章 · v4.1 · article-pro 表格（对齐 0,3,3 特异性压制）
   根因：article-pro.css .article-content table td{background:#fff!important}
   ============================================================ */
html[data-theme="blackgold"] .article-content table { background: #1b1710 !important; }
html[data-theme="blackgold"] .article-content table td {
  background: #1b1710 !important;
  color: #d3c8ac !important;
  border-bottom: 1px solid rgba(201,162,39,0.15) !important;
}
html[data-theme="blackgold"] .article-content table tbody tr:nth-child(even) td {
  background: rgba(201,162,39,0.05) !important;
}
html[data-theme="blackgold"] .article-content table tbody tr:hover td {
  background: rgba(201,162,39,0.10) !important;
}
html[data-theme="blackgold"] .article-content table th {
  background: linear-gradient(135deg, #c9a227, #8f7a2a) !important;
  color: #131009 !important;
  border: none !important;
}
html[data-theme="blackgold"] .article-content table thead th {
  background: linear-gradient(135deg, #c9a227, #8f7a2a) !important;
  color: #131009 !important;
}

/* ============================================================
   第 R-Q 章 · v4.1 · article-nav 上一篇/下一篇（白卡 → 黑金）
   ============================================================ */
html[data-theme="blackgold"] .article-nav a {
  background: #1b1710 !important;
  border-color: rgba(201,162,39,0.25) !important;
}
html[data-theme="blackgold"] .article-nav a:hover {
  border-color: #c9a227 !important;
}
html[data-theme="blackgold"] .article-nav a,
html[data-theme="blackgold"] .article-nav a * { color: #d3c8ac !important; }
html[data-theme="blackgold"] .article-nav .nav-label { color: #a89b78 !important; }
html[data-theme="blackgold"] .article-nav a:hover .nav-title { color: #e9cf82 !important; }

/* ============================================================
   第 R-R 章 · v4.1 · article-disclaimer / article-cta-card
   ============================================================ */
html[data-theme="blackgold"] .article-disclaimer {
  background: rgba(201,162,39,0.07) !important;
  border-color: rgba(201,162,39,0.25) !important;
  color: #a89b78 !important;
}
html[data-theme="blackgold"] .article-cta-card {
  background: #1b1710 !important;
  border-color: rgba(201,162,39,0.25) !important;
}
html[data-theme="blackgold"] .article-cta-card h2,
html[data-theme="blackgold"] .article-cta-card h3,
html[data-theme="blackgold"] .article-cta-card h4 { color: #f4eddc !important; }
html[data-theme="blackgold"] .article-cta-card p,
html[data-theme="blackgold"] .article-cta-card li { color: #a89b78 !important; }
html[data-theme="blackgold"] .article-cta-card a { color: #e9cf82 !important; }
html[data-theme="blackgold"] .article-cta-card strong,
html[data-theme="blackgold"] .article-cta-card b { color: #e9cf82 !important; }

/* ============================================================
   第 R-S 章 · v4.1 · 内联白卡变量化（--card-soft 双皮肤兼容）
   ============================================================ */
html[data-theme="blackgold"] { --card-soft: rgba(201,162,39,0.08); }

/* ============================================================
   第 R-T 章 · v4.2 · 正文内联浅底兜底（CMS 文章内联 style）
   例：902.html 免责 P background:#f8f8f8 —— 块级背景一律透明
   ============================================================ */
html[data-theme="blackgold"] .article-content p,
html[data-theme="blackgold"] .article-content div,
html[data-theme="blackgold"] .article-content section,
html[data-theme="blackgold"] .article-content ul,
html[data-theme="blackgold"] .article-content ol,
html[data-theme="blackgold"] .phil-content p,
html[data-theme="blackgold"] .phil-content div,
html[data-theme="blackgold"] .phil-content section,
html[data-theme="blackgold"] .phil-content ul,
html[data-theme="blackgold"] .phil-content ol {
  background: transparent !important;
}

/* ============================================================
   第 R-U 章 · v7 · 全屏查看计算器按钮（data.html 父页工具钮）
   ============================================================ */
html[data-theme="blackgold"] .fs-btn-inside {
  background: #2b2010 !important;
  color: #e9cf82 !important;
  border: 1px solid rgba(201,162,39,.35) !important;
  backdrop-filter: blur(4px);
}
html[data-theme="blackgold"] .fs-btn-inside:hover {
  background: #3a2c14 !important;
  border-color: rgba(201,162,39,.55) !important;
  color: #f4eddc !important;
}
html[data-theme="blackgold"] .fs-btn-inside svg { stroke: #e9cf82 !important; }
