.wtvp-sticky-btn {
	position: fixed !important;
	z-index: 2147483646 !important;
	top: auto !important;
	bottom: 20px !important;
	margin: 0 !important;
	transform: none !important;
	border: none;
	border-radius: 999px;
	padding: 14px 22px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.02em;
	background: var(--wtvp-sticky-bg, #e63946);
	color: var(--wtvp-sticky-color, #fff);
	cursor: pointer;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
	animation: wtvp-sticky-pulse 2.4s ease-in-out infinite;
}

.wtvp-sticky-btn:hover {
	filter: brightness(1.08);
}

.wtvp-sticky-bottom-right {
	right: 20px !important;
	left: auto !important;
}

.wtvp-sticky-bottom-left {
	left: 20px !important;
	right: auto !important;
}

@keyframes wtvp-sticky-pulse {
	0%, 100% {
		box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(255, 255, 255, 0);
	}
	50% {
		box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), 0 0 0 8px rgba(255, 255, 255, 0.08);
	}
}

@media (max-width: 480px) {
	.wtvp-sticky-btn {
		bottom: 14px !important;
		padding: 12px 18px;
		font-size: 14px;
	}
	.wtvp-sticky-bottom-right {
		right: 14px !important;
		left: auto !important;
	}
	.wtvp-sticky-bottom-left {
		left: 14px !important;
		right: auto !important;
	}
}

.wtvp-overlay {
	position: fixed !important;
	inset: 0 !important;
	z-index: 2147483647 !important;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, var(--wtvp-overlay-opacity, 0.75));
	padding: 16px;
	box-sizing: border-box;
}

.wtvp-overlay.wtvp-visible {
	display: flex;
}

.wtvp-modal {
	position: relative;
	max-width: min(var(--wtvp-width, 720px), 94vw);
	max-height: 92vh;
	background: transparent;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
	animation: wtvp-pop-in 0.25s ease;
	display: inline-flex;
	flex-direction: column;
}

@keyframes wtvp-pop-in {
	from {
		opacity: 0;
		transform: scale(0.92);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

.wtvp-title {
	color: #fff;
	margin: 0;
	padding: 14px 50px 0 16px;
	font-size: 18px;
	background: #000;
}

.wtvp-video-wrap {
	position: relative;
	line-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Uploaded/direct video files: size to the video's own aspect ratio (portrait
   or landscape) so there's no letterboxing or stretching. */
.wtvp-video-wrap video {
	display: block;
	width: auto;
	height: auto;
	max-width: min(var(--wtvp-width, 720px), 94vw);
	max-height: 92vh;
}

/* YouTube/Vimeo embeds need an explicit box, since an iframe can't size
   itself to the video inside it. Assumes a standard landscape embed. */
.wtvp-video-wrap iframe {
	display: block;
	width: min(var(--wtvp-width, 720px), 94vw);
	aspect-ratio: 16 / 9;
	max-height: 92vh;
	border: 0;
}

.wtvp-close {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 2;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: none;
	background: rgba(0, 0, 0, 0.55);
	color: var(--wtvp-close-color, #fff);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wtvp-close:hover {
	background: rgba(0, 0, 0, 0.8);
}

.wtvp-cta {
	display: block;
	text-align: center;
	background: #f5f5f5;
	color: #111;
	text-decoration: none;
	font-weight: 600;
	padding: 14px 16px;
}

.wtvp-cta:hover {
	background: #e6e6e6;
}


