/* App 下载落地页（blue）：截图轮播 + 下载按钮 */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  font-family: "PingFang SC", "Helvetica Neue", Helvetica, Arial, "Microsoft YaHei", sans-serif;
  font-size: 14px; color: #fff;
  background: #1aa8fc url(../../pic/bg.png) repeat round;
}
button { font: inherit; }

.down-wrap {
  display: flex; flex-direction: column; align-items: center;
  padding: 0 0 1.5rem;
}
.down-stage {
  position: relative;
  width: min(100vw, 500px, calc(100vh * 9 / 16));
  width: min(100vw, 500px, calc(100dvh * 9 / 16));
  aspect-ratio: 9 / 16;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}
@media (min-width: 501px) {
  .down-wrap { padding-top: 1rem; }
  .down-stage { border-radius: 14px; width: min(500px, calc((100vh - 2rem) * 9 / 16)); }
}

.down-slider { width: 100%; height: 100%; overflow: hidden; touch-action: pan-y; }
.down-track {
  display: flex; height: 100%;
  transition: transform .5s ease;
  will-change: transform;
}
.down-slide {
  flex: 0 0 100%; width: 100%; height: 100%;
  object-fit: cover; display: block;
  user-select: none; -webkit-user-drag: none;
  cursor: pointer;
}

.down-dots {
  position: absolute; left: 0; right: 0; bottom: 3%;
  display: flex; justify-content: center; gap: 6px; z-index: 5;
}
.down-dots span {
  width: 6px; height: 6px; border-radius: 3px;
  background: rgba(255, 255, 255, 0.55);
  transition: width .3s ease, background .3s ease;
}
.down-dots span.on { width: 16px; background: #fff; }

@keyframes down-zoom { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
.down-btn-wrap {
  position: absolute; left: 0; right: 0; top: 82%; z-index: 10;
  display: flex; justify-content: center;
}
.down-btn {
  padding: 0; border: 0; background: none; cursor: pointer;
  animation: down-zoom 2s ease-in-out infinite;
}
.down-btn img { display: block; width: 220px; max-width: 56vw; height: auto; }
.down-btn:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 40px; }

.down-tooltip {
  position: absolute; bottom: calc(100% + 15px); left: 50%;
  width: 230px; padding: 14px 16px;
  color: #0a84f0; background: #fff; border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  text-align: center; line-height: 1.6; letter-spacing: 1px;
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
  pointer-events: none;
}
.down-tooltip::after {
  content: ""; position: absolute; top: 100%; left: 50%; margin-left: -6px;
  border: 6px solid transparent; border-top-color: #fff;
}
.down-tooltip.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.down-text {
  width: min(100%, 500px); margin: 0; padding: 12px 14px 0;
  line-height: 1.8; font-size: 0.95rem; letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.82);
}

/* 桌面端二维码弹窗、微信/QQ 内打开提示 */
.down-mask, .down-pop, .down-prompt {
  opacity: 0; visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease;
}
.down-mask.show, .down-pop.show, .down-prompt.show { opacity: 1; visibility: visible; }
.down-mask {
  position: fixed; inset: 0; z-index: 1001;
  background: rgba(0, 20, 40, 0.5);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.down-pop {
  position: fixed; top: 45%; left: 50%; z-index: 1002;
  display: flex; flex-direction: column; align-items: center;
  padding: 16px 16px 14px;
  background: #fff; border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transform: translate(-50%, -50%);
  cursor: pointer;
}
.down-pop img { display: block; width: min(200px, 60vw); height: auto; }
.down-pop span { max-width: min(260px, 80vw); margin-top: 10px; color: #0a84f0; font-size: 1rem; letter-spacing: 1px; line-height: 1.6; text-align: center; }
.down-prompt {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
.down-prompt img { position: absolute; right: 1.1rem; top: -0.3rem; max-width: 80vw; }
