.entry-page { margin: 0; background: #050711; }

.auth-gate.starport-login {
  isolation: isolate;
  place-items: center;
  overflow: auto;
  padding: 82px 18px 90px;
  background: #050711;
}

.auth-gate.starport-login::before,
.auth-gate.starport-login::after { display: none; }

.entry-brand-link, #wbOpenMap { text-decoration: none; }
.starport-login [hidden] { display: none !important; }
.starport-login .auth-panel { justify-self: center; }
.starport-login .auth-panel,
:root[data-theme="dark"] .starport-login .auth-panel {
  border-color: rgba(210, 229, 255, .36) !important;
  background: linear-gradient(145deg, rgba(37, 49, 75, .53), rgba(10, 16, 33, .42) 62%, rgba(35, 28, 59, .40)) !important;
  box-shadow: inset 0 1px 0 rgba(235, 242, 255, .19), 0 20px 60px rgba(1, 4, 12, .40) !important;
  -webkit-backdrop-filter: blur(13px) saturate(1.3) !important;
  backdrop-filter: blur(13px) saturate(1.3) !important;
}
.starport-login .auth-panel-kicker { color: #aebad3; }
.starport-login .auth-title { color: #f0f4ff; }
.starport-login .auth-sub,
.starport-login .auth-status { color: #c4cfe5; }
.starport-login .auth-status:empty { display: none; }
.starport-login .entry-logout { justify-self: center; }
.starport-login .auth-foot { margin-top: 16px; }

.entry-sky {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: #050711;
}

.entry-nebula {
  position: absolute;
  inset: -10%;
  background: url("./assets/milky-way.webp") center 52% / cover no-repeat;
  filter: brightness(1.22) contrast(1.12) saturate(1.38);
  animation: entry-drift 35s ease-in-out infinite alternate;
}

.entry-sky::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 65%, #744bb952, transparent 60%),
    radial-gradient(ellipse at 84% 28%, #234b975c, transparent 55%),
    linear-gradient(180deg, #050711eb, transparent 30%, transparent 60%, #050711d9);
}

.entry-lens {
  position: absolute;
  z-index: 2;
  top: 49%;
  left: 37%;
  width: min(73vw, 870px);
  min-width: 420px;
  aspect-ratio: 1;
  background: url("./assets/black-hole.webp") center / contain no-repeat;
  transform: translate(-50%, -50%) rotate(-18deg);
  filter: brightness(1.8) saturate(1.25);
  mix-blend-mode: screen;
  mask-image: radial-gradient(circle, #000 46%, transparent 73%);
  animation: entry-lens 19s ease-in-out infinite alternate;
}

.entry-orbit {
  position: absolute;
  z-index: 2;
  top: 49%;
  left: 45%;
  width: min(88vw, 1200px);
  min-width: 580px;
  height: min(31vw, 370px);
  min-height: 170px;
  transform: translate(-50%, -50%) rotate(-23deg);
  border-radius: 50%;
  border: 1px solid #92bdff48;
  box-shadow: 0 0 0 17px #9dbaff14, 0 0 0 34px #9dbaff0b, inset 0 0 44px #6186e51f;
}

.entry-orbit::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from 20deg, transparent 0 67%, #8cb7ff 77%, #ffe0ad 82%, transparent 91%);
  mask-image: radial-gradient(ellipse, transparent 60%, #000 69%, transparent 73%);
  opacity: .7;
  animation: entry-glint 10s ease-in-out infinite alternate;
}

#entryStars {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
}

@keyframes entry-drift {
  from { transform: translate3d(-2%, 1%, 0) scale(1); }
  to { transform: translate3d(3%, -2%, 0) scale(1.14); }
}

@keyframes entry-lens {
  from { transform: translate(-50%, -50%) rotate(-18deg) scale(1); }
  to { transform: translate(-48%, -54%) rotate(-12deg) scale(1.09); }
}

@keyframes entry-glint {
  from { opacity: .25; }
  to { opacity: .83; }
}

.starport-login[data-paused] .entry-nebula,
.starport-login[data-paused] .entry-lens,
.starport-login[data-paused] .entry-orbit::after {
  animation-play-state: paused;
}

@media (max-width: 700px) {
  .entry-lens { left: 43%; }
  .entry-orbit { left: 49%; }
}

@media (prefers-reduced-motion: reduce) {
  .entry-nebula, .entry-lens, .entry-orbit::after { animation: none; }
}
