/* ════════════════════════════════════════════════════════════════
   LOVE — Экран авторизации (макет). Wabi-Sabi, строго ЧБ.
   ════════════════════════════════════════════════════════════════ */

.auth-screen {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(120% 120% at 50% 0%, #0e0e0e 0%, #050505 60%, #000 100%);
  overflow: hidden;
  perspective: 1200px;
  opacity: 1;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.auth-screen.auth-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ───────────── Анимированный фон ───────────── */
.auth-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

.auth-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  mix-blend-mode: screen;
}
.auth-orb--1 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(255,255,255,0.10), transparent 70%);
  top: -120px; left: -100px;
  animation: authOrbDrift1 22s ease-in-out infinite;
}
.auth-orb--2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(255,255,255,0.07), transparent 70%);
  bottom: -140px; right: -80px;
  animation: authOrbDrift2 28s ease-in-out infinite;
}
.auth-orb--3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 70%);
  top: 40%; left: 55%;
  animation: authOrbDrift3 34s ease-in-out infinite;
}
@keyframes authOrbDrift1 {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(80px, 60px) scale(1.15); }
}
@keyframes authOrbDrift2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-70px, -50px) scale(1.1); }
}
@keyframes authOrbDrift3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-60px, 70px) scale(0.9); }
}

/* Частицы (наполняются из JS) */
.auth-particles { position: absolute; inset: 0; }
.auth-particle {
  position: absolute;
  bottom: -20px;
  color: rgba(255,255,255,0.18);
  animation: authRise linear infinite;
}
.auth-particle svg { width: 100%; height: 100%; display: block; }
@keyframes authRise {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.5; }
  90% { opacity: 0.5; }
  100% { transform: translateY(-110vh) rotate(140deg); opacity: 0; }
}

/* Тонкая «зернистость» */
.auth-grain {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.4;
  mix-blend-mode: overlay;
}

