html:has(#closure-notice[open]),
body:has(#closure-notice[open]) {
  overflow: hidden !important;
  overscroll-behavior: none;
}

#closure-notice {
  position: fixed;
  inset: 0;
  width: fit-content;
  height: fit-content;
  max-width: calc(100vw - 24px);
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  user-select: none;
  -webkit-user-select: none;
}

#closure-notice::backdrop {
  background: rgb(0 0 0 / 55%);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  touch-action: none;
}

#closure-notice picture,
#closure-notice img {
  display: block;
}

#closure-notice img {
  width: auto;
  height: auto;
  /* Hide the blue outline embedded in both notice images. */
  clip-path: inset(3px round 4px);
  max-width: 100%;
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  object-fit: contain;
  pointer-events: none;
}

@media (max-width: 767px) {
  #closure-notice {
    width: 303px;
  }
}
