* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
	/* 白色背景主题 */
	background: #f8fafc;
	color: #1e293b;
	line-height: 1.5;
	scroll-behavior: smooth;
	overflow-x: hidden;
}

/* 自定义滚动条 - 浅色风格 */
::-webkit-scrollbar {
	width: 6px;
	height: 6px;
}

::-webkit-scrollbar-track {
	background: #e2e8f0;
	border-radius: 8px;
}

::-webkit-scrollbar-thumb {
	background: #94a3b8;
	border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
	background: #64748b;
}

/* 全局容器 */
.container {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 16px;
}

/* 白色背景下的装饰光晕更淡雅 */
.bg-glow {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: -1;
	overflow: hidden;
}

.glow-1 {
	position: absolute;
	top: -20vh;
	right: -30vw;
	width: 80vw;
	height: 80vw;
	background: radial-gradient(circle, rgba(250, 204, 21, 0.12) 0%, rgba(248, 250, 252, 0) 70%);
	border-radius: 50%;
	filter: blur(80px);
}

.glow-2 {
	position: absolute;
	bottom: -10vh;
	left: -30vw;
	width: 85vw;
	height: 85vw;
	background: radial-gradient(circle, rgba(148, 163, 184, 0.1) 0%, rgba(248, 250, 252, 0) 70%);
	border-radius: 50%;
	filter: blur(100px);
}

/* 头部导航 - 白色玻璃效果 */
.navbar {
	padding: 14px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	backdrop-filter: blur(12px);
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02);
}

.nav-wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

@media (max-width: 768px) {
	.nav-wrapper {
		flex-direction: column;
		align-items: center;
		gap: 12px;
	}
}

.logo-area {
	display: flex;
	align-items: baseline;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: center;
}

