/* =========================================================
   CoinASX V139 - FULLSITE CORNER FIX
   目的：补掉 V137/V138 仍漏出的主题死角
   ========================================================= */

html{
  --cx139-bg:#000;
  --cx139-bg2:#090a0c;
  --cx139-panel:#111316;
  --cx139-panel2:#181b1f;
  --cx139-border:#292d33;
  --cx139-text:#fff;
  --cx139-sub:#a2a7af;
  --cx139-muted:#747a83;
}

html.cx-theme-light,
html[data-theme="light"],
html[data-cx-theme="light"]{
  --cx139-bg:#fff;
  --cx139-bg2:#fafbfc;
  --cx139-panel:#f4f5f7;
  --cx139-panel2:#eceef1;
  --cx139-border:#dfe2e6;
  --cx139-text:#111317;
  --cx139-sub:#737a83;
  --cx139-muted:#9aa1a9;
}

html.cx-theme-dark,
html[data-theme="dark"],
html[data-cx-theme="dark"]{
  --cx139-bg:#000;
  --cx139-bg2:#090a0c;
  --cx139-panel:#111316;
  --cx139-panel2:#181b1f;
  --cx139-border:#292d33;
  --cx139-text:#fff;
  --cx139-sub:#a2a7af;
  --cx139-muted:#747a83;
}

/* =========================
   1. 页面最外层死角
   ========================= */
html,
body,
#app,
#app > div,
.w-full.h-full,
.appContent,
.mainBackground{
  background:var(--cx139-bg)!important;
  color:var(--cx139-text)!important;
}

/* 防止顶部/底部出现白边 */
body,
#app,
.appContent{
  border-color:var(--cx139-border)!important;
}

/* =========================
   2. 首页顶部区域
   ========================= */
.home.new-home,
.home.new-home .market-header,
.home.new-home .home-section,
.home.new-home .banner-section{
  background:var(--cx139-bg)!important;
  color:var(--cx139-text)!important;
}

.home.new-home .market-header{
  border-bottom:1px solid var(--cx139-border)!important;
}

.home.new-home .market-search{
  background:var(--cx139-panel)!important;
  border:1px solid var(--cx139-border)!important;
  color:var(--cx139-sub)!important;
}

.home.new-home .market-search span,
.home.new-home .market-search .van-icon{
  color:var(--cx139-sub)!important;
}

.home.new-home .header-actions,
.home.new-home .header-action{
  color:var(--cx139-text)!important;
}

/* =========================
   3. 你红框标记的通知公告
   ========================= */
.home.new-home .notice-row{
  background:var(--cx139-panel)!important;
  color:var(--cx139-text)!important;
  border:1px solid var(--cx139-border)!important;
  box-shadow:none!important;
}

.home.new-home .notice-row .notice-carousel,
.home.new-home .notice-row .van-swipe,
.home.new-home .notice-row .van-swipe__track{
  background:transparent!important;
}

.home.new-home .notice-row .van-swipe-item{
  background:transparent!important;
  color:var(--cx139-text)!important;
}

.home.new-home .notice-row > .van-icon,
.home.new-home .notice-row .van-icon-volume-o,
.home.new-home .notice-row .van-icon-bars{
  color:var(--cx139-text)!important;
}

/* 外层可能有旧白色/黑色包裹 */
.home.new-home .notice-row::before,
.home.new-home .notice-row::after{
  background:transparent!important;
  border-color:var(--cx139-border)!important;
}

/* =========================
   4. 首页资产、快捷按钮、卡片
   ========================= */
.home.new
  background:var(--cx139-bg)!important;
  color:var(--cx139-text)!important;
  border-color:var(--cx139-border)!important;
}

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

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

.home.new-home .quick-item{
  color:var(--cx139-text)!important;
}

