@charset "UTF-8";
/* ===================================
   tags.css - 仅展示部分样式，无全局重置
   适配 .module-search-item 及其子项
   包含图标字体与响应式断点
   =================================== */



/* 盒模型隔离：仅对模块内元素生效 */
.module,
.module *,
.module *::before,
.module *::after {
	box-sizing: border-box;
}

/* 模块通用布局 */
.module {
	padding-bottom: 20px;
}

.module-list {
	font-size: 0;
}

.module-items {
	margin-right: -18px;
}

/* ---------- 搜索/列表项卡片 ---------- */
.module-search-item {
	border-radius: 18px;
	background: #f7f8f9;
	width: calc(50% - 20px);
	padding: 20px;
	margin: 0 20px 20px 0;
	display: inline-block;
	position: relative;
	vertical-align: top;    /* ← 添加这一行 */
}

/* 封面区域 */
.video-cover {
	float: right;
	width: 200px;
	overflow: hidden;
	margin: 0 0 0 25px;
	border-radius: 10px;
}

.module-search-item .video-cover {
	width: 155px;
	float: left;
	margin: 0 25px 0 0;
}

.module-item-cover {
	position: relative;
	height: 0;
	padding-top: 140%;
	background-position: 50% 50%;
	background-size: cover;
	overflow: hidden;
	border-radius: 5px;
}

.module-item-pic,
.module-item-pic img {
	height: 100%;
	width: 100%;
}

.module-item-pic img {
	top: 0;
	left: 0;
	object-fit: cover;
	position: absolute;
}

/* 懒加载占位 */
.module-item-pic img.lazyloading + .loading {
	position: absolute;
	opacity: 1;
	bottom: 25%;
	left: 50%;
	margin-left: -15px;
	width: 30px;
	height: 30px;
	display: inline-block;
	vertical-align: middle;
	animation: Loading 1s steps(8, end) infinite;
	background: #e3e6eb url(../image/load.svg) no-repeat;
	border-radius: 50px;
	border: 5px solid #e3e6eb;
	background-size: 100%;
}

@keyframes Loading {
	0% { -webkit-transform: rotate3d(0, 0, 1, 0deg); transform: rotate3d(0, 0, 1, 0deg); }
	100% { -webkit-transform: rotate3d(0, 0, 1, 360deg); transform: rotate3d(0, 0, 1, 360deg); }
}

/* 播放按钮浮层 */
.module-item-pic a {
	padding-top: 53px;
	height: 100%;
	width: 100%;
	text-align: center;
	position: absolute;
	background-size: cover;
	left: 0;
	top: 0;
	z-index: 1;
}

.module-item-pic a i {
	opacity: 0;
	transform: scale(0.6);
	height: 40px;
	width: 40px;
	background: #fff;
	color: rgba(7, 7, 10, 0.92);
	border-radius: 50px;
	line-height: 40px;
	text-indent: 2.5px;
	font-size: 12px;
}

.module-item-cover:hover .module-item-pic a {
	background: rgba(0, 0, 0, 0.28);
}

.module-item-cover:hover .module-item-pic a i {
	opacity: 0.88;
	transform: scale(0.9);
}

.module-item-cover:hover .module-item-pic a i:hover {
	opacity: 1;
}

/* 评分徽章 */
.video-serial {
	float: right;
	margin: -23px -23px 0 15px;
	border: 3px solid #fff;
	color: rgba(0, 0, 0, 0.4);
	font-size: 12px;
	background: #eaedf1;
	padding: 0 12px;
	border-radius: 0 18px 0 10px;
	line-height: 35px;
	display: inline-block;
}

/* 视频信息区 */
.video-info {
	padding: 0 0 5px 5px;
}

.module-search-item .video-info {
	padding: 0;
}

.video-info-header h3 {
	font-size: 20px;
	font-weight: 700;
	display: block;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}

.module-search-item .video-info-header h3 {
	font-size: 20px;
	font-weight: 700;
}

.video-info-header h3 a {
	color: #282828;
	text-decoration: none;
}

.video-info-header h3 a:hover {
	color: #ff2a14;
}

