#gqiow-player-map {
	width: 100%;
	height: 440px;
	max-height: 60vh;
	border-radius: 14px;
	margin: 1rem 0;
	touch-action: pan-y;
	background: #d9c8a3;
}

.gqiow-map-shell {
	max-width: 1100px;
	margin: 0 auto;
	padding: 1rem;
}

.gqiow-map-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .75rem;
}

#gqiow-map-status {
	color: #4a5562;
}

#gqiow-checkin-result {
	margin-top: 1rem;
	font-weight: 600;
}

#gqiow-educational-content {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(14,47,90,.18);
}

@media (max-width: 782px) {
	#gqiow-player-map {
		height: 340px;
		max-height: 50vh;
	}
}

.gqiow-partner-reward {
	margin-top: 1rem;
	padding: .9rem 1rem;
	border-left: 4px solid #d4a72c;
	background: rgba(212, 167, 44, .12);
}

.gqiow-treasure-reward {
	margin-top: 1rem;
	padding: 1rem;
	border: 2px solid #d4a72c;
	border-radius: 10px;
	background: rgba(212,167,44,.15);
}

/* Keep Leaflet inside a low, isolated stacking context so theme dropdowns remain above it. */
.gqiow-map-shell {
	position: relative;
	z-index: 1;
	isolation: isolate;
}

#gqiow-player-map {
	position: relative;
	z-index: 1;
}

.gqiow-map-shell .leaflet-pane {
	z-index: 1;
}

.gqiow-map-shell .leaflet-tile-pane {
	z-index: 1;
}

.gqiow-map-shell .leaflet-overlay-pane {
	z-index: 2;
}

.gqiow-map-shell .leaflet-shadow-pane {
	z-index: 3;
}

.gqiow-map-shell .leaflet-marker-pane {
	z-index: 4;
}

.gqiow-map-shell .leaflet-tooltip-pane,
.gqiow-map-shell .leaflet-popup-pane {
	z-index: 5;
}

.gqiow-map-shell .leaflet-top,
.gqiow-map-shell .leaflet-bottom {
	z-index: 6;
}

/* Common WordPress theme navigation selectors. */
.site-header,
.wp-site-blocks > header,
header.site-header,
header.wp-block-template-part,
nav,
.main-navigation,
.primary-navigation,
.wp-block-navigation,
.wp-block-navigation__responsive-container,
.wp-block-navigation__submenu-container,
.sub-menu,
.dropdown-menu {
	position: relative;
	z-index: 9999;
}

.gqiow-map-marker-wrapper {
	background: transparent;
	border: 0;
}

.gqiow-map-marker {
	position: relative;
	display: flex;
	width: 38px;
	height: 38px;
	align-items: center;
	justify-content: center;
	border: 3px solid #fff;
	border-radius: 50%;
	background: #0e2f5a;
	box-shadow: 0 3px 8px rgba(0,0,0,.32);
	color: #fff;
	font-size: 19px;
	font-weight: 800;
	line-height: 1;
}

.gqiow-map-marker::after {
	position: absolute;
	bottom: -9px;
	left: 50%;
	width: 0;
	height: 0;
	border-right: 7px solid transparent;
	border-left: 7px solid transparent;
	border-top: 10px solid #0e2f5a;
	content: "";
	transform: translateX(-50%);
}

.gqiow-map-marker.is-found {
	background: #5e7f1f;
}

.gqiow-map-marker.is-partner {
	border-color: #0e2f5a;
	background: #d4a72c;
	color: #0e2f5a;
}

.gqiow-map-marker.is-featured {
	border-color: #d4a72c;
}

.gqiow-map-marker.is-found::after {
	border-top-color: #5e7f1f;
}

.gqiow-map-marker.is-partner::after {
	border-top-color: #d4a72c;
}


.gqiow-discovered-cache {
	margin-top: 18px;
}

.gqiow-discovered-heading {
	display: flex;
	gap: 9px;
	align-items: center;
	margin-bottom: 16px;
	padding: 10px 14px;
	border-radius: 8px;
	background: #eef6df;
	color: #36520e;
}

