/* FPK – Carte des associations et événements
 * Couleurs reprises de fedeparkour.fr. Pour les modifier, surchargez les variables
 * dans Elementor › Réglages du site › CSS personnalisé, par exemple :
 * .fpkc { --fpkc-rouge: #E10046; }
 */

.fpkc {
	--fpkc-rouge: #E10046;
	--fpkc-jaune: #FFDE01;
	--fpkc-noir: #151515;
	--fpkc-blanc: #ffffff;
	--fpkc-fond: #f3f3f5;
	--fpkc-bord: #e6e6eb;
	--fpkc-texte: #151515;
	--fpkc-doux: #64646d;
	--fpkc-rayon: 16px;
	--fpkc-ombre: 0 1px 3px rgba(21, 21, 21, .12), 0 6px 20px rgba(21, 21, 21, .12);
	--fpkc-police: inherit;
	--fpkc-police-titre: inherit;
	--fpkc-fond-filtre: saturate(.35) brightness(1.04) contrast(.92);
	--fpkc-mer: #e7eaef;
	--fpkc-terre: #ffffff;
	--fpkc-cote: #c8ced7;
	--fpkc-surface: #ffffff;
	--fpkc-encre: #151515;
	--fpkc-inactif: #cfcfd6;
	--fpkc-passe: #e3e3e8;
	--fpkc-voile: rgba(243, 243, 245, .7);
	--fpkc-point-asso: var(--fpkc-rouge);
	--fpkc-point-evt: var(--fpkc-jaune);
	--fpkc-point-bord: #ffffff;
	--fpkc-nom-couleur: #151515;
	--fpkc-nom-halo: #ffffff;
	--fpkc-nom-casse: none;

	position: relative;
	box-sizing: border-box;
	font-family: var(--fpkc-police);
	font-size: 15px;
	line-height: 1.4;
	color: var(--fpkc-texte);
	text-align: left;
}

.fpkc *,
.fpkc *::before,
.fpkc *::after {
	box-sizing: border-box;
}

/* Thème sombre, aux couleurs de la carte des structures FPK : France bleue sur fond noir,
 * points blancs (associations) et jaunes (événements), noms en capitales. */
.fpkc.fpkc--sombre {
	--fpkc-surface: #1c1c1e;
	--fpkc-encre: #f4f4f5;
	--fpkc-texte: #f4f4f5;
	--fpkc-doux: #a3a3ab;
	--fpkc-fond: #2b2b2f;
	--fpkc-bord: #333338;
	--fpkc-inactif: #4a4a50;
	--fpkc-passe: #3a3a3f;
	--fpkc-voile: rgba(0, 0, 0, .6);
	--fpkc-mer: #000000;
	--fpkc-terre: #1088f0;
	--fpkc-cote: #3b8ede;
	--fpkc-point-asso: #ffffff;
	--fpkc-point-bord: rgba(21, 21, 21, .9);
	--fpkc-nom-couleur: #ffffff;
	--fpkc-nom-halo: rgba(0, 0, 0, .85);
	--fpkc-nom-casse: uppercase;
	--fpkc-ombre: 0 2px 10px rgba(0, 0, 0, .5);
}

.fpkc--sombre .leaflet-control-attribution {
	background: rgba(0, 0, 0, .55);
	color: #a3a3ab;
}

.fpkc--sombre .leaflet-control-attribution a {
	color: #d4d4d8;
}

.fpkc [hidden] {
	display: none !important;
}

.fpkc svg {
	fill: currentColor;
	flex: none;
}

