/*
 * SleepBaby v7.1.1 homepage CTA motion.
 *
 * Exact scope: the five known Get Instant Access wrappers in the authoritative
 * v7.1.1 homepage. The v7.1.1 stylesheet already gives these anchors a nearly
 * invisible breathing animation; this later stylesheet replaces that motion
 * instead of stacking a second transform on the child image.
 */
body.sb-home-precovid-v711 #tve_editor [data-ct-name="Exciting Download Button"] :is(
	[data-css="tve-u-16c086145b4"],
	[data-css="tve-u-16ab6ab729b"],
	[data-css="tve-u-16c0861a2cc"],
	[data-css="tve-u-16c0861e2bf"],
	[data-css="tve-u-16c08621edf"]
) > .tve_image_frame > a[href*="/purchase/"] {
	backface-visibility: hidden;
	transform: translate3d(0, 0, 0);
	transform-origin: 50% 68%;
	will-change: transform;
	animation: sbhcm-happy-dance 6.4s cubic-bezier(.22, .61, .36, 1) .7s infinite both !important;
	filter: drop-shadow(0 13px 18px rgba(104, 44, 11, .2)) !important;
	transition: transform 180ms cubic-bezier(.22, .61, .36, 1), filter 180ms ease;
}

/* Roughly .8 seconds of movement followed by more than 5.5 seconds of rest. */
@keyframes sbhcm-happy-dance {
	0%,
	13%,
	100% {
		transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
	}

	2.5% {
		transform: translate3d(0, -3px, 0) rotate(-1.2deg) scale(1.015);
	}

	5% {
		transform: translate3d(0, 1px, 0) rotate(1.1deg) scale(1.02);
	}

	7.5% {
		transform: translate3d(0, -2px, 0) rotate(-.7deg) scale(1.012);
	}

	10% {
		transform: translate3d(0, .5px, 0) rotate(.35deg) scale(1.006);
	}
}

/* A steady lift replaces the idle loop during deliberate pointer use. */
@media (hover: hover) and (pointer: fine) {
	body.sb-home-precovid-v711 #tve_editor [data-ct-name="Exciting Download Button"] :is(
		[data-css="tve-u-16c086145b4"],
		[data-css="tve-u-16ab6ab729b"],
		[data-css="tve-u-16c0861a2cc"],
		[data-css="tve-u-16c0861e2bf"],
		[data-css="tve-u-16c08621edf"]
	) > .tve_image_frame > a[href*="/purchase/"]:hover {
		animation: none !important;
		transform: translate3d(0, -3px, 0) scale(1.025) !important;
		filter: brightness(1.045) saturate(1.03) drop-shadow(0 17px 23px rgba(104, 44, 11, .28)) !important;
	}
}

body.sb-home-precovid-v711 #tve_editor [data-ct-name="Exciting Download Button"] :is(
	[data-css="tve-u-16c086145b4"],
	[data-css="tve-u-16ab6ab729b"],
	[data-css="tve-u-16c0861a2cc"],
	[data-css="tve-u-16c0861e2bf"],
	[data-css="tve-u-16c08621edf"]
) > .tve_image_frame > a[href*="/purchase/"]:focus-visible {
	animation: none !important;
	border-radius: 24px;
	filter: brightness(1.045) saturate(1.03) drop-shadow(0 17px 23px rgba(104, 44, 11, .28)) !important;
	outline: 3px solid #40205f;
	outline-offset: 4px;
	transform: translate3d(0, -2px, 0) scale(1.02) !important;
}

body.sb-home-precovid-v711 #tve_editor [data-ct-name="Exciting Download Button"] :is(
	[data-css="tve-u-16c086145b4"],
	[data-css="tve-u-16ab6ab729b"],
	[data-css="tve-u-16c0861a2cc"],
	[data-css="tve-u-16c0861e2bf"],
	[data-css="tve-u-16c08621edf"]
) > .tve_image_frame > a[href*="/purchase/"]:active {
	animation: none !important;
	transform: translate3d(0, 0, 0) scale(.985) !important;
	transition-duration: 80ms;
}

/* Honor the visitor's operating-system motion preference without exceptions. */
@media (prefers-reduced-motion: reduce) {
	body.sb-home-precovid-v711 #tve_editor [data-ct-name="Exciting Download Button"] :is(
		[data-css="tve-u-16c086145b4"],
		[data-css="tve-u-16ab6ab729b"],
		[data-css="tve-u-16c0861a2cc"],
		[data-css="tve-u-16c0861e2bf"],
		[data-css="tve-u-16c08621edf"]
	) > .tve_image_frame > a[href*="/purchase/"] {
		animation: none !important;
		transform: none !important;
		will-change: auto;
	}
}
