.evolution-bestiary-button { display:flex; align-items:center; gap:7px; width:100%; margin-top:8px; padding:7px 0; border:0; border-top:1px solid #4b6355; border-radius:0; color:inherit; background:transparent; cursor:pointer; }
.evolution-bestiary-button svg { width:15px; height:15px; }
.evolution-bestiary { width:min(650px,calc(100vw - 32px)); max-height:calc(100dvh - 40px); box-sizing:border-box; overflow:auto; padding:16px; border:1px solid #739375; border-radius:8px; color:#e8f3e5; background:#12231a; font-family:Arial,sans-serif; }
.evolution-bestiary::backdrop { background:rgb(0 0 0 / 65%); }
.evolution-bestiary header { position:sticky; top:0; z-index:1; display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; padding-bottom:10px; background:#12231a; }
.evolution-bestiary h2 { margin:0; font-size:20px; }
.evolution-bestiary header button { display:grid; place-items:center; width:32px; height:32px; padding:0; border:0; color:inherit; background:transparent; cursor:pointer; }
.evolution-bestiary header svg { width:20px; height:20px; }
.evolution-species { display:grid; grid-template-columns:minmax(80px,1fr) repeat(5,48px); align-items:center; gap:4px; padding:6px 0; border-top:1px solid #344c3d; }
.evolution-species-name { font-size:12px; overflow-wrap:anywhere; }
.evolution-form { position:relative; display:grid; place-items:center; box-sizing:border-box; width:48px; height:48px; padding-top:12px; color:#839989; background-repeat:no-repeat; background-size:contain; background-position:center; background-origin:content-box; image-rendering:pixelated; font-size:16px; }
.evolution-form-level { position:absolute; top:0; left:0; right:0; text-align:center; color:#fff; font-size:10px; line-height:12px; text-shadow:0 1px 2px #12231a,1px 0 2px #12231a,-1px 0 2px #12231a; }
@media(max-width:440px) { .evolution-bestiary { padding:12px; } .evolution-species { grid-template-columns:minmax(68px,1fr) repeat(5,36px); gap:2px; } .evolution-form { width:36px; height:40px; } }
