@charset "UTF-8";
/**
 * Escape Gamer — page de recherche (eg-chercher.php)
 *
 * Trois zones : la barre sombre en haut (types, lieu, joueurs, rayon, puces),
 * la colonne de filtres, la grille de fiches ; la carte s'ouvre à droite sur
 * ordinateur, en plein écran sur mobile, où les filtres deviennent une
 * feuille qui monte du bas.
 */

.eg-ch {
	background: var(--eg-paper);
	color: var(--eg-ink);
	font-family: var(--eg-body);
}

.eg-ch__lab {
	display: block;
	font-family: var(--eg-display);
	font-weight: 500;
	font-size: 12px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--eg-muted);
}

/* =========================================================================
   1. Barre de recherche
   ====================================================================== */

.eg-ch__barre {
	background: var(--eg-dark);
	color: #fff;
	padding: calc(var(--eg-u) * 2.5) 0 calc(var(--eg-u) * 2);
}

.eg-ch__barre-in {
	display: flex;
	flex-direction: column;
	gap: calc(var(--eg-u) * 1.5);
}

.eg-ch__types {
	display: flex;
	gap: 6px;
}

.eg-ch__type {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 14px;
	font-family: var(--eg-display);
	font-weight: 500;
	font-size: 13px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .7);
	border: 1px solid var(--eg-line);
	text-decoration: none;
}

.eg-ch__type i {
	font-style: normal;
	font-size: 12px;
	opacity: .7;
}

.eg-ch__type.is-on {
	background: var(--eg-lamp);
	color: var(--eg-dark);
	border-color: var(--eg-lamp);
}

.eg-ch__champs {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto;
	gap: 5px;
	padding: 5px;
	background: var(--eg-surface);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}

.eg-ch--enseignes .eg-ch__champs {
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto;
}

.eg-ch__champ {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 12px;
	color: var(--eg-ink);
	border-right: 1px solid var(--eg-hair);
}

.eg-ch__champ:last-of-type {
	border-right: 0;
}

.eg-ch__champ .eg-ic {
	color: var(--eg-muted);
	flex-shrink: 0;
}

.eg-ch__lib {
	font-family: var(--eg-display);
	font-size: 11px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--eg-muted);
	white-space: nowrap;
}

.eg-ch__champ input,
.eg-ch__champ select {
	flex: 1 1 auto;
	min-width: 0;
	height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 15px;
	color: var(--eg-ink);
	outline: none;
}

.eg-ch__champ input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.eg-ch__geo {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 8px;
	border: 0;
	background: transparent;
	color: var(--eg-accent);
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}

.eg-ch__geo.is-busy {
	opacity: .5;
	pointer-events: none;
}

.eg-ch__go {
	min-height: 48px;
	padding-inline: 22px;
}

.eg-ch__puces {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	scrollbar-width: none;
	padding-bottom: 2px;
}

.eg-ch__puces::-webkit-scrollbar {
	display: none;
}

/* --- Puces (chips) ----------------------------------------------------- */

.eg-ch-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 36px;
	padding: 0 12px;
	border-radius: 999px;
	border: 1px solid var(--eg-hair);
	background: var(--eg-surface);
	color: var(--eg-ink);
	font: inherit;
	font-size: 13.5px;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	text-decoration: none;
	flex-shrink: 0;
	transition: background-color .15s, color .15s, border-color .15s;
}

.eg-ch-chip input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}

.eg-ch-chip i {
	font-style: normal;
	font-size: 11.5px;
	color: var(--eg-muted);
}

.eg-ch-chip:hover {
	border-color: var(--eg-hair-2);
}

.eg-ch-chip.is-on,
.eg-ch-chip:has(input:checked) {
	background: var(--eg-dark);
	color: var(--eg-lamp);
	border-color: var(--eg-dark);
}

.eg-ch-chip.is-on i,
.eg-ch-chip:has(input:checked) i {
	color: inherit;
	opacity: .75;
}

