/* =========================================================
   PokéBoard Geo — Annuaire des collectionneurs Pokémon
   Design system EurêCard (rouge #fe0201 / or #F0A500)
   Mobile-first · Premium · Cohérent avec /cartes-pokemon/
========================================================= */

.pb-geo {
	--pbg-primary:        #fe0201;
	--pbg-primary-hover:  #d40000;
	--pbg-primary-soft:   rgba(254,2,1,.08);
	--pbg-primary-ring:   rgba(254,2,1,.18);
	--pbg-primary-deep:   #b30000;

	--pbg-gold:           #F0A500;
	--pbg-gold-light:     #FFD54F;
	--pbg-gold-deep:      #D4920A;
	--pbg-gold-soft:      rgba(240,165,0,.10);

	--pbg-blue:           #1565C0;
	--pbg-blue-soft:      rgba(21,101,192,.10);
	--pbg-green:          #22c55e;
	--pbg-green-soft:     rgba(34,197,94,.10);

	--pbg-ink:            #0f172a;
	--pbg-text:           #1e293b;
	--pbg-muted:          #64748b;
	--pbg-light:          #94a3b8;
	--pbg-soft:           #cbd5e1;

	--pbg-bg:             #f6f8fb;
	--pbg-surface:        #ffffff;
	--pbg-surface-2:      #f8fafc;
	--pbg-surface-3:      #eef2f7;
	--pbg-glass:          rgba(255,255,255,.92);

	--pbg-border:         rgba(15,23,42,.08);
	--pbg-border-strong:  rgba(15,23,42,.14);

	--pbg-shadow-xs:      0 1px 3px rgba(15,23,42,.04);
	--pbg-shadow-sm:      0 2px 8px rgba(15,23,42,.06);
	--pbg-shadow-md:      0 6px 18px rgba(15,23,42,.08);
	--pbg-shadow-lg:      0 12px 32px rgba(15,23,42,.10);
	--pbg-shadow-red:     0 10px 28px rgba(254,2,1,.22);
	--pbg-shadow-gold:    0 10px 28px rgba(240,165,0,.28);

	--pbg-r-xs:           8px;
	--pbg-r-sm:           12px;
	--pbg-r-md:           16px;
	--pbg-r-lg:           20px;
	--pbg-r-xl:           24px;
	--pbg-r-2xl:          32px;
	--pbg-r-pill:         999px;

	--pbg-ease:           .22s cubic-bezier(.4,0,.2,1);
	--pbg-ease-fast:      .15s ease;

	/* Largeur alignée sur le thème EurêCard (--pkb-container = 1680px desktop) */
	--pbg-container:      var(--pkb-container, 1680px);
	--pbg-pad:            var(--pkb-container-padding, 14px);

	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--pbg-text);
	box-sizing: border-box;
}
.pb-geo *,
.pb-geo *::before,
.pb-geo *::after { box-sizing: border-box; }

/* =========================================================
   SVG ICONS — sizing par défaut + flex-shrink (anti-blow-up)
========================================================= */
.pb-geo .pbg-icon {
	display: inline-block;
	flex-shrink: 0;
	vertical-align: -2px;
	width: 18px;
	height: 18px;
}
.pb-geo svg.pbg-icon { max-width: 100%; }

/* =========================================================
   PAGE LAYOUT
========================================================= */
.pb-geo-page {
	width: min(var(--pbg-container), 100%);
	margin: 0 auto;
	/* Padding vertical : top normal, bottom plus large. Padding horizontal aligné
	   sur le thème (--pkb-container-padding) pour matcher header + footer. */
	padding-top: clamp(18px, 3vw, 28px);
	padding-bottom: clamp(40px, 8vw, 80px);
	padding-inline: var(--pbg-pad);
	display: flex;
	flex-direction: column;
	gap: clamp(20px, 3vw, 32px);
}

/* =========================================================
   BREADCRUMB
========================================================= */
.pb-geo-breadcrumb {
	font-size: 13px;
	color: var(--pbg-muted);
}
.pb-geo-breadcrumb ol {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}
.pb-geo-breadcrumb li {
	display: flex;
	align-items: center;
	gap: 6px;
}
.pb-geo-breadcrumb li + li::before {
	content: "›";
	color: var(--pbg-light);
	font-weight: 600;
}
.pb-geo-breadcrumb a {
	color: var(--pbg-primary);
	text-decoration: none;
	font-weight: 600;
	transition: color var(--pbg-ease-fast);
}
.pb-geo-breadcrumb a:hover { color: var(--pbg-primary-hover); }
.pb-geo-breadcrumb [aria-current="page"] {
	color: var(--pbg-ink);
	font-weight: 700;
}

