/* CARTES DU SITE EN 2 (02/11/2026) : un seul style partout, celui des cartes de Mes évènements —
   fond blanc, coins 12 px, ombre douce (comme la barre), aucun filet. */
html body .ev2,
html body .sg-fiche,
html body .sg-a .sg-bd.sg-sans-tete,
html body .sg-cols>#e-visage,
html body #pp .pp{background:#fff!important;border:0!important;border-radius:12px!important;box-shadow:0 4px 18px rgba(0,0,0,.08)!important}
html body .sg-fiche .sg-fv,html body .sg-fiche .sg-ft{background:transparent!important}
/* galerie client et photos d'ambiance : chaque photo est une carte */
html body #gal .ph{border-radius:12px!important;overflow:hidden;box-shadow:0 4px 18px rgba(0,0,0,.08)!important;background:#fff}
html body #gal .ph img{border-radius:12px!important}
html body .amb-g figure{border-radius:12px;overflow:hidden;box-shadow:0 4px 18px rgba(0,0,0,.08);background:#fff}
html body .amb-g img{border-radius:12px!important}
/* photo sélectionnée : le contour de couleur reste, par-dessus l'ombre */
html body #gal .ph.on{box-shadow:0 0 0 3px var(--o1),0 4px 18px rgba(0,0,0,.08)!important}

/* 2/11 : TAILLES façon Sportograf (évènements et sous-évènements) — seulement les tailles.
   Ordinateur : colonne de 900 px, 4 cartes d environ 206 px ; téléphone : 2 colonnes. */
html body .mes.v2{max-width:980px}
html body .evs2{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
html body .ev2 .info{padding:18px 19px 0;gap:3px}
html body .ev2 .date{font-size:12.5px!important;line-height:1.5!important}
html body .ev2 h3{font-size:13px!important;line-height:1.5!important}
html body .ev2 .voir{padding:14px 19px 16px;font-size:12.5px!important}
html body .ev2 .im img.affiche{top:8px!important;bottom:8px!important;height:calc(100% - 16px)!important;max-width:calc(100% - 16px)!important}
@media (max-width:820px){html body .evs2{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:600px){
  html body .mes.v2{padding:20px 15px 48px}
  html body .evs2{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  html body .ev2 .info{padding:12px 10px 0}
  html body .ev2 .date{font-size:10.5px!important}
  html body .ev2 h3{font-size:12.5px!important}
  html body .ev2 .voir{padding:12px 10px 14px;font-size:12px!important}
}

/* 2/11 : Mes factures et Paramètres — les cartes comme celles des sous-évènements. */
html body .fac3 .fd,html body .par2 .side,html body .par2 .pane{background:#fff!important;border:0!important;border-radius:12px!important;box-shadow:0 4px 18px rgba(0,0,0,.08)!important}
html body .par2 .pane{padding:24px!important}
html body .par2 .side a{border-radius:8px!important}
html body .par2 .side a.on{background:#121212!important}
/* 2/11 : trait du titre de la galerie en noir. */
html body #vue-photos .rh-titre::after,html body .amb .rh-titre::after{background:#121212!important}

/* 2/11 : course sans image = son sigle (« 10K »), comme sur la fiche de la page de course. */
html body .ev2 .im .sigle{position:absolute;inset:0;display:grid;place-items:center;font:800 28px 'Open Sans',Inter,Arial,sans-serif;color:#121212}

/* 6/11 : angles 4 px et ombre noire essayés puis retirés — les cartes gardent le style de « Renseigner les détails » (12 px, ombre douce). */
/* Fond noir derrière une couverture blanche : réglage « Derrière le visuel : Noir » de la fenêtre Couverture (admin). */
html body .ev2 .im.noir,html body .sg-fiche .sg-fv.noir{background:#000!important}

/* 6/11 (Romain) : plus de reflet bleu au toucher (téléphone), et le texte sélectionné en NOIR, pas en bleu. */
html,html *{-webkit-tap-highlight-color:transparent}
html ::selection{background:#121212;color:#fff}
html ::-moz-selection{background:#121212;color:#fff}
