/* The forms sit outside the animated artwork. Each view has its own time of day. */
.auth-city {
  --sky-crop: 42%;
  --sky-grade: saturate(.92) contrast(1.06);
  --sky-color: linear-gradient(155deg, #ffe0aa70, transparent 48%, #36584330);
  --sun-color: #ffdc8c;
  --train-delay: -4.5s;
  display: block;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  background: #284b42;
}
.auth-city[data-scene="signup"] {
  --sky-crop: 71%;
  --sky-grade: saturate(.9) contrast(1.1);
  --sky-color: linear-gradient(135deg, #a1eed95e, transparent 48%, #427b4866);
  --sun-color: #ebffb3;
  --train-delay: -7s;
}
.auth-city[data-scene="recovery"] {
  --sky-crop: 60%;
  --sky-grade: saturate(.74) brightness(.76);
  --sky-color: linear-gradient(158deg, #487291c7, #647e9147 45%, #0d3e5270);
  --sun-color: #bfe7fa;
  --train-delay: -3s;
}
.auth-city-frame, .auth-city-atmosphere, .auth-city-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.auth-city-buildings {
  position: absolute;
  width: 114%;
  height: 106%;
  max-width: none;
  left: -7%;
  top: -3%;
  object-fit: cover;
  object-position: var(--sky-crop) center;
  filter: var(--sky-grade);
  animation: auth-city-pan 17s ease-in-out infinite alternate both;
}
.auth-city-atmosphere { background: var(--sky-color); }
.auth-city-sunlight {
  position: absolute;
  inset: -12% -32% 8%;
  background: radial-gradient(ellipse at 36% 28%, var(--sun-color), transparent 55%);
  mix-blend-mode: soft-light;
  animation: auth-city-light 9s ease-in-out infinite alternate both;
}
.auth-city-flock {
  position: absolute;
  width: 100%;
  top: 21%;
  color: #253a33;
  opacity: .73;
  animation: auth-city-fly 20s linear -6s infinite both;
}
.auth-city-flock i { position: absolute; display: flex; width: 12px; height: 4px; }
.auth-city-flock i:nth-child(2) { left: 19px; top: -8px; scale: .78; }
.auth-city-flock i:nth-child(3) { left: 31px; top: 4px; scale: .66; }
.auth-city-flock i::before, .auth-city-flock i::after {
  content: "";
  width: 50%;
  border-top: 1.5px solid currentColor;
  border-radius: 70% 85% 0 0;
  transform: rotate(14deg);
}
.auth-city-flock i::after { transform: rotate(-17deg); }
.auth-city-rail {
  position: absolute;
  top: min(65%, 480px);
  left: -5%;
  width: 110%;
  height: 5px;
  transform: rotate(-4deg);
  background: linear-gradient(#b0bba3 0 1px, #354d42 1px 2px, #233e35 2px);
  box-shadow: 0 2px 3px #082c2440;
}
.auth-city-rail::after {
  content: "";
  display: block;
  position: absolute;
  top: 100%;
  width: 100%;
  height: 42px;
  background: repeating-linear-gradient(96deg, transparent 0 76px, #334b41bf 77px 80px, transparent 81px 124px);
  mask-image: linear-gradient(#000, transparent);
}
.auth-city-train {
  position: absolute;
  inset: auto 0 100%;
  height: 9px;
  display: flex;
  gap: 1px;
  animation: auth-city-transit 12s linear var(--train-delay) infinite both;
}
.auth-city-train i {
  flex: 0 0 28px;
  height: 100%;
  border: 1px solid #324843;
  border-top-color: #d4dac2;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, #627e76 0 2px, #f1dfa2 2px 5px, #75908a 5px 7px) 0 1px / 100% 3px no-repeat, #879c8c;
}
.auth-city-train i:first-child { border-radius: 5px 2px 2px 2px; }
.auth-city-train i:last-child { border-radius: 2px 7px 2px 2px; }
.auth-city-shade {
  background: linear-gradient(0deg, #0d2924ed, #0d292422 42%, transparent 75%);
}
.auth-city-wordmark {
  position: absolute;
  left: clamp(22px, 3.2vw, 44px);
  bottom: clamp(24px, 4vw, 50px);
  color: #fcf8df;
  font: 400 clamp(56px, 6.4vw, 88px)/.86 "Instrument Serif", Georgia, serif;
  letter-spacing: -.055em;
  text-shadow: 0 2px 16px #193a2673;
}
.auth-city-wordmark em { color: #d6ed9f; }
.auth-city .city-motion {
  inset: 16px 16px auto auto;
  min-height: 42px;
  background-color: #153b32da;
}
.auth-city[data-moving] .motion-glyph {
  width: 8px;
  height: 10px;
  border: 0;
  border-inline: 2px solid currentColor;
}
.auth-city:not([data-moving]) .auth-city-frame * { animation-play-state: paused; }
@keyframes auth-city-pan {
  from { transform: translate3d(-3.5%, -.6%, 0) scale(1.01); }
  to { transform: translate3d(3.5%, .6%, 0) scale(1.055); }
}
@keyframes auth-city-light {
  from { opacity: .3; transform: translateX(-5%); }
  to { opacity: .82; transform: translateX(7%); }
}
@keyframes auth-city-fly {
  from { transform: translate3d(-13%, 14px, 0); }
  to { transform: translate3d(108%, -12px, 0); }
}
@keyframes auth-city-transit {
  from { transform: translateX(-90px); }
  to { transform: translateX(100%); }
}
.auth-form .auth-forgot-link, .auth-form .auth-return-link {
  color: #215b42;
  text-underline-offset: .18em;
}
.auth-form .auth-recovery-options { gap: 0; }
.auth-recovery-options section { padding: 16px 0; border-top: 1px solid #d7e0d3; }
.auth-recovery-options h2 { margin: 0 0 6px; color: #1c3b2f; font-size: 1.05rem; }
.auth-form .auth-recovery-options p { margin: 0 0 12px; font-size: .95rem; line-height: 1.5; }
.auth-recovery-options .primary, .auth-recovery-options .secondary {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  text-decoration: none;
}
.auth-recovery-options .primary { background: #194b37; color: #fff; }
.auth-recovery-options .secondary { background: #fff; color: #1c533b; border-color: #b7c9bc; }
.auth-return-link { color: #1c533b; font-weight: 650; }
@media (max-width: 680px) {
  .auth-city { height: clamp(155px, 45vw, 210px); }
  .auth-city-buildings { object-position: var(--sky-crop) 47%; }
  .auth-city-wordmark { left: 20px; bottom: 15px; font-size: 43px; }
  .auth-city .city-motion { inset: 10px 10px auto auto; }
  .auth-city-rail { top: 62%; }
  .auth-city-shade { background: linear-gradient(75deg, #0e2a26c2, transparent 70%); }
}
@media (prefers-reduced-motion: reduce) {
  .auth-city-buildings, .auth-city-train, .auth-city-flock { animation: none; }
  .auth-city-train { left: 52%; }
  .auth-city-flock { left: 24%; }
  .auth-city-sunlight { animation: auth-city-ambient 12s ease-in-out infinite alternate both; }
}
@keyframes auth-city-ambient {
  from { opacity: .35; }
  to { opacity: .62; }
}

#signup [data-signup-zone][hidden] { display: none; }
