/* 1.005.77 : décor de Noël ; 1.005.79 : traîneau plus grand (thème « Noël » de Admin > Site et serveur > Thème du site) : neige qui tombe sur toute la page,
   guirlande lumineuse drapée, neige sur le menu, boules suspendues, village enneigé au-dessus du pied de page, traîneau de temps en temps.
   Chargé seulement quand le thème Noël est affiché (inc/header.php). Animations coupées si le visiteur demande moins de mouvement. */
.theme-noel .tg-lampe { display: none !important; }
.theme-noel .no-traineau { display: none !important; } /* 1.005.80 : l'ancien petit traîneau des bandeaux (assets/js/app.js) est retiré, le nouveau le remplace */
.theme-noel .entete { position: relative; }
.theme-noel .entete::after { content: none !important; }
/* neige sur le bas du menu */
.nl-neige-menu { position: absolute; left: 0; right: 0; bottom: -9px; height: 14px; pointer-events: none; z-index: 5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M0 0h120v4c-6 0-7 6-13 6s-6-5-12-5-7 8-14 8-7-6-13-6-6 4-12 4-8-7-15-7-6 6-12 6-7-5-13-5-6 3-16 3Z' fill='%23fff'/%3E%3C/svg%3E") 0 0 / 240px 14px repeat-x;
  filter: drop-shadow(0 2px 2px rgba(15, 59, 44, .18)); }
/* guirlande drapée */
.nl-guirlande { position: absolute; left: 0; right: 0; bottom: -30px; height: 34px; pointer-events: none; z-index: 6; overflow: visible; }
.nl-guirlande svg { width: 100%; height: 100%; overflow: visible; display: block; }
.nl-fil { fill: none; stroke: #1F3B2D; stroke-width: 1.4; opacity: .85; }
.nl-ampoule { animation: nl-scintille 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 0; }
.nl-ampoule .nl-verre { filter: drop-shadow(0 0 4px currentColor); }
.nl-ampoule .nl-culot { fill: #5C6B5E; }
@keyframes nl-scintille { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
/* boules suspendues */
.nl-boule { position: absolute; top: 100%; width: 22px; pointer-events: none; z-index: 7; transform-origin: 50% 0; animation: nl-balance 4s ease-in-out infinite; }
.nl-boule i { display: block; width: 1px; margin: 0 auto; background: rgba(31, 59, 45, .55); }
.nl-boule b { display: block; width: 22px; height: 22px; border-radius: 50%; position: relative;
  box-shadow: inset -4px -5px 8px rgba(0,0,0,.25), inset 4px 4px 6px rgba(255,255,255,.45), 0 3px 6px rgba(0,0,0,.18); }
.nl-boule b::before { content: ''; position: absolute; left: 7px; top: -4px; width: 8px; height: 5px; border-radius: 2px 2px 0 0; background: linear-gradient(#E8C46A, #B08A2E); }
.nl-boule b::after { content: ''; position: absolute; left: 5px; top: 4px; width: 5px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.7); transform: rotate(25deg); }
@keyframes nl-balance { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
/* neige qui tombe */
.nl-neige { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 9000; }
/* traîneau */
.nl-traineau { position: fixed; top: 7vh; left: 100%; width: 380px; height: 116px; pointer-events: none; z-index: 8999; filter: drop-shadow(0 0 6px rgba(255,255,255,.85)) drop-shadow(0 4px 10px rgba(0,0,0,.35)); } /* 1.005.79 : plus grand et détouré */
.nl-traineau.vole { animation: nl-vol 13s linear forwards; }
@keyframes nl-vol { 0% { transform: translate(0, 0); } 25% { transform: translate(-30vw, -14px); } 50% { transform: translate(-60vw, 6px); } 75% { transform: translate(-90vw, -10px); } 100% { transform: translate(calc(-100vw - 420px), 4px); } }
.nl-traineau svg { width: 100%; height: 100%; overflow: visible; }
.nl-traineau .nl-etoiles circle { animation: nl-poudre 1.2s ease-out infinite; }
@keyframes nl-poudre { 0% { opacity: 1; } 100% { opacity: 0; transform: translateY(8px); } }
/* village au-dessus du pied de page */
.nl-village { display: block; width: 100%; max-width: var(--nl-l, 1180px); height: 110px; margin: 40px auto -2px; pointer-events: none; }
.nl-village svg { width: 100%; height: 100%; display: block; }
.nl-village .nl-fenetre { animation: nl-fenetre 5s ease-in-out infinite; }
@keyframes nl-fenetre { 0%, 100% { opacity: 1; } 47% { opacity: 1; } 50% { opacity: .55; } 53% { opacity: 1; } }
.nl-village .nl-astre { animation: nl-scintille 3.2s ease-in-out infinite; }
/* bouton neige */
.nl-bouton { position: fixed; left: 14px; bottom: 14px; z-index: 9001; width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer;
  background: #0F3B2C; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.nl-bouton svg { width: 22px; height: 22px; }
.nl-bouton[aria-pressed="false"] { background: #5B6476; }
.nl-bouton[aria-pressed="false"]::after { content: ''; position: absolute; width: 26px; height: 2px; background: #fff; transform: rotate(-45deg); }
@media (max-width: 760px) { .nl-boule, .nl-traineau { display: none; } .nl-village { height: 80px; } .nl-guirlande { bottom: -24px; height: 26px; } }
@media (prefers-reduced-motion: reduce) { .nl-ampoule, .nl-boule, .nl-village .nl-fenetre, .nl-village .nl-astre { animation: none; } .nl-traineau { display: none; } }
