/* =========================================================
   Black06 深海霓虹影视模板 - MacCMS v10
   风格：深蓝底 + 霓虹青蓝渐变
   SEO & 移动端自适应优化
   ========================================================= */

/* ---------- 变量 ---------- */
:root {
	--bg-body: #070b14;
	--bg-panel: #0d1424;
	--bg-card: #111a2e;
	--bg-hover: #182342;
	--border: #1e2a47;
	--border-hover: #2c3d66;
	--primary: #3b82f6;
	--primary-2: #22d3ee;
	--gradient: linear-gradient(135deg, #3b82f6 0%, #22d3ee 100%);
	--text-main: #e6edf7;
	--text-sub: #93a4c0;
	--text-mute: #5d6d8c;
	--radius: 10px;
	--radius-sm: 6px;
	--shadow: 0 4px 18px rgba(0, 0, 0, .35);
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
		"Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* ---------- Reset ---------- */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}
body {
	font-family: var(--font);
	font-size: 14px;
	line-height: 1.6;
	color: var(--text-main);
	background: var(--bg-body);
	background-image:
		radial-gradient(ellipse 80% 50% at 50% -10%, rgba(59, 130, 246, .12), transparent),
		radial-gradient(ellipse 60% 40% at 90% 110%, rgba(34, 211, 238, .08), transparent);
	background-attachment: fixed;
	min-height: 100vh;
}
a {
	color: var(--text-main);
	text-decoration: none;
	transition: color .2s ease;
}
a:hover {
	color: var(--primary-2);
}
img {
	max-width: 100%;
	display: block;
	border: 0;
}
ul,
ol {
	list-style: none;
}
button,
input,
textarea,
select {
	font-family: inherit;
	font-size: inherit;
	color: inherit;
}
button {
	cursor: pointer;
	border: 0;
	background: none;
}
.hidden {
	display: none !important;
}

/* ---------- 布局容器 ---------- */
.site-main {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 16px 14px 40px;
}
.section-block {
	margin-top: 22px;
}
.section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--border);
}
.section-title {
	font-size: 18px;
	font-weight: 700;
	position: relative;
	padding-left: 12px;
	line-height: 1.4;
}
.section-title::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	bottom: 2px;
	width: 4px;
	border-radius: 2px;
	background: var(--gradient);
}
.section-title a {
	color: var(--text-main);
}
.section-more {
	font-size: 13px;
	color: var(--text-sub);
	display: inline-flex;
	align-items: center;
	gap: 4px;
}
.section-more:hover {
	color: var(--primary-2);
}
.icon-more::after {
	content: "»";
}

