/* ==========================================================================
   无限回调 · 登录 / 注册
   ========================================================================== */
:root{
  --a-bg:#eef1f5;--a-surface:#fff;--a-border:#e8ecf2;--a-border2:#dfe5ee;
  --a-text:#0f172a;--a-text2:#475569;--a-muted:#7c8798;
  --a-primary:#2f6bff;--a-primary-deep:#1f5be0;--a-primary-soft:#eef4ff;
  --a-green:#16a34a;--a-green-soft:#e9f8ef;--a-red:#dc2626;--a-red-soft:#fdecec;
}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;font-family:"Segoe UI","Microsoft YaHei","PingFang SC",Arial,sans-serif;background:var(--a-bg);color:var(--a-text);font-size:14px;-webkit-font-smoothing:antialiased}
a{text-decoration:none;color:inherit}
a:hover,a:focus{text-decoration:none}
.auth-control input:-webkit-autofill,
.auth-control input:-webkit-autofill:hover,
.auth-control input:-webkit-autofill:focus{
  -webkit-box-shadow:0 0 0 1000px #fff inset!important;
  -webkit-text-fill-color:var(--a-text)!important;
  transition:background-color 9999s ease-out 0s;
}
.ico{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.auth-split{display:flex;min-height:100vh}

.auth-left{flex:1.15;padding:34px 56px 44px;display:flex;flex-direction:column;position:relative;overflow:hidden}
.auth-left::before{content:"";position:absolute;right:-180px;top:-160px;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,rgba(47,107,255,.10),transparent 65%)}
.auth-brand{display:flex;align-items:center;gap:10px;position:relative;z-index:1}
.brand-mark{width:36px;height:36px;border-radius:10px;background:linear-gradient(135deg,#4b8bff,#2f6bff);display:flex;align-items:center;justify-content:center;color:#fff;box-shadow:0 6px 14px rgba(47,107,255,.28);overflow:hidden;flex:0 0 36px}
.brand-mark svg{width:20px;height:20px;stroke-width:1.9}
.brand-img{object-fit:contain;background:transparent;box-shadow:none}
.brand-text{min-width:0}
.brand-name{display:block;font-size:17px;font-weight:600;line-height:1.25;word-break:break-all}
.brand-sub{display:block;font-size:11px;color:var(--a-muted);margin-top:1px}
.auth-copy{margin:auto 0;position:relative;z-index:1;max-width:470px;padding:30px 0}
.auth-copy h1{font-size:40px;line-height:1.25;font-weight:700;letter-spacing:-.02em;margin:0 0 18px}
.auth-copy h1 em{font-style:normal;color:var(--a-primary)}
.auth-copy p{font-size:15px;color:var(--a-text2);line-height:1.8;margin:0 0 26px}
.auth-points{display:flex;flex-direction:column;gap:14px}
.auth-point{display:flex;align-items:flex-start;gap:11px;font-size:14px;color:var(--a-text2)}
.auth-point .tick{width:22px;height:22px;border-radius:7px;background:var(--a-green-soft);color:var(--a-green);display:flex;align-items:center;justify-content:center;flex:0 0 22px;margin-top:1px}
.auth-point .tick svg{width:13px;height:13px;stroke-width:2.4}
.auth-left-foot{position:relative;z-index:1;font-size:12.5px;color:var(--a-muted);display:flex;gap:18px;align-items:center}
.auth-left-foot b{color:var(--a-text2);font-weight:600}

.auth-right{flex:1;min-width:0;background:#fff;border-left:1px solid var(--a-border);display:flex;flex-direction:column;justify-content:center;align-items:center;padding:48px 32px 76px;position:relative}
.auth-form{width:100%;max-width:380px;min-width:0}
.auth-head{margin-bottom:28px}
.auth-head h2{font-size:24px;font-weight:700;letter-spacing:-.01em;margin:0 0 8px}
.auth-head p{font-size:13.5px;color:var(--a-muted);margin:0}
.auth-field{margin-bottom:16px}
.auth-field label{display:block;font-size:13px;color:var(--a-text2);margin-bottom:8px;font-weight:500}
.auth-control{height:46px;border:1px solid var(--a-border2);border-radius:10px;background:#fff;display:flex;align-items:center;gap:10px;padding:0 13px;transition:.15s}
.auth-control:focus-within{border-color:var(--a-primary);box-shadow:0 0 0 3px rgba(47,107,255,.12)}
.auth-control svg{width:17px;height:17px;color:#a3adbd}
.auth-control input{flex:1;border:none;outline:none;font-size:14px;color:var(--a-text);font-family:inherit;background:transparent;min-width:0}
.auth-control input::placeholder{color:#b3bcc9}
.auth-control .eye{cursor:pointer;color:#a3adbd}
.auth-row{display:flex;align-items:center;justify-content:space-between;margin:2px 0 20px;font-size:13px}
.auth-check{display:flex;align-items:center;gap:7px;color:var(--a-text2);cursor:pointer}
.auth-check input{width:15px;height:15px;accent-color:var(--a-primary);cursor:pointer}
.auth-link{color:var(--a-primary);font-weight:500}
.auth-link:hover{color:var(--a-primary-deep)}
.auth-code-row{display:flex;align-items:center;gap:10px}
.auth-code-row .auth-control{flex:1;min-width:0}
.auth-code-btn{height:46px;padding:0 13px;border:1px solid var(--a-primary);border-radius:10px;background:var(--a-primary-soft);color:var(--a-primary);font-size:13px;font-weight:500;font-family:inherit;white-space:nowrap;cursor:pointer;transition:.15s}
.auth-code-btn:hover{background:#e3edff}
.auth-code-btn:disabled{opacity:.55;cursor:not-allowed}
.auth-help{font-size:12px;color:var(--a-muted);line-height:1.5;margin-top:7px}
.auth-btn{width:100%;height:46px;border:none;border-radius:10px;background:var(--a-primary);color:#fff;font-size:15px;font-weight:500;font-family:inherit;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 8px 18px -8px rgba(47,107,255,.55);transition:.15s}
.auth-btn:hover{background:var(--a-primary-deep);transform:translateY(-1px)}
.auth-btn[disabled]{opacity:.6;cursor:not-allowed;transform:none}
.auth-alert{border:1px solid var(--a-border);border-radius:10px;padding:11px 14px;font-size:13px;margin-bottom:16px;line-height:1.6}
.auth-alert.danger{background:var(--a-red-soft);border-color:#f6cfcf;color:#b91c1c}
.auth-alert.success{background:var(--a-green-soft);border-color:#c9ecd6;color:#166534}
.auth-alert.info{background:var(--a-primary-soft);border-color:#d8e4ff;color:#1e40af}
.auth-switch{text-align:center;font-size:13.5px;color:var(--a-muted);margin:22px 0 0;text-decoration:none}
.auth-switch a{display:inline-flex;align-items:center;height:28px;padding:0 11px;border-radius:7px;background:var(--a-primary-soft);color:var(--a-primary);font-weight:500;font-size:13px;margin-left:7px;text-decoration:none!important;border:0!important;box-shadow:none!important}
.auth-switch a:hover{background:#e3edff}
.auth-signup{text-align:center;font-size:13px;color:var(--a-muted);margin-top:6px}
.auth-signup a{color:var(--a-primary);font-weight:500}
.auth-legal{margin-top:24px;font-size:12px;color:#9aa6b8;line-height:1.7;text-align:center}
.auth-legal a{color:#7c8798;text-decoration:none!important;border:0!important;box-shadow:none!important}
.auth-legal a:hover{color:var(--a-primary);text-decoration:none!important}
.auth-right-foot{position:absolute;left:0;right:0;bottom:26px;margin:0;padding:0;text-align:center;font-size:12px;color:#a3adbd}

@media (max-width:900px){
  .auth-left{display:none}
  .auth-right{border-left:none;min-height:100vh}
}
@media (max-width:480px){
  .auth-right{padding:40px 20px}
  .auth-card{padding:28px 22px}
  .auth-simple{padding:18px 12px}
}

/* 简单卡片页：验证 / 找回 / 重置 */
.auth-simple{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:28px 18px;background:var(--a-bg)}
.auth-card{width:100%;max-width:440px;background:#fff;border:1px solid var(--a-border);border-radius:16px;padding:34px 32px;box-shadow:0 18px 40px -28px rgba(15,23,42,.22)}
.auth-card .auth-brand{margin-bottom:26px}
.auth-card h1{font-size:22px;font-weight:700;margin:0 0 8px;letter-spacing:-.01em}
.auth-card .sub{font-size:13.5px;color:var(--a-muted);margin:0 0 22px;line-height:1.7}
.auth-card .auth-btn{margin-top:6px}
.auth-card .auth-links{margin-top:18px;font-size:13px;color:var(--a-muted);text-align:center}
.auth-card .auth-links a{color:var(--a-primary);font-weight:500}
