/* 手机端深色主题：依赖 html[data-theme="dark"]，由 mobile-theme.js + localStorage(mobileTheme) 控制 */

html[data-theme="dark"] {
  color-scheme: dark;
  background-color: #0b0e11 !important;
}

html[data-theme="dark"] body,
html[data-theme="dark"] .container-fluid {
  background-color: #0b0e11 !important;
  color: #eaecef !important;
}

/* base2 通用文字色 */
html[data-theme="dark"] .fcc,
html[data-theme="dark"] .fcch,
html[data-theme="dark"] .fcfs,
html[data-theme="dark"] .fccs,
html[data-theme="dark"] .fa8a,
html[data-theme="dark"] .fce5,
html[data-theme="dark"] .fc6b7785 {
  color: #848e9c !important;
}

html[data-theme="dark"] .fch,
html[data-theme="dark"] .fcf,
html[data-theme="dark"] .f121420im,
html[data-theme="dark"] .fe6,
html[data-theme="dark"] .fe6im {
  color: #eaecef !important;
}

html[data-theme="dark"] .fcy,
html[data-theme="dark"] .fbaseblue,
html[data-theme="dark"] .fcb {
  color: #00b897 !important;
}

html[data-theme="dark"] input:focus,
html[data-theme="dark"] select:focus,
html[data-theme="dark"] textarea:focus {
  background: #1e2329 !important;
  outline-color: #2b3139 !important;
}

/* 底栏 */
html[data-theme="dark"] .footer {
  background: #1e2329 !important;
  border-top-color: #2b3139 !important;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35) !important;
}

html[data-theme="dark"] .f_op_b .fcch {
  color: #848e9c !important;
}

html[data-theme="dark"] .f_op_b .fcy {
  color: #00b897 !important;
}

/* 顶栏 / 卡片 */
html[data-theme="dark"] .no_header {
  background-color: #1e2329 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4) !important;
}

html[data-theme="dark"] .shuffl-title-rtop,
html[data-theme="dark"] .shuffl-title-rbottom,
html[data-theme="dark"] .market,
html[data-theme="dark"] .zixunlist,
html[data-theme="dark"] .optionbox,
html[data-theme="dark"] .timer_t_box,
html[data-theme="dark"] .wait_box_info {
  background: #1e2329 !important;
  border-color: #2b3139 !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35) !important;
}

html[data-theme="dark"] .nfticon {
  color: #848e9c !important;
}

/* nologed */
html[data-theme="dark"] .no_header.no_header,
html[data-theme="dark"] .no_content,
html[data-theme="dark"] .no_inbox {
  background: #0b0e11 !important;
}

html[data-theme="dark"] .no_title {
  background: #1e2329 !important;
  border-bottom-color: #2b3139 !important;
}

html[data-theme="dark"] .title_txt {
  color: #eaecef !important;
}

html[data-theme="dark"] .input_title {
  color: #848e9c !important;
}

html[data-theme="dark"] .input_div,
html[data-theme="dark"] .cinput {
  background: #1e2329 !important;
  border-color: #2b3139 !important;
  color: #eaecef !important;
}

html[data-theme="dark"] .bi_right {
  color: #eaecef !important;
}

html[data-theme="dark"] .regxybox {
  color: #848e9c !important;
}

/* 用户资产页 user/index 内联区块 */
html[data-theme="dark"] .findbox {
  background: #0b0e11 !important;
}

html[data-theme="dark"] .titlebox {
  background: #1e2329 !important;
}

html[data-theme="dark"] .listbox {
  background: #1e2329 !important;
  border-color: #2b3139 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
  color: #eaecef !important;
}

html[data-theme="dark"] .dongbox_cbox {
  background: #1e2329 !important;
  color: #eaecef !important;
}