/* ---------- 热门推荐 Tab ---------- */
.hot-tabs {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin: 0 auto;
	padding: 3px;
	background: rgba(255, 255, 255, .05);
	border: 1px solid var(--border);
	border-radius: 20px;
}
.hot-tab {
	padding: 5px 16px;
	font-size: 13px;
	color: var(--text-sub);
	border: none;
	background: transparent;
	border-radius: 16px;
	cursor: pointer;
	transition: all .2s ease;
}
.hot-tab:hover {
	color: var(--text-main);
}
.hot-tab.active {
	color: #fff;
	background: var(--gradient);
	box-shadow: 0 4px 12px rgba(59, 130, 246, .3);
}
.hot-panel {
	display: none;
}
.hot-panel.active {
	display: block;
	animation: fadeInUp .3s ease;
}
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ---------- 顶部导航 ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: rgba(10, 16, 30, .94);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--border);
}
.header-main {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 14px;
	height: 64px;
	display: flex;
	align-items: center;
	gap: 18px;
}
.header-logo a {
	display: flex;
	align-items: center;
	gap: 8px;
}
.logo-img {
	width: 34px;
	height: 34px;
}
.logo-text {
	font-size: 15px;
	font-weight: 800;
	background: var(--gradient);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	white-space: nowrap;
	max-width: 120px;
	overflow: hidden;
	text-overflow: ellipsis;
}
.site-nav {
	flex: 1;
	display: flex;
	justify-content: center;
	min-width: 0;
}
.nav-list {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	overflow-x: auto;
	scrollbar-width: none;
}
.nav-list::-webkit-scrollbar {
	display: none;
}
.nav-item {
	position: relative;
}
.nav-item > a {
	display: block;
	padding: 9px 14px;
	font-size: 14px;
	color: var(--text-sub);
	border-radius: var(--radius-sm);
	white-space: nowrap;
	transition: all .2s ease;
}
.nav-item > a:hover,
.nav-item.active > a {
	color: #fff;
	background: rgba(59, 130, 246, .18);
	box-shadow: 0 0 16px rgba(59, 130, 246, .2);
}
.nav-item.active > a {
	box-shadow: inset 0 -2px 0 var(--primary), 0 0 16px rgba(59, 130, 246, .2);
}
.header-search {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
}
.search-form {
	display: flex;
	align-items: center;
}
.search-input {
	width: 220px;
	height: 36px;
	padding: 0 12px;
	border: 1px solid var(--border);
	border-radius: 18px 0 0 18px;
	background: var(--bg-panel);
	color: var(--text-main);
	outline: none;
	transition: border-color .2s;
}
.search-input:focus {
	border-color: var(--primary);
}
.search-input::placeholder {
	color: var(--text-mute);
}
.search-btn {
	width: 44px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 0 18px 18px 0;
	background: var(--gradient);
	color: #fff;
}
.search-btn:hover {
	filter: brightness(1.1);
}
.icon-search::before {
	content: "⌕";
	font-size: 18px;
	font-weight: 700;
}
.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	padding: 8px;
	background: rgba(255, 255, 255, .05);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
}
.nav-toggle span {
	width: 22px;
	height: 2px;
	background: var(--text-main);
	border-radius: 1px;
	transition: transform .25s, opacity .25s;
}
.nav-toggle.open span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
	opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 移动端侧滑导航 ---------- */
.mobile-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .65);
	z-index: 998;
	opacity: 0;
	visibility: hidden;
	transition: all .3s ease;
}
.mobile-overlay.open {
	opacity: 1;
	visibility: visible;
}
.mobile-panel {
	position: fixed;
	top: 0;
	right: 0;
	width: 300px;
	max-width: 85vw;
	height: 100vh;
	background: rgba(10, 16, 30, .98);
	border-left: 1px solid var(--border);
	box-shadow: -10px 0 40px rgba(0, 0, 0, .4);
	z-index: 999;
	transform: translateX(110%);
	transition: transform .35s cubic-bezier(.25, .46, .45, .94);
	display: flex;
	flex-direction: column;
}
.mobile-panel.open {
	transform: translateX(0);
}
.mobile-panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	border-bottom: 1px solid var(--border);
}
.mobile-panel-head .header-logo a {
	gap: 6px;
}
.mobile-panel-head .logo-img {
	width: 28px;
	height: 28px;
}
.mobile-panel-head .logo-text {
	font-size: 15px;
	max-width: 160px;
}
.panel-close {
	width: 34px;
	height: 34px;
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, .05);
	color: var(--text-main);
	font-size: 22px;
	line-height: 1;
	border-radius: var(--radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
}
.mobile-panel-body {
	flex: 1;
	overflow-y: auto;
	padding: 12px 14px 24px;
}
.mobile-nav-list,
.mobile-sub-nav {
	list-style: none;
	margin: 0;
	padding: 0;
}
.mobile-nav-list > li > a {
	display: block;
	padding: 12px;
	border-radius: var(--radius-sm);
	font-size: 15px;
	font-weight: 500;
	color: var(--text-sub);
	transition: all .2s;
}
.mobile-nav-list > li > a:hover,
.mobile-nav-list > li.active > a {
	color: #fff;
	background: rgba(59, 130, 246, .16);
}
.mobile-sub-nav {
	padding-left: 12px;
	margin: 2px 0 4px 12px;
	border-left: 2px solid rgba(59, 130, 246, .25);
}
.mobile-sub-nav li a {
	display: block;
	padding: 9px 12px;
	border-radius: var(--radius-sm);
	font-size: 13px;
	color: var(--text-mute);
	transition: all .2s;
}
.mobile-sub-nav li a:hover,
.mobile-sub-nav li.active a {
	color: #fff;
	background: rgba(59, 130, 246, .12);
}

@media (max-width: 1024px) {
	.site-nav {
		display: none;
	}
	.header-search {
		margin-left: auto;
	}
	.nav-toggle {
		display: flex;
	}
}

