/* NODN Christmas — isolated from the regular homepage theme. */
.christmas-snow, .christmas-lights { display: none; }
.christmas-logo { display: flex; align-items: center; position: relative; flex: 0 0 auto; }
.christmas-mode .christmas-logo > img { visibility: hidden; }
.christmas-mode .christmas-logo::after {
  content: ''; position: absolute; left: 0; bottom: 1px; width: 100%;
  aspect-ratio: 462 / 446;
  background: url('christmas-owl-v2.png') center / contain no-repeat;
  pointer-events: none;
}
.christmas-mode .site-header { position: relative; z-index: 2; }
.christmas-mode .christmas-lights {
  display: flex; position: absolute; bottom: -15px; left: 50%;
  transform: translateX(-50%); width: min(1510px, calc(100% - 48px));
  align-items: flex-start; justify-content: space-between; height: 10px;
  pointer-events: none;
}
.christmas-lights i {
  position: relative; width: 5px; height: 8px; border-radius: 2px 2px 5px 5px;
  background: var(--bulb); box-shadow: 0 0 7px 1px var(--bulb);
  animation: nodn-christmas-twinkle 4.8s ease-in-out infinite; animation-delay: var(--delay);
}
.christmas-lights i::before { content: ''; position: absolute; top: -2px; left: 1px; width: 3px; height: 3px; background: #284253; border-radius: 1px; }
@keyframes nodn-christmas-twinkle { 0%, 100% { opacity: .95; } 50% { opacity: .5; } }
.christmas-mode .christmas-snow { display: block; position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.christmas-mode main.shell, .christmas-mode .footer { position: relative; z-index: 1; }
.christmas-snow i {
  position: absolute; top: -8px; left: var(--x); width: var(--size); height: var(--size);
  border-radius: 50%; background: #e1f4ff; opacity: var(--alpha);
  animation: nodn-christmas-fall var(--fall) linear infinite; animation-delay: var(--delay);
}
@keyframes nodn-christmas-fall { from { transform: translate(0,0); } to { transform: translate(var(--drift),calc(100vh + 16px)); } }
@media (max-width: 800px) {
  .christmas-mode .christmas-lights { width: calc(100% - 24px); }
  .christmas-lights i:nth-child(even), .christmas-snow i:nth-child(even) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .christmas-mode .christmas-snow { display: none; }
  .christmas-lights i { animation: none; }
}
