* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Helvetica Neue", "Microsoft YaHei", sans-serif;
  background: #f5f6f8;
  color: #1a1a1a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  padding: 32px 20px 16px;
  text-align: center;
}

.title {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
}

.subtitle {
  margin-top: 6px;
  font-size: 13px;
  color: #8a8f99;
}

.main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 12px;
  padding: 40px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #e6e8eb;
  border-top-color: #1677ff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading p {
  font-size: 14px;
  color: #666;
}

.tip {
  margin-top: 24px;
  font-size: 13px;
  color: #8a8f99;
}

.tip a {
  color: #1677ff;
  text-decoration: none;
}

.tip a:hover {
  text-decoration: underline;
}

.footer {
  padding: 20px;
  text-align: center;
  font-size: 12px;
  color: #b0b5bd;
}

noscript p {
  margin-top: 16px;
  font-size: 13px;
  color: #666;
}

noscript a {
  color: #1677ff;
}