/* 登录 / 注册 专用样式 */
.auth-body { background: #eee9df; overflow-x: hidden; }
.auth-body::before { display: none; }

.auth-shell { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(480px, .98fr); min-height: 100vh; }

.auth-editorial {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #1c232a 0%, #141a1f 48%, #0f1418 100%);
  color: #e9e0cf;
  padding: 42px 54px 34px;
  display: flex; flex-direction: column;
  min-height: 100vh;
}
.editorial-weave {
  position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.028) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.022) 0 1px, transparent 1px 5px),
    radial-gradient(600px 360px at 18% 8%, rgba(181,129,60,.2), transparent 70%),
    radial-gradient(500px 300px at 88% 88%, rgba(47,107,92,.18), transparent 70%);
}
.auth-editorial::after {
  content: ""; position: absolute; inset: 18px; border: 1px solid rgba(211,166,100,.14); border-radius: 4px; pointer-events: none;
}
.auth-editorial::before {
  content: ""; position: absolute; top: 50%; left: -120px; width: 360px; height: 360px; border-radius: 50%;
  border: 1px dashed rgba(211,166,100,.13); transform: translateY(-50%); pointer-events: none;
}
.auth-brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 13px; }
.auth-brand .brand-mark { width: 44px; height: 44px; }
.brand-word strong { display: block; font-family: var(--font-display); font-size: 21px; letter-spacing: .18em; color: #f4ebd8; }
.brand-word small { display: block; font-size: 9px; letter-spacing: .22em; color: rgba(211,166,100,.66); margin-top: 3px; }

.editorial-copy { position: relative; z-index: 1; margin: auto 0; padding: 40px 0; max-width: 560px; }
.editorial-copy .eyebrow { display: flex; align-items: center; gap: 10px; font-size: 10.5px; letter-spacing: .22em; color: rgba(211,166,100,.8); margin-bottom: 22px; }
.editorial-copy .eyebrow::before { content: ""; width: 26px; height: 1px; background: rgba(211,166,100,.6); }
.editorial-copy h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(34px, 3.6vw, 52px); line-height: 1.32; letter-spacing: .04em;
  color: #f6efdf;
  text-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.editorial-copy h1::after {
  content: ""; display: block; width: 76px; height: 3px; margin-top: 26px;
  background: linear-gradient(90deg, var(--brass-2), transparent);
}
.editorial-desc { margin-top: 22px; max-width: 460px; font-size: 13px; line-height: 2; color: rgba(223,214,197,.6); letter-spacing: .02em; }
.editorial-metrics { display: flex; gap: 42px; margin-top: 38px; }
.em-item { display: flex; flex-direction: column; gap: 4px; }
.em-value { font-family: var(--font-display); font-size: 27px; color: #e8cf9f; letter-spacing: .02em; }
.em-value em { font-style: normal; font-family: var(--font-ui); font-size: 12px; color: rgba(211,166,100,.65); margin-left: 2px; }
.em-label { font-size: 10.5px; letter-spacing: .13em; color: rgba(207,200,186,.42); }
.editorial-list { margin-top: 32px; display: flex; flex-direction: column; gap: 13px; }
.editorial-list li { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: rgba(223,214,197,.62); letter-spacing: .02em; }
.editorial-list .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brass-2); box-shadow: 0 0 10px rgba(211,166,100,.6); }
.editorial-foot { position: relative; z-index: 1; font-size: 10.5px; letter-spacing: .12em; color: rgba(207,200,186,.32); }
.stitch-line { display: block; height: 1px; margin-bottom: 14px; background: repeating-linear-gradient(90deg, rgba(211,166,100,.3) 0 5px, transparent 5px 11px); }

.auth-panel {
  background: linear-gradient(170deg, #fbf8f1, #f4efe4);
  display: flex; flex-direction: column; justify-content: center;
  padding: 42px 64px 26px; position: relative;
}
.auth-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 320px at 100% 0%, rgba(181,129,60,.09), transparent 65%);
}
.auth-form-wrap { position: relative; z-index: 1; width: 100%; max-width: 440px; margin: 0 auto; }
.auth-form-head { margin-bottom: 26px; }
.auth-index { display: inline-block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: var(--brass); border: 1px solid rgba(181,129,60,.28); border-radius: 4px; padding: 2px 7px; margin-bottom: 14px; }
.auth-form-head h2 { font-family: var(--font-display); font-size: 28px; letter-spacing: .03em; color: var(--ink); font-weight: 600; }
.auth-form-head p { margin-top: 8px; font-size: 12px; color: var(--text-2); line-height: 1.8; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.auth-form .field-label { font-size: 11px; letter-spacing: .08em; color: var(--text-2); }
.auth-form .field input, .auth-form .field select { height: 43px; border-radius: 9px; background: rgba(255,253,248,.86); }
.auth-form .field-control > .ic { left: 13px; width: 16px; height: 16px; }
.auth-form .field-control > .ic + input { padding-left: 38px; }
.field-span2 { grid-column: span 2; }
.auth-form .btn-lg { height: 46px; letter-spacing: .22em; font-size: 13px; }
.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 11.5px; }
.auth-hint { color: var(--text-3); font-size: 10.5px; }
.auth-error { min-height: 18px; color: var(--clay); font-size: 11.5px; margin-top: -4px; }
.auth-divider { position: relative; text-align: center; margin: 22px 0 16px; }
.auth-divider::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 4px, transparent 4px 9px); }
.auth-divider span { position: relative; z-index: 1; background: #f7f3e9; padding: 0 12px; font-size: 10px; letter-spacing: .16em; color: var(--text-3); }
.auth-legal { margin-top: 20px; font-size: 10.5px; line-height: 1.85; color: var(--text-3); }
.auth-back { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 12px; color: var(--text-2); }
.auth-back:hover { color: var(--brass); }
.auth-back .ic { width: 14px; height: 14px; }
.auth-panel-foot { position: relative; z-index: 1; margin-top: 34px; text-align: center; font-size: 10px; letter-spacing: .1em; color: var(--text-3); }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: none; background: none; color: var(--text-3); display: grid; place-items: center; border-radius: 6px; }
.pw-toggle:hover, .pw-toggle.on { color: var(--brass); background: rgba(181,129,60,.07); }
.pw-toggle .ic { width: 16px; height: 16px; }
.auth-panel .check input { accent-color: var(--brass); }

@media (max-width: 1000px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-editorial { min-height: auto; padding: 26px 28px 34px; }
  .editorial-copy { margin: 30px 0 0; padding: 0; }
  .editorial-copy h1 { font-size: 30px; }
  .editorial-desc { display: none; }
  .editorial-metrics { margin-top: 22px; gap: 28px; }
  .editorial-foot { display: none; }
  .auth-panel { padding: 34px 26px; }
  .auth-form-wrap { max-width: 520px; }
}
@media (max-width: 560px) {
  .auth-editorial { padding: 22px; }
  .editorial-metrics { gap: 20px; }
  .em-value { font-size: 22px; }
  .auth-form-grid { grid-template-columns: 1fr; }
  .field-span2 { grid-column: span 1; }
  .auth-panel { padding: 28px 20px; }
  .auth-form-head h2 { font-size: 23px; }
}
