:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #eeeef0;
  background: #111214;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.auth-page { min-height: 100svh; display: flex; flex-direction: column; position: relative; isolation: isolate; }
.auth-ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.auth-ambient::before, .auth-ambient::after { content: ""; position: absolute; border-radius: 50%; background: #5865f2; filter: blur(90px); }
.auth-ambient::before { width: clamp(360px, 48vw, 680px); aspect-ratio: 1; top: -12vh; left: -18vw; opacity: .18; animation: ambient-drift-one 32s ease-in-out infinite alternate; }
.auth-ambient::after { width: clamp(320px, 40vw, 560px); aspect-ratio: 1; bottom: -24vh; right: -12vw; opacity: .13; animation: ambient-drift-two 38s ease-in-out infinite alternate; }
@keyframes ambient-drift-one { to { transform: translate(16vw, 18vh); } }
@keyframes ambient-drift-two { to { transform: translate(-18vw, -16vh); } }
@media (prefers-reduced-motion: reduce) {
  .auth-ambient::before, .auth-ambient::after { animation: none; }
}
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: #fff; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #a8b3ff; outline-offset: 5px; }
.auth-header, .auth-footer { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.auth-header { padding-block: 28px; border-bottom: 1px solid #2a2c30; }
.auth-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 17px; font-weight: 600; letter-spacing: -.3px; }
.auth-brand img { display: block; object-fit: contain; }
.auth-main { flex: 1; display: grid; align-content: center; width: min(540px, calc(100% - 48px)); margin-inline: auto; padding-block: 80px; }
.auth-content h1 { font-size: clamp(34px, 4vw, 46px); font-weight: 600; line-height: 1.12; letter-spacing: -1.5px; margin: 0 0 20px; }
.auth-description { color: #acafb6; font-size: 17px; line-height: 1.65; max-width: 470px; margin: 0 0 32px; }
.auth-button { min-height: 46px; padding: 12px 19px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; border: 1px solid transparent; border-radius: 5px; background: #5865f2; color: #fff; font: 600 14px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; text-decoration: none; cursor: pointer; }
.auth-button:hover { background: #4752c4; }
.auth-button img { object-fit: contain; }
.auth-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.auth-button--secondary { background: transparent; border-color: #45484e; color: #e2e3e6; }
.auth-button--secondary:hover { background: #202226; border-color: #62666e; }
.auth-button:disabled { opacity: .55; cursor: wait; }
.auth-help { font-size: 14px; line-height: 1.65; color: #888d96; margin: 22px 0 0; max-width: 440px; }
.auth-help a { color: #c5c8cf; }
.auth-account { color: #aeb2bb; margin: -14px 0 26px; font-size: 14px; overflow-wrap: anywhere; }
.auth-text-button { display: inline; padding: 0; margin: 22px 0 0; border: 0; background: none; font: inherit; font-size: 14px; color: #b8bcc5; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.auth-text-button:hover { color: #fff; }
.auth-status { color: #aeb2bb; font-size: 14px; line-height: 1.65; margin: 24px 0 0; max-width: 470px; }
.auth-status:empty { display: none; }
.auth-status[data-tone="error"] { color: #eda49c; }
.auth-footer { border-top: 1px solid #2a2c30; padding-block: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 12px; color: #858a93; }
.auth-footer a { text-decoration: none; }
.auth-footer a:hover { text-decoration: underline; }
@media(max-width: 640px) {
  .auth-header, .auth-footer { width: calc(100% - 40px); }
  .auth-header { padding-block: 22px; text-align: center; }
  .auth-main { width: min(480px, calc(100% - 48px)); padding-block: 56px; }
  .auth-content { text-align: center; }
  .auth-content h1 { max-width: 18ch; margin-inline: auto; text-wrap: balance; }
  .auth-description { font-size: 16px; max-width: 32ch; margin-inline: auto; }
  .auth-help, .auth-status, .auth-account { margin-inline: auto; }
  .auth-actions { flex-direction: column; align-items: center; }
  .auth-button { min-width: 210px; max-width: 100%; }
  .auth-footer { font-size: 11px; justify-content: center; column-gap: 24px; text-align: center; }
  .auth-ambient::before { left: -220px; top: -4vh; filter: blur(75px); }
  .auth-ambient::after { right: -200px; bottom: -8vh; filter: blur(75px); }
}
