* { box-sizing: border-box; padding: 0; margin: 0; }

html, body {
  width: 100%;
  height: 100%;
  height: var(--app-vh, 100vh);
  min-height: 100vh;
  min-height: -webkit-fill-available;
  overflow: hidden;
  /* 桌面两侧不再是黑底，贴合素材粉紫氛围 */
  background:
    radial-gradient(120% 80% at 50% 0%, #ffd6e7 0%, transparent 55%),
    radial-gradient(90% 70% at 10% 100%, #f7c4ff 0%, transparent 50%),
    radial-gradient(90% 70% at 90% 100%, #ffc2d4 0%, transparent 50%),
    linear-gradient(180deg, #ffe9f2 0%, #f8d7ea 45%, #f3c7e4 100%);
  -webkit-text-size-adjust: 100%;
  touch-action: manipulation;
}

#app {
  position: fixed;
  inset: 0 auto 0 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: 100%;
  height: var(--app-vh, 100vh);
  overflow: hidden;
  background: #ffe9f2;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35), 0 18px 50px rgba(196, 69, 105, 0.22);
}

@media (min-width: 520px) {
  #app {
    border-radius: 18px;
    top: 16px;
    bottom: 16px;
    height: auto;
    max-height: calc(100vh - 32px);
    max-height: calc(var(--app-vh, 100vh) - 32px);
  }
}

.swiper, .swiper-wrapper, .swiper-slide {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  position: relative;
  overflow: hidden;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* 底部可点区域：盖住图里「立即预约」按钮 */
#click-layer {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 4%;
  height: 12%;
  z-index: 20;
  border: none;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

#click-layer:active {
  background: rgba(255, 255, 255, 0.06);
}

.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.45;
}
.swiper-pagination-bullet-active {
  opacity: 1;
  background: #ff4d6d;
}

#wechat-mask {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.72);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
#wechat-mask .box {
  background: #fff;
  border-radius: 20px;
  padding: 22px 18px;
  max-width: 320px;
  width: 100%;
}
#wechat-mask h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #222;
}
#wechat-mask p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}
