/* /assets/css/style_light.css - 清爽简洁白 风格扩展包 (高清晰度优化版) */
html {
    overflow-y: scroll !important;
}
:root { --mobile-action-menu-bg:#fff; --mobile-action-menu-border:#c9d3dd; --mobile-action-accent:#2475ad; }
body { background: #f0f2f5 !important; color: #333 !important; }
.container { background: #ffffff !important; border: 1px solid #e1e4e8 !important; box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important; }
.header h2 { color: #2c3e50 !important; }
.header div { color: #666 !important; }

/* 导航条 */
.nav-bar { background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%) !important; border: 1px solid #eaeaea !important; border-top: 3px solid #3498db !important; box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important; }
.nav-bar a { color: #555 !important; }
.nav-bar a:hover { color: #3498db !important; background: rgba(52, 152, 219, 0.1) !important; text-shadow: none !important; }

/* 通用输入框和按钮 */
input, select, textarea { background: #fff !important; color: #333 !important; border: 1px solid #ccc !important; }
input:focus, textarea:focus { border-color: #3498db !important; }
.btn { background: #f8f9fa !important; color: #333 !important; border: 1px solid #ddd !important; text-shadow: none !important; box-shadow: none !important; }
.btn:hover { background: #e2e6ea !important; color: #000 !important; border-color: #ccc !important; }
.post-tag-option { background:linear-gradient(135deg,#fff8df,#f3e6b5) !important; color:#765600 !important; border-color:#c6a94a !important; }
.post-tag-option.selected, .post-tag-option:hover { background:#d4af37 !important; color:#241b05 !important; border-color:#8d6b14 !important; }
.btn[style*="#008800"] { background: #28a745 !important; color: #fff !important; border: none !important;}
.btn[style*="#aa0000"] { background: #dc3545 !important; color: #fff !important; border: none !important;}
.btn[style*="#005588"] { background: #007bff !important; color: #fff !important; border: none !important;}
.btn[style*="#880000"] { background: #e74c3c !important; color: #fff !important; border: none !important;}

/* 列表与板块覆盖暗黑底色 */
.thread-row { background: #fff !important; border: 1px solid #eee !important; box-shadow: 0 2px 5px rgba(0,0,0,0.02) !important; margin-bottom: 10px !important; border-radius: 4px !important; }
.thread-row:hover { background: linear-gradient(90deg, #fff 0%, #e3f2fd 50%, #fff 100%) !important; border-color: #3498db !important; box-shadow: 0 2px 15px rgba(52,152,219,0.2) !important; }
.thread-expand-content .post-content { color: #222 !important; }
.thread-title-box { background: transparent; }
.thread-title-box > a { color: inherit !important; }
.thread-category { color:var(--thread-category-color, #a64040) !important; }
.thread-tag-chip { font-size:var(--thread-tag-size, 14px) !important; line-height:1 !important; padding:0 7px !important; margin-right:var(--thread-tag-gap, 2px) !important; }
.thread-tag-chip { display:inline-flex !important; align-items:center; height:1.4em; line-height:1 !important; padding:0 7px !important; }
.category-tag-chip, .thread-tag-chip { color:#3d6280 !important; background:#eef4f8 !important; border-color:#b8cad8 !important; box-shadow:0 1px 3px rgba(50,80,100,.12) !important; }
.post-tag-picker { margin-top:0; }
.post-tag-option { background:#eef4f8 !important; color:#3d6280 !important; border-color:#b8cad8 !important; }
.post-tag-option.selected { background:#b9d8e8 !important; color:#173f57 !important; border-color:#4e8bad !important; box-shadow:0 0 0 2px rgba(78,139,173,.25) !important; }
.post-tag-option:hover { background:#e4f0f6 !important; color:#244c68 !important; border-color:#7ea6bf !important; }
.category-tag-chip { text-decoration:none !important; }

.replies-box { background: transparent !important; }
div[style*="background:#050505"], div[style*="background:#111"], div[style*="background:#1a1a1a"], div[style*="background:#161616"], .box, .tab-content, .reply-item-box { background: #fff !important; border-color: #eaeaea !important; color: #333 !important; box-shadow: 0 2px 8px rgba(0,0,0,0.02) !important; }
div[style*="border:1px solid #222"] { border-color: #eaeaea !important; }
div[style*="border-bottom:1px dashed #5a4018"] { border-bottom-color: #eaeaea !important; }

/* 【优化2：全方位增强清爽模式下的文本清晰度】 */
.post-content, .post-content[style*="color:#ffffff"], .reply-item-box > .post-content, .reply-item-box .sub-reply-text { color: #222 !important; }
.post-content th, .post-content td { border-color: #b9c8d8 !important; }
.post-content th, .post-content table tr:first-child > td { background: #edf4fa !important; color: #243447 !important; }
.post-content pre { background: #f3f6f9 !important; border-color: #c8d4df !important; color: #243447 !important; }
h2:not(.thread-highlight-title), h3, h4 { color: #2c3e50 !important; }
a { color: #3498db !important; }
.reply-action-link { color:#44576a !important; }
.reply-action-link:hover { color:#1f5f8b !important; }
.reply-action-delete { color:#c0392b !important; }
.sub-reply-level-1 { background:#f7f9fb !important; border-left-color:#9fc4e2 !important; }
.sub-reply-level .sub-reply-level { border-left-color:#d6e1eb !important; }
.sub-reply-item { border-bottom-color:#dfe5eb !important; }
.sub-reply-date { color:#687684 !important; }
.quote-heading a { color:#2475ad !important; }
a.user-tag, a[style*="color:#00ffcc"] { color: #2980b9 !important; }
.thread-meta-info, .thread-meta-info a { color:var(--thread-meta-color, #555) !important; }
.thread-open-control { color:var(--thread-action-color, #3498db) !important; }

/* 强制过滤掉所有导致看不清的灰色内联代码 */
span[style*="color:#ccc"], span[style*="color:#aaa"], span[style*="color:#888"],
div[style*="color:#ccc"], div[style*="color:#aaa"], div[style*="color:#888"],
div[style*="color:#ddd"], div[style*="color:#777"], div[style*="color:#666"] { color: #444 !important; }

/* 【优化2：特别针对个人信箱内白字变黑字，强化阅读】 */
.tab-content div[style*="color:#ddd"] { color: #222 !important; font-weight: 500 !important; }
.tab-content div[style*="color:#aaa"] { color: #666 !important; }

/* 【优化2：卡密商城价格、资产类型与剩余库存的视觉强化】 */
.shop-card { background: #fff !important; border: 1px solid #eee !important; border-top: 3px solid #3498db !important; box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important; }
.shop-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(52,152,219,0.15) !important; border-top-color: #2980b9 !important; }
.shop-card h3 { color: #2c3e50 !important; }
.shop-desc { color: #555 !important; font-weight: 500 !important; }
.shop-price-box { background: #f0f4f8 !important; border: 1px solid #dce4ec !important; }
/* 加深价格颜色，并大幅度提升粗细 */
.shop-price { color: #c0392b !important; font-weight: 900 !important; text-shadow: none !important; }
.shop-price-box span[style*="color:#888"] { color: #333 !important; font-weight: bold !important; }
.shop-stock { color: #666 !important; }
.shop-stock b { color: #222 !important; font-weight: bold !important; }
.shop-btn { background: #3498db !important; color: #fff !important; border: none !important; box-shadow: none !important; }
.shop-btn:hover { background: #2980b9 !important; color: #fff !important; }

/* 个人主页面板覆盖 */
.profile-hero { background: #fff !important; border: 1px solid #eee !important; box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important; }
.stat-box { background: #f8f9fa !important; border: 1px solid #eaeaea !important; box-shadow: none !important; }
.stat-num[style*="color:#ffcc00"] { color: #f39c12 !important; }
.stat-num[style*="color:#00ff00"] { color: #27ae60 !important; }
.stat-num[style*="color:#fff"] { color: #333 !important; }
.tabs { border-bottom-color: #ddd !important; }
.tab-btn.active { color: #3498db !important; border-bottom-color: #3498db !important; text-shadow: none !important; }

/* 底边脚注 */
div[style*="border-top: 1px solid #222"] { border-top-color: #eaeaea !important; }

/* 适配双风格平滑过渡：分割线 - 清爽版 */
.thread-divider { border-top-color: #ddd !important; }
.thread-divider span { background: #ffffff !important; color: #777 !important; }
.reply-login-prompt { color:#59636e !important; background:#f8fafc !important; border-color:#dce4ec !important; border-left-color:#3498db !important; box-shadow:0 4px 14px rgba(52,152,219,.08) !important; }
.reply-login-prompt a { color:#2475ad !important; border-bottom-color:rgba(36,117,173,.45) !important; }
.editor-attachment-control { background:#f4f7fa !important; border-color:#cfd8e3 !important; }
.attachment-limit { color:#59636e !important; }
.user-level-badge { color:#7a4d00 !important; background:linear-gradient(135deg,#fff8df,#f1d58a) !important; border-color:#c99a22 !important; box-shadow:0 2px 8px rgba(180,130,20,.2) !important; }
.sort-link.sort-active { color:#b07800 !important; }
.sort-link.sort-inactive { color:#777 !important; }
.sort-link { background:#fff !important; border-color:#d8dde3 !important; }
.sort-link:hover { background:#eef5fb !important; border-color:#9fc4e2 !important; }
.card-code-copy { color:#7a4d00 !important; border-bottom-color:#c99a22; cursor:pointer; }

/* 适配双风格平滑过渡：引用框 - 清爽版 */
.forum-quote { background: #f8f9fa !important; border-left-color: #3498db !important; color: #444 !important; box-shadow: 0 2px 5px rgba(0,0,0,0.02) !important; border: 1px solid #eee !important; border-left: 4px solid #3498db !important; }
.w-e-text blockquote, .w-e-text-container blockquote, .post-content blockquote, .forum-quote { background: #eef6ff !important; color: #243447 !important; border: 1px solid #c8def5 !important; border-left: 4px solid #3498db !important; border-radius: 4px !important; padding: 12px 15px !important; box-shadow: 0 2px 8px rgba(52,152,219,0.14) !important; }
.edit-history { color: #777 !important; }

/* 适配双风格平滑过渡：悬浮窗样式 - 清爽版 */
.tooltip-loading { background: #fff !important; color: #555 !important; border: 1px solid #ddd !important; box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important; }
.user-tooltip-card { background: #ffffff !important; border: 1px solid #eee !important; border-top: 3px solid #3498db !important; box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important; }
.tooltip-glow { background: radial-gradient(circle, rgba(52,152,219,0.1) 0%, transparent 70%) !important; }
.tooltip-header { border-bottom-color: #eee !important; }
.tooltip-username { color: #2c3e50 !important; text-shadow: none !important; }
.badge-group { background: #3498db !important; border-color: #2980b9 !important; color: #fff !important; }
.badge-level { background: #e74c3c !important; border-color: #c0392b !important; color: #fff !important; }
.stat-item { background: #f8f9fa !important; border-color: #eaeaea !important; }
.stat-item:hover { border-color: #3498db !important; }
.stat-label { color: #777 !important; }
.stat-val { color: #222 !important; }
.gold-val { color: #e67e22 !important; }
.ingot-val { color: #27ae60 !important; }

/* 幻灯片看图灯箱清爽白化适配 */
#lightbox { background: rgba(255, 255, 255, 0.95) !important; }
#lb-controls { background: rgba(16,20,28,.72) !important; color:#fff !important; border-color:rgba(255,255,255,.42) !important; box-shadow:0 8px 24px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.18) !important; }
#lb-controls button { background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.14); color:#fff; }
#lb-controls button:hover, #lb-controls button:focus-visible { background:rgba(255,255,255,.2); border-color:rgba(255,255,255,.72); }
#lb-prev, #lb-next { color: #3498db !important; text-shadow: none !important; }
#lb-prev:hover, #lb-next:hover { color: #2980b9 !important; transform: scale(1.1); }
/* 【优化 3】清爽风格下，富文本编辑器输入框高亮，提升可视度 */
#editor-container, .w-e-text-container { background: #ffffff !important; border: 1px solid #999 !important; box-shadow: inset 0 2px 5px rgba(0,0,0,0.05) !important; color: #222 !important; }
.w-e-toolbar { background: #f1f3f5 !important; border-bottom: 1px solid #ccc !important; }
.w-e-text { min-height: 200px !important; }
/* 【优化 2】强制覆盖总积分颜色以便清晰阅读 */
.profile-hero .score-val { color: #c0392b !important; font-weight: 900 !important; text-shadow: none !important; }
.fav-table td a { color: #3498db !important; }
.fav-table tr { border-bottom: 1px solid #eaeaea !important; }
.reply-edit-toggle { color:#44576a !important; }
.reply-edit-options { background:#fff !important; border-color:#aeb8c2 !important; box-shadow:0 3px 10px rgba(0,0,0,.16) !important; }
.reply-edit-options .reply-action-link { background:#f5f7f9 !important; }
.image-compress-control { color:#44576a !important; }
