/* ------------------------------------------------------------------------------------------------
   SÉLECTEUR D'APPEL DE « ARTISTES SÉLECTIONNÉ·ES » (CCB, 2026-11-08) — php/ccband-selection.js
------------------------------------------------------------------------------------------------ */
.ccbsel { position: relative; margin-bottom: 22px; }
.ccbsel-natif { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; pointer-events: none; }
.ccbsel-bouton {
	display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 12px 24px;
	border: 0; border-radius: 14px; background: #F8C11A; color: #111; cursor: pointer; text-align: left;
	font-family: 'GT Walsheim bold', sans-serif; font-size: 18px; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); transition: box-shadow .2s;
}
.ccbsel-bouton:hover { box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.ccbsel-bouton:focus-visible { outline: none; box-shadow: 0 0 0 3px #fff, 0 6px 20px rgba(0, 0, 0, .35); }
.ccbsel-libelle { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ccbsel-fleche { flex: 0 0 auto; width: 12px; height: 12px; border-right: 3px solid #111; border-bottom: 3px solid #111; transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.ccbsel-ouvert .ccbsel-fleche { transform: translateY(3px) rotate(-135deg); }

.ccbsel-panneau {
	position: absolute; z-index: 50; top: calc(100% + 8px); left: 0; right: 0;
	padding: 12px; border: 1px solid #333; border-radius: 14px; background: #1d1d1d; box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
}
.ccbsel-panneau[hidden] { display: none; }
.ccbsel-recherche {
	width: 100%; margin: 0 0 8px; padding: 12px 14px 12px 40px; border: 1px solid #444; border-radius: 10px;
	background: #111 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23999' stroke-width='2'%3E%3Ccircle cx='7' cy='7' r='5.5'/%3E%3Cpath d='M11 11l4 4'/%3E%3C/svg%3E") no-repeat 14px center;
	color: #fff; font-size: 16px; /* 16 px : pas de zoom automatique sur iPhone */
}
.ccbsel-recherche:focus { outline: none; border-color: #F8C11A; }
.ccbsel-liste { list-style: none; margin: 0; padding: 0; max-height: min(60vh, 460px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #555 transparent; }
.ccbsel-annee { position: sticky; top: 0; z-index: 1; margin: 6px 0 2px; padding: 6px 8px; background: #1d1d1d; color: #F8C11A; font-family: 'GT Walsheim bold', sans-serif; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.ccbsel-option { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; color: #eee; cursor: pointer; font-size: 15px; line-height: 1.25; text-transform: none; }
.ccbsel-option[hidden], .ccbsel-annee[hidden] { display: none; }
.ccbsel-option:hover, .ccbsel-option:focus { background: #2c2c2c; outline: none; }
.ccbsel-option[aria-selected="true"] { background: rgba(248, 193, 26, .14); color: #fff; box-shadow: inset 3px 0 0 #F8C11A; }
.ccbsel-option img, .ccbsel-sans-logo { flex: 0 0 auto; width: 48px; height: 34px; border-radius: 6px; object-fit: cover; background: #333; }
.ccbsel-tout { font-family: 'GT Walsheim bold', sans-serif; }
.ccbsel-nom { flex: 1 1 auto; min-width: 0; }
.ccbsel-nb { flex: 0 0 auto; padding: 3px 9px; border-radius: 999px; background: #333; color: #F8C11A; font-family: 'GT Walsheim bold', sans-serif; font-size: 12px; }
.ccbsel-bouton .ccbsel-nb { margin-left: 6px; background: rgba(0, 0, 0, .12); color: #111; font-size: 13px; }
.ccbsel-rien { margin: 12px 8px; color: #aaa; font-size: 14px; }
@media (max-width: 575px) {
	.ccbsel-bouton { min-height: 54px; padding: 10px 16px; font-size: 16px; }
	.ccbsel-liste { max-height: 55vh; }
}
