/* ============================================================
 * 小红泡子主题 - 暗黑模式适配 (v8.2)
 *
 * 子比主题暗黑模式类名: body.dark-theme
 * 覆盖 home.css / page-templates.css 中硬编码的浅色背景与深色文字
 * 确保暗黑模式下文字可见、背景协调
 * ============================================================ */

/* ============================================================
 * 暗黑模式色彩变量覆盖
 * ============================================================ */
body.dark-theme .xhpp-home-template,
body.dark-theme .xhpp-content,
body.dark-theme [class*="xhpp-"],
body.dark-theme .xhpp-tutorial-template,
body.dark-theme .xhpp-journal-template,
body.dark-theme .xhpp-resource-template,
body.dark-theme .xhpp-landing-template {
    --xhpp-bg: #1a1a1f;
    --xhpp-bg-alt: #22222a;
    --xhpp-bg-gray: #2a2a32;
    --xhpp-bg-warm: #2a2228;

    --xhpp-text: #e8e8ec;
    --xhpp-text-secondary: #b8b8bc;
    --xhpp-text-light: #88888c;
    --xhpp-text-muted: #68686c;

    --xhpp-border: #3a3a42;
    --xhpp-border-light: #2a2a32;
    --xhpp-border-warm: #4a2a2a;

    --xhpp-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --xhpp-shadow-md: 0 6px 20px rgba(0, 0, 0, 0.4);
    --xhpp-shadow-card: 0 4px 16px rgba(0, 0, 0, 0.3);
    --xhpp-shadow-card-hover: 0 12px 36px rgba(0, 0, 0, 0.5);
}

/* ============================================================
 * 首页 - 通用
 * ============================================================ */
body.dark-theme .xhpp-home-template .a5-section-header h2 {
    color: #e8e8ec !important;
}
body.dark-theme .xhpp-home-template .a5-section-header p {
    color: #88888c !important;
}
body.dark-theme .xhpp-home-template .a5-section-eyebrow {
    color: #FF8A8E;
    background: rgba(255, 90, 95, 0.15);
}

/* ============================================================
 * Banner 区
 * ============================================================ */
