/* HDKN - Saisons : styles du moteur de décor partagé.
 * Transform et opacity seulement, aucun filter, aucun élément ne capte les clics. */

.hs-couche{position:fixed;inset:0;z-index:90;pointer-events:none;overflow:hidden;contain:strict;will-change:transform}
.hs-couche *{pointer-events:none}

/* Particules (neige, confettis, pétales, volutes...) */
.hs-p{position:absolute;left:0;top:0;will-change:transform,opacity}
.hs-p > svg,.hs-p > i{display:block;width:100%;height:auto}

/* Vols (papillons...) : ailes qui battent */
.hs-vol{position:absolute;left:0;top:0;will-change:transform}
.hs-vol svg{display:block;width:100%;height:auto;overflow:visible}
.hs-vol .hs-aile{transform-box:view-box;animation:hs-ailes var(--hs-v,.2s) ease-in-out infinite alternate}
.hs-vol .hs-aile--g{transform-origin:49px 25px}
.hs-vol .hs-aile--d{transform-origin:51px 25px;animation-name:hs-ailes-d}
@keyframes hs-ailes{from{transform:scaleX(1)}to{transform:scaleX(.25)}}
@keyframes hs-ailes-d{from{transform:scaleX(1)}to{transform:scaleX(.25)}}

/* Feux d'artifice */
.hs-etincelle{position:absolute;width:6px;height:6px;margin:-3px 0 0 -3px;border-radius:50%;
  background:radial-gradient(circle,#fff 0,var(--hs-c) 45%,transparent 72%);will-change:transform,opacity}
.hs-flash{position:absolute;width:120px;height:120px;margin:-60px 0 0 -60px;border-radius:50%;
  background:radial-gradient(circle,var(--hs-c) 0,transparent 65%);will-change:transform,opacity}

/* Étoiles qui scintillent */
.hs-scint{position:absolute;will-change:transform,opacity;opacity:0}
.hs-scint svg{display:block;width:100%;height:auto}

/* Guirlande lumineuse (dans la page, défile avec elle) */
.hs-guirlande{position:absolute;left:0;right:0;z-index:89;height:34px;overflow:hidden;pointer-events:none}
.hs-guirlande svg{display:block;height:34px}
.hs-ampoule{animation:hs-ampoule 2.4s ease-in-out infinite}
@keyframes hs-ampoule{0%,100%{opacity:1}50%{opacity:.35}}

/* Lanternes suspendues */
.hs-lanterne{position:absolute;z-index:89;width:46px;pointer-events:none;transform-origin:50% 0;
  padding-top:var(--hs-fil,40px);animation:hs-balance 4.6s ease-in-out infinite alternate;will-change:transform}
.hs-lanterne::before{content:"";position:absolute;left:50%;top:0;width:1px;height:var(--hs-fil,40px);background:rgba(255,215,120,.7)}
.hs-lanterne svg{display:block;width:100%;height:auto}
@keyframes hs-balance{from{transform:rotate(-5deg)}to{transform:rotate(5deg)}}

/* Onglet caché : on fige les animations CSS */
html.hs-pause .hs-ampoule,html.hs-pause .hs-lanterne{animation-play-state:paused}

@media (max-width:767px){
  .hs-lanterne{width:34px}
  .hs-ampoule{animation:none} /* téléphone : guirlande allumée fixe, rien à repeindre */
}

/* Mouvement réduit : décor fixe seulement */
@media (prefers-reduced-motion:reduce){
  .hs-couche{display:none}
  .hs-ampoule,.hs-lanterne{animation:none}
}
