/* 衣镜 · 注册/登录页 */
.auth{display:grid;grid-template-columns:1fr 1fr;min-height:calc(100vh - var(--hdr));margin:-22px -20px -72px;overflow:hidden}
.auth-side{background:var(--ink);color:var(--bg);padding:48px clamp(28px,5vw,72px);display:flex;flex-direction:column;gap:32px;position:relative;overflow:hidden}
.auth-side::after{content:"";position:absolute;right:-120px;bottom:-160px;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle at 30% 30%,rgba(244,52,74,.35),transparent 65%);filter:blur(10px);pointer-events:none}
.auth-brand{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none}
.auth-brand .brand-mark{background:var(--bg);color:var(--ink)}
.auth-brand .brand-word b{color:var(--bg)}
.auth-brand .brand-word small{color:rgba(255,255,255,.45)}
.auth-side-body{margin-top:auto;margin-bottom:auto;max-width:440px;display:flex;flex-direction:column;gap:18px}
.auth-side .eyebrow{color:rgba(255,255,255,.5)}
.auth-side .eyebrow::before{background:var(--ac)}
.auth-side h1{font:600 clamp(30px,3.4vw,44px)/1.22 var(--serif);color:#fff;letter-spacing:-.01em}
.auth-side p{color:rgba(255,255,255,.62);font-size:13.5px;line-height:1.8}
.auth-points{display:flex;flex-direction:column;gap:14px;list-style:none;padding:0;margin:4px 0 0}
.auth-points li{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:rgba(255,255,255,.7);line-height:1.6}
.auth-points svg{flex:none;margin-top:2px;color:var(--ac)}
.auth-points b{color:#fff;font-weight:600;margin-right:4px}
.auth-side-foot{font-size:11.5px;letter-spacing:.08em;color:rgba(255,255,255,.38);margin:0}

.auth-main{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:36px 24px 48px}
.auth-card{width:100%;max-width:440px;background:var(--bg2);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--sh2);padding:24px}
.auth-tabs{width:100%;display:flex}
.auth-tabs button{flex:1}
.auth-form{display:flex;flex-direction:column;gap:14px;margin-top:18px}
.auth-form .field>span{font-size:12px}
.auth-form .input{font-size:16px;height:46px}
.auth-pw{position:relative;display:flex;align-items:center;gap:6px}
.auth-pw .input{padding-right:12px}
.auth-pw .btn{flex:none}
.auth-genders{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.auth-gender{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:11px 12px;border-radius:12px;background:var(--sf);border:1.5px solid transparent;text-align:left;transition:.18s}
.auth-gender:hover{background:var(--sf2)}
.auth-gender b{font-size:13.5px;color:var(--ink)}
.auth-gender small{font-size:10.5px;color:var(--mu);white-space:nowrap}
.auth-gender-ico{color:var(--tx2);margin-bottom:2px}
.auth-gender.on{border-color:var(--ink);background:var(--bg2)}
.auth-gender.on .auth-gender-ico{color:var(--ac)}
.auth-ages{flex-wrap:wrap}
.auth-agree{display:flex;gap:9px;align-items:flex-start;font-size:12px;color:var(--tx2);line-height:1.6;cursor:pointer}
.auth-agree input{margin-top:3px;width:16px;height:16px;accent-color:var(--ac);flex:none}
.auth-err{display:none;margin:12px 0 0;font-size:12.5px;color:var(--bad);background:var(--bads);border-radius:8px;padding:8px 10px;line-height:1.5}
.auth-err.show{display:block}
.auth-guest{background:transparent;color:var(--tx2);font-size:13px;text-decoration:underline;text-underline-offset:3px}
.auth-guest:hover{color:var(--ink)}
.auth-legal{max-width:440px;font-size:11.5px;color:var(--mu);line-height:1.7;text-align:center;margin:0}
@media (max-width:900px){
  .auth{grid-template-columns:1fr;margin:-14px -16px calc(-96px - env(safe-area-inset-bottom))}
  .auth-side{padding:26px 20px 28px;gap:18px}
  .auth-side-body{margin:8px 0 0;gap:12px}
  .auth-side h1{font-size:28px}
  .auth-side p{font-size:13px}
  .auth-points{gap:10px}
  .auth-side-foot{display:none}
  .auth-main{padding:22px 16px 40px}
  .auth-card{padding:18px}
}
