@charset "UTF-8";

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background-color: #070707;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  color: #f0d78c;
  background: radial-gradient(ellipse at 50% 0%, #3a3018 0%, #120f0a 38%, #070707 72%);
}

.page {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 18px 14px 22px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  display: block;
  width: min(72%, 280px);
  height: auto;
  animation: fadeDown 0.8s ease;
}

.logo-pc {
  display: none;
}

.divider {
  display: block;
  width: min(78%, 320px);
  height: auto;
  margin-top: 8px;
}

.hero {
  display: block;
  width: min(92%, 420px);
  height: auto;
  margin-top: 10px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.panel {
  width: 100%;
  box-sizing: border-box;
  margin-top: 0;
  padding: 12px 10px;
  background: rgba(12, 10, 8, 0.92);
  border: 1px solid #c6a15a;
  border-radius: 16px;
  box-shadow: 0 0 22px rgba(198, 161, 90, 0.16);
}

.row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.row:last-child {
  margin-bottom: 0;
}

.ms,
.link,
.go {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  border-radius: 4px;
  color: #ffe7a3;
  font-weight: 700;
  background: linear-gradient(180deg, #3a3224 0%, #1a1610 100%);
  border: 1px solid #c6a15a;
  box-shadow: inset 0 1px 0 rgba(255, 230, 170, 0.25);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
}

.ms {
  width: 58px;
  flex: none;
  font-size: 13px;
}

.ms.fast {
  color: #ffe7a3;
}

.ms.mid {
  color: #e0b44a;
}

.ms.slow {
  color: #d7a15a;
}

.link {
  flex: 1;
  min-width: 0;
  padding: 0 6px;
  font-size: 13px;
  white-space: nowrap;
}

.go {
  width: 78px;
  flex: none;
  font-size: 13px;
  text-decoration: none;
}

.chev {
  display: flex;
  gap: 1px;
  flex: none;
  color: #f0b429;
}

.chev i {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid #e8c56a;
  animation: nudge 0.9s ease-in-out infinite;
}

.chev i:nth-child(2) {
  animation-delay: 0.15s;
}

.chev i:nth-child(3) {
  animation-delay: 0.3s;
}

.actions {
  width: 100%;
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.pill {
  flex: 1;
  height: 36px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.pill.solid {
  color: #1a1408;
  background: linear-gradient(180deg, #ffe7a8 0%, #e0b44a 48%, #a67c2d 100%);
  box-shadow: 0 2px 8px rgba(198, 161, 90, 0.35);
}

.pill.ghost {
  color: #f0d78c;
  background: transparent;
  border: 1px solid #c6a15a;
}

.tutorial {
  margin-top: 16px;
  color: #f0d78c;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.warn {
  margin: 10px 0 0;
  max-width: 92%;
  text-align: center;
  color: #d9d0c2;
  font-size: 12px;
  line-height: 1.5;
}

.copy {
  margin: 8px 0 0;
  color: #8d8476;
  font-size: 11px;
  letter-spacing: 0.4px;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes nudge {
  0%, 100% {
    opacity: 0.35;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(3px);
  }
}

@media (min-width: 768px) {
  .page {
    padding-top: 28px;
  }

  .logo-pc {
    display: block;
    width: 340px;
  }

  .logo-phone {
    display: none;
  }
}

@media (max-width: 767px) {
  .ms,
  .link,
  .go {
    height: 40px;
    font-size: 15px;
  }

  .ms {
    width: 64px;
  }

  .go {
    width: 86px;
  }

  .pill {
    height: 42px;
    font-size: 16px;
  }

  .warn {
    font-size: 14px;
  }

  .copy {
    font-size: 12px;
  }
}