html[data-theme="dark"] .allmoneybox {
  background: linear-gradient(135deg, #1a2332 0%, #0d1320 100%) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45) !important;
}

/* 行情 trade/index */
html[data-theme="dark"] .titlebox[style],
html[data-theme="dark"] div.titlebox {
  background: #0b0e11 !important;
}

html[data-theme="dark"] .symboltitle {
  background: #0b0e11 !important;
}

html[data-theme="dark"] .listbox {
  background: #0b0e11 !important;
}

html[data-theme="dark"] .findbox[style],
html[data-theme="dark"] .findbox {
  background: #2b3139 !important;
}

html[data-theme="dark"] .symbol_t {
  background: #2b3139 !important;
  color: #eaecef !important;
}

html[data-theme="dark"] .emptybox {
  background: #0b0e11 !important;
}

html[data-theme="dark"] .bgfcc {
  background: #1e2329 !important;
}

html[data-theme="dark"] a:hover,
html[data-theme="dark"] a:link,
html[data-theme="dark"] a:visited,
html[data-theme="dark"] a:active {
  color: #eaecef !important;
}

/* 不在外层页面展示悬浮昼夜切换（仅个人中心等入口可切换，见 uoption） */
.mobile-theme-fab {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  position: fixed;
  left: -9999px;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* 覆盖部分页面内联样式中的浅色块（充提、认证等） */
html[data-theme="dark"] .titlebox {
  background: #1e2329 !important;
}

html[data-theme="dark"] .contentbox_line,
html[data-theme="dark"] .imgbox,
html[data-theme="dark"] .textbox,
html[data-theme="dark"] .zz_inputbox {
  background: #1e2329 !important;
  border-color: #2b3139 !important;
}

html[data-theme="dark"] .zz_input {
  color: #eaecef !important;
}

html[data-theme="dark"] .imgbox_3 {
  background: #1e2329 !important;
  border-color: #2b3139 !important;
  color: #00b897 !important;
}

html[data-theme="dark"] .imgbox_4 {
  border-top-color: #2b3139 !important;
}

html[data-theme="dark"] .klinebox,
html[data-theme="dark"] .klinetitle {
  background: #0b0e11 !important;
}

html[data-theme="dark"] .dong_con {
  background: #1e2329 !important;
}

html[data-theme="dark"] .dong_find_box,
html[data-theme="dark"] .dong_symbox {
  background: #2b3139 !important;
}

html[data-theme="dark"] .showbtn {
  background: #0052fe !important;
  color: #fff !important;
}

/* ========== 行情首页 tradelist：轮播、重点币 ========== */
html[data-theme="dark"] .carousel-inner,
html[data-theme="dark"] .carousel-inner[style*="background"] {
  background: #1e2329 !important;
}

html[data-theme="dark"] .zixunconten {
  background: #1e2329 !important;
}

html[data-theme="dark"] .zixunlist [style*="background: #e8eaed"],
html[data-theme="dark"] .zixunlist [style*="background:#e8eaed"] {
  background: #2b3139 !important;
}

html[data-theme="dark"] .scroll-to-notice a,
html[data-theme="dark"] .scrollDiv li a {
  color: #848e9c !important;
}

html[data-theme="dark"] .shuffl-fnc-bar {
  border-top: none !important;
  background: linear-gradient(
    to top,
    rgba(30, 35, 41, 0.96),
    rgba(30, 35, 41, 0.35)
  ) !important;
}

html[data-theme="dark"] .shuffl-fnc-bar-hd {
  color: #848e9c !important;
}

html[data-theme="dark"] .ricon {
  background: #2b3139 !important;
  color: #eaecef !important;
}

/* ========== 币币交易 trans：K 线区、成交记录、底栏 ========== */
html[data-theme="dark"] .transbtnbox {
  background: #1e2329 !important;
  border-top-color: #2b3139 !important;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35) !important;
}

html[data-theme="dark"] .klinebox [style*="f5f6fa"],
html[data-theme="dark"] .klinebox [style*="F5F6FA"] {
  background: #0b0e11 !important;
}

html[data-theme="dark"] .tradlist,
html[data-theme="dark"] .tradetitle {
  color: #eaecef;
}

html[data-theme="dark"] #centerbox .bi-text-indent-left::before,
html[data-theme="dark"] #centerbox .bi-text-indent-left {
  color: #eaecef !important;
}

html[data-theme="dark"] .fe6 {
  color: #eaecef !important;
}

/* ========== transinfo：交易页整体、表单、列表、侧栏 ========== */
html[data-theme="dark"] body[style*="f5f6fa"],
html[data-theme="dark"] body[style*="F5F6FA"] {
  background: #0b0e11 !important;
}

html[data-theme="dark"] .content_title,
html[data-theme="dark"] .contentbox {
  background: #0b0e11 !important;
  border-bottom-color: #2b3139 !important;
}

html[data-theme="dark"] .tradebox {
  background: #0b0e11 !important;
}

html[data-theme="dark"] .bghc {
  background: #2b3139 !important;
}

html[data-theme="dark"] .inputbox,
html[data-theme="dark"] .inputbox_float {
  background: #1e2329 !important;
  border-color: #2b3139 !important;
}

html[data-theme="dark"] .xjinput {
  background: #1e2329 !important;
  color: #eaecef !important;
}

html[data-theme="dark"] .borderright {
  border-right-color: #2b3139 !important;
}

html[data-theme="dark"] .blbox_3 {
  background: #1e2329 !important;
}

html[data-theme="dark"] .symbol_list {
  background: #1e2329 !important;
}

html[data-theme="dark"] .symbol_list .sy_list_box > .sy_list_boxl:first-child span {
  color: #eaecef !important;
}

html[data-theme="dark"] .fccbox {
  background: #2b3139 !important;
}

html[data-theme="dark"] .wtlistbox {
  background: #0b0e11 !important;
}

html[data-theme="dark"] .tlistbox_1 {
  background: #2b3139 !important;
}

html[data-theme="dark"] .tlistbox_5 {
  background: #1e2329 !important;
}

html[data-theme="dark"] .o_title_box {
  background: #0b0e11 !important;
  border-bottom-color: #2b3139 !important;
}

html[data-theme="dark"] .dong_order_c {
  background: #1e2329 !important;
}

html[data-theme="dark"] .dong_order_title {
  border-bottom-color: #2b3139 !important;
}

html[data-theme="dark"] .dong_sel_box {
  border-bottom-color: #2b3139 !important;
}

html[data-theme="dark"] .dong_order_option_list,
html[data-theme="dark"] .dong_money_list_box_option {
  background: #1e2329 !important;
  border: 1px solid #2b3139 !important;
}

/* ========== tradebill：顶部 Tab 条与列表区 ========== */
html[data-theme="dark"] .contentbox_top[style*="background"],
html[data-theme="dark"] div.contentbox_top {
  background: #0b0e11 !important;
}

html[data-theme="dark"] .listbox#finishbox,
html[data-theme="dark"] .listbox#wtlistbox,
html[data-theme="dark"] .listbox#alllistbox {
  background: #0b0e11 !important;
}

