/* mx029 EmpireCMS templates — external overrides (do not embed in .htm) */


/* index */
/* 首页分类用 <a> 替代演示站 <span>，避免默认蓝字破坏 029 条样式 */
.module-tab-items-box a.module-tab-item { color: inherit; text-decoration: none; }
.module-tab-items-box a.module-tab-item:visited { color: inherit; }
.module-paper-item-main a { color: inherit; text-decoration: none; }
.module-paper-item-main a:visited { color: inherit; }
/* 电影/连续剧/综艺/动漫等海报区输出 14 条时，主题 style.css 会隐藏第 13～14 个或最后 2 个，此处仅在 .homepage 下恢复显示 */
.homepage .module-poster-items-base .module-poster-item:nth-child(n+13),
.homepage .module-poster-items-base .module-poster-item:nth-child(n+14),
.homepage .module-poster-items-base .module-poster-item:nth-child(n+15),
.homepage .module-poster-items-base .module-poster-item:nth-child(n+16) {
	display: inline-block !important;
}
.homepage .module-poster-items-base .module-poster-item:nth-last-child(-n+2),
.homepage .module-poster-items-base .module-poster-item:nth-last-child(-n+3),
.homepage .module-poster-items-base .module-poster-item:nth-last-child(-n+4) {
	display: inline-block !important;
}
/* 主题在窄屏隐藏「倒数 5 条」排行链接；条数较少时可能误伤，热榜区强制显示 */
@media (max-width: 559px) {
  .mx29-rank-paper-main.module-paper-item-main a:nth-last-child(-n+5) { display: -webkit-flex !important; display: flex !important; }
}

