/* =========================================================
   CoinASX Home Theme Adaptive V136
   只负责首页颜色自适应
   不改变布局、尺寸、位置和业务功能
   ========================================================= */

html{
  --home-bg:#000000;
  --home-panel:#141518;
  --home-panel2:#1b1d21;
  --home-border:#292c31;
  --home-text:#ffffff;
  --home-sub:#9ca1a9;
  --home-muted:#6f747c;
  --home-green:#14c996;
  --home-red:#ff4d5f;
  --home-accent:#baff21;
}

html.cx-theme-light,
html[data-theme="light"],
html[data-cx-theme="light"]{
  --home-bg:#ffffff;
  --home-panel:#f4f5f7;
  --home-panel2:#eceef1;
  --home-border:#dfe2e6;
  --home-text:#111317;
  --home-sub:#747b84;
  --home-muted:#9ca2aa;
  --home-green:#0fa772;
  --home-red:#e34258;
  --home-accent:#9ee51d;
}

html.cx-theme-dark,
html[data-theme="dark"],
html[data-cx-theme="dark"]{
  --home-bg:#000000;
  --home-panel:#141518;
  --home-panel2:#1b1d21;
  --home-border:#292c31;
  --home-text:#ffffff;
  --home-sub:#9ca1a9;
  --home-muted:#6f747c;
  --home-green:#14c996;
  --home-red:#ff4d5f;
  --home-accent:#baff21;
}

/* 首页总体 */
body:has(.home.new-home),
.home.new-home,
.home.new-home .home-section{
  background:var(--home-bg)!important;
  color:var(--home-text)!important;
}

/* 顶部 */
.home.new-home .market-header,
.home.new-home .notice-row{
  background:var(--home-bg)!important;
  color:var(--home-text)!important;
  border-color:var(--home-border)!important;
}

.home.new-home .market-search{
  background:var(--home-panel)!important;
  color:var(--home-sub)!important;
}

.home.new-home .header-action,
.home.new-home .notice-row .van-icon{
  color:var(--home-text)!important;
}

/* 资产区域 */
.home.new-home .asset-card{
  background:var(--home-bg)!important;
  color:var(--home-text)!important;
  border-color:var(--home-border)!important;
  box-shadow:none!important;
}

.home.new-home .asset-label{
  color:var(--home-sub)!important;
}

.home.new-home .asset-value{
  color:var(--home-text)!important;
}

/* 快捷按钮 */
.home.new-home .quick-nav,
.home.new-home .quick-item{
  color:var(--home-text)!important;
}

.home.new-home .quick-icon{
  background:var(--home-panel)!important;
  color:var(--home-text)!important;
  border-color:var(--home-border)!important;
}

/* 行情分类 tabs */
.home.new-home .cx84-market-tabs,
.home.new-home .cx84-market-tab{
  color:var(--home-sub)!important;
}

.home.new-home .cx84-market-tab.active{
  color:var(--home-text)!important;
}

.home.new-home .cx84-market-tab.active:after{
  background:var(--home-text)!important;
}

/* 行情卡片 */
.home.new-home .market-card,
.home.new-home .cx92-mini-card,
.home.new-home [class*="market-card"],
.home.new-home [class*="mini-card"]{
  background:var(--home-panel)!important;
  border-color:var(--home-border)!important;
  color:var(--home-text)!important;
  box-shadow:none!important;
}

.home.new-home .card-title,
.home.new-home .card-title span,
.home.new-home .cx92-mini-symbol strong,
.home.new-home .cx92-mini-price{
  color:var(--home-text)!important;
}

.home.new-home .card-title small,
.home.new-home .cx92-mini-symbol span
  color:var(--home-sub)!important;
}

/* 涨跌颜色 */
.home.new-hom
.home.new-home .text-green,
.home.new-home .cx92-up{
  color:var(--home-green)!important;
}

.home.new-home .down,
.home.new-home .text-red,
.home.new-home .cx92-down{
  color:var(--home-red)!important;
}

/* 公告 / 新闻 */
.home.new-home .news,
.home.new-home .newshead,
.home.new-home .newstabs,
.home.new-home [class*="announce"],
.home.new-home [class*="n
  background:var(--home-bg)!important;
  co
  border-color:var(--home-border)!important;
}

.home.new-home .newstabs span,
.home.new-home [class*="announce"] .text-grey{
  color:var(--home-sub)!important;
}

.home.new-home .newstabs .active{
  color:var(--home-text)!important;
}

/* 底部导航 */
.home.new-home .bottom,
.home.new-home .tabbar,
.home.
  background:var(--home-panel
  border-color:var(--home-border)!important;
}

.home.new-home .nav,
.home.new-home .van-tabbar-i
  color:var(--home-sub)!important;
}

.home.new-home .nav.active,
.home.new-home .van-tabbar-item--active{
  color:var(--home-text)!important;
}

.home.new-home .nav.active b,
.home.new-home .van-tabbar-item--active .van-tabbar-item__icon{
  color:var(--home-accent)!important;
}

/* 轮播图保持原图片，不做反色 */
.home.new-home .banner-section img,
.home.new-home .ioe-swiper img{
  filter:none!important;
}

/* 主题切换平滑 */
.home.new-home,
.home.new-home .market-header,
.home.new-home .market-search,
.home.new-home .asset-card,
.home.new-home .quick-icon,
.home.new-home .market-card,
.home.new-home .cx92-mini-card,
.home.new-home .
.home.new-home .van-tabbar{
  transition:
    background-color .14s ease,
    color .14s ease,
    border-color .14s ease!important;
}
