/* Minimal controls for user-opened, silent GIF-derived display creatives. */
.work-silent-creative-player {
	overflow: visible;
	position: relative;
}

.work-silent-creative-player .fancybox__html5video {
	cursor: default;
	pointer-events: none;
}

.work-silent-creative-toggle {
	align-items: center;
	appearance: none;
	background: rgba(0, 0, 0, 0.72);
	border: 2px solid #fff;
	border-radius: 50%;
	bottom: -56px;
	color: #fff;
	cursor: pointer;
	display: flex;
	height: 44px;
	justify-content: center;
	left: 0;
	padding: 0;
	position: absolute;
	pointer-events: auto;
	transition: background-color 160ms ease, opacity 160ms ease;
	width: 44px;
	z-index: 2;
}

.work-silent-creative-toggle:hover,
.work-silent-creative-toggle:focus-visible {
	background: rgba(0, 0, 0, 0.9);
}

.work-silent-creative-toggle:focus-visible {
	outline: 3px solid #ffcf61;
	outline-offset: 3px;
}

.work-silent-creative-toggle > span {
	display: block;
	height: 18px;
	position: relative;
	width: 18px;
}

.work-silent-creative-toggle[data-state="paused"] > span::before,
.work-silent-creative-toggle[data-state="ended"] > span::before {
	border-bottom: 9px solid transparent;
	border-left: 14px solid currentColor;
	border-top: 9px solid transparent;
	content: "";
	left: 3px;
	position: absolute;
	top: 0;
}

.work-silent-creative-toggle[data-state="playing"] > span::before,
.work-silent-creative-toggle[data-state="playing"] > span::after {
	background: currentColor;
	content: "";
	height: 18px;
	position: absolute;
	top: 0;
	width: 5px;
}

.work-silent-creative-toggle[data-state="playing"] > span::before {
	left: 2px;
}

.work-silent-creative-toggle[data-state="playing"] > span::after {
	right: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.work-silent-creative-toggle {
		transition: none;
	}
}