/* =========================================================
   HERO — premium gradient avec pokéball motif
========================================================= */
.pb-geo-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 88% -20%, rgba(240,165,0,.28), transparent 50%),
		radial-gradient(circle at 12% 120%, rgba(254,2,1,.32), transparent 55%),
		linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0f172a 100%);
	color: #fff;
	border-radius: var(--pbg-r-xl);
	padding: clamp(28px, 5vw, 52px) clamp(24px, 4vw, 44px);
	box-shadow: var(--pbg-shadow-lg);
	isolation: isolate;
}
.pb-geo-hero::before {
	content: "";
	position: absolute;
	inset: -20% -10% auto auto;
	width: 320px;
	height: 320px;
	background:
		radial-gradient(circle at 50% 50%, transparent 49%, rgba(255,255,255,.06) 50%, transparent 52%),
		radial-gradient(circle at 50% 50%, var(--pbg-primary) 0%, var(--pbg-primary) 49%, #fff 50%, #fff 52%, #1a1a1a 53%, #1a1a1a 100%);
	border-radius: 50%;
	opacity: .14;
	pointer-events: none;
	z-index: 0;
}
.pb-geo-hero > * { position: relative; z-index: 1; }

.pb-geo-hero__kicker {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	background: linear-gradient(135deg, var(--pbg-gold) 0%, var(--pbg-primary) 100%);
	color: #fff;
	border-radius: var(--pbg-r-pill);
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .08em;
	margin-bottom: 14px;
	box-shadow: var(--pbg-shadow-red);
}
.pb-geo-hero__kicker .pbg-icon {
	width: 14px;
	height: 14px;
	color: #fff;
	flex-shrink: 0;
}

.pb-geo-hero h1 {
	margin: 0 0 10px;
	font-size: clamp(26px, 5vw, 44px);
	line-height: 1.1;
	color: #fff;
	font-weight: 800;
	letter-spacing: -.02em;
}
.pb-geo-hero .pb-geo-hero-subtitle,
.pb-geo-hero p {
	margin: 0;
	font-size: clamp(14px, 1.6vw, 17px);
	line-height: 1.55;
	color: rgba(255,255,255,.82);
	max-width: 680px;
}
.pb-geo-hero strong { color: #fff; font-weight: 700; }

.pb-geo-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}
.pb-geo-hero__meta-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	background: rgba(255,255,255,.12);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255,255,255,.18);
	border-radius: var(--pbg-r-pill);
	font-size: 12.5px;
	font-weight: 600;
	color: rgba(255,255,255,.95);
}
.pb-geo-hero__meta-chip .pbg-icon,
.pb-geo-hero__meta-chip svg {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

/* Hero actions (CTAs inside hero) */
.pb-geo-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}
.pb-geo-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: var(--pbg-r-md);
	font-weight: 700;
	font-size: 14.5px;
	text-decoration: none;
	transition: transform var(--pbg-ease), box-shadow var(--pbg-ease), background var(--pbg-ease);
	border: none;
	cursor: pointer;
	font-family: inherit;
}
.pb-geo-btn--primary {
	background: linear-gradient(135deg, var(--pbg-primary) 0%, var(--pbg-primary-deep) 100%);
	color: #fff;
	box-shadow: var(--pbg-shadow-red);
}
.pb-geo-btn--primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 32px rgba(254,2,1,.32);
	color: #fff;
}
.pb-geo-btn--gold {
	background: linear-gradient(135deg, var(--pbg-gold-light) 0%, var(--pbg-gold) 100%);
	color: #0f172a;
	box-shadow: var(--pbg-shadow-gold);
}
.pb-geo-btn--gold:hover { transform: translateY(-1px); color: #0f172a; }
.pb-geo-btn--ghost {
	background: rgba(255,255,255,.12);
	color: #fff;
	border: 1px solid rgba(255,255,255,.22);
	backdrop-filter: blur(8px);
}
.pb-geo-btn--ghost:hover { background: rgba(255,255,255,.18); color: #fff; }
.pb-geo-btn--outline {
	background: #fff;
	color: var(--pbg-primary);
	border: 2px solid var(--pbg-primary);
}
.pb-geo-btn--outline:hover { background: var(--pbg-primary); color: #fff; }

/* =========================================================
   SECTION TITLES
========================================================= */
.pb-geo-page h2 {
	font-size: clamp(20px, 2.5vw, 26px);
	margin: 0 0 18px;
	color: var(--pbg-ink);
	font-weight: 800;
	letter-spacing: -.01em;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}
.pb-geo-page h2 .pbg-icon {
	width: 22px;
	height: 22px;
	color: var(--pbg-primary);
}
.pb-geo-page h2 .pb-geo-section-count {
	font-size: 13px;
	font-weight: 600;
	color: var(--pbg-muted);
	background: var(--pbg-surface-2);
	padding: 4px 12px;
	border-radius: var(--pbg-r-pill);
}
.pb-geo-section {
	background: var(--pbg-surface);
	border: 1px solid var(--pbg-border);
	border-radius: var(--pbg-r-lg);
	padding: clamp(20px, 3vw, 28px);
	box-shadow: var(--pbg-shadow-sm);
}
.pb-geo-section + .pb-geo-section { margin-top: 18px; }

/* =========================================================
   STATS — KPI grid premium
========================================================= */
.pb-geo-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 12px;
}
.pb-geo-stat {
	position: relative;
	background: var(--pbg-surface);
	border: 1px solid var(--pbg-border);
	border-radius: var(--pbg-r-md);
	padding: 18px 16px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	transition: transform var(--pbg-ease), box-shadow var(--pbg-ease), border-color var(--pbg-ease);
	overflow: hidden;
}
.pb-geo-stat::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 3px;
	background: linear-gradient(90deg, var(--pbg-primary), var(--pbg-gold));
	opacity: 0;
	transition: opacity var(--pbg-ease);
}
.pb-geo-stat:hover {
	transform: translateY(-2px);
	border-color: var(--pbg-primary-ring);
	box-shadow: var(--pbg-shadow-md);
}
.pb-geo-stat:hover::before { opacity: 1; }
.pb-geo-stat__icon {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 22px;
	height: 22px;
	color: var(--pbg-light);
	opacity: .85;
}
.pb-geo-stat__icon svg { width: 100%; height: 100%; }
.pb-geo-stat-value,
.pb-geo-stat__value {
	display: block;
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 800;
	color: var(--pbg-ink);
	line-height: 1.1;
	letter-spacing: -.02em;
}
.pb-geo-stat-label,
.pb-geo-stat__label {
	display: block;
	font-size: 12px;
	color: var(--pbg-muted);
	font-weight: 600;
	letter-spacing: .02em;
	margin-top: 4px;
}
.pb-geo-stat--primary { background: linear-gradient(135deg, var(--pbg-primary-soft) 0%, rgba(254,2,1,.02) 100%); border-color: var(--pbg-primary-ring); }
.pb-geo-stat--primary .pb-geo-stat-value,
.pb-geo-stat--primary .pb-geo-stat__value { color: var(--pbg-primary); }
.pb-geo-stat--primary .pb-geo-stat__icon { color: var(--pbg-primary); opacity: 1; }
.pb-geo-stat--gold { background: linear-gradient(135deg, var(--pbg-gold-soft) 0%, rgba(240,165,0,.02) 100%); border-color: rgba(240,165,0,.22); }
.pb-geo-stat--gold .pb-geo-stat-value,
.pb-geo-stat--gold .pb-geo-stat__value { color: var(--pbg-gold-deep); }
.pb-geo-stat--gold .pb-geo-stat__icon { color: var(--pbg-gold-deep); opacity: 1; }
.pb-geo-stat--live {
	background: linear-gradient(135deg, var(--pbg-green-soft) 0%, rgba(34,197,94,.02) 100%);
	border-color: rgba(34,197,94,.22);
}
.pb-geo-stat--live .pb-geo-stat-value,
.pb-geo-stat--live .pb-geo-stat__value { color: #16a34a; }
.pb-geo-stat--live .pb-geo-stat__label::after {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-left: 6px;
	border-radius: 50%;
	background: #22c55e;
	box-shadow: 0 0 0 0 rgba(34,197,94,.45);
	animation: pbg-pulse 1.8s ease-out infinite;
	vertical-align: middle;
}
@keyframes pbg-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.55); }
	100% { box-shadow: 0 0 0 10px rgba(34,197,94,0); }
}

