/* Balcony login scene for the level pages. Applies only while the login screen is visible. */
.container:has(#login-screen:not(.hidden)) { max-width: 780px; padding-left: 0; padding-right: 0; }
.container:has(#login-screen:not(.hidden))::before {
  content: ""; display: block; aspect-ratio: 1324 / 310; width: 100%;
  background: url(../scene/login-top.webp) center / cover no-repeat;
  border-radius: 22px 22px 0 0;
}
#login-screen:not(.hidden) {
  position: relative; margin-top: 0; border-radius: 0 0 22px 22px; border: 0;
  padding: 18px 92px 56px;
  background:
    url(../scene/rail.webp) top center / auto 34px repeat-x,
    url(../scene/ledge.webp) bottom center / auto 30px repeat-x,
    linear-gradient(180deg, #f5eadf, #eddcca);
  box-shadow: 0 24px 60px rgba(5, 15, 40, .35);
  color: #0b1d3a;
}
#login-screen:not(.hidden)::before,
#login-screen:not(.hidden)::after {
  content: ""; position: absolute; top: -4px; bottom: 0; width: 72px; pointer-events: none;
  background-size: 100% 100%; background-repeat: no-repeat;
}
#login-screen:not(.hidden)::before { left: 0; background-image: url(../scene/pillar-l.webp); }
#login-screen:not(.hidden)::after  { right: 0; background-image: url(../scene/pillar-r.webp); }

#login-screen:not(.hidden) h2 {
  display: flex; align-items: center; gap: 16px; margin: 22px 0 16px; color: #0b1d3a; font-weight: 800;
}
#login-screen:not(.hidden) h2::before,
#login-screen:not(.hidden) h2::after { content: ""; flex: 1; height: 2px; background: #0b1d3a; opacity: .85; border-radius: 2px; }
#login-screen:not(.hidden) .alert-info {
  background: linear-gradient(90deg, #e3eefc, #d5e5fa); border: 0; border-left: 5px solid #0d3a9e; border-radius: 14px; color: #0b1d3a;
}
#login-screen:not(.hidden) label { color: #0b1d3a; font-weight: 800; }
#login-screen:not(.hidden) .form-control {
  background: #fff; border: 1.5px solid #cfd8e6; border-radius: 14px; box-shadow: inset 0 1px 2px rgba(11, 29, 58, .06);
}
#login-screen:not(.hidden) .btn-primary {
  background: linear-gradient(180deg, #1d5fd6, #0d3a9e); border-radius: 16px; padding: 15px; font-weight: 800; box-shadow: 0 10px 22px rgba(13, 58, 158, .35);
}

@media (max-width: 640px) {
  .container:has(#login-screen:not(.hidden)) { max-width: 100%; }
  .container:has(#login-screen:not(.hidden))::before { border-radius: 0; }
  #login-screen:not(.hidden) { padding: 14px 20px 48px; border-radius: 0; }
  #login-screen:not(.hidden)::before, #login-screen:not(.hidden)::after { display: none; }
}
