html.thanksgiving-popup-open { overflow: hidden; }
.thanksgiving-popup {
  width: min(430px, calc(100vw - 32px), calc((100dvh - 32px) * 430 / 566));
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  background: #39200e;
  box-shadow: 0 16px 70px rgb(0 0 0 / 45%);
}
.thanksgiving-popup::backdrop { background: rgb(0 0 0 / 75%); }
.thanksgiving-popup img { display: block; width: 100%; height: auto; }
.thanksgiving-popup-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: #fff;
  color: #171717;
  font: 30px/1 Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 2px 10px rgb(0 0 0 / 30%);
}
.thanksgiving-popup-close:focus-visible { outline: 3px solid #205ca4; outline-offset: 2px; }

@media (min-width: 768px) {
  .thanksgiving-popup {
    width: min(650px, calc(100vw - 48px), calc((100dvh - 48px) * 430 / 566));
  }
}
