/*!
 * ys-front-dark.css — 前台站点暗色主题（石墨黑 + 琥珀金）
 * 依赖：<html data-theme="dark">，由 assets/theme/theme.js 设置
 * 只做暗色覆盖，不改布局；浅色外观不受影响。
 * 第 1 段：扫描 template/default/css/*.css，浅底/深字/浅边框按亮度映射到石墨色阶；
 *          仅“真有彩度”的蓝系（色相 185°~255° 且 max-min ≥ 24）才转金色，
 *          避免 #f8faff 这类近白浅蓝被误判成蓝色而整块变金。
 * 第 2~5 段：手工补齐页头、首屏、品牌图、页脚、地图页、关于页与模板内联样式。
 */

/* ===== 1. 基础层 ===== */
html[data-theme="dark"] body{background-color:#0d0e10;color:#e8e9ec}
html[data-theme="dark"] .header{background-color:#16181b}
html[data-theme="dark"] .logo{color:#e0b163}
html[data-theme="dark"] .nav-menu a{color:#e8e9ec}
html[data-theme="dark"] .nav-menu a:hover{color:#e0b163}
html[data-theme="dark"] .card{background-color:#16181b}
html[data-theme="dark"] .footer{background-color:#16181b;color:#9b9fa7}
html[data-theme="dark"] .footer a{color:#9b9fa7}
html[data-theme="dark"] .footer a:hover{color:#e0b163}
html[data-theme="dark"] body.about-page-body{background-color:#1a1c20}
html[data-theme="dark"] .page-title{color:#e8e9ec}
html[data-theme="dark"] .page-desc{color:#9b9fa7}
html[data-theme="dark"] .content-card{background-color:#16181b;border-color:#2c2f35}
html[data-theme="dark"] .card-header i{color:#e0b163}
html[data-theme="dark"] .card-header h2{color:#e8e9ec}
html[data-theme="dark"] .card-body p{color:#e8e9ec}
html[data-theme="dark"] .card-body h3{color:#e8e9ec}
html[data-theme="dark"] .card-body li{color:#e8e9ec}
html[data-theme="dark"] .card-body strong{color:#e8e9ec}
html[data-theme="dark"] .data-item{background-color:#1a1c20;border-color:#2c2f35}
html[data-theme="dark"] .data-num{color:#e0b163}
html[data-theme="dark"] .data-label{color:#9b9fa7}
html[data-theme="dark"] .contact-wrapper{background-color:#1a1c20;border-color:#2c2f35}
html[data-theme="dark"] .qq-label{color:#9b9fa7}
html[data-theme="dark"] .qq-number{color:#e8e9ec}
html[data-theme="dark"] .qq-btn{background-color:#7a5c22}
html[data-theme="dark"] .promo-text-card,html[data-theme="dark"] .sponsor-links-card{background-color:rgba(22,24,27,0.15)}
html[data-theme="dark"] .promo-text-grid li a,html[data-theme="dark"] .ad-word-list li a,html[data-theme="dark"] .sponsor-text-list li a,html[data-theme="dark"] .sponsor-links-grid li a{background-color:rgba(22,24,27,0.2)}
html[data-theme="dark"] .promo-text-grid li a::before,html[data-theme="dark"] .ad-word-list li a::before,html[data-theme="dark"] .sponsor-text-list li a::before,html[data-theme="dark"] .sponsor-links-grid li a::before{background-color:#7a5c22}
html[data-theme="dark"] .promo-text-grid li a:hover,html[data-theme="dark"] .ad-word-list li a:hover,html[data-theme="dark"] .sponsor-text-list li a:hover{background-color:rgba(22,24,27,0.3)}
html[data-theme="dark"] .promo-big-card,html[data-theme="dark"] .ad-big-item,html[data-theme="dark"] .sponsor-banner-item{background-color:#1a1c20}
html[data-theme="dark"] .promo-purchase-overlay,html[data-theme="dark"] .ad-buy-overlay,html[data-theme="dark"] .sponsor-purchase-overlay{background-color:rgba(22,24,27,0.95)}
html[data-theme="dark"] .promo-purchase-overlay span,html[data-theme="dark"] .ad-buy-overlay span,html[data-theme="dark"] .sponsor-purchase-overlay span{background-color:#16181b;color:#e8e9ec}
html[data-theme="dark"] .page-title-row h1{color:#e8e9ec}
html[data-theme="dark"] .page-title-row p{color:#9b9fa7}
html[data-theme="dark"] .apply-main{background-color:#16181b}
html[data-theme="dark"] .section-head{color:#e0b163}
html[data-theme="dark"] .section-head .badge{background-color:#1f2227;color:#e0b163}
html[data-theme="dark"] .alert-info{background-color:#7a5c22;color:#e0b163}
html[data-theme="dark"] .alert-success{background-color:#16181b;color:#e8e9ec}
html[data-theme="dark"] .alert-warning{background-color:#1a1c20;color:#e8e9ec}
html[data-theme="dark"] .alert-danger{background-color:#1a1c20;color:#e8e9ec}
html[data-theme="dark"] .tip-info{background-color:#7a5c22;color:#e0b163}
html[data-theme="dark"] .tip-warn{background-color:#1a1c20;color:#e8e9ec}
html[data-theme="dark"] .tip-success{background-color:#16181b;color:#e8e9ec}
html[data-theme="dark"] .tip-danger{background-color:#1a1c20;color:#e8e9ec}
html[data-theme="dark"] .field label{color:#e8e9ec}
html[data-theme="dark"] .req{color:#e8e9ec}
html[data-theme="dark"] .inp{background-color:#16181b;color:#e8e9ec}
html[data-theme="dark"] .inp::placeholder{color:#9b9fa7}
html[data-theme="dark"] .inp:focus{background-color:#16181b;border-color:#6b5220}
html[data-theme="dark"] .tagsinput{background-color:#16181b!important}
html[data-theme="dark"] .tagsinput.focus,html[data-theme="dark"] .tagsinput:focus-within{background-color:#16181b!important;border-color:#6b5220}
html[data-theme="dark"] .tagsinput span.tag{background-color:#7a5c22!important}
html[data-theme="dark"] .tagsinput input{color:#e8e9ec!important}
html[data-theme="dark"] .tagsinput input::placeholder{color:#9b9fa7}
html[data-theme="dark"] .proto-sel{background-color:#1a1c20;color:#e8e9ec}
html[data-theme="dark"] .fetch-btn{background-color:#1a1c20;color:#e8e9ec}
html[data-theme="dark"] .fetch-btn:hover{background-color:#1f2227;color:#e8e9ec}
html[data-theme="dark"] .step-list li:first-child{background-color:#1a1c20}
html[data-theme="dark"] .step-list li:nth-child(2){background-color:#1a1c20}
html[data-theme="dark"] .step-list li:last-child{background-color:#1a1c20}
html[data-theme="dark"] .step-dot{color:#e0b163}
html[data-theme="dark"] .step-list li:nth-child(2) .step-dot{color:#9b9fa7}
html[data-theme="dark"] .step-list li:nth-child(3) .step-dot{color:#9b9fa7}
html[data-theme="dark"] .step-info strong{color:#e8e9ec}
html[data-theme="dark"] .btn-primary{background-color:#7a5c22}
html[data-theme="dark"] .side-card{background-color:#16181b}
html[data-theme="dark"] .side-card-head{color:#e0b163}
html[data-theme="dark"] .notice-list li{color:#e8e9ec}
html[data-theme="dark"] .notice-list li::before{background-color:#7a5c22}
html[data-theme="dark"] .cat-selects .inp-select:disabled{background-color:#1a1c20;color:#9b9fa7}
html[data-theme="dark"] .cat-suggest{background-color:#16181b}
html[data-theme="dark"] .cat-suggest-item{color:#e8e9ec}
html[data-theme="dark"] .cat-suggest-item:hover,html[data-theme="dark"] .cat-suggest-item.is-active{background-color:#1a1c20;color:#e0b163}
html[data-theme="dark"] .cat-suggest-path{color:#9b9fa7}
html[data-theme="dark"] .cat-suggest-empty{color:#9b9fa7}
html[data-theme="dark"] .cat-picked{background-color:#1a1c20;color:#e0b163;border-color:#6b5220}
html[data-theme="dark"] .cat-picked-lbl{background-color:#7a5c22}
html[data-theme="dark"] .cat-picked-clear{color:#e0b163}
html[data-theme="dark"] .cat-ai-tip{color:#e8e9ec}
html[data-theme="dark"] .cat-ai-tip::before{color:#e0b163}
html[data-theme="dark"] .article-grid.grid-style .article-card{background-color:#16181b;color:#e8e9ec}
html[data-theme="dark"] .article-grid.grid-style .article-title{color:#e8e9ec}
html[data-theme="dark"] .article-grid.grid-style .article-desc{color:#9b9fa7}
html[data-theme="dark"] body{background-color:#0d0e10}
html[data-theme="dark"] .article-title{color:#e8e9ec}
html[data-theme="dark"] .article-meta{color:#e8e9ec}
html[data-theme="dark"] .view-defense-notice.is-warning{background-color:#1a1c20;color:#e8e9ec}
html[data-theme="dark"] .view-defense-notice.is-risk{background-color:#1a1c20;color:#e8e9ec}
html[data-theme="dark"] .article-thumb{background-color:#1a1c20}
html[data-theme="dark"] .article-content{color:#e8e9ec}
html[data-theme="dark"] .article-content h1{color:#e8e9ec}
html[data-theme="dark"] .article-content h2{color:#e8e9ec}
html[data-theme="dark"] .article-content h2::after{background-color:#7a5c22}
html[data-theme="dark"] .article-content h3{color:#e8e9ec}
html[data-theme="dark"] .article-content h3::before{background-color:#7a5c22}
html[data-theme="dark"] .article-content h4{color:#e8e9ec}
html[data-theme="dark"] .article-content blockquote{color:#e8e9ec}
html[data-theme="dark"] .article-content code{background-color:#1a1c20;color:#e8e9ec}
html[data-theme="dark"] .article-content pre code{color:#9b9fa7}
html[data-theme="dark"] .article-content a{color:#e0b163}
html[data-theme="dark"] .article-content table th{background-color:#1a1c20;color:#e8e9ec}
html[data-theme="dark"] .article-content table tbody tr:nth-child(even){background-color:#1a1c20}
html[data-theme="dark"] .article-nav__item{background-color:#16181b;border-color:#6b5220}
html[data-theme="dark"] .article-nav__item:hover{border-color:#6b5220}
html[data-theme="dark"] .article-nav__empty{background-color:#1a1c20;color:#9b9fa7}
html[data-theme="dark"] .article-nav__empty:hover{border-color:#6b5220}
html[data-theme="dark"] .article-nav__label{color:#e0b163}
html[data-theme="dark"] .article-nav__title{color:#e0b163}
html[data-theme="dark"] .resource-card{background-color:#16181b}
html[data-theme="dark"] .resource-card .resource-section-title{color:#e0b163}
html[data-theme="dark"] .resource-card .resource-item{background-color:#16181b}
html[data-theme="dark"] .resource-card .resource-title{color:#e0b163}
html[data-theme="dark"] .resource-card .resource-desc{color:#e8e9ec}
html[data-theme="dark"] .resource-card .resource-badge{background-color:#1a1c20;color:#e8e9ec}
html[data-theme="dark"] .resource-card .resource-badge-paid{background-color:#1a1c20;color:#e0b163;border-color:#6b5220}
html[data-theme="dark"] .resource-card .resource-badge-free{background-color:#1a1c20;color:#e8e9ec}
html[data-theme="dark"] .resource-card .resource-link-name{color:#e0b163}
html[data-theme="dark"] .resource-card .resource-extract-code{color:#e8e9ec}
html[data-theme="dark"] .resource-card .resource-download-btn{background-color:#1a1c20;color:#e0b163;border-color:#6b5220}
html[data-theme="dark"] .resource-card .resource-download-btn:hover{background-color:#1f2227;color:#e0b163;border-color:#6b5220}
html[data-theme="dark"] .resource-card .resource-lock-box{background-color:#1a1c20;color:#e8e9ec}
html[data-theme="dark"] .resource-card .resource-action-btn{background-color:#16181b;color:#e0b163}
html[data-theme="dark"] .resource-card .resource-action-btn:hover{background-color:#1a1c20}
html[data-theme="dark"] .resource-card .resource-action-login{background-color:#1a1c20;color:#e0b163;border-color:#6b5220}
html[data-theme="dark"] .resource-card .resource-action-login:hover{background-color:#1f2227;color:#e0b163;border-color:#6b5220}
html[data-theme="dark"] .resource-card .resource-action-pay{background-color:#1a1c20;color:#e0b163;border-color:#6b5220}
html[data-theme="dark"] .resource-card .resource-action-pay:hover{background-color:#1f2227;color:#e0b163;border-color:#6b5220}
html[data-theme="dark"] .article-breadcrumb{background-color:#16181b;color:#e8e9ec}
html[data-theme="dark"] .article-breadcrumb__link{color:#e8e9ec}
html[data-theme="dark"] .article-breadcrumb__link:hover{color:#e0b163}
html[data-theme="dark"] .article-breadcrumb__current{color:#e0b163}
html[data-theme="dark"] .article-author-card{background-color:#16181b;border-color:#2c2f35}
html[data-theme="dark"] .article-author-card__avatar{background-color:#1a1c20}
html[data-theme="dark"] .article-author-card__name{color:#e0b163}
html[data-theme="dark"] .article-author-card__badge--blue{background-color:#1a1c20;color:#e0b163}
html[data-theme="dark"] .article-author-card__badge--green{background-color:#1a1c20;color:#e8e9ec}
html[data-theme="dark"] .article-author-card__desc{color:#e8e9ec}
html[data-theme="dark"] .article-image-viewer__image{background-color:#16181b}
html[data-theme="dark"] .article-image-viewer__nav,html[data-theme="dark"] .article-image-viewer__close{background-color:rgba(22,24,27,0.16)}
html[data-theme="dark"] .article-image-viewer__nav:hover,html[data-theme="dark"] .article-image-viewer__close:hover{background-color:rgba(22,24,27,0.26)}
html[data-theme="dark"] .article-image-viewer__counter{background-color:rgba(22,24,27,0.16)}
html[data-theme="dark"] .view-cooldown-notice{color:#9b9fa7}
html[data-theme="dark"] .search-input{background-color:rgba(22,24,27,0.95)}
html[data-theme="dark"] .search-input:focus{background-color:#16181b}
html[data-theme="dark"] .search-btn{background-color:#7a5c22}
html[data-theme="dark"] .search-btn:hover{background-color:#7a5c22}
html[data-theme="dark"] .category-nav{background-color:#16181b}
html[data-theme="dark"] .nav-tab{background-color:#1a1c20;color:#e8e9ec}
html[data-theme="dark"] .nav-tab:hover,html[data-theme="dark"] .nav-tab.active{background-color:#7a5c22}
html[data-theme="dark"] .pagination a,html[data-theme="dark"] .pagination span{background-color:#16181b;color:#e8e9ec}
html[data-theme="dark"] .pagination a:hover{color:#e0b163;border-color:#6b5220}
html[data-theme="dark"] .pagination .current{background-color:#7a5c22;border-color:#6b5220}
html[data-theme="dark"] .sidebar-top-card{background-color:#16181b}
html[data-theme="dark"] .sidebar-banner::before{background-color:rgba(22,24,27,0.1)}
html[data-theme="dark"] .sidebar-banner::after{background-color:rgba(22,24,27,0.08)}
html[data-theme="dark"] .banner-logo{background-color:#16181b}
html[data-theme="dark"] .stat-num{color:#e0b163}
html[data-theme="dark"] .stat-text{color:#9b9fa7}
html[data-theme="dark"] .sidebar-ranking-card{background-color:#16181b}
html[data-theme="dark"] .sidebar-card-header{color:#e8e9ec}
html[data-theme="dark"] .sidebar-card-header i{color:#e0b163}
html[data-theme="dark"] .ranking-tab{background-color:#1a1c20;color:#e8e9ec}
html[data-theme="dark"] .ranking-tab.active,html[data-theme="dark"] .ranking-tab:hover{background-color:#7a5c22}
html[data-theme="dark"] .ranking-item:hover{background-color:#1a1c20}
html[data-theme="dark"] .ranking-num{background-color:#1f2227;color:#9b9fa7}
html[data-theme="dark"] .ranking-icon{background-color:#1a1c20}
html[data-theme="dark"] .ranking-name{color:#e8e9ec}
html[data-theme="dark"] .ranking-desc{color:#9b9fa7}
html[data-theme="dark"] .ranking-stats{color:#9b9fa7}
html[data-theme="dark"] .ranking-more{color:#e0b163}
html[data-theme="dark"] .ranking-more:hover{background-color:#1a1c20}
html[data-theme="dark"] .sidebar-articles-card{background-color:#16181b}
html[data-theme="dark"] .sidebar-articles-card .article-item:hover{background-color:#1a1c20}
html[data-theme="dark"] .sidebar-articles-card .article-num{background-color:#1f2227;color:#9b9fa7}
html[data-theme="dark"] .sidebar-articles-card .article-title{color:#e8e9ec}
html[data-theme="dark"] .sidebar-articles-card .article-views{color:#9b9fa7}
html[data-theme="dark"] .empty-state{background-color:#16181b}
html[data-theme="dark"] .empty-state p{color:#9b9fa7}
html[data-theme="dark"] .category-description{color:#e8e9ec}
html[data-theme="dark"] .sub-cat-tag{background-color:#1a1c20;color:#e8e9ec}
html[data-theme="dark"] .sub-cat-tag:hover{background-color:#7a5c22;color:#e0b163;border-color:#6b5220}
html[data-theme="dark"] .sub-cat-tag.active{background-color:#7a5c22;border-color:#6b5220}
html[data-theme="dark"] .al-cat-nav{background-color:#16181b}
html[data-theme="dark"] .al-cat-tag{background-color:#16181b;color:#e8e9ec}
html[data-theme="dark"] .al-cat-tag:hover{background-color:#1a1c20;color:#e0b163;border-color:#6b5220}
html[data-theme="dark"] .al-cat-tag.active{background-color:#7a5c22;border-color:#6b5220}
html[data-theme="dark"] .al-cat-tag.active .al-cat-count{background-color:rgba(22,24,27,0.3)}
html[data-theme="dark"] .al-sub-cat-dropdown{background-color:#16181b}
html[data-theme="dark"] .al-sub-cat-item{color:#e8e9ec}
html[data-theme="dark"] .al-sub-cat-item:hover{background-color:#1a1c20;color:#e0b163}
html[data-theme="dark"] .al-sub-cat-item.active{background-color:#7a5c22}
html[data-theme="dark"] .al-sub-cat-item.active .al-cat-count{background-color:rgba(22,24,27,0.3)}
html[data-theme="dark"] .al-main .article-grid .article-card,html[data-theme="dark"] .al-main .article-grid.grid-style .article-card{background-color:#16181b}
html[data-theme="dark"] .al-main .article-grid .article-card .article-thumb{background-color:#1a1c20}
html[data-theme="dark"] .al-main .article-grid .article-card .article-title{color:#e8e9ec}
html[data-theme="dark"] .al-main .article-grid .article-card:hover .article-title{color:#e0b163}
html[data-theme="dark"] .al-main .article-grid .article-card .article-desc{color:#9b9fa7}
html[data-theme="dark"] .al-main .article-grid .article-card .article-meta{color:#9b9fa7}
html[data-theme="dark"] .al-main .article-grid .article-cat-tag{background-color:#1a1c20;color:#e0b163}
html[data-theme="dark"] .article-cat-tag{background-color:#1a1c20;color:#e0b163}
html[data-theme="dark"] .al-empty{background-color:#16181b}
html[data-theme="dark"] .al-card{background-color:#16181b}
html[data-theme="dark"] .al-card-thumb{background-color:#1a1c20}
html[data-theme="dark"] .al-card-title{color:#e8e9ec}
html[data-theme="dark"] .al-card:hover .al-card-title{color:#e0b163}
html[data-theme="dark"] .al-card-desc{color:#e8e9ec}
html[data-theme="dark"] .al-card-meta span{color:#9b9fa7}
html[data-theme="dark"] .al-meta-cat{background-color:#1a1c20;color:#e0b163!important}
html[data-theme="dark"] .al-page-btn{background-color:#16181b;color:#e8e9ec}
html[data-theme="dark"] .al-page-btn:hover{color:#e0b163;border-color:#6b5220}
html[data-theme="dark"] .al-page-btn.current{background-color:#7a5c22;border-color:#6b5220}
html[data-theme="dark"] .al-sidebar-card{background-color:#16181b}
html[data-theme="dark"] .al-sidebar-title{color:#e8e9ec}
html[data-theme="dark"] .al-cat-list li span{color:#e8e9ec}
html[data-theme="dark"] .al-cat-list li span:hover{background-color:#1a1c20;color:#e0b163}
html[data-theme="dark"] .al-cat-list li span.active{background-color:#1a1c20;color:#e0b163}
html[data-theme="dark"] .al-cat-list li a{color:#e8e9ec}
html[data-theme="dark"] .al-cat-list li a:hover{background-color:#1a1c20;color:#e0b163}
html[data-theme="dark"] .al-cat-list li a.active{background-color:#1a1c20;color:#e0b163}
html[data-theme="dark"] .al-cat-list-count{background-color:#1a1c20}
html[data-theme="dark"] .al-cat-list li a.active .al-cat-list-count{background-color:#7a5c22;color:#e0b163}
html[data-theme="dark"] .al-cat-list li span.active .al-cat-list-count{background-color:#7a5c22;color:#e0b163}
html[data-theme="dark"] .al-hot-article-item:hover{background-color:#1a1c20}
html[data-theme="dark"] .al-hot-article-thumb{background-color:#1f2227}
html[data-theme="dark"] .al-hot-article-title{color:#e8e9ec}
html[data-theme="dark"] .al-hot-article-item:hover .al-hot-article-title{color:#e0b163}
html[data-theme="dark"] .al-latest-article-item{color:#e8e9ec}
html[data-theme="dark"] .al-latest-article-item:hover{color:#e0b163}
html[data-theme="dark"] .al-latest-article-num{background-color:#1f2227;color:#9b9fa7}
html[data-theme="dark"] .top-sites-large-style .top-site-card .site-name{color:#e8e9ec}
html[data-theme="dark"] .top-sites-large-style .top-site-card:hover .site-name{color:#e8e9ec}
html[data-theme="dark"] .featured-loading{color:#9b9fa7}
html[data-theme="dark"] .featured-modal{background-color:#16181b}
html[data-theme="dark"] .featured-pay-modal{background-color:#16181b}
html[data-theme="dark"] .featured-modal-title{color:#e8e9ec}
html[data-theme="dark"] .featured-modal-close{color:#9b9fa7}
html[data-theme="dark"] .featured-modal-close:hover{background-color:#1f2227;color:#e8e9ec}
html[data-theme="dark"] .featured-modal-desc{background-color:#1a1c20;color:#e8e9ec}
html[data-theme="dark"] .featured-login-tip{background-color:#16181b}
html[data-theme="dark"] .featured-login-tip-icon{color:#e0b163}
html[data-theme="dark"] .featured-login-tip-title{color:#e8e9ec}
html[data-theme="dark"] .featured-login-tip-text{color:#e8e9ec}
html[data-theme="dark"] .featured-login-tip-btn.is-ghost{background-color:#1a1c20;color:#e8e9ec}
html[data-theme="dark"] .featured-login-tip-btn.is-ghost:hover{background-color:#1f2227;color:#e8e9ec}
html[data-theme="dark"] .featured-login-tip-btn.is-primary{background-color:#7a5c22}
html[data-theme="dark"] .featured-login-tip-btn.is-primary:hover{background-color:#7a5c22}
html[data-theme="dark"] html[data-theme="dark"] .featured-login-tip-text{color:#9b9fa7}
html[data-theme="dark"] .featured-account-tip.is-login{background-color:#16181b;color:#e8e9ec}
html[data-theme="dark"] .featured-account-tip.is-guest{background-color:#1a1c20;color:#e8e9ec}
html[data-theme="dark"] .featured-account-tip.is-guest a{color:#e8e9ec}
html[data-theme="dark"] .featured-cat-filter{background-color:#16181b;color:#e8e9ec}
html[data-theme="dark"] .featured-search-input{color:#e8e9ec}
html[data-theme="dark"] .featured-search-input:focus{border-color:#6b5220}
html[data-theme="dark"] .featured-empty{color:#e8e9ec}
html[data-theme="dark"] .featured-site-item:hover{background-color:#1a1c20}
html[data-theme="dark"] .featured-site-ico{border-color:#2c2f35}
html[data-theme="dark"] .featured-site-name{color:#e8e9ec}
html[data-theme="dark"] .featured-site-desc{color:#e8e9ec}
html[data-theme="dark"] .featured-site-cat{color:#e0b163}
html[data-theme="dark"] .featured-price-tag{color:#e8e9ec}
html[data-theme="dark"] .featured-apply-btn{background-color:#7a5c22}
html[data-theme="dark"] .featured-apply-btn:hover{background-color:#7a5c22}
html[data-theme="dark"] .featured-expire-text{color:#9b9fa7}
html[data-theme="dark"] .featured-pay-info{background-color:#1a1c20;color:#e8e9ec}
html[data-theme="dark"] .featured-pay-info strong{color:#e8e9ec}
html[data-theme="dark"] .featured-pay-info .pay-amount{color:#e8e9ec}
html[data-theme="dark"] .featured-pay-method{color:#e8e9ec}
html[data-theme="dark"] .featured-pay-method.selected{background-color:#7a5c22;border-color:#6b5220}
html[data-theme="dark"] .featured-pay-method:hover{border-color:#6b5220}
html[data-theme="dark"] .featured-submit-pay-btn{background-color:#7a5c22}
html[data-theme="dark"] .featured-submit-pay-btn:hover{background-color:#7a5c22}
html[data-theme="dark"] .featured-color-card{color:#e8e9ec}
html[data-theme="dark"] .featured-color-card:hover{color:#e8e9ec}
html[data-theme="dark"] .featured-empty-slot:hover{color:#e0b163!important;border-color:#6b5220}
html[data-theme="dark"] .featured-empty-slot:hover .featured-color-name{color:#e0b163}
html[data-theme="dark"] .featured-empty-ico{color:#9b9fa7}
html[data-theme="dark"] .featured-empty-slot:hover .featured-empty-ico{color:#e0b163}
html[data-theme="dark"] .color-theme-1{background-color:#1f2227}
html[data-theme="dark"] .color-theme-2{background-color:#1a1c20}
html[data-theme="dark"] .color-theme-3{background-color:#16181b}
html[data-theme="dark"] .color-theme-4{background-color:#1f2227}
html[data-theme="dark"] .color-theme-5{background-color:#1a1c20}
html[data-theme="dark"] .color-theme-6{background-color:#1a1c20}
html[data-theme="dark"] .featured-empty-slot.color-theme-1{background-color:#1a1c20}
html[data-theme="dark"] .featured-empty-slot.color-theme-2{background-color:#16181b}
html[data-theme="dark"] .featured-empty-slot.color-theme-3{background-color:#16181b}
html[data-theme="dark"] .featured-empty-slot.color-theme-4{background-color:#1a1c20}
html[data-theme="dark"] .featured-empty-slot.color-theme-5{background-color:#1a1c20}
html[data-theme="dark"] .featured-empty-slot.color-theme-6{background-color:#16181b}
html[data-theme="dark"] .featured-color-name{color:#e8e9ec}
html[data-theme="dark"] .btn-featured-recommend{background-color:#7a5c22}
html[data-theme="dark"] .btn-featured-recommend:hover{background-color:#7a5c22}
html[data-theme="dark"] .content-links-card,html[data-theme="dark"] .partner-links-card{background-color:rgba(22,24,27,0.15)}
html[data-theme="dark"] .content-links-grid li a,html[data-theme="dark"] .content-link-item a{background-color:rgba(22,24,27,0.2)}
html[data-theme="dark"] .content-links-grid li a::before,html[data-theme="dark"] .content-link-item a::before{background-color:#7a5c22}
html[data-theme="dark"] .content-links-grid li a:hover,html[data-theme="dark"] .content-link-item a:hover{background-color:rgba(22,24,27,0.3)}
html[data-theme="dark"] .featured-card,html[data-theme="dark"] .partner-item{background-color:#1a1c20}
html[data-theme="dark"] .partner-overlay,html[data-theme="dark"] .content-overlay,html[data-theme="dark"] .purchase-overlay{background-color:rgba(22,24,27,0.95)}
html[data-theme="dark"] .partner-overlay span,html[data-theme="dark"] .content-overlay span,html[data-theme="dark"] .purchase-overlay span{background-color:#16181b;color:#e8e9ec}
html[data-theme="dark"] .clean-footer{background-color:#16181b}
html[data-theme="dark"] .footer-links a{color:#e8e9ec}
html[data-theme="dark"] .footer-links a:hover{color:#e0b163}
html[data-theme="dark"] .footer-desc{color:#9b9fa7}
html[data-theme="dark"] .footer-copy{color:#9b9fa7}
html[data-theme="dark"] .footer-copy a{color:#9b9fa7}
html[data-theme="dark"] .footer-copy a:hover{color:#e0b163}
html[data-theme="dark"] .clean-footer .footer-hang-stats{color:#e0b163}
html[data-theme="dark"] .clean-footer .footer-hang-stats .value{color:#e0b163}
html[data-theme="dark"] .friend-link-card{background-color:#16181b;color:#e8e9ec}
html[data-theme="dark"] .friend-link-desc{color:#9b9fa7}
html[data-theme="dark"] .apply-section{background-color:#16181b}
html[data-theme="dark"] .apply-title{color:#e8e9ec}
html[data-theme="dark"] .form-label{color:#e8e9ec}
html[data-theme="dark"] .form-control:focus{border-color:#6b5220}
html[data-theme="dark"] .btn-submit{background-color:#7a5c22}
html[data-theme="dark"] .btn-submit:hover{background-color:#7a5c22}
html[data-theme="dark"] body{background-color:#0d0e10;color:#e0b163}
html[data-theme="dark"] .fl-hero h1{color:#e0b163}
html[data-theme="dark"] .fl-hero p{color:#e8e9ec}
html[data-theme="dark"] .fl-main{background-color:#16181b}
html[data-theme="dark"] .fl-main-head{background-color:#16181b}
html[data-theme="dark"] .fl-main-head h2{color:#e0b163}
html[data-theme="dark"] .fl-main-head span{color:#e8e9ec}
html[data-theme="dark"] .fl-info{background-color:#1a1c20;color:#e0b163;border-color:#6b5220}
html[data-theme="dark"] .fl-success{background-color:#1a1c20;color:#e8e9ec}
html[data-theme="dark"] .fl-danger{background-color:#1a1c20;color:#e8e9ec}
html[data-theme="dark"] .fl-field label{color:#e8e9ec}
html[data-theme="dark"] .fl-field label span{color:#e8e9ec}
html[data-theme="dark"] .fl-field input,html[data-theme="dark"] .fl-field textarea{background-color:#16181b;color:#e8e9ec}
html[data-theme="dark"] .fl-field input:focus,html[data-theme="dark"] .fl-field textarea:focus{border-color:#6b5220}
html[data-theme="dark"] .fl-panel{background-color:#16181b}
html[data-theme="dark"] .fl-panel h3{color:#e0b163}
html[data-theme="dark"] .fl-panel ul,html[data-theme="dark"] .fl-panel ol{color:#e8e9ec}
html[data-theme="dark"] .fl-panel li strong{color:#e0b163}
html[data-theme="dark"] .fl-panel li span{color:#e8e9ec}
html[data-theme="dark"] .fl-link-panel .fl-link-tip{color:#e8e9ec}
html[data-theme="dark"] .fl-link-logo{background-color:#1a1c20}
html[data-theme="dark"] .fl-link-k{color:#9b9fa7}
html[data-theme="dark"] .fl-link-v{color:#e0b163}
html[data-theme="dark"] .fl-copy{background-color:#16181b;color:#e0b163;border-color:#6b5220}
html[data-theme="dark"] .fl-copy:hover{background-color:#1a1c20;border-color:#6b5220}
html[data-theme="dark"] .fl-copy.is-done{background-color:#1a1c20;color:#e8e9ec}
html[data-theme="dark"] .fl-code{background-color:#1a1c20}
html[data-theme="dark"] .fl-code code{color:#e8e9ec}
html[data-theme="dark"] .hot-articles-card{background-color:#16181b}
html[data-theme="dark"] .hot-articles-header{color:#e8e9ec}
html[data-theme="dark"] .hot-articles-header i{color:#e8e9ec}
html[data-theme="dark"] .hot-article-item{background-color:#1a1c20;color:#e8e9ec}
html[data-theme="dark"] .hot-article-item.featured .hot-article-meta .meta-views{background-color:#7a5c22}
html[data-theme="dark"] .hot-rank-badge.rank-2{background-color:#7a5c22}
html[data-theme="dark"] .hot-article-title{color:#e8e9ec}
html[data-theme="dark"] .hot-article-item:hover .hot-article-title{color:#e0b163}
html[data-theme="dark"] .hot-article-meta{color:#9b9fa7}
html[data-theme="dark"] img.site-icon,html[data-theme="dark"] img.ranking-icon,html[data-theme="dark"] img.mobile-ranking-icon,html[data-theme="dark"] .article-thumb img,html[data-theme="dark"] img.partner-banner-img,html[data-theme="dark"] .content-banner-card img,html[data-theme="dark"] .hot-article-thumb img,html[data-theme="dark"] .mobile-hot-article-thumb img{background-color:#1a1c20}
html[data-theme="dark"] .article-thumb,html[data-theme="dark"] .hot-article-thumb,html[data-theme="dark"] .mobile-hot-article-thumb{background-color:#1a1c20}
html[data-theme="dark"] .unified-header{background-color:rgba(22,24,27,0.7)}
html[data-theme="dark"] .unified-nav-menu a{color:#e8e9ec}
html[data-theme="dark"] .unified-nav-menu a:hover{color:#e0b163}
html[data-theme="dark"] .unified-mobile-menu-btn{color:#e8e9ec}
html[data-theme="dark"] .unified-search-icon-btn{color:#e8e9ec}
html[data-theme="dark"] .unified-search-icon-btn:hover{color:#e0b163}
html[data-theme="dark"] .unified-user-icon-btn{color:#e8e9ec}
html[data-theme="dark"] .unified-user-icon-btn:hover{color:#e0b163}
html[data-theme="dark"] .unified-mobile-sidebar{background-color:#1a1c20}
html[data-theme="dark"] .unified-mobile-sidebar-header{background-color:#16181b}
html[data-theme="dark"] .sidebar-site-name{color:#e8e9ec}
html[data-theme="dark"] .unified-mobile-sidebar-header span{color:#e8e9ec}
html[data-theme="dark"] .unified-mobile-sidebar-close{background-color:#1a1c20}
html[data-theme="dark"] .unified-sidebar-menu{background-color:#16181b}
html[data-theme="dark"] .unified-sidebar-menu a{color:#e8e9ec}
html[data-theme="dark"] .unified-sidebar-menu a:hover{background-color:#1a1c20;color:#e0b163}
html[data-theme="dark"] .unified-sidebar-menu i.mdi{color:#e8e9ec}
html[data-theme="dark"] .unified-sidebar-menu a:hover i.mdi{color:#e0b163}
html[data-theme="dark"] .unified-search-modal-dialog{background-color:#16181b}
html[data-theme="dark"] .unified-search-modal-close{color:#9b9fa7}
html[data-theme="dark"] .unified-search-mode-tab{color:#e8e9ec}
html[data-theme="dark"] .unified-search-mode-tab.active{color:#e8e9ec}
html[data-theme="dark"] .unified-search-mode-tab.active::after{background-color:#7a5c22}
html[data-theme="dark"] .unified-search-engine-label{color:#e8e9ec}
html[data-theme="dark"] .unified-search-engine-select{background-color:#16181b}
html[data-theme="dark"] .engine-select-display{background-color:#16181b;color:#e8e9ec}
html[data-theme="dark"] .engine-select-display:hover,html[data-theme="dark"] .engine-select.is-open .engine-select-display{border-color:#6b5220}
html[data-theme="dark"] .engine-select-icon{background-color:#16181b}
html[data-theme="dark"] .engine-select-arrow{color:#9b9fa7}
html[data-theme="dark"] .engine-select-list{background-color:#16181b}
html[data-theme="dark"] .engine-select-list li{color:#e8e9ec}
html[data-theme="dark"] .engine-select-list li img{background-color:#16181b}
html[data-theme="dark"] .engine-select-list li:hover{background-color:#1a1c20}
html[data-theme="dark"] .engine-select-list li.is-selected{background-color:#1f2227;color:#e0b163}
html[data-theme="dark"] .unified-search-modal-tip{color:#9b9fa7}
html[data-theme="dark"] .unified-search-modal-submit{background-color:#7a5c22}
html[data-theme="dark"] .mobile-bottom-nav{background-color:rgba(22,24,27,0.58)}
html[data-theme="dark"] .mobile-bottom-nav--classic{background-color:rgba(22,24,27,0.85)}
html[data-theme="dark"] .mobile-nav-item{color:#e8e9ec}
html[data-theme="dark"] .mobile-nav-item:hover,html[data-theme="dark"] .mobile-nav-item:active,html[data-theme="dark"] .mobile-nav-item:focus-visible{color:#e0b163}
html[data-theme="dark"] .mobile-nav-item.active{color:#e0b163}
html[data-theme="dark"] .mobile-nav-center span{color:#e0b163}
html[data-theme="dark"] .mobile-bottom-nav{background-color:rgba(22,24,27,0.94)}
html[data-theme="dark"] .mobile-bottom-nav--glass{background-color:rgba(22,24,27,0.52)}
html[data-theme="dark"] .mobile-bottom-nav--glass .mobile-nav-center-btn{background-color:#7a5c22}
html[data-theme="dark"] .nav-user-avatar{background-color:rgba(22,24,27,0.2)}
html[data-theme="dark"] .nav-guest-avatar-wrap{background-color:rgba(22,24,27,0.22)}
html[data-theme="dark"] .nav-user-actions-card{background-color:#16181b}
html[data-theme="dark"] .nav-tile-blue{background-color:#7a5c22;color:#e0b163}
html[data-theme="dark"] .nav-tile-cyan{background-color:#1f2227;color:#e8e9ec}
html[data-theme="dark"] .nav-tile-gray{background-color:#1a1c20;color:#e8e9ec}
html[data-theme="dark"] .sidebar-user-section{background-color:#1a1c20}
html[data-theme="dark"] .sidebar-user-card{background-color:#16181b}
html[data-theme="dark"] .sidebar-guest-card{background-color:#16181b}
html[data-theme="dark"] .sidebar-user-avatar{border-color:#2c2f35}
html[data-theme="dark"] .sidebar-guest-avatar-wrap{background-color:#1f2227}
html[data-theme="dark"] .sidebar-user-name{color:#e8e9ec}
html[data-theme="dark"] .sidebar-user-sub{color:#9b9fa7}
html[data-theme="dark"] .sidebar-user-links{background-color:#16181b}
html[data-theme="dark"] .sidebar-user-link{color:#e8e9ec}
html[data-theme="dark"] .sidebar-user-link:hover,html[data-theme="dark"] .sidebar-user-link:active{background-color:#1a1c20;color:#e0b163}
html[data-theme="dark"] .sidebar-link-primary{background-color:#1a1c20;color:#e0b163}
html[data-theme="dark"] .sidebar-link-primary:hover,html[data-theme="dark"] .sidebar-link-primary:active{background-color:#7a5c22}
html[data-theme="dark"] .sidebar-link-danger{color:#e8e9ec}
html[data-theme="dark"] .sidebar-link-danger:hover,html[data-theme="dark"] .sidebar-link-danger:active{background-color:#1a1c20;color:#e8e9ec}
html[data-theme="dark"] .content-banner-card,html[data-theme="dark"] .content-banner-item,html[data-theme="dark"] .partner-item{background-color:#1a1c20}
html[data-theme="dark"] .promo-card-wrapper{background-color:#16181b}
html[data-theme="dark"] .promo-card-item{background-color:#1a1c20}
html[data-theme="dark"] .promo-card-item:hover{background-color:#7a5c22;border-color:#6b5220}
html[data-theme="dark"] .promo-card-title{color:#e8e9ec}
html[data-theme="dark"] .promo-card-item:hover .promo-card-title{color:#e0b163}
html[data-theme="dark"] .promo-card-badge{background-color:#7a5c22}
html[data-theme="dark"] .wzgg{background-color:#16181b}
html[data-theme="dark"] .link-grid-dashed{background-color:rgba(22,24,27,0.2)}
html[data-theme="dark"] .link-grid-dashed a{color:#9b9fa7}
html[data-theme="dark"] .link-grid-dashed a:nth-child(2n){color:#e8e9ec}
html[data-theme="dark"] .link-grid-dashed a:nth-child(3n){color:#e0b163}
html[data-theme="dark"] .link-grid-dashed a:nth-child(3n):hover{background-color:#7a5c22;border-color:#6b5220}
html[data-theme="dark"] .link-grid-dashed a:nth-child(4n){color:#e0b163}
html[data-theme="dark"] .link-grid-dashed a:nth-child(4n):hover{background-color:#7a5c22;border-color:#6b5220}
html[data-theme="dark"] .link-grid-dashed a:nth-child(5n){color:#e8e9ec}
html[data-theme="dark"] .link-grid-dashed a:nth-child(7n){color:#9b9fa7}
html[data-theme="dark"] .link-grid-dashed a:nth-child(8n){color:#e8e9ec}
html[data-theme="dark"] .link-grid-dashed a:nth-child(10n){color:#9b9fa7}
html[data-theme="dark"] .link-grid-dashed a:nth-child(11n){color:#e8e9ec}
html[data-theme="dark"] .link-grid-dashed a:nth-child(14n){color:#e8e9ec}
html[data-theme="dark"] .link-grid-dashed a:nth-child(15n){color:#9b9fa7}
html[data-theme="dark"] .link-grid-dashed a:nth-child(16n){color:#9b9fa7}
html[data-theme="dark"] .link-grid-dashed a:nth-child(17n){color:#e0b163}
html[data-theme="dark"] .link-grid-dashed a:nth-child(17n):hover{background-color:#7a5c22;border-color:#6b5220}
html[data-theme="dark"] .link-grid-dashed a:nth-child(18n){color:#9b9fa7}
html[data-theme="dark"] .link-grid-dashed a:nth-child(20n){color:#e8e9ec}
html[data-theme="dark"] .wzgg a:nth-child(2){background-color:#7a5c22}
html[data-theme="dark"] .wzgg a:nth-child(6){background-color:#7a5c22}
html[data-theme="dark"] .wzgg a:nth-child(12){background-color:#7a5c22}
html[data-theme="dark"] .wzgg a:nth-child(13){background-color:#7a5c22}
html[data-theme="dark"] .ranking-major-tab{background-color:#1a1c20}
html[data-theme="dark"] .ranking-subtab{background-color:#16181b}
html[data-theme="dark"] .ranking-card-icon{background-color:#1f2227}
html[data-theme="dark"] .ranking-card-icon.site-icon-tiny{background-color:#1a1c20}
html[data-theme="dark"] .ranking-card-tag{background-color:#1a1c20}
html[data-theme="dark"] .site-search-box .search-input{color:#e0b163}
html[data-theme="dark"] .site-search-box__icon{color:#9b9fa7}
html[data-theme="dark"] .site-search-box:focus-within .site-search-box__icon,html[data-theme="dark"] .site-search-box.is-open .site-search-box__icon{color:#e0b163}
html[data-theme="dark"] .site-search-box__clear{background-color:#1f2227;color:#e8e9ec}
html[data-theme="dark"] .site-search-box__clear:hover{color:#e8e9ec}
html[data-theme="dark"] .search-suggest{background-color:#16181b}
html[data-theme="dark"] .search-suggest-head{background-color:rgba(22,24,27,.96);color:#9b9fa7}
html[data-theme="dark"] .search-suggest-head b{color:#e0b163}
html[data-theme="dark"] .search-suggest-item:hover,html[data-theme="dark"] .search-suggest-item.is-active{background-color:#1a1c20}
html[data-theme="dark"] .search-suggest-icon{background-color:#1a1c20}
html[data-theme="dark"] .search-suggest-title{color:#e0b163}
html[data-theme="dark"] .search-suggest-title em{color:#9b9fa7}
html[data-theme="dark"] .search-suggest-tag{background-color:#1a1c20;color:#e8e9ec}
html[data-theme="dark"] .search-suggest-desc{color:#9b9fa7}
html[data-theme="dark"] .search-suggest-desc em{color:#9b9fa7}
html[data-theme="dark"] .search-suggest-all{background-color:#16181b;color:#e0b163}
html[data-theme="dark"] .search-suggest-all:hover{background-color:#1a1c20}
html[data-theme="dark"] .search-suggest-empty{color:#9b9fa7}
html[data-theme="dark"] .search-suggest-empty p{color:#e8e9ec}
html[data-theme="dark"] .search-suggest-empty p b{color:#9b9fa7}
html[data-theme="dark"] .search-suggest-empty span{color:#9b9fa7}
html[data-theme="dark"] .search-suggest-empty a{color:#e0b163}
html[data-theme="dark"] .search-suggest-error p{color:#e8e9ec}
html[data-theme="dark"] html[data-theme="dark"] .site-search-box__icon{color:#e8e9ec}
html[data-theme="dark"] html[data-theme="dark"] .site-search-box:focus-within .site-search-box__icon,html[data-theme="dark"] html[data-theme="dark"] .site-search-box.is-open .site-search-box__icon{color:#9b9fa7}
html[data-theme="dark"] html[data-theme="dark"] .site-search-box__clear{background-color:rgba(22,24,27,.08);color:#9b9fa7}
html[data-theme="dark"] html[data-theme="dark"] .site-search-box__clear:hover{background-color:rgba(22,24,27,.16)}
html[data-theme="dark"] html[data-theme="dark"] .search-suggest-head{color:#9b9fa7}
html[data-theme="dark"] html[data-theme="dark"] .search-suggest-icon{background-color:rgba(22,24,27,.05)}
html[data-theme="dark"] html[data-theme="dark"] .search-suggest-tag{background-color:rgba(22,24,27,.06);color:#9b9fa7}
html[data-theme="dark"] html[data-theme="dark"] .search-suggest-desc{color:#9b9fa7}
html[data-theme="dark"] html[data-theme="dark"] .search-suggest-go{color:#e8e9ec}
html[data-theme="dark"] html[data-theme="dark"] .search-suggest-empty span{color:#e8e9ec}
html[data-theme="dark"] html[data-theme="dark"] .search-suggest-empty svg{color:#e8e9ec}
html[data-theme="dark"] .search-hero-box .search-input{background-color:#16181b}
html[data-theme="dark"] .search-hero-box .search-btn{background-color:#7a5c22}
html[data-theme="dark"] .search-hero-box .search-btn:hover{background-color:#7a5c22}
html[data-theme="dark"] .search-hero-dot{background-color:rgba(22,24,27,.5)}
html[data-theme="dark"] .search-card{background-color:#16181b}
html[data-theme="dark"] .search-card-title{color:#e0b163}
html[data-theme="dark"] .search-card-count{color:#9b9fa7}
html[data-theme="dark"] .search-tab{background-color:#16181b;color:#e8e9ec;border-color:#2c2f35}
html[data-theme="dark"] .search-tab:hover{background-color:#1a1c20;color:#e0b163;border-color:#6b5220}
html[data-theme="dark"] .search-tab.active{background-color:#7a5c22;border-color:#6b5220}
html[data-theme="dark"] .search-tab.active .search-tab-count{background-color:rgba(22,24,27,.22)}
html[data-theme="dark"] .search-filter-chip{background-color:#1a1c20;color:#e8e9ec}
html[data-theme="dark"] .search-filter-chip a{color:#e8e9ec}
html[data-theme="dark"] .search-cat-strip-label{color:#9b9fa7}
html[data-theme="dark"] .search-cat-chip{background-color:#1a1c20;color:#e0b163}
html[data-theme="dark"] .search-cat-chip:hover{background-color:#7a5c22}
html[data-theme="dark"] .site-card,html[data-theme="dark"] .site-item{background-color:#1a1c20;color:#e8e9ec}
html[data-theme="dark"] .site-card:hover,html[data-theme="dark"] .site-item:hover{background-color:#16181b;border-color:#6b5220}
html[data-theme="dark"] .site-name{color:#e0b163}
html[data-theme="dark"] .site-name em{color:#9b9fa7}
html[data-theme="dark"] .site-desc{color:#9b9fa7}
html[data-theme="dark"] .site-desc em{color:#9b9fa7}
html[data-theme="dark"] .site-cat{background-color:#1a1c20;color:#e0b163}
html[data-theme="dark"] .site-clicks{color:#9b9fa7}
html[data-theme="dark"] .article-grid:not(.grid-style) .article-card{background-color:#1a1c20;color:#e8e9ec}
html[data-theme="dark"] .article-grid:not(.grid-style) .article-card:hover{background-color:#16181b;border-color:#6b5220}
html[data-theme="dark"] .article-grid:not(.grid-style) .article-title{color:#e0b163}
html[data-theme="dark"] .article-grid:not(.grid-style) .article-title em{color:#9b9fa7}
html[data-theme="dark"] .article-grid:not(.grid-style) .article-desc{color:#9b9fa7}
html[data-theme="dark"] .article-grid:not(.grid-style) .article-desc em{color:#9b9fa7}
html[data-theme="dark"] .article-grid:not(.grid-style) .article-meta{color:#9b9fa7}
html[data-theme="dark"] .article-cat{background-color:#1a1c20;color:#e0b163}
html[data-theme="dark"] .search-empty{color:#9b9fa7}
html[data-theme="dark"] .search-empty-icon{color:#e0b163}
html[data-theme="dark"] .search-empty h2{color:#e0b163}
html[data-theme="dark"] .search-empty p{color:#9b9fa7}
html[data-theme="dark"] .search-empty-reset{background-color:#1a1c20;color:#e0b163}
html[data-theme="dark"] .search-empty-reset:hover{background-color:#7a5c22}
html[data-theme="dark"] .search-empty-hot h3{color:#9b9fa7}
html[data-theme="dark"] .hot-site-chip{background-color:#1a1c20;color:#e0b163}
html[data-theme="dark"] .hot-site-chip:hover{background-color:#16181b;color:#e0b163}
html[data-theme="dark"] .page-btn,html[data-theme="dark"] .page-num{background-color:#16181b;color:#e8e9ec;border-color:#2c2f35}
html[data-theme="dark"] .page-btn:hover,html[data-theme="dark"] .page-num:hover{background-color:#1a1c20;color:#e0b163;border-color:#6b5220}
html[data-theme="dark"] .page-num.active{background-color:#7a5c22;border-color:#6b5220}
html[data-theme="dark"] .page-dots{color:#9b9fa7}
html[data-theme="dark"] html[data-theme="dark"] .search-card-count{color:#9b9fa7}
html[data-theme="dark"] html[data-theme="dark"] .search-tab{color:#9b9fa7}
html[data-theme="dark"] html[data-theme="dark"] .search-tab-count{background-color:rgba(22,24,27,.08)}
html[data-theme="dark"] html[data-theme="dark"] .search-cat-strip-label{color:#9b9fa7}
html[data-theme="dark"] html[data-theme="dark"] .search-cat-chip{background-color:rgba(22,24,27,.06)}
html[data-theme="dark"] html[data-theme="dark"] .search-cat-chip:hover{background-color:rgba(22,24,27,.12)}
html[data-theme="dark"] html[data-theme="dark"] .site-desc{color:#9b9fa7}
html[data-theme="dark"] html[data-theme="dark"] .site-cat,html[data-theme="dark"] html[data-theme="dark"] .article-cat{background-color:rgba(22,24,27,.06);color:#9b9fa7}
html[data-theme="dark"] html[data-theme="dark"] .site-clicks{color:#e8e9ec}
html[data-theme="dark"] html[data-theme="dark"] .article-grid:not(.grid-style) .article-desc{color:#9b9fa7}
html[data-theme="dark"] html[data-theme="dark"] .article-grid:not(.grid-style) .article-meta{color:#e8e9ec}
html[data-theme="dark"] html[data-theme="dark"] .search-empty-icon{color:#e8e9ec}
html[data-theme="dark"] html[data-theme="dark"] .search-empty p{color:#9b9fa7}
html[data-theme="dark"] html[data-theme="dark"] .search-empty-hot h3{color:#9b9fa7}
html[data-theme="dark"] html[data-theme="dark"] .page-btn,html[data-theme="dark"] html[data-theme="dark"] .page-num{color:#9b9fa7}
html[data-theme="dark"] html[data-theme="dark"] .page-dots{color:#e8e9ec}
html[data-theme="dark"] .breadcrumb{background-color:#16181b;color:#e8e9ec}
html[data-theme="dark"] .breadcrumb__link{color:#e8e9ec}
html[data-theme="dark"] .breadcrumb__link:hover{color:#e0b163}
html[data-theme="dark"] .breadcrumb__current{color:#e0b163}
html[data-theme="dark"] .main-content-wrapper{background-color:#16181b}
html[data-theme="dark"] .preview-container{background-color:#1a1c20}
html[data-theme="dark"] .preview-loading{color:#9b9fa7}
html[data-theme="dark"] .preview-loading i{color:#e8e9ec}
html[data-theme="dark"] .preview-error{color:#9b9fa7}
html[data-theme="dark"] .view-count{color:#e8e9ec}
html[data-theme="dark"] .btn-primary:hover{background-color:#7a5c22}
html[data-theme="dark"] .btn-secondary{background-color:#16181b;color:#e8e9ec}
html[data-theme="dark"] .btn-secondary:hover{color:#e0b163;border-color:#6b5220}
html[data-theme="dark"] .site-title{color:#e8e9ec}
html[data-theme="dark"] .badge-featured{background-color:#1a1c20;color:#9b9fa7}
html[data-theme="dark"] .site-summary{color:#e8e9ec}
html[data-theme="dark"] .detail-merged-card{border-color:#2c2f35}
html[data-theme="dark"] .detail-eval-title{color:#e8e9ec}
html[data-theme="dark"] .detail-eval-content{color:#e8e9ec}
html[data-theme="dark"] .detail-meta-lines a{color:#e0b163}
html[data-theme="dark"] .merged-meta-lines strong{color:#e8e9ec}
html[data-theme="dark"] .detail-disclaimer-inline__title{color:#e8e9ec}
html[data-theme="dark"] .detail-disclaimer-inline__text{color:#9b9fa7}
html[data-theme="dark"] .disclaimer-content p{color:#e8e9ec}
html[data-theme="dark"] .description-card{background-color:#16181b}
html[data-theme="dark"] .description-content{color:#e8e9ec}
html[data-theme="dark"] .info-label{color:#9b9fa7}
html[data-theme="dark"] .info-value{color:#e8e9ec}
html[data-theme="dark"] .category-link{color:#e0b163}
html[data-theme="dark"] .site-qr-toggle.is-active{color:#e0b163;border-color:#6b5220}
html[data-theme="dark"] .site-qr-panel{background-color:#16181b;border-color:#2c2f35}
html[data-theme="dark"] .site-qr-tip{color:#9b9fa7}
html[data-theme="dark"] .site-feedback-dialog{background-color:#16181b}
html[data-theme="dark"] .site-feedback-title{color:#e8e9ec}
html[data-theme="dark"] .site-feedback-close{color:#9b9fa7}
html[data-theme="dark"] .site-feedback-close:hover{background-color:#1a1c20;color:#e8e9ec}
html[data-theme="dark"] .site-feedback-field label{color:#e8e9ec}
html[data-theme="dark"] .site-feedback-field select,html[data-theme="dark"] .site-feedback-field input,html[data-theme="dark"] .site-feedback-field textarea{background-color:#16181b;color:#e8e9ec}
html[data-theme="dark"] .site-feedback-field select:focus,html[data-theme="dark"] .site-feedback-field input:focus,html[data-theme="dark"] .site-feedback-field textarea:focus{border-color:#6b5220}
html[data-theme="dark"] .site-feedback-status{color:#e8e9ec}
html[data-theme="dark"] .site-feedback-status.is-success{color:#e8e9ec}
html[data-theme="dark"] .total-views{color:#9b9fa7}
html[data-theme="dark"] .total-views-label{color:#9b9fa7}
html[data-theme="dark"] .total-views-count{color:#9b9fa7}
html[data-theme="dark"] .total-views-count i{color:#9b9fa7}
html[data-theme="dark"] .tag-item{background-color:#1a1c20;color:#e0b163}
html[data-theme="dark"] .tag-item:hover{background-color:#7a5c22}
html[data-theme="dark"] .related-section{background-color:#16181b}
html[data-theme="dark"] .section-title{color:#e8e9ec}
html[data-theme="dark"] .related-card{background-color:#1a1c20}
html[data-theme="dark"] .related-card:hover{background-color:#1a1c20}
html[data-theme="dark"] .related-icon{background-color:#16181b}
html[data-theme="dark"] .related-icon.site-icon-tiny{background-color:#1a1c20}
html[data-theme="dark"] .related-name{color:#e8e9ec}
html[data-theme="dark"] .related-desc{color:#9b9fa7}
html[data-theme="dark"] .ai-review-content{color:#e8e9ec}
html[data-theme="dark"] .ai-review-cursor{background-color:#7a5c22}
html[data-theme="dark"] .site-item{background-color:#16181b}
html[data-theme="dark"] .site-avatar{background-color:#1a1c20}
html[data-theme="dark"] .site-avatar.site-icon-tiny{background-color:#1a1c20}
html[data-theme="dark"] .site-description{color:#9b9fa7}
html[data-theme="dark"] .site-tag{background-color:#1a1c20;color:#e0b163}
html[data-theme="dark"] .search-notice-word-ads .promo-text-card{background-color:rgba(22,24,27,0.14)}
html[data-theme="dark"] .search-notice-word-ads .promo-text-grid li a,html[data-theme="dark"] .search-notice-word-ads .search-notice-placeholder{background-color:rgba(22,24,27,0.22)}
html[data-theme="dark"] .search-notice-word-ads .promo-text-grid li a:hover{background-color:rgba(22,24,27,0.3)}
html[data-theme="dark"] .search-notice-word-ads .promo-text-grid li a.search-notice-placeholder::before,html[data-theme="dark"] .search-notice-word-ads .search-notice-placeholder::before{background-color:rgba(22,24,27,0.32)}
html[data-theme="dark"] .search-notice-word-ads .search-notice-rent{background-color:rgba(22,24,27,0.24)}
html[data-theme="dark"] .sidebar{background-color:#16181b}
html[data-theme="dark"] .sidebar-header{color:#e8e9ec}
html[data-theme="dark"] .sidebar-toggle{color:#e8e9ec}
html[data-theme="dark"] .sidebar-toggle:hover{color:#e0b163}
html[data-theme="dark"] .sidebar-menu-item{color:#e8e9ec}
html[data-theme="dark"] .sidebar-menu-item:hover{background-color:#1a1c20;color:#e0b163}
html[data-theme="dark"] .sidebar-menu-item.active{background-color:#7a5c22;color:#e0b163}
html[data-theme="dark"] .back-to-top{background-color:rgba(22,24,27,0.75);color:#e0b163}
html[data-theme="dark"] .back-to-top:hover{background-color:rgba(22,24,27,0.9)}
html[data-theme="dark"] .mobile-category-toggle{background-color:rgba(22,24,27,0.75);color:#e0b163}
html[data-theme="dark"] .mobile-sidebar{background-color:rgba(22,24,27,0.75)}
html[data-theme="dark"] .search-tag{background-color:rgba(22,24,27,0.2)}
html[data-theme="dark"] .search-tag:hover{background-color:rgba(22,24,27,0.32)}
html[data-theme="dark"] .category-card{background-color:#16181b}
html[data-theme="dark"] .category-title{color:#e8e9ec}
html[data-theme="dark"] .category-title i{color:#e0b163}
html[data-theme="dark"] .category-more{color:#e0b163}
html[data-theme="dark"] .category-more:hover{color:#e0b163}
html[data-theme="dark"] .top-site-card{border-color:#6b5220}
html[data-theme="dark"] .top-site-card:hover{border-color:#6b5220}
html[data-theme="dark"] .sub-categories{background-color:#1f2227}
html[data-theme="dark"] .sub-cat-tag{color:#e8e9ec}
html[data-theme="dark"] .sub-cat-tag:hover{background-color:rgba(22,24,27,0.6);color:#e8e9ec}
html[data-theme="dark"] .sub-cat-tag.active{background-color:#7a5c22}
html[data-theme="dark"] .site-card{background-color:#1a1c20;color:#e8e9ec}
html[data-theme="dark"] .site-card:hover{background-color:#16181b}
html[data-theme="dark"] .site-icon{background-color:#16181b}
html[data-theme="dark"] .site-name{color:#e8e9ec}
html[data-theme="dark"] .site-source{color:#9b9fa7}
html[data-theme="dark"] .category-card-site-style2{background-color:#16181b}
html[data-theme="dark"] .site-card-style2 .site-icon-frame{background-color:rgba(22,24,27,0.92)}
html[data-theme="dark"] .site-card-style2 .site-name{color:#e8e9ec}
html[data-theme="dark"] .site-card-style2:hover .site-name{color:#e0b163}
html[data-theme="dark"] .friend-links-card{background-color:#16181b}
html[data-theme="dark"] .friend-links-title{color:#e8e9ec}
html[data-theme="dark"] .friend-links-title i{color:#e0b163}
html[data-theme="dark"] .friend-links-apply{color:#e8e9ec}
html[data-theme="dark"] .friend-links-apply:hover{color:#e8e9ec}
html[data-theme="dark"] .friend-link-item{color:#e8e9ec}
html[data-theme="dark"] .friend-link-item:hover{color:#e0b163}
html[data-theme="dark"] .friend-link-item::before{color:#e8e9ec}
html[data-theme="dark"] .article-card{background-color:#16181b;color:#e8e9ec}
html[data-theme="dark"] .article-card .article-title{color:#e8e9ec}
html[data-theme="dark"] .article-desc{color:#e8e9ec}
html[data-theme="dark"] .article-meta{color:#9b9fa7}
html[data-theme="dark"] .view-toast{background-color:rgba(22,24,27,0.96);color:#e8e9ec}
html[data-theme="dark"] .view-toast__message{color:#e8e9ec}
html[data-theme="dark"] .view-toast__close{color:#9b9fa7}
html[data-theme="dark"] .view-toast__close:hover{color:#e8e9ec}
html[data-theme="dark"] .stat-item{background-color:#16181b}
html[data-theme="dark"] .stat-label{color:#9b9fa7}
html[data-theme="dark"] .stat-primary{background-color:#1a1c20}
html[data-theme="dark"] .stat-primary .stat-icon{color:#9b9fa7}
html[data-theme="dark"] .stat-primary .stat-value{color:#9b9fa7}
html[data-theme="dark"] .stat-blue{background-color:#1a1c20;border-color:#6b5220}
html[data-theme="dark"] .stat-blue .stat-icon-small{color:#e0b163}
html[data-theme="dark"] .stat-blue .stat-value{color:#e0b163}
html[data-theme="dark"] .stat-green{background-color:#16181b;border-color:#2c2f35}
html[data-theme="dark"] .stat-green .stat-icon-small{color:#9b9fa7}
html[data-theme="dark"] .stat-green .stat-value{color:#9b9fa7}
html[data-theme="dark"] .stat-pink{background-color:#1a1c20}
html[data-theme="dark"] .stat-pink .stat-icon-small{color:#9b9fa7}
html[data-theme="dark"] .stat-pink .stat-value{color:#9b9fa7}
html[data-theme="dark"] .latest-articles-card{background-color:#16181b}
html[data-theme="dark"] .latest-articles-header{color:#e8e9ec}
html[data-theme="dark"] .latest-articles-header i{color:#e0b163}
html[data-theme="dark"] .latest-article-item{background-color:#1a1c20}
html[data-theme="dark"] .latest-article-title{color:#e8e9ec}
html[data-theme="dark"] .latest-article-meta{color:#9b9fa7}
html[data-theme="dark"] .mobile-sidebar-card{background-color:#16181b}
html[data-theme="dark"] .mobile-sidebar-banner::before{background-color:rgba(22,24,27,0.1)}
html[data-theme="dark"] .mobile-banner-logo{background-color:#16181b}
html[data-theme="dark"] .mobile-sidebar-stat-item:nth-child(1) .mobile-stat-num{color:#e0b163}
html[data-theme="dark"] .mobile-sidebar-stat-item:nth-child(2) .mobile-stat-num{color:#9b9fa7}
html[data-theme="dark"] .mobile-sidebar-stat-item:nth-child(3) .mobile-stat-num{color:#e8e9ec}
html[data-theme="dark"] .mobile-sidebar-stat-item:nth-child(4) .mobile-stat-num{color:#e8e9ec}
html[data-theme="dark"] .mobile-stat-text{color:#9b9fa7}
html[data-theme="dark"] .sidebar-stat-item:nth-child(1) .stat-num{color:#e0b163}
html[data-theme="dark"] .sidebar-stat-item:nth-child(2) .stat-num{color:#9b9fa7}
html[data-theme="dark"] .sidebar-stat-item:nth-child(3) .stat-num{color:#e8e9ec}
html[data-theme="dark"] .sidebar-stat-item:nth-child(4) .stat-num{color:#e8e9ec}
html[data-theme="dark"] .sidebar-ranking-card,html[data-theme="dark"] .sidebar-articles-card{background-color:#16181b}
html[data-theme="dark"] .compact-legend-item{color:#e8e9ec}
html[data-theme="dark"] .home-donut-panel{background-color:#16181b;border-color:#2c2f35}
html[data-theme="dark"] .home-donut-panel-header{color:#e8e9ec}
html[data-theme="dark"] .home-donut-panel-title::before{border-color:#6b5220}
html[data-theme="dark"] .home-donut-chart::after{background-color:#16181b}
html[data-theme="dark"] .home-donut-total{color:#e0b163}
html[data-theme="dark"] .home-donut-label{color:#9b9fa7}
html[data-theme="dark"] .home-donut-detail-btn{background-color:#16181b;color:#e0b163;border-color:#6b5220}
html[data-theme="dark"] .home-donut-detail-btn:hover{background-color:#1a1c20}
html[data-theme="dark"] .home-donut-detail-modal{background-color:#16181b}
html[data-theme="dark"] .home-donut-detail-title{color:#e8e9ec}
html[data-theme="dark"] .home-donut-detail-close{background-color:#16181b;color:#e8e9ec}
html[data-theme="dark"] .home-donut-modal-total{color:#e8e9ec}
html[data-theme="dark"] .home-donut-legend-modal-item{color:#e8e9ec}
html[data-theme="dark"] .ranking-item{background-color:#1a1c20}
html[data-theme="dark"] .ranking-item:hover{background-color:#1f2227}
html[data-theme="dark"] .ranking-num{background-color:#1a1c20;color:#9b9fa7}
html[data-theme="dark"] .ranking-stats{color:#e0b163}
html[data-theme="dark"] .ranking-more{background-color:#1a1c20;color:#e8e9ec}
html[data-theme="dark"] .article-item{background-color:#1a1c20}
html[data-theme="dark"] .article-item:hover{background-color:#1f2227}
html[data-theme="dark"] .article-num{background-color:#1a1c20;color:#9b9fa7}
html[data-theme="dark"] .article-item:nth-child(1) .article-num{background-color:#1a1c20;color:#9b9fa7}
html[data-theme="dark"] .article-views{color:#9b9fa7}
html[data-theme="dark"] .mobile-ranking-card{background-color:#16181b}
html[data-theme="dark"] .mobile-ranking-header{color:#e8e9ec}
html[data-theme="dark"] .mobile-ranking-header i{color:#e0b163}
html[data-theme="dark"] .mobile-ranking-tab{background-color:#1a1c20;color:#e8e9ec}
html[data-theme="dark"] .mobile-ranking-item{background-color:#1a1c20}
html[data-theme="dark"] .mobile-ranking-item:active{background-color:#1f2227}
html[data-theme="dark"] .mobile-ranking-num{background-color:#1a1c20;color:#9b9fa7}
html[data-theme="dark"] .mobile-ranking-name{color:#e8e9ec}
html[data-theme="dark"] .mobile-ranking-desc{color:#9b9fa7}
html[data-theme="dark"] .mobile-ranking-stats{color:#e0b163}
html[data-theme="dark"] .mobile-ranking-more{background-color:#1a1c20;color:#e8e9ec}

/* ===== 2. 手工层 ===== */

/* 色板：墨黑 #0d0e10 / 面板 #16181b / 面板浮起 #1a1c20 / 描边 #2c2f35
   文字 #e8e9ec / 次级 #9b9fa7 / 主强调 琥珀金 #d9a441 / 高亮金 #f0bf63 */
html[data-theme="dark"] {
    background-color: #0d0e10;
    --ys-gold: #d9a441;
    --ys-gold-hi: #f0bf63;
    --ys-gold-soft: #2b2314;
}

html[data-theme="dark"] body {
    background-color: #0d0e10 !important;
    color: #c9ccd2;
}

/* 顶部栏：原为 rgba(255,255,255,.7) 毛玻璃 → 半透明墨黑 + 极细高光边 */
html[data-theme="dark"] .unified-header {
    background: rgba(13, 14, 16, .84) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .05), 0 10px 28px rgba(0, 0, 0, .55) !important;
    border: 1px solid rgba(255, 255, 255, .05);
}

html[data-theme="dark"] .unified-nav-center a,
html[data-theme="dark"] .unified-nav-right a,
html[data-theme="dark"] .unified-nav-left a,
html[data-theme="dark"] .nav-menu a {
    color: #c3c7cf;
}

html[data-theme="dark"] .unified-nav-center a:hover,
html[data-theme="dark"] .unified-nav-right a:hover,
html[data-theme="dark"] .nav-menu a:hover {
    color: #f0bf63;
}

/* 首屏：石墨纵向渐变 + 顶点金色微光，替换掉品牌蓝渐变与横幅图 */
html[data-theme="dark"] .search-section {
    background:
        radial-gradient(900px 300px at 50% 0%, rgba(217, 164, 65, .16), rgba(217, 164, 65, 0) 72%),
        linear-gradient(180deg, #15161a 0%, #0d0e10 100%) !important;
    box-shadow: none !important;
}

html[data-theme="dark"] .search-section::before {
    background-image: none !important;
}

html[data-theme="dark"] .search-slogan {
    color: #f2f3f5;
}

html[data-theme="dark"] .search-subtitle {
    color: #a9adb5;
}

html[data-theme="dark"] .search-input {
    background: rgba(28, 30, 35, .95) !important;
    color: #e8e9ec;
    border: 1px solid #2c2f35;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
}

html[data-theme="dark"] .search-input:focus {
    background: #232529 !important;
    border-color: #6b5220;
    box-shadow: 0 0 0 3px rgba(217, 164, 65, .16);
}

html[data-theme="dark"] .search-input::placeholder {
    color: #7d828b;
}

html[data-theme="dark"] .search-btn {
    background-color: #c9922f !important;
}

html[data-theme="dark"] .search-btn:hover {
    background-color: #dba63f !important;
}

html[data-theme="dark"] .search-tag {
    background: rgba(217, 164, 65, .10) !important;
    border-color: rgba(217, 164, 65, .26) !important;
    color: #e7c88a !important;
}

html[data-theme="dark"] .search-tag:hover {
    background: rgba(217, 164, 65, .18) !important;
    border-color: rgba(217, 164, 65, .42) !important;
}

/* 主要面板：统一石墨底 + 描边，替代原白卡 */
html[data-theme="dark"] .sidebar,
html[data-theme="dark"] .sidebar-head,
html[data-theme="dark"] .stat-item,
html[data-theme="dark"] .sidebar-top-card,
html[data-theme="dark"] .sidebar-ranking-card,
html[data-theme="dark"] .sidebar-articles-card,
html[data-theme="dark"] .category-card,
html[data-theme="dark"] .article-card,
html[data-theme="dark"] .latest-articles-card,
html[data-theme="dark"] .friend-links-card,
html[data-theme="dark"] .footer {
    background-color: #16181b !important;
}

html[data-theme="dark"] .site-card {
    background-color: #1a1c20 !important;
}

html[data-theme="dark"] .site-card:hover {
    background-color: #23262b !important;
}

html[data-theme="dark"] .site-name {
    color: #e8e9ec !important;
}

html[data-theme="dark"] .site-card:hover .site-name {
    color: #f0bf63 !important;
}

html[data-theme="dark"] .site-desc {
    color: #9b9fa7 !important;
}

/* 阴影一律压黑，避免浅色阴影在墨底上发灰 */
html[data-theme="dark"] .category-card,
html[data-theme="dark"] .sidebar,
html[data-theme="dark"] .sidebar-top-card,
html[data-theme="dark"] .sidebar-ranking-card,
html[data-theme="dark"] .sidebar-articles-card,
html[data-theme="dark"] .article-card,
html[data-theme="dark"] .latest-articles-card,
html[data-theme="dark"] .friend-links-card {
    box-shadow: 0 2px 10px rgba(0, 0, 0, .55) !important;
}

html[data-theme="dark"] .site-card:hover,
html[data-theme="dark"] .ranking-item:hover,
html[data-theme="dark"] .article-item:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, .55);
}

/* 左侧分类栏文字与选中态 */
html[data-theme="dark"] .sidebar-head {
    color: #e8e9ec !important;
    border-bottom-color: #24272c !important;
}

html[data-theme="dark"] .sidebar-head i {
    color: #d9a441 !important;
}

html[data-theme="dark"] .sidebar-menu-item {
    color: #a6aab2 !important;
}

html[data-theme="dark"] .sidebar-menu-item i {
    color: #82878f !important;
}

html[data-theme="dark"] .sidebar-menu-item:hover {
    background: #1f2227 !important;
    color: #f0bf63 !important;
}

html[data-theme="dark"] .sidebar-menu-item.active {
    background: #2b2314 !important;
    color: #f0bf63 !important;
}

/* 页脚 */
html[data-theme="dark"] .footer {
    border-top: 1px solid #24272c;
}

html[data-theme="dark"] .footer,
html[data-theme="dark"] .footer a {
    color: #9b9fa7;
}

html[data-theme="dark"] .footer a:hover {
    color: #f0bf63;
}

/* 分割线 */
html[data-theme="dark"] hr,
html[data-theme="dark"] .divider {
    border-color: #24272c;
}

/* 站内表单控件（申请收录、友链申请等） */
html[data-theme="dark"] input[type="text"],
html[data-theme="dark"] input[type="email"],
html[data-theme="dark"] input[type="password"],
html[data-theme="dark"] input[type="url"],
html[data-theme="dark"] input[type="number"],
html[data-theme="dark"] textarea,
html[data-theme="dark"] select {
    background-color: #16181b;
    border-color: #2c2f35;
    color: #e8e9ec;
}

html[data-theme="dark"] input:focus,
html[data-theme="dark"] textarea:focus,
html[data-theme="dark"] select:focus {
    border-color: #6b5220;
    box-shadow: 0 0 0 3px rgba(217, 164, 65, .14);
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
    color: #7d828b;
}

/* 分页 */
html[data-theme="dark"] .pagination a,
html[data-theme="dark"] .pagination span {
    background-color: #16181b;
    border-color: #2c2f35;
    color: #c9ccd2;
}

html[data-theme="dark"] .pagination .active,
html[data-theme="dark"] .pagination a:hover {
    background-color: #c9922f;
    border-color: #c9922f;
    color: #141414;
}

/* 页面级背景渐变（排行榜等）在暗色下取消 */
html[data-theme="dark"] body {
    background-image: none !important;
}

/* 排行榜页整套配色由 CSS 变量驱动 */
html[data-theme="dark"] {
    --ranking-bg: #0d0e10;
    --ranking-surface: rgba(22, 24, 27, .96);
    --ranking-surface-strong: #16181b;
    --ranking-border: rgba(255, 255, 255, .07);
    --ranking-border-strong: rgba(255, 255, 255, .14);
    --ranking-text: #e8e9ec;
    --ranking-text-soft: #9b9fa7;
    --ranking-accent: #d9a441;
    --ranking-accent-strong: #f0bf63;
    --ranking-accent-soft: #2b2314;
    --ranking-shadow: 0 18px 36px rgba(0, 0, 0, .6);
}

/* 品牌 LOGO 是深字透明底 PNG，暗色下加浅色底板 */
html[data-theme="dark"] .unified-logo img {
    background: rgba(247, 249, 252, .96);
    border-radius: 10px;
    padding: 2px 8px;
    box-sizing: content-box;
}

/* ---- 空状态卡片：模板里是行内 background:#fff ---- */
html[data-theme="dark"] .empty-state-box {
    background: #16181b !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .55) !important;
}

html[data-theme="dark"] .empty-state-box p {
    color: #9b9fa7 !important;
}

html[data-theme="dark"] .empty-state-box svg {
    fill: #3a3d43 !important;
}

/* ---- 友链申请页：登录引导弹窗 ---- */
html[data-theme="dark"] .fl-gate-card {
    background: #16181b !important;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .7) !important;
}

html[data-theme="dark"] .fl-gate-title {
    color: #e8e9ec !important;
}

html[data-theme="dark"] .fl-gate-text,
html[data-theme="dark"] .fl-gate-desc {
    color: #a6aab2 !important;
}

html[data-theme="dark"] .fl-gate-close {
    background: #23262b !important;
    color: #9b9fa7 !important;
}

html[data-theme="dark"] .fl-gate-hint,
html[data-theme="dark"] .fl-gate-note {
    background: #2b2314 !important;
    color: #e7c88a !important;
    border-color: #4a3a1a !important;
}

html[data-theme="dark"] .fl-login-hint,
html[data-theme="dark"] .fl-login-hint-text {
    background: #2b2314 !important;
    border-color: #4a3a1a !important;
    color: #e7c88a !important;
}

html[data-theme="dark"] .fl-gate-btn-ghost {
    background: #23262b !important;
    border-color: #2c2f35 !important;
    color: #c9ccd2 !important;
}

html[data-theme="dark"] .fl-gate-btn-primary {
    background: #c9922f !important;
    border-color: #c9922f !important;
    color: #141414 !important;
}

/* 右栏/移动端品牌横幅卡：原本是蓝色渐变，暗色下改为石墨 + 琥珀金 */
html[data-theme="dark"] .sidebar-banner,
html[data-theme="dark"] .mobile-sidebar-banner {
    background: linear-gradient(135deg, #3b2d15 0%, #1d1e21 62%, #141518 100%) !important;
    color: #f2f3f5;
}

html[data-theme="dark"] .sidebar-banner::before,
html[data-theme="dark"] .sidebar-banner::after {
    background: rgba(217, 164, 65, .10) !important;
}

html[data-theme="dark"] .banner-desc,
html[data-theme="dark"] .mobile-banner-desc {
    color: rgba(240, 191, 99, .82) !important;
}

/* 排行榜顶部两个大切换按钮：避免整块金色过重，未选中用石墨底 + 金边 */
html[data-theme="dark"] .ranking-major-tab {
    background: #1a1c20 !important;
    border-color: #2c2f35 !important;
    color: #a6aab2 !important;
}

html[data-theme="dark"] .ranking-major-tab.active {
    background: #2b2314 !important;
    border-color: #6b5220 !important;
    color: #f0bf63 !important;
}

html[data-theme="dark"] .ranking-tab {
    background: #1a1c20 !important;
    border-color: #2c2f35 !important;
    color: #9b9fa7 !important;
}

html[data-theme="dark"] .ranking-tab.active {
    background: #2b2314 !important;
    border-color: #6b5220 !important;
    color: #f0bf63 !important;
}


/* ===== 3. 页脚（.clean-footer 是独立类名，原文用 background:#fff） ===== */
html[data-theme="dark"] .clean-footer {
    background: #101113 !important;
    border-top: 1px solid #24272c !important;
}

html[data-theme="dark"] .clean-footer .footer-links a {
    color: #9b9fa7 !important;
}

html[data-theme="dark"] .clean-footer .footer-links a:hover {
    color: #f0bf63 !important;
}

html[data-theme="dark"] .clean-footer .footer-desc,
html[data-theme="dark"] .clean-footer .footer-copy,
html[data-theme="dark"] .clean-footer .footer-copy a {
    color: #8b9099 !important;
}

html[data-theme="dark"] .clean-footer .footer-hang-stats {
    color: #9b9fa7 !important;
}

html[data-theme="dark"] .clean-footer .footer-hang-stats .value {
    color: #f0bf63 !important;
}

/* ===== 4. 网站地图页（sitemap_page.php，独立页、自带 :root 变量） ===== */
html[data-theme="dark"] body.page-sitemap {
    --ink: #e8e9ec;
    --sub: #9b9fa7;
    --line: #2c2f35;
    --blue: #e0b163;
    --bg: #0d0e10;
    background: #0d0e10;
    color: #e8e9ec;
}

html[data-theme="dark"] .page-sitemap .top {
    background: linear-gradient(120deg, #15161a, #0d0e10);
    border-bottom-color: #24272c;
}

html[data-theme="dark"] .page-sitemap .card {
    background: #16181b;
    border-color: #2c2f35;
}

html[data-theme="dark"] .page-sitemap .chip {
    background: #2b2314;
    color: #f0bf63;
}

html[data-theme="dark"] .page-sitemap .chips a.chip:hover {
    background: #3a2f18;
}

html[data-theme="dark"] .page-sitemap ul.sites li {
    background: #1a1c20;
    border-color: #2c2f35;
}

html[data-theme="dark"] .page-sitemap ul.sites a:hover {
    color: #f0bf63;
}

html[data-theme="dark"] .page-sitemap .empty {
    color: #7d828b;
}

html[data-theme="dark"] .page-sitemap footer {
    color: #9b9fa7;
    border-top-color: #24272c;
}

/* 地图页品牌图是「图标+深色字」的横版字标，暗色下只保留左侧图标块，避免文字看不见留白 */
html[data-theme="dark"] .page-sitemap .brand img {
    width: 34px;
    object-fit: cover;
    object-position: left center;
}

/* ===== 5. 关于页正文小标题与列表（about.css 新增） ===== */
html[data-theme="dark"] .about-page-body .card-body h3 {
    color: #e8e9ec;
    border-left-color: #d9a441;
}

html[data-theme="dark"] .about-page-body .card-body li {
    color: #a6aab2;
}

html[data-theme="dark"] .about-page-body .card-body strong {
    color: #f0bf63;
}
