/* Animation et écran des invocations (client/js/invocation.js, gachaScreen de ui.js). Classes racines .inv-… */
.inv-stage { gap: 8px; cursor: pointer; user-select: none; }
.inv-titre { font-size: 48px; min-height: 56px; transition: color .2s; }
.inv-sous { min-height: 24px; font-size: 16px; }
.inv-grille { display: grid; grid-template-columns: repeat(5, 136px); gap: 12px; justify-items: center; align-items: center; min-height: 380px; align-content: center; }
.inv-grille.seul { grid-template-columns: 260px; min-height: 340px; }
.inv-slot { width: 136px; min-height: 176px; display: flex; align-items: center; justify-content: center; position: relative; }
.inv-grille.seul .inv-slot { width: 260px; min-height: 320px; }
.inv-balle { width: 64px; height: 64px; image-rendering: pixelated; animation: invChute .8s cubic-bezier(.3, 1.5, .5, 1) var(--d) both; }
.inv-grille.seul .inv-balle { width: 128px; height: 128px; }
@keyframes invChute { from { transform: translateY(-360px); opacity: 0; } 70% { opacity: 1; } to { transform: none; } }
/* Lot I5 : une fois posées, les balles ne retombent plus quand le tremblement s'arrête (la chute repartait de zéro) */
.inv-stage.posee .inv-balle { animation: none; }
/* Tremblement « pixel » : des pas entiers, pas de rotation floue */
.inv-stage.tremble .inv-slot:not(.vue) .inv-balle { animation: invTremble .3s steps(1) infinite; }
@keyframes invTremble { 0% { transform: translateX(0); } 25% { transform: translateX(-4px); } 50% { transform: translateX(0); } 75% { transform: translateX(4px); } }
.inv-stage.rare.tremble .inv-slot:not(.vue) .inv-balle { filter: drop-shadow(0 0 10px var(--g)); }
.inv-slot.attente .inv-balle { animation: invTremble .2s steps(1) infinite; filter: drop-shadow(0 0 14px var(--g)) drop-shadow(0 0 4px #fff); transform: scale(1.15); }
.inv-slot.ouvre .inv-balle { animation: invTremble2 calc(var(--o, 170ms) * .35) steps(1) both; }
/* Lot I5 : 2 secousses d'un pixel de la balle (×4) avant les 3 images de l'ouverture */
@keyframes invTremble2 { 0%, 50%, 100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
/* Playtest 2 (1.5) : une balle légendaire s'ouvre lentement (elle enfle et brille), la balle de la faille tourbillonne dans le noir. */
.inv-slot.ouvre-lent .inv-balle { animation: invEnfle .5s steps(2, end) infinite alternate; }
@keyframes invEnfle { from { transform: scale(1.125); } to { transform: scale(1.25); } }
.inv-slot.faille .inv-balle { animation: invVortex 1.1s ease-in-out infinite; filter: drop-shadow(0 0 18px #d070ff) drop-shadow(0 0 6px #fff); }
@keyframes invVortex { 0%, 100% { transform: scale(1.15) rotate(-8deg); } 50% { transform: scale(1.35) rotate(8deg); } }
.inv-slot.faille::after { content: ''; position: absolute; left: 50%; top: 50%; width: 210px; height: 210px; margin: -105px; border-radius: 50%; z-index: -1; pointer-events: none;
  background: repeating-conic-gradient(rgba(208, 112, 255, .45) 0 8deg, rgba(120, 40, 200, .1) 8deg 24deg); animation: invRayons 1.2s linear infinite; }
.inv-stage.sombre { background: rgba(2, 2, 14, .97); }
.inv-stage.sombre .inv-slot:not(.attente):not(.vue) { opacity: .25; }
.inv-stage.secousse { animation: invSecousse .5s steps(2) 3; }
/* (7/11 soir, bug vu par Kiko) la scène est agrandie par transform: scale(var(--ui)) (style.css, .gacha-stage) : la secousse garde cette échelle,
   sinon l'écran noir rétrécissait en haut à gauche pendant la secousse du légendaire de la faille */
@keyframes invSecousse { 0% { transform: scale(var(--ui, 1)) translate(0, 0); } 25% { transform: scale(var(--ui, 1)) translate(-6px, 3px); } 50% { transform: scale(var(--ui, 1)) translate(5px, -4px); } 75% { transform: scale(var(--ui, 1)) translate(-3px, -5px); } 100% { transform: scale(var(--ui, 1)) translate(0, 0); } }
/* Lot I5 : l'éclat en pixels (eclat-<balle>.png, 4 images de 32 × 32) à la place du halo flou, affiché ×4 (×8 pour une balle seule) */
.inv-eclat { position: absolute; left: 50%; top: 50%; width: 128px; height: 128px; margin: -64px; z-index: 3; pointer-events: none;
  background: no-repeat 0 0 / 400% 100%; image-rendering: pixelated; animation: invEclat .48s steps(1, end) both; }
.inv-grille.seul .inv-eclat { width: 256px; height: 256px; margin: -128px; }
@keyframes invEclat { 0% { background-position-x: 0; } 25% { background-position-x: 33.334%; } 50% { background-position-x: 66.667%; } 75% { background-position-x: 100%; } 100% { background-position-x: 100%; opacity: 0; } }
.inv-slot.vue > * { animation: invRetourne .35s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes invRetourne { from { transform: rotateY(90deg) scale(.8); } to { transform: none; } }
.inv-slot.vue .rcard { width: 128px; animation-delay: 0s !important; }
/* Lueurs selon la rareté (épique, légendaire, shiny, grand prix) */
.inv-slot.r4 .rcard, .inv-slot.r4 .reveal-card { box-shadow: 0 0 22px -2px #c47bff; }
.inv-slot.r5 .rcard, .inv-slot.r5 .reveal-card { box-shadow: 0 0 26px 0 #ffcb3d; }
.inv-slot.r8 .rcard, .inv-slot.r8 .reveal-card { box-shadow: 0 0 34px 4px #d070ff; }
.inv-slot.vue { isolation: isolate; }
.inv-slot.r5::before, .inv-slot.r6::before, .inv-slot.r7::before { content: ''; position: absolute; left: 50%; top: 50%; width: 150px; height: 150px; margin: -75px; z-index: -1; border-radius: 50%; opacity: .8; animation: invRayons 6s linear infinite;
  background: repeating-conic-gradient(rgba(255, 214, 90, .35) 0 10deg, transparent 10deg 30deg); }
.inv-slot.r6::before { background: repeating-conic-gradient(rgba(255, 120, 120, .35) 0 10deg, rgba(255, 230, 110, .35) 10deg 20deg, rgba(120, 255, 170, .35) 20deg 30deg, rgba(120, 190, 255, .35) 30deg 40deg, rgba(210, 140, 255, .35) 40deg 50deg, transparent 50deg 60deg); }
.inv-slot.r7::before { background: repeating-conic-gradient(rgba(255, 150, 40, .4) 0 10deg, transparent 10deg 30deg); }
.inv-slot.r8::before { content: ''; position: absolute; left: 50%; top: 50%; width: 200px; height: 200px; margin: -100px; z-index: -1; border-radius: 50%; opacity: .9; animation: invRayons 4s linear infinite;
  background: repeating-conic-gradient(rgba(208, 112, 255, .45) 0 10deg, rgba(90, 30, 160, .25) 10deg 20deg, transparent 20deg 30deg); }
@keyframes invRayons { to { transform: rotate(360deg); } }
.inv-bas { position: absolute; left: 0; right: 0; bottom: 20px; display: flex; justify-content: flex-end; align-items: center; gap: 16px; padding: 0 20px; }
.inv-aide { font-size: 16px; }

/* Écran des bannières */
/* 31/10 (demande de Kiko) : toutes les bannières ont la même taille, quelle que soit la taille des sprites (Léviator, Dialga…). */
.inv-banniere { position: relative; display: grid; grid-template-columns: 380px minmax(0, 1fr) auto; height: auto; overflow: hidden; gap: 16px; align-items: end; padding: 16px; margin-top: 8px; border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, .18); background-color: rgba(8, 12, 30, .85); background-size: auto, 144px 72px; image-rendering: pixelated; min-height: 232px; }
/* (26/11) hauteur au contenu (au moins 232 px) : sur un écran étroit, le texte passait sur plus de lignes et « Shiny x / y » était coupé */
@media (max-width: 1000px) { body:not(.is-touch) .inv-banniere { grid-template-columns: 240px minmax(0, 1fr) auto; } }
.inv-banniere.scellee { filter: grayscale(.85) brightness(.7); }
.inv-banniere h2 { margin: 0; font-size: 32px; text-shadow: 0 2px 0 #000; }
.inv-ban-info { align-self: start; }
.inv-ban-info .muted { color: #c8d2ee; }
.inv-ban-pk { display: flex; align-items: flex-end; gap: 8px; width: 380px; height: 200px; }
.inv-ban-pk > figure:first-child { width: 150px; flex: none; }
.inv-ban-pk > figure:last-child { width: 222px; flex: none; }
#f-boss > canvas { width: auto; height: auto; max-width: 140px; max-height: 168px; }
#f-rift { justify-content: center; height: 168px; flex-wrap: nowrap; }
#f-rift > canvas { width: auto; height: auto; min-width: 0; flex: 0 1 auto; max-width: 104px; max-height: 120px; margin: 0; }
.inv-ban-pk figure { margin: 0; text-align: center; font-size: 16px; color: #e8f0ff; text-shadow: 0 1px 0 #000; }
.inv-ban-pk figure canvas { display: block; margin: auto; }
.inv-taux { display: flex; gap: 12px; flex-wrap: wrap; font-size: 16px; margin-top: 6px; }
.inv-taux span { padding: 2px 8px; border-radius: 4px; background: rgba(0, 0, 0, .45); }
.inv-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 4px; align-items: center; }
.inv-actions .btn.primary { font-size: 24px; }
.inv-actions .inv-balle-btn { width: 32px; height: 32px; image-rendering: pixelated; vertical-align: middle; margin-right: 4px; }
.inv-aide-txt { font-size: 16px; margin: 6px 0; }
.inv-histo { max-height: calc(60vh / var(--ui, 1)); overflow: auto; }
.inv-histo-l { display: grid; grid-template-columns: 32px 1fr auto; gap: 6px; align-items: center; padding: 2px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 16px; }
.inv-histo-l img { width: 32px; height: 32px; image-rendering: pixelated; }
.inv-ban-droite { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; align-self: stretch; gap: 8px; }

/* ---------- Lot I4 (5/11) : invocations plus claires ---------- */
/* Deux boutons seulement : ×1 et ×10 (le ×10 prend d'abord un ticket ×10, sinon 10 tickets) */
.inv-actions .btn.primary .inv-x { font-size: 28px; margin: 0 6px 0 2px; }
.inv-actions .inv-x10 { position: relative; }
.inv-actions .inv-x-aide { font-size: 14px; color: #c8d2ee; margin-left: 6px; }
.inv-actions .btn.primary:not(:disabled):hover .inv-balle-btn { animation: invBalleBtn .4s steps(4, end); }
@keyframes invBalleBtn { 25% { transform: rotate(-14deg); } 75% { transform: rotate(14deg); } }
/* Le taux shiny à part, sous les taux qui font 100 % */
.inv-taux-sh { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 2px 8px; border-radius: 4px; font-size: 16px; color: #9ae6ff; background: rgba(20, 60, 90, .55); box-shadow: inset 0 0 0 1px rgba(154, 230, 255, .35); }
.inv-taux-sh .pxi { margin: 0; animation: shBrille 1.4s steps(2, end) infinite; }
/* Onglets fermés : un cadenas, et la prochaine bannière dite en clair */
.bn-tab .bn-cad { display: inline-flex; line-height: 0; margin-right: 4px; vertical-align: -2px; opacity: .85; }
.bn-tab .bn-cad .pxi { margin: 0; }
.bn-tab.chained:hover .bn-cad, .bn-tab.chained.focus .bn-cad, .bn-tab.chained.primary .bn-cad { animation: bnCad .45s steps(4, end); }
@keyframes bnCad { 25% { transform: rotate(-14deg); } 75% { transform: rotate(12deg); } }
.inv-prochaine { display: flex; align-items: center; gap: 8px; margin: -4px 0 4px; font-size: 16px; color: #ffe27a; }
.inv-prochaine .pxi { margin: 0; flex: none; }
/* Le chef en grand, en couleur et animé, sur un halo qui respire */
#f-boss.inv-chef-vu { position: relative; }
.inv-chef { position: relative; display: flex; justify-content: center; align-items: flex-end; height: 168px; }
.inv-chef::before { content: ''; position: absolute; left: 50%; bottom: 6px; width: 132px; height: 132px; transform: translateX(-50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(196, 123, 255, .55) 0 30%, rgba(196, 123, 255, .18) 55%, transparent 70%); animation: invHalo 2.4s steps(6, end) infinite; }
.inv-chef > canvas, .inv-chef-un > canvas { position: relative; width: auto; height: auto; max-width: 150px; max-height: 168px; display: block; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .55)); }
/* (25/11) plusieurs chefs : chacun son tour, en fondu par paliers (pixel art), un point par chef */
.inv-chef-un { position: absolute; inset: 0; display: flex; justify-content: center; align-items: flex-end; opacity: 0; transition: opacity .35s steps(3, end); pointer-events: none; }
.inv-chef-un.on { opacity: 1; pointer-events: auto; }
.inv-chef.scelle::before { display: none; }
.inv-chef.scelle .inv-chef-un > canvas { filter: brightness(0); }
.inv-chef-pts { position: absolute; right: -2px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 4px; }
.inv-chef-pts i { width: 6px; height: 6px; background: rgba(255, 255, 255, .35); box-shadow: 0 0 0 1px #000; }
.inv-chef-pts i.manque { background: rgba(255, 226, 122, .45); }
.inv-chef-pts i.on { background: #e3c6ff; }
.inv-chef-pts i.on.manque { background: #ffe27a; }
.inv-chef-manque { position: absolute; left: 50%; top: 2px; transform: translateX(-50%); white-space: nowrap; font-size: 13px; padding: 1px 6px; border-radius: 3px; background: rgba(0, 0, 0, .65); color: #ffe27a; }
#f-boss figcaption { color: #e3c6ff; }
@keyframes invHalo { 50% { transform: translateX(-50%) scale(1.12); opacity: .75; } }

/* (7/11 soir, Kiko) Légendaire shiny (rang 9) : le plus rare, donc la plus grosse animation. */
/* l'attente : la balle tourbillonne dans un soleil arc-en-ciel, le fond respire en couleurs */
.inv-stage.arcenciel { animation: invFondArc 2.4s linear infinite; }
@keyframes invFondArc { 0% { background: radial-gradient(circle, #3a1d5c, #04030f 70%); } 33% { background: radial-gradient(circle, #1d3d5c, #04030f 70%); } 66% { background: radial-gradient(circle, #5c4a1d, #04030f 70%); } 100% { background: radial-gradient(circle, #3a1d5c, #04030f 70%); } }
.inv-slot.shleg .inv-balle { animation: invVortex .8s ease-in-out infinite; filter: drop-shadow(0 0 22px #fff2a8) drop-shadow(0 0 10px #9ae6ff) drop-shadow(0 0 4px #fff); }
.inv-slot.shleg::after { content: ''; position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; margin: -150px; border-radius: 50%; z-index: -1; pointer-events: none;
  background: repeating-conic-gradient(rgba(255, 120, 120, .85) 0 7deg, rgba(255, 230, 110, .85) 7deg 14deg, rgba(120, 255, 170, .85) 14deg 21deg, rgba(120, 190, 255, .85) 21deg 28deg, rgba(210, 140, 255, .85) 28deg 35deg, transparent 35deg 45deg);
  width: 460px; height: 460px; margin: -230px; animation: invRayons 1.6s linear infinite; mask: radial-gradient(circle, #000 22%, transparent 68%); -webkit-mask: radial-gradient(circle, #000 22%, transparent 68%); }
/* titre aux couleurs qui défilent */
.inv-titre.inv-arc { color: transparent !important; background: linear-gradient(90deg, #ff7a7a, #ffd66e, #7dffae, #7cc4ff, #d48cff, #ff7a7a); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none; filter: drop-shadow(0 4px 0 #3a1b5c) drop-shadow(0 0 18px rgba(255, 255, 255, .45));
  animation: invArcTexte 1.2s linear infinite, invPulse .6s ease-in-out infinite alternate; }
@keyframes invArcTexte { to { background-position: 200% 0; } }
@keyframes invPulse { from { transform: scale(1); } to { transform: scale(1.08); } }
/* l'ouverture : éclair arc-en-ciel sur tout l'écran, onde de choc, pluie d'étoiles */
.inv-flash-arc { position: absolute; inset: 0; z-index: 5; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(circle, #fff 0 20%, rgba(255, 242, 168, .85) 35%, rgba(154, 230, 255, .5) 55%, transparent 80%); animation: invFlashArc 1.1s ease-out forwards; }
@keyframes invFlashArc { 0% { opacity: 0; } 12% { opacity: 1; } 100% { opacity: 0; filter: hue-rotate(240deg); } }
.inv-onde { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px; border-radius: 50%; z-index: 4; pointer-events: none;
  border: 6px solid #fff2a8; box-shadow: 0 0 18px #9ae6ff, inset 0 0 12px #fff; animation: invOnde .9s ease-out forwards; }
@keyframes invOnde { from { transform: scale(.3); opacity: 1; } to { transform: scale(12); opacity: 0; border-width: 1px; } }
.inv-pluie { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 4; pointer-events: none; }
.inv-pluie i { position: absolute; width: 8px; height: 8px; margin: -4px; background: var(--c); box-shadow: 0 0 8px var(--c);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: invEtoile var(--t) var(--d) cubic-bezier(.15, .8, .3, 1) both; }
@keyframes invEtoile { 0% { transform: translate(0, 0) scale(.4) rotate(0); opacity: 1; } 70% { opacity: 1; } 100% { transform: translate(var(--x), calc(var(--y) + 40px)) scale(1.4) rotate(180deg); opacity: 0; } }
/* la carte : soleil arc-en-ciel qui tourne derrière, liseré qui change de couleur */
.inv-slot.r9 .rcard, .inv-slot.r9 .reveal-card { animation: invRetourne .35s cubic-bezier(.2, 1.4, .4, 1) both, invLisere 1.6s linear .35s infinite; }
@keyframes invLisere { 0% { box-shadow: 0 0 34px 6px #ff7a7a; } 25% { box-shadow: 0 0 34px 6px #ffd66e; } 50% { box-shadow: 0 0 34px 6px #7dffae; } 75% { box-shadow: 0 0 34px 6px #7cc4ff; } 100% { box-shadow: 0 0 34px 6px #d48cff; } }
.inv-slot.r9::before { content: ''; position: absolute; left: 50%; top: 50%; width: 260px; height: 260px; margin: -130px; z-index: -1; border-radius: 50%; opacity: .95; animation: invRayons 3s linear infinite;
  background: repeating-conic-gradient(rgba(255, 120, 120, .45) 0 8deg, rgba(255, 230, 110, .45) 8deg 16deg, rgba(120, 255, 170, .45) 16deg 24deg, rgba(120, 190, 255, .45) 24deg 32deg, rgba(210, 140, 255, .45) 32deg 40deg, transparent 40deg 50deg);
  mask: radial-gradient(circle, #000 35%, transparent 70%); -webkit-mask: radial-gradient(circle, #000 35%, transparent 70%); }
@media (prefers-reduced-motion: reduce) { .inv-flash-arc, .inv-onde, .inv-pluie { display: none; } }
.inv-grille { position: relative; } /* (7/11 soir) repère de l'onde et des étoiles du légendaire shiny */
/* (14/11/2026, Kiko) Fake-out : la Poké Ball qui devient DORÉE (le Pokémon sort shiny) */
.inv-slot.avant-or .inv-balle { animation: invOrTremble .16s steps(2) infinite; filter: brightness(1.25) drop-shadow(0 0 6px #fff); }
.inv-slot.doree .inv-balle { filter: drop-shadow(0 0 8px #ffd84a) drop-shadow(0 0 18px rgba(255,200,60,.8)); animation: invOrPulse .5s ease-in-out infinite alternate; }
.inv-stage.inv-or { animation: invOrFond 1.2s ease-in-out infinite alternate; }
.inv-titre-or { text-shadow: 0 0 10px #ffd84a, 0 0 24px #ffb020, 0 3px 0 #6a3a00 !important; animation: invOrTitre .35s steps(2) 4; }
.inv-flash-or { position: absolute; inset: 0; pointer-events: none; z-index: 5; background: radial-gradient(circle, rgba(255,246,200,.95), rgba(255,200,60,.55) 40%, transparent 75%); animation: invOrFlash .9s ease-out forwards; }
.inv-rayons-or { position: absolute; width: 360px; height: 360px; margin: -180px 0 0 -180px; pointer-events: none; z-index: 0; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255,216,74,.55) 0 7deg, rgba(255,216,74,0) 7deg 20deg); -webkit-mask: radial-gradient(circle, #000 25%, transparent 70%); mask: radial-gradient(circle, #000 25%, transparent 70%);
  animation: invOrRayons 3.2s linear forwards; }
.inv-pluie-or i { width: 4px; height: 4px; }
@keyframes invOrTremble { 50% { transform: translateX(2px) rotate(6deg); } }
@keyframes invOrPulse { to { transform: scale(1.12); } }
@keyframes invOrFond { to { box-shadow: inset 0 0 120px rgba(255,200,60,.35); } }
@keyframes invOrTitre { 50% { transform: scale(1.08); } }
@keyframes invOrFlash { from { opacity: 1; } to { opacity: 0; } }
@keyframes invOrRayons { from { transform: rotate(0) scale(.4); opacity: 0; } 15% { opacity: 1; } to { transform: rotate(140deg) scale(1.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .inv-slot.avant-or .inv-balle, .inv-slot.doree .inv-balle, .inv-stage.inv-or, .inv-rayons-or { animation: none !important; } }
/* (26/11, codes des vidéos) Écran d'un code sans Pokémon (MEGA, HISTOIRE, CISCO!) et attaque offerte sous la carte (ARCEUS) */
.code-recu-modal .box { filter: drop-shadow(0 0 16px rgba(255,203,61,.45)) drop-shadow(0 6px 10px rgba(0,0,0,.5)); animation: codeRecuPop .45s cubic-bezier(.2,1.6,.4,1) both; } /* cadre doré : .box.gold (style.css) */
.code-recu-titre { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 10px; text-align: center; }
.code-recu-titre h2 { margin: 0; color: #ffcb3d; text-shadow: 0 2px 0 #6b4a00; }
.code-recu-mot { display: inline-block; padding: 4px 14px; border: 2px dashed #ffcb3d; border-radius: 6px; letter-spacing: 6px; font-size: 22px; color: #fff; background: rgba(255,203,61,.12); animation: codeRecuTampon .6s .15s ease-out both; }
.code-recu-l { display: grid; gap: 6px; }
.code-recu-l .rw-l { padding: 6px 10px; border-radius: 6px; background: rgba(0,0,0,.28); animation: codeRecuLigne .4s ease-out both; }
.code-recu-l .rw-l:nth-child(2) { animation-delay: .12s; } .code-recu-l .rw-l:nth-child(3) { animation-delay: .24s; } .code-recu-l .rw-l:nth-child(4) { animation-delay: .36s; }
.code-recu-note { margin: 10px 0 0; text-align: center; }
.code-attaque { margin: -8px 0 10px; padding: 6px 16px; border-radius: 8px; font-size: 22px; color: #fff; background: linear-gradient(90deg, rgba(255,203,61,0), rgba(255,203,61,.28), rgba(255,203,61,0)); text-shadow: 0 2px 0 #000; animation: codeRecuLigne .5s .35s ease-out both; }
.code-attaque b { color: #ffcb3d; }
.code-attaque::before { content: '★ '; color: #ffcb3d; }
@keyframes codeRecuPop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes codeRecuTampon { from { transform: scale(2.2) rotate(-8deg); opacity: 0; } 70% { transform: scale(.94) rotate(1deg); opacity: 1; } to { transform: none; } }
@keyframes codeRecuLigne { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .code-recu-modal .box, .code-recu-mot, .code-recu-l .rw-l, .code-attaque { animation: none !important; } }
