/* 登录 / 注册 / 找回密码（/sign-in /sign-up /forgot-password /user/reset，静态页 /usage/auth/）。
   左边品牌区（固定深色，和 Logo 同色系：深海军蓝 + 金色），右边表单卡片（跟随站点深浅色）。≤ 959px 只显示表单。 */

.au-body { min-height: 100vh; }
.au-shell { display: grid; grid-template-columns: minmax(380px, 46%) minmax(0, 1fr); min-height: 100vh; }

/* ---- 品牌区 ---- */
.au-brand {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 40px 48px 32px;
  color: #e7ecf8; overflow: hidden;
  background:
    radial-gradient(620px 360px at 85% 8%, rgba(255, 196, 82, .16), transparent 70%),
    radial-gradient(560px 420px at 0% 100%, rgba(45, 212, 191, .14), transparent 70%),
    linear-gradient(160deg, #16244d 0%, #0b1430 55%, #070c1c 100%);
}
.au-brand::after { /* 细网格纹理 */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: linear-gradient(180deg, #000 0, transparent 85%); mask-image: linear-gradient(180deg, #000 0, transparent 85%);
}
.au-brand > * { position: relative; z-index: 1; }
.au-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.au-logo img { display: block; border-radius: 10px; }
.au-brand .au-logo { color: #fff; }
.au-pitch { max-width: 480px; }
.au-pitch h2 { font-size: 30px; line-height: 1.25; font-weight: 750; letter-spacing: -.02em; color: #fff; }
.au-hl { background: linear-gradient(100deg, #ffdc82, #f0a21f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.au-pitch > p { margin-top: 12px; font-size: 14.5px; line-height: 1.7; color: #b8c3dc; }
.au-feats { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.au-feats li { position: relative; padding-left: 30px; display: grid; gap: 2px; }
.au-feats li::before { /* 金色对勾 */
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: linear-gradient(135deg, #ffdc82, #f0a21f);
}
.au-feats li::after {
  content: ""; position: absolute; left: 6px; top: 6px; width: 5px; height: 8px; border: solid #0b1430; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.au-feats b { font-size: 14px; font-weight: 650; color: #fff; }
.au-feats span { font-size: 13px; line-height: 1.6; color: #a9b5cf; }
.au-models { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.au-models span { padding: 4px 12px; border: 1px solid rgba(255, 220, 130, .35); border-radius: 999px; font-size: 12.5px; color: #ffe3a1; background: rgba(255, 220, 130, .06); }
.au-brand-foot { font-size: 12px; color: #7f8bab; }

/* ---- 表单区 ---- */
.au-main { display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 20px 24px 28px; }
.au-top { display: flex; align-items: center; justify-content: flex-end; gap: 10px; width: 100%; max-width: 560px; min-height: 40px; }
.au-top-actions { display: flex; align-items: center; gap: 8px; }
.au-logo-sm { display: none; margin-right: auto; color: var(--ink); font-size: 15px; }
.au-card {
  width: 100%; max-width: 420px; margin: auto 0; padding: 28px 28px 24px;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 18px 48px -24px rgba(15, 23, 42, .28);
}
.au-legal { max-width: 420px; margin-top: 16px; font-size: 12px; line-height: 1.6; color: var(--muted); text-align: center; }

.au-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 22px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); }
.au-tabs a { display: block; padding: 7px 0; border-radius: 9px; text-align: center; font-size: 13.5px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.au-tabs a[aria-current="page"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(15, 23, 42, .08), 0 2px 8px -4px rgba(15, 23, 42, .18); }
.au-tabs a:hover { color: var(--ink); }

.au-head { margin-bottom: 18px; }
.au-head h1 { font-size: 22px; font-weight: 750; letter-spacing: -.01em; line-height: 1.3; }
.au-head p { margin-top: 4px; font-size: 13px; color: var(--muted); line-height: 1.6; }

.au-form { display: grid; gap: 14px; }
.au-form .input { height: 42px; font-size: 14px; }
.au-pw { position: relative; }
.au-pw .input { padding-right: 42px; }
.au-pw .au-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); }
.au-pw .au-eye:hover { color: var(--ink); background: var(--hover); }
.au-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; }
.au-link { color: var(--accent-ink); text-decoration: none; font-weight: 600; }
.au-link:hover { text-decoration: underline; text-underline-offset: 2px; }
.au-code { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.au-code .btn { height: 42px; min-width: 112px; }
.au-submit { width: 100%; height: 44px; font-size: 15px; font-weight: 650; margin-top: 2px; }
.au-alt { margin-top: 16px; font-size: 13px; color: var(--muted); text-align: center; }
.au-aff { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; font-size: 12.5px; color: var(--accent-ink); background: var(--accent-soft); }
.au-ts { display: flex; justify-content: center; min-height: 0; }
.au-ts:empty { display: none; }
.au-ts-note { font-size: 12px; color: var(--muted); text-align: center; }
.au-done { display: grid; gap: 14px; justify-items: center; text-align: center; padding: 6px 0 2px; }
.au-done .au-badge { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); }
.au-done p { font-size: 13.5px; line-height: 1.7; color: var(--ink-2); }
.au-secret { display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 12px; border: 1px dashed var(--accent); border-radius: 12px; background: var(--card-2); }
.au-secret code { flex: 1; min-width: 0; font-size: 17px; font-weight: 700; letter-spacing: .04em; overflow-wrap: anywhere; text-align: left; }
.au-who { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card-2); }
.au-who .avatar { width: 36px; height: 36px; }
.au-btns { display: grid; gap: 8px; margin-top: 14px; }
.au-btns .btn { height: 42px; width: 100%; }

@media (max-width: 959px) {
  .au-shell { grid-template-columns: minmax(0, 1fr); }
  .au-brand { display: none; }
  .au-logo-sm { display: inline-flex; }
  .au-main { padding: 14px 16px 24px; }
  .au-card { margin: 28px 0 auto; }
}
@media (max-width: 480px) {
  .au-card { padding: 22px 18px 20px; border-radius: 16px; }
  .au-head h1 { font-size: 20px; }
}
@media (prefers-reduced-motion: no-preference) {
  .au-card { animation: au-in .32s ease-out both; }
  @keyframes au-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}
