/* Remplacement HTML/CSS des boutons Flash Namo (button04* FR, button03* EN).
   Chaque SVG est une bande d'images de la taille du bouton :
   image 0 = état « repos », images 1..N = animation de survol (12 i/s),
   dernière image = état « enfoncé ». Générées par outils/boutons/generer_boutons.py. */
a.gyb { display: inline-block; overflow: hidden; vertical-align: baseline; }
a.gyb img { display: block; border: 0; }

/* FR : 102×35, 15 images jouées une fois puis figées (stop Flash). */
a.gyb-fr { width: 102px; height: 35px; }
a.gyb-fr:hover img { animation: gyb-fr 1.25s steps(15, jump-none) forwards; }
a.gyb-fr:active img { animation: none; transform: translateX(-1632px); }
@keyframes gyb-fr { from { transform: translateX(-102px); } to { transform: translateX(-1530px); } }

/* EN : 100×28, 18 images en boucle. */
a.gyb-en { width: 100px; height: 28px; }
a.gyb-en:hover img { animation: gyb-en 1.5s steps(18, end) infinite; }
a.gyb-en:active img { animation: none; transform: translateX(-1900px); }
@keyframes gyb-en { from { transform: translateX(-100px); } to { transform: translateX(-1900px); } }