/* ───────────── Карточка ───────────── */
.auth-card {
  position: relative;
  z-index: 2;
  width: 400px;
  max-width: 100%;
  padding: 34px 34px 30px;
  background: rgba(13,13,13,0.72);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(34px) saturate(1.2);
  -webkit-backdrop-filter: blur(34px) saturate(1.2);
  box-shadow: 0 40px 90px rgba(0,0,0,0.65), inset 0 1px 0 rgba(255,255,255,0.05);
  transform-style: preserve-3d;
  will-change: transform;
  animation: authCardIn 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.auth-card--narrow { width: 380px; }
@keyframes authCardIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Бренд */
.auth-brand { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 26px; }
.auth-brand-heart {
  width: 46px; height: 46px; color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 14px rgba(255,255,255,0.18));
  animation: authHeartPulse 3.2s ease-in-out infinite;
}
.auth-brand-heart svg { width: 38px; height: 38px; }
@keyframes authHeartPulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.auth-brand-name {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 600; letter-spacing: 4px;
  color: var(--text-primary);
}
.auth-brand-tag {
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ───────────── Переключатель Вход/Регистрация ───────────── */
.auth-switch {
  position: relative;
  display: flex;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 22px;
}
.auth-switch-thumb {
  position: absolute;
  top: 4px; left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: #fff;
  border-radius: 9px;
  transition: transform 0.32s cubic-bezier(0.5, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}
.auth-switch.is-register .auth-switch-thumb { transform: translateX(100%); }
.auth-switch-btn {
  position: relative;
  z-index: 1;
  flex: 1;
  background: transparent;
  border: none;
  padding: 9px 0;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.3s ease;
}
.auth-switch-btn.active { color: #000; }

/* ───────────── Формы ───────────── */
.auth-forms { position: relative; }
.auth-form { display: none; flex-direction: column; gap: 15px; }
.auth-form.active { display: flex; animation: authFormIn 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes authFormIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-label {
  font-family: var(--font-mono);
  font-size: 10px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-muted);
}

.auth-input-wrap { position: relative; display: flex; align-items: center; }
.auth-input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.auth-input::placeholder { color: var(--text-muted); }
.auth-input:focus {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.05);
}
.auth-input-wrap.auth-input-prefixed .auth-input { padding-left: 30px; }
.auth-input-wrap.auth-input-prefixed .auth-input { padding-right: 38px; }
.auth-prefix {
  position: absolute; left: 13px;
  font-family: var(--font-mono); font-size: 14px;
  color: var(--text-muted); pointer-events: none;
}

/* Состояние валидности рамки */
.auth-input-wrap.is-ok .auth-input { border-color: rgba(255,255,255,0.4); }
.auth-input-wrap.is-error .auth-input { border-color: rgba(235,90,90,0.55); }
.auth-input-wrap.is-error .auth-input:focus { box-shadow: 0 0 0 3px rgba(235,90,90,0.12); }

/* Кнопка-глаз */
.auth-eye {
  position: absolute; right: 6px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: none; cursor: pointer;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.auth-eye:hover { color: var(--text-secondary); }
.auth-eye svg { width: 18px; height: 18px; }

/* Статус-индикатор (галочка/крест/спиннер) в поле */
.auth-status {
  position: absolute; right: 12px;
  width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.auth-status svg { width: 16px; height: 16px; }
.auth-status.is-ok { color: #fff; }
.auth-status.is-error { color: #eb5a5a; }
.auth-status.is-loading { color: var(--text-muted); }
.auth-status.is-loading svg { animation: authSpin 0.8s linear infinite; }
@keyframes authSpin { to { transform: rotate(360deg); } }

/* Хинт под полем */
.auth-hint {
  font-family: var(--font-sans);
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--text-muted);
  min-height: 14px;
  transition: color 0.2s ease;
}
.auth-hint.is-ok { color: #d6d6d6; }
.auth-hint.is-error { color: #eb5a5a; }

/* Индикатор силы пароля */
.auth-strength {
  height: 4px;
  border-radius: 3px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}
.auth-strength-fill {
  display: block; height: 100%; width: 0%;
  border-radius: 3px;
  background: #fff;
  transition: width 0.35s ease, opacity 0.35s ease;
}
.auth-strength[data-level="weak"] .auth-strength-fill { width: 33%; opacity: 0.4; }
.auth-strength[data-level="medium"] .auth-strength-fill { width: 66%; opacity: 0.7; }
.auth-strength[data-level="strong"] .auth-strength-fill { width: 100%; opacity: 1; }

/* ───────────── Соглашение (terms) ───────────── */
.auth-terms { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; margin-top: 2px; }
.auth-checkbox { position: relative; flex-shrink: 0; margin-top: 1px; }
.auth-checkbox input { position: absolute; opacity: 0; width: 0; height: 0; }
.auth-checkbox-box {
  display: flex; align-items: center; justify-content: center;
  width: 20px; height: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
  transition: all 0.2s ease;
}
.auth-checkbox-box svg { width: 13px; height: 13px; color: #000; opacity: 0; transform: scale(0.6); transition: all 0.2s ease; }
.auth-checkbox input:checked + .auth-checkbox-box { background: #fff; border-color: #fff; }
.auth-checkbox input:checked + .auth-checkbox-box svg { opacity: 1; transform: scale(1); }
.auth-terms-text {
  font-family: var(--font-sans);
  font-size: 12px; line-height: 1.45;
  color: var(--text-secondary);
}
.auth-link {
  display: inline; background: none; border: none; padding: 0;
  font: inherit; color: var(--text-primary);
  text-decoration: underline; text-underline-offset: 2px;
  text-decoration-color: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
}
.auth-link:hover { text-decoration-color: #fff; }

/* ───────────── Кнопки ───────────── */
.auth-submit {
  display: block;
  width: 100%;
  align-self: stretch;
  box-sizing: border-box;
  height: 46px;
  margin-top: 6px;
  background: #fff;
  color: #000;
  border: 1px solid #fff;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}
.auth-submit:hover:not(:disabled) { box-shadow: 0 8px 24px rgba(255,255,255,0.14); transform: translateY(-1px); }
.auth-submit:active:not(:disabled) { transform: translateY(0); }
.auth-submit:disabled { opacity: 0.35; cursor: not-allowed; }

#oauth-continue {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  height: 46px;
  min-height: 46px;
  padding: 0 18px;
  box-sizing: border-box;
  align-self: stretch;
  white-space: nowrap;
}

.auth-divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 1px;
  text-transform: uppercase;
  margin: 2px 0;
}
.auth-divider::before, .auth-divider::after {
  content: ""; flex: 1; height: 1px;
  background: rgba(255,255,255,0.08);
}

.auth-google {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  align-self: stretch;
  box-sizing: border-box;
  height: 46px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 13.5px; font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.auth-google:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); transform: translateY(-1px); }
.auth-google svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ───────────── OAuth-шаг ───────────── */
.auth-oauth-step {
  position: absolute;
  inset: 0; z-index: 3;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.auth-oauth-step.is-visible { display: flex; }
.auth-screen.oauth-active > .auth-card { opacity: 0; transform: scale(0.96); pointer-events: none; transition: opacity 0.3s ease, transform 0.3s ease; }

/* ───────────── Модалка документов ───────────── */
.auth-doc-title {
  font-family: var(--font-serif);
  font-size: 21px; color: var(--text-primary);
  margin: 0 0 16px;
}
.auth-doc-body {
  max-height: 56vh;
  overflow-y: auto;
  font-family: var(--font-sans);
  font-size: 13px; line-height: 1.6;
  color: var(--text-secondary);
  padding-right: 8px;
}
.auth-doc-body h4 {
  font-family: var(--font-sans);
  font-size: 14px; color: var(--text-primary);
  margin: 18px 0 6px;
}
.auth-doc-body p { margin: 0 0 10px; }
.auth-doc-body ul { margin: 0 0 10px; padding-left: 18px; }
.auth-doc-body li { margin-bottom: 5px; }

/* ───────────── Тест-панель ───────────── */
.auth-test-panel {
  position: fixed;
  bottom: 16px; right: 16px;
  z-index: 7000;
  width: 210px;
  background: rgba(13,13,13,0.92);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  overflow: hidden;
  font-family: var(--font-sans);
}
.auth-test-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--text-secondary);
}
.auth-test-head button {
  width: 20px; height: 20px;
  background: transparent; border: none; cursor: pointer;
  color: var(--text-secondary); font-size: 16px; line-height: 1;
  border-radius: 5px;
}
.auth-test-head button:hover { background: rgba(255,255,255,0.08); color: #fff; }
.auth-test-body {
  display: flex; flex-direction: column; gap: 6px;
  padding: 10px;
  transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
  overflow: hidden;
}
.auth-test-panel.collapsed .auth-test-body { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; }
.auth-test-btn {
  text-align: left;
  padding: 8px 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 12px; cursor: pointer;
  transition: all 0.18s ease;
}
.auth-test-btn:hover { background: rgba(255,255,255,0.09); color: #fff; border-color: rgba(255,255,255,0.18); }

/* ── Spotlight onboarding ── */
.spotlight-onboarding {
  position: fixed;
  inset: 0;
  z-index: 6500;
  pointer-events: none;
  font-family: var(--font-sans);
}
.spotlight-active .auth-test-panel,
.onboarding-stage-active .auth-test-panel {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}
.spotlight-onboarding.hidden { display: none; }
.spotlight-scrim {
  position: fixed;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(2px);
  pointer-events: auto;
}
.spotlight-ring {
  position: fixed;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.82);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.18),
    0 0 28px rgba(255,255,255,0.35),
    0 0 72px rgba(255,255,255,0.18);
  animation: spotlightPulse 1.7s ease-in-out infinite;
  transition: left 0.28s ease, top 0.28s ease, width 0.28s ease, height 0.28s ease, border-radius 0.28s ease;
}
@keyframes spotlightPulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.035); opacity: 1; }
}
.spotlight-target-active {
  position: relative;
  z-index: 6502 !important;
  pointer-events: auto !important;
  filter: drop-shadow(0 0 18px rgba(255,255,255,0.24));
}
.spotlight-card {
  position: fixed;
  z-index: 6503;
  pointer-events: auto;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(10,10,10,0.94);
  box-shadow: 0 24px 70px rgba(0,0,0,0.56), inset 0 1px 0 rgba(255,255,255,0.06);
  color: #fff;
  transition: left 0.28s ease, top 0.28s ease;
}
.spotlight-progress {
  height: 3px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.1);
  margin-bottom: 14px;
}
.spotlight-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: #fff;
  transition: width 0.3s ease;
}
.spotlight-count {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.spotlight-title {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.15;
  font-weight: 600;
}
.spotlight-text {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}
.spotlight-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.spotlight-skip,
.spotlight-next {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  height: 38px;
  padding: 0 14px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.spotlight-skip {
  background: transparent;
  color: var(--text-muted);
}
.spotlight-skip:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}
.spotlight-next {
  margin-left: auto;
  background: #fff;
  color: #000;
  border-color: #fff;
  font-weight: 600;
}

.onboarding-stage {
  position: fixed;
  inset: 0;
  z-index: 6600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 24px;
  background: rgba(0,0,0,0.88);
  color: #fff;
  text-align: center;
  font-family: var(--font-sans);
  opacity: 1;
  overflow: hidden;
  transition: opacity 0.55s ease;
}
.onboarding-stage::before,
.onboarding-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}
.onboarding-stage.hidden { display: none; }
.onboarding-stage.is-leaving { opacity: 0; }
.onboarding-stage-heart {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  filter: drop-shadow(0 0 28px rgba(255,255,255,0.32));
}
.onboarding-stage-heart svg {
  width: 54px;
  height: 54px;
}
.onboarding-stage-text {
  position: relative;
  z-index: 3;
  max-width: 760px;
  font-family: var(--font-serif);
  font-size: clamp(30px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: 0;
  overflow: hidden;
}
.onboarding-intro .onboarding-stage-heart { display: none; }
.onboarding-intro .onboarding-stage-text {
  font-size: clamp(24px, 4vw, 42px);
  color: rgba(255,255,255,0.86);
  animation: onboardingTextFade 1.8s ease both;
}
@keyframes onboardingTextFade {
  0% { opacity: 0; transform: translateY(14px); }
  25%, 74% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-10px); }
}
.onboarding-final .onboarding-stage-text {
  isolation: isolate;
  max-width: min(1180px, 94vw);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 0.24em;
  row-gap: 0.08em;
  font-family: "Cormorant Garamond", "Lora", Georgia, serif;
  font-size: clamp(40px, 5.65vw, 82px);
  font-weight: 700;
  line-height: 0.98;
  overflow: visible;
  letter-spacing: 0.012em;
  text-shadow:
    0 0 12px rgba(255,255,255,0.55),
    0 0 24px rgba(220,240,255,0.28);
}
.onboarding-final .glow-word {
  display: inline-flex;
  white-space: nowrap;
}
.onboarding-final .onboarding-stage-heart {
  width: 104px;
  height: 104px;
  animation: onboardingHeartReveal 0.95s ease 0.12s 1 both;
}
.onboarding-final .onboarding-stage-heart svg {
  width: 74px;
  height: 74px;
}
.onboarding-final .onboarding-stage-heart::before {
  content: "";
  position: absolute;
  inset: -26px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.2), transparent 66%);
  filter: blur(10px);
  z-index: -1;
  animation: onboardingIconGlow 1.8s ease 0.2s 1 both;
}
.onboarding-final .glow-char {
  position: relative;
  display: inline-block;
  color: rgba(255,255,255,0);
  opacity: 0;
  transform: translateX(-14px) scale(0.98);
  text-shadow:
    0 0 0 rgba(255,255,255,0),
    0 0 0 rgba(255,255,255,0);
  animation: onboardingCharReveal 0.78s cubic-bezier(0.12, 1, 0.28, 1) calc(0.16s + var(--i) * 0.058s) 1 both;
}
.onboarding-final .glow-char::before {
  content: attr(data-char);
  position: absolute;
  inset: 0;
  color: rgba(255,255,255,0.74);
  opacity: 0;
  text-shadow:
    0 0 10px rgba(255,255,255,0.3),
    0 0 18px rgba(220,235,255,0.14);
  transform: none;
  filter: blur(0);
  mix-blend-mode: screen;
  animation: onboardingLetterGlow 1.2s ease-out calc(0.16s + var(--i) * 0.058s) 1 both;
}
@keyframes onboardingCharReveal {
  0% {
    color: rgba(255,255,255,0);
    opacity: 0;
    transform: translateX(-14px) scale(0.98);
    text-shadow: 0 0 0 rgba(255,255,255,0);
  }
  46% {
    color: rgba(255,255,255,1);
    opacity: 1;
    transform: translateX(0) scale(1.02);
    text-shadow:
      0 0 14px rgba(255,255,255,0.78),
      0 0 28px rgba(185,225,255,0.34);
  }
  100% {
    color: rgba(255,255,255,0.96);
    opacity: 1;
    transform: translateX(0) scale(1);
    text-shadow:
      0 0 10px rgba(255,255,255,0.42),
      0 0 22px rgba(185,225,255,0.18);
  }
}
@keyframes onboardingLetterGlow {
  0% { opacity: 0; transform: translateY(8px) scale(0.98); }
  55% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes onboardingHeartReveal {
  0% { opacity: 0; transform: translateY(12px) scale(0.9); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes onboardingIconGlow {
  0% { opacity: 0; transform: scale(0.72); }
  38% { opacity: 1; }
  100% { opacity: 0.22; transform: scale(1.1); }
}
.onboarding-stage-skip {
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: var(--text-secondary);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.onboarding-stage-skip:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

/* ════════════════ АДАПТИВ ════════════════ */
@media (max-width: 600px) {
  .auth-screen { align-items: center; justify-content: center; overflow-y: auto; padding: 18px 14px; }
  .auth-card { padding: 26px 20px 24px; width: 100%; }
  .auth-card--narrow { width: 100%; }
  .auth-oauth-step {
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 18px 14px;
  }

  .auth-test-panel { width: 170px; bottom: 10px; right: 10px; }

  .spotlight-card { max-width: calc(100vw - 28px); padding: 16px; }
  .spotlight-title { font-size: 21px; }
  .spotlight-text { font-size: 13px; }
  .spotlight-card {
    border-radius: 12px;
    max-height: calc(100vh - 96px);
    overflow: auto;
  }
  .onboarding-stage {
    gap: 18px;
    padding: 22px 14px 92px;
  }
  .onboarding-final .onboarding-stage-text {
    max-width: min(94vw, 520px);
    font-size: clamp(30px, 8.8vw, 44px);
  }
  .onboarding-final .onboarding-stage-heart {
    width: 92px;
    height: 92px;
  }
  .onboarding-final .onboarding-stage-heart svg {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 380px) {
}
