/* Correctif ciblé : même carte nominative pour entraîneurs, arbitres et bureau. */
html body [data-club-coaches].cbhb-coaches-unique,
html body :is([data-referees],[data-referee-lead]) {display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr))!important;gap:22px!important;align-items:stretch!important;justify-content:stretch!important}
html body [data-club-coaches] > article.public-profile-card,
html body :is([data-referees],[data-referee-lead]) > article.public-profile-card {width:100%!important;max-width:none!important;min-width:0!important;min-height:430px!important;height:100%!important;display:flex!important;flex-direction:column!important;gap:0!important;padding:0!important;overflow:hidden!important;border-radius:20px!important;border:1px solid var(--cbhb-accent-soft-border,var(--cbhb-accent))!important;background:linear-gradient(155deg,var(--cbhb-theme-dark,#102f3e),var(--cbhb-theme-end,#20586c))!important;box-shadow:0 12px 28px rgba(0,0,0,.16)!important}
html body [data-club-coaches] > article.public-profile-card > img,
html body :is([data-referees],[data-referee-lead]) > article.public-profile-card > img {display:block!important;width:100%!important;max-width:none!important;height:276px!important;min-height:276px!important;object-fit:contain!important;object-position:center!important;border:0!important;border-radius:0!important;background:linear-gradient(135deg,var(--cbhb-theme-dark,#102f3e),var(--cbhb-theme-end,#20586c))!important}
html body [data-club-coaches] > article.public-profile-card > div,
html body :is([data-referees],[data-referee-lead]) > article.public-profile-card > div {width:auto!important;min-height:154px!important;flex:1!important;padding:14px 16px 18px!important;border:0!important;border-top:3px solid var(--cbhb-accent)!important;background:linear-gradient(155deg,var(--cbhb-theme-dark,#102f3e),var(--cbhb-theme-end,#20586c))!important;color:#fff!important}
html body [data-club-coaches] .person-name-line,
html body :is([data-referees],[data-referee-lead]) .person-name-line {display:block!important;margin:0 0 10px!important;padding:0 0 8px!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.55)!important;border-radius:0!important;background:transparent!important;font-size:1.2rem!important;line-height:1.15!important;overflow:visible!important;white-space:normal!important}
html body [data-club-coaches] .person-name-line :is(span,strong),
html body :is([data-referees],[data-referee-lead]) .person-name-line :is(span,strong) {display:block!important;white-space:normal!important;overflow-wrap:anywhere!important}
html body [data-club-coaches] .person-first-name,
html body :is([data-referees],[data-referee-lead]) .person-first-name {color:#fff!important}
html body [data-club-coaches] .person-last-name,
html body :is([data-referees],[data-referee-lead]) .person-last-name {color:var(--cbhb-accent,#40caff)!important;font-style:italic!important}
html body [data-club-coaches] .cbhb-coach-teams {list-style:none!important;margin:0!important;padding:0!important;color:#fff!important;font-size:15px!important;font-weight:700!important;line-height:1.35!important}
html body [data-club-coaches] .cbhb-coach-teams li {margin:0!important;padding:0!important}
html body :is([data-referees],[data-referee-lead]) .public-profile-card p {color:#fff!important;margin:0!important;font-size:15px!important;font-weight:700!important}
/* Classements A/B : même bloc, titres, colonnes et débordement maîtrisé. */
.team-live [data-standings] {display:grid;grid-template-columns:minmax(0,1fr);gap:20px;min-width:0;width:100%}
.team-live [data-standings] .club-standing-compact {width:100%;min-width:0;margin:0;box-sizing:border-box}
.team-live [data-standings] .club-standing-compact > h3 {margin:0 0 12px!important;font-size:1.1rem!important;font-weight:850!important;line-height:1.3!important;color:var(--cbhb-button-dark,#103743)!important}
.team-live [data-standings] .club-standing-compact .standings-wrap {width:100%;max-width:100%;min-width:0;overflow-x:auto;-webkit-overflow-scrolling:touch}
.team-live [data-standings] .club-standing-compact .standings-table {width:100%;border-collapse:collapse;table-layout:fixed}
.team-live [data-standings] .club-standing-compact .standings-table :is(th,td) {box-sizing:border-box;vertical-align:middle}
.team-live [data-standings] .club-standing-compact .standings-table :is(th,td):nth-child(1) {width:7%}
.team-live [data-standings] .club-standing-compact .standings-table :is(th,td):nth-child(2) {width:37%;white-space:normal;overflow-wrap:anywhere;text-align:left}
.team-live [data-standings] .club-standing-compact .standings-table :is(th,td):nth-child(n+3) {width:9.33%}
@media(max-width:560px){.team-live [data-standings] .club-standing-compact .standings-wrap {overflow-x:auto}.team-live [data-standings] .club-standing-compact .standings-table {min-width:620px;table-layout:fixed}}

/* CBHB 2026-11-10 : alignement des cartes, sans toucher aux autres effectifs. */
html body [data-club-coaches].cbhb-coaches-unique {align-items:stretch!important}
html body [data-club-coaches] > article.public-profile-card {height:100%!important;min-height:0!important}
html body [data-club-coaches] > article.public-profile-card > div {flex:1!important}