html[data-theme="dark"] .xztitile,
html[data-theme="dark"] .notitile {
  color: #eaecef !important;
}

/* ========== 合约 contract：K 线区、记录、底部买涨买跌 ========== */
html[data-theme="dark"] body[style*="background:#fff"],
html[data-theme="dark"] body[style*="background: #fff"] {
  background: #0b0e11 !important;
}

html[data-theme="dark"] .btnbox {
  background: #1e2329 !important;
  border-top: 1px solid #2b3139 !important;
}

html[data-theme="dark"] .wtlistbox {
  background: #0b0e11 !important;
}

html[data-theme="dark"] .klinebox [style*="height:12px"],
html[data-theme="dark"] .klinebox [style*="height:80px"] {
  background: #0b0e11 !important;
}

html[data-theme="dark"] .symbol_list .sy_list_box > .sy_list_boxl:first-child span {
  color: #eaecef !important;
}

/* ========== 币种详情 coininfo ========== */
html[data-theme="dark"] .topbox,
html[data-theme="dark"] .contentbox .contentbox_top {
  background: #0b0e11 !important;
}

html[data-theme="dark"] .listbox_a {
  background: #1e2329 !important;
}

html[data-theme="dark"] .infobox_a {
  background: #0b0e11 !important;
}

/* ========== 用户中心 uoption：列表与容器 ========== */
html[data-theme="dark"] .container-fluid[style*="f5f6fa"],
html[data-theme="dark"] .container-fluid[style*="F5F6FA"] {
  background: #0b0e11 !important;
}

