/* Course de canards (ducks.js) : écran de la salle, scène de 1920 × 1080. Volontairement criard. */
.qd-race { position: absolute; inset: 0; z-index: 60; overflow: hidden; font-family: var(--f-title, Impact), Impact, "Arial Black", sans-serif; color: #fff; }
.qd-bg { position: absolute; inset: -40%; background: conic-gradient(from 0deg, #ff3ea5, #fdd018, #39ff14, #33c7ff, #b44dff, #ff7a00, #ff3ea5); animation: qd-spin 9s linear infinite; filter: saturate(1.4); }
.qd-rays { position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(0, 0, 0, .18) 0 40px, transparent 40px 80px), radial-gradient(circle at 50% 120%, rgba(17, 4, 40, .2), rgba(17, 4, 40, .78) 70%); animation: qd-slide 2.4s linear infinite; }
@keyframes qd-spin { to { transform: rotate(360deg); } }
@keyframes qd-slide { to { background-position: 160px 0, 0 0; } }

.qd-head { position: absolute; top: 12px; z-index: 4; left: 0; right: 0; text-align: center; }
.qd-title { font-size: 80px; line-height: 1; letter-spacing: .02em; text-shadow: 6px 6px 0 #1a0633, -3px -3px 0 #ff3ea5; white-space: nowrap; }
.qd-title span { display: inline-block; animation: qd-jump .9s ease-in-out infinite; }
@keyframes qd-jump { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-18px) rotate(5deg) scale(1.08); } }
.qd-sub { margin-top: 10px; display: inline-block; font-family: var(--f-body, system-ui), system-ui, sans-serif; font-weight: 900; font-size: 28px; color: #1a0633; background: #fdd018; padding: 4px 24px; border-radius: 999px; transform: rotate(-1.5deg); box-shadow: 5px 5px 0 #1a0633; }

.qd-track { position: absolute; left: 40px; right: 40px; top: 318px; bottom: 112px; z-index: 3; display: flex; flex-direction: column; justify-content: center; border-radius: 26px; background: #0b5fa8; box-shadow: inset 0 0 0 6px #1a0633, 10px 10px 0 #1a0633; overflow: hidden; transform: rotate(-.6deg); }
.qd-lane { position: relative; flex: none; border-bottom: 3px dashed rgba(255, 255, 255, .35); }
.qd-lane.alt .qd-water { background-color: #0d6fc4; }
.qd-water { position: absolute; inset: 0; background-color: #0b5fa8; background-image: radial-gradient(ellipse 26px 7px at 20px 50%, rgba(255, 255, 255, .28) 60%, transparent 62%); background-size: 90px 100%; animation: qd-waves 1.6s linear infinite; }
@keyframes qd-waves { to { background-position: -90px 0; } }
.qd-name { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); max-width: min(1000px, 72%); font-family: var(--f-body, system-ui), system-ui, sans-serif; font-weight: 900; color: #fff; text-shadow: 3px 3px 0 #1a0633; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; z-index: 2; }
.qd-duck { position: absolute; left: 0; bottom: -4%; z-index: 3; will-change: transform; animation: qd-wiggle .5s ease-in-out infinite alternate; }
.qd-bob { width: 100%; height: 100%; animation: qd-bob .42s ease-in-out infinite alternate; }
.qd-face { width: 100%; height: 100%; transition: transform .15s; }
.qd-duck.back .qd-face { transform: scaleX(-1); }
.qd-track.sky { overflow: visible; }
.qd-bob svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(4px 5px 0 rgba(26, 6, 51, .55)); }
@keyframes qd-bob { from { transform: translateY(0) rotate(-6deg); } to { transform: translateY(-12%) rotate(7deg); } }
@keyframes qd-wiggle { from { margin-bottom: 0; } to { margin-bottom: 3px; } }
.qd-finish { position: absolute; top: 0; bottom: 0; right: 70px; width: 34px; z-index: 1; background: conic-gradient(#fff 25%, #1a0633 0 50%, #fff 0 75%, #1a0633 0) 0 0 / 34px 34px; box-shadow: 0 0 0 4px #fdd018; }
.qd-lane.arrived .qd-name { color: #fdd018; }
.qd-name .qd-tname { font-weight: 700; opacity: .85; }
.qd-pduck { font-family: var(--f-body, system-ui), system-ui, sans-serif; font-weight: 800; font-size: 28px; line-height: 1.1; margin-top: 4px; color: #fdd018; max-width: 430px; overflow-wrap: anywhere; text-shadow: 3px 3px 0 #1a0633; }
.qd-place { position: absolute; right: 120px; top: 50%; transform: translateY(-50%) rotate(-8deg); z-index: 4; font-size: 44px; padding: 0 18px; border-radius: 12px; color: #1a0633; box-shadow: 4px 4px 0 #1a0633; animation: qd-pop .5s cubic-bezier(.2, 2, .4, 1); }
.qd-place.p1 { background: #fdd018; }
.qd-place.p2 { background: #e6edf5; }
.qd-place.p3 { background: #ff9a4a; }
@keyframes qd-pop { from { transform: translateY(-50%) scale(0) rotate(40deg); } }

.qd-bubble { position: absolute; z-index: 12; left: 50%; bottom: 14px; max-width: 1500px; transform: translateX(-50%) scale(.6); opacity: 0; font-family: var(--f-body, system-ui), system-ui, sans-serif; font-weight: 900; font-size: 38px; color: #1a0633; background: #fff; padding: 12px 34px; border-radius: 30px; border: 5px solid #1a0633; box-shadow: 8px 8px 0 #ff3ea5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qd-bubble.on { opacity: 1; transform: translateX(-50%) scale(1) rotate(-1deg); transition: transform .35s cubic-bezier(.2, 1.8, .4, 1), opacity .2s; }
.qd-bubble.on.r1 { transform: translateX(-50%) scale(1) rotate(1.5deg); box-shadow: 8px 8px 0 #39ff14; }
.qd-bubble.on.r2 { box-shadow: 8px 8px 0 #33c7ff; }

.qd-big { position: absolute; left: 50%; top: 50%; z-index: 20; transform: translate(-50%, -50%) scale(0); font-size: 360px; line-height: 1; color: #fdd018; text-shadow: 12px 12px 0 #1a0633, -6px -6px 0 #ff3ea5; pointer-events: none; white-space: nowrap; }
.qd-big.on { animation: qd-count .9s cubic-bezier(.2, 2.2, .4, 1) both; }
.qd-big.go { font-size: 230px; color: #39ff14; }
.qd-big.stamp { font-size: 170px; color: #fff; background: #e10600; padding: 10px 50px; border: 10px solid #fff; border-radius: 20px; text-shadow: none; box-shadow: 14px 14px 0 #1a0633; animation: qd-stamp .45s cubic-bezier(.2, 2, .4, 1) both; }
@keyframes qd-count { from { transform: translate(-50%, -50%) scale(3) rotate(-30deg); opacity: 0; } to { transform: translate(-50%, -50%) scale(1) rotate(-6deg); opacity: 1; } }
@keyframes qd-stamp { from { transform: translate(-50%, -50%) scale(4) rotate(20deg); opacity: 0; } to { transform: translate(-50%, -50%) scale(1) rotate(-9deg); opacity: 1; } }
.qd-flash { position: absolute; inset: 0; z-index: 15; background: #fff; opacity: 0; pointer-events: none; }
.qd-flash.on { animation: qd-flash .7s ease-out; }
@keyframes qd-flash { 0% { opacity: 1; } 100% { opacity: 0; } }
.qd-race.frozen .qd-track { filter: sepia(.9) contrast(1.3) saturate(.6); }
.qd-race.frozen .qd-bob, .qd-race.frozen .qd-duck, .qd-race.frozen .qd-water, .qd-race.frozen .qd-bg, .qd-race.frozen .qd-rays, .qd-race.frozen .qd-title span { animation-play-state: paused; }

.qd-podium { position: absolute; inset: 0; z-index: 30; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 36px; background: radial-gradient(circle at 50% 35%, rgba(58, 29, 120, .94), rgba(17, 4, 40, .98)); animation: qd-in .5s ease-out; }
.qd-podium.now { animation: none; }
@keyframes qd-in { from { opacity: 0; } }
.qd-ptitle { position: absolute; top: 40px; font-size: 110px; color: #fdd018; text-shadow: 8px 8px 0 #ff3ea5, -4px -4px 0 #1a0633; animation: qd-jump 1.2s ease-in-out infinite; }
.qd-steps { display: flex; align-items: flex-end; gap: 40px; }
.qd-col { width: 430px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.qd-pic { width: 270px; height: 240px; animation: qd-bob .5s ease-in-out infinite alternate; }
.qd-c1 .qd-pic, .qd-col.c1 .qd-pic { width: 330px; height: 290px; }
.qd-pic svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(8px 10px 0 rgba(0, 0, 0, .5)); }
.qd-pname { font-family: var(--f-body, system-ui), system-ui, sans-serif; font-weight: 900; font-size: 50px; line-height: 1.05; margin-top: 4px; max-width: 430px; overflow-wrap: anywhere; text-shadow: 4px 4px 0 #1a0633; }
.qd-ppts { font-size: 54px; color: #39ff14; text-shadow: 4px 4px 0 #1a0633; margin: 6px 0 12px; }
.qd-block { width: 100%; font-size: 90px; color: #1a0633; border: 6px solid #1a0633; border-bottom: 0; border-radius: 24px 24px 0 0; display: grid; place-items: center; }
.qd-col.c1 .qd-block { height: 220px; background: linear-gradient(#ffe766, #fdd018); }
.qd-col.c2 .qd-block { height: 150px; background: linear-gradient(#ffffff, #cfd8e3); }
.qd-col.c3 .qd-block { height: 105px; background: linear-gradient(#ffc08a, #ff8a2a); }
.qd-others { margin-top: 18px; font-family: var(--f-body, system-ui), system-ui, sans-serif; font-weight: 800; font-size: 34px; color: #fff; opacity: .9; }
.qd-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.qd-confetti i { position: absolute; top: -40px; width: 18px; height: 30px; border-radius: 4px; animation: qd-fall linear infinite; }
@keyframes qd-fall { to { top: 110%; margin-left: 120px; rotate: 720deg; } }

@media (prefers-reduced-motion: reduce) {
	.qd-bg, .qd-rays, .qd-title span, .qd-water, .qd-bob, .qd-duck, .qd-ptitle, .qd-pic, .qd-confetti i { animation: none; }
}

/* Gradins (2026-11-03) : trois rangées de spectateurs, animés par transform seulement (léger pour l'écran projeté). */
.qd-stands { position: absolute; left: 0; right: 0; top: 140px; height: 186px; z-index: 2; contain: layout paint; pointer-events: none; }
.qd-row { position: absolute; left: 0; right: 0; display: flex; justify-content: space-around; padding: 0 12px; }
.qd-row::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 16px; background: #3b1d78; border-top: 4px solid #1a0633; border-bottom: 4px solid #1a0633; z-index: 2; }
.qd-row.r0 { top: 0; filter: brightness(.72); }
.qd-row.r1 { top: 52px; filter: brightness(.86); }
.qd-row.r2 { top: 108px; }
.qd-row.r0 .qd-spec { width: 52px; height: 56px; }
.qd-row.r1 .qd-spec { width: 58px; height: 62px; }
.qd-row.r2 .qd-spec { width: 64px; height: 68px; }
.qd-spec { position: relative; z-index: 1; animation: qd-hop var(--d, .5s) ease-in-out var(--dl, 0s) infinite alternate; }
.qd-spec svg { width: 100%; height: 100%; overflow: visible; display: block; }
.qd-spec.flip svg { transform: scaleX(-1); }
.qd-spec .w { transform-box: fill-box; transform-origin: 80% 60%; }
.qd-spec.wave .w { animation: qd-flap .22s ease-in-out infinite alternate; }
.qd-stands.hot .qd-spec { animation-name: qd-hop-hot; }
.qd-stands.hot .qd-spec .w { animation: qd-flap .16s ease-in-out infinite alternate; }
@keyframes qd-hop { from { transform: translateY(0); } to { transform: translateY(-9px); } }
@keyframes qd-hop-hot { from { transform: translateY(0) rotate(-4deg); } to { transform: translateY(-24px) rotate(5deg); } }
@keyframes qd-flap { from { transform: rotate(0); } to { transform: rotate(-55deg); } }
.qd-race.over .qd-stands *, .qd-race.over .qd-starter * { animation-play-state: paused; }

/* Le canard du départ : il tremble, sursaute au coup de canon et se cache la tête sous l'aile. */
.qd-starter { position: absolute; left: 14px; top: 4px; width: 400px; height: 300px; z-index: 6; pointer-events: none; }
.qd-starter svg { width: 100%; height: 100%; overflow: visible; }
.qd-sd { animation: qd-tremble .07s linear infinite alternate; }
.qd-sj, .qd-arm, .qd-gun, .qd-smoke circle, .qd-mflash, .qd-feathers path { transform-box: fill-box; }
.qd-arm { transform-origin: 0% 40%; transition: transform .14s ease-out; }
.qd-spark { transform-box: fill-box; transform-origin: 50% 80%; animation: qd-spark .12s linear infinite alternate; }
.qd-smoke circle { opacity: 0; transform-origin: center; }
.qd-mflash { opacity: 0; transform-origin: 0% 50%; }
.qd-feathers path { opacity: 0; }
.qd-boomtxt { position: absolute; left: 255px; top: 26px; font-size: 64px; color: #fff; -webkit-text-stroke: 3px #e10600; text-shadow: 5px 5px 0 #1a0633; transform: scale(0) rotate(-14deg); opacity: 0; }
.qd-starter.boom .qd-sj { animation: qd-jumpscare .55s cubic-bezier(.2, 1.6, .4, 1); }
.qd-starter.boom .qd-arm { transform: rotate(-62deg); }
.qd-starter.boom .qd-stick, .qd-starter.boom .qd-spark { display: none; }
.qd-starter.boom .qd-gun { animation: qd-recoil .45s ease-out; }
.qd-starter.boom .qd-smoke circle { animation: qd-puff 1.8s ease-out forwards; }
.qd-starter.boom .qd-smoke circle:nth-child(2) { animation-delay: .08s; }
.qd-starter.boom .qd-smoke circle:nth-child(3) { animation-delay: .16s; }
.qd-starter.boom .qd-smoke circle:nth-child(4) { animation-delay: .24s; }
.qd-starter.boom .qd-mflash { animation: qd-mflash .3s ease-out; }
.qd-starter.boom .qd-feathers path { animation: qd-feather 1.6s ease-in forwards; }
.qd-starter.boom .qd-feathers path:nth-child(2) { animation-delay: .1s; }
.qd-starter.boom .qd-boomtxt { animation: qd-boom 1.4s cubic-bezier(.2, 2, .4, 1) forwards; }
@keyframes qd-tremble { from { transform: translate(-1.6px, .6px) rotate(-1deg); } to { transform: translate(1.6px, -.6px) rotate(1deg); } }
@keyframes qd-spark { from { transform: scale(.8); } to { transform: scale(1.3) rotate(10deg); } }
@keyframes qd-jumpscare { 0% { transform: translateY(0); } 30% { transform: translateY(-34px) scale(1.06, .94); } 60% { transform: translateY(4px) scale(.96, 1.04); } 100% { transform: translateY(0); } }
@keyframes qd-recoil { 0% { transform: translateX(0); } 20% { transform: translateX(-22px); } 100% { transform: translateX(0); } }
@keyframes qd-puff { 0% { opacity: .95; transform: scale(.2); } 100% { opacity: 0; transform: scale(2.4) translate(10px, -16px); } }
@keyframes qd-mflash { 0% { opacity: 1; transform: scale(.4); } 50% { opacity: 1; transform: scale(1.3); } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes qd-feather { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(30px, 120px) rotate(200deg); } }
@keyframes qd-boom { 0% { opacity: 1; transform: scale(0) rotate(-14deg); } 25% { opacity: 1; transform: scale(1.2) rotate(-8deg); } 75% { opacity: 1; transform: scale(1) rotate(-8deg); } 100% { opacity: 0; transform: scale(1.1) rotate(-8deg); } }

/* Chrono (secondes et dixièmes), arrêté sur le temps du gagnant. */
.qd-chrono { position: absolute; right: 34px; top: 16px; z-index: 6; padding: 6px 22px 10px; background: #1a0633; border: 5px solid #fdd018; border-radius: 18px; box-shadow: 7px 7px 0 #ff3ea5; text-align: center; transform: rotate(1.5deg); }
.qd-clab { font-family: var(--f-body, system-ui), system-ui, sans-serif; font-weight: 900; font-size: 22px; letter-spacing: .14em; color: #fdd018; }
.qd-clock { font-family: var(--f-body, system-ui), system-ui, sans-serif; font-weight: 900; font-size: 74px; line-height: 1; color: #39ff14; font-variant-numeric: tabular-nums; min-width: 250px; }
.qd-chrono.done .qd-clock { color: #fdd018; animation: qd-blink .5s steps(2) 4; }
@keyframes qd-blink { 50% { opacity: .25; } }

/* Coups de théâtre : bulles au-dessus d'un canard, et petits effets. */
.qd-duck[data-say]::after { content: attr(data-say); position: absolute; left: 55%; bottom: 92%; padding: 2px 12px; font-family: var(--f-body, system-ui), system-ui, sans-serif; font-weight: 900; font-size: 26px; color: #1a0633; background: #fff; border: 3px solid #1a0633; border-radius: 14px; white-space: nowrap; box-shadow: 3px 3px 0 #1a0633; }
.qd-duck.zz .qd-bob, .qd-duck.sulk .qd-bob { animation-play-state: paused; }
.qd-duck.sulk .qd-face { filter: grayscale(.6) brightness(.85); transform: rotate(14deg); }
.qd-duck.fire::before { content: ""; position: absolute; right: 78%; top: 38%; width: 70%; height: 30%; border-radius: 50%; background: radial-gradient(ellipse at 100% 50%, #fff6a0, #ffb000 35%, #ff4b00 60%, transparent 72%); animation: qd-flame .08s linear infinite alternate; }
.qd-duck.smoky::before { content: ""; position: absolute; right: 70%; top: 20%; width: 40%; height: 40%; border-radius: 50%; background: radial-gradient(circle, rgba(80, 80, 90, .8), transparent 70%); animation: qd-flame .3s linear infinite alternate; }
.qd-duck.bubbles::before { content: ""; position: absolute; left: 30%; bottom: 40%; width: 40%; height: 60%; background: radial-gradient(circle at 30% 80%, #bfefff 8%, transparent 10%), radial-gradient(circle at 70% 50%, #bfefff 6%, transparent 8%), radial-gradient(circle at 45% 20%, #bfefff 7%, transparent 9%); animation: qd-rise .6s linear infinite; }
.qd-duck.windy::before { content: ""; position: absolute; left: 100%; top: 10%; width: 140%; height: 80%; background: repeating-linear-gradient(0deg, transparent 0 14px, rgba(255, 255, 255, .8) 14px 18px); border-radius: 40%; animation: qd-gust .25s linear infinite; }
@keyframes qd-flame { from { transform: scaleX(.8); opacity: .85; } to { transform: scaleX(1.25); opacity: 1; } }
@keyframes qd-rise { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-40px); opacity: 0; } }
@keyframes qd-gust { from { transform: translateX(30px); opacity: .2; } to { transform: translateX(-30px); opacity: .9; } }
.qd-puddle { position: absolute; bottom: 10%; width: 120px; height: 26px; border-radius: 50%; background: radial-gradient(ellipse, #2b2b2b 30%, #6b3fa0 55%, #ffd400 70%, transparent 72%); opacity: .85; z-index: 2; }
.qd-egg { position: absolute; bottom: 14%; width: 30px; height: 38px; border-radius: 50% 50% 46% 46% / 60% 60% 40% 40%; background: #fffbe8; border: 3px solid #1a0633; z-index: 2; animation: qd-pop .4s cubic-bezier(.2, 2, .4, 1); }
.qd-fanduck { position: absolute; left: 0; top: 0; z-index: 5; will-change: transform; }
.qd-fanduck svg { width: 100%; height: 100%; overflow: visible; }
.qd-place.quit { background: #8a8aa0; color: #fff; font-size: 34px; }
.qd-ptime { font-family: var(--f-body, system-ui), system-ui, sans-serif; font-weight: 900; font-size: 40px; color: #fff; background: #1a0633; border: 4px solid #fdd018; border-radius: 12px; padding: 0 16px; margin-top: 6px; font-variant-numeric: tabular-nums; }
.qd-others.quit { color: #ffb3b3; }

@media (prefers-reduced-motion: reduce) {
	.qd-spec, .qd-spec .w, .qd-sd, .qd-spark { animation: none; }
}

/* Podium final du quiz (QIDucks.finale, 2026-11-03) : une place par écran, tambour, gag du gagnant, puis podium et points par ronde. */
.qd-fin { z-index: 55; }
.qd-ftitle { position: absolute; top: 28px; left: 50%; transform: translateX(-50%); z-index: 4; font-size: 110px; color: #fdd018; white-space: nowrap; text-shadow: 8px 8px 0 #ff3ea5, -4px -4px 0 #1a0633; transition: transform .8s ease, left .8s ease; }
.qd-fstage { position: absolute; inset: 0; z-index: 3; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 30px; transform-origin: 50% 100%; transition: transform .9s cubic-bezier(.3, 1.2, .4, 1); }
.qd-fin .qd-col.none { visibility: hidden; }
.qd-fduck { position: relative; width: 100%; height: 100%; transition: transform .25s ease-out; }
.qd-fduck svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(8px 10px 0 rgba(0, 0, 0, .5)); }
.qd-col.hidden .qd-fduck svg { filter: brightness(0) opacity(.35); }
.qd-col.hidden .qd-pname { opacity: .6; }
.qd-col.drum .qd-fduck { animation: qd-shake .09s linear infinite alternate; }
.qd-col.reveal .qd-fduck { animation: qd-popin .7s cubic-bezier(.2, 2, .4, 1); }
.qd-col.reveal .qd-pname { animation: qd-pop .6s cubic-bezier(.2, 2, .4, 1); }
@keyframes qd-shake { from { transform: translate(-4px, 1px) rotate(-3deg); } to { transform: translate(4px, -1px) rotate(3deg); } }
@keyframes qd-popin { 0% { transform: scale(.2) rotate(-30deg); } 100% { transform: scale(1) rotate(0); } }

/* Gag du gagnant (2026-11-03) : serveur qui arrive (g0), secoue (g1), pop, bouchon dans l'œil et geyser qui pousse (g2),
   chute (g3) et écrasement au sol (g3b), retour en béquille pendant que le serveur s'éclipse (g4). */
.qd-fin .qd-pic { position: relative; }
.qd-waiter { position: absolute; left: 70%; bottom: -10px; width: 210px; height: 190px; z-index: 6; opacity: 0; transform: translateX(420px); }
.qd-wbody { position: absolute; inset: 0; transform: scaleX(-1); }
.qd-wbody svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(6px 8px 0 rgba(0, 0, 0, .5)); }
.qd-col.g0 .qd-waiter { opacity: 1; animation: qd-waddle-in 1.3s cubic-bezier(.3, 1.1, .5, 1) forwards; }
@keyframes qd-waddle-in { 0% { transform: translateX(420px) rotate(0); } 20% { transform: translateX(330px) rotate(-8deg); } 40% { transform: translateX(240px) rotate(8deg); } 60% { transform: translateX(150px) rotate(-8deg); } 80% { transform: translateX(60px) rotate(6deg); } 100% { transform: translateX(0) rotate(0); } }
.qd-col.g4 .qd-waiter { animation: qd-sneak 1.6s ease-in forwards; }
@keyframes qd-sneak { 0% { transform: translateX(0); } 15% { transform: translateX(-10px) translateY(-8px); } 100% { transform: translateX(520px) translateY(0); opacity: 0; } }
.qd-bottle { position: absolute; left: -26px; top: -40px; width: 60px; height: 150px; z-index: 7; transform: rotate(-58deg); transform-origin: 50% 85%; }
.qd-bottle svg { width: 100%; height: 100%; overflow: visible; }
.qd-col.g1 .qd-bottle { animation: qd-shakeb .12s linear 11 alternate; }
.qd-col.g2 .qd-bottle { animation: qd-recoil .5s ease-out; }
@keyframes qd-shakeb { from { transform: rotate(-66deg) translateY(-6px); } to { transform: rotate(-50deg) translateY(6px); } }
@keyframes qd-recoil { 0% { transform: rotate(-58deg) translate(0, 0); } 30% { transform: rotate(-48deg) translate(14px, 10px); } 100% { transform: rotate(-58deg) translate(0, 0); } }
.qd-cork { position: absolute; left: 84%; top: 18%; width: 22px; height: 26px; z-index: 9; border-radius: 40% 40% 30% 30%; background: #d9a066; border: 3px solid #1a0633; opacity: 0; }
.qd-col.g2 .qd-cork { animation: qd-cork .9s cubic-bezier(.3, 0, .6, 1) forwards; }
@keyframes qd-cork { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 25% { opacity: 1; transform: translate(-30px, -70px) rotate(260deg); } 38% { opacity: 1; transform: translate(-62px, 22px) rotate(420deg); } 100% { opacity: 1; transform: translate(10px, 520px) rotate(1100deg); } }
.qd-col.g3 .qd-cork { opacity: 0; animation: none; }
.qd-jet { position: absolute; right: 12%; top: 16%; width: 0; height: 64px; z-index: 8; border-radius: 40px; transform: rotate(-24deg); transform-origin: 100% 50%; background: radial-gradient(circle at 10% 50%, #fff 14%, transparent 15%) 0 0 / 38px 64px, linear-gradient(90deg, rgba(255, 255, 255, .98), rgba(255, 246, 170, .95) 60%, rgba(255, 246, 170, .2)); box-shadow: 0 0 30px rgba(255, 246, 170, .8); opacity: 0; }
.qd-col.g2 .qd-jet { animation: qd-jet 2.4s ease-out .25s forwards; }
@keyframes qd-jet { 0% { width: 0; opacity: 1; } 12% { width: 300px; opacity: 1; } 50% { width: 420px; opacity: 1; background-position: -160px 0, 0 0; } 90% { width: 440px; opacity: 1; background-position: -360px 0, 0 0; } 100% { width: 440px; opacity: 0; } }
.qd-col.g2 .qd-fduck { animation: qd-pushed 2.1s cubic-bezier(.3, .6, .5, 1) .3s forwards; }
@keyframes qd-pushed { 0% { transform: translateX(0) rotate(0); } 15% { transform: translateX(-30px) rotate(-16deg); } 40% { transform: translateX(-70px) rotate(-10deg); } 60% { transform: translateX(-90px) rotate(-22deg); } 100% { transform: translateX(-150px) rotate(-30deg); } }
.qd-stars { position: absolute; left: 64%; top: 18%; z-index: 8; font-size: 70px; color: #fdd018; text-shadow: 3px 3px 0 #1a0633; opacity: 0; }
.qd-col.g2 .qd-stars { animation: qd-stars .9s ease-out .35s 2; }
@keyframes qd-stars { 0% { opacity: 1; transform: scale(.3) rotate(0); } 100% { opacity: 0; transform: scale(1.6) rotate(180deg); } }
.qd-col.g3 .qd-fduck { animation: qd-falloff 1.6s linear forwards; }
@keyframes qd-falloff { 0% { transform: translate(-150px, 0) rotate(-30deg); } 20% { transform: translate(-210px, -90px) rotate(-110deg); } 50% { transform: translate(-260px, 420px) rotate(-200deg) scale(1, 1); } 56% { transform: translate(-262px, 450px) rotate(-180deg) scale(1.35, .55); } 70% { transform: translate(-264px, 420px) rotate(-180deg) scale(.9, 1.1); } 100% { transform: translate(-264px, 435px) rotate(-180deg) scale(1.1, .8); } }
.qd-dust { position: absolute; left: -260px; top: 100%; width: 330px; height: 120px; margin-top: 330px; z-index: 2; pointer-events: none; opacity: 0; background: radial-gradient(ellipse at 30% 60%, rgba(255, 255, 255, .85) 20%, transparent 50%), radial-gradient(ellipse at 70% 55%, rgba(230, 220, 255, .8) 18%, transparent 48%), radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, .7) 22%, transparent 52%); }
.qd-col.g3b .qd-dust { animation: qd-dust 1.2s ease-out forwards; }
@keyframes qd-dust { 0% { opacity: 1; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.8) translateY(-30px); } }
.qd-quake { animation: qd-quake .5s linear; }
@keyframes qd-quake { 0%, 100% { transform: translate(0, 0); } 15% { transform: translate(-14px, 10px); } 30% { transform: translate(12px, -8px); } 45% { transform: translate(-10px, 6px); } 60% { transform: translate(8px, -4px); } 80% { transform: translate(-4px, 2px); } }
.qd-blackeye { position: absolute; left: 65%; top: 27%; width: 18%; height: 20%; z-index: 4; border-radius: 50%; background: radial-gradient(circle, rgba(40, 10, 70, .2) 30%, rgba(60, 20, 110, .9) 55%, rgba(120, 60, 160, .55) 75%, transparent 78%); opacity: 0; }
.qd-crutch { position: absolute; left: 30%; top: 46%; width: 44px; height: 72%; z-index: 4; opacity: 0; transform: rotate(8deg); }
.qd-crutch svg { width: 100%; height: 100%; overflow: visible; }
.qd-col.g4 .qd-blackeye, .qd-col.g4 .qd-crutch { opacity: 1; }
.qd-col.g4 .qd-fduck { animation: qd-return 1.5s cubic-bezier(.2, 1.3, .4, 1) forwards, qd-limp 1s ease-in-out 1.5s infinite; }
@keyframes qd-return { 0% { transform: translate(-264px, 435px) rotate(0); } 40% { transform: translate(-130px, 160px) rotate(-8deg); } 100% { transform: translate(0, 0) rotate(0); } }
@keyframes qd-limp { 0%, 100% { transform: translateY(0) rotate(0); } 30% { transform: translateY(-14px) rotate(-6deg); } 60% { transform: translateY(4px) rotate(4deg); } }

/* Après le gag : podium à gauche, points par ronde à droite. */
.qd-table { position: absolute; right: 24px; top: 150px; bottom: 24px; width: 1120px; z-index: 5; padding: 14px 18px; background: rgba(17, 4, 40, .88); border: 5px solid #fdd018; border-radius: 22px; box-shadow: 10px 10px 0 #ff3ea5; opacity: 0; transform: translateX(80px); transition: opacity .8s ease .3s, transform .8s ease .3s; pointer-events: none; }
.qd-fin.split .qd-table { opacity: 1; transform: none; }
.qd-fin.split .qd-fstage { transform: translateX(-575px) scale(.5); }
.qd-fin.split .qd-ftitle { left: 21%; transform: translateX(-50%) scale(.75); }
.qd-tscroll { height: 100%; overflow: hidden; }
.qd-table table { width: 100%; border-collapse: collapse; font-family: "Atkinson Hyperlegible", system-ui, sans-serif; font-weight: 900; font-size: calc(var(--row, 50px) * .44); color: #fff; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.qd-table th { position: sticky; top: 0; height: var(--row, 50px); color: #fdd018; background: #1a0633; font-size: .8em; text-align: center; }
.qd-table td { height: var(--row, 50px); padding: 0 6px; white-space: nowrap; text-align: center; border-top: 2px solid rgba(255, 255, 255, .12); }
.qd-table .nm { text-align: left; max-width: 380px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-left: 8px; }
.qd-table .rk { width: 2.2em; color: #33c7ff; }
.qd-table .tot { color: #39ff14; }
.qd-table tr.p1 td { color: #fdd018; }
.qd-table tr.p2 td.nm, .qd-table tr.p3 td.nm { color: #ffe9b0; }
.qd-tscroll.roll table { animation: qd-roll linear infinite alternate; animation-duration: inherit; }
@keyframes qd-roll { 0%, 10% { transform: translateY(0); } 90%, 100% { transform: translateY(calc(-100% + 860px)); } }

@media (prefers-reduced-motion: reduce) {
	.qd-col.drum .qd-fduck, .qd-col.g4 .qd-fduck, .qd-tscroll.roll table { animation: none; }
}

/* ——— 2026-11-03 (Mathieu) : caméra sur le canard du canon, boulet dans la foule, situations loufoques, cygne, spectateur,
   bagarre générale. ——— */
.qd-cam { position: absolute; inset: 0; transform-origin: 190px 150px; transition: transform 1.1s cubic-bezier(.45, 0, .2, 1); }
.qd-cam.zoom { transform: translate(770px, 390px) scale(2.4); transition-duration: 1.4s; }
.qd-ball { position: absolute; left: 0; top: 0; z-index: 7; width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #8a8aa0, #2a2540 60%, #111 100%); border: 3px solid #1a0633; box-shadow: 0 0 0 3px rgba(255, 140, 0, .5); pointer-events: none; }
.qd-ball.hit { opacity: 0; transition: opacity .3s; }
.qd-bonk { position: absolute; z-index: 8; font-size: 54px; color: #fff; -webkit-text-stroke: 3px #e10600; text-shadow: 4px 4px 0 #1a0633; transform: rotate(-12deg); animation: qd-pop .4s cubic-bezier(.2, 2, .4, 1); pointer-events: none; }
.qd-spec.knocked { z-index: 9; animation: qd-knock 4.2s cubic-bezier(.3, 0, .5, 1) forwards; }
@keyframes qd-knock { 0% { transform: translate(0, 0) rotate(0); } 18% { transform: translate(60px, -260px) rotate(380deg); } 32% { transform: translate(110px, -900px) rotate(900deg); } 70% { transform: translate(0, -900px) rotate(0); } 88% { transform: translate(0, 20px) rotate(0); } 94% { transform: translate(0, -14px); } 100% { transform: translate(0, 0); } }
.qd-spec.bandaged::after { content: "🤕"; position: absolute; left: 30%; top: -18%; font-size: 26px; }
.qd-prop { position: absolute; left: -18%; top: -46%; z-index: 4; line-height: 1; opacity: 0; transform: scale(.3); transition: opacity .2s, transform .3s cubic-bezier(.2, 2, .4, 1); pointer-events: none; }
.qd-prop.on { opacity: 1; transform: scale(1) rotate(-8deg); }
.qd-duck.tiny .qd-face { transform: scale(.45); transform-origin: 50% 90%; }
.qd-duck.huge .qd-face { transform: scale(1.7); transform-origin: 50% 90%; }
.qd-duck.rainbow .qd-face { animation: qd-hue .5s linear infinite; }
@keyframes qd-hue { to { filter: hue-rotate(360deg) saturate(2); } }
.qd-duck.ghost .qd-face { opacity: .25; }
.qd-duck.spin .qd-face { animation: qd-top .3s linear infinite; }
@keyframes qd-top { to { transform: rotate(360deg); } }
.qd-duck.flipv .qd-face { transform: scaleY(-1); }
.qd-duck.shake .qd-face { animation: qd-shk .06s linear infinite alternate; }
@keyframes qd-shk { from { transform: translate(-4px, 2px) rotate(-6deg); } to { transform: translate(4px, -2px) rotate(6deg); } }
.qd-duck.blink .qd-face { animation: qd-blinkd .15s steps(2) infinite; }
@keyframes qd-blinkd { 50% { opacity: 0; } }
.qd-duck.under .qd-face { opacity: .45; transform: translateY(30%); filter: saturate(.4) brightness(.8); }
.qd-duck.gum::before { content: ""; position: absolute; left: 78%; top: 18%; width: 46%; height: 46%; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffd6ec, #ff6fb5 70%); border: 3px solid #1a0633; animation: qd-gum 1.6s ease-in forwards; }
@keyframes qd-gum { 0% { transform: scale(.1); } 85% { transform: scale(1.5); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
.qd-duck.rain::before { content: ""; position: absolute; left: 0; top: -80%; width: 100%; height: 110%; background: radial-gradient(circle at 30% 22%, #6b7a90 16%, transparent 17%), radial-gradient(circle at 60% 18%, #7d8ca3 19%, transparent 20%), radial-gradient(circle at 80% 24%, #6b7a90 14%, transparent 15%), repeating-linear-gradient(100deg, transparent 0 10px, rgba(160, 210, 255, .9) 10px 13px) 0 40% / 100% 60% no-repeat; animation: qd-flame .25s linear infinite alternate; }
.qd-swanpic, .qd-imppic { display: none; position: absolute; inset: 0; }
.qd-swanpic svg, .qd-imppic svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(4px 5px 0 rgba(26, 6, 51, .55)); }
.qd-duck.swan .qd-bob, .qd-duck.imp .qd-bob { visibility: hidden; }
.qd-duck.swan .qd-swanpic { display: block; transform: scale(1.15); transform-origin: 50% 90%; }
.qd-duck.swan.poof .qd-swanpic { filter: brightness(3); }
.qd-duck.imp .qd-imppic { display: block; }
.qd-brawl { position: absolute; z-index: 6; width: 240px; height: 220px; opacity: 0; pointer-events: none; transform: scale(.2); transition: opacity .3s, transform .4s cubic-bezier(.2, 2, .4, 1); }
.qd-brawl.on { opacity: .9; transform: scale(1.6); animation: qd-cloud .18s linear infinite alternate; }
.qd-brawl.on.calm { animation: none; opacity: .5; }
.qd-brawl::before { content: ""; position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle at 30% 40%, #fff 0 22%, transparent 23%), radial-gradient(circle at 65% 35%, #f1e9ff 0 26%, transparent 27%), radial-gradient(circle at 50% 70%, #fff 0 30%, transparent 31%), radial-gradient(circle at 25% 70%, #ece4ff 0 18%, transparent 19%), radial-gradient(circle at 78% 68%, #fff 0 20%, transparent 21%); filter: drop-shadow(3px 3px 0 #1a0633); }
.qd-brawl span { position: absolute; font-size: 22px; color: #e10600; text-shadow: 2px 2px 0 #1a0633; animation: qd-shk .1s linear infinite alternate; }
.qd-brawl span:nth-child(1) { left: 6%; top: 10%; } .qd-brawl span:nth-child(2) { left: 52%; top: 4%; color: #ff7a00; } .qd-brawl span:nth-child(3) { left: 38%; top: 42%; font-size: 30px; }
.qd-brawl span:nth-child(4) { left: 70%; top: 58%; } .qd-brawl span:nth-child(5) { left: 12%; top: 66%; } .qd-brawl span:nth-child(6) { left: 60%; top: 82%; color: #1e5bd8; }
@keyframes qd-cloud { from { transform: scale(1.5) rotate(-3deg); } to { transform: scale(1.7) rotate(3deg); } }
@media (prefers-reduced-motion: reduce) {
	.qd-cam { transition: none; }
}
/* Canard squelette : sous l'eau toute la course. Dragons de Daenerys : le feu vacille. Obama danse sur le podium. */
.qd-duck.deep .qd-face { transform: translateY(42%); opacity: .55; filter: saturate(.5) brightness(.85) drop-shadow(0 0 6px #7fd4ff); }
.qd-duck.deep::before { content: ""; position: absolute; left: 50%; bottom: 60%; width: 30%; height: 50%; background: radial-gradient(circle at 30% 80%, #bfefff 10%, transparent 12%), radial-gradient(circle at 70% 40%, #bfefff 8%, transparent 10%); animation: qd-rise .7s linear infinite; }
.qd-drg .qd-fire { transform-box: fill-box; transform-origin: 0% 50%; animation: qd-flame .1s linear infinite alternate; }
.qd-col.obama .qd-fduck, .qd-col.obama .qd-pic svg { animation: qd-obama .8s ease-in-out infinite; }
@keyframes qd-obama { 0%, 100% { transform: translateX(0) rotate(0); } 25% { transform: translateX(-14px) rotate(-10deg) translateY(-10px); } 50% { transform: translateX(0) rotate(0) translateY(0); } 75% { transform: translateX(14px) rotate(10deg) translateY(-10px); } }
.qd-col.dodge .qd-fduck { animation: qd-limbo 1.2s ease-in-out; }
@keyframes qd-limbo { 0% { transform: rotate(0); } 30%, 60% { transform: translateY(40px) rotate(-55deg) scaleY(.85); } 100% { transform: rotate(0); } }
.qd-col.dodge2 .qd-fduck { animation: qd-hopaside 1.4s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes qd-hopaside { 0% { transform: translate(0, 0); } 35% { transform: translate(-40px, -160px) rotate(-20deg); } 70% { transform: translate(-20px, -40px) rotate(360deg); } 100% { transform: translate(0, 0) rotate(360deg); } }
.qd-col.g4w .qd-waiter { animation: qd-sneak 1.6s ease-in forwards; }
.qd-col.dodge .qd-stars, .qd-col.dodge2 .qd-stars { display: none; }

/* Podium final (Mathieu, 2026-11-04) : le canard de la 3e place débouche la bouteille depuis sa marche et vise le gagnant. */
.qd-bottle3 { position: absolute; left: -6%; top: 0; width: 60px; height: 150px; z-index: 7; opacity: 0; transform: rotate(-62deg) scale(.5); transform-origin: 50% 85%; transition: opacity .3s, transform .4s cubic-bezier(.2, 2, .4, 1); }
.qd-bottle3 svg { width: 100%; height: 100%; overflow: visible; }
.qd-col.h0 .qd-bottle3 { opacity: 1; transform: rotate(-62deg) scale(1); }
.qd-col.h1 .qd-bottle3 { animation: qd-shake3 .12s linear 11 alternate; }
.qd-col.h2 .qd-bottle3 { animation: qd-recoil3 .5s ease-out; }
.qd-col.h1 .qd-fduck { animation: qd-shk .08s linear 14 alternate; }
@keyframes qd-shake3 { from { transform: rotate(-70deg) translateY(-6px); } to { transform: rotate(-54deg) translateY(6px); } }
@keyframes qd-recoil3 { 0% { transform: rotate(-62deg); } 30% { transform: rotate(-50deg) translate(16px, 10px); } 100% { transform: rotate(-62deg); } }
.qd-cork3 { position: absolute; left: 0; top: 0; z-index: 9; width: 24px; height: 28px; border-radius: 40% 40% 30% 30%; background: #d9a066; border: 3px solid #1a0633; opacity: 0; pointer-events: none; }
.qd-jet3 { position: absolute; z-index: 8; width: 0; height: 64px; border-radius: 40px; transform-origin: 0 50%; background: radial-gradient(circle at 90% 50%, #fff 14%, transparent 15%) 0 0 / 38px 64px, linear-gradient(270deg, rgba(255, 255, 255, .98), rgba(255, 246, 170, .95) 60%, rgba(255, 246, 170, .2)); box-shadow: 0 0 30px rgba(255, 246, 170, .8); opacity: 0; pointer-events: none; }

/* Pouvoirs spéciaux des canards (2026-11-04) : effets seulement, jamais la vitesse. */
.qd-pwover { position: absolute; right: -6%; top: -38%; z-index: 4; line-height: 1; pointer-events: none; animation: qd-pwbob .9s ease-in-out infinite alternate; }
@keyframes qd-pwbob { from { transform: translateY(0) rotate(-6deg); } to { transform: translateY(-8px) rotate(6deg); } }
.qd-pwtrail { position: absolute; bottom: 18%; z-index: 2; line-height: 1; pointer-events: none; animation: qd-pwtrail 1.7s ease-out forwards; }
@keyframes qd-pwtrail { 0% { opacity: .95; transform: scale(.6); } 100% { opacity: 0; transform: translate(-30px, -10px) scale(1.1); } }
.qd-duck.pw-still .qd-bob { animation: none; }
.qd-duck.pw-disco .qd-face { filter: drop-shadow(0 0 10px #ff3ea5) drop-shadow(0 0 16px #33c7ff); }
.qd-duck.pw-shadow::before { content: ""; position: absolute; left: -30%; right: -30%; bottom: -40%; height: 70%; border-radius: 50%; background: rgba(0, 0, 0, .3); z-index: -1; }
.qd-duck.pw-sash::before { content: ""; position: absolute; right: 70%; top: 52%; width: 70%; height: 10%; background: repeating-linear-gradient(90deg, #c8102e 0 8px, #ffd400 8px 12px, #1e5bd8 12px 18px); border-radius: 4px; animation: qd-flame .25s linear infinite alternate; }
.qd-duck.pw-flip .qd-pwover { animation: qd-pwflip 1.2s ease-in-out infinite; }
@keyframes qd-pwflip { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-34px) rotate(180deg); } }
.qd-duck.pw-antenna::before { content: ""; position: absolute; left: 68%; top: -14%; width: 9%; height: 9%; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 10px #ff3b3b; animation: qd-blinkd .6s steps(2) infinite; }
.qd-duck.pw-flash .qd-face { filter: brightness(3); }
.qd-duck.pw-drakes .qd-face { filter: drop-shadow(0 0 8px rgba(255, 120, 0, .7)); }
.qd-duck.pw-glow .qd-face { filter: drop-shadow(0 0 10px #39ff14) drop-shadow(0 0 4px #39ff14); }
.qd-duck.pw-shine .qd-face { animation: qd-shine 2.4s ease-in-out infinite; }
@keyframes qd-shine { 0%, 80%, 100% { filter: none; } 88% { filter: brightness(1.8); } }
.qd-duck.pw-dance .qd-bob { animation: qd-obama .8s ease-in-out infinite; }
.qd-duck.pw-grow .qd-face { animation: qd-grow 3s ease-in-out infinite alternate; transform-origin: 70% 30%; }
@keyframes qd-grow { from { transform: scale(1); } to { transform: scale(1.18); } }
.qd-duck.pw-hue .qd-face { animation: qd-hue 1.5s linear infinite; }
.qd-duck.pw-wind .qd-face { animation: qd-shk .15s linear infinite alternate; }

/* Pouvoirs au podium (course et podium final). */
.qd-pic .qd-pwover { font-size: 64px; right: -10%; top: -26%; }
.qd-pwsay { position: absolute; left: 50%; bottom: 100%; transform: translateX(-50%) rotate(-3deg); z-index: 6; padding: 4px 14px; font-family: var(--f-body, system-ui), system-ui, sans-serif; font-weight: 900; font-size: 24px; color: #1a0633; background: #fff; border: 3px solid #1a0633; border-radius: 14px; white-space: nowrap; box-shadow: 3px 3px 0 #1a0633; }
.qd-pwfloat { position: absolute; z-index: 3; font-size: 40px; line-height: 1; pointer-events: none; opacity: 0; animation: qd-pwfloat 2.4s ease-in-out infinite; }
.qd-pwfloat.f0 { left: -12%; top: 50%; }
.qd-pwfloat.f1 { left: 40%; top: 85%; animation-delay: .8s; }
.qd-pwfloat.f2 { left: 90%; top: 40%; animation-delay: 1.6s; }
@keyframes qd-pwfloat { 0% { opacity: 0; transform: translateY(10px) scale(.6); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(-50px) scale(1.1); } }
.qd-pic.pw-lift { transform: translateY(-18px); }
.qd-pic.pw-glow svg { filter: drop-shadow(0 0 14px #39ff14) drop-shadow(0 0 5px #39ff14); }
.qd-pic.pw-disco svg { filter: drop-shadow(0 0 14px #ff3ea5) drop-shadow(0 0 20px #33c7ff); }
.qd-pic.pw-drakes svg { filter: drop-shadow(0 0 12px rgba(255, 120, 0, .8)); }
.qd-pic.pw-hue svg { animation: qd-hue 1.5s linear infinite; }
.qd-pic.pw-shine svg { animation: qd-shine 2.4s ease-in-out infinite; }
.qd-pic.pw-grow svg { animation: qd-grow 3s ease-in-out infinite alternate; transform-origin: 70% 30%; }
.qd-pic.pw-dance svg, .qd-pic.pw-wind svg { animation: qd-obama .8s ease-in-out infinite; }
.qd-fireball { position: absolute; left: 0; top: 0; z-index: 6; line-height: 1; pointer-events: none; filter: drop-shadow(0 0 8px #ff7a00); }
.qd-duck.pw-volt .qd-face, .qd-pic.pw-volt svg { filter: drop-shadow(0 0 8px #33c7ff) drop-shadow(0 0 3px #fff); }

/* Décompte à droite pendant que la caméra est sur le canard du canon (Mathieu, 2026-11-04). */
.qd-race.counting .qd-big { left: 80%; top: 52%; font-size: 300px; }
/* Bulle du bas : le canard ET l'équipe, sur deux lignes au besoin. */
.qd-bubble { white-space: normal; text-align: center; max-width: 1650px; width: max-content; font-size: 34px; line-height: 1.2; }

/* ——— 2026-11-04 : traînées permanentes, Greta, Bond, Daenerys, gradins, loge, canard du canon, ralenti ——— */
.qd-pwtrail { animation: qd-pwtrail2 .6s ease-out forwards; opacity: .85; }
@keyframes qd-pwtrail2 { 0% { opacity: 0; transform: scale(.4); } 100% { opacity: .85; transform: scale(1) rotate(-6deg); } }
.qd-pwtrail.gone { transition: transform .45s, opacity .45s; transform: scale(0) rotate(180deg); opacity: 0; }
.qd-bullet { position: absolute; z-index: 7; height: 3px; transform-origin: 0 50%; background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff8b0 40%, #fff); box-shadow: 0 0 8px #ffd400; pointer-events: none; }
.qd-car { position: absolute; left: 0; top: 0; z-index: 8; font-size: 110px; line-height: 1; pointer-events: none; }
.qd-fireball { filter: drop-shadow(0 0 14px #ff7a00) drop-shadow(0 0 6px #ffd400); white-space: nowrap; }
.qd-stands { left: 430px; }
.qd-row { padding: 0 4px; }
.qd-row::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 14px; z-index: 3; background: linear-gradient(135deg, #ff3ea5 25%, transparent 25%) 0 0 / 28px 14px, linear-gradient(225deg, #fdd018 25%, transparent 25%) 14px 0 / 28px 14px; opacity: .9; }
.qd-row.r0::before { background: linear-gradient(135deg, #33c7ff 25%, transparent 25%) 0 0 / 28px 14px, linear-gradient(225deg, #39ff14 25%, transparent 25%) 14px 0 / 28px 14px; }
.qd-row .qd-spec { margin: 0 -5px; }
.qd-spec.cough::after { content: "kof kof"; position: absolute; left: 40%; top: -40%; z-index: 5; padding: 0 6px; font: 900 14px system-ui, sans-serif; color: #1a0633; background: #fff; border: 2px solid #1a0633; border-radius: 8px; white-space: nowrap; }
.qd-spec.cough { filter: grayscale(.5); }
.qd-loge { position: absolute; left: 10px; top: 120px; width: 410px; height: 200px; z-index: 1; border: 6px solid #fdd018; border-radius: 18px; background: rgba(26, 6, 51, .55); box-shadow: inset 0 0 0 4px #1a0633; color: #fdd018; font: 400 22px var(--f-title, Impact), Impact, sans-serif; letter-spacing: .1em; text-align: center; padding-top: 168px; }
.qd-starter { z-index: 6; }
.qd-flip, .qd-run, .qd-ears, .qd-fuse, .qd-puffs circle { transform-box: fill-box; }
.qd-ears { opacity: 0; }
.qd-fuse { opacity: 0; }
.qd-starter.lit .qd-fuse { opacity: 1; animation: qd-fuse 1.9s linear forwards; }
@keyframes qd-fuse { 0% { transform: translate(0, 0) scale(1); } 45% { transform: translate(-14px, -6px) scale(1.3); } 100% { transform: translate(-8px, -24px) scale(.6); opacity: 0; } }
.qd-flip { transform-origin: 50% 50%; transition: transform .25s; }
.qd-starter.cover .qd-flip { transform: scaleX(-1); }
.qd-starter.cover .qd-arm { opacity: 0; }
.qd-starter.cover .qd-ears { opacity: 1; }
.qd-starter.cover .qd-sd { animation: qd-tremble .04s linear infinite alternate; }
.qd-run { transition: transform 1.1s cubic-bezier(.6, 0, .9, .5), opacity 1.1s; }
.qd-starter.flee .qd-run { transform: translateX(-520px); opacity: 0; }
.qd-starter.flee .qd-sj { animation: qd-jumpscare .18s linear infinite; }
.qd-puffs circle { opacity: 0; }
.qd-starter.smoking .qd-puffs circle { animation: qd-puff2 2.6s ease-out infinite; }
.qd-starter.smoking .qd-puffs circle:nth-child(2) { animation-delay: .9s; }
.qd-starter.smoking .qd-puffs circle:nth-child(3) { animation-delay: 1.7s; }
@keyframes qd-puff2 { 0% { opacity: .9; transform: translate(0, 0) scale(.5); } 100% { opacity: 0; transform: translate(40px, -90px) scale(2.6); } }
.qd-race.slowmo::after { content: "RALENTI"; position: absolute; right: 40px; bottom: 120px; z-index: 16; font: 400 48px var(--f-title, Impact), Impact, sans-serif; color: #fff; letter-spacing: .2em; text-shadow: 3px 3px 0 #e10600; animation: qd-blinkd .5s steps(2) infinite; }

/* Traînées plus discrètes (2026-11-04). */
.qd-pwtrail { opacity: .45; }
@keyframes qd-pwtrail2 { 0% { opacity: 0; transform: scale(.4); } 100% { opacity: .45; transform: scale(.9) rotate(-6deg); } }
.qd-tree { transform-box: fill-box; transform-origin: 50% 100%; animation: qd-tree 3s ease-in-out infinite alternate; }
@keyframes qd-tree { from { transform: rotate(-1.5deg); } to { transform: rotate(1.5deg); } }

/* Les dragons de Daenerys, bien visibles (2026-11-04). */
.qd-drakes { position: absolute; left: 50%; top: -10%; width: 0; height: 0; z-index: 6; pointer-events: none; }
.qd-drake { position: absolute; left: -60px; top: -40px; width: 120px; height: 66px; animation: qd-orbit 3.2s linear infinite; }
.qd-drake svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 6px rgba(255, 120, 0, .7)); }
.qd-drake.d1 { animation-delay: -1.07s; }
.qd-drake.d2 { animation-delay: -2.13s; }
@keyframes qd-orbit { 0% { transform: translate(-70px, -20px) scaleX(1); } 25% { transform: translate(0, -60px) scaleX(1); } 50% { transform: translate(70px, -20px) scaleX(1); } 51% { transform: translate(70px, -20px) scaleX(-1); } 75% { transform: translate(0, 10px) scaleX(-1); } 100% { transform: translate(-70px, -20px) scaleX(-1); } }
.qd-fireball .qd-fire, .qd-drake .qd-fire { transform-box: fill-box; transform-origin: 0% 50%; animation: qd-flame .1s linear infinite alternate; }

.qd-boomtxt { white-space: nowrap; }
/* Trois cigarettes au podium (Lévesque, Falardeau). */
.qd-smokes { position: absolute; left: 86%; top: 30%; width: 34%; height: 28%; z-index: 5; pointer-events: none; }
.qd-smokes svg { width: 100%; height: 100%; overflow: visible; }
.qd-smokes i { position: absolute; left: 70%; top: 20%; width: 26%; aspect-ratio: 1; border-radius: 50%; background: rgba(220, 220, 230, .8); animation: qd-puff2 2.4s ease-out infinite; }
.qd-smokes i:nth-of-type(2) { top: -10%; animation-delay: .8s; }
.qd-smokes i:nth-of-type(3) { top: 50%; animation-delay: 1.6s; }

/* ——— Fluidité (2026-11-04, Mathieu : « il y a des lags ») ———
   Les fonds animés par background-position faisaient repeindre tout l'écran et chaque couloir à chaque image : ils glissent
   maintenant par transform (composé par la carte graphique, sans repeindre). Les filtres des rangées de gradins (repeints à
   chaque saut de spectateur) sont retirés. Les cartes sans podium caché ne montrent rien des pouvoirs. */
.qd-rays { animation: none; background: radial-gradient(circle at 50% 120%, rgba(17, 4, 40, .2), rgba(17, 4, 40, .78) 70%); overflow: hidden; }
.qd-rays::before { content: ""; position: absolute; top: 0; bottom: 0; left: -160px; right: 0; background: repeating-linear-gradient(115deg, rgba(0, 0, 0, .18) 0 40px, transparent 40px 80px); animation: qd-rays2 2.4s linear infinite; will-change: transform; }
@keyframes qd-rays2 { to { transform: translateX(160px); } }
.qd-water { animation: none; background-image: none; overflow: hidden; }
.qd-water::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; right: -90px; background-image: radial-gradient(ellipse 26px 7px at 20px 50%, rgba(255, 255, 255, .28) 60%, transparent 62%); background-size: 90px 100%; animation: qd-waves2 1.6s linear infinite; will-change: transform; }
@keyframes qd-waves2 { to { transform: translateX(-90px); } }
.qd-row.r0, .qd-row.r1 { filter: none; }
.qd-row.r0 .qd-spec { opacity: .8; }
.qd-col.hidden .qd-pwsay, .qd-col.hidden .qd-pwover, .qd-col.hidden .qd-pwfloat, .qd-col.hidden .qd-smokes, .qd-col.hidden .qd-drakes { display: none; }
.qd-race.frozen .qd-water::before, .qd-race.frozen .qd-rays::before { animation-play-state: paused; }

/* Podium final (test complet du 2026-11-04) : une longue réplique passe sur deux lignes au lieu de couvrir la 1re place,
   et les bulles se taisent quand l'écran se coupe en deux pour le tableau des points. */
.qd-pwsay { white-space: normal; width: max-content; max-width: 340px; text-align: center; line-height: 1.15; }
.qd-fin.split .qd-pwsay { display: none; }

/* Angine de Poitrine (2026-11-15) : chacun se balance à son rythme, 3 contre 4 sur la même mesure de 1,2 s. */
.qd-p3, .qd-p4 { transform-box: fill-box; transform-origin: 50% 100%; }
.qd-p3 { animation: qd-poly .4s ease-in-out infinite; }
.qd-p4 { animation: qd-poly .3s ease-in-out infinite; }
@keyframes qd-poly { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-7px) rotate(-3deg); } }
.qd-duck.pw-poly .qd-bob { animation: none; }