/* play */
.page.view .st44-play-back { background: linear-gradient(90deg,#e50914,#ff4d4f); color: #fff; }
.page.view .st44-play-back:hover { color: #fff; opacity: 0.92; }
.page.view .st44-play-crumbs a { color: #e50914; }
.page.view .st44-play-crumbs a:hover { color: #b8070f; }
.page.view .st44-play__big-play { color: #e50914; }
.page.view .st44-play-playlist-h::before { background: linear-gradient(180deg,#e50914,#ff6b6b); }
.page.view .st44-play-playlist-lead strong { color: #e50914; }
.page.view .st44-play-pl a:hover { color: #e50914; border-color: #f5a5a9; }
.page.view .st44-play-pl a.active { border-color: #e50914; background: linear-gradient(135deg,#e50914 0%,#ff3b30 100%); box-shadow: 0 2px 10px rgba(229,9,20,0.35); }
.page.view .mx29-play-inner { max-width: 100%; }
.page.view .st44-play-page-h1 { margin: 0 0 12px; padding: 0; font-size: 17px; font-weight: 600; line-height: 1.35; color: #1a1a1a; }
@media (max-width: 768px) {
  .page.view .st44-play-page-h1 { font-size: 15px; margin-bottom: 10px; }
}
.page.view .module-poster-items-base .module-poster-item:nth-child(n+13),
.page.view .module-poster-items-base .module-poster-item:nth-child(n+14),
.page.view .module-poster-items-base .module-poster-item:nth-child(n+15),
.page.view .module-poster-items-base .module-poster-item:nth-child(n+16) { display: inline-block !important; }
.page.view .module-poster-items-base .module-poster-item:nth-last-child(-n+2),
.page.view .module-poster-items-base .module-poster-item:nth-last-child(-n+3),
.page.view .module-poster-items-base .module-poster-item:nth-last-child(-n+4) { display: inline-block !important; }

/* show */
.page.view .mx29-newstext p { margin: 0 0 0.75em; }
.page.view .mx29-newstext p:last-child { margin-bottom: 0; }
.page.view .module-info-introduction-content { font-size: 15px; line-height: 1.65; color: #616161; }
.page.view .module-poster-items-base .module-poster-item:nth-child(n+13),
.page.view .module-poster-items-base .module-poster-item:nth-child(n+14),
.page.view .module-poster-items-base .module-poster-item:nth-child(n+15),
.page.view .module-poster-items-base .module-poster-item:nth-child(n+16) {
	display: inline-block !important;
}
.page.view .module-poster-items-base .module-poster-item:nth-last-child(-n+2),
.page.view .module-poster-items-base .module-poster-item:nth-last-child(-n+3),
.page.view .module-poster-items-base .module-poster-item:nth-last-child(-n+4) {
	display: inline-block !important;
}

/* list */
.module-tab-items-box a.module-tab-item { color: inherit; text-decoration: none; }
.module-tab-items-box a.module-tab-item:visited { color: inherit; }
.module-paper-item-main a { color: inherit; text-decoration: none; }
.module-paper-item-main a:visited { color: inherit; }
/* 列表页每页条数与栏目 lencord 一致（常见 14）时，恢复被主题隐藏的封面 */
.page.list .module-poster-items-base .module-poster-item:nth-child(n+13),
.page.list .module-poster-items-base .module-poster-item:nth-child(n+14),
.page.list .module-poster-items-base .module-poster-item:nth-child(n+15),
.page.list .module-poster-items-base .module-poster-item:nth-child(n+16) {
	display: inline-block !important;
}
.page.list .module-poster-items-base .module-poster-item:nth-last-child(-n+2),
.page.list .module-poster-items-base .module-poster-item:nth-last-child(-n+3),
.page.list .module-poster-items-base .module-poster-item:nth-last-child(-n+4) {
	display: inline-block !important;
}
@media (max-width: 559px) {
  .mx29-rank-paper-main.module-paper-item-main a:nth-last-child(-n+5) { display: -webkit-flex !important; display: flex !important; }
}
/* 列表页「子类 / 排序」：卡片化、标签与选项留白、与 029 首页分类条一致的圆角条样式 */
.page.list .mx29-list-filters {
	background: #fff;
	border-radius: 12px;
	border: 1px solid #e9ecef;
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
	padding: 4px 12px 4px 18px;
	margin-bottom: 22px;
	overflow: hidden;
}
.page.list .mx29-list-filters .mx29-filter-row {
	display: flex;
	align-items: flex-start;
	gap: 22px;
	padding: 14px 6px 14px 0;
	border-bottom: 1px solid #eef0f2;
}
.page.list .mx29-list-filters .mx29-filter-row:last-child {
	border-bottom: 0;
}
.page.list .mx29-list-filters .module-item-title {
	margin-right: 0;
	min-width: 56px;
	width: auto;
	flex-shrink: 0;
	line-height: 36px;
	padding-top: 0;
	font-size: 15px;
	font-weight: 700;
	color: #212121;
}
.page.list .mx29-list-filters .module-item-box {
	margin-left: 0;
	flex: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
}
.page.list .mx29-list-filters .module-item-box a {
	margin: 0;
	padding: 8px 16px;
	line-height: 1.35;
	font-size: 14px;
	border-radius: 8px;
	background: #e9ecef;
	color: #424242;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.page.list .mx29-list-filters .module-item-box a:hover {
	background: #dee2e6;
	color: #212121;
}
.page.list .mx29-list-filters .module-item-box a.active {
	background: #fff;
	color: #e50914;
	font-weight: 700;
	box-shadow: 0 0 0 1px rgba(229, 9, 20, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
}
.page.list .mx29-list-filters .module-item-box a::after {
	display: none;
}
.page.list .mx29-list-filters .module-item-box a.active::after {
	display: none;
}
/* 主题 .module { font-size:0 } 会让分页不可见；帝国分页多为 table 或块级 a，易纵向堆叠，此处统一横向 flex */
.page.list .module .module-page.mx29-list-pager {
	font-size: 14px !important;
	line-height: 1.5;
	color: #424242;
	margin-top: 8px;
	padding: 18px 12px 14px;
	border-top: 1px solid #eef0f2;
}
.page.list .module .module-page.mx29-list-pager .mx29-list-pager-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px 10px;
	width: 100%;
	box-sizing: border-box;
}
.page.list .module .module-page.mx29-list-pager .mx29-list-pager-inner table {
	display: block;
	width: auto;
	max-width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
}
.page.list .module .module-page.mx29-list-pager .mx29-list-pager-inner tbody {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px 10px;
}
.page.list .module .module-page.mx29-list-pager .mx29-list-pager-inner tr {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px 10px;
}
.page.list .module .module-page.mx29-list-pager .mx29-list-pager-inner td,
.page.list .module .module-page.mx29-list-pager .mx29-list-pager-inner th {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	vertical-align: middle;
	font-size: 14px !important;
	line-height: 1.4;
	white-space: nowrap;
}
.page.list .module .module-page.mx29-list-pager .mx29-list-pager-inner a,
.page.list .module .module-page.mx29-list-pager .mx29-list-pager-inner span {
	font-size: 14px !important;
	line-height: 1.4;
}
.page.list .module .module-page.mx29-list-pager .mx29-list-pager-inner a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 6px 12px;
	margin: 0;
	border-radius: 8px;
	background: #f1f3f5;
	color: #424242;
	text-decoration: none;
	float: none !important;
}
.page.list .module .module-page.mx29-list-pager .mx29-list-pager-inner a:hover {
	background: #e9ecef;
	color: #e50914;
}
.page.list .module .module-page.mx29-list-pager .mx29-list-pager-inner > a {
	display: inline-flex;
}
.page.list .mx29-list-pager-meta {
	font-size: 13px !important;
	color: #757575;
	text-align: center;
	margin-top: 16px;
	padding: 0 8px;
}
@media (max-width: 559px) {
	.page.list .mx29-list-filters {
		padding: 6px 0 6px 10px;
		margin-bottom: 14px;
		border-radius: 10px;
		overflow: visible;
		box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
	}
	/* 一行：左固定「子类/排序」文案，右为横向滑动标签，避免多行占满屏 */
	.page.list .mx29-list-filters .mx29-filter-row {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: stretch;
		gap: 10px;
		padding: 8px 0 10px 0;
		padding-right: 8px;
	}
	.page.list .mx29-list-filters .module-item-title {
		flex: 0 0 auto;
		min-width: 36px;
		line-height: 1.25;
		font-size: 13px;
		font-weight: 700;
		color: #212121;
		padding-top: 10px;
		padding-right: 2px;
		align-self: flex-start;
		white-space: nowrap;
	}
	.page.list .mx29-list-filters .module-item-box {
		flex: 1;
		min-width: 0;
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		gap: 8px;
		padding: 4px 2px 10px 0;
		scrollbar-width: thin;
		scroll-snap-type: x proximity;
	}
	.page.list .mx29-list-filters .module-item-box::-webkit-scrollbar {
		height: 4px;
	}
	.page.list .mx29-list-filters .module-item-box::-webkit-scrollbar-thumb {
		background: #cfd4da;
		border-radius: 4px;
	}
	.page.list .mx29-list-filters .module-item-box a {
		flex: 0 0 auto;
		scroll-snap-align: start;
		padding: 10px 16px;
		min-height: 44px;
		box-sizing: border-box;
		font-size: 14px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		white-space: nowrap;
	}
	.page.list .mx29-list-pager-meta {
		font-size: 12px !important;
		margin-top: 10px;
		padding: 0 6px;
		line-height: 1.45;
	}
	.page.list .module .module-page.mx29-list-pager {
		padding: 12px 6px 10px;
	}
	.page.list .module .module-page.mx29-list-pager .mx29-list-pager-inner {
		gap: 6px 8px;
	}
	.page.list .module .module-page.mx29-list-pager .mx29-list-pager-inner a {
		min-height: 40px;
		padding: 8px 10px;
		font-size: 13px !important;
	}
}

/* search */
.page.list.mx29-search .mx29-search-hero {
	background: #fff;
	border-radius: 12px;
	border: 1px solid #e9ecef;
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
	padding: 18px 20px 20px;
	margin-bottom: 22px;
}
.page.list.mx29-search .mx29-search-hero h1 {
	margin: 0 0 10px;
	font-size: 22px;
	font-weight: 700;
	color: #212121;
	line-height: 1.35;
}
.page.list.mx29-search .mx29-search-lead {
	margin: 0 0 8px;
	font-size: 14px;
	color: #757575;
	line-height: 1.55;
}
.page.list.mx29-search .mx29-search-meta {
	margin: 0 0 16px;
	font-size: 14px;
	color: #616161;
}
.page.list.mx29-search .mx29-search-meta strong { color: #e50914; font-weight: 700; }
.page.list.mx29-search .mx29-search-inline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 4px;
}
.page.list.mx29-search .mx29-search-inline-input {
	flex: 1;
	min-width: 160px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid #dee2e6;
	border-radius: 10px;
	font-size: 15px;
	box-sizing: border-box;
	background: #fafafa;
}
.page.list.mx29-search .mx29-search-inline-btn {
	height: 44px;
	padding: 0 20px;
	border: 0;
	border-radius: 10px;
	background: #e50914;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}
.page.list.mx29-search .mx29-search-inline-btn:hover { filter: brightness(1.05); }
.page.list .module-poster-items-base .module-poster-item:nth-child(n+13),
.page.list .module-poster-items-base .module-poster-item:nth-child(n+14),
.page.list .module-poster-items-base .module-poster-item:nth-child(n+15),
.page.list .module-poster-items-base .module-poster-item:nth-child(n+16) {
	display: inline-block !important;
}
.page.list .module-poster-items-base .module-poster-item:nth-last-child(-n+2),
.page.list .module-poster-items-base .module-poster-item:nth-last-child(-n+3),
.page.list .module-poster-items-base .module-poster-item:nth-last-child(-n+4) {
	display: inline-block !important;
}
.page.list .module .module-page.mx29-list-pager {
	font-size: 14px !important;
	line-height: 1.5;
	color: #424242;
	margin-top: 8px;
	padding: 18px 12px 14px;
	border-top: 1px solid #eef0f2;
}
.page.list .module .module-page.mx29-list-pager .mx29-list-pager-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px 10px;
	width: 100%;
	box-sizing: border-box;
}
.page.list .module .module-page.mx29-list-pager .mx29-list-pager-inner table {
	display: block;
	width: auto;
	max-width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
}
.page.list .module .module-page.mx29-list-pager .mx29-list-pager-inner tbody {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px 10px;
}
.page.list .module .module-page.mx29-list-pager .mx29-list-pager-inner tr {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px 10px;
}
.page.list .module .module-page.mx29-list-pager .mx29-list-pager-inner td,
.page.list .module .module-page.mx29-list-pager .mx29-list-pager-inner th {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	vertical-align: middle;
	font-size: 14px !important;
	line-height: 1.4;
	white-space: nowrap;
}
.page.list .module .module-page.mx29-list-pager .mx29-list-pager-inner a,
.page.list .module .module-page.mx29-list-pager .mx29-list-pager-inner span {
	font-size: 14px !important;
	line-height: 1.4;
}
.page.list .module .module-page.mx29-list-pager .mx29-list-pager-inner a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 6px 12px;
	margin: 0;
	border-radius: 8px;
	background: #f1f3f5;
	color: #424242;
	text-decoration: none;
	float: none !important;
}
.page.list .module .module-page.mx29-list-pager .mx29-list-pager-inner a:hover {
	background: #e9ecef;
	color: #e50914;
}
.page.list .mx29-list-pager-meta {
	font-size: 13px !important;
	color: #757575;
	text-align: center;
	margin-top: 16px;
	padding: 0 8px;
}
@media (max-width: 559px) {
	.page.list.mx29-search .mx29-search-hero { padding: 14px 14px 16px; margin-bottom: 14px; }
	.page.list.mx29-search .mx29-search-hero h1 { font-size: 18px; }
	.page.list.mx29-search .mx29-search-inline-input { min-width: 0; width: 100%; }
	.page.list.mx29-search .mx29-search-inline-btn { width: 100%; }
}

/* paihangbang */
.module-tab-items-box a.module-tab-item { color: inherit; text-decoration: none; }
.module-tab-items-box a.module-tab-item:visited { color: inherit; }
.homepage .module-poster-items-base .module-poster-item:nth-child(n+13),
.homepage .module-poster-items-base .module-poster-item:nth-child(n+14),
.homepage .module-poster-items-base .module-poster-item:nth-child(n+15),
.homepage .module-poster-items-base .module-poster-item:nth-child(n+16) {
	display: inline-block !important;
}
.homepage .module-poster-items-base .module-poster-item:nth-last-child(-n+2),
.homepage .module-poster-items-base .module-poster-item:nth-last-child(-n+3),
.homepage .module-poster-items-base .module-poster-item:nth-last-child(-n+4) {
	display: inline-block !important;
}
.homepage .mx29-phb-foot {
	text-align: center;
	padding: 6px 0 20px;
	border-top: 1px solid #eef0f2;
	margin-top: 4px;
}
.homepage .mx29-phb-foot a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: #e50914;
	text-decoration: none;
}
.homepage .mx29-phb-foot a:hover { text-decoration: underline; }
.homepage .module-poster-item-info .module-item-note.mx29-phb-sub {
	white-space: normal;
	text-overflow: clip;
	overflow: visible;
	display: block;
	text-align: center;
	line-height: 1.4;
	max-height: 2.8em;
}

/* zuijinxin */
.module-tab-items-box a.module-tab-item { color: inherit; text-decoration: none; }
.module-tab-items-box a.module-tab-item:visited { color: inherit; }
.homepage .module-poster-items-base .module-poster-item:nth-child(n+13),
.homepage .module-poster-items-base .module-poster-item:nth-child(n+14),
.homepage .module-poster-items-base .module-poster-item:nth-child(n+15),
.homepage .module-poster-items-base .module-poster-item:nth-child(n+16) {
	display: inline-block !important;
}
.homepage .module-poster-items-base .module-poster-item:nth-last-child(-n+2),
.homepage .module-poster-items-base .module-poster-item:nth-last-child(-n+3),
.homepage .module-poster-items-base .module-poster-item:nth-last-child(-n+4) {
	display: inline-block !important;
}
.homepage .mx29-zjx-foot {
	text-align: center;
	padding: 6px 0 20px;
	border-top: 1px solid #eef0f2;
	margin-top: 4px;
}
.homepage .mx29-zjx-foot a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: #e50914;
	text-decoration: none;
}
.homepage .mx29-zjx-foot a:hover { text-decoration: underline; }