:root {
  color-scheme: dark;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background: #101010;
  --cream: #fff7d7;
  --muted: #aaa697;
  --gold: #f7df74;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #101010; }
body { display: flex; justify-content: center; }
.page-shell {
  position: relative;
  width: min(100%, 750px);
  min-height: 100vh;
  overflow: hidden;
  padding-bottom: 54px;
  background: #111 url("./beauty_bg-BDnUd7Eh.png") top center / 100% auto no-repeat;
}
.hero { display: block; width: 100%; height: auto; }
.verify-panel { width: calc(100% - 24px); margin: -1px auto 0; padding: 29px 10px 21px; border: 1px solid rgba(145,145,145,.42); border-radius: 10px; background: rgba(29,29,29,.94); box-shadow: 0 0 12px rgba(255,255,255,.08), 0 8px 18px rgba(0,0,0,.26); text-align: center; }
.verify-panel h1 { margin: 0; color: var(--cream); font-size: clamp(25px, 5vw, 36px); line-height: 1.35; letter-spacing: 1px; }
.panel-caption { margin: 9px 0 24px; color: var(--cream); font-size: clamp(13px, 3.1vw, 18px); }
.verify-form { display: flex; gap: 12px; width: 100%; max-width: 600px; margin: 0 auto; }
.code-slots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; flex: 1; }
.code-slot { width: 100%; min-width: 0; height: 54px; padding: 0; border: 0; border-bottom: 3px solid #777; border-radius: 0; outline: none; background: transparent; color: var(--cream); text-align: center; font-size: 30px; font-weight: 700; }
.code-slot:focus { border-bottom-color: var(--gold); box-shadow: none; }
.verify-form button { display: none; }
.verify-form button:active { transform: translateY(1px); }
.form-message { min-height: 20px; margin: 8px 0 0; color: #e6d891; font-size: 13px; }
.tips { padding: 23px 0 13px; }
.tips img { display: block; width: calc(100% - 24px); height: auto; margin: 0 auto; border: 1px solid rgba(145,145,145,.35); border-radius: 10px; box-shadow: 0 0 12px rgba(255,255,255,.07); }
.failure-modal { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.64); }
.failure-modal[hidden] { display: none; }
.failure-dialog { width: min(100%, 600px); padding: 28px 34px 24px; border-radius: 13px; background: #fff; color: #555; box-shadow: 0 15px 45px rgba(0,0,0,.35); }
.failure-dialog h2 { margin: 0 0 22px; color: #333; text-align: center; font-size: 30px; }
.failure-dialog p { margin: 0; font-size: 17px; line-height: 1.8; }
.failure-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.failure-actions button { height: 52px; border-radius: 28px; font-size: 17px; font-weight: 600; cursor: pointer; }
.contact-button { border: 1px solid #d8d8d8; background: #fff; color: #666; }
.dismiss-button { border: 0; background: #ffd400; color: #3a3200; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; padding: 32px 24px 0; }
.benefit { display: flex; min-width: 0; flex-direction: column; justify-content: center; align-items: center; gap: 7px; color: #d4d1bb; }
.benefit img { width: 38px; height: 38px; object-fit: contain; }
.benefit span { color: #d4d1bb; font-size: 13px; }
.result { display: flex; gap: 14px; align-items: center; width: calc(100% - 64px); margin: 10px auto 0; padding: 16px 18px; border: 1px solid rgba(247,223,116,.35); border-radius: 8px; background: rgba(35,35,34,.9); }
.result-icon { display: grid; flex: 0 0 34px; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #d9bd4b; color: #1a1914; font-size: 22px; font-weight: 700; }
.result h2 { margin: 0 0 4px; color: var(--cream); font-size: 17px; }
.result p, .result small { margin: 0; color: #b0aa99; font-size: 13px; line-height: 1.7; }
.result small b { color: #ead87b; font-weight: 400; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 460px) {
  .verify-panel { padding: 27px 4px 19px; }
  .verify-form { gap: 8px; }
  .code-slot, .verify-form button { height: 48px; font-size: 24px; }
  .code-slots { gap: 7px; }
  .tips { padding-top: 23px; }
  .benefits { padding: 31px 10px 0; gap: 3px; }
  .benefit { gap: 5px; }
  .benefit img { width: 31px; height: 31px; }
  .benefit span { font-size: 12px; }
  .failure-dialog { padding: 24px 22px 20px; }
  .failure-dialog h2 { margin-bottom: 17px; font-size: 25px; }
  .failure-dialog p { font-size: 15px; line-height: 1.65; }
  .failure-actions { gap: 12px; margin-top: 19px; }
  .failure-actions button { height: 46px; font-size: 16px; }
}
