html {
  scrollbar-gutter: stable;
}

html.site-opening-active {
  overflow: hidden;
  overscroll-behavior: none;
}

#holiday-title:focus {
  outline: none;
}

.site-opening {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: clip;
  background: #f1f7ef;
  --opening-art-width: min(27.3vw, 600px);
}

.site-opening::backdrop {
  background: transparent;
}

.site-opening:focus {
  outline: none;
}

.site-opening__art {
  position: absolute;
  top: 49.4%;
  left: 50%;
  width: var(--opening-art-width);
  height: auto;
  aspect-ratio: 15 / 4;
  transform: translate(-50%, -50%);
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent),
              linear-gradient(transparent, black 6%, black 94%, transparent);
  mask-composite: intersect;
}

.site-opening__art[hidden] {
  display: none;
}

.site-opening__enter {
  appearance: none;
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.site-opening__enter:focus {
  outline: none;
}

.site-opening[data-keyboard] .site-opening__enter:focus-visible::after {
  content: "";
  position: absolute;
  top: calc(49.4% + var(--opening-art-width) * 2 / 15 + 4px);
  left: 50%;
  width: 26px;
  transform: translateX(-50%);
  border-bottom: 3px solid #396657;
  border-radius: 2px;
}

.site-opening__enter[aria-busy="true"] {
  cursor: default;
}

@media (max-width: 660px) {
  .site-opening {
    --opening-art-width: 46vw;
  }
}
