/* PDDO holiday overlay — self-contained and removable.
   Homepage only: a big, centered, 16:9 framed hero window playing
   Nick's widescreen holiday loops. The live orb-stage is hidden
   (logo files are not altered) because the video already features
   the dancing orb. Greetings are painted in the videos, so there
   is no HTML greeting bar. Gold buttons stay below, uncovered. */

body.pddo-has-holiday-window .hero > .hero-logo-wrap.orb-stage {
  display: none;
}

body.pddo-has-holiday-window .hero {
  overflow: visible;
}

html.pddo-holiday-ready,
body.pddo-has-holiday-window {
  overflow-x: hidden;
}

.pddo-holiday-window {
  display: block;
  width: min(100%, 64rem);
  max-width: 100%;
  margin: 0 auto 1.35rem;
  box-sizing: border-box;
  z-index: 2;
}

.pddo-holiday-frame {
  position: relative;
  box-sizing: border-box;
  padding: 14px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, #7A4A1C 0%, #5A2E14 40%, #3A1C0C 100%);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.5),
    inset 0 0 0 2px #E2A848,
    inset 0 0 0 6px #6B3A1F;
}

.pddo-holiday-window[data-mode="christmas"] .pddo-holiday-frame {
  background:
    linear-gradient(180deg, #1E3A28 0%, #143224 45%, #0C1C18 100%);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.5),
    inset 0 0 0 2px #E2A848,
    inset 0 0 0 6px #1A3A2A;
}

.pddo-holiday-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
  background: #0A0216;
  z-index: 1;
}

.pddo-holiday-viewport video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0A0216;
}

.pddo-holiday-frame-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}

/* Thanksgiving song — tap to play / pause, never autoplay. */
.pddo-holiday-song {
  display: block;
  width: 100%;
  margin: 0.7rem 0 0;
  padding: 0.45rem 0.8rem;
  border: 1px solid #E2A848;
  border-radius: 999px;
  background: rgba(10, 2, 22, 0.88);
  color: #FFF6DE;
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 3;
}

.pddo-holiday-song:hover,
.pddo-holiday-song:focus-visible {
  background: rgba(226, 168, 72, 0.18);
  outline: none;
}

.pddo-holiday-song[aria-pressed="true"] {
  background: rgba(226, 168, 72, 0.22);
}

@media (prefers-reduced-motion: reduce) {
  .pddo-holiday-viewport video {
    /* Poster / first frame only; JS also pauses the loop. */
  }
}

@media (max-width: 700px) {
  .pddo-holiday-window {
    width: 100%;
    max-width: 100%;
  }

  .pddo-holiday-frame {
    padding: 10px;
  }

  .pddo-holiday-song {
    font-size: 0.62rem;
    padding: 0.4rem 0.6rem;
  }

}