@media (max-width: 640px) {
	.header-main {
		height: 58px;
		gap: 12px;
	}
	.logo-text {
		font-size: 16px;
		max-width: 140px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	.search-input {
		width: 160px;
	}
}

@media (max-width: 480px) {
	.search-form {
		display: none;
	}
	.logo-text {
		max-width: 120px;
	}
	.mobile-panel {
		width: 280px;
	}
}

/* ---------- 分类快捷入口 ---------- */
.category-entry {
	margin-top: 20px;
}
.category-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
	gap: 12px;
}
.category-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 16px 10px;
	background: var(--bg-panel);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	transition: all .25s ease;
}
.category-card:hover {
	transform: translateY(-4px);
	border-color: rgba(59, 130, 246, .4);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .25), 0 0 16px rgba(59, 130, 246, .12);
}
.category-icon {
	width: 46px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	background: linear-gradient(135deg, hsl(calc(200 + var(--i, 0) * 28), 80%, 55%), hsl(calc(220 + var(--i, 0) * 28), 75%, 45%));
	box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}
.category-name {
	font-size: 14px;
	color: var(--text-sub);
	font-weight: 500;
}
.category-card:hover .category-name {
	color: var(--text-main);
}

@media (max-width: 768px) {
	.category-list {
		grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
		gap: 10px;
	}
	.category-card {
		padding: 12px 8px;
	}
	.category-icon {
		width: 40px;
		height: 40px;
		font-size: 16px;
	}
	.category-name {
		font-size: 13px;
	}
}

/* ---------- 首页轮播 ---------- */
.hero-slider {
	position: relative;
	height: 360px;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	margin-top: 4px;
}
.slider-track {
	height: 100%;
	display: flex;
	transition: transform .5s ease;
}
.slide-item {
	flex: 0 0 100%;
	position: relative;
}
.slide-link {
	display: block;
	height: 100%;
	position: relative;
}
.slide-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transform: scale(1.02);
	transition: transform .6s ease;
}
.slide-item:hover .slide-bg {
	transform: scale(1.08);
}
.slide-mask {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(7, 11, 20, .92) 0%, rgba(7, 11, 20, .45) 55%, rgba(7, 11, 20, .15) 100%);
}
.slide-content {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 28px;
	z-index: 2;
}
.slide-title {
	font-size: 30px;
	font-weight: 800;
	margin-bottom: 10px;
	text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
}
.slide-tags {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 10px;
}
.tag {
	display: inline-block;
	padding: 2px 10px;
	font-size: 12px;
	border-radius: 12px;
	background: rgba(59, 130, 246, .18);
	border: 1px solid rgba(59, 130, 246, .35);
	color: #a8c7ff;
}
.slide-desc {
	font-size: 13px;
	color: var(--text-sub);
	margin-bottom: 14px;
	max-width: 620px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.slide-btn {
	display: inline-block;
	padding: 9px 26px;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	border-radius: 22px;
	background: var(--gradient);
	box-shadow: 0 4px 16px rgba(59, 130, 246, .4);
}
.slide-btn:hover {
	filter: brightness(1.12);
}
.slider-dots {
	position: absolute;
	right: 20px;
	bottom: 18px;
	display: flex;
	gap: 6px;
	z-index: 3;
}
.slider-dots span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .4);
	cursor: pointer;
	transition: all .25s;
}
.slider-dots span.active {
	width: 22px;
	border-radius: 4px;
	background: var(--primary-2);
}
.slider-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(7, 11, 20, .55);
	color: #fff;
	font-size: 20px;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .2s;
}
.slider-arrow:hover {
	background: rgba(59, 130, 246, .75);
}
.slider-arrow.prev {
	left: 14px;
}
.slider-arrow.next {
	right: 14px;
}
.slider-arrow.prev::before {
	content: "‹";
}
.slider-arrow.next::before {
	content: "›";
}

