/* 全局深色主题覆盖（配合 html.kxm-theme-dark） */

html.kxm-theme-dark .licai-home,
html.kxm-theme-dark .market-trend-page,
html.kxm-theme-dark .kefu-page,
html.kxm-theme-dark .page-body,
html.kxm-theme-dark .im-message-page,
html.kxm-theme-dark .im-page,
html.kxm-theme-dark .message-page {
	background: #2d2e3b !important;
	color: #f5f5f5 !important;
}

/* ===== 首页 ===== */
html.kxm-theme-dark .licai-home {
	background: linear-gradient(180deg, #1a1b24 0%, #2d2e3b 140rpx, #2d2e3b 100%) !important;
}
html.kxm-theme-dark .licai-home .header-title {
	color: #f0d78c !important;
}
html.kxm-theme-dark .licai-home .header-currency,
html.kxm-theme-dark .licai-home .header-lang,
html.kxm-theme-dark .licai-home .header-theme {
	background: rgba(240, 215, 140, 0.12) !important;
	border-color: rgba(240, 215, 140, 0.35) !important;
}
html.kxm-theme-dark .licai-home .notice-bar {
	background: #3a3b4a !important;
	border-color: rgba(240, 215, 140, 0.2) !important;
}
html.kxm-theme-dark .licai-home .notice-title,
html.kxm-theme-dark .licai-home .notice-content {
	color: #e8e8e8 !important;
}
html.kxm-theme-dark .licai-home .section-entry,
html.kxm-theme-dark .licai-home .hot-section,
html.kxm-theme-dark .licai-home .hall-card,
html.kxm-theme-dark .licai-home .hall-card-body,
html.kxm-theme-dark .licai-home .hot-feature-card,
html.kxm-theme-dark .licai-home .hall-tab {
	background: #3a3b4a !important;
	border-color: rgba(240, 215, 140, 0.18) !important;
	box-shadow: none !important;
	color: #f5f5f5 !important;
}
html.kxm-theme-dark .licai-home .hall-tab.active {
	background: rgba(240, 215, 140, 0.16) !important;
	border-color: #f0d78c !important;
}
html.kxm-theme-dark .licai-home .hall-tab-label,
html.kxm-theme-dark .licai-home .quick-label,
html.kxm-theme-dark .licai-home .hot-feature-desc,
html.kxm-theme-dark .licai-home .hall-card-period,
html.kxm-theme-dark .licai-home .hall-count {
	color: #a3a3a3 !important;
}
html.kxm-theme-dark .licai-home .hall-tab.active .hall-tab-label,
html.kxm-theme-dark .licai-home .hot-title,
html.kxm-theme-dark .licai-home .hall-title,
html.kxm-theme-dark .licai-home .hall-card-name,
html.kxm-theme-dark .licai-home .hot-feature-title,
html.kxm-theme-dark .licai-home .quick-label {
	color: #f5f5f5 !important;
}
html.kxm-theme-dark .licai-home .hall-tab.active .hall-tab-label {
	color: #f0d78c !important;
}
html.kxm-theme-dark .licai-home .hall-tab.active .hall-tab-underline {
	background: #f0d78c !important;
}
html.kxm-theme-dark .licai-home .quick-item {
	background: transparent !important;
	box-shadow: none !important;
}
html.kxm-theme-dark .licai-home .quick-icon-wrap {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	color: #f0d78c !important;
}
html.kxm-theme-dark .licai-home .shortcut-icon-wrap {
	background: rgba(240, 215, 140, 0.08) !important;
}
html.kxm-theme-dark .licai-home .currency-dropdown,
html.kxm-theme-dark .licai-home .lang-dropdown {
	background: #3a3b4a !important;
	border-color: rgba(240, 215, 140, 0.25) !important;
	box-shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.35) !important;
}
html.kxm-theme-dark .licai-home .currency-option,
html.kxm-theme-dark .licai-home .lang-option,
html.kxm-theme-dark .licai-home .currency-unit,
html.kxm-theme-dark .licai-home .lang-name,
html.kxm-theme-dark .licai-home .currency-symbol {
	color: #f5f5f5 !important;
}
html.kxm-theme-dark .licai-home .currency-option:active,
html.kxm-theme-dark .licai-home .currency-option.active,
html.kxm-theme-dark .licai-home .lang-option:active,
html.kxm-theme-dark .licai-home .lang-option.active {
	background: rgba(240, 215, 140, 0.16) !important;
}
html.kxm-theme-dark .licai-home .currency-option.active .currency-unit,
html.kxm-theme-dark .licai-home .currency-option.active .currency-symbol,
html.kxm-theme-dark .licai-home .lang-option.active .lang-name {
	color: #f0d78c !important;
}
html.kxm-theme-dark .licai-home .hall-empty,
html.kxm-theme-dark .licai-home .hot-cover-placeholder {
	background: #2a2b38 !important;
	color: #999 !important;
}