html[data-theme="dark"] .lbox {
  background: #1e2329 !important;
}

html[data-theme="dark"] .no_inbox.lbox_f_br,
html[data-theme="dark"] .no_inbox {
  background: #0b0e11 !important;
}

/* ========== K 线 iframe ordinary：容器与周期标签 ========== */
html[data-theme="dark"] #chart_container {
  background: #0b0e11 !important;
}

html[data-theme="dark"] .loding {
  background: #0b0e11 !important;
}

html[data-theme="dark"] .changInterval .interval-item {
  color: #eaecef !important;
}

html[data-theme="dark"] .changInterval .interval-item.active {
  border-bottom-color: #f0b90b !important;
}

html[data-theme="dark"] #interval_tool_bar .interval-item {
  border-color: #2b3139 !important;
  background-color: #1e2329 !important;
  color: #eaecef !important;
}

html[data-theme="dark"] #interval_tool_bar .interval-item.active,
html[data-theme="dark"] #interval_tool_bar .interval-item:hover {
  background-color: #2b3139 !important;
}

/* ========== 充币选币 / 提币选币 czcoin、txcoin ========== */
html[data-theme="dark"] html[style*="background:#fff"],
html[data-theme="dark"] html[style*="background: #fff"] {
  background-color: #0b0e11 !important;
}

html[data-theme="dark"] body[style*="background:#fff"],
html[data-theme="dark"] body[style*="background: #fff"] {
  background: #0b0e11 !important;
}

html[data-theme="dark"] .topbox,
html[data-theme="dark"] .topbox_1_b {
  background: #1e2329 !important;
}

html[data-theme="dark"] .sybolc {
  background: #2b3139 !important;
  border-color: #2b3139 !important;
  color: #eaecef !important;
}

html[data-theme="dark"] .coinlistbox,
html[data-theme="dark"] .coinlistbox_info {
  background: #0b0e11 !important;
}

html[data-theme="dark"] .coinlistbox_info_list {
  background: #1e2329 !important;
  border: 1px solid #2b3139 !important;
}

html[data-theme="dark"] .lmcoin {
  background: #00b897 !important;
  border-color: #00b897 !important;
}

/* ========== 充币记录 czlist ========== */

html[data-theme="dark"] .contentbox [style*="min-height:65vh"],
html[data-theme="dark"] .contentbox [style*="background:#fff"],
html[data-theme="dark"] .contentbox [style*="background: #fff"] {
  background: #0b0e11 !important;
}

html[data-theme="dark"] .contentbox [style*="border-bottom:1px solid #f5f5f5"] {
  background: #1e2329 !important;
  border-bottom-color: #2b3139 !important;
}

html[data-theme="dark"] .listbox[style*="f7f9fc"],
html[data-theme="dark"] .listbox {
  background: #1e2329 !important;
  border-bottom-color: #2b3139 !important;
}

/* ========== 合约 index：秒合约记录区（列表卡片、iframe 占位） ========== */
html[data-theme="dark"] .contract .wtlistbox .tlistbox_1,
html[data-theme="dark"] .wtlistbox .tlistbox_1 {
  background: #2b3139 !important;
  border: 1px solid #3c4249 !important;
}

html[data-theme="dark"] .wtlistbox .tlistbox_5 {
  color: #00b897 !important;
}

/* ========== IEO issue/index、details ========== */
html[data-theme="dark"] .issuebox {
  background: #0b0e11 !important;
}

html[data-theme="dark"] .orebox {
  background: #1e2329 !important;
  border-color: #2b3139 !important;
}

