/* 首页手机端区块（index.html .dual-mobile 内） */
.dual-mobile {
  font-family: var(--font-serif);
  -webkit-font-smoothing: antialiased;
}

.dual-mobile img {
  display: block;
  border: 0;
}

.dual-mobile .page {
  position: relative;
  width: 3.75rem;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  background: #0d1a28;
}

.dual-mobile #mobileHomePage {
  background: #0d1a28;
}

.dual-mobile .mobile-swiper {
  position: relative;
  width: 3.75rem;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  touch-action: none;
  background: #0d1a28;
}

.dual-mobile .mobile-slide-frame {
  width: 3.75rem;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  border: 0;
  display: block;
  background: #eef3f8;
}

.dual-mobile .swiper-wrapper {
  height: 100%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.dual-mobile .swiper-wrapper.is-animating {
  transition: transform 0.36s ease;
}

.dual-mobile .swiper-slide {
  width: 3.75rem;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  overflow: hidden;
  position: relative;
}

.dual-mobile .swiper-slide--with-footer {
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  overflow: hidden;
  touch-action: none;
}

.dual-mobile .swiper-slide--with-footer .mobile-slide-frame {
  width: 3.75rem;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 0;
  max-height: 100dvh;
  background: transparent;
}

/* 仅首页 swiper 内图层使用绝对定位，不影响顶部导航 */
.dual-mobile .page .layer {
  position: absolute;
  left: 0;
}

.dual-mobile .bg {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.dual-mobile .hero {
  left: 0.08rem;
  top: 0.85rem;
  width: 3.49rem;
  height: 1.63rem;
}

.dual-mobile .reserve-btn {
  left: 0.89rem;
  top: auto;
  bottom: calc(0.12rem + 0.85rem + 0.95rem);
  width: 1.96rem;
  height: 0.46rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 12;
}

.dual-mobile #mobileHomePage .reserve-btn {
  bottom: calc(0.12rem + 0rem + 0.95rem);
}

.mobile-preview-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  background: rgba(0, 0, 0, 0.75);
}

.mobile-preview-overlay.is-open {
  display: block;
}

.mobile-preview-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100vw - 0.48rem);
  max-width: 3.2rem;
}

.mobile-preview-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 0.08rem;
}