/* =========================================================
   SEARCH BAR + FILTERS
========================================================= */
.pb-geo-toolbar {
	background: var(--pbg-surface);
	border: 1px solid var(--pbg-border);
	border-radius: var(--pbg-r-lg);
	padding: clamp(14px, 2vw, 20px);
	box-shadow: var(--pbg-shadow-sm);
}
.pb-geo-toolbar__row {
	display: grid;
	grid-template-columns: 1fr auto auto;
	gap: 10px;
	align-items: center;
}
.pb-geo-search {
	position: relative;
	display: flex;
	align-items: center;
}
.pb-geo-search svg,
.pb-geo-search .pbg-icon {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	color: var(--pbg-muted);
	pointer-events: none;
	flex-shrink: 0;
}
.pb-geo-search input {
	width: 100%;
	height: 48px;
	padding: 0 18px 0 46px;
	border: 1.5px solid var(--pbg-border);
	border-radius: var(--pbg-r-md);
	font-size: 15px;
	font-family: inherit;
	background: var(--pbg-surface-2);
	color: var(--pbg-ink);
	transition: border-color var(--pbg-ease), box-shadow var(--pbg-ease), background var(--pbg-ease);
}
.pb-geo-search input::placeholder { color: var(--pbg-light); }
.pb-geo-search input:focus {
	outline: none;
	border-color: var(--pbg-primary);
	background: #fff;
	box-shadow: 0 0 0 4px var(--pbg-primary-ring);
}

.pb-geo-select {
	height: 48px;
	min-width: 170px;
	padding: 0 36px 0 16px;
	border: 1.5px solid var(--pbg-border);
	border-radius: var(--pbg-r-md);
	background: var(--pbg-surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 14px center;
	background-size: 12px;
	font-size: 14px;
	font-family: inherit;
	color: var(--pbg-ink);
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	transition: border-color var(--pbg-ease), box-shadow var(--pbg-ease);
}
.pb-geo-select:focus,
.pb-geo-select:hover {
	outline: none;
	border-color: var(--pbg-primary);
	box-shadow: 0 0 0 4px var(--pbg-primary-ring);
}

.pb-geo-view-toggle {
	display: inline-flex;
	background: var(--pbg-surface-2);
	border: 1.5px solid var(--pbg-border);
	border-radius: var(--pbg-r-md);
	padding: 4px;
	gap: 2px;
}
.pb-geo-view-toggle button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 38px;
	background: transparent;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	color: var(--pbg-muted);
	transition: background var(--pbg-ease-fast), color var(--pbg-ease-fast);
}
.pb-geo-view-toggle button:hover { color: var(--pbg-ink); }
.pb-geo-view-toggle button.is-active {
	background: #fff;
	color: var(--pbg-primary);
	box-shadow: var(--pbg-shadow-xs);
}
.pb-geo-view-toggle button svg,
.pb-geo-view-toggle button .pbg-icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.pb-geo-toolbar__count {
	margin-top: 12px;
	font-size: 13px;
	color: var(--pbg-muted);
	display: flex;
	align-items: center;
	gap: 10px;
}
.pb-geo-toolbar__count strong { color: var(--pbg-ink); font-weight: 800; }

.pb-geo-toolbar__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
}
.pb-geo-toolbar__filters .pb-geo-select { min-width: 140px; flex: 1 1 140px; }

/* =========================================================
   GRILLE — Cartes Zone (région / dépt / ville)
========================================================= */
.pb-geo-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
}
.pb-geo-grid[data-view="list"] {
	grid-template-columns: 1fr;
	gap: 10px;
}

.pb-geo-zone {
	position: relative;
	background: var(--pbg-surface);
	border: 1px solid var(--pbg-border);
	border-radius: var(--pbg-r-md);
	padding: 18px;
	text-decoration: none;
	color: inherit;
	transition: transform var(--pbg-ease), box-shadow var(--pbg-ease), border-color var(--pbg-ease);
	display: flex;
	flex-direction: column;
	gap: 12px;
	overflow: hidden;
}
.pb-geo-zone::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 3px;
	background: linear-gradient(90deg, var(--pbg-primary), var(--pbg-gold));
	opacity: 0;
	transition: opacity var(--pbg-ease);
}
.pb-geo-zone:hover {
	transform: translateY(-3px);
	border-color: var(--pbg-primary-ring);
	box-shadow: var(--pbg-shadow-md);
	color: inherit;
}
.pb-geo-zone:hover::before { opacity: 1; }

