html, body {
  margin: 0;
  background: #040b18;
}

body.stars-standalone > #anr-stars-login {
  min-height: 100svh;
}

#anr-stars-login {
  --logo-light: 0;
  --sky-image: url("stars-background.jpg");
  position: relative;
  isolation: isolate;
  min-height: 650px;
  overflow: hidden;
  color: #f4f6ff;
  background: #040b18;
  background-image: linear-gradient(#02091912, #02091932), var(--sky-image);
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  padding: 42px 22px;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  color-scheme: dark;
}

#anr-stars-login * {
  box-sizing: border-box;
}

#anr-stars-login button,
#anr-stars-login input {
  font: inherit;
}

#anr-stars-login a {
  text-decoration: none;
  text-align: center;
}

#anr-stars-login a:focus-visible {
  outline: 2px solid #e8eaff;
  outline-offset: 5px;
}

#anr-stars-login button,
#anr-stars-login a {
  cursor: pointer;
}

#anr-stars-login button:focus-visible,
#anr-stars-login input:focus-visible {
  outline: 2px solid #e8eaff;
  outline-offset: 5px;
}

#anr-stars-login .auth-scene {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  z-index: 1;
  width: 100%;
}

#anr-stars-login .glass-brand {
  position: relative;
  border: 0;
  padding: 0 20px 8px;
  background: transparent;
  font-family: 'Arial Rounded MT Bold', Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(78px, 10vw, 112px);
  letter-spacing: -.08em;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
  isolation: isolate;
}

#anr-stars-login .glass-letters {
  display: block;
  color: #dde8ff38;
  background: linear-gradient(152deg, #ffffffdb 4%, #b2c9fa21 32%, #dfe8f83b 54%, #ffffffb3 72%, #b5c9eb30 93%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px #e0ebff80;
  text-shadow: 0 1px 0 #ffffff12, 0 6px 16px #09122860;
}

#anr-stars-login .sun-letters {
  position: absolute;
  inset: 0 20px 8px;
  pointer-events: none;
  color: #fff8d9;
  -webkit-text-stroke: 1px #fffef1;
  opacity: var(--logo-light);
  text-shadow: 0 0 5px #fffef1, 0 0 15px #ffe8a0, 0 0 36px #ffbc4bcc, 0 0 75px #ff8b2870;
}

#anr-stars-login .brand-halo {
  position: absolute;
  inset: -50px -65px;
  pointer-events: none;
  background: radial-gradient(ellipse, #fff4bc80, #ffc45a24 32%, #ff7b1110 48%, transparent 69%);
  filter: blur(13px);
  opacity: var(--logo-light);
  z-index: -1;
}

#anr-stars-login .star-glass {
  position: relative;
  width: min(440px, 100%);
  height: 174px;
  border: 1px solid #ffffff48;
  border-top-color: #ffffff82;
  border-radius: 27px;
  background: linear-gradient(130deg, #e4e8fb2b, #b7c0e418 57%, #e5cad027);
  backdrop-filter: blur(22px) saturate(.88);
  -webkit-backdrop-filter: blur(22px) saturate(.88);
  box-shadow: inset 0 1px 2px #ffffff33, inset 0 -1px 7px #d5dcf615, 0 22px 75px #0107134a;
  transition: width .55s cubic-bezier(.22, 1, .36, 1), height .55s cubic-bezier(.22, 1, .36, 1), box-shadow .3s;
}

#anr-stars-login .access-choice {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 18px;
  padding: 34px 30px;
  opacity: 1;
  transition: opacity .18s, transform .3s;
}

#anr-stars-login .glass-button,
#anr-stars-login .access-form input:not([type="hidden"]) {
  display: block;
  min-width: 0;
  width: 100%;
  border: 1px solid #ffffff3d;
  border-top-color: #ffffff5c;
  border-radius: 17px;
  background: linear-gradient(125deg, #ecedff26, #d4d6ea19);
  box-shadow: inset 0 1px 1px #ffffff12;
  color: #f6f6fd;
  padding: 19px 18px;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.15;
}

#anr-stars-login .glass-button:hover {
  background: linear-gradient(125deg, #f0f1ff3d, #e5d5ec28);
  border-color: #ffffff78;
}

#anr-stars-login .access-form {
  position: absolute;
  inset: 0;
  padding: 27px 28px 29px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  transform: translateY(9px);
  transition: opacity .28s .13s, transform .36s .12s;
}

#anr-stars-login .access-form[hidden] {
  display: none;
}

#anr-stars-login .glass-back {
  align-self: flex-start;
  border: 0;
  background: transparent;
  padding: 0 4px 8px;
  color: #f0f1fa;
  font-size: 27px;
  line-height: 1;
  min-width: 44px;
  min-height: 44px;
}

#anr-stars-login .access-form input:not([type="hidden"]) {
  padding: 16px 17px;
  font-size: 16px;
}

#anr-stars-login .access-form input::placeholder {
  color: #f0f1fac0;
  opacity: 1;
}

#anr-stars-login .access-form .glass-button {
  font-size: 17px;
  padding: 16px;
  margin-top: 2px;
}

#anr-stars-login.is-form .star-glass {
  width: min(386px, 100%);
  height: 315px;
}

#anr-stars-login.has-message.is-form .star-glass {
  height: 430px;
}

#anr-stars-login .auth-message {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

#anr-stars-login.is-form .access-choice {
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}

#anr-stars-login.is-form .access-form {
  opacity: 1;
  transform: translateY(0);
}

#anr-stars-login .star-glass.preview-confirm {
  box-shadow: inset 0 1px 3px #ffffff50, 0 0 30px #cfdcff45;
}

#anr-stars-login .star-twinkles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

#anr-stars-login .twinkle {
  position: absolute;
  width: var(--star-size, 2px);
  height: var(--star-size, 2px);
  background: #f3f7ff;
  border-radius: 50%;
  box-shadow: 0 0 4px #f6f9ffe0, 0 0 10px #bfd2ff90;
  opacity: .03;
}

@media (max-width: 520px) {
  #anr-stars-login {
    min-height: 650px;
    padding: 45px 20px;
    background-position: 45% center;
  }

  #anr-stars-login .auth-scene {
    gap: 26px;
  }

  #anr-stars-login .glass-brand {
    font-size: 88px;
  }

  #anr-stars-login .star-glass {
    height: 150px;
    border-radius: 24px;
  }

  #anr-stars-login .access-choice {
    padding: 28px 21px;
    gap: 12px;
  }

  #anr-stars-login .glass-button {
    padding: 19px 10px;
    font-size: 17px;
  }

  #anr-stars-login .access-form {
    padding-left: 23px;
    padding-right: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #anr-stars-login *,
  #anr-stars-login *::before,
  #anr-stars-login *::after {
    transition: none !important;
    animation: none !important;
  }

  #anr-stars-login .star-twinkles {
    display: none;
  }
}
