.mv-module {
	--mv-accent: #3d3d3d;
	--mv-btn-bg: rgba(20, 20, 20, 0.62);
	--mv-btn-bg-hover: rgba(20, 20, 20, 0.82);
	margin: 0 0 1rem;
}

.mv-module--mobile-only {
	display: none;
}

@media (max-width: 720px) {
	.mv-module--mobile-only {
		display: block;
	}
}

.mv-module__frame {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	background: #111;
	aspect-ratio: 9 / 16;
	max-height: min(78vh, 720px);
	margin: 0 auto;
}

.mv-module__video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	vertical-align: middle;
	cursor: pointer;
}

.mv-module__shade {
	pointer-events: none;
	position: absolute;
	inset: auto 0 0;
	height: 42%;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent);
	opacity: 1;
	transition: opacity 0.25s ease;
}

.mv-module.is-playing.is-unmuted .mv-module__shade {
	opacity: 0.35;
}

.mv-module__controls {
	position: absolute;
	right: 12px;
	bottom: 12px;
	display: flex;
	gap: 8px;
	z-index: 2;
}

.mv-module__btn {
	appearance: none;
	border: 0;
	margin: 0;
	padding: 0;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--mv-btn-bg);
	color: #fff;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	transition: background 0.2s ease, transform 0.2s ease;
}

.mv-module__btn:active {
	transform: scale(0.96);
}

.mv-module__btn:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.mv-module__btn--play {
	width: 52px;
	height: 52px;
}

.mv-module__icon {
	display: inline-flex;
	line-height: 0;
}

.mv-module__icon[hidden] {
	display: none !important;
}

@media (min-width: 721px) {
	.mv-module--mobile-only {
		display: none !important;
		margin: 0 !important;
		padding: 0 !important;
		height: 0 !important;
		overflow: hidden !important;
	}
}
