/* W-60: ô video đầu bộ ảnh SP (máy tính + điện thoại). */
.mitomo-w60-o {
	position: relative;
	width: 100%;
}

.mitomo-w60-khung {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #000;
}

.mitomo-w60-bia {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	cursor: pointer;
}

.mitomo-w60-play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.mitomo-w60-play:hover svg,
.mitomo-w60-play:focus svg {
	transform: scale(1.08);
}

.mitomo-w60-play svg {
	transition: transform 0.15s;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.mitomo-w60-khung iframe,
.mitomo-w60-khung video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	background: #000;
}

/* Ô ảnh nhỏ ▶ (hàng ảnh nhỏ Flatsome) */
.mitomo-w60-th a {
	position: relative;
	display: block;
}

.mitomo-w60-th img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.mitomo-w60-th__play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

/* Đếm «1/N» — chỉ điện thoại */
.mitomo-w60-dem {
	display: none;
}

@media (max-width: 849px) {
	.mitomo-w60-dem:not([hidden]) {
		position: absolute;
		right: 10px;
		bottom: 10px;
		z-index: 5;
		display: block;
		padding: 2px 10px;
		border-radius: 12px;
		background: rgba(0, 0, 0, 0.55);
		color: #fff;
		font-size: 12px;
		line-height: 18px;
		pointer-events: none;
	}
}

/* W-60b: lớp phủ khi video đang phát — chừa 48px dưới cho thanh tua / âm lượng / toàn màn hình. */
.mitomo-w60-phu {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 48px;
	left: 0;
	z-index: 2;
	background: transparent;
	cursor: grab;
	touch-action: pan-y;
	-webkit-tap-highlight-color: transparent;
}

.mitomo-w60-phu:active {
	cursor: grabbing;
}

/* W-60b: 2 mũi tên mờ 2 cạnh ô video. */
.mitomo-w60-mui {
	position: absolute;
	top: 50%;
	z-index: 3;
	width: 34px;
	height: 34px;
	min-height: 0;
	margin: -17px 0 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.35);
	color: #fff;
	font-size: 26px;
	line-height: 32px;
	text-align: center;
	cursor: pointer;
	opacity: 0.75;
}

.mitomo-w60-mui:hover,
.mitomo-w60-mui:focus {
	background: rgba(0, 0, 0, 0.55);
	opacity: 1;
}

.mitomo-w60-mui[hidden] {
	display: none;
}

.mitomo-w60-mui--truoc {
	left: 8px;
}

.mitomo-w60-mui--sau {
	right: 8px;
}
