.akm-service-areas-map-shell {
	padding: 20px;
	border-radius: 24px;
	background: linear-gradient(156deg, rgba(31, 34, 39, 0.96), rgba(15, 17, 21, 0.96));
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 26px 56px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.akm-service-areas-map-shell__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 14px;
}

.akm-service-areas-map-shell__label {
	display: block;
	margin-bottom: 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: #d8ae3f;
}

.akm-service-areas-map-shell__header h2 {
	margin: 0;
	font-size: clamp(1.03rem, 1.2vw, 1.28rem);
	line-height: 1.28;
	letter-spacing: -0.01em;
	color: rgba(250, 252, 255, 0.96);
}

.akm-service-areas-map-shell__status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 11px;
	border-radius: 999px;
	border: 1px solid rgba(96, 214, 136, 0.35);
	background: rgba(81, 167, 109, 0.12);
	font-size: 0.73rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: #9be4b4;
}

.akm-service-areas-map-shell__status::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #74d893;
	box-shadow: 0 0 10px rgba(116, 216, 147, 0.7);
}

.akm-service-map {
	position: relative;
	padding: 7px;
	border-radius: 22px;
	background:
		radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 42%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
	border: 1px solid rgba(255, 255, 255, 0.12);
	overflow: hidden;
	isolation: isolate;
}

.akm-map-tooltip {
	position: absolute;
	right: 18px;
	bottom: 16px;
	display: grid;
	gap: 3px;
	min-width: 230px;
	padding: 13px 15px;
	border-radius: 14px;
	background: linear-gradient(150deg, rgba(16, 18, 22, 0.97), rgba(12, 13, 16, 0.95));
	border: 1px solid rgba(212, 175, 55, 0.42);
	color: rgba(247, 249, 252, 0.92);
	font-size: 0.83rem;
	line-height: 1.42;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.47), inset 0 1px 0 rgba(255, 255, 255, 0.09);
	opacity: 0;
	transform: translateY(8px);
	pointer-events: none;
	transition: opacity 0.24s ease, transform 0.24s ease;
	z-index: 4;
}

.akm-map-tooltip strong {
	font-size: 1rem;
	font-weight: 700;
	color: #ffffff;
}

.akm-map-tooltip__hint {
	margin-top: 4px;
	padding-top: 8px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.8rem;
	color: #7ce59f;
}

.akm-map-tooltip.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.akm-service-map__svg {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 64 / 44;
}

.akm-map-frame {
	fill: rgba(255, 255, 255, 0.008);
	stroke: rgba(255, 255, 255, 0.15);
	stroke-width: 1.25;
}

.akm-map-frame--inner {
	stroke-opacity: 0.46;
	stroke-width: 1;
}

.akm-map-island {
	fill: rgba(118, 130, 148, 0.045);
	stroke: rgba(176, 188, 204, 0.14);
	stroke-width: 1;
}

.akm-map-coverage {
	fill: rgba(220, 179, 77, 0.04);
	filter: drop-shadow(0 0 16px rgba(220, 179, 77, 0.12));
	pointer-events: none;
	animation: none;
}

