body.gqvl-open {
	overflow: hidden;
}

.gqvl,
.gqvl * {
	box-sizing: border-box;
}

.gqvl {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: grid;
	padding: 24px;
	place-items: center;
	opacity: 0;
	transition: opacity .18s ease;
}

.gqvl.is-visible {
	opacity: 1;
}

.gqvl[hidden] {
	display: none !important;
}

.gqvl__backdrop {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: rgba(8, 17, 22, .88);
	backdrop-filter: blur(5px);
	cursor: pointer;
}

.gqvl__dialog {
	position: relative;
	z-index: 1;
	width: min(1000px, 100%);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 14px;
	background: #10181d;
	box-shadow: 0 30px 90px rgba(0, 0, 0, .48);
	color: #fff;
	transform: translateY(14px) scale(.985);
	transition: transform .18s ease;
}

.gqvl.is-visible .gqvl__dialog {
	transform: translateY(0) scale(1);
}

.gqvl__close {
	-webkit-appearance: none;
	appearance: none;
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 3;
	display: grid;
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	padding: 0 0 3px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, .85);
	border-radius: 50%;
	background: #ffd500;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
	color: #151515 !important;
	font: inherit;
	font-size: 29px;
	line-height: 1;
	cursor: pointer;
}

.gqvl__close svg {
	display: block;
	width: 18px;
	height: 18px;
	overflow: visible;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.8;
	stroke-linecap: round;
	pointer-events: none;
}

.gqvl__close:hover,
.gqvl__close:focus-visible {
	border-color: #fff;
	background: #fff;
	color: #151515 !important;
	outline: 0;
}

.gqvl__media {
	display: grid;
	min-height: 240px;
	place-items: center;
	background: #080d10;
}

.gqvl__media video {
	display: block;
	width: 100%;
	max-height: calc(100vh - 150px);
	background: #000;
	object-fit: contain;
}

@media (max-width: 620px) {
	.gqvl {
		padding: 14px;
	}

	.gqvl__dialog {
		border-radius: 10px;
	}

	.gqvl__media video {
		max-height: calc(100vh - 110px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.gqvl,
	.gqvl__dialog {
		transition: none;
	}
}