/* Neutralise les styles de boutons et champs du thème (Hello Elementor, kit Elementor). */
.fpkc .fpkc-app button {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	line-height: inherit;
	box-shadow: none;
	min-height: 0;
	width: auto;
	white-space: normal;
	transition: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.fpkc .fpkc-app button:focus-visible,
.fpkc .fpkc-app a:focus-visible,
.fpkc .fpkc-encart:focus-visible {
	outline: 3px solid var(--fpkc-encre);
	outline-offset: 2px;
}

/* ------------------------------------------------------------------ */
/* Structure                                                           */
/* ------------------------------------------------------------------ */

.fpkc-explorer {
	height: var(--fpkc-hauteur, min(85vh, 860px));
	min-height: 460px;
	border-radius: var(--fpkc-rayon);
	overflow: hidden;
	background: var(--fpkc-fond);
	isolation: isolate;
	box-shadow: 0 0 0 1px var(--fpkc-bord);
}

.fpkc-chargement {
	display: grid;
	place-items: center;
	height: 100%;
	color: var(--fpkc-doux);
}

.fpkc-app {
	position: relative;
	display: flex;
	height: 100%;
}

.fpkc-panneau {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	flex: none;
	width: 380px;
	min-height: 0;
	background: var(--fpkc-surface);
	border-right: 1px solid var(--fpkc-bord);
}

.fpkc-carte-zone {
	position: relative;
	flex: 1;
	min-width: 0;
}

.fpkc-carte {
	position: absolute;
	inset: 0;
	background: #e8eef0;
	font: inherit;
}

/* Fond minimaliste : la France et ses territoires, sans autre pays ni détail. */
.fpkc--minimal .fpkc-carte,
.fpkc--minimal .fpkc-encart-carte.leaflet-container {
	background: var(--fpkc-mer);
}

/* Motif FPK en fond, derrière la France (carte et encarts). */
.fpkc--minimal.fpkc--motif .fpkc-carte,
.fpkc--minimal.fpkc--motif .fpkc-encart-carte.leaflet-container {
	background-color: #4a9ad9;
	background-image: var(--fpkc-motif);
	background-position: center;
	background-size: cover;
}

/* Sur le motif bleu, la France reste unie et nettement détourée. */
.fpkc--motif {
	--fpkc-cote: rgba(21, 21, 21, .35);
}

.fpkc--motif.fpkc--sombre {
	--fpkc-terre: #151515;
	--fpkc-cote: rgba(255, 255, 255, .55);
}

.fpkc .fpkc-terre {
	fill: var(--fpkc-terre);
	fill-opacity: 1;
	stroke: var(--fpkc-cote);
	stroke-width: 1;
	stroke-linejoin: round;
}

.fpkc-point {
	position: absolute;
	top: 0;
	left: 0;
	width: 18px;
	height: 18px;
	border: 3px solid var(--fpkc-point-bord);
	border-radius: 50%;
	background: var(--fpkc-c, var(--fpkc-rouge));
	box-shadow: 0 1px 4px rgba(21, 21, 21, .35);
	transition: transform .15s;
}

.fpkc-marqueur--point:hover .fpkc-point,
.fpkc-marqueur--survol .fpkc-point {
	transform: scale(1.3);
}

/* Noms des villes actives, à droite du point ou de la grappe. */
.fpkc-nom {
	position: absolute;
	top: 50%;
	left: calc(100% + 6px);
	color: var(--fpkc-nom-couleur);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .01em;
	text-transform: var(--fpkc-nom-casse);
	white-space: nowrap;
	text-shadow: 0 0 2px var(--fpkc-nom-halo), 0 0 3px var(--fpkc-nom-halo), 0 0 4px var(--fpkc-nom-halo);
	transform: translateY(-50%);
	pointer-events: none;
}

.fpkc-ecarte .fpkc-nom {
	display: none;
}

.fpkc-nom.fpkc-nom--gauche {
	right: calc(100% + 6px);
	left: auto;
}

.fpkc-nom.fpkc-nom--dessous {
	top: calc(100% + 4px);
	left: 50%;
	transform: translateX(-50%);
}

.fpkc-nom.fpkc-nom--dessus {
	top: auto;
	bottom: calc(100% + 4px);
	left: 50%;
	transform: translateX(-50%);
}

/* Plan désaturé pour faire ressortir les repères rouges et jaunes. */
.fpkc .fpkc-fond-plan {
	filter: var(--fpkc-fond-filtre);
}

/* ------------------------------------------------------------------ */
/* En-tête : recherche, filtres                                        */
/* ------------------------------------------------------------------ */

.fpkc-entete {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
	padding: 16px 16px 12px;
	border-bottom: 1px solid var(--fpkc-bord);
}

.fpkc-recherche {
	display: flex;
	align-items: center;
	height: 48px;
	padding: 0 6px 0 16px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	background: var(--fpkc-fond);
	transition: border-color .15s, background-color .15s;
}

.fpkc-recherche:focus-within {
	border-color: var(--fpkc-encre);
	background: var(--fpkc-surface);
}

.fpkc-recherche > svg {
	width: 20px;
	height: 20px;
	color: var(--fpkc-doux);
}

.fpkc .fpkc-app input.fpkc-champ {
	flex: 1;
	min-width: 0;
	height: 100%;
	margin: 0;
	padding: 0 8px 0 10px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	outline: none;
	color: var(--fpkc-texte);
	font: inherit;
	font-size: 15px;
}

.fpkc .fpkc-app input.fpkc-champ::placeholder {
	color: var(--fpkc-doux);
	opacity: 1;
}

.fpkc .fpkc-app input.fpkc-champ::-webkit-search-cancel-button {
	display: none;
}

.fpkc .fpkc-app .fpkc-effacer {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: transparent;
	color: var(--fpkc-doux);
}

.fpkc .fpkc-app .fpkc-effacer:hover {
	background: var(--fpkc-fond);
	color: var(--fpkc-texte);
}

.fpkc-effacer svg {
	width: 20px;
	height: 20px;
}

.fpkc-onglets {
	display: flex;
	gap: 2px;
	padding: 4px;
	border-radius: 999px;
	background: var(--fpkc-fond);
}

.fpkc .fpkc-app .fpkc-onglet {
	display: inline-flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-width: 0;
	height: 36px;
	padding: 0 6px;
	border-radius: 999px;
	background: transparent;
	color: var(--fpkc-doux);
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	transition: background-color .15s, color .15s;
}

.fpkc .fpkc-app .fpkc-onglet:hover {
	background: rgba(21, 21, 21, .05);
	color: var(--fpkc-texte);
}

.fpkc .fpkc-app .fpkc-onglet[aria-pressed="true"] {
	background: var(--fpkc-encre);
	color: var(--fpkc-surface);
}

.fpkc-nb:empty {
	display: none;
}

.fpkc-onglet-lib {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

.fpkc-court,
.fpkc--compact .fpkc-long {
	display: none;
}

.fpkc--compact .fpkc-court {
	display: inline;
}

.fpkc-nb {
	flex: none;
	min-width: 18px;
	padding: 1px 5px;
	border-radius: 999px;
	background: rgba(21, 21, 21, .08);
	font-size: 11px;
	font-weight: 700;
	text-align: center;
}

/* Les compteurs servent aussi de légende : rouge = associations, jaune = événements. */
[data-type="associations"] > .fpkc-nb {
	background: var(--fpkc-rouge);
	color: var(--fpkc-blanc);
}

[data-type="evenements"] > .fpkc-nb {
	background: var(--fpkc-jaune);
	color: var(--fpkc-noir);
}

[data-type="tout"][aria-pressed="true"] > .fpkc-nb {
	background: var(--fpkc-surface);
	color: var(--fpkc-encre);
}

.fpkc-option {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 2px 4px;
	font-size: 13px;
	color: var(--fpkc-doux);
	cursor: pointer;
	user-select: none;
}

.fpkc-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.fpkc-interrupteur {
	position: relative;
	flex: none;
	width: 34px;
	height: 20px;
	border-radius: 999px;
	background: var(--fpkc-inactif);
	transition: background-color .15s;
}

.fpkc-interrupteur::after {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--fpkc-blanc);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
	transition: transform .15s;
}

.fpkc-option input:checked + .fpkc-interrupteur {
	background: var(--fpkc-encre);
}

.fpkc-option input:checked + .fpkc-interrupteur::after {
	transform: translateX(14px);
}

.fpkc-option input:focus-visible + .fpkc-interrupteur {
	outline: 3px solid var(--fpkc-encre);
	outline-offset: 2px;
}

/* ------------------------------------------------------------------ */
/* Liste                                                               */
/* ------------------------------------------------------------------ */

.fpkc-feuille {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 0;
}

.fpkc .fpkc-app .fpkc-poignee {
	display: none;
}

.fpkc-liste-zone {
	flex: 1;
	min-height: 0;
	padding: 6px 8px 16px;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
}

.fpkc .fpkc-compte {
	margin: 10px 10px 6px;
	color: var(--fpkc-doux);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.fpkc .fpkc-compte:empty {
	display: none;
}

.fpkc .fpkc-liste {
	margin: 0;
	padding: 0;
	list-style: none;
}

.fpkc .fpkc-liste > li {
	margin: 0;
	padding: 0;
}

.fpkc .fpkc-liste > li::before,
.fpkc .fpkc-liste > li::marker {
	content: none;
}

.fpkc .fpkc-app .fpkc-item {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 10px;
	border-radius: 12px;
	background: transparent;
	color: var(--fpkc-texte);
	text-align: left;
	transition: background-color .12s;
}

.fpkc .fpkc-app .fpkc-item:hover {
	background: var(--fpkc-fond);
}

.fpkc .fpkc-app .fpkc-item.fpkc-item--actif {
	background: var(--fpkc-fond);
	box-shadow: inset 3px 0 0 var(--fpkc-encre);
}

.fpkc-vignette {
	display: grid;
	flex: none;
	place-items: center;
	width: 56px;
	height: 56px;
	overflow: hidden;
	border-radius: 12px;
	background: var(--fpkc-fond);
}

.fpkc .fpkc-vignette img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.fpkc-vignette svg {
	width: 26px;
	height: 26px;
}

.fpkc-vignette--association {
	background: var(--fpkc-rouge);
	color: var(--fpkc-blanc);
}

.fpkc-vignette--event {
	background: var(--fpkc-jaune);
	color: var(--fpkc-noir);
}

.fpkc-vignette--date {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2px;
	background: var(--fpkc-jaune);
	color: var(--fpkc-noir);
	line-height: 1;
}

.fpkc-vignette--date b {
	font-size: 22px;
	font-weight: 800;
}

.fpkc-vignette--date small {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
}

.fpkc-item--passe .fpkc-vignette--date {
	background: var(--fpkc-passe);
	color: var(--fpkc-doux);
}

.fpkc-item-texte {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.fpkc-item-titre {
	display: -webkit-box;
	overflow: hidden;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.fpkc-item-date {
	color: var(--fpkc-texte);
	font-size: 13px;
	font-weight: 600;
}

.fpkc-item-lieu {
	overflow: hidden;
	color: var(--fpkc-doux);
	font-size: 13px;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.fpkc-badge {
	display: inline-block;
	align-self: flex-start;
	padding: 2px 7px 1px;
	border-radius: 4px;
	font-size: 10px;
	font-style: italic;
	font-weight: 800;
	letter-spacing: .06em;
	line-height: 1.5;
	text-transform: uppercase;
}

.fpkc-badge--association {
	background: var(--fpkc-rouge);
	color: var(--fpkc-blanc);
}

.fpkc-badge--event {
	background: var(--fpkc-jaune);
	color: var(--fpkc-noir);
}

.fpkc-item--passe .fpkc-badge--event {
	background: var(--fpkc-passe);
	color: var(--fpkc-doux);
}

.fpkc .fpkc-plus {
	padding: 12px 10px;
	color: var(--fpkc-doux);
	font-size: 13px;
}

.fpkc-vide {
	padding: 24px 16px;
	color: var(--fpkc-doux);
	text-align: center;
}

.fpkc .fpkc-vide p {
	margin: 0 0 12px;
}

.fpkc .fpkc-vide .fpkc-vide-aide {
	font-size: 13px;
}

/* Suggestions de lieux */
.fpkc-lieux {
	padding-bottom: 6px;
	border-bottom: 1px solid var(--fpkc-bord);
	margin-bottom: 4px;
}

.fpkc .fpkc-app .fpkc-lieu {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 8px 10px;
	border-radius: 10px;
	background: transparent;
	color: var(--fpkc-texte);
	text-align: left;
}

.fpkc .fpkc-app .fpkc-lieu:hover {
	background: var(--fpkc-fond);
}

.fpkc-lieu svg {
	width: 20px;
	height: 20px;
	color: var(--fpkc-doux);
}

.fpkc-lieu span {
	display: flex;
	flex-direction: column;
}

.fpkc-lieu small {
	color: var(--fpkc-doux);
	font-size: 12px;
}

/* ------------------------------------------------------------------ */
/* Boutons                                                             */
/* ------------------------------------------------------------------ */

.fpkc .fpkc-app .fpkc-bouton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 38px;
	padding: 0 16px;
	border: 1.5px solid var(--fpkc-encre);
	border-radius: 999px;
	background: var(--fpkc-surface);
	color: var(--fpkc-encre);
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .15s, color .15s, border-color .15s;
}

.fpkc .fpkc-app .fpkc-bouton:hover {
	background: var(--fpkc-encre);
	color: var(--fpkc-surface);
}

.fpkc .fpkc-app .fpkc-bouton--plein {
	background: var(--fpkc-encre);
	color: var(--fpkc-surface);
}

.fpkc .fpkc-app .fpkc-bouton--plein:hover {
	border-color: var(--fpkc-rouge);
	background: var(--fpkc-rouge);
	color: var(--fpkc-blanc);
}

.fpkc .fpkc-app .fpkc-bouton--icone {
	width: 38px;
	padding: 0;
}

.fpkc-bouton svg {
	width: 16px;
	height: 16px;
}

.fpkc-bouton--icone svg {
	width: 20px;
	height: 20px;
}

.fpkc .fpkc-app .fpkc-lien {
	display: inline;
	padding: 0;
	background: transparent;
	color: var(--fpkc-encre);
	font-weight: 700;
	text-align: left;
	text-decoration: underline;
	text-decoration-color: var(--fpkc-rouge);
	text-decoration-thickness: 2px;
	text-underline-offset: 2px;
}

.fpkc .fpkc-app .fpkc-lien:hover {
	background: transparent;
	color: var(--fpkc-rouge);
}

/* ------------------------------------------------------------------ */
/* Outils de la carte                                                  */
/* ------------------------------------------------------------------ */

.fpkc-outils {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 1000;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.fpkc-outils-groupe {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 12px;
	box-shadow: var(--fpkc-ombre);
}

.fpkc .fpkc-app .fpkc-outil {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--fpkc-surface);
	color: var(--fpkc-encre);
	box-shadow: var(--fpkc-ombre);
	transition: background-color .15s, color .15s;
}

.fpkc .fpkc-app .fpkc-outils-groupe .fpkc-outil {
	border-radius: 0;
	box-shadow: none;
}

.fpkc .fpkc-app .fpkc-outils-groupe .fpkc-outil + .fpkc-outil {
	border-top: 1px solid var(--fpkc-bord);
}

.fpkc .fpkc-app .fpkc-outil:hover {
	background: var(--fpkc-fond);
	color: var(--fpkc-encre);
}

.fpkc .fpkc-app .fpkc-outil[aria-pressed="true"] {
	background: var(--fpkc-encre);
	color: var(--fpkc-jaune);
}

.fpkc-outil svg {
	width: 22px;
	height: 22px;
}

.fpkc-outil--attente svg {
	animation: fpkc-pulse 1s ease-in-out infinite;
}

.fpkc .fpkc-app .fpkc-outil--territoires {
	display: none;
}

/* ------------------------------------------------------------------ */
/* Encarts métropole + DROM                                            */
/* ------------------------------------------------------------------ */

.fpkc-encarts {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1000;
	display: flex;
	gap: 8px;
	max-width: calc(100% - 80px);
	padding: 2px 2px 6px;
	overflow-x: auto;
	scrollbar-width: none;
}

.fpkc-encarts::-webkit-scrollbar {
	display: none;
}

.fpkc-encart {
	position: relative;
	flex: none;
	width: 104px;
	height: 78px;
	overflow: hidden;
	border: 2px solid var(--fpkc-surface);
	border-radius: 12px;
	background: var(--fpkc-surface);
	box-shadow: var(--fpkc-ombre);
	cursor: pointer;
	transition: transform .15s, border-color .15s;
}

.fpkc-encart:hover {
	transform: translateY(-2px);
}

.fpkc-encart.fpkc-encart--actif {
	border-color: var(--fpkc-encre);
}

.fpkc-encart-carte {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.fpkc-encart-carte.leaflet-container {
	background: #e8eef0;
	cursor: pointer;
}

.fpkc-encart-nom {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	overflow: hidden;
	padding: 18px 6px 5px 7px;
	background: linear-gradient(rgba(21, 21, 21, 0), rgba(21, 21, 21, .88));
	color: var(--fpkc-blanc);
	font-size: 11px;
	font-style: italic;
	font-weight: 800;
	letter-spacing: .02em;
	line-height: 1.1;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
	pointer-events: none;
	z-index: 1;
}

.fpkc-encart-nb {
	position: absolute;
	z-index: 2;
	top: 5px;
	right: 5px;
	display: grid;
	place-items: center;
	min-width: 20px;
	height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: var(--fpkc-jaune);
	color: var(--fpkc-noir);
	font-size: 11px;
	font-style: normal;
	font-weight: 800;
	pointer-events: none;
}

.fpkc-encart-nb.fpkc-encart-nb--zero {
	background: rgba(21, 21, 21, .55);
	color: var(--fpkc-blanc);
}

/* Menu des territoires */
.fpkc-menu {
	position: absolute;
	z-index: 1100;
	width: 270px;
	max-height: calc(100% - 24px);
	padding: 8px;
	overflow-y: auto;
	border-radius: 14px;
	background: var(--fpkc-surface);
	box-shadow: var(--fpkc-ombre);
}

.fpkc .fpkc-menu-titre {
	margin: 6px 10px 6px;
	color: var(--fpkc-doux);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.fpkc .fpkc-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.fpkc .fpkc-menu li {
	margin: 0;
	padding: 0;
}

.fpkc .fpkc-app .fpkc-menu-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	padding: 8px 10px;
	border-radius: 8px;
	background: transparent;
	color: var(--fpkc-texte);
	font-size: 14px;
	text-align: left;
}

.fpkc .fpkc-app .fpkc-menu-item:hover,
.fpkc .fpkc-app .fpkc-menu-item[aria-current] {
	background: var(--fpkc-fond);
	color: var(--fpkc-texte);
}

.fpkc .fpkc-app .fpkc-menu-item[aria-current] {
	font-weight: 700;
}

.fpkc-menu-item b {
	min-width: 24px;
	padding: 1px 7px;
	border-radius: 999px;
	background: var(--fpkc-jaune);
	color: var(--fpkc-noir);
	font-size: 12px;
	text-align: center;
}

.fpkc-menu-item b.fpkc-zero {
	background: var(--fpkc-fond);
	color: var(--fpkc-doux);
}

/* ------------------------------------------------------------------ */
/* États, messages                                                     */
/* ------------------------------------------------------------------ */

.fpkc-etat {
	position: absolute;
	inset: 0;
	z-index: 1050;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	background: var(--fpkc-voile);
	color: var(--fpkc-texte);
	font-weight: 600;
	text-align: center;
	padding: 24px;
}

.fpkc-roue {
	width: 32px;
	height: 32px;
	border: 3px solid rgba(21, 21, 21, .15);
	border-top-color: var(--fpkc-rouge);
	border-radius: 50%;
	animation: fpkc-tourne .8s linear infinite;
}

.fpkc-etat--erreur .fpkc-roue {
	display: none;
}

.fpkc-toast {
	position: absolute;
	bottom: 28px;
	left: 50%;
	z-index: 1200;
	max-width: calc(100% - 32px);
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--fpkc-noir);
	color: var(--fpkc-blanc);
	font-size: 13px;
	transform: translateX(-50%);
	box-shadow: var(--fpkc-ombre);
}

@keyframes fpkc-tourne {
	to { transform: rotate(360deg); }
}

@keyframes fpkc-pulse {
	50% { opacity: .3; }
}

/* ------------------------------------------------------------------ */
/* Marqueurs et grappes                                                */
/* ------------------------------------------------------------------ */

.fpkc .fpkc-marqueur {
	border: 0;
	background: none;
}

.fpkc-epingle {
	position: absolute;
	top: 2px;
	left: 2px;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border: 2px solid var(--fpkc-blanc);
	border-radius: 50% 50% 50% 0;
	background: var(--fpkc-c, var(--fpkc-rouge));
	box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
	color: var(--fpkc-ic, #fff);
	transform: rotate(-45deg);
	transform-origin: 50% 50%;
	transition: transform .15s;
}

.fpkc-epingle svg {
	width: 15px;
	height: 15px;
	transform: rotate(45deg);
}

.fpkc-marqueur--association {
	--fpkc-c: var(--fpkc-point-asso);
	--fpkc-ic: #fff;
}

.fpkc-marqueur--event {
	--fpkc-c: var(--fpkc-point-evt);
	--fpkc-ic: var(--fpkc-noir);
}

.fpkc-marqueur--passe {
	--fpkc-c: #9b9ba4;
	--fpkc-ic: #fff;
}

.fpkc-marqueur:hover .fpkc-epingle,
.fpkc-marqueur--survol .fpkc-epingle {
	transform: rotate(-45deg) scale(1.2);
}

.fpkc-marqueur--survol {
	z-index: 10000 !important;
}

.fpkc .fpkc-grappe-icone {
	border: 0;
	background: none;
}

.fpkc-grappe {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: conic-gradient(var(--fpkc-point-asso) 0 var(--part), var(--fpkc-point-evt) var(--part) 100%);
	box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

.fpkc-grappe b {
	display: flex;
	align-items: center;
	justify-content: center;
	width: calc(100% - 8px);
	height: calc(100% - 8px);
	border-radius: 50%;
	background: var(--fpkc-noir);
	color: var(--fpkc-blanc);
	font-size: 14px;
	font-weight: 800;
}

/* ------------------------------------------------------------------ */
/* Bulles (popups)                                                     */
/* ------------------------------------------------------------------ */

.fpkc .fpkc-bulle .leaflet-popup-content-wrapper,
.fpkc .fpkc-bulle .leaflet-popup-tip {
	background: var(--fpkc-surface);
	color: var(--fpkc-texte);
}

.fpkc .fpkc-bulle .leaflet-popup-content-wrapper {
	padding: 0;
	overflow: hidden;
	border-radius: 16px;
	box-shadow: var(--fpkc-ombre);
}

.fpkc .fpkc-bulle .leaflet-popup-content {
	margin: 0;
	font: inherit;
	font-size: 14px;
	line-height: 1.45;
	color: var(--fpkc-texte);
}

.fpkc .fpkc-bulle a.leaflet-popup-close-button {
	top: 8px;
	right: 8px;
	z-index: 2;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--fpkc-surface);
	color: var(--fpkc-encre);
	font: 20px/28px Arial, sans-serif;
	text-align: center;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
}

.fpkc-bulle-image {
	height: 140px;
	background: var(--fpkc-fond);
}

.fpkc .fpkc-bulle-image img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.fpkc-bulle-corps {
	display: grid;
	gap: 8px;
	padding: 14px 16px 16px;
}

.fpkc-bulle-corps--sans-image {
	padding-top: 16px;
	padding-right: 44px;
}

.fpkc .fpkc-bulle-titre {
	margin: 0;
	color: var(--fpkc-encre);
	font-family: var(--fpkc-police-titre);
	font-size: 18px;
	font-style: italic;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.15;
	text-transform: uppercase;
}

.fpkc .fpkc-bulle-ligne {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
}

.fpkc .fpkc-bulle-ligne a {
	color: var(--fpkc-encre);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--fpkc-rouge);
	text-underline-offset: 2px;
	word-break: break-word;
}

.fpkc .fpkc-bulle-ligne a:hover {
	color: var(--fpkc-rouge);
}

.fpkc-bulle-ligne svg {
	width: 17px;
	height: 17px;
	margin-top: 1px;
	color: var(--fpkc-rouge);
}

.fpkc .fpkc-bulle-resume {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: var(--fpkc-doux);
	font-size: 13px;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.fpkc-bulle-evts {
	padding: 10px 12px;
	border-radius: 10px;
	background: var(--fpkc-fond);
	font-size: 13px;
}

.fpkc .fpkc-bulle-evts ul {
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
}

.fpkc .fpkc-bulle-evts li {
	margin: 0 0 4px;
}

.fpkc-bulle-evts li span {
	color: var(--fpkc-doux);
	white-space: nowrap;
}

.fpkc-bulle-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 4px;
}

/* ------------------------------------------------------------------ */
/* Mode compact (mobile ou colonne étroite)                            */
/* ------------------------------------------------------------------ */

.fpkc--compact .fpkc-panneau {
	position: absolute;
	inset: 0;
	z-index: 1001;
	justify-content: space-between;
	width: auto;
	border: 0;
	background: transparent;
	pointer-events: none;
}

.fpkc--compact .fpkc-entete {
	gap: 8px;
	margin: 10px;
	padding: 8px;
	border: 0;
	border-radius: 18px;
	background: var(--fpkc-surface);
	box-shadow: var(--fpkc-ombre);
	pointer-events: auto;
}

.fpkc--compact .fpkc-recherche {
	height: 44px;
}

.fpkc--compact .fpkc-option {
	padding: 0 6px 2px;
	font-size: 12px;
}

.fpkc--compact .fpkc .fpkc-onglet,
.fpkc.fpkc--compact .fpkc-app .fpkc-onglet {
	height: 32px;
	font-size: 12.5px;
}

.fpkc--compact .fpkc-feuille {
	flex: none;
	max-height: 58px;
	overflow: hidden;
	border-radius: 20px 20px 0 0;
	background: var(--fpkc-surface);
	box-shadow: 0 -4px 20px rgba(0, 0, 0, .16);
	pointer-events: auto;
	transition: max-height .28s ease;
}

.fpkc--compact .fpkc-feuille.fpkc-feuille--ouverte {
	max-height: 62%;
}

.fpkc.fpkc--compact .fpkc-app .fpkc-poignee {
	position: relative;
	display: flex;
	flex: none;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	width: 100%;
	padding: 8px 16px 12px;
	background: var(--fpkc-surface);
	color: var(--fpkc-texte);
}

.fpkc-poignee-barre {
	width: 40px;
	height: 4px;
	border-radius: 2px;
	background: var(--fpkc-inactif);
}

.fpkc-poignee-texte {
	font-size: 14px;
	font-weight: 700;
}

.fpkc-poignee svg {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 22px;
	height: 22px;
	color: var(--fpkc-doux);
	transition: transform .2s;
}

.fpkc-feuille--ouverte .fpkc-poignee svg {
	transform: rotate(180deg);
}

.fpkc--compact .fpkc-liste-zone {
	padding-top: 0;
}

.fpkc--compact .fpkc-liste-zone > .fpkc-compte {
	display: none;
}

.fpkc--compact .fpkc-encarts {
	display: none;
}

.fpkc--compact .fpkc-outils {
	top: auto;
	bottom: 84px;
	right: 10px;
	gap: 6px;
}

.fpkc--compact .fpkc-outils-groupe {
	display: none;
}

.fpkc.fpkc--compact .fpkc-app .fpkc-outil {
	width: 42px;
	height: 42px;
}

.fpkc.fpkc--compact .fpkc-app .fpkc-outil--territoires {
	display: grid;
}

.fpkc--compact .leaflet-bottom {
	bottom: 58px;
}

.fpkc--compact .leaflet-control-attribution {
	font-size: 10px;
}

.fpkc--compact .fpkc-toast {
	bottom: 76px;
}

/* ------------------------------------------------------------------ */
/* Petite carte de fiche : [carte_parkour_fiche]                       */
/* ------------------------------------------------------------------ */

.fpkc-fiche {
	overflow: hidden;
	border-radius: var(--fpkc-rayon);
	background: var(--fpkc-surface);
	box-shadow: 0 0 0 1px var(--fpkc-bord);
	isolation: isolate;
}

.fpkc-fiche .fpkc-app {
	height: var(--fpkc-hauteur, 300px);
}

.fpkc-fiche-pied {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	padding: 12px 16px;
	font-size: 14px;
}

.fpkc-fiche-adresse {
	color: var(--fpkc-doux);
}

.fpkc .fpkc-fiche-itineraire {
	display: inline-flex;
	align-items: center;
	height: 36px;
	padding: 0 16px;
	border-radius: 999px;
	background: var(--fpkc-encre);
	color: var(--fpkc-surface);
	font-weight: 700;
	text-decoration: none;
}

.fpkc .fpkc-fiche-itineraire:hover,
.fpkc .fpkc-fiche-itineraire:focus {
	background: var(--fpkc-rouge);
	color: var(--fpkc-surface);
}

/* ------------------------------------------------------------------ */
/* Liste d'événements d'une association : [evenements_association]     */
/* ------------------------------------------------------------------ */

.fpkc-evts {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fpkc-evt {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
}

.fpkc-evt-date {
	display: flex;
	flex: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 12px;
	background: #FFDE01;
	color: #151515;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.1;
	text-transform: uppercase;
}

.fpkc-evt-date b {
	font-size: 22px;
}

.fpkc-evt-texte {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.fpkc-evt-texte a,
.fpkc-evt-texte strong {
	font-weight: 700;
}

.fpkc-evt-texte span {
	font-size: .9em;
	opacity: .75;
}

@media (prefers-reduced-motion: reduce) {
	.fpkc *,
	.fpkc *::before,
	.fpkc *::after {
		transition: none !important;
		animation: none !important;
	}
}