/* ---------- 影片网格与卡片 ---------- */
.vod-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 14px;
}
.vod-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform .25s, box-shadow .25s, border-color .25s;
}
.vod-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
	border-color: var(--border-hover);
}
.vod-pic {
	position: relative;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: var(--bg-panel);
}
.vod-pic img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s;
}
.vod-card:hover .vod-pic img {
	transform: scale(1.08);
}
.vod-score {
	position: absolute;
	top: 6px;
	left: 6px;
	padding: 1px 8px;
	font-size: 12px;
	font-weight: 700;
	color: #fff;
	border-radius: 4px;
	background: linear-gradient(135deg, #f97316, #ef4444);
}
.vod-remarks {
	position: absolute;
	bottom: 6px;
	left: 6px;
	padding: 1px 8px;
	font-size: 11px;
	color: #fff;
	border-radius: 4px;
	background: rgba(7, 11, 20, .75);
}
.vod-info {
	padding: 9px 10px 11px;
}
.vod-name {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.vod-meta {
	display: flex;
	justify-content: space-between;
	margin-top: 4px;
	font-size: 12px;
	color: var(--text-mute);
}

/* ---------- 热门榜单 ---------- */
.rank-wrap {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 6px 14px;
}
.rank-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px dashed var(--border);
}
.rank-item:last-child {
	border-bottom: 0;
}
.rank-no {
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 700;
	border-radius: 6px;
	background: var(--bg-hover);
	color: var(--text-sub);
}
.rank-item:nth-child(1) .rank-no {
	background: linear-gradient(135deg, #f59e0b, #f97316);
	color: #fff;
}
.rank-item:nth-child(2) .rank-no {
	background: linear-gradient(135deg, #94a3b8, #64748b);
	color: #fff;
}
.rank-item:nth-child(3) .rank-no {
	background: linear-gradient(135deg, #d97706, #b45309);
	color: #fff;
}
.rank-item a {
	flex: 1;
	font-size: 14px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.rank-hits {
	font-size: 12px;
	color: var(--text-mute);
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	padding: 4px 0 14px;
	font-size: 13px;
	color: var(--text-mute);
}
.breadcrumb a {
	color: var(--text-sub);
}
.breadcrumb a:hover {
	color: var(--primary-2);
}
.crumb-sep {
	color: var(--text-mute);
}
.crumb-current {
	color: var(--text-main);
}

/* ---------- 详情页 ---------- */
.vod-detail {
	display: flex;
	gap: 24px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 22px;
}
.detail-poster {
	flex: 0 0 220px;
}
.detail-poster img {
	width: 100%;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.detail-info {
	flex: 1;
	min-width: 0;
}
.detail-title {
	font-size: 24px;
	font-weight: 800;
	margin-bottom: 12px;
	line-height: 1.4;
}
.detail-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}
.tag-score {
	background: linear-gradient(135deg, #f97316, #ef4444);
	border: 0;
	color: #fff;
	font-weight: 700;
}
.detail-meta {
	margin-bottom: 18px;
}
.meta-line {
	font-size: 14px;
	color: var(--text-sub);
	margin-bottom: 6px;
	line-height: 1.8;
}
.meta-line a {
	color: var(--primary-2);
}
.meta-label {
	color: var(--text-mute);
}
.detail-btns {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}
.btn-primary,
.btn-secondary {
	display: inline-block;
	padding: 10px 30px;
	font-size: 15px;
	font-weight: 600;
	border-radius: 22px;
	transition: all .2s;
}
.btn-primary {
	background: var(--gradient);
	color: #fff;
	box-shadow: 0 4px 16px rgba(59, 130, 246, .35);
}
.btn-primary:hover {
	color: #fff;
	filter: brightness(1.12);
	transform: translateY(-1px);
}
.btn-secondary {
	background: var(--bg-hover);
	color: var(--text-main);
	border: 1px solid var(--border-hover);
}
.btn-secondary:hover {
	color: var(--primary-2);
	border-color: var(--primary);
}
.detail-desc {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 18px 20px;
}
.detail-desc p {
	font-size: 14px;
	color: var(--text-sub);
	line-height: 1.9;
	text-indent: 2em;
}

/* ---------- 播放源与选集 ---------- */
.play-source-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}
.source-tab {
	padding: 7px 18px;
	font-size: 13px;
	border-radius: 18px;
	border: 1px solid var(--border);
	background: var(--bg-card);
	color: var(--text-sub);
	transition: all .2s;
}
.source-tab:hover {
	color: var(--primary-2);
	border-color: var(--primary);
}
.source-tab.active {
	background: var(--gradient);
	border-color: transparent;
	color: #fff;
	font-weight: 600;
}
.episode-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
	gap: 8px;
}
.episode-item {
	display: block;
	text-align: center;
	padding: 8px 6px;
	font-size: 13px;
	border-radius: var(--radius-sm);
	background: var(--bg-card);
	border: 1px solid var(--border);
	color: var(--text-sub);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: all .2s;
}
.episode-item:hover {
	color: #fff;
	border-color: var(--primary);
	background: rgba(59, 130, 246, .15);
}
.episode-item.active {
	background: var(--gradient);
	border-color: transparent;
	color: #fff;
	font-weight: 600;
}
.episode-more {
	grid-column: 1 / -1;
	padding: 10px;
	font-size: 13px;
	border-radius: var(--radius-sm);
	background: var(--bg-hover);
	border: 1px dashed var(--border-hover);
	color: var(--text-sub);
	transition: all .2s;
}
.episode-more:hover {
	color: var(--primary-2);
	border-color: var(--primary);
}

/* ---------- 播放页 ---------- */
.play-box {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
}
.player-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
}
.player-frame {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.play-info {
	padding: 14px 18px;
}
.play-title {
	font-size: 18px;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.play-episode {
	font-size: 13px;
	font-weight: 400;
	padding: 2px 10px;
	border-radius: 12px;
	background: rgba(34, 211, 238, .12);
	border: 1px solid rgba(34, 211, 238, .35);
	color: #67e8f9;
}
.play-sub {
	font-size: 13px;
	color: var(--text-mute);
	margin-top: 4px;
}
.player-tip {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	color: var(--text-sub);
	background: linear-gradient(180deg, rgba(15, 23, 42, .6), rgba(15, 23, 42, .95));
	z-index: 2;
}
.player-btns {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 12px;
}
.player-btns .btn-secondary {
	padding: 7px 20px;
	font-size: 13px;
}

/* ---------- 播放列表组件（多线路/多集） ---------- */
.play-list-block {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.play-source-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
}
.play-source-head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	cursor: pointer;
	user-select: none;
	transition: background .2s;
}
.play-source-head:hover {
	background: var(--bg-hover);
}
.play-source-name {
	font-size: 14px;
	font-weight: 600;
	color: var(--text-main);
}
.play-source-name::before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--gradient);
	margin-right: 8px;
	vertical-align: 1px;
}
.play-source-count {
	font-size: 12px;
	color: var(--text-mute);
}
.play-source-arrow {
	margin-left: auto;
	font-size: 12px;
	color: var(--text-mute);
	transition: transform .2s;
}
.play-source-card.open .play-source-arrow {
	transform: rotate(180deg);
}
.play-episode-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
	gap: 8px;
	padding: 4px 16px 16px;
}
.play-episode-list a {
	display: block;
	text-align: center;
	padding: 8px 6px;
	font-size: 13px;
	border-radius: var(--radius-sm);
	background: var(--bg-hover);
	border: 1px solid var(--border);
	color: var(--text-sub);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: all .2s;
}
.play-episode-list a:hover {
	color: #fff;
	border-color: var(--primary);
	background: rgba(59, 130, 246, .15);
}
.play-episode-list a.current {
	background: var(--gradient);
	border-color: transparent;
	color: #fff;
	font-weight: 600;
}
.episode-toggle {
	display: none;
	text-align: center;
	padding: 10px;
	font-size: 13px;
	color: var(--primary-2);
	cursor: pointer;
	border-top: 1px dashed var(--border);
}
.episode-toggle:hover {
	background: var(--bg-hover);
}

/* ---------- 分类筛选 ---------- */
.subtype-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.subtype-item {
	padding: 7px 18px;
	font-size: 13px;
	border-radius: 18px;
	border: 1px solid var(--border);
	background: var(--bg-card);
	color: var(--text-sub);
	transition: all .2s;
}
.subtype-item:hover,
.subtype-item.active {
	color: #fff;
	border-color: var(--primary);
	background: rgba(59, 130, 246, .18);
}
.filter-bar {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 14px 18px;
}
.filter-row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 6px 0;
}
.filter-label {
	flex: 0 0 46px;
	font-size: 13px;
	color: var(--text-mute);
	line-height: 30px;
}
.filter-options {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	flex: 1;
}
.filter-item {
	padding: 4px 12px;
	font-size: 13px;
	border-radius: 6px;
	color: var(--text-sub);
	transition: all .2s;
}
.filter-item:hover,
.filter-item.active {
	color: #fff;
	background: rgba(59, 130, 246, .2);
}
.filter-sort {
	display: flex;
	gap: 4px;
}
.sort-item {
	padding: 4px 14px;
	font-size: 13px;
	border-radius: 16px;
	color: var(--text-sub);
	border: 1px solid transparent;
}
.sort-item:hover,
.sort-item.active {
	color: var(--primary-2);
	border-color: var(--primary);
}

