:root { color-scheme: light; --verification-side-width: 124px; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; color: #17243b; background: #f2f7ff; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { min-width: 320px; min-height: 100vh; min-height: 100svh; margin: 0; background: radial-gradient(circle at 10% 5%, #dceaff 0, transparent 34%), radial-gradient(circle at 95% 95%, #c7ddff 0, transparent 42%), #f4f8ff; }
.page-shell { width: min(100% - 20px, 510px); min-height: 100vh; margin: 0 auto; padding: max(12px, env(safe-area-inset-top)) 0 16px; display: flex; flex-direction: column; justify-content: center; }
.hero-card { padding: 20px 20px 18px; text-align: center; border: 1px solid rgba(255,255,255,.92); border-radius: 22px; background: rgba(255,255,255,.9); box-shadow: 0 14px 40px rgba(49,95,158,.14); backdrop-filter: blur(14px); }
.compact-header { text-align: left; }
.heading-copy { min-width: 0; }
.eyebrow { margin: 0 0 3px; color: #2d6bed; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
h1 { margin: 0; color: #182844; font-size: 22px; line-height: 1.2; letter-spacing: -.03em; white-space: normal; }
.intro { margin: 8px 0 16px; color: #72829a; font-size: 13px; line-height: 1.55; text-align: left; }
.register-form { display: grid; gap: 6px; text-align: left; }
.field-label { margin-top: 3px; color: #536a8d; font-size: 12px; font-weight: 700; }
.field { width: 100%; min-width: 0; height: 44px; padding: 0 13px; color: #17243b; border: 1px solid #cddcf4; border-radius: 11px; outline: none; background: #fff; font: inherit; }
.field:focus { border-color: #3e81ef; box-shadow: 0 0 0 3px rgba(62,129,239,.13); }
.password-row { position:relative; }
.password-row .field { padding-right:48px; }
.password-toggle { position:absolute; top:50%; right:8px; display:grid; place-items:center; width:32px; height:32px; padding:0; border:0; border-radius:8px; background:transparent; color:#8294ab; cursor:pointer; transform:translateY(-50%); }
.password-toggle:hover,.password-toggle:focus-visible { color:#2869ed; background:#edf4ff; outline:none; }
.password-toggle svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.7; }
.password-toggle.is-visible .eye-slash { display:none; }
.captcha-row, .code-row { display: flex; gap: 10px; }
.captcha-image { flex: 0 0 var(--verification-side-width); height: 44px; padding: 0; overflow: hidden; border: 1px solid #c9dcff; border-radius: 11px; background: transparent; cursor: pointer; }
.captcha-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.code-button { flex: 0 0 var(--verification-side-width); padding: 0 8px; color: #2865db; border: 1px solid #c9dcff; border-radius: 11px; background: #f6f9ff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.code-button:disabled { color: #9baac1; border-color: #dde5f2; cursor: not-allowed; }
.submit-button { width: 100%; margin-top: 8px; border: 0; cursor: pointer; font-family: inherit; }
.submit-button:disabled { opacity: .65; cursor: not-allowed; }
.actions { display: grid; gap: 10px; margin-top: 10px; }
.button { display: block; padding: 13px 18px; border-radius: 12px; text-decoration: none; font-size: 15px; font-weight: 700; transition: transform .18s ease, box-shadow .18s ease; }
.button:active { transform: scale(.98); }
.primary { color: #fff; background: linear-gradient(135deg, #2869ed, #4b98ff); box-shadow: 0 10px 20px rgba(41,105,237,.24); }
.secondary { color: #2865db; border: 1px solid #c9dcff; background: #fff; }
.site-legal { display:flex; justify-content:center; flex-wrap:wrap; gap:5px 13px; margin-top:14px; padding-top:12px; border-top:1px solid #edf2f8; font-size:10px; line-height:1.5; }
.site-legal a { color:#91a0b4; text-decoration:none; }
.hint { min-height: 18px; margin: 10px 0 0; color: #95a4ba; font-size: 12px; line-height: 1.5; }
.hint.error { color: #d04444; }
.hint.success { color: #16885f; font-weight: 700; }
.form-hint { margin: 3px 0 0; text-align: left; }
.toast { position: fixed; z-index: 20; top: 50%; left: 50%; width: min(calc(100% - 36px), 330px); padding: 17px 18px 17px 62px; color: #fff; border: 1px solid rgba(255,255,255,.44); border-radius: 16px; background: linear-gradient(135deg, #2869ed, #4b98ff); box-shadow: 0 18px 42px rgba(41,105,237,.32); transform: translate(-50%, -50%); animation: toast-in .24s ease-out; }
.toast::before { position:absolute; top:50%; left:18px; display:grid; place-items:center; width:30px; height:30px; border:1px solid rgba(255,255,255,.55); border-radius:50%; background:rgba(255,255,255,.18); color:#fff; content:"✓"; font-size:17px; font-weight:800; transform:translateY(-50%); }
.toast strong, .toast span { display: block; }
.toast strong { color:#fff; font-size:15px; letter-spacing:.01em; }
.toast span { margin-top:4px; color:rgba(255,255,255,.86); font-size:13px; line-height:1.45; }
.wechat-open-guide { position:fixed; z-index:21; inset:0; background:rgba(12,31,63,.64); backdrop-filter:blur(2px); }
.wechat-guide-focus { position:absolute; top:calc(env(safe-area-inset-top) + 66px); right:12px; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:14px; width:min(310px, calc(100% - 24px)); padding:14px 15px; border:1px solid rgba(255,255,255,.86); border-radius:15px; background:linear-gradient(135deg, #fff, #f2f7ff); box-shadow:0 20px 48px rgba(5,20,46,.35); color:#315071; }
.wechat-guide-pointer { position:absolute; top:calc(env(safe-area-inset-top) + 4px); right:8px; width:72px; height:62px; overflow:visible; filter:drop-shadow(0 4px 7px rgba(5,20,46,.38)); stroke:#fff; stroke-linecap:round; stroke-linejoin:round; stroke-width:3.5; }
.wechat-guide-focus strong,.wechat-guide-focus span { display:block; }
.wechat-guide-focus strong { color:#1e385a; font-size:15px; }
.wechat-guide-focus div span { margin-top:5px; color:#637b99; font-size:13px; line-height:1.55; }
.wechat-guide-focus button { padding:7px 0; border:0; background:transparent; color:#2869ed; font:13px/1.4 inherit; font-weight:700; cursor:pointer; }
.wechat-menu-mark { display:inline-block!important; margin:0 1px; color:#2869ed; font-size:11px; font-weight:900; letter-spacing:-.16em; vertical-align:1px; }
.wechat-guide-focus b { color:#2869ed; font-weight:800; }
@keyframes toast-in { from { opacity:0; transform:translate(-50%, calc(-50% - 8px)); } to { opacity:1; transform:translate(-50%, -50%); } }
@media (max-width: 599px) {
  .page-shell { min-height: 100svh; padding: max(6px, env(safe-area-inset-top)) 0 10px; justify-content: center; }
}
@media (min-width: 600px) {
  .page-shell { padding-top: 28px; }
  .hero-card { padding: 28px 30px 24px; }
  h1 { font-size: 25px; }
  .intro { margin-left: 0; margin-bottom: 20px; }
}
