.login-gate {
  background: #050706;
  overflow: hidden;
}

.login-gate .topbar,
.login-gate footer {
  display: none;
}

.login-gate .signed-out {
  width: 100%;
  max-width: none;
  margin: 0;
}

.login-gate .signed-out main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.login-scene {
  position: relative;
  isolation: isolate;
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
  background: #050706;
}

.login-scene-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.login-scene::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0204038c 0%, #02040318 42%, transparent 70%);
  pointer-events: none;
}

.login-ghost-form {
  position: absolute;
  z-index: 1;
  top: 52%;
  left: clamp(24px, 10vw, 180px);
  transform: translateY(-50%);
  width: min(280px, 72vw);
  display: grid;
  gap: 22px;
}

.login-row {
  display: grid;
  grid-template-columns: 5ch minmax(0, 1fr);
  align-items: center;
  column-gap: .5ch;
  min-height: 38px;
  font: 24px/1.4 var(--mono);
  letter-spacing: -.035em;
}

.login-row label {
  width: 100%;
  color: #8ff0a4;
  font: 24px/1.4 var(--mono);
  letter-spacing: -.035em;
  text-align: right;
  text-shadow: 0 1px 12px #000;
  cursor: text;
}

.login-ghost-form input:not([type='hidden']) {
  width: 100%;
  min-height: 38px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: #8ff0a4;
  caret-color: #8ff0a4;
  font: 24px/1.4 var(--mono);
  letter-spacing: -.035em;
  text-shadow: 0 1px 12px #000;
}

.login-ghost-form input:not([type='hidden']):focus,
.login-ghost-form input:not([type='hidden']):focus-visible {
  border: 0;
  outline: 0;
  background: transparent;
}

.login-ghost-form input:not([type='hidden']):-webkit-autofill,
.login-ghost-form input:not([type='hidden']):-webkit-autofill:focus {
  -webkit-text-fill-color: #8ff0a4;
  box-shadow: 0 0 0 100px #050706 inset;
}

.login-ghost-form button.sr-only {
  padding: 0;
  border: 0;
  opacity: 0;
}

@media (max-width: 760px) {
  .login-scene-art {
    object-fit: cover;
    object-position: 68% center;
  }

  .login-scene::after {
    background: linear-gradient(0deg, #020403aa 0%, #02040326 35%, transparent 65%);
  }

  .login-ghost-form {
    top: auto;
    bottom: clamp(48px, 13svh, 120px);
    left: 7vw;
    transform: none;
    width: 86vw;
    gap: 18px;
  }

  .login-row,
  .login-row label,
  .login-ghost-form input:not([type='hidden']) {
    font-size: 22px;
  }
}