/* ---------- 分页 ---------- */
.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 26px;
}
.page-link {
	min-width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 12px;
	font-size: 13px;
	border-radius: 8px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	color: var(--text-sub);
	transition: all .2s;
}
.page-link:hover {
	color: #fff;
	border-color: var(--primary);
}
.page-link.page-current {
	background: var(--gradient);
	border-color: transparent;
	color: #fff;
	font-weight: 700;
}
.page-link.page-disabled {
	opacity: .45;
	cursor: not-allowed;
}

/* ---------- 留言板 ---------- */
.gbook-form {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 20px;
	max-width: 640px;
}
.form-row {
	margin-bottom: 16px;
	display: flex;
	align-items: flex-start;
	gap: 12px;
}
.form-label {
	flex: 0 0 72px;
	font-size: 14px;
	color: var(--text-sub);
	line-height: 38px;
}
.form-input,
.form-textarea {
	width: 100%;
	padding: 9px 14px;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: var(--bg-panel);
	color: var(--text-main);
	outline: none;
	transition: border-color .2s;
}
.form-input:focus,
.form-textarea:focus {
	border-color: var(--primary);
}
.form-textarea {
	resize: vertical;
}
.form-verify {
	display: flex;
	gap: 10px;
	align-items: center;
}
.verify-img {
	height: 38px;
	width: 110px;
	border-radius: 8px;
	cursor: pointer;
	border: 1px solid var(--border);
}
.gbook-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.gbook-item {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 14px 18px;
}
.gbook-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 6px;
}
.gbook-name {
	font-size: 14px;
	font-weight: 700;
	color: var(--primary-2);
}
.gbook-time {
	font-size: 12px;
	color: var(--text-mute);
}
.gbook-content {
	font-size: 14px;
	color: var(--text-sub);
}
.gbook-reply {
	margin-top: 10px;
	padding: 10px 14px;
	font-size: 13px;
	border-radius: 8px;
	background: var(--bg-panel);
	border-left: 3px solid var(--primary);
	color: var(--text-sub);
}
.reply-label {
	color: var(--primary-2);
}
.gbook-ajax-result {
	max-width: 460px;
	margin: 80px auto;
	text-align: center;
	padding: 30px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}
