/* Seasonal decorations do not alter existing page styles when disabled. */
.festive-trim{height:24px;background:#102b50 url('../images/christmas-garland.svg') repeat-x center/240px 24px;position:relative;pointer-events:none;}
.festive-greeting{background:#102b50;color:#f6d992;text-align:center;padding:10px 18px;font-size:clamp(.85rem,2vw,1.05rem);font-weight:600;letter-spacing:.025em;border-bottom:1px solid #bd984e;}
.festive-snow{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:20;}
.festive-snow span{position:absolute;left:var(--x);top:-30px;color:#fff;text-shadow:0 0 3px #52708b;opacity:.65;font-size:var(--size);animation:festive-fall var(--duration) var(--delay) linear infinite;}
@keyframes festive-fall{from{transform:translate3d(0,-30px,0)}to{transform:translate3d(30px,calc(100vh + 60px),0)}}
.festive-snow.paused{display:none;}.festive-pause{display:block;margin:6px auto 0;padding:3px 10px;border:1px solid #d6b76e;border-radius:4px;background:#102b50;color:#fff;font-size:12px;cursor:pointer;pointer-events:auto;}.festive-trim:has(.festive-pause){height:auto;min-height:24px;padding:24px 0 5px;background-position:center top;}.festive-pause:focus-visible{outline:2px solid #d6b76e;outline-offset:2px;}
@media(max-width:600px){.festive-trim{height:18px;background-size:180px 18px}.festive-snow span:nth-child(n+15){display:none}}
@media(prefers-reduced-motion:reduce){.festive-snow,.festive-pause{display:none!important}.festive-snow span{animation:none!important}}

/* 6.2.1: viewport frame and more visible snow. */
.festive-trim{height:32px;background-size:320px 32px;}
.festive-greeting{font-family:Georgia,serif;font-size:clamp(1rem,2.4vw,1.4rem);padding:12px 24px;}
.festive-snow span{opacity:.92;text-shadow:0 0 2px #38536d,0 0 5px #6b8298;}
.festive-frame{position:fixed;inset:0;pointer-events:none;z-index:21;overflow:hidden;--trim:26px;}
.festive-edge{position:absolute;background:url('../images/christmas-garland.svg') repeat-x center/260px var(--trim);height:var(--trim);pointer-events:none;}
.festive-top,.festive-bottom{left:0;right:0;}.festive-top{top:0}.festive-bottom{bottom:0;transform:rotate(180deg)}
.festive-left,.festive-right{width:100vh;top:0;transform-origin:0 0;}.festive-left{left:var(--trim);transform:rotate(90deg)}.festive-right{left:calc(100% - var(--trim));transform:translateY(100vh) rotate(-90deg)}
@media(max-width:600px){.festive-frame{--trim:10px}.festive-edge{background-size:130px var(--trim)}.festive-trim{height:22px;background-size:220px 22px}.festive-snow span:nth-child(n+15){display:block}.festive-snow span:nth-child(n+41){display:none}}