/* ===== 我的 ===== */
html.kxm-theme-dark .page-body {
	background-color: #2d2e3b !important;
}
html.kxm-theme-dark .page-body .mine-header {
	background: linear-gradient(180deg, #1a1b24 0%, #2a2b38 100%) !important;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35) !important;
}
html.kxm-theme-dark .page-body .account-card,
html.kxm-theme-dark .page-body .mine-section,
html.kxm-theme-dark .page-body .menu-card,
html.kxm-theme-dark .page-body .coin-card,
html.kxm-theme-dark .page-body .action-card,
html.kxm-theme-dark .page-body .actions-card,
html.kxm-theme-dark .page-body .list-card,
html.kxm-theme-dark .page-body .settings-card,
html.kxm-theme-dark .page-body .feature-grid {
	background: #3a3b4a !important;
	color: #f5f5f5 !important;
	box-shadow: none !important;
	border-color: rgba(240, 215, 140, 0.15) !important;
}
html.kxm-theme-dark .page-body .main-view,
html.kxm-theme-dark .page-body .settings-section {
	background: transparent !important;
}
html.kxm-theme-dark .page-body .nickname,
html.kxm-theme-dark .page-body .bank-title,
html.kxm-theme-dark .page-body .value-main,
html.kxm-theme-dark .page-body .account-title,
html.kxm-theme-dark .page-body .section-title,
html.kxm-theme-dark .page-body .menu-text,
html.kxm-theme-dark .page-body .coin-name,
html.kxm-theme-dark .page-body .feature-label,
html.kxm-theme-dark .page-body .action-label,
html.kxm-theme-dark .page-body .settings-label,
html.kxm-theme-dark .page-body .settings-arrow,
html.kxm-theme-dark .page-body .settings-item,
html.kxm-theme-dark .page-body .pnl-label {
	color: #f5f5f5 !important;
}
html.kxm-theme-dark .page-body .id-text,
html.kxm-theme-dark .page-body .account-currency,
html.kxm-theme-dark .page-body .menu-desc,
html.kxm-theme-dark .page-body .coin-amount,
html.kxm-theme-dark .page-body .muted {
	color: #a3a3a3 !important;
}
html.kxm-theme-dark .page-body .account-title {
	color: #c9b36a !important;
}
html.kxm-theme-dark .page-body .feature-icon,
html.kxm-theme-dark .page-body .action-icon,
html.kxm-theme-dark .page-body .settings-icon,
html.kxm-theme-dark .page-body .settings-icon-bill,
html.kxm-theme-dark .page-body .settings-icon-security,
html.kxm-theme-dark .page-body .settings-icon-help,
html.kxm-theme-dark .page-body .settings-icon-setting {
	background: rgba(240, 215, 140, 0.12) !important;
	color: #f0d78c !important;
}
html.kxm-theme-dark .page-body .settings-item {
	border-top-color: rgba(255, 255, 255, 0.06) !important;
	border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}
html.kxm-theme-dark .page-body .logout-card {
	background: rgba(239, 68, 68, 0.14) !important;
	border-color: rgba(239, 68, 68, 0.35) !important;
	color: #f87171 !important;
	box-shadow: none !important;
}
html.kxm-theme-dark .page-body .logout-card .logout-text {
	color: #f87171 !important;
}
html.kxm-theme-dark .page-body .main-view {
	background: transparent !important;
}

/* 全局导航栏深色（u-navbar / navTopDiy） */
html.kxm-theme-dark .u-navbar,
html.kxm-theme-dark .u-navbar__content {
	background: #2d2e3b !important;
}
html.kxm-theme-dark .u-navbar .u-title,
html.kxm-theme-dark .u-navbar__content__title,
html.kxm-theme-dark .u-navbar .u-back-wrap .u-icon__icon {
	color: #f0d78c !important;
}

/* ===== 市场 ===== */
html.kxm-theme-dark .market-trend-page {
	background: #2d2e3b !important;
}
html.kxm-theme-dark .market-trend-page .trend-card,
html.kxm-theme-dark .market-trend-page .dynamic-card {
	background: #3a3b4a !important;
	box-shadow: none !important;
	border: 1rpx solid rgba(240, 215, 140, 0.15);
}
html.kxm-theme-dark .market-trend-page .card-title,
html.kxm-theme-dark .market-trend-page .col-user,
html.kxm-theme-dark .market-trend-page .col-category,
html.kxm-theme-dark .market-trend-page .level-select-label,
html.kxm-theme-dark .market-trend-page .level-dropdown-text {
	color: #f5f5f5 !important;
}
html.kxm-theme-dark .market-trend-page .card-subtitle,
html.kxm-theme-dark .market-trend-page .dynamic-empty,
html.kxm-theme-dark .market-trend-page .level-select-arrow {
	color: #999 !important;
}
html.kxm-theme-dark .market-trend-page .level-select,
html.kxm-theme-dark .market-trend-page .level-dropdown {
	background: #2a2b38 !important;
	border-color: rgba(240, 215, 140, 0.25) !important;
	box-shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.35) !important;
}
html.kxm-theme-dark .market-trend-page .level-dropdown-text.active {
	color: #f0d78c !important;
}
html.kxm-theme-dark .market-trend-page .subtitle-icon {
	border-color: #666 !important;
	color: #bbb !important;
}
html.kxm-theme-dark .market-trend-page .dynamic-head {
	border-bottom-color: rgba(255, 255, 255, 0.08) !important;
	color: #999 !important;
}
html.kxm-theme-dark .market-trend-page .dynamic-body {
	background: transparent !important;
}
html.kxm-theme-dark .market-trend-page .dynamic-row {
	border-bottom-color: rgba(255, 255, 255, 0.06) !important;
	color: #f5f5f5 !important;
}
html.kxm-theme-dark .market-trend-page .chart-shell {
	background: #2a2b38 !important;
	border-radius: 12rpx;
}

