.auth-screen {
  position: relative;
  min-height: 100svh;
  padding: 70px 18px;
  background: radial-gradient(circle at 70% 28%, rgba(255, 212, 111, .12), transparent 28rem), linear-gradient(180deg, #04111f, #020711 72%);
}
.auth-back {
  position: fixed;
  left: 22px;
  top: 18px;
  z-index: 5;
}
.auth-card {
  width: min(680px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 30px;
  border: 1px solid rgba(255, 212, 111, .42);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(13, 24, 31, .94), rgba(3, 10, 17, .97));
  box-shadow: 0 30px 70px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
.auth-tab {
  min-height: 56px;
  border: 1px solid rgba(255, 212, 111, .26);
  border-radius: 15px;
  color: var(--text);
  background: rgba(255, 255, 255, .05);
  font-weight: 950;
}
.auth-tab[aria-selected="true"] {
  color: #1d1206;
  border-color: rgba(255, 230, 151, .76);
  background: linear-gradient(180deg, #ffe492, var(--gold));
}
.auth-view {
  display: none;
  gap: 14px;
}
.auth-view.is-active {
  display: grid;
}
.auth-view[hidden] { display: none; }
.auth-view h1 {
  margin: 0;
  color: var(--gold);
  font-family: var(--font-title);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
}
.auth-view p {
  margin: 0 0 6px;
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 850;
}
.auth-view .button { width: 100%; min-height: 58px; font-size: 17px; }

@media (max-width: 720px) {
  .auth-screen { padding: 82px 14px 28px; }
  .auth-card { padding: 22px; }
  .auth-tabs { grid-template-columns: 1fr; }
}

/* === Рамка формы входа из UI-сета (2026-06-11) === */
.auth-card {
  border: none; border-radius: 0; box-shadow: none;
  background: url('/assets/ui_set/ui_login_frame.png') center / 100% 100% no-repeat;
  padding: clamp(46px, 5vh, 64px) clamp(34px, 3vw, 52px);
  filter: drop-shadow(0 26px 60px rgba(0,0,0,.55));
}