.eg-ch-chip:has(input:focus-visible) {
	outline: 2px solid var(--eg-accent);
	outline-offset: 2px;
}

.eg-ch__puces .eg-ch-chip--ouvrir {
	background: transparent;
	color: var(--eg-lamp);
	border-color: var(--eg-lamp);
}

.eg-ch__puces .eg-ch-chip--ouvrir i,
.eg-ch__basse i {
	display: inline-grid;
	place-items: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: var(--eg-lamp);
	color: var(--eg-dark);
	font-size: 11px;
	font-weight: 700;
	font-style: normal;
}

/* =========================================================================
   2. Corps : filtres / résultats / carte
   ====================================================================== */

.eg-ch__corps {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: calc(var(--eg-u) * 3);
	align-items: start;
	padding-top: calc(var(--eg-u) * 3);
	padding-bottom: calc(var(--eg-u) * 6);
}

.eg-ch--carte .eg-ch__corps {
	grid-template-columns: 260px minmax(0, 1fr) 380px;
}

/* --- Filtres ----------------------------------------------------------- */

.eg-ch__filtres {
	position: sticky;
	top: 16px;
	display: flex;
	flex-direction: column;
	gap: calc(var(--eg-u) * 2.25);
	padding: calc(var(--eg-u) * 2.5);
	background: var(--eg-surface);
	border: 1px solid var(--eg-hair);
	max-height: calc(100vh - 32px);
	overflow-y: auto;
}

