/* Section « Sport » (lot sport-95, #257). Complète les classes « sp- » de #186 ; préfixe « sp95- ». */
.sp95 section + section { margin-top: 40px; }
.sp95-carte { margin: 0 0 16px; }
.sp95-carte__cadre { position: relative; z-index: 0; isolation: isolate; aspect-ratio: 4 / 3; border: 1px solid var(--c-border, #E2E8F0); border-radius: var(--r-md, 12px); overflow: hidden; background: #E2E8F0; }
@media (min-width: 1024px) { .sp95-carte__cadre { aspect-ratio: 16 / 9; } }
#sp95-plan { position: absolute; inset: 0; z-index: 0; }
.sp95-carte .leaflet-container { font-family: inherit; }
.sp95-carte .leaflet-control-attribution { font-size: 12px; line-height: 16px; }
.sp95-carte .leaflet-popup-content { margin: 12px 16px; font-size: 14px; line-height: 20px; }
@media (pointer: coarse), (max-width: 1023.98px) { .sp95-carte .leaflet-bar a { width: 44px; height: 44px; line-height: 44px; } }
.sp95-legende { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 12px 0 0; padding: 0; list-style: none; }
.sp95-legende label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.sp95-legende input { width: 20px; height: 20px; margin: 0; }
.sp95-pastille { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #64748B; }
.sp95-pastille--stades { background: #15803D; } .sp95-pastille--piscines { background: #0369A1; } .sp95-pastille--gymnases { background: #7C3AED; }
.sp95-pastille--tennis { background: #C2410C; } .sp95-pastille--proximite { background: #475569; } .sp95-pastille--nature { background: #A16207; }
.sp95-pastille--autres { background: #64748B; }
.sp95-pastille--cpj { width: 18px; height: 18px; border-radius: 4px; background: #B91C1C; }
.sp95-marqueur { background: none; border: 0; }
.sp95-pin { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; box-sizing: border-box; border: 2px solid #fff; border-radius: 6px; background: #B91C1C; color: #fff; font-weight: 700; font-size: 13px; box-shadow: 0 1px 3px rgba(15, 23, 42, .4); }
.sp95-details { margin: 16px 0; }
.sp95-details > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; color: var(--c-action, #0066CC); }
.sp95-total th, .sp95-total td { font-weight: 700; }
.sp95-liste { margin: 16px 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.sp95-liste li { padding: 12px 16px; border: 1px solid var(--c-border, #E2E8F0); border-radius: var(--r-md, 12px); overflow-wrap: anywhere; }
.sp95-meta { display: block; margin: 2px 0 0; color: var(--c-text-muted, #475569); font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
.sp95-grille { margin: 16px 0; padding: 0; list-style: none; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.sp95-carte-cpj { padding: 12px 16px; border: 1px solid var(--c-border, #E2E8F0); border-left: 4px solid #B91C1C; border-radius: var(--r-md, 12px); overflow-wrap: anywhere; }
.sp95-sports { display: block; margin-top: 6px; font-size: 14px; line-height: 20px; }
.sp95-federations { margin: 8px 0 16px; padding-left: 24px; }
.sp95-federations li { margin: 4px 0; }
.sp95-federations .sp95-meta { display: inline; }
.sp95-sportifs { margin: 16px 0; padding: 0; list-style: none; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.sp95-sportif { padding: 16px; border: 1px solid var(--c-border, #E2E8F0); border-radius: var(--r-md, 12px); background: var(--c-surface, #fff); min-width: 0; overflow-wrap: anywhere; }
.sp95-sportif__tete { display: flex; gap: 16px; align-items: flex-start; }
.sp95-sportif__tete > div { min-width: 0; }
.sp95-sportif__nom { margin: 0; font-size: 18px; line-height: 24px; font-weight: 700; }
.sp95-portrait { flex: 0 0 80px; margin: 0; }
.sp95-portrait img { display: block; width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.sp95-portrait figcaption { margin-top: 4px; font-size: 11px; line-height: 14px; color: var(--c-text-muted, #475569); overflow-wrap: anywhere; }
.sp95-palmares { margin: 12px 0 8px; padding: 0; list-style: none; font-size: 14px; line-height: 20px; }
.sp95-palmares li { padding: 4px 0; border-top: 1px solid var(--c-border, #E2E8F0); }
.sp95-annee { font-variant-numeric: tabular-nums; font-weight: 700; }
.sp95-res { display: inline-block; padding: 0 6px; border-radius: 4px; background: #F1F5F9; color: #1E293B; font-weight: 600; }
.sp95-res--or1 { background: #FEF3C7; color: #713F12; } .sp95-res--or2 { background: #E2E8F0; color: #1E293B; } .sp95-res--or3 { background: #FFEDD5; color: #7C2D12; }
.sp95-niveau { color: var(--c-text-muted, #475569); }
.sp95-epreuve { color: var(--c-action, #0066CC); }
.sp95-liens { margin: 8px 0 0; font-size: 14px; }
.sp95-limite { margin-top: 16px; font-size: 14px; color: var(--c-text-muted, #475569); }
/* #260 : tableau des 183 communes sans attribut par cellule ; les libellés mobiles viennent des propriétés --l2 à --l5 du tableau */
.sp95-communes td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sp95-communes th a { color: var(--sp-action); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.sp95-communes th a:hover { text-decoration-thickness: 2px; }
@media (max-width: 639.98px) {
    .sp95-communes td { white-space: normal; }
    .sp95-communes tbody td:nth-child(2)::before { content: var(--l2); }
    .sp95-communes tbody td:nth-child(3)::before { content: var(--l3); }
    .sp95-communes tbody td:nth-child(4)::before { content: var(--l4); }
    .sp95-communes tbody td:nth-child(5)::before { content: var(--l5); }
}
