/* Titres de donateur (title-donor.js) : six paliers, de plus en plus spectaculaires. Maquette Figma « Titres de donateur ·
   paliers » et prototype Claude Design (version 2 du 17 novembre : cierge magique, flammes ardentes, vrai glitch,
   Supernova qui explose et se reforme). Couches : halo, contour (::before, ou .don-ol pour les lettres animées),
   remplissage (.tb-fill ou une lettre .lt par caractère), décor avant/après. */
.title-badge.don-title { isolation:isolate; --don-glow:#ffb48c; --don-ol:#2a1210 }
.title-badge.don-title::before { color:var(--don-ol); -webkit-text-stroke-color:var(--don-ol); filter:drop-shadow(0 var(--tb-depth) 0 var(--don-ol)) drop-shadow(0 0 6px var(--don-glow)) }
.title-badge.don-title .tb-fill { background-image:var(--don-fill); background-size:250% 100%; background-position:30% 0 }
.don-title [class^="don-"], .don-title [class*=" don-"] { pointer-events:none }
.don-aura { position:absolute; inset:-40% -12%; z-index:-2; border-radius:50%; background:radial-gradient(closest-side, var(--don-glow), transparent); opacity:.45; filter:blur(5px) }
.don-glint { position:absolute; inset:0; padding:inherit; z-index:2; white-space:nowrap; color:transparent; -webkit-background-clip:text; background-clip:text;
  background-image:linear-gradient(105deg, transparent 44%, #ffffffe6 50%, transparent 56%); background-size:300% 100%; background-repeat:no-repeat; background-position:100% 0; mix-blend-mode:screen }
.don-sparks { position:absolute; inset:0; z-index:4; filter:drop-shadow(0 0 2.5px var(--don-glow)) }
.don-sparks i { position:absolute; width:.5em; height:.5em; background:#fff; opacity:0; clip-path:polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%) }
.don-sparks i:nth-child(1) { right:-.3em; top:-.38em } .don-sparks i:nth-child(2) { left:40%; top:-.5em; width:.36em; height:.36em }
.don-sparks i:nth-child(3) { right:20%; bottom:-.36em; width:.4em; height:.4em } .don-sparks i:nth-child(4) { left:-.2em; bottom:-.2em; width:.32em; height:.32em }
.don-sparks i:nth-child(5) { left:18%; top:-.62em; width:.3em; height:.3em } .don-sparks i:nth-child(6) { right:42%; bottom:-.55em; width:.28em; height:.28em }

/* Lettres animées : une lettre par .lt ; le contour suit dans .don-ol (mêmes lettres, mêmes animations). */
.title-badge.don-title.lettered::before { display:none }
.title-badge.don-title.lettered .tb-fill { background:none }
.lettered .lt { display:inline-block; white-space:pre }
.lettered .tb-fill .lt { background-image:var(--don-fill); background-size:calc(var(--n) * 100%) 100%; background-position:calc(var(--i) / max(var(--n) - 1, 1) * 100%) 0;
  -webkit-background-clip:text; background-clip:text; color:transparent }
.don-ol { position:absolute; inset:0; padding:inherit; z-index:0; white-space:nowrap; filter:drop-shadow(0 var(--tb-depth) 0 var(--don-ol)) drop-shadow(0 0 6px var(--don-glow)) }
.don-ol .lt { color:var(--don-ol); -webkit-text-stroke:var(--tb-out) var(--don-ol) }

/* Cierge magique (Étincelle) : tête blanche qui crépite et parcourt le mot en allumant chaque lettre. */
.don-sparkler { position:absolute; top:-.12em; left:0; z-index:6; width:0; height:0 }
.don-sparkler b { position:absolute; left:-.18em; top:-.18em; width:.36em; height:.36em; border-radius:50%; background:radial-gradient(circle, #fff 0 35%, #ffe7b8 55%, transparent 72%);
  box-shadow:0 0 .3em .1em #fff3d6, 0 0 .7em .25em #ffb48caa }
.don-sparkler i { position:absolute; left:0; top:0; width:.055em; height:.6em; border-radius:.05em; transform-origin:50% 0;
  background:linear-gradient(#fff, #ffd9a8 55%, transparent); transform:rotate(calc(var(--k) * 45deg + 22deg)) }
.don-sparkler s { position:absolute; left:0; top:0; width:.09em; height:.09em; border-radius:50%; background:#fff3d6; box-shadow:0 0 4px #ffb48c; opacity:0 }
.don-sparkler s:nth-of-type(2) { --q:1 } .don-sparkler s:nth-of-type(3) { --q:2 } .don-sparkler s:nth-of-type(4) { --q:3 } .don-sparkler s:nth-of-type(5) { --q:4 }
.don-sparkler i:nth-child(2) { --k:0 } .don-sparkler i:nth-child(3) { --k:1 } .don-sparkler i:nth-child(4) { --k:2 } .don-sparkler i:nth-child(5) { --k:3 }
.don-sparkler i:nth-child(6) { --k:4 } .don-sparkler i:nth-child(7) { --k:5 } .don-sparkler i:nth-child(8) { --k:6 } .don-sparkler i:nth-child(9) { --k:7 }

/* Flammes ardentes : couche extérieure rouge-orange, cœur blanc-jaune devant, lueur de braise sous les lettres, braises. */
.don-fl { position:absolute; left:-4%; right:-4%; bottom:22%; height:1.6em; z-index:-1; mix-blend-mode:screen; filter:drop-shadow(0 0 .12em var(--f3)) }
.don-fl i { position:absolute; bottom:0; width:.7em; height:1.5em; margin-left:-.35em; border-radius:50% 50% 46% 46% / 66% 66% 34% 34%; transform-origin:50% 100%; filter:blur(1.2px);
  background:radial-gradient(ellipse 50% 70% at 50% 80%, var(--f1) 0, var(--f2) 30%, var(--f3) 58%, transparent 74%) }
.don-fl i:nth-child(1) { left:4%; height:1.15em } .don-fl i:nth-child(2) { left:15%; height:1.7em } .don-fl i:nth-child(3) { left:26%; height:1.35em }
.don-fl i:nth-child(4) { left:37%; height:1.9em } .don-fl i:nth-child(5) { left:49%; height:1.5em } .don-fl i:nth-child(6) { left:61%; height:1.95em }
.don-fl i:nth-child(7) { left:72%; height:1.4em } .don-fl i:nth-child(8) { left:84%; height:1.75em } .don-fl i:nth-child(9) { left:95%; height:1.1em }
.don-fl.core { bottom:20%; height:1em; filter:none }
.don-fl.core i { width:.42em; height:.95em; margin-left:-.21em; filter:blur(.8px); background:radial-gradient(ellipse 50% 70% at 50% 82%, #ffffff 0, var(--f1) 34%, var(--f2) 62%, transparent 76%) }
.don-fl.core i:nth-child(odd) { height:.75em }
.don-heat { position:absolute; left:-6%; right:-6%; bottom:-.15em; height:.9em; z-index:-1; border-radius:50%; background:radial-gradient(closest-side, var(--f2), var(--f3) 55%, transparent); filter:blur(5px); opacity:.75; mix-blend-mode:screen }
.don-emb { position:absolute; inset:-80% -4% 10%; z-index:-1; overflow:hidden }
.don-emb i { position:absolute; bottom:0; left:calc(var(--e) * 9% + 4%); width:3px; height:3px; border-radius:50%; background:var(--f1); box-shadow:0 0 5px var(--f2), 0 0 2px #fff; opacity:0 }
.don-emb i:nth-child(1) { --e:0 } .don-emb i:nth-child(2) { --e:1 } .don-emb i:nth-child(3) { --e:2 } .don-emb i:nth-child(4) { --e:3 } .don-emb i:nth-child(5) { --e:4 }
.don-emb i:nth-child(6) { --e:5 } .don-emb i:nth-child(7) { --e:6 } .don-emb i:nth-child(8) { --e:7 } .don-emb i:nth-child(9) { --e:8 } .don-emb i:nth-child(10) { --e:9 }

/* Rayons, couronne */
.don-rays { position:absolute; left:50%; top:50%; width:4.2em; height:4.2em; margin:-2.1em 0 0 -2.1em; z-index:-2; border-radius:50%;
  background:repeating-conic-gradient(from 0deg, var(--don-ray) 0deg 7deg, transparent 7deg 22deg); -webkit-mask:radial-gradient(closest-side, #000 20%, transparent); mask:radial-gradient(closest-side, #000 20%, transparent); opacity:.55 }
.don-crown { position:absolute; left:50%; top:-.95em; width:1.1em; height:.62em; margin-left:-.55em; z-index:5; filter:drop-shadow(0 0 4px var(--don-glow)) }
.don-crown svg, .don-bolt svg { display:block; width:100% ; height:100% }

/* Glitch : décalage cyan/magenta permanent qui tremble, tranches du mot qui glissent pendant les coupures, barre de
   balayage, blocs numériques, lignes. Les tranches reprennent le vrai remplissage du titre. */
.don-g1, .don-g2, .don-s1, .don-s2 { position:absolute; inset:0; padding:inherit; white-space:nowrap }
.don-g1, .don-g2 { z-index:0; mix-blend-mode:screen; opacity:.7 }
.don-g1 { color:#00f0ff; transform:translate(-.045em, 0) } .don-g2 { color:#ff2bd6; transform:translate(.045em, 0) }
.don-s1, .don-s2 { z-index:3; color:transparent; -webkit-background-clip:text; background-clip:text; background-image:var(--don-fill); background-size:250% 100%; opacity:0;
  -webkit-text-stroke:.02em #ffffff59 }
.don-scan { position:absolute; inset:-10% -4%; z-index:5; background:repeating-linear-gradient(0deg, #ffffff17 0 1px, transparent 1px 3px); mix-blend-mode:overlay;
  -webkit-mask:radial-gradient(closest-side, #000 55%, transparent); mask:radial-gradient(closest-side, #000 55%, transparent) }
.don-scanbar { position:absolute; left:-6%; right:-6%; top:0; height:.14em; z-index:6; background:linear-gradient(90deg, transparent, #9ffcffcc, #ffffff, #ff8cf0cc, transparent); opacity:0; filter:blur(.5px); mix-blend-mode:screen }
.don-blocks i { position:absolute; z-index:6; height:.16em; opacity:0; mix-blend-mode:screen }
.don-blocks i:nth-child(1) { left:-.2em; top:.15em; width:.9em; background:#00f0ff } .don-blocks i:nth-child(2) { right:-.25em; top:.55em; width:.6em; background:#ff2bd6 }
.don-blocks i:nth-child(3) { left:38%; bottom:-.12em; width:1.2em; background:#ffffff } .don-blocks i:nth-child(4) { left:18%; top:-.18em; width:.4em; background:#ff2bd6 }
.don-blocks i:nth-child(5) { right:22%; bottom:.2em; width:.5em; background:#00f0ff }
.don-bolt { position:absolute; z-index:5; width:.5em; height:.9em; opacity:0; filter:drop-shadow(0 0 3px #3ef0ff) }
.don-bolt.b1 { left:-.45em; top:-.3em } .don-bolt.b2 { right:-.5em; bottom:-.35em; transform:scaleX(-1) }

/* Supernova : double galaxie, champ d'étoiles, deux anneaux et deux comètes à traîne, éclat en croix, ondes de choc. */
.don-galaxy { position:absolute; left:50%; top:50%; width:150%; height:3.2em; margin:-1.6em 0 0 -75%; z-index:-3; border-radius:50%; opacity:.7;
  background:conic-gradient(from 0deg, #ff7ad9, #6fe7ff, #b38cff, #ffffff, #ff4fd8, #6fe7ff, #ff7ad9);
  -webkit-mask:radial-gradient(closest-side, #000 25%, #0008 60%, transparent); mask:radial-gradient(closest-side, #000 25%, #0008 60%, transparent); filter:blur(6px) }
.don-galaxy.arms { width:120%; height:2.6em; margin:-1.3em 0 0 -60%; opacity:.55; filter:blur(2px);
  background:repeating-conic-gradient(from 0deg, #ffffffcc 0deg 4deg, transparent 4deg 30deg, #ff7ad999 30deg 34deg, transparent 34deg 60deg) }
.don-field { position:absolute; inset:-90% -30%; z-index:-2 }
.don-field i { position:absolute; left:calc(50% + sin(calc(var(--s) * 137deg)) * 48%); top:calc(50% + cos(calc(var(--s) * 71deg)) * 44%); width:3px; height:3px; border-radius:50%;
  background:#fff; box-shadow:0 0 4px #d8c8ff; opacity:.2 }
.don-field i:nth-child(1) { --s:1 } .don-field i:nth-child(2) { --s:2 } .don-field i:nth-child(3) { --s:3 } .don-field i:nth-child(4) { --s:4 } .don-field i:nth-child(5) { --s:5 }
.don-field i:nth-child(6) { --s:6 } .don-field i:nth-child(7) { --s:7 } .don-field i:nth-child(8) { --s:8 } .don-field i:nth-child(9) { --s:9 } .don-field i:nth-child(10) { --s:10 }
.don-field i:nth-child(11) { --s:11 } .don-field i:nth-child(12) { --s:12 } .don-field i:nth-child(13) { --s:13 } .don-field i:nth-child(14) { --s:14 }
.don-orbit { position:absolute; left:50%; top:50%; width:132%; height:1.7em; margin:-.85em 0 0 -66%; z-index:-1; border-radius:50%; border:1.5px solid #e7dcff99; transform:rotate(-9deg) }
.don-orbit.o2 { width:112%; height:2.4em; margin:-1.2em 0 0 -56%; border-color:#9ff4ff80; transform:rotate(12deg) }
.don-comet { position:absolute; left:50%; top:50%; width:.34em; height:.34em; margin:-.17em; border-radius:50%; background:#fff; box-shadow:0 0 6px #6fe7ff, 0 0 14px #b38cff; z-index:6 }
.don-comet::after { content:""; position:absolute; right:60%; top:50%; width:1.6em; height:.12em; margin-top:-.06em; border-radius:.1em; background:linear-gradient(90deg, transparent, #b38cffaa, #ffffff) }
.don-comet.c2 { width:.24em; height:.24em; margin:-.12em; box-shadow:0 0 6px #ff7ad9, 0 0 12px #ff7ad9 }
.don-comet.c2::after { left:60%; right:auto; background:linear-gradient(270deg, transparent, #ff7ad9aa, #ffffff) }
.don-flare { position:absolute; left:72%; top:-.1em; z-index:7; width:0; height:0; opacity:0 }
.don-flare::before, .don-flare::after { content:""; position:absolute; left:-1.4em; top:-.04em; width:2.8em; height:.08em; border-radius:50%; background:linear-gradient(90deg, transparent, #fff, transparent); box-shadow:0 0 6px #fff }
.don-flare::after { transform:rotate(90deg) }
.don-flare b { position:absolute; left:-.3em; top:-.3em; width:.6em; height:.6em; border-radius:50%; background:radial-gradient(circle, #fff, #ffd6ff88 45%, transparent 70%) }
.don-shock { position:absolute; left:50%; top:50%; width:2.6em; height:2.6em; margin:-1.3em; border-radius:50%; border:2px solid #ffffffb3; box-shadow:0 0 12px #b38cff, inset 0 0 12px #6fe7ff; z-index:-1; opacity:0 }
.don-shock.k2 { border-color:#ff7ad9b3 }
.don-stars { position:absolute; left:50%; top:-1.3em; width:3.6em; height:1em; margin-left:-1.8em; z-index:5 }
.don-stars i { position:absolute; width:.4em; height:.4em; background:#fff; clip-path:polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); filter:drop-shadow(0 0 3px #ffd6ff) }
.don-stars i:nth-child(1) { left:0; top:.55em } .don-stars i:nth-child(2) { left:.8em; top:.2em } .don-stars i:nth-child(3) { left:1.58em; top:-.05em; width:.52em; height:.52em }
.don-stars i:nth-child(4) { left:2.5em; top:.2em } .don-stars i:nth-child(5) { left:3.3em; top:.55em }
/* Vecteur d'explosion propre à chaque lettre (Supernova). */
.don-t6 .lt { --dx:calc(sin(calc(var(--i) * 97deg + 30deg)) * 1.7em); --dy:calc(cos(calc(var(--i) * 53deg + 10deg)) * 1.3em); --dr:calc(sin(calc(var(--i) * 131deg)) * 220deg) }

/* ---------- Palier 1 · Donateur (5 €) ---------- */
.don-t1 { --don-fill:linear-gradient(180deg, #fff3ec 0%, #ffd9c7 35%, #e9a58c 70%, #b8735a 100%); --don-ol:#2a1210; --don-glow:#ffb48c }
.title-badge.don-t1 .tb-fill .lt { background-size:100% 100%; background-position:0 0 }
/* ---------- Palier 2 · Donateur Fidèle (10 €) ---------- */
.don-t2 { --don-fill:linear-gradient(0deg, #c4120a 0%, #ff4a12 22%, #ff8c1a 45%, #ffd23a 70%, #fff7c2 100%); --don-ol:#2a0703; --don-glow:#ff6a1a; --f1:#fff6c4; --f2:#ffb21a; --f3:#ff2d0a }
.title-badge.don-t2 .tb-fill { background-size:100% 230% }
.title-badge.don-t2::before { filter:drop-shadow(0 var(--tb-depth) 0 var(--don-ol)) drop-shadow(0 0 7px #ff4a12) drop-shadow(0 -2px 10px #ff8c1a99) }
/* ---------- Palier 3 · Super Contributeur (25 €) ---------- */
.don-t3 { --don-fill:linear-gradient(110deg, #ff9ad5, #ffe89a 20%, #9dffcf 40%, #8fd8ff 60%, #c9a2ff 80%, #ff9ad5); --don-ol:#1a1030; --don-glow:#c9a2ff; --don-ray:#c9a2ff66 }
/* ---------- Palier 4 · Méga Donateur (50 €) ---------- */
.don-t4 { --don-fill:linear-gradient(110deg, #9ffcff 0%, #ffffff 30%, #9ffcff 50%, #b18cff 75%, #9ffcff 100%); --don-ol:#06121c; --don-glow:#3ef0ff }
/* ---------- Palier 5 · Donateur Divin (75 €) ---------- */
.title-badge.don-t5 .tb-fill .lt { background-size:100% 100%; background-position:0 0 }
.don-t5 { --don-fill:linear-gradient(170deg, #fff6cf 0%, #ffd76a 30%, #ffc53a 55%, #e0980f 80%, #a8710a 100%); --don-ol:#2a1a02; --don-glow:#ffcf4a; --don-ray:#ffd76a73; --f1:#fff8d0; --f2:#ffcf4a; --f3:#ff7a0a }
/* ---------- Palier 6 · Légende Vivante (100 €) ---------- */
.don-t6 { --don-fill:linear-gradient(160deg, #ffffff 0%, #ff7ad9 28%, #b38cff 55%, #6fe7ff 80%, #ffffff 100%); --don-ol:#12062a; --don-glow:#b38cff; --don-ray:#ff7ad94d; --f1:#ffffff; --f2:#b38cff; --f3:#3a7bff }
.title-badge.don-t6 .tb-fill .lt { background-size:100% 100%; background-position:0 0; background-image:linear-gradient(180deg, #ffffff 0%, #ffd6ff 30%, #ff7ad9 55%, #8a5cff 80%, #4fd8ff 100%) }

/* Listes et classements : remplissage, éclat et étincelles ; les décors lourds restent pour le profil et la discussion. */
.title-badge.don-title.sm :is(.don-fl, .don-heat, .don-emb, .don-rays, .don-galaxy, .don-field, .don-orbit, .don-comet, .don-flare, .don-shock, .don-scan, .don-scanbar, .don-blocks, .don-bolt, .don-s1, .don-s2, .don-sparkler) { display:none }
.title-badge.don-title.sm .don-sparks i:nth-child(n+3) { display:none }
.title-badge.don-title.sm .don-aura { opacity:.3 }
.title-badge.don-title:is(.don-t5, .don-t6) { margin-top:.5em }
.title-badge.don-title.sm:is(.don-t5, .don-t6) { margin-top:0 }
.title-badge.don-title.sm :is(.don-crown, .don-stars) { display:none }

@media (prefers-reduced-motion: no-preference) {
  .don-aura { animation:don-breathe 3s ease-in-out infinite }
  .don-glint { animation:don-glint 3.6s cubic-bezier(.45, 0, .2, 1) infinite }
  .don-sparks i { animation:don-spark 2.6s ease-in-out infinite }
  .don-sparks i:nth-child(2) { animation-delay:.5s } .don-sparks i:nth-child(3) { animation-delay:1.1s } .don-sparks i:nth-child(4) { animation-delay:1.7s }
  .don-sparks i:nth-child(5) { animation-delay:.8s } .don-sparks i:nth-child(6) { animation-delay:2s }
  /* Étincelle : le cierge parcourt le mot en 2,8 s ; chaque lettre s'allume à son passage. */
  .don-sparkler { animation:don-travel 2.8s cubic-bezier(.4, 0, .6, 1) infinite }
  .don-sparkler i { animation:don-crackle .16s steps(2) infinite alternate }
  .don-sparkler i:nth-child(odd) { animation-duration:.11s } .don-sparkler i:nth-child(3n) { animation-duration:.2s }
  .don-sparkler b { animation:don-flick .12s steps(2) infinite alternate }
  .don-sparkler s { animation:don-drip .7s ease-in infinite; animation-delay:calc(var(--q, 0) * -.14s) }
  .don-t1 .lt { animation:don-lit 2.8s ease-out infinite; animation-delay:calc(var(--i) / var(--n) * 2.8s) }
  .don-t1 .tb-fill .lt { animation:don-lit 2.8s ease-out infinite, don-lit-glow 2.8s ease-out infinite; animation-delay:calc(var(--i) / var(--n) * 2.8s) }
  /* Flammes ardentes */
  .title-badge.don-t2 .tb-fill { animation:don-rise 1.1s ease-in-out infinite alternate }
  .don-fl i { animation:don-flame .55s ease-in-out infinite alternate }
  .don-fl i:nth-child(2n) { animation-duration:.42s; animation-delay:-.2s } .don-fl i:nth-child(3n) { animation-duration:.68s; animation-delay:-.35s }
  .don-fl.core i { animation-duration:.33s } .don-fl.core i:nth-child(2n) { animation-duration:.27s; animation-delay:-.1s }
  .don-heat { animation:don-heat 1.3s ease-in-out infinite alternate }
  .don-emb i { animation:don-ember 1.8s linear infinite; animation-delay:calc(var(--e) * -.37s) }
  .don-emb i:nth-child(3n) { animation-duration:2.4s } .don-emb i:nth-child(2n) { animation-name:don-ember-b }
  /* Prisme Royal */
  .don-t3 .lt { animation:don-wave 1.8s ease-in-out infinite; animation-delay:calc(var(--i) * -.12s) }
  .title-badge.don-t3 .tb-fill { animation:don-hue 6s linear infinite }
  .don-rays { animation:don-spin 14s linear infinite }
  /* Surtension : aberration chromatique qui tremble, coupures avec tranches qui glissent toutes les 2,6 s. */
  .title-badge.don-t4 .tb-fill { animation:don-slide 3s linear infinite, don-jolt 2.6s steps(1) infinite }
  .don-t4 .don-g1 { animation:don-rgb-a .35s steps(2) infinite, don-burst-a 2.6s steps(1) infinite }
  .don-t4 .don-g2 { animation:don-rgb-b .35s steps(2) infinite, don-burst-b 2.6s steps(1) infinite }
  .don-t4 .don-s1 { animation:don-slice-a 2.6s steps(1) infinite } .don-t4 .don-s2 { animation:don-slice-b 2.6s steps(1) infinite }
  .don-t4 .don-scanbar { animation:don-scanbar 2.6s linear infinite }
  .don-t4 .don-blocks i { animation:don-blocks 2.6s steps(1) infinite } .don-blocks i:nth-child(2n) { animation-delay:.05s } .don-blocks i:nth-child(3) { animation-delay:.1s }
  .don-bolt { animation:don-bolt 2.6s steps(1) infinite } .don-bolt.b2 { animation-delay:1.3s }
  /* Soleil Impérial */
  .don-t5 .lt { animation:don-bounce 2.4s cubic-bezier(.3, 1.6, .5, 1) infinite; animation-delay:calc(var(--i) * .09s) }
  .don-t5 .tb-fill .lt { animation:don-bounce 2.4s cubic-bezier(.3, 1.6, .5, 1) infinite, don-shine 2.4s ease-in-out infinite; animation-delay:calc(var(--i) * .09s) }
  .don-t5 .don-rays { animation-duration:10s }
  .don-crown { animation:don-bob 2.4s ease-in-out infinite }
  /* Supernova : les lettres explosent et se reforment (7 s), s'allument une à une, tout tourne autour. */
  .don-t6 .lt { animation:don-nova 7s cubic-bezier(.2, .9, .3, 1.2) infinite; animation-delay:calc(var(--i) * .03s) }
  .don-t6 .tb-fill .lt { animation:don-nova 7s cubic-bezier(.2, .9, .3, 1.2) infinite, don-cosmic 1.6s ease-in-out infinite; animation-delay:calc(var(--i) * .03s), calc(var(--i) * .12s) }
  .don-galaxy { animation:don-spin 9s linear infinite } .don-galaxy.arms { animation:don-spin-rev 6s linear infinite }
  .don-field i { animation:don-twinkle 1.8s ease-in-out infinite; animation-delay:calc(var(--s) * -.31s) }
  .don-comet { animation:don-orbit 2.8s linear infinite } .don-comet.c2 { animation:don-orbit-b 3.6s linear infinite }
  .don-flare { animation:don-flare 3.5s ease-out infinite }
  .don-shock { animation:don-shock 3.5s ease-out infinite } .don-shock.k2 { animation-delay:.25s }
  .don-stars i { animation:don-spark 2.2s ease-in-out infinite; animation-delay:calc(var(--s, 0) * .3s) }
  .don-stars i:nth-child(2) { --s:1 } .don-stars i:nth-child(3) { --s:2 } .don-stars i:nth-child(4) { --s:3 } .don-stars i:nth-child(5) { --s:4 }
  .don-t6 .don-g1 { animation:don-rgb-a .35s steps(2) infinite, don-nova-ghost 7s steps(1) infinite }
  .don-t6 .don-g2 { animation:don-rgb-b .35s steps(2) infinite, don-nova-ghost 7s steps(1) infinite }
  .don-t6 .don-s1 { animation:don-slice-a 3.5s steps(1) infinite } .don-t6 .don-s2 { animation:don-slice-b 3.5s steps(1) infinite }
  /* Supernova dans les listes : pas d'explosion, seulement l'éclat cosmique. */
  .title-badge.don-t6.sm .lt { animation:none } .title-badge.don-t6.sm .tb-fill .lt { animation:don-cosmic 1.6s ease-in-out infinite; animation-delay:calc(var(--i) * .12s) }
  .title-badge.don-t6.sm :is(.don-g1, .don-g2) { animation:don-rgb-a .35s steps(2) infinite }
  /* Survol : tout accélère. */
  .title-badge.don-title:hover .don-glint { animation-duration:1.5s }
  .title-badge.don-title:hover .don-sparks i { animation-duration:1.1s }
  .title-badge.don-title:hover .don-aura { animation-duration:1.3s }
}
@media (prefers-reduced-motion: reduce) {
  .don-glint, .don-s1, .don-s2, .don-shock, .don-emb, .don-scanbar, .don-blocks, .don-flare, .don-sparkler i { display:none }
  .don-sparks i:nth-child(-n+2) { opacity:.9 }
  .don-sparkler { left:100% }
  .don-comet { transform:translate(2.4em, -.3em) } .don-comet.c2 { transform:translate(-2em, .5em) }
  .don-field i { opacity:.7 }
}
@keyframes don-breathe { 0%, 100% { opacity:.3; transform:scale(.94) } 50% { opacity:.6; transform:scale(1.06) } }
@keyframes don-glint { 0%, 50% { background-position:100% 0 } 82%, 100% { background-position:0% 0 } }
@keyframes don-spark { 0%, 100% { opacity:0; transform:scale(.2) rotate(0deg) } 38% { opacity:1; transform:scale(1) rotate(45deg) } 68% { opacity:0; transform:scale(.35) rotate(90deg) } }
@keyframes don-slide { from { background-position:0% 0 } to { background-position:250% 0 } }
@keyframes don-travel { 0% { left:-2% } 92% { left:100% } 100% { left:100% } }
@keyframes don-crackle { from { transform:rotate(calc(var(--k) * 45deg + 22deg)) scaleY(.35); opacity:.6 } to { transform:rotate(calc(var(--k) * 45deg + 8deg)) scaleY(1.25); opacity:1 } }
@keyframes don-drip { 0% { opacity:1; transform:translate(0, 0) } 100% { opacity:0; transform:translate(calc(var(--q, 0) * .08em - .16em), .9em) } }
@keyframes don-flick { from { transform:scale(.8) } to { transform:scale(1.25) } }
@keyframes don-lit { 0% { transform:translateY(-.08em) scale(1.18) } 14%, 100% { transform:none } }
@keyframes don-lit-glow { 0% { filter:brightness(1.9) drop-shadow(0 0 4px #fff3d6) } 22%, 100% { filter:brightness(1) } }
@keyframes don-rise { from { background-position:0 100% } to { background-position:0 0% } }
@keyframes don-flame { 0% { transform:scale(.8, .7) skewX(-6deg); opacity:.7 } 50% { transform:scale(1.05, 1.08) skewX(4deg) translateY(-.04em) } 100% { transform:scale(.95, 1.25) skewX(-3deg) translateY(-.1em); opacity:1 } }
@keyframes don-heat { from { opacity:.55; transform:scaleX(.95) } to { opacity:.9; transform:scaleX(1.05) } }
@keyframes don-ember { 0% { opacity:0; transform:translate(0, 0) scale(1) } 12% { opacity:1 } 100% { opacity:0; transform:translate(.4em, -2.8em) scale(.4) } }
@keyframes don-ember-b { 0% { opacity:0; transform:translate(0, 0) } 12% { opacity:1 } 50% { transform:translate(-.25em, -1.4em) } 100% { opacity:0; transform:translate(.15em, -2.6em) scale(.5) } }
@keyframes don-wave { 0%, 100% { transform:translateY(0) } 50% { transform:translateY(-.16em) } }
@keyframes don-hue { from { filter:hue-rotate(0deg) } to { filter:hue-rotate(360deg) } }
@keyframes don-spin { to { transform:rotate(360deg) } }
@keyframes don-spin-rev { to { transform:rotate(-360deg) } }
@keyframes don-rgb-a { from { transform:translate(-.045em, 0) } to { transform:translate(-.07em, .015em) } }
@keyframes don-rgb-b { from { transform:translate(.045em, 0) } to { transform:translate(.06em, -.015em) } }
@keyframes don-burst-a { 0%, 69%, 84%, 100% { opacity:.7 } 70% { opacity:1; translate:-.12em 0 } 74% { opacity:1; translate:.08em .02em } 78% { opacity:.9; translate:-.2em 0 } }
@keyframes don-burst-b { 0%, 69%, 84%, 100% { opacity:.7 } 70% { opacity:1; translate:.14em 0 } 74% { opacity:1; translate:-.1em -.02em } 78% { opacity:.9; translate:.18em 0 } }
@keyframes don-jolt { 0%, 69%, 84%, 100% { transform:none } 70% { transform:skewX(-12deg) translateX(.03em) } 74% { transform:skewX(8deg) } 78% { transform:translateX(-.05em) scaleX(1.04) } }
@keyframes don-slice-a { 0%, 69%, 84%, 100% { opacity:0; clip-path:inset(0 0 100% 0); transform:none }
  70% { opacity:1; clip-path:inset(12% 0 58% 0); transform:translateX(.22em) } 72% { opacity:1; clip-path:inset(62% 0 14% 0); transform:translateX(-.3em) }
  76% { opacity:1; clip-path:inset(38% 0 40% 0); transform:translateX(.16em) } 80% { opacity:1; clip-path:inset(4% 0 80% 0); transform:translateX(-.12em) } }
@keyframes don-slice-b { 0%, 69%, 84%, 100% { opacity:0; clip-path:inset(0 0 100% 0); transform:none }
  71% { opacity:1; clip-path:inset(46% 0 30% 0); transform:translateX(-.24em) } 75% { opacity:1; clip-path:inset(20% 0 66% 0); transform:translateX(.3em) }
  79% { opacity:1; clip-path:inset(70% 0 6% 0); transform:translateX(-.18em) } }
@keyframes don-scanbar { 0%, 66% { opacity:0; top:-10% } 70% { opacity:1; top:0% } 84% { opacity:.8; top:100% } 86%, 100% { opacity:0; top:100% } }
@keyframes don-blocks { 0%, 69%, 83%, 100% { opacity:0 } 70%, 76% { opacity:.9 } 73%, 79% { opacity:0 } 80% { opacity:.6 } }
@keyframes don-bolt { 0%, 68%, 80%, 100% { opacity:0 } 70%, 74% { opacity:1 } 72%, 77% { opacity:.2 } }
@keyframes don-bounce { 0%, 60%, 100% { transform:translateY(0) scale(1) } 20% { transform:translateY(-.24em) scale(1.08) } 35% { transform:translateY(0) scale(.97) } }
@keyframes don-shine { 0%, 15%, 45%, 100% { filter:brightness(1) } 25% { filter:brightness(1.55) drop-shadow(0 0 4px #fff3b0) } }
@keyframes don-bob { 0%, 100% { transform:translateY(0) rotate(-4deg) } 50% { transform:translateY(-.1em) rotate(4deg) } }
@keyframes don-nova { 0% { transform:translate(var(--dx), var(--dy)) rotate(var(--dr)) scale(.2); opacity:0 }
  9% { transform:translate(0, 0) rotate(0deg) scale(1.25); opacity:1 } 13% { transform:scale(.94) } 17%, 82% { transform:none; opacity:1 }
  86% { transform:scale(1.18) translateY(-.06em); opacity:1 } 93%, 100% { transform:translate(var(--dx), var(--dy)) rotate(var(--dr)) scale(.2); opacity:0 } }
@keyframes don-cosmic { 0%, 100% { filter:brightness(1) } 30% { filter:brightness(1.7) drop-shadow(0 0 5px #ffffff) } 60% { filter:brightness(1.1) hue-rotate(25deg) } }
@keyframes don-nova-ghost { 0%, 16% { opacity:0 } 17%, 82% { opacity:.7 } 83%, 100% { opacity:0 } }
@keyframes don-twinkle { 0%, 100% { opacity:.15; transform:scale(.6) } 50% { opacity:1; transform:scale(1.4) } }
@keyframes don-orbit { 0% { transform:translate(-3.6em, .3em) scale(.7); opacity:.6 } 25% { transform:translate(0, .5em) scale(1); opacity:1 } 50% { transform:translate(3.6em, -.3em) scale(.7); opacity:.6 } 75% { transform:translate(0, -.5em) scale(.5); opacity:.3 } 100% { transform:translate(-3.6em, .3em) scale(.7); opacity:.6 } }
@keyframes don-orbit-b { 0% { transform:translate(3em, .9em) scale(.6); opacity:.4 } 25% { transform:translate(0, -.9em) scale(.45); opacity:.3 } 50% { transform:translate(-3em, -.2em) scale(.6); opacity:.6 } 75% { transform:translate(0, 1em) scale(1); opacity:1 } 100% { transform:translate(3em, .9em) scale(.6); opacity:.4 } }
@keyframes don-flare { 0%, 8% { opacity:0; transform:scale(.2) rotate(0deg) } 14% { opacity:1; transform:scale(1.3) rotate(25deg) } 40% { opacity:0; transform:scale(.6) rotate(45deg) } 100% { opacity:0 } }
@keyframes don-shock { 0%, 5% { opacity:0; transform:scale(.3) } 10% { opacity:1; transform:scale(.6) } 55%, 100% { opacity:0; transform:scale(3.2) } }
