/* 畅鑫洲品牌主题 - 与 dxj99.com 官网统一 */
:root {
  --cxz-gold: #d4af37;
  --cxz-gold-dim: #c5a059;
  --cxz-bg: #0a0a0a;
  --cxz-seal-red: #d92121;
  --cxz-paper: #f4f1ea;
  --cxz-font-serif: 'Noto Serif SC', 'Songti SC', serif;
}
/* 全局品牌字体与背景 */
body {
  font-family: var(--cxz-font-serif), -apple-system, sans-serif !important;
  background: var(--cxz-bg) !important;
  color: #e8e4da !important;
}
/* 导航栏改为黑金风格 */
.nav {
  background: rgba(10,10,10,0.95) !important;
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(212,175,55,0.25) !important;
}
.nav__logo { color: #fff !important; font-weight: 900 !important; letter-spacing: 3px; }
.nav__logo .gold { color: var(--cxz-gold) !important; }
.nav__menu a { color: rgba(255,255,255,0.8) !important; letter-spacing: 2px; }
.nav__menu a.active, .nav__menu a:hover { color: var(--cxz-gold) !important; }
.nav__icon { color: #fff; }
/* 卡片与容器 */
.container, .page-container, .content, .section, [class*="card"]:not(.product-card) {
  color-scheme: dark;
}
.section, [class*="__card"], [class*="-card"], .card {
  background: #14120e !important;
  border: 1px solid rgba(212,175,55,0.18) !important;
  color: #e8e4da;
}
/* 金色强调统一 */
.price, .product-card__price, [class*="price"] { color: var(--cxz-gold) !important; }
.gold, .active, .tab.active, .sort-item.active { color: var(--cxz-gold) !important; }
button, .btn, [class*="btn"]:not(.service-btn) {
  background: linear-gradient(135deg, #d4af37, #c5a059) !important;
  color: #0a0a0a !important;
  font-weight: 600;
  border: none;
}
/* 标题字体 */
h1, h2, h3 { letter-spacing: 3px; }
/* 表单 */
input, select, textarea {
  background: #1a1815 !important;
  color: #e8e4da !important;
  border: 1px solid rgba(212,175,55,0.3) !important;
}
/* 标签/徽章 */
.badge, .shop-tag { background: rgba(212,175,55,0.15) !important; color: var(--cxz-gold) !important; }
/* 滚动条 */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: rgba(212,175,55,0.4); border-radius: 3px; }
/* 手机底部安全 */
@media (max-width: 768px) {
  body { font-size: 14px; }
}

/* 白底容器兜底 - 统一为暗色卡片 */
[class*="section"], [class*="panel"], [class*="box"], [class*="item"],
[class*="list"] > *, .tab, .toolbar, .breadcrumb, .sidebar, .modal, .dialog {
  background-color: #14120e;
  color: #e8e4da;
}
/* 白色文字容器保持 */
[style*="background: #fff"], [style*="background:#fff"] {
  background: #14120e !important;
}

/* 幽灵按钮豁免 */
[class*="ghost"], [class*="outline"], .tab { background: transparent !important; }
.tab.active { background: transparent !important; }


/* ============ 精修层 v2 ============ */
/* 浅色文字全局映射（暗底可读） */
body, [class*="text"], [class*="title"], [class*="name"], [class*="desc"],
[class*="label"], [class*="info"], [class*="item"], [class*="value"], p, span, li, td, th, label {
  color-scheme: dark;
}
h1, h2, h3, h4, h5, .section-title, [class*="header"] h1, [class*="header"] h2 {
  color: #f4f1ea;
}
/* 常见卡片类名补齐（brand.css 第一版未覆盖的命名） */
.cart-item, .cart-header, .post, .review-item, .as-card, .flavor-item, .detail-content,
.gb-card, .sk-card, .prize-card, .info-card, .section__content, .topic-item, .qual-item,
.product-item, .level, .empty, .modal, .modal-box, .dialog, .section-card, .rule-bar,
.checkout-bar, .bottom-bar, .actions, .main, .sidebar, .panel, .order-card, .addr-card,
.user-card, .stat-card, .menu-list, .form-group, .notice, .banner-card {
  background: #14120e !important;
  border-color: rgba(212,175,55,0.18) !important;
  color: #e8e4da !important;
}
/* 浅色底徽章/提示 */
.qual-badge { color: #7db87d !important; }
/* 输入框 placeholder */
input::placeholder, textarea::placeholder { color: #7a7468 !important; }
/* 分割线 */
hr, [class*="divider"] { border-color: rgba(212,175,55,0.15) !important; }
/* 表格 */
table { color: #e8e4da; }
tr:nth-child(even) { background: rgba(212,175,55,0.04) !important; }
/* 链接 */
a { color: #d4af37; }
a.btn, a[class*="btn"] { color: #0a0a0a !important; }
/* 空状态 */
.empty { color: #7a7468 !important; text-align: center; }
/* 选中态白底修复（如日期、下拉） */
option { background: #14120e; color: #e8e4da; }
/* 渐变金按钮文字统一深色 */
[class*="btn"] { color-scheme: light; }
/* 手机端 bottom tabbar */
[class*="tabbar"], [class*="bottom-nav"], .service-bar {
  background: rgba(10,10,10,0.97) !important;
  border-top: 1px solid rgba(212,175,55,0.2) !important;
}
