/* Tableau des banlists ([mtg_banlist]) — couleurs de la charte (#121212 / #1e1e1e / or #d97706). */
.mtg-bl { margin: 1.5rem 0 2.5rem; }
.mtg-bl-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.mtg-bl-tab {
	padding: .4rem .8rem; border: 1px solid #374151; border-radius: .375rem;
	background: #1e1e1e; color: #d1d5db; font-size: .875rem; cursor: pointer;
}
.mtg-bl-tab:hover { border-color: #d97706; color: #fff; }
.mtg-bl-tab[aria-selected="true"] { background: rgba(217, 119, 6, .15); border-color: rgba(217, 119, 6, .6); color: #d97706; font-weight: 600; }
.mtg-bl-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-bottom: .75rem; }
.mtg-bl-search {
	flex: 1 1 14rem; min-width: 0; padding: .5rem .75rem; border: 1px solid #374151; border-radius: .375rem;
	background: #121212; color: #f3f4f6; font-size: .9rem;
}
.mtg-bl-search:focus { outline: none; border-color: #d97706; }
.mtg-bl-filter {
	padding: .5rem .6rem; border: 1px solid #374151; border-radius: .375rem;
	background: #121212; color: #f3f4f6; font-size: .875rem;
}
.mtg-bl-filter[hidden] { display: none; }
.mtg-bl-toggle { display: flex; align-items: center; gap: .4rem; font-size: .8rem; color: #9ca3af; cursor: pointer; }
.mtg-bl-toggle input { accent-color: #d97706; }
.mtg-bl-status { margin: 0 0 .5rem; font-size: .875rem; color: #9ca3af; }
.prose-mtg .mtg-bl-status { margin-bottom: .5rem; }
.mtg-bl-scroll { max-height: 32rem; overflow-y: auto; border: 1px solid #374151; border-radius: .375rem; }
.prose-mtg .mtg-bl-table { margin: 0; }
.mtg-bl-table th { position: sticky; top: 0; z-index: 1; }
.mtg-bl-table td { vertical-align: middle; font-size: .9rem; }
.mtg-bl-card { display: flex; align-items: center; gap: .6rem; color: #f3f4f6 !important; }
.mtg-bl-card:hover span { color: #d97706; text-decoration: underline; }
.mtg-bl-card img { width: 36px; height: 50px; flex-shrink: 0; object-fit: cover; border: 1px solid #374151; border-radius: 3px; }
.mtg-bl-badge { display: inline-block; padding: .1rem .5rem; border: 1px solid; border-radius: 999px; font-size: .75rem; white-space: nowrap; }
.mtg-bl-banned { color: #f87171; border-color: rgba(248, 113, 113, .4); background: rgba(248, 113, 113, .08); }
.mtg-bl-restricted { color: #fbbf24; border-color: rgba(251, 191, 36, .4); background: rgba(251, 191, 36, .08); }
.mtg-bl-empty { padding: 2rem !important; text-align: center; color: #6b7280; font-style: italic; }
.mtg-bl-source { margin-top: .5rem !important; font-size: .75rem; color: #6b7280; }
.mtg-bl-preview {
	position: fixed; z-index: 400; display: none; width: 220px; pointer-events: none;
	border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .8);
}
@media (max-width: 640px) {
	.mtg-bl-hide-sm { display: none; }
}
