body {
  min-height: 100vh; min-height: 100dvh;
  display: grid; place-items: center; padding: 16px;
  background: var(--bg);
}
.auth-card {
  width: 100%; max-width: 420px; padding: 32px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow);
}
.auth-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font-weight: 700; font-size: 17px; }
.auth-logo { display: block; width: 44px; height: 44px; }
.auth-icon {
  display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 14px;
  border-radius: 18px; background: var(--surf); color: var(--hi); font-size: 26px;
}
h1 { margin: 0 0 6px; font-size: 26px; font-weight: 700; letter-spacing: -.4px; }
.muted { margin: 0 0 22px; line-height: 1.5; }
.small { margin: 20px 0 0; }
form label {
  display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px;
  font-size: 13px; font-weight: 600; color: var(--muted);
}
form label .helptext, form label ul { display: none; }
form input {
  width: 100%; height: 46px; padding: 0 14px; border: 1px solid transparent; border-radius: 12px;
  background: var(--surf); color: var(--text); font-size: 16px; outline: none;
}
form input:focus { border-color: var(--hi); }
form button, .auth-btn {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 48px; margin-top: 6px;
  border: 0; border-radius: 14px; background: var(--pri); color: var(--onpri);
  font-size: 16px; font-weight: 600; cursor: pointer; text-decoration: none;
}
form button:hover, .auth-btn:hover { filter: brightness(1.1); }
.auth-alert { padding: 11px 14px; border-radius: 12px; margin-bottom: 16px; background: var(--surf); color: var(--name1); font-size: 14px; }
.auth-alert.error { color: var(--red); }
.field-error { color: var(--red); font-weight: 400; }
@media (max-width: 480px) { .auth-card { padding: 24px 18px; border-radius: 18px; } }

.dl-list { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 18px; }
.dl-card {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px;
  background: var(--surf); color: var(--text); text-decoration: none; border: 1px solid transparent;
}
.dl-card:hover { border-color: var(--hi); }
.dl-card.disabled { opacity: .55; pointer-events: none; }
.dl-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--hi); color: var(--onhi); flex-shrink: 0; }
.dl-text { display: flex; flex-direction: column; gap: 2px; }
.dl-text b { font-size: 16px; }
.dl-text small { color: var(--faint); font-size: 13px; }

/* заявки на вход (модератор) */
.auth-card:has(.su-list) { max-width: 560px; }
.su-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.su-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--surf); flex-wrap: wrap; }
.su-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 160px; }
.su-text small { color: var(--faint); font-size: 13px; }
form.su-actions { display: flex; gap: 8px; }
form.su-actions button { width: auto; height: 38px; margin: 0; padding: 0 14px; font-size: 14px; border-radius: 11px; }
form.su-actions .su-no { background: transparent; color: var(--red); border: 1px solid var(--line); }
.su-back { margin-top: 0; }

/* подтверждение почты после регистрации */
.verify-form input { letter-spacing: 6px; font-size: 22px; text-align: center; }
form.verify-resend button.link-btn {
  width: auto; height: auto; margin: 0 0 16px; padding: 0; background: none; color: var(--hi);
  font-size: 14px; font-weight: 500; text-decoration: underline;
}

/* поле-ловушка для ботов в форме регистрации */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
