/* v15 微信落地 / SLG 紧迫感 */

:root {
  --red: #e53935;
  --red-dark: #c62828;
  --green: #43a047;
  --pad: 0.427rem;
  --bottom-bar: 1.92rem;
  --layout-max: var(--layout-max-px, 540px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
* { scrollbar-width: none; -ms-overflow-style: none; }
*::-webkit-scrollbar { display: none; width: 0; height: 0; }
body {
  font-family: -apple-system, 'PingFang SC', sans-serif;
  background: #fff; color: #333;
  padding-bottom: calc(var(--bottom-bar) + env(safe-area-inset-bottom, 0));
}
.page { max-width: var(--layout-max); margin: 0 auto; }

.urgent-bar {
  background: var(--red); color: #fff; text-align: center;
  font-size: 0.373rem; font-weight: 600;
  padding: calc(0.267rem + env(safe-area-inset-top, 0)) var(--pad) 0.267rem;
}
.countdown {
  display: flex; align-items: center; justify-content: center; gap: 0.16rem;
  background: #fff5f5; padding: 0.267rem; font-size: 0.347rem;
  border-bottom: 1px dashed #ffcdd2;
}
.countdown b { font-size: 0.48rem; color: var(--red); min-width: 0.56rem; text-align: center; }

.slg-hero {
  text-align: center; padding: 0.427rem var(--pad);
}
.slg-icon { width: 1.493rem; height: 1.493rem; border-radius: 0.32rem; }
.slg-hero h1 { font-size: 0.587rem; margin: 0.267rem 0 0.107rem; }
.slg-sub { font-size: 0.373rem; color: #666; }
.slg-trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.213rem;
  margin: 0.32rem 0; font-size: 0.32rem; color: var(--green); font-weight: 600;
}
.slg-dl-main {
  width: 100%; max-width: 8rem; height: 1.173rem; margin: 0.213rem auto;
  border: none; border-radius: 0.213rem;
  background: linear-gradient(180deg, #ff5252, var(--red-dark));
  color: #fff; font-size: 0.48rem; font-weight: 800;
  box-shadow: 0 0.107rem 0.32rem rgba(229,57,53,0.45);
  animation: shake 3s ease-in-out infinite;
}
@keyframes shake {
  0%, 90%, 100% { transform: translateX(0); }
  92% { transform: translateX(-2px); }
  94% { transform: translateX(2px); }
  96% { transform: translateX(-2px); }
}
.slg-meta { font-size: 0.32rem; color: #999; }

.slg-steps {
  margin: 0 var(--pad) 0.32rem; padding: 0.373rem;
  background: #f9f9f9; border-radius: 0.267rem;
}
.slg-steps h2 { font-size: 0.4rem; text-align: center; margin-bottom: 0.32rem; color: var(--red); }
.step-row { display: flex; align-items: center; justify-content: center; gap: 0.107rem; }
.step { text-align: center; flex: 1; }
.step span {
  display: inline-flex; width: 0.747rem; height: 0.747rem;
  align-items: center; justify-content: center;
  background: var(--red); color: #fff; border-radius: 50%;
  font-size: 0.373rem; font-weight: 700;
}
.step p { font-size: 0.293rem; margin-top: 0.107rem; color: #666; }
.step-arrow { font-size: 0.32rem; color: #ccc; flex-shrink: 0; }

.slg-shots { padding: 0 var(--pad); margin-bottom: 0.32rem; }
.slg-shots h2 { font-size: 0.4rem; margin-bottom: 0.267rem; }
.screenshots { display: flex; gap: 0.213rem; overflow-x: auto; }
.screenshot { flex-shrink: 0; width: 3.2rem; border-radius: 0.16rem; cursor: pointer; border: 1px solid #eee; }

.slg-quota {
  text-align: center; font-size: 0.373rem; color: #666;
  padding: 0.267rem var(--pad);
}
.slg-quota strong { color: var(--red); font-size: 0.48rem; }
.hint { font-size: 0.32rem; color: #999; text-align: center; padding: 0  var(--pad) 0.32rem; }

.preview-lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,0.9); display: none; flex-direction: column; }
.preview-lightbox.is-open { display: flex; }
body.preview-open { overflow: hidden; }
.preview-lightbox-close {
  position: absolute; top: calc(0.32rem + env(safe-area-inset-top,0)); right: var(--pad);
  width: 0.853rem; height: 0.853rem; border: none; border-radius: 50%;
  background: var(--red); color: #fff; font-size: 0.587rem;
}
.preview-lightbox-stage { flex: 1; position: relative; overflow: hidden; }
.preview-lightbox-track { display: flex; height: 100%; transition: transform 0.28s ease-out; }
.preview-lightbox-slide { flex: 0 0 100%; display: flex; align-items: center; justify-content: center; padding: 1rem var(--pad) var(--bottom-bar); }
.preview-lightbox-slide img { max-width: 100%; max-height: 100%; object-fit: contain; }
.preview-lightbox-pager { position: absolute; left: 50%; bottom: calc(1.067rem + env(safe-area-inset-bottom,0)); transform: translateX(-50%); color: #fff; font-size: 0.373rem; }

.bottom {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; z-index: 100;
  width: 100%; max-width: var(--layout-max); height: var(--bottom-bar);
  padding: 0 var(--pad); padding-bottom: env(safe-area-inset-bottom, 0);
  background: #fff; border-top: 2px solid var(--red);
  display: flex; align-items: center; justify-content: center;
}
.btn-get {
  width: 100%; max-width: 9.147rem; height: 1.28rem; border: none; border-radius: 0.213rem;
  background: linear-gradient(180deg, #ff5252, var(--red-dark));
  color: #fff; font-size: 0.48rem; font-weight: 800;
}
.btn-get:disabled { background: #ccc; }

/* 截图 PNG 已含手机边框 — 关闭 CSS 假机壳/描边 */

.device-frame,
.tvlk-frame,
.mnt-frame,
.sky-frame,
.aur-frame,
.cor-frame,
.ind-frame,
.snd-frame,
.arc-frame,
.fus-frame,
.sh-frame,
.com-frame,
.urg-frame,
.drk-frame,
.frs-frame {
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
}

.device-frame::before {
  display: none !important;
}

.tvlk-phone-shell,
.mnt-phone-shell,
.sky-phone-shell,
.cor-phone-shell,
.aur-phone-shell {
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
}

.gallery-track .screenshot,
.gallery-track .device-frame img,
.device-frame .screenshot,
.screenshots > .screenshot,
.tvlk-frame img,
.mnt-frame img,
.sky-frame img,
.tvlk-phone-shell img,
.mnt-phone-shell img,
.sky-phone-shell img,
.cor-phone-shell img {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.preview-lightbox-slide img {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