.pb-geo-zone__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
}
.pb-geo-zone__title {
	margin: 0;
	font-size: 16px;
	font-weight: 800;
	color: var(--pbg-ink);
	line-height: 1.25;
	letter-spacing: -.01em;
}
.pb-geo-zone__sub {
	margin: 0;
	font-size: 12.5px;
	color: var(--pbg-muted);
	font-weight: 600;
}
.pb-geo-zone__code {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	background: var(--pbg-primary-soft);
	color: var(--pbg-primary);
	font-size: 11px;
	font-weight: 800;
	border-radius: var(--pbg-r-pill);
	letter-spacing: .03em;
	flex-shrink: 0;
}
.pb-geo-zone__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	padding-top: 12px;
	border-top: 1px solid var(--pbg-border);
}
.pb-geo-zone__stat {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.pb-geo-zone__stat-value {
	font-size: 16px;
	font-weight: 800;
	color: var(--pbg-ink);
	line-height: 1;
}
.pb-geo-zone__stat-value--primary { color: var(--pbg-primary); }
.pb-geo-zone__stat-value--gold    { color: var(--pbg-gold-deep); }
.pb-geo-zone__stat-label {
	font-size: 10.5px;
	color: var(--pbg-muted);
	text-transform: uppercase;
	letter-spacing: .05em;
	font-weight: 700;
}
.pb-geo-zone__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 12px;
	border-top: 1px dashed var(--pbg-border);
	font-size: 12.5px;
	color: var(--pbg-primary);
	font-weight: 700;
}
.pb-geo-zone__cta::after {
	content: "→";
	font-size: 16px;
	transition: transform var(--pbg-ease-fast);
}
.pb-geo-zone:hover .pb-geo-zone__cta::after { transform: translateX(3px); }

/* Status pin (empty, growing, active) */
.pb-geo-zone__status {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 8px;
	font-size: 10.5px;
	font-weight: 700;
	border-radius: var(--pbg-r-pill);
	text-transform: uppercase;
	letter-spacing: .05em;
}
.pb-geo-zone__status--active { background: var(--pbg-green-soft); color: #16a34a; }
.pb-geo-zone__status--growing { background: var(--pbg-gold-soft); color: var(--pbg-gold-deep); }
.pb-geo-zone__status--empty { background: var(--pbg-surface-3); color: var(--pbg-muted); }
.pb-geo-zone__status::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}

/* LIST view — adapt layout */
.pb-geo-grid[data-view="list"] .pb-geo-zone {
	flex-direction: row;
	align-items: center;
	gap: 16px;
	padding: 14px 18px;
}
.pb-geo-grid[data-view="list"] .pb-geo-zone__head {
	flex: 1;
	min-width: 0;
}
.pb-geo-grid[data-view="list"] .pb-geo-zone__stats {
	border-top: none;
	padding: 0;
	flex: 0 0 auto;
	grid-auto-flow: column;
	grid-template-columns: repeat(3, minmax(70px, auto));
}
.pb-geo-grid[data-view="list"] .pb-geo-zone__cta {
	border-top: none;
	padding: 0;
	flex: 0 0 auto;
}
.pb-geo-grid[data-view="list"] .pb-geo-zone__cta span { display: none; }

/* =========================================================
   DRESSEURS (membres)
========================================================= */
.pb-geo-members-grid {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 14px;
}
.pb-geo-member {
	position: relative;
}
.pb-geo-member a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 18px 12px 16px;
	background: var(--pbg-surface);
	border: 1px solid var(--pbg-border);
	border-radius: var(--pbg-r-md);
	text-decoration: none;
	color: inherit;
	text-align: center;
	transition: transform var(--pbg-ease), box-shadow var(--pbg-ease), border-color var(--pbg-ease);
	overflow: hidden;
}
.pb-geo-member a::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 60px;
	background: linear-gradient(135deg, var(--pbg-primary-soft), var(--pbg-gold-soft));
	z-index: 0;
}
.pb-geo-member a > * { position: relative; z-index: 1; }
.pb-geo-member a:hover {
	transform: translateY(-2px);
	border-color: var(--pbg-primary-ring);
	box-shadow: var(--pbg-shadow-md);
	color: inherit;
}
.pb-geo-member img {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow:
		0 0 0 3px #fff,
		0 0 0 4px var(--pbg-border),
		0 8px 18px rgba(15,23,42,.10);
	transition: box-shadow var(--pbg-ease);
}
.pb-geo-member a:hover img {
	box-shadow:
		0 0 0 3px #fff,
		0 0 0 5px var(--pbg-primary),
		0 10px 22px rgba(254,2,1,.22);
}
.pb-geo-member-name {
	display: block;
	font-weight: 800;
	font-size: 14px;
	color: var(--pbg-ink);
	margin-top: 4px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 100%;
}
.pb-geo-member-xp {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 10px;
	background: linear-gradient(135deg, var(--pbg-gold-light), var(--pbg-gold));
	color: #0f172a;
	font-size: 11.5px;
	font-weight: 800;
	border-radius: var(--pbg-r-pill);
	letter-spacing: .02em;
}
.pb-geo-member-xp::before {
	content: "✦";
	color: #0f172a;
}