.gqiow-education-section,
.gqiow-adoptee-section {
	margin-top: 18px;
	padding-top: 4px;
}

.gqiow-education-section h3,
.gqiow-adoptee-section h3 {
	margin: 0 0 12px;
}

.gqiow-adoptee-card {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	padding: 18px;
	border: 1px solid #d8e0e8;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 4px 16px rgba(14, 47, 90, .08);
}

.gqiow-adoptee-logo {
	width: 120px;
	max-height: 100px;
	object-fit: contain;
	flex: 0 0 120px;
}

.gqiow-adoptee-details {
	min-width: 0;
	flex: 1;
}

.gqiow-adoptee-details h4 {
	margin: 0 0 8px;
	font-size: 1.25rem;
}

.gqiow-adoptee-offer,
.gqiow-partner-reward {
	padding: 10px 12px;
	border-left: 4px solid #d4a72c;
	background: #fff8df;
}

.gqiow-adoptee-links {
	display: flex;
	gap: 12px;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 14px;
}

@media (max-width: 600px) {
	.gqiow-adoptee-card {
		flex-direction: column;
	}

	.gqiow-adoptee-logo {
		width: 100%;
		max-width: 180px;
		flex-basis: auto;
	}
}

/* v8.0.3 universal compatibility and setup */
.gqiow-browser-warning{padding:1rem;margin:0 0 1rem;border:2px solid #b45309;border-radius:12px;background:#fff7ed;color:#3f2a16}.gqiow-browser-warning h2{margin-top:0}.gqiow-setup-wizard{position:fixed;inset:0;z-index:99999;background:rgba(0,0,0,.72);display:flex;align-items:center;justify-content:center;padding:1rem}.gqiow-setup-wizard[hidden]{display:none}.gqiow-setup-dialog{width:min(560px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:16px;padding:1.4rem;box-shadow:0 20px 60px rgba(0,0,0,.35)}.gqiow-diagnostics{margin:1rem 0}.gqiow-test-list{list-style:none;padding:0;margin:1rem 0}.gqiow-test-list li{padding:.55rem .7rem;margin:.35rem 0;border-radius:8px;background:#f3f4f6}.gqiow-test-list .is-pass strong{color:#166534}.gqiow-test-list .is-fail strong{color:#9a3412}.gqiow-map-toolbar{gap:.5rem;flex-wrap:wrap}.gqiow-map-toolbar #gqiow-map-status{flex:1 1 220px}


/* Live map follow-button state */
.gqiow-map-toolbar .gqiow-button.is-active {
	background: #0e2f5a;
	border-color: #0e2f5a;
	color: #fff;
}

/* Administrator-only temporary cache marker. */
.gqiow-map-marker.is-temporary {
	background: #7c3aed;
	border-color: #ffffff;
	box-shadow: 0 0 0 4px rgba(124, 58, 237, .25);
}
.gqiow-admin-temp-cache {
	border: 2px dashed #7c3aed;
	border-radius: 12px;
	padding: 1rem;
	background: rgba(124, 58, 237, .08);
}


/* v11.6.3 live map totals */
.gqiow-map-counts {
	display: flex;
	gap: .75rem;
	flex-wrap: wrap;
	margin: .75rem 0;
}
.gqiow-map-counts span {
	display: inline-flex;
	align-items: baseline;
	gap: .35rem;
	padding: .55rem .8rem;
	border: 1px solid rgba(14,47,90,.18);
	border-radius: 999px;
	background: #fff;
	color: #0e2f5a;
}
.gqiow-map-counts strong {
	font-size: 1.05em;
}
.gqiow-founder-marker-wrapper{background:transparent!important;border:0!important}.gqiow-founder-marker{display:flex;width:44px;height:44px;align-items:center;justify-content:center;border-radius:50%;background:#d4a72c;color:#0e2f5a;border:4px solid #fff;box-shadow:0 3px 12px rgba(0,0,0,.35);font-size:25px;font-weight:800}.gqiow-founder-marker:after{content:"";position:absolute;bottom:0;border-left:8px solid transparent;border-right:8px solid transparent;border-top:12px solid #d4a72c}

.gqiow-browser-warning[hidden]{display:none!important}
