/* ===== 导航站主样式 ===== */
:root{
    --primary:#34d399;
    --primary-dark:#10b981;
    --primary-light:#6ee7b7;
    --gradient:linear-gradient(135deg,#34d399 0%,#10b981 100%);
    --bg:#f5f7f6;
    --card:#ffffff;
    --border:#e8edea;
    --text:#1f2937;
    --text-secondary:#6b7280;
    --text-muted:#9ca3af;
    --shadow-sm:0 1px 3px rgba(0,0,0,.06);
    --shadow:0 4px 16px rgba(0,0,0,.06);
    --shadow-lg:0 8px 30px rgba(0,0,0,.08);
    --radius:12px;
    --radius-lg:16px;
}
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--text);background:var(--bg);line-height:1.6;-webkit-font-smoothing:antialiased}
a{text-decoration:none;color:inherit;transition:color .2s}
ul{list-style:none}
img{max-width:100%}
.sidebar-box,.top-sites-section,.category-section,.article-section,.site-detail-box{background:var(--card);border-radius:var(--radius-lg);border:1px solid var(--border);box-shadow:var(--shadow-sm);transition:box-shadow .3s}
.sidebar-box:hover,.top-sites-section:hover{box-shadow:var(--shadow)}
button,.btn{cursor:pointer;border:none;outline:none;font-family:inherit;transition:all .25s}
button:hover{transform:translateY(-1px)}
button:active{transform:translateY(0)}
input[type=text],input[type=url],input[type=number],input[type=file],input[type=password],textarea,select{border:1.5px solid var(--border);border-radius:10px;padding:10px 8px;font-size:14px;font-family:inherit;outline:none;transition:all .2s;background:#fff;color:var(--text)}
input:focus,textarea:focus,select:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(52,211,153,.12)}
::-webkit-scrollbar{width:8px;height:8px}
::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:4px}
::-webkit-scrollbar-thumb:hover{background:var(--primary)}
::-webkit-scrollbar-track{background:transparent}
.site-header{background:#fff;box-shadow:0 2px 12px rgba(0,0,0,.06);position:sticky;top:0;z-index:100}
.header-inner{max-width:1280px;margin:0 auto;padding:0 24px;height:64px;display:flex;align-items:center;gap:32px}
.header-logo a{display:flex;align-items:center;gap:10px}
.logo-icon{width:36px;height:36px;border-radius:10px;background:var(--gradient);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:18px}
.logo-text{display:flex;flex-direction:column;line-height:1.1}
.logo-text{font-size:18px;font-weight:700;color:#222}
.logo-text small{font-size:10px;color:#999;letter-spacing:2px;font-weight:400}
.header-nav{flex:1;min-width:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
.header-nav::-webkit-scrollbar{display:none}
.header-nav ul{display:flex;gap:2px;height:64px;align-items:center;width:max-content}
.header-nav li{height:64px;display:flex;align-items:center;flex-shrink:0;white-space:nowrap}
.header-nav li a{display:block;padding:8px 13px;border-radius:8px;font-size:14px;color:#555;transition:all .2s;white-space:nowrap}
.header-nav li a:hover,.header-nav li a.active{background:rgba(52,211,153,.08);color:var(--primary,#34d399)}
.header-right{display:flex;align-items:center;gap:16px}
.header-weather{display:flex;align-items:center;gap:4px;font-size:12px;color:#666;background:#f5f6fa;padding:4px 10px;border-radius:20px}
.header-date{display:flex;align-items:center;gap:4px;font-size:12px;color:#666}
.date-day{font-size:20px;font-weight:700;color:var(--primary,#34d399)}
.date-month{color:#999}
.header-user{width:32px;height:32px;border-radius:50%;background:#f5f6fa;display:flex;align-items:center;justify-content:center;font-size:16px;cursor:pointer;transition:all .2s}
.header-user:hover{background:var(--gradient);color:#fff}
.header-auth{display:flex;align-items:center;flex-shrink:0}
.header-auth-btn{display:flex;align-items:center;gap:5px;text-decoration:none;white-space:nowrap;flex-shrink:0;line-height:1}
.header-auth-login{padding:7px 15px;border-radius:20px;background:linear-gradient(135deg,#10b981,#059669);color:#fff!important;font-size:13px;font-weight:600;box-shadow:0 2px 8px rgba(16,185,129,.3);transition:transform .15s}
.header-auth-login:hover{transform:scale(1.05);color:#fff!important}
.header-auth-user{padding:5px 12px;border-radius:20px;background:#f0fdf4;border:1px solid #bbf7d0;color:#16a34a!important;font-size:13px;font-weight:600}
.header-auth-user:hover{background:#dcfce7}
.search-section{max-width:1280px;margin:20px auto;padding:0 24px}
.search-box{background:#fff;border-radius:16px;padding:24px;box-shadow:0 4px 20px rgba(0,0,0,.04)}
.search-box form{display:flex;gap:12px;margin-bottom:16px}
.search-box input{flex:1;padding:14px 20px;border:2px solid #eee;border-radius:12px;font-size:15px;outline:none;transition:border-color .2s}
.search-box input:focus{border-color:var(--primary,#34d399)}
.search-box button{padding:14px 32px;border:none;border-radius:12px;background:var(--gradient);color:#fff;font-size:15px;font-weight:500;cursor:pointer;transition:all .2s;white-space:nowrap}
.search-box button:hover{opacity:.9;transform:translateY(-1px)}
.search-engines{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}
.search-engine{font-size:13px;color:#888;cursor:pointer;padding:4px 12px;border-radius:8px;transition:all .2s}
.search-engine:hover{color:var(--primary,#34d399)}
.search-engine.active{color:var(--primary,#34d399);font-weight:600;background:rgba(52,211,153,.06)}
.main-container{max-width:1300px;margin:0 auto;padding:0 24px 16px}
.sponsor-section{margin-bottom:15px;background:#fff;border-radius:14px;padding:20px;border:1px solid #eef0ef;box-shadow:0 2px 8px rgba(0,0,0,.03)}
.section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.section-title{font-size:18px;font-weight:700;color:#222;display:flex;align-items:center;gap:8px}
.section-title::before{content:'';width:4px;height:20px;background:var(--gradient);border-radius:2px}
.btn-ad-buy{padding:8px 20px;background:#34d399;color:#fff;border-radius:8px;font-size:13px;font-weight:500;transition:all .2s}
.btn-ad-buy:hover{background:#10b981}
.sponsor-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.sponsor-item{background:#fff;border:1px solid #eee;border-radius:12px;padding:16px;display:flex;align-items:center;gap:12px;transition:all .2s;cursor:pointer}
.sponsor-item:hover{border-color:var(--primary,#34d399);box-shadow:0 4px 16px rgba(52,211,153,.12);transform:translateY(-2px)}
.sponsor-icon{width:36px;height:36px;border-radius:8px;background:var(--gradient);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;flex-shrink:0}
.sponsor-info{flex:1;min-width:0}
.sponsor-name{font-size:14px;font-weight:600;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sponsor-desc{font-size:11px;color:#999;margin-top:2px}
.category-section{background:#fff;border-radius:16px;padding:24px;margin-bottom:24px;box-shadow:0 2px 12px rgba(0,0,0,.03)}
.category-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.category-search{position:relative}
.category-search input{width:240px;padding:8px 36px 8px 14px;border:1px solid #eee;border-radius:20px;font-size:13px;outline:none}
.category-search input:focus{border-color:var(--primary,#34d399)}
.category-search::after{content:'🔍';position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:12px}
.category-tags{display:flex;flex-wrap:wrap;gap:10px}
.category-tag{padding:8px 20px;background:#f9fafb;border:1px solid #eee;border-radius:8px;font-size:13px;color:#555;cursor:pointer;transition:all .2s}
.category-tag:hover{border-color:var(--primary,#34d399);color:var(--primary,#34d399)}
.category-tag.active{background:var(--gradient);color:#fff;border-color:transparent}
.sites-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#eee;border-radius:16px;overflow:hidden;margin-bottom:24px}
.site-card{background:#fff;padding:24px;display:flex;gap:16px;transition:all .25s;cursor:pointer;position:relative}
.site-card:hover{background:#fafbff;z-index:2}
.site-card:hover .site-name{color:var(--primary,#34d399)}
.site-icon{width:48px;height:48px;border-radius:12px;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#f3f4f6}
.site-icon img{width:100%;height:100%;object-fit:cover}
.site-icon-fallback{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:20px;border-radius:12px}
.site-info{flex:1;min-width:0}
.site-name{font-size:15px;font-weight:600;color:#222;margin-bottom:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .2s}
.site-desc{font-size:12px;color:#888;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.site-badge{position:absolute;top:12px;right:12px;font-size:10px;padding:2px 8px;border-radius:10px;font-weight:500}
.badge-hot{background:#fef3c7;color:#d97706}
.badge-rec{background:#ede9fe;color:#7c3aed}
.article-section{margin-top:15px;padding:20px}
.article-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:16px}
.article-card{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 2px 12px rgba(0,0,0,.04);transition:all .25s;cursor:pointer}
.article-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(0,0,0,.1)}
.article-cover{height:140px;background:var(--gradient);display:flex;align-items:center;justify-content:center;color:#fff;padding:16px;text-align:center;font-size:14px;font-weight:600;position:relative;overflow:hidden}
.article-cover img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.article-body{padding:16px}
.article-title{font-size:14px;font-weight:600;color:#333;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:42px}
.article-meta{display:flex;align-items:center;gap:10px;margin-top:12px;font-size:11px;color:#999}
.article-cat{padding:2px 8px;background:rgba(52,211,153,.08);color:var(--primary,#34d399);border-radius:4px}
.site-footer{background:#fff;border-top:1px solid #eee;margin-top:8px;padding:24px 0 16px}
.site-footer-simple{text-align:center}
.site-footer-simple .footer-inner{max-width:1200px;margin:0 auto;padding:0 24px}
.footer-simple-links{display:flex;justify-content:center;align-items:center;gap:32px;flex-wrap:wrap;margin-bottom:16px}
.footer-simple-links a{font-size:14px;color:#666;text-decoration:none;transition:color .2s}
.footer-simple-links a:hover{color:#34d399}
.footer-copyright{font-size:12px;color:#999;line-height:1.8}
.footer-copyright .footer-beian{color:#999;margin-left:8px;text-decoration:none}
.footer-copyright .footer-beian:hover{color:#34d399}
.footer-copyright .footer-tip{display:block;margin-top:4px;font-size:11px;color:#bbb}
.footer-friendlinks-section{max-width:1300px;margin:0 auto 16px;padding:16px 24px;background:#fff;border-radius:12px;border:1px solid #eef0ef}
.friendlinks-above-footer{margin:15px auto 0!important;background:#fff!important;border:1px solid #eef0ef!important;border-radius:12px!important;padding:16px 24px!important}
.footer-fl-title{font-size:14px;color:#34d399;font-weight:600;display:block;margin-bottom:10px}
.footer-fl-list{display:flex;flex-wrap:wrap;gap:10px 20px;align-items:center}
.footer-fl-list a{font-size:13px;color:#666;text-decoration:none;transition:color .2s}
.footer-fl-list a:hover{color:#34d399}
.footer-fl-apply{color:#34d399!important;font-weight:500}
.footer-fl-empty{font-size:12px;color:#bbb}
.jump-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#0ea5e9 0%,#06b6d4 100%);padding:20px}
.jump-card{background:rgba(255,255,255,.15);backdrop-filter:blur(20px);border-radius:24px;padding:48px;max-width:520px;width:100%;text-align:center;color:#fff;border:1px solid rgba(255,255,255,.2)}
.jump-icon{width:80px;height:80px;margin:0 auto 24px;background:rgba(255,255,255,.2);border-radius:24px;display:flex;align-items:center;justify-content:center;font-size:36px}
.jump-card h1{font-size:28px;margin-bottom:8px}
.jump-card p{font-size:14px;opacity:.85;margin-bottom:24px}
.jump-site{background:rgba(255,255,255,.2);border-radius:16px;padding:20px;margin-bottom:24px;display:flex;align-items:center;gap:16px}
.jump-site-icon{width:48px;height:48px;border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.jump-site-info{text-align:left;flex:1}
.jump-site-name{font-size:16px;font-weight:600}
.jump-site-url{font-size:12px;opacity:.8;margin-top:2px}
.jump-warning{font-size:12px;opacity:.75;margin-bottom:24px;line-height:1.6}
.jump-buttons{display:flex;gap:12px;justify-content:center}
.jump-btn{padding:12px 32px;border-radius:25px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s;border:none}
.jump-btn-primary{background:#fff;color:#0ea5e9}
.jump-btn-primary:hover{transform:scale(1.05)}
.jump-btn-secondary{background:rgba(255,255,255,.2);color:#fff}
.jump-countdown{background:rgba(255,255,255,.15);padding:12px 20px;border-radius:25px;font-size:13px}
.ranking-hero{background:linear-gradient(135deg,#ecfdf5 0%,#d1fae5 100%);border-radius:0 0 32px 32px;padding:60px 24px 80px;text-align:center;margin-bottom:-40px}
.ranking-hero h1{font-size:36px;color:#065f46;margin-bottom:8px}
.ranking-hero p{font-size:15px;color:#047857}
.ranking-tabs{display:flex;flex-direction:column;gap:8px;position:absolute;right:24px;top:50%}
.ranking-tab{padding:10px 24px;background:#fff;border-radius:8px;font-size:13px;color:#666;cursor:pointer;transition:all .2s;border:none}
.ranking-tab.active{color:#34d399;font-weight:600}
.ranking-list{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 4px 24px rgba(0,0,0,.06);position:relative;z-index:2}
.ranking-item{display:flex;align-items:center;gap:20px;padding:20px 24px;border-bottom:1px solid #f5f5f5;transition:background .2s}
.ranking-item:hover{background:#fafbff}
.ranking-rank{width:32px;text-align:center;font-size:20px;font-weight:700;color:#ccc}
.ranking-rank.top1{color:#fbbf24}
.ranking-rank.top2{color:#9ca3af}
.ranking-rank.top3{color:#d97706}
.ranking-fav{font-size:18px;cursor:pointer;color:#ccc;transition:color .2s}
.ranking-fav:hover,.ranking-fav.active{color:#ef4444}
.ranking-icon{width:48px;height:48px;border-radius:12px;overflow:hidden;flex-shrink:0;background:#f3f4f6}
.ranking-icon img{width:100%;height:100%;object-fit:cover}
.ranking-info{flex:1;min-width:0}
.ranking-name{font-size:16px;font-weight:600;color:#dc2626;margin-bottom:4px}
.ranking-desc{font-size:12px;color:#888;line-height:1.5}
.ranking-clicks{font-size:13px;color:#f97316;font-weight:600;min-width:60px;text-align:right}
.ranking-btn{padding:8px 20px;border:1px solid #e5e7eb;border-radius:8px;font-size:13px;color:#666;transition:all .2s;background:#fff}
.ranking-btn:hover{border-color:#34d399;color:#34d399}
.modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:1000;backdrop-filter:blur(4px)}
.modal-box{background:#fff;border-radius:20px;width:100%;max-width:560px;max-height:90vh;overflow-y:auto;padding:32px;position:relative;animation:modalIn .3s ease}
@keyframes modalIn{from{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}
.modal-close{position:absolute;top:20px;right:20px;width:32px;height:32px;border-radius:50%;background:#f3f4f6;border:none;cursor:pointer;font-size:16px;color:#666;display:flex;align-items:center;justify-content:center}
.modal-close:hover{background:#e5e7eb}
.modal-title{font-size:22px;font-weight:700;color:#222;margin-bottom:6px}
.modal-desc{font-size:13px;color:#888;margin-bottom:24px}
.form-group{margin-bottom:18px}
.form-label{display:block;font-size:13px;font-weight:500;color:#555;margin-bottom:6px}
.form-input,.form-select,.form-textarea{width:100%;padding:10px 14px;border:1px solid #e5e7eb;border-radius:10px;font-size:14px;outline:none;transition:border-color .2s}
.form-input:focus,.form-select:focus,.form-textarea:focus{border-color:var(--primary,#34d399)}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.form-amount{text-align:right;font-size:15px;color:#666;margin:20px 0}
.form-amount span{font-size:24px;font-weight:700;color:#ef4444}
.form-buttons{display:flex;gap:12px;justify-content:flex-end}
.btn-cancel{padding:10px 28px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;color:#666;font-size:14px;cursor:pointer}
.btn-submit{padding:10px 28px;border:none;border-radius:10px;background:var(--gradient);color:#fff;font-size:14px;font-weight:600;cursor:pointer}
.btn-submit:hover{opacity:.9}
.pagination{display:flex;align-items:center;justify-content:center;gap:8px;padding:24px 0;flex-wrap:wrap}
.pagination a,.pagination span{padding:8px 14px;border-radius:8px;font-size:13px;border:1px solid #e5e7eb;color:#666;transition:all .2s}
.pagination a:hover{border-color:var(--primary,#34d399);color:var(--primary,#34d399)}
.pagination .current{background:var(--gradient);color:#fff;border-color:transparent}
/* ===== 文章下载按钮 ===== */
.article-download-box{margin-top:28px;padding:24px;background:linear-gradient(135deg,#f0fdf4,#ecfdf5);border-radius:16px;border:1px solid #d1fae5}
.article-download-title{font-size:16px;font-weight:700;color:#065f46;margin-bottom:16px;display:flex;align-items:center;gap:8px}
.article-download-btns{display:flex;flex-wrap:wrap;gap:16px}
.dl-item{display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.dl-btn{display:inline-flex;align-items:center;gap:8px;padding:12px 24px;border-radius:12px;font-size:14px;font-weight:600;color:#fff;text-decoration:none;transition:all .25s;box-shadow:0 4px 12px rgba(0,0,0,.1);white-space:nowrap}
.dl-btn:hover{transform:translateY(-2px);box-shadow:0 6px 18px rgba(0,0,0,.15);color:#fff}
.dl-btn .dl-icon{padding:2px 8px;background:rgba(255,255,255,.25);border-radius:6px;font-size:12px;font-weight:700}
.dl-code{font-size:12px;color:#059669;background:#fff;padding:4px 10px;border-radius:6px;border:1px dashed #6ee7b7}
.dl-code b{color:#047857;letter-spacing:1px}
.dl-baidu{background:linear-gradient(135deg,#2932e1,#1a23c9)}
.dl-quark{background:linear-gradient(135deg,#6366f1,#4f46e5)}
.dl-lanzou{background:linear-gradient(135deg,#0ea5e9,#0284c7)}
.dl-other{background:linear-gradient(135deg,#34d399,#10b981)}
@media(max-width:640px){.article-download-box{padding:16px}.article-download-btns{flex-direction:column;gap:12px}.dl-item{width:100%}.dl-btn{justify-content:center;width:100%}.dl-code{align-self:center}}
.article-detail{background:#fff;border-radius:16px;padding:40px;box-shadow:0 2px 12px rgba(0,0,0,.04)}
.article-detail h1{font-size:26px;font-weight:700;color:#222;line-height:1.4;margin-bottom:16px}
.article-detail-meta{display:flex;align-items:center;gap:16px;font-size:13px;color:#999;padding-bottom:20px;border-bottom:1px solid #f0f0f0;margin-bottom:24px}
.article-detail-content{font-size:15px;line-height:1.9;color:#444}
.article-detail-content img{max-width:100%;height:auto;border-radius:8px;margin:16px auto;display:block;text-align:center}
.article-detail-content figure{text-align:center;margin:16px 0}
.article-detail-content p img{margin-left:auto;margin-right:auto}
.article-detail-content h2{font-size:20px;margin:28px 0 14px;color:#222}
.article-detail-content h3{font-size:17px;margin:22px 0 12px;color:#333}
.article-detail-content p{margin-bottom:14px}
.article-detail-content pre{background:#1e293b;color:#e2e8f0;padding:16px;border-radius:8px;overflow-x:auto;margin:14px 0;font-size:13px}
.article-detail-content code{background:#f1f5f9;padding:2px 6px;border-radius:4px;font-size:13px;color:#e11d48}
.article-copyright{margin-top:32px;padding:20px;background:#f9fafb;border-radius:12px;border-left:4px solid var(--primary,#34d399)}
.article-copyright p{font-size:13px;color:#666;line-height:1.8}
.submit-page{max-width:720px;margin:0 auto;background:#fff;border-radius:16px;padding:32px;box-shadow:0 2px 12px rgba(0,0,0,.04)}
.submit-page h2{font-size:20px;font-weight:700;margin-bottom:20px;color:#222}
.friendlink-box{background:#fef2f2;border:1px solid #fecaca;border-radius:10px;padding:16px;margin-bottom:24px;text-align:center;font-size:14px;color:#dc2626;font-weight:500}
.friendlink-info{background:#f9fafb;border-radius:10px;padding:20px;margin-bottom:24px}
.friendlink-info h4{font-size:14px;font-weight:600;margin-bottom:14px;color:#333}
.fl-item{display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid #eee}
.fl-item:last-child{border-bottom:none}
.fl-item label{font-size:13px;color:#666}
.fl-item .fl-val{flex:1;margin:0 16px;font-size:13px;color:#333;font-family:monospace;background:#fff;padding:6px 12px;border-radius:6px;border:1px solid #eee}
.fl-copy{padding:6px 16px;background:var(--primary,#34d399);color:#fff;border:none;border-radius:6px;font-size:12px;cursor:pointer}
@media(max-width:1024px){
    .sites-grid{grid-template-columns:repeat(2,1fr)}
    .article-grid{grid-template-columns:repeat(2,1fr)}
    .sponsor-grid{grid-template-columns:repeat(2,1fr)}
    .sponsor-grid-6{grid-template-columns:repeat(3,1fr)}
    .header-weather{display:none}
}
.site-header-white{background:#fff;border-bottom:1px solid #eee}
.site-header-white .header-nav li a{color:#555}
.site-header-white .header-nav li a:hover,.site-header-white .header-nav li a.active{color:#34d399;background:rgba(52,211,153,.08)}
.logo-icon-green{background:linear-gradient(135deg,#34d399,#10b981)}
.hero-banner{position:relative;padding:48px 24px 56px;overflow:hidden;margin-bottom:10px}
.hero-banner-img{background:url('/assets/images/banner_bg_1.jpg') center/cover no-repeat}
.hero-content{max-width:900px;margin:0 auto;position:relative;z-index:1;text-align:center}
.hero-title{color:#fff;font-size:32px;font-weight:700;margin-bottom:28px;text-shadow:0 2px 8px rgba(0,0,0,.15)}
.hero-search-box{background:#fff;border-radius:16px;padding:20px;box-shadow:0 8px 32px rgba(0,0,0,.15)}
.hero-search-box form{display:flex;gap:0;margin-bottom:16px}
.hero-search-box input{flex:1;padding:14px 20px;border:2px solid #e5e7eb;border-right:none;border-radius:12px 0 0 12px;font-size:15px;outline:none;transition:border-color .2s}
.hero-search-box input:focus{border-color:#34d399}
.hero-search-box button{padding:14px 36px;border:none;border-radius:0 12px 12px 0;background:linear-gradient(135deg,#34d399,#10b981);color:#fff;font-size:15px;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap}
.hero-search-box button:hover{opacity:.9}
.hero-search-engines{display:flex;gap:20px;justify-content:center;flex-wrap:wrap}
.hero-search-engines .search-engine{font-size:13px;color:#888;cursor:pointer;padding:4px 12px;border-radius:8px;transition:all .2s}
.hero-search-engines .search-engine:hover{color:#34d399}
.hero-search-engines .search-engine.active{color:#34d399;font-weight:600;background:rgba(52,211,153,.1)}
.main-container-wide{max-width:1280px;margin:0 auto;padding:12px 24px 24px}
.sponsor-grid-6{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-bottom:5px}
.sponsor-item-6{background:#f0fdf4;border:1px solid #d1fae5;border-radius:12px;padding:10px 12px;display:flex;align-items:center;gap:8px;transition:all .2s;cursor:pointer;min-width:0;overflow:hidden}
.sponsor-item-6:hover{border-color:#34d399;background:#ecfdf5;box-shadow:0 4px 16px rgba(52,211,153,.12);transform:translateY(-2px)}
.sponsor-icon-6{width:26px;height:26px;border-radius:6px;background:linear-gradient(135deg,#34d399,#10b981);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;flex-shrink:0;font-size:12px}
.sponsor-info-6{flex:1;min-width:0}
.sponsor-name-6{font-size:12px;font-weight:600;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3}
.sponsor-desc-6{font-size:11px;color:#999;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tool-icon{background:linear-gradient(135deg,#34d399,#10b981)!important;color:#fff!important}
.ad-banner-section{margin-bottom:24px}
.ad-banner-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.banner-ad-item{display:block;width:100%;height:80px;border-radius:10px;overflow:hidden;border:1px solid #e5e7eb;position:relative;cursor:pointer;transition:all .2s;background:#fff}
.banner-ad-item:hover{box-shadow:0 4px 16px rgba(52,211,153,.2);transform:translateY(-2px)}
.banner-ad-item img{width:100%!important;height:80px!important;object-fit:fill!important;display:block!important;margin:0!important;padding:0!important;border:0!important;background:#fff}
.banner-protect-tag{position:absolute;top:6px;right:8px;background:#f59e0b;color:#fff;font-size:11px;padding:3px 8px;border-radius:4px;font-weight:600;z-index:2}
.site-card.search-hidden{display:none!important}
.search-result-count{padding:12px 16px;background:#eff6ff;color:#2563eb;border-radius:10px;margin-bottom:16px;font-size:13px}
@media(max-width:1024px){
    .sponsor-grid-6{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:640px){
    .hero-title{font-size:22px}
    .sponsor-grid-6{grid-template-columns:repeat(2,1fr)}
    .hero-search-engines{gap:10px}
}
body{background:#f5f7f6!important}
.site-header{box-shadow:0 1px 8px rgba(0,0,0,.04)!important;border-bottom:1px solid #eef0ef}
.section-title::before{background:linear-gradient(135deg,#34d399,#10b981)!important}
.btn-ad-buy{background:linear-gradient(135deg,#34d399,#10b981)!important;border-radius:20px!important;padding:10px 24px!important;font-weight:600!important;box-shadow:0 4px 12px rgba(52,211,153,.25)!important}
.btn-ad-buy:hover{box-shadow:0 6px 16px rgba(52,211,153,.35)!important;transform:translateY(-1px)!important}
.sponsor-item-6{background:#f0fdf4!important;border:1px solid #d1fae5!important;border-radius:12px!important;padding:8px 10px!important;gap:6px!important;box-shadow:0 2px 8px rgba(0,0,0,.03)!important;transition:all .25s!important}
.sponsor-item-6:hover{border-color:#34d399!important;background:#ecfdf5!important;box-shadow:0 8px 24px rgba(52,211,153,.12)!important;transform:translateY(-3px)!important}
.sponsor-num-6{width:36px;height:36px;border-radius:12px;background:linear-gradient(135deg,#34d399,#10b981);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:16px;flex-shrink:0;box-shadow:0 2px 8px rgba(52,211,153,.25)}
.sponsor-name-6{font-size:14px;font-weight:600;color:#8131ae!important}
.sponsor-desc-6{font-size:11px;color:#999!important;margin-top:3px}
.site-card{background:#fff!important;border:1px solid #eef0ef!important;border-radius:14px!important;padding:16px!important;box-shadow:0 2px 8px rgba(0,0,0,.03)!important;transition:all .25s!important}
.site-card:hover{border-color:#34d399!important;box-shadow:0 8px 24px rgba(52,211,153,.1)!important;transform:translateY(-2px)!important}
.site-icon{width:40px;height:40px;border-radius:12px!important;overflow:hidden!important}
.site-name{font-size:14px;font-weight:600;color:#222!important}
.site-desc{font-size:12px;color:#888!important;margin-top:4px!important;line-height:1.5}
.category-tag{border-radius:20px!important;padding:8px 22px!important;border:1px solid #eef0ef!important;background:#fff!important;font-size:13px!important;transition:all .2s!important}
.category-tag:hover{border-color:#34d399!important;color:#34d399!important}
.category-tag.active{background:linear-gradient(135deg,#34d399,#10b981)!important;color:#fff!important;border-color:transparent!important;box-shadow:0 4px 12px rgba(52,211,153,.25)!important}
.article-card{background:#fff!important;border:1px solid #eef0ef!important;border-radius:14px!important;overflow:hidden!important;box-shadow:0 2px 8px rgba(0,0,0,.03)!important;transition:all .25s!important}
.article-card:hover{border-color:#34d399!important;box-shadow:0 8px 24px rgba(52,211,153,.1)!important;transform:translateY(-2px)!important}
.article-title{font-size:14px;font-weight:600;color:#222!important}
.article-cat{background:#ecfdf5!important;color:#10b981!important;padding:2px 10px!important;border-radius:10px!important;font-size:11px!important}
.category-section{background:#fff!important;border:1px solid #eef0ef!important;border-radius:16px!important;box-shadow:0 2px 8px rgba(0,0,0,.03)!important}
.cat-site-list{background:#fff;border-radius:12px;border:1px solid #eef0ef;overflow:hidden}
.cat-site-grid{display:grid!important;grid-template-columns:repeat(3,1fr)!important;background:#fff;border-radius:12px;border:1px solid #eef0ef;overflow:hidden}
.cat-site-grid .cat-site-card{display:flex;flex-direction:column;align-items:center;padding:32px 24px;border-right:1px solid #f3f4f6;border-bottom:1px solid #f3f4f6;text-decoration:none;transition:all .2s;width:auto!important;max-width:none!important}
#catSiteGrid{display:grid!important;grid-template-columns:repeat(3,1fr)!important}
#catSiteGrid>a{width:auto!important;grid-column:auto!important}
.cat-site-grid .cat-site-card:hover{background:#f9fafb}
.cat-site-item{display:flex;align-items:center;gap:16px;padding:16px 20px;border-bottom:1px solid #f5f5f5;text-decoration:none;transition:background .2s}
.cat-site-item:last-child{border-bottom:none}
.cat-site-item:hover{background:#f9fafb}
.cat-site-logo{width:60px;height:60px;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:#f9fafb;border-radius:10px;overflow:hidden}
.cat-site-logo img{max-width:100%;max-height:100%;object-fit:contain}
.cat-site-info{flex:1;min-width:0}
.cat-site-name{font-size:15px;font-weight:600;color:#333;margin-bottom:4px}
.cat-site-desc{font-size:12px;color:#999;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gradient-btn{background:linear-gradient(135deg,#34d399,#10b981)!important}
.search-result-count{background:#ecfdf5!important;color:#10b981!important;border:1px solid #d1fae5!important;border-radius:12px!important}
.header-nav ul li{position:relative}
.header-nav ul li.has-dropdown{padding-bottom:12px;margin-bottom:-12px}
.header-nav ul li.has-dropdown:hover .nav-dropdown{display:block;opacity:1;visibility:visible;transform:translateY(0)}
.nav-dropdown{display:none;position:absolute;top:100%;left:0;min-width:160px;background:#fff;border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.1);padding:8px 0;z-index:200;border:1px solid #eef0ef;margin-top:4px}
.nav-dropdown::before{content:'';position:absolute;top:-12px;left:0;right:0;height:12px}
.nav-dropdown li{display:block}
.nav-dropdown li a{display:block;padding:10px 18px;font-size:13px;color:#555;border-radius:0;white-space:nowrap;transition:all .2s}
.nav-dropdown li a:hover{background:#ecfdf5;color:#34d399!important}
.dropdown-arrow{font-size:10px;margin-left:2px;opacity:.6}
.home-layout{display:grid;grid-template-columns:320px 1fr;gap:20px;margin-top:20px}
.home-left{display:flex;flex-direction:column;gap:16px}
.home-right{display:flex;flex-direction:column;gap:16px}
.sidebar-box{background:#fff;border-radius:12px;padding:16px 20px;border:1px solid #eef0ef}
.sidebar-title{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600;color:#222;margin-bottom:14px;padding-bottom:10px;border-bottom:1px solid #f3f4f6}
.title-bar{width:3px;height:16px;background:linear-gradient(135deg,#34d399,#10b981);border-radius:2px}
.sidebar-more{margin-left:auto;color:#ccc;font-size:18px;line-height:1;text-decoration:none}
.sidebar-list{list-style:none}
.sidebar-list li{display:flex;align-items:center;justify-content:space-between;padding:7px 0;border-bottom:1px dashed #f3f4f6;font-size:13px}
.sidebar-list li:last-child{border-bottom:none}
.sidebar-list li a{color:#555;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;margin-right:8px}
.sidebar-list li a:hover{color:#34d399}
.sidebar-date{color:#bbb;font-size:11px;flex-shrink:0}
.tool-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.tool-item{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 4px;border-radius:10px;transition:all .2s;text-decoration:none}
.tool-item:hover{background:#f9fafb}
.tool-icon{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:18px}
.tool-item span{font-size:11px;color:#666;text-align:center}
.rank-list{list-style:none}
.rank-list li{display:flex;align-items:center;gap:10px;padding:7px 0;border-bottom:1px dashed #f3f4f6;font-size:13px}
.rank-list li:last-child{border-bottom:none}
.rank-num{width:20px;height:20px;border-radius:5px;background:#f3f4f6;color:#999;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;flex-shrink:0}
.rank-1{background:#ef4444;color:#fff}
.rank-2{background:#f97316;color:#fff}
.rank-3{background:#eab308;color:#fff}
.rank-list li a{color:#555;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rank-list li a:hover{color:#34d399}
.rank-count{color:#bbb;font-size:11px;flex-shrink:0}
.cat-nav-list{display:flex;flex-direction:column;gap:4px}
.cat-nav-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;padding:11px 12px;border-radius:10px;border-bottom:1px solid #f4f5f7;transition:background .2s}
.cat-nav-row:last-child{border-bottom:none}
.cat-nav-row:hover{background:#f6faf8}
.cat-nav-name{color:#10b981;font-size:13px;font-weight:700;width:auto;flex:0 0 auto;display:flex;align-items:center;gap:7px}
.cat-nav-name::before{content:"";width:3px;height:13px;border-radius:2px;background:linear-gradient(#34d399,#10b981)}
.cat-nav-sites{flex:0 0 100%;width:100%;display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:2px}
.cat-nav-site{color:#4b5563;font-size:13px;line-height:1.7;text-decoration:none;white-space:nowrap;transition:color .2s}
.cat-nav-site:hover{color:#10b981}
.cat-nav-more{color:#c6cbd6;font-size:16px;text-decoration:none;flex:0 0 auto;margin-left:auto;align-self:center}
.top-sites-section{background:#fff;border-radius:12px;padding:20px 24px;margin-top:20px;border:1px solid #eef0ef}
.top-sites-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:8px}
.top-site-item{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:10px;transition:all .2s;cursor:pointer;position:relative;border:1px dashed #e5e7eb;background:#fff}
.top-site-item:hover{border-color:#34d399;background:#f0fdf4}
.top-site-icon{width:24px;height:24px;border-radius:6px;flex-shrink:0;object-fit:cover}
.top-site-icon-fallback{width:24px;height:24px;border-radius:6px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:12px;font-weight:700;flex-shrink:0}
.top-site-name{font-size:13px;color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.top-site-item:hover .top-site-name{color:#10b981}
.top-site-badge{position:absolute;top:2px;right:4px;font-size:9px;background:#ef4444;color:#fff;padding:1px 4px;border-radius:3px;font-weight:700}
@media(max-width:900px){.home-layout{grid-template-columns:1fr}.top-sites-grid{grid-template-columns:repeat(4,1fr)}}
.home-layout{display:grid!important;grid-template-columns:320px 1fr!important;gap:15px!important;margin-top:15px!important}
.home-left,.home-right{display:flex!important;flex-direction:column!important;gap:15px!important}
.sidebar-box{background:#fff!important;border-radius:12px!important;padding:16px 20px!important;border:1px solid #eef0ef!important}
.sidebar-title{display:flex!important;align-items:center!important;gap:8px!important;font-size:15px!important;font-weight:600!important;color:#222!important;margin-bottom:14px!important;padding-bottom:10px!important;border-bottom:1px solid #f3f4f6!important}
.title-bar{width:3px!important;height:16px!important;background:linear-gradient(135deg,#34d399,#10b981)!important;border-radius:2px!important}
.sidebar-more{margin-left:auto!important;color:#ccc!important;font-size:18px!important;text-decoration:none!important}
.sidebar-list{list-style:none!important;margin:0!important;padding:0!important}
.sidebar-list li{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:7px 0!important;border-bottom:1px dashed #f3f4f6!important;font-size:13px!important}
.sidebar-list li:last-child{border-bottom:none!important}
.sidebar-list li a{color:#555!important;flex:1!important;margin-right:8px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.sidebar-list li a:hover{color:#34d399!important}
.sidebar-date{color:#bbb!important;font-size:11px!important;flex-shrink:0!important}
.tool-grid{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:10px!important}
.tool-item{display:flex!important;flex-direction:column!important;align-items:center!important;gap:6px!important;padding:10px 4px!important;border-radius:10px!important;text-decoration:none!important}
.tool-item:hover{background:#f9fafb!important}
.tool-icon{width:36px!important;height:36px!important;border-radius:10px!important;display:flex!important;align-items:center!important;justify-content:center!important;color:#fff!important;font-size:18px!important;flex-shrink:0!important}
.tool-item span{font-size:11px!important;color:#666!important;text-align:center!important}
.rank-list{list-style:none!important;margin:0!important;padding:0!important}
.rank-list li{display:flex!important;align-items:center!important;gap:10px!important;padding:7px 0!important;border-bottom:1px dashed #f3f4f6!important;font-size:13px!important}
.rank-list li:last-child{border-bottom:none!important}
.rank-num{width:20px!important;height:20px!important;border-radius:5px!important;background:#f3f4f6!important;color:#999!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:11px!important;font-weight:700!important;flex-shrink:0!important}
.rank-1{background:#ef4444!important;color:#fff!important}
.rank-2{background:#f97316!important;color:#fff!important}
.rank-3{background:#eab308!important;color:#fff!important}
.rank-list li a{color:#555!important;flex:1!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.rank-list li a:hover{color:#34d399!important}
.rank-count{color:#bbb!important;font-size:11px!important;flex-shrink:0!important}
.cat-nav-list{display:flex!important;flex-direction:column!important;gap:4px!important}
.cat-nav-row{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:6px 12px!important;padding:11px 12px!important;border-radius:10px!important;border-bottom:1px solid #f4f5f7!important;transition:background .2s}
.cat-nav-row:last-child{border-bottom:none!important}
.cat-nav-row:hover{background:#f6faf8}
.cat-nav-name{color:#10b981!important;font-size:13px!important;font-weight:700!important;width:auto!important;flex:0 0 auto!important;display:flex!important;align-items:center!important;gap:7px!important}
.cat-nav-name::before{content:"";width:3px;height:13px;border-radius:2px;background:linear-gradient(#34d399,#10b981)}
.cat-nav-sites{flex:0 0 100%!important;width:100%!important;display:flex!important;flex-wrap:wrap!important;gap:6px 18px!important;margin-top:2px!important}
.cat-nav-site{color:#4b5563!important;font-size:13px!important;line-height:1.7!important;text-decoration:none!important;white-space:nowrap!important;transition:color .2s}
.cat-nav-site:hover{color:#10b981!important}
.cat-nav-more{color:#c6cbd6!important;font-size:16px!important;text-decoration:none!important;flex:0 0 auto!important;margin-left:auto!important;align-self:center!important}
.top-sites-section{background:#fff!important;border-radius:12px!important;padding:15px 24px!important;margin-top:15px!important;border:1px solid #eef0ef!important}
.top-sites-grid{display:grid!important;grid-template-columns:repeat(7,1fr)!important;gap:8px!important}
.top-site-item{display:flex!important;align-items:center!important;gap:8px!important;padding:10px 12px!important;border-radius:10px!important;transition:all .2s!important;position:relative!important;text-decoration:none!important}
.top-site-item:hover{background:#f9fafb!important}
.top-site-icon{width:24px!important;height:24px!important;border-radius:6px!important;flex-shrink:0!important;object-fit:cover!important}
.top-site-icon-fallback{width:24px!important;height:24px!important;border-radius:6px!important;display:flex!important;align-items:center!important;justify-content:center!important;color:#fff!important;font-size:12px!important;font-weight:700!important;flex-shrink:0!important}
.top-site-name{font-size:13px!important;color:#333!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.top-site-badge{position:absolute!important;top:2px!important;right:4px!important;font-size:9px!important;background:#ef4444!important;color:#fff!important;padding:1px 4px!important;border-radius:3px!important;font-weight:700!important}
.top-site-item-wrap{position:relative!important}
.top-site-item-wrap:hover .top-site-popup{display:block!important}
.top-site-popup{display:none!important;position:absolute!important;top:100%!important;left:50%!important;transform:translateX(-50%)!important;background:#fff!important;border-radius:10px!important;box-shadow:0 8px 24px rgba(0,0,0,.12)!important;padding:6px 0!important;z-index:100!important;min-width:120px!important;border:1px solid #eef0ef!important}
.top-site-popup-item{display:block!important;padding:10px 18px!important;font-size:13px!important;color:#555!important;text-decoration:none!important;text-align:center!important}
.top-site-popup-item:hover{background:#ecfdf5!important;color:#34d399!important}
.header-nav ul li{position:relative!important}
.nav-dropdown{display:none!important;top:100%!important;left:0!important;margin-top:4px!important;min-width:480px!important;padding:16px!important;grid-template-columns:repeat(5,1fr)!important;gap:8px 16px!important;background:#fff!important;border-radius:12px!important;box-shadow:0 8px 32px rgba(0,0,0,.12)!important;border:1px solid #eef0ef!important}
.nav-dropdown li{display:block!important}
.nav-dropdown li a{display:block!important;padding:8px 12px!important;font-size:13px!important;color:#555!important;border-radius:6px!important;white-space:nowrap!important;transition:all .2s!important;text-align:center!important}
.nav-dropdown li a:hover{background:#ecfdf5!important;color:#34d399!important}
.header-nav ul li.has-dropdown:hover .nav-dropdown{display:grid!important}
@media(max-width:900px){.home-layout{grid-template-columns:1fr!important}.top-sites-grid{grid-template-columns:repeat(4,1fr)!important}}
.mobile-menu-btn{display:none;background:none;border:none;font-size:22px;cursor:pointer;color:#333;padding:4px 8px}
.mobile-menu-overlay{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);z-index:9998}
.mobile-menu{position:fixed;top:0;right:0;bottom:0;width:280px;background:#fff;z-index:9999;box-shadow:-4px 0 20px rgba(0,0,0,.1);overflow-y:auto;transform:translateX(100%);transition:transform .3s ease}
.mobile-menu.open{transform:translateX(0)}
.mobile-menu-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #f0f0f0}
.mobile-menu-body{padding:12px 0}
.mobile-menu-link{display:block;padding:14px 20px;font-size:15px;color:#333;text-decoration:none;border-bottom:1px solid #f5f5f5;transition:all .2s}
.mobile-menu-link:hover{background:#f0fdf4;color:#34d399}
.mobile-submenu{padding:8px 0 8px 20px;background:#fafafa}
.mobile-submenu-link{display:block;padding:10px 20px;font-size:13px;color:#666;text-decoration:none}
.mobile-submenu-link:hover{color:#34d399}
@media(max-width:900px){
    .mobile-menu-btn{display:block}
    .header-nav{display:none!important}
    .header-weather{display:none!important}
    .header-date{display:none!important}
}
.float-buttons{position:fixed;right:20px;bottom:30px;display:flex;flex-direction:column;gap:10px;z-index:9999}
.float-btn{width:44px;height:44px;border-radius:50%;border:none;background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.15);font-size:18px;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center}
.float-btn:hover{transform:scale(1.1);box-shadow:0 6px 16px rgba(0,0,0,.2)}
.sidebar-title{font-size:16px!important;font-weight:700!important;padding-bottom:12px!important;border-bottom:2px solid #f3f4f6!important;margin-bottom:16px!important}
.title-bar{width:4px!important;height:18px!important;border-radius:3px!important;background:var(--gradient)!important}
.top-site-item,.tool-item,.sponsor-item-6,.banner-ad-item{transition:all .3s cubic-bezier(.4,0,.2,1)!important}
.top-site-item:hover,.tool-item:hover,.sponsor-item-6:hover{transform:translateY(-3px)!important;box-shadow:0 8px 24px rgba(52,211,153,.15)!important}
.hero-search-box button,.gradient-btn,[style*="gradient-btn"]{box-shadow:0 4px 14px rgba(52,211,153,.3)!important;font-weight:600!important;letter-spacing:.5px}
.hero-search-box button:hover{box-shadow:0 6px 20px rgba(52,211,153,.4)!important}
.top-site-badge{font-size:10px!important;padding:2px 6px!important;border-radius:4px!important;font-weight:700!important;box-shadow:0 2px 6px rgba(239,68,68,.3)!important}
.cat-nav-row{padding:11px 12px!important;border-bottom:1px solid #f4f5f7!important;border-radius:10px!important;transition:background .2s}
.cat-nav-row:hover{background:#f6faf8}
.cat-nav-name{font-weight:700!important;color:#10b981!important}
.cat-nav-site{color:#4b5563!important;transition:color .2s}
.cat-nav-site:hover{color:#10b981!important}
.article-card{border-radius:var(--radius-lg)!important;overflow:hidden!important;transition:all .3s!important}
.article-card:hover{transform:translateY(-2px)!important;box-shadow:var(--shadow-lg)!important}
.site-footer{background:#fff!important;border-top:1px solid var(--border)!important;padding:40px 0 20px!important}
body.dark-theme{background:#1a1a2e!important;color:#e0e0e0!important}
body.dark-theme .site-header{background:#16213e!important;border-bottom-color:#0f3460!important}
body.dark-theme .sidebar-box,body.dark-theme .top-sites-section,body.dark-theme .category-section,body.dark-theme .sponsor-section,body.dark-theme .sponsor-item-6,body.dark-theme .banner-ad-item,body.dark-theme .site-card,body.dark-theme .article-card{background:#16213e!important;border-color:#0f3460!important}
body.dark-theme .section-title,body.dark-theme .sidebar-title,body.dark-theme .site-name,body.dark-theme .top-site-name,body.dark-theme h1,body.dark-theme h2,body.dark-theme h3{color:#e0e0e0!important}
body.dark-theme .sidebar-list li a,body.dark-theme .cat-nav-site,body.dark-theme .rank-list li a{color:#b0b0b0!important}
body.dark-theme .sidebar-list li a:hover,body.dark-theme .cat-nav-site:hover{color:#34d399!important}
body.dark-theme .float-btn{background:#16213e!important;color:#e0e0e0!important}
body.dark-theme .site-footer{background:#0f0f1a!important;color:#b0b0b0!important}
body.dark-theme .logo-text{color:#e0e0e0!important}
body.dark-theme .top-site-item:hover{background:#0f3460!important}
body.dark-theme .tool-item:hover{background:#0f3460!important}
body.dark-theme .header-nav li a{color:#b0b0b0!important}
body.dark-theme .header-nav li a:hover{background:rgba(52,211,153,.15)!important;color:#34d399!important}
body.dark-theme .nav-dropdown{background:#16213e!important;border-color:#0f3460!important}
body.dark-theme .nav-dropdown li a{color:#b0b0b0!important}
body.dark-theme .nav-dropdown li a:hover{background:#0f3460!important;color:#34d399!important}
body.dark-theme .search-box{background:#16213e!important}
body.dark-theme .search-box input{background:#0f3460!important;border-color:#0f3460!important;color:#e0e0e0!important}
body.dark-theme .sponsor-desc-6,body.dark-theme .site-desc,body.dark-theme .article-title{color:#b0b0b0!important}
body.dark-theme .cat-site-list{background:#16213e!important;border-color:#0f3460!important}
body.dark-theme .cat-site-item{border-bottom-color:#0f3460!important}
body.dark-theme .cat-site-item:hover{background:#0f3460!important}
body.dark-theme .cat-site-logo{background:#0f3460!important}
body.dark-theme .cat-site-name{color:#e0e0e0!important}
body.dark-theme .cat-site-desc{color:#888!important}
body.dark-theme .cat-site-grid{background:#16213e!important;border-color:#0f3460!important}
body.dark-theme .cat-site-grid .cat-site-card{border-right-color:#0f3460!important;border-bottom-color:#0f3460!important}
body.dark-theme .cat-site-grid .cat-site-card:hover{background:#0f3460!important}
body.dark-theme .article-detail{background:#16213e!important;color:#e0e0e0!important}
body.dark-theme .article-detail h1,body.dark-theme .article-detail h2,body.dark-theme .article-detail h3{color:#e0e0e0!important}
body.dark-theme .article-detail p{color:#b0b0b0!important}
body.dark-theme .article-meta{color:#888!important}
body.dark-theme .article-content{color:#b0b0b0!important}
body.dark-theme .site-detail-box{background:#16213e!important;border-color:#0f3460!important;color:#e0e0e0!important}
body.dark-theme .ranking-list{background:#16213e!important}
body.dark-theme .ranking-item{border-bottom-color:#0f3460!important}
body.dark-theme .ranking-item:hover{background:#0f3460!important}
body.dark-theme .ranking-name{color:#e0e0e0!important}
body.dark-theme .ranking-desc{color:#888!important}
body.dark-theme .ranking-btn{background:#0f3460!important;color:#b0b0b0!important;border-color:#0f3460!important}
body.dark-theme input[type=text],body.dark-theme input[type=url],body.dark-theme input[type=file],body.dark-theme input[type=number],body.dark-theme textarea,body.dark-theme select{background:#0f3460!important;border-color:#0f3460!important;color:#e0e0e0!important}
body.dark-theme label{color:#b0b0b0!important}
body.dark-theme [style*="background:#fff"],body.dark-theme [style*="background: #fff"]{background:#16213e!important}
body.dark-theme [style*="background:#ffffff"]{background:#16213e!important}
body.dark-theme [style*="color:#333"],body.dark-theme [style*="color: #333"]{color:#e0e0e0!important}
body.dark-theme [style*="color:#222"],body.dark-theme [style*="color: #222"]{color:#e0e0e0!important}
body.dark-theme [style*="color:#666"],body.dark-theme [style*="color: #666"]{color:#b0b0b0!important}
body.dark-theme [style*="color:#999"],body.dark-theme [style*="color: #999"]{color:#888!important}
body.dark-theme [style*="border:1px solid #e5e7eb"]{border-color:#0f3460!important}
body.dark-theme [style*="border:1px solid #eef0ef"]{border-color:#0f3460!important}
body.dark-theme [style*="border:1px solid #f3f4f6"]{border-color:#0f3460!important}
body.dark-theme [style*="background:#f9fafb"]{background:#0f3460!important}
body.dark-theme [style*="background:#f5f6fa"]{background:#1a1a2e!important}
body.dark-theme [style*="background:#f5f7f6"]{background:#1a1a2e!important}
body.dark-theme .cat-tag-btn{background:#0f3460!important;color:#b0b0b0!important;border-color:#0f3460!important}
body.dark-theme .cat-tag-btn.active{background:#34d399!important;color:#fff!important}
body.dark-theme .pagination a{background:#0f3460!important;color:#b0b0b0!important;border-color:#0f3460!important}
body.dark-theme .pagination a.active{background:#34d399!important;color:#fff!important}
body.dark-theme .friend-apply-grid .category-section{background:#16213e!important;border-color:#0f3460!important}
body.dark-theme .friend-apply-grid h2{color:#e0e0e0!important}
body.dark-theme .submit-form-box{background:#16213e!important;border-color:#0f3460!important;color:#e0e0e0!important}
/* ===== 夜间模式补全：覆盖所有漏掉的白底元素 ===== */
/* Tailwind 背景色 */
body.dark-theme .bg-white{background:#16213e!important}
body.dark-theme .bg-gray-50{background:#0f3460!important}
body.dark-theme .bg-gray-100{background:#0f3460!important}
body.dark-theme .bg-gray-200{background:#1a1a2e!important}
body.dark-theme .text-gray-800{color:#e0e0e0!important}
body.dark-theme .text-gray-600{color:#b0b0b0!important}
body.dark-theme .text-gray-400{color:#888!important}
body.dark-theme .border-gray-100{border-color:#0f3460!important}
body.dark-theme .border-gray-200{border-color:#0f3460!important}

/* 工具箱卡片 */
body.dark-theme .tool-card{background:#16213e!important;border-color:#0f3460!important;box-shadow:0 2px 8px rgba(0,0,0,.2)!important}
body.dark-theme .tool-card:hover{background:#0f3460!important}
body.dark-theme .tool-card h3{color:#e0e0e0!important}
body.dark-theme .tool-card p{color:#888!important}

/* 推荐网站卡片 */
body.dark-theme .top-site-item{background:#16213e!important;border-color:#0f3460!important}
body.dark-theme .top-site-item:hover{background:#0f3460!important;border-color:#34d399!important}
body.dark-theme .top-site-name{color:#e0e0e0!important}

/* 右键弹窗 */
body.dark-theme .top-site-popup{background:#16213e!important;border-color:#0f3460!important;box-shadow:0 8px 24px rgba(0,0,0,.4)!important}
body.dark-theme .top-site-popup-item{color:#b0b0b0!important}
body.dark-theme .top-site-popup-item:hover{background:#0f3460!important;color:#34d399!important}

/* 分类标签按钮 */
body.dark-theme .category-tag{background:#16213e!important;border-color:#0f3460!important;color:#b0b0b0!important}
body.dark-theme .category-tag:hover{background:#0f3460!important;color:#34d399!important}
body.dark-theme .category-tag.active{background:#34d399!important;color:#fff!important;border-color:#34d399!important}

/* 文章资讯容器+卡片 */
body.dark-theme .article-section{background:#16213e!important;border-color:#0f3460!important}
body.dark-theme .article-card{background:#0f3460!important;border-color:#0f3460!important}
body.dark-theme .article-card:hover{background:#1a1a2e!important}
body.dark-theme .article-title{color:#e0e0e0!important}
body.dark-theme .article-meta{color:#888!important}

/* 分页按钮 */
body.dark-theme .pagination a{background:#0f3460!important;border-color:#0f3460!important;color:#b0b0b0!important}
body.dark-theme .pagination a:hover{border-color:#34d399!important;color:#34d399!important}
body.dark-theme .pagination span.current{background:#34d399!important;color:#fff!important}

/* 分类页卡片网格 */
body.dark-theme .cat-site-flex{background:#16213e!important;border-color:#0f3460!important}
body.dark-theme .cat-site-flex>a{background:#16213e!important;border-color:#0f3460!important}
body.dark-theme .cat-site-flex>a:hover{background:#0f3460!important}
body.dark-theme .cat-site-flex>a div[style*="background:#f9fafb"]{background:#0f3460!important}

/* 通用内联白底补强 */
body.dark-theme *[style*="background: #fff"],
body.dark-theme *[style*="background:#fff"]{background:#16213e!important}
body.dark-theme *[style*="background: #f9fafb"],
body.dark-theme *[style*="background:#f9fafb"],
body.dark-theme *[style*="background: #f5f6fa"],
body.dark-theme *[style*="background:#f5f6fa"]{background:#0f3460!important}
body.dark-theme *[style*="color:#222"],
body.dark-theme *[style*="color: #222"],
body.dark-theme *[style*="color:#333"],
body.dark-theme *[style*="color: #333"]{color:#e0e0e0!important}
body.dark-theme *[style*="color:#666"],
body.dark-theme *[style*="color: #666"],
body.dark-theme *[style*="color:#888"],
body.dark-theme *[style*="color:#999"],
body.dark-theme *[style*="color: #999"]{color:#b0b0b0!important}
/* 分类标签按钮 */
.cat-tag-link:hover{border-color:#34d399!important}
body.dark-theme .cat-tag-link{background:#16213e!important;border-color:#0f3460!important;color:#b0b0b0!important}
body.dark-theme .cat-tag-link:hover{background:#0f3460!important;border-color:#34d399!important;color:#34d399!important}
body.dark-theme .cat-tag-link.active{background:#34d399!important;color:#fff!important;border-color:#34d399!important}

/* 首页搜索框 */
body.dark-theme .hero-search-box{background:#16213e!important;box-shadow:0 8px 32px rgba(0,0,0,.3)!important}
body.dark-theme .hero-search-box input{background:#0f3460!important;border-color:#0f3460!important;color:#e0e0e0!important}
body.dark-theme .hero-search-box input::placeholder{color:#888!important}
body.dark-theme .hero-search-engines .search-engine{color:#888!important}
body.dark-theme .hero-search-engines .search-engine:hover{color:#34d399!important}
body.dark-theme .hero-search-engines .search-engine.active{color:#34d399!important;background:rgba(52,211,153,.15)!important}

.ads-hidden .sponsor-section,.ads-hidden .ad-banner-section{display:none!important}
.float-btn{position:relative}
.float-btn::after{content:attr(data-tip);position:absolute;right:56px;top:50%;transform:translateY(-50%);background:#333;color:#fff;padding:6px 12px;border-radius:6px;font-size:12px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s;z-index:10000}
.float-btn:hover::after{opacity:1}

@media(max-width:768px){
    body{font-size:14px}
    .main-container{padding:0 12px 20px!important}
    .main-container-wide{padding:0 12px 20px!important}
    .home-layout{grid-template-columns:1fr!important;gap:14px!important;margin-top:14px!important}
    .home-left,.home-right{gap:14px!important}
    .header-inner{padding:0 12px!important;height:52px!important;gap:10px!important}
    .header-logo img{height:30px!important}
    .logo-text{font-size:16px!important}
    .logo-text small{display:none}
    .header-nav{display:none!important}
    .header-weather,.header-date{display:none!important}
    .mobile-menu-btn{display:block!important}
    .hero-banner{display:none!important}
    .header-right{margin-left:0!important;gap:10px!important}
    .mobile-menu-btn{display:block!important;margin-left:auto!important;padding:4px 8px!important}
    .header-auth-login,.header-auth-user{padding:6px 12px!important;font-size:12px!important;gap:4px!important}
    .sponsor-section{padding:16px!important;border-radius:12px!important}
    .sponsor-grid-6{grid-template-columns:repeat(2,1fr)!important;gap:10px!important;margin-bottom:0!important}
    .sponsor-item-6{padding:8px!important;border-radius:10px!important;gap:6px!important}
    .sponsor-icon-6{width:24px!important;height:24px!important;border-radius:6px!important;font-size:11px!important}
    .sponsor-name-6{font-size:11px!important}
    .sponsor-desc-6{font-size:10px!important}
        .site-detail-card{flex-direction:column!important;padding:14px!important;gap:14px!important}
    .site-detail-card>div:first-child{width:100%!important}
    .site-detail-card>div:first-child>div:first-child{height:160px!important}
    .detail-title{font-size:16px!important;margin-bottom:10px!important;line-height:1.4!important}
    .detail-info-grid{grid-template-columns:1fr 1fr!important;gap:8px 12px!important;font-size:12px!important}
    .detail-rank-row{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px 10px!important;padding:10px 0!important}
    .detail-rank-row .rank-item{display:flex!important;align-items:center!important;gap:6px!important}
    .detail-rank-row .rank-item>span:first-child{font-size:12px!important}
    .detail-actions{position:static!important;margin-top:2px;justify-content:center;width:100%;display:flex!important;gap:10px!important}
    .detail-actions>a,.detail-actions>button{flex:1!important;text-align:center;font-size:12px!important;padding:8px 10px!important}
    .ad-banner-section{margin-bottom:14px!important}
    .ad-banner-grid{gap:10px!important}
    .banner-ad-item{height:60px!important;border-radius:8px!important}
    .banner-ad-item img{height:60px!important}
    .top-sites-section{padding:16px!important;margin-top:14px!important;border-radius:12px!important}
    .top-sites-grid{grid-template-columns:repeat(3,1fr)!important;gap:4px 8px!important}
    .top-site-item{padding:8px 6px!important;flex-direction:row!important;justify-content:flex-start!important;text-align:left!important;gap:6px!important;border-radius:8px!important;border:none!important;background:transparent!important}
    .top-site-item:hover{background:#f9fafb!important}
    .top-site-icon{width:20px!important;height:20px!important;border-radius:4px!important}
    .top-site-icon-fallback{width:20px!important;height:20px!important;border-radius:4px!important;font-size:10px!important}
    .top-site-name{font-size:12px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;word-break:normal!important;line-height:1.2!important;color:#333!important}
    .top-site-badge{font-size:8px!important;padding:0 3px!important}
    .sidebar-box{padding:14px!important;border-radius:12px!important}
    .sidebar-title{font-size:14px!important;margin-bottom:10px!important;padding-bottom:8px!important}
    .sidebar-list li{padding:6px 0!important;font-size:12px!important}
    .rank-list li{padding:6px 0!important;font-size:12px!important;gap:8px!important}
    .rank-num{width:18px!important;height:18px!important;font-size:10px!important}
    .tool-grid{grid-template-columns:repeat(4,1fr)!important;gap:8px!important}
    .tool-item{padding:8px 2px!important;gap:4px!important}
    .tool-icon{width:36px!important;height:36px!important;border-radius:10px!important;font-size:18px!important}
    .tool-item span{font-size:10px!important}
    .cat-nav-row{flex-wrap:wrap!important;align-items:center!important;gap:6px 10px!important;padding:10px 8px!important}
    .cat-nav-name{width:auto!important;font-size:12px!important;flex:0 0 auto!important}
    .cat-nav-sites{flex:0 0 100%!important;width:100%!important;min-width:0!important;gap:5px 14px!important;margin-top:1px!important}
    .cat-nav-site{font-size:12px!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;max-width:none!important}
    .cat-nav-more{font-size:14px!important;flex:0 0 auto!important;margin-left:auto!important}
    .modal-box{padding:20px!important;max-height:85vh!important;margin:10px!important;border-radius:16px!important}
    .modal-title{font-size:17px!important}
    .modal-box .form-group{margin-bottom:14px!important}
    .modal-box label{font-size:13px!important}
    .modal-box input[type=text],.modal-box input[type=url],.modal-box input[type=file],.modal-box select{padding:10px 12px!important;font-size:14px!important}
    .form-buttons{flex-direction:column!important;gap:10px!important}
    .form-buttons button{width:100%!important;padding:12px!important;font-size:15px!important}
    .float-buttons{right:10px!important;bottom:60px!important;gap:8px!important}
    .float-btn{width:36px!important;height:36px!important;font-size:15px!important}
    .site-footer{padding:24px 16px!important}
    .friend-apply-grid{grid-template-columns:1fr!important;gap:16px!important}
    .friend-apply-grid .category-section{padding:20px 16px!important;width:100%!important;box-sizing:border-box!important}
    .friend-apply-grid>div{width:100%!important;box-sizing:border-box!important}
    .friend-apply-grid>div>div{width:100%!important;box-sizing:border-box!important}
    .friend-apply-grid input,.friend-apply-grid button{box-sizing:border-box!important;max-width:100%!important}
    .site-detail-box{flex-direction:column!important}
    .site-detail-box>div:first-child{width:100%!important}
    .similar-sites-grid{grid-template-columns:repeat(1,1fr)!important}
    .similar-sites-grid>a{padding:16px 12px!important;flex-direction:column!important;align-items:center!important}
    .similar-sites-grid>a>div:first-child{width:160px!important;height:54px!important}
    .cat-site-grid{grid-template-columns:repeat(2,1fr)!important}
    .cat-site-grid .cat-site-card{padding:20px 12px!important}
    .cat-site-grid .cat-site-card>div:first-child{width:56px!important;height:56px!important;margin-bottom:10px!important}
    .cat-site-flex>a{width:100%!important;padding:16px 12px!important;flex-direction:column!important;align-items:stretch!important}
    .cat-site-flex>a>div:first-child{width:150px!important;height:50px!important;margin-bottom:10px!important;margin-right:0!important}
    .main-container{padding:12px 12px 12px!important;overflow-x:hidden!important}
    html,body{overflow-x:hidden!important;max-width:100%!important}
    .ranking-hero{padding:30px 16px 40px!important;border-radius:0 0 20px 20px!important}
    .ranking-hero h1{font-size:20px!important}
    .ranking-hero p{font-size:13px!important}
    .ranking-tabs{position:static!important;flex-direction:row!important;justify-content:center!important;margin-top:14px!important;gap:8px!important}
    .ranking-tab{padding:8px 16px!important;font-size:12px!important}
    .ranking-item{gap:8px!important;padding:12px!important;flex-wrap:nowrap!important}
    .ranking-rank{width:22px!important;font-size:14px!important}
    .ranking-fav{display:none!important}
    .ranking-icon{width:36px!important;height:36px!important;border-radius:8px!important}
    .ranking-info{flex:1!important;min-width:0!important}
    .ranking-name{font-size:13px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
    .ranking-desc{font-size:11px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
    .ranking-clicks{font-size:11px!important;min-width:40px!important}
    .ranking-btn{padding:6px 10px!important;font-size:11px!important}
    .article-detail{padding:20px 16px!important}
    .article-section{padding:16px!important}
    .article-grid{grid-template-columns:repeat(2,1fr)!important;gap:10px!important}
    .article-card{padding:0!important}
    .article-cover{height:100px!important}
    .article-body{padding:10px!important}
    .article-title{font-size:12px!important;min-height:34px!important}
    .sites-grid{grid-template-columns:1fr!important}
    .category-section{padding:16px!important}
    .cat-site-flex a{width:100%!important;flex-direction:column!important;align-items:center!important;text-align:center!important}
    .cat-site-flex a>div:first-child{margin:0 auto 10px auto!important}
    .article-all-btn{display:block!important;width:100%!important;text-align:center!important;box-sizing:border-box!important}
    .top-site-badge{display:none!important}
    .category-tag{padding:6px 14px!important;font-size:12px!important}
    .category-tags{gap:8px!important}
    .cat-tags-row{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:8px!important}
    .cat-tags-row a{width:100%!important;text-align:center!important;padding:8px 0!important;font-size:12px!important}
    .site-detail-layout{flex-direction:column!important}
    .site-detail-layout>div{width:100%!important;flex:none!important}
    .article-detail-layout{flex-direction:column!important}
    .article-detail-layout>div{width:100%!important;flex:none!important}
    .article-detail-layout>div:last-child{width:100%!important}
    .site-detail-card{flex-direction:column!important;padding:16px!important}
    .site-detail-card>div:first-child{width:100%!important}
    .site-detail-card>div:first-child>div:first-child{height:200px!important}
    .site-detail-card .detail-info-grid{grid-template-columns:1fr!important}
    .mobile-menu{width:260px!important}
    .mobile-menu-link{padding:12px 18px!important;font-size:14px!important;display:flex!important;align-items:center!important;gap:10px!important}
    .footer-simple-links{gap:16px!important}
    .footer-simple-links a{font-size:12px!important}
    .footer-copyright{font-size:11px!important;padding:0 10px!important}
    .mobile-menu-link .m-icon{width:28px;height:28px;border-radius:50%;color:#fff;font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
    .mobile-submenu{padding:8px 0 8px 46px!important}
    .mobile-submenu-link{padding:8px 18px!important;font-size:12px!important}
        .top-sites-grid{grid-template-columns:repeat(3,1fr)!important}
    .tool-grid{grid-template-columns:repeat(4,1fr)!important}
    
    .sponsor-item-6{padding:0px!important;gap:1px!important}
    .sponsor-name-6{font-size:12px!important}
    .sponsor-desc-6{font-size:9px!important}
    .ad-banner-grid{display:grid;grid-template-columns:repeat(1,1fr);gap:16px}
}
/* 手机端搜索框修复 */
@media(max-width:768px){
    .hero-banner{
        padding:24px 12px!important;
        overflow-x:hidden!important;
        max-width:100%!important;
    }
    .hero-content{
        max-width:100%!important;
        overflow-x:hidden!important;
    }
    .hero-search-box{
        padding:12px!important;
        max-width:100%!important;
        box-sizing:border-box!important;
        overflow-x:hidden!important;
    }
    .hero-search-box form{
        display:flex!important;
        flex-direction:row!important;
        gap:0!important;
        max-width:100%!important;
    }
    .hero-search-box input{
        flex:1!important;
        min-width:0!important;
        width:auto!important;
        padding:10px 12px!important;
        font-size:14px!important;
        border-radius:8px 0 0 8px!important;
    }
    .hero-search-box button{
        flex-shrink:0!important;
        white-space:nowrap!important;
        padding:10px 16px!important;
        font-size:14px!important;
        border-radius:0 8px 8px 0!important;
        width:auto!important;
        min-width:auto!important;
    }
    .hero-search-engines{
        display:flex!important;
        gap:6px!important;
        flex-wrap:wrap!important;
        justify-content:center!important;
        max-width:100%!important;
        overflow-x:hidden!important;
    }
    .hero-search-engines .search-engine{
        font-size:11px!important;
        padding:4px 8px!important;
        flex-shrink:0!important;
        white-space:nowrap!important;
    }
    .hero-title{
        font-size:18px!important;
        white-space:normal!important;
        word-break:break-word!important;
        max-width:100%!important;
    }
}/* 手机端横向溢出修复（不改变任何布局） */
@media(max-width:768px){
    *{
        max-width:100%!important;
        box-sizing:border-box!important;
    }
    html,body{
        overflow-x:hidden!important;
        max-width:100%!important;
        width:100%!important;
    }
    .main-container,.main-container-wide{
        overflow-x:hidden!important;
        max-width:100%!important;
        width:100%!important;
    }
    .home-layout,.home-left,.home-right{
        overflow-x:hidden!important;
        max-width:100%!important;
    }
    .top-sites-grid,.sites-grid,.sponsor-grid-6,.tool-grid{
        max-width:100%!important;
        overflow-x:hidden!important;
    }
    .top-site-item,.site-card,.sponsor-item-6,.tool-item{
        min-width:0!important;
        max-width:100%!important;
    }
    .top-site-name,.site-name,.sponsor-name-6,.sponsor-desc-6{
        min-width:0!important;
        max-width:100%!important;
    }
}
/* ===== 友情链接黑夜模式适配 ===== */
body.dark-theme .footer-friendlinks-section{background:#16213e!important;border-color:#0f3460!important}
body.dark-theme .friendlinks-above-footer{background:#16213e!important;border-color:#0f3460!important}
body.dark-theme .footer-fl-list a{color:#b0b0b0!important}
body.dark-theme .footer-fl-list a:hover{color:#34d399!important}
body.dark-theme .footer-fl-empty{color:#888!important}
/* ===== 首页软件下载区块 ===== */
.software-section{background:var(--card,#fff);border:1px solid #eef0ef;border-radius:14px;padding:20px;margin-bottom:15px;box-shadow:0 2px 8px rgba(0,0,0,.03)}
.software-head{display:flex;align-items:center;margin-bottom:16px}
.software-title{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:700;color:#222}
.software-more{margin-left:auto;width:26px;height:26px;line-height:22px;text-align:center;border-radius:8px;color:#bbb;font-size:20px;font-weight:700;text-decoration:none;transition:all .25s}
.software-more:hover{color:#fff;background:linear-gradient(135deg,#34d399,#10b981)}
.software-list{display:flex;flex-wrap:wrap;gap:12px}
.software-item{display:flex;align-items:center;gap:10px;min-width:150px;flex:1 1 150px;max-width:220px;padding:10px 12px;border-radius:12px;border:1px solid #f3f4f6;background:#fafafa;text-decoration:none;transition:all .25s;box-sizing:border-box}
.software-item:hover{background:#fff;border-color:#bbf7d0;box-shadow:0 6px 18px rgba(16,185,129,.12);transform:translateY(-2px)}
.software-icon{width:42px;height:42px;border-radius:11px;object-fit:cover;flex-shrink:0;background:#f0fdf4;border:1px solid #ecfdf5}
.software-icon-fb{display:flex;align-items:center;justify-content:center;color:#fff;font-size:18px;font-weight:700;background:linear-gradient(135deg,#34d399,#10b981)}
.software-meta{min-width:0;flex:1}
.software-name{font-size:13px;font-weight:600;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3}
.software-date{font-size:12px;color:#9ca3af;margin-top:3px}
@media(max-width:640px){
  .software-section{padding:14px}
  .software-list{gap:8px}
  .software-item{min-width:calc(50% - 8px);flex:1 1 calc(50% - 8px);max-width:none;padding:8px}
  .software-icon{width:36px;height:36px;border-radius:9px}
}
body.dark-theme .software-section{background:#16213e!important;border-color:#0f3460!important}
body.dark-theme .software-title{color:#e5e7eb!important}
body.dark-theme .software-item{background:#0f1b33!important;border-color:#1e3a5f!important}
body.dark-theme .software-item:hover{border-color:#34d399!important}
body.dark-theme .software-name{color:#d1d5db!important}
body.dark-theme .software-icon{background:#0f1b33!important;border-color:#1e3a5f!important}

/* ===== 底部浮窗广告（后台-基础配置-功能开关 控制） ===== */
.footer-float-wrap{position:fixed;bottom:12px;left:0;right:0;margin:0 auto;width:calc(100% - 24px);max-width:1300px;padding:10px;background:#ffffff;box-sizing:border-box;border-radius:14px;border:1px solid #eceef0;box-shadow:0 8px 28px rgba(0,0,0,.14);z-index:9999;transition:opacity .25s ease,visibility .25s ease}
.footer-float-wrap.hide-at-bottom{opacity:0!important;visibility:hidden;pointer-events:none}
.footer-banner{display:block;width:100%;height:70px;background-repeat:no-repeat;background-position:center center;background-size:cover;background-color:#ffffff;border-radius:8px;text-decoration:none;transition:opacity .2s ease}
.footer-banner:hover{opacity:.92}
.footer-float-wrap .banner-close{position:absolute!important;top:-11px!important;right:8px!important;width:26px!important;height:26px!important;padding:0!important;margin:0!important;border-radius:50%!important;background:#10b981!important;color:#ffffff!important;border:2px solid #ffffff!important;font-size:16px!important;font-weight:700!important;line-height:1!important;cursor:pointer!important;display:flex!important;align-items:center!important;justify-content:center!important;box-shadow:0 2px 8px rgba(0,0,0,.28)!important;z-index:5!important;text-decoration:none!important}
body.dark-theme .footer-float-wrap{background:#ffffff!important;border-color:#eceef0!important}
body.dark-theme .footer-float-wrap .banner-close{background:#10b981!important;color:#ffffff!important;border-color:#ffffff!important;opacity:1!important}
@media (max-width:768px){.footer-float-wrap{bottom:8px;width:calc(100% - 16px);padding:8px;border-radius:12px}.footer-banner{height:60px;border-radius:6px}}


/* ===== 自动文章正文步骤配图（一步一图） ===== */
.art-step-figure{margin:20px 0;text-align:center}
.art-step-figure img{max-width:100%;width:720px;display:block;margin:0 auto;border-radius:14px;border:1px solid #eef0f3;box-shadow:0 6px 22px rgba(16,24,40,.10)}
.art-step-figure figcaption{margin-top:9px;font-size:13px;line-height:1.6;color:#8a919e}
@media (max-width:768px){.art-step-figure{margin:14px 0}.art-step-figure img{width:100%;border-radius:10px}.art-step-figure figcaption{font-size:12px}}

/* 分类导航两行布局：名称与箭头第一行，标签第二行 */
.cat-nav-name{order:1!important}
.cat-nav-more{order:2!important}
.cat-nav-sites{order:3!important}


/* ===== 站点红色中文角标：推荐 / 火爆 ===== */
.site-tag{position:absolute!important;top:2px!important;right:3px!important;z-index:3!important;font-size:10px!important;line-height:1!important;color:#fff!important;font-weight:700!important;padding:3px 6px!important;border-radius:5px!important;letter-spacing:1px!important;pointer-events:none!important;box-shadow:0 2px 6px rgba(0,0,0,.2)!important;transform:rotate(-6deg)!important}
.site-tag-rec{background:linear-gradient(135deg,#ff6b6b,#ef4444)!important}
.site-tag-hot{background:linear-gradient(135deg,#ff9a3d,#f97316)!important}
@media(max-width:768px){.site-tag{font-size:9px!important;padding:2px 4px!important;top:1px!important;right:auto!important;left:4px!important}}


/* 手机端不显示 直接访问/网站详情 悬浮菜单（触屏无hover，点卡片直接进详情） */
@media(max-width:768px){.top-site-popup,.top-site-item-wrap:hover .top-site-popup{display:none!important}}


/* ===== 分类专区：单行对齐（左绿分类名 + 右侧站点均分横排 + 灰箭头）最终覆盖 ===== */
.cat-nav-list{display:flex!important;flex-direction:column!important;gap:0!important}
.cat-nav-row{display:flex!important;flex-wrap:nowrap!important;align-items:flex-start!important;gap:14px!important;padding:13px 4px!important;border-radius:0!important;border-bottom:1px solid #f0f1f3!important;background:transparent!important}
.cat-nav-row:last-child{border-bottom:none!important}
.cat-nav-row:hover{background:transparent!important}
.cat-nav-name{order:0!important;flex:0 0 58px!important;width:58px!important;gap:0!important;color:#10b981!important;font-size:14px!important;font-weight:700!important;white-space:nowrap!important}
.cat-nav-name::before{content:none!important;display:none!important}
.cat-nav-sites{order:0!important;flex:1 1 auto!important;width:auto!important;min-width:0!important;margin:0!important;display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;column-gap:14px!important;row-gap:6px!important;align-items:center!important}
.cat-nav-site{min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;color:#333!important;font-size:13px!important;line-height:1.5!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-align:left!important}
.cat-nav-site:hover{color:#10b981!important}
.cat-nav-more{order:0!important;flex:0 0 auto!important;margin-left:4px!important;color:#c6cbd6!important;font-size:16px!important}
body.dark-theme .cat-nav-site{color:#c9d1d9!important}
body.dark-theme .cat-nav-row{border-bottom-color:#1f2a44!important}
@media(max-width:768px){.cat-nav-row{gap:10px!important;padding:11px 2px!important;align-items:flex-start!important}.cat-nav-name{flex-basis:48px!important;width:48px!important;font-size:12px!important;padding-top:1px!important}.cat-nav-sites{grid-template-columns:repeat(4,minmax(0,1fr))!important;column-gap:10px!important;row-gap:5px!important}.cat-nav-site{font-size:12px!important}.cat-nav-more{align-self:flex-start!important}}

/* ===== 推荐/热门：维持原网格布局不动，仅让角标贴在图标上 ===== */
.top-site-ico-wrap{position:relative!important;flex:0 0 auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
/* 角标相对整张卡片右上角定位（.top-site-item 为定位父级） */


/* 带角标的卡片：名称弹性收缩、右侧预留角标宽度，文字不被角标遮挡 */
.site-tag{z-index:5!important;text-shadow:0 1px 1px rgba(0,0,0,.12)!important}


/* 手机端首页文章：分类与日期同一行、隐藏阅读数，两列卡片 */
@media(max-width:768px){
 .article-meta{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:6px!important;margin-top:8px!important;font-size:10px!important}
 .article-meta>span{white-space:nowrap!important;flex:0 0 auto!important}
 .article-meta .article-cat{flex:0 0 auto!important;padding:2px 7px!important;font-size:10px!important}
 .article-views{display:none!important}
 .article-body{padding:8px 10px!important}
 .article-title{font-size:12px!important;min-height:32px!important;margin-bottom:0!important}
 .article-cover{height:92px!important}
}


/* ===== 用户等级徽章：高级光效（越高级越华丽） ===== */
.ub-lv{line-height:1.5}
.ub-lv.lv-glow{animation:ubLvPulse 2.4s ease-in-out infinite}
.ub-lv.lv-shine{animation:ubLvShine 3s linear infinite,ubLvPulse 2.4s ease-in-out infinite}
@keyframes ubLvShine{0%{background-position:0% 50%}100%{background-position:300% 50%}}
@keyframes ubLvPulse{0%,100%{filter:brightness(1)}50%{filter:brightness(1.18)}}
.ub-md{background:none!important;box-shadow:none!important}
@media(max-width:768px){.ub-lv,.ub-md{font-size:10px!important}}


/* ===== 论坛/讨论中心样式（全局，用户中心复用） ===== */
.forum-wrap{padding:0;margin:0 0 6px}
.forum-hero{background:linear-gradient(135deg,#34d399,#10b981);border-radius:18px;padding:26px 30px;color:#fff;margin-bottom:18px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;box-shadow:0 8px 24px rgba(16,185,129,.25)}
.forum-hero h1{font-size:22px;font-weight:800;margin:0 0 6px}
.forum-hero p{font-size:13px;opacity:.92;margin:0}
.forum-stats{display:flex;gap:22px}
.forum-stat{text-align:center}
.forum-stat b{display:block;font-size:20px;font-weight:800}
.forum-stat span{font-size:12px;opacity:.9}
.btn-forum-post{background:#fff;color:#059669;font-weight:700;padding:11px 22px;border-radius:11px;text-decoration:none;font-size:14px;box-shadow:0 4px 12px rgba(0,0,0,.12);transition:transform .15s}
.btn-forum-post:hover{transform:translateY(-2px)}
.forum-board-bar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.forum-board{padding:7px 16px;border-radius:20px;background:#fff;border:1px solid #e5e7eb;font-size:13px;color:#666;text-decoration:none;transition:all .2s}
.forum-board:hover{border-color:#34d399;color:#10b981}
.forum-board.active{background:linear-gradient(135deg,#34d399,#10b981);color:#fff;border-color:transparent;font-weight:600}
.forum-list{background:#fff;border-radius:16px;overflow:hidden;border:1px solid #eef0ef;box-shadow:0 2px 10px rgba(0,0,0,.03)}
.forum-topic{display:flex;align-items:center;gap:14px;padding:15px 20px;border-bottom:1px solid #f5f6f5;text-decoration:none;transition:background .15s}
.forum-topic:hover{background:#f6fdf9}
.forum-topic:last-child{border-bottom:none}
.forum-topic-main{flex:1;min-width:0}
.forum-topic-title{font-size:15px;font-weight:600;color:#1f2937;margin-bottom:6px;display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.forum-topic-title:hover{color:#10b981}
.tag-top{background:#ef4444;color:#fff;font-size:10px;padding:1px 6px;border-radius:4px;font-weight:700}
.tag-essence{background:#f59e0b;color:#fff;font-size:10px;padding:1px 6px;border-radius:4px;font-weight:700}
.tag-lock{background:#9ca3af;color:#fff;font-size:10px;padding:1px 6px;border-radius:4px;font-weight:700}
.tag-board{background:#ecfdf5;color:#059669;font-size:11px;padding:1px 8px;border-radius:4px}
.forum-topic-meta{font-size:12px;color:#9ca3af;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.forum-topic-meta .mini-avatar{display:flex;align-items:center;gap:5px}
.forum-counts{display:flex;gap:16px;text-align:center;flex-shrink:0}
.forum-counts div b{display:block;font-size:15px;color:#374151}
.forum-counts div span{font-size:11px;color:#9ca3af}
.forum-empty{padding:60px 20px;text-align:center;color:#9ca3af}
.forum-empty .e-icon{font-size:48px;margin-bottom:12px}
/* 表单 */
.forum-form-card{background:#fff;border-radius:16px;padding:26px;border:1px solid #eef0ef;box-shadow:0 2px 10px rgba(0,0,0,.03)}
.forum-field{margin-bottom:18px}
.forum-field label{display:block;font-size:13px;font-weight:600;color:#374151;margin-bottom:8px}
.forum-field input[type=text],.forum-field select,.forum-field textarea{width:100%;padding:11px 14px;border:1px solid #e5e7eb;border-radius:10px;font-size:14px;font-family:inherit;box-sizing:border-box;outline:none;transition:border .2s}
.forum-field input:focus,.forum-field select:focus,.forum-field textarea:focus{border-color:#34d399;box-shadow:0 0 0 3px rgba(52,211,153,.12)}
.forum-field textarea{resize:vertical;min-height:200px;line-height:1.7}
.forum-btn{background:linear-gradient(135deg,#34d399,#10b981);color:#fff;border:none;padding:11px 30px;border-radius:10px;font-size:14px;font-weight:600;cursor:pointer;font-family:inherit}
.forum-btn:hover{opacity:.92}
.forum-btn-ghost{background:#f3f4f6;color:#666;padding:11px 22px;border-radius:10px;text-decoration:none;font-size:14px}
.forum-msg{padding:11px 16px;border-radius:10px;margin-bottom:16px;font-size:13px}
.forum-msg.error{background:#fef2f2;color:#dc2626;border:1px solid #fecaca}
.forum-msg.ok{background:#ecfdf5;color:#059669;border:1px solid #a7f3d0}
/* 详情 */
.topic-detail-card{background:#fff;border-radius:16px;padding:26px;border:1px solid #eef0ef;margin-bottom:16px}
.topic-detail-title{font-size:22px;font-weight:800;color:#111827;line-height:1.4;margin-bottom:14px}
.topic-detail-meta{display:flex;align-items:center;gap:12px;padding-bottom:16px;border-bottom:1px solid #f3f4f6;margin-bottom:18px;flex-wrap:wrap;font-size:13px;color:#9ca3af}
.topic-content{font-size:15px;line-height:1.9;color:#374151;word-break:break-word}
.topic-content p{margin:0 0 12px}
.post-item{display:flex;gap:14px;background:#fff;border-radius:14px;padding:18px 20px;border:1px solid #eef0ef;margin-bottom:12px}
.post-avatar{flex-shrink:0;text-align:center}
.post-avatar .pname{font-size:12px;color:#6b7280;margin-top:6px;max-width:60px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.post-body{flex:1;min-width:0}
.post-meta{font-size:12px;color:#9ca3af;margin-bottom:8px;display:flex;justify-content:space-between;align-items:center}
.post-content{font-size:14px;line-height:1.85;color:#374151;word-break:break-word}
.post-floor{background:#f3f4f6;color:#6b7280;font-size:11px;padding:2px 9px;border-radius:10px}
.reply-box{background:#fff;border-radius:16px;padding:22px;border:1px solid #eef0ef;margin-top:16px}
.reply-box textarea{width:100%;min-height:110px;padding:12px 14px;border:1px solid #e5e7eb;border-radius:10px;font-size:14px;font-family:inherit;box-sizing:border-box;resize:vertical;outline:none}
.reply-box textarea:focus{border-color:#34d399}
.lz-tag{background:#ecfdf5;color:#059669;font-size:10px;padding:1px 6px;border-radius:4px;font-weight:700}
@media(max-width:768px){
.forum-hero{padding:20px;flex-direction:column;align-items:flex-start}
.forum-stats{gap:16px}
.forum-counts{gap:10px}
.forum-topic{padding:13px 14px;gap:10px}
.post-item{padding:14px}
.topic-detail-card{padding:18px}
}

/* ============================================================
   黑夜模式补全层（.dark-theme 加在 <html> 或 <body> 均生效）
   统一深色：页面底#12141a / 卡片#1b1e26 / 浮层#232733 / 边框#2d323e
   ============================================================ */
.dark-theme{color-scheme:dark}
.dark-theme body,
.dark-theme main{background:#12141a!important;color:#d7dbe2!important}

/* ---- Tailwind 通用工具类批量深色（前台页面大量使用） ---- */
.dark-theme .bg-white{background-color:#1b1e26!important}
.dark-theme .bg-gray-50{background-color:#161920!important}
.dark-theme .bg-gray-100{background-color:#232733!important}
.dark-theme .bg-gray-200{background-color:#2a2f3b!important}
.dark-theme .text-gray-900,.dark-theme .text-gray-800,.dark-theme .text-gray-700{color:#e9ebef!important}
.dark-theme .text-gray-600,.dark-theme .text-gray-500{color:#aab1bd!important}
.dark-theme .text-gray-400{color:#8b93a1!important}
.dark-theme .border,.dark-theme .border-gray-100,.dark-theme .border-gray-200,.dark-theme .border-gray-300{border-color:#2d323e!important}
.dark-theme .divide-gray-100>*,
.dark-theme .divide-gray-200>*{border-color:#2d323e!important}
.dark-theme .ring-gray-200,.dark-theme .ring-gray-300{--tw-ring-color:#2d323e!important}
.dark-theme table thead.bg-gray-50,.dark-theme thead{background:#161920!important;color:#aab1bd!important}
.dark-theme input,.dark-theme textarea,.dark-theme select{
  background-color:#161920!important;color:#e3e6eb!important;border-color:#2d323e!important}
.dark-theme input::placeholder,.dark-theme textarea::placeholder{color:#6b7280!important}
.dark-theme [class*="bg-white\/"]{background-color:rgba(27,30,38,.85)!important}
.dark-theme hr{border-color:#2d323e!important}
.dark-theme .shadow,.dark-theme .shadow-sm,.dark-theme .shadow-md,.dark-theme .shadow-lg,.dark-theme .shadow-xl{box-shadow:0 4px 18px rgba(0,0,0,.35)!important}

/* ---- 功能页自定义卡片（用户中心/道具/成就/红包/扭蛋/积分/论坛/VIP） ---- */
.dark-theme .user-quicknav,.dark-theme .user-info-bar,.dark-theme .sidebar-card,
.dark-theme .main-card,.dark-theme .pp-card,.dark-theme .ps-card,.dark-theme .mp-card,
.dark-theme .rp-card,.dark-theme .cg-card,.dark-theme .ach,.dark-theme .packet,
.dark-theme .forum-list,.dark-theme .forum-form-card,.dark-theme .topic-detail-card,
.dark-theme .post-floor,.dark-theme .post-item,.dark-theme .reply-box,.dark-theme .album-card,
.dark-theme .badge-section,.dark-theme .vip-benefit,.dark-theme .vip-pay,.dark-theme .set-block,
.dark-theme .ps-contact,.dark-theme .ps-orders,.dark-theme .back-btn,.dark-theme .pw-hub{
  background-color:#1b1e26!important;border-color:#2d323e!important;color:#d7dbe2!important}
.dark-theme .user-name,.dark-theme .ucw-title,.dark-theme .pp-card b,.dark-theme .ps-card b,
.dark-theme .mp-card h3,.dark-theme .rp-card h3,.dark-theme .ach .nm,.dark-theme .pk-name,
.dark-theme .forum-title,.dark-theme .topic-title,.dark-theme .post-user{color:#e9ebef!important}
/* 卡片内部更浅的小块 */
.dark-theme .prop-item,.dark-theme .consume-box,.dark-theme .ucw-btn,.dark-theme .user-badge-item,
.dark-theme .user-btn-icon,.dark-theme .vip-plan,.dark-theme .ach.lock .ico,.dark-theme .pk-bar,
.dark-theme .pt-bar,.dark-theme .level-bar,.dark-theme .set-prog,.dark-theme .draw-card,
.dark-theme .s0,.dark-theme .s2,.dark-theme .fav-icon,.dark-theme .msg-err,.dark-theme .err{
  background-color:#232733!important;border-color:#2d323e!important;color:#c6ccd6!important}
.dark-theme .ach.done{background:linear-gradient(180deg,#241f14,#1b1e26)!important;border-color:#5a4a22!important}
.dark-theme .prop-item.equipped{background-color:#241d33!important;border-color:#6d4bb5!important}
.dark-theme .pk-bar i,.dark-theme .pt-bar i,.dark-theme .level-bar i{filter:brightness(.95)}
.dark-theme .user-detail-item,.dark-theme .ach .ds,.dark-theme .pk-msg,.dark-theme .pk-sub,
.dark-theme .mini-list,.dark-theme .ps-card .gray,.dark-theme .forum-meta{color:#8b93a1!important}
.dark-theme .qn-item{color:#aab1bd!important}
.dark-theme .qn-item:hover{background:#232733!important}
/* 进度/轨道灰底 */
.dark-theme .ach .bar,.dark-theme .pk-bar{background:#14171d!important}

/* ---- 弹层 / 下拉 / 模态 / 分页 ---- */
.dark-theme .modal-box,.dark-theme .modal-content,.dark-theme .dropdown-menu,.dark-theme .popup,
.dark-theme [class*="modal"] [class*="content"]{background:#232733!important;border-color:#2d323e!important;color:#e3e6eb!important}
.dark-theme .page-item a,.dark-theme .pagination a{background:#232733!important;color:#c6ccd6!important;border-color:#2d323e!important}
.dark-theme .page-item.active a,.dark-theme .pagination .active a{background:#10b981!important;color:#fff!important}

/* ---- 内联白底兜底（style="background:#fff..."） ---- */
.dark-theme [style*="background:#fafafa"],.dark-theme [style*="background: #fafafa"],
.dark-theme [style*="background:#f5f"],.dark-theme [style*="background:#f3f4f6"],
.dark-theme [style*="background:rgb(255,255,255)"]{background-color:#232733!important}
.dark-theme [style*="background: #f5f6fa"]{background-color:#12141a!important}

/* ---- 代码/引用等 ---- */
.dark-theme code,.dark-theme pre,.dark-theme kbd{background:#14171d!important;color:#cbd2dd!important;border-color:#2d323e!important}
.dark-theme blockquote{background:#161920!important;border-left-color:#3a4150!important;color:#aab1bd!important}
/* 主色按钮/渐变 hero 保持彩色，不反色 */
.dark-theme .gradient-btn,.dark-theme .cbtn,.dark-theme .grab-btn,.dark-theme .rp-send{filter:brightness(1.02)}

/* ---- 工具页顶部导航(index.css)暗色补丁 ---- */
.dark-theme .site-nav{background:#1b1e26!important;border-color:#2d323e!important}
.dark-theme .site-nav li a{color:#c6ccd6!important}
.dark-theme .site-nav li a.active{background:rgba(52,211,153,.14)!important;color:#34d399!important}
.dark-theme .nav-search-icon{background:#2a2440!important;color:#d7dbe2!important}
.dark-theme .nav-search-close{background:#2a2f3b!important;color:#c6ccd6!important}
.dark-theme .nav-search-box{background:#1b1e26!important;border-color:#2d323e!important}
.dark-theme .nav-search-box input{background:#14171d!important;color:#e3e6eb!important}
.dark-theme .text-ads a{background:#232733!important;color:#c6ccd6!important;border-color:#2d323e!important}
.dark-theme .tb-list li a,.dark-theme .tb-title{color:#c6ccd6!important}
.dark-theme .tool-card,.dark-theme .tool-box,.dark-theme .panel,.dark-theme .card-box{background:#1b1e26!important;border-color:#2d323e!important;color:#d7dbe2!important}

/* ===== 扩展装扮：昵称特效 / 主页背景 / 气泡 / 发帖框 ===== */
/* 渐变/闪烁昵称 */
.nick-effect-gradient{background:linear-gradient(90deg,#f43f5e,#f59e0b,#10b981,#3b82f6,#a855f7,#f43f5e);background-size:300% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent!important;animation:nickFlow 5s linear infinite;font-weight:900!important}
@keyframes nickFlow{0%{background-position:0% 0}100%{background-position:300% 0}}
.nick-effect-shine{position:relative;background:linear-gradient(90deg,#7c3aed,#a855f7 40%,#f0abfc 50%,#a855f7 60%,#7c3aed);background-size:250% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent!important;animation:nickFlow 3.2s linear infinite;font-weight:900!important;text-shadow:0 0 10px rgba(168,85,247,.35)}
.nick-effect-neon{color:#22d3ee!important;font-weight:900!important;animation:neonBlink 1.6s ease-in-out infinite;text-shadow:0 0 4px #22d3ee,0 0 10px #22d3ee,0 0 18px rgba(34,211,238,.7)}
@keyframes neonBlink{0%,100%{text-shadow:0 0 4px #22d3ee,0 0 10px #22d3ee,0 0 18px rgba(34,211,238,.7)}50%{text-shadow:0 0 6px #67e8f9,0 0 16px #22d3ee,0 0 28px rgba(34,211,238,.95)}}
/* 主页背景皮肤（覆盖 user-banner） */
.user-banner.home-bg-star{background:radial-gradient(2px 2px at 20% 30%,#fff,transparent),radial-gradient(1.5px 1.5px at 70% 20%,#c7d2fe,transparent),radial-gradient(1.5px 1.5px at 40% 70%,#fff,transparent),linear-gradient(135deg,#1e1b4b,#4c1d95 60%,#312e81)!important;background-size:220px 220px,180px 180px,260px 260px,100% 100%!important}
.user-banner.home-bg-sakura{background:linear-gradient(135deg,#fbcfe8,#f9a8d4 55%,#f472b6)!important}
.user-banner.home-bg-ocean{background:linear-gradient(135deg,#0ea5e9,#2563eb 55%,#1e3a8a)!important}
/* 聊天气泡（装备者自己的内容） */
.bubble-pink{background:linear-gradient(135deg,#fdf2f8,#fce7f3)!important;border:1px solid #fbcfe8!important;border-radius:14px 14px 14px 4px!important;padding:12px 14px!important}
.bubble-blue{background:linear-gradient(135deg,#eff6ff,#dbeafe)!important;border:1px solid #bfdbfe!important;border-radius:14px 14px 14px 4px!important;padding:12px 14px!important}
/* 发帖框皮肤 */
.post-skin-paper{background:linear-gradient(#fffdf5,#fef9e7)!important;border:1px solid #fde68a!important;box-shadow:inset 0 0 24px rgba(245,158,11,.06)!important;border-radius:12px;padding:14px 16px!important}
.post-skin-dark{background:#1f2937!important;color:#e5e7eb!important;border:1px solid #374151!important;border-radius:12px;padding:14px 16px!important}
/* 暗色下昵称特效保持可见 */
body.dark-theme .post-skin-dark{background:#111827!important;color:#e5e7eb!important}