/* Rank badge */
.pb-geo-member__rank {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--pbg-ink);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.pb-geo-member__rank--1 { background: linear-gradient(135deg, #FFD54F, #F0A500); color: #0f172a; }
.pb-geo-member__rank--2 { background: linear-gradient(135deg, #e5e7eb, #94a3b8); color: #0f172a; }
.pb-geo-member__rank--3 { background: linear-gradient(135deg, #d97706, #92400e); color: #fff; }

/* Empty state */
.pb-geo-members-empty,
.pb-geo-empty {
	background:
		radial-gradient(circle at 50% 0%, var(--pbg-primary-soft), transparent 60%),
		var(--pbg-surface);
	border: 1px dashed var(--pbg-border-strong);
	padding: 32px 20px;
	border-radius: var(--pbg-r-lg);
	text-align: center;
	color: var(--pbg-muted);
}
.pb-geo-empty h3 {
	margin: 0 0 8px;
	color: var(--pbg-ink);
	font-size: 17px;
}
.pb-geo-empty p { margin: 0 0 14px; font-size: 14px; }
.pb-geo-empty .pb-geo-btn { margin-top: 6px; }

/* =========================================================
   CARTES POKÉMON RARES
========================================================= */
.pb-geo-cards-grid {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 14px;
}
.pb-geo-card a {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 10px;
	background: var(--pbg-surface);
	border: 1px solid var(--pbg-border);
	border-radius: var(--pbg-r-md);
	text-decoration: none;
	color: inherit;
	transition: transform var(--pbg-ease), box-shadow var(--pbg-ease), border-color var(--pbg-ease);
	overflow: hidden;
}
.pb-geo-card a:hover {
	transform: translateY(-3px);
	border-color: var(--pbg-primary-ring);
	box-shadow: var(--pbg-shadow-md);
	color: inherit;
}
.pb-geo-card img {
	width: 100%;
	height: auto;
	aspect-ratio: 5/7;
	object-fit: cover;
	border-radius: var(--pbg-r-sm);
	background: var(--pbg-surface-3);
}
.pb-geo-card-title {
	display: block;
	font-weight: 700;
	font-size: 13px;
	color: var(--pbg-ink);
	line-height: 1.3;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.pb-geo-card-owners {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	color: var(--pbg-muted);
	font-weight: 600;
}
.pb-geo-card-owners::before {
	content: "👥";
	font-size: 11px;
}

/* =========================================================
   GRILLE RICHE — utilise le template natif card-pokemon du thème
   + badge "X possesseurs dans la zone" sous chaque carte
========================================================= */
.pb-geo-cards-grid--rich {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 18px;
	align-items: stretch;
}
.pb-geo-card-rich {
	display: flex;
	flex-direction: column;
	gap: 10px;
	position: relative;
}
/* Le wrapper du template natif (.pb-card-result-wrap, .pkb-card, etc.) doit
   prendre toute la largeur disponible et s'aligner correctement */
.pb-geo-card-rich > .pb-card-result-wrap,
.pb-geo-card-rich > .pkb-card,
.pb-geo-card-rich > article,
.pb-geo-card-rich > .pb-card-pokemon {
	width: 100%;
	height: 100%;
	margin: 0;
}
.pb-geo-card-rich .pkb-card,
.pb-geo-card-rich .pb-card-pokemon {
	height: 100%;
}

/* Badge possesseurs sous la carte — pas dedans */
.pb-geo-card-owners-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 14px;
	background: linear-gradient(135deg, var(--pbg-gold-soft) 0%, rgba(254, 2, 1, 0.06) 100%);
	border: 1px solid rgba(240, 165, 0, 0.2);
	border-radius: var(--pbg-r-sm);
	text-align: center;
}
.pb-geo-card-owners-badge::before {
	content: "👥";
	font-size: 16px;
	flex-shrink: 0;
}
.pb-geo-card-owners-count {
	font-size: 18px;
	font-weight: 800;
	color: var(--pbg-primary);
	letter-spacing: -.02em;
	font-variant-numeric: tabular-nums;
	line-height: 1;
}
.pb-geo-card-owners-label {
	font-size: 11.5px;
	font-weight: 600;
	color: var(--pbg-muted);
	line-height: 1.2;
}

.pb-geo-card-fallback {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 10px;
	background: var(--pbg-surface);
	border: 1px solid var(--pbg-border);
	border-radius: var(--pbg-r-md);
	text-decoration: none;
	color: inherit;
	height: 100%;
}
.pb-geo-card-fallback img {
	width: 100%;
	aspect-ratio: 5/7;
	object-fit: cover;
	border-radius: var(--pbg-r-sm);
}

@media (max-width: 600px) {
	.pb-geo-cards-grid--rich {
		grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
		gap: 12px;
	}
	.pb-geo-card-owners-badge {
		padding: 8px 12px;
		gap: 6px;
	}
	.pb-geo-card-owners-count { font-size: 16px; }
	.pb-geo-card-owners-label { font-size: 10.5px; }
}

/* =========================================================
   ENFANTS (departements, villes, regions list)
========================================================= */
.pb-geo-children-list,
.pb-geo-nearby-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 12px;
}
.pb-geo-children-list a,
.pb-geo-nearby-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	background: var(--pbg-surface);
	border: 1px solid var(--pbg-border);
	border-radius: var(--pbg-r-md);
	text-decoration: none;
	color: var(--pbg-ink);
	font-weight: 700;
	transition: transform var(--pbg-ease-fast), border-color var(--pbg-ease-fast), background var(--pbg-ease-fast);
}
.pb-geo-children-list a:hover,
.pb-geo-nearby-list a:hover {
	transform: translateY(-1px);
	border-color: var(--pbg-primary);
	background: var(--pbg-primary-soft);
	color: var(--pbg-primary);
}
.pb-geo-count {
	color: var(--pbg-muted);
	font-size: 12px;
	font-weight: 600;
}
.pb-geo-children-list a:hover .pb-geo-count { color: var(--pbg-primary); }
.pb-geo-dist {
	color: var(--pbg-light);
	font-size: 12px;
	font-weight: 600;
	padding: 2px 8px;
	background: var(--pbg-surface-2);
	border-radius: var(--pbg-r-pill);
}

/* =========================================================
   CTA SECTION
========================================================= */
.pb-geo-cta {
	background:
		radial-gradient(circle at 12% 50%, rgba(240,165,0,.20), transparent 50%),
		linear-gradient(135deg, #b30000 0%, #fe0201 100%);
	color: #fff;
	border-radius: var(--pbg-r-xl);
	padding: clamp(24px, 4vw, 36px);
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
	box-shadow: var(--pbg-shadow-red);
	position: relative;
	overflow: hidden;
}
.pb-geo-cta::before {
	content: "";
	position: absolute;
	bottom: -30%;
	right: -10%;
	width: 240px;
	height: 240px;
	background:
		radial-gradient(circle at 50% 50%, transparent 49%, rgba(255,255,255,.08) 50%, transparent 52%),
		radial-gradient(circle at 50% 50%, #fff 0%, #fff 49%, rgba(0,0,0,.4) 50%, rgba(0,0,0,.4) 52%, transparent 53%);
	border-radius: 50%;
	opacity: .14;
	pointer-events: none;
}
.pb-geo-cta > div { position: relative; z-index: 1; max-width: 600px; }
.pb-geo-cta strong {
	display: block;
	font-size: clamp(18px, 2vw, 22px);
	font-weight: 800;
	margin-bottom: 4px;
}
.pb-geo-cta span {
	display: block;
	color: rgba(255,255,255,.85);
	font-size: 14.5px;
	line-height: 1.5;
}
.pb-geo-cta-btn,
.pb-geo-cta a.pb-geo-cta-btn {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	color: var(--pbg-primary);
	padding: 14px 26px;
	border-radius: var(--pbg-r-md);
	text-decoration: none;
	font-weight: 800;
	font-size: 14.5px;
	transition: transform var(--pbg-ease), box-shadow var(--pbg-ease), background var(--pbg-ease);
}
.pb-geo-cta-btn:hover {
	background: var(--pbg-gold);
	color: #0f172a;
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(0,0,0,.20);
}

/* =========================================================
   INTRO TEXT
========================================================= */
.pb-geo-intro {
	background: var(--pbg-surface);
	border: 1px solid var(--pbg-border);
	border-radius: var(--pbg-r-lg);
	padding: clamp(18px, 3vw, 26px);
	color: var(--pbg-text);
	font-size: 15.5px;
	line-height: 1.6;
}
.pb-geo-intro p { margin: 0 0 12px; }
.pb-geo-intro p:last-child { margin-bottom: 0; }
.pb-geo-intro strong { color: var(--pbg-ink); font-weight: 700; }
.pb-geo-intro a { color: var(--pbg-primary); font-weight: 700; }

/* =========================================================
   PARENTS / NAV ELARGIR
========================================================= */
.pb-geo-parents { padding-top: 8px; }
.pb-geo-parents .pb-geo-children-list a {
	background: var(--pbg-surface-2);
}

/* =========================================================
   ALPHABET INDEX (archive ville)
========================================================= */
.pb-geo-alphabet {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 14px;
	padding: 12px;
	background: var(--pbg-surface-2);
	border-radius: var(--pbg-r-md);
}
.pb-geo-alphabet a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	padding: 0 8px;
	background: #fff;
	border: 1px solid var(--pbg-border);
	border-radius: var(--pbg-r-sm);
	color: var(--pbg-ink);
	font-weight: 700;
	font-size: 13px;
	text-decoration: none;
	transition: all var(--pbg-ease-fast);
}
.pb-geo-alphabet a:hover,
.pb-geo-alphabet a.is-active {
	background: var(--pbg-primary);
	color: #fff;
	border-color: var(--pbg-primary);
}
.pb-geo-alphabet a.is-disabled {
	opacity: .35;
	pointer-events: none;
}

/* =========================================================
   PAGINATION
========================================================= */
.pb-geo-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin-top: 24px;
}
.pb-geo-pagination a,
.pb-geo-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 14px;
	background: var(--pbg-surface);
	border: 1px solid var(--pbg-border);
	border-radius: var(--pbg-r-sm);
	color: var(--pbg-ink);
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	transition: all var(--pbg-ease-fast);
}
.pb-geo-pagination a:hover {
	background: var(--pbg-primary-soft);
	border-color: var(--pbg-primary);
	color: var(--pbg-primary);
}
.pb-geo-pagination .current {
	background: linear-gradient(135deg, var(--pbg-primary), var(--pbg-primary-deep));
	color: #fff;
	border-color: var(--pbg-primary);
	box-shadow: var(--pbg-shadow-red);
}

/* =========================================================
   MAP DE FRANCE (interactif sur hub)
========================================================= */
.pb-geo-map {
	display: grid;
	grid-template-columns: minmax(280px, 1fr) minmax(260px, 380px);
	gap: 20px;
	background: var(--pbg-surface);
	border: 1px solid var(--pbg-border);
	border-radius: var(--pbg-r-lg);
	padding: clamp(16px, 3vw, 28px);
	box-shadow: var(--pbg-shadow-sm);
}
.pb-geo-map__visual {
	background:
		radial-gradient(circle at 30% 30%, var(--pbg-primary-soft), transparent 60%),
		radial-gradient(circle at 70% 70%, var(--pbg-gold-soft), transparent 60%),
		var(--pbg-surface-2);
	border-radius: var(--pbg-r-md);
	padding: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 320px;
	position: relative;
}
.pb-geo-map__visual svg {
	width: 100%;
	max-width: 380px;
	height: auto;
}
.pb-geo-map__visual .pb-geo-region-shape {
	fill: var(--pbg-surface-3);
	stroke: var(--pbg-surface);
	stroke-width: 1.5;
	cursor: pointer;
	transition: fill var(--pbg-ease-fast), stroke var(--pbg-ease-fast);
}
.pb-geo-map__visual .pb-geo-region-shape:hover,
.pb-geo-map__visual .pb-geo-region-shape.is-active {
	fill: var(--pbg-primary);
	stroke: var(--pbg-primary-deep);
}
.pb-geo-map__visual .pb-geo-region-shape.has-members {
	fill: var(--pbg-gold-light);
}
.pb-geo-map__visual .pb-geo-region-shape.has-members:hover {
	fill: var(--pbg-gold);
}
.pb-geo-map__list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	max-height: 420px;
	overflow-y: auto;
	padding-right: 4px;
}
.pb-geo-map__list::-webkit-scrollbar { width: 6px; }
.pb-geo-map__list::-webkit-scrollbar-thumb { background: var(--pbg-border-strong); border-radius: 3px; }
.pb-geo-map__list a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 14px;
	background: var(--pbg-surface-2);
	border: 1px solid transparent;
	border-radius: var(--pbg-r-sm);
	color: var(--pbg-ink);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: all var(--pbg-ease-fast);
}
.pb-geo-map__list a:hover,
.pb-geo-map__list a.is-active {
	background: var(--pbg-primary-soft);
	border-color: var(--pbg-primary);
	color: var(--pbg-primary);
	transform: translateX(2px);
}
.pb-geo-map__list-meta {
	font-size: 12px;
	color: var(--pbg-muted);
	font-weight: 600;
}
.pb-geo-map__list a:hover .pb-geo-map__list-meta,
.pb-geo-map__list a.is-active .pb-geo-map__list-meta {
	color: var(--pbg-primary-deep);
}

/* =========================================================
   PODIUM (top 3) — pour single
========================================================= */
.pb-geo-podium {
	display: grid;
	grid-template-columns: 1fr 1.15fr 1fr;
	gap: 10px;
	align-items: end;
	margin-bottom: 18px;
}
.pb-geo-podium__slot {
	background: var(--pbg-surface);
	border: 1px solid var(--pbg-border);
	border-radius: var(--pbg-r-md);
	padding: 18px 12px 14px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	position: relative;
}
.pb-geo-podium__slot--1 {
	background: linear-gradient(180deg, var(--pbg-gold-soft) 0%, #fff 100%);
	border-color: var(--pbg-gold-light);
	box-shadow: 0 8px 24px rgba(240,165,0,.18);
}
.pb-geo-podium__slot--2 {
	background: linear-gradient(180deg, rgba(148,163,184,.12) 0%, #fff 100%);
	border-color: var(--pbg-soft);
}
.pb-geo-podium__slot--3 {
	background: linear-gradient(180deg, rgba(217,119,6,.10) 0%, #fff 100%);
	border-color: rgba(217,119,6,.30);
}
.pb-geo-podium__medal {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 800;
	color: #fff;
}
.pb-geo-podium__slot--1 .pb-geo-podium__medal { background: linear-gradient(135deg, #FFD54F, #F0A500); color: #0f172a; }
.pb-geo-podium__slot--2 .pb-geo-podium__medal { background: linear-gradient(135deg, #e5e7eb, #94a3b8); color: #0f172a; }
.pb-geo-podium__slot--3 .pb-geo-podium__medal { background: linear-gradient(135deg, #d97706, #92400e); }
.pb-geo-podium__slot img {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--pbg-border);
}
.pb-geo-podium__slot--1 img { width: 80px; height: 80px; }
.pb-geo-podium__slot a {
	text-decoration: none;
	color: inherit;
	font-weight: 800;
	font-size: 14px;
	color: var(--pbg-ink);
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.pb-geo-podium__xp {
	font-size: 12px;
	font-weight: 700;
	color: var(--pbg-gold-deep);
}

/* =========================================================
   ACTIVITY FEED
========================================================= */
.pb-geo-activity {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.pb-geo-activity li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	background: var(--pbg-surface-2);
	border-radius: var(--pbg-r-sm);
	font-size: 14px;
}
.pb-geo-activity__icon {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--pbg-primary-soft);
	color: var(--pbg-primary);
	flex-shrink: 0;
}
.pb-geo-activity__time {
	margin-left: auto;
	font-size: 12px;
	color: var(--pbg-muted);
	font-weight: 600;
}

/* =========================================================
   HOW IT WORKS
========================================================= */
.pb-geo-howto {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
}
.pb-geo-howto__step {
	background: var(--pbg-surface);
	border: 1px solid var(--pbg-border);
	border-radius: var(--pbg-r-md);
	padding: 20px;
	position: relative;
	overflow: hidden;
}
.pb-geo-howto__step::before {
	content: counter(pbg-step);
	counter-increment: pbg-step;
	position: absolute;
	top: -12px;
	right: -12px;
	width: 70px;
	height: 70px;
	background: var(--pbg-primary-soft);
	color: var(--pbg-primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	font-weight: 800;
	opacity: .25;
}
.pb-geo-howto { counter-reset: pbg-step; }
.pb-geo-howto__step h3 {
	margin: 0 0 6px;
	font-size: 16px;
	color: var(--pbg-ink);
	position: relative;
	z-index: 1;
}
.pb-geo-howto__step p {
	margin: 0;
	font-size: 13.5px;
	color: var(--pbg-muted);
	line-height: 1.5;
	position: relative;
	z-index: 1;
}

/* =========================================================
   FILTERS DRAWER (mobile)
========================================================= */
.pb-geo-filter-drawer {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(15,23,42,.55);
	backdrop-filter: blur(4px);
	display: none;
	align-items: flex-end;
	justify-content: stretch;
}
.pb-geo-filter-drawer.is-open {
	display: flex;
}
.pb-geo-filter-drawer__panel {
	width: 100%;
	max-height: 88vh;
	background: #fff;
	border-radius: var(--pbg-r-2xl) var(--pbg-r-2xl) 0 0;
	padding: 22px 18px 24px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	overflow-y: auto;
	box-shadow: 0 -20px 60px rgba(0,0,0,.30);
	animation: pbg-slide-up .3s ease-out;
}
@keyframes pbg-slide-up {
	from { transform: translateY(20px); opacity: 0; }
	to   { transform: translateY(0); opacity: 1; }
}
.pb-geo-filter-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--pbg-border);
}
.pb-geo-filter-drawer__head h3 {
	margin: 0;
	font-size: 17px;
	color: var(--pbg-ink);
}
.pb-geo-filter-drawer__close {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid var(--pbg-border);
	background: var(--pbg-surface-2);
	font-size: 18px;
	cursor: pointer;
	color: var(--pbg-ink);
}
.pb-geo-filter-drawer__actions {
	display: flex;
	gap: 10px;
	margin-top: 6px;
	position: sticky;
	bottom: 0;
	background: #fff;
	padding-top: 12px;
}
.pb-geo-filter-drawer__actions .pb-geo-btn { flex: 1; justify-content: center; }

/* Mobile fixed bar */
.pb-geo-mobile-bar {
	display: none;
	position: fixed;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 998;
	background: var(--pbg-ink);
	color: #fff;
	border-radius: var(--pbg-r-pill);
	padding: 8px;
	box-shadow: 0 14px 32px rgba(15,23,42,.25);
	gap: 4px;
}
.pb-geo-mobile-bar button {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: none;
	background: transparent;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.pb-geo-mobile-bar button:hover,
.pb-geo-mobile-bar button.is-active {
	background: var(--pbg-primary);
}
.pb-geo-mobile-bar svg { width: 20px; height: 20px; }
.pb-geo-mobile-bar__count {
	position: absolute;
	top: -2px;
	right: -2px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	background: var(--pbg-gold);
	color: #0f172a;
	font-size: 10px;
	font-weight: 800;
	border-radius: var(--pbg-r-pill);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* =========================================================
   SHARE / OUTILS
========================================================= */
.pb-geo-share {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	font-size: 13px;
	color: var(--pbg-muted);
}
.pb-geo-share__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: var(--pbg-r-pill);
	background: var(--pbg-surface-2);
	color: var(--pbg-ink);
	border: 1px solid var(--pbg-border);
	cursor: pointer;
	transition: all var(--pbg-ease-fast);
	text-decoration: none;
}
.pb-geo-share__btn:hover {
	background: var(--pbg-primary);
	color: #fff;
	border-color: var(--pbg-primary);
	transform: translateY(-1px);
}
.pb-geo-share__btn svg { width: 16px; height: 16px; }

/* =========================================================
   USER LOC BREADCRUMB
========================================================= */
.pb-geo-user-loc {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	background: var(--pbg-surface-2);
	border-radius: var(--pbg-r-pill);
	font-size: 13px;
	color: var(--pbg-muted);
}
.pb-geo-user-loc a {
	color: var(--pbg-primary);
	text-decoration: none;
	font-weight: 600;
}
.pb-geo-user-loc strong { color: var(--pbg-ink); }

/* =========================================================
   AUTOCOMPLETE (city picker)
========================================================= */
.pb-geo-field { display: flex; flex-direction: column; gap: 6px; }
.pb-geo-field label { font-size: 13px; font-weight: 700; color: var(--pbg-ink); }
.pb-geo-autocomplete-wrap { position: relative; }
.pb-geo-search-input {
	width: 100%;
	height: 48px;
	padding: 0 18px;
	border: 1.5px solid var(--pbg-border);
	border-radius: var(--pbg-r-md);
	font-size: 15px;
	font-family: inherit;
	background: var(--pbg-surface-2);
	color: var(--pbg-ink);
	transition: border-color var(--pbg-ease), box-shadow var(--pbg-ease);
}
.pb-geo-search-input:focus {
	outline: none;
	border-color: var(--pbg-primary);
	background: #fff;
	box-shadow: 0 0 0 4px var(--pbg-primary-ring);
}
.pb-geo-suggestions {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	max-height: 320px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid var(--pbg-border);
	border-radius: var(--pbg-r-md);
	box-shadow: var(--pbg-shadow-lg);
	list-style: none;
	margin: 0;
	padding: 4px;
	z-index: 100;
}
.pb-geo-suggestions li {
	padding: 10px 14px;
	cursor: pointer;
	border-radius: var(--pbg-r-sm);
	font-size: 14px;
}
.pb-geo-suggestions li:hover,
.pb-geo-suggestions li[aria-selected="true"] {
	background: var(--pbg-primary-soft);
	color: var(--pbg-primary);
}

.pb-geo-optin {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 14px;
	background: var(--pbg-surface-2);
	border: 1px solid var(--pbg-border);
	border-radius: var(--pbg-r-md);
	font-size: 14px;
	cursor: pointer;
}
.pb-geo-optin input { margin-top: 3px; }

/* =========================================================
   RESPONSIVE — mobile-first refinements
========================================================= */
@media (max-width: 900px) {
	.pb-geo-toolbar__row {
		grid-template-columns: 1fr;
	}
	.pb-geo-toolbar__row .pb-geo-select,
	.pb-geo-toolbar__row .pb-geo-view-toggle {
		display: none;
	}
	.pb-geo-toolbar__filters .pb-geo-select { min-width: 0; }
	.pb-geo-map {
		grid-template-columns: 1fr;
	}
	.pb-geo-grid[data-view="list"] .pb-geo-zone {
		flex-direction: column;
		align-items: stretch;
	}
	.pb-geo-grid[data-view="list"] .pb-geo-zone__stats {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 640px) {
	.pb-geo-hero h1 { font-size: 26px; }
	.pb-geo-stats {
		grid-template-columns: repeat(2, 1fr);
	}
	.pb-geo-grid {
		grid-template-columns: 1fr;
	}
	.pb-geo-members-grid {
		grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
		gap: 10px;
	}
	.pb-geo-cards-grid {
		grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
		gap: 10px;
	}
	.pb-geo-children-list,
	.pb-geo-nearby-list {
		grid-template-columns: 1fr;
	}
	.pb-geo-podium {
		grid-template-columns: 1fr 1.1fr 1fr;
		gap: 6px;
	}
	.pb-geo-podium__slot--1 img { width: 64px; height: 64px; }
	.pb-geo-podium__slot img { width: 52px; height: 52px; }
	.pb-geo-cta {
		flex-direction: column;
		text-align: center;
	}
	.pb-geo-cta-btn { width: 100%; justify-content: center; }
	.pb-geo-mobile-bar { display: inline-flex; }
}

@media (max-width: 480px) {
	.pb-geo-hero { padding: 22px 18px; border-radius: var(--pbg-r-lg); }
	.pb-geo-section { padding: 16px; }
	.pb-geo-stat { padding: 14px 12px; }
	.pb-geo-stat-value, .pb-geo-stat__value { font-size: 22px; }
	.pb-geo-grid { gap: 12px; }
	.pb-geo-zone { padding: 14px; }
	.pb-geo-page h2 { font-size: 18px; }
}

/* =========================================================
   PRINT
========================================================= */
@media print {
	.pb-geo-cta,
	.pb-geo-toolbar,
	.pb-geo-mobile-bar,
	.pb-geo-filter-drawer { display: none !important; }
	.pb-geo-hero {
		background: #fff !important;
		color: #000 !important;
		border: 1px solid #000;
	}
}

/* =========================================================
   ACCESSIBILITY
========================================================= */
.pb-geo a:focus-visible,
.pb-geo button:focus-visible,
.pb-geo input:focus-visible,
.pb-geo select:focus-visible {
	outline: 2px solid var(--pbg-primary);
	outline-offset: 2px;
}
.pb-geo [hidden] { display: none !important; }
.pb-geo .pbg-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
