/* gta6.zone — map layout (matches the approved mockup) */

.map-app {
	display: flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 16px;
	overflow: hidden; background: var(--panel);
}
.map-app__side {
	flex: 1 1 260px; padding: 24px; border-right: 1px solid var(--line);
	display: flex; flex-direction: column; gap: 20px;
}
.map-app__title { font-size: 15px; font-weight: 700; margin: 0 0 4px; }
.map-app__canvas { flex: 999 1 560px; min-width: 0; position: relative; }
.map-canvas { height: 600px; background: #0F2A33; }
.map-app--single { border-radius: 14px; }
.map-app--single .map-canvas { height: 380px; }
.map-note { margin: 12px 0 0; }
.map-app__progress { border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.map-app__progress .progress { width: 100%; }

.map-filters { display: flex; flex-direction: column; gap: 8px; }
.map-filter {
	display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 44px;
	padding: 0 12px; border-radius: 10px; border: 1px solid #221B2C; background: transparent;
	color: #8A8098; font-size: 14px; font-weight: 500; text-align: left; cursor: pointer;
}
.map-filter[aria-pressed="true"] { border-color: var(--line-2); background: var(--bg); color: var(--text); }
.map-filter__name { display: flex; align-items: center; gap: 10px; }
.map-filter__dot { width: 12px; height: 12px; border-radius: 999px; flex: none; }
.map-filter[aria-pressed="false"] .map-filter__dot { background: var(--line-2) !important; }
.map-filter__count { font-size: 13px; color: var(--muted); }

/* Leaflet skin */
.leaflet-container { background: #0F2A33; font: 14px/1.4 var(--font); }
.leaflet-container .leaflet-bar a, .leaflet-container .leaflet-bar a:hover {
	background: var(--panel); color: var(--text); border-bottom-color: var(--line-2);
	width: 40px; height: 40px; line-height: 40px; font-size: 20px;
}
.leaflet-bar { border: 1px solid var(--line-2) !important; border-radius: 10px !important; overflow: hidden; box-shadow: none !important; }
.leaflet-container .leaflet-popup-content-wrapper, .leaflet-container .leaflet-popup-tip { background: rgba(14, 11, 20, .96); color: var(--text); border: 1px solid var(--line-2); box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.leaflet-container .leaflet-popup-content-wrapper { border-radius: 12px; }
.leaflet-popup-content { margin: 14px 16px; }
.leaflet-container a.leaflet-popup-close-button { color: var(--muted); width: 32px; height: 32px; font-size: 22px; }
.leaflet-container .leaflet-tooltip { background: var(--panel); color: var(--text); border: 1px solid var(--line-2); border-radius: 8px; box-shadow: none; }
.leaflet-tooltip-top::before { border-top-color: var(--line-2); }

.map-pop__type { margin: 0; font-size: 12px; color: var(--muted); }
.map-pop__title { margin: 4px 0; font-size: 16px; font-weight: 700; }
.map-pop__meta { margin: 0 0 6px; font-size: 13px; color: var(--soft); }
.map-pop__hint { margin: 0 0 10px; font-size: 13px; color: var(--soft); }
.map-pop__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.map-pop .btn { color: var(--accent-ink); }
.map-pop .btn--ghost { color: var(--text); }

.map-label span {
	display: inline-block; transform: translate(-50%, -50%); white-space: nowrap;
	font: 700 12px/1 var(--font); letter-spacing: 2px; text-transform: uppercase;
	color: #CFE8E3; text-shadow: 0 1px 3px rgba(0,0,0,.6); pointer-events: none;
}
.map-search-status { margin: 8px 0 0; flex-basis: 100%; }

.hero--compact { padding-bottom: 24px; }

@media (max-width: 860px) {
	.map-app__side { border-right: 0; border-bottom: 1px solid var(--line); }
	.map-canvas { height: 460px; }
}
