/* Taya Custom Video Player */
.taya-video-player {
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: 12px !important;
	background: #000;
	isolation: isolate;
	-webkit-tap-highlight-color: transparent;
}

.taya-video-player,
.taya-video-player * {
	box-sizing: border-box;
}

.taya-video-player > video {
	display: block;
	width: 100%;
	margin: 0;
	border-radius: 12px !important;
	cursor: pointer;
}

.taya-video-player video::-webkit-media-controls,
.taya-video-player video::-webkit-media-controls-enclosure {
	display: none !important;
}

.taya-video-player button.taya-video-player__center {
	position: absolute;
	top: 50%;
	right: auto;
	bottom: auto;
	left: 50%;
	z-index: 3;
	display: grid !important;
	place-items: center;
	width: 62px !important;
	min-width: 62px !important;
	max-width: 62px !important;
	height: 62px !important;
	min-height: 62px !important;
	max-height: 62px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: rgba(0, 0, 0, 0.82) !important;
	box-shadow: 0 5px 18px rgba(0, 0, 0, 0.28) !important;
	color: #fff !important;
	font: inherit !important;
	line-height: 1 !important;
	cursor: pointer;
	transform: translate(-50%, -50%);
	transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.taya-video-player button.taya-video-player__center:hover,
.taya-video-player button.taya-video-player__center:focus-visible {
	background: #000 !important;
	transform: translate(-50%, -50%) scale(1.06);
}

.taya-video-player.is-playing button.taya-video-player__center {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.taya-video-player__controls {
	position: absolute;
	right: 10px;
	bottom: 10px;
	left: 10px;
	z-index: 4;
	display: grid;
	grid-template-columns: auto minmax(70px, 1fr) auto auto auto;
	align-items: center;
	gap: 9px;
	padding: 8px 10px;
	min-width: 0;
	overflow: hidden;
	border: 0;
	border-radius: 999px !important;
	background: rgba(0, 0, 0, 0.82);
	box-shadow: 0 3px 14px rgba(0, 0, 0, 0.24);
	color: #fff;
	opacity: 1;
	visibility: visible;
	transition: opacity 180ms ease, visibility 180ms ease;
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
}

.taya-video-player.is-playing:not(.controls-visible) .taya-video-player__controls {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.taya-video-player button.taya-video-player__button {
	display: grid !important;
	place-items: center;
	width: 36px !important;
	min-width: 36px !important;
	max-width: 36px !important;
	height: 36px !important;
	min-height: 36px !important;
	max-height: 36px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #fff !important;
	font: inherit !important;
	line-height: 1 !important;
	cursor: pointer;
}

.taya-video-player button.taya-video-player__button:hover,
.taya-video-player button.taya-video-player__button:focus-visible {
	background: rgba(255, 255, 255, 0.15) !important;
}

.taya-video-player button.taya-video-player__play {
	background: #fff !important;
	color: #000 !important;
}

.taya-video-player button.taya-video-player__play:hover,
.taya-video-player button.taya-video-player__play:focus-visible {
	background: #ededed !important;
	color: #000 !important;
}

.taya-video-player button.taya-video-player__mobile-fullscreen {
	position: absolute !important;
	top: 10px !important;
	right: 10px !important;
	bottom: auto !important;
	left: auto !important;
	z-index: 5 !important;
	display: none !important;
	place-items: center !important;
	width: 40px !important;
	min-width: 40px !important;
	max-width: 40px !important;
	height: 40px !important;
	min-height: 40px !important;
	max-height: 40px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: rgba(0, 0, 0, 0.82) !important;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25) !important;
	color: #fff !important;
	font: inherit !important;
	line-height: 1 !important;
	cursor: pointer;
	-webkit-appearance: none !important;
	appearance: none !important;
}

.taya-video-player button.taya-video-player__mobile-fullscreen:hover,
.taya-video-player button.taya-video-player__mobile-fullscreen:focus-visible {
	background: #000 !important;
}

.taya-video-player__button:focus-visible,
.taya-video-player__center:focus-visible,
.taya-video-player__progress:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.taya-video-player__icon {
	display: block !important;
	width: 22px;
	height: 22px;
	margin: 0 !important;
	fill: currentColor !important;
	color: inherit !important;
	pointer-events: none;
}

.taya-video-player button.taya-video-player__center .taya-video-player__icon {
	width: 28px;
	height: 28px;
	margin-left: 3px !important;
}

.taya-video-player__progress {
	width: 100%;
	min-width: 0;
	height: 22px;
	margin: 0;
	background: transparent;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.taya-video-player__progress::-webkit-slider-runnable-track {
	height: 4px;
	border-radius: 999px;
	background: linear-gradient(
		to right,
		#fff 0,
		#fff var(--taya-progress, 0%),
		rgba(255, 255, 255, 0.35) var(--taya-progress, 0%),
		rgba(255, 255, 255, 0.35) 100%
	);
}

.taya-video-player__progress::-moz-range-track {
	height: 4px;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.35);
}

.taya-video-player__progress::-moz-range-progress {
	height: 4px;
	border-radius: 999px;
	background: #fff;
}

.taya-video-player__progress::-webkit-slider-thumb {
	width: 14px;
	height: 14px;
	margin-top: -5px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
	-webkit-appearance: none;
	appearance: none;
}

.taya-video-player__progress::-moz-range-thumb {
	width: 14px;
	height: 14px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.taya-video-player__time {
	min-width: 72px;
	font: 600 12px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-variant-numeric: tabular-nums;
	text-align: center;
	white-space: nowrap;
}

.taya-video-player__status {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.taya-video-player.is-fullscreen,
.taya-video-player:fullscreen,
.taya-video-player:-webkit-full-screen {
	width: 100%;
	height: 100%;
	border-radius: 0;
	background: #000;
}

.taya-video-player:fullscreen > video,
.taya-video-player:-webkit-full-screen > video {
	width: 100%;
	height: 100%;
	object-fit: contain !important;
}

@media (max-width: 767px) {
	.taya-video-player button.taya-video-player__mobile-fullscreen {
		display: grid !important;
	}

	.taya-video-player button.taya-video-player__center {
		width: 56px !important;
		min-width: 56px !important;
		max-width: 56px !important;
		height: 56px !important;
		min-height: 56px !important;
		max-height: 56px !important;
	}

	.taya-video-player__controls {
		right: 7px;
		bottom: 7px;
		left: 7px;
		grid-template-columns: 34px minmax(0, 1fr) 34px;
		gap: 6px;
		padding: 6px 7px;
	}

	.taya-video-player button.taya-video-player__button {
		width: 34px !important;
		min-width: 34px !important;
		max-width: 34px !important;
		height: 34px !important;
		min-height: 34px !important;
		max-height: 34px !important;
	}

	.taya-video-player__time,
	.taya-video-player button.taya-video-player__fullscreen {
		display: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.taya-video-player__center,
	.taya-video-player__controls {
		transition: none;
	}
}
