:root {
  color-scheme: light;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #ffffff;
  color: #18211d;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-width: 320px;
  background:
    radial-gradient(circle at 50% -10%, rgba(7, 193, 96, 0.09), transparent 38%),
    #ffffff;
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.page-shell {
  width: min(100%, 520px);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding:
    calc(22px + env(safe-area-inset-top))
    24px
    calc(28px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}

.trust-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #7a847f;
  font-size: 13px;
  line-height: 1.4;
}

.shield {
  width: 21px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  background: #16bf68;
  clip-path: polygon(50% 0, 92% 16%, 88% 66%, 50% 100%, 12% 66%, 8% 16%);
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 0 24px;
}

.contact-card {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid #edf1ef;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 44px rgba(20, 51, 35, 0.08);
}

.contact-avatar {
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(20, 40, 30, 0.12);
}

.eyebrow {
  margin: 0 0 5px;
  color: #8a948f;
  font-size: 13px;
}

h1 {
  margin: 0;
  color: #17221c;
  font-size: clamp(23px, 7vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.app-route {
  margin: 50px 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.app-mark {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: #ffffff;
  font-size: 32px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(16, 32, 24, 0.14);
}

.app-mark-douyin {
  background:
    linear-gradient(135deg, rgba(43, 251, 230, 0.92), transparent 45%),
    linear-gradient(315deg, rgba(255, 0, 79, 0.92), transparent 46%),
    #101014;
}

.app-mark-wechat {
  background: linear-gradient(145deg, #16d976, #05b85d);
}

.route-dots {
  display: flex;
  gap: 9px;
}

.route-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d6dbd8;
  animation: route-pulse 1.25s ease-in-out infinite;
}

.route-dots i:nth-child(2) {
  animation-delay: 0.16s;
}

.route-dots i:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes route-pulse {
  0%,
  100% {
    transform: scale(0.82);
    opacity: 0.55;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
    background: #07c160;
  }
}

.status-copy {
  text-align: center;
}

.status-title {
  margin: 0;
  color: #4a544f;
  font-size: 20px;
  font-weight: 650;
}

.status-detail {
  min-height: 24px;
  margin: 10px 0 0;
  color: #929a96;
  font-size: 15px;
  line-height: 1.6;
}

.primary-button {
  width: 100%;
  min-height: 58px;
  margin-top: 32px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #11cd6a, #06b75b);
  box-shadow: 0 13px 28px rgba(7, 193, 96, 0.26);
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    opacity 160ms ease;
}

.primary-button:active {
  transform: scale(0.98);
  box-shadow: 0 8px 18px rgba(7, 193, 96, 0.22);
}

.primary-button:focus-visible {
  outline: 3px solid rgba(7, 193, 96, 0.26);
  outline-offset: 4px;
}

.primary-button.is-launching {
  opacity: 0.84;
}

.privacy-note {
  margin: 18px 12px 0;
  color: #9aa19d;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.fallback {
  margin-top: auto;
  padding: 18px 20px;
  border-radius: 18px;
  background: #f6f8f7;
  color: #727b76;
}

.fallback h2 {
  margin: 0 0 8px;
  color: #505954;
  font-size: 14px;
}

.fallback ol {
  margin: 0;
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.8;
}

.noscript {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  margin: 0;
  padding: 12px;
  border-radius: 12px;
  color: #8f2c2c;
  background: #fff0f0;
  text-align: center;
}

@media (max-height: 720px) {
  .app-route {
    margin: 32px 0 22px;
  }

  .hero {
    justify-content: flex-start;
    padding-top: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