.logo {
	font-size: 1.6rem;
	font-weight: 800;
	background: linear-gradient(135deg, #eab308, #d97706, #ea580c);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
	letter-spacing: -0.5px;
}

.logo-badge {
	background: #fef9c3;
	padding: 3px 10px;
	border-radius: 60px;
	font-size: 0.65rem;
	font-weight: 600;
	border: 1px solid #facc1540;
	color: #854d0e;
	backdrop-filter: blur(4px);
	white-space: nowrap;
}

.domain-group {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	background: #f1f5f9;
	padding: 8px 14px;
	border-radius: 60px;
	font-size: 0.7rem;
	font-family: monospace;
}

.domain-group span {
	color: #475569;
}

.domain-group a {
	color: #ca8a04;
	text-decoration: none;
	transition: 0.2s;
	font-weight: 500;
}

.domain-group a:hover {
	color: #b45309;
}

/* hero 区域 */
.hero {
	padding: 32px 0 24px 0;
}

.hero-content {
	text-align: center;
	width: 100%;
}

.hero h1 {
	font-size: 2rem;
	font-weight: 800;
	background: linear-gradient(125deg, #1e293b, #b45309, #eab308);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
	margin-bottom: 16px;
}

.hero-tagline {
	font-size: 0.9rem;
	color: #475569;
	border-left: 3px solid #eab308;
	padding-left: 14px;
	margin: 16px auto;
	width: 90%;
	text-align: left;
}

.stats-badge {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin: 24px 0 20px;
	flex-wrap: wrap;
}

.stat {
	background: #ffffffcc;
	backdrop-filter: blur(8px);
	padding: 6px 18px;
	border-radius: 48px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
	flex: 0 1 auto;
}

.stat-number {
	font-weight: 800;
	font-size: 1.4rem;
	color: #d97706;
}

.stat-label {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #475569;
}

/* API接口区域 - 浅色卡片 */
.api-links {
	background: #ffffff;
	border-radius: 32px;
	padding: 24px 28px;
	margin: 24px 0;
	border: 1px solid #e2e8f0;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}

.api-item {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: monospace;
	background: #f8fafc;
	padding: 10px 20px;
	border-radius: 60px;
	font-size: 0.85rem;
	word-break: break-all;
	flex: 1 1 auto;
	min-width: 240px;
	justify-content: center;
	border: 1px solid #e2e8f0;
	transition: all 0.2s;
	color: #0f172a;
}

.api-item:hover {
	border-color: #facc15;
	background: #fffbeb;
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.badge {
	background: linear-gradient(135deg, #facc15, #f59e0b);
	color: #422006;
	font-weight: 800;
	font-size: 0.75rem;
	border-radius: 40px;
	padding: 4px 14px;
	white-space: nowrap;
	letter-spacing: 0.5px;
	box-shadow: 0 1px 3px rgba(250, 204, 21, 0.4);
}

/* 播放说明 - 浅色醒目 */
.play-note {
	background: #fff7ed;
	border-left: 4px solid #facc15;
	padding: 16px 22px;
	border-radius: 24px;
	font-size: 0.85rem;
	margin: 20px auto;
	display: block;
	text-align: left;
	word-break: break-word;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
	color: #3b2e1e;
}

.play-note i {
	color: #eab308;
	margin-right: 8px;
}

.play-note .note-highlight {
	color: #d97706;
	font-weight: 600;
}

.help-link {
	margin-top: 8px;
	font-size: 0.7rem;
}

.help-link a {
	color: #eab308;
	text-decoration: none;
}

/* 影片区域 */
.section-title {
	font-size: 1.4rem;
	font-weight: 700;
	margin: 32px 0 20px 0;
	display: flex;
	align-items: center;
	gap: 10px;
	border-left: 5px solid #eab308;
	padding-left: 14px;
	color: #0f172a;
}

.section-title i {
	color: #eab308;
}

/* 网格布局 PC端一行6个 手机一行2个 */
.movie-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 20px;
	margin-bottom: 40px;
}

/* 卡片白色风格 */
.movie-card {
	background: #ffffff;
	overflow: hidden;
	transition: all 0.25s ease;
	border: 1px solid #eef2ff;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	border-radius: 20px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.movie-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 25px -12px rgba(0, 0, 0, 0.1);
	border-color: #fed7aa;
}

.movie-card:active {
	transform: scale(0.98);
}

.card-media {
	position: relative;
	background: #f1f5f9;
	width: 100%;
	height: 260px;
	overflow: hidden;
}

.card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 0;
}

.card-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	background: #facc15dd;
	backdrop-filter: blur(4px);
	padding: 3px 10px;
	border-radius: 30px;
	font-size: 0.6rem;
	font-weight: 800;
	color: #3b2e1e;
}

.card-info {
	padding: 16px 14px 18px;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.movie-name {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	min-height: 2.8em;
	word-break: break-word;
	color: #0f172a;
}

.movie-category {
	font-size: 0.65rem;
	background: #fef9c3;
	padding: 2px 10px;
	border-radius: 30px;
	color: #b45309;
	font-weight: 600;
	display: inline-block;
	width: fit-content;
}

.update-time {
	font-size: 0.6rem;
	color: #64748b;
	display: flex;
	align-items: center;
	gap: 5px;
	margin-top: 4px;
}

.episode-status {
	font-size: 0.75rem;
	color: #475569;
	font-weight: 500;
	margin-top: 2px;
}

.episode-status i {
	font-size: 0.7rem;
	color: #eab308;
}

/* 翻页样式 浅色 */
.pagination {
	margin: 40px 0 60px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.pc_pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.page_link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	background: #ffffff;
	backdrop-filter: blur(4px);
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	color: #334155;
	font-size: 0.85rem;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.2s ease;
	cursor: pointer;
}

.page_link:hover {
	background: #fef9c3;
	border-color: #facc15;
	color: #b45309;
	transform: translateY(-2px);
}

.page_link.current {
	background: linear-gradient(135deg, #facc15, #f59e0b);
	border-color: #facc15;
	color: #422006;
	font-weight: 700;
	cursor: default;
	pointer-events: none;
	box-shadow: 0 2px 8px rgba(250, 204, 21, 0.4);
}

/* 底部区域 */
.footer {
	background: #f1f5f9;
	margin-top: 40px;
	padding: 30px 0 24px;
	border-top: 1px solid #e2e8f0;
	font-size: 0.7rem;
	color: #475569;
}

.footer a {
	color: #d97706;
	text-decoration: none;
}

.disclaimer {
	max-width: 100%;
	margin: 12px auto;
	background: #ffffffcc;
	padding: 14px;
	line-height: 1.5;
	word-break: break-word;
	backdrop-filter: blur(4px);
}

.load-more {
	text-align: center;
	margin: 16px 0 32px;
}

button {
	background: #ffffff;
	border: 1px solid #facc15;
	padding: 10px 28px;
	border-radius: 60px;
	font-weight: 600;
	font-size: 0.85rem;
	color: #b45309;
	cursor: pointer;
	transition: 0.2s;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

button:active {
	transform: scale(0.96);
}

button:disabled {
	opacity: 0.5;
	transform: none;
}

i {
	margin-right: 4px;
}

/* 响应式 */
@media (max-width: 992px) {
	.movie-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 16px;
	}
}

@media (max-width: 768px) {
	.container {
		padding: 0 14px;
	}

	.movie-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}

	.card-info {
		padding: 12px 10px 14px;
	}

	.movie-name {
		font-size: 0.85rem;
	}

	.movie-category {
		font-size: 0.6rem;
	}

	.episode-status {
		font-size: 0.7rem;
	}

	.pagination {
		margin: 30px 0 40px;
	}

	.pc_pagination {
		gap: 8px;
	}

	.page_link {
		min-width: 34px;
		height: 34px;
		padding: 0 8px;
		font-size: 0.75rem;
		border-radius: 10px;
	}

	.api-item {
		min-width: auto;
		font-size: 0.75rem;
		padding: 8px 16px;
	}

	.badge {
		font-size: 0.7rem;
		padding: 3px 10px;
	}

	.api-links {
		padding: 18px;
		gap: 12px;
	}

	.play-note {
		font-size: 0.75rem;
		padding: 12px 16px;
	}
}

@media (max-width: 480px) {
	.movie-grid {
		gap: 12px;
	}

	.card-info {
		padding: 10px 8px 12px;
	}

	.movie-name {
		font-size: 0.8rem;
	}

	.logo {
		font-size: 1.4rem;
	}

	.domain-group {
		font-size: 0.6rem;
		padding: 6px 10px;
	}

	.section-title {
		font-size: 1.2rem;
	}

	.pc_pagination {
		gap: 6px;
	}

	.page_link {
		min-width: 30px;
		height: 30px;
		padding: 0 6px;
		font-size: 0.7rem;
	}
}

@media (hover: none) and (pointer: coarse) {
	.movie-card:hover {
		transform: none;
	}
}



.breadcrumb {
	margin: 20px 0 20px;
	font-size: 0.8rem;
	color: #64748b;
}

.breadcrumb a {
	color: #d97706;
	text-decoration: none;
}

.breadcrumb i {
	margin: 0 6px;
	font-size: 0.7rem;
}

/* ========= 双栏布局（封面+资料） ========= */
.detail-double {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	margin-bottom: 32px;
}

/* 左侧海报区 */
.poster-area {
	flex: 0 0 280px;
}

@media (max-width: 768px) {
	.poster-area {
		flex: 0 0 220px;
		margin: 0 auto;
	}
}

.poster-card {
	background: white;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.12);
	border: 1px solid #eef2ff;
	transition: transform 0.2s;
}

.poster-card:hover {
	transform: translateY(-4px);
}

.poster-img {
	width: 100%;
	aspect-ratio: 2 / 2.8;
	object-fit: cover;
	background: #eef2ff;
	display: block;
}

.poster-footer {
	padding: 16px;
	text-align: center;
	border-top: 1px solid #f1f5f9;
}

.play-link {
	display: inline-block;
	background: linear-gradient(135deg, #eab308, #d97706);
	color: white;
	padding: 8px 20px;
	border-radius: 40px;
	font-size: 0.8rem;
	font-weight: 600;
	text-decoration: none;
	transition: 0.2s;
}

.play-link:hover {
	transform: scale(1.02);
	box-shadow: 0 4px 12px rgba(234, 179, 8, 0.4);
}

/* 右侧资料区 */
.info-area {
	flex: 1;
	min-width: 260px;
}

.movie-title {
	font-size: 2rem;
	font-weight: 800;
	background: linear-gradient(135deg, #0f172a, #b45309);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
	margin-bottom: 12px;
}

.en-title {
	font-size: 0.85rem;
	color: #94a3b8;
	margin-bottom: 16px;
	letter-spacing: 0.5px;
}

.rating-row {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 20px;
}

.score {
	background: #fef9c3;
	padding: 4px 14px;
	border-radius: 40px;
	font-weight: 700;
	font-size: 0.85rem;
}

.imdb {
	background: #f1f5f9;
	padding: 4px 14px;
	border-radius: 40px;
	font-size: 0.75rem;
}

/* 资料网格 */
.info-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px 24px;
	background: white;
	padding: 20px;
	border-radius: 24px;
	border: 1px solid #eef2ff;
}

.info-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.85rem;
}

.info-item i {
	width: 24px;
	color: #eab308;
	font-size: 0.9rem;
}

.info-label {
	color: #64748b;
	font-weight: 500;
	min-width: 55px;
}

.info-value {
	color: #1e293b;
	font-weight: 500;
}

/* ========= 下方独立区块 ========= */
.bottom-sections {
	display: flex;
	flex-direction: column;
	gap: 28px;
	margin-bottom: 48px;
}

/* 剧情简介卡片 */
.desc-card {
	background: white;
	padding: 24px;
	border-radius: 24px;
	border: 1px solid #eef2ff;
	width: 100%;
}

.section-header {
	font-weight: 700;
	font-size: 1.1rem;
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 10px;
	border-left: 4px solid #eab308;
	padding-left: 14px;
}

.desc-text {
	line-height: 1.7;
	color: #334155;
	font-size: 0.9rem;
}

/* ========= 选集卡片通用样式 ========= */
.episodes-card {
	background: white;
	padding: 24px;
	border-radius: 24px;
	border: 1px solid #eef2ff;
	width: 100%;
}

.play-type-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid #f1f5f9;
}

.play-type-badge {
	background: linear-gradient(135deg, #eab308, #d97706);
	color: white;
	padding: 6px 18px;
	border-radius: 40px;
	font-size: 0.8rem;
	font-weight: 600;
}

.batch-actions {
	display: flex;
	gap: 12px;
}

.batch-btn {
	background: #f1f5f9;
	border: none;
	padding: 6px 14px;
	border-radius: 30px;
	font-size: 0.7rem;
	cursor: pointer;
	color: #475569;
	transition: 0.2s;
}

.batch-btn:hover {
	background: #eab308;
	color: #422006;
}

.note-tip {
	margin-top: 16px;
	background: #fefce8;
	padding: 10px 16px;
	border-radius: 60px;
	font-size: 0.7rem;
	text-align: center;
	color: #b45309;
}

/* 样式一：网格布局选集（旧版风格） */
.episodes-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 16px 0 8px;
}

.episode-btn {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	padding: 10px 20px;
	border-radius: 40px;
	font-weight: 600;
	font-size: 0.85rem;
	transition: all 0.2s;
	cursor: pointer;
	color: #1e293b;
	text-decoration: none;
	display: inline-block;
}

.episode-btn:hover {
	background: #eab308;
	border-color: #eab308;
	color: #422006;
	transform: translateY(-2px);
}

/* 样式二：表格列表选集（新版风格） */
.episodes-table {
	width: 100%;
	border-collapse: collapse;
}

.episodes-table tbody tr {
	border-bottom: 1px solid #f1f5f9;
	transition: background 0.2s;
}

.episodes-table tbody tr:hover {
	background: #fefce8;
}

.episodes-table td {
	padding: 12px 8px;
	font-size: 0.85rem;
}

.ep-num {
	font-weight: 600;
	color: #1e293b;
	width: 70px;
}

.ep-link {
	color: #3b82f6;
	text-decoration: none;
	font-family: monospace;
	font-size: 0.75rem;
	word-break: break-all;
	transition: color 0.2s;
}

.ep-link:hover {
	color: #eab308;
	text-decoration: underline;
}

.copy-icon {
	color: #94a3b8;
	cursor: pointer;
	margin-left: 8px;
	font-size: 0.7rem;
}

.copy-icon:hover {
	color: #eab308;
}

/* 响应式：表格在移动端转为卡片 */
@media (max-width: 768px) {
	.episodes-table td {
		display: block;
		padding: 10px 8px;
	}

	.episodes-table tr {
		display: block;
		margin-bottom: 8px;
		border: 1px solid #eef2ff;
		border-radius: 16px;
		padding: 8px 12px;
	}

	.episodes-table td:first-child {
		font-weight: 700;
		padding-bottom: 4px;
	}

	.episodes-table td:last-child {
		padding-top: 0;
	}

	.ep-link {
		font-size: 0.7rem;
	}
}

/* 选集切换标签页 */
.episodes-tabs {
	display: flex;
	gap: 12px;
	margin-bottom: 20px;
	border-bottom: 2px solid #f1f5f9;
	padding-bottom: 8px;
}

.tab-btn {
	background: none;
	border: none;
	padding: 8px 20px;
	font-size: 0.9rem;
	font-weight: 600;
	color: #64748b;
	cursor: pointer;
	border-radius: 40px;
	transition: all 0.2s;
}

.tab-btn.active {
	background: #eab308;
	color: #422006;
}

.tab-btn:hover:not(.active) {
	background: #f1f5f9;
	color: #1e293b;
}

.episodes-panel {
	display: none;
}

.episodes-panel.active {
	display: block;
}

/* 推荐区域 */
.rec-title {
	font-size: 1.3rem;
	font-weight: 700;
	margin: 40px 0 20px 0;
	display: flex;
	align-items: center;
	gap: 10px;
	border-left: 5px solid #eab308;
	padding-left: 14px;
}

.movie-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 20px;
	margin-bottom: 40px;
}

