/* HTML内联preload样式 - 用于防止黑夜模式闪烁 */
html.dark-mode-preload-active {
  background: #0f172a !important;
  color: #cbd5e1 !important;
}
html.dark-mode-preload-active body {
  background: #0f172a !important;
  color: #cbd5e1 !important;
}
html.dark-mode-preload-active .top-strip {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #94a3b8 !important;
}
html.dark-mode-preload-active .top-welcome { color: #94a3b8 !important; }
html.dark-mode-preload-active .header,
html.dark-mode-preload-active .header-top {
  background: #0f172a !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3) !important;
}
html.dark-mode-preload-active .logo-text { color: var(--primary-dark) !important; }
html.dark-mode-preload-active .phone-icon { border-color: var(--primary-dark) !important; color: var(--primary-dark) !important; }
html.dark-mode-preload-active .phone-label { color: #94a3b8 !important; }
html.dark-mode-preload-active .phone-num { color: var(--primary-dark) !important; }
html.dark-mode-preload-active .header-search-btn {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #cbd5e1 !important;
}
html.dark-mode-preload-active .header-nav-wrap {
  background: var(--primary-dark) !important;
}
html.dark-mode-preload-active .header-nav .nav-menu > li > a { color: rgba(255, 255, 255, 0.9) !important; }
html.dark-mode-preload-active .header-nav-wrap .dropdown {
  background: #1e293b !important;
  border-color: #334155 !important;
}
html.dark-mode-preload-active .header-nav-wrap .dropdown a { color: #cbd5e1 !important; }
html.dark-mode-preload-active .section-header h2 { color: #e2e8f0 !important; }
html.dark-mode-preload-active .section-header p { color: #94a3b8 !important; }
html.dark-mode-preload-active .products-section { background: #1e293b !important; }
html.dark-mode-preload-active .product-card {
  background: #0f172a !important;
  border-color: #334155 !important;
}
html.dark-mode-preload-active .product-info h3 { color: #e2e8f0 !important; }
html.dark-mode-preload-active .product-info p { color: #94a3b8 !important; }
html.dark-mode-preload-active .cases-section { background: #1a2332 !important; }
html.dark-mode-preload-active .case-card {
  background: #0f172a !important;
  border-color: #334155 !important;
}
html.dark-mode-preload-active .news-section {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%) !important;
}
html.dark-mode-preload-active .news-card {
  background: #1e293b !important;
  border-color: #334155 !important;
}
html.dark-mode-preload-active .news-card-body h3 { color: #e2e8f0 !important; }
html.dark-mode-preload-active .news-card-body p { color: #94a3b8 !important; }
html.dark-mode-preload-active .news-card-tag {
  background: linear-gradient(135deg, #1e3a5f, #1e40af) !important;
  color: #60a5fa !important;
}
html.dark-mode-preload-active .about-section {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e3a5f 100%) !important;
}
html.dark-mode-preload-active .about-stats-card {
  background: #1e293b !important;
}
html.dark-mode-preload-active .about-stat-item {
  border-color: #334155 !important;
}
html.dark-mode-preload-active .about-stat-num { color: var(--primary-dark) !important; }
html.dark-mode-preload-active .about-stat-unit { color: #e2e8f0 !important; }
html.dark-mode-preload-active .about-stat-label { color: #94a3b8 !important; }
html.dark-mode-preload-active .about-badge {
  background: #1e293b !important;
  color: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
}
html.dark-mode-preload-active .about-content-right h2 { color: #e2e8f0 !important; }
html.dark-mode-preload-active .about-content-right h2 span { color: #cbd5e1 !important; }
html.dark-mode-preload-active .about-desc { color: #94a3b8 !important; }
html.dark-mode-preload-active .about-feature-item {
  background: #1e293b !important;
  border-color: #334155 !important;
}
html.dark-mode-preload-active .about-feature-item i {
  background: #1e3a5f !important;
  color: var(--primary-dark) !important;
}
html.dark-mode-preload-active .about-feature-item h4 { color: #e2e8f0 !important; }
html.dark-mode-preload-active .about-feature-item p { color: #94a3b8 !important; }
html.dark-mode-preload-active .partner-section { background: #1e293b !important; }
html.dark-mode-preload-active .partner-title { color: #e2e8f0 !important; }
html.dark-mode-preload-active .partner-item {
  background: #0f172a !important;
}
html.dark-mode-preload-active .footer {
  background: #020617 !important;
}
html.dark-mode-preload-active .footer-info h3 { color: #e2e8f0 !important; }
html.dark-mode-preload-active .footer-info p { color: rgba(255, 255, 255, 0.7) !important; }
html.dark-mode-preload-active .footer-links h4 { color: #e2e8f0 !important; }
html.dark-mode-preload-active .footer-links ul li a { color: rgba(255, 255, 255, 0.6) !important; }
html.dark-mode-preload-active .footer-contact li { color: rgba(255, 255, 255, 0.6) !important; }
html.dark-mode-preload-active .qrcode-box {
  background: #1e293b !important;
}
html.dark-mode-preload-active .qrcode-box p { color: #cbd5e1 !important; }
html.dark-mode-preload-active .footer-bottom { color: rgba(255, 255, 255, 0.4) !important; }
html.dark-mode-preload-active .btn-primary {
  background: var(--primary-dark) !important;
}
html.dark-mode-preload-active .inner-body {
  background: #0f172a !important;
}
html.dark-mode-preload-active .inner-content,
html.dark-mode-preload-active .inner-sidebar,
html.dark-mode-preload-active .sidebar-nav,
html.dark-mode-preload-active .sidebar-contact {
  background: #1e293b !important;
  color: #cbd5e1 !important;
}
html.dark-mode-preload-active *,
html.dark-mode-preload-active *::before,
html.dark-mode-preload-active *::after {
  border-color: #334155 !important;
}
html.dark-mode-preload-active .sidebar-menu > li > a,
html.dark-mode-preload-active .sidebar-menu > li > .has-sub-link {
  color: #cbd5e1 !important;
  border-bottom-color: #334155 !important;
  background: #1e293b !important;
}
html.dark-mode-preload-active .sidebar-menu > li.active > a {
  background: #334155 !important;
}
html.dark-mode-preload-active .sidebar-menu > li.has-sub.open > .has-sub-link {
  background: #334155 !important;
}
html.dark-mode-preload-active .sidebar-sub {
  background: #0f172a !important;
}
html.dark-mode-preload-active .sidebar-sub li a {
  color: #94a3b8 !important;
  border-bottom-color: #1e293b !important;
}
html.dark-mode-preload-active .sidebar-contact-list li {
  border-bottom-color: #334155 !important;
}
html.dark-mode-preload-active .plist-card {
  background: #0f172a !important;
  border-color: #334155 !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3) !important;
}
html.dark-mode-preload-active .plist-info h4 {
  color: #94a3b8 !important;
}
html.dark-mode-preload-active .plist-info p {
  color: #94a3b8 !important;
}
html.dark-mode-preload-active .case-list-card {
  background: #0f172a !important;
  border-color: #334155 !important;
}
html.dark-mode-preload-active .case-list-info h4 {
  color: #e2e8f0 !important;
}
html.dark-mode-preload-active .case-list-info p {
  color: #94a3b8 !important;
}
html.dark-mode-preload-active .case-list-more {
  color: var(--primary-dark) !important;
}
html.dark-mode-preload-active .pdetail-related-item {
  background: #0f172a !important;
  border-color: #334155 !important;
}
html.dark-mode-preload-active .pdetail-related-info h4 {
  color: #e2e8f0 !important;
}
html.dark-mode-preload-active .pdetail-related-info p {
  color: #94a3b8 !important;
}
html.dark-mode-preload-active  .msg-tips {
    background: #334155;
}

html.dark-mode-preload-active   .form-group input, html.dark-mode-preload-active  .form-group textarea, html.dark-mode-preload-active  .form-group select {
    background: #334155;
}

html.dark-mode-preload-active .nlist-tag {
    background: #1e3a2f;
    color: var(--primary-colors);
}