thalnorlis-holiday { display: contents; }
thalnorlis-holiday .th-holiday-bottom,
thalnorlis-holiday .th-holiday-snow,
thalnorlis-holiday .th-holiday-tree,
thalnorlis-holiday .th-holiday-sleigh { pointer-events: none !important; user-select: none; }
thalnorlis-holiday .th-holiday-bottom {
  position: fixed; z-index: 20; left: 0; bottom: 0; width: 100%; height: 85px;
  background: var(--th-snowbank) repeat-x center / auto 100%;
}
thalnorlis-holiday .th-holiday-tree {
  position: absolute; left: 0; bottom: 0; width: 252px; height: 316px; object-fit: contain;
}
thalnorlis-holiday .th-holiday-sleigh {
  position: absolute; z-index: 21; right: 0; bottom: 30px; width: 252px; height: 140px;
  object-fit: contain; animation: th-holiday-travel 16s linear infinite;
}
thalnorlis-holiday .th-holiday-snow { position: fixed; z-index: 40; inset: 0; overflow: hidden; }
thalnorlis-holiday .th-holiday-flake {
  position: absolute; top: -40px; pointer-events: none;
  animation: th-holiday-fall var(--th-fall-duration) linear var(--th-fall-delay) infinite;
}
thalnorlis-holiday .th-holiday-flake img {
  display: block; width: 100%; height: 100%;
  animation: th-holiday-sway 3s ease-in-out infinite alternate;
}
thalnorlis-holiday.th-holiday-paused *,
thalnorlis-holiday.th-holiday-paused *::before { animation-play-state: paused !important; }
@keyframes th-holiday-travel { from { transform: translateX(0); } to { transform: translateX(-100vw); } }
@keyframes th-holiday-fall { to { transform: translateY(calc(100vh + 80px)); } }
@keyframes th-holiday-sway { from { transform: translateX(-8px) rotate(-12deg); } to { transform: translateX(16px) rotate(70deg); } }
@media (max-width: 768px) {
  thalnorlis-holiday .th-holiday-tree { width: 130px; height: 163px; }
  thalnorlis-holiday .th-holiday-sleigh { width: 140px; height: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  thalnorlis-holiday .th-holiday-snow { display: none; }
  thalnorlis-holiday .th-holiday-sleigh { animation: none; right: 30%; }
}