.movie-card {
	background: white;
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid #eef2ff;
	transition: 0.25s;
	cursor: pointer;
}

.movie-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 25px -12px rgba(0, 0, 0, 0.1);
}

.card-media {
	aspect-ratio: 2 / 3;
	background: #f1f5f9;
	position: relative;
}

.card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card-badge {
	position: absolute;
	top: 8px;
	right: 8px;
	background: #facc15dd;
	padding: 3px 10px;
	border-radius: 30px;
	font-size: 0.6rem;
	font-weight: 800;
}

.card-info {
	padding: 12px;
}

.movie-name {
	font-weight: 700;
	font-size: 0.85rem;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.breadcrumb {
	margin: 20px 0 20px;
	font-size: 0.8rem;
	color: #64748b;
}

.breadcrumb a {
	color: #d97706;
	text-decoration: none;
}

.breadcrumb i {
	margin: 0 6px;
	font-size: 0.7rem;
}

/* ========= 双栏布局（封面+资料） ========= */
.detail-double {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	margin-bottom: 32px;
}

/* 左侧海报区 */
.poster-area {
	flex: 0 0 280px;
}

@media (max-width: 768px) {
	.poster-area {
		flex: 0 0 220px;
		margin: 0 auto;
	}
}

.poster-card {
	background: white;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.12);
	border: 1px solid #eef2ff;
	transition: transform 0.2s;
}

