/* L'ambiance de Noël de l'accueil · fond, neige, calendrier, cases terminées en boules de Noël.
   Chargé APRÈS les styles d'index.html. Ne touche ni au titre ni aux jeux. La neige est dessinée par noel.js. */
:root{--sapin:#1F7A4D;--sapin2:#0F3D2E;--neige:#F4F7FF;--or2:#D9982B}
body{background:
  radial-gradient(90% 38% at 50% 100%,rgba(31,122,77,.30) 0%,transparent 70%),
  radial-gradient(120% 60% at 50% 0%,#2A3170 0%,#1A1D2E 55%,#12141F 100%);
  background-attachment:fixed}
/* la neige (canvas) et les collines : tout au fond, jamais cliquables */
#neige{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
body:after{content:"";position:fixed;left:0;right:0;bottom:0;height:150px;pointer-events:none;z-index:0;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 150' preserveAspectRatio='none'%3E%3Cpath d='M0 150V86c150-46 300-50 470-18s330 22 470-12 200-22 260-6v100z' fill='%23fff' fill-opacity='.07'/%3E%3Cpath d='M0 150v-34c200-40 380-30 560-8s420 10 640-28v70z' fill='%23fff' fill-opacity='.09'/%3E%3C/svg%3E") bottom/100% 100% no-repeat}
.demo,header,.onglets,main,footer{position:relative;z-index:1}
/* la fenêtre de jeu : on laisse deviner la neige derrière, sans gêner la lecture (la carte du jeu reste opaque) */
.voile{background:radial-gradient(90% 70% at 50% 30%,rgba(26,29,46,.62),rgba(8,10,20,.82))}

/* guirlande lumineuse tout en haut (posée par noel.js) */
.lumieres{position:relative;z-index:1;height:16px;pointer-events:none;border-top:1px solid rgba(255,255,255,.22);
  background:
   radial-gradient(circle at 12px 6px,#FFC857 0 4px,transparent 5px) 0 0/192px 16px repeat-x,
   radial-gradient(circle at 60px 8px,#E73E01 0 4px,transparent 5px) 0 0/192px 16px repeat-x,
   radial-gradient(circle at 108px 6px,#F4F7FF 0 4px,transparent 5px) 0 0/192px 16px repeat-x,
   radial-gradient(circle at 156px 8px,#2FA866 0 4px,transparent 5px) 0 0/192px 16px repeat-x;
  filter:drop-shadow(0 0 5px rgba(255,200,87,.55));animation:scintille 2.8s ease-in-out infinite}
@keyframes scintille{50%{opacity:.62}}

.moi{background:rgba(37,42,69,.85);border:1px solid rgba(255,200,87,.35)}
.onglets button.on{box-shadow:0 4px 14px rgba(74,105,255,.35)}

/* ---- l'accueil : texte, calendrier, carte d'Axi ---- */
.accueil{display:grid;grid-template-columns:minmax(0,2.7fr) minmax(0,1fr);gap:0 26px;align-items:start}
/* ordinateur (Valentin, 30/11 : « plus grosse et alignée avec les cases ») : la carte d'Axi prend toute la hauteur de la grille,
   haut sur la première rangée, bas sur la dernière ; l'image remplit ce qui reste au-dessus du compteur.
   Les deux colonnes sont en fr : la grille rétrécit avec la fenêtre au lieu de pousser la carte hors de la page (901 à 1003 px). */
@media(min-width:901px){
 .accueil{align-items:stretch}
 .accueil .cal{max-width:none;align-self:start}
 .cote{display:flex;flex-direction:column;min-width:0;min-height:0;padding:11px}
 .cote img{flex:1 1 0;height:0;min-height:0;aspect-ratio:auto;object-position:50% 22%}
 .cote .suivi{flex:none;padding:14px 6px 6px}
 .cote .compte{font-size:15px} .cote .compte b{font-size:36px}
 .cote .perles{gap:6px;margin:12px 0}
 .cote .mot{font-size:15px}
}
.accueil .intro{grid-column:1/-1}
.cote{background:rgba(37,42,69,.82);border:1px solid rgba(255,200,87,.3);border-radius:20px;padding:10px;box-shadow:0 14px 40px rgba(0,0,0,.35)}
.cote img{display:block;width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;border-radius:13px}
.suivi{padding:12px 6px 6px}
.compte{font-weight:700;font-size:14px;color:#C9D1F5;line-height:1.2}
.compte b{font-size:30px;font-weight:800;color:var(--or);margin-right:2px}
.perles{display:grid;grid-template-columns:repeat(12,1fr);gap:5px;margin:10px 0 10px}
.perles i{aspect-ratio:1;border-radius:50%;background:rgba(255,255,255,.1)}
.perles i.ouv{background:transparent;box-shadow:inset 0 0 0 2px rgba(255,255,255,.45)}
.perles i.ok{background:radial-gradient(circle at 32% 28%,#FFF1C2,#FFC857 45%,#D9982B);box-shadow:0 0 6px rgba(255,200,87,.6)}
.perles i.chat{background:radial-gradient(circle at 32% 28%,#fff,#C9D1F5 45%,#8D99C9)}
.mot{margin:0;font-size:14px;line-height:1.45;font-weight:600;color:#E6EAFF}
.legende-cal{margin:10px 0 0;font-size:12px;line-height:1.5;color:var(--gris);font-weight:600}
.legende-cal i{display:inline-block;width:10px;height:10px;border-radius:50%;vertical-align:-1px;margin-right:4px;background:radial-gradient(circle at 32% 28%,#FFF1C2,#FFC857 45%,#D9982B)}
.legende-cal span{white-space:nowrap;display:inline-block;margin-right:8px}
.compte span{white-space:nowrap}
@media(min-width:901px){.compte span{display:block;margin-top:2px}}
.legende-cal i.chat{background:radial-gradient(circle at 32% 28%,#fff,#C9D1F5 45%,#8D99C9)}

/* ---- les cases : des paquets enrubannés ---- */
.cal .c{overflow:hidden;isolation:isolate;box-shadow:inset 0 -6px 0 rgba(0,0,0,.2),0 6px 16px rgba(0,0,0,.25)}
.cal .c .n,.cal .c .t{position:relative;z-index:2}
/* le ruban doré en croix, décalé pour laisser le numéro tranquille */
.cal .c.paquet:before,.cal .c.paquet:after{content:"";position:absolute;z-index:0;background:linear-gradient(90deg,#FFDD8F,#FFC857 55%,#E9AE3B);opacity:.92}
.cal .c.paquet:before{left:8%;top:0;bottom:0;width:7%}
.cal .c.paquet:after{top:14%;left:0;right:0;height:7.5%;background:linear-gradient(180deg,#FFDD8F,#FFC857 55%,#E9AE3B)}
.cal .c .noeud{position:absolute;z-index:1;left:11.5%;top:17.75%;width:0;height:0}
.cal .c .noeud:before,.cal .c .noeud:after{content:"";position:absolute;width:clamp(11px,1.5vw,17px);aspect-ratio:1.25;top:0;background:#FFC857;border:2px solid #E9AE3B;border-radius:60% 8% 60% 8%}
.cal .c .noeud:before{right:0;transform:translateY(-50%) rotate(12deg);transform-origin:right center;border-radius:60% 8% 8% 60%}
.cal .c .noeud:after{left:0;transform:translateY(-50%) rotate(-12deg);transform-origin:left center;border-radius:8% 60% 60% 8%}
.cal .c.jour{background:linear-gradient(160deg,#FF5A1F,#E73E01 60%,#C93300);box-shadow:0 0 0 4px rgba(255,200,87,.55),0 0 26px rgba(231,62,1,.55),inset 0 -6px 0 rgba(0,0,0,.2)}
.cal .c.rattrape{background:linear-gradient(160deg,#5C79FF,#4A69FF 60%,#3B57E0)}
/* en cours : le paquet est entamé, liseré pointillé et petit chrono */
.cal .c.encours{background:linear-gradient(160deg,#3F5AE0,#3550D8 60%,#2A41B8);outline:2px dashed var(--or);outline-offset:-6px}
.cal .c.jour.encours{background:linear-gradient(160deg,#FF5A1F,#E73E01 60%,#C93300);outline-color:#fff}
.cal .c .sablier{position:absolute;z-index:2;top:22%;right:8%;font-size:clamp(13px,1.8vw,19px);line-height:1}
/* fermée : dans la nuit, sous la neige (la congère est en fin de fichier, bloc « neige posée ») */
.cal .c.ferme{background:linear-gradient(180deg,rgba(47,54,92,.9),rgba(30,34,58,.9));color:#6F78A8}
.cal .c.ferme .t{opacity:.9}

/* ---- case terminée : la porte est ouverte, une boule de Noël est accrochée dans la niche ----
   boules fun (Valentin, 30/11 : « la boule doit être centrée, et des boules plus fun ») :
   la boule est au centre de la case, le fil descend du haut. Couleur k0..k4 et motif m0..m5 selon le numéro
   (classes posées par rendCal dans app.js). Langue au chat : toujours argentée et givrée, avec le badge 🐱. */
.cal .c.fait{background:rgba(9,11,26,.62);color:#fff;gap:0;justify-content:center;
  --c1:#FFF6D6;--c2:#FFC857;--c3:#C98A1E;--m:#E73E01;--chiffre:#1A1D2E;--halo:rgba(255,255,255,.5);--fil:#FFC857;--coiffe:#E9AE3B;
  box-shadow:inset 0 0 0 1.5px rgba(255,200,87,.38),inset 0 10px 18px rgba(0,0,0,.55)}
.cal .c.fait.k0{--c1:#FF9A6E;--c2:#E73E01;--c3:#8F2500;--m:#FFE2A6;--chiffre:#fff;--halo:rgba(90,20,0,.55)}            /* rouge Axiom */
.cal .c.fait.k1{--c1:#FFF6D6;--c2:#FFC857;--c3:#C98A1E;--m:#E73E01;--chiffre:#1A1D2E;--halo:rgba(255,255,255,.5)}      /* or */
.cal .c.fait.k2{--c1:#5FD08E;--c2:#1F8A4C;--c3:#0B4F27;--m:#FFC857;--chiffre:#fff;--halo:rgba(0,45,20,.6)}              /* vert sapin */
.cal .c.fait.k3{--c1:#9FB0FF;--c2:#4A69FF;--c3:#2436A8;--m:#fff;--chiffre:#fff;--halo:rgba(15,25,110,.6)}               /* bleu Axiom */
.cal .c.fait.k4{--c1:#fff;--c2:#FFF4E2;--c3:#D8BE9A;--m:#E73E01;--chiffre:#1A1D2E;--halo:rgba(255,255,255,.6)}          /* blanc crème */
.cal .c.fait.chat{--c1:#fff;--c2:#C9D1F5;--c3:#7E8BBF;--m:#fff;--chiffre:#1A1D2E;--halo:rgba(255,255,255,.55);--fil:#C9D1F5;--coiffe:#9AA8D6;
  box-shadow:inset 0 0 0 1.5px rgba(201,209,245,.38),inset 0 10px 18px rgba(0,0,0,.55)}
.cal .c.fait .pend{position:relative;z-index:2;width:60%;margin:0;transform-origin:50% -40%;display:block}
.cal .c.fait .pend:before{content:"";position:absolute;left:50%;bottom:100%;width:2px;height:60%;margin-left:-1px;background:var(--fil)}      /* le fil, depuis le haut de la case */
.cal .c.fait .pend:after{content:"";position:absolute;left:50%;top:-7%;width:22%;height:12%;margin-left:-11%;background:var(--coiffe);border-radius:3px 3px 1px 1px;box-shadow:inset 0 -2px 0 rgba(0,0,0,.2)}   /* la coiffe */
.cal .c.fait .boule{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1;border-radius:50%;position:relative;overflow:hidden;
  background:radial-gradient(circle at 34% 28%,var(--c1) 0,var(--c2) 46%,var(--c3) 100%);
  box-shadow:0 6px 14px rgba(0,0,0,.5),0 0 16px color-mix(in srgb,var(--c2) 38%,transparent);
  animation:boule-pop .55s cubic-bezier(.3,1.5,.5,1) both}
/* le motif : une couche de couleur --m découpée par un masque */
.cal .c.fait .boule:before{content:"";position:absolute;inset:0;border-radius:50%;background:var(--m);opacity:.9;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
/* le reflet brillant et l'ombre du bas */
.cal .c.fait .boule:after{content:"";position:absolute;inset:0;border-radius:50%;z-index:3;pointer-events:none;
  background:radial-gradient(ellipse 22% 13% at 31% 20%,rgba(255,255,255,.95) 0 55%,transparent 100%),
   radial-gradient(circle at 19% 37%,rgba(255,255,255,.7) 0 3.5%,transparent 5.5%),
   radial-gradient(circle at 36% 30%,transparent 52%,rgba(0,0,0,.3) 100%);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
/* le numéro seul, sur une pastille unie de la couleur de la boule pour rester lisible par-dessus le motif */
.cal .c.fait .n{display:flex;align-items:center;justify-content:center;width:66%;aspect-ratio:1;border-radius:50%;
  background:radial-gradient(circle,var(--c2) 0 50%,transparent 72%);
  font-size:clamp(20px,2.9vw,32px);color:var(--chiffre);letter-spacing:-.02em;text-shadow:0 1px 2px var(--halo),0 0 6px var(--halo)}

/* m0 · rayures en biais */
.cal .c.fait.m0 .boule:before{-webkit-mask-image:repeating-linear-gradient(-38deg,#000 0 9%,transparent 9% 23%);mask-image:repeating-linear-gradient(-38deg,#000 0 9%,transparent 9% 23%)}
/* m1 · pois en quinconce */
.cal .c.fait.m1 .boule:before{-webkit-mask-image:radial-gradient(circle,#000 0 30%,transparent 34%),radial-gradient(circle,#000 0 30%,transparent 34%);mask-image:radial-gradient(circle,#000 0 30%,transparent 34%),radial-gradient(circle,#000 0 30%,transparent 34%);
  -webkit-mask-size:28% 28%;mask-size:28% 28%;-webkit-mask-position:0 0,19.5% 19.5%;mask-position:0 0,19.5% 19.5%;-webkit-mask-repeat:repeat;mask-repeat:repeat}
/* m2 · deux frises en zigzag, en haut et en bas */
.cal .c.fait.m2 .boule:before{--z:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12'%3E%3Cpath d='M-1 10.2 5 2.4 10 9 15 2.4 21 10.2' fill='none' stroke='black' stroke-width='2.8' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-image:var(--z),var(--z),var(--z),var(--z);mask-image:var(--z),var(--z),var(--z),var(--z);-webkit-mask-size:25% 15%;mask-size:25% 15%;
  -webkit-mask-position:0 12%,0 29%,0 71%,0 88%;mask-position:0 12%,0 29%,0 71%,0 88%;-webkit-mask-repeat:repeat-x;mask-repeat:repeat-x}
/* m3 · flocons */
.cal .c.fait.m3 .boule:before,.cal .c.fait.chat .boule:before{--f:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5v19M3.8 7.25l16.4 9.5M3.8 16.75l16.4-9.5M12 6.5l-2.4-2.2M12 6.5l2.4-2.2M12 17.5l-2.4 2.2M12 17.5l2.4 2.2' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round'/%3E%3C/svg%3E");
  -webkit-mask-image:var(--f),var(--f),var(--f),var(--f),var(--f),var(--f);mask-image:var(--f),var(--f),var(--f),var(--f),var(--f),var(--f);
  -webkit-mask-size:27% 27%,22% 22%,24% 24%,22% 22%,27% 27%,20% 20%;mask-size:27% 27%,22% 22%,24% 24%,22% 22%,27% 27%,20% 20%;
  -webkit-mask-position:50% 3%,92% 30%,6% 64%,50% 99%,90% 76%,8% 26%;mask-position:50% 3%,92% 30%,6% 64%,50% 99%,90% 76%,8% 26%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
/* m4 · paillettes : étoiles et confettis */
.cal .c.fait.m4 .boule:before{--p:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M9 2l1.6 4.4L15 8l-4.4 1.6L9 14l-1.6-4.4L3 8l4.4-1.6zM30 21l1.3 3.7L35 26l-3.7 1.3L30 31l-1.3-3.7L25 26l3.7-1.3z'/%3E%3Ccircle cx='27' cy='7' r='2.3'/%3E%3Ccircle cx='8' cy='27' r='2.6'/%3E%3Ccircle cx='19' cy='18' r='1.5'/%3E%3Ccircle cx='36' cy='14' r='1.3'/%3E%3Ccircle cx='18' cy='35' r='1.6'/%3E%3Ccircle cx='2' cy='18' r='1.2'/%3E%3C/svg%3E");
  -webkit-mask-image:var(--p);mask-image:var(--p);-webkit-mask-size:46% 46%;mask-size:46% 46%;-webkit-mask-position:10% 6%;mask-position:10% 6%;-webkit-mask-repeat:repeat;mask-repeat:repeat}
/* m5 · ceintures : deux bandes et un rang de perles */
.cal .c.fait.m5 .boule:before{-webkit-mask-image:linear-gradient(#000,#000),linear-gradient(#000,#000),radial-gradient(circle,#000 0 34%,transparent 40%),radial-gradient(circle,#000 0 34%,transparent 40%);mask-image:linear-gradient(#000,#000),linear-gradient(#000,#000),radial-gradient(circle,#000 0 34%,transparent 40%),radial-gradient(circle,#000 0 34%,transparent 40%);
  -webkit-mask-size:100% 7%,100% 7%,12.5% 12.5%,12.5% 12.5%;mask-size:100% 7%,100% 7%,12.5% 12.5%,12.5% 12.5%;
  -webkit-mask-position:0 21%,0 79%,0 8%,0 92%;mask-position:0 21%,0 79%,0 8%,0 92%;-webkit-mask-repeat:no-repeat,no-repeat,repeat-x,repeat-x;mask-repeat:no-repeat,no-repeat,repeat-x,repeat-x}
/* langue au chat : givrée, flocons blancs discrets (masque partagé avec m3), jamais de couleur */
.cal .c.fait.chat .boule:before{opacity:.75}
.cal .c.fait.chat .boule{box-shadow:0 6px 14px rgba(0,0,0,.5)}

/* le badge 🐱 de la langue au chat */
.cal .c.fait .ok{position:absolute;z-index:4;top:auto;right:-11%;bottom:-8%;width:40%;aspect-ratio:1;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:#fff;color:#fff;font-size:clamp(12px,1.6vw,17px);font-weight:800;line-height:1;box-shadow:0 0 0 2px #0B0D1C}
/* une petite étincelle à l'apparition */
.cal .c.fait:after{content:"";position:absolute;z-index:3;left:70%;top:17%;width:17%;aspect-ratio:1;background:#fff;pointer-events:none;
  clip-path:polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%);transform:scale(0);animation:etincelle .9s ease-out .45s 1 both}
.cal .c.fait:nth-child(3n):after{animation-delay:.65s;left:14%;top:21%}
.cal .c.fait:nth-child(3n+1):after{animation-delay:.85s}
.cal .c.fait:hover{transform:none}
.cal .c.fait:hover .pend,.cal .c.fait:focus-visible .pend{animation:balance 1.4s ease-in-out}
@keyframes balance{18%{transform:rotate(8deg)}42%{transform:rotate(-6deg)}64%{transform:rotate(3.5deg)}84%{transform:rotate(-1.5deg)}}
@keyframes boule-pop{0%{transform:scale(.6);opacity:0}100%{transform:none;opacity:1}}
@keyframes etincelle{0%{transform:scale(0) rotate(0);opacity:0}40%{transform:scale(1.15) rotate(40deg);opacity:1}100%{transform:scale(0) rotate(90deg);opacity:0}}

@media(max-width:900px){
 .accueil{grid-template-columns:1fr;gap:14px}
 .cote{order:1;display:flex;gap:12px;align-items:center;padding:8px;border-radius:16px}
 .cote img{width:92px;flex:0 0 92px;aspect-ratio:3/4;object-position:50% 12%;border-radius:10px}
 .suivi{padding:2px 4px 2px 0;flex:1;min-width:0}
 .compte b{font-size:24px} .perles{margin:7px 0;gap:4px} .mot{font-size:13px}
 .cal{order:2;max-width:none}
 .accueil .intro{order:3;margin:6px 0 0;font-size:14px}
 .legende-cal{display:none}
 .legende-cal.bas{display:block;order:2;margin:-4px 0 0;text-align:center}
}
@media(min-width:901px){.legende-cal.bas{display:none}}
@media(max-width:560px){ .cal .c.fait .t{font-size:10.5px;margin-bottom:7%} .cal .c .t{letter-spacing:0;font-size:8.5px} .cal .c.paquet .t{padding-left:13%} body:after{height:90px} }
@media(prefers-reduced-motion:reduce){
 .lumieres,.cal .c.jour,.cal .c.fait:hover .pend,.cal .c.fait:focus-visible .pend,.cal .c.fait .boule{animation:none}
 .cal .c.fait:after{animation:none;display:none}
 .c{transition:none}
}

/* Axi dans la fenêtre de jeu : les images sont cadrées à mi-jambes, on fond le bas
   au lieu de laisser une coupure nette (demande de Valentin, 30/11) */
.sc-axi img{-webkit-mask-image:linear-gradient(to bottom,#000 72%,transparent 100%);mask-image:linear-gradient(to bottom,#000 72%,transparent 100%)}
.sc-bravo.chat .soustitre{color:#C9D1F5;font-weight:700;margin:-2px 0 8px}
.sc-bravo.chat .rep{text-align:left;line-height:1.5;font-weight:600}

/* ---- allègement (Valentin, 30/11 : « trop chargé, trop d'informations ») :
   plus de ruban, de nœud, de pointillés ni de chrono ; le numéro seul ----- */
.cal .c.paquet:before,.cal .c.paquet:after,.cal .c .noeud,.cal .c .sablier{display:none}
.cal .c.encours,.cal .c.jour.encours{outline:none}
.cal .c.encours{background:linear-gradient(160deg,#5C79FF,#4A69FF 60%,#3B57E0)}
.cal .c.jour.encours{background:linear-gradient(160deg,#FF5A1F,#E73E01 60%,#C93300)}
.cal .c .point{position:absolute;z-index:2;top:10px;right:10px;width:10px;height:10px;border-radius:50%;background:var(--or);box-shadow:0 0 0 3px rgba(255,200,87,.25)}
.cal .c.paquet .t{padding-left:0}

/* ---- perles de progression de la carte d'Axi (Valentin, 30/11 : « ça c'était bien, mais plus léger ») :
   les 24 perles reprennent les couleurs des boules, argentées pour la langue au chat ; une seule ligne courte dessous ---- */
.perles i.ok{background:radial-gradient(circle at 32% 28%,var(--c1,#FFF1C2),var(--c2,#FFC857) 50%,var(--c3,#D9982B));box-shadow:0 0 6px color-mix(in srgb,var(--c2,#FFC857) 55%,transparent)}
.perles i.k0{--c1:#FF9A6E;--c2:#E73E01;--c3:#8F2500} .perles i.k1{--c1:#FFF6D6;--c2:#FFC857;--c3:#C98A1E} .perles i.k2{--c1:#5FD08E;--c2:#1F8A4C;--c3:#0B4F27}
.perles i.k3{--c1:#9FB0FF;--c2:#4A69FF;--c3:#2436A8} .perles i.k4{--c1:#fff;--c2:#FFF4E2;--c3:#D8BE9A}
.perles i.ouv{box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.4)}
.mot.court{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:14px;font-weight:700;color:#E6EAFF;white-space:nowrap}
.mot.court .nchat{display:inline-flex;align-items:center;gap:5px;color:#C9D1F5;font-weight:700}
.mot.court .nchat i{width:11px;height:11px;border-radius:50%;background:radial-gradient(circle at 32% 28%,#fff,#C9D1F5 45%,#8D99C9)}

/* fond de nuit aussi sous la page (bande blanche en bas sur les longues pages) */
html{background:#12141F}

/* ---- neige posée sur les cases fermées (Valentin, 30/11 : « try hard la couleur, la lumière et la texture ») ----
   une congère en SVG (8 formes, ng0..ng7 selon le numéro) : blanc bleuté, relief éclairé d'en haut,
   grain poudreux, ombre froide portée sur la case, petites coulures. Elle déborde un peu de la case (overflow visible).
   Bloc généré par _essais/captures-neige-posee/gen_neige.py */
.cal .c.ferme{overflow:visible;box-shadow:0 6px 16px rgba(0,0,0,.25),inset 0 -10px 14px -10px rgba(6,8,26,.45);--ng:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 49' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.45' stop-color='%23F4F8FF'/%3E%3Cstop offset='1' stop-color='%23CFE0FF'/%3E%3C/linearGradient%3E%3Cfilter id='o' x='-10%25' y='-30%25' width='120%25' height='180%25'%3E%3CfeGaussianBlur stdDeviation='1.7'/%3E%3C/filter%3E%3Cfilter id='r' x='-5%25' y='-10%25' width='110%25' height='130%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='2.8' result='b'/%3E%3CfeDiffuseLighting in='b' surfaceScale='6.5' diffuseConstant='1.3' lighting-color='%23fff' result='l'%3E%3CfeDistantLight azimuth='255' elevation='50'/%3E%3C/feDiffuseLighting%3E%3CfeColorMatrix in='l' values='.58 0 0 0 .44  0 .46 0 0 .56  0 0 .2 0 .82  0 0 0 1 0' result='t'/%3E%3CfeBlend in='SourceGraphic' in2='t' mode='multiply' result='m'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' seed='3' result='n'/%3E%3CfeColorMatrix in='n' values='0 0 0 0 .5  0 0 0 0 .64  0 0 0 0 .96  1 1 0 0 -.98' result='p'/%3E%3CfeColorMatrix in='n' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 -2.2 -2.2 0 1.4' result='q'/%3E%3CfeMerge result='z'%3E%3CfeMergeNode in='m'/%3E%3CfeMergeNode in='p'/%3E%3CfeMergeNode in='q'/%3E%3C/feMerge%3E%3CfeComposite in='z' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M1.8 16C2 14.9 1.8 11.1 3 9.4C4.2 7.7 5.8 7 9 6C12.2 5 17.2 4.3 22 3.6C26.8 2.9 32.5 1.6 38 1.6C43.5 1.6 49.3 2.9 55 3.4C60.7 3.9 66.2 4.8 72 4.6C77.8 4.4 84.3 2.5 90 2.4C95.7 2.3 102 3.3 106 4C110 4.7 112.1 5.6 114 6.6C115.9 7.6 116.7 8.4 117.4 10C118.1 11.6 118.1 15 118.2 16C119 29 101 28 98 20.4C95.7 25 81.3 25 79 20.4C80.1 34.1 72.1 34.1 73.2 20.4C70.7 27.2 54.5 27.2 52 20.4C49.7 24.6 35.3 24.6 33 20.4C34.1 30.1 27.3 30.1 28.4 20.4C26.6 26.2 14.8 26.2 13 20.4C11.3 30 1 31 1.8 16Z' fill='%23060B2A' opacity='.6' transform='translate(0 2.6)' filter='url(%23o)'/%3E%3Cpath d='M1.8 16C2 14.9 1.8 11.1 3 9.4C4.2 7.7 5.8 7 9 6C12.2 5 17.2 4.3 22 3.6C26.8 2.9 32.5 1.6 38 1.6C43.5 1.6 49.3 2.9 55 3.4C60.7 3.9 66.2 4.8 72 4.6C77.8 4.4 84.3 2.5 90 2.4C95.7 2.3 102 3.3 106 4C110 4.7 112.1 5.6 114 6.6C115.9 7.6 116.7 8.4 117.4 10C118.1 11.6 118.1 15 118.2 16C119 29 101 28 98 20.4C95.7 25 81.3 25 79 20.4C80.1 34.1 72.1 34.1 73.2 20.4C70.7 27.2 54.5 27.2 52 20.4C49.7 24.6 35.3 24.6 33 20.4C34.1 30.1 27.3 30.1 28.4 20.4C26.6 26.2 14.8 26.2 13 20.4C11.3 30 1 31 1.8 16Z' fill='url(%23g)' filter='url(%23r)'/%3E%3C/svg%3E")}
.cal .c.ferme.ng1{--ng:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 49' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.45' stop-color='%23F4F8FF'/%3E%3Cstop offset='1' stop-color='%23CFE0FF'/%3E%3C/linearGradient%3E%3Cfilter id='o' x='-10%25' y='-30%25' width='120%25' height='180%25'%3E%3CfeGaussianBlur stdDeviation='1.7'/%3E%3C/filter%3E%3Cfilter id='r' x='-5%25' y='-10%25' width='110%25' height='130%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='2.8' result='b'/%3E%3CfeDiffuseLighting in='b' surfaceScale='6.5' diffuseConstant='1.3' lighting-color='%23fff' result='l'%3E%3CfeDistantLight azimuth='255' elevation='50'/%3E%3C/feDiffuseLighting%3E%3CfeColorMatrix in='l' values='.58 0 0 0 .44  0 .46 0 0 .56  0 0 .2 0 .82  0 0 0 1 0' result='t'/%3E%3CfeBlend in='SourceGraphic' in2='t' mode='multiply' result='m'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' seed='10' result='n'/%3E%3CfeColorMatrix in='n' values='0 0 0 0 .5  0 0 0 0 .64  0 0 0 0 .96  1 1 0 0 -.98' result='p'/%3E%3CfeColorMatrix in='n' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 -2.2 -2.2 0 1.4' result='q'/%3E%3CfeMerge result='z'%3E%3CfeMergeNode in='m'/%3E%3CfeMergeNode in='p'/%3E%3CfeMergeNode in='q'/%3E%3C/feMerge%3E%3CfeComposite in='z' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M1.8 16C2 14.9 1.8 11.2 3.2 9.6C4.6 8 6.2 7 10 6.2C13.8 5.4 20.3 5.3 26 4.6C31.7 3.9 38.3 2.3 44 2.2C49.7 2.1 54.3 3.9 60 3.8C65.7 3.7 72 1.9 78 1.8C84 1.7 90.8 2.6 96 3.2C101.2 3.8 105.5 4.1 109 5.2C112.5 6.3 115.3 7.8 116.8 9.6C118.3 11.4 118 14.9 118.2 16C119 31.5 105.3 30.5 103 20.4C100.7 25.2 86.3 25.2 84 20.4C81.4 28 64.6 28 62 20.4C60.1 24.6 47.9 24.6 46 20.4C47.1 35.6 39.3 35.6 40.4 20.4C38.2 27 24.2 27 22 20.4C19 28.5 1 29.5 1.8 16Z' fill='%23060B2A' opacity='.6' transform='translate(0 2.6)' filter='url(%23o)'/%3E%3Cpath d='M1.8 16C2 14.9 1.8 11.2 3.2 9.6C4.6 8 6.2 7 10 6.2C13.8 5.4 20.3 5.3 26 4.6C31.7 3.9 38.3 2.3 44 2.2C49.7 2.1 54.3 3.9 60 3.8C65.7 3.7 72 1.9 78 1.8C84 1.7 90.8 2.6 96 3.2C101.2 3.8 105.5 4.1 109 5.2C112.5 6.3 115.3 7.8 116.8 9.6C118.3 11.4 118 14.9 118.2 16C119 31.5 105.3 30.5 103 20.4C100.7 25.2 86.3 25.2 84 20.4C81.4 28 64.6 28 62 20.4C60.1 24.6 47.9 24.6 46 20.4C47.1 35.6 39.3 35.6 40.4 20.4C38.2 27 24.2 27 22 20.4C19 28.5 1 29.5 1.8 16Z' fill='url(%23g)' filter='url(%23r)'/%3E%3C/svg%3E")}
.cal .c.ferme.ng2{--ng:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 49' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.45' stop-color='%23F4F8FF'/%3E%3Cstop offset='1' stop-color='%23CFE0FF'/%3E%3C/linearGradient%3E%3Cfilter id='o' x='-10%25' y='-30%25' width='120%25' height='180%25'%3E%3CfeGaussianBlur stdDeviation='1.7'/%3E%3C/filter%3E%3Cfilter id='r' x='-5%25' y='-10%25' width='110%25' height='130%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='2.8' result='b'/%3E%3CfeDiffuseLighting in='b' surfaceScale='6.5' diffuseConstant='1.3' lighting-color='%23fff' result='l'%3E%3CfeDistantLight azimuth='255' elevation='50'/%3E%3C/feDiffuseLighting%3E%3CfeColorMatrix in='l' values='.58 0 0 0 .44  0 .46 0 0 .56  0 0 .2 0 .82  0 0 0 1 0' result='t'/%3E%3CfeBlend in='SourceGraphic' in2='t' mode='multiply' result='m'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' seed='17' result='n'/%3E%3CfeColorMatrix in='n' values='0 0 0 0 .5  0 0 0 0 .64  0 0 0 0 .96  1 1 0 0 -.98' result='p'/%3E%3CfeColorMatrix in='n' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 -2.2 -2.2 0 1.4' result='q'/%3E%3CfeMerge result='z'%3E%3CfeMergeNode in='m'/%3E%3CfeMergeNode in='p'/%3E%3CfeMergeNode in='q'/%3E%3C/feMerge%3E%3CfeComposite in='z' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M1.8 16C2 14.9 1.7 10.9 3 9.2C4.3 7.5 6 6.7 9.5 5.6C13 4.5 18.6 2.9 24 2.6C29.4 2.3 36 4 42 3.8C48 3.6 54.3 1.7 60 1.6C65.7 1.5 70.3 2.7 76 3.2C81.7 3.7 88.3 4.4 94 4.8C99.7 5.2 106.2 5 110 5.8C113.8 6.6 115.6 8.1 117 9.8C118.4 11.5 118 15 118.2 16C119 28 106.1 27 104 20.4C105.1 32.1 97.5 32.1 98.6 20.4C96.4 27.4 82.2 27.4 80 20.4C77.4 24.8 60.6 24.8 58 20.4C55.8 28.6 42.2 28.6 40 20.4C37.8 25.2 24.2 25.2 22 20.4C23.1 33.1 15.9 33.1 17 20.4C14.7 29 1 30 1.8 16Z' fill='%23060B2A' opacity='.6' transform='translate(0 2.6)' filter='url(%23o)'/%3E%3Cpath d='M1.8 16C2 14.9 1.7 10.9 3 9.2C4.3 7.5 6 6.7 9.5 5.6C13 4.5 18.6 2.9 24 2.6C29.4 2.3 36 4 42 3.8C48 3.6 54.3 1.7 60 1.6C65.7 1.5 70.3 2.7 76 3.2C81.7 3.7 88.3 4.4 94 4.8C99.7 5.2 106.2 5 110 5.8C113.8 6.6 115.6 8.1 117 9.8C118.4 11.5 118 15 118.2 16C119 28 106.1 27 104 20.4C105.1 32.1 97.5 32.1 98.6 20.4C96.4 27.4 82.2 27.4 80 20.4C77.4 24.8 60.6 24.8 58 20.4C55.8 28.6 42.2 28.6 40 20.4C37.8 25.2 24.2 25.2 22 20.4C23.1 33.1 15.9 33.1 17 20.4C14.7 29 1 30 1.8 16Z' fill='url(%23g)' filter='url(%23r)'/%3E%3C/svg%3E")}
.cal .c.ferme.ng3{--ng:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 49' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.45' stop-color='%23F4F8FF'/%3E%3Cstop offset='1' stop-color='%23CFE0FF'/%3E%3C/linearGradient%3E%3Cfilter id='o' x='-10%25' y='-30%25' width='120%25' height='180%25'%3E%3CfeGaussianBlur stdDeviation='1.7'/%3E%3C/filter%3E%3Cfilter id='r' x='-5%25' y='-10%25' width='110%25' height='130%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='2.8' result='b'/%3E%3CfeDiffuseLighting in='b' surfaceScale='6.5' diffuseConstant='1.3' lighting-color='%23fff' result='l'%3E%3CfeDistantLight azimuth='255' elevation='50'/%3E%3C/feDiffuseLighting%3E%3CfeColorMatrix in='l' values='.58 0 0 0 .44  0 .46 0 0 .56  0 0 .2 0 .82  0 0 0 1 0' result='t'/%3E%3CfeBlend in='SourceGraphic' in2='t' mode='multiply' result='m'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' seed='24' result='n'/%3E%3CfeColorMatrix in='n' values='0 0 0 0 .5  0 0 0 0 .64  0 0 0 0 .96  1 1 0 0 -.98' result='p'/%3E%3CfeColorMatrix in='n' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 -2.2 -2.2 0 1.4' result='q'/%3E%3CfeMerge result='z'%3E%3CfeMergeNode in='m'/%3E%3CfeMergeNode in='p'/%3E%3CfeMergeNode in='q'/%3E%3C/feMerge%3E%3CfeComposite in='z' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M1.8 16C2 14.9 2.1 11.2 3.3 9.6C4.5 8 5.6 7.1 9.2 6.2C12.8 5.3 19.4 4.5 25 4.2C30.6 3.9 37 4.8 43 4.4C49 4 55 2.1 61 1.8C67 1.5 73.2 2.3 79 2.8C84.8 3.3 90.7 4.1 96 4.6C101.3 5.1 107.3 5.2 110.8 6C114.3 6.8 115.6 7.9 116.8 9.6C118 11.3 118 14.9 118.2 16C119 31 100.2 30 97 20.4C94.5 25.6 78.5 25.6 76 20.4C74.1 28 61.9 28 60 20.4C61.1 31.6 53.5 31.6 54.6 20.4C52.4 25 38.2 25 36 20.4C33.8 29 20.2 29 18 20.4C15.6 27 1 28 1.8 16Z' fill='%23060B2A' opacity='.6' transform='translate(0 2.6)' filter='url(%23o)'/%3E%3Cpath d='M1.8 16C2 14.9 2.1 11.2 3.3 9.6C4.5 8 5.6 7.1 9.2 6.2C12.8 5.3 19.4 4.5 25 4.2C30.6 3.9 37 4.8 43 4.4C49 4 55 2.1 61 1.8C67 1.5 73.2 2.3 79 2.8C84.8 3.3 90.7 4.1 96 4.6C101.3 5.1 107.3 5.2 110.8 6C114.3 6.8 115.6 7.9 116.8 9.6C118 11.3 118 14.9 118.2 16C119 31 100.2 30 97 20.4C94.5 25.6 78.5 25.6 76 20.4C74.1 28 61.9 28 60 20.4C61.1 31.6 53.5 31.6 54.6 20.4C52.4 25 38.2 25 36 20.4C33.8 29 20.2 29 18 20.4C15.6 27 1 28 1.8 16Z' fill='url(%23g)' filter='url(%23r)'/%3E%3C/svg%3E")}
.cal .c.ferme.ng4{--ng:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 49' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.45' stop-color='%23F4F8FF'/%3E%3Cstop offset='1' stop-color='%23CFE0FF'/%3E%3C/linearGradient%3E%3Cfilter id='o' x='-10%25' y='-30%25' width='120%25' height='180%25'%3E%3CfeGaussianBlur stdDeviation='1.7'/%3E%3C/filter%3E%3Cfilter id='r' x='-5%25' y='-10%25' width='110%25' height='130%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='2.8' result='b'/%3E%3CfeDiffuseLighting in='b' surfaceScale='6.5' diffuseConstant='1.3' lighting-color='%23fff' result='l'%3E%3CfeDistantLight azimuth='255' elevation='50'/%3E%3C/feDiffuseLighting%3E%3CfeColorMatrix in='l' values='.58 0 0 0 .44  0 .46 0 0 .56  0 0 .2 0 .82  0 0 0 1 0' result='t'/%3E%3CfeBlend in='SourceGraphic' in2='t' mode='multiply' result='m'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' seed='31' result='n'/%3E%3CfeColorMatrix in='n' values='0 0 0 0 .5  0 0 0 0 .64  0 0 0 0 .96  1 1 0 0 -.98' result='p'/%3E%3CfeColorMatrix in='n' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 -2.2 -2.2 0 1.4' result='q'/%3E%3CfeMerge result='z'%3E%3CfeMergeNode in='m'/%3E%3CfeMergeNode in='p'/%3E%3CfeMergeNode in='q'/%3E%3C/feMerge%3E%3CfeComposite in='z' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M1.8 16C1.9 15 1.9 11.6 2.6 10C3.3 8.4 4.1 7.6 6 6.6C7.9 5.6 10 4.7 14 4C18 3.3 24.3 2.3 30 2.4C35.7 2.5 42.2 4.4 48 4.6C53.8 4.8 59.3 3.9 65 3.4C70.7 2.9 76.5 1.6 82 1.6C87.5 1.6 93.2 2.9 98 3.6C102.8 4.3 107.8 5 111 6C114.2 7 115.8 7.7 117 9.4C118.2 11.1 118 14.9 118.2 16C119 31 108.7 30 107 20.4C105.2 26.2 93.4 26.2 91.6 20.4C92.7 30.1 85.9 30.1 87 20.4C84.7 24.6 70.3 24.6 68 20.4C65.5 27.2 49.3 27.2 46.8 20.4C47.9 34.1 39.9 34.1 41 20.4C38.7 25 24.3 25 22 20.4C19 28 1 29 1.8 16Z' fill='%23060B2A' opacity='.6' transform='translate(0 2.6)' filter='url(%23o)'/%3E%3Cpath d='M1.8 16C1.9 15 1.9 11.6 2.6 10C3.3 8.4 4.1 7.6 6 6.6C7.9 5.6 10 4.7 14 4C18 3.3 24.3 2.3 30 2.4C35.7 2.5 42.2 4.4 48 4.6C53.8 4.8 59.3 3.9 65 3.4C70.7 2.9 76.5 1.6 82 1.6C87.5 1.6 93.2 2.9 98 3.6C102.8 4.3 107.8 5 111 6C114.2 7 115.8 7.7 117 9.4C118.2 11.1 118 14.9 118.2 16C119 31 108.7 30 107 20.4C105.2 26.2 93.4 26.2 91.6 20.4C92.7 30.1 85.9 30.1 87 20.4C84.7 24.6 70.3 24.6 68 20.4C65.5 27.2 49.3 27.2 46.8 20.4C47.9 34.1 39.9 34.1 41 20.4C38.7 25 24.3 25 22 20.4C19 28 1 29 1.8 16Z' fill='url(%23g)' filter='url(%23r)'/%3E%3C/svg%3E")}
.cal .c.ferme.ng5{--ng:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 49' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.45' stop-color='%23F4F8FF'/%3E%3Cstop offset='1' stop-color='%23CFE0FF'/%3E%3C/linearGradient%3E%3Cfilter id='o' x='-10%25' y='-30%25' width='120%25' height='180%25'%3E%3CfeGaussianBlur stdDeviation='1.7'/%3E%3C/filter%3E%3Cfilter id='r' x='-5%25' y='-10%25' width='110%25' height='130%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='2.8' result='b'/%3E%3CfeDiffuseLighting in='b' surfaceScale='6.5' diffuseConstant='1.3' lighting-color='%23fff' result='l'%3E%3CfeDistantLight azimuth='255' elevation='50'/%3E%3C/feDiffuseLighting%3E%3CfeColorMatrix in='l' values='.58 0 0 0 .44  0 .46 0 0 .56  0 0 .2 0 .82  0 0 0 1 0' result='t'/%3E%3CfeBlend in='SourceGraphic' in2='t' mode='multiply' result='m'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' seed='38' result='n'/%3E%3CfeColorMatrix in='n' values='0 0 0 0 .5  0 0 0 0 .64  0 0 0 0 .96  1 1 0 0 -.98' result='p'/%3E%3CfeColorMatrix in='n' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 -2.2 -2.2 0 1.4' result='q'/%3E%3CfeMerge result='z'%3E%3CfeMergeNode in='m'/%3E%3CfeMergeNode in='p'/%3E%3CfeMergeNode in='q'/%3E%3C/feMerge%3E%3CfeComposite in='z' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M1.8 16C2 14.9 1.7 11.4 3.2 9.6C4.7 7.8 7.5 6.3 11 5.2C14.5 4.1 18.8 3.8 24 3.2C29.2 2.6 36 1.7 42 1.8C48 1.9 54.3 3.7 60 3.8C65.7 3.9 70.3 2.1 76 2.2C81.7 2.3 88.3 3.9 94 4.6C99.7 5.3 106.2 5.4 110 6.2C113.8 7 115.4 8 116.8 9.6C118.2 11.2 118 14.9 118.2 16C119 29.5 101 28.5 98 20.4C95.8 27 81.8 27 79.6 20.4C80.7 35.6 72.9 35.6 74 20.4C72.1 24.6 59.9 24.6 58 20.4C55.4 28 38.6 28 36 20.4C33.7 25.2 19.3 25.2 17 20.4C14.7 30.5 1 31.5 1.8 16Z' fill='%23060B2A' opacity='.6' transform='translate(0 2.6)' filter='url(%23o)'/%3E%3Cpath d='M1.8 16C2 14.9 1.7 11.4 3.2 9.6C4.7 7.8 7.5 6.3 11 5.2C14.5 4.1 18.8 3.8 24 3.2C29.2 2.6 36 1.7 42 1.8C48 1.9 54.3 3.7 60 3.8C65.7 3.9 70.3 2.1 76 2.2C81.7 2.3 88.3 3.9 94 4.6C99.7 5.3 106.2 5.4 110 6.2C113.8 7 115.4 8 116.8 9.6C118.2 11.2 118 14.9 118.2 16C119 29.5 101 28.5 98 20.4C95.8 27 81.8 27 79.6 20.4C80.7 35.6 72.9 35.6 74 20.4C72.1 24.6 59.9 24.6 58 20.4C55.4 28 38.6 28 36 20.4C33.7 25.2 19.3 25.2 17 20.4C14.7 30.5 1 31.5 1.8 16Z' fill='url(%23g)' filter='url(%23r)'/%3E%3C/svg%3E")}
.cal .c.ferme.ng6{--ng:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 49' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.45' stop-color='%23F4F8FF'/%3E%3Cstop offset='1' stop-color='%23CFE0FF'/%3E%3C/linearGradient%3E%3Cfilter id='o' x='-10%25' y='-30%25' width='120%25' height='180%25'%3E%3CfeGaussianBlur stdDeviation='1.7'/%3E%3C/filter%3E%3Cfilter id='r' x='-5%25' y='-10%25' width='110%25' height='130%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='2.8' result='b'/%3E%3CfeDiffuseLighting in='b' surfaceScale='6.5' diffuseConstant='1.3' lighting-color='%23fff' result='l'%3E%3CfeDistantLight azimuth='255' elevation='50'/%3E%3C/feDiffuseLighting%3E%3CfeColorMatrix in='l' values='.58 0 0 0 .44  0 .46 0 0 .56  0 0 .2 0 .82  0 0 0 1 0' result='t'/%3E%3CfeBlend in='SourceGraphic' in2='t' mode='multiply' result='m'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' seed='45' result='n'/%3E%3CfeColorMatrix in='n' values='0 0 0 0 .5  0 0 0 0 .64  0 0 0 0 .96  1 1 0 0 -.98' result='p'/%3E%3CfeColorMatrix in='n' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 -2.2 -2.2 0 1.4' result='q'/%3E%3CfeMerge result='z'%3E%3CfeMergeNode in='m'/%3E%3CfeMergeNode in='p'/%3E%3CfeMergeNode in='q'/%3E%3C/feMerge%3E%3CfeComposite in='z' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M1.8 16C2 15 1.6 11.5 3 9.8C4.4 8.1 6.2 6.6 10 5.8C13.8 5 20.3 5.2 26 4.8C31.7 4.4 38.3 3.7 44 3.2C49.7 2.7 54.3 1.5 60 1.6C65.7 1.7 72 3.6 78 3.8C84 4 90.6 2.3 96 2.6C101.4 2.9 107 4.5 110.5 5.6C114 6.7 115.7 7.5 117 9.2C118.3 10.9 118 14.9 118.2 16C119 30 105.3 29 103 20.4C104.1 33.1 96.9 33.1 98 20.4C95.8 25.2 82.2 25.2 80 20.4C77.8 28.6 64.2 28.6 62 20.4C59.4 24.8 42.6 24.8 40 20.4C37.8 27.4 23.6 27.4 21.4 20.4C22.5 32.1 14.9 32.1 16 20.4C13.9 27 1 28 1.8 16Z' fill='%23060B2A' opacity='.6' transform='translate(0 2.6)' filter='url(%23o)'/%3E%3Cpath d='M1.8 16C2 15 1.6 11.5 3 9.8C4.4 8.1 6.2 6.6 10 5.8C13.8 5 20.3 5.2 26 4.8C31.7 4.4 38.3 3.7 44 3.2C49.7 2.7 54.3 1.5 60 1.6C65.7 1.7 72 3.6 78 3.8C84 4 90.6 2.3 96 2.6C101.4 2.9 107 4.5 110.5 5.6C114 6.7 115.7 7.5 117 9.2C118.3 10.9 118 14.9 118.2 16C119 30 105.3 29 103 20.4C104.1 33.1 96.9 33.1 98 20.4C95.8 25.2 82.2 25.2 80 20.4C77.8 28.6 64.2 28.6 62 20.4C59.4 24.8 42.6 24.8 40 20.4C37.8 27.4 23.6 27.4 21.4 20.4C22.5 32.1 14.9 32.1 16 20.4C13.9 27 1 28 1.8 16Z' fill='url(%23g)' filter='url(%23r)'/%3E%3C/svg%3E")}
.cal .c.ferme.ng7{--ng:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 49' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.45' stop-color='%23F4F8FF'/%3E%3Cstop offset='1' stop-color='%23CFE0FF'/%3E%3C/linearGradient%3E%3Cfilter id='o' x='-10%25' y='-30%25' width='120%25' height='180%25'%3E%3CfeGaussianBlur stdDeviation='1.7'/%3E%3C/filter%3E%3Cfilter id='r' x='-5%25' y='-10%25' width='110%25' height='130%25' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur in='SourceAlpha' stdDeviation='2.8' result='b'/%3E%3CfeDiffuseLighting in='b' surfaceScale='6.5' diffuseConstant='1.3' lighting-color='%23fff' result='l'%3E%3CfeDistantLight azimuth='255' elevation='50'/%3E%3C/feDiffuseLighting%3E%3CfeColorMatrix in='l' values='.58 0 0 0 .44  0 .46 0 0 .56  0 0 .2 0 .82  0 0 0 1 0' result='t'/%3E%3CfeBlend in='SourceGraphic' in2='t' mode='multiply' result='m'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' seed='52' result='n'/%3E%3CfeColorMatrix in='n' values='0 0 0 0 .5  0 0 0 0 .64  0 0 0 0 .96  1 1 0 0 -.98' result='p'/%3E%3CfeColorMatrix in='n' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 -2.2 -2.2 0 1.4' result='q'/%3E%3CfeMerge result='z'%3E%3CfeMergeNode in='m'/%3E%3CfeMergeNode in='p'/%3E%3CfeMergeNode in='q'/%3E%3C/feMerge%3E%3CfeComposite in='z' in2='SourceAlpha' operator='in'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M1.8 16C2 14.9 2 11.3 3.2 9.6C4.4 7.9 5.7 6.8 9.2 6C12.7 5.2 18.7 5.1 24 4.6C29.3 4.1 35.2 3.3 41 2.8C46.8 2.3 53 1.5 59 1.8C65 2.1 71 4 77 4.4C83 4.8 89.4 3.9 95 4.2C100.6 4.5 107.2 5.3 110.8 6.2C114.4 7.1 115.5 8 116.7 9.6C117.9 11.2 118 14.9 118.2 16C119 28 104.4 27 102 20.4C99.8 29 86.2 29 84 20.4C81.8 25 67.6 25 65.4 20.4C66.5 31.6 58.9 31.6 60 20.4C58.1 28 45.9 28 44 20.4C41.5 25.6 25.5 25.6 23 20.4C19.8 30 1 31 1.8 16Z' fill='%23060B2A' opacity='.6' transform='translate(0 2.6)' filter='url(%23o)'/%3E%3Cpath d='M1.8 16C2 14.9 2 11.3 3.2 9.6C4.4 7.9 5.7 6.8 9.2 6C12.7 5.2 18.7 5.1 24 4.6C29.3 4.1 35.2 3.3 41 2.8C46.8 2.3 53 1.5 59 1.8C65 2.1 71 4 77 4.4C83 4.8 89.4 3.9 95 4.2C100.6 4.5 107.2 5.3 110.8 6.2C114.4 7.1 115.5 8 116.7 9.6C117.9 11.2 118 14.9 118.2 16C119 28 104.4 27 102 20.4C99.8 29 86.2 29 84 20.4C81.8 25 67.6 25 65.4 20.4C66.5 31.6 58.9 31.6 60 20.4C58.1 28 45.9 28 44 20.4C41.5 25.6 25.5 25.6 23 20.4C19.8 30 1 31 1.8 16Z' fill='url(%23g)' filter='url(%23r)'/%3E%3C/svg%3E")}
.cal .c.ferme:before,.cal .c.ferme:after{content:"";position:absolute;left:-3%;right:-3%;top:-6%;height:40%;pointer-events:none}
.cal .c.ferme:before{z-index:1;opacity:1;background:var(--ng) center/100% 100% no-repeat}
/* paillettes : deux ou trois éclats qui scintillent doucement, décalés d'une case à l'autre */
.cal .c.ferme:after{z-index:1;--et:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='6.5' fill='%237FA8FF' opacity='.4'/%3E%3Cpath d='M10 0C10.6 6.2 13.8 9.4 20 10 13.8 10.6 10.6 13.8 10 20 9.4 13.8 6.2 10.6 0 10 6.2 9.4 9.4 6.2 10 0Z' fill='%23fff'/%3E%3C/svg%3E");background:var(--et) 22% 24%/10% auto no-repeat,var(--et) 71% 32%/7.5% auto no-repeat,var(--et) 90% 19%/6% auto no-repeat;animation:paillette 4.2s ease-in-out infinite}
.cal .c.ferme.ng1:after,.cal .c.ferme.ng6:after{background-position:64% 20%,15% 30%,40% 14%}
.cal .c.ferme.ng2:after,.cal .c.ferme.ng7:after{background-position:36% 24%,84% 26%,9% 20%}
.cal .c.ferme.ng3:after,.cal .c.ferme.ng4:after{background-position:80% 21%,48% 30%,24% 15%}
.cal .c.ferme:nth-child(3n):after{animation-delay:-1.4s;animation-duration:5.1s}
.cal .c.ferme:nth-child(3n+1):after{animation-delay:-2.9s}
.cal .c.ferme:nth-child(4n+2):after{animation-delay:-3.6s;animation-duration:4.7s}
@keyframes paillette{0%,100%{opacity:.15}18%{opacity:1}36%{opacity:.3}58%{opacity:.85}80%{opacity:.2}}
@media(prefers-reduced-motion:reduce){.cal .c.ferme:after{animation:none;opacity:.7}}
/* fin neige posée */
