html.bsa-opening-active,
html.bsa-opening-active body {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

html.bsa-opening-pending::before {
  position: fixed;
  z-index: 2147482999;
  inset: 0;
  content: "";
  background: #010101;
}

#bsa-opening-frame {
  position: fixed;
  z-index: 2147483000;
  inset: 0;
  display: block;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: #010101;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 560ms cubic-bezier(0.65, 0, 0.35, 1),
    visibility 560ms;
}

#bsa-opening-frame.is-complete,
#bsa-opening-frame.is-skipping {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#bsa-opening-frame.is-skipping {
  transition-duration: 220ms;
}

@media (prefers-reduced-motion: reduce) {
  #bsa-opening-frame {
    transition-duration: 180ms;
  }
}
