/* Alterra VR / New Year 2026, visual overlay only. No existing selectors overridden. */
#alterra-ny-1513-top {
  position: absolute;
  inset: 0 0 auto;
  height: 220px;
  z-index: 19; /* Existing .site-header uses 20, mobile .m1-header 9000. */
  pointer-events: none;
  overflow: hidden;
  contain: layout paint;
}
#alterra-ny-1513-top::before {
  content: "";
  position: absolute;
  inset: -25px 0 auto;
  height: 77px;
  background: url("ny-left.webp") repeat-x top center / 810px auto;
  opacity: .37;
  pointer-events: none;
}
#alterra-ny-1513-top .ny-bough {
  display: block;
  position: absolute;
  top: -8px;
  width: min(45vw, 840px);
  height: auto;
  max-width: none;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
#alterra-ny-1513-top .ny-left { left: 0; }
#alterra-ny-1513-top .ny-right { right: 0; }
#alterra-ny-1513-snow {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  overflow: hidden;
  contain: strict;
}
#alterra-ny-1513-snow .ny-flake {
  position: absolute;
  top: -22px;
  left: var(--ny-x);
  width: var(--ny-size);
  height: var(--ny-size);
  border-radius: 50%;
  background: rgba(219,247,255,var(--ny-opacity));
  transform: translate3d(0,-22px,0);
  animation: alterra-ny-1513-fall var(--ny-time) linear var(--ny-delay) infinite;
}
@keyframes alterra-ny-1513-fall {
  to { transform: translate3d(var(--ny-drift), 110vh, 0); }
}
html.alterra-ny-1513-paused #alterra-ny-1513-snow .ny-flake {
  animation-play-state: paused;
}
@media(max-width:1100px) {
  #alterra-ny-1513-top { height: 180px; }
  #alterra-ny-1513-top .ny-bough { width: min(52vw, 540px); top: -6px; }
}
@media(max-width:720px) {
  #alterra-ny-1513-top { height: 125px; }
  #alterra-ny-1513-top::before { display: none; }
  #alterra-ny-1513-top .ny-left { width: 230px; left: -120px; top: -15px; opacity: .88; }
  #alterra-ny-1513-top .ny-right { width: 290px; right: -102px; top: -9px; }
}
@media(prefers-reduced-motion:reduce) {
  #alterra-ny-1513-snow { display: none; }
}


/* NY V3: decorations framed in corners, navigation clear */

#alterra-ny-1513-top::before {
  display: none;
}

@media (min-width: 1101px) {
  #alterra-ny-1513-top {
    height: 145px;
  }
  #alterra-ny-1513-top .ny-bough {
    width: clamp(360px, 30vw, 530px);
    top: -45px;
    filter: drop-shadow(0 8px 10px rgba(0,0,0,.35));
  }
  #alterra-ny-1513-top .ny-left {
    left: -32px;
  }
  #alterra-ny-1513-top .ny-right {
    right: -32px;
  }
}

@media (min-width: 721px) and (max-width: 1100px) {
  #alterra-ny-1513-top {
    height: 130px;
  }
  #alterra-ny-1513-top .ny-bough {
    width: clamp(250px, 34vw, 400px);
    top: -35px;
  }
  #alterra-ny-1513-top .ny-left {
    left: -22px;
  }
  #alterra-ny-1513-top .ny-right {
    right: -22px;
  }
}

@media (max-width: 720px) {
  #alterra-ny-1513-top {
    height: 100px;
  }
  #alterra-ny-1513-top .ny-left {
    width: 175px;
    left: -108px;
    top: -40px;
  }
  #alterra-ny-1513-top .ny-right {
    width: 175px;
    right: -110px;
    top: -40px;
  }
}


/* STEP 1518: decorative position correction */

@media (min-width: 1101px) {
  #alterra-ny-1513-top .ny-bough {
    width: clamp(440px, 34vw, 580px);
    top: 3px;
  }

  #alterra-ny-1513-top .ny-left {
    left: -25px;
  }

  #alterra-ny-1513-top .ny-right {
    right: -25px;
  }
}

@media (min-width: 721px) and (max-width: 1100px) {
  #alterra-ny-1513-top .ny-bough {
    width: clamp(310px, 36vw, 420px);
    top: 2px;
  }
}

@media (max-width: 720px) {
  #alterra-ny-1513-top .ny-left {
    width: 195px;
    left: -110px;
    top: -4px;
  }

  #alterra-ny-1513-top .ny-right {
    width: 195px;
    right: -110px;
    top: -4px;
  }
}


/* STEP 1520: visible mobile Christmas decorations */

@media (min-width: 721px) and (max-width: 1100px) {
  #alterra-ny-1513-top {
    top: 76px;
    height: 140px;
    z-index: 8997;
  }

  #alterra-ny-1513-top .ny-bough {
    width: 420px;
    top: 0;
  }

  #alterra-ny-1513-top .ny-left {
    left: -115px;
  }

  #alterra-ny-1513-top .ny-right {
    right: -115px;
  }
}

@media (max-width: 720px) {
  #alterra-ny-1513-top {
    top: 64px;
    height: 110px;
    z-index: 8997;
  }

  #alterra-ny-1513-top .ny-bough {
    display: block;
    width: 330px;
    top: 0;
    opacity: 1;
  }

  #alterra-ny-1513-top .ny-left {
    left: -155px;
  }

  #alterra-ny-1513-top .ny-right {
    right: -155px;
  }
}
