/* Play Video button */
.mhhv-play-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	background: transparent;
	font: inherit;
	line-height: 1;
}
.mhhv-play-icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

/* Modal shell */
.mhhv-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
}
.mhhv-modal.mhhv-open {
	display: flex;
}
.mhhv-overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 15, 15, 0.72);
	backdrop-filter: blur(2px);
	opacity: 0;
	transition: opacity 0.25s ease;
}
.mhhv-modal.mhhv-open .mhhv-overlay {
	opacity: 1;
}

/* Dialog / video box */
.mhhv-dialog {
	position: relative;
	width: 100%;
	max-width: 860px;
	background: #000;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
	transform: scale(0.94) translateY(10px);
	opacity: 0;
	transition: transform 0.28s ease, opacity 0.28s ease;
}
.mhhv-modal.mhhv-open .mhhv-dialog {
	transform: scale(1) translateY(0);
	opacity: 1;
}

.mhhv-video-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
}
.mhhv-video-wrap video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	background: #000;
}

/* Close button */
.mhhv-close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.55);
	border: none;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}
.mhhv-close:hover {
	background: rgba(0, 0, 0, 0.8);
	transform: scale(1.06);
}
.mhhv-close svg {
	width: 18px;
	height: 18px;
}

/* Lock body scroll while modal open */
body.mhhv-no-scroll {
	overflow: hidden;
}

/* Responsive */
@media (max-width: 640px) {
	.mhhv-modal {
		padding: 0;
	}
	.mhhv-dialog {
		max-width: 100%;
		border-radius: 0;
		height: 100%;
		display: flex;
		align-items: center;
	}
	.mhhv-video-wrap {
		aspect-ratio: auto;
		height: auto;
	}
	.mhhv-close {
		top: 16px;
		right: 16px;
	}
}
