[data-saison="noel"] { --s1: #dc2626; --s2: #16a34a; --s3: #f59e0b; --a-clair: #c81e1e; --b-clair: #15803d; --c-clair: #e11d48; --a-sombre: #ef4444; --b-sombre: #4ade80; --c-sombre: #f43f5e; --particule: "❄"; --particule-bis: "✦"; --mouvement: chute-saison; --embleme-saison: "🎄"; }
[data-saison="nouvelan"] { --s1: #facc15; --s2: #4f46e5; --s3: #ec4899; --a-clair: #a16207; --b-clair: #4f46e5; --c-clair: #b45309; --a-sombre: #d97706; --b-sombre: #a5b4fc; --c-sombre: #b45309; --particule: "■"; --particule-bis: "✦"; --mouvement: chute-saison; --embleme-saison: "🥂"; }
[data-saison="paques"] { --s1: #a78bfa; --s2: #fde047; --s3: #6ee7b7; --a-clair: #c026d3; --b-clair: #0d9488; --c-clair: #7c3aed; --a-sombre: #d946ef; --b-sombre: #fde047; --c-sombre: #a855f7; --particule: "🥚"; --particule-bis: "🐣"; --mouvement: chute-saison; --embleme-saison: "🐣"; }
[data-saison="juillet"] { --s1: #2563eb; --s2: #ef4444; --s3: #e2e8f0; --a-clair: #1d4ed8; --b-clair: #dc2626; --c-clair: #dc2626; --a-sombre: #3b82f6; --b-sombre: #f87171; --c-sombre: #ef4444; --particule: "■"; --particule-bis: "■"; --mouvement: chute-saison; --embleme-saison: "🎆"; }
[data-saison="halloween"] { --s1: #f97316; --s2: #7c3aed; --s3: #84cc16; --a-clair: #c2410c; --b-clair: #7c3aed; --c-clair: #9333ea; --a-sombre: #ea580c; --b-sombre: #a3e635; --c-sombre: #a855f7; --particule: "🦇"; --particule-bis: "🦇"; --mouvement: vol-saison; --embleme-saison: "🎃"; }
[data-saison="printemps"] { --s1: #ec4899; --s2: #22c55e; --s3: #facc15; --a-clair: #15803d; --b-clair: #db2777; --c-clair: #0f766e; --a-sombre: #16a34a; --b-sombre: #f472b6; --c-sombre: #0d9488; --particule: "🌸"; --particule-bis: "🌸"; --mouvement: chute-saison; --embleme-saison: "🌸"; }
[data-saison="ete"] { --s1: #06b6d4; --s2: #f59e0b; --s3: #f43f5e; --a-clair: #0f766e; --b-clair: #ea580c; --c-clair: #0e7490; --a-sombre: #0d9488; --b-sombre: #fdba74; --c-sombre: #0891b2; --particule: "✦"; --particule-bis: "✧"; --mouvement: envol-saison; --embleme-saison: "☀️"; }
[data-saison="automne"] { --s1: #ea580c; --s2: #b45309; --s3: #dc2626; --a-clair: #b45309; --b-clair: #a16207; --c-clair: #b91c1c; --a-sombre: #d97706; --b-sombre: #fcd34d; --c-sombre: #ef4444; --particule: "🍂"; --particule-bis: "🍁"; --mouvement: chute-saison; --embleme-saison: "🍂"; }
[data-saison="valentin"] { --s1: #f43f5e; --s2: #ec4899; --s3: #fb7185; --a-clair: #be123c; --b-clair: #db2777; --c-clair: #9d174d; --a-sombre: #f43f5e; --b-sombre: #f9a8d4; --c-sombre: #ec4899; --particule: "❤"; --particule-bis: "✿"; --mouvement: chute-saison; --embleme-saison: "💘"; --depot-texte: "🌹💗🌹"; --depot-texte-bis: "💗🌹"; }
[data-saison="carnaval"] { --s1: #f59e0b; --s2: #a855f7; --s3: #22c55e; --a-clair: #c2410c; --b-clair: #7e22ce; --c-clair: #be185d; --a-sombre: #f97316; --b-sombre: #d8b4fe; --c-sombre: #ec4899; --particule: "■"; --particule-bis: "●"; --mouvement: chute-saison; --embleme-saison: "🎭"; --depot-texte: "🎭🎺"; --depot-texte-bis: "🎈🎭"; }
[data-saison="chandeleur"] { --s1: #f59e0b; --s2: #fde68a; --s3: #b45309; --a-clair: #b45309; --b-clair: #a16207; --c-clair: #92400e; --a-sombre: #d97706; --b-sombre: #fde68a; --c-sombre: #b45309; --particule: "🥞"; --particule-bis: "🍋"; --mouvement: chute-saison; --embleme-saison: "🥞"; --depot-texte: "🥞🍯🥞"; --depot-texte-bis: "🍋🥞"; }
[data-saison="musique"] { --s1: #a855f7; --s2: #ec4899; --s3: #22d3ee; --a-clair: #7e22ce; --b-clair: #be185d; --c-clair: #6d28d9; --a-sombre: #a855f7; --b-sombre: #f9a8d4; --c-sombre: #8b5cf6; --particule: "♪"; --particule-bis: "♫"; --mouvement: chute-saison; --embleme-saison: "🎶"; --depot-texte: "🎵🎸🎶"; --depot-texte-bis: "🎶🥁"; }
[data-saison="rentree"] { --s1: #2563eb; --s2: #facc15; --s3: #ef4444; --a-clair: #1d4ed8; --b-clair: #b45309; --c-clair: #1e40af; --a-sombre: #3b82f6; --b-sombre: #fde047; --c-sombre: #6366f1; --particule: "✏️"; --particule-bis: "📎"; --mouvement: chute-saison; --embleme-saison: "📚"; --depot-texte: "✏️📚📐"; --depot-texte-bis: "📎✏️"; }
[data-saison="barbe"] { --s1: #dc2626; --s2: #f59e0b; --s3: #7f1d1d; --a-clair: #b91c1c; --b-clair: #b45309; --c-clair: #991b1b; --a-sombre: #ef4444; --b-sombre: #fbbf24; --c-sombre: #dc2626; --particule: "✦"; --particule-bis: "✧"; --mouvement: envol-saison; --embleme-saison: "🚒"; --depot-texte: "⛑️🧯"; --depot-texte-bis: "🔥⛑️"; }
[data-saison="chantier"] { --s1: #facc15; --s2: #334155; --s3: #f97316; --a-clair: #a16207; --b-clair: #c2410c; --c-clair: #854d0e; --a-sombre: #d97706; --b-sombre: #fde047; --c-sombre: #ea580c; --particule: "🔩"; --particule-bis: "⚙"; --mouvement: chute-saison; --embleme-saison: "🚧"; --depot-texte: "🔧⚙️🔩"; --depot-texte-bis: "🔩🔧"; }
[data-saison="espace"] { --s1: #4f46e5; --s2: #0ea5e9; --s3: #a855f7; --a-clair: #4338ca; --b-clair: #0369a1; --c-clair: #6d28d9; --a-sombre: #6366f1; --b-sombre: #7dd3fc; --c-sombre: #8b5cf6; --particule: "✦"; --particule-bis: "✧"; --mouvement: envol-saison; --embleme-saison: "🚀"; }
[data-saison="anniversaire"] { --s1: #ec4899; --s2: #22d3ee; --s3: #facc15; --a-clair: #be185d; --b-clair: #0e7490; --c-clair: #7e22ce; --a-sombre: #ec4899; --b-sombre: #67e8f9; --c-sombre: #a855f7; --particule: "■"; --particule-bis: "●"; --mouvement: chute-saison; --embleme-saison: "🎂"; --depot-texte: "🎁🎈🎂"; --depot-texte-bis: "🎈🎁"; }
[data-saison="ocean"] { --s1: #0ea5e9; --s2: #0f766e; --s3: #6366f1; --a-clair: #0369a1; --b-clair: #0f766e; --c-clair: #1d4ed8; --a-sombre: #0ea5e9; --b-sombre: #5eead4; --c-sombre: #3b82f6; --particule: "●"; --particule-bis: "○"; --mouvement: envol-saison; --embleme-saison: "🐠"; --depot-texte: "🐚"; --depot-texte-bis: "🦀"; }
[data-saison="hiver"] { --s1: #38bdf8; --s2: #6366f1; --s3: #bae6fd; --a-clair: #1d4ed8; --b-clair: #0284c7; --c-clair: #4f46e5; --a-sombre: #3b82f6; --b-sombre: #7dd3fc; --c-sombre: #6366f1; --particule: "❄"; --particule-bis: "❅"; --mouvement: chute-saison; --embleme-saison: "❄️"; }

:root[data-saison] { --accent: var(--a-clair); --accent-2: var(--b-clair); --violet: var(--c-clair); --teinte-particule: #7da2d6; --ombre-depot: drop-shadow(0 1px 0 #7fb0e6) drop-shadow(0 2px 3px rgb(37 99 235 / .45)); --degrade-titre: linear-gradient(120deg, var(--a-clair), var(--c-clair) 45%, var(--b-clair)); }
@media (prefers-color-scheme: dark) {
  :root[data-saison]:not([data-theme="clair"]) { --accent: var(--a-sombre); --accent-2: var(--b-sombre); --violet: var(--c-sombre); --teinte-particule: #ffffff; --ombre-depot: drop-shadow(0 1px 1px rgb(30 58 138 / .4)); --degrade-titre: linear-gradient(120deg, color-mix(in srgb, var(--a-sombre) 55%, #fff), color-mix(in srgb, var(--c-sombre) 55%, #fff) 45%, var(--b-sombre));
    --fond-panneau: linear-gradient(135deg, color-mix(in srgb, var(--s1) 22%, #141b30), #141b30 64%); }
}
:root[data-saison][data-theme="sombre"] { --accent: var(--a-sombre); --accent-2: var(--b-sombre); --violet: var(--c-sombre); --teinte-particule: #ffffff; --ombre-depot: drop-shadow(0 1px 1px rgb(30 58 138 / .4)); --degrade-titre: linear-gradient(120deg, color-mix(in srgb, var(--a-sombre) 55%, #fff), color-mix(in srgb, var(--c-sombre) 55%, #fff) 45%, var(--b-sombre));
  --fond-panneau: linear-gradient(135deg, color-mix(in srgb, var(--s1) 22%, #141b30), #141b30 64%); }

:root[data-saison] .decor-site i:nth-child(1) { background: var(--s1); }
:root[data-saison] .decor-site i:nth-child(2) { background: var(--s2); }
:root[data-saison] .decor-site i:nth-child(3) { background: var(--s3); }
:root[data-saison] :is(main > .entete:has(> h1), .tete-page, .hero-accueil) { background: var(--fond-panneau) padding-box, conic-gradient(from var(--tour), var(--s1), var(--s2), var(--s3), var(--s1)) border-box; box-shadow: 0 44px 90px -52px color-mix(in srgb, var(--s1) 85%, transparent); }
:root[data-saison] .fenetre-avis { background: linear-gradient(var(--surface-pleine), var(--surface-pleine)) padding-box, conic-gradient(from var(--tour), var(--s1), var(--s2), var(--s3), var(--s1)) border-box; }
:root[data-saison] .barre .logo::after { content: var(--embleme-saison); font-size: 1.1em; transform-origin: 50% 0; animation: balance-embleme 3.4s ease-in-out infinite alternate; }

.decor-saison { position: fixed; inset: 0; z-index: 25; overflow: hidden; pointer-events: none; }
.decor-saison i { position: absolute; top: 0; left: calc(var(--x) * 1%); font-style: normal; font-size: var(--taille); line-height: 1; color: var(--teinte-particule); opacity: .72; animation: var(--mouvement) var(--duree) linear var(--retard) infinite; will-change: transform; }
.decor-saison i::before { content: var(--particule); display: block; animation: balance-saison 3.6s ease-in-out infinite alternate; }
.decor-saison i:nth-child(3n)::before { content: var(--particule-bis); }
.decor-saison.calme i { display: none; }

[data-saison="noel"] .decor-saison i:nth-child(3n) { color: #facc15; }
[data-saison="noel"] .decor-saison::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 16px; filter: drop-shadow(0 0 5px rgb(250 204 21 / .75)); animation: guirlande 1.4s steps(2, jump-none) infinite;
  background-image: radial-gradient(circle at 14px 8px, #ef4444 0 4px, transparent 5px), radial-gradient(circle at 42px 10px, #facc15 0 4px, transparent 5px), radial-gradient(circle at 70px 8px, #22c55e 0 4px, transparent 5px), radial-gradient(circle at 98px 10px, #38bdf8 0 4px, transparent 5px), linear-gradient(#1f6f43, #1f6f43);
  background-repeat: repeat-x; background-position: 0 0, 0 0, 0 0, 0 0, 0 2px; background-size: 112px 16px, 112px 16px, 112px 16px, 112px 16px, 100% 2px;
}

[data-saison="halloween"] .decor-saison i { top: calc(var(--x) * .55%); left: 0; font-size: calc(var(--taille) + 4px); opacity: .8; }
[data-saison="halloween"] .decor-saison i::before { animation: battement-ailes .5s ease-in-out infinite alternate; }
[data-saison="halloween"] .decor-saison i:nth-child(n+8) { display: none; }
[data-saison="halloween"] .decor-saison::before { content: "🕸️"; position: absolute; top: -34px; right: -30px; font-size: 150px; line-height: 1; opacity: .34; rotate: 8deg; }
[data-saison="halloween"] .decor-saison::after { content: "🎃"; position: absolute; right: 18px; bottom: 16px; font-size: 34px; line-height: 1; opacity: .85; animation: lueur-citrouille 2.2s ease-in-out infinite alternate; }

[data-saison="ete"] .decor-saison i { color: #facc15; text-shadow: 0 0 10px rgb(250 204 21 / .9); font-size: calc(var(--taille) - 3px); }
[data-saison="ete"] .decor-saison i::before { animation: scintillement 1.8s ease-in-out infinite alternate; }
[data-saison="ete"] .decor-saison::before { content: ""; position: absolute; top: -16vmax; right: -12vmax; width: 44vmax; height: 44vmax; border-radius: 50%; background: radial-gradient(circle, rgb(250 204 21 / .34), rgb(249 115 22 / .14) 42%, transparent 68%); animation: soleil 7s ease-in-out infinite alternate; }

[data-saison="automne"] .decor-saison i { opacity: .85; }
[data-saison="automne"] .decor-saison i::before { animation: tournoiement 4.6s ease-in-out infinite alternate; }

[data-saison="printemps"] .decor-saison i { opacity: .8; font-size: calc(var(--taille) - 2px); }
[data-saison="printemps"] .decor-saison i::before { animation: tournoiement 5.2s ease-in-out infinite alternate; }

:is([data-saison="nouvelan"], [data-saison="juillet"]) .decor-saison i { font-size: calc(var(--taille) - 5px); opacity: .85; }
:is([data-saison="nouvelan"], [data-saison="juillet"]) .decor-saison i::before { animation: tournoiement 2.6s ease-in-out infinite alternate; }
[data-saison="nouvelan"] .decor-saison i:nth-child(4n+1) { color: #facc15; }
[data-saison="nouvelan"] .decor-saison i:nth-child(4n+2) { color: #f472b6; }
[data-saison="nouvelan"] .decor-saison i:nth-child(4n+3) { color: #fde68a; }
[data-saison="nouvelan"] .decor-saison i:nth-child(4n) { color: #818cf8; }
[data-saison="juillet"] .decor-saison i:nth-child(3n+1) { color: #3b82f6; }
[data-saison="juillet"] .decor-saison i:nth-child(3n+2) { color: #f8fafc; text-shadow: 0 0 2px rgb(15 23 42 / .5); }
[data-saison="juillet"] .decor-saison i:nth-child(3n) { color: #ef4444; }
[data-saison="juillet"] .decor-saison::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, #2563eb 0 33.4%, #f8fafc 33.4% 66.6%, #ef4444 66.6%); }
:is([data-saison="nouvelan"], [data-saison="juillet"]) .decor-saison::after { content: "🎆"; position: absolute; top: 46px; right: 34px; font-size: 76px; line-height: 1; animation: feu-artifice 2.8s ease-out infinite; }

[data-saison="paques"] .decor-saison i { opacity: .85; font-size: calc(var(--taille) - 1px); }
[data-saison="paques"] .decor-saison i::before { animation: tournoiement 5s ease-in-out infinite alternate; }
[data-saison="paques"] .decor-saison::after { content: "🐰"; position: absolute; right: 20px; bottom: 14px; font-size: 36px; line-height: 1; opacity: .9; animation: saut-lapin 1.8s ease-in-out infinite alternate; }

[data-saison="hiver"] .decor-saison::before { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 140px 30px rgb(186 230 253 / .16); }
[data-saison="chantier"] .decor-saison::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: repeating-linear-gradient(-45deg, #facc15 0 14px, #1f2937 14px 28px); }
[data-saison="espace"] .decor-saison::before { content: "🌙"; position: absolute; top: 44px; right: 40px; font-size: 84px; line-height: 1; opacity: .5; animation: soleil 9s ease-in-out infinite alternate; }
[data-saison="barbe"] .decor-saison::before { content: ""; position: absolute; inset: auto 0 0 0; height: 34vh; background: linear-gradient(transparent, rgb(249 115 22 / .12)); }
[data-saison="ocean"] .decor-saison::before { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -120px 140px -60px rgb(14 165 233 / .22); }
:is([data-saison="ocean"], [data-saison="barbe"], [data-saison="espace"]) .decor-saison i::before { animation: scintillement 2.2s ease-in-out infinite alternate; }
[data-saison="ocean"] main .carte:nth-child(4n)::after { animation: crabe 9s ease-in-out infinite alternate; }
:is([data-saison="valentin"], [data-saison="chandeleur"], [data-saison="musique"], [data-saison="rentree"], [data-saison="chantier"]) .decor-saison i::before { animation: tournoiement 5s ease-in-out infinite alternate; }
:is([data-saison="carnaval"], [data-saison="anniversaire"]) .decor-saison i { font-size: calc(var(--taille) - 5px); opacity: .85; }
:is([data-saison="carnaval"], [data-saison="anniversaire"]) .decor-saison i:nth-child(4n+1) { color: #f43f5e; }
:is([data-saison="carnaval"], [data-saison="anniversaire"]) .decor-saison i:nth-child(4n+2) { color: #facc15; }
:is([data-saison="carnaval"], [data-saison="anniversaire"]) .decor-saison i:nth-child(4n+3) { color: #22d3ee; }
:is([data-saison="carnaval"], [data-saison="anniversaire"]) .decor-saison i:nth-child(4n) { color: #a855f7; }
:root[data-saison="hiver"] body:has(> .barre) main .carte { box-shadow: inset 0 1px 0 rgb(255 255 255 / .34), inset 0 14px 22px -18px rgb(186 230 253 / .5), var(--ombre); }

[data-saison="noel"] { --depot-haut: -14px; --depot-hauteur: 22px; --depot-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 16' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 11V6Q9 1 19 4T39 3Q50 0 60 4T82 3Q94 1 104 4T120 6V11Q116 11 114 13Q112 16 110 13Q108 11 100 11H78Q75 11 74 14Q73 16 71 14Q70 11 66 11H40Q37 11 36 13Q35 15 33 13Q32 11 28 11Z'/%3E%3C/svg%3E"); }
[data-saison="hiver"] { --depot-haut: -6px; --depot-hauteur: 22px; --depot-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22' preserveAspectRatio='none'%3E%3Cpath fill='%23eaf6ff' d='M0 7V4Q10 1 22 4T46 3T70 4T96 3T120 4V7H112L109 19L106 7H88L85 13L82 7H60L57 22L54 7H38L35 12L32 7H18L15 17L12 7Z'/%3E%3C/svg%3E"); }
[data-saison="halloween"] { --depot-haut: -2px; --depot-hauteur: 22px; --depot-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22' preserveAspectRatio='none'%3E%3Cpath fill='%2384cc16' d='M0 0H120V5Q116 5 114 9Q113 14 110 9Q108 5 100 5H84Q80 5 79 12Q78 21 75 12Q74 5 68 5H46Q43 5 42 8Q41 11 39 8Q38 5 34 5H22Q19 5 18 13Q17 18 15 13Q14 5 9 5H0Z'/%3E%3C/svg%3E"); }
[data-saison="nouvelan"] { --depot-haut: -9px; --depot-hauteur: 10px; --depot-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10'%3E%3Crect x='5' y='5' width='8' height='3' rx='1' fill='%23facc15' transform='rotate(-20 9 6)'/%3E%3Ccircle cx='22' cy='7' r='2' fill='%23f472b6'/%3E%3Crect x='32' y='6' width='7' height='3' rx='1' fill='%23818cf8' transform='rotate(14 35 7)'/%3E%3Crect x='47' y='4' width='3' height='5' rx='1' fill='%23fde68a'/%3E%3Ccircle cx='60' cy='7' r='2' fill='%23facc15'/%3E%3Crect x='69' y='5' width='8' height='3' rx='1' fill='%23f472b6' transform='rotate(-12 73 6)'/%3E%3Crect x='86' y='6' width='6' height='3' rx='1' fill='%23ffffff'/%3E%3Ccircle cx='101' cy='7' r='2' fill='%23818cf8'/%3E%3Crect x='109' y='5' width='7' height='3' rx='1' fill='%23facc15' transform='rotate(22 112 6)'/%3E%3C/svg%3E"); }
[data-saison="juillet"] { --depot-haut: 0px; --depot-hauteur: 15px; --depot-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 15'%3E%3Cpath d='M0 1.5H120' stroke='%2394a3b8'/%3E%3Cpath fill='%232563eb' d='M3 2H19L11 14ZM63 2H79L71 14Z'/%3E%3Cpath fill='%23f8fafc' d='M23 2H39L31 14ZM83 2H99L91 14Z'/%3E%3Cpath fill='%23ef4444' d='M43 2H59L51 14ZM103 2H119L111 14Z'/%3E%3C/svg%3E"); }
[data-saison="automne"] { --depot-texte: "🍂🍁🍂"; --depot-texte-bis: "🍁🍂"; }
[data-saison="printemps"] { --depot-texte: "🌷🌱🌼"; --depot-texte-bis: "🌱🌸🌱"; }
[data-saison="ete"] { --depot-texte: "⛱️"; --depot-texte-bis: "🦀"; }
[data-saison="paques"] { --depot-texte: "🌱🥚🌷"; --depot-texte-bis: "🐣🌱"; }
:is([data-saison="automne"], [data-saison="printemps"], [data-saison="ete"], [data-saison="paques"], [data-saison="valentin"], [data-saison="carnaval"], [data-saison="chandeleur"], [data-saison="musique"], [data-saison="rentree"], [data-saison="barbe"], [data-saison="chantier"], [data-saison="anniversaire"], [data-saison="ocean"]) { --depot-haut: -19px; --depot-hauteur: 22px; --depot-droite: auto; --depot-droite-courte: auto; --depot-gauche-bis: auto; --depot-droite-bis: 22px; }

:where(:root[data-saison] main .carte, :root[data-saison] .barre .qui) { position: relative; }
:root[data-saison] main .carte:not(.bandeau-quiz, .chat, .tech, .stat, .outil)::after, :root[data-saison] .barre .qui::after {
  content: var(--depot-texte, ""); position: absolute; z-index: 1; top: var(--depot-haut, -10px); left: 16px; right: var(--depot-droite, 16px); height: var(--depot-hauteur, 16px);
  background: var(--depot-image, none) repeat-x 0 0 / 120px 100%; filter: var(--ombre-depot); pointer-events: none;
  font-size: 18px; line-height: var(--depot-hauteur, 16px); letter-spacing: 2px; white-space: nowrap; transform-origin: 50% 100%; animation: depot-saison 9s ease-out both;
}
:root[data-saison] main .carte:nth-child(3n)::after { right: var(--depot-droite-courte, 42%); }
:root[data-saison] main .carte:nth-child(4n)::after { content: var(--depot-texte-bis, ""); left: var(--depot-gauche-bis, 30%); right: var(--depot-droite-bis, 16px); background-position-x: 44px; }
[data-saison="halloween"] main .carte::after { transform-origin: 50% 0; }
[data-saison="ete"] main .carte:nth-child(4n)::after { animation: crabe 9s ease-in-out infinite alternate; }
[data-saison="halloween"] main .tete-page::after { content: "🕷️"; position: absolute; top: 0; right: 24%; padding-top: 24px; font-size: 17px; line-height: 1; background: linear-gradient(#a1a1aa, #a1a1aa) 50% 0 / 1px 24px no-repeat; transform-origin: 50% 0; animation: balance-embleme 3s ease-in-out infinite alternate; pointer-events: none; }
.decor-saison.calme ~ main .carte::after { animation: none; }

@keyframes depot-saison { from { transform: scaleY(.25); opacity: .3; } }
@keyframes crabe { from { transform: translateX(0); } to { transform: translateX(-120px); } }
@keyframes chute-saison { from { transform: translate3d(0, -8vh, 0); } to { transform: translate3d(7vw, 108vh, 0); } }
@keyframes envol-saison { from { transform: translate3d(0, 106vh, 0); } to { transform: translate3d(-6vw, -8vh, 0); } }
@keyframes vol-saison { from { transform: translate3d(-12vw, 6vh, 0); } to { transform: translate3d(112vw, -6vh, 0); } }
@keyframes balance-saison { from { translate: -12px 0; } to { translate: 12px 0; } }
@keyframes tournoiement { from { translate: -18px 0; rotate: -50deg; } to { translate: 18px 0; rotate: 70deg; } }
@keyframes battement-ailes { from { scale: 1 1; translate: 0 -5px; } to { scale: .62 1; translate: 0 5px; } }
@keyframes scintillement { from { opacity: .15; scale: .7; } to { opacity: 1; scale: 1.15; } }
@keyframes guirlande { from { opacity: 1; } to { opacity: .5; } }
@keyframes lueur-citrouille { from { filter: drop-shadow(0 0 2px rgb(249 115 22 / .5)); } to { filter: drop-shadow(0 0 16px rgb(249 115 22 / 1)); } }
@keyframes soleil { from { scale: 1; opacity: .8; } to { scale: 1.12; opacity: 1; } }
@keyframes feu-artifice { 0% { scale: .3; opacity: 0; } 30% { opacity: .7; } 100% { scale: 1.2; opacity: 0; } }
@keyframes saut-lapin { from { translate: 0 0; } to { translate: 0 -9px; } }
@keyframes balance-embleme { from { rotate: -9deg; } to { rotate: 9deg; } }

@media (max-width: 899.98px) {
  .decor-saison i:nth-child(n+9) { display: none; }
  [data-saison="halloween"] .decor-saison i:nth-child(n+5) { display: none; }
  [data-saison="halloween"] .decor-saison::before, [data-saison="espace"] .decor-saison::before, :is([data-saison="halloween"], [data-saison="nouvelan"], [data-saison="juillet"], [data-saison="paques"]) .decor-saison::after { display: none; }
  :root[data-saison] .barre .logo::after, :root[data-saison] .barre .qui::after { content: none; }
}
@media (prefers-reduced-motion: reduce) {
  .decor-saison i { display: none; }
  :root[data-saison] main .carte::after, :root[data-saison] .barre .qui::after, [data-saison="halloween"] main .tete-page::after { animation: none; }
  .decor-saison::before, .decor-saison::after, :root[data-saison] .barre .logo::after { animation: none; }
}
@media print { .decor-saison, :root[data-saison] main .carte::after, [data-saison="halloween"] main .tete-page::after { display: none; } }

#theme .form { max-width: none; }
#theme .form > .btn { justify-self: start; }
.choix-saisons { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.carte-saison { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 12px; row-gap: 2px; margin: 0; padding: 14px; border: 1.5px solid var(--trait); border-radius: 16px; background: color-mix(in srgb, var(--texte) 3%, transparent); cursor: pointer; }
.carte-saison input { position: absolute; opacity: 0; pointer-events: none; }
.carte-saison .apercu-saison { grid-row: span 3; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; font-size: 24px; background: linear-gradient(135deg, var(--s1, #7c3aed), var(--s2, #06b6d4) 55%, var(--s3, #f59e0b)); box-shadow: inset 0 2px 0 rgb(255 255 255 / .25), 0 10px 20px -12px var(--s1, #7c3aed); }
.carte-saison strong { font-size: 15.5px; }
.carte-saison small { color: var(--muted); line-height: 1.4; }
.carte-saison a { grid-column: 2; justify-self: start; font-size: 13px; font-weight: 600; }
.carte-saison:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 45%, transparent); }
.carte-saison:has(input:checked) strong::after { content: " ✓"; color: var(--accent); }
.carte-saison:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

.decor-saison canvas { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .5s; }
body:has(:is(textarea, select, input:not([type="checkbox"], [type="radio"], [type="file"], [type="hidden"], [type="submit"])):focus) .decor-saison canvas { opacity: .08; }
.saison-animee .decor-saison i { display: none; }
:root.saison-animee:is([data-saison="noel"], [data-saison="automne"], [data-saison="printemps"], [data-saison="nouvelan"], [data-saison="paques"], [data-saison="valentin"], [data-saison="carnaval"], [data-saison="chandeleur"], [data-saison="musique"], [data-saison="rentree"], [data-saison="barbe"], [data-saison="chantier"], [data-saison="anniversaire"]) main .carte:not(.bandeau-quiz)::after,
:root.saison-animee:is([data-saison="noel"], [data-saison="automne"], [data-saison="printemps"], [data-saison="nouvelan"], [data-saison="paques"], [data-saison="valentin"], [data-saison="carnaval"], [data-saison="chandeleur"], [data-saison="musique"], [data-saison="rentree"], [data-saison="barbe"], [data-saison="chantier"], [data-saison="anniversaire"]) .barre .qui::after { content: none; }
:root.saison-animee:is([data-saison="nouvelan"], [data-saison="juillet"], [data-saison="paques"]) .decor-saison::after { display: none; }
[data-saison="hiver"] .decor-site::after { content: ""; position: absolute; inset: -12% -20% auto -20%; height: 58vh; background: linear-gradient(100deg, transparent 10%, rgb(52 211 153 / .55) 30%, rgb(56 189 248 / .5) 48%, rgb(167 139 250 / .55) 66%, transparent 88%); filter: blur(46px); opacity: var(--force-aurore, .34); animation: aurore-boreale 14s ease-in-out infinite alternate; }
@media (prefers-color-scheme: dark) { :root[data-saison="hiver"]:not([data-theme="clair"]) { --force-aurore: .6; } }
:root[data-saison="hiver"][data-theme="sombre"] { --force-aurore: .6; }
@keyframes aurore-boreale { from { transform: translateX(-8%) skewX(-12deg) scaleY(.8); } to { transform: translateX(8%) skewX(10deg) scaleY(1.15); } }
@media (prefers-reduced-motion: reduce) { [data-saison="hiver"] .decor-site::after { animation: none; } }