.poster-card:hover {
	transform: translateY(-4px);
}

.poster-img {
	width: 100%;
	aspect-ratio: 2 / 2.8;
	object-fit: cover;
	background: #eef2ff;
	display: block;
}

.poster-footer {
	padding: 16px;
	text-align: center;
	border-top: 1px solid #f1f5f9;
}

.play-link {
	display: inline-block;
	background: linear-gradient(135deg, #eab308, #d97706);
	color: white;
	padding: 8px 20px;
	border-radius: 40px;
	font-size: 0.8rem;
	font-weight: 600;
	text-decoration: none;
	transition: 0.2s;
}

.play-link:hover {
	transform: scale(1.02);
	box-shadow: 0 4px 12px rgba(234, 179, 8, 0.4);
}

/* 右侧资料区 */
.info-area {
	flex: 1;
	min-width: 260px;
}

.movie-title {
	font-size: 2rem;
	font-weight: 800;
	background: linear-gradient(135deg, #0f172a, #b45309);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
	margin-bottom: 12px;
}

.en-title {
	font-size: 0.85rem;
	color: #94a3b8;
	margin-bottom: 16px;
	letter-spacing: 0.5px;
}

.rating-row {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 20px;
}

.score {
	background: #fef9c3;
	padding: 4px 14px;
	border-radius: 40px;
	font-weight: 700;
	font-size: 0.85rem;
}

.imdb {
	background: #f1f5f9;
	padding: 4px 14px;
	border-radius: 40px;
	font-size: 0.75rem;
}

/* 资料网格 */
.info-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px 24px;
	background: white;
	padding: 20px;
	border-radius: 24px;
	border: 1px solid #eef2ff;
}

.info-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.85rem;
}

