body.apsy-video-lock {
	overflow: hidden;
}

.apsy-video-trigger-wrap {
	display: inline-flex;
}

.apsy-video-trigger {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 0;
	background: transparent;
	padding: 0;
	cursor: pointer;
}
.apsy-video-trigger:hover {
	background-color: transparent;
}
.apsy-video-trigger:active {
	background-color: transparent;
}
.apsy-video-trigger:focus {
	background-color: transparent;
}

.apsy-video-trigger-icon {
	width: 64px;
	height: 64px;
	border-radius: 999px;
	border: 3px solid #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.apsy-video-trigger-icon::before {
	content: "";
	width: 0;
	height: 0;
	border-left: 14px solid #fff;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	margin-left: 3px;
}

.apsy-video-trigger-text {
	color: #fff;
	font-weight: 600;
	text-align: center;
}

.apsy-video-modal {
	position: fixed;
	inset: 0;
	display: none;
	z-index: 2147483647;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.apsy-video-modal.is-open {
	display: flex;
}

.apsy-video-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
}

.apsy-video-modal-dialog {
	position: relative;
	z-index: 1;
	width: min(980px, 100%);
}

.apsy-video-modal-close {
	position: absolute;
	right: -10px;
	top: -10px;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	border: 0;
	background: #fff;
	color: #111;
	line-height: 1;
	cursor: pointer;
}

.apsy-video-modal-player {
	background: #000;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.apsy-video-modal-video {
	width: 100%;
	height: auto;
	display: block;
	max-height: 80vh;
}
