/* 有方 VOD 播放器容器 */
.yf-vod-wrap {
	position: relative;
	width: 100%;
	height: auto !important;
	margin: 0 0 25px;
}

.yf-vod-player {
	position: relative;
	width: 100%;
	height: auto !important;
	aspect-ratio: 16 / 9;
	background: #000;
	overflow: hidden;
}

/* Aliplayer 全屏/原生全屏时恢复整屏，不要被上面的 height:auto 压回 16:9。 */
.yf-vod-player.prism-fullscreen,
.yf-vod-player:fullscreen {
	width: 100% !important;
	height: 100% !important;
}

.yf-vod-player video {
	cursor: pointer;
}

.yf-vod-player .prism-controlbar,
.yf-vod-player .prism-controlbar * {
	cursor: default;
}

.yf-vod-player .yf-vod-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
	font-size: 14px;
	background: #000;
	z-index: 1;
}

.yf-vod-label {
	margin-top: 8px;
	font-size: 14px;
	color: #666;
}

.yf-vod-processing {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #000;
	color: #ddd;
	font-size: 14px;
	text-align: center;
	padding: 20px;
}

.yf-vod-legacy-live,
.yf-vod-legacy-live iframe {
	width: 100%;
	display: block;
}

.yf-vod-legacy-live iframe {
	aspect-ratio: 16 / 9;
	height: auto;
}

/* 试看结束浮层（付费墙接入后启用） */
.yf-vod-preview-mask {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.72);
	z-index: 5;
}

.yf-vod-preview-card {
	text-align: center;
	color: #fff;
	padding: 24px 32px;
}

.yf-vod-preview-title {
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 8px;
}

.yf-vod-preview-desc {
	font-size: 14px;
	margin: 0 0 18px;
	color: #ddd;
}

.yf-vod-preview-btn {
	display: inline-block;
	padding: 10px 28px;
	background: #00164b;
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	border-radius: 2px;
}

.yf-vod-preview-btn:hover {
	background: #0b2a6b;
	color: #fff;
}

@media (max-width: 768px) {
	.yf-vod-wrap {
		margin-bottom: 18px;
	}
}
