/* v20261021-auth-polish01: quieter, compact public sign-in surface. */
body.auth-gate-open:not(.admin-page) .dashboard-auth-gate {
  padding:
    max(24px, env(safe-area-inset-top))
    max(20px, env(safe-area-inset-right))
    max(28px, env(safe-area-inset-bottom))
    max(20px, env(safe-area-inset-left)) !important;
  background: #07080b !important;
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-card {
  width: min(100%, 720px) !important;
  max-width: 720px !important;
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-banner {
  aspect-ratio: 16 / 4.85 !important;
  max-height: 220px !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  border-radius: 22px !important;
  background: #9e2029 !important;
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-banner img {
  object-position: 50% 51% !important;
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-form-panel {
  gap: 22px !important;
  width: calc(100% + 2px) !important;
  margin-top: -30px !important;
  padding: 28px 28px 24px !important;
  border-color: #252a31 !important;
  border-radius: 26px !important;
  background: #0c0e12 !important;
  box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.22) !important;
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-brand-panel {
  gap: 18px !important;
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-identity-card {
  padding: 2px 0 0 !important;
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-copy {
  gap: 9px !important;
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-copy h2 {
  font-size: clamp(31px, 5vw, 40px) !important;
  font-weight: 820 !important;
  letter-spacing: -0.045em !important;
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-copy .muted-copy {
  display: block !important;
  max-width: 38ch !important;
  color: #9ca3ad !important;
  font-size: 15px !important;
  font-weight: 560 !important;
  line-height: 1.35 !important;
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-main,
body.auth-gate-open:not(.admin-page) .dashboard-auth-provider-cluster {
  gap: 12px !important;
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-brand-button {
  min-height: 74px !important;
  gap: 13px !important;
  padding: 10px 16px !important;
  border-color: #303640 !important;
  border-radius: 14px !important;
  background: #12151a !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-brand-button:hover {
  border-color: #5b6471 !important;
  background: #171b21 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-brand-button-mark,
body.auth-gate-open:not(.admin-page) .dashboard-auth-brand-button-mark-telegram {
  width: 42px !important;
  height: 42px !important;
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-brand-button-mark-telegram .dashboard-auth-telegram-logo,
body.auth-gate-open:not(.admin-page) .dashboard-auth-brand-button-mark-yandex .dashboard-auth-yandex-logo {
  width: 42px !important;
  height: 42px !important;
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-brand-button-label {
  font-size: 16px !important;
  font-weight: 780 !important;
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-brand-button-action {
  color: #b1b8c2 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

body.auth-gate-open:not(.admin-page) #dashboardGoogleLogin,
body.auth-gate-open:not(.admin-page) #dashboardGoogleLogin > div,
body.auth-gate-open:not(.admin-page) #dashboardGoogleLogin iframe {
  min-height: 74px !important;
  height: 74px !important;
  border-radius: 14px !important;
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-security-check {
  padding-top: 0 !important;
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-security-badge {
  min-height: 34px !important;
  border-color: #2e343d !important;
  border-radius: 10px !important;
  background: #101319 !important;
  color: #858d98 !important;
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-topline {
  padding-top: 18px !important;
  border-top-color: #20252c !important;
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-form-panel > .dashboard-auth-topline .dashboard-auth-language-switch,
body.auth-gate-open:not(.admin-page) .dashboard-auth-form-panel > .dashboard-auth-topline .dashboard-auth-support-menu,
body.auth-gate-open:not(.admin-page) .dashboard-auth-form-panel > .dashboard-auth-topline .dashboard-auth-language-switch .language-switch-trigger,
body.auth-gate-open:not(.admin-page) .dashboard-auth-form-panel > .dashboard-auth-topline .dashboard-auth-support {
  width: auto !important;
  min-width: 118px !important;
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-language-switch,
body.auth-gate-open:not(.admin-page) .dashboard-auth-support {
  border-color: #303640 !important;
  border-radius: 11px !important;
  background: #12151a !important;
}

body.auth-gate-open:not(.admin-page) .dashboard-auth-form-panel > .dashboard-auth-topline .dashboard-auth-language-switch .language-switch-trigger,
body.auth-gate-open:not(.admin-page) .dashboard-auth-form-panel > .dashboard-auth-topline .dashboard-auth-support {
  min-height: 44px !important;
  height: 44px !important;
}

@media (min-width: 680px) {
  body.auth-gate-open:not(.admin-page) .dashboard-auth-provider-cluster {
    gap: 12px !important;
  }

  body.auth-gate-open:not(.admin-page) .dashboard-auth-brand-button {
    min-height: 94px !important;
    padding: 14px !important;
  }
}

@media (max-width: 430px) {
  body.auth-gate-open:not(.admin-page) .dashboard-auth-gate {
    padding-inline: max(14px, env(safe-area-inset-left)) !important;
    padding-top: max(14px, env(safe-area-inset-top)) !important;
  }

  body.auth-gate-open:not(.admin-page) .dashboard-auth-banner {
    aspect-ratio: 1.82 / 1 !important;
    max-height: none !important;
    border-radius: 18px !important;
  }

  body.auth-gate-open:not(.admin-page) .dashboard-auth-form-panel {
    gap: 19px !important;
    margin-top: -24px !important;
    padding: 23px 18px 20px !important;
    border-radius: 24px !important;
  }

  body.auth-gate-open:not(.admin-page) .dashboard-auth-copy h2 {
    font-size: 31px !important;
  }

  body.auth-gate-open:not(.admin-page) .dashboard-auth-copy .muted-copy {
    font-size: 14px !important;
  }

  body.auth-gate-open:not(.admin-page) .dashboard-auth-brand-button {
    min-height: 68px !important;
    border-radius: 13px !important;
  }

  body.auth-gate-open:not(.admin-page) #dashboardGoogleLogin,
  body.auth-gate-open:not(.admin-page) #dashboardGoogleLogin > div,
  body.auth-gate-open:not(.admin-page) #dashboardGoogleLogin iframe {
    min-height: 68px !important;
    height: 68px !important;
    border-radius: 13px !important;
  }

  body.auth-gate-open:not(.admin-page) .dashboard-auth-form-panel > .dashboard-auth-topline .dashboard-auth-language-switch,
  body.auth-gate-open:not(.admin-page) .dashboard-auth-form-panel > .dashboard-auth-topline .dashboard-auth-support-menu {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
  }

  body.auth-gate-open:not(.admin-page) .dashboard-auth-form-panel > .dashboard-auth-topline .dashboard-auth-language-switch .language-switch-trigger,
  body.auth-gate-open:not(.admin-page) .dashboard-auth-form-panel > .dashboard-auth-topline .dashboard-auth-support {
    min-width: 0 !important;
    width: 100% !important;
  }
}

@media (max-width: 350px) {
  body.auth-gate-open:not(.admin-page) .dashboard-auth-form-panel {
    padding-inline: 15px !important;
  }

  body.auth-gate-open:not(.admin-page) .dashboard-auth-copy h2 {
    font-size: 29px !important;
  }
}
