html:has(.construction-notice[open]) {
  overflow: hidden;
}

.construction-notice {
  width: min(35rem, calc(100% - 1.5rem));
  max-height: calc(100dvh - 1.5rem);
  padding: 0;
  border: 1px solid #ffe00080;
  border-radius: 1.25rem;
  background: #101010;
  color: #fff;
  box-shadow: 0 0 2rem #ffe00030;
  overscroll-behavior: contain;
}

.construction-notice[open] {
  animation: construction-notice-enter 220ms ease-out;
}

.construction-notice::backdrop {
  background: #000b;
}

.construction-notice-content {
  position: relative;
  padding: clamp(1.25rem, 4vw, 2rem);
  text-align: center;
}

.construction-notice img {
  display: block;
  width: clamp(6rem, 22vh, 9rem);
  height: auto;
  margin: 0 auto 0.625rem;
  mix-blend-mode: screen;
}

.construction-notice h2 {
  margin: 0;
  color: var(--yellow);
  font-size: clamp(1.375rem, 5vw, 2rem);
  line-height: 1.15;
}

.construction-notice p {
  margin: 0.75rem 0;
  line-height: 1.45;
}

.construction-notice-tagline {
  color: var(--yellow);
}

.construction-notice-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: inherit;
  font-size: 1.5rem;
}

.construction-notice-close:hover {
  background: #ffffff18;
}

@keyframes construction-notice-enter {
  from {
    opacity: 0;
    transform: translateY(0.4rem);
  }
}
