html[data-layers~="christmas"] header::after {
  content: ""; position: absolute; right: 4px; top: -12px;
  width: 72px; height: 75px; background: url("/assets/christmas.png") center / contain no-repeat;
  image-rendering: pixelated; pointer-events: none;
}
.snowfield { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }
.snowfield i { position: absolute; top: -24px; left: var(--x); width: var(--size); height: var(--size);
  background: #fff; opacity: var(--alpha); border-radius: 50%;
  animation: snowfall var(--duration) linear var(--delay) infinite; }
.snowfield .flake { background: transparent; width: auto; height: auto; color: white; font: 14px/1 sans-serif; }
@keyframes snowfall { to { transform: translate(var(--drift), calc(100vh + 36px)); } }
html[data-snow-paused] .snowfield i { animation-play-state: paused; }
.snow-control { font: 12px Mono, monospace; color: var(--muted); min-height: 44px; padding: 0 8px; border: 0; background: transparent; cursor: pointer; }
.snow-control:hover { color: white; }
@media (max-width: 550px) { html[data-layers~="christmas"] header::after { width: 52px; height: 54px; top: -6px; } }
@media (prefers-reduced-motion: reduce) { .snowfield, .snow-control { display: none; } .snowfield i { animation: none; } }
@media (max-width: 550px) {
  .snowfield i:nth-child(n + 15) { display: none; }
  .snowfield .flake { font-size: 11px; }
}