html[data-theme="dark"] .btmbox {
  background: #0b0e11 !important;
}

html[data-theme="dark"] .progress {
  background-color: #2b3139 !important;
}

html[data-theme="dark"] .top-title-b {
  background: #1a2332 !important;
}

html[data-theme="dark"] .desc-wrap {
  background: #1e2329 !important;
}

html[data-theme="dark"] .desc-wrap .content-info,
html[data-theme="dark"] .desc-wrap .content-info h2,
html[data-theme="dark"] .desc-wrap .content-info div,
html[data-theme="dark"] .desc-wrap .content-info p,
html[data-theme="dark"] .desc-wrap .content-info span {
  color: #eaecef !important;
}

/* ========== 矿池 orepool index / kjinfo / profitlist ========== */
html[data-theme="dark"] .oplist {
  background: #1e2329 !important;
}

html[data-theme="dark"] #zlbox,
html[data-theme="dark"] #dzbox,
html[data-theme="dark"] #gxbox,
html[data-theme="dark"] #myorebox {
  background: #0b0e11 !important;
}

html[data-theme="dark"] .infobox {
  background: #1e2329 !important;
  border-top-color: #2b3139 !important;
}

html[data-theme="dark"] .linecontent {
  background: #0b0e11 !important;
}

html[data-theme="dark"] .listcontent {
  border-bottom-color: #2b3139 !important;
}

html[data-theme="dark"] div#zlbox[style*="f5f6fa"] {
  background: #0b0e11 !important;
}

/* ========== 在线客服 online ========== */
html[data-theme="dark"] .headertitle,
html[data-theme="dark"] .txtbox {
  background: #1e2329 !important;
  border-top-color: #2b3139 !important;
}

html[data-theme="dark"] .textbox_3,
html[data-theme="dark"] textarea {
  background: #1e2329 !important;
  color: #eaecef !important;
  border-color: #2b3139 !important;
}

html[data-theme="dark"] .contentbox_2,
html[data-theme="dark"] .contentbox_3,
html[data-theme="dark"] .msgbox_left,
html[data-theme="dark"] .msgbox_right {
  background: #2b3139 !important;
  color: #eaecef !important;
}

/* ========== 修改密码 spwd ========== */
html[data-theme="dark"] .lbox_l,
html[data-theme="dark"] .lbox_r {
  background: #1e2329 !important;
}

/* ========== 邀请 tgcode ========== */
html[data-theme="dark"] .txtbox,
html[data-theme="dark"] .msg-box {
  background: #1e2329 !important;
}

html[data-theme="dark"] .txtbox_tb span {
  color: #eaecef !important;
}

html[data-theme="dark"] .no_header[style*="f5f6fa"] {
  background: #1e2329 !important;
}

/* ========== 通知列表 notice（ctbox） ========== */
html[data-theme="dark"] .container-fluid.ctbox[style*="f5f6fa"],
html[data-theme="dark"] .container-fluid.ctbox {
  background: #0b0e11 !important;
}

/* ========== 登录 / 注册（login/index、login/register，Dela 表单） ========== */
html[data-theme="dark"] .header_box,
html[data-theme="dark"] .no_headers.header_box {
  background: #1e2329 !important;
}

html[data-theme="dark"] .dela-presets-container-2 {
  background: #0b0e11 !important;
}

html[data-theme="dark"] #page-container,
html[data-theme="dark"] .all-dela-presets-container {
  background: #0b0e11 !important;
}

html[data-theme="dark"] .dfs {
  color: #eaecef !important;
}

html[data-theme="dark"] .fsl {
  border-bottom-color: #2b3139 !important;
}

html[data-theme="dark"] .fsr {
  color: #848e9c !important;
}

html[data-theme="dark"] .dela-presets-container-2 .dela-preset-2-1 textarea,
html[data-theme="dark"] .dela-presets-container-2 .dela-preset-2-2 textarea,
html[data-theme="dark"] #mnemonic_input {
  background: #1e2329 !important;
  border-color: #2b3139 !important;
  color: #eaecef !important;
}

