.auth-body {
  background: radial-gradient(900px 500px at 50% -10%, #1c2230 0%, var(--bg) 55%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
}
.auth-brand { margin-bottom: 24px; font-size: 22px; }

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.auth-tabs { display: flex; border-bottom: 1px solid var(--border); }
.auth-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-dim);
  padding: 15px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.auth-tab.active { color: var(--text); border-bottom-color: var(--accent); }

.auth-form { padding: 30px 28px 28px; display: flex; flex-direction: column; gap: 14px; }
.auth-form[hidden] { display: none; }
.auth-form h1 { font-size: 22px; font-weight: 800; }
.auth-sub { color: var(--text-dim); font-size: 14px; margin-top: -6px; margin-bottom: 4px; }
.auth-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-dim); }
.auth-form input {
  background: var(--bg);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 12px 14px;
  font-size: 15px;
}
.auth-form input:focus { outline: none; border-color: var(--accent); }
.hint { font-weight: 500; color: var(--text-faint); font-size: 12px; }
.auth-submit { margin-top: 6px; width: 100%; border: none; cursor: pointer; }
.auth-msg { font-size: 13px; min-height: 18px; color: var(--bad); text-align: center; }
.auth-msg.ok { color: var(--good); }
.auth-terms { font-size: 11px; color: var(--text-faint); line-height: 1.5; margin-top: 2px; }
