.pixel-map-wrap {
	position: relative;
	width: 100%;
}

.pixel-map-canvas {
	width: 100%;
	min-height: 320px;
}

.pixel-map-control {
	position: absolute;
	right: 12px;
	z-index: 5;
	overflow: hidden;
	border: 1px solid #b9c0cd;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 12px 28px rgba(9, 17, 33, 0.14);
	backdrop-filter: blur(8px);
}

.pixel-map-control button {
	display: block;
	width: 100%;
	border: 0;
	background: transparent;
	color: #273142;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.pixel-map-control button:hover,
.pixel-map-control button:focus {
	background: rgba(66, 84, 112, 0.1);
	outline: none;
}

.pixel-map-type-control {
	top: 12px;
	display: flex;
	min-width: 140px;
}

.pixel-map-type-control button {
	padding: 10px 14px;
}

.pixel-map-type-control button + button {
	border-left: 1px solid #d7dce5;
}

.pixel-map-type-control .is-active {
	background: linear-gradient(180deg, #425470 0%, #5b6d8a 100%);
	color: #fff;
}

.pixel-map-zoom-control {
	top: 58px;
	width: 42px;
}

.pixel-map-zoom-control button {
	height: 42px;
	font-size: 22px;
}

.pixel-map-zoom-control button + button {
	border-top: 1px solid #d7dce5;
}

.pixel-map-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	border: 1px dashed #d7dce5;
	border-radius: 12px;
	background: #f8fafc;
	color: #5b6577;
	font-size: 14px;
	text-align: center;
}

@media (max-width: 767px) {
	.pixel-map-type-control {
		top: 10px;
		right: 10px;
		min-width: 124px;
	}

	.pixel-map-type-control button {
		padding: 9px 12px;
		font-size: 12px;
	}

	.pixel-map-zoom-control {
		top: 52px;
		right: 10px;
	}
}