.info-item i {
	width: 24px;
	color: #eab308;
	font-size: 0.9rem;
}

.info-label {
	color: #64748b;
	font-weight: 500;
	min-width: 55px;
}

.info-value {
	color: #1e293b;
	font-weight: 500;
}

/* ========= 下方独立区块 ========= */
.bottom-sections {
	display: flex;
	flex-direction: column;
	gap: 28px;
	margin-bottom: 48px;
}

/* 剧情简介卡片 */
.desc-card {
	background: white;
	padding: 24px;
	border-radius: 24px;
	border: 1px solid #eef2ff;
	width: 100%;
}

.section-header {
	font-weight: 700;
	font-size: 1.1rem;
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 10px;
	border-left: 4px solid #eab308;
	padding-left: 14px;
}

.desc-text {
	line-height: 1.7;
	color: #334155;
	font-size: 0.9rem;
}

/* ========= 选集卡片通用样式 ========= */
.episodes-card {
	background: white;
	padding: 24px;
	border-radius: 24px;
	border: 1px solid #eef2ff;
	width: 100%;
}

.play-type-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid #f1f5f9;
}

.play-type-badge {
	background: linear-gradient(135deg, #eab308, #d97706);
	color: white;
	padding: 6px 18px;
	border-radius: 40px;
	font-size: 0.8rem;
	font-weight: 600;
}

.batch-actions {
	display: flex;
	gap: 12px;
}

.batch-btn {
	background: #f1f5f9;
	border: none;
	padding: 6px 14px;
	border-radius: 30px;
	font-size: 0.7rem;
	cursor: pointer;
	color: #475569;
	transition: 0.2s;
}

.batch-btn:hover {
	background: #eab308;
	color: #422006;
}

.note-tip {
	margin-top: 16px;
	background: #fefce8;
	padding: 10px 16px;
	border-radius: 60px;
	font-size: 0.7rem;
	text-align: center;
	color: #b45309;
}

/* 样式一：网格布局选集（旧版风格） */
.episodes-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 16px 0 8px;
}

