/* 首页滚动修复：避免上滑后无法再下滑 */

body.hm-page-home,
body.hm-page-home #app,
body.hm-page-home .active.wrap-content {
  height: 100% !important;
  overflow: hidden !important;
}

body.hm-page-home .active.wrap-content #main,
body.hm-page-home #main {
  position: absolute !important;
  top: 0.58rem !important;
  bottom: calc(0.68rem + env(safe-area-inset-bottom, 0px)) !important;
  left: 0 !important;
  right: 0 !important;
  width: auto !important;
  height: auto !important;
  overflow-x: hidden !important;
  overflow-y: scroll !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-y !important;
  overscroll-behavior-y: contain;
}

/* 横向卡片区：允许垂直滑动传递给 #main */
body.hm-page-home .hf-seal-row {
  touch-action: pan-x pan-y !important;
  overscroll-behavior-x: contain;
}

/* 轮播区尽量不锁死纵向滚动 */
body.hm-page-home #main > .slide .vux-slider,
body.hm-page-home #main > .slide .vux-swiper,
body.hm-page-home #main .vux-slider > .vux-swiper {
  touch-action: manipulation !important;
}

/* 浮动挂件透明区域不拦截触摸 */
body.hm-page-home .redFloating,
body.hm-page-home .sign-float,
body.hm-page-home .float-btn,
body.hm-page-home .FloatFrame {
  pointer-events: none !important;
}

body.hm-page-home .redFloating a,
body.hm-page-home .redFloating img,
body.hm-page-home .redFloating button,
body.hm-page-home .sign-float a,
body.hm-page-home .sign-float img,
body.hm-page-home .sign-float button,
body.hm-page-home .float-btn a,
body.hm-page-home .float-btn img,
body.hm-page-home .float-btn button {
  pointer-events: auto !important;
}
