/* Bestiaire complet (Includes/bestiaire.php, 28/10/2026) : style de la maquette validée par l'auteur.
   Préfixe #Middle : passe devant les règles de tableau du thème (#Middle #tab ...), pour un rendu identique sur tous les thèmes. */
#Middle .bestiaireSommaire { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0 34px; }
#Middle .bestiaireSommaire a { font-size: 13px; font-weight: bold; color: #800000; padding: 5px 14px; border: 1px solid #B77F7D; border-radius: 14px; background: #FBEAE3; text-decoration: none; }
#Middle .bestiaireSommaire a:hover, #Middle .bestiaireSommaire a:focus-visible { background: #F4D6CB; color: #800000; outline: none; }
#Middle h2.bestiaireSection { font-family: Arial, Helvetica, sans-serif; font-size: 17px; font-weight: bold; color: #FFFFFF; background: #8F2419; text-align: left; margin: 0 0 18px; padding: 8px 14px; border: 0; border-radius: 2px; scroll-margin-top: 12px; }

#Middle .bestiaireFiltres { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; margin: 0 0 14px; padding: 12px 14px; border: 1px solid #B77F7D; background: #F4D6CB; box-sizing: border-box; text-align: left; font-family: "Trebuchet MS", Arial, sans-serif; }
#Middle .bestiaireFiltres label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: bold; color: #800000; letter-spacing: .02em; }
#Middle .bestiaireFiltres input, #Middle .bestiaireFiltres select { font: 14px "Trebuchet MS", Arial, sans-serif; font-weight: normal; color: #1d1414; padding: 6px 8px; border: 1px solid #B77F7D; background: #FFFFFF; border-radius: 2px; }
#Middle .bestiaireFiltres input { width: 280px; max-width: 70vw; }
#Middle .bestiaireFiltres input:focus, #Middle .bestiaireFiltres select:focus { outline: 2px solid #8F2419; outline-offset: 1px; }
#Middle .bestiaireCompte { margin-left: auto; font-size: 13px; color: #6b5555; padding-bottom: 6px; }

#Middle .bestiaireDefile { overflow-x: auto; border: 2px solid #8F2419; }
#Middle table#bestiaire { border-collapse: collapse; width: 100%; min-width: 640px; margin: 0; font-family: "Trebuchet MS", Arial, sans-serif; font-size: 14px; color: #1d1414; }
#Middle table#bestiaire th { background: #8F2419; color: #FFFFFF; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-weight: bold; padding: 9px 8px; border: 0; height: auto; cursor: pointer; white-space: nowrap; text-align: left; }
#Middle table#bestiaire th::after { content: " \2195"; opacity: .45; }
#Middle table#bestiaire th[aria-sort="ascending"]::after { content: " \25B2"; opacity: 1; }
#Middle table#bestiaire th[aria-sort="descending"]::after { content: " \25BC"; opacity: 1; }
#Middle table#bestiaire th:focus-visible { outline: 2px solid #FFFFFF; outline-offset: -4px; }
#Middle table#bestiaire td { padding: 6px 8px; border: 0; border-top: 1px solid #B77F7D; vertical-align: top; text-align: left; font-family: inherit; }
#Middle table#bestiaire th:nth-child(2), #Middle table#bestiaire th:nth-child(3), #Middle table#bestiaire th:nth-child(4), #Middle table#bestiaire th:nth-child(5),
#Middle table#bestiaire td.bestiaireNombre { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
#Middle table#bestiaire tbody tr { background: #F4D6CB; }
#Middle table#bestiaire tbody tr.toprow2 { background: #FBEAE3; }
#Middle table#bestiaire tbody tr:hover { background: #EFC3B4; }
#Middle table#bestiaire td:first-child { white-space: nowrap; }
#Middle table#bestiaire td a { color: #800000; font-weight: bold; text-decoration: none; }
#Middle table#bestiaire td a:hover { text-decoration: underline; color: #800000; }
#Middle .bestiairePastille { display: inline-block; font-size: 11px; line-height: 1.4; padding: 0 6px; margin-left: 6px; border-radius: 8px; border: 1px solid; background: #FFFFFF; font-weight: normal; vertical-align: 1px; }
#Middle .bestiaireTalent { color: #4B0082; border-color: #4B0082; }
#Middle .bestiaireSource { color: #006000; border-color: #006000; }
@media (max-width: 560px) { #Middle .bestiaireCompte { margin-left: 0; width: 100%; } }
