* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  width: 100%;
  min-height: 100%;
  background: #000;
  color: #fff;
  font-family: "PingFang SC", "Microsoft YaHei", Arial, Helvetica, sans-serif;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}
a { color: inherit; text-decoration: none; }

.page {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 20px 18px 40px;
  display: flex;
  flex-direction: column;
  background: #000;
}

.head { padding: 2px 0 6px; }
.badge {
  display: inline-block;
  background: #40cc92;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  padding: 7px 10px;
  border-radius: 4px;
  letter-spacing: 1px;
}
.slogan {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.4px;
}

/* 参考站移动端：整张拼贴海报 */
.hero {
  width: 100%;
  margin: 14px 0 22px;
}
.hero-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.hero.is-empty {
  min-height: 280px;
  border-radius: 12px;
  background: #141414;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  font-size: 13px;
}
.hero.is-empty .hero-img { display: none; }

.actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: transform 0.15s ease, opacity 0.15s ease;
  border: 0;
  cursor: pointer;
}
.btn:active { transform: scale(0.98); opacity: 0.92; }
.btn-android {
  background: #40cc92;
  color: #0a1f14;
}
.btn-ios {
  background: transparent;
  color: #40cc92;
  border: 1.5px solid #40cc92;
}
.btn-secondary { opacity: 0.78; order: 2; }
.btn-primary-os { order: 1; }
.ico { display: inline-flex; }

.tip {
  margin-top: 18px;
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}
.site {
  margin-top: 12px;
  width: 100%;
  text-align: center;
  font-size: 13px;
}
.site a {
  color: #40cc92;
  border-bottom: 1px solid rgba(64, 204, 146, 0.35);
  padding-bottom: 2px;
}

.browser-mask {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  padding: 12px 18px 40px;
}
.browser-mask[hidden] { display: none !important; }
.browser-mask-arrow {
  display: flex;
  justify-content: flex-end;
  padding-right: 6px;
  animation: mask-bounce 1.2s ease-in-out infinite;
}
.browser-mask-box {
  margin-top: 8px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.browser-mask-title { font-size: 20px; font-weight: 800; }
.browser-mask-desc {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}
.browser-mask-desc b { color: #40cc92; font-size: 18px; }
@keyframes mask-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.ios-guide {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.78);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
}
.ios-guide[hidden] { display: none !important; }
.ios-guide-card {
  width: 100%;
  max-width: 460px;
  background: #161616;
  border: 1px solid rgba(64, 204, 146, 0.35);
  border-radius: 16px;
  padding: 20px 18px 18px;
}
.ios-guide-card h2 { font-size: 18px; margin-bottom: 12px; }
.ios-guide-card ol {
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  font-size: 14px;
}
.ios-guide-card ol b { color: #40cc92; }
.ios-guide-note {
  margin-top: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
.ios-guide-actions {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ios-guide-actions .btn { width: 100%; }
