#ff-seasonal{position:fixed;inset:0;z-index:900;pointer-events:none;overflow:hidden}
#ff-seasonal .lights{display:flex;justify-content:space-around;border-top:2px solid #526d52;height:28px}
#ff-seasonal .bulb{width:10px;height:16px;border-radius:50%;background:var(--c);box-shadow:0 0 9px var(--c);animation:glow 2s ease-in-out infinite alternate;animation-delay:var(--d)}
#ff-seasonal .snow{position:absolute;left:var(--x);top:-30px;font-size:var(--s);opacity:.65;animation:fall var(--t) linear infinite;animation-delay:var(--d)}
#ff-seasonal .flyer{position:absolute;top:13%;white-space:nowrap;font-size:clamp(25px,4vw,45px);filter:drop-shadow(0 3px 5px #333);animation:fly 20s linear infinite;animation-delay:0s;animation-fill-mode:both}
#ff-seasonal .corner{position:absolute;bottom:12px;font-size:clamp(26px,4vw,44px)}
#ff-seasonal .left{left:12px}#ff-seasonal .right{right:12px}
#ff-seasonal .float{position:absolute;left:var(--x);top:110%;font-size:var(--s);animation:rise var(--t) linear infinite;animation-delay:var(--d)}
@keyframes glow{from{opacity:.5}to{opacity:1;filter:brightness(1.5)}}
@keyframes fall{to{transform:translate(45px,110vh) rotate(270deg)}}
@keyframes fly{0%,5%{transform:translateX(-140%)}80%,100%{transform:translateX(110vw)}}
@keyframes rise{to{transform:translateY(-125vh) rotate(35deg)}}
@media(max-width:700px){#ff-seasonal .bulb{width:7px;height:11px}#ff-seasonal .lights{height:20px}#ff-seasonal .flyer{top:8%}}
@media(prefers-reduced-motion:reduce){#ff-seasonal .snow,#ff-seasonal .float,#ff-seasonal .flyer{display:none}#ff-seasonal .bulb{animation:none}}

/* Christmas decorations perched on the Find a Class button. */
body.ff-christmas #findClassBtn { position:relative; }
body.ff-christmas #findClassBtn::before,
body.ff-christmas #findClassBtn::after {
  position:absolute; top:-23px; font-size:26px; line-height:1;
  pointer-events:none; filter:drop-shadow(0 2px 2px rgba(0,0,0,.35));
}
body.ff-christmas #findClassBtn::before { content:"🎁"; left:10px; }
body.ff-christmas #findClassBtn::after { content:"🎄"; right:10px; }
#ff-seasonal .snow { color:#fff; text-shadow:0 0 3px #fff,0 1px 5px rgba(0,0,0,.45); }

/* Mirror the sleigh artwork without reversing its rightward flight. */
#ff-seasonal .flyer .sleigh-facing-right{display:inline-block;transform:scaleX(-1)}

/* A friendly snowman occasionally peeks in from the left edge. */
#ff-seasonal .snowman-peek {
  position: absolute; left: 0; top: 47%;
  font-size: clamp(56px, 9vw, 100px); line-height: 1;
  filter: drop-shadow(2px 3px 4px rgba(0,0,0,.25));
  transform-origin: left bottom;
  transform: translateX(-115%) rotate(-12deg);
  animation: ff-snowman-hello 12s ease-in-out 0s infinite;
}
@keyframes ff-snowman-hello {
  0%, 4%, 37%, 100% { transform: translateX(var(--hide-x, -115%)) translateY(var(--hide-y, 0px)) rotate(-12deg); }
  10%, 28% { transform: translateX(var(--show-x, -17%)) translateY(var(--show-y, 0px)) rotate(9deg); }
  17%, 23% { transform: translateX(var(--show-x, -17%)) translateY(var(--show-y, 0px)) rotate(-5deg); }
}
@media (max-width:700px) {
  #ff-seasonal .snowman-peek { top: 39%; font-size: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  #ff-seasonal .snowman-peek { display:none; animation:none; }
}

/* Three snowman entrances: left, right, or peeking over Find a Class. */
#ff-seasonal .snowman-peek { left:0; right:auto; top:47%; animation-fill-mode:both; }
#ff-seasonal .snowman-peek.peek-right {
  left:auto; right:0; transform-origin:right bottom;
  --hide-x:115%; --show-x:17%;
}
#ff-seasonal .snowman-peek.peek-button {
  left:var(--button-x, 50%); top:var(--button-y, 50%);
  transform-origin:center bottom;
  --hide-x:0px; --show-x:0px;
  --hide-y:90%; --show-y:0px;
}
@media(max-width:700px) {
  #ff-seasonal .snowman-peek.peek-button { top:var(--button-y, 50%); }
}

/* A clipped viewport above the button makes the snowman genuinely disappear
   behind its top edge, even though seasonal decorations use a high z-index. */
#ff-seasonal .snowman-button-window {
  position:fixed; left:0; top:0; width:105px; height:68px;
  overflow:hidden; pointer-events:none;
}
#ff-seasonal .snowman-button-window .snowman-peek.peek-button {
  position:absolute; left:50%; right:auto; top:0;
  --hide-x:-50%; --show-x:-50%;
  --hide-y:110%; --show-y:0%;
  transform-origin:center bottom;
}
@media(max-width:700px) {
  #ff-seasonal .snowman-button-window { width:75px; height:47px; }
}

#ff-seasonal .snowman-button-window .snowman-peek.peek-button {
  animation-fill-mode:both;
}
