.auth-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.auth-card {
  width: 100%;
  max-width: 380px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.auth-card-wide { max-width: 440px; }

.auth-title { font-size: 1.15rem; font-weight: 700; margin: 0.5rem 0 0; text-align: center; }
.auth-subtitle { font-size: 0.82rem; color: var(--text-secondary); text-align: center; margin: -0.6rem 0 0; line-height: 1.5; }

.auth-error {
  background: var(--critical-soft); border: 1px solid color-mix(in srgb, var(--critical) 35%, transparent);
  border-radius: var(--radius-sm); padding: 0.6rem 0.8rem; font-size: 0.8rem;
}
.auth-notice {
  background: var(--card-bg-alt); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 0.75rem 0.9rem; font-size: 0.8rem;
  color: var(--text-secondary); line-height: 1.6;
}
.auth-notice code { background: var(--border); padding: 0.05rem 0.35rem; border-radius: 4px; }

.google-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  background: #ffffff; color: #1f1f1f; text-decoration: none;
  border-radius: var(--radius-sm); padding: 0.7rem 1rem; font-size: 0.88rem; font-weight: 600;
  border: 1px solid rgba(0,0,0,0.1);
}
.google-btn:hover { background: #f5f5f5; }

.auth-footnote { font-size: 0.72rem; color: var(--text-muted); text-align: center; line-height: 1.5; }

.qr-wrap {
  display: flex; justify-content: center; align-items: center;
  background: #ffffff; border-radius: var(--radius-md); padding: 1rem;
}
.qr-wrap img { width: 180px; height: 180px; display: block; }

.manual-entry { font-size: 0.78rem; color: var(--text-secondary); }
.manual-entry summary { cursor: pointer; color: var(--accent-strong); }
.manual-key {
  display: block; margin-top: 0.5rem; word-break: break-all;
  background: var(--card-bg-alt); border-radius: var(--radius-sm); padding: 0.5rem 0.7rem;
  font-size: 0.78rem; letter-spacing: 0.03em;
}

.auth-form { display: flex; flex-direction: column; gap: 0.7rem; }
.auth-form input {
  background: var(--card-bg-alt); border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); padding: 0.7rem 0.9rem; color: var(--text-primary);
  font-size: 1.1rem; text-align: center; letter-spacing: 0.3em; font-variant-numeric: tabular-nums;
}
.auth-form input:focus { outline: none; border-color: var(--accent); }
.auth-submit { width: 100%; padding: 0.7rem; font-size: 0.88rem; }