.episode-btn {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	padding: 10px 20px;
	border-radius: 40px;
	font-weight: 600;
	font-size: 0.85rem;
	transition: all 0.2s;
	cursor: pointer;
	color: #1e293b;
	text-decoration: none;
	display: inline-block;
}

.episode-btn:hover {
	background: #eab308;
	border-color: #eab308;
	color: #422006;
	transform: translateY(-2px);
}

/* 样式二：表格列表选集（新版风格） */
.episodes-table {
	width: 100%;
	border-collapse: collapse;
}

.episodes-table tbody tr {
	border-bottom: 1px solid #f1f5f9;
	transition: background 0.2s;
}

.episodes-table tbody tr:hover {
	background: #fefce8;
}

.episodes-table td {
	padding: 12px 8px;
	font-size: 0.85rem;
}

.ep-num {
	font-weight: 600;
	color: #1e293b;
	width: 70px;
}

.ep-link {
	color: #3b82f6;
	text-decoration: none;
	font-family: monospace;
	font-size: 0.75rem;
	word-break: break-all;
	transition: color 0.2s;
}

.ep-link:hover {
	color: #eab308;
	text-decoration: underline;
}

.copy-icon {
	color: #94a3b8;
	cursor: pointer;
	margin-left: 8px;
	font-size: 0.7rem;
}

.copy-icon:hover {
	color: #eab308;
}

/* 响应式：表格在移动端转为卡片 */
@media (max-width: 768px) {
	.episodes-table td {
		display: block;
		padding: 10px 8px;
	}

	.episodes-table tr {
		display: block;
		margin-bottom: 8px;
		border: 1px solid #eef2ff;
		border-radius: 16px;
		padding: 8px 12px;
	}

	.episodes-table td:first-child {
		font-weight: 700;
		padding-bottom: 4px;
	}

	.episodes-table td:last-child {
		padding-top: 0;
	}

	.ep-link {
		font-size: 0.7rem;
	}
}

/* 选集切换标签页 */
.episodes-tabs {
	display: flex;
	gap: 12px;
	margin-bottom: 20px;
	border-bottom: 2px solid #f1f5f9;
	padding-bottom: 8px;
}

