.werun-event-formats{--wr-blue:#13aff0;--wr-blue-dark:#087fae;--wr-text:#434445;--wr-muted:#68757d;--wr-line:rgba(19,175,240,.14);--wr-shadow:0 10px 28px rgba(47,87,108,.055);width:100%;padding:20px 0 24px;color:var(--wr-text)}
.werun-event-formats__shell{width:min(1500px,calc(100% - 84px));max-width:none;margin:0 auto}
.werun-event-formats__heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 16px;padding:0 4px}
.werun-event-formats__kicker{display:block;margin-bottom:2px;color:var(--wr-blue-dark);font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.werun-event-formats__heading h2{margin:0;color:var(--wr-text);font-size:clamp(27px,2.2vw,37px);font-weight:800;line-height:1.05}
.werun-event-formats__count{display:inline-flex;align-items:center;min-height:32px;padding:0 13px;border:1px solid var(--wr-line);border-radius:999px;background:rgba(255,255,255,.78);color:#5c6870;font-size:12px;font-weight:700}
.werun-event-formats__list{display:grid;gap:11px}
.werun-format-card{overflow:hidden;border:1px solid rgba(42,137,177,.16);border-radius:16px;background:rgba(255,255,255,.95);box-shadow:var(--wr-shadow);transition:border-color .2s ease,box-shadow .2s ease}
.werun-format-card.is-open{border-color:rgba(19,175,240,.30);box-shadow:0 13px 34px rgba(47,87,108,.08)}
.werun-format-card__summary{display:grid;grid-template-columns:minmax(190px,1.05fr) minmax(390px,1.8fr) minmax(180px,.72fr);align-items:center;gap:16px;width:100%;min-height:88px;margin:0;padding:12px 16px;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.werun-format-card__summary:hover{background:linear-gradient(90deg,rgba(245,251,254,.72),rgba(255,255,255,.1))}
.werun-format-card__summary:focus-visible{outline:3px solid rgba(19,175,240,.25);outline-offset:-3px}
.werun-format-card__identity{display:flex;align-items:center;gap:11px;min-width:0}
.werun-format-card__icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:36px;height:36px;border-radius:11px;background:#effaff;color:var(--wr-blue-dark)}
.werun-format-card__icon .werun-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round}
.werun-format-card__name{overflow:hidden;color:var(--wr-text);font-size:clamp(19px,1.45vw,24px);font-weight:800;line-height:1.08;text-overflow:ellipsis;white-space:nowrap}
.werun-format-card__metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.werun-format-card__metric{display:flex;flex-direction:column;justify-content:center;min-height:58px;padding:9px 12px;border:1px solid rgba(64,143,176,.15);border-radius:11px;background:rgba(249,252,254,.9)}
.werun-format-card__metric small{margin-bottom:3px;color:#748088;font-size:9px;font-weight:800;letter-spacing:.055em;text-transform:uppercase}
.werun-format-card__metric strong{color:var(--wr-blue-dark);font-size:clamp(15px,1.25vw,19px);font-weight:800;line-height:1.15}
.werun-format-card__summary-end{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}
.werun-format-card__badges{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}
.werun-format-card__badge{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:999px;font-size:10px;font-weight:800;white-space:nowrap}
.werun-format-card__badge--itra{background:#fff0e8;color:#c94e18}
.werun-format-card__badge--utmb{background:#eef0ff;color:#343f9d}
.werun-format-card__badge--gpx{background:#eaf8f1;color:#207552}
.werun-format-card__toggle-label{color:var(--wr-blue-dark);font-size:11px;font-weight:800;white-space:nowrap}
.werun-format-card__chevron{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid rgba(19,175,240,.18);border-radius:50%;background:#f3fbfe;color:var(--wr-blue-dark)}
.werun-format-card__chevron svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .22s ease}
.werun-format-card.is-open .werun-format-card__chevron svg{transform:rotate(45deg)}
.werun-format-card__panel{overflow-anchor:none;display:grid;grid-template-rows:0fr;opacity:0;border-top:1px solid transparent;transition:grid-template-rows .28s ease,opacity .22s ease,border-color .22s ease}
.werun-format-card.is-open .werun-format-card__panel{grid-template-rows:1fr;opacity:1;border-top-color:rgba(19,175,240,.12)}
.werun-format-card__panel[hidden]{display:none}
.werun-format-card__panel-inner{min-height:0;overflow:hidden;padding:20px 22px 24px;background:linear-gradient(180deg,rgba(248,252,254,.72),rgba(255,255,255,.97))}
.werun-format-details{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0}
.werun-format-details__item{min-height:66px;margin:0;padding:11px 13px;border:1px solid rgba(64,143,176,.14);border-radius:12px;background:rgba(255,255,255,.8)}
.werun-format-details__item dt{margin:0 0 4px;color:#7a858c;font-size:9px;font-weight:800;letter-spacing:.055em;text-transform:uppercase}
.werun-format-details__item dd{margin:0;color:#47535b;font-size:13px;font-weight:700;line-height:1.35}
.werun-format-performance{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}
.werun-format-performance__pill{display:inline-flex;align-items:center;gap:8px;min-height:34px;padding:5px 11px;border-radius:999px;border:1px solid transparent}
.werun-format-performance__pill small{font-size:9px;font-weight:800;letter-spacing:.045em;text-transform:uppercase;opacity:.78}
.werun-format-performance__pill strong{font-size:13px;font-weight:900;line-height:1}
.werun-format-performance__pill--itra{background:#fff0e8;border-color:#ffd4c2;color:#bd4818}
.werun-format-performance__pill--utmb{background:#eef0ff;border-color:#d8dcff;color:#343f9d}
.werun-format-performance__pill--stones{background:#fff8df;border-color:#f4dfa2;color:#8a6410}
.werun-format-tags{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:13px}
.werun-format-tags__group{padding:12px 14px;border:1px solid rgba(64,143,176,.12);border-radius:12px;background:rgba(255,255,255,.66)}
.werun-format-tags__title{display:block;margin-bottom:7px;color:#727f87;font-size:9px;font-weight:800;letter-spacing:.055em;text-transform:uppercase}
.werun-format-tags__group>div{display:flex;flex-wrap:wrap;gap:6px}
.werun-format-tags__group>div span{display:inline-flex;align-items:center;min-height:26px;padding:0 9px;border-radius:999px;background:#eef9fd;color:#227ca1;font-size:11px;font-weight:700}
.werun-format-route{margin-top:16px;overflow:hidden;border:1px solid rgba(42,137,177,.16);border-radius:14px;background:#fff}
.werun-format-route__heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 14px;border-bottom:1px solid rgba(19,175,240,.11)}
.werun-format-route__heading>div{display:flex;align-items:baseline;gap:8px}
.werun-format-route__heading span{color:var(--wr-blue-dark);font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.werun-format-route__heading strong{color:#4d5961;font-size:13px}
.werun-format-route__profile-control{display:flex;justify-content:center;padding:8px 12px;border-top:1px solid rgba(19,175,240,.1);background:#fbfdfe}
.werun-format-route__profile-toggle{min-height:32px;padding:0 13px;border:1px solid rgba(19,175,240,.22);border-radius:999px;background:#effaff;color:var(--wr-blue-dark);font:700 11px/1 inherit;cursor:pointer;transition:background .2s ease,color .2s ease,border-color .2s ease}
.werun-format-route__profile-toggle:hover,.werun-format-route__profile-toggle:focus-visible{border-color:var(--wr-blue);background:var(--wr-blue);color:#fff}
.werun-format-route__map{height:350px;background:#eef5f7}
.werun-format-route__map .leaflet-control-zoom a{color:#087fae}
.werun-format-route__map .leaflet-control-layers{border:0;border-radius:10px;box-shadow:0 5px 18px rgba(42,70,84,.18)}
.werun-format-route__map .leaflet-control-layers-toggle{width:40px;height:40px;background-size:22px 22px}
.werun-format-route__map .leaflet-control-layers-expanded{padding:9px 11px;font-size:13px;line-height:1.45}
.werun-format-route__map .leaflet-control-layers label{margin:3px 0;font-weight:700;color:#45515a}
.werun-format-route__map .leaflet-control-attribution{padding:2px 5px;font-size:10px;font-weight:600}
.werun-format-route__profile{position:relative;height:175px;padding:12px 15px 8px;border-top:1px solid rgba(19,175,240,.1);background:linear-gradient(180deg,#fcfeff,#f6fbfd)}
.werun-format-route__profile[hidden]{display:none}
.werun-format-route__profile svg{display:block;width:100%;height:100%;overflow:visible}
.werun-profile-grid{stroke:rgba(65,99,115,.09);stroke-width:1}
.werun-profile-area{fill:rgba(19,175,240,.10)}
.werun-profile-line{fill:none;stroke:#0e91c3;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.werun-profile-label{fill:#77838a;font:700 15px/1 Inter,Arial,sans-serif}
.werun-profile-cursor{stroke:#fbc42c;stroke-width:1.5;stroke-dasharray:4 4}
.werun-profile-dot{fill:#fbc42c;stroke:#fff;stroke-width:2}
.werun-profile-hit{fill:transparent;pointer-events:all}
.werun-format-route__profile-tooltip{position:absolute;top:9px;transform:translateX(-50%);z-index:2;padding:5px 8px;border-radius:7px;background:#434445;color:#fff;font-size:10px;font-weight:800;white-space:nowrap;pointer-events:none}
.werun-format-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;padding-top:15px;border-top:1px solid rgba(19,175,240,.11)}
.werun-format-actions__primary,.werun-format-actions__secondary{display:flex;flex-wrap:wrap;gap:7px}
.werun-format-action{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 13px;border:1px solid rgba(19,175,240,.19);border-radius:10px;background:#f0faff;color:var(--wr-blue-dark);font-size:12px;font-weight:800;line-height:1;text-decoration:none!important;transition:background .2s ease,border-color .2s ease,transform .2s ease,color .2s ease}
.werun-format-action:hover{border-color:var(--wr-blue);background:var(--wr-blue);color:#fff;transform:translateY(-1px)}
.werun-format-action--primary{border-color:var(--wr-blue);background:var(--wr-blue);color:#fff}
.werun-format-action--primary:hover{background:#079dd8;color:#fff}
.werun-format-action--secondary{background:#fff;color:#56636b}
.werun-event-formats__notice{margin:20px;padding:14px;border:1px dashed rgba(19,175,240,.35);border-radius:12px;color:#5f6c74}
@media(max-width:1180px){.werun-format-card__summary{grid-template-columns:minmax(170px,1fr) minmax(340px,1.7fr)}.werun-format-card__summary-end{grid-column:1/-1;justify-content:space-between;margin-top:-2px}.werun-format-card__badges{justify-content:flex-start}.werun-format-details{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1024px){.werun-event-formats__shell{width:calc(100% - 32px);max-width:none}.werun-event-formats{padding-top:16px}.werun-format-card__summary{grid-template-columns:1fr;gap:11px}.werun-format-card__metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.werun-format-card__summary-end{grid-column:auto;margin-top:0}.werun-format-details{grid-template-columns:repeat(2,minmax(0,1fr))}.werun-format-actions{align-items:flex-start;flex-direction:column}.werun-format-route__map{height:330px}}
@media(max-width:767px){.werun-event-formats{padding:14px 0 20px}.werun-event-formats__shell{width:calc(100% - 32px);max-width:none}.werun-event-formats__heading{margin-bottom:13px}.werun-event-formats__heading h2{font-size:28px}.werun-event-formats__count{min-height:29px;padding:0 10px;font-size:11px}.werun-format-card{border-radius:14px}.werun-format-card__summary{min-height:0;padding:13px}.werun-format-card__name{font-size:20px}.werun-format-card__metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.werun-format-card__metric{min-height:54px;padding:8px 10px}.werun-format-card__metric:last-child:nth-child(3){grid-column:1/-1}.werun-format-card__summary-end{align-items:flex-end}.werun-format-card__panel-inner{padding:15px 13px 18px}.werun-format-details{grid-template-columns:1fr;gap:7px}.werun-format-details__item{min-height:0;padding:10px 12px}.werun-format-tags{grid-template-columns:1fr}.werun-format-route{margin-top:13px}.werun-format-route__map{height:280px}.werun-format-route__profile{height:145px;padding:9px 8px 6px}.werun-profile-label{font-size:13px}.werun-format-actions__primary,.werun-format-actions__secondary{width:100%}.werun-format-action{flex:1 1 auto}.werun-format-performance__pill{min-height:31px;padding:4px 9px}.werun-format-card__toggle-label{display:none}}

/* WeRun Core 0.4.29 — affinage premium des formats */
.werun-format-card__summary{grid-template-columns:minmax(180px,1.02fr) minmax(390px,1.72fr) minmax(150px,.56fr);min-height:84px;padding:10px 15px}
.werun-format-card__metric{min-height:54px;padding:8px 11px}
.werun-format-card__metric strong{font-size:clamp(14px,1.05vw,17px)}
.werun-format-card__summary-end{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;column-gap:8px;row-gap:4px;align-items:center;justify-items:end}
.werun-format-card__badges{grid-column:1/-1;grid-row:1;min-height:25px;align-items:center}
.werun-format-card__toggle-label{grid-column:1;grid-row:2;font-size:10px;line-height:1}
.werun-format-card__chevron{grid-column:2;grid-row:2;width:27px;height:27px}
.werun-format-card__chevron svg{width:13px;height:13px}
.werun-format-card__icon{width:36px;height:36px;border-radius:11px;box-sizing:border-box}
.werun-format-card__icon .werun-icon{width:19px;height:19px}

/* Bibliothèque visuelle ITRA / UTMB Index */
.werun-format-card__badge{min-height:23px;padding:0 8px;border:1px solid transparent;border-radius:7px;font-size:9px;letter-spacing:.01em;box-shadow:inset 0 -1px 0 rgba(0,0,0,.05)}
.werun-format-card__badge--itra-0,.werun-format-performance__pill--itra-0{--brand:#777776;--brand-text:#fff}
.werun-format-card__badge--itra-1,.werun-format-performance__pill--itra-1{--brand:#76bd22;--brand-text:#fff}
.werun-format-card__badge--itra-2,.werun-format-performance__pill--itra-2{--brand:#d8c900;--brand-text:#fff}
.werun-format-card__badge--itra-3,.werun-format-performance__pill--itra-3{--brand:#42b8df;--brand-text:#fff}
.werun-format-card__badge--itra-4,.werun-format-performance__pill--itra-4{--brand:#a057a6;--brand-text:#fff}
.werun-format-card__badge--itra-5,.werun-format-performance__pill--itra-5{--brand:#e46d1a;--brand-text:#fff}
.werun-format-card__badge--itra-6,.werun-format-performance__pill--itra-6{--brand:#bd2a1b;--brand-text:#fff}
.werun-format-card__badge[class*="--itra-"]{background:var(--brand);color:var(--brand-text);border-color:color-mix(in srgb,var(--brand),#000 9%)}
.werun-format-card__badge--utmb-20k,.werun-format-performance__pill--utmb-20k{--utmb-accent:#f3ec00}
.werun-format-card__badge--utmb-50k,.werun-format-performance__pill--utmb-50k{--utmb-accent:#f05a16}
.werun-format-card__badge--utmb-100k,.werun-format-performance__pill--utmb-100k{--utmb-accent:#78c854}
.werun-format-card__badge--utmb-100m,.werun-format-performance__pill--utmb-100m{--utmb-accent:#ee2e3c}
.werun-format-card__badge[class*="--utmb-"]{position:relative;padding-left:9px;background:linear-gradient(90deg,var(--utmb-accent) 0 43%,#111c49 43% 100%);color:#fff;border-color:rgba(17,28,73,.15);border-radius:4px}
.werun-format-card__badge--gpx{border-radius:999px;background:#eaf8f1;color:#207552;border-color:#d4efe2}

.werun-format-performance{gap:9px;margin-top:12px}
.werun-format-performance__pill{position:relative;overflow:hidden;min-height:36px;padding:0;border-radius:9px;background:#fff;border:1px solid rgba(55,76,88,.12);box-shadow:0 4px 12px rgba(47,87,108,.045)}
.werun-format-performance__pill small,.werun-format-performance__pill strong{display:inline-flex;align-items:center;align-self:stretch}
.werun-format-performance__pill small{padding:0 10px;font-size:9px;opacity:1}
.werun-format-performance__pill strong{min-width:36px;justify-content:center;padding:0 10px;font-size:14px}
.werun-format-performance__pill[class*="--itra-"] small{background:var(--brand);color:var(--brand-text)}
.werun-format-performance__pill[class*="--itra-"] strong{color:var(--brand);background:#fff}
.werun-format-performance__pill[class*="--utmb-"] small{background:#111c49;color:#fff}
.werun-format-performance__pill[class*="--utmb-"] strong{background:var(--utmb-accent);color:#111c49}
.werun-format-performance__pill--stones small{background:#f2c647;color:#4d3a00}
.werun-format-performance__pill--stones strong{background:#fff9df;color:#795d00}

/* Retour aux bonnes proportions de carte, sans revenir au profil massif */
.werun-format-route__map{height:430px}
.werun-format-route__profile{height:190px;padding:14px 16px 9px;background:linear-gradient(180deg,#fff,#f8fbfc)}
.werun-profile-grid{stroke:rgba(67,68,69,.075)}
.werun-profile-area{fill:rgba(19,175,240,.075)}
.werun-profile-line{stroke:#0e91c3;stroke-width:2;filter:drop-shadow(0 1px 0 rgba(255,255,255,.8))}
.werun-profile-label{fill:#758087;font:700 12px/1 Inter,Arial,sans-serif}
.werun-profile-dot{r:4}

/* POI GPX lisibles et différenciés */
.werun-map-poi-wrapper,.werun-map-endpoints-wrapper{background:transparent!important;border:0!important}
.werun-map-poi{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:2px solid #fff;border-radius:50%;background:#13aff0;color:#fff;box-shadow:0 3px 9px rgba(28,60,76,.24),0 0 0 1px rgba(19,175,240,.18);transform:translateZ(0)}
.werun-map-poi svg{display:block;width:14px;height:14px;overflow:visible}
.werun-map-endpoints{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border:2px solid #fff;border-radius:50%;background:linear-gradient(90deg,#18a76f 0 50%,#e05656 50% 100%);color:#fff;box-shadow:0 3px 10px rgba(28,60,76,.28),0 0 0 1px rgba(22,58,76,.12);transform:translateZ(0)}
.werun-map-endpoints svg{display:block;width:15px;height:15px;overflow:visible;filter:drop-shadow(0 1px 1px rgba(0,0,0,.15))}
.werun-map-popup{min-width:130px;color:#434445;font:600 13px/1.4 Inter,Arial,sans-serif}
.werun-map-popup strong{display:block;color:#263943;font-size:14px}
.werun-map-popup__desc{margin-top:4px;color:#65747c;font-weight:500}
.werun-format-route .leaflet-tooltip{border:1px solid rgba(19,175,240,.18);border-radius:8px;color:#344b57;font:700 12px/1.25 Inter,Arial,sans-serif;box-shadow:0 5px 15px rgba(40,70,85,.14)}

/* Contrôle plein écran cohérent avec Leaflet */
.werun-map-fullscreen{background:#fff!important}
.werun-map-fullscreen__button{display:flex!important;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:0!important;border-radius:2px;background:#fff!important;color:#087fae!important;font-size:0!important;cursor:pointer}
.werun-map-fullscreen__button:before{content:"";width:15px;height:15px;background:linear-gradient(#087fae,#087fae) left top/6px 1.5px no-repeat,linear-gradient(#087fae,#087fae) left top/1.5px 6px no-repeat,linear-gradient(#087fae,#087fae) right top/6px 1.5px no-repeat,linear-gradient(#087fae,#087fae) right top/1.5px 6px no-repeat,linear-gradient(#087fae,#087fae) left bottom/6px 1.5px no-repeat,linear-gradient(#087fae,#087fae) left bottom/1.5px 6px no-repeat,linear-gradient(#087fae,#087fae) right bottom/6px 1.5px no-repeat,linear-gradient(#087fae,#087fae) right bottom/1.5px 6px no-repeat}
.werun-map-fullscreen__button:hover{background:#f1f8fb!important}

@media(max-width:1180px){.werun-format-card__summary-end{grid-column:auto;justify-items:end;margin-top:0}.werun-format-card__badges{justify-content:flex-end}.werun-format-route__map{height:390px}}
@media(max-width:1024px){.werun-format-card__summary-end{grid-template-columns:1fr auto}.werun-format-card__badges{justify-content:flex-start;justify-self:start}.werun-format-route__map{height:360px}}
@media(max-width:767px){.werun-format-card__summary-end{display:flex;align-items:center}.werun-format-card__badges{flex:1}.werun-format-route__map{height:300px}.werun-format-route__profile{height:155px}.werun-profile-label{font-size:11px}}


/* WeRun Core 0.4.30 — bibliothèque de badges simplifiée et profil réhaussé */
.werun-format-card__badge{
	border:0;
	box-shadow:none;
	font-weight:900;
}
.werun-format-card__badge[class*="--itra-"]{
	background:var(--brand);
	color:#fff;
	border:0;
	border-radius:6px;
}
.werun-format-card__badge[class*="--utmb-"]{
	padding:0 9px;
	background:var(--utmb-accent);
	color:#fff;
	border:0;
	border-radius:6px;
}
.werun-format-card__badge--gpx{
	border:0;
	box-shadow:none;
}

.werun-format-performance__pill{
	min-height:34px;
	padding:0 11px;
	gap:10px;
	border:0;
	border-radius:7px;
	box-shadow:none;
	color:#fff;
}
.werun-format-performance__pill small,
.werun-format-performance__pill strong{
	display:inline-flex;
	align-items:center;
	align-self:auto;
	min-width:0;
	padding:0;
	background:transparent!important;
	color:inherit!important;
}
.werun-format-performance__pill small{
	font-size:9px;
	opacity:.92;
}
.werun-format-performance__pill strong{
	font-size:14px;
}
.werun-format-performance__pill[class*="--itra-"]{
	background:var(--brand);
	color:#fff;
}
.werun-format-performance__pill[class*="--utmb-"]{
	background:var(--utmb-accent);
	color:#fff;
}
.werun-format-performance__pill--stones{
	background:#001a4d;
	color:#fff;
}
.werun-format-performance__pill--stones small{
	letter-spacing:.055em;
}

.werun-format-route__profile{
	height:220px;
	padding:15px 16px 10px;
}

@media(max-width:767px){
	.werun-format-route__profile{height:180px}
}

/* WeRun Core 0.4.33 — finitions du profil altimétrique */
.werun-format-route__profile{
	height:auto;
	min-height:315px;
	padding:0 18px 14px;
	background:linear-gradient(180deg,#fff 0%,#fbfdfe 100%);
}
.werun-format-route__profile svg{
	display:block;
	width:100%;
	height:245px;
	overflow:visible;
}
.werun-profile-summary{
	display:grid;
	grid-template-columns:repeat(4,minmax(0,1fr));
	gap:8px;
	padding:14px 0 9px;
	border-bottom:1px solid rgba(67,68,69,.07);
}
.werun-profile-summary>div{
	display:flex;
	align-items:baseline;
	justify-content:center;
	gap:6px;
	min-width:0;
}
.werun-profile-summary span{
	color:#7a858c;
	font-size:9px;
	font-weight:800;
	letter-spacing:.055em;
	text-transform:uppercase;
}
.werun-profile-summary strong{
	color:#434445;
	font-size:13px;
	font-weight:800;
	white-space:nowrap;
}
.werun-profile-grid{stroke:rgba(67,68,69,.08);stroke-width:1;shape-rendering:crispEdges}
.werun-profile-grid--vertical{stroke:rgba(67,68,69,.045)}
.werun-profile-axis{stroke:rgba(67,68,69,.19);stroke-width:1;shape-rendering:crispEdges}
.werun-profile-axis-label{fill:#7a858c;font:700 10px/1 Inter,Arial,sans-serif;letter-spacing:.01em}
.werun-profile-area{fill:url(#werun-profile-fill)}
.werun-profile-line{fill:none;stroke:#078fc4;stroke-width:2.25;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;filter:none}
.werun-profile-line--halo{stroke:#fff;stroke-width:5;opacity:.9}
.werun-profile-endpoint{stroke:#fff;stroke-width:3;vector-effect:non-scaling-stroke}
.werun-profile-endpoint--start{fill:#18a76f}
.werun-profile-endpoint--end{fill:#e05656}
.werun-profile-cursor{stroke:#13aff0;stroke-width:1.5;stroke-dasharray:none;opacity:.58;vector-effect:non-scaling-stroke}
.werun-profile-dot{fill:#fbc42c;stroke:#fff;stroke-width:3;vector-effect:non-scaling-stroke}
.werun-profile-hit{fill:transparent;cursor:crosshair}
.werun-format-route__profile-tooltip{
	display:flex;
	align-items:center;
	gap:7px;
	transform:translate(-50%,-100%);
	margin-top:-10px;
	padding:6px 9px;
	border:1px solid rgba(19,175,240,.18);
	border-radius:8px;
	background:rgba(255,255,255,.97);
	box-shadow:0 8px 22px rgba(28,73,96,.12);
	color:#434445;
	font-size:11px;
	white-space:nowrap;
	pointer-events:none;
}
.werun-format-route__profile-tooltip strong{color:#087fae;font-weight:800}
.werun-format-route__profile-tooltip span{color:#65727a;font-weight:700}
.werun-format-route__profile-tooltip .werun-profile-tooltip__separator{color:#a3adb3;font-weight:800;margin:0 1px}
.werun-format-route__profile-tooltip .werun-profile-tooltip__distance,
.werun-format-route__profile-tooltip .werun-profile-tooltip__altitude{display:inline-block}
@media(max-width:767px){
	.werun-format-route__profile{min-height:285px;padding:0 8px 10px}
	.werun-format-route__profile svg{height:220px}
	.werun-profile-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 8px;padding:11px 4px 7px}
	.werun-profile-summary>div{justify-content:flex-start}
	.werun-profile-summary span{font-size:8px}
	.werun-profile-summary strong{font-size:12px}
	.werun-profile-axis-label{font-size:9px}
}

/* WeRun Core 0.4.34 — hiérarchie des CTA et bouton profil compact */
.werun-format-route__profile-control{
	padding:6px 10px;
}
.werun-format-route__profile-toggle{
	min-height:28px;
	padding:0 11px;
	border-radius:999px;
	font-size:10px;
	font-weight:800;
	letter-spacing:.01em;
}

.werun-format-action{
	min-height:36px;
	padding:0 14px;
	border-radius:10px;
	box-shadow:none;
}
.werun-format-action--gpx{
	border-color:#d4efe2;
	background:#eaf8f1;
	color:#207552;
}
.werun-format-action--gpx:hover,
.werun-format-action--gpx:focus-visible{
	border-color:#2f9e70;
	background:#2f9e70;
	color:#fff;
}
.werun-format-action--runmotion{
	border-color:#05E79E;
	background:#05E79E;
	color:#17372e;
}
.werun-format-action--runmotion:hover,
.werun-format-action--runmotion:focus-visible{
	border-color:#04cf8d;
	background:#04cf8d;
	color:#17372e;
}
.werun-format-action--simulator{
	border-color:#f3d56e;
	background:#fbe7a1;
	color:#5f4a00;
}
.werun-format-action--simulator:hover,
.werun-format-action--simulator:focus-visible{
	border-color:#fbc42c;
	background:#fbc42c;
	color:#434445;
}
.werun-format-action--lodging,
.werun-format-action--weather{
	border-color:rgba(19,175,240,.33);
	background:#e9f8fe;
	color:#087fae;
}
.werun-format-action--lodging{
	border-color:#13aff0;
	background:#13aff0;
	color:#fff;
	box-shadow:0 5px 14px rgba(19,175,240,.16);
}
.werun-format-action--lodging:hover,
.werun-format-action--lodging:focus-visible{
	border-color:#079dd8;
	background:#079dd8;
	color:#fff;
}
.werun-format-action--weather:hover,
.werun-format-action--weather:focus-visible{
	border-color:#13aff0;
	background:#13aff0;
	color:#fff;
}

@media(max-width:767px){
	.werun-format-route__profile-control{padding:5px 8px}
	.werun-format-route__profile-toggle{min-height:27px;padding:0 10px;font-size:10px}
}


/* WeRun Core 0.4.35 — responsive mobile dédié aux formats */
@media (max-width:767px){
  .werun-event-formats{padding:14px 0 20px}
  .werun-event-formats__shell{width:calc(100% - 32px);max-width:none}
  .werun-event-formats__heading{padding:0 3px;margin-bottom:12px}
  .werun-event-formats__heading h2{font-size:27px}

  .werun-format-card{border-radius:14px}
  .werun-format-card__summary{
    display:grid;
    grid-template-columns:1fr;
    grid-template-areas:"identity" "metrics" "end";
    gap:10px;
    min-height:0;
    padding:12px;
  }
  .werun-format-card__identity{grid-area:identity;gap:10px}
  .werun-format-card__icon{width:34px;height:34px;border-radius:10px}
  .werun-format-card__icon .werun-icon{width:18px;height:18px}
  .werun-format-card__name{font-size:20px;white-space:normal}

  .werun-format-card__metrics{
    grid-area:metrics;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
  }
  .werun-format-card__metric{min-height:52px;padding:8px 10px;border-radius:10px}
  .werun-format-card__metric small{font-size:8px;margin-bottom:3px}
  .werun-format-card__metric strong{font-size:15px;line-height:1.2}
  .werun-format-card__metric:nth-child(3){grid-column:1/-1}

  .werun-format-card__summary-end{
    grid-area:end;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto auto;
    grid-template-rows:auto;
    align-items:center;
    gap:7px;
    width:100%;
  }
  .werun-format-card__badges{
    grid-column:1;
    display:flex;
    justify-content:flex-start;
    flex-wrap:wrap;
    gap:5px;
    min-width:0;
  }
  .werun-format-card__badge{min-height:22px;padding:0 7px;font-size:8.5px}
  .werun-format-card__toggle-label{display:inline;grid-column:2;font-size:10px}
  .werun-format-card__chevron{grid-column:3;width:28px;height:28px}

  .werun-format-card__panel-inner{padding:13px 10px 17px}
  .werun-format-details{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
  }
  .werun-format-details__item{
    min-height:74px;
    padding:10px 11px;
    border-radius:11px;
    display:flex;
    flex-direction:column;
    justify-content:center;
  }
  .werun-format-details__item dt{font-size:8px;margin-bottom:4px}
  .werun-format-details__item dd{font-size:12.5px;line-height:1.3;overflow-wrap:anywhere}
  .werun-format-details__item--date-et-heure,
  .werun-format-details__item--public{
    grid-column:1/-1;
    min-height:68px;
  }

  .werun-format-performance{gap:6px;margin-top:10px}
  .werun-format-performance__pill{min-height:31px;padding:0 9px;gap:7px;border-radius:7px}
  .werun-format-performance__pill small{font-size:8px}
  .werun-format-performance__pill strong{font-size:13px}

  .werun-format-tags{grid-template-columns:1fr;gap:8px;margin-top:10px}
  .werun-format-tags__group{padding:10px 11px}

  .werun-format-route{margin-top:12px;border-radius:12px}
  .werun-format-route__heading{padding:10px 11px}
  .werun-format-route__map{height:285px}
  .werun-format-route__map .leaflet-control-layers-toggle{width:38px;height:38px}
  .werun-format-route__map .leaflet-control-layers-expanded{max-width:230px;padding:8px 9px;font-size:12px}

  .werun-format-route__profile{min-height:278px;padding:0 6px 9px}
  .werun-format-route__profile svg{height:215px}
  .werun-profile-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 8px;padding:10px 3px 7px}
  .werun-profile-summary>div{justify-content:flex-start}
  .werun-profile-summary span{font-size:7.5px}
  .werun-profile-summary strong{font-size:11.5px}

  .werun-format-actions{gap:10px;margin-top:12px;padding-top:12px}
  .werun-format-actions__primary,
  .werun-format-actions__secondary{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
    width:100%;
  }
  .werun-format-action{width:100%;min-height:38px;padding:0 9px;font-size:11px;text-align:center}
  .werun-format-action--runmotion{grid-column:1/-1}
  .werun-format-action--lodging{grid-column:1/-1}
}

@media (max-width:420px){
  .werun-event-formats__shell{width:calc(100% - 32px);max-width:none}
  .werun-format-card__summary{padding:10px}
  .werun-format-card__metric strong{font-size:14px}
  .werun-format-details__item{min-height:70px;padding:9px}
  .werun-format-details__item dd{font-size:12px}
  .werun-format-performance__pill{padding:0 8px}
  .werun-format-performance__pill small{font-size:7.5px}
  .werun-format-performance__pill strong{font-size:12px}
  .werun-format-route__map{height:260px}
}

/* WeRun Core 0.4.38 — grille CTA mobile */
@media (max-width:767px){
  .werun-format-actions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    align-items:stretch;
  }
  .werun-format-actions__primary,
  .werun-format-actions__secondary{
    display:contents;
  }
  .werun-format-action{
    width:100%;
    min-width:0;
  }
  .werun-format-action--primary{
    order:1;
    grid-column:1/-1;
  }
  .werun-format-action--gpx{
    order:2;
    grid-column:auto;
  }
  .werun-format-action--simulator{
    order:3;
    grid-column:auto;
  }
  .werun-format-action--runmotion{
    order:4;
    grid-column:1/-1;
  }
  .werun-format-action--lodging{
    order:5;
    grid-column:auto;
  }
  .werun-format-action--weather{
    order:6;
    grid-column:auto;
  }
}
@media(max-width:1024px){.werun-event-formats__shell{width:calc(100% - 32px);margin:0 auto}}
@media(max-width:767px){.werun-event-formats__shell{width:calc(100% - 28px);margin:0 auto}}

/* Contrôle d’affichage des POI et repères du profil altimétrique */
.werun-map-poi-toggle{margin-top:8px!important}
.werun-map-poi-toggle__button{display:flex!important;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:0!important;border-radius:2px;background:#fff!important;color:#087fae!important;cursor:pointer}
.werun-map-poi-toggle__button svg{display:block;width:18px;height:18px}
.werun-map-poi-toggle__slash{opacity:0;transition:opacity .18s ease}
.werun-map-poi-toggle__button.is-hidden .werun-map-poi-toggle__slash{opacity:1}
.werun-map-poi-toggle__button:hover,.werun-map-poi-toggle__button:focus-visible{background:#effaff!important;color:#056e99!important}
.werun-profile-pois{opacity:1;transition:opacity .18s ease}
.werun-profile-pois.is-hidden{opacity:0;pointer-events:none}
.werun-profile-poi{color:#fff;cursor:help;filter:drop-shadow(0 2px 3px rgba(28,60,76,.24))}
.werun-profile-poi circle{fill:#13aff0;stroke:#fff;stroke-width:3;vector-effect:non-scaling-stroke}
.werun-profile-poi__icon{display:block;overflow:visible;pointer-events:none}

/* WeRun Core 0.5.6 — la carte Leaflet reste sous la navigation sticky */
.werun-format-route,
.werun-format-route__map,
.werun-format-route__map .leaflet-container {
	position: relative;
	z-index: 0;
}
.werun-format-route__map .leaflet-pane,
.werun-format-route__map .leaflet-top,
.werun-format-route__map .leaflet-bottom {
	z-index: 1;
}
.werun-event-nav-wrap,
.werun-event-nav-wrap.is-stuck,
.werun-event-nav,
.werun-event-nav__scroll {
	z-index: 80;
}

/* WeRun Core 0.5.13 — état GPX réservé aux utilisateurs connectés */
.werun-format-action--gpx-login{
	position:relative;
	border-color:#d7e2e8;
	background:#f5f8fa;
	color:#59666e;
}
.werun-format-action--gpx-login:hover,
.werun-format-action--gpx-login:focus-visible{
	border-color:#434445;
	background:#434445;
	color:#fff;
}
.werun-format-action--gpx-login::after{
	content:attr(data-werun-tooltip);
	position:absolute;
	left:0;
	bottom:calc(100% + 9px);
	z-index:30;
	width:max-content;
	max-width:min(260px,calc(100vw - 32px));
	padding:7px 9px;
	border-radius:8px;
	color:#fff;
	background:#434445;
	box-shadow:0 8px 20px rgba(0,0,0,.18);
	font-size:11px;
	font-weight:800;
	line-height:1.15;
	text-align:center;
	white-space:normal;
	opacity:0;
	pointer-events:none;
	transform:translateY(4px);
	transition:opacity .18s ease,transform .18s ease;
}
.werun-format-action--gpx-login:hover::after,
.werun-format-action--gpx-login:focus-visible::after{
	opacity:1;
	transform:translateY(0);
}
html.werun-theme-dark .werun-format-action--gpx-login{
	border-color:rgba(145,166,176,.24);
	background:rgba(34,47,55,.94);
	color:#c7d4da;
}
html.werun-theme-dark .werun-format-action--gpx-login:hover,
html.werun-theme-dark .werun-format-action--gpx-login:focus-visible{
	border-color:rgba(151,217,242,.36);
	background:#203039;
	color:#fff;
}
html.werun-theme-dark .werun-format-action--gpx-login::after{
	border:1px solid rgba(91,194,235,.15);
	background:#203039;
	box-shadow:0 8px 20px rgba(0,0,0,.28);
}

/* WeRun Core 0.5.14 - Traces GPX multiples */
.werun-format-route__legend{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:6px;
}
.werun-format-route__segment{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  margin:0;
  padding:0 9px;
  border:1px solid rgba(19,175,240,.16);
  border-radius:999px;
  background:#f4fbfe;
  color:#4d5961;
  font-family:inherit;
  font-size:10px;
  font-weight:800;
  line-height:1;
  white-space:nowrap;
  cursor:pointer;
  appearance:none;
  -webkit-appearance:none;
  transition:color .18s ease,border-color .18s ease,background-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.werun-format-route__segment::before{
  content:"";
  width:7px;
  height:7px;
  margin-right:6px;
  border-radius:999px;
  background:#0e91c3;
}
.werun-format-route__segment--all::before{background:#7d8a92}
.werun-format-route__segment--natation::before{background:#13aff0}
.werun-format-route__segment--velo::before{background:#18a76f}
.werun-format-route__segment--course_a_pied::before{background:#fbc42c}
.werun-format-route__segment:hover,
.werun-format-route__segment:focus-visible,
.werun-format-route__segment.is-active{
  color:#087fae;
  border-color:rgba(19,175,240,.34);
  background:#eaf8ff;
  box-shadow:0 4px 12px rgba(19,175,240,.1);
  transform:translateY(-1px);
}
.werun-format-route__segment.is-active{cursor:default}
.werun-format-action--gpx-segment{padding-right:11px;padding-left:11px}
html.werun-theme-dark .werun-format-route__segment{
  border-color:rgba(91,194,235,.2);
  background:#162a33;
  color:#c9d7dc;
}
html.werun-theme-dark .werun-format-route__segment:hover,
html.werun-theme-dark .werun-format-route__segment:focus-visible,
html.werun-theme-dark .werun-format-route__segment.is-active{
  color:#7ed6f6;
  border-color:rgba(91,194,235,.42);
  background:#1d3b49;
  box-shadow:0 5px 14px rgba(0,0,0,.22);
}
@media(max-width:767px){
  .werun-format-route__heading{align-items:flex-start;flex-direction:column}
  .werun-format-route__legend{justify-content:flex-start}
}
