.auth-wrap { min-block-size: 100dvh; display: grid; place-items: center; padding: 24px 16px; }
.auth-card {
  inline-size: min(360px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 36px 28px 32px; box-shadow: var(--shadow); text-align: center; display: grid; gap: 20px; justify-items: center;
}
.auth-mark { inline-size: 40px; block-size: 40px; border-radius: 10px; }
.auth-card h1 { font-size: 22px; letter-spacing: -0.02em; }
.auth-card p { color: var(--muted); }
.google-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; inline-size: 100%; min-block-size: 44px; padding: 10px 14px;
  border-radius: 9px; border: 1px solid var(--line-strong); background: var(--surface); text-decoration: none; font-weight: 600; color: var(--text);
}
.google-btn:hover { border-color: var(--text); }
.auth-card .auth-error { inline-size: 100%; background: var(--bad-bg); color: var(--bad); border-radius: 8px; padding: 10px 12px; font-size: 13px; text-align: start; }
.auth-error::before { content: "⚠ " / ""; }
.auth-error[hidden] { display: none; }
.auth-actions { display: flex; gap: 8px; justify-content: center; }
.auth-actions form { display: contents; }
