/* =========================================================
   CoinASX V138 - Home Notice Theme
   仅处理通知公告区域，不改变轮播逻辑
   ========================================================= */

html{
  --notice-bg:#000000;
  --notice-border:#23262b;
  --notice-text:#f4f5f6;
  --notice-sub:#a2a7af;
  --notice-icon:#d7d9dd;
}

html.cx-theme-light,
html[data-theme="light"],
html[data-cx-theme="light"]{
  --notice-bg:#ffffff;
  --notice-border:#e2e5e8;
  --notice-text:#14171b;
  --notice-sub:#737982;
  --notice-icon:#4b5159;
}

html.cx-theme-dark,
html[data-theme="dark"],
html[data-cx-theme="dark"]{
  --notice-bg:#000000;
  --notice-border:#23262b;
  --notice-text:#f4f5f6;
  --notice-sub:#a2a7af;
  --notice-icon:#d7d9dd;
}

/* 整行 */
.home.new-home .notice-row{
  background:var(--notice-bg)!important;
  color:var(--notice-text)!important;
  border-top-color:var(--notice-border)!important;
  border-bottom-color:var(--notice-border)!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(--notice-icon)!important;
}

/* 公告轮播容器 */
.home.new-home .notice-carousel,
.home.new-home .notice-carousel.van-swipe{
  background:transparent!important;
  color:var(--notice-text)!important;
}

/* 每一条公告文字 */
.home.new-home .notice-carousel .van-swipe-item{
  color:var(--notice-text)!important;
  background:transparent!important;
}

/* track 保持透明，不能覆盖轮播动画 */
.home.new-home .notice-carousel .van-swipe__track{
  background:transparent!important;
}

/* 如公告内含弱提示 */
.home.new-home .notice-row .text-grey,
.home.new-home .notice-row .textColor2{
  color:var(--notice-sub)!important;
}

/* 主题切换只过渡颜色，不碰 transform/transition-duration */
.home.new-home .notice-row,
.home.new-home .notice-row > .van-icon,
.home.new-home .notice-carousel .van-swipe-item{
  transition:
    background-color .14s ease,
    color .14s ease,
    border-color .14s ease!important;
}

/*
  关键：
  不覆盖 .van-swipe__track 的 transform / transition-duration，
  所以你原来的公告上下轮播功能继续正常运行。
*/
