/* ALGATOR ÉVOLUTIONS : un enclos de nuit (vert profond, lueurs dorées). Trois stades bien distincts. Rien ne clignote. */
:root { --fond: #0f2a22; --fond2: #1d4a3b; --accent: #ffd23f; --accent2: #ff6fb0; --vert: #5fe0a0; }
.elevage { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.creature { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.creature h3 { margin: 4px 0 0; font-size: 20px; line-height: 1.1; }
.stade-nom { font: 400 14px var(--titre); padding: 2px 10px; border: 2px solid var(--encre); border-radius: 999px; background: var(--creme2); }
/* Bébé : une petite bulle ronde, toute douce */
.bebe { width: 128px; height: 128px; border-radius: 50%; border: var(--contour); overflow: hidden; background: #cfeee0; box-shadow: 0 0 0 6px #fff, 0 0 0 9px var(--c, #9ad); position: relative; }
.bebe img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.15) brightness(1.05); }
/* Normale : une vraie carte, à la couleur de sa rareté */
.normale { width: 150px; aspect-ratio: 19 / 27; border-radius: 14px; border: var(--contour); padding: 6px; background: linear-gradient(160deg, var(--c2, #ddd), var(--c, #999)); box-shadow: 0 4px 0 var(--encre); }
.normale .int { height: 100%; border-radius: 9px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.normale img { height: 58%; width: 100%; object-fit: cover; }
.normale b { padding: 4px 6px; font-size: 12px; line-height: 1.1; text-align: left; }
/* MÉGA : la grande carte, avec son aura (fixe) */
.mega { position: relative; width: 170px; aspect-ratio: 19 / 27; border-radius: 16px; border: var(--contour); padding: 7px; background: conic-gradient(from 210deg, #ffd23f, #ff6fb0, #8b5cf6, #38b6ff, #5fe0a0, #ffd23f); box-shadow: 0 4px 0 var(--encre), 0 0 0 5px rgba(255, 210, 63, .35); }
.mega .int { height: 100%; border-radius: 10px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.mega img { height: 60%; width: 100%; object-fit: cover; }
.mega b { padding: 4px 6px; font-size: 12px; line-height: 1.1; text-align: left; }
.mega .bandeau-mega { position: absolute; top: -10px; left: 50%; transform: translateX(-50%) rotate(-3deg); background: var(--encre); color: var(--accent); font: 400 16px var(--titre); padding: 2px 12px; border-radius: 8px; border: 2px solid var(--accent); }
.xp { width: 100%; }
.xp small { display: block; font-size: 12px; color: var(--gris); }
.vide-place { min-height: 260px; display: grid; place-items: center; border: 3px dashed rgba(255, 255, 255, .35); border-radius: var(--rayon); color: var(--creme2); text-align: center; padding: 16px; }
.mini { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 6px; border: 2px solid var(--encre); border-radius: 10px; background: #fff; cursor: pointer; text-align: left; }
.mini img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; }
.mini b { font-size: 12px; line-height: 1.1; }
.mini small { font-size: 11px; color: var(--gris); }
.mini.choisi { outline: 4px solid var(--vert); }
.mini .bande { position: absolute; top: 4px; left: 4px; font-size: 10px; padding: 0 6px; border-radius: 6px; color: #fff; }
.grille.serree { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); max-height: 52vh; overflow: auto; padding: 4px; }
.megadex { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); justify-items: center; }
