.img-slider-box { 
  width: 100%; 
}

.img-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  cursor: grab;
  /* 移动端优化关键：允许页面正常上下滚动，同时将横向触摸优先交给轮播图处理 */
  touch-action: pan-y;
  /* 防止移动端滑动时触发文本高亮选择 */
  user-select: none;
  -webkit-user-select: none;
}

.img-slider.dragging { 
  cursor: grabbing; 
}

.img-slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.3s ease;
  will-change: transform; /* 提升移动端 GPU 硬件加速性能 */
}

.img-slide {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
}

.img-slide .img-responsive {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  -webkit-user-drag: none;
}

.img-slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

.img-slider-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.2s ease;
}

.img-slider-dots span.active {
  background: #1DB954; /* 匹配主题绿色 */
}

.img-slider-caption {
  font-style: italic;
  font-size: 14px;
  color: #555;
  margin-top: 8px;
  margin-bottom: 0;
  text-align: center;
  transition: opacity 0.2s ease;
  min-height: 20px; /* 避免文字切换时高低跳动 */
}