.map-loadable { position:relative; }
.map-loadable:not(.leaflet-container),
.map-loadable::before {
	background-color:var(--theme-body-color);
	background-color:color-mix(in srgb, var(--theme-main-color), black 5%);
}
.map-loadable::before,
.map-loadable::after {
	content:"";
	position:absolute;
	inset:0;
	z-index:850;
	opacity:0;
	pointer-events:none;
	transition:opacity .16s ease-out;
}
.map-loadable::before { border-radius:inherit; }
.map-loadable::after {
	box-sizing:border-box;
	width:24px;
	height:24px;
	margin:auto;
	border:2px solid var(--theme-link-hover-bg-color);
	border-top-color:var(--theme-link-color);
	border-radius:50%;
}
.map-loadable[aria-busy="true"]::before {
	opacity:1;
	transition:none;
}
.map-loadable[aria-busy="true"]::after {
	opacity:1;
	transition-delay:.15s;
	animation:map-loading-spin .9s linear .15s infinite;
}
@keyframes map-loading-spin {
	to { transform:rotate(1turn); }
}
@media (prefers-reduced-motion:reduce) {
	.map-loadable::before,
	.map-loadable::after { transition:none; }
	.map-loadable[aria-busy="true"]::after { animation:none; }
}
@media (forced-colors:active) {
	.map-loadable::after {
		forced-color-adjust:none;
		border-color:transparent;
		border-top-color:CanvasText;
	}
}
.map-loadable.photo-map-status {
	display:grid;
	place-items:center;
	box-sizing:border-box;
	padding:12px;
	text-align:center;
}
