body.has-site-header {
  padding-top: 0 !important;
}.auth-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: var(--space-5);
  padding-bottom: calc(var(--space-5) + var(--safe-bottom));
}@media (max-width: 560px) {
  .auth-wrap {
    place-items: center;
    padding: var(--space-4);
    padding-bottom: calc(var(--space-4) + var(--safe-bottom));
  }
}.card--narrow {
  width: min(560px, 100%);
}.auth-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(18, 20, 30, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
}.auth-head {
  display: grid;
  gap: 6px;
  margin-bottom: var(--space-3);
}.desc {
  margin: 10px 0 12px;
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--text-secondary);
  font-weight: 600;
}.auth-footer {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
  text-align: center;
}.panel {
  display: none;
  margin-top: 10px;
}.panel.is-active {
  display: block;
}.field {
  margin-top: var(--space-3);
}.field label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 6px;
}.field input {
  width: 100%;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  padding: 0 14px;
  outline: none;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    background 0.2s var(--ease);
}.field input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}.field input:focus {
  border-color: rgba(124, 92, 255, 0.35);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}.msg {
  display: none;
  margin-top: var(--space-3);
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  font-size: var(--fs-sm);
  line-height: 1.45;
}.msg.err {
  display: block;
  border-color: rgba(244, 63, 94, 0.28);
  background: rgba(244, 63, 94, 0.12);
}.msg.ok {
  display: block;
  border-color: rgba(16, 185, 129, 0.26);
  background: rgba(16, 185, 129, 0.12);
}.auth-links {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-3);
}.auth-link,
.auth-linkbtn {
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  color: rgba(34, 211, 238, 0.95);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s ease;
}.auth-link:hover,
.auth-linkbtn:hover {
  opacity: 0.85;
}.tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 6px;
  margin: var(--space-4) 0 var(--space-3);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px) saturate(160%);
  overflow: hidden;
}.tabs::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: calc(50% - 6px);
  border-radius: 14px;
  background: var(--auth-accent);
  box-shadow: var(--auth-accentShadow);
  transition: transform 0.35s var(--ease);
  pointer-events: none;
}.tabs:has(.tab.is-active[data-mode="register"])::before {
  transform: translateX(100%);
}.tab {
  position: relative;
  z-index: 1;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  font-size: var(--fs-sm);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: color 0.2s var(--ease);
}.tab.is-active {
  color: rgba(255, 255, 255, 0.98);
}.btn.btn-primary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  margin-top: 14px;
  border: 0;
  border-radius: 16px;
  color: #fff;
  background: var(--auth-accent);
  box-shadow: var(--auth-accentShadow);
  font-weight: 800;
  font-size: var(--fs-md);
  cursor: pointer;
  transition: transform 0.15s var(--ease);
}.btn.btn-primary:hover{
  transform: scale(1.02);
}.btn.btn-primary:active{
  transform: scale(0.98);
}