.tab-btn {
	background: none;
	border: none;
	padding: 8px 20px;
	font-size: 0.9rem;
	font-weight: 600;
	color: #64748b;
	cursor: pointer;
	border-radius: 40px;
	transition: all 0.2s;
}

.tab-btn.active {
	background: #eab308;
	color: #422006;
}

.tab-btn:hover:not(.active) {
	background: #f1f5f9;
	color: #1e293b;
}

.episodes-panel {
	display: none;
}

.episodes-panel.active {
	display: block;
}

/* 推荐区域 */
.rec-title {
	font-size: 1.3rem;
	font-weight: 700;
	margin: 40px 0 20px 0;
	display: flex;
	align-items: center;
	gap: 10px;
	border-left: 5px solid #eab308;
	padding-left: 14px;
}

.movie-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 20px;
	margin-bottom: 40px;
}

.movie-card {
	background: white;
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid #eef2ff;
	transition: 0.25s;
	cursor: pointer;
}

.movie-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 25px -12px rgba(0, 0, 0, 0.1);
}

.card-media {
	aspect-ratio: 2 / 3;
	background: #f1f5f9;
	position: relative;
}

.card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card-badge {
	position: absolute;
	top: 8px;
	right: 8px;
	background: #facc15dd;
	padding: 3px 10px;
	border-radius: 30px;
	font-size: 0.6rem;
	font-weight: 800;
}

.card-info {
	padding: 12px;
}

.movie-name {
	font-weight: 700;
	font-size: 0.85rem;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}


/* ========= 播放器主区域 ========= */
.player-wrapper {
	background: white;
	border-radius: 28px;
	overflow: hidden;
	border: 1px solid #eef2ff;
	box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.1);
	margin-bottom: 28px;
}

.player-container {
	position: relative;
	background: #0a0c12;
	width: 100%;
	aspect-ratio: 16 / 9;
}

.player-iframe {
	width: 100%;
	height: 100%;
	border: none;
}

.player-info-bar {
	padding: 16px 24px;
	background: white;
	border-top: 1px solid #f1f5f9;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

.current-episode {
	font-weight: 700;
	font-size: 1rem;
	color: #1e293b;
}

.quality-selector {
	display: flex;
	gap: 10px;
}

.quality-btn {
	background: #f1f5f9;
	border: none;
	padding: 6px 16px;
	border-radius: 40px;
	font-size: 0.7rem;
	font-weight: 600;
	cursor: pointer;
	transition: 0.2s;
	color: #475569;
}

.quality-btn.active {
	background: #eab308;
	color: #422006;
}

.quality-btn:hover {
	background: #eab308;
	color: #422006;
}

/* 播放器下方工具栏 */
.player-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 32px;
	padding: 0 4px;
}

.back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: white;
	padding: 8px 20px;
	border-radius: 40px;
	text-decoration: none;
	color: #1e293b;
	font-weight: 500;
	font-size: 0.85rem;
	border: 1px solid #e2e8f0;
	transition: 0.2s;
}

.back-link:hover {
	border-color: #eab308;
	color: #d97706;
}

.play-tip {
	background: #fefce8;
	padding: 8px 20px;
	border-radius: 40px;
	font-size: 0.7rem;
	color: #b45309;
}

/* ========= 双栏布局：选集 + 详情 ========= */
.play-double {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	margin-bottom: 48px;
}

/* 左侧：选集区域 */
.episodes-sidebar {
	flex: 1.2;
	min-width: 260px;
}

.episodes-card {
	background: white;
	border-radius: 24px;
	border: 1px solid #eef2ff;
	overflow: hidden;
}

