/* ============================================================
   暗色模式皮肤 (PC)
   机制: html[data-theme="dark"] 属性前缀覆盖(特异性高于原规则, 与加载顺序无关)
   默认跟随系统, 用户手动选择(localStorage site_theme)优先 — 见 base.html head 脚本
   调色板: 页面#121214 卡面#1E1F23 浮起#26272C chip#2A2B30
           边框#34353A 主文#E6E6E8 次文#A6A8AD 弱文#84868C
           品牌金 #FBC630/#FFDA69 不变, 涨绿跌红不变
   ============================================================ */

/* ---------- 1. 基础 ---------- */
html[data-theme="dark"],
html[data-theme="dark"] body,
html[data-theme="dark"] #main {
    background: #121214;
    color: #C9CBD1;
}
html[data-theme="dark"] body {
    color-scheme: dark;
}

/* ---------- 2. 顶部导航 ---------- */
html[data-theme="dark"] .header {
    background: #1E1F23;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .header .nav li a,
html[data-theme="dark"] .header .nav-list li a {
    color: #E6E6E8;
}
html[data-theme="dark"] .header .nav li a:hover,
html[data-theme="dark"] .header .nav li.on a {
    color: #FBC630;
}
/* 顶部副条(免责声明)原本就是深色#333, 微调融入 */
html[data-theme="dark"] .header-sub {
    background: #202126;
}
html[data-theme="dark"] .lang-list,
html[data-theme="dark"] .timezone-list {
    background: #26272C;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}
html[data-theme="dark"] .lang-list a,
html[data-theme="dark"] .timezone-list a,
html[data-theme="dark"] .lang-list li,
html[data-theme="dark"] .timezone-list li {
    color: #C9CBD1;
}
html[data-theme="dark"] .lang-list a:hover,
html[data-theme="dark"] .timezone-list a:hover {
    color: #FBC630;
}

/* ---------- 3. 通用卡面 ---------- */
html[data-theme="dark"] .column-box,
html[data-theme="dark"] .column-item,
html[data-theme="dark"] .detail-card,
html[data-theme="dark"] .market-data-notice .column-box,
html[data-theme="dark"] .news-flash-container,
html[data-theme="dark"] .column-right-hot ul li,
html[data-theme="dark"] .article-box,
html[data-theme="dark"] .custom-confirm-dialog .confirm-content {
    background: #1E1F23;
}
html[data-theme="dark"] .detail-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
/* 透明卡保持透明 */
html[data-theme="dark"] .pc-transparent-card {
    background: transparent;
}

/* ---------- 4. 文字层级 ---------- */
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4 {
    color: #E6E6E8;
}
html[data-theme="dark"] .column-box-title h3,
html[data-theme="dark"] .info h3,
html[data-theme="dark"] .info h3 a,
html[data-theme="dark"] .news-title h3,
html[data-theme="dark"] .newsflash-title,
html[data-theme="dark"] .article-title,
html[data-theme="dark"] .list-title {
    color: #E6E6E8;
}
html[data-theme="dark"] .info h3 a:hover,
html[data-theme="dark"] .newsflash-title:hover {
    color: #FBC630;
}
html[data-theme="dark"] .desc,
html[data-theme="dark"] .newsflash-content,
html[data-theme="dark"] .news-text,
html[data-theme="dark"] .article-body,
html[data-theme="dark"] .article-body p,
html[data-theme="dark"] .market-data-notice-content {
    color: #A6A8AD;
}
html[data-theme="dark"] .time,
html[data-theme="dark"] .time-text,
html[data-theme="dark"] .newsflash-time,
html[data-theme="dark"] .list-filter-label {
    color: #84868C;
}

/* ---------- 5. 边框与分割线 ---------- */
html[data-theme="dark"] .column-item ul li,
html[data-theme="dark"] .news-flash-item,
html[data-theme="dark"] .newsflash-item,
html[data-theme="dark"] .border-t,
html[data-theme="dark"] .border-b,
html[data-theme="dark"] hr {
    border-color: #34353A;
}
html[data-theme="dark"] .border-gray-300,
html[data-theme="dark"] .border-gray-200 {
    border-color: #34353A;
}
html[data-theme="dark"] .divide-gray-200 > :not([hidden]) ~ :not([hidden]) {
    border-color: #34353A;
}

/* ---------- 6. chips / 标签 / 按钮 ---------- */
html[data-theme="dark"] .newsflash-tags .swiper-slide,
html[data-theme="dark"] .column-item-tab .column-item-btn,
html[data-theme="dark"] .tags a,
html[data-theme="dark"] .column-right-tags a,
html[data-theme="dark"] .search-related-tags a {
    background: #2A2B30;
    color: #C9CBD1;
    border-color: transparent;
}
html[data-theme="dark"] .newsflash-tags .swiper-slide:hover,
html[data-theme="dark"] .column-item-tab .column-item-btn:hover,
html[data-theme="dark"] .tags a:hover,
html[data-theme="dark"] .column-right-tags a:hover {
    background: #26272C;
    color: #FBC630;
    border-color: #FFDA69;
}
html[data-theme="dark"] .newsflash-tags .swiper-slide.on,
html[data-theme="dark"] .column-item-tab .column-item-btn.on,
html[data-theme="dark"] .column-item-tab .column-item-btn.active {
    background: #FFDA69;
    color: #111;
}
html[data-theme="dark"] .load-more,
html[data-theme="dark"] .loading-data-more {
    background: #26272C;
    color: #C9CBD1;
    border-color: #34353A;
}
html[data-theme="dark"] .load-more:hover,
html[data-theme="dark"] .loading-data-more:hover {
    color: #FBC630;
}

/* ---------- 7. 首页快讯时间轴(index.html 内联样式覆盖) ---------- */
html[data-theme="dark"] .newsflash-list::before {
    background: #34353A;
}
html[data-theme="dark"] .newsflash-item::before {
    border-color: #1E1F23; /* 圆点描边必须同卡面色, 否则白圈 */
}
html[data-theme="dark"] .date-separator,
html[data-theme="dark"] .date-separator-text {
    color: #E6E6E8;
}
html[data-theme="dark"] .list-header {
    background: #1E1F23;
}
html[data-theme="dark"] .newsflash-footer .newsflash-expand,
html[data-theme="dark"] .newsflash-more-actions {
    color: #FBC630;
}
/* 长快讯渐变折叠: 渐变必须压到卡面色 */
html[data-theme="dark"] .newsflash-content.needs-expand:not(.expanded)::after {
    background: linear-gradient(rgba(30, 31, 35, 0), #1E1F23 90%);
}

/* ---------- 8. 渐变折叠(详情页/简介通用) ---------- */
html[data-theme="dark"] .stats-fold.folded::after,
html[data-theme="dark"] .intro-fold.collapsed::after,
html[data-theme="dark"] .intro-card #intro-content-full.collapsed::after {
    background: linear-gradient(rgba(30, 31, 35, 0), #1E1F23 90%);
}

/* ---------- 9. 币种详情(coin_detail 内联样式覆盖) ---------- */
html[data-theme="dark"] .crypto-info-card,
html[data-theme="dark"] .intro-card,
html[data-theme="dark"] .market-chart-card {
    background: #1E1F23;
}
html[data-theme="dark"] .text-gray-900,
html[data-theme="dark"] .crypto-info-card #current-price {
    color: #E6E6E8;
}
html[data-theme="dark"] .text-gray-700,
html[data-theme="dark"] .text-gray-600 {
    color: #A6A8AD;
}
html[data-theme="dark"] .text-gray-500 {
    color: #84868C;
}
html[data-theme="dark"] .interval-tab,
html[data-theme="dark"] .chart-type-tabs .tab-item {
    background: #2A2B30;
    color: #C9CBD1;
}
html[data-theme="dark"] .interval-tab.active,
html[data-theme="dark"] .chart-type-tabs .tab-item.active {
    background: #FFDA69;
    color: #111;
}

/* ---------- 10. 行情页(coin.html, tailwind 工具类 + 自有类) ---------- */
html[data-theme="dark"] .bg-white {
    background-color: #1E1F23;
}
html[data-theme="dark"] .bg-gray-50,
html[data-theme="dark"] .hover\:bg-gray-50:hover {
    background-color: #26272C;
}
html[data-theme="dark"] .crypto-table {
    background: #1E1F23;
}
html[data-theme="dark"] .crypto-table th {
    background: #1E1F23;
    color: #84868C;
}
html[data-theme="dark"] .crypto-table td {
    color: #C9CBD1;
    border-color: #34353A;
}
html[data-theme="dark"] .crypto-row:hover {
    background: #26272C;
}
html[data-theme="dark"] .crypto-row:nth-child(even) {
    background: transparent;
}
html[data-theme="dark"] .crypto-table .crypto-name {
    color: #E6E6E8;
}
html[data-theme="dark"] .crypto-table .crypto-symbol {
    color: #84868C;
}
html[data-theme="dark"] .market-stat-item .stat-value-large,
html[data-theme="dark"] .market-stat-item .stat-value-medium {
    color: #E6E6E8;
}

/* ---------- 11. 行情弹窗(market-data-dialog.css 覆盖) ---------- */
html[data-theme="dark"] #market-data-app .dialog-card,
html[data-theme="dark"] #market-data-app [class*="dialog"],
html[data-theme="dark"] .market-data-dialog,
html[data-theme="dark"] .market-data-dialog-content {
    background-color: #1E1F23;
    color: #C9CBD1;
}

/* ---------- 12. 表单与搜索 ---------- */
html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select {
    background: #26272C;
    color: #E6E6E8;
    border-color: #34353A;
}
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
    color: #6B6D73;
}
html[data-theme="dark"] .search-popup,
html[data-theme="dark"] .search-popup-box {
    background: #1E1F23;
}

/* ---------- 13. 面包屑 / 翻页 / 杂项 ---------- */
html[data-theme="dark"] .breadcrumb,
html[data-theme="dark"] .breadcrumb a,
html[data-theme="dark"] .block-breadcrumb a {
    color: #84868C;
}
html[data-theme="dark"] .article-disclaimer {
    background: #2B2520;
    color: #A6A8AD;
    border-color: #4A3F2A;
}
html[data-theme="dark"] .btn-top {
    background: #26272C;
    border-color: #34353A;
}


/* ---------- 14. 补丁批次2(截图复查) ---------- */
/* 首页主列表容器/通用中栏卡 */
html[data-theme="dark"] .column-center-item,
html[data-theme="dark"] .newsflash-list-container {
    background: #1E1F23;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
/* 侧栏: 推荐阅读 + 24h热榜标题 */
html[data-theme="dark"] .column-right-recom ul li a,
html[data-theme="dark"] .column-right-hot ul li h4 a {
    color: #C9CBD1;
}
html[data-theme="dark"] .column-right-recom ul li a:hover,
html[data-theme="dark"] .column-right-hot ul li h4 a:hover {
    color: #FBC630;
}
/* 文章上一篇/下一篇 */
html[data-theme="dark"] .article-links a,
html[data-theme="dark"] .article-links .fs-14,
html[data-theme="dark"] .article-links .divide {
    color: #A6A8AD;
}
html[data-theme="dark"] .article-links a:hover .fs-14 {
    color: #FBC630;
}
/* 币种详情新闻卡标题 */
html[data-theme="dark"] .blockchain-news-title {
    color: #E6E6E8;
}

/* ---------- 15. 补丁批次3: 快讯单条卡白底 ---------- */
html[data-theme="dark"] .newsflash-item,
html[data-theme="dark"] .newsflash-content-wrapper {
    background: #1E1F23;
}
html[data-theme="dark"] .newsflash-item:hover {
    background: #26272C;
}

/* ---------- 16. 补丁批次4 ---------- */
/* 日期分组行自带白底(用于遮时间轴), 暗色下改卡面色 */
html[data-theme="dark"] .date-separator {
    background: #1E1F23;
    color: #E6E6E8;
}
html[data-theme="dark"] .stats-fold.folded::after {
    height: 22px;
}
/* 列表标题被长链选择器(.column-item ul.scrollload-content li .info h3 a)压制, 用同链覆盖 */
html[data-theme="dark"] .column-item ul.scrollload-content li .info h3 a,
html[data-theme="dark"] .column-item ul li .info h3 a {
    color: #E6E6E8;
}
html[data-theme="dark"] .column-item ul.scrollload-content li .info h3 a:hover {
    color: #FBC630;
}

/* ---------- 17. 补丁批次5: 白块大排查(程序化探测) ---------- */
/* 头部搜索框 */
html[data-theme="dark"] .search-box div.pr input,
html[data-theme="dark"] .search-box input {
    background: #26272C;
    color: #E6E6E8;
    border-color: #34353A;
}
html[data-theme="dark"] .search-box button {
    background: #FFDA69;
}
/* 文章/标签/搜索列表条目(长链选择器自带白底) */
html[data-theme="dark"] .column-item ul.scrollload-content li.thumb-mode,
html[data-theme="dark"] .column-item ul.scrollload-content li.info-mode {
    background: #1E1F23;
    border-color: #34353A;
}
html[data-theme="dark"] .column-item ul.scrollload-content li.thumb-mode:hover,
html[data-theme="dark"] .column-item ul.scrollload-content li.info-mode:hover {
    background: #26272C;
}
/* 404 幽灵按钮 */
html[data-theme="dark"] .not-found-btn--ghost {
    background: #26272C;
    color: #C9CBD1;
    border-color: #34353A;
}
html[data-theme="dark"] .not-found-card {
    background: linear-gradient(135deg, #1E1F23 0%, #26241C 100%);
}
/* 搜索页相关话题容器 */
html[data-theme="dark"] .search-related-tags {
    background: #1E1F23;
}
/* 文章详情零散白底链接(标签chip/操作按钮兜底) */
html[data-theme="dark"] .article-box a.tag,
html[data-theme="dark"] .article-tags a,
html[data-theme="dark"] .feedback-trigger {
    background: #2A2B30;
    color: #C9CBD1;
}
/* 日历图标的白底是CSS遮轴线用的, 不是图片问题; 暗色下改卡面色 */
html[data-theme="dark"] .date-separator-icon {
    background: #1E1F23;
}

/* ---------- 18. 补丁批次6: 行情列表/低对比度大扫除 ---------- */
/* 行情页顶部统计卡(白底白字隐形的元凶) */
html[data-theme="dark"] .market-stat-item {
    background: #1E1F23;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
/* 币种排行表头条/分页条 */
html[data-theme="dark"] .table-header-controls,
html[data-theme="dark"] .pagination-container {
    background: #1E1F23;
    color: #C9CBD1;
}
html[data-theme="dark"] .table-title {
    color: #E6E6E8;
}
html[data-theme="dark"] .pagination-btn {
    background: #26272C;
    color: #C9CBD1;
    border-color: #34353A;
}
html[data-theme="dark"] .pagination-btn:disabled {
    color: #5A5C62;
}
/* 涨跌分布标签(灰字太暗) */
html[data-theme="dark"] .distribution-label {
    color: #A6A8AD;
}
/* 详情页趋势/K线tab容器 */
html[data-theme="dark"] .tabs-container,
html[data-theme="dark"] .tabs-list {
    background: #2A2B30;
}
/* 详情统计网格里无text-gray类的黑字数值兜底 */
html[data-theme="dark"] .stats-grid .text-sm.font-semibold {
    color: #E6E6E8;
}
/* 搜索页"相关话题:"标签 */
html[data-theme="dark"] .tag-label,
html[data-theme="dark"] .topic-label {
    color: #A6A8AD;
}
/* 404页热门话题chip(无类名a, 靠父级) */
html[data-theme="dark"] .not-found-topics-list a {
    background: #2A2B30;
    color: #C9CBD1;
}
html[data-theme="dark"] .not-found-topics-list a:hover {
    background: #FFDA69;
    color: #111;
}

/* ---------- 主题/时区线性SVG图标(替代emoji, 与站内图标风格统一) ---------- */
.theme-icon, .tool-svg-icon {
    width: 15px;
    height: 15px;
    color: #E8E8E8;
}
.theme-icon-sun { display: none; }
html[data-theme="dark"] .theme-icon-moon { display: none; }
html[data-theme="dark"] .theme-icon-sun { display: block; }

/* ---------- 19. 审计批次(Codex+Gemini): 交互态/系统级 ---------- */
html[data-theme="dark"] {
    color-scheme: dark; /* 原生表单控件/滚动条整体变暗 */
}
html[data-theme="dark"] ::-webkit-scrollbar {
    background: #121214;
}
html[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: #34353A;
    border-radius: 8px;
}
html[data-theme="dark"] ::selection {
    background: rgba(251, 198, 48, 0.85);
    color: #121214;
}
html[data-theme="dark"] input,
html[data-theme="dark"] textarea {
    caret-color: #FFDA69;
}
html[data-theme="dark"] :focus-visible {
    outline: 2px solid #FFDA69;
    outline-offset: 2px;
}
html[data-theme="dark"] button:disabled,
html[data-theme="dark"] input:disabled {
    color: #5A5C62;
    background: #1A1B1F;
    border-color: #2A2B30;
}

/* ---------- 20. 补丁批次7: 浅色线条/边框大扫除(边框探测器+代码grep) ---------- */
/* 首页快讯头部分割线 */
html[data-theme="dark"] .list-header {
    border-bottom-color: #34353A;
}
/* 侧栏列表条目分割线(推荐阅读/热榜的无类名li) */
html[data-theme="dark"] .column-right li,
html[data-theme="dark"] .column-right-recom ul li,
html[data-theme="dark"] .column-right-hot ul li {
    border-bottom-color: #34353A;
}
/* 行情页: 统计卡/表格/表头/分页 浅灰边框 */
html[data-theme="dark"] .market-stat-item,
html[data-theme="dark"] .crypto-table,
html[data-theme="dark"] .crypto-table th,
html[data-theme="dark"] .table-header-controls,
html[data-theme="dark"] .pagination-container,
html[data-theme="dark"] .pagination-container button {
    border-color: #34353A;
}
/* 详情页卡片浅边框 */
html[data-theme="dark"] .detail-card {
    border-color: #34353A;
}
/* 举报弹窗/发布表单的白边输入框(打开才可见) */
html[data-theme="dark"] .feedbackModal .feedback-form input,
html[data-theme="dark"] .feedbackModal .feedback-form textarea,
html[data-theme="dark"] .feedbackModal .feedback-form select,
html[data-theme="dark"] .post-input input,
html[data-theme="dark"] .post-input select,
html[data-theme="dark"] .post-input textarea {
    border-color: #34353A;
    background: #26272C;
    color: #E6E6E8;
}
html[data-theme="dark"] .feedbackModal .feedback-content,
html[data-theme="dark"] .feedback-modal-content {
    background: #1E1F23;
    color: #C9CBD1;
}
/* 行情分页页码按钮(嵌套div内的无类名button) */
html[data-theme="dark"] .pagination-buttons button,
html[data-theme="dark"] .pagination-wrapper button {
    border-color: #34353A;
    background: #26272C;
    color: #C9CBD1;
}
html[data-theme="dark"] .pagination-buttons button.pagination-active {
    background: #FFDA69;
    color: #111111;
    border-color: #FBC630;
}
/* 页码按钮的ID选择器(#page-numbers button)特异性压制, 同级覆盖 */
html[data-theme="dark"] #page-numbers button {
    background: #26272C;
    color: #C9CBD1;
    border-color: #34353A;
}
html[data-theme="dark"] #page-numbers button.pagination-active {
    background: #FFDA69;
    color: #111111;
    border-color: #FBC630;
}
html[data-theme="dark"] #page-numbers button:hover:not(.pagination-active) {
    background: #2A2B30;
    color: #FBC630;
}

/* ---------- 21. 设计审计批次(Codex+Gemini收敛意见) ---------- */
/* 暗色专属滚动条细化 */
html[data-theme="dark"] {
    scrollbar-color: #34353A #121214;
}
/* 选中态chip降饱和金(#FFDA69在暗底夜间halation刺眼; 仅暗色, 浅色保持品牌原色) */
html[data-theme="dark"] .newsflash-tags .swiper-slide.on,
html[data-theme="dark"] .column-item-tab .column-item-btn.on,
html[data-theme="dark"] .column-item-tab .column-item-btn.active,
html[data-theme="dark"] .interval-tab.active,
html[data-theme="dark"] .chart-type-tabs .tab-item.active,
html[data-theme="dark"] #page-numbers button.pagination-active {
    background: #E5C158;
    color: #111214;
    border-color: #F0CD63;
}
/* 跌幅红提亮(#dc2626在暗底发闷, 财经数字小字尤甚) */
html[data-theme="dark"] .change-down,
html[data-theme="dark"] .text-red-600,
html[data-theme="dark"] .distribution-count-down,
html[data-theme="dark"] .crypto-info-card #price-change-amount.negative {
    color: #EF4444;
}
/* 重要快讯纯红#FF0000在OLED暗底"渗血", 软化为alert红 */
html[data-theme="dark"] .newsflash-item.is-important .newsflash-title,
html[data-theme="dark"] .newsflash-item.is-important .newsflash-time {
    color: #FF5252;
}
html[data-theme="dark"] .newsflash-item.is-important::before {
    background-color: #FF5252;
}
/* 浮层(下拉/弹窗)表面提亮一档+大投影 = 暗色下的海拔层次 */
html[data-theme="dark"] .lang-list,
html[data-theme="dark"] .timezone-list,
html[data-theme="dark"] .custom-confirm-dialog .confirm-content,
html[data-theme="dark"] .search-popup,
html[data-theme="dark"] .search-popup-box,
html[data-theme="dark"] .feedbackModal .feedback-content {
    background: #292A30;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

/* ---------- 22. 补丁批次8: 交互态/弹层扫描(更多菜单/行情弹窗/举报弹窗/快讯详情) ---------- */
/* 快讯"更多"菜单(portal浮层) */
html[data-theme="dark"] .newsflash-more-menu-portal {
    background: #292A30;
    border-color: #34353A;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
html[data-theme="dark"] .newsflash-more-menu-item {
    background: transparent;
    border-color: #34353A;
    color: #C9CBD1;
}
html[data-theme="dark"] .newsflash-more-menu-item:hover {
    background: #2A2B30;
    color: #FBC630;
}
/* PC举报弹窗(实际类名是 .feedback-dialog, 此前写错为 feedback-content) */
html[data-theme="dark"] .feedback-dialog {
    background: #1E1F23;
    color: #C9CBD1;
}
html[data-theme="dark"] .feedback-dialog input,
html[data-theme="dark"] .feedback-dialog textarea,
html[data-theme="dark"] .feedback-dialog select {
    background: #26272C;
    color: #E6E6E8;
    border-color: #34353A;
}
/* PC快讯详情免责声明正文 */
html[data-theme="dark"] .article-disclaimer-text {
    color: #C8B89A;
}
/* PC快讯详情页容器(与WAP同名结构) */
html[data-theme="dark"] .newsflash-container,
html[data-theme="dark"] .newsflash-navigation {
    background: #1E1F23;
}
html[data-theme="dark"] .newsflash-header {
    border-color: #34353A;
}
/* 举报弹窗标题/表单label */
html[data-theme="dark"] .feedback-dialog .feedback-title,
html[data-theme="dark"] .feedback-dialog h5,
html[data-theme="dark"] .feedback-dialog label {
    color: #E6E6E8;
}
/* 快讯详情正文 */
html[data-theme="dark"] .newsflash-body {
    color: #C9CBD1;
}
/* 加载中/没有更多/空态 行(瞬态) */
html[data-theme="dark"] .loading-data,
html[data-theme="dark"] .loading-data-no,
html[data-theme="dark"] .loading-data-no a,
html[data-theme="dark"] .empty-list,
html[data-theme="dark"] .no-data {
    color: #84868C;
    background: transparent;
}

/* ---------- 23. 补丁批次9: 用户验收9项 ---------- */
/* 1. 标签chip降调(太显眼喧宾夺主) + 修浅底浅字(长链特异性) */
html[data-theme="dark"] .tags a,
html[data-theme="dark"] .column-item ul.scrollload-content li .tags a,
html[data-theme="dark"] .blockchain-news-container .tags a {
    background: #232428;
    color: #84868C;
    border-color: transparent;
}
html[data-theme="dark"] .tags a:hover,
html[data-theme="dark"] .column-item ul.scrollload-content li .tags a:hover {
    background: #2A2B30;
    color: #FBC630;
}
/* 2. 页脚降调(纯白文字比正文还显眼) */
html[data-theme="dark"] .footer,
html[data-theme="dark"] .footer p,
html[data-theme="dark"] .footer a,
html[data-theme="dark"] .footer span,
html[data-theme="dark"] .footer-left p,
html[data-theme="dark"] .footer-right-links a,
html[data-theme="dark"] .footer-right-qrcode span {
    color: #7E8087;
}
html[data-theme="dark"] .footer a:hover {
    color: #C9CBD1;
}
/* 3. 快讯hover未覆盖正文: 内容wrapper改透明, 跟随条目hover */
html[data-theme="dark"] .newsflash-content-wrapper {
    background: transparent;
}
/* 4. 行情币种logo白圈 */
html[data-theme="dark"] .crypto-table .crypto-logo {
    border-color: #34353A;
    background: #1E1F23;
}
/* 6. 币种详情新闻列表: 标题颜色统一 */
html[data-theme="dark"] .blockchain-news-container .info h3 a,
html[data-theme="dark"] .blockchain-news-container .info h3 {
    color: #E6E6E8;
}
/* 7. 列表简介提亮(原#5F6773太暗) */
html[data-theme="dark"] .desc,
html[data-theme="dark"] .column-item ul.scrollload-content li .desc,
html[data-theme="dark"] .column-item ul.scrollload-content li.thumb-mode .desc,
html[data-theme="dark"] .column-item ul.scrollload-content li.info-mode .desc {
    color: #B0B3B9;
}
/* 8b. 网站地图页 */
html[data-theme="dark"] .sitemap-container,
html[data-theme="dark"] .sitemap-card,
html[data-theme="dark"] .sitemap-stats {
    background: #1E1F23;
    border-color: #34353A;
}
html[data-theme="dark"] .sitemap-card h2,
html[data-theme="dark"] .sitemap-card h3,
html[data-theme="dark"] .sitemap-stats dt,
html[data-theme="dark"] .sitemap-container h1 {
    color: #E6E6E8;
}
html[data-theme="dark"] .sitemap-card a,
html[data-theme="dark"] .sitemap-stats dd {
    color: #A6A8AD;
}
html[data-theme="dark"] .sitemap-card a:hover {
    color: #FBC630;
}
/* 5. PC货币切换按钮(按钮化深色态) */
html[data-theme="dark"] #currency-selector-btn {
    background: #26272C;
    border-color: #34353A;
    color: #C9CBD1;
}

/* ---------- 行情弹窗全暗化(用户拍板, 替代此前的亮色孤岛方案) ---------- */
html[data-theme="dark"] .market-data-dialog,
html[data-theme="dark"] .dialog-nav,
html[data-theme="dark"] .dialog-content,
html[data-theme="dark"] .dialog-header {
    background: #1A1B1F;
    color: #C9CBD1;
    border-color: #2E2F34;
}
html[data-theme="dark"] #market-data-app .chart-section,
html[data-theme="dark"] #market-data-app .fear-greed-row,
html[data-theme="dark"] #market-data-app [class*="fear-greed-pc-card"] {
    background: #1E1F23;
    border-color: #2E2F34;
}
html[data-theme="dark"] .dialog-title,
html[data-theme="dark"] #market-data-app .chart-title,
html[data-theme="dark"] #market-data-app .chart-subtitle,
html[data-theme="dark"] #market-data-app [class*="fear-greed"][class*="title"] {
    color: #E6E6E8;
}
html[data-theme="dark"] .dialog-close {
    color: #A6A8AD;
    background: transparent;
}
html[data-theme="dark"] .dialog-close:hover {
    color: #E6E6E8;
    background: #2A2B30;
}
html[data-theme="dark"] .nav-item {
    color: #A6A8AD;
}
html[data-theme="dark"] .nav-item:hover {
    background: #26272C;
}
html[data-theme="dark"] .nav-item.active {
    background: #2A2B30;
    color: #FBC630;
}
/* 时间范围tab(7天/1月/全部) */
html[data-theme="dark"] #market-data-app .time-tabs,
html[data-theme="dark"] #market-data-app .fear-greed-pc-time-tabs {
    background: #2A2B30;
}
html[data-theme="dark"] #market-data-app .time-tabs button,
html[data-theme="dark"] #market-data-app .fear-greed-pc-time-tabs button {
    color: #A6A8AD;
    background: transparent;
}
html[data-theme="dark"] #market-data-app .time-tabs button.active,
html[data-theme="dark"] #market-data-app .fear-greed-pc-time-tabs button.active {
    background: #E5C158;
    color: #111214;
}
/* 弹窗滚动条 */
html[data-theme="dark"] .dialog-content::-webkit-scrollbar-track,
html[data-theme="dark"] .dialog-nav::-webkit-scrollbar-track {
    background: #1A1B1F;
}
html[data-theme="dark"] .dialog-content::-webkit-scrollbar-thumb,
html[data-theme="dark"] .dialog-nav::-webkit-scrollbar-thumb {
    background: #34353A;
}
/* 批次9补刀: 更长链路的特异性压制 */
html[data-theme="dark"] .footer .footer-right-links ul li a,
html[data-theme="dark"] .footer .footer-right-links li a {
    color: #7E8087;
}
html[data-theme="dark"] .footer .footer-right-links ul li a:hover {
    color: #C9CBD1;
}
html[data-theme="dark"] .column-item ul.scrollload-content li.thumb-mode .tags a,
html[data-theme="dark"] .column-item ul.scrollload-content li.info-mode .tags a {
    background: #232428;
    color: #84868C;
}
html[data-theme="dark"] .column-item ul.scrollload-content li.thumb-mode .tags a:hover,
html[data-theme="dark"] .column-item ul.scrollload-content li.info-mode .tags a:hover {
    background: #2A2B30;
    color: #FBC630;
}
/* 弹窗恐贪历史徽章/年度极值标签(原黑字) */
html[data-theme="dark"] .fear-greed-pc-history-tag {
    background: #2A2B30;
    color: #C9CBD1;
}
html[data-theme="dark"] .fear-greed-pc-extreme-label {
    color: #A6A8AD;
}
html[data-theme="dark"] .fear-greed-pc-history-label {
    color: #84868C;
}

