.marker.hasTacticalPreview > .info
{
	width: 320px;
	white-space: normal;
}

.tacticalPreviewHost
{
	display: none;
	position: relative;
	z-index: 0;
	width: calc(100% + 20px);
	height: 36px;
	margin: 7px -10px -6px;
	background: #111820;
	border-top: 1px solid rgba(255,255,255,0.22);
	border-radius: 0 0 2px 2px;
	isolation: isolate;
	contain: paint;
	overflow: hidden;
	pointer-events: auto;
}

.tacticalPreviewContent
{
	min-height: 36px;
}

.marker.hasTacticalPreview.isTacticalPreviewPending .tacticalPreviewHost,
.marker.hasTacticalPreview.isTacticalPreviewLoading .tacticalPreviewHost,
.marker.hasTacticalPreview.isTacticalPreviewReady .tacticalPreviewHost
{
	display: block;
}

.marker.hasTacticalPreview.isTacticalPreviewReady .tacticalPreviewHost
{
	height: calc(var(--tactical-preview-height) + 1px);
	animation: tacticalPreviewReveal 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tacticalPreviewLoader
{
	box-sizing: border-box;
	width: 18px;
	height: 18px;
	margin: 9px auto;
	border: 2px solid rgba(255,255,255,0.28);
	border-top-color: rgba(255,255,255,0.95);
	border-radius: 50%;
	animation: tacticalPreviewSpin 700ms linear infinite;
}

@keyframes tacticalPreviewSpin
{
	to
	{
		transform: rotate(360deg);
	}
}

@keyframes tacticalPreviewReveal
{
	from
	{
		height: 36px;
	}

	to
	{
		height: calc(var(--tactical-preview-height) + 1px);
	}
}

.tacticalMapViewport
{
	position: relative;
	z-index: 0;
	margin: 0 auto;
	background: #111820;
	isolation: isolate;
	opacity: 0;
}

.marker.hasTacticalPreview.isTacticalPreviewReady .tacticalMapViewport
{
	opacity: 1;
	animation: tacticalPreviewFade 220ms ease 60ms both;
}

@keyframes tacticalPreviewFade
{
	from
	{
		opacity: 0;
	}

	to
	{
		opacity: 1;
	}
}

.tacticalPreviewImage
{
	display: block;
	width: 100%;
	height: 100%;
}