.card-header {
	padding: 18px 20px;
	background: #fafcff;
	border-bottom: 1px solid #f1f5f9;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

.card-header h3 {
	font-size: 1rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 8px;
}

.play-type {
	background: linear-gradient(135deg, #eab308, #d97706);
	color: white;
	padding: 4px 12px;
	border-radius: 40px;
	font-size: 0.65rem;
	font-weight: 600;
}

.episodes-tabs {
	display: flex;
	gap: 8px;
	padding: 12px 20px 0 20px;
	border-bottom: 1px solid #f1f5f9;
}

.tab-btn {
	background: none;
	border: none;
	padding: 8px 18px;
	font-size: 0.8rem;
	font-weight: 600;
	color: #64748b;
	cursor: pointer;
	border-radius: 40px;
	transition: 0.2s;
}

.tab-btn.active {
	background: #eab308;
	color: #422006;
}

.episodes-panel {
	display: none;
	padding: 20px;
	max-height: 500px;
	overflow-y: auto;
}

.episodes-panel.active {
	display: block;
}

/* 网格视图 */
.episodes-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.episode-btn {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	padding: 8px 16px;
	border-radius: 40px;
	font-weight: 600;
	font-size: 0.8rem;
	transition: all 0.2s;
	cursor: pointer;
	color: #1e293b;
	text-decoration: none;
	display: inline-block;
}

.episode-btn.active,
.episode-btn:hover {
	background: #eab308;
	border-color: #eab308;
	color: #422006;
}

/* 列表视图 */
.episodes-table {
	width: 100%;
	border-collapse: collapse;
}

.episodes-table tbody tr {
	border-bottom: 1px solid #f1f5f9;
	cursor: pointer;
	transition: background 0.2s;
}

.episodes-table tbody tr:hover,
.episodes-table tbody tr.active {
	background: #fefce8;
}

.episodes-table td {
	padding: 12px 8px;
	font-size: 0.85rem;
}

.ep-num {
	font-weight: 600;
	width: 70px;
}

.ep-link {
	color: #3b82f6;
	font-family: monospace;
	font-size: 0.7rem;
	word-break: break-all;
}

/* 右侧：影片信息 */
.info-sidebar {
	flex: 0.8;
	min-width: 260px;
}

.info-card {
	background: white;
	border-radius: 24px;
	border: 1px solid #eef2ff;
	padding: 20px;
}

.movie-title-sm {
	font-size: 1.2rem;
	font-weight: 800;
	margin-bottom: 8px;
}

.en-title-sm {
	font-size: 0.7rem;
	color: #94a3b8;
	margin-bottom: 16px;
}

.rating-sm {
	display: flex;
	gap: 12px;
	margin-bottom: 16px;
}

.score-sm {
	background: #fef9c3;
	padding: 4px 12px;
	border-radius: 40px;
	font-size: 0.75rem;
	font-weight: 700;
}

.info-detail {
	font-size: 0.8rem;
	color: #475569;
	line-height: 1.8;
}

.info-detail i {
	width: 24px;
	color: #eab308;
	margin-right: 8px;
}

.divider {
	height: 1px;
	background: #f1f5f9;
	margin: 16px 0;
}

.desc-preview {
	font-size: 0.75rem;
	color: #64748b;
	line-height: 1.5;
	margin-top: 12px;
}

.more-link {
	display: inline-block;
	margin-top: 12px;
	color: #d97706;
	text-decoration: none;
	font-size: 0.7rem;
}

/* 推荐区域 */
.rec-title {
	font-size: 1.3rem;
	font-weight: 700;
	margin: 40px 0 20px 0;
	display: flex;
	align-items: center;
	gap: 10px;
	border-left: 5px solid #eab308;
	padding-left: 14px;
}

.movie-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 20px;
	margin-bottom: 40px;
}

.movie-card {
	background: white;
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid #eef2ff;
	transition: 0.25s;
	cursor: pointer;
}

.movie-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 25px -12px rgba(0, 0, 0, 0.1);
}

.card-media {
	aspect-ratio: 2 / 3;
	background: #f1f5f9;
	position: relative;
}

.card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card-badge {
	position: absolute;
	top: 8px;
	right: 8px;
	background: #facc15dd;
	padding: 3px 10px;
	border-radius: 30px;
	font-size: 0.6rem;
	font-weight: 800;
}

.card-info {
	padding: 12px;
}

.movie-name {
	font-weight: 700;
	font-size: 0.85rem;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
/* ===== 图片懒加载 / Lazy load placeholder (新增) ===== */
img.lazy {
	opacity: 0;
	transition: opacity .45s ease;
	background: #f1f5f9 url('../images/loading.svg') center / 64px no-repeat;
}
img.lazy.loaded {
	opacity: 1;
	background-image: none;
}