html[data-theme="dark"] .dela-presets-container-2 .dela-preset-2-1 input[type="email"],
html[data-theme="dark"] .dela-presets-container-2 .dela-preset-2-1 input[type="password"],
html[data-theme="dark"] .dela-presets-container-2 .dela-preset-2-1 input[type="text"],
html[data-theme="dark"] .dela-presets-container-2 .dela-preset-2-2 input[type="email"],
html[data-theme="dark"] .dela-presets-container-2 .dela-preset-2-2 input[type="password"],
html[data-theme="dark"] .dela-presets-container-2 .dela-preset-2-2 input[type="text"],
html[data-theme="dark"] .pml {
  background: #1e2329 !important;
  border-color: #2b3139 !important;
  color: #eaecef !important;
}

html[data-theme="dark"] .pml::placeholder,
html[data-theme="dark"] .dela-preset-2-2 input::placeholder,
html[data-theme="dark"] .dela-presets-container-2 textarea::placeholder {
  color: #848e9c !important;
  opacity: 1 !important;
}

html[data-theme="dark"] .mnemonic-word {
  background: #1e2329 !important;
  color: #eaecef !important;
  border-color: #2b3139 !important;
}

html[data-theme="dark"] .btn-hover.color-4 {
  background: #1e2329 !important;
  color: #5b8cff !important;
  border-color: #0052fe !important;
}

html[data-theme="dark"] .btn-hover.color-4:active {
  background: #2b3139 !important;
}

html[data-theme="dark"] .header_box .bi-x,
html[data-theme="dark"] .header_box svg path[fill="#1a1a2e"] {
  fill: #eaecef !important;
}

html[data-theme="dark"] .header_box svg path[stroke="#1a1a2e"] {
  stroke: #eaecef !important;
}

html[data-theme="dark"] .country-select .country-list {
  background-color: #1e2329 !important;
  border-color: #2b3139 !important;
}

html[data-theme="dark"] .country-select .country-list .country {
  color: #eaecef !important;
}

html[data-theme="dark"] .country-select input,
html[data-theme="dark"] .country-select input[type="text"] {
  background: #1e2329 !important;
  color: #eaecef !important;
  border-color: #2b3139 !important;
}

html[data-theme="dark"] .country-select .country-list .country.highlight {
  background: #2b3139 !important;
}

html[data-theme="dark"] #mnemonic_loading[style*="color:#aaa"],
html[data-theme="dark"] #mnemonic_loading {
  color: #848e9c !important;
}

/* ========== transinfo：左侧交易对弹层顶部（内联白底条） ========== */
html[data-theme="dark"] #showdong .dong_con > div:first-child {
  background: #1e2329 !important;
}

html[data-theme="dark"] #showdong .dong_sel_box {
  border-bottom-color: #2b3139 !important;
}

html[data-theme="dark"] #showdong .dong_title_span {
  color: #eaecef !important;
}

html[data-theme="dark"] #showdong .dong_sel_box .sy_list_boxl span,
html[data-theme="dark"] #showdong .dong_sel_box .fa8a {
  color: #848e9c !important;
}

/* ========== contract/ctbill：合约记录（含 iframe 内嵌） ========== */
html[data-theme="dark"] #list_box {
  background: #0b0e11 !important;
}

html[data-theme="dark"] .listbox-empty {
  background: #0b0e11 !important;
  border-color: #2b3139 !important;
}

html[data-theme="dark"] .listbox-empty .fzmm,
html[data-theme="dark"] .listbox-empty span[style*="707A8A"] {
  color: #848e9c !important;
}

html[data-theme="dark"] .contentbox > div[style*="height:80px"][style*="f5f6fa"] {
  background: #0b0e11 !important;
}

html[data-theme="dark"] .listbox .progress,
html[data-theme="dark"] .listbox .progress[style*="eef0f3"] {
  background-color: #2b3139 !important;
}
