/* Antre des Légendes (3/12/2026) : l'onglet qui brille en rouge et la section de l'écran de départ (client/js/antre.js).
   Le combat injecte son propre style (client/js/antre-jeu.js). Pixel art : bords nets, animations par paliers (steps). */
.oe-antre { position: relative; border-color: #ff5c5c !important; color: #ffd0d0; background: linear-gradient(180deg, #4a1020, #2a0810) !important; animation: alBrille 2.4s ease-in-out infinite; }
.oe-antre.primary { color: #fff; }
.oe-antre.ferme { animation: none; opacity: .85; filter: saturate(.5); }
.oe-antre.deja { animation: none; }
@keyframes alBrille { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,60,60,0); } 50% { box-shadow: 0 0 10px 2px rgba(255,60,60,.65); } }
.oe-al-tete { width: 26px; height: 26px; image-rendering: pixelated; margin: -6px 0 -6px 2px; }
.oe-al-tete.ombre { filter: brightness(0) drop-shadow(0 0 2px #ff4a4a); }

.al-dep-titre { margin: 18px 0 6px; color: #ff8a8a; }
.al-section .al-attend { font-size: 16px; }
.al-carte { display: flex; gap: 14px; padding: 10px; border: 2px solid #1a1030; background: radial-gradient(ellipse at 30% 20%, rgba(120,20,40,.55), rgba(20,6,16,.85) 70%); box-shadow: 0 0 0 2px #7a1c2c inset, 0 0 18px rgba(255,60,60,.25); }
.al-scene { position: relative; flex: none; width: 220px; min-height: 230px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; border: 2px solid #1a1030; background: linear-gradient(180deg, #1a0a2a 0%, #3a0a1a 70%, #120408 100%); }
.al-halo { position: absolute; left: 50%; top: 56%; width: 180px; height: 180px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255,80,80,.45), rgba(255,80,80,0) 70%); animation: alHalo 3s ease-in-out infinite; }
@keyframes alHalo { 50% { transform: translate(-50%, -50%) scale(1.15); opacity: .7; } }
.al-socle { position: absolute; left: 50%; bottom: 22px; width: 150px; height: 26px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse, rgba(0,0,0,.6), rgba(0,0,0,0) 70%); }
.al-sprite { position: relative; z-index: 1; margin-bottom: 30px; animation: alFlotte 2.6s ease-in-out infinite; }
.al-sprite canvas { display: block; image-rendering: pixelated; max-width: 200px; max-height: 190px; filter: drop-shadow(0 0 6px rgba(255,80,80,.5)); }
@keyframes alFlotte { 50% { transform: translateY(-5px); } }
/* Jamais rencontrée : une ombre noire qui frémit, avec un liseré rouge */
.al-section.jamais .al-sprite canvas { filter: brightness(0) drop-shadow(0 0 3px #ff3a3a) drop-shadow(0 0 10px rgba(255,40,40,.5)); animation: alOmbre 1.2s steps(2) infinite; }
@keyframes alOmbre { 50% { filter: brightness(0) drop-shadow(0 0 2px #ff6a6a) drop-shadow(0 0 14px rgba(255,40,40,.8)); } }
.al-inconnue, .al-vue { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 2px 6px; text-align: center; font-size: 15px; background: rgba(10,4,14,.85); color: #ff9a9a; border-top: 1px solid #1a1030; }
.al-vue { color: #d8c8c8; }
.al-infos { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.al-nom { font-size: 30px; line-height: 1; color: #ff8a8a; text-shadow: 0 2px 0 #1a1030, 0 0 10px rgba(255,60,60,.5); }
.al-section.jamais .al-nom { color: #ffb0b0; }
.al-types { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.al-type { background: var(--c); color: #1a1030; font-weight: 700; }
.al-meca { background: #4a2a6a; color: #fff; }
.al-texte { margin: 0; font-size: 16px; color: #e8d8d8; }
.al-equipe, .al-recomp, .al-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 16px; }
.al-membre { display: inline-flex; align-items: center; gap: 4px; padding: 1px 6px; border: 1px solid #1a1030; background: rgba(0,0,0,.3); }
.al-membre img { width: 22px; height: 22px; image-rendering: pixelated; }
.al-membre.ok { box-shadow: 0 0 0 1px #ffd35c inset; } .al-membre.non { opacity: .75; box-shadow: 0 0 0 1px #ff5c5c inset; }
.al-eq-aide { font-size: 15px; }
.al-gemme { background: #4a2a6a; color: #fff; } .al-titre { background: #7a1c2c; color: #fff; } .al-attente { background: #2a3a5a; color: #fff; }
.al-deja { margin: 0; font-size: 16px; color: #b8f0c0; }
.al-aff { font-size: 20px; padding: 8px 18px; border-color: #ff5c5c; background: linear-gradient(180deg, #c42a2a, #7a1c1c); color: #fff; text-shadow: 0 2px 0 #1a1030; animation: alBrille 2.4s ease-in-out infinite; }
.al-aff.cadenas { animation: none; filter: saturate(.4); }
.al-histo { margin-top: 6px; font-size: 16px; color: #d8c8c8; } .al-h { margin-right: 6px; }
@media (max-width: 720px) { .al-carte { flex-direction: column; align-items: stretch; } .al-scene { width: 100%; min-height: 200px; } .al-nom { font-size: 26px; } }
@media (prefers-reduced-motion: reduce) { .oe-antre, .al-aff, .al-sprite, .al-halo, .al-section.jamais .al-sprite canvas { animation: none; } }
.al-essai { font-size: 16px; padding: 4px 8px; border: 1px dashed #ffd35c; background: rgba(255,211,92,.08); } .al-choix { font: inherit; font-size: 16px; padding: 2px 6px; background: #1a1030; color: #fff; border: 2px solid #ffd35c; }
/* (5/12, Kiko) barres de l'Antre : vers la prochaine Gelée Dorée, vers la Méga-Gemme de la Légende */
.al-barres { display: flex; flex-direction: column; gap: 6px; margin: 8px 0; }
.al-barre { display: flex; align-items: center; gap: 8px; padding: 4px 8px; border: 2px solid #1a1030; background: rgba(0,0,0,.28); font-size: 16px; }
.al-barre .grow { flex: 1; min-width: 0; } .al-barre b { color: #fff; font-size: 17px; white-space: nowrap; }
.al-b-s::before { content: '· '; } .al-b-ico { font-size: 22px; width: 28px; text-align: center; } .al-b-t { margin-bottom: 3px; }
.al-b-j { display: block; height: 10px; border: 2px solid #1a1030; background: #2a1830; } .al-b-j u { display: block; height: 100%; transition: width .6s steps(8); }
.al-b-j.or u { background: repeating-linear-gradient(90deg, #ffd35c 0 10px, #ffb02e 10px 12px); }
.al-b-j.gemme u { background: repeating-linear-gradient(90deg, #d88aff 0 10px, #a050e0 10px 12px); }
