/* Nive Video Modal – fullscreen */

html.nvm-modal-open,
html.nvm-modal-open body {
	overflow: hidden !important;
}

#nvm-modal-root[hidden] {
	display: none !important;
}

.nvm-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: stretch;
	justify-content: stretch;
	padding: 0;
	margin: 0;
	width: 100vw;
	height: 100vh;
	height: 100dvh;
	background: #000;
	animation: nvm-fade-in 0.25s ease;
}

.nvm-dialog {
	position: relative;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	background: #000;
	border-radius: 0;
	box-shadow: none;
	animation: nvm-fade-in 0.3s ease;
}

.nvm-title {
	position: absolute;
	top: 1rem;
	left: 1rem;
	z-index: 2;
	margin: 0 4rem 0 0;
	color: #fff;
	font-size: 1.125rem;
	font-weight: 700;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
	pointer-events: none;
}

.nvm-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 3;
	width: 2.75rem;
	height: 2.75rem;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	backdrop-filter: blur(4px);
}

.nvm-close:hover {
	background: rgba(255, 255, 255, 0.28);
}

.nvm-media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background: #000;
	border-radius: 0;
	overflow: hidden;
}

.nvm-iframe,
.nvm-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
	background: #000;
	object-fit: contain;
}

.nvm-play-gate {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin: 0;
	padding: 0;
	border: 0;
	background: #000;
	cursor: pointer;
	color: #fff;
}

.nvm-play-gate:hover {
	background: #0a0a0a;
}

.nvm-play-gate:hover .nvm-play-gate-icon {
	transform: scale(1.06);
}

.nvm-play-gate-icon {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 36px 0 36px 60px;
	border-color: transparent transparent transparent #fff;
	filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.45));
	margin-left: 10px;
	transition: transform 0.15s ease;
}

.nvm-play-gate-text {
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	opacity: 0.9;
}

.nvm-unmute {
	display: none;
}

@keyframes nvm-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}