.ajax-success {
	font-size: 16px;
	color: #34d399;
	margin-bottom: 12px;
}
.ajax-error {
	font-size: 16px;
	color: #f87171;
	margin-bottom: 16px;
}

/* ---------- 空状态 / 404 / 跳转 ---------- */
.empty-state {
	text-align: center;
	padding: 50px 20px;
}
.empty-text {
	font-size: 14px;
	color: var(--text-mute);
	margin-bottom: 16px;
}
.empty-btn {
	display: inline-block;
	padding: 9px 28px;
	border-radius: 22px;
	background: var(--gradient);
	color: #fff;
	font-size: 14px;
}
.page-404 {
	text-align: center;
	padding: 90px 20px;
}
.page-404-code {
	font-size: 96px;
	font-weight: 900;
	background: var(--gradient);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	line-height: 1.2;
}
.page-404-title {
	font-size: 20px;
	margin: 14px 0 8px;
}
.page-404-desc {
	font-size: 14px;
	color: var(--text-mute);
	margin-bottom: 24px;
}
.page-404-actions {
	display: flex;
	justify-content: center;
	gap: 12px;
}
.jump-page {
	max-width: 520px;
	margin: 90px auto;
	padding: 30px;
	text-align: center;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}
.jump-title {
	font-size: 20px;
	margin-bottom: 12px;
}
.jump-desc {
	font-size: 14px;
	color: var(--text-sub);
	margin-bottom: 8px;
}
.jump-tip {
	font-size: 13px;
	color: var(--text-mute);
}
.jump-link {
	color: var(--primary-2);
	text-decoration: underline;
}
#countdown {
	font-weight: 700;
	color: var(--primary-2);
}