/* ===== 客服 / IM ===== */
html.kxm-theme-dark .kefu-page {
	background: #2d2e3b !important;
}
html.kxm-theme-dark .kefu-page .empty-text {
	color: #a3a3a3 !important;
}
html.kxm-theme-dark .im-message-page,
html.kxm-theme-dark .im-page,
html.kxm-theme-dark .message-index,
html.kxm-theme-dark .chat-page {
	background: #2d2e3b !important;
	color: #f5f5f5 !important;
}
html.kxm-theme-dark .im-message-page .search,
html.kxm-theme-dark .im-message-page .search-box,
html.kxm-theme-dark .im-message-page .to-do,
html.kxm-theme-dark .im-message-page .message-menu-box {
	background: #3a3b4a !important;
	color: #f5f5f5 !important;
}

html.kxm-theme-dark .lobby-page .meta-value {
	color: #f0d78c !important;
}
html.kxm-theme-dark .lobby-page .meta-label,
html.kxm-theme-dark .lobby-page .cd-label,
html.kxm-theme-dark .lobby-page .meta-muted {
	color: #a3a3a3 !important;
}
html.kxm-theme-dark .lobby-page .balls-row {
	border-top-color: rgba(255, 255, 255, 0.08) !important;
	background: transparent !important;
}
html.kxm-theme-dark .lobby-page .balls {
	background: transparent !important;
}

/* ===== 我的子页：设置 / 充提方式 / 提现 / 账变 ===== */
html.kxm-theme-dark .bg.theme-dark .title,
html.kxm-theme-dark .bg.theme-dark .left {
	color: #f5f5f5 !important;
}
html.kxm-theme-dark .bg.theme-dark .right text {
	color: #a3a3a3 !important;
}

