/* 禁用子页进出动画，避免返回首页时闪一下 */
.page-slide-enter-active,
.page-slide-leave-active,
.page-slide-enter-from,
.page-slide-leave-to {
  transition: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.page,
.postlist-bg,
.menu-scroll-list,
.page-no-tab {
  contain: none !important;
}

img,
.record-cover,
.postlist-bg img {
  opacity: 1 !important;
  transition: none !important;
}

/* 首页轮播：支持手指滑动 */
.swiper-wrap {
  position: relative;
  overflow: hidden;
  padding: 10px 15px;
  touch-action: pan-y pinch-zoom;
  -webkit-user-select: none;
  user-select: none;
}
.swiper-inner {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: 100%;
  will-change: transform;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.swiper-inner.dragging {
  transition: none !important;
}
.swiper-slide {
  flex: 0 0 100% !important;
  width: 100% !important;
  min-width: 100% !important;
  height: 180px;
  overflow: hidden;
  border-radius: 8px;
}
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 分类大图缩小，加快加载观感 */
.type-card,
.shipin-img {
  height: 120px !important;
  max-height: 120px !important;
}

.load-more {
  min-height: 44px;
  line-height: 44px;
}

/* 分类列表：彻底隐藏底部加载提示（兼容旧 JS 缓存） */
.type-list-page .load-more,
.type-list-page .postlist-bg .load-more {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

/* 首页列表：隐藏「上拉加载更多」占位文案 */
.home-page .load-more {
  min-height: 0;
  padding: 0;
  font-size: 0;
  line-height: 0;
  color: transparent;
}

/* 详情页收藏：点亮态 */
.footer-icon.is-collected {
  color: #ff9500;
}
.footer-icon.is-collected img {
  filter: invert(58%) sepia(93%) saturate(1200%) hue-rotate(360deg) brightness(103%) contrast(101%);
}
