/* Seasonal decoration: only in the empty margins of the 1320px layout. */
@media (min-width: 1440px) and (prefers-reduced-motion: no-preference) {
  html:not(.wg-winter-off) body::before, html:not(.wg-winter-off) body::after {
    content: "";
    position: fixed;
    top: 130px;
    bottom: 0;
    width: calc((100% - 1320px) / 2 - 12px);
    max-width: 260px;
    pointer-events: none;
    z-index: 1;
    background-image: url("../../images/winter-snow.svg");
    background-size: 112px 760px;
    background-repeat: repeat-y;
    opacity: .48;
    animation: wg-winter-fall 38s linear infinite;
  }
  html:not(.wg-winter-off) body::before { left: 0; background-position: center 0; }
  html:not(.wg-winter-off) body::after { right: 0; animation-duration: 49s; animation-delay: -17s; }
}
@keyframes wg-winter-fall {
  from { background-position: center 0; }
  to { background-position: center 760px; }
}

/* Match the adjacent footer links, while retaining native button semantics. */
.wg-winter-toggle {
  display: block;
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 6px 0;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
}
.wg-winter-toggle[hidden] { display: none; }
.wg-winter-toggle:hover { color: var(--primary); }
.wg-winter-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
