/* ═══════════════════════════════════════════════════════════════════════════
   统一登录入口页（login.html）· 复用 style.css 的令牌与动效
   ═══════════════════════════════════════════════════════════════════════════ */

.auth-body { min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
.auth-aurora { position: fixed; inset: -20% -10% auto; height: 90vh; z-index: -1; }
.auth-floor { position: fixed; bottom: -160px; height: 420px; z-index: -1; opacity: .55; }

.auth-nav {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: min(100% - 44px, 1180px); margin: 0 auto; padding: 22px 0;
}
.auth-nav__actions { display: flex; align-items: center; gap: 10px; }

.auth { position: relative; z-index: 3; width: min(100% - 44px, 1180px); margin: 0 auto; flex: 1; padding: 26px 0 60px; }
.auth__head { max-width: 720px; }
.auth__head h1 { margin-top: 12px; font-size: clamp(27px, 3.4vw, 42px); }
.auth__lead { margin-top: 16px; color: var(--ink-2); font-size: 16px; }
/* 注册入口（商户自助注册，与首屏次按钮同一条通路） */
.auth__register { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.auth__register a { color: var(--brand-ink); font-weight: 700; border-bottom: 1px dashed var(--line-2); }
.auth__register a:hover { border-bottom-style: solid; }

.auth__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }

.auth-card {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 26px 24px; border-radius: var(--r-xl);
  background: linear-gradient(160deg, var(--card-a), var(--card-b));
  border: 1px solid var(--line);
  overflow: hidden; box-shadow: var(--sh-1);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .35s var(--ease);
}
.auth-card::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .35s;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), var(--brand-tint-2), transparent 64%);
}
.auth-card:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: var(--sh-2); }
.auth-card:hover::after { opacity: 1; }
.auth-card__ic {
  width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 12px;
  background: var(--brand-tint); border: 1px solid var(--line-2); color: var(--brand-ink);
}
.auth-card__ic .ic { width: 24px; height: 24px; }
.auth-card__name { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.auth-card__desc { font-size: 13px; color: var(--ink-3); }
.auth-card__list { display: grid; gap: 8px; margin: 16px 0 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.auth-card__list li { position: relative; padding-left: 18px; font-size: 13.5px; color: var(--ink-2); }
.auth-card__list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.auth-card__go { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; color: var(--brand-ink); }
.auth-card--muted { background: var(--bg-2); }
.auth-card--muted .auth-card__ic { color: var(--ink-2); background: var(--brand-tint); }
.auth-card--muted .auth-card__go { color: var(--ink-3); }

.auth__foot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 42px; }
.auth-tip { display: flex; gap: 14px; padding: 20px 22px; border-radius: var(--r-lg); background: var(--card-a); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.auth-tip > .ic { width: 22px; height: 22px; color: var(--brand-ink); margin-top: 2px; }
.auth-tip b { font-size: 15px; }
.auth-tip p { margin-top: 6px; font-size: 13.5px; color: var(--ink-2); }
.auth-tip a { color: var(--brand-ink); }
.auth-tip__dev { color: var(--brand-ink) !important; font-size: 12.5px !important; }

.auth-footer {
  position: relative; z-index: 3;
  width: min(100% - 44px, 1180px); margin: 0 auto; padding: 22px 0 30px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 12.5px; color: var(--ink-3);
}
.auth-footer p { display: flex; gap: 8px; }
.auth-footer a:hover { color: var(--brand-ink); }

@media (max-width: 1030px) {
  .auth__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .auth__foot { grid-template-columns: 1fr; }
}
@media (max-width: 660px) {
  .auth__grid { grid-template-columns: 1fr; }
  .auth-nav { padding: 16px 0; }
  .auth-nav .brand__text em { display: none; }
  .auth { padding-bottom: 40px; }
  .auth-footer { flex-direction: column; }
}