/* 辅助信息行 (分类/年份/地区) */
.video-info-aux {
	font-size: 0;
	margin-top: 5px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

.tag-link {
	padding: 0 10px;
	line-height: 28px;
	font-size: 14px;
	border-radius: 10px;
	display: inline-block;
	background: #f3f5f7;
	color: rgba(0, 0, 0, 0.68);
	margin-left: 5px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.video-info-aux .tag-link:first-child {
	background: #fef0e5;
	margin: 0;
}

.tag-link:hover {
	background: #eaedf1;
}

/* 导演/主演/剧情区域 */
.video-info-main {
	padding: 20px 0;
}

.module-search-item .video-info-main {
	padding: 10px 0;
}

.video-info-items {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	padding-bottom: 5px;
	line-height: 1.7;
}

.video-info-itemss {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	padding-bottom: 5px;
	line-height: 1.7;
}

.module-search-item .video-info-items {
	font-size: 14px;
	max-width: 60%;
}

.video-info-itemss .video-info-actor {
    width: 100%
}

.module-search-item .video-info-itemss {
	font-size: 14px;
	max-width: 60%;
}

.video-info-itemss:last-child {
    min-height: 50px;
    padding: 0
}

.video-info-itemtitle {
	display: inline-block;
	min-width: 46px;
	font-weight: 700;
	color: rgba(0, 0, 0, 0.51);
}

.video-info-actor {
	display: block;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	width: 100%;
}

/* 斜杠分隔符 */
.slash {
	padding: 0 7px;
	color: #d7dae1;
}

.slash:first-child {
	display: none;
}

.slash:last-child {
	display: none;
}

/* 剧情简介 */
.module-search-item .video-info-items:nth-child(3) .video-info-item {
	display: block;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap
}

.module-search-item .video-info-itemss:nth-child(3) .video-info-item {
	display: block;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap
}

/* 空状态提示（可选）*/
.module-items .empty-tip {
	text-align: center;
	padding: 50px;
	color: #999;
}

/* ---------- 响应式适配 ---------- */
@media (max-width: 1239px) {
	.module-items {
		margin-right: -18px;
	}
	.module-search-item {
		width: 100%;
		margin: 0 0 20px;
	}
	.module-search-item .video-info-items {
		max-width: inherit;
	}
	
	.module-search-item .video-info-itemss {
		max-width: inherit;
	}
	
		.player-info .video-info-itemss:last-child {
        min-height: auto
    }
    
    .module-search-item .video-info-itemss {
    font-size: 14px;
}
    
    .module-search-item .video-info-itemss:nth-child(3) {
    min-height: 41px
}

	.module-search-item .video-info-itemss {
        max-width: inherit
    }
    
    	.module-search-item .video-info-itemss {
        max-width: inherit
    }
    
    	.player-info .video-info-itemss:nth-child(-n+2) .video-info-item {
        display: inline-block;
        width: auto;
        white-space: inherit;
        overflow: inherit
    }
    
    

}

@media (max-width: 899px) {
	.module-items {
		margin-right: -15px;
	}
	.module-search-item {
		padding: 20px;
	}
	.module-search-item .video-cover {
		width: 150px;
		margin-right: 20px;
	}
	.video-info-header h3 {
		font-size: 18px;
	}
	
		.player-info .video-info-itemss {
        display: inline-block
    }

}

@media (max-width: 559px) {
	.module {
		margin: 0 -15px;
		padding-left: 15px;
		padding-right: 15px;
	}
	.module-items {
		margin-right: -10px;
	}
	.module-search-item {
		margin: 0 0 15px;
		padding: 12px 12px 15px;
	}
	.module-search-item .video-cover {
		width: 80px;
		margin: 0 12px 25px 0;
		border-radius: 5px;
	}
	.module-search-item .video-info-header h3 {
		font-size: 16px;
		white-space: inherit;
		line-height: 1.4;
	}
	.module-search-item .video-info-items
	{
		font-size: 12px;
		padding: 0px;
	}
	
	.module-search-item .video-info-itemss
	{
		font-size: 12px;
		padding: 0px;
	}
	
	.video-info-aux .tag-link {
		font-size: 12px;
		line-height: 25px;
		padding: 0 7px;
	}
	.video-info-main {
		padding: 5px 0 10px;
	}
	.video-info-items {
		font-size: 12px;
		padding: 0;
	}
	
	.video-info-itemss {
		font-size: 12px;
		padding: 0;
	}
	
	.view .video-info-itemss {
        padding: 5px 0 0
    }
    
    .view .video-info-itemss:last-child {
        padding-bottom: 10px
    }
    
    .module-search-item .video-info-itemss {
        min-height: auto
    }
    
    .module-search-item .video-info-itemss {
        padding: 0;
        font-size: 12px
    }
    
    .module-search-item .video-info-itemss:last-child {
        display: nones
    }
    
    
	
	.video-info-itemtitle {
		min-width: 37px;
	}
	.video-serial {
		margin: -15px -15px 0 5px;
		line-height: 25px;
		border-radius: 0 13px 0 10px;
		padding: 0 8px;
		font-size: 10px;
	}
	/* 隐藏多余项以节省空间 */
	.module-search-item .video-info-items:last-child {
		display: none;
	}
	
	.module-search-item .module-item-pic img.lazyloading + .loading {
		bottom: 11%;
	}
}

/* 确保链接颜色统一 */
.video-info a {
	text-decoration: none;
	color: inherit;
}
.video-info a:hover {
	color: #ff2a14;
}