/* ---------- 页脚 ---------- */
.site-footer {
	margin-top: 30px;
	background: rgba(10, 16, 30, .95);
	border-top: 1px solid var(--border);
}
.footer-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 30px 14px 20px;
	display: flex;
	gap: 40px;
	flex-wrap: wrap;
}
.footer-links {
	flex: 0 0 100%;
	width: 100%;
}
.footer-links h4 {
	font-size: 15px;
	margin-bottom: 12px;
	color: var(--text-main);
	position: relative;
	padding-left: 10px;
}
.footer-links h4::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	bottom: 4px;
	width: 3px;
	border-radius: 2px;
	background: var(--gradient);
}
.footer-links a {
	font-size: 13px;
	color: var(--text-sub);
	white-space: nowrap;
	transition: color .2s;
}
.footer-links a:hover {
	color: var(--primary-2);
}
.footer-info {
	flex: 0 0 100%;
	width: 100%;
	min-width: 0;
	font-size: 12px;
	color: var(--text-mute);
	line-height: 1.9;
}
.friend-link-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
}
.friend-link-list li {
	margin-bottom: 0;
}
.friend-link-list a {
	display: inline-block;
	padding: 3px 10px;
	font-size: 12px;
	line-height: 1.4;
	color: var(--text-sub);
	background: rgba(34, 211, 238, .06);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	white-space: nowrap;
	transition: all .2s;
}
.friend-link-list a:hover {
	color: #0b1424;
	background: var(--gradient);
	border-color: transparent;
	text-decoration: none;
}
.footer-copyright {
	border-top: 1px solid var(--border);
	text-align: center;
	padding: 14px;
	font-size: 12px;
	color: var(--text-mute);
}

/* ---------- 返回顶部 ---------- */
.back-to-top {
	position: fixed;
	right: 22px;
	bottom: 34px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--gradient);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: all .3s;
	z-index: 998;
}
.back-to-top.show {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.back-to-top:hover {
	filter: brightness(1.1);
}
.icon-up::before {
	content: "↑";
	font-size: 20px;
	font-weight: 700;
}

/* =========================================================
   响应式适配
   ========================================================= */
@media (max-width: 1024px) {
	.vod-grid {
		grid-template-columns: repeat(5, 1fr);
	}
	.header-search .search-input {
		width: 160px;
	}
}
@media (max-width: 768px) {
	.hero-slider {
		height: 240px;
	}
	.slide-content {
		padding: 18px;
	}
	.slide-title {
		font-size: 22px;
	}
	.slide-btn {
		padding: 7px 20px;
		font-size: 13px;
	}
	.vod-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 10px;
	}
	.vod-name {
		font-size: 13px;
	}
	.vod-detail {
		flex-direction: column;
		gap: 16px;
		padding: 16px;
	}
	.detail-poster {
		flex: 0 0 auto;
		width: 160px;
		margin: 0 auto;
	}
	.detail-title {
		font-size: 20px;
	}
	.filter-row {
		flex-direction: column;
		gap: 6px;
	}
	.filter-label {
		flex: 0 0 auto;
		line-height: 1.4;
	}
	.footer-wrap {
		gap: 24px;
	}
	.section-title {
		font-size: 16px;
	}
}
@media (max-width: 480px) {
	.vod-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
	}
	.hero-slider {
		height: 200px;
	}
	.slide-title {
		font-size: 18px;
	}
	.slide-desc {
		display: none;
	}
	.slide-tags {
		margin-bottom: 8px;
	}
	.slider-arrow {
		width: 32px;
		height: 32px;
		font-size: 16px;
	}
	.episode-list {
		grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
	}
	.gbook-form {
		padding: 16px;
	}
	.form-row {
		flex-direction: column;
		gap: 6px;
	}
	.form-label {
		line-height: 1.4;
	}
	.page-404-code {
		font-size: 72px;
	}
	.back-to-top {
		right: 14px;
		bottom: 24px;
		width: 38px;
		height: 38px;
	}
}