.home.new-home .market-card,
.home.new-home .cx92-mini-card,
.home.
.home.new-home [class*="mini-card"]{
  back
  border-color:var(--cx139-border)!important;
  color:var(--c
}

/* =========================
   5. Tabs / 新闻 / 公告 / 榜单
   ========================= */
.home.new-home .cx84-market-tabs,
.home.new-home .tabs,
.home.new-home .subtabs,
.home.new-home .news,
.home.new-home [class*
.home.new-home [class*="news"
  background:var(--cx139-bg)!important;
  color:var(--cx139-text)!important;
  border-color:var(--cx139
}

.home.new-home .cx84-market-tab,
.home.new-home .tabs span,
.home.new-home .subtabs span{
  color:var(--cx139-sub)!important;
}

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

/* =========================
   6. 底部导航栏
   ========================= */
.home.new-home .bottom,
.home.new-home .van-tabbar,
.home.new-home [class*="bottom-nav"]{
  background:var(--cx139-panel)!important;
  border-color:var(--cx139-border)!important;
}

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

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

/* =========================
   7. 全站 Vant 弹窗/输入/列表
   ========================= */
.van-popup,
.van-dialog,
.van-action-sheet,
.van-picker,
.van-calendar,
.van-dropdown-item__content,
.van-cell-group{
  background:var(--cx139-bg)!important;
  color:var(--cx139-text)!important;
}

.van-cell,
.van-field,
.van-search,
.van-grid-item__content,
.van-sidebar-item{
  background:var(--cx139-panel)!important;
  color:var(--cx139-text)!important;
  border-color:var(--cx139-border)!important;
}

.van-cell__title,
.van-cell__value,
.van-field__control,
.van-field__label{
  color:var(--cx139-text)!important;
}

.van-cell__label,
.van-tab,
.van-tabbar-item{
  color:var(--cx139-sub)!important;
}

/* =========================
   8. 二开 CSS 常见遗漏
   ========================= */
[class*="cx8"],
[class*="cx9"],
[class*="cx10"],
[class*="cx11"],
[class*="cx12"],
[class*="cx13"]{
  border-color:var(--cx139-border);
}

/* 只处理明确的容器类，不改红绿业务色 */
[class*="cx"][class*="panel"],
[class*="cx"][class*="card"],
[class*="cx"][class*="box"],
[class*="cx"][class*="sheet"],
[class*="cx"][class*="modal"]{
  background-color:var(--cx139-panel)!important;
  color:var(--cx139-text)!important;
  border-color:var(--cx139-border)!important;
}

/* =========================
   9. 清理硬编码白色边框/背景
   ========================= */
html.cx-theme-dark [style*="background-color: white"],
html[data-theme="dark"] [style*="background-color: white"],
html[data-cx-theme="dark"] [style*="background-color: white"],
html.cx-theme-dark [style*="background: white"],
html[data-theme="dark"] [style*="background: white"],
html[data-cx-theme="dark"] [style*="background: white"]{
  background:var(--cx139-panel)!important;
}

html.cx-theme-dark [style*="border-color: white"],
html[data-theme="dark"] [style*="border-color: white"],
html[data-cx-theme="dark"] [style*="border-color: white"]{
  border-color:var(--cx139-border)!important;
}

html.cx-theme-light [style*="background-color: black"],
html[data-theme="light"] [style*="background-color: black"],
html[data-cx-theme="light"] [style*="background-color: black"],
html.cx-theme-light [style*="background: black"],
html[data-theme="light"] [style*="background: black"],
html[data-cx-theme="light"] [style*="background: black"]{
  background:var(--cx139-panel)!important;
}

/* =========================
   10. input / select / placeholder
   ========================= */
input,
textarea,
select{
  color:var(--cx139-text)!important;
  border-color:var(--cx139-border)!important;
}

input::placeholder,
textarea::placeholder{
  color:var(--cx139-muted)!important;
}

.inputBackground,
.iptbox,
.input-box,
.select-box,
.select-wrap{
  background:var(--cx139-panel)!important;
  border-color:var(--cx139-border)!important;
  color:var(--cx139-text)!important;
}

/* =========================
   11. 图片与banner保持原图
   ========================= */
img,
video,
canvas,
svg{
  filter:none!important;
}

/* =========================
   12. 不影响轮播和实时行情动画
   ========================= */
.notice-carousel .van-swipe__track{
  /* 不设置 transition/transform */
}

.deep-data *,
.market-card .price,
.quote-price{
  animation:none!important;
  transition:none!important;
}
