:root {
  color-scheme: light;
  --gold: #9a620c;
  --border: #dfd3c0;
  --ink: #211b15;
  --muted: #756b5e;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  font-family:
    "Noto Sans CJK SC", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: var(--ink);
  background: #fbf7ee;
}
button,
input {
  font: inherit;
}
.page {
  min-height: 100vh;
  padding: 24px 16px 36px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 12% 5%,
      rgba(215, 169, 84, 0.17),
      transparent 27rem
    ),
    radial-gradient(
      circle at 89% 92%,
      rgba(184, 116, 18, 0.12),
      transparent 25rem
    ),
    linear-gradient(145deg, #fffdf8, #fbf7ee 48%, #f8f0e2);
}
.wrap {
  max-width: 560px;
  margin: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 4px 22px;
}
.brand strong {
  display: block;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: #3a2a18;
}
.brand span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: #7a6b59;
}
.seal {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  height: 42px;
  border: 1px solid #c99642;
  border-radius: 50%;
  font-family: serif;
  font-size: 20px;
  color: #925d0c;
  background: linear-gradient(145deg, #fffefb, #f8e9ce);
  box-shadow:
    inset 0 0 0 3px #fff,
    0 5px 14px rgba(107, 67, 9, 0.1);
}
.secure {
  margin-left: auto;
  white-space: nowrap;
  padding: 7px 10px;
  border: 1px solid #d9bf91;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  color: #74501a;
  background: #fffcf6;
}
.card {
  position: relative;
  padding: 33px 31px 28px;
  border: 1px solid #d7c4a5;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 60px rgba(96, 63, 18, 0.12);
}
.card:before {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(184, 125, 34, 0.31);
  border-radius: 16px;
  pointer-events: none;
  content: "";
}
.ornament {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 210px;
  margin: 0 auto 13px;
  color: #b77916;
}
.ornament i {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, #c28a30);
}
.ornament i:last-child {
  transform: scaleX(-1);
}
.ornament b {
  font-size: 14px;
}
.eyebrow {
  text-align: center;
  margin: 0;
  color: #a27025;
  font-size: 10px;
  letter-spacing: 0.19em;
}
.card h1 {
  text-align: center;
  margin: 6px 0 8px;
  font:
    700 30px/1.25 "Noto Serif CJK SC",
    "Songti SC",
    serif;
  color: #442b0c;
}
.intro {
  text-align: center;
  margin: 0 0 27px;
  font-size: 14px;
  line-height: 1.75;
  color: #756b5e;
}
form {
  position: relative;
}
label {
  display: block;
  margin: 17px 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #3a3025;
}
.input-wrap {
  display: flex;
  align-items: center;
  height: 48px;
  border: 1px solid #d8c9ad;
  border-radius: 10px;
  background: #fff;
  transition: 0.2s;
}
.input-wrap:focus-within {
  border-color: #b77916;
  box-shadow: 0 0 0 3px rgba(183, 121, 22, 0.13);
}
.input-wrap span {
  width: 42px;
  text-align: center;
  color: #9a620c;
}
.input-wrap input {
  min-width: 0;
  flex: 1;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
  color: #211b15;
}
.input-wrap input::placeholder {
  color: #aaa093;
}
.captcha-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 10px;
}
.captcha-image {
  position: relative;
  height: 48px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d8c9ad;
  border-radius: 10px;
  background: #faf6ed;
  cursor: pointer;
}
.captcha-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.captcha-image span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #756b5e;
  background: #faf6ed;
}
.hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: #857968;
}
.submit {
  width: 100%;
  height: 50px;
  margin-top: 23px;
  border: 1px solid #8e5607;
  border-radius: 11px;
  color: #fffdf8;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #7f4c06, #b77916 50%, #95600d);
  box-shadow: 0 8px 20px rgba(138, 85, 8, 0.2);
  cursor: pointer;
  transition: 0.18s;
}
.submit:hover:not(:disabled) {
  transform: translateY(-1px);
}
.submit:disabled {
  opacity: 0.65;
  cursor: wait;
}
.result {
  position: relative;
  margin-top: 22px;
  border-radius: 14px;
  padding: 18px;
  outline: none;
}
.result.success {
  border: 1px solid #8bc7a7;
  background: #f1fbf5;
  color: #145c39;
}
.result.error {
  border: 1px solid #efc1bb;
  background: #fff7f6;
  color: #8d231a;
}
.result.warning {
  border: 1px solid #e9ce8b;
  background: #fffaf0;
  color: #75520c;
}
.result h2 {
  margin: 0 0 7px;
  font-size: 18px;
}
.result p {
  margin: 0;
  line-height: 1.65;
  font-size: 14px;
}
.result .result-time {
  margin-top: 13px;
  font-size: 12px;
  opacity: 0.75;
}
.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid currentColor;
}
.details div {
  min-width: 0;
}
.details small {
  display: block;
  opacity: 0.7;
  margin-bottom: 3px;
}
.details strong {
  word-break: break-all;
  font-size: 14px;
}
.privacy {
  position: relative;
  margin-top: 25px;
  padding: 14px 15px;
  border-radius: 12px;
  background: #f8f4ec;
  color: #675b4d;
}
.privacy strong {
  font-size: 13px;
}
.privacy p {
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.7;
}
footer {
  text-align: center;
  margin-top: 17px;
  font-size: 11px;
  color: #8b806f;
}
@media (max-width: 520px) {
  .page {
    padding: 16px 12px 28px;
  }
  .brand {
    margin-bottom: 16px;
  }
  .brand strong {
    font-size: 13px;
  }
  .secure {
    display: none;
  }
  .card {
    padding: 29px 21px 23px;
  }
  .card h1 {
    font-size: 27px;
  }
  .captcha-row {
    grid-template-columns: minmax(0, 1fr) 142px;
  }
  .details {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.captcha-image span[hidden] {
  display: none !important;
}
