/* 首页 Liquid Glass 轮播：纯图片 */

.lg-carousel {
  padding: 4px 16px 8px;
}

.lg-carousel-card {
  position: relative;
  height: auto;
  aspect-ratio: 1983 / 793;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  background: #F2F2F7;
}

.lg-carousel-viewport {
  position: relative;
  z-index: 1;
  height: 100%;
  overflow: hidden;
  touch-action: pan-y;
}

.lg-carousel-track {
  display: flex;
  height: 100%;
  will-change: transform;
}

.lg-slide {
  flex: 0 0 100%;
  margin: 0;
  height: 100%;
  overflow: hidden;
}
.lg-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.lg-carousel-glass {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  border: 0.5px solid rgba(255, 255, 255, .55);
  box-shadow:
    inset 0 0 0 0.5px rgba(255, 255, 255, .45),
    inset 0 1px 0 rgba(255, 255, 255, .62),
    0 10px 28px -16px rgba(0, 0, 0, .18);
}
.lg-carousel-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .22) 0%, transparent 36%);
}

.lg-carousel-dots[hidden] { display: none; }
.lg-carousel-dots {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}
.lg-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, .42);
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, .08);
  pointer-events: auto;
  cursor: pointer;
  transition:
    width 380ms var(--apple-spring),
    background 280ms var(--apple-spring);
}
.lg-dot.is-on {
  width: 18px;
  background: rgba(255, 255, 255, .94);
}

@media (prefers-reduced-motion: reduce) {
  .lg-carousel-track,
  .lg-dot {
    transition: none;
  }
}