.eg-ch__filtres-tete {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.eg-ch__filtres-tete .eg-ch__lab {
	color: var(--eg-ink);
}

.eg-ch__filtres-tete a {
	font-size: 13px;
}

.eg-ch__fermer {
	display: none;
	width: 40px;
	height: 40px;
	border: 0;
	background: transparent;
	color: var(--eg-ink);
	cursor: pointer;
}

.eg-ch__bloc {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.eg-ch__bloc legend {
	padding: 0;
	margin-bottom: 10px;
}

.eg-ch__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.eg-ch__bloc .eg-ch-chip {
	height: 34px;
	font-size: 13px;
}

.eg-ch__switch {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 40px;
	font-size: 14px;
	cursor: pointer;
}

.eg-ch__switch input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.eg-ch__switch i {
	position: relative;
	flex-shrink: 0;
	width: 36px;
	height: 20px;
	border-radius: 10px;
	background: var(--eg-hair);
	transition: background-color .15s;
}

.eg-ch__switch i::after {
	content: "";
	position: absolute;
	left: 2px;
	top: 2px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
	transition: transform .15s, background-color .15s;
}

.eg-ch__switch input:checked + i {
	background: var(--eg-dark);
}

.eg-ch__switch input:checked + i::after {
	transform: translateX(16px);
	background: var(--eg-lamp);
}

.eg-ch__switch input:focus-visible + i {
	outline: 2px solid var(--eg-accent);
	outline-offset: 2px;
}

.eg-ch__bloc--tri,
.eg-ch__filtres-pied {
	display: none;
}

/* --- Résultats --------------------------------------------------------- */

.eg-ch__resultats {
	min-width: 0;
}

.eg-ch__tete {
	margin-bottom: calc(var(--eg-u) * 2);
}

.eg-ch__h1 {
	margin: 0 0 6px;
	font-family: var(--eg-display);
	font-weight: 500;
	font-size: 26px;
	line-height: 1.15;
	text-wrap: balance;
}

.eg-ch__chapeau {
	margin: 0 0 14px;
	max-width: 68ch;
	color: var(--eg-ink-2);
	font-size: 15px;
	line-height: 1.5;
}

.eg-ch__ligne {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
}

.eg-ch__compte {
	margin: 0;
	font-size: 14px;
	color: var(--eg-muted);
}

.eg-ch__compte b {
	color: var(--eg-ink);
	font-family: var(--eg-display);
	font-size: 18px;
	font-weight: 500;
}

.eg-ch__tri {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--eg-muted);
}

.eg-ch__tri > span {
	margin-right: 4px;
}

.eg-ch__tri .eg-ch-chip {
	height: 32px;
	font-size: 13px;
}

.eg-ch__grille {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: calc(var(--eg-u) * 2);
}

.eg-ch--carte .eg-ch__grille {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* --- Fiche compacte ---------------------------------------------------- */

.eg-cs {
	position: relative;
	background: var(--eg-surface);
	border: 1px solid var(--eg-hair);
	transition: border-color .18s, transform .18s;
}

.eg-cs:hover {
	border-color: var(--eg-hair-2);
	transform: translateY(-2px);
}

.eg-cs__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.eg-cs__media {
	position: relative;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--eg-hair);
}

.eg-cs__media > img:first-child {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.eg-cs__fallback {
	display: grid;
	place-items: center;
	height: 100%;
	background: var(--eg-dark-2);
	color: rgba(240, 201, 122, .5);
}

.eg-cs__fallback-ic {
	font-size: 44px;
	stroke-width: 1.2;
}

.eg-cs__note {
	position: absolute;
	left: 10px;
	top: 10px;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--eg-lamp);
	color: var(--eg-dark);
	font-family: var(--eg-display);
	font-weight: 600;
	font-size: 16px;
	box-shadow: 0 3px 0 var(--eg-warm);
}

.eg-cs__tag {
	position: absolute;
	right: 10px;
	top: 10px;
	padding: 4px 8px;
	background: var(--eg-warm-soft);
	color: var(--eg-warm);
	font-family: var(--eg-display);
	font-size: 11px;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.eg-cs__logo {
	position: absolute;
	right: 10px;
	bottom: 10px;
	width: 56px;
	height: 56px;
	object-fit: contain;
	background: #fff;
	border: 1px solid var(--eg-hair);
	padding: 4px;
}

.eg-cs__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 12px 14px 14px;
}

.eg-cs__title {
	margin: 0;
	font-family: var(--eg-display);
	font-weight: 500;
	font-size: 18px;
	line-height: 1.18;
	text-wrap: balance;
}

.eg-cs__sous {
	margin: 0;
	font-size: 13px;
	color: var(--eg-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.eg-cs__spec {
	display: flex;
	flex-wrap: wrap;
	gap: 5px 12px;
	margin: 2px 0 0;
	font-size: 13px;
	color: var(--eg-ink-2);
}

.eg-cs__spec span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.eg-cs__spec .eg-ic {
	color: var(--eg-muted);
	font-size: 14px;
}

.eg-cs__theme {
	color: var(--eg-accent);
}

.eg-cs__nontestee {
	margin: 2px 0 0;
	font-size: 12px;
	color: var(--eg-muted);
}

/* --- Suite, vide, villes ----------------------------------------------- */

.eg-ch__suite {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: calc(var(--eg-u) * 3) 0 calc(var(--eg-u) * 2);
}

.eg-ch__plus {
	min-height: 48px;
	padding-inline: 28px;
	border-color: var(--eg-dark);
	color: var(--eg-dark);
	background: var(--eg-surface);
}

.eg-ch__plus.is-busy {
	opacity: .5;
	pointer-events: none;
}

.eg-ch__plus.is-fin {
	pointer-events: none;
	border-color: var(--eg-hair);
	color: var(--eg-muted);
}

.eg-ch__avancement,
.eg-ch__pagin {
	margin: 0;
	font-size: 13px;
	color: var(--eg-muted);
}

.eg-ch__vide {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: calc(var(--eg-u) * 6) calc(var(--eg-u) * 2);
	text-align: center;
	background: var(--eg-surface);
	border: 1px dashed var(--eg-hair-2);
}

.eg-ch__vide-ic {
	font-size: 48px;
	color: var(--eg-hair-2);
}

.eg-ch__vide p {
	margin: 0;
	max-width: 46ch;
	color: var(--eg-ink-2);
}

.eg-ch__villes {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin-top: calc(var(--eg-u) * 3);
	padding-top: calc(var(--eg-u) * 2);
	border-top: 1px solid var(--eg-hair);
	font-size: 14px;
}

.eg-ch__villes .eg-ch__lab {
	margin-right: 6px;
}

.eg-ch__villes a {
	color: var(--eg-ink);
	text-decoration: none;
}

.eg-ch__villes a:hover {
	color: var(--eg-accent);
}

.eg-ch__villes i {
	font-style: normal;
	color: var(--eg-muted);
	font-size: 12px;
}

/* --- Carte ------------------------------------------------------------- */

.eg-ch__carte {
	position: sticky;
	top: 16px;
	display: flex;
	flex-direction: column;
	height: calc(100vh - 32px);
	min-height: 480px;
	background: var(--eg-accent-soft);
	border: 1px solid var(--eg-hair);
	overflow: hidden;
}

.eg-ch__carte[hidden] {
	display: none;
}

.eg-ch__carte-tete {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 8px 8px 14px;
	background: var(--eg-surface);
	border-bottom: 1px solid var(--eg-hair);
}

.eg-ch__carte-tete .eg-ch__fermer {
	display: inline-grid;
	place-items: center;
}

.eg-ch__carte-in {
	flex: 1 1 auto;
	min-height: 0;
}

/* Le retour à la liste, posé sur la carte (mobile ; caché sur ordinateur
   où l'en-tête du panneau porte déjà la fermeture). */
.eg-ch__carte-liste {
	display: none;
	position: absolute;
	left: 10px;
	top: 66px;
	z-index: 1100;
	min-height: 44px;
	padding-inline: 14px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}

.eg-ch__carte-fiche {
	max-height: 45%;
	overflow-y: auto;
	padding: 10px;
	background: var(--eg-surface);
	border-top: 1px solid var(--eg-hair);
}

.eg-ch__carte-fiche .eg-cs__link {
	flex-direction: row;
	gap: 12px;
}

.eg-ch__carte-fiche .eg-cs__media {
	width: 104px;
	height: 104px;
	aspect-ratio: auto;
	flex-shrink: 0;
}

.eg-ch__carte-fiche .eg-cs__note {
	width: 32px;
	height: 32px;
	font-size: 13px;
	left: 6px;
	top: 6px;
}

.eg-ch__carte-fiche .eg-cs__tag,
.eg-ch__carte-fiche .eg-cs__logo {
	display: none;
}

.eg-ch__pin {
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--eg-dark);
	border: 2px solid #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}

.eg-ch__pin--note {
	background: var(--eg-lamp);
	color: var(--eg-dark);
	border: 0;
	box-shadow: 0 3px 0 var(--eg-warm);
	font-family: var(--eg-display);
	font-weight: 600;
	font-size: 13px;
}

.eg-ch__pin b {
	font-weight: 600;
}

/* Barre basse : mobile seulement. */
.eg-ch__basse {
	display: none;
}

/* =========================================================================
   3. Mobile
   ====================================================================== */

@media (max-width: 1100px) {
	.eg-ch__champs {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.eg-ch__champ--lieu {
		grid-column: 1 / -1;
		border-right: 0;
		border-bottom: 1px solid var(--eg-hair);
	}

	.eg-ch__go {
		grid-column: 1 / -1;
	}

	/* Écran moyen : la carte prend la place des filtres (rouverts en la fermant). */
	.eg-ch--carte .eg-ch__corps {
		grid-template-columns: minmax(0, 1fr) 340px;
	}

	.eg-ch--carte .eg-ch__filtres {
		display: none;
	}

	.eg-ch--carte .eg-ch__grille {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.eg-ch__grille {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.eg-ch__barre {
		position: sticky;
		top: 0;
		z-index: 30;
		padding: 12px 0 10px;
	}

	.eg-ch__types {
		order: -1;
	}

	.eg-ch__type {
		height: 36px;
		padding: 0 12px;
		font-size: 12px;
	}

	.eg-ch__champs {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 0;
	}

	.eg-ch__champ--lieu {
		grid-column: auto;
		border: 0;
		min-height: 44px;
	}

	.eg-ch__champ--joueurs,
	.eg-ch__champ--rayon {
		display: none;
	}

	.eg-ch__lib {
		display: none;
	}

	.eg-ch__geo span {
		display: none;
	}

	.eg-ch__go {
		grid-column: auto;
		min-height: 44px;
		padding-inline: 14px;
		font-size: 0;
	}

	.eg-ch__go .eg-ic {
		font-size: 18px;
	}

	.eg-ch__corps {
		display: block;
		padding-top: 14px;
		padding-bottom: 96px;
	}

	/* La feuille de filtres — au-dessus de l'en-tête du site (z-index 1000). */
	.eg-ch__filtres {
		position: fixed;
		inset: auto 0 0 0;
		z-index: 10010;
		max-height: 85vh;
		border-radius: 16px 16px 0 0;
		border: 0;
		box-shadow: 0 -10px 40px rgba(0, 0, 0, .35);
		transform: translateY(110%);
		transition: transform .25s ease-out;
		padding-bottom: 0;
	}

	.eg-ch__filtres.is-open {
		transform: translateY(0);
	}

	.eg-ch__filtres::before {
		content: "";
		display: block;
		width: 40px;
		height: 4px;
		margin: -8px auto 0;
		border-radius: 2px;
		background: var(--eg-hair);
	}

	.eg-ch__filtres .eg-ch__fermer {
		display: inline-grid;
		place-items: center;
	}

	.eg-ch__bloc .eg-ch-chip {
		height: 40px;
		font-size: 14px;
	}

	.eg-ch__switch {
		min-height: 44px;
	}

	.eg-ch__bloc--tri {
		display: block;
	}

	.eg-ch__filtres-pied {
		display: block;
		position: sticky;
		bottom: 0;
		margin: 0 calc(var(--eg-u) * -2.5);
		padding: 12px calc(var(--eg-u) * 2.5) 20px;
		background: var(--eg-surface);
		border-top: 1px solid var(--eg-hair);
	}

	.eg-ch__filtres-pied .eg-btn {
		width: 100%;
		min-height: 52px;
	}

	body.eg-ch-lock {
		overflow: hidden;
	}

	/*
	 * L'en-tête du site (sticky, z-index 1000) est frère du conteneur
	 * MyListing .c27-site-wrapper (z-index 999) qui enferme la page : un
	 * calque fixé à l'intérieur ne peut jamais passer au-dessus, quel que
	 * soit son z-index. Tant qu'une feuille ou la carte est ouverte,
	 * l'en-tête descend donc sous elles.
	 */
	body.eg-ch-lock .eg-header,
	body.eg-ch-lock-carte .eg-header {
		z-index: 1;
	}

	.eg-ch__h1 {
		font-size: 21px;
	}

	.eg-ch__chapeau {
		font-size: 14px;
	}

	.eg-ch__tri {
		display: none;
	}

	/* Fiches en ligne : image carrée 104 px à gauche. */
	.eg-ch__grille,
	.eg-ch--carte .eg-ch__grille {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.eg-cs__link {
		flex-direction: row;
		gap: 12px;
		padding: 10px;
	}

	.eg-cs__media {
		width: 104px;
		height: 104px;
		aspect-ratio: auto;
		flex-shrink: 0;
	}

	.eg-cs__note {
		left: 6px;
		top: 6px;
		width: 34px;
		height: 34px;
		font-size: 14px;
	}

	.eg-cs__tag {
		position: static;
		display: inline-flex;
		align-self: flex-start;
		order: 2;
		padding: 2px 6px;
		font-size: 10px;
	}

	.eg-cs__logo {
		width: 36px;
		height: 36px;
		right: 4px;
		bottom: 4px;
		padding: 2px;
	}

	.eg-cs__body {
		padding: 0;
		gap: 4px;
		min-width: 0;
		flex: 1 1 auto;
	}

	.eg-cs__title {
		font-size: 17px;
	}

	.eg-cs__sous {
		font-size: 12px;
	}

	.eg-cs__spec {
		font-size: 12px;
		gap: 4px 10px;
		margin-top: auto;
	}

	.eg-cs__spec .eg-ic {
		display: none;
	}

	.eg-cs__nontestee {
		display: none;
	}

	/* Carte plein écran — au-dessus de l'en-tête du site (z-index 1000). */
	.eg-ch__carte {
		position: fixed;
		inset: 0;
		z-index: 10020;
		height: auto;
		min-height: 0;
		border: 0;
	}

	.eg-ch__carte-tete {
		min-height: 56px;
		padding-top: max(8px, env(safe-area-inset-top));
	}

	.eg-ch__carte-tete .eg-ch__lab {
		font-size: 14px;
		color: var(--eg-ink);
	}

	/* Bouton « Liste » flottant sur la carte : un retour toujours visible. */
	.eg-ch__carte-liste {
		display: inline-flex;
	}

	body.eg-ch-lock-carte {
		overflow: hidden;
	}

	.eg-ch__carte-fiche {
		max-height: 40%;
	}

	/* Barre basse */
	.eg-ch__basse {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 50;
		display: flex;
		gap: 10px;
		padding: 10px 16px calc(14px + env(safe-area-inset-bottom));
		background: rgba(247, 245, 242, .94);
		border-top: 1px solid var(--eg-hair);
		backdrop-filter: blur(6px);
	}

	.eg-ch__basse .eg-btn {
		flex: 1 1 0;
		min-height: 48px;
	}

	.eg-ch__basse .eg-btn--ghost {
		background: var(--eg-surface);
	}

	.eg-ch--carte .eg-ch__basse {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.eg-ch__filtres,
	.eg-cs {
		transition: none;
	}
}

/* =========================================================================
   4. Lecture et référencement : fil, pilules, chiffres, partenaires, FAQ
   ====================================================================== */

.eg-ch__fil {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0 0 10px;
	font-size: 12.5px;
	color: var(--eg-muted);
}

.eg-ch__fil a {
	color: var(--eg-muted);
	text-decoration: none;
}

.eg-ch__fil a:hover {
	color: var(--eg-accent);
}

.eg-ch__fil span {
	color: var(--eg-ink);
}

.eg-ch__fil i {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--eg-hair-2);
}

.eg-ch__pilules {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0 0 12px;
	padding: 0;
	list-style: none;
}

.eg-ch__pilules a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 30px;
	padding: 0 6px 0 10px;
	background: var(--eg-dark);
	color: var(--eg-lamp);
	font-size: 13px;
	text-decoration: none;
	border-radius: 999px;
}

.eg-ch__pilules a .eg-ic {
	font-size: 14px;
	opacity: .7;
}

.eg-ch__pilules a:hover .eg-ic {
	opacity: 1;
}

.eg-ch__pilules .eg-ch__pilules-tout {
	background: transparent;
	color: var(--eg-accent);
	padding: 0 6px;
}

.eg-ch__chiffres {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin: 0 0 14px;
	padding: 10px 14px;
	background: var(--eg-surface);
	border: 1px solid var(--eg-hair);
	font-size: 13.5px;
	color: var(--eg-ink-2);
}

.eg-ch__chiffres span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.eg-ch__chiffres .eg-ic {
	color: var(--eg-muted);
}

.eg-ch__chiffres-top {
	color: var(--eg-warm);
}

.eg-ch__chiffres-top .eg-ic {
	color: var(--eg-warm);
}

/* --- Partenaires ------------------------------------------------------- */

.eg-ch__sep {
	grid-column: 1 / -1;
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 4px 0 -6px;
	font-family: var(--eg-display);
	font-weight: 500;
	font-size: 13px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--eg-muted);
}

.eg-ch__sep i {
	font-family: var(--eg-body);
	font-style: normal;
	font-size: 12px;
	letter-spacing: 0;
	text-transform: none;
	color: var(--eg-muted);
}

.eg-ch__sep--part {
	color: var(--eg-warm);
}

.eg-cs--partenaire {
	border-color: var(--eg-lamp);
	box-shadow: 0 0 0 2px var(--eg-lamp) inset;
}

.eg-cs--partenaire .eg-cs__media::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 3px;
	background: var(--eg-lamp);
}

.eg-cs__avis {
	display: flex;
	gap: 6px;
	margin: 4px 0 0;
	font-size: 13px;
	line-height: 1.4;
	font-style: italic;
	color: var(--eg-ink-2);
}

.eg-cs__avis .eg-ic {
	flex-shrink: 0;
	margin-top: 2px;
	color: var(--eg-lamp);
	font-size: 14px;
}

.eg-cs__noms {
	margin: 2px 0 0;
	font-size: 12.5px;
	line-height: 1.4;
	color: var(--eg-muted);
}

/* --- FAQ et liens ------------------------------------------------------ */

.eg-ch__faq {
	margin-top: calc(var(--eg-u) * 4);
	padding: calc(var(--eg-u) * 3);
	background: var(--eg-surface);
	border: 1px solid var(--eg-hair);
}

.eg-ch__faq h2 {
	margin: 0 0 14px;
	font-family: var(--eg-display);
	font-weight: 500;
	font-size: 21px;
	line-height: 1.2;
}

.eg-ch__q {
	border-top: 1px solid var(--eg-hair);
	padding: 12px 0;
}

.eg-ch__q summary {
	cursor: pointer;
	font-weight: 700;
	font-size: 15px;
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: 12px;
}

.eg-ch__q summary::-webkit-details-marker {
	display: none;
}

.eg-ch__q summary::after {
	content: "+";
	color: var(--eg-muted);
	font-weight: 400;
}

.eg-ch__q[open] summary::after {
	content: "–";
}

.eg-ch__q p {
	margin: 8px 0 0;
	max-width: 70ch;
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--eg-ink-2);
}

.eg-ch__lien-fort {
	font-weight: 700;
	color: var(--eg-accent) !important;
}

@media (max-width: 900px) {
	.eg-ch__chiffres {
		font-size: 12.5px;
		gap: 4px 12px;
		padding: 8px 10px;
	}

	.eg-cs__avis,
	.eg-cs__noms {
		display: none;
	}

	.eg-ch__faq {
		padding: 16px;
	}

	.eg-ch__sep {
		margin: 0;
	}
}


/* 2.25.16 : le champ « Quoi ? » (salle, enseigne, thème). */
.eg-ch__champs {
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) auto;
}

.eg-ch--enseignes .eg-ch__champs {
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.5fr) minmax(0, 1fr) auto;
}

@media (max-width: 1100px) {
	.eg-ch__champs {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.eg-ch__champ--mot {
		grid-column: 1 / -1;
		border-right: 0;
		border-bottom: 1px solid var(--eg-hair);
	}
}

@media (max-width: 640px) {
	.eg-ch__champs {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.eg-ch__champ--mot {
		grid-column: 1 / -1;
		border: 0;
		border-bottom: 1px solid var(--eg-hair);
		min-height: 44px;
	}
}


/* 2.25.17 : sur mobile, la page glissait vers la gauche (relevé de François).
   Les cases à cocher invisibles des puces sont en position absolue : sans
   parent positionné, elles se plaçaient par rapport à la page, hors du
   conteneur défilant, et l'élargissaient de 800 px. */
.eg-ch-chip,
.eg-ch__puces,
.eg-ch__chips {
	position: relative;
}

/* 2.32.6 : filtres sans rechargement */
.eg-ch.is-chargement { opacity: .55; pointer-events: none; transition: opacity .15s; }
