.esmer-atlas-map-root {
	min-height: 280px;
	background: #f4f1ec;
	border: 1px solid #ddd;
	border-radius: 4px;
	overflow: hidden;
}

.esmer-atlas-map-canvas {
	width: 100%;
	min-height: 280px;
	height: 100%;
}

.esmer-atlas-map-root .leaflet-container {
	font-family: inherit;
}

.esmer-atlas-stop-pin {
	background: #fff;
	border: 2px solid #b84500;
	border-radius: 4px;
	padding: 2px 6px;
	font-size: 11px;
	line-height: 1.2;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
	white-space: nowrap;
}

.esmer-atlas-stop-marker--dot {
	background: transparent;
	border: none;
}

.esmer-atlas-stop-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #b84500;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px rgba(184, 69, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.25);
}

.esmer-atlas-stop-marker--year .esmer-atlas-stop-pin {
	padding: 2px 7px;
}

.esmer-atlas-route-arrow-marker {
	background: transparent;
	border: none;
}

.esmer-atlas-route-arrow {
	width: 0;
	height: 0;
	margin: 0 auto;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 8px solid #b84500;
	filter: drop-shadow(0 0 1px #fff);
	transform-origin: center center;
}

.esmer-atlas-stop-year {
	display: block;
	font-weight: 700;
	color: #b84500;
}

.esmer-atlas-stop-title {
	display: block;
	color: #333;
	max-width: 120px;
	overflow: hidden;
	text-overflow: ellipsis;
}

.esmer-atlas-placeholder {
	margin: 0;
	color: #666;
	font-size: 0.95rem;
}

.esmer-atlas-dot {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--dot-color, #b84500);
	border: 2px solid #fff;
	box-shadow:
		0 0 0 1px rgba(0, 0, 0, 0.35),
		0 2px 8px rgba(0, 0, 0, 0.28);
}

.esmer-atlas-marker {
	background: transparent;
	border: 0;
}

.esmer-atlas-tooltip {
	background: rgba(20, 24, 28, 0.92);
	border: 0;
	border-radius: 6px;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
	padding: 5px 9px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.esmer-atlas-tooltip::before {
	border-top-color: rgba(20, 24, 28, 0.92);
}

.esmer-atlas-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	align-items: center;
	padding: 10px 12px;
	background: rgba(255, 255, 255, 0.96);
	border-top: 1px solid #e5e0d8;
	font-size: 11px;
	color: #444;
}

.esmer-atlas-legend__item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.esmer-atlas-legend__dot {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
	flex-shrink: 0;
}

.esmer-atlas-chrome {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 12px;
	padding: 10px 12px;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid #e5e0d8;
}

.esmer-atlas-chrome__title {
	font-size: 0.92rem;
	font-weight: 800;
	color: #1a2740;
	letter-spacing: 0.02em;
}

.esmer-atlas-chrome__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.esmer-atlas-chrome__badge {
	display: inline-flex;
	align-items: center;
	padding: 3px 8px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.esmer-atlas-chrome__badge--year {
	background: #eef2f7;
	color: #334155;
}

.esmer-atlas-chrome__badge--faz {
	background: #fff3e6;
	color: #9a3412;
}

.esmer-atlas-chrome__badge--style {
	background: #e8f4ff;
	color: #1d4f91;
}

.esmer-atlas-country-label-marker {
	background: transparent;
	border: 0;
}

.esmer-atlas-country-label {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(30, 79, 138, 0.35);
	color: #1e4f8a;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
	white-space: nowrap;
}

.esmer-atlas-map-root--country .esmer-atlas-map-canvas {
	min-height: 220px;
}

/* Dönem stilleri — hafif ton farkı; koyu/siyah zemin yok. */
.esmer-atlas-map-root--style-antik .esmer-atlas-map-canvas,
.esmer-atlas-map-root--style-erken_orta_cag .esmer-atlas-map-canvas {
	filter: sepia(0.18) saturate(0.92);
}

.esmer-atlas-map-root--style-helenson_rom .esmer-atlas-map-canvas,
.esmer-atlas-map-root--style-orta_cag .esmer-atlas-map-canvas {
	filter: sepia(0.1) saturate(1.05);
}

.esmer-atlas-map-root--style-gec_orta_cag .esmer-atlas-map-canvas,
.esmer-atlas-map-root--style-imparatorluk_cagi .esmer-atlas-map-canvas {
	filter: saturate(1.08) contrast(1.02);
}

.esmer-atlas-map-root--style-erken_modern .esmer-atlas-map-canvas,
.esmer-atlas-map-root--style-yirminci_yuzyil .esmer-atlas-map-canvas {
	filter: saturate(0.96) brightness(1.02);
}