.akm-map-region {
	fill: url(#akmMapSurface);
	stroke: rgba(255, 255, 255, 0.28);
	stroke-width: 1.6;
}

.akm-map-relief,
.akm-map-relief-soft {
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
	pointer-events: none;
}

.akm-map-relief {
	stroke: rgba(224, 186, 92, 0.14);
	stroke-width: 0.8;
}

.akm-map-relief-soft {
	stroke: rgba(255, 255, 255, 0.1);
	stroke-width: 0.75;
}

.akm-map-neighbour {
	fill: rgba(188, 194, 206, 0.25);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
}

.akm-map-neighbour-outline {
	fill: none;
	stroke: rgba(170, 178, 192, 0.14);
	stroke-width: 0.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.akm-map-county {
	fill: rgba(214, 173, 63, 0.08);
	stroke: rgba(214, 173, 63, 0.3);
	stroke-width: 1.15;
}

.akm-map-county-border {
	fill: none;
	stroke: rgba(255, 255, 255, 0.13);
	stroke-width: 0.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.akm-map-hub-aura {
	fill: url(#akmMapGlow);
	filter: url(#akmHubBlur);
	pointer-events: none;
	opacity: 0.76;
}

.akm-map-route {
	fill: none;
	stroke: url(#akmLinkGlow);
	stroke-width: 1.25;
	stroke-linecap: round;
	opacity: 0.066;
	stroke-dasharray: var(--line-length);
	stroke-dashoffset: var(--line-length);
	animation: akm-route-idle var(--idle-duration, 7.2s) ease-in-out infinite;
	animation-delay: var(--idle-delay, 0s);
	transition: opacity 0.24s ease, stroke-width 0.24s ease, filter 0.24s ease;
}

.akm-service-map.has-active-city .akm-map-route {
	animation: none;
	stroke-dashoffset: 0;
	opacity: 0.154;
}

.akm-map-route.is-active {
	opacity: 1 !important;
	stroke-width: 2;
	filter: drop-shadow(0 0 7px rgba(233, 190, 76, 0.57));
}

.akm-map-city {
	cursor: pointer;
	touch-action: manipulation;
	transition: transform 0.2s ease;
}

.akm-map-city:hover,
.akm-map-city:focus,
.akm-map-city.is-active {
	transform: translateY(-1px);
}

.akm-map-city:focus-visible {
	outline: none;
}

.akm-map-city__ring {
	fill: rgba(214, 173, 63, 0.14);
	stroke: rgba(214, 173, 63, 0.58);
	stroke-width: 1.05;
	filter: drop-shadow(0 0 4px rgba(214, 173, 63, 0.2));
	transition: fill 0.22s ease, stroke-width 0.22s ease, filter 0.22s ease;
}

.akm-map-city__dot {
	fill: #dfb65a;
	filter: drop-shadow(0 0 5px rgba(224, 183, 78, 0.34));
	transition: transform 0.22s ease, fill 0.22s ease, filter 0.22s ease;
}

.akm-map-city__label {
	fill: rgba(255, 255, 255, 0.96);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.01em;
	paint-order: stroke;
	stroke: rgba(11, 12, 15, 0.78);
	stroke-width: 3.2px;
	stroke-linejoin: round;
	transition: fill 0.22s ease;
}

.akm-map-city__leader {
	stroke: rgba(245, 225, 165, 0.4);
	stroke-width: 0.8;
	stroke-linecap: round;
	opacity: 0.55;
	transition: opacity 0.22s ease, stroke 0.22s ease;
}

.akm-map-city.is-hub .akm-map-city__ring {
	fill: rgba(235, 196, 93, 0.22);
	stroke-width: 1.55;
}

.akm-map-city.is-hub .akm-map-city__dot {
	fill: #f4cb62;
}

.akm-map-hub-pulse {
	fill: rgba(238, 195, 89, 0.22);
	stroke: rgba(238, 195, 89, 0.52);
	stroke-width: 1.6;
	transform-origin: center;
	animation: akm-hub-pulse 2.6s ease-out infinite;
}

.akm-map-city:hover .akm-map-city__ring,
.akm-map-city:focus .akm-map-city__ring,
.akm-map-city.is-active .akm-map-city__ring {
	fill: rgba(214, 173, 63, 0.3);
	stroke-width: 1.8;
	filter: drop-shadow(0 0 10px rgba(214, 173, 63, 0.48));
}

.akm-map-city:hover .akm-map-city__leader,
.akm-map-city:focus .akm-map-city__leader,
.akm-map-city.is-active .akm-map-city__leader {
	stroke: rgba(255, 236, 181, 0.95);
	opacity: 1;
}

.akm-map-city:hover .akm-map-city__dot,
.akm-map-city:focus .akm-map-city__dot,
.akm-map-city.is-active .akm-map-city__dot {
	transform: scale(1.16);
	fill: #f2c865;
	filter: drop-shadow(0 0 10px rgba(242, 200, 101, 0.62));
}

.akm-map-city:focus-visible .akm-map-city__ring {
	stroke: rgba(255, 255, 255, 0.95);
	stroke-width: 2.25;
}

.akm-map-city.is-active .akm-map-city__label {
	fill: #ffffff;
}

@keyframes akm-line-draw {
	to {
		stroke-dashoffset: 0;
	}
}

@keyframes akm-route-idle {
	0% {
		opacity: 0.055;
		stroke-dashoffset: var(--line-length);
	}
	12% {
		opacity: 0.33;
		stroke-dashoffset: 0;
	}
	24% {
		opacity: 0.11;
		stroke-dashoffset: 0;
	}
	100% {
		opacity: 0.066;
		stroke-dashoffset: 0;
	}
}

@keyframes akm-hub-pulse {
	0% {
		transform: scale(0.86);
		opacity: 0.78;
	}
	70% {
		transform: scale(1.32);
		opacity: 0;
	}
	100% {
		transform: scale(1.32);
		opacity: 0;
	}
}

@keyframes akm-coverage-breathe {
	0% {
		opacity: 0.34;
	}
	50% {
		opacity: 0.52;
	}
	100% {
		opacity: 0.34;
	}
}

@media (max-width: 1180px) {
	.akm-service-areas-map-shell__status {
		display: none;
	}
}

@media (max-width: 980px) {
	.akm-service-areas-map-shell {
		padding: 16px;
	}

	.akm-map-tooltip {
		right: 14px;
		bottom: 14px;
		min-width: 214px;
	}
}

@media (max-width: 700px) {
	.akm-map-tooltip {
		position: static;
		margin-bottom: 10px;
		opacity: 1;
		transform: none;
		min-width: 0;
	}

	.akm-map-neighbour {
		font-size: 10px;
	}

	.akm-map-route {
		opacity: 0.12;
		stroke-dashoffset: 0;
		animation-name: akm-route-mobile-pulse;
		animation-duration: 3.8s;
		animation-timing-function: ease-in-out;
		animation-iteration-count: infinite;
		animation-delay: var(--idle-delay, 0s);
	}

	.akm-service-map.has-active-city .akm-map-route {
		animation: none;
		opacity: 0.27;
	}

	.akm-map-route.is-active {
		opacity: 1 !important;
		stroke-width: 2.25;
	}
}

@keyframes akm-route-mobile-pulse {
	0% {
		opacity: 0.14;
		stroke-width: 1.35;
		filter: none;
	}
	26% {
		opacity: 0.88;
		stroke-width: 2.3;
		filter: drop-shadow(0 0 9px rgba(233, 190, 76, 0.78));
	}
	52% {
		opacity: 0.22;
		stroke-width: 1.5;
		filter: none;
	}
	100% {
		opacity: 0.14;
		stroke-width: 1.35;
		filter: none;
	}
}

@media (max-width: 640px) {
	.akm-service-areas-map-shell__header {
		flex-direction: column;
	}

	.akm-service-map {
		padding: 8px;
	}

	.akm-map-relief {
		stroke-width: 0.8;
	}

	.akm-map-relief-soft {
		stroke-width: 0.7;
	}

	.akm-map-city__label {
		font-size: 9px;
		stroke-width: 2.6px;
	}

	.akm-map-city__leader {
		stroke-width: 0.9;
	}
}

@media (prefers-reduced-motion: reduce) {
	.akm-map-hub-pulse {
		animation: none;
	}

	.akm-map-route {
		animation-duration: 6.2s;
	}
}
