* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f2f5fa;
  color: #1a2233;
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 18px;
  background: linear-gradient(160deg, #eaf2ff 0%, #f7f9fc 45%, #f2f5fa 100%);
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #0b7cff;
  background: #eaf3ff;
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 16px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0b7cff;
}

h1 {
  font-size: 21px;
  line-height: 1.4;
  margin: 0 0 6px;
  font-weight: 700;
}

.sub {
  font-size: 13px;
  color: #8492a8;
  margin: 0 0 22px;
}

.status {
  font-size: 14px;
  line-height: 1.6;
  color: #4a5a73;
  margin: 0 0 18px;
  min-height: 22px;
}

.status.error { color: #d93025; }

.btn {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px;
  cursor: pointer;
  font-family: inherit;
}

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, #0b7cff, #2a9df5);
  box-shadow: 0 8px 20px rgba(11, 124, 255, 0.28);
}

.btn.primary:active { transform: translateY(1px); }

.btn.ghost {
  color: #0b7cff;
  background: #f1f6ff;
  border: 1px solid #d8e7ff;
}

.qr-wrap {
  margin: 20px auto 8px;
  padding: 16px;
  border: 1px solid #e8edf5;
  border-radius: 14px;
  background: #fbfcfe;
}

.qr-wrap img {
  display: block;
  width: 200px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
}

.qr-tip {
  font-size: 12px;
  color: #8492a8;
  margin: 12px 0 0;
}

.guide {
  text-align: left;
  font-size: 13px;
  line-height: 1.75;
  color: #5b6b82;
  background: #fff8e8;
  border: 1px solid #ffe6b0;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 16px 0 4px;
}

.foot {
  font-size: 11px;
  color: #aab4c3;
  margin: 18px 0 0;
}

[hidden] { display: none !important; }
