/*
 * Rugby et Compagnie - styles de la fiche club (sortis de club.php le 23/09
 * pour être mis en cache par le navigateur ; auparavant ~44 Ko de CSS
 * renvoyés à chaque affichage de fiche). Chargé par club.php avec
 * ?v=<date de modification>.
 */
.ffr-ranking-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;}
.ffr-ranking{width:100%;border-collapse:collapse;font-size:.78rem;min-width:650px;}
.ffr-ranking th,.ffr-ranking td{padding:8px 7px;border-bottom:1px solid #e7e9e5;text-align:center;white-space:nowrap;}
.ffr-ranking th{font-size:.68rem;text-transform:uppercase;letter-spacing:.03em;color:#6b716c;font-weight:700;}
.ffr-ranking th.club-col,.ffr-ranking td.club-col{text-align:left;}
.ffr-ranking tr.current{background:#eef5f0;font-weight:700;}
.ffr-ranking .rank-col{width:34px;font-weight:800;color:#1b6535;}
.ffr-ranking .pts-col{font-weight:800;}
.ffr-ranking a{color:inherit;text-decoration:none;}
.ffr-ranking a:hover{text-decoration:underline;}
.ffr-ranking .ranking-club{display:inline-flex;align-items:center;gap:8px;min-width:0;vertical-align:middle;}
.ffr-ranking .ranking-club-logo{width:30px;height:30px;object-fit:contain;flex:0 0 30px;display:block;}
.ffr-ranking .ranking-club-name{overflow:hidden;text-overflow:ellipsis;max-width:220px;}
@media(max-width:600px){.ffr-ranking .ranking-club-logo{width:26px;height:26px;flex-basis:26px}.ffr-ranking .ranking-club-name{max-width:150px;}}
.ffr-ranking-meta{margin:-2px 0 12px;color:#69706a;font-size:.75rem;}

.supporters-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:6px;}
.supporters-header h3{margin:0;}
.supporter-pills{display:flex;gap:8px;flex-wrap:wrap;}
.supporter-pill{background:#f1f3ef;border-radius:20px;padding:4px 10px;font-size:.75rem;color:#2c2c2c;}
.supporter-pill strong{color:#1b6535;}
.supporters-grid{display:flex;flex-wrap:wrap;gap:16px 14px;margin-top:14px;}
.supporter-item{display:flex;flex-direction:column;align-items:center;width:64px;text-decoration:none;position:relative;}
.supporter-avatar{width:48px;height:48px;border-radius:50%;background:#1b6535;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.05rem;overflow:hidden;}
.supporter-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%;}
.supporter-badge{position:absolute;top:32px;left:34px;background:#e1dd72;color:#10240f;font-size:.68rem;font-weight:700;border-radius:50%;min-width:18px;height:18px;display:flex;align-items:center;justify-content:center;padding:0 3px;border:2px solid #fff;}
.supporter-name{margin-top:5px;font-size:.7rem;color:#2c2c2c;text-align:center;max-width:64px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.supporter-item:hover .supporter-avatar{outline:2px solid #1b6535;}
/* Masonry : les 3 panneaux (Supporters, Popularité, Top 10) n'ont pas la même
   hauteur de contenu. En grille classique ils sont étirés à la hauteur du
   plus grand (Popularité, à cause du graphique + FAQ), ce qui laisse de
   grands vides sous les panneaux plus courts. Un layout en colonnes CSS
   (column-count) laisse chaque panneau à sa hauteur naturelle et le
   navigateur équilibre le remplissage entre les colonnes. */
body.club-page .club-secondary{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:24px;
  width:100%;
  max-width:100%;
  min-width:0;
  box-sizing:border-box;
}
body.club-page .club-secondary .club-panel{
  display:block;
  width:auto;
  max-width:100%;
  min-width:0;
  margin:0;
  box-sizing:border-box;
  overflow:hidden;
}
body.club-page .club-secondary .popu-chart{
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
}
body.club-page .club-secondary .top10-list{
  width:100%;
  max-width:100%;
  min-width:0;
  box-sizing:border-box;
}
body.club-page .club-secondary .top10-list li{
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
}
body.club-page .club-secondary .top10-list li a{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.club-page .club-secondary .top10-list .pts{
  flex:0 0 auto;
}
/* Popularité : même identité club que le classement sportif. */
body.club-page .club-secondary .top10-list a.popularity-club{
  display:inline-flex;
  align-items:center;
  gap:8px;
  flex:1 1 auto;
  min-width:0;
  color:inherit;
  text-decoration:none;
  font:inherit;
}
body.club-page .club-secondary .top10-list a.popularity-club:hover{ text-decoration:underline; }
body.club-page .club-secondary .top10-list a.popularity-club .ranking-club-logo{
  width:30px;height:30px;object-fit:contain;flex:0 0 30px;display:block;
}
body.club-page .club-secondary .top10-list a.popularity-club .ranking-club-name{
  min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:220px;
  font-size:.78rem; /* exactement la même taille que les noms du classement sportif */
}
@media(max-width:600px){
  body.club-page .club-secondary .top10-list a.popularity-club .ranking-club-logo{width:26px;height:26px;flex-basis:26px;}
  body.club-page .club-secondary .top10-list a.popularity-club .ranking-club-name{max-width:150px;}
}
@media (max-width:900px){
  body.club-page .club-secondary{
    grid-template-columns:minmax(0,1fr);
  }
}
.club-recrut-list{display:flex;flex-direction:column;gap:10px;margin-top:10px;}
.club-recrut-item{background:#f1f3ef;border-radius:8px;padding:10px 12px;}
.club-recrut-item-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px;}
.club-recrut-niveau{font-size:.72rem;background:#1b6535;color:#fff;padding:2px 9px;border-radius:10px;white-space:nowrap;}
.club-recrut-desc{margin:6px 0 0;font-size:.85rem;color:#2c2c2c;white-space:pre-line;}
.club-recrut-date{display:block;margin-top:6px;font-size:.7rem;color:rgba(0,0,0,.45);}
.club-emblem-img{width:100%;height:100%;object-fit:contain;border-radius:inherit;}
/* Hero (gauche) et panneau Localisation (droite) doivent faire la même
   hauteur - stretch fonctionne aussi bien si .club-hero est en grid qu'en
   flex, sans toucher aux largeurs de colonnes déjà définies ailleurs. */
body.club-page .club-hero{align-items:stretch;}
body.club-page .club-hero-main{display:flex;flex-direction:column;}
body.club-page .loc-panel{display:flex;flex-direction:column;}
/* Icône "blason" du marqueur sur la mini-carte de localisation (remplace le
   pin + popup nom de club par défaut de Leaflet). */
.club-map-icon{border-radius:8px;background:#fff;padding:3px;box-shadow:0 1px 5px rgba(0,0,0,.4);}
/* Clubs les plus proches (distance à vol d'oiseau), en bas de page. */
.club-nearby-panel{margin-top:24px;}
.club-nearby-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;}
.club-nearby-arrows{display:flex;gap:6px;flex-shrink:0;}
.club-nearby-arrow{width:30px;height:30px;border-radius:50%;border:1px solid #d8dcd4;background:#fff;color:#1b6535;font-size:1.2rem;line-height:1;cursor:pointer;}
.club-nearby-arrow:hover{background:#1b6535;color:#fff;}
.club-nearby-scroll{display:flex;gap:16px;overflow-x:auto;padding:10px 2px 6px;scroll-snap-type:x proximity;scrollbar-width:thin;}
.club-nearby-item{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;width:84px;text-decoration:none;scroll-snap-align:start;}
.club-nearby-emblem{width:56px;height:56px;border-radius:10px;overflow:hidden;background:#f1f3ef;display:flex;align-items:center;justify-content:center;}
.club-nearby-emblem img{width:100%;height:100%;object-fit:contain;}
.club-nearby-name{margin-top:6px;font-size:.72rem;color:#2c2c2c;text-align:center;max-width:84px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.club-nearby-distance{font-size:.68rem;color:#1b6535;font-weight:700;}
/* Rugby n'B à proximité : même bandeau slider que "Clubs les plus proches",
   mais avec des cartes plus larges (nom, distance, profils, contact). */
.rnb-slider-scroll{align-items:stretch;}
.rnb-slider-item{flex:0 0 auto;width:220px;display:flex;flex-direction:column;background:#f8f9f6;border:1px solid #e4e8de;border-radius:10px;padding:12px;scroll-snap-align:start;}
.rnb-slider-name{font-weight:700;color:#1b6535;text-decoration:none;font-size:.9rem;}
.rnb-slider-name:hover{text-decoration:underline;}
.rnb-slider-badges{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px;}
.rnb-slider-badge{font-size:.65rem;background:#e4ede1;color:#1b6535;border-radius:20px;padding:2px 8px;font-weight:600;}
.rnb-slider-form{margin-top:8px;display:flex;gap:6px;flex-wrap:wrap;}
.rnb-slider-form input[type="text"]{flex:1;min-width:100px;}
/* Bandeaux "club secret de la semaine" (voir includes/db.php, rnc_secret_*). */
.secret-banner{border-radius:8px;padding:12px 16px;text-align:center;margin-bottom:16px;color:#fff;}
.secret-banner strong{display:block;font-size:1.02rem;}
.secret-banner-sub{display:inline-block;margin-top:2px;font-size:.72rem;opacity:.85;}
.secret-banner-found{background:#1b6535;animation:rncSecretBounce .8s ease-out both;}
.secret-banner-close{background:#8a3b22;animation:rncSecretShake .6s ease-out both;}
@keyframes rncSecretBounce{0%{transform:scale(.3);opacity:0;}50%{transform:scale(1.05);}70%{transform:scale(.9);}100%{transform:scale(1);opacity:1;}}
@keyframes rncSecretShake{0%{transform:translateX(-12px);opacity:0;}25%{transform:translateX(12px);}50%{transform:translateX(-6px);}75%{transform:translateX(6px);}100%{transform:translateX(0);opacity:1;}}

/* Partage : icônes intégrées comme images pour éviter tout conflit avec le CSS global. */
.share-row{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin-top:14px;
}
.share-btn{
  width:38px;
  height:38px;
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  flex:0 0 38px;
  padding:0 !important;
  border:1px solid #dfe5dc;
  border-radius:50%;
  background:#fff !important;
  text-decoration:none !important;
  box-shadow:0 2px 8px rgba(10,33,19,.06);
  overflow:hidden;
  transition:transform .16s ease,background .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.share-btn:hover{
  transform:translateY(-1px);
  background:#eef5f0 !important;
  border-color:#1b6535;
  box-shadow:0 5px 14px rgba(10,33,19,.14);
}
.share-btn .share-icon{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  width:18px !important;
  height:18px !important;
  min-width:18px !important;
  min-height:18px !important;
  max-width:18px !important;
  max-height:18px !important;
  object-fit:contain !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  filter:none !important;
}
@media(max-width:700px){
  .share-row{gap:7px;}
  .share-btn{width:36px;height:36px;flex-basis:36px;}
  .share-btn .share-icon{
    width:17px !important;
    height:17px !important;
    min-width:17px !important;
    min-height:17px !important;
    max-width:17px !important;
    max-height:17px !important;
  }
}

/* ============================================================
   NOUVEAU HEADER CLUB
   ============================================================ */
body.club-page,
body.club-page *,
body.club-page *::before,
body.club-page *::after,
body.club-page button,
body.club-page input,
body.club-page select,
body.club-page textarea,
body.club-page .leaflet-container,
body.club-page .leaflet-container *,
body.club-page .leaflet-control,
body.club-page .leaflet-control *{
  font-family:'Montserrat',sans-serif !important;
}
body.club-page .club-profile-header{
  width:100%;
  margin:0 0 24px;
  overflow:hidden;
  border:1px solid #e1e7df;
  border-radius:24px;
  background:#fff;
  box-shadow:0 18px 48px rgba(10,33,19,.13);
}
body.club-page .club-profile-grid{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);
  min-height:555px;
}
body.club-page .club-profile-main{
  position:relative;
  display:flex;
  flex-direction:column;
  min-width:0;
  overflow:hidden;
  padding:34px;
  color:#fff;
  background:
    radial-gradient(circle at 88% 5%,rgba(225,221,114,.17),transparent 30%),
    linear-gradient(145deg,#123d26,#082516);
}
body.club-page .club-profile-main::before,
body.club-page .club-profile-main::after{
  content:"";
  position:absolute;
  border:1px solid rgba(255,255,255,.065);
  border-radius:50%;
  pointer-events:none;
}
body.club-page .club-profile-main::before{
  right:-170px;
  bottom:-150px;
  width:330px;
  height:330px;
}
body.club-page .club-profile-main::after{
  right:-88px;
  bottom:-78px;
  width:205px;
  height:205px;
}
body.club-page .club-profile-top{
  position:relative;
  z-index:1;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
}
body.club-page .club-profile-identity{
  display:flex;
  align-items:center;
  min-width:0;
  gap:20px;
}
body.club-page .club-profile-emblem{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 102px;
  width:102px;
  height:102px;
  overflow:hidden;
  padding:8px;
  border-radius:23px;
  background:#fff;
  color:#123420;
  box-shadow:0 12px 28px rgba(0,0,0,.2);
  font-size:1.25rem;
  font-weight:900;
}
body.club-page .club-profile-emblem img{
  width:100%;
  height:100%;
  object-fit:contain;
}
body.club-page .club-profile-heading{
  min-width:0;
}
body.club-page .club-profile-eyebrow{
  display:inline-flex;
  align-items:center;
  width:auto;
  margin-bottom:8px;
  color:#dce9be;
  font-size:.7rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.09em;
}
body.club-page .club-profile-heading h1{
  margin:0;
  color:#fff;
  font-size:clamp(2rem,4vw,3.2rem);
  font-weight:900;
  line-height:1;
  letter-spacing:-.035em;
}
body.club-page .club-profile-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:15px;
}
body.club-page .club-profile-meta .club-profile-pill{
  display:inline-flex;
  align-items:center;
  width:auto;
  max-width:100%;
  padding:6px 11px;
  border:1px solid rgba(168,198,108,.48);
  border-radius:999px;
  background:rgba(168,198,108,.08);
  color:#d9ebb2;
  font-size:.72rem;
  font-weight:700;
  white-space:nowrap;
}
body.club-page .club-profile-score{
  flex:0 0 auto;
  min-width:104px;
  padding:15px 18px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:17px;
  background:rgba(0,0,0,.18);
  text-align:center;
}
body.club-page .club-profile-score .num{
  color:#e1dd72;
  font-size:2.4rem;
  font-weight:900;
  line-height:1;
}
body.club-page .club-profile-score .lbl{
  margin-top:5px;
  color:rgba(255,255,255,.6);
  font-size:.64rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
}
body.club-page .club-profile-score-line{
  width:42px;
  height:3px;
  margin:10px auto 0;
  border-radius:999px;
  background:#a8c66c;
}
body.club-page .club-profile-desc{
  position:relative;
  z-index:1;
  max-width:650px;
  margin:25px 0 0;
  color:rgba(255,255,255,.72);
  font-size:.84rem;
  line-height:1.65;
}
body.club-page .club-profile-stats{
  position:relative;
  z-index:1;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:20px;
}
body.club-page .club-profile-stat{
  display:inline-flex;
  align-items:center;
  width:auto;
  gap:10px;
  padding:10px 13px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:13px;
  background:rgba(0,0,0,.14);
}
body.club-page .club-profile-stat-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 34px;
  width:34px;
  height:34px;
  border:1px solid rgba(168,198,108,.32);
  border-radius:10px;
  background:rgba(168,198,108,.13);
  color:#dce9be;
}
body.club-page .club-profile-stat-icon svg{
  display:block;
  width:19px;
  height:19px;
  stroke:currentColor;
  stroke-width:2;
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
}
body.club-page .club-profile-stat-copy{
  display:flex;
  flex-direction:column;
  gap:2px;
}
body.club-page .club-profile-stat-value{
  color:#fff;
  font-size:1.05rem;
  font-weight:900;
  line-height:1;
}
body.club-page .club-profile-stat-label{
  color:rgba(255,255,255,.54);
  font-size:.64rem;
  font-weight:600;
}
body.club-page .club-support-card{
  position:relative;
  z-index:1;
  margin-top:21px;
  padding:17px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:17px;
  background:rgba(255,255,255,.06);
}
body.club-page .club-support-head{
  margin-bottom:12px;
}
body.club-page .club-support-head strong{
  display:block;
  color:#fff;
  font-size:.88rem;
  font-weight:800;
}
body.club-page .club-support-head span{
  display:block;
  margin-top:3px;
  color:rgba(255,255,255,.52);
  font-size:.7rem;
  line-height:1.4;
}
body.club-page .club-support-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  width:100%;
  gap:8px;
}
body.club-page .club-support-grid .club-support-option{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  width:100% !important;
  min-width:0 !important;
  min-height:58px;
  margin:0 !important;
  padding:9px 11px !important;
  border:1px solid rgba(255,255,255,.15) !important;
  border-radius:10px !important;
  background:rgba(255,255,255,.05) !important;
  color:#fff !important;
  box-shadow:none !important;
  text-align:left;
  font-family:'Montserrat',sans-serif !important;
  cursor:pointer;
  text-decoration:none !important;
  box-sizing:border-box;
}
body.club-page .club-support-grid .club-support-option:hover:not(:disabled){
  border-color:rgba(168,198,108,.6) !important;
  background:rgba(168,198,108,.11) !important;
}
body.club-page .club-support-grid .club-support-option.selected:hover{
  background:#b7d574 !important;
}
body.club-page .club-support-grid .club-support-option.is-used-elsewhere{
  opacity:.62;
  cursor:pointer;
}
body.club-page .club-support-grid .club-support-option.is-used-elsewhere:hover{
  opacity:1;
  border-color:#a8c66c !important;
  background:rgba(168,198,108,.12) !important;
}
body.club-page .club-support-grid .club-support-option strong{
  display:block;
  font-size:.75rem;
  font-weight:800;
  line-height:1.2;
}
body.club-page .club-support-grid .club-support-option small{
  display:block;
  width:100%;
  margin-top:3px;
  overflow:hidden;
  color:rgba(255,255,255,.47);
  font-size:.58rem;
  font-weight:500;
  line-height:1.25;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.club-page .club-support-grid .club-support-option.selected{
  border-color:#a8c66c !important;
  background:#a8c66c !important;
  color:#10240f !important;
}
body.club-page .club-support-grid .club-support-option.selected small{
  color:#385020;
}
body.club-page .support-selected-info{
  display:flex !important;
  align-items:center;
  gap:7px;
  flex-wrap:wrap;
  margin-top:4px !important;
  overflow:visible !important;
  white-space:normal !important;
}
body.club-page .support-selected-info > span:first-child{
  color:#385020;
}
body.club-page .support-remove{
  display:inline-flex;
  align-items:center;
  width:auto;
  padding:3px 7px;
  border-radius:999px;
  background:rgba(16,36,15,.18);
  color:#173619;
  font-size:.58rem;
  font-weight:900;
  line-height:1;
  text-transform:uppercase;
  letter-spacing:.02em;
  white-space:nowrap;
}
body.club-page .club-support-option.selected:hover .support-remove{
  background:rgba(16,36,15,.28);
}
body.club-page .club-support-grid .club-support-option:disabled{
  opacity:.38;
  cursor:not-allowed;
}
body.club-page .club-support-grid .btn-donner{
  grid-column:1/-1;
  width:100%;
  margin:0;
}
body.club-page .club-profile-bottom{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}
body.club-page .club-profile-trend{
  display:inline-flex;
  align-items:center;
  width:auto;
  gap:7px;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(168,198,108,.14);
  color:#cfe69c;
  font-size:.68rem;
  font-weight:700;
}
body.club-page .club-profile-map-side{
  display:flex;
  flex-direction:column;
  min-width:0;
  background:#eef2ec;
}
body.club-page .club-profile-map-wrap{
  position:relative;
  flex:1;
  min-height:340px;
  overflow:hidden;
  background:#dde7dc;
}
body.club-page .club-profile-map-wrap .loc-map{
  width:100%;
  height:100%;
  min-height:340px;
  border-radius:0;
}

body.club-page .club-profile-map-wrap .loc-map{
  pointer-events:none !important;
  touch-action:none !important;
  user-select:none !important;
  -webkit-user-select:none !important;
}
body.club-page .leaflet-control-zoom{
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}
body.club-page .club-map-lock{
  position:absolute;
  inset:0;
  z-index:900;
  display:block;
  background:transparent;
  pointer-events:auto;
  touch-action:none;
  cursor:default;
}
body.club-page .club-profile-map-label{
  z-index:950 !important;
}

body.club-page .club-profile-map-label{
  position:absolute;
  z-index:500;
  top:17px;
  left:17px;
  display:inline-flex;
  align-items:center;
  width:auto;
  gap:7px;
  padding:8px 11px;
  border-radius:999px;
  background:rgba(13,49,29,.9);
  color:#fff;
  font-size:.68rem;
  font-weight:800;
  box-shadow:0 5px 14px rgba(0,0,0,.14);
  pointer-events:none;
}
body.club-page .club-profile-map-label::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:#a8c66c;
}
body.club-page .club-profile-location{
  padding:21px;
  background:#fff;
}
body.club-page .club-profile-location-title{
  margin:0 0 13px;
  color:#123420;
  font-size:.7rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}
body.club-page .club-profile-location-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
}
body.club-page .club-profile-location-box{
  padding:12px 13px;
  border:1px solid #dfe6dc;
  border-radius:11px;
  background:#f7f9f6;
  color:#123420;
  font-size:.74rem;
  font-weight:600;
  line-height:1.45;
}
body.club-page .club-profile-location-box .loc-label{
  display:block;
  margin-bottom:5px;
  color:#7a847d;
  font-size:.6rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
}
body.club-page .club-profile-location .share-row{
  margin-top:15px;
}
@media(max-width:960px){
  body.club-page .club-profile-grid{
    grid-template-columns:1fr;
  }
  body.club-page .club-profile-map-side{
    border-top:1px solid #dfe6dc;
  }
  body.club-page .club-profile-map-wrap,
  body.club-page .club-profile-map-wrap .loc-map{
    min-height:300px;
  }
}
@media(max-width:650px){
  body.club-page main.wide{
    width:calc(100% - 20px);
    margin-left:auto;
    margin-right:auto;
  }
  body.club-page .club-profile-header{
    margin-bottom:18px;
    border-radius:17px;
  }
  body.club-page .club-profile-grid{
    display:flex;
    flex-direction:column;
    min-height:0;
  }
  body.club-page .club-profile-main{
    padding:20px 16px 18px;
  }
  body.club-page .club-profile-top{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:start;
    gap:12px;
  }
  body.club-page .club-profile-identity{
    align-items:flex-start;
    gap:12px;
    min-width:0;
  }
  body.club-page .club-profile-emblem{
    flex:0 0 64px;
    width:64px;
    height:64px;
    padding:5px;
    border-radius:15px;
  }
  body.club-page .club-profile-heading{
    min-width:0;
  }
  body.club-page .club-profile-eyebrow{
    margin-bottom:5px;
    font-size:.58rem;
  }
  body.club-page .club-profile-heading h1{
    font-size:clamp(1.45rem,7vw,2rem);
    line-height:1.05;
    overflow-wrap:anywhere;
  }
  body.club-page .club-profile-meta{
    gap:5px;
    margin-top:10px;
  }
  body.club-page .club-profile-meta .club-profile-pill{
    padding:5px 8px;
    font-size:.58rem;
    line-height:1.25;
    white-space:normal;
  }
  body.club-page .club-profile-score{
    min-width:66px;
    padding:9px 9px 8px;
    border-radius:13px;
  }
  body.club-page .club-profile-score .num{
    font-size:1.55rem;
  }
  body.club-page .club-profile-score .lbl{
    margin-top:3px;
    font-size:.52rem;
  }
  body.club-page .club-profile-score-line{
    width:28px;
    margin-top:7px;
  }
  body.club-page .club-profile-desc{
    margin-top:17px;
    font-size:.72rem;
    line-height:1.55;
  }
  body.club-page .club-profile-stats{
    display:grid;
    grid-template-columns:1fr 1fr;
    width:100%;
    gap:7px;
    margin-top:15px;
  }
  body.club-page .club-profile-stat{
    width:100%;
    min-width:0;
    gap:8px;
    padding:9px 10px;
  }
  body.club-page .club-profile-stat-icon{
    flex-basis:30px;
    width:30px;
    height:30px;
  }
  body.club-page .club-profile-stat-icon svg{
    width:17px;
    height:17px;
  }
  body.club-page .club-profile-stat-value{
    font-size:.9rem;
  }
  body.club-page .club-profile-stat-label{
    font-size:.54rem;
    line-height:1.25;
  }
  body.club-page .club-support-card{
    margin-top:15px;
    padding:13px;
    border-radius:14px;
  }
  body.club-page .club-support-head{
    margin-bottom:10px;
  }
  body.club-page .club-support-head strong{
    font-size:.78rem;
  }
  body.club-page .club-support-head span{
    font-size:.6rem;
  }
  body.club-page .club-support-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:5px;
  }
  body.club-page .club-support-grid .club-support-option{
    width:100% !important;
    min-width:0 !important;
    min-height:58px;
    padding:8px 6px !important;
    border-radius:9px !important;
    overflow:hidden;
  }
  body.club-page .club-support-grid .club-support-option strong{
    width:100%;
    font-size:.63rem;
    white-space:nowrap;
  }
  body.club-page .club-support-grid .club-support-option small{
    width:100%;
    margin-top:3px;
    font-size:.49rem;
    line-height:1.2;
    white-space:normal;
    overflow:hidden;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
  }
  body.club-page .club-support-grid .club-support-option .support-selected-info{
    display:flex !important;
    overflow:visible !important;
    -webkit-line-clamp:unset;
    -webkit-box-orient:initial;
    gap:4px;
  }
  body.club-page .support-remove{
    padding:3px 6px;
    font-size:.48rem;
  }
  body.club-page .club-profile-bottom{
    margin-top:12px;
  }
  body.club-page .club-profile-trend{
    font-size:.58rem;
    padding:6px 8px;
  }
  body.club-page .club-profile-map-side{
    border-top:0;
  }
  body.club-page .club-profile-map-wrap,
  body.club-page .club-profile-map-wrap .loc-map{
    min-height:235px;
    height:235px;
  }
  body.club-page .club-profile-map-label{
    top:10px;
    left:10px;
    padding:6px 8px;
    font-size:.56rem;
  }
  body.club-page .club-profile-location{
    padding:15px 13px 16px;
  }
  body.club-page .club-profile-location-title{
    margin-bottom:10px;
    font-size:.62rem;
  }
  body.club-page .club-profile-location-grid{
    grid-template-columns:1fr;
    gap:7px;
  }
  body.club-page .club-profile-location-box{
    padding:10px 11px;
    font-size:.66rem;
  }
  body.club-page .club-profile-location-box .loc-label{
    font-size:.54rem;
  }
  body.club-page .club-profile-location .share-row{
    gap:6px;
    margin-top:12px;
  }
  body.club-page .club-profile-location .share-btn{
    width:32px;
    height:32px;
    flex-basis:32px;
  }
  body.club-page .club-profile-location .share-btn .share-icon{
    width:15px !important;
    height:15px !important;
    min-width:15px !important;
    min-height:15px !important;
    max-width:15px !important;
    max-height:15px !important;
  }
}
@media(max-width:390px){
  body.club-page .club-profile-main{
    padding-left:13px;
    padding-right:13px;
  }
  body.club-page .club-profile-top{
    grid-template-columns:1fr;
  }
  body.club-page .club-profile-score{
    display:inline-flex;
    align-items:center;
    justify-content:flex-start;
    width:max-content;
    min-width:0;
    gap:6px;
    padding:7px 10px;
    text-align:left;
  }
  body.club-page .club-profile-score .lbl{
    margin:0;
  }
  body.club-page .club-profile-score-line{
    display:none;
  }
  body.club-page .club-profile-stats{
    grid-template-columns:1fr;
  }
  body.club-page .club-support-grid{
    gap:4px;
  }
  body.club-page .club-support-grid .club-support-option{
    padding:7px 4px !important;
  }
  body.club-page .club-support-grid .club-support-option strong{
    font-size:.58rem;
  }
  body.club-page .club-support-grid .club-support-option small{
    font-size:.45rem;
  }
}


/* ============================================================
   SIGNALEMENT / VALIDATION DES INFORMATIONS CLUB
   ============================================================ */
body.club-page .club-report-btn{
  display:inline-flex;align-items:center;gap:7px;width:auto;padding:7px 11px;
  border:1px solid rgba(255,255,255,.15);border-radius:999px;
  background:rgba(255,255,255,.07);color:rgba(255,255,255,.78);
  font:inherit;font-size:.68rem;font-weight:700;cursor:pointer;
}
body.club-page .club-report-btn:hover{border-color:rgba(168,198,108,.55);background:rgba(168,198,108,.12);color:#fff;}
body.club-page .club-report-btn svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}

.club-report-overlay{position:fixed;inset:0;z-index:6000;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(4,18,10,.68);backdrop-filter:blur(3px);}
.club-report-overlay.hidden{display:none;}
.club-report-modal{position:relative;width:min(620px,100%);max-height:calc(100vh - 40px);overflow:auto;padding:24px;border-radius:18px;background:#fff;color:#202820;box-shadow:0 24px 70px rgba(0,0,0,.3);}
.club-report-modal h3{margin:0 38px 6px 0;color:#123420;font-size:1.15rem;}
.club-report-intro{margin:0 0 16px;color:#687068;font-size:.78rem;line-height:1.5;}
.club-report-close{position:absolute;top:14px;right:14px;width:34px;height:34px;border:0;border-radius:50%;background:#f1f3ef;color:#123420;font-size:1.25rem;cursor:pointer;}

.club-report-reward-note{margin:0 0 15px;padding:10px 12px;border:1px solid #dce8c7;border-radius:10px;background:#f4f8ec;color:#36511f;font-size:.72rem;line-height:1.5;}
.club-report-reward-note strong{color:#123420;}
.club-report-feedback{margin:0 0 14px;padding:10px 12px;border-radius:10px;font-size:.75rem;line-height:1.45;}
.club-report-feedback.success{background:#edf7ee;border:1px solid #cfe4d1;color:#1b6535;}
.club-report-feedback.error{background:#fff1ee;border:1px solid #eccfc8;color:#8a3b22;}

.club-report-current{margin-bottom:16px;padding:10px 12px;border-radius:10px;background:#f4f7f2;color:#536055;font-size:.73rem;line-height:1.55;}
.club-report-current strong{color:#123420;}
.club-report-label{display:block;margin:0 0 7px;color:#243126;font-size:.72rem;font-weight:800;}

.club-report-checks{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
.club-report-check{display:flex !important;align-items:center;gap:9px;min-height:42px;margin:0 !important;padding:9px 11px;border:1px solid #d8e0d5;border-radius:10px;background:#f8faf7;color:#354238 !important;font-size:.74rem !important;font-weight:700 !important;cursor:pointer;}
.club-report-check:hover{border-color:#a8c66c;}
.club-report-check.is-checked{border-color:#1b6535;background:#edf5ee;color:#123420 !important;}
.club-report-check input[type="checkbox"]{width:16px !important;min-width:16px !important;height:16px !important;min-height:16px !important;margin:0 !important;padding:0 !important;accent-color:#1b6535;}

.club-report-extra{margin-top:14px;padding:13px;border:1px solid #e0e6dd;border-radius:12px;background:#fafcf9;}
.club-report-extra.hidden{display:none;}
.club-report-levels{display:grid;grid-template-columns:1fr 1fr;gap:6px;max-height:245px;overflow:auto;}
.club-report-radio{display:flex !important;align-items:center;gap:8px;margin:0 !important;padding:8px 9px;border-radius:8px;color:#354238 !important;font-size:.7rem !important;font-weight:700 !important;cursor:pointer;}
.club-report-radio:hover{background:#edf5ee;}
.club-report-radio input[type="radio"]{width:15px !important;min-width:15px !important;height:15px !important;min-height:15px !important;margin:0 !important;padding:0 !important;accent-color:#1b6535;}

.club-report-extra input[type="text"],.club-report-extra textarea{width:100%;min-height:44px;padding:10px 12px;border:1px solid #d8e0d5;border-radius:10px;background:#fff;color:#202820;font:inherit;font-size:.8rem;outline:none;}
.club-report-extra textarea{min-height:105px;resize:vertical;}
.club-report-extra input[type="text"]:focus,.club-report-extra textarea:focus{border-color:#1b6535;box-shadow:0 0 0 3px rgba(27,101,53,.08);}
.club-report-logo-note{margin:0;color:#687068;font-size:.72rem;line-height:1.45;}
.club-report-honeypot{position:absolute !important;left:-9999px !important;width:1px !important;height:1px !important;overflow:hidden !important;}

.club-report-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:19px;}
.club-report-cancel,.club-report-submit{min-height:42px;padding:0 15px;border-radius:10px;font:inherit;font-size:.78rem;font-weight:800;cursor:pointer;}
.club-report-cancel{border:1px solid #d8e0d5;background:#fff;color:#536055;}
.club-report-submit{border:0;background:#1b6535;color:#fff;}
.club-report-submit:hover{background:#123420;}

.club-validation-admin,.club-review-admin{margin-top:22px;padding-top:18px;border-top:1px solid #e0e6dd;}
.club-validation-admin h4,.club-review-admin h4{margin:0 0 5px;color:#123420;font-size:.84rem;}
.club-validation-admin p,.club-review-admin > p{margin:0 0 10px;color:#687068;font-size:.68rem;line-height:1.45;}
.club-validation-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;}
.club-validation-item{display:flex !important;align-items:center;gap:8px;margin:0 !important;padding:9px 10px;border:1px solid #dfe5dc;border-radius:9px;color:#354238 !important;font-size:.7rem !important;font-weight:700 !important;}
.club-validation-item input{width:15px !important;min-width:15px !important;height:15px !important;min-height:15px !important;margin:0 !important;accent-color:#1b6535;}
.club-validation-save{margin-top:10px;min-height:38px;padding:0 12px;border:0;border-radius:9px;background:#123420;color:#fff;font:inherit;font-size:.72rem;font-weight:800;cursor:pointer;}

.club-review-list{display:flex;flex-direction:column;gap:9px;}
.club-review-item{padding:11px;border:1px solid #dfe5dc;border-radius:10px;background:#fafcf9;}
.club-review-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:6px;}
.club-review-type{font-size:.72rem;font-weight:900;color:#123420;text-transform:uppercase;}
.club-review-user{font-size:.65rem;color:#687068;}
.club-review-values{font-size:.7rem;line-height:1.5;color:#4d594f;}
.club-review-values strong{color:#1b6535;}
.club-review-actions{display:flex;gap:7px;margin-top:9px;}
.club-review-actions button{min-height:34px;padding:0 10px;border-radius:8px;font:inherit;font-size:.68rem;font-weight:800;cursor:pointer;}
.club-review-accept{border:0;background:#1b6535;color:#fff;}
.club-review-reject{border:1px solid #d9c9c4;background:#fff;color:#8a3b22;}

@media(max-width:600px){
  .club-report-modal{padding:20px 16px;}
  .club-report-checks,.club-report-levels,.club-validation-grid{grid-template-columns:1fr;}
  .club-report-actions{flex-direction:column-reverse;}
  .club-report-cancel,.club-report-submit{width:100%;}
}


/* ============================================================
   Prochains matchs — clubs Top 14 / Pro D2
   Section pleine largeur, alimentée par la même API que Programme TV.
   ============================================================ */
.club-upcoming{
  margin:0 0 24px;
  width:100%;
  box-sizing:border-box;
}
.club-upcoming-panel{
  position:relative;
  overflow:hidden;
  background:#fff;
  border:1px solid #e7ebe1;
  border-radius:16px;
  box-shadow:0 1px 2px rgba(10,33,19,.06),0 8px 24px rgba(10,33,19,.10);
  padding:20px 22px 22px;
}
.club-upcoming-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}
.club-upcoming-title h2{
  margin:0 0 4px;
  color:#123420;
  font-size:1.2rem;
}
.club-upcoming-title p{
  margin:0;
  color:#6f776f;
  font-size:.8rem;
}
.club-upcoming-controls{
  display:flex;
  gap:7px;
  flex-shrink:0;
}
.club-upcoming-arrow{
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #d8dcd4;
  border-radius:50%;
  background:#fff;
  color:#1b6535;
  font-size:1.2rem;
  line-height:1;
  cursor:pointer;
  transition:background .15s ease,color .15s ease,border-color .15s ease;
}
.club-upcoming-arrow:hover{
  background:#1b6535;
  border-color:#1b6535;
  color:#fff;
}
.club-upcoming-arrow:disabled{
  opacity:.35;
  cursor:default;
}
.club-upcoming-track{
  display:flex;
  gap:14px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  overscroll-behavior-inline:contain;
  padding:2px 1px 8px;
}
.club-upcoming-track::-webkit-scrollbar{display:none;}
.club-match-card{
  flex:0 0 calc((100% - 42px) / 4);
  width:calc((100% - 42px) / 4);
  min-width:0;
  scroll-snap-align:start;
  position:relative;
  display:flex;
  flex-direction:column;
  border:1px solid #e1e6dc;
  border-radius:14px;
  background:#fbfcfa;
  overflow:hidden;
  box-sizing:border-box;
}
.club-match-card::before{
  content:"";
  position:absolute;
  left:16px;
  right:16px;
  top:0;
  height:3px;
  border-radius:0 0 4px 4px;
  background:#a8c66c;
}
.club-match-card.is-top14::before{background:#e1dd72;}
.club-match-inner{
  padding:16px 16px 14px;
  display:flex;
  flex-direction:column;
  min-height:100%;
  box-sizing:border-box;
}
.club-match-date{
  color:#727a72;
  font-size:.72rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
  margin-bottom:10px;
}
.club-match-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:14px;
}
.club-match-time{
  color:#123420;
  font-size:1.02rem;
  font-weight:900;
}
.club-match-channel{
  max-width:58%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  background:#1b6535;
  color:#fff;
  border-radius:999px;
  padding:5px 9px;
  font-size:.66rem;
  font-weight:800;
}
.club-match-teams{
  display:flex;
  flex-direction:column;
  gap:9px;
}
.club-match-team{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
  color:#123420;
  font-size:.86rem;
  font-weight:800;
}
.club-match-team img{
  width:30px;
  height:30px;
  flex:0 0 30px;
  object-fit:contain;
  border:1px solid #e3e8df;
  border-radius:50%;
  background:#fff;
  padding:3px;
  box-sizing:border-box;
}
.club-match-team span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.club-match-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-top:13px;
  padding-top:11px;
  border-top:1px solid #e7ebe1;
}
.club-match-comp{
  min-width:0;
  color:#617062;
  font-size:.68rem;
  font-weight:700;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.club-match-prono-summary{
  margin-top:8px;
  color:#6f776f;
  font-size:.7rem;
  line-height:1.35;
}
.club-match-prono-summary strong{color:#1b6535;}
.club-match-prono-btn{
  border:0;
  border-radius:9px;
  background:#1b6535;
  color:#fff;
  padding:8px 11px;
  font:inherit;
  font-size:.72rem;
  font-weight:800;
  cursor:pointer;
  white-space:nowrap;
}
.club-match-prono-btn:hover{background:#247b43;}
.club-match-prono-btn.is-done{
  background:#eef3eb;
  color:#1b6535;
  cursor:default;
}
.club-match-prono-wait{
  color:#7b837b;
  font-size:.7rem;
  font-weight:700;
}

/* Popup pronostic de la fiche club. */
.club-prono-modal .rnc-modal{
  width:min(560px,calc(100% - 28px));
  max-width:560px;
}
.club-prono-kicker{
  color:#e1dd72;
  font-size:.72rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
  margin-bottom:5px;
}
.club-prono-fixture{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin:14px 0 16px;
  color:#fff;
  font-weight:800;
  text-align:center;
}
.club-prono-fixture span{flex:1;}
.club-prono-fixture b{
  color:rgba(255,255,255,.5);
  font-size:.75rem;
}
.club-prono-picks{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin-bottom:12px;
}
.club-prono-choice{
  min-width:0;
  border:1px solid rgba(255,255,255,.24);
  border-radius:10px;
  background:rgba(255,255,255,.06);
  color:#fff;
  padding:8px 8px 8px 12px;
  font:inherit;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  text-align:left;
}
.club-prono-choice-label{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:.78rem;
  font-weight:800;
}
.club-prono-odd{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:52px;
  padding:7px 10px;
  border-radius:8px;
  background:#e1dd72;
  color:#10240f;
  font-size:.94rem;
  font-weight:900;
  line-height:1;
  box-shadow:0 2px 0 rgba(0,0,0,.12);
}
.club-prono-choice:hover .club-prono-odd{
  transform:translateY(-1px);
}
.club-prono-choice.selected{
  background:rgba(225,221,114,.12);
  border-color:#e1dd72;
  color:#fff;
}
.club-prono-choice.selected .club-prono-odd{
  background:#fff;
  color:#123420;
  box-shadow:0 0 0 2px #e1dd72;
}
.club-prono-bet{
  display:flex;
  gap:8px;
  align-items:stretch;
}
.club-prono-stake{
  flex:1;
  min-width:0;
  border:1px solid rgba(255,255,255,.24);
  border-radius:9px;
  background:#fff;
  color:#123420;
  padding:10px 12px;
  font:inherit;
}
.club-prono-submit{
  border:0;
  border-radius:9px;
  background:#e1dd72;
  color:#10240f;
  padding:10px 16px;
  font:inherit;
  font-weight:900;
  cursor:pointer;
}
.club-prono-submit:disabled{opacity:.55;cursor:default;}
.club-prono-potential{
  min-height:20px;
  margin-top:9px;
  color:#e1dd72;
  font-size:.78rem;
  font-weight:700;
}
.club-prono-status{
  min-height:20px;
  margin-top:6px;
  color:rgba(255,255,255,.75);
  font-size:.78rem;
  line-height:1.4;
}
.club-prono-status.error{color:#ff9d9d;}
.club-prono-status.success{color:#b7e7c5;}
.club-prono-current{
  padding:12px;
  border-radius:10px;
  background:rgba(255,255,255,.07);
  color:#fff;
  line-height:1.45;
  font-size:.86rem;
}
.club-prono-current strong{color:#e1dd72;}

@media (max-width:900px){
  .club-match-card{
    flex:0 0 min(310px,82vw);
    width:min(310px,82vw);
    min-width:250px;
  }
}
@media (max-width:600px){
  .club-upcoming-panel{padding:17px 14px 16px;border-radius:14px;}
  .club-upcoming-head{align-items:center;}
  .club-upcoming-title h2{font-size:1.05rem;}
  .club-upcoming-controls{display:none;}
  .club-match-card{flex:0 0 84vw;width:84vw;min-width:250px;}
  .club-prono-picks{grid-template-columns:1fr;}
  .club-prono-bet{flex-direction:column;}
}


/* Correctif responsive : empêche le slider des prochains matchs
   d'élargir toute la page et de créer une barre de défilement horizontale. */
body.club-page{
  overflow-x:hidden;
}
body.club-page .club-upcoming,
body.club-page .club-upcoming-panel,
body.club-page .club-upcoming-head,
body.club-page .club-upcoming-track{
  width:100%;
  max-width:100%;
  min-width:0;
  box-sizing:border-box;
}
body.club-page .club-upcoming{
  overflow:hidden;
}
body.club-page .club-upcoming-panel{
  overflow:hidden;
}
body.club-page .club-upcoming-track{
  overflow-x:auto;
  overflow-y:hidden;
  min-width:0;
  max-width:100%;
  scrollbar-width:none;
}
body.club-page .club-upcoming-track::-webkit-scrollbar{
  display:none;
}
body.club-page .club-match-card{
  min-width:0;
  max-width:calc((100% - 42px) / 4);
  box-sizing:border-box;
}
body.club-page .club-match-inner,
body.club-page .club-match-top,
body.club-page .club-match-teams,
body.club-page .club-match-team,
body.club-page .club-match-meta{
  min-width:0;
  max-width:100%;
}
@media (max-width:900px){
  body.club-page .club-match-card{
    max-width:min(310px,82vw);
  }
}
@media (max-width:600px){
  body.club-page .club-upcoming{
    width:100%;
    max-width:100%;
    overflow:hidden;
  }
  body.club-page .club-upcoming-panel{
    width:100%;
    max-width:100%;
    margin-left:0;
    margin-right:0;
  }
  body.club-page .club-match-card{
    max-width:84vw;
  }
}


/* Sécurise tous les descendants de la zone centrale contre les min-width implicites. */
body.club-page main.wide,
body.club-page main.wide > *,
body.club-page .club-secondary > *{
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
}
