:root{--body:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;--bg:#f2f2f7;--surface:#ffffff;--fg:#111113;--muted:#636368;--line:#e3e3e8;--accent:#00968f;--accent-ink:#00706b;--on-accent:#ffffff;--soft:rgba(0,0,0,.05);--soft2:rgba(0,0,0,.08);--hero1:#cfe6e4;--hero2:#e6eef0;--sticky:rgba(242,242,247,.92);color-scheme:light}
@media (prefers-color-scheme:dark){:root{--bg:#0d1626;--surface:#172238;--fg:#f3f5fa;--muted:#9aa7be;--line:#26334d;--accent:#2ccfc6;--accent-ink:#2ccfc6;--on-accent:#062624;--soft:rgba(255,255,255,.06);--soft2:rgba(255,255,255,.10);--hero1:#2a3f66;--hero2:#1a2a47;--sticky:rgba(13,22,38,.92);color-scheme:dark}}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--fg);font:16px/1.45 var(--body)}
a{color:var(--accent-ink)}
button,input,select,textarea{font:inherit;color:inherit}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

.badge{min-width:20px;height:20px;padding:0 5px;border-radius:99px;background:var(--accent);color:var(--on-accent);font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.row{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px}
.chip{min-height:36px;display:inline-flex;align-items:center;gap:6px;padding:0 14px;border-radius:99px;border:1px solid var(--line);background:var(--surface);color:var(--fg);font-size:14px;font-weight:600;cursor:pointer}
.chip[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
.pill{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 12px;border-radius:99px;background:var(--surface);font-size:.86rem;font-weight:600;border:0;cursor:default}
button.pill{cursor:pointer;color:var(--accent-ink)}
.clear{min-height:34px;padding:0 12px;border-radius:99px;border:0;background:var(--fg);color:var(--bg);font-size:.85rem;font-weight:600;cursor:pointer}

main{max-width:1180px;margin:0 auto;padding:4px 20px 56px}
.legend{margin-top:12px;display:flex;flex-wrap:wrap;justify-content:center;gap:4px 12px;font-size:.78rem;color:var(--muted)}
.legend i{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:4px;vertical-align:-1px}
.grp{margin-top:18px}
.grp h2{position:sticky;top:0;z-index:5;margin:0 -6px 12px;padding:12px 10px 9px;display:flex;align-items:baseline;gap:10px;font-size:28px;font-weight:800;letter-spacing:-.035em;background:var(--sticky);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.grp h2 small{font-size:.9rem;font-weight:600;color:var(--muted);letter-spacing:0}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}
.empty{margin-top:32px;color:var(--muted);text-align:center}

.card{position:relative;overflow:hidden;display:flex;flex-direction:column;border-radius:18px;background:color-mix(in srgb,var(--c) 18%,var(--surface));box-shadow:inset 0 -4px 0 var(--c);cursor:pointer;transition:transform .12s,box-shadow .12s}
.card:hover{transform:translateY(-2px);box-shadow:inset 0 -4px 0 var(--c),0 8px 22px rgba(0,0,0,.18)}
.inds{margin-top:auto;padding-top:12px;min-height:30px;display:flex;align-items:center;gap:12px;color:var(--muted)}
.ind svg{width:18px;height:18px;display:block}
.ban{position:relative;overflow:hidden;height:64px;background:linear-gradient(120deg,var(--c),color-mix(in srgb,var(--c) 45%,var(--surface)))}
.ban .ico{position:absolute;right:12px;top:4px;width:56px;height:56px;opacity:.3}
.ban .blur{position:absolute;left:50%;top:50%;width:340px;height:340px;margin:-170px 0 0 -170px;background-repeat:no-repeat;filter:blur(16px) saturate(1.3);transform:scale(1.1)}
.ban.haslogo{background:#fff}
.ban.haslogo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(13,22,38,0) 40%,rgba(13,22,38,.35))}
.medrow{position:relative;z-index:1;margin-top:-38px;padding:0 16px;display:flex;align-items:flex-end;justify-content:space-between;gap:8px}
.med{width:72px;height:72px;flex:none;border-radius:50%;border:4px solid var(--c);background:var(--c) no-repeat;display:flex;align-items:center;justify-content:center}
.med svg{width:36px;height:36px}
.med.logo{background-color:#fff}
.tagffa{margin-bottom:4px;display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:99px;background:var(--soft2);font-size:.78rem;font-weight:600}
.dist{margin-bottom:4px;font-size:.8rem;font-weight:600;color:var(--muted)}
.body{flex:1;display:flex;flex-direction:column;gap:2px;padding:8px 16px 14px}
.body h3{margin:0;font-size:18px;font-weight:800;line-height:1.25}
.body h3 a{color:var(--fg);text-decoration:none}
.body h3 a::after{content:"";position:absolute;inset:0}
.full{margin:0;font-size:.8rem;color:var(--muted)}
.com{margin:2px 0 0;font-size:.875rem;color:var(--muted)}
.acts{position:relative;z-index:2;margin-top:auto;padding-top:10px;display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.site{min-height:38px;display:inline-flex;align-items:center;gap:5px;padding:0 12px;border-radius:99px;background:var(--accent);color:var(--on-accent);font-weight:600;font-size:14px;text-decoration:none}
.net{width:38px;height:38px;flex:none;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--soft2);color:var(--fg)}
.net svg{width:20px;height:20px}
.net.brand svg{width:22px;height:22px}
.none{font-size:.85rem;color:var(--muted)}
.fix{position:relative;z-index:2;align-self:flex-start;min-height:36px;padding:0;border:0;background:none;font-size:.8rem;color:var(--accent-ink);cursor:pointer}

.missing{margin-top:44px;padding:24px;border-radius:18px;background:var(--surface);border:1px solid var(--line);display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px}
.missing h2{margin:0;font-size:20px}
.missing p{margin:0;max-width:560px;font-size:15px;color:var(--muted)}
.cta{min-height:44px;display:inline-flex;align-items:center;padding:0 20px;border-radius:99px;border:0;background:var(--accent);color:var(--on-accent);font-weight:700;font-size:15px;cursor:pointer;text-decoration:none}
.src{margin:22px 0 0;text-align:center;font-size:.86rem;color:var(--muted)}
.foot{padding:20px 20px calc(28px + env(safe-area-inset-bottom,0px));text-align:center;font-size:.86rem;color:var(--muted);border-top:1px solid var(--line)}

.dlg{width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 48px);padding:0;border:1px solid var(--line);border-radius:22px;background:var(--bg);color:var(--fg);box-shadow:0 20px 60px rgba(0,0,0,.4);overflow:auto}
.dlg.wide{width:min(720px,calc(100vw - 24px))}
.dlg::backdrop{background:rgba(10,14,20,.5)}
.dlgin{padding:20px 24px 22px;display:flex;flex-direction:column;gap:8px}
.dhead{display:flex;align-items:center;justify-content:space-between;gap:12px}
.dhead h2{margin:0;font-size:22px;font-weight:800}
.x{width:44px;height:44px;flex:none;border-radius:50%;border:0;background:var(--soft);font-size:18px;cursor:pointer}
.lab{margin:10px 0 0;font-size:.86rem;font-weight:600;color:var(--muted)}
select,input[type=text],input[type=email],input[type=tel],input[type=url],textarea{width:100%;min-height:44px;padding:0 14px;border-radius:12px;border:1px solid var(--line);background:var(--surface)}
textarea{padding:10px 14px;resize:vertical}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.dfoot{margin-top:16px;padding-top:14px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}
.link{min-height:44px;padding:0;border:0;background:none;text-decoration:underline;font-weight:600;cursor:pointer}

.fiche .ban{height:96px}
.fiche .medrow{margin-top:-44px;padding:0 24px}
.fiche .med{width:88px;height:88px}
.fiche .fx{position:absolute;top:12px;right:12px;z-index:3;background:rgba(255,255,255,.85);color:#111}
.fin{padding:10px 24px 24px}
.fin h2{margin:0;font-size:26px;font-weight:800;letter-spacing:-.02em}
.meta{margin:4px 0 0;color:var(--muted);font-size:.95rem}
.fin h3{margin:20px 0 10px;font-size:17px;font-weight:700}
.prat{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:8px}
.pr{min-height:52px;display:flex;align-items:center;gap:12px;padding:8px 14px;border-radius:12px;background:var(--surface);color:var(--fg);text-decoration:none;font-size:.92rem}
.pr .pi{width:34px;height:34px;flex:none;border-radius:50%;background:color-mix(in srgb,var(--accent) 16%,transparent);display:inline-flex;align-items:center;justify-content:center;color:var(--accent-ink)}
.pr small{display:block;font-size:.78rem;color:var(--muted)}
.races{margin:0;padding-left:18px}
.races li{margin:3px 0}
.note{margin:8px 0 0;font-size:.8rem;color:var(--muted)}
.fform{padding:20px 24px 22px;display:flex;flex-direction:column;gap:12px}
.fform .sec{margin:6px 0 0;font-size:.75rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--accent-ink)}
.fform .f{display:flex;flex-direction:column;gap:5px}
.fform .f label{font-size:.86rem;font-weight:600;color:var(--muted)}
.fform .two{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.fform .hint{font-size:.78rem;color:var(--muted)}
.fform .err{color:#d2481e;font-size:.86rem}
.done{padding:28px 24px;text-align:center}
.done h2{margin:0;font-size:22px}
.done p{margin:8px 0 0;color:var(--muted)}
@media (max-width:560px){.grid{grid-template-columns:1fr}.fin,.fform,.dlgin{padding-left:18px;padding-right:18px}}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
/* mêmes animations que les fenêtres du site (app.css : dlgIn, popIn, sheetIn) */
@keyframes dlgIn{0%{opacity:0}to{opacity:1}}
@keyframes popIn{0%{opacity:0;transform:scale(.97) translateY(8px)}to{opacity:1;transform:none}}
@keyframes sheetIn{0%{transform:translateY(100%)}to{transform:none}}
.dlg[open]{animation:popIn .26s cubic-bezier(.2,.8,.2,1)}
.dlg[open]::backdrop{animation:dlgIn .22s ease-out}
@media (max-width:640px){
  .dlg,.dlg.wide{width:100%;max-width:100%;margin:auto 0 0;max-height:92dvh;border-radius:16px 16px 0 0;border-bottom:0;padding-bottom:env(safe-area-inset-bottom,0px)}
  .dlg[open]{animation:sheetIn .32s cubic-bezier(.2,.8,.2,1)}
}
@media (prefers-reduced-motion:reduce){.dlg[open],.dlg[open]::backdrop{animation:none}}
/* textes des cartes et des fiches : blanc (sombre) / noir (clair), hiérarchie par taille et graisse */
.card .full,.card .com,.card .inds,.card .none,.card .dist,.fiche .meta,.fiche .pr small,.fiche .note,.fiche .none{color:var(--fg)}
.card .com{font-weight:600}

/* --- alignement sur le site (16/11 soir) --- */
:root{--soft:#55555a}
@media (prefers-color-scheme:dark){:root{--soft:#b4bccb}}
input::placeholder,textarea::placeholder{color:var(--soft);opacity:1}
.src,.note,.fform .hint,.legend,.foot{color:var(--soft)!important}
.dlg{background:var(--surface);border:0;border-radius:24px;box-shadow:0 12px 40px rgba(0,0,0,.35)}
.dlg .x{width:40px;height:40px;font-size:1.1rem;background:color-mix(in srgb,var(--surface) 88%,transparent);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);box-shadow:0 1px 6px rgba(0,0,0,.18);color:var(--fg)}
.fiche .fx{background:color-mix(in srgb,var(--surface) 88%,transparent);color:var(--fg)}
.pr,select,input[type=text],input[type=email],input[type=tel],input[type=url],textarea{background:var(--bg)}
.dlg.out{opacity:0;transform:scale(.98) translateY(10px);transition:opacity .22s ease-in,transform .22s ease-in}
.dlg.out::backdrop{opacity:0;transition:opacity .22s ease-in}
@media (max-width:640px){.dlg{max-height:88dvh;padding-bottom:calc(env(safe-area-inset-bottom,0px))}.dlg.out{transform:translateY(100%)}}
@media (prefers-reduced-motion:reduce){.dlg.out{transition:none}}
/* lignes pratiques comme la ligne de départ des fiches courses */
.prat{display:block}
.go{position:relative}
.go-b{all:unset;box-sizing:border-box;cursor:pointer;display:flex;width:100%;align-items:center;gap:12px;min-height:60px;padding:8px 0;border-top:1px solid var(--line);color:var(--fg);text-decoration:none;-webkit-tap-highlight-color:transparent}
.go:last-child .go-b{border-bottom:1px solid var(--line)}
.go-b .pin{width:20px;height:20px;flex:none;fill:none;stroke:var(--accent-ink);stroke-width:2;stroke-linejoin:round}
.go-l{display:grid;gap:1px;flex:1 1 auto;min-width:0;line-height:1.25}
.go-l small{font-size:.78rem;color:var(--soft)}
.go-l b{font-size:.98rem;font-weight:700;overflow:hidden;text-overflow:ellipsis}
.go-go{flex:none;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--accent);transition:transform .15s}
.go-go svg{width:19px;height:19px;fill:var(--on-accent)}
.go-go.st svg{fill:none;stroke:var(--on-accent);stroke-width:2;stroke-linejoin:round}
.go-b:active .go-go{transform:scale(.94)}
.go-b:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.go-m{position:absolute;right:0;bottom:calc(100% + 6px);z-index:5;display:grid;min-width:180px;padding:6px;border-radius:14px;background:var(--surface);border:1px solid var(--line);box-shadow:0 10px 30px rgba(0,0,0,.22)}
.go-m a{padding:10px 12px;border-radius:9px;color:var(--fg);font-weight:600;font-size:.92rem;text-decoration:none}
.go-m a:hover,.go-m a:focus-visible{background:color-mix(in srgb,var(--accent) 14%,transparent)}
.tagffa{background:var(--soft2);color:var(--fg)}
.fiche .link[data-fix]{min-height:36px;font-size:.85rem;font-weight:400;color:var(--soft)}
.fiche .none .link[data-fix]{font-size:inherit;color:var(--accent-ink);font-weight:600}

/* comme le site : plus de gris pour le texte (--muted = texte) */
:root{--muted:var(--fg)}

/* en-tête comme l'accueil */
:root{--display:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;--hot:#ff6a45}
body{padding:22px max(24px,env(safe-area-inset-right,0px)) 0 max(24px,env(safe-area-inset-left,0px));-webkit-font-smoothing:antialiased}
.wrap{max-width:1320px;margin:0 auto}
.wrap main{max-width:none;padding:4px 0 56px}
.homel{pointer-events:auto;font-size:.88rem;font-weight:600;color:var(--fg);text-decoration:none;padding:8px 12px;border-radius:99px;background:color-mix(in srgb,var(--surface) 80%,transparent)}
header.top .brand{pointer-events:auto}
#f-count{margin-left:6px;min-width:20px;height:20px;padding:0 5px;border-radius:99px;background:var(--fg);color:var(--bg);font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.qchips button[aria-pressed=true]{background:var(--fg);color:var(--bg)}
.qchips .ico{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.2;vertical-align:-2px;margin-right:5px}
#state{margin-top:2px}
.hero2 h1{color:var(--fg)}
.foot{margin:0 -16px}
.grp h2{top:60px}
.legend{position:relative;z-index:1;margin-top:18px}

/* logo qui glisse (comme l'accueil) */
.bghost{position:fixed;z-index:46;margin:0;pointer-events:none;will-change:transform}
/* liste / carte (comme l'accueil) */
.vbar2{margin-top:14px;display:flex;justify-content:center}
.switch{display:inline-flex;background:var(--surface);border-radius:999px;padding:4px;gap:2px}
.switch button{border:0;background:none;border-radius:999px;padding:8px 22px;font:inherit;font-weight:600;color:var(--fg);cursor:pointer;min-height:40px}
.switch button[aria-pressed=true]{background:var(--accent);color:var(--on-accent)}
#mapview{margin-top:14px}
.mapbox{position:relative;max-width:900px;margin:0 auto;background:#073a59;border-radius:24px;overflow:hidden}
#cmap{display:block;width:100%;height:auto}
.cbord path{fill:none;stroke:rgba(255,255,255,.45);stroke-width:1.2;vector-effect:non-scaling-stroke}
.pin{cursor:pointer}
.pin .hit{fill:transparent}
.pin circle.core{fill:#111113;stroke:#fff;stroke-width:1.5;vector-effect:non-scaling-stroke}
.pin circle.seg{fill:none}
.pin text{font-family:var(--display);font-weight:700;text-anchor:middle;dominant-baseline:central;pointer-events:none}
.pin text.n{fill:#fff}
.pin text.lbl{fill:#111113;text-anchor:start;font-weight:600;paint-order:stroke;stroke:#fff;stroke-width:4px;stroke-linejoin:round}
.pin.on circle.core{fill:var(--hot)}
.pin:focus-visible{outline:none}.pin:focus-visible circle.core{stroke:var(--accent);stroke-width:3}
.maphint{text-align:center;margin:10px 0 0;font-size:.9rem;color:var(--soft)}
#mapsel .grp{margin-top:10px}
/* fiches : défilement interne, barre fine en retrait comme les fiches courses */
.dlg[open]{display:flex;flex-direction:column;overflow:hidden}
.dlg>*{position:relative;flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}
html.noscroll{overflow:hidden}
#mapsel{scroll-margin-top:72px}
/* partage, courses reliées, « C'est votre club ? », section jeunes */
button.net{border:0;cursor:pointer;font:inherit;padding:0}
.go-b.static{cursor:default}
.races a{color:var(--fg);font-weight:600;text-decoration:underline;text-decoration-color:color-mix(in srgb,var(--accent) 60%,transparent);text-underline-offset:3px}
.races .rd{color:var(--soft);font-size:.88rem;white-space:nowrap}
.claim{margin-top:22px;padding:16px 18px;border-radius:18px;background:color-mix(in srgb,var(--c) 22%,var(--surface));display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px}
.claim p{margin:0;flex:1 1 240px;line-height:1.4}
.claim .cta{flex:none}
.toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);z-index:99;background:var(--fg);color:var(--bg);padding:10px 18px;border-radius:999px;font-weight:600;font-size:.92rem;box-shadow:0 6px 24px rgba(0,0,0,.25);transition:opacity .3s}
.toast.out{opacity:0}
textarea{font:inherit}
noscript .static{max-width:760px;margin:90px auto 0;padding:0 20px}
/* fiche club, présentation A (17/11) : barre d'actions + tableau */
.fa .ban{height:76px}
.fa .top{display:flex;align-items:flex-end;margin-top:-40px;padding:0 20px;position:relative;z-index:2}
.fa .top .med{width:80px;height:80px}
.fa .id{padding:12px 20px 0}
.fa h2{margin:0;font-size:24px;font-weight:800;letter-spacing:-.02em;line-height:1.15}
.fa .sub{margin:3px 0 0;font-size:.95rem;color:var(--soft)}
.fa .chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.fa .chips span{font-size:.8rem;font-weight:600;padding:4px 10px;border-radius:99px;background:var(--soft2)}
.fa .bar{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;padding:16px 20px 4px}
.fa .ab{all:unset;box-sizing:border-box;cursor:pointer;width:100%;display:flex;flex-direction:column;align-items:center;gap:6px;padding:11px 2px 9px;border-radius:14px;background:var(--soft2);color:var(--fg);font-size:.76rem;font-weight:600;text-align:center;-webkit-tap-highlight-color:transparent;min-height:0;border:0}
.fa .ab:hover{background:color-mix(in srgb,var(--accent) 14%,var(--soft2))}
.fa .ab:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.fa .ab .i{width:22px;height:22px;color:var(--accent-ink)}
.fa .abw{position:relative}
.fa .abw .go-m{top:calc(100% + 6px);bottom:auto;left:50%;right:auto;transform:translateX(-50%)}
.fa .sec{margin:22px 20px 0}
.fa .sec h3{margin:0 0 6px;font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;color:var(--soft);font-weight:700}
.fa .sec h3 span{text-transform:none;letter-spacing:0;font-weight:500}
.fa dl{margin:0;display:grid;grid-template-columns:minmax(96px,30%) 1fr;border-top:1px solid var(--line)}
.fa dt,.fa dd{margin:0;padding:11px 0;border-bottom:1px solid var(--line);font-size:.93rem}
.fa dt{color:var(--soft);padding-right:10px}
.fa dd{font-weight:600;overflow-wrap:anywhere;min-width:0}
.fa dd a{color:var(--fg);text-decoration:none;border-bottom:1px solid color-mix(in srgb,var(--accent) 55%,transparent)}
.fa dd .nets{display:flex;flex-wrap:wrap;gap:6px;margin:-6px 0}
.fa dd .nets a{border:0;width:32px;height:32px}
.fa dd .nets svg{width:18px;height:18px}
.fa .kids{display:flex;flex-wrap:wrap;gap:6px}
.fa .kids span{padding:6px 12px;border-radius:10px;border:1px solid var(--line);font-size:.88rem;font-weight:600}
.fa .rc{display:flex;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line);color:var(--fg);text-decoration:none}
.fa .rc:hover .n{text-decoration:underline}
.fa .dt{flex:none;width:46px;text-align:center;border-radius:10px;background:var(--soft2);padding:5px 0;line-height:1.05}
.fa .dt b{display:block;font-size:1.15rem}
.fa .dt small{font-size:.64rem;font-weight:700;color:var(--soft)}
.fa .rc .n{flex:1;font-weight:600}
.fa .rc .i{width:18px;height:18px;color:var(--soft);flex:none}
.fa .oth{margin:8px 0 0;font-size:.92rem;line-height:1.45}
.fa .foot{margin:24px 20px 24px;padding-top:14px;border-top:1px solid var(--line);font-size:.86rem;color:var(--soft);line-height:1.45}
.fa .lnk{all:unset;cursor:pointer;color:var(--fg);font-weight:600;text-decoration:underline;text-underline-offset:2px}
@media (min-width:641px){.fa .bar{grid-template-columns:repeat(auto-fill,108px)}.fa dl{grid-template-columns:150px 1fr}.fa .bar,.fa .id,.fa .top{padding-left:28px;padding-right:28px}.fa .sec,.fa .foot{margin-left:28px;margin-right:28px}}
/* rangée de pastilles comme « Calendrier 2027 » de l'accueil */
.szrow{display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:8px;margin-top:10px}
.szlink{display:inline-flex;align-items:center;gap:6px;line-height:1.2;white-space:nowrap;font-weight:700;font-size:.84rem;padding:8px 11px;border-radius:99px;background:#00807a;color:#fff;text-decoration:none;box-shadow:0 4px 14px #0000001f}
.szlink .ico{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.szlink span{margin-left:2px;font-size:1.1em}
@media (min-width:761px){.szrow>*{padding:9px 13px;font-size:.9rem}}
#state .pill{background:color-mix(in srgb,#fff 75%,transparent);color:#111113;padding:4px 12px;border-radius:99px;font-size:.95rem;font-weight:600;border:0;box-shadow:none}
/* ===== 17/11 : gestes et formes repris des fiches courses ===== */
/* barre de titre de la fiche + croix ronde toujours visible */
.dlg>.fbar{position:absolute;top:0;left:0;right:0;height:56px;flex:none;overflow:visible;z-index:6;display:flex;align-items:center;padding:0 64px 0 22px;pointer-events:none;--tp:0}
.dlg>.fbar::before{content:"";position:absolute;inset:0;background:color-mix(in srgb,var(--surface) 92%,transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);opacity:var(--tp)}
.fbar span{position:relative;font-weight:700;font-size:1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;opacity:var(--tp);transform:translateY(calc((1 - var(--tp)) * 14px))}
.dlg .x{font-size:1.6rem;line-height:1;display:grid;place-items:center;padding:0;font-weight:400}
.fbar .fbx{position:absolute;right:8px;top:8px;pointer-events:auto;min-width:40px}
/* fondu en haut et en bas de ce qui défile */
/* pastille « Le jeu » jaune, comme l'accueil */
.szlink.jeu{background:#ffd400;color:#1d2523}
.szlink.jeu svg{width:18px;height:18px;flex:none}
.dpjeu-new{background:#c62828;color:#fff;font-size:.68em;font-weight:700;padding:2px 7px;border-radius:99px;line-height:1.4}
/* sélecteur d'affichage en bas d'écran sur mobile (comme « 4 façons de voir les courses ») */
.tabbar,.tbpill,.tbdim{display:none}
@media (max-width:760px){
  .vbar2{display:none}
  .tbpill{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;gap:8px;position:fixed;z-index:57;left:50%;transform:translate(-50%);bottom:calc(16px + env(safe-area-inset-bottom,0px));padding:11px 16px 11px 14px;border-radius:999px;cursor:pointer;background:#141e23e0;color:#fff;font-weight:700;font-size:1rem;box-shadow:0 6px 20px #0000004d;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.12);-webkit-tap-highlight-color:transparent;white-space:nowrap}
  body{padding-bottom:calc(80px + env(safe-area-inset-bottom,0px))}
}
.tbpill svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tbpill .car{width:15px;height:15px;stroke-width:2.6;opacity:.75;transition:transform .2s}
.tbpill .tbcur{display:inline-flex;align-items:center;gap:8px}
.tbpill,.tbpill .tbcur{transition:gap .22s ease,padding .22s ease}
.tbpill .tbl,.tbpill .car{display:inline-block;max-width:7.5em;overflow:hidden;transition:max-width .22s ease,opacity .18s ease}
.tbpill.mini{padding:11px 13px;gap:0}
.tbpill.mini .tbcur{gap:0}
.tbpill.mini .tbl,.tbpill.mini .car{max-width:0;opacity:0}
.tbpill[aria-expanded=true]{background:var(--surface);color:var(--fg)}
.tbpill[aria-expanded=true] .car{transform:rotate(180deg)}
.tbpill:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.tbdim{position:fixed;inset:0;z-index:55;background:#0a141961;-webkit-backdrop-filter:blur(1.5px);backdrop-filter:blur(1.5px);animation:tbFade .18s ease-out}
.tbdim.on{display:block}
.tabbar{display:none;position:fixed;z-index:57;left:50%;transform:translate(-50%);bottom:calc(76px + env(safe-area-inset-bottom,0px));width:236px;flex-direction:column;gap:2px;padding:8px;border-radius:22px;background:var(--surface);box-shadow:0 12px 40px #00000052;animation:tbUp .18s ease-out}
.tabbar.open{display:flex}
.tabbar button{all:unset;cursor:pointer;display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;font-size:1.05rem;font-weight:700;color:var(--fg);-webkit-tap-highlight-color:transparent}
.tabbar svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tabbar button[aria-current=page]{background:var(--accent);color:#fff}
.tabbar button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
body:has(dialog[open]) :is(.tabbar,.tbpill,.tbdim),body.mapfull :is(.tabbar,.tbpill,.tbdim){display:none!important}
@keyframes tbFade{from{opacity:0}}
@keyframes tbUp{from{opacity:0;transform:translate(-50%,8px)}}
/* carte : zoom, déplacement, plein écran */
#cmap{touch-action:pan-y;cursor:default;user-select:none;-webkit-user-select:none}
#cmap.zoomed{touch-action:none;cursor:grab}
#cmap.dragging{cursor:grabbing}
.maptools{position:absolute;left:10px;right:10px;top:10px;display:flex;justify-content:space-between;align-items:flex-start;gap:6px;pointer-events:none}
.maptools>*{pointer-events:auto;display:flex;gap:6px}
.toolbtn{font:inherit;font-size:.85rem;font-weight:600;background:var(--surface);color:var(--fg);border:1px solid var(--line);border-radius:8px;padding:4px 10px;cursor:pointer;min-height:34px}
.toolbtn[hidden]{display:none!important}
.zbtns .toolbtn{width:34px;height:34px;padding:0;font-size:1.2rem;font-weight:700;line-height:1}
.mfull{width:38px;height:38px;padding:0!important;display:inline-grid;place-items:center}
.mfull svg{width:18px;height:18px}
.mfullx{width:44px;height:44px;padding:0!important;font-size:1.6rem;line-height:1;display:inline-grid;place-items:center}
body.mapfull .mapbox{position:fixed;inset:0;z-index:54;border-radius:0;max-width:none;margin:0;display:flex;align-items:center;justify-content:center;background:#073a59}
body.mapfull #cmap{width:100%;height:100%;height:100dvh}
body.mapfull .maptools{top:calc(10px + env(safe-area-inset-top))}
.mpop{position:absolute;left:10px;right:10px;bottom:10px;max-height:46%;display:flex;flex-direction:column;background:var(--surface);border-radius:18px;box-shadow:0 6px 24px #0000002e;overflow:hidden;z-index:2}
.mpop[hidden]{display:none}
.mpop-h{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px 10px 16px;border-bottom:1px solid var(--line)}
.mpop-h b{font-size:1.2rem;font-weight:700;letter-spacing:-.02em}
.mpop-h span{color:var(--soft);font-size:.85rem}
.mpop-x{font:inherit;font-size:1.5rem;line-height:1;background:none;border:0;color:var(--fg);cursor:pointer;padding:4px 8px}
.mpop-l{overflow-y:auto;padding:4px 0}
.mpop-i{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;align-items:center;padding:8px 16px;color:var(--fg);text-decoration:none;border-bottom:1px solid var(--line)}
.mpop-i:last-child{border-bottom:0}
.mpop-i:hover{background:color-mix(in srgb,var(--accent) 12%,transparent)}
.mpop-i .med{width:44px;height:44px;border-width:2px}
.mpop-n{display:block;font-weight:600;line-height:1.2}
.mpop-m{display:block;font-size:.8rem;color:var(--soft);margin-top:2px}
@media (min-aspect-ratio:5/4) and (min-width:600px){body.mapfull .mpop{inset:64px 12px auto auto;width:min(380px,38%);max-height:calc(100% - 76px);border-radius:16px}}
.szlink .dpjeu-new{font-size:.68em;margin-left:2px;padding:2px 7px}
.hfind .qchips{justify-content:center}
/* réseaux Dossard Péi dans la barre du haut (comme l'accueil) */
.socb{position:relative;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;border:0;color:#fff!important;transition:transform .15s}
.socb svg{width:19px;height:19px}
.socb:hover{transform:translateY(-2px)}
.socb:after{content:"";position:absolute;left:50%;top:50%;width:max(100%,44px);height:max(100%,44px);transform:translate(-50%,-50%)}
.socb.soc-ig{background:linear-gradient(45deg,#f9a13a,#e1306c 55%,#833ab4)}
.socb.soc-tt{background:#111}
.socb.soc-fb{background:#1877f2}
.topsoc{display:inline-flex;gap:6px;margin-right:6px;vertical-align:middle}
.topsoc .socb{width:32px;height:32px}
.topsoc .socb svg{width:16px;height:16px}
@media (max-width:420px){.topsoc{gap:5px}.topsoc .socb{width:30px;height:30px}.topsoc .socb svg{width:15px;height:15px}}
/* barre de défilement des fiches : mêmes règles que .dlg-panel des fiches courses */
.dlg>*::-webkit-scrollbar{width:12px}
.dlg>*::-webkit-scrollbar-track{background:transparent;margin:22px 0}
.dlg>*::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--fg) 22%,transparent);border-radius:99px;border:4px solid transparent;background-clip:padding-box;min-height:40px}
.dlg>*::-webkit-scrollbar-thumb:hover{background-color:color-mix(in srgb,var(--fg) 38%,transparent)}
.dlg>*::-webkit-scrollbar-corner{background:transparent}
/* fondu haut / bas posé par-dessus le contenu (sans toucher la barre de défilement) */
.dlg::before,.dlg::after{content:"";position:absolute;left:0;right:12px;z-index:4;pointer-events:none}
.dlg::before{top:0;height:var(--ft,0px);background:linear-gradient(var(--surface),transparent)}
.dlg::after{bottom:0;height:var(--fb,0px);background:linear-gradient(transparent,var(--surface))}

@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .card{background:color-mix(in srgb,var(--c) 22%,var(--surface))}}
:root[data-theme="dark"] .card{background:color-mix(in srgb,var(--c) 22%,var(--surface))}
.fa .none{font-weight:400;opacity:.55}
.dlg .x{font-size:0!important;display:grid;place-items:center;padding:0}.dlg .x::before{content:"";position:absolute;inset:0;margin:auto;width:19px;height:19px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / contain no-repeat}
.dlg .x:not(.fbx){position:relative}
