/* 31/10/2026 (Romain) : galerie protégée recopiée de Sportograf sur /event2.
   Bandeau de la course, carte « évènement sécurisé », carte « vie privée »,
   liste des prix, moyens de paiement. Seulement quand la vérification est allumée. */
body:has(#e-sec:not([hidden])) .rc-band{display:none}
#vue-recherche.sec{padding:0 16px 64px!important;justify-content:flex-start!important;gap:0!important}
.ph3-e.sg{width:100%;max-width:1000px;gap:0;align-items:stretch;text-align:left;font-family:'Open Sans',-apple-system,'Segoe UI',Roboto,Arial,sans-serif;color:#1D3557}
.sg svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.sg h1,.sg h2,.sg p{margin:0}

.sg-band{display:flex;align-items:stretch;min-height:94px}
.sg-lg{flex:none;width:122px;display:grid;place-items:center;padding:8px 6px}
.sg-lg img{max-width:100%;max-height:70px;object-fit:contain}
.sg-lg b{font:700 22px 'Open Sans',sans-serif;color:#2B4A6F}
.sg-inf{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:10px;padding:12px 22px 10px;background:#F4F5F7}
.sg-inf h1{font:700 21px/1.25 'Open Sans',sans-serif;color:#2B4A6F;text-transform:uppercase;letter-spacing:.01em}
.sg-lig{display:flex;flex-wrap:wrap;gap:4px 0;font-size:11px}
.sg-lig span{display:inline-flex;align-items:center;gap:6px;flex:0 1 220px;min-width:150px}
.sg-lig svg{width:14px;height:14px;flex:none}

.sg-cols{display:flex;align-items:flex-start;justify-content:center;gap:25px;padding-top:42px}
.sg-a{flex:none;width:425px;margin:0}
.sg-b{flex:none;width:297px}
.sg-hd{display:grid;place-items:center;height:93px;padding:0 16px;background:#2A5082;color:#fff;font:400 18px/1.25 'Open Sans',sans-serif;text-transform:uppercase;text-align:center;letter-spacing:.01em}
.sg-bd{display:flex;flex-direction:column;align-items:center;padding:24px 31px 0;background:#E4E9F0;text-align:center}
.sg-cad{display:block;width:68px;height:102px}
.sg-cad svg{width:100%;height:100%;stroke-width:2}
.sg-tx{margin-top:26px!important;font-size:13px;line-height:1.62}
.sg-bd2 .sg-tx{margin-top:0!important}
.sg-tx b{font-weight:700}
.sg-bd label{display:block;margin-top:44px;font:600 12.5px 'Open Sans',sans-serif;text-transform:uppercase;color:#333}
.sg-chp{position:relative;width:100%;margin-top:28px}
.sg-chp input{width:100%;height:56px;padding:0 44px;border:0;border-radius:0;background:#fff;text-align:center;font:400 14px 'Open Sans',sans-serif;color:#1D3557;outline:none;-webkit-appearance:none}
.sg-chp input::placeholder{color:#9AA1AB}
.sg-chp input:focus{box-shadow:inset 0 0 0 2px #285A9B}
.sg-chp svg{position:absolute;right:18px;top:50%;width:14px;height:14px;margin-top:-7px;color:#555;pointer-events:none}
.sg-dn{display:flex;gap:6px}
.sg-dn input{flex:1;padding:0 6px}
.sg-dn input.an{flex:1.6}
.sg .mc{margin-top:22px;white-space:normal;text-align:center}
.sg-envoi{display:block;width:calc(100% + 62px);height:62px;margin:42px -31px 0;border:0;border-radius:0;background:#285A9B;color:#fff;font:700 15px 'Open Sans',sans-serif;cursor:pointer}
.sg-envoi:hover{background:#224F89}
.sg-envoi[disabled]{cursor:wait}
#s-chg .chg{margin-top:14px;justify-content:center}
.sg-pd{margin-top:14px!important;padding:0 10px;font:600 10.5px/1.5 'Open Sans',sans-serif;color:#333;text-align:center}
.sg-pd a,.sg-pt a{color:inherit;text-decoration:underline}
.sg-bd2{display:flex;flex-direction:column;align-items:center;padding:22px 30px 20px;background:#F4F6F9;text-align:center}
.sg-pt{margin-top:26px!important;font:600 10.5px/1.5 'Open Sans',sans-serif;color:#333}

.sg-prix-t{display:flex;align-items:center;gap:22px;width:100%;max-width:747px;margin:70px auto 0}
.sg-prix-t h2{font:700 19px 'Open Sans',sans-serif;color:#1D3557;text-transform:uppercase;white-space:nowrap}
.sg-prix-t i{flex:1;height:1px;background:#C9D2DD}
.sg-prix{display:flex;align-items:flex-start;gap:25px;width:100%;max-width:747px;margin:24px auto 0}
.sg-p{flex:1;min-width:0}
.sg-p .sg-hd{gap:2px;align-content:center}
.sg-p .sg-hd b{font:700 26px/1.2 'Open Sans',sans-serif;text-transform:none}
.sg-pb{padding:16px 31px 30px;background:#E4E9F0;font-size:13px;line-height:1.6}
.sg-pb p{padding:14px 0}
.sg-pb hr{margin:6px 0;border:0;border-top:1px solid #AEB8C6}
.sg-l{display:flex;align-items:center;justify-content:space-between;gap:18px}
.sg-l b{flex:none;font-weight:700}

.sg-moy{display:flex;flex-direction:column;align-items:center;gap:22px;margin:64px auto 0}
.sg-moy .g{display:flex;align-items:center;gap:34px}
.sg-moy .g img{height:42px;width:auto}
.sg-moy .p{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:26px}
.sg-moy .p img{height:20px;width:auto}

@media (max-width:820px){
  .sg-band{flex-wrap:wrap}
  .sg-lg{width:100%;padding:14px}
  .sg-inf{flex-basis:100%;padding:12px 16px}
  .sg-inf h1{font-size:18px}
  .sg-cols{flex-direction:column;align-items:stretch;gap:20px;padding-top:24px}
  .sg-a,.sg-b{width:100%}
  .sg-hd{height:76px;font-size:16px}
  .sg-bd{padding:22px 20px 0}
  .sg-envoi{width:calc(100% + 40px);margin:36px -20px 0}
  .sg-prix-t{margin-top:48px}
  .sg-prix{flex-direction:column;align-items:stretch;gap:20px}
  .sg-pb{padding:12px 20px 24px}
  .sg-moy{margin-top:44px}
}
.sg-cad.sg-loupe{height:68px}

/* 31/10 (2) : copie plus fidèle. Page blanche comme Sportograf, bandeau
   collé à la barre (logo 123 px sur blanc, infos en 3 colonnes de 250 px),
   et la carte « dossard seul » (Dresde) : grand 0000, Recherche, autres options. */
html:has(#e-sec:not([hidden])),html:has(#e-sec:not([hidden])) body{background:#fff!important}
html body #vue-recherche .ph3-e.sg{width:100%;max-width:1001px;margin:0 auto}
.sg-band{height:94px;min-height:0}
.sg-lg{width:123px;height:94px;padding:6px 4px}
.sg-lg img{max-height:82px}
.sg-inf{justify-content:space-between;gap:0;padding:13px 22px 13px}
.sg-inf h1{font-size:21px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sg-lig{display:grid;grid-template-columns:repeat(3,minmax(0,250px));gap:0;font-size:11px}
.sg-lig span{min-width:0;flex:none}
.sg-hd-v{background:#25589B}
.sg-hd-f,.sg-p .sg-hd{background:#2B4B73}
.sg-bd-d{padding:22px 31px 60px}
.sg-dbox{width:100%;padding-top:22px;background:#F8F9FB}
.sg-bd .sg-dbox label{margin-top:0}
.sg-dchp{position:relative}
.sg-dchp input{width:100%;height:118px;padding:0 50px;border:0;border-radius:0;background:transparent;text-align:center;font-family:'Open Sans',sans-serif;font-size:78px;font-weight:500;font-stretch:75%;line-height:1;color:#1D3557;outline:none;-webkit-appearance:none}
.sg-dchp input::placeholder{color:#9A9A9A}
.sg-dchp input:focus{box-shadow:inset 0 0 0 2px #285A9B}
.sg-dchp svg{position:absolute;right:18px;top:50%;width:14px;height:14px;margin-top:-7px;color:#555;pointer-events:none}
.sg-rech{display:block;width:100%;height:52px;border:0;border-radius:0;background:#285A9B;color:#fff;font:700 15px 'Open Sans',sans-serif;cursor:pointer}
.sg-rech:hover{background:#224F89}
.sg-oubli{margin-top:24px;padding:0;border:0;background:none;font:600 13px 'Open Sans',sans-serif;color:#333;cursor:pointer}
.sg-cm{width:233px;max-width:100%;margin-top:22px;padding:6px 14px;border:0;border-radius:0;background:#E6EAEE;color:#2B4A6F;font:700 15px/1.2 'Open Sans',sans-serif;cursor:pointer}
.sg-prix{justify-content:center}
.sg-p{flex:0 1 361px}
#vue-recherche.sec>#e-visage,#vue-recherche.sec>#e-verif,#vue-recherche.sec>#e-envoye{margin-top:64px}
#e-visage.autres .mc.violet{display:none}
@media (max-width:820px){
  .sg-band{height:auto}
  .sg-lg{width:100%;height:96px}
  .sg-inf{gap:10px}
  .sg-inf h1{white-space:normal;font-size:18px}
  .sg-lig{grid-template-columns:1fr;gap:4px}
  .sg-bd-d{padding:20px 20px 40px}
  .sg-p{flex:none}
}

/* 31/10 (4) : boutons pleins = celui de « Payer » de la galerie : carré, couleur de la course
   (rouge par défaut), Inter 500, flèche à droite. */
.sg-envoi,.sg-rech{display:flex;align-items:center;justify-content:center;gap:12px;border-radius:0;background:var(--o1);color:#fff;font:500 15px var(--police)}
.sg-envoi:hover,.sg-rech:hover{background:var(--o4)}
.sg-envoi::after,.sg-rech::after{content:"";width:7px;height:7px;border-top:1.8px solid currentColor;border-right:1.8px solid currentColor;transform:rotate(45deg);margin-left:2px;transition:transform .2s}
.sg-envoi:hover::after,.sg-rech:hover::after{transform:translateX(3px) rotate(45deg)}
.sg-envoi{height:58px}
.sg-rech{height:58px}

/* 31/10 (5) : les mêmes boutons, coins arrondis comme les cartes de la charte. */
.sg-envoi,.sg-rech{border-radius:14px}

/* 31/10 (6) : ce n est pas le bouton mais la carte entière (de l en-tête au bouton) qui a les coins arrondis. */
.sg-envoi,.sg-rech{border-radius:0}
.sg-a .sg-hd{border-radius:14px 14px 0 0}
.sg-a .sg-bd{border-radius:0 0 14px 14px;overflow:hidden}

/* 31/10 (7) : en-tête de la carte en police normale (sans capitales) ;
   fond de la carte bleu nuit façon Red Bull TV au lieu du gris. */
.sg-a .sg-hd{text-transform:none;letter-spacing:0}
.sg-a .sg-bd{background:#0F1E33;color:#fff}
.sg-a .sg-bd .sg-tx,.sg-a .sg-bd label,.sg-a .sg-cad,.sg-a .sg-oubli{color:#fff}
.sg-a .sg-bd .mc span{color:rgba(255,255,255,.75)}

/* 31/10 (8) : bleu un peu plus clair. */
.sg-a .sg-bd{background:#1C3354}

/* 31/10 (9) : le bleu choisi par Romain, #162B45, pour le fond, l en-tête et le bouton de la carte. */
.sg-a .sg-bd,.sg-a .sg-hd,.sg-a .sg-envoi{background:#162B45}
.sg-a .sg-envoi:hover{background:#1E3858}

/* 31/10 (10) : sans en-tête ni loupe (carte sans vérification), coins moins prononcés (8 px). */
.sg-a .sg-hd{border-radius:8px 8px 0 0}
.sg-a .sg-bd{border-radius:0 0 8px 8px}
.sg-a .sg-bd.sg-sans-tete{border-radius:8px;padding-top:30px}
.sg-a .sg-bd.sg-sans-tete .sg-tx{margin-top:0!important}

/* 31/10 (11) : la carte de recherche comme les cartes d évènement de Sportograf :
   fond gris très clair, ombre douce tout autour, coins 10 px, texte bleu foncé,
   bouton = pied de carte séparé par un filet, texte en gras capitales. */
.sg-a .sg-bd{background:#F7F9FB;color:#1D3557;box-shadow:0 4px 18px rgba(16,36,64,.09),0 1px 3px rgba(16,36,64,.06)}
.sg-a .sg-bd.sg-sans-tete{border-radius:10px}
.sg-a .sg-hd{border-radius:10px 10px 0 0}
.sg-a .sg-bd:not(.sg-sans-tete){border-radius:0 0 10px 10px}
.sg-a .sg-bd .sg-tx,.sg-a .sg-bd label,.sg-a .sg-cad,.sg-a .sg-oubli{color:#1D3557}
.sg-a .sg-bd .mc span{color:#6B7480}
.sg-a .sg-chp input{box-shadow:0 0 0 1px #DCE2E9}
.sg-a .sg-chp input:focus{box-shadow:0 0 0 2px #162B45}
.sg-a .sg-envoi{height:72px;background:transparent;color:#2B5C99;border-top:1px solid #B8C3D0;font:700 18px "Open Sans",Arial,sans-serif;text-transform:uppercase;letter-spacing:.01em}
.sg-a .sg-envoi::after{display:none}
.sg-a .sg-envoi:hover{background:#EEF2F6}

/* 31/10 (12) : carte BLANCHE (ombre et coins gardés) ; bouton remis comme avant :
   plein #162B45, texte blanc Inter 500, flèche. */
.sg-a .sg-bd{background:#fff}
.sg-a .sg-envoi{height:58px;background:#162B45;color:#fff;border-top:0;font:500 15px var(--police);text-transform:none;letter-spacing:0}
.sg-a .sg-envoi::after{display:block}
.sg-a .sg-envoi:hover{background:#1E3858}

/* 31/10 (13) : bouton « Envoyer le lien de validation » en blanc ; liste des prix retirée ;
   bandeau (logo dans son carré + nom + infos) resserré et centré dans la page. */
.sg-a .sg-envoi{background:#fff;color:#162B45;border-top:1px solid #E3E6EA;font-weight:600}
.sg-a .sg-envoi:hover{background:#F6F7F9}
.sg-prix-t,.sg-prix,.sg-moy{display:none!important}
.sg-band{width:fit-content;max-width:100%;margin-left:auto;margin-right:auto}
.sg-inf{flex:0 1 auto;gap:10px}
.sg-lig{display:flex;flex-wrap:wrap;gap:4px 26px}
.sg-lig span{flex:none;min-width:0}

/* 31/10 (14) : bandeau sans fond gris, nom en noir, police normale sans capitales ;
   carte : icône « lien » puis « C est un évènement sécurisé » au-dessus de la phrase. */
.sg-inf{background:transparent}
.sg-inf h1{color:#000;text-transform:none;font-weight:600;letter-spacing:0}
.sg-a .sg-cad.sg-lien{width:68px;height:68px;color:#1D3557}
.sg-a .sg-titre{margin:18px 0 0;font:600 17px/1.3 "Open Sans",Arial,sans-serif;color:#1D3557}
.sg-a .sg-bd.sg-sans-tete .sg-titre+.sg-tx{margin-top:8px!important}

/* 31/10 (15) : cases de saisie n° 8 — coins 8 px, icône à gauche (enveloppe, dossard), texte à gauche. */
.sg-chp.sg-ic input{border-radius:8px;text-align:left;padding-left:46px}
.sg-chp svg.sg-g{left:16px;right:auto;width:18px;height:18px;margin-top:-9px;color:#6B7480;stroke-width:1.7}

/* 31/10 (19) : carte en vrai blanc, sans ombre ; sans l'icône lien ; sans trait au-dessus du bouton. */
.sg-a .sg-bd,.sg-a .sg-bd.sg-sans-tete{background:#fff;box-shadow:none}
.sg-a .sg-cad.sg-lien{display:none}
.sg-a .sg-titre{margin-top:0}
.sg-a .sg-envoi{border-top:0}

/* 1/11 : carte n° 24 de l'aperçu (dégradé blanc → bleu très pâle, filet, coins 12, sans ombre) ;
   logo + nom de la course en tête de carte (le bandeau du haut disparaît) ; phrase en gras. */
.sg-band{display:none!important}
.sg-a .sg-bd.sg-sans-tete{background:linear-gradient(180deg,#fff 0%,#EEF3FA 100%);border-radius:12px;box-shadow:0 0 0 1px #E3E9F1}
.sg-a .sg-envoi{background:transparent}
.sg-a .sg-envoi:hover{background:rgba(22,43,69,.04)}
.sg-ev{display:flex;flex-direction:column;align-items:center;gap:12px;margin-bottom:16px}
.sg-ev img{max-width:180px;max-height:80px;width:auto;height:auto;object-fit:contain}
.sg-ev img.affiche{max-height:120px;border-radius:6px;box-shadow:0 8px 18px -10px rgba(0,0,0,.35)}
.sg-evn{margin:0;font:600 18px/1.3 Inter,Arial,sans-serif;color:#111}
.sg-a .sg-bd.sg-sans-tete .sg-tx{margin-top:0!important}
.sg-a .sg-bd .sg-tx b{font-weight:700}

/* 1/11 (2) : logo + nom hors de la carte, au-dessus ; plus de note sur la protection des données. */
.sg-ev{margin:8px 0 0}
.sg-ev+.sg-cols{padding-top:28px}
.sg-pd{display:none!important}
.sg-a .sg-bd.sg-sans-tete{padding-top:30px}

/* 1/11 (3) : aperçu n° 7 « Fiche de la course » — fiche à gauche (image, nom, date, lieu,
   sans traits), même dégradé que la carte ; la carte de recherche à droite. */
.sg-cols{flex-wrap:wrap;gap:28px;padding-top:36px}
.sg-fiche{flex:none;width:300px;border-radius:12px;background:linear-gradient(180deg,#fff 0%,#EEF3FA 100%);box-shadow:0 0 0 1px #E3E9F1;overflow:hidden;text-align:left}
.sg-fv{height:190px;display:grid;place-items:center;padding:20px}
.sg-fv img{max-width:100%;max-height:150px;width:auto;height:auto;object-fit:contain}
.sg-fv.aff img{border-radius:8px;box-shadow:0 10px 20px -10px rgba(0,0,0,.4)}
.sg-fv b{font:800 28px Inter,Arial,sans-serif;color:#162B45}
.sg-ft{display:flex;flex-direction:column;gap:12px;padding:4px 20px 22px}
.sg-fn{margin:0;font:700 18px/1.3 Inter,Arial,sans-serif;color:#111;text-transform:none}
.sg-fl{margin:0;display:flex;flex-direction:column;gap:8px;font:400 13.5px Inter,Arial,sans-serif;color:#6B7480}
.sg-fl span{display:inline-flex;align-items:center;gap:8px}
.sg-fl svg{width:15px;height:15px;flex:none}
@media (max-width:820px){.sg-fiche{width:100%}.sg-fv{height:160px}}

/* 1/11 (4) : le selfie, demandé après le clic, prend la place de la carte (même dégradé). */
.sg-cols>#e-visage{flex:none;width:425px;max-width:100%;margin:0;padding:34px 28px;gap:18px;border-radius:12px;background:linear-gradient(180deg,#fff 0%,#EEF3FA 100%);box-shadow:0 0 0 1px #E3E9F1;font-family:Inter,Arial,sans-serif}
.sg-cols>#e-visage:not(:has(.mc.violet))::before{content:"Prenez un selfie ou choisissez une photo de vous.";font:700 14px/1.6 "Open Sans",Arial,sans-serif;color:#1D3557;text-align:center}
.sg-cols>#e-visage .duo-b{flex-wrap:wrap;justify-content:center}
@media (max-width:820px){.sg-cols>#e-visage{width:100%}}

/* 1/11 (5) : cartes comme celles de « Mes évènements » (blanches, coins 14, filet + ombre douce)
   sur le fond gris perle du site ; intitulés des cases dans la police de la phrase du dessus. */
html:has(#e-sec:not([hidden])),html:has(#e-sec:not([hidden])) body{background:#F6F6F8!important}
.sg-fiche,.sg-a .sg-bd.sg-sans-tete,.sg-cols>#e-visage{background:#fff;border-radius:14px;box-shadow:0 0 0 1px rgba(5,22,41,.06),0 2px 6px rgba(5,22,41,.04)}
.sg-a .sg-bd label{font:700 13px/1.62 "Open Sans",Arial,sans-serif;text-transform:none;letter-spacing:0;color:#1D3557}

/* 1/11 (6) : messages de la recherche = aperçu n° 3 « encadré doux » (fond pâle, filet, icône). */
#vue-recherche .sg-cols .mc,#vue-recherche #e-envoye .mc{display:flex;align-items:flex-start;gap:12px;width:100%;max-width:100%;margin:16px 0 0;padding:12px 14px;border:0;border-radius:10px;
  background:var(--p);box-shadow:inset 0 0 0 1px var(--l);text-align:left;white-space:normal;font:400 13.5px/1.5 Inter,Arial,sans-serif;color:#1D3557;overflow:visible}
#vue-recherche .sg-cols .mc[hidden],#vue-recherche #e-envoye .mc[hidden]{display:none}
#vue-recherche .sg-cols .mc::before,#vue-recherche #e-envoye .mc::before{display:none}
#vue-recherche .sg-cols .mc svg,#vue-recherche #e-envoye .mc svg{display:block;flex:none;box-sizing:content-box;width:18px;height:18px;margin:1px 0 0;padding:0;border-radius:0;background:none;color:var(--c);fill:none;stroke:currentColor;stroke-width:1.9}
#vue-recherche .sg-cols .mc>div,#vue-recherche #e-envoye .mc>div{display:block}
#vue-recherche .sg-cols .mc b,#vue-recherche #e-envoye .mc b{display:inline;font:600 13.5px/1.5 Inter,Arial,sans-serif;color:var(--c)}
#vue-recherche .sg-cols .mc span,#vue-recherche #e-envoye .mc span{display:inline;margin:0;font:400 13.5px/1.5 Inter,Arial,sans-serif;color:#1D3557}
#vue-recherche .mc.rouge{--c:#D92D20;--p:#FDECEA;--l:rgba(217,45,32,.22)}
#vue-recherche .mc.violet{--c:#6D3FD1;--p:#F0EAFC;--l:rgba(109,63,209,.22)}
#vue-recherche .mc.vert{--c:#1E7B45;--p:#E7F4EC;--l:rgba(30,123,69,.22)}
#vue-recherche .mc.bleu{--c:#2B5BA8;--p:#EAF0FA;--l:rgba(43,91,168,.22)}

/* 1/11 (7) : nom de la course, date et bouton Recherche dans la police et le gras
   de la phrase « Retrouvez toutes vos photos… » (Open Sans 700) ; plus de lieu. */
.sg-fn,.sg-fl,.sg-a .sg-envoi{font-family:"Open Sans",Arial,sans-serif;font-weight:700;color:#1D3557;font-size:13px}
.sg-fn,.sg-fl{line-height:1.62}
.sg-fn{font-size:15px;line-height:1.4}

/* 1/11 (8-10) : fenêtre « Lien envoyé » / « Presque prêt ! » = la carte « Renseigner les détails »
   (classes sg-a / sg-bd / sg-tx / sg-envoi), actions en cases comme les champs e-mail et dossard. */
.pp-voile{position:fixed;inset:0;z-index:9000;display:grid;place-items:center;padding:20px max(16px,env(safe-area-inset-right,0px)) 20px max(16px,env(safe-area-inset-left,0px));background:rgba(13,27,46,.45)}
.pp-voile[hidden]{display:none}
.pp-voile .pp{width:min(425px,100%);margin:0;text-align:center}
.pp-voile .sg-bd.sg-sans-tete{box-shadow:0 30px 60px -20px rgba(5,22,41,.45)}
.pp-voile .sg-tx b{font-size:15px}
#pp-c .pp-s{margin-top:12px!important;font:400 13px/1.62 "Open Sans",Arial,sans-serif;color:#1D3557}
.pp-voile .pp-s b{font-size:13px}
#pp-a{display:flex;flex-direction:column;align-self:stretch;width:100%;gap:14px;margin-top:26px}
.pp-voile .pp,.pp-voile .sg-tx{font-family:"Open Sans",Arial,sans-serif;color:#1D3557}
.pp-voile .sg-bd{display:flex;flex-direction:column;align-items:stretch}
#pp-a .pp-chp{display:flex;margin:0;align-items:center;gap:14px;width:100%;height:56px;padding:0 16px;border:0;border-radius:8px;background:#fff;box-shadow:0 0 0 1px #DCE2E9;font:400 14px "Open Sans",Arial,sans-serif;color:#1D3557;text-align:left;cursor:pointer;box-sizing:border-box}
#pp-a .pp-chp:hover,#pp-a .pp-chp:focus-visible{box-shadow:0 0 0 2px #162B45;outline:none}
.pp-chp span{flex:1}
.pp-chp svg{fill:none;stroke-linecap:round;stroke-linejoin:round;flex:none}
.pp-chp .pp-g{width:18px;height:18px;stroke:#6B7480;stroke-width:1.7}
.pp-chp .pp-ch{width:16px;height:16px;stroke:#1D3557;stroke-width:2}
#pp-a .mc{margin:0!important;text-align:left}
#pp-a .sg-envoi{margin-top:12px}

/* 1/11 (11) : la case « Prendre un selfie » descend et montre la caméra (4:5) dans la fenêtre. */
.pp-voile{overflow-y:auto;align-items:safe center}
#pp-a .pp-cam{height:auto;padding:0;flex-direction:column;align-items:stretch;overflow:hidden;cursor:default}
#pp-a .pp-cam:hover{box-shadow:0 0 0 1px #DCE2E9}
#pp-a .pp-cam .pp-ct{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:14px;width:100%;height:56px;padding:0 16px;cursor:pointer;border-radius:8px}
#pp-a .pp-cam .pp-ct:hover,#pp-a .pp-cam .pp-ct:focus-visible{box-shadow:inset 0 0 0 2px #162B45}
.pp-cam .pp-ct span{flex:1}
.pp-cam .pp-cv,.pp-cam .pp-cb{display:none}
.pp-cam:not([data-etat="ferme"]) .pp-ct{display:none}
.pp-cam:not([data-etat="ferme"]) .pp-cv{display:block;position:relative;aspect-ratio:4/5;background:#EEF1F5;overflow:hidden;animation:pp-des .4s cubic-bezier(.2,.8,.2,1)}
@keyframes pp-des{from{max-height:56px}to{max-height:600px}}
.pp-cv video,.pp-cv canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.pp-cv video{transform:scaleX(-1)}
.pp-cv canvas{display:none}
.pp-cam[data-etat="photo"] .pp-cv canvas,.pp-cam[data-etat="envoi"] .pp-cv canvas{display:block}
.pp-cam[data-etat="photo"] .pp-cv video,.pp-cam[data-etat="envoi"] .pp-cv video{visibility:hidden}
.pp-cl{position:absolute;left:12%;right:12%;top:40%;border-top:1.5px dashed rgba(255,255,255,.9);pointer-events:none}
.pp-cl i{position:absolute;left:50%;top:6px;transform:translateX(-50%);font:700 12px "Open Sans",Arial,sans-serif;font-style:normal;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.45)}
.pp-cam:not([data-etat="direct"]) .pp-cl{display:none}
.pp-cm{position:absolute;inset:auto 0 0;margin:0;padding:12px 16px;text-align:center;font:700 13px/1.5 "Open Sans",Arial,sans-serif;color:#1D3557;background:rgba(255,255,255,.92)}
.pp-cm:empty{display:none}
.pp-cam[data-etat="attente"] .pp-cm,.pp-cam[data-etat="refus"] .pp-cm{inset:0;display:grid;place-items:center;background:#EEF1F5}
.pp-cam[data-etat="direct"] .pp-cb,.pp-cam[data-etat="photo"] .pp-cb{display:flex}
.pp-cb button{flex:1;display:flex;align-items:center;justify-content:center;gap:12px;height:52px;border:0;border-top:1px solid #E3E6EA;background:#fff;color:#1D3557;font:700 13px "Open Sans",Arial,sans-serif;cursor:pointer}
.pp-cb button+button{border-left:1px solid #E3E6EA}
.pp-cb button::after{content:"";width:7px;height:7px;border-top:1.8px solid currentColor;border-right:1.8px solid currentColor;transform:rotate(45deg)}
.pp-cb button:hover{background:#F6F7F9}
.pp-cb button{display:none}
.pp-cam[data-etat="direct"] .pp-cb [data-a="prendre"],.pp-cam[data-etat="photo"] .pp-cb [data-a="refaire"],.pp-cam[data-etat="photo"] .pp-cb [data-a="ok"]{display:flex}
@media (prefers-reduced-motion:reduce){.pp-cam .pp-cv{animation:none!important}}
#pp-a .pp-cam:not([data-etat="ferme"]) .pp-ct{display:none}
#pp-a .pp-cam:not([data-etat="ferme"]) .pp-cv{flex:none;aspect-ratio:auto;height:0;padding-top:125%}
#pp-a .pp-cam{gap:0}

/* 1/11 (12) : messages d'erreur (carte et fenêtre) dans le style de la phrase « Renseigner les détails… »,
   en rouge, sans encadré ni icône. */
#vue-recherche #m-sec,#vue-recherche #m-vis,#pp #m-vis{display:block;margin:16px 0 0!important;padding:0;background:none;box-shadow:none;border:0;text-align:center}
#vue-recherche #m-sec[hidden],#vue-recherche #m-vis[hidden],#pp #m-vis[hidden]{display:none}
#vue-recherche #m-sec svg,#vue-recherche #m-vis svg,#pp #m-vis svg{display:none}
#vue-recherche #m-sec b,#vue-recherche #m-sec span,#vue-recherche #m-vis b,#vue-recherche #m-vis span,#pp #m-vis b,#pp #m-vis span{display:inline;font:700 13px/1.62 "Open Sans",Arial,sans-serif;color:#D92D20}

/* 1/11 (13) : galerie — en-tête simple (nom, dossard, épreuve) dans le style de la carte de recherche,
   « Payer » blanc comme les autres boutons du bas, photos moins arrondies. */
#vue-photos .rh2{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}
#vue-photos .rh2 .rh-t,#vue-photos .rh2>.lien{display:none}
#vue-photos .rh2 .sg-fl{flex-direction:row;flex-wrap:wrap;justify-content:center;gap:8px 22px}
#vue-photos .rh2 .sg-fl span{display:inline-flex;align-items:center;gap:8px}
#vue-photos .rh2 .sg-fl svg{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#vue-photos .rh2 .sg-fl [hidden]{display:none}
html #vue-photos .barre-bas .b.orange,html #vue-photos .barre-bas #b-payer{background:transparent!important;color:inherit!important;box-shadow:none!important}
html #vue-photos .barre-bas #b-payer:hover{background:var(--fond2)!important}
#gal .ph,#gal .ph img{border-radius:6px!important}

/* 1/11 (14) : en-tête de la galerie = nom de la course + long trait (Sportograf), même largeur
   que la galerie ; section « Photos d'ambiance » dessous ; photos arrondies à 10 px. */
#vue-photos .rh2{display:block;max-width:1400px;margin:0 auto;padding:40px 32px 4px;box-sizing:border-box;text-align:left}
#vue-photos .rh-titre{display:flex;align-items:center;gap:28px;margin:0;font:700 22px/1.3 "Open Sans",Arial,sans-serif;color:#1D3557;text-align:left}
#vue-photos .rh-titre span{flex:none;max-width:70%}
#vue-photos .rh-titre::after{content:"";flex:1;height:1.5px;background:#C9D0DA}
#gal .ph,#gal .ph img{border-radius:14px!important}
.amb{max-width:1400px;margin:0 auto;padding:10px 32px 120px;box-sizing:border-box}
.amb[hidden]{display:none}
.amb .rh-titre{margin-bottom:24px!important}
.amb-g{columns:4;column-gap:12px}
.amb-g figure{margin:0 0 12px;break-inside:avoid}
.amb-g img{display:block;width:100%;height:auto;border-radius:14px}
@media (max-width:1000px){.amb-g{columns:3}}
@media (max-width:700px){#vue-photos .rh2,.amb{padding-left:12px;padding-right:12px}#vue-photos .rh-titre{font-size:18px;gap:16px}.amb-g{columns:2;column-gap:8px}.amb-g figure{margin-bottom:8px}}

/* 1/11 (15) : au téléphone, la fiche de la course en ligne — image à gauche, nom et infos à droite ;
   plus de rond de chargement sous la carte (ancien design). */
#chg{display:none!important}
@media (max-width:820px){
  .sg-fiche{display:flex;align-items:center;gap:0}
  .sg-fiche .sg-fv{flex:none;width:38%;height:auto;min-height:120px;padding:14px}
  .sg-fiche .sg-fv img{max-height:110px}
  .sg-fiche .sg-ft{flex:1;min-width:0;padding:14px 16px 14px 4px;gap:8px}
}

/* 1/11 (16) : titres de la galerie (nom de la course, Photos d ambiance) un peu plus petits. */
#vue-photos .rh-titre,.amb .rh-titre{font-size:19px!important}
@media (max-width:700px){#vue-photos .rh-titre,.amb .rh-titre{font-size:16px!important}}

/* 2/11 (18) : course ouverte à tous — « Recherche » et « Voir toutes les photos » côte à côte. */
.sg-a .sg-2b{display:flex;align-items:stretch;width:calc(100% + 62px);margin:42px -31px 0}
.sg-a .sg-2b .sg-envoi{flex:1;width:auto!important;min-width:0;margin:0!important}
@media (max-width:820px){.sg-a .sg-2b{width:calc(100% + 40px);margin:36px -20px 0}}
.sg-a .sg-2b .sg-envoi+.sg-envoi{border-left:0}

/* 2/11 (19) : course gratuite — barre du bas en cases égales et bien délimitées ;
   téléphone : deux en haut, la dernière sur toute la largeur si le nombre est impair. */
html body .barre-bas.bb-grat{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:1fr}
html body .barre-bas.bb-grat .b{border-right:1px solid #E3E6EA!important;border-bottom:0!important}
html body .barre-bas.bb-grat .b:last-child{border-right:0!important}
@media (max-width:700px){
  html body .barre-bas.bb-grat{grid-auto-flow:row;grid-template-columns:1fr 1fr}
  html body .barre-bas.bb-grat .b:nth-child(even){border-right:0!important}
  html body .barre-bas.bb-grat .b:nth-child(-n+2){border-bottom:1px solid #E3E6EA!important}
  html body .barre-bas.bb-grat .b:last-child:nth-child(odd){grid-column:1/-1;border-right:0!important}
}

/* 2/11 (20) : plus de traits entre les boutons de la barre (course gratuite). */
html body .barre-bas.bb-grat .b,html body .barre-bas.bb-grat .b:nth-child(n){border-right:0!important;border-bottom:0!important}

/* 2/11 (21) : carte du pack dans la galerie client (type Sportograf, tout blanc, comme les cartes
   des sous-évènements) ; plus de barre d'actions en bas sur une course payante. */
.pkc2{display:flex;flex-direction:column;min-height:240px;background:#fff;border-radius:12px;box-shadow:0 4px 18px rgba(0,0,0,.08);font-family:'Open Sans',Arial,sans-serif;color:#121212;overflow:hidden}
.pkc2-hd{margin-top:auto;padding:0 20px 10px;text-align:center}
.pkc2-hd span{display:block;font:700 13px/1.5 'Open Sans',Arial,sans-serif}
.pkc2-hd b{display:block;margin-top:2px;font:700 26px/1.2 'Open Sans',Arial,sans-serif}
.pkc2 ul{list-style:none;margin:0 0 auto;padding:4px 20px 0}
.pkc2 li{display:flex;align-items:center;gap:12px;padding:9px 0;font:700 13px/1.5 'Open Sans',Arial,sans-serif}
.pkc2 li[hidden]{display:none}
.pkc2 li svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.pkc2-go{display:flex;align-items:center;justify-content:center;gap:8px;height:46px;flex:none;border:0;background:#fff;cursor:pointer;font:700 13px 'Open Sans',Arial,sans-serif;color:#121212}
.pkc2-go::after{content:"";width:6px;height:6px;border-top:1.8px solid currentColor;border-right:1.8px solid currentColor;transform:rotate(45deg)}
@media (max-width:700px){.pkc2{min-height:220px}.pkc2-hd{padding:0 12px 8px}.pkc2 ul{padding:2px 12px 0}.pkc2 li{gap:8px;font-size:12px}.pkc2-hd b{font-size:22px}}
html #vue-photos .barre-bas:not(.bb-grat){display:none!important}

/* 2/11 (22) : la carte du pack a la hauteur d une photo (format paysage 3:2). */
.pkc2{min-height:0!important;aspect-ratio:3/2;justify-content:center}
.pkc2-hd{margin-top:auto;padding:0 16px 4px}
.pkc2-hd b{font-size:22px!important}
.pkc2 ul{padding:2px 16px 0}
.pkc2 li{padding:4px 0}
.pkc2-go{height:38px}
@media (max-width:1000px){.pkc2{aspect-ratio:auto;min-height:190px}}

/* 2/11 (23) ESSAI : carte du pack bleu nuit plein (choix n° 5), texte blanc. Retirer ce bloc pour revenir au blanc. */
.pkc2{background:#162B45!important;color:#fff!important}
.pkc2-go{background:transparent!important;color:#fff!important}

/* 2/11 (24) : seules les deux lignes à V descendent (le prix ne bouge pas). */
.pkc2 ul{padding-top:16px!important}

/* 2/11 (25) : chaque ligne à V centrée pour elle-même (pas de colonne de V alignés). */
.pkc2 ul{width:auto}
.pkc2 li{justify-content:center;text-align:center}

/* 2/11 (26) : au téléphone (2 colonnes étroites), la carte du pack est plus haute qu une photo. */
@media (max-width:700px){
  .pkc2{aspect-ratio:auto!important;min-height:270px!important;justify-content:center}
  .pkc2-hd{padding:0 10px 4px!important}
  .pkc2-hd span{font-size:12px!important}
  .pkc2-hd b{font-size:21px!important}
  .pkc2 ul{padding:10px 8px 0!important}
  .pkc2 li{font-size:12px!important;gap:6px!important;padding:3px 0!important}
  .pkc2 li svg{width:13px!important;height:13px!important}
  .pkc2-go{height:40px;font-size:12.5px!important}
}
/* 2/11 (27) : le V reste collé à son texte, même quand la ligne passe sur deux lignes. */
.pkc2 li{display:block!important;text-align:center}
.pkc2 li svg{display:inline-block!important;vertical-align:-2px;margin-right:7px}
@media (max-width:700px){.pkc2 li svg{margin-right:4px}}
/* 2/11 (28) : téléphone, un peu moins réduit. */
@media (max-width:700px){
  .pkc2{min-height:300px!important}
  .pkc2-hd span{font-size:13px!important}
  .pkc2-hd b{font-size:24px!important}
  .pkc2 li{font-size:13px!important;padding:4px 0!important}
  .pkc2 li svg{width:14px!important;height:14px!important}
  .pkc2-go{height:44px;font-size:13px!important}
}
/* 2/11 (29) : téléphone, carte du pack plus haute. */
@media (max-width:700px){.pkc2{min-height:330px!important}}
/* 2/11 (30) : téléphone — la carte prend la hauteur de son contenu, plus de vide. */
@media (max-width:700px){
  .pkc2{min-height:0!important;aspect-ratio:auto!important;padding-top:20px!important}
  .pkc2-hd{margin-top:0!important}
  .pkc2 ul{margin-bottom:0!important;padding-bottom:12px!important}
}
/* 2/11 (31) : téléphone, texte de la carte un peu plus petit. */
@media (max-width:700px){
  .pkc2-hd span{font-size:12px!important}
  .pkc2-hd b{font-size:21px!important}
  .pkc2 li{font-size:12px!important}
  .pkc2 li svg{width:12px!important;height:12px!important}
  .pkc2-go{font-size:12px!important}
}

/* 2/11 (32) : recherche supplémentaire sous l'ambiance (aperçu GbpaviP2JgGQiegbdeZ8dm validé). */
.rsp{max-width:1400px;margin:0 auto;padding:10px 32px 140px;box-sizing:border-box;font-family:'Open Sans',Arial,sans-serif;color:#121212}
.rsp[hidden]{display:none}
.rsp .rh-titre{margin-bottom:22px!important}
.rsp-deux{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:14px}
.rsp-ch{display:flex;align-items:center;gap:12px;height:56px;padding:0 18px;border:0;border-radius:12px;background:#fff;box-shadow:0 4px 18px rgba(0,0,0,.08);cursor:pointer;text-align:left;color:#121212}
.rsp-ch b{font:600 14px 'Open Sans',Arial,sans-serif}
.rsp-ch::after{content:"";margin-left:auto;width:7px;height:7px;border-top:1.6px solid #555;border-right:1.6px solid #555;transform:rotate(45deg)}
.rsp-pan{margin-top:22px;padding:24px;border-radius:12px;background:#fff;box-shadow:0 4px 18px rgba(0,0,0,.08)}
.rsp-pan[hidden]{display:none}
.rsp-bts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.rsp-bt{height:50px;border:0;border-radius:12px;cursor:pointer;font:700 14px 'Open Sans',Arial,sans-serif;box-shadow:0 4px 18px rgba(0,0,0,.08)}
.rsp-bt.st{background:#FC4C02;color:#fff}
.rsp-bt.bl{background:#fff;color:#121212;font-weight:600}
.rsp-note{margin:14px 0 0;font:600 12.5px 'Open Sans',Arial,sans-serif;color:#6B7480}
.rsp-hrs{display:flex;justify-content:center;gap:70px;text-align:center;margin-bottom:14px}
.rsp-hrs b{display:block;font:700 19px/1.3 'Open Sans',Arial,sans-serif}
.rsp-hrs span{font:700 12px 'Open Sans',Arial,sans-serif;color:#6B7480}
.rsp-cur{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;font:600 12px 'Open Sans',Arial,sans-serif;color:#6B7480;margin-bottom:22px}
.rsp-rail{position:relative;height:22px}
.rsp-rail::before{content:"";position:absolute;left:0;right:0;top:8px;height:6px;border-radius:99px;background:#D5DBE3}
.rsp-rail em{position:absolute;top:8px;height:6px;border-radius:99px;background:#121212}
.rsp-rail input{position:absolute;inset:0;width:100%;margin:0;background:none;-webkit-appearance:none;appearance:none;pointer-events:none}
.rsp-rail input::-webkit-slider-thumb{-webkit-appearance:none;pointer-events:auto;width:22px;height:22px;border-radius:50%;background:#121212;box-shadow:0 2px 6px rgba(0,0,0,.25);cursor:pointer}
.rsp-rail input::-moz-range-thumb{pointer-events:auto;width:22px;height:22px;border:0;border-radius:50%;background:#121212;cursor:pointer}
.rsp-g{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.rsp-ph{position:relative;aspect-ratio:3/2;border-radius:12px;overflow:hidden;box-shadow:0 4px 18px rgba(0,0,0,.08);cursor:pointer;background:#F4F6F9}
.rsp-ph img{display:block;width:100%;height:100%;object-fit:cover}
.rsp-ph.on{box-shadow:0 0 0 3px #121212,0 4px 18px rgba(0,0,0,.08)}
.rsp-h,.rsp-moi{position:absolute;top:8px;padding:2px 9px;border:0;border-radius:99px;background:rgba(255,255,255,.92);font:700 11px 'Open Sans',Arial,sans-serif;color:#121212}
.rsp-h{left:8px}
.rsp-moi{right:8px;display:none;cursor:pointer}
.rsp-ph.on .rsp-moi{display:block}
.rsp-tag{position:absolute;right:8px;bottom:8px;padding:3px 9px;border-radius:99px;background:#162B45;color:#fff;font:700 11px 'Open Sans',Arial,sans-serif}
.rsp-vide{margin:6px 0 0;font:600 13px 'Open Sans',Arial,sans-serif;color:#6B7480}
/* résultats Strava dans le panneau GPS, au même style */
.rsp .stv{padding:22px 0 0!important;margin:0!important;text-align:left}
.rsp .stv-h{font:700 15px 'Open Sans',Arial,sans-serif!important;letter-spacing:0!important}
.rsp .stv-s{font:600 12.5px 'Open Sans',Arial,sans-serif;color:#6B7480}
.rsp .stv-g{gap:12px}
.rsp .stv-ph{border-radius:12px!important;box-shadow:0 4px 18px rgba(0,0,0,.08)}
.rsp .stv-ph .sel{display:none}
.rsp .stv-ph.on{box-shadow:0 0 0 3px #121212,0 4px 18px rgba(0,0,0,.08)!important}
.rsp .stv-ph.on::after{content:"Choisie";position:absolute;right:8px;bottom:8px;padding:3px 9px;border-radius:99px;background:#162B45;color:#fff;font:700 11px 'Open Sans',Arial,sans-serif}
.rsp #stv-ok{display:inline-flex;min-width:0!important;height:auto;padding:8px 18px;border-radius:99px!important;background:#162B45!important;color:#fff!important;font:700 12.5px 'Open Sans',Arial,sans-serif!important;box-shadow:none!important}
@media (max-width:700px){.rsp{padding:6px 12px 150px}.rsp-deux,.rsp-bts{grid-template-columns:1fr}.rsp-g{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.rsp-hrs{gap:40px}}

/* 2/11 : logo Strava blanc dans « Connecter Strava ». */
.rsp-bt.st{display:flex;align-items:center;justify-content:center;gap:10px}
.rsp-bt.st svg{width:18px;height:18px;fill:#fff;flex:none}

/* 2/11 : plus de bouton Strava, « Importer un fichier GPX » seul sur toute la largeur. */
.rsp-bts{grid-template-columns:1fr!important}

/* 2/11 : case « date de naissance » au même dessin que l'e-mail et le dossard. */
.sg-chp.sg-dn2{display:flex;align-items:center;height:56px;padding:0 44px 0 46px;border-radius:8px;background:#fff;box-shadow:0 0 0 1px #DCE2E9;box-sizing:border-box}
.sg-chp.sg-dn2:focus-within{box-shadow:0 0 0 2px #162B45}
.sg-chp.sg-dn2 input{flex:none;width:2.6em;height:100%;padding:0!important;border-radius:0!important;box-shadow:none!important;background:transparent;text-align:center}
.sg-chp.sg-dn2 input.an{width:4.2em}
.sg-chp.sg-dn2 input:focus{box-shadow:none!important}
.sg-chp.sg-dn2 i{font-style:normal;color:#9AA1AB;font:400 14px 'Open Sans',sans-serif;padding:0 2px}

/* 2/11 : « Voir plus » sous la galerie, au style du « Voir les photos » des cartes. */
.voir-plus-w{max-width:1400px;margin:8px auto 0;padding:0 32px;text-align:center}
.voir-plus{display:inline-flex;align-items:center;gap:6px;padding:12px 6px;font:700 13px 'Open Sans',Arial,sans-serif;color:#121212;text-decoration:none}
.voir-plus[hidden]{display:none}
.voir-plus svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.voir-plus:hover svg{transform:translateX(3px)}
.gal-reste{display:none!important}

/* 07/11/2026 (Romain) : plus d air entre la couleur du logo et le nom de la course */
@media (min-width:821px){.sg-fiche .sg-fv{height:176px}.sg-fiche .sg-ft{padding-top:20px}}

/* 7/11 (Romain) : au téléphone, une ligne — le logo à gauche, le nom et la date à droite. */
@media (max-width:820px){
  .sg-fiche{display:flex;align-items:stretch}
  .sg-fiche .sg-fv{flex:none;width:116px;height:auto;min-height:104px;padding:12px}
  .sg-fiche .sg-fv img{max-width:100%;max-height:80px}
  .sg-fiche .sg-ft{flex:1;min-width:0;justify-content:center;padding:14px 16px;gap:6px}
  .sg-fiche .sg-fn{overflow-wrap:anywhere}
}

/* 07/11 (Romain) : survol en douceur (le fondu d'apparition écrasait la
   transition du zoom, d'où le saut) et une bande blanche sous chaque photo
   — son nom, son numéro, « Signaler ». */
html body #gal .ph{background:#fff;overflow:hidden;border-radius:8px!important}
html body #gal .ph .ph-im{display:block;overflow:hidden}
html body #gal .ph img{border-radius:0!important;transform:scale(1);transition:opacity .45s ease,transform .8s cubic-bezier(.22,.61,.36,1)!important;will-change:transform}
html body #gal .ph:hover img{transform:scale(1.035)}
@media (prefers-reduced-motion:reduce){html body #gal .ph img{transition:opacity .45s ease!important}html body #gal .ph:hover img{transform:none}}

/* 08/11 : selfie dans la carte */
.sg-a [hidden]{display:none!important}
.sg-self .mc{margin-top:18px}

/* 08/11 (2) : selfie dans la carte = cases de la fenêtre « Presque prêt ! » */
.sg-a .sg-self{align-self:stretch;width:100%;margin-top:0;padding-bottom:31px}
.sg-a .sg-self>label{display:block;text-align:center}
.sg-a .sg-sa{display:flex;flex-direction:column;gap:14px;margin-top:18px;padding-bottom:6px}
.sg-a .sg-sa .pp-chp{display:flex;margin:0;align-items:center;gap:14px;width:100%;height:56px;padding:0 16px;border:0;border-radius:8px;background:#fff;box-shadow:0 0 0 1px #DCE2E9;font:400 14px "Open Sans",Arial,sans-serif;color:#1D3557;text-align:left;cursor:pointer;box-sizing:border-box;text-transform:none;letter-spacing:0}
.sg-a .sg-sa .pp-chp:hover,.sg-a .sg-sa .pp-chp:focus-visible{box-shadow:0 0 0 2px #162B45;outline:none}
.sg-a .sg-sa .pp-cam{height:auto;padding:0;flex-direction:column;align-items:stretch;overflow:hidden;cursor:default;gap:0}
.sg-a .sg-sa .pp-cam:hover{box-shadow:0 0 0 1px #DCE2E9}
.sg-a .sg-sa .pp-cam .pp-ct{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:14px;width:100%;height:56px;padding:0 16px;cursor:pointer;border-radius:8px;font:400 14px "Open Sans",Arial,sans-serif;color:#1D3557}
.sg-a .sg-sa .pp-cam .pp-ct:hover,.sg-a .sg-sa .pp-cam .pp-ct:focus-visible{box-shadow:inset 0 0 0 2px #162B45}
.sg-a .sg-sa .pp-cam:not([data-etat="ferme"]) .pp-ct{display:none}
.sg-a .sg-sa .pp-cam:not([data-etat="ferme"]) .pp-cv{flex:none;aspect-ratio:auto;height:0;padding-top:125%}
.sg-a .sg-self .mc{margin:14px 0 0!important;text-align:left}