/* ---------- 24. 补丁批次10: 用户验收6项 ---------- */
/* 1. "货币:"标签黑字看不清 */
html[data-theme="dark"] .crypto-info-card .flex.items-center.space-x-1 {
    color: #A6A8AD;
}
html[data-theme="dark"] .crypto-info-card .flex.items-center.space-x-1 span:last-child {
    color: #C9CBD1;
}
/* 2. 顶部导航太浅(实际结构 nav>ul>li>a, 此前.nav类选择器没匹配上) */
html[data-theme="dark"] .header nav ul li a {
    color: #E6E6E8;
}
html[data-theme="dark"] .header nav ul li a:hover,
html[data-theme="dark"] .header nav ul li.on a {
    color: #FBC630;
}
/* 6. 币种新闻列表简介色统一(内联#777偏暗, 与文章列表一致) */
html[data-theme="dark"] .blockchain-news-container .desc {
    color: #B0B3B9;
}
html[data-theme="dark"] .blockchain-news-container .time {
    color: #84868C;
}
/* 6补刀: 币种新闻简介被超长内联链压制 */
html[data-theme="dark"] .blockchain-news-container .column-item ul.scrollload-content li.thumb-mode .info .desc,
html[data-theme="dark"] .blockchain-news-container .column-item ul.scrollload-content li.info-mode .info .desc {
    color: #B0B3B9;
}
/* 币种新闻列表视觉层级(暗色): 标题提到最亮; 筛选tab选中态降为暗底金字(原金底全卡最抢眼) */
html[data-theme="dark"] .blockchain-news-container .info h3 a,
html[data-theme="dark"] .blockchain-news-container .column-item ul.scrollload-content li.thumb-mode .info h3 a,
html[data-theme="dark"] .blockchain-news-container .column-item ul.scrollload-content li.info-mode .info h3 a {
    color: #F2F3F5;
}
html[data-theme="dark"] .blockchain-news-container .column-item-tab .column-item-btn.on,
html[data-theme="dark"] .blockchain-news-container .column-item-tab .column-item-btn.active {
    background: #2A2B30;
    color: #FBC630;
    border: 1px solid #6B5A23;
}
