.magnify-lens,
.magnify-lens img {
	/* Lets a finger drag move the lens instead of scrolling the page. */
	touch-action: none;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	user-select: none;
	-webkit-user-drag: none;
}

.magnify-lens img {
	cursor: crosshair;
}

.rvmm-lens {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 999999;
	border-radius: 50%;
	background-color: #fff;
	background-repeat: no-repeat;
	box-shadow: 0 0 0 4px #fff, 0 0 0 5px rgba(0, 0, 0, 0.25), 0 10px 30px rgba(0, 0, 0, 0.4);
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.12s ease, visibility 0s linear 0.12s;
	will-change: transform;
}

.rvmm-lens.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.12s ease;
}

/* Small center ring so touch users can see exactly which spot is under the finger. */
.rvmm-lens.is-touch::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 14px;
	height: 14px;
	margin: -7px 0 0 -7px;
	border: 2px solid rgba(255, 255, 255, 0.95);
	border-radius: 50%;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
}

@media (prefers-reduced-motion: reduce) {
	.rvmm-lens,
	.rvmm-lens.is-active {
		transition: none;
	}
}
