﻿@charset "UTF-8";
/* ============================================================
   浅色模式对比度修复 (WCAG 2.1 AA)
   覆盖：9 个页面实测 557 处低对比文本，归并为下列规则
   算法：Playwright 读取 computed color 与逐层合成背景色，
        按 WCAG 相对亮度计算对比度，保持原色相/饱和度仅调明度；
        白字压彩底则加深底色，白字白底故障则回到深字浅底
   范围：仅浅色模式追加覆盖，不改原有样式定义
   回滚：从模板 head 删掉本文件引用即可完全还原
   ============================================================ */

.project-card-meta { color: #67748b !important; }  /* 196 处 */
.card-cta { color: #ad5009 !important; }  /* 36 处 */
.meta-rating { color: #9d6506 !important; }  /* 36 处 */
.promo-tag-badge { color: #b94f05 !important; }  /* 36 处 */
.skill-tag { color: #606f85 !important; }  /* 20 处 */
.drawer-item { color: #d13800 !important; }  /* 19 处 */
.promo-btn { background-color: #a06707 !important; }  /* 11 处 */
.rank-dl { color: #12823b !important; }  /* 10 处 */
.case-data { color: #ad5f00 !important; }  /* 9 处 */
div.recommend div.tags a { color: #606f85 !important; }  /* 9 处 */
.hot-badge { background-color: #e90000 !important; }  /* 8 处 */
.promo-joined { color: #117e39 !important; }  /* 8 处 */
.pinned-badge { background-color: #a86400 !important; }  /* 6 处 */
div.faq-item.reveal div.faq-q span { color: #936e2f !important; }  /* 6 处 */
div.timeline-item.reveal.visible div.timeline-card div { color: #606f85 !important; }  /* 5 处 */
div.timeline-item.reveal.visible div.timeline-card p { color: #606f85 !important; }  /* 5 处 */
table.cost-table tbody tr td { color: #d83a00 !important; }  /* 5 处 */
.chat-suggest { color: #606f85 !important; }  /* 4 处 */
.phil-num { color: #7793b8 !important; }  /* 4 处 */
div#stats.panel div.stat span { color: #1e293b !important; background-color: #eef2f7 !important; }  /* 4 处 */
div.hero-stats div.hero-stat small { color: #c4ccd8 !important; }  /* 4 处 */
div.hot-item div div span { color: #b06005 !important; }  /* 4 处 */
footer.dark-footer div div div { color: #959595 !important; }  /* 4 处 */
.btn-ghost { color: #1e293b !important; background-color: #eef2f7 !important; }  /* 3 处 */
.creator-stat-label { color: #5b6f8a !important; }  /* 3 处 */
.promo-recommended { color: #a35905 !important; }  /* 3 处 */
div.hero-stats div.hero-stat div { color: #a06707 !important; }  /* 3 处 */
div.tcard.reveal div.who div div { color: #936e2f !important; }  /* 3 处 */
div.timeline-card span.timeline-tag { color: #1557e8 !important; }  /* 3 处 */
a.topic-item div.topic-icon { color: #0b7a55 !important; }  /* 2 处 */
body main.main-content nav a { color: #70707b !important; }  /* 2 处 */
body main.main-content nav span { color: #1e293b !important; background-color: #eef2f7 !important; }  /* 2 处 */
div.avatar-container div.float-chip { color: #0b835c !important; }  /* 2 处 */
div.project-card.reveal.visible span.project-status.earn { background-color: #1b8361 !important; }  /* 2 处 */
form#bookForm div.form-row label span { color: #617592 !important; }  /* 2 处 */
a.navbar-logo span.navbar-logo-text { color: #d13800 !important; }  /* 1 处 */
body footer div div.foot-copy { color: #959595 !important; }  /* 1 处 */
body section div p.section-sub { color: #5e6d83 !important; }  /* 1 处 */
button#chatFab.ai-chat-fab span.badge-new { background-color: #c15205 !important; }  /* 1 处 */
div div.author-card div span { color: #1658ea !important; }  /* 1 处 */
div div.stat-card.animate-up div span { color: #04845c !important; }  /* 1 处 */
div ul#navLinks.nav-links li a { color: #c5974b !important; }  /* 1 处 */
div#articleBody.article-body div.cta-box a { color: #d83a00 !important; }  /* 1 处 */
div#articleBody.article-body div.step-card p a { color: #d13800 !important; }  /* 1 处 */
div.about-case span.case-tag { color: #8c682d !important; }  /* 1 处 */
div.about-grid div.about-body span { color: #8c682d !important; }  /* 1 处 */
div.avatar-container div.status-chip span { color: #0b835c !important; }  /* 1 处 */
div.booking.reveal div.b-head span { color: #c99e57 !important; }  /* 1 处 */
div.chat-header-left div.chat-avatar-sm { color: #1e293b !important; background-color: #eef2f7 !important; }  /* 1 处 */
div.chat-msg.bot div div.chat-msg-time { color: #617592 !important; }  /* 1 处 */
div.contact-grid div.contact-cta-card.reveal.visible p { color: #606f85 !important; }  /* 1 处 */
div.creator-info div.creator-desc { color: #747474 !important; }  /* 1 处 */
div.featured-body div.featured-meta { color: #67748b !important; }  /* 1 处 */
div.filter-bar button.tab.active { background-color: #a06707 !important; color: #ffffff !important; }  /* 1 处 */
div.nav-menu a.nav-link { color: #a06707 !important; }  /* 1 处 */
div.opc-join div.opc-join-visual { color: #1e293b !important; background-color: #eef2f7 !important; }  /* 1 处 */
div.price-grid div.price-card.featured div b { color: #b18439 !important; }  /* 1 处 */
div.progress-card div#progressText.progress-text { color: #666e76 !important; }  /* 1 处 */
div.project-card.reveal.visible span.project-status.hot { background-color: #c15205 !important; }  /* 1 处 */
div.promo-panel div.promo-fire span { color: #5f6e84 !important; }  /* 1 处 */
div.promo-panel div.promo-title { color: #c07b08 !important; }  /* 1 处 */
div.promo-panel span.promo-badge { background-color: #a06707 !important; }  /* 1 处 */
div.timeline-card span.timeline-tag.fail { color: #ac4904 !important; }  /* 1 处 */
div.timeline-card span.timeline-tag.opc { color: #0a7653 !important; }  /* 1 处 */
div.topnav-inner a.topnav-logo span { color: #ad5f00 !important; }  /* 1 处 */
header#top.hero div.hero-grid div span { color: #8c682d !important; }  /* 1 处 */
header.hero div span.hero-label { color: #995c00 !important; }  /* 1 处 */
li.toc-item a.toc-link span { color: #c83600 !important; }  /* 1 处 */
main.main-content section div.section-header.animate-up span { color: #c82020 !important; }  /* 1 处 */
section#credentials div div.section-head.center.reveal span { color: #8c682d !important; }  /* 1 处 */
section#faq div div.section-head.center.reveal span { color: #8c682d !important; }  /* 1 处 */
section#pricing div div.section-head.center.reveal span { color: #8c682d !important; }  /* 1 处 */
section#process div div.section-head.reveal span { color: #8c682d !important; }  /* 1 处 */
section#scope div div.section-head.reveal span { color: #8c682d !important; }  /* 1 处 */
section#testimonials div div.section-head.center.reveal span { color: #8c682d !important; }  /* 1 处 */

/* ---------- 深色页脚：浅灰字提亮至 AA（原 #777 / #2c2c2c，CR 3.12）---------- */
footer.dark-footer div div,
footer.dark-footer div div a,
footer.dark-footer a,
footer .foot-copy { color: #a9a9a9 !important; }

/* ---------- 幽灵按钮：原为白字白底（CR 1.04，实际不可见）---------- */
.btn.btn-ghost {
  color: #1e293b !important;
  background-color: #eef2f7 !important;
  border: 1px solid #cbd5e1 !important;
}

/* ---------- 面包屑当前位置：原为白字浅底（CR 1.05）---------- */
.bc-v2 span.current {
  color: #334155 !important;
  background-color: #f1f5f9 !important;
}

/* ---------- OPC 地图统计数字：原 #e8f4ff on #fff（CR 1.12）---------- */
#stats span.v { color: #17418f !important; }

/* ===== 追加：合成背景漏检项（徽章/奖牌/封面标签/侧栏箭头） ===== */
.rank-no.gold { background-color: #8a5a00 !important; color: #ffffff !important; }
.rank-no.silver { background-color: #5b6b7f !important; color: #ffffff !important; }
.rank-no.bronze { background-color: #8a4b00 !important; color: #ffffff !important; }
.hero h1 .hl { color: #b45309 !important; }
.opc-cover-tag { background-color: rgba(15,23,42,.78) !important; color: #ffffff !important; }
.sidebar-tool-item-arrow { color: #94a3b8 !important; }

/* ===== 追加2：榜单序号/复播徽章/侧栏箭头 ===== */
.hot-rank { background-color: #8a5a00 !important; color: #ffffff !important; }
.opc-event-badge.badge-replay { background-color: #5f6b7d !important; color: #ffffff !important; }
.sidebar-tool-item-arrow { color: #64748b !important; }
