/* Annonces des dons (donation-announce.js, 18 novembre) : reprises de la maquette Claude Design. */
.dna-plain { font: 400 1.3rem "Lilita One", Fredoka, sans-serif; color: #fff }
/* ---------- notification (tous les dons) ---------- */
.dna-toast { --c1: #8fb3ff; --c2: #4d8dff; position: fixed; left: max(16px, calc(var(--fmx-side, 0px) + 16px)); bottom: 24px; z-index: 9000; display: grid; grid-template-columns: 56px minmax(0, 1fr) 36px;
  align-items: center; gap: 12px; width: min(440px, calc(100vw - 32px)); padding: 12px 12px 14px 14px; border-radius: 20px; color: #eef2ff; font-family: Fredoka, Inter, sans-serif;
  background: linear-gradient(135deg, rgba(20, 26, 48, .97), rgba(10, 13, 26, .97)); border: 1px solid color-mix(in srgb, var(--c1) 45%, transparent);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .55), 0 0 28px color-mix(in srgb, var(--c2) 35%, transparent); animation: dna-in .6s cubic-bezier(.2, 1.4, .4, 1) both, dna-glow 2.4s ease-in-out .6s infinite }
.dna-toast.out { animation: dna-out .35s ease-in forwards }
@media (max-width: 820px) { .dna-toast { left: 50%; transform: translateX(-50%); bottom: calc(88px + env(safe-area-inset-bottom, 0px)); animation: dna-in-m .6s cubic-bezier(.2, 1.4, .4, 1) both } .dna-toast.out { animation: dna-out-m .35s ease-in forwards } }
.dna-medal { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #fff 0, var(--c1) 30%, var(--c2) 75%); box-shadow: 0 0 22px color-mix(in srgb, var(--c2) 70%, transparent) }
.dna-medal svg { width: 26px; height: 26px; color: #160b20; animation: dna-beat 1.2s ease-in-out infinite }
.dna-copy { min-width: 0; display: flex; flex-direction: column; gap: 4px }
.dna-copy p { margin: 0 }
.dna-l1 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font: 600 15px/1.25 Fredoka, sans-serif; color: #dfe6ff }
.dna-l1 .title-badge.block { font-size: 1.45rem; margin: 0 }
.dna-l2 { display: flex; align-items: center; gap: 8px; font: 500 13px Fredoka, sans-serif; color: #aab4d4 }
.dna-amount { white-space: nowrap; padding: 2px 10px; border-radius: 999px; background: linear-gradient(135deg, var(--c1), var(--c2)); color: #12091c; font: 400 17px/1.3 "Lilita One", sans-serif }
.dna-close { width: 36px; height: 36px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .06); color: #aab4d4; display: grid; place-items: center; cursor: pointer }
.dna-close svg { width: 16px; height: 16px }
.dna-bar { position: absolute; left: 18px; right: 18px; bottom: 6px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .08); overflow: hidden }
.dna-bar i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--c1), var(--c2)); transform-origin: left; animation: dna-time 6.5s linear forwards }
.dna-p1 { --c1: #ffe9b0; --c2: #ffb84d } .dna-p2 { --c1: #ffb36b; --c2: #ff5a2a } .dna-p3 { --c1: #9ff3ff; --c2: #c88cff }
.dna-p4 { --c1: #7dfcff; --c2: #ff3bd4 } .dna-p5 { --c1: #fff1b8; --c2: #f0a800 } .dna-p6 { --c1: #ff9ae6; --c2: #8a5cff }
@keyframes dna-in { 0% { opacity: 0; transform: translateY(26px) scale(.92) } 100% { opacity: 1; transform: none } }
@keyframes dna-in-m { 0% { opacity: 0; transform: translate(-50%, 26px) scale(.92) } 100% { opacity: 1; transform: translateX(-50%) } }
@keyframes dna-out { to { opacity: 0; transform: translateY(20px) } }
@keyframes dna-out-m { to { opacity: 0; transform: translate(-50%, 20px) } }
@keyframes dna-glow { 50% { box-shadow: 0 18px 44px rgba(0, 0, 0, .55), 0 0 46px color-mix(in srgb, var(--c2) 60%, transparent) } }
@keyframes dna-beat { 0%, 100% { transform: scale(1) } 15% { transform: scale(1.18) } 30% { transform: scale(.96) } 45% { transform: scale(1.1) } }
@keyframes dna-time { from { transform: scaleX(1) } to { transform: scaleX(0) } }

/* ---------- grandes annonces (50 € et plus) ---------- */
.dna-big { position: fixed; inset: 0; z-index: 9500; overflow: hidden; display: grid; place-items: center; cursor: pointer; color: #fff; font-family: Fredoka, Inter, sans-serif; animation: dna-fade .4s ease-out both }
.dna-big.out { animation: dna-fadeout .45s ease-in forwards }
.dna-big p { margin: 0 }
.dna-big .title-badge.block { margin: 0 auto }
.dna-dim { position: absolute; inset: 0; background: rgba(3, 4, 12, .66) }
.dna-dim.gold { background: rgba(10, 6, 2, .7) }
.dna-flash { position: absolute; inset: 0; pointer-events: none; background: #fff; animation: dna-flash .6s ease-out forwards }
.dna-flash.gold { background: #ffe9a8 } .dna-flash.galaxy { background: #ffd6ff }
.dna-big-l { font: 600 clamp(16px, 2.2vw, 26px) Fredoka, sans-serif; color: #eef2ff }
.dna-big-amount { font: 400 clamp(64px, 10vw, 150px)/1 "Lilita One", sans-serif }
.dna-k { font: 400 clamp(16px, 2vw, 28px) "Lilita One", sans-serif; letter-spacing: .3em }
/* 50 € : néon */
.dna-neon { position: absolute; left: -60px; right: -60px; top: 50%; height: clamp(260px, 38vh, 340px); transform: translateY(-50%) skewY(-4deg); background: linear-gradient(90deg, rgba(6, 4, 20, .96), rgba(14, 6, 32, .96));
  border-top: 4px solid #7dfcff; border-bottom: 4px solid #ff3bd4; box-shadow: 0 0 40px #7dfcff, 0 0 80px rgba(255, 59, 212, .6), inset 0 0 60px rgba(125, 252, 255, .25); overflow: hidden; animation: dna-neon .7s cubic-bezier(.2, 1.2, .3, 1) both }
.dna-neon::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(125, 252, 255, .08) 0 2px, transparent 2px 36px); animation: dna-stripes 1s linear infinite }
.dna-neon-in { position: absolute; inset: 0; transform: skewY(4deg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center }
.dna-l2 .dna-k, .dna-neon .dna-k { color: #7dfcff; text-shadow: -3px 0 #ff3bd4, 3px 0 #00f0ff; animation: dna-glitch 1.4s steps(1) infinite }
.dna-neon .title-badge.block { font-size: clamp(2.6rem, 6vw, 5rem); --tb-out: 6px; --tb-depth: 5px }
.dna-neon .dna-big-amount { text-shadow: -6px 0 #ff3bd4, 6px 0 #00f0ff, 0 0 40px #7dfcff; animation: dna-glitch 1.1s steps(1) infinite }
.dna-bolt { position: absolute; width: 60px; height: 110px; color: #c9fbff; filter: drop-shadow(0 0 16px #7dfcff); animation: dna-bolt 1.6s steps(1) infinite }
.dna-bolt svg { width: 100%; height: 100% }
.dna-bolt.b2 { color: #ffb3f0; animation-delay: .5s; transform: rotate(160deg) } .dna-bolt.b3 { animation-delay: .9s; transform: rotate(20deg) }
/* 75 € : or */
.dna-rays { position: absolute; left: 50%; top: 46%; width: 2200px; height: 2200px; margin: -1100px 0 0 -1100px; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 214, 120, .26) 0deg 6deg, transparent 6deg 15deg); -webkit-mask-image: radial-gradient(circle, #000 0, transparent 60%); mask-image: radial-gradient(circle, #000 0, transparent 60%); animation: dna-turn 18s linear infinite }
.dna-gold { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; animation: dna-pop .8s cubic-bezier(.2, 1.4, .4, 1) both }
.dna-crown { width: clamp(120px, 14vw, 190px); filter: drop-shadow(0 0 30px rgba(255, 210, 110, .9)); animation: dna-crown .9s cubic-bezier(.3, 1.6, .4, 1) both }
.dna-crown svg { width: 100%; height: auto; display: block }
.dna-ribbon { padding: 16px clamp(28px, 6vw, 90px) 20px; background: linear-gradient(180deg, #5a1630, #33081c 60%, #1e0410); border: 4px solid #ffd76a; border-radius: 14px; box-shadow: 0 0 60px rgba(255, 200, 80, .7) }
.dna-ribbon .title-badge.block { font-size: clamp(2.6rem, 6vw, 5rem); --tb-out: 6px; --tb-depth: 5px }
.dna-ribbon .dna-big-l { color: #ffe9b8 }
.dna-gold .dna-big-amount { background: linear-gradient(180deg, #fffbe6, #ffd76a 45%, #c98a00); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 8px 0 #2a1a02) drop-shadow(0 0 36px rgba(255, 200, 80, .9)) }
.dna-gold-title { font: 400 clamp(18px, 2.4vw, 30px) "Lilita One", sans-serif; letter-spacing: .12em; color: #fff3c4; text-shadow: 0 3px 0 #2a1a02 }
.dna-conf { position: absolute; top: -40px; width: 11px; height: 22px; border-radius: 2px; animation: dna-fall linear infinite }
/* 100 € et plus : galaxie */
.dna-galaxy-bg { position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 45%, #2a0f5c 0, #12062a 45%, #030209 100%) }
.dna-galaxy { position: absolute; left: 50%; top: 45%; width: 1800px; height: 1800px; margin: -900px 0 0 -900px; border-radius: 50%; filter: blur(18px);
  background: conic-gradient(from 0deg, transparent 0deg, rgba(255, 122, 217, .35) 40deg, transparent 90deg, rgba(111, 231, 255, .3) 160deg, transparent 220deg, rgba(179, 140, 255, .4) 290deg, transparent 360deg);
  -webkit-mask-image: radial-gradient(circle, #000 5%, transparent 62%); mask-image: radial-gradient(circle, #000 5%, transparent 62%); animation: dna-turn 14s linear infinite }
.dna-star { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 3px rgba(255, 154, 230, .8); animation: dna-tw 1.8s ease-in-out infinite }
.dna-shock { position: absolute; left: 50%; top: 45%; border-radius: 50%; border: 3px solid rgba(255, 210, 250, .8); box-shadow: 0 0 30px rgba(255, 122, 217, .8); transform: translate(-50%, -50%); animation: dna-shock 3s ease-out infinite }
.dna-shock.s2 { animation-delay: 1s } .dna-shock.s3 { animation-delay: 2s }
.dna-comet { position: absolute; width: 420px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, #fff); filter: drop-shadow(0 0 8px #ff9ae6); animation: dna-comet 2.6s ease-in infinite }
.dna-legend { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; animation: dna-pop .9s cubic-bezier(.2, 1.4, .4, 1) both }
.dna-legend .dna-k { color: #ffb8ef; text-shadow: 0 0 20px #ff7ad9; letter-spacing: .4em }
.dna-legend .title-badge.block { font-size: clamp(3rem, 8vw, 7rem); --tb-out: 8px; --tb-depth: 7px }
.dna-legend .dna-big-amount { font-size: clamp(80px, 13vw, 170px); background: linear-gradient(180deg, #fff, #ffd6ff 30%, #ff7ad9 60%, #8a5cff); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 8px 0 #12062a) drop-shadow(0 0 50px #b38cff); animation: dna-pulse 1.6s ease-in-out infinite }
.dna-thanks { font: 500 clamp(15px, 1.8vw, 22px) Fredoka, sans-serif; color: #d9cfff }
@keyframes dna-fade { from { opacity: 0 } }
@keyframes dna-fadeout { to { opacity: 0 } }
@keyframes dna-flash { from { opacity: .9 } to { opacity: 0 } }
@keyframes dna-neon { from { transform: translateY(-50%) skewY(-4deg) translateX(-110%) } }
@keyframes dna-stripes { to { background-position: 38px 0 } }
@keyframes dna-glitch { 0%, 100% { transform: none; clip-path: none } 20% { transform: translate(-4px, 1px); clip-path: inset(0 0 55% 0) } 22% { transform: translate(5px, -1px); clip-path: inset(45% 0 0 0) } 24% { transform: none; clip-path: none } }
@keyframes dna-bolt { 0%, 100% { opacity: 0 } 5% { opacity: 1 } 9% { opacity: .2 } 12% { opacity: 1 } 18% { opacity: 0 } }
@keyframes dna-turn { to { transform: rotate(360deg) } }
@keyframes dna-pop { 0% { opacity: 0; transform: scale(.4) } 70% { opacity: 1; transform: scale(1.06) } 100% { transform: none } }
@keyframes dna-crown { 0% { transform: translateY(-60vh) rotate(-20deg) } 100% { transform: none } }
@keyframes dna-fall { 0% { transform: translateY(0) rotate(0) } 100% { transform: translateY(110vh) rotate(720deg) } }
@keyframes dna-tw { 50% { opacity: .25; transform: scale(.5) } }
@keyframes dna-shock { 0% { width: 80px; height: 80px; opacity: 1 } 100% { width: 1900px; height: 1900px; opacity: 0 } }
@keyframes dna-comet { 0% { transform: translate(-300px, -200px) rotate(28deg); opacity: 0 } 15% { opacity: 1 } 100% { transform: translate(110vw, 70vh) rotate(28deg); opacity: 0 } }
@keyframes dna-pulse { 50% { transform: scale(1.05) } }
@media (prefers-reduced-motion: reduce) { .dna-toast, .dna-toast *, .dna-big, .dna-big * { animation-duration: .01ms !important; animation-iteration-count: 1 !important } }
