.svc-popup {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.svc-popup[hidden] {
	display: none !important;
}

.svc-popup__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.82);
}

.svc-popup__dialog {
	position: relative;
	z-index: 1;
	width: min(960px, 92vw);
	max-height: 90vh;
	background: #000;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.svc-popup__close {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	z-index: 2;
	width: 2.25rem;
	height: 2.25rem;
	border: 0;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
}

.svc-popup__body iframe,
.svc-popup__body video {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	max-height: 80vh;
	background: #000;
}

html.svc-popup-open {
	overflow: hidden;
}
