/* 登录页只保留单页差异,公共认证卡片样式在 public.css */ .page-login .auth-card { width: min(440px, 100%); } .login-mode-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; margin: 18px 0 18px; padding: 4px; border: 1px solid rgba(200, 59, 50, .16); border-radius: 999px; background: rgba(255, 250, 241, .88); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .78); } /* 登录方式按钮只负责状态呈现,切换逻辑在 auth-pages.js */ .login-mode-tab { min-height: 42px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-weight: 800; text-align: center; cursor: pointer; transition: color .22s ease, background .22s ease, box-shadow .22s ease; } .login-mode-tab.is-active { background: rgba(200, 59, 50, .11); color: var(--red); box-shadow: inset 0 0 0 1px rgba(200, 59, 50, .16), 0 8px 18px rgba(138, 64, 42, .08); } .login-mode-panel[hidden] { display: none; } .page-login .code-row { display: grid; grid-template-columns: minmax(0, 1fr) 124px; gap: 10px; } .page-login .auth-links { margin-top: 14px; } @media (max-width: 720px) { .page-login .auth-layout { align-items: start; } } @media (max-width: 620px) { .page-login .code-row { grid-template-columns: 1fr; } }