/* christmas */
html.nx-fest-on:not(.nx-fest-room) #root > div:first-child { background-color: transparent !important; position: relative; z-index: 1; }
#nx-snow { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; opacity: .5; }
#nx-snow .nx-flake { position: absolute; top: -12px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgba(255, 255, 255, .85) 45%, rgba(255, 255, 255, 0) 72%);
  opacity: var(--o); will-change: transform; animation: nx-fall var(--t) linear infinite; animation-delay: var(--d); }
@keyframes nx-fall {
  0% { transform: translate3d(0, 0, 0); }
  25% { transform: translate3d(var(--w), 26vh, 0); }
  50% { transform: translate3d(0, 52vh, 0); }
  75% { transform: translate3d(calc(var(--w) * -1), 78vh, 0); }
  100% { transform: translate3d(0, 105vh, 0); }
}

.nx-lights { position: fixed; top: 72px; bottom: 12px; width: 14px; z-index: 40; pointer-events: none;
  display: flex; flex-direction: column; justify-content: space-around; align-items: center; }
.nx-lights.left { left: 3px; }
.nx-lights.right { right: 3px; }
.nx-lights::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: rgba(255, 255, 255, .1); }
.nx-bulb { position: relative; width: 6px; height: 9px; border-radius: 50% 50% 45% 45%; background: var(--c);
  opacity: .25; animation: nx-blink 3s ease-in-out infinite; animation-delay: var(--d); }
.nx-lights.right .nx-bulb { animation-direction: reverse; }
@keyframes nx-blink { 0%, 100% { opacity: .2; box-shadow: none; } 50% { opacity: .85; box-shadow: 0 0 6px 1px var(--c); } }

html.nx-fest-room #nx-snow, html.nx-fest-room .nx-lights { display: none; }
@media (max-width: 900px) { .nx-lights { display: none; } }
@media (prefers-reduced-motion: reduce) { #nx-snow { display: none; } .nx-bulb { animation: none; opacity: .5; } }