body.dark-theme .xhpp-home-template .a5-banner-container {
    background: linear-gradient(160deg, #2a2228 0%, #1a1a1f 50%, #1a1a1f 100%) !important;
}
body.dark-theme .xhpp-home-template .a5-tag-expert {
    background: rgba(11, 114, 133, 0.2);
    color: #3FB8C4;
    border-color: rgba(11, 114, 133, 0.4);
}
body.dark-theme .xhpp-home-template .a5-content-left h1 {
    color: #e8e8ec !important;
}
body.dark-theme .xhpp-home-template .a5-slogan {
    color: #FF8A8E;
}
body.dark-theme .xhpp-home-template .a5-desc {
    color: #b8b8bc;
}
body.dark-theme .xhpp-home-template .a5-cta-note {
    color: #b8b8bc;
}
body.dark-theme .xhpp-home-template .a5-card-clients {
    background: #22222a;
    color: #b8b8bc;
}
body.dark-theme .xhpp-home-template .a5-card-metrics {
    background: #22222a;
}
body.dark-theme .xhpp-home-template .a5-metric-title { color: #88888c; }
body.dark-theme .xhpp-home-template .a5-metric-percent { color: #FF8A8E; }

/* 统计栏 */
body.dark-theme .xhpp-home-template .a5-banner-stats {
    border-top-color: #3a3a42;
}
body.dark-theme .xhpp-home-template .a5-stat-num { color: #e8e8ec !important; }
body.dark-theme .xhpp-home-template .a5-stat-label { color: #88888c; }

/* ============================================================
 * 核心优势
 * ============================================================ */
body.dark-theme .xhpp-home-template .a5-feature-card {
    background: #22222a !important;
    border-color: #3a3a42;
}
body.dark-theme .xhpp-home-template .a5-feature-card h3 { color: #e8e8ec; }
body.dark-theme .xhpp-home-template .a5-feature-card p { color: #88888c; }

/* ============================================================
 * 项目展示卡片
 * ============================================================ */
body.dark-theme .xhpp-home-template .a5-project-card {
    background: #22222a !important;
    border-color: #3a3a42;
}
body.dark-theme .xhpp-home-template .a5-project-card h3 { color: #e8e8ec; }
body.dark-theme .xhpp-home-template .a5-project-desc { color: #88888c; }
body.dark-theme .xhpp-home-template .a5-project-meta { color: #88888c; }
body.dark-theme .xhpp-home-template .a5-project-meta i { color: #68686c; }

body.dark-theme .xhpp-home-template .a5-project-tag-wrapper {
    background: linear-gradient(135deg, #2a2a32, #2a2228);
}
body.dark-theme .xhpp-home-template .a5-project-hot-tag {
    background: #1a1a1f;
    color: #b8b8bc;
}
body.dark-theme .xhpp-home-template .a5-project-price-group {
    background: #2a2228;
}
body.dark-theme .xhpp-home-template .a5-project-original-price { color: #68686c; }
body.dark-theme .xhpp-home-template .a5-project-vip-price { color: #FF8A8E; }
body.dark-theme .xhpp-home-template .a5-project-lock {
    background: #2a2228;
    border-top-color: #4a2a2a;
    color: #FF8A8E;
}
body.dark-theme .xhpp-home-template .a5-project-lock i { color: #FF8A8E; }
body.dark-theme .xhpp-home-template .a5-project-unlock-btn {
    background: #1a1a1f;
    color: #FF8A8E !important;
    border-color: #FF5A5F;
}
body.dark-theme .xhpp-home-template .a5-project-unlock-btn:hover {
    background: #FF5A5F;
    color: #fff !important;
}

/* 分类板块标题 */
body.dark-theme .xhpp-home-template .a5-cat-badge { color: #fff; }

/* ============================================================
 * 黄金圈法则
 * ============================================================ */
body.dark-theme .xhpp-home-template .a5-golden-circle-section {
    background: linear-gradient(180deg, #1a1a1f 0%, #22222a 100%) !important;
}
body.dark-theme .xhpp-home-template .a5-gc-card {
    background: #22222a !important;
    border-color: #3a3a42;
}
body.dark-theme .xhpp-home-template .a5-gc-label { color: #88888c; }
body.dark-theme .xhpp-home-template .a5-gc-cn { color: #b8b8bc; }
body.dark-theme .xhpp-home-template .a5-gc-title { color: #e8e8ec; }
body.dark-theme .xhpp-home-template .a5-gc-desc { color: #b8b8bc; }

/* 社区宣言 */
body.dark-theme .xhpp-home-template .a5-manifesto {
    background: linear-gradient(135deg, #2a2228 0%, #2a2a32 100%);
    border-left-color: #FF5A5F;
}
body.dark-theme .xhpp-home-template .a5-manifesto-text { color: #e8e8ec; }
body.dark-theme .xhpp-home-template .a5-manifesto-author { color: #88888c; }

/* ============================================================
 * 用户共建飞轮
 * ============================================================ */
body.dark-theme .xhpp-home-template .a5-cc-card {
    background: #22222a !important;
    border-color: #3a3a42;
}
body.dark-theme .xhpp-home-template .a5-cc-title { color: #e8e8ec; }
body.dark-theme .xhpp-home-template .a5-cc-tagline { color: #88888c; }
body.dark-theme .xhpp-home-template .a5-cc-desc { color: #b8b8bc; }
body.dark-theme .xhpp-home-template .a5-cc-reward {
    background: linear-gradient(135deg, #2a2228, #2a2a32);
}
body.dark-theme .xhpp-home-template .a5-cc-reward-label { color: #F0A93B; }
body.dark-theme .xhpp-home-template .a5-cc-reward-text { color: #b8b8bc; }

/* 飞轮 */
body.dark-theme .xhpp-home-template .a5-flywheel {
    background: linear-gradient(135deg, #1a1a1f, #2a2228);
    border-color: #3a3a42;
}
body.dark-theme .xhpp-home-template .a5-flywheel-title { color: #e8e8ec; }
body.dark-theme .xhpp-home-template .a5-fw-node {
    background: #22222a;
    color: #e8e8ec;
    border-color: #3a3a42;
}
body.dark-theme .xhpp-home-template .a5-fw-node.xhpp-fw-active {
    background: linear-gradient(135deg, #6B5B95, #9B8AC4);
    color: #fff;
    border-color: transparent;
}
body.dark-theme .xhpp-home-template .a5-fw-stat {
    background: #22222a;
}
body.dark-theme .xhpp-home-template .a5-fw-stat strong { color: #FF8A8E; }
body.dark-theme .xhpp-home-template .a5-fw-stat span { color: #88888c; }

/* ============================================================
 * 生态四方
 * ============================================================ */
body.dark-theme .xhpp-home-template .a5-ecosystem-section {
    background: linear-gradient(180deg, #1a1a1f 0%, #22222a 100%) !important;
}
body.dark-theme .xhpp-home-template .a5-eco-card {
    background: #22222a !important;
    border-color: #3a3a42;
}
body.dark-theme .xhpp-home-template .a5-eco-head {
    border-bottom-color: #3a3a42;
}
body.dark-theme .xhpp-home-template .a5-eco-role { color: #e8e8ec; }
body.dark-theme .xhpp-home-template .a5-eco-sub { color: #88888c; }
body.dark-theme .xhpp-home-template .a5-eco-need {
    background: #1a1a1f;
}
body.dark-theme .xhpp-home-template .a5-eco-need-label { color: #88888c; }
body.dark-theme .xhpp-home-template .a5-eco-need p { color: #b8b8bc; }
body.dark-theme .xhpp-home-template .a5-eco-benefit-label { color: #FF8A8E; }
body.dark-theme .xhpp-home-template .a5-eco-benefit li { color: #b8b8bc; }
body.dark-theme .xhpp-home-template .a5-eco-benefit li::before { color: #3FB8C4; }

/* ============================================================
 * 实战日记墙 (评价)
 * ============================================================ */
body.dark-theme .xhpp-home-template .a5-testimonial-card {
    background: #22222a !important;
    border-color: #3a3a42;
}
body.dark-theme .xhpp-home-template .a5-testimonial-empty { background: #1a1a1f !important; }
body.dark-theme .xhpp-home-template .a5-user-name { color: #e8e8ec; }
body.dark-theme .xhpp-home-template .a5-user-school { color: #88888c; }
body.dark-theme .xhpp-home-template .a5-quote-text { color: #FF8A8E; }
body.dark-theme .xhpp-home-template .a5-quote-desc { color: #b8b8bc; }
body.dark-theme .xhpp-home-template .a5-avatar-placeholder {
    background: linear-gradient(135deg, #4a2a2a, #6B5B95) !important;
    color: #fff !important;
}

/* ============================================================
 * VIP 定价 (翻转卡)
 * ============================================================ */
body.dark-theme .xhpp-home-template .a5-inx-pricing-section {
    background: linear-gradient(180deg, #1a1a1f 0%, #22222a 100%) !important;
}
body.dark-theme .xhpp-home-template .a5zy-vip-card-front {
    background: #22222a;
    border-color: #3a3a42;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
body.dark-theme .xhpp-home-template .a5zy-card-title { color: #e8e8ec; }
body.dark-theme .xhpp-home-template .a5zy-card-price { color: #e8e8ec; }
body.dark-theme .xhpp-home-template .a5zy-card-price small { color: #88888c; }
body.dark-theme .xhpp-home-template .a5zy-card-desc { color: #88888c; }
body.dark-theme .xhpp-home-template .a5zy-privilege-list li { color: #b8b8bc; }
body.dark-theme .xhpp-home-template .a5zy-privilege-list li::before { color: #3FB8C4; }

/* 移动端定价卡 */
body.dark-theme .xhpp-home-template .a5-pricing-mobile-card {
    background: #22222a;
    border-color: #3a3a42;
}

/* ============================================================
 * CTA 区
 * ============================================================ */
body.dark-theme .xhpp-home-template .a5-cta-section h2 { color: #fff !important; }
body.dark-theme .xhpp-home-template .a5-cta-section p { color: rgba(255,255,255,0.9); }
body.dark-theme .xhpp-home-template .a5-cta-final-btn {
    background: #fff;
    color: #0B7285 !important;
}

/* ============================================================
 * FAQ 手风琴
 * ============================================================ */
body.dark-theme .xhpp-home-template .produck-faq-summary {
    background: #22222a;
    border-color: #3a3a42;
}
body.dark-theme .xhpp-home-template .produck-faq-summary:hover {
    border-color: #FF5A5F;
    box-shadow: 0 4px 14px rgba(255,90,95,0.15);
}
body.dark-theme .xhpp-home-template .produck-faq-q { color: #e8e8ec; }
body.dark-theme .xhpp-home-template .produck-faq-preview { color: #88888c; }
body.dark-theme .xhpp-home-template .produck-faq-chevron { color: #68686c; }
body.dark-theme .xhpp-home-template .produck-faq-summary.xhpp-faq-open .produck-faq-chevron { color: #FF8A8E; }

/* ============================================================
 * 热门标签
 * ============================================================ */
body.dark-theme .xhpp-home-template .a5-tag-item {
    background: #22222a;
    color: #b8b8bc;
}
body.dark-theme .xhpp-home-template .a5-tag-count { color: #68686c; }

/* ============================================================
 * 通用按钮 (暗黑模式)
 * ============================================================ */
body.dark-theme .xhpp-home-template .a5-btn-secondary,
body.dark-theme .xhpp-tutorial-template .a5-btn-secondary,
body.dark-theme .xhpp-journal-template .a5-btn-secondary,
body.dark-theme .xhpp-resource-template .a5-btn-secondary {
    background: #22222a;
    color: #FF8A8E !important;
    border-color: #FF5A5F;
}

/* ============================================================
 * 文章页模板 - 通用
 * ============================================================ */
body.dark-theme .xhpp-tutorial-template,
body.dark-theme .xhpp-journal-template,
body.dark-theme .xhpp-resource-template {
    color: #b8b8bc;
}

/* 面包屑 */
body.dark-theme .xhpp-breadcrumb { color: #88888c; }
body.dark-theme .xhpp-breadcrumb a { color: #b8b8bc; }
body.dark-theme .xhpp-breadcrumb a:hover { color: #FF8A8E; }
body.dark-theme .xhpp-breadcrumb .current { color: #88888c; }

/* 作者卡片 */
body.dark-theme .xhpp-author-box {
    background: #22222a;
    border-color: #3a3a42;
}
body.dark-theme .xhpp-author-info h4 { color: #e8e8ec; }
body.dark-theme .xhpp-author-info h4 a { color: #e8e8ec; }
body.dark-theme .xhpp-author-info p { color: #88888c; }
body.dark-theme .xhpp-author-stats { color: #68686c; }

/* 分享栏 */
body.dark-theme .xhpp-share-bar {
    background: #22222a;
    color: #88888c;
}
body.dark-theme .xhpp-share-bar .xhpp-share-btn {
    background: #1a1a1f;
    border-color: #3a3a42;
    color: #b8b8bc;
}
body.dark-theme .xhpp-share-bar .xhpp-share-btn:hover {
    background: #FF5A5F;
    color: #fff;
    border-color: #FF5A5F;
}

/* 评论区 */
body.dark-theme .xhpp-comments-section h3 {
    color: #e8e8ec;
    border-bottom-color: #FF5A5F;
}
body.dark-theme .xhpp-comment-tip {
    background: #2a2228;
    color: #b8b8bc;
}

/* ============================================================
 * 项目教程模板
 * ============================================================ */
body.dark-theme .xhpp-tutorial-header { border-bottom-color: #3a3a42; }
body.dark-theme .xhpp-tutorial-title { color: #e8e8ec; }
body.dark-theme .xhpp-tutorial-meta { color: #88888c; }
body.dark-theme .xhpp-tutorial-meta .author a { color: #b8b8bc; }
body.dark-theme .xhpp-tut-tag {
    background: #2a2a32;
    color: #b8b8bc;
}

/* 项目信息卡 */
body.dark-theme .xhpp-project-info-card {
    background: linear-gradient(135deg, #22222a, #2a2228);
    border-color: #3a3a42;
}
body.dark-theme .xhpp-info-card-title { color: #e8e8ec; }
body.dark-theme .xhpp-info-label { color: #88888c; }
body.dark-theme .xhpp-info-value { color: #e8e8ec; }

/* 目录 */
body.dark-theme .xhpp-tutorial-toc {
    background: #22222a;
    border-color: #3a3a42;
}
body.dark-theme .xhpp-tutorial-toc h4 { color: #e8e8ec; }
body.dark-theme .xhpp-toc-list li a {
    background: #1a1a1f;
    color: #b8b8bc;
    border-color: #3a3a42;
}
body.dark-theme .xhpp-toc-list li a:hover {
    background: #FF5A5F;
    color: #fff;
}

/* 文章内容 */
body.dark-theme .xhpp-tutorial-content,
body.dark-theme .xhpp-journal-content,
body.dark-theme .xhpp-resource-content {
    color: #d8d8dc;
}
body.dark-theme .xhpp-tutorial-content h2,
body.dark-theme .xhpp-journal-content h2,
body.dark-theme .xhpp-resource-detail h3 {
    color: #e8e8ec;
}
body.dark-theme .xhpp-tutorial-content h3 { color: #e8e8ec; }
body.dark-theme .xhpp-tutorial-content blockquote {
    background: #22222a;
    color: #b8b8bc;
    border-left-color: #6B5B95;
}
body.dark-theme .xhpp-tutorial-content code {
    background: #2a2228;
    color: #FF8A8E;
}

/* 下载区 */
body.dark-theme .xhpp-download-section {
    background: linear-gradient(135deg, #2a2228, #22222a);
    border-color: #3a3a42;
}
body.dark-theme .xhpp-download-section h3 { color: #e8e8ec; }
body.dark-theme .xhpp-download-card {
    background: #1a1a1f;
    border-color: #3a3a42;
}
body.dark-theme .xhpp-dl-info h4 { color: #e8e8ec; }
body.dark-theme .xhpp-dl-info p { color: #88888c; }
body.dark-theme .xhpp-vip-notice {
    background: #2a2228;
    color: #F0A93B;
}

/* 评测/日记引导 */
body.dark-theme .xhpp-review-prompt {
    background: linear-gradient(135deg, #2a2228, #2a2a32);
    border-color: #4a3a1a;
}
body.dark-theme .xhpp-review-prompt-body h4 { color: #e8e8ec; }
body.dark-theme .xhpp-review-prompt-body p { color: #b8b8bc; }
body.dark-theme .xhpp-journal-prompt {
    background: linear-gradient(135deg, #1a1a1f, #2a2228);
    border-color: #3a3a42;
}
body.dark-theme .xhpp-journal-prompt-body h4 { color: #e8e8ec; }
body.dark-theme .xhpp-journal-prompt-body p { color: #b8b8bc; }

/* 侧边栏 */
body.dark-theme .xhpp-tutorial-sidebar .xhpp-sidebar-widget,
body.dark-theme .xhpp-resource-sidebar .xhpp-sidebar-widget {
    background: #22222a;
    border-color: #3a3a42;
}
body.dark-theme .xhpp-sidebar-widget h4 { color: #e8e8ec; }
body.dark-theme .xhpp-related-list li { border-bottom-color: #3a3a42; }
body.dark-theme .xhpp-related-list li a { color: #b8b8bc; }
body.dark-theme .xhpp-related-list li a:hover { color: #FF8A8E; }
body.dark-theme .xhpp-sidebar-toc {
    background: #22222a;
    border-color: #3a3a42;
}
body.dark-theme .xhpp-sidebar-toc h4 { color: #e8e8ec; }
body.dark-theme .xhpp-sidebar-toc-list li a { color: #b8b8bc; }
body.dark-theme .xhpp-sidebar-toc-list li a:hover { background: #2a2228; color: #FF8A8E; }

/* 标签页脚 */
body.dark-theme .xhpp-tutorial-tags-footer,
body.dark-theme .xhpp-journal-tags,
body.dark-theme .xhpp-resource-tags-footer {
    border-top-color: #3a3a42;
    color: #88888c;
}
body.dark-theme .xhpp-tutorial-tags-footer a,
body.dark-theme .xhpp-journal-tags a,
body.dark-theme .xhpp-resource-tags-footer a {
    background: #2a2a32;
    color: #b8b8bc;
}
body.dark-theme .xhpp-tutorial-tags-footer a:hover,
body.dark-theme .xhpp-journal-tags a:hover,
body.dark-theme .xhpp-resource-tags-footer a:hover {
    background: #FF5A5F;
    color: #fff;
}

/* ============================================================
 * 实战日记模板
 * ============================================================ */
body.dark-theme .xhpp-journal-header { border-bottom-color: #3a3a42; }
body.dark-theme .xhpp-journal-title { color: #e8e8ec; }
body.dark-theme .xhpp-journal-meta { color: #88888c; }
body.dark-theme .xhpp-j-author-info a { color: #e8e8ec; }

body.dark-theme .xhpp-journal-project-card {
    background: #22222a;
    border-color: #3a3a42;
}
body.dark-theme .xhpp-jp-label { color: #88888c; }
body.dark-theme .xhpp-jp-value { color: #e8e8ec; }

body.dark-theme .xhpp-income-progress {
    background: linear-gradient(135deg, #1a2a28, #2a2228);
}
body.dark-theme .xhpp-progress-header { color: #e8e8ec; }
body.dark-theme .xhpp-progress-bar { background: #1a1a1f; }

body.dark-theme .xhpp-reward-notice {
    background: linear-gradient(135deg, #2a2228, #2a2a32);
    border-color: #4a3a1a;
}
body.dark-theme .xhpp-reward-body h4 { color: #e8e8ec; }
body.dark-theme .xhpp-reward-body p { color: #b8b8bc; }

body.dark-theme .xhpp-interaction-section {
    background: #22222a;
}
body.dark-theme .xhpp-interaction-section h3 { color: #e8e8ec; }
body.dark-theme .xhpp-interaction-desc { color: #88888c; }
body.dark-theme .xhpp-act-btn {
    background: #1a1a1f;
    border-color: #3a3a42;
    color: #b8b8bc;
}
body.dark-theme .xhpp-act-btn:hover {
    background: #2a2228;
    border-color: #FF5A5F;
    color: #FF8A8E;
}

body.dark-theme .xhpp-more-journals h3 {
    color: #e8e8ec;
    border-bottom-color: #6B5B95;
}
body.dark-theme .xhpp-journal-card {
    background: #22222a;
    border-color: #3a3a42;
}
body.dark-theme .xhpp-journal-card h4 { color: #e8e8ec; }
body.dark-theme .xhpp-journal-card p { color: #88888c; }
body.dark-theme .xhpp-journal-card-date { color: #68686c; }

/* ============================================================
 * 资源下载模板
 * ============================================================ */
body.dark-theme .xhpp-resource-header { border-bottom-color: #3a3a42; }
body.dark-theme .xhpp-resource-icon {
    background: linear-gradient(135deg, #2a2228, #2a2a32);
    border-color: #3a3a42;
}
body.dark-theme .xhpp-resource-title { color: #e8e8ec; }
body.dark-theme .xhpp-resource-meta { color: #88888c; }
body.dark-theme .xhpp-res-tag { background: #2a2a32; color: #b8b8bc; }

body.dark-theme .xhpp-resource-info-card {
    background: #22222a;
    border-color: #3a3a42;
}
body.dark-theme .xhpp-resource-info-card h3 { color: #e8e8ec; }
body.dark-theme .xhpp-res-info-item { background: #1a1a1f; }
body.dark-theme .xhpp-res-info-label { color: #88888c; }
body.dark-theme .xhpp-res-info-value { color: #e8e8ec; }

body.dark-theme .xhpp-dl-locked {
    background: linear-gradient(135deg, #2a2228, #2a2a32);
    border-color: #4a2a2a;
}
body.dark-theme .xhpp-dl-lock-body h4 { color: #e8e8ec; }
body.dark-theme .xhpp-dl-lock-body p { color: #b8b8bc; }
body.dark-theme .xhpp-dl-available {
    background: linear-gradient(135deg, #1a2a28, #2a2228);
    border-color: #1a3a2a;
}
body.dark-theme .xhpp-dl-missing {
    background: #2a2228;
    color: #FF8A8E;
}

body.dark-theme .xhpp-usage-list li {
    background: #1a1a1f;
    color: #b8b8bc;
}
body.dark-theme .xhpp-usage-list code {
    background: #2a2228;
    color: #FF8A8E;
}

body.dark-theme .xhpp-changelog-list { border-left-color: #3a3a42; }
body.dark-theme .xhpp-cl-version { background: #2a2228; color: #FF8A8E; }
body.dark-theme .xhpp-cl-date { color: #68686c; }
body.dark-theme .xhpp-cl-desc { color: #b8b8bc; }

body.dark-theme .xhpp-sidebar-author { background: #22222a; }
body.dark-theme .xhpp-sidebar-author h4 { color: #e8e8ec; }
body.dark-theme .xhpp-sidebar-author p { color: #88888c; }

/* ============================================================
 * 营销落地页模板
 * ============================================================ */
body.dark-theme .xhpp-landing-content { background: #1a1a1f; }
body.dark-theme .xhpp-landing-article {
    background: #22222a;
    border-color: #3a3a42;
    color: #d8d8dc;
}
body.dark-theme .xhpp-landing-features { background: #1a1a1f; }
body.dark-theme .xhpp-feature-box {
    background: #22222a;
    border-color: #3a3a42;
}
body.dark-theme .xhpp-feature-box h3 { color: #e8e8ec; }
body.dark-theme .xhpp-feature-box p { color: #88888c; }

body.dark-theme .xhpp-landing-compare { background: #1a1a1f; }
body.dark-theme .xhpp-compare-table { background: #22222a; }
body.dark-theme .xhpp-compare-table th { background: #2a2a32; color: #e8e8ec; }
body.dark-theme .xhpp-compare-table td { color: #b8b8bc; border-bottom-color: #3a3a42; }
body.dark-theme .xhpp-compare-table td:first-child { color: #e8e8ec; }

body.dark-theme .xhpp-landing-testimonials { background: #1a1a1f; }
body.dark-theme .xhpp-testimonial-box {
    background: #22222a;
    border-color: #3a3a42;
}
body.dark-theme .xhpp-testimonial-box p { color: #b8b8bc; }
body.dark-theme .xhpp-testi-user strong { color: #e8e8ec; }
body.dark-theme .xhpp-testi-user span { color: #88888c; }

body.dark-theme .xhpp-landing-faq { background: #1a1a1f; }
body.dark-theme .xhpp-faq-item {
    background: #22222a;
    border-color: #3a3a42;
}
body.dark-theme .xhpp-faq-item summary { color: #e8e8ec; }
body.dark-theme .xhpp-faq-a { color: #b8b8bc; }

/* ============================================================
 * 公告栏 (暗黑模式)
 * ============================================================ */
body.dark-theme .xhpp-announcement-bar { color: #fff; }
body.dark-theme .xhpp-ann-close {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* ============================================================
 * 维护模式页 (暗黑模式)
 * ============================================================ */
body.dark-theme .xhpp-maintenance-box {
    background: rgba(40,40,50,0.6);
    border-color: rgba(255,255,255,0.1);
}