html.kxm-theme-dark .deposit-method-select-page,
html.kxm-theme-dark .withdraw-method-select-page {
	background: linear-gradient(180deg, #1a1b24 0%, #2a2b38 120rpx, #2d2e3b 220rpx, #2d2e3b 100%) !important;
}
html.kxm-theme-dark .deposit-method-select-page .method-row,
html.kxm-theme-dark .withdraw-method-select-page .method-row,
html.kxm-theme-dark .deposit-method-select-page .badge-item,
html.kxm-theme-dark .withdraw-method-select-page .badge-item {
	background: #3a3b4a !important;
	border-color: rgba(240, 215, 140, 0.15) !important;
	box-shadow: none !important;
}
html.kxm-theme-dark .deposit-method-select-page .section-title,
html.kxm-theme-dark .withdraw-method-select-page .section-title,
html.kxm-theme-dark .deposit-method-select-page .method-name,
html.kxm-theme-dark .withdraw-method-select-page .method-name,
html.kxm-theme-dark .deposit-method-select-page .badge-text,
html.kxm-theme-dark .withdraw-method-select-page .badge-text {
	color: #f5f5f5 !important;
}
html.kxm-theme-dark .deposit-method-select-page .section-subtitle,
html.kxm-theme-dark .withdraw-method-select-page .section-subtitle,
html.kxm-theme-dark .deposit-method-select-page .method-hint,
html.kxm-theme-dark .withdraw-method-select-page .method-hint {
	color: #a3a3a3 !important;
}

html.kxm-theme-dark .page.theme-dark {
	background: #2d2e3b !important;
}
html.kxm-theme-dark .change-record-page .list,
html.kxm-theme-dark .change-record-page .empty {
	background: #3a3b4a !important;
	box-shadow: none !important;
}
html.kxm-theme-dark .change-record-page .type,
html.kxm-theme-dark .change-record-page .amount {
	color: #f5f5f5 !important;
}
html.kxm-theme-dark .change-record-page .time,
html.kxm-theme-dark .change-record-page .unit {
	color: #a3a3a3 !important;
}
html.kxm-theme-dark .change-record-page .amount.up {
	color: #19bb8c !important;
}
html.kxm-theme-dark .change-record-page .amount.down {
	color: #f56c6c !important;
}

/* 记录/表单类页面深色兜底 */
html.kxm-theme-dark .trade-order-history-page,
html.kxm-theme-dark .recharge-record-page,
html.kxm-theme-dark .withdrawal-record-page,
html.kxm-theme-dark .withdraw-account-manage-page,
html.kxm-theme-dark .bind-withdraw-account-page,
html.kxm-theme-dark .credit-page.theme-dark,
html.kxm-theme-dark .more-help-page.theme-dark,
html.kxm-theme-dark .lang-page.theme-dark,
html.kxm-theme-dark .page.theme-dark {
	background: #2d2e3b !important;
	color: #f5f5f5 !important;
}
html.kxm-theme-dark .recharge-record-page .card,
html.kxm-theme-dark .withdrawal-record-page .card,
html.kxm-theme-dark .trade-order-history-page .list-wrap,
html.kxm-theme-dark .withdraw-account-manage-page .account-card,
html.kxm-theme-dark .bind-withdraw-account-page .form-view,
html.kxm-theme-dark .credit-page.theme-dark .card,
html.kxm-theme-dark .more-help-page.theme-dark .search,
html.kxm-theme-dark .more-help-page.theme-dark .allData {
	background: #3a3b4a !important;
	box-shadow: none !important;
}
html.kxm-theme-dark .recharge-record-page .label,
html.kxm-theme-dark .withdrawal-record-page .label,
html.kxm-theme-dark .withdraw-account-manage-page .account-label,
html.kxm-theme-dark .trade-order-history-page .play,
html.kxm-theme-dark .trade-order-history-page .amount-line,
html.kxm-theme-dark .trade-order-history-page .time {
	color: #a3a3a3 !important;
}
html.kxm-theme-dark .recharge-record-page .value,
html.kxm-theme-dark .withdrawal-record-page .value,
html.kxm-theme-dark .withdraw-account-manage-page .account-value,
html.kxm-theme-dark .withdraw-account-manage-page .title,
html.kxm-theme-dark .trade-order-history-page .round-no,
html.kxm-theme-dark .lang-page.theme-dark .title,
html.kxm-theme-dark .lang-page.theme-dark .card,
html.kxm-theme-dark .more-help-page.theme-dark .title,
html.kxm-theme-dark .more-help-page.theme-dark .card text {
	color: #f5f5f5 !important;
}

