/* Seasonal mode: where the ornaments sit and the layer the particles drift on. See seasonal.js. */
:root { --ssn-accent: #0044ee; /* set to the site's own accent colour: the party hat and confetti use it */ }

/* A box with an ornament needs to be the thing the ornament is placed against. */
.ssn-rel { position: relative; }

.ssn-perch { position: absolute; top: -30px; right: -14px; width: 54px; height: 47px; pointer-events: none; z-index: 2; transform: rotate(16deg); transform-origin: 50% 90%; filter: drop-shadow(0 6px 8px rgba(10, 15, 28, .28)); }
.ssn-perch.ssn-left { right: auto; left: -14px; transform: rotate(-16deg) scaleX(-1); }
.ssn-perch svg { display: block; width: 100%; height: 100%; overflow: visible; }
/* eggs and pumpkins sit on the top edge instead of hanging off the corner */
.ssn-perch.ssn-egg, .ssn-perch.ssn-pumpkin { top: -40px; right: 18px; width: 46px; height: 40px; transform: rotate(6deg); }
.ssn-perch.ssn-egg.ssn-left, .ssn-perch.ssn-pumpkin.ssn-left { right: auto; left: 18px; transform: rotate(-6deg); }
.ssn-perch.ssn-party { top: -40px; }
.ssn-fill-accent { fill: var(--ssn-accent); }

.ssn-sky { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 40; }

@media (prefers-reduced-motion: no-preference) {
  .ssn-perch { animation: ssn-settle .7s cubic-bezier(.2, 1.4, .4, 1) both; }
  @keyframes ssn-settle { from { opacity: 0; translate: 0 -18px; } to { opacity: 1; translate: 0 0; } }
}
@media (max-width: 600px) {
  .ssn-perch { width: 42px; height: 37px; top: -24px; right: -8px; }
  .ssn-perch.ssn-left { left: -8px; }
}
@media print { .ssn-perch, .ssn-sky { display: none; } }
