#zones
{
	position: absolute;
	left: 0;
	top: 0;
	pointer-events: none;
	z-index: 100;
}

#zones .zonesSvg
{
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

body:not([data-map-mode="explo"]) .zoneUnfarmableExplo,
body:not([data-map-mode="fourbe"]) .zoneUnfarmableFourbe,
body:not([data-map-mode="celeste"]) .zoneUnfarmableCeleste
{
	display: none;
}

.zoneUnfarmableBase
{
	fill: rgba(4, 9, 14, 0.24);
}

.zoneUnfarmableHatch
{
	fill: url("#map-zone-hatch");
}

.zoneActiveNormal
{
	fill: rgb(86, 207, 255);
	opacity: 0.32;
}

.zoneSelectedNormal
{
	fill: rgb(255, 183, 52);
	opacity: 0.72;
	stroke: rgba(255, 248, 205, 0.98);
	stroke-width: 2.5px;
	paint-order: stroke fill;
	filter: drop-shadow(0 0 5px rgba(255, 164, 31, 0.95));
	vector-effect: non-scaling-stroke;
}

#zoneCheckedCells
{
	position: absolute;
	inset: 0;
	z-index: 950;
	pointer-events: none;
}

.zoneCheckedCell
{
	position: absolute;
	width: var(--cellW);
	height: var(--cellH);
	filter: drop-shadow(0 0 1.5px rgba(83, 0, 12, 0.72));
}

.zoneCheckedCell::before,
.zoneCheckedCell::after
{
	position: absolute;
	left: 4px;
	top: calc(50% - 1.5px);
	width: calc(100% - 8px);
	height: 3px;
	background: #f2263d;
	border-radius: 1px;
	clip-path: polygon(0 50%, 7% 0, 93% 0, 100% 50%, 93% 100%, 7% 100%);
	content: "";
	transform-origin: center;
}

.zoneCheckedCell::before
{
	transform: rotate(29deg);
}

.zoneCheckedCell::after
{
	transform: rotate(-29deg);
}

#zoneHud
{
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 1100;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 7px 10px;
	color: rgba(0, 0, 0, 0.82);
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
	backdrop-filter: blur(4px);
	pointer-events: none;
	font-family: Calibri;
}

#zoneHud[hidden]
{
	display: none;
}

.zoneHudEntry
{
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
}

#zoneHud strong
{
	font-size: 19.2px;
	font-weight: bold;
	line-height: 1;
}

#zoneHud span
{
	padding: 2px 5px;
	color: #14506a;
	background: rgba(86, 207, 255, 0.24);
	border-radius: 3px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

#zoneHud .zoneHudUnfarmable
{
	color: #8f1927;
	background: rgba(255, 105, 118, 0.28);
}
