/* ==========================================================
   theme.css —— hl-42 四色皮肤（红 / 蓝 / 绿 / 橙）· 自适应版
   电脑 / 平板 / 手机通用。改颜色只需改 :root 里的变量。
   ========================================================== */
:root {
	--bg: #F4F5F7;
	--panel: #FFFFFF;
	--panel-2: #F3F4F6;
	--line: #ECEDF0;
	--text: #222222;
	--muted: #666666;
	--dim: #999999;
	--accent: #D7263D;
	--accent-2: #F25C6E;
	--accent-soft: #FDECEE;
	--grad: linear-gradient(90deg, #D7263D, #F25C6E);
	--shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 6px 18px rgba(0, 0, 0, .04);
	--radius: 8px;
	--container: 1200px;
	--pad: 20px;
	--cols: 6;
	--font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
@media (max-width: 1024px) { :root { --cols: 4; } }
@media (max-width: 768px) { :root { --pad: 12px; } }
@media (max-width: 560px) { :root { --cols: 3; } }

/* ---------- 基础 ---------- */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.6 var(--font); overflow-x: hidden; }
body * { box-sizing: border-box; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
	outline: 2px solid var(--accent); outline-offset: 2px;
}
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
main.container { padding-top: 20px; padding-bottom: 8px; }
.box { padding: 16px 18px; border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }

/* 海报占位 + 懒加载 */
.card-img, .rank-cover, .side-cover, .vod-cover, .thumb {
	position: relative; display: block; overflow: hidden; aspect-ratio: 29 / 40;
	border-radius: 6px; background: var(--panel-2) url(../images/lazy.svg) center / 38% no-repeat;
}
.card-img img, .rank-cover img, .side-cover img, .vod-cover img, .thumb img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.thumb.is-wide { aspect-ratio: 16 / 10; }
/* 封面和文字并排时，封面保持自身比例，不随文字高度拉伸 */
.card-img, .rank-cover, .side-cover, .vod-cover, .thumb { align-self: flex-start; height: auto; }

/* ---------- 按钮、标签 ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	height: 40px; padding: 0 22px; border-radius: 20px; border: 1px solid transparent;
	font-size: 14px; white-space: nowrap; cursor: pointer; text-decoration: none;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .12); }
.btn-primary:hover { color: #fff; filter: brightness(1.06); }
.btn-ghost { border-color: #DDDFE3; background: #fff; color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { height: 32px; padding: 0 14px; font-size: 13px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span, .tags a { padding: 1px 9px; border-radius: 4px; background: var(--panel-2); color: var(--muted); font-size: 12px; line-height: 20px; }
.tags span:empty { display: none; }
.tags .tag-hl { background: var(--accent-soft); color: var(--accent); }

/* ---------- 头部 ---------- */
.site-header { background: #fff; box-shadow: 0 1px 0 var(--line); }
.hd-bar { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; min-width: 0; color: var(--text); }
.logo:hover { color: var(--text); }
.logo-mark { width: 36px; height: 36px; flex: none; }
.logo-text { font-size: 21px; font-weight: 700; letter-spacing: .5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 12em; }
.hd-search {
	flex: 1 1 auto; max-width: 440px; margin-left: auto; display: flex; height: 40px;
	border: 1px solid #E3E5E8; border-radius: 20px; overflow: hidden; background: var(--panel-2);
}
.hd-search:focus-within { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(0, 0, 0, .06); }
.hd-search input[type="text"] {
	flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent;
	color: var(--text); padding: 0 16px; font: 14px var(--font);
}
.hd-search input[type="text"]::placeholder { color: var(--dim); }
.hd-search input[type="submit"] {
	flex: none; border: 0; background: var(--grad); color: #fff; padding: 0 22px;
	font: 14px var(--font); cursor: pointer; -webkit-appearance: none; appearance: none; border-radius: 0;
}
.hd-tools { position: relative; display: flex; align-items: center; gap: 8px; flex: none; }
.hd-tool {
	position: relative; display: flex; align-items: center; gap: 6px; padding: 7px 12px;
	border-radius: 18px; color: var(--muted); font-size: 13px; cursor: pointer; white-space: nowrap;
}
.hd-tool:hover { background: var(--panel-2); color: var(--accent); }
.hd-tool svg { width: 18px; height: 18px; flex: none; }
.hd-hot { display: flex; align-items: center; gap: 14px; height: 30px; margin-top: -8px; font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; }
.hd-hot a { color: var(--muted); }
.hd-nav { border-top: 1px solid var(--line); }
.nav-list { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.nav-list::-webkit-scrollbar { display: none; }
.nav-list li { flex: none; }
.nav-list a { position: relative; display: block; padding: 0 15px; line-height: 48px; font-size: 15px; color: #444; }
.nav-list a:hover { color: var(--accent); }
.nav-list .is-current a { color: var(--accent); font-weight: 600; }
.nav-list .is-current a::after {
	content: ""; position: absolute; left: 15px; right: 15px; bottom: 0; height: 3px;
	border-radius: 3px 3px 0 0; background: var(--grad);
}

/* 播放记录下拉（苹果CMS 自带 MAC.History 生成） */
.hd-tools .mac_history_box {
	position: absolute; z-index: 120; left: auto !important; right: 0; width: 280px; max-width: calc(100vw - 24px);
	margin: 8px 0 0; padding: 6px 0; border: 1px solid var(--line); border-radius: 10px;
	background: #fff; box-shadow: 0 12px 32px rgba(0, 0, 0, .12); font-size: 13px;
}
.hd-tools .mac_history_box::before, .hd-tools .mac_history_box::after { display: none; }
.hd-tools .mac_history_box dt { height: auto; padding: 4px 14px 8px; line-height: 20px; border-bottom: 1px solid var(--line); text-align: right; }
.hd-tools .mac_history_box dt a { color: var(--dim); font-size: 12px; }
.hd-tools .mac_history_box dd, .hd-tools .mac_history_box dd.odd {
	width: auto; height: auto; margin: 0; padding: 0 14px; line-height: 38px; background: none;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hd-tools .mac_history_box dd a { display: block; color: var(--text); }
.hd-tools .mac_history_box dd a:hover { background: none; color: var(--accent); }
.hd-tools .mac_history_box dd:hover { background: var(--panel-2); }
.hd-tools .mac_history_box dd.hide { display: block; color: var(--dim); text-align: center; }

/* ---------- 区块标题、选项卡 ---------- */
.sec { margin-top: 28px; }
.sec-hd { display: flex; align-items: center; gap: 12px; min-height: 32px; margin-bottom: 14px; }
.sec-hd h2, .sec-hd h1 { position: relative; padding-left: 12px; font-size: 19px; font-weight: 700; white-space: nowrap; }
.sec-hd h2::before, .sec-hd h1::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 2px; background: var(--grad); }
.sec-tip { color: var(--dim); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.sec-tip b { color: var(--accent); font-weight: 600; }
.sec-more { margin-left: auto; flex: none; padding: 3px 12px; border-radius: 14px; background: var(--panel); color: var(--muted); font-size: 13px; box-shadow: var(--shadow); }
.page-hd h1 { margin: 4px 0 16px; font-size: 22px; font-weight: 700; }
.page-hd h1 strong { color: var(--accent); }
.page-hd h1 b { color: var(--accent); }
.page-hd-flex { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.page-hd-flex h1 { margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 14px; color: var(--dim); font-size: 13px; }
.crumbs a { color: var(--muted); }
.crumbs span:empty { display: none; }
.tabs {
	display: flex; gap: 2px; margin-left: auto; padding: 3px; border-radius: 18px;
	background: var(--panel-2); overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; border: 0; padding: 4px 13px; border-radius: 15px; background: none; color: var(--muted); font-size: 13px; cursor: pointer; white-space: nowrap; }
.tab:hover { color: var(--accent); }
.tab.is-active { background: var(--grad); color: #fff; }
.link-tabs { display: flex; gap: 8px; margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.link-tabs::-webkit-scrollbar { display: none; }
.link-tabs a { flex: none; padding: 6px 16px; border-radius: 18px; background: var(--panel); color: var(--muted); font-size: 14px; box-shadow: var(--shadow); white-space: nowrap; }
.link-tabs a.is-active { background: var(--grad); color: #fff; }
.empty-tip { padding: 48px 0; text-align: center; color: var(--dim); grid-column: 1 / -1; }
.empty-tip a { color: var(--accent); }

/* ---------- 海报卡片 ---------- */
.cards { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 20px 16px; }
.card { display: block; min-width: 0; }
.card-tag {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 8px 6px;
	background: linear-gradient(transparent, rgba(0, 0, 0, .7));
	color: #fff; font-size: 12px; font-style: normal; text-align: right;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card-tag:empty { display: none; }
.card-score { position: absolute; top: 6px; right: 6px; padding: 0 6px; border-radius: 4px; background: rgba(0, 0, 0, .78); color: #fff; font-size: 12px; font-style: normal; line-height: 20px; }
.card-score:empty { display: none; }
.card-name { display: block; margin-top: 8px; font-size: 14px; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-sub { display: block; margin-top: 2px; color: var(--dim); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-sub:empty { display: none; }

/* ---------- 首页：轮播 + 资讯 ---------- */
.home-top { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; }
.home-top:has(.hero.is-empty) { grid-template-columns: minmax(0, 1fr); }
.hero { position: relative; aspect-ratio: 2 / 1; border-radius: var(--radius); overflow: hidden; background: #2A2D33; box-shadow: var(--shadow); }
.hero.is-empty { display: none; }
.hero-track { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; color: #fff; }
.hero-slide:hover { color: #fff; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-poster { display: none; }
.hero-cap {
	position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 4px;
	padding: 56px 28px 42px; background: linear-gradient(transparent, rgba(0, 0, 0, .75));
}
.hero-cap strong { font-size: 24px; line-height: 1.3; }
.hero-cap em { font-style: normal; font-size: 13px; color: #FFB48F; }
.hero-blurb { display: none; }
.hero-slide.is-poster .hero-img { filter: blur(26px) brightness(.5); transform: scale(1.2); }
.hero-slide.is-poster .hero-poster {
	display: block; position: absolute; right: 7%; top: 50%; transform: translateY(-50%);
	height: 80%; width: auto; aspect-ratio: 29 / 40; object-fit: cover;
	border-radius: 6px; box-shadow: 0 14px 36px rgba(0, 0, 0, .45);
}
.hero-slide.is-poster .hero-cap { top: 0; right: 38%; justify-content: center; padding: 24px 0 24px 36px; background: none; }
.hero-slide.is-poster .hero-cap strong { font-size: 28px; }
.hero-slide.is-poster .hero-blurb {
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
	margin-top: 8px; font-size: 13px; line-height: 1.75; color: rgba(255, 255, 255, .78);
}
.hero-btn {
	position: absolute; top: 50%; z-index: 2; width: 40px; height: 40px; margin-top: -20px;
	display: grid; place-items: center; border: 0; border-radius: 50%;
	background: rgba(0, 0, 0, .35); color: #fff; cursor: pointer; opacity: 0; transition: opacity .2s;
}
.hero-btn svg { width: 20px; height: 20px; }
.hero:hover .hero-btn, .hero-btn:focus-visible { opacity: 1; }
.hero-prev { left: 12px; }
.hero-next { right: 12px; }
.hero-dots { position: absolute; left: 28px; bottom: 18px; z-index: 2; display: flex; gap: 6px; }
.hero-dots button { width: 16px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: rgba(255, 255, 255, .45); cursor: pointer; transition: width .3s; }
.hero-dots button.is-active { width: 28px; background: var(--accent); }
.hero.is-single .hero-btn, .hero.is-single .hero-dots { display: none; }
@media (hover: none) { .hero-btn { display: none; } }

.home-side { display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.quick-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.quick-links a {
	display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px;
	border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); color: var(--muted); font-size: 13px;
}
.quick-links a:hover { color: var(--accent); }
.quick-links svg { width: 24px; height: 24px; color: var(--accent); }
.news-box { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
.news-box { padding-bottom: 13px; }
.news-box .box-title { gap: 10px; }
.news-box .tabs { margin-left: auto; }
.news-box .tab { padding: 2px 10px; font-size: 12px; }
.news-box .text-list li { padding: 6px 0; }
.news-box .text-list li:nth-child(n+8) { display: none; }
.news-box .rank-all { display: none; margin-top: auto; padding-top: 8px; }
.box-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; font-size: 16px; font-weight: 700; }
.box-title a { color: var(--dim); font-size: 12px; font-weight: 400; }
.text-list { min-height: 0; overflow: hidden; }
.text-list li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.text-list li:last-child { border-bottom: 0; }
.text-list a { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.text-list span { flex: none; max-width: 42%; color: var(--dim); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.text-list .no { flex: none; width: 18px; color: var(--dim); font-style: normal; font-size: 12px; text-align: center; }
.text-list li:nth-child(-n+3) .no { color: var(--accent); font-weight: 700; }

/* 首页分类区块：左卡片右榜单 */
.sec-split { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.sec-split .cards { --cols: 6; }

/* ---------- 排行榜列表 ---------- */
.rank { padding: 16px 14px 10px; border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
.rank .sec-hd { margin-bottom: 8px; padding-left: 4px; }
.rank .sec-hd h2 { font-size: 17px; }
.rank-list li a { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 6px; color: var(--text); }
.rank-list li a:hover { background: var(--panel-2); color: var(--accent); }
.rank-num {
	flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 5px;
	background: var(--panel-2); color: var(--dim); font-size: 12px; font-weight: 700; font-style: normal;
}
.rank-list li:nth-child(1) .rank-num, .board-list li:nth-child(1) .rank-num { background: #FF4D4F; color: #fff; }
.rank-list li:nth-child(2) .rank-num, .board-list li:nth-child(2) .rank-num { background: #FF7A33; color: #fff; }
.rank-list li:nth-child(3) .rank-num, .board-list li:nth-child(3) .rank-num { background: #FFAA33; color: #fff; }
.rank-name { flex: 1; min-width: 0; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-meta { flex: none; max-width: 38%; color: var(--dim); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-top a { align-items: flex-start; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); border-radius: 6px 6px 0 0; }
.rank-cover { flex: none; width: 72px; border-radius: 6px; }
.rank-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; padding-top: 1px; }
.rank-info strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; line-height: 1.4; }
.rank-info em { font-style: normal; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-info small { font-size: 12px; color: var(--accent); }
.rank-all { display: block; margin-top: 6px; padding: 10px 0 4px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; text-align: center; }

/* 排行页（长列表） */
.board-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; padding: 6px 18px; border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
.board-list li { min-width: 0; border-bottom: 1px dashed var(--line); }
.board-list li a { display: flex; align-items: center; gap: 12px; padding: 11px 2px; color: var(--text); }
.board-list li a:hover .board-name { color: var(--accent); }
.board-name { flex: 1; min-width: 0; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-meta { flex: none; max-width: 32%; color: var(--dim); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-hits { flex: none; min-width: 56px; color: var(--accent); font-size: 13px; text-align: right; }

/* ---------- 友情链接、页脚 ---------- */
.link-list { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 13px; }
.site-footer {
	margin-top: 40px; padding: 28px 0 calc(28px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid var(--line); background: #fff;
	color: var(--dim); font-size: 12px; line-height: 1.9; text-align: center;
}
.ft-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin-bottom: 12px; font-size: 13px; }
.ft-nav a { color: var(--muted); }
.to-top {
	position: fixed; right: 18px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 90;
	width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%;
	background: #fff; color: var(--accent); box-shadow: 0 4px 16px rgba(0, 0, 0, .12); cursor: pointer;
	opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.to-top.is-show { opacity: 1; visibility: visible; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- 筛选 ---------- */
.filter { padding: 6px 18px; border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
.filter-row { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.filter-row:last-child { border-bottom: 0; }
.filter-label { flex: none; width: 3em; line-height: 28px; color: var(--dim); font-size: 13px; }
.filter-opts { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.chip { flex: none; display: inline-block; padding: 0 12px; line-height: 28px; border-radius: 14px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.chip:hover { background: var(--panel-2); color: var(--accent); }
.chip.is-active { background: var(--grad); color: #fff; }

/* ---------- 翻页 ---------- */
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 28px 0 4px; }
.pager .page_link {
	display: inline-block; float: none; min-width: 36px; height: 36px; margin: 0; padding: 0 12px;
	border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--muted);
	font-size: 14px; line-height: 34px; text-align: center;
}
.pager .page_link:hover { border-color: var(--accent); color: var(--accent); }
.pager .page_link.is-current { border-color: transparent; background: var(--grad); color: #fff; }

/* ---------- 详情页 ---------- */
.vod-head { position: relative; display: flex; gap: 28px; padding: 24px; border-radius: var(--radius); overflow: hidden; background: var(--panel); box-shadow: var(--shadow); }
.vod-cover { z-index: 1; flex: none; width: 210px; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }
.vod-info { position: relative; z-index: 1; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.vod-info > * { position: relative; z-index: 1; }
.vod-info h1 { font-size: 26px; line-height: 1.3; }
.vod-info h1 .score { margin-left: 10px; color: var(--accent); font-size: 20px; font-weight: 700; }
.vod-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 20px; font-size: 13px; }
.vod-meta div { display: flex; gap: 10px; min-width: 0; }
.vod-meta .full { grid-column: 1 / -1; }
.vod-meta dt { flex: none; min-width: 3em; color: var(--dim); white-space: nowrap; }
.vod-meta dd { flex: 1; min-width: 0; color: var(--text); overflow-wrap: anywhere; }
.vod-meta dd a { margin-right: 8px; color: var(--text); }
.vod-meta dd a:hover { color: var(--accent); }
.vod-desc { color: var(--muted); font-size: 14px; line-height: 1.85; }
.vod-desc-in { max-height: 5.6em; overflow: hidden; overflow-wrap: anywhere; }
.vod-desc-in p { margin: 0 0 6px; }
.vod-desc-in * { max-width: 100% !important; float: none !important; box-sizing: border-box; }
.vod-desc-in img { height: auto !important; border-radius: 6px; }
.vod-desc-in table { display: block; overflow-x: auto; }
.vod-desc.is-open .vod-desc-in { max-height: none; }
.desc-toggle { margin-top: 2px; padding: 0; border: 0; background: none; color: var(--accent); font-size: 13px; cursor: pointer; }
.vod-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.digg-btn em { font-style: normal; }

.layout-2 { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; margin-top: 20px; }
.layout-main > .sec:first-child, .layout-side > .sec:first-child { margin-top: 0; }
.layout-main > .sec, .layout-side > .sec { margin-top: 20px; }

/* 选集 */
.playlist { padding: 16px 18px 18px; border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
.playlist .sec-hd { margin-bottom: 6px; }
.pl-order { margin-left: auto; color: var(--muted); font-size: 13px; cursor: pointer; }
.pl-tabs { display: flex; gap: 4px; margin-bottom: 14px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.pl-tabs::-webkit-scrollbar { display: none; }
.pl-tab { position: relative; flex: none; padding: 8px 12px; border: 0; background: none; color: var(--muted); font-size: 14px; white-space: nowrap; cursor: pointer; }
.pl-tab small { margin-left: 4px; color: var(--dim); font-size: 11px; }
.pl-tab.is-active { color: var(--accent); font-weight: 600; }
.pl-tab.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--grad); }
.pl-eps { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; max-height: 324px; overflow-y: auto; padding-right: 2px; scrollbar-width: thin; }
.pl-eps a {
	display: block; height: 36px; padding: 0 8px; border-radius: 6px; background: var(--panel-2);
	color: var(--text); font-size: 13px; line-height: 36px; text-align: center;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pl-eps a:hover { background: var(--accent-soft); color: var(--accent); }
.pl-eps a.is-active { background: var(--grad); color: #fff; }

/* 相关推荐（侧栏） */
.side-box { padding: 16px; border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
.side-list { display: grid; gap: 14px; }
.side-item { display: flex; align-items: flex-start; gap: 12px; color: var(--text); }
.side-cover { flex: none; width: 76px; border-radius: 6px; }
.side-cover.is-wide { width: 104px; aspect-ratio: 16 / 10; }
.side-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; color: var(--dim); font-size: 12px; }
.side-info strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 2px; color: var(--text); font-size: 14px; line-height: 1.4; font-weight: 500; }
.side-item:hover strong { color: var(--accent); }
.side-info em { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 播放页 ---------- */
.play-hd { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 12px; }
.play-hd h1 { font-size: 20px; line-height: 1.4; }
.play-hd h1 span { margin-left: 10px; color: var(--accent); font-size: 16px; font-weight: 500; }
.play-tip { margin-left: auto; color: var(--dim); font-size: 12px; }
.player { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.player-in { position: absolute; inset: 0; }
.player-in > *, .player-in .MacPlayer, .player-in table, .player-in iframe, .player-in video, .player-in embed, .player-in object {
	width: 100% !important; height: 100% !important; max-width: none; margin: 0 !important;
}
.player-in table { border-collapse: collapse; }
.player-in td { padding: 0; }
.play-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.mini-info { display: flex; align-items: flex-start; gap: 14px; }
.mini-info .vod-cover { width: 96px; box-shadow: none; }
.mini-info .vod-meta { grid-template-columns: minmax(0, 1fr); }

/* ---------- 评论（苹果CMS评论，结构见 comment/ajax.html） ---------- */
.cmt-box .mac_comment { float: none; width: auto; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.cmt-box { padding: 16px 18px; border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
.mac_comment .comment_form { margin-bottom: 8px; }
.mac_comment .input_wrap { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--panel-2); }
.mac_comment .input_wrap:focus-within { border-color: var(--accent); background: #fff; }
.mac_comment textarea.comment_content {
	display: block; width: 100%; height: 88px; padding: 10px 12px; border: 0; outline: none; resize: vertical;
	background: transparent; color: var(--text); font: 14px/1.6 var(--font);
}
.cmt-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 8px 10px; border-top: 1px solid var(--line); background: #fff; }
.cmt-tools .cmt-count { margin-right: auto; color: var(--dim); font-size: 12px; }
.cmt-tools input.verify { width: 86px; height: 30px; padding: 0 8px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; }
.cmt-tools img.comm-code { height: 30px; border-radius: 4px; cursor: pointer; }
.cmt-tools .comment_submit { height: 30px; padding: 0 18px; border: 0; border-radius: 15px; background: var(--grad); color: #fff; font-size: 13px; cursor: pointer; }
.cmt-list > li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cmt-list > li:last-child { border-bottom: 0; }
.cmt-avatar { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.cmt-body { flex: 1; min-width: 0; }
.cmt-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.cmt-meta strong { color: var(--text); font-weight: 600; }
.cmt-meta time, .cmt-meta .cmt-floor { color: var(--dim); font-size: 12px; }
.cmt-meta .cmt-floor { margin-left: auto; }
.cmt-text { margin: 4px 0 6px; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.cmt-text img { vertical-align: middle; }
.cmt-actions { display: flex; align-items: center; gap: 16px; font-size: 12px; color: var(--dim); }
.cmt-actions a { color: var(--dim); }
.cmt-actions a:hover { color: var(--accent); }
.cmt-actions em { font-style: normal; margin-left: 3px; }
.cmt-replies { margin-top: 8px; padding: 2px 12px; border-radius: 6px; background: var(--panel-2); }
.cmt-replies:empty { display: none; }
.cmt-replies .cmt-reply { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.cmt-replies .cmt-reply:last-child { border-bottom: 0; }
.cmt-replies .cmt-reply strong { color: var(--accent); font-weight: 500; }
.mac_comment .comment_reply_form { margin-top: 10px; }
.cmt-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 14px; }
.cmt-pager a { min-width: 32px; height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: 13px; line-height: 30px; text-align: center; }
.cmt-pager a.page_current { border-color: transparent; background: var(--grad); color: #fff; }
.cmt-empty { padding: 24px 0; color: var(--dim); text-align: center; }

/* ---------- 搜索页 ---------- */
.s-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.s-item { min-width: 0; display: flex; gap: 16px; padding: 14px; border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
.s-cover { flex: none; width: 120px; align-self: flex-start; }
.s-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.s-info h2 { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-line { min-width: 0; color: var(--dim); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-desc { overflow-wrap: anywhere; word-break: break-word; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: 13px; line-height: 1.7; }
.s-desc * { display: inline !important; width: auto !important; max-width: 100% !important; height: auto !important; float: none !important; position: static !important; margin: 0 !important; padding: 0 !important; font-size: inherit !important; }
.s-desc img, .s-desc br, .s-desc script, .s-desc style { display: none !important; }
.s-info .btn { align-self: flex-start; margin-top: auto; }

/* ---------- 文章 ---------- */
.art-list > li { border-bottom: 1px solid var(--line); }
.art-list > li:last-child { border-bottom: 0; }
.art-item { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; color: var(--text); }
.art-item .thumb { flex: none; width: 180px; aspect-ratio: 16 / 10; }
.art-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.art-body h3 { font-size: 17px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.art-item:hover h3 { color: var(--accent); }
.art-body p { color: var(--muted); font-size: 13px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.art-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: auto; color: var(--dim); font-size: 12px; }
.article { padding: 24px 28px; }
.article h1 { font-size: 26px; line-height: 1.4; }
.article .art-meta { margin: 12px 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.article-content { font-size: 16px; line-height: 1.9; overflow-wrap: anywhere; }
.article-content p { margin: 0 0 1em; }
.article-content * { max-width: 100% !important; box-sizing: border-box; }
.article-content img { height: auto !important; border-radius: 6px; }
.article-content table { display: block; overflow-x: auto; }

/* ---------- 专题 ---------- */
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.topic-card { display: block; overflow: hidden; border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); color: var(--text); }
.topic-card .thumb { border-radius: 0; aspect-ratio: 16 / 9; }
.topic-card .topic-body { padding: 12px 14px 14px; }
.topic-card h3 { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topic-card h3 small { margin-left: 6px; color: var(--accent); font-size: 12px; font-weight: 400; }
.topic-card p { margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.topic-card:hover h3 { color: var(--accent); }
.topic-head .vod-cover { aspect-ratio: 16 / 10; width: 320px; }

/* ---------- 演员 / 角色 ---------- */
.cards-actor { --cols: 8; }
.card-img.is-actor, .vod-cover.is-actor { aspect-ratio: 3 / 4; }
.actor-card .card-name, .actor-card .card-sub { text-align: center; }
.mini-search { display: flex; height: 36px; margin-left: auto; border: 1px solid #E3E5E8; border-radius: 18px; overflow: hidden; background: #fff; }
.mini-search input { width: 180px; min-width: 0; border: 0; outline: none; background: transparent; color: var(--text); padding: 0 14px; font: 13px var(--font); }
.mini-search button { border: 0; padding: 0 16px; background: var(--grad); color: #fff; font-size: 13px; cursor: pointer; }

/* ---------- 留言板 ---------- */
.gbook-form textarea {
	display: block; width: 100%; min-height: 110px; padding: 10px 12px; resize: vertical;
	border: 1px solid var(--line); border-radius: 8px; background: var(--panel-2); color: var(--text); font: 14px/1.7 var(--font); outline: none;
}
.gbook-form textarea:focus { border-color: var(--accent); background: #fff; }
.form-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 10px; color: var(--dim); font-size: 12px; }
.form-row .grow { margin-right: auto; }
.form-row input[type="text"] { width: 96px; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; }
.form-row img { height: 34px; border-radius: 4px; cursor: pointer; }
.form-row .gbook_submit { height: 36px; padding: 0 24px; border: 0; border-radius: 18px; background: var(--grad); color: #fff; font-size: 14px; cursor: pointer; }
.msg-list > li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.msg-list > li:last-child { border-bottom: 0; }
.msg-reply { margin-top: 8px; padding: 8px 12px; border-left: 3px solid var(--accent); border-radius: 0 6px 6px 0; background: var(--accent-soft); font-size: 13px; }
.msg-reply strong { color: var(--accent); }

/* 苹果CMS 搜索联想下拉框（宽度由 theme.js 对齐到搜索框） */
.mac_results {
	z-index: 200; margin-top: 6px; padding: 6px 0; overflow: hidden;
	border: 1px solid var(--line); border-radius: 10px; background: #fff;
	box-shadow: 0 12px 32px rgba(0, 0, 0, .12); color: var(--text); font-family: var(--font);
}
.mac_results ul { margin: 0; padding: 0; list-style: none; background: none; }
.mac_results li, .mac_results li.ac_even, .mac_results li.ac_odd {
	margin: 0; padding: 0 16px; line-height: 38px; height: 38px; border: 0;
	background: none; color: var(--text); font-size: 14px; cursor: pointer;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mac_results li strong { color: var(--accent); font-weight: 600; }
.mac_results li.ac_over { background: var(--accent-soft); color: var(--accent); }

/* ---------- 苹果CMS 弹窗（报错、登录、提示） ---------- */
.mac_pop_bg, .mac_pop_msg_bg { background: rgba(0, 0, 0, .45); }
.mac_pop {
	top: 50%; left: 50%; right: auto; bottom: auto; margin: 0; padding: 0;
	transform: translate(-50%, -50%);
	width: 440px !important; max-width: calc(100vw - 24px); height: auto !important; max-height: calc(100vh - 40px); overflow: auto;
	border: 0; border-radius: 12px; background: #fff; color: var(--text);
	box-shadow: 0 20px 60px rgba(0, 0, 0, .25); font-family: var(--font);
}
.mac_pop .pop_top { display: flex; align-items: center; width: auto; height: auto; padding: 14px 12px 14px 20px; border-bottom: 1px solid var(--line); background: none; }
.mac_pop .pop_top h2 { float: none; flex: 1; font-size: 16px; font-weight: 600; font-family: var(--font); color: var(--text); }
.mac_pop span.pop_close {
	float: none; flex: none; width: 32px; height: 32px; border-radius: 50%; background: none;
	font-size: 15px; line-height: 32px; text-indent: 0; text-align: center; color: var(--dim); font-weight: 400; cursor: pointer;
}
.mac_pop span.pop_close:hover { background: var(--panel-2); color: var(--text); }
.mac_pop .pop_content { padding: 18px 20px 20px; }
.mac_pop_msg {
	top: 50%; left: 50%; right: auto; bottom: auto; margin: 0; transform: translate(-50%, -50%);
	width: auto !important; height: auto !important; min-width: 180px; max-width: calc(100vw - 40px);
	padding: 14px 24px; border-radius: 10px; background: rgba(34, 34, 34, .92); border: 0;
}
.mac_pop_msg .pop-msg { color: #fff; font-size: 14px; line-height: 1.6; }
.report-box .report-tip { margin-bottom: 10px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.report-box textarea {
	display: block; width: 100%; min-height: 120px; padding: 10px 12px; resize: vertical;
	border: 1px solid var(--line); border-radius: 8px; background: var(--panel-2); color: var(--text);
	font: 13px/1.7 var(--font); outline: none;
}
.report-box textarea:focus, .report-box input[type="text"]:focus { border-color: var(--accent); }
.report-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: 10px 0 14px; color: var(--dim); font-size: 12px; }
.report-row .remaining-w { margin-left: auto; float: none; padding: 0; border: 0; line-height: 1.5; }
.report-verify { display: flex; align-items: center; gap: 6px; }
.report-verify input { width: 80px; height: 30px; padding: 0 8px; border: 1px solid var(--line); border-radius: 6px; }
.report-verify .mac_verify_img { height: 30px; border-radius: 4px; cursor: pointer; }
.report-submit { display: block; width: 100%; height: 40px; border: 0; border-radius: 20px; background: var(--grad); color: #fff; font: 14px var(--font); cursor: pointer; }
.mac_pop .mac_login { width: auto; height: auto; padding: 0; background: none; font-family: var(--font); }
.mac_pop .mac_login .login_form_group { margin-bottom: 12px; overflow: hidden; }
.mac_pop .mac_login .login_form_group input {
	height: 40px; line-height: 40px; padding: 0 14px 0 36px; border: 1px solid var(--line); border-radius: 8px;
	background-color: var(--panel-2); color: var(--text); font-size: 14px;
}
.mac_pop .mac_login .login_form_group input.mac_u_verify { width: 58%; float: left; }
.mac_pop .mac_login .login_form_group .mac_verify_img { float: right; height: 40px; border-radius: 6px; cursor: pointer; }
.mac_pop .mac_login .login_form_link { display: flex; justify-content: space-between; margin: 0 2px 14px; font-size: 13px; }
.mac_pop .mac_login .login_form_link a { color: var(--muted); }
.mac_pop .mac_login .login_form_group input.login_form_submit { padding: 0; border: 0; border-radius: 20px; background: var(--grad); color: #fff; font-size: 15px; cursor: pointer; }

/* ==========================================================
   平板（≤1024px）
   ========================================================== */
@media (max-width: 1024px) {
	.home-top, .layout-2, .sec-split { grid-template-columns: minmax(0, 1fr); }
	.sec-split .cards { --cols: 4; }
	.text-list.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
	.news-box .text-list li:nth-child(8) { display: flex; }
	.news-box .text-list li:nth-child(n+9) { display: none; }
	.news-box .rank-all { display: block; }
	.side-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 12px; }
	.side-item { flex-direction: column; gap: 8px; }
	.side-cover, .side-cover.is-wide { width: 100%; }
	.side-info em { display: none; }
	.side-info strong { font-size: 13px; }
	.s-list { grid-template-columns: minmax(0, 1fr); }
	.board-list { grid-template-columns: minmax(0, 1fr); }
	.page-gbook .layout-side { order: -1; }
	.cards-actor { --cols: 6; }
	.topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================
   手机（≤768px）
   ========================================================== */
@media (max-width: 768px) {
	.hd-bar { flex-wrap: wrap; height: auto; gap: 10px 8px; padding-top: 10px; padding-bottom: 10px; }
	.logo-mark { width: 30px; height: 30px; }
	.logo-text { font-size: 18px; }
	.hd-search { order: 3; flex: 1 0 100%; max-width: none; height: 38px; margin: 0; }
	.hd-tools { margin-left: auto; gap: 2px; }
	.hd-tool { padding: 6px 8px; }
	.hd-tool span { display: none; }
	.hd-hot { display: none; }
	.nav-list a { padding: 0 12px; line-height: 44px; }
	.nav-list .is-current a::after { left: 12px; right: 12px; }

	main.container { padding-top: 14px; }
	.sec { margin-top: 24px; }
	.sec-hd { flex-wrap: wrap; row-gap: 4px; }
	.sec-hd h2 { font-size: 17px; }
	.sec-tip { order: 3; flex: 0 0 100%; }
	.page-hd h1 { font-size: 18px; margin-bottom: 12px; }
	.cards { gap: 14px 10px; }
	.sec-split .cards { --cols: 3; }
	.card-name { margin-top: 6px; font-size: 13px; }
	.box { padding: 14px; }

	.hero { aspect-ratio: 16 / 9; }
	.hero-cap { padding: 40px 16px 30px; }
	.hero-cap strong { font-size: 18px; }
	.hero-slide.is-poster .hero-poster { right: 5%; height: 82%; }
	.hero-slide.is-poster .hero-cap { right: 44%; padding: 16px 0 16px 18px; }
	.hero-slide.is-poster .hero-cap strong { font-size: 18px; }
	.hero-slide.is-poster .hero-blurb { -webkit-line-clamp: 2; font-size: 12px; margin-top: 4px; }
	.hero-dots { left: 16px; bottom: 12px; }
	.text-list.cols-2 { grid-template-columns: minmax(0, 1fr); }
	.news-box .text-list li:nth-child(n+7) { display: none; }

	.filter { padding: 4px 12px; }
	.filter-row { gap: 8px; padding: 6px 0; }
	.filter-label { width: 2.6em; }
	.filter-opts { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.filter-opts::-webkit-scrollbar { display: none; }

	.vod-head { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px 14px; align-items: start; padding: 16px; }
	.vod-head .vod-cover { width: 100%; grid-row: 1 / span 3; }
	.vod-head .vod-info { display: contents; }
	.vod-head .vod-info h1 { grid-column: 2; font-size: 19px; }
	.vod-info h1 .score { font-size: 16px; margin-left: 6px; }
	.vod-head .vod-info .tags, .vod-head .vod-meta { grid-column: 2; }
	.vod-meta { grid-template-columns: minmax(0, 1fr); gap: 4px; font-size: 12px; }
	.vod-meta dt { min-width: 2.6em; }
	.vod-meta dd { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
	.vod-meta .m-hide { display: none; }
	.vod-head .vod-desc, .vod-head .vod-actions { grid-column: 1 / -1; }
	.mini-info .vod-cover { width: 84px; }
	.vod-actions .btn { flex: 1; padding: 0 10px; }
	.vod-head.topic-head { grid-template-columns: minmax(0, 1fr); }
	.vod-head.topic-head .vod-cover { grid-row: auto; width: 100%; }
	.vod-head.topic-head .vod-info h1, .vod-head.topic-head .vod-info .tags, .vod-head.topic-head .vod-meta { grid-column: 1; }

	.playlist, .cmt-box, .side-box { padding: 14px; }
	.pl-eps { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; max-height: 268px; }
	.pl-eps a { height: 34px; line-height: 34px; font-size: 12px; }

	.page-play { display: flex; flex-direction: column; padding-top: 0 !important; }
	.page-play .player { order: -1; width: auto; margin: 0 calc(-1 * var(--pad)); border-radius: 0; }
	.play-hd { margin: 12px 0 10px; }
	.play-hd h1 { font-size: 17px; }
	.play-hd h1 span { font-size: 14px; }
	.play-tip { margin-left: 0; width: 100%; }
	.play-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
	.play-bar .btn { height: 36px; padding: 0 4px; font-size: 13px; }

	.s-item { gap: 12px; padding: 12px; }
	.s-cover { width: 96px; }
	.s-info { gap: 6px; }
	.s-info h2 { font-size: 15px; }
	.s-desc { -webkit-line-clamp: 2; font-size: 12px; }

	.board-list { padding: 2px 14px; gap: 0; }
	.board-meta { display: none; }
	.art-item { gap: 12px; padding: 12px 0; }
	.art-item .thumb { width: 116px; }
	.art-body h3 { font-size: 15px; }
	.art-body p { display: none; }
	.article { padding: 16px; }
	.article h1 { font-size: 20px; }
	.article-content { font-size: 15px; }
	.topic-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.mini-search { width: 100%; margin-left: 0; }
	.mini-search input { flex: 1; width: auto; }
	.cmt-list > li { gap: 10px; }
	.cmt-avatar { width: 32px; height: 32px; font-size: 13px; }
	.to-top { right: 12px; width: 38px; height: 38px; }
}

/* ==========================================================
   小手机（≤560px）
   ========================================================== */
@media (max-width: 560px) {
	.pager .pg-edge { display: none; }
	.pager .page_link { min-width: 34px; height: 34px; padding: 0 9px; line-height: 32px; }
	.cards-actor { --cols: 4; gap: 14px 8px; }
	.quick-links a { padding: 10px 2px; font-size: 12px; }
	.page-home .cards .card:nth-child(n+10) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================
   hl-12 搜索页：综合搜索（最佳匹配 + 影片 + 演员 + 资讯）
   ========================================================== */
.zs-head { display: grid; gap: 12px; padding: 20px 22px 0; }
.zs-form { display: flex; height: 46px; max-width: 640px; overflow: hidden; border: 2px solid var(--accent); border-radius: 24px; background: #fff; }
.zs-form input { flex: 1; min-width: 0; padding: 0 18px; border: 0; outline: none; color: var(--text); font: 15px var(--font); }
.zs-form button { flex: none; padding: 0 26px; border: 0; background: var(--grad); color: #fff; font-size: 15px; cursor: pointer; }
.zs-sum { color: var(--muted); font-size: 14px; }
.zs-sum strong { color: var(--accent); }
.zs-tabs { display: flex; gap: 4px; margin: 0 -22px; padding: 0 22px; border-top: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.zs-tabs button { position: relative; flex: none; padding: 12px 16px; border: 0; background: none; color: var(--muted); font-size: 15px; cursor: pointer; }
.zs-tabs button small { margin-left: 2px; color: var(--dim); font-size: 12px; }
.zs-tabs button.is-active { color: var(--accent); font-weight: 600; }
.zs-tabs button.is-active::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--grad); }
.zs-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px 16px; }
.zs-best { grid-column: 1 / -1; display: flex; gap: 22px; padding: 18px; border: 1px solid #FFD9C7; border-radius: var(--radius); background: linear-gradient(90deg, #FFF6F1, #fff 60%); }
.zs-best .vod-cover { flex: none; width: 150px; box-shadow: 0 8px 20px rgba(255, 100, 40, .18); }
.zs-best-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.zs-badge { align-self: flex-start; padding: 1px 10px; border-radius: 3px; background: var(--grad); color: #fff; font-size: 12px; }
.zs-best-b h2 { font-size: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zs-act { display: flex; gap: 10px; margin-top: auto; }
.page-zs mark { padding: 0 1px; border-radius: 2px; background: #FFE2D3; color: var(--accent); }
@media (max-width: 1024px) { .zs-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 768px) {
	.zs-head { padding: 14px 14px 0; }
	.zs-form { height: 42px; }
	.zs-form button { padding: 0 16px; }
	.zs-tabs { margin: 0 -14px; padding: 0 14px; }
	.zs-tabs button { padding: 11px 12px; font-size: 14px; }
	.zs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; }
	.zs-best { gap: 12px; padding: 12px; }
	.zs-best .vod-cover { width: 96px; }
	.zs-best-b h2 { font-size: 17px; }
	.zs-best .s-desc { -webkit-line-clamp: 2; font-size: 12px; }
	.zs-best .s-line { display: none; }
	.zs-act .btn { flex: 1; padding: 0 8px; height: 36px; }
}

/* ==========================================================
   hl-42：四色皮肤（红 / 蓝 / 绿 / 橙）· 浅灰底白卡片
   ========================================================== */
:root, html[data-skin="red"] { --accent: #D7263D; --accent-2: #F25C6E; --accent-soft: #FDECEE; --accent-ink: #9E1427; --grad: linear-gradient(90deg, #D7263D, #F25C6E); }
html[data-skin="blue"] { --accent: #1D6FE0; --accent-2: #4B93F2; --accent-soft: #E8F1FD; --accent-ink: #114C9F; --grad: linear-gradient(90deg, #1D6FE0, #4B93F2); }
html[data-skin="green"] { --accent: #179A55; --accent-2: #3EBD78; --accent-soft: #E6F6EC; --accent-ink: #0E6B3A; --grad: linear-gradient(90deg, #179A55, #3EBD78); }
html[data-skin="orange"] { --accent: #E8730C; --accent-2: #F59A45; --accent-soft: #FEF1E4; --accent-ink: #A9520A; --grad: linear-gradient(90deg, #E8730C, #F59A45); }
:root { --bg: #F2F3F5; --ink: #1F2329; }
body { background: var(--bg); }
.s-wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); box-sizing: border-box; }
.s-main { padding-top: 16px; padding-bottom: 32px; }
/* 顶条 + 换肤 */
.s-topbar { background: var(--accent-ink); color: rgba(255, 255, 255, .8); font-size: 12px; }
.s-topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 32px; }
.s-topbar-in > span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.s-skins { display: flex; align-items: center; gap: 6px; flex: none; }
.s-skins svg { width: 15px; height: 15px; }
.s-skins button { width: 16px; height: 16px; padding: 0; border: 2px solid rgba(255, 255, 255, .7); border-radius: 50%; cursor: pointer; }
.s-skins button.is-on { border-color: #fff; box-shadow: 0 0 0 2px rgba(255, 255, 255, .45); transform: scale(1.15); }
.sk-red { background: #D7263D; } .sk-blue { background: #1D6FE0; } .sk-green { background: #179A55; } .sk-orange { background: #E8730C; }
/* 页头：Logo + 搜索 + 工具；下：彩色导航条 */
.s-head { background: #fff; }
.s-head-in { display: flex; align-items: center; gap: 26px; height: 74px; }
.s-logo { display: flex; align-items: center; gap: 10px; flex: none; color: var(--accent); font-size: 24px; font-weight: 900; }
.s-logo svg { width: 40px; height: 40px; }
.s-logo span { max-width: 220px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--ink); }
.s-search { display: flex; flex: 1; max-width: 520px; height: 40px; margin: 0 auto; overflow: hidden; border: 2px solid var(--accent); border-radius: 6px; }
.s-search input { flex: 1; min-width: 0; padding: 0 14px; border: 0; background: none; font: 15px var(--font); outline: none; }
.s-search button { display: flex; align-items: center; gap: 6px; flex: none; padding: 0 20px; border: 0; background: var(--accent); color: #fff; font: 600 15px var(--font); cursor: pointer; }
.s-search button svg { width: 18px; height: 18px; }
.s-tools { position: relative; display: flex; gap: 6px; flex: none; }
.s-tool { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 4px 8px; border-radius: 8px; color: #5B6370; font-size: 12px; }
.s-tool svg { width: 21px; height: 21px; }
.s-tool:hover { background: var(--accent-soft); color: var(--accent); }
.s-nav { background: var(--accent); }
.s-nav .nav-list { display: flex; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.s-nav .nav-list::-webkit-scrollbar { display: none; }
.s-nav .nav-list a { display: block; padding: 0 20px; color: #fff; font-size: 16px; line-height: 44px; }
.s-nav .nav-list a:hover { background: rgba(0, 0, 0, .12); }
.s-nav .nav-list .is-current a, body.pg-new .s-nav .nav-new a, body.pg-top .s-nav .nav-top a { background: var(--accent-ink); font-weight: 700; }
.s-tools .mac_history_box { position: absolute !important; top: calc(100% + 10px) !important; right: 0 !important; left: auto !important; z-index: 9999; width: 300px !important; max-width: calc(100vw - 24px); max-height: 380px; overflow-y: auto; margin: 0; padding: 0 0 6px !important; border-radius: 10px; background: #fff; box-shadow: 0 12px 32px rgba(0, 0, 0, .16); text-align: left; }
.s-tools .mac_history_box dt { display: flex; justify-content: space-between; padding: 12px 16px 10px !important; border-bottom: 1px solid #EEF0F3; color: #999; font-size: 12px; font-weight: 400; }
.s-tools .mac_history_box dt::before { content: "观看记录"; color: #333; font-size: 14px; }
.s-tools .mac_history_box dt a { color: #999; }
.s-tools .mac_history_box dd { height: auto !important; min-height: 0 !important; margin: 0; line-height: normal !important; overflow: visible !important; border-bottom: 1px solid #F3F4F6; }
.s-tools .mac_history_box dd:last-child { border-bottom: 0; }
.s-tools .mac_history_box dd a { display: flex !important; align-items: center; gap: 10px; padding: 11px 16px !important; color: #333; font-size: 14px !important; line-height: 1.4 !important; }
.s-tools .mac_history_box dd a::after { content: "继续观看 ›"; flex: none; margin-left: auto; color: var(--accent); font-size: 12px; }
.s-tools .mac_history_box dd a:hover { background: var(--accent-soft); color: var(--accent); }
.s-tools .mac_history_box dd.hide { display: block; padding: 22px 16px !important; color: #999; font-size: 13px; text-align: center; }
/* 页脚 */
.s-foot { margin-top: 10px; padding: 24px 0; border-top: 4px solid var(--accent); background: #22262D; color: #9AA1AD; font-size: 13px; text-align: center; }
.s-foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 10px; }
.s-foot-nav a { color: #D3D7DE; }
.s-foot-nav a:hover { color: #fff; }
.s-foot p + p { margin-top: 6px; }
/* 通用 */
.s-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 0 18px; border: 1px solid #D9DCE1; border-radius: 6px; background: #fff; color: #333; font: 14px var(--font); cursor: pointer; }
.s-btn svg { width: 17px; height: 17px; }
.s-btn:hover { border-color: var(--accent); color: var(--accent); }
.s-btn.is-primary { border-color: transparent; background: var(--accent); color: #fff; }
.s-btn.is-primary:hover { background: var(--accent-ink); color: #fff; }
.s-ibtn { display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 12px; border: 1px solid #E1E4E8; border-radius: 6px; background: #fff; color: #555; font-size: 13px; cursor: pointer; }
.s-ibtn svg { width: 15px; height: 15px; }
.s-ibtn em { font-style: normal; }
.s-ibtn:hover { border-color: var(--accent); color: var(--accent); }
.s-ibtn.is-next { border-color: var(--accent); background: var(--accent); color: #fff; }
.s-ibtn.is-none { opacity: .4; pointer-events: none; }
.s-sec { margin-bottom: 22px; padding: 16px 18px; border-radius: 8px; background: #fff; }
.s-box { margin-bottom: 18px; padding: 16px 18px; border-radius: 8px; background: #fff; }
.s-sec-hd { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin: -16px -18px 14px; padding: 12px 18px; border-bottom: 2px solid #F0F1F3; }
.s-sec-hd h1, .s-sec-hd h2 { position: relative; color: var(--ink); font-size: 18px; }
.s-sec-hd h2::after, .s-sec-hd h1::after { content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: 2px; background: var(--accent); }
.s-sec-hd h2 a { color: inherit; }
.s-sec-hd h2 a:hover { color: var(--accent); }
.s-tip { color: #8A919C; font-size: 13px; }
.s-tip b { color: var(--accent); }
.s-more { margin-left: auto; color: #8A919C; font-size: 13px; }
.s-more:hover { color: var(--accent); }
.s-subs { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; }
.s-subs::-webkit-scrollbar { display: none; }
.s-subs a { flex: none; color: #5B6370; font-size: 14px; }
.s-subs a:hover { color: var(--accent); }
.s-seg { display: flex; flex-wrap: wrap; gap: 4px; }
.s-seg .tab { padding: 5px 14px; border: 1px solid #E1E4E8; border-radius: 4px; background: #fff; color: #5B6370; font-size: 14px; cursor: pointer; box-shadow: none; }
.s-seg .tab.is-active { border-color: var(--accent); background: var(--accent); color: #fff; }
.s-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px 14px; }
.s-card { display: flex; flex-direction: column; gap: 4px; min-width: 0; color: var(--ink); }
.s-card .card-img { position: relative; width: 100%; border-radius: 4px; background: #E9EBEF; }
.s-rem { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px 6px 4px; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); color: #fff; font-size: 12px; font-style: normal; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-name { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-sub { color: #8A919C; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-card:hover .s-name { color: var(--accent); }
.s-links .link-list { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.s-links .link-list a { color: #5B6370; font-size: 14px; }
.s-links .link-list .muted { color: #999; font-size: 13px; }
/* 首页：九宫格拼图轮播 */
.s-mz { padding: 18px 0; background: #1B1E24; }
.s-mz-in { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 14px; }
.s-mz-stage { position: relative; aspect-ratio: 16 / 7; overflow: hidden; border-radius: 6px; background: #111; perspective: 1400px; }
.s-mz-tiles { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); }
.s-mz-tile { position: relative; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.4, 0, .2, 1); }
.s-mz-tile.is-turn { transform: rotateY(180deg); }
.s-mz-tile.no-anim { transition: none; }
.s-mz-tile i { position: absolute; inset: 0; background-repeat: no-repeat; background-size: 300% 300%; backface-visibility: hidden; }
.s-mz-tile i.is-b { transform: rotateY(180deg); }
.s-mz-stage::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(0, 0, 0, .85), transparent 55%); pointer-events: none; }
.s-mz-cap { position: absolute; left: 26px; right: 26px; bottom: 22px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; color: #fff; }
.s-mz-cap em { padding: 1px 10px; border-radius: 3px; background: var(--accent); font-size: 12px; font-style: normal; }
.s-mz-cap h2 { font-size: 32px; line-height: 1.2; }
.s-mz-cap p { color: rgba(255, 255, 255, .8); font-size: 14px; }
.s-mz-cap .s-btn { margin-top: 4px; }
.s-mz-thumbs { display: flex; flex-direction: column; gap: 8px; }
.s-mz-thumbs button { position: relative; display: flex; align-items: center; gap: 10px; flex: 1; min-height: 0; padding: 6px; overflow: hidden; border: 2px solid transparent; border-radius: 6px; background: #262A31; color: #C9CED6; font: 13px var(--font); text-align: left; cursor: pointer; }
.s-mz-thumbs button img { flex: none; height: 100%; max-height: 54px; aspect-ratio: 3 / 4; border-radius: 3px; object-fit: cover; }
.s-mz-thumbs button span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.s-mz-thumbs button.is-on { border-color: var(--accent); background: #2E333C; color: #fff; }
.s-mz.is-empty { display: none; }
/* 首页：可展开分类行 */
.s-xgrid > .card:nth-child(n+7) { display: none; }
[data-expand].is-open .s-xgrid > .card { display: flex; }
.s-xbtn { display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%; height: 36px; margin-top: 14px; border: 1px dashed #D9DCE1; border-radius: 6px; background: #FAFBFC; color: #5B6370; font: 13px var(--font); cursor: pointer; }
.s-xbtn svg { width: 16px; height: 16px; transition: transform .25s; }
.s-xbtn:hover { border-color: var(--accent); color: var(--accent); }
[data-expand].is-open .s-xbtn svg { transform: rotate(180deg); }
.s-xbtn[hidden] { display: none; }
/* 分类页：年份选项卡 */
.s-thead { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 16px; }
.s-thead h1 { color: var(--ink); font-size: 26px; }
.s-thead .s-btn, .s-thead .s-asearch { margin-left: auto; }
.s-ytabs .s-seg { margin-left: auto; }
.s-ymore { margin-top: 14px; text-align: center; }
/* 筛选页：吸顶收缩条件栏 */
.s-fsticky { position: sticky; top: 0; z-index: 30; margin-bottom: 18px; }
.s-fbar { border-radius: 8px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .05); transition: box-shadow .2s; }
.s-fsticky.is-stuck .s-fbar { box-shadow: 0 8px 24px rgba(0, 0, 0, .14); }
.s-fbar-in { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; padding: 10px 16px; border-bottom: 1px solid #F0F1F3; }
.s-fsum { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; padding: 0; border: 0; background: none; color: var(--ink); font: 15px var(--font); text-align: left; cursor: pointer; }
.s-fsum > svg { flex: none; width: 18px; height: 18px; color: var(--accent); transition: transform .25s; }
.s-fsum[aria-expanded="false"] > svg { transform: rotate(-90deg); }
.s-fsum b { flex: none; font-size: 17px; }
.s-fsum-tags { display: flex; gap: 6px; min-width: 0; overflow: hidden; }
.s-fsum-tags i { flex: none; padding: 1px 10px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-style: normal; font-weight: 600; }
.s-fsum em { color: #A1A7B0; font-size: 13px; font-style: normal; }
.s-fsum-tags:not(:empty) + em { display: none; }
.s-fsum small { flex: none; margin-left: auto; color: #8A919C; font-size: 13px; }
.s-sort { display: flex; gap: 2px; }
.s-sort a { padding: 4px 12px; border-radius: 4px; color: #5B6370; font-size: 13px; }
.s-sort a.is-on { background: var(--accent); color: #fff; }
.s-fpanel { padding: 6px 16px 10px; }
.s-fpanel[hidden] { display: none; }
.s-frow { display: flex; gap: 12px; padding: 7px 0; border-bottom: 1px dashed #EEF0F3; }
.s-frow > b { flex: none; width: 3em; padding-top: 3px; color: #8A919C; font-size: 14px; font-weight: 400; }
.s-fopts { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; }
.s-fopts a { padding: 3px 12px; border-radius: 4px; color: #3A4049; font-size: 14px; }
.s-fopts a:hover { color: var(--accent); }
.s-fopts a.is-on { background: var(--accent); color: #fff; }
.s-fpanel-ft { padding-top: 8px; text-align: right; font-size: 13px; }
.s-fpanel-ft a { color: #8A919C; }
.s-fpanel-ft a:hover { color: var(--accent); }
/* 详情页：相关海报马赛克背景 */
.s-wall { position: relative; height: 260px; margin-bottom: -200px; overflow: hidden; background: #1B1E24; }
.s-wall-tiles { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 130px; opacity: .45; filter: saturate(1.1) blur(1px); transform: rotate(-4deg) scale(1.15); }
.s-wall-tiles span { background-size: cover; background-position: center; background-color: #2A2E36; }
.s-wall::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27, 30, 36, .25), var(--bg) 96%); }
.page-detail { position: relative; z-index: 2; }
.page-detail > .crumbs, .page-detail > .crumbs a { color: rgba(255, 255, 255, .78); }
.s-dcard { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 26px; margin-bottom: 18px; padding: 22px; border-top: 4px solid var(--accent); border-radius: 8px; background: #fff; box-shadow: 0 18px 40px rgba(0, 0, 0, .14); }
.s-dcover { width: 100% !important; border-radius: 6px; }
.s-dinfo { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.s-dinfo h1 { color: var(--ink); font-size: 28px; line-height: 1.25; }
.s-dinfo h1 small { margin-left: 10px; color: #8A919C; font-size: 14px; font-weight: 400; }
.s-dtags { display: flex; flex-wrap: wrap; gap: 6px; }
.s-dtags span { padding: 2px 10px; border-radius: 3px; background: #F2F3F5; color: #5B6370; font-size: 13px; }
.s-dtags .is-rem { background: var(--accent); color: #fff; }
.s-dtags .is-score { background: #FFF4DB; color: #C47F00; font-weight: 700; }
.s-ddl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 26px; font-size: 14px; }
.s-ddl div { display: flex; gap: 10px; min-width: 0; padding-bottom: 6px; border-bottom: 1px dashed #EEF0F3; }
.s-ddl dt { flex: none; width: 3em; color: #8A919C; }
.s-ddl dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.s-ddl dd a { display: inline-block; margin-right: 8px; }
.s-ddl dd a:hover { color: var(--accent); }
.s-dacts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.s-pl { padding: 0; background: none; box-shadow: none; }
.s-pl .pl-hd { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.s-pl .pl-tabs { flex: 1; min-width: 0; display: flex; flex-wrap: nowrap; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 0; border: 0; }
.s-pl .pl-tabs::-webkit-scrollbar { display: none; }
.s-pl .pl-tab { flex: none; padding: 5px 14px; border: 1px solid #E1E4E8; border-radius: 4px; background: #fff; color: #5B6370; white-space: nowrap; box-shadow: none; }
.s-pl .pl-tab.is-active { border-color: var(--accent); background: var(--accent); color: #fff; }
.s-pl .pl-order { flex: none; margin: 0; white-space: nowrap; }
.s-pl .pl-eps { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; max-height: none !important; overflow: visible !important; }
.s-pl .pl-eps a { border-radius: 4px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-align: center; }
/* 播放页：右侧三标签侧栏 */
.s-playlay { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; margin-bottom: 22px; }
.s-pmain { min-width: 0; }
.s-player .player { border-radius: 6px; }
.s-ptitle { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-top: 12px; padding: 12px 16px; border-radius: 8px; background: #fff; }
.s-ptitle h1 { flex: 1; min-width: 0; font-size: 19px; }
.s-ptitle h1 a { color: var(--ink); }
.s-ptitle h1 span { margin-left: 10px; color: var(--accent); font-size: 15px; font-weight: 500; }
.s-pacts { display: flex; flex-wrap: wrap; gap: 6px; }
.s-pside { position: sticky; top: 12px; display: flex; flex-direction: column; max-height: calc(100vh - 24px); overflow: hidden; border-radius: 8px; background: #fff; }
.s-pside-tabs { display: flex; flex: none; border-bottom: 2px solid #F0F1F3; }
.s-pside-tabs .tab { flex: 1; padding: 12px 0; border: 0; background: none; color: #5B6370; font: 15px var(--font); cursor: pointer; box-shadow: none; }
.s-pside-tabs .tab.is-active { color: var(--accent); font-weight: 700; box-shadow: inset 0 -3px 0 var(--accent); }
.s-pside-bd { flex: 1; min-height: 0; overflow-y: auto; padding: 14px; scrollbar-width: thin; }
.s-pside-bd[hidden] { display: none; }
.s-pside .s-pl .pl-eps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.s-pinfo-meta { margin-bottom: 6px; color: #8A919C; font-size: 13px; }
.s-pinfo-cast { margin-bottom: 10px; color: #5B6370; font-size: 13px; }
.s-pside-bd .prose { margin-bottom: 12px; color: #3A4049; font-size: 14px; line-height: 1.85; }
/* 搜索：相关词云 */
.s-shd { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 14px; }
.s-shd h1 { font-size: 22px; word-break: break-all; }
.s-shd strong, .s-shd b { color: var(--accent); }
.s-shd span { color: #888; font-size: 14px; }
.s-rwords { display: flex; align-items: baseline; gap: 12px; }
.s-rwords[hidden] { display: none; }
.s-rwords > b { flex: none; color: #8A919C; font-size: 14px; font-weight: 400; }
.s-rwords > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.s-rwords a { color: #3A4049; font-size: var(--fs, 14px); font-weight: var(--fw, 400); }
.s-rwords a small { margin-left: 2px; color: #B0B5BD; font-size: 11px; font-weight: 400; }
.s-rwords a:hover { color: var(--accent); }
.s-rwords a.is-actor { color: var(--accent-ink); }
.page-search mark { padding: 0 1px; background: var(--accent-soft); color: var(--accent); }
/* 最近更新：自上次来访以来 */
.s-since { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 16px; padding: 14px 18px; border-left: 4px solid var(--accent); border-radius: 8px; background: #fff; }
.s-since p { flex: 1; min-width: 200px; color: #3A4049; font-size: 14px; }
.s-since p b { color: var(--accent); font-size: 18px; }
.s-since-acts { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.s-since-acts label { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.s-since-acts input { accent-color: var(--accent); }
.s-nlist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 16px; }
.s-nlist li[hidden] { display: none; }
.s-nlist li a { display: flex; gap: 12px; padding: 10px; border: 1px solid transparent; border-radius: 8px; background: #fff; color: var(--ink); }
.s-nlist li a:hover { border-color: var(--accent); }
.s-nlist li.is-new a { border-color: var(--accent-2); background: linear-gradient(90deg, var(--accent-soft), #fff 60%); }
.s-ni-pic { position: relative; flex: none; width: 48px; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px; background: #E9EBEF; }
.s-ni-pic img { width: 100%; height: 100%; object-fit: cover; }
.s-ni-new { position: absolute; left: 0; top: 0; display: none; padding: 0 4px; background: var(--accent); color: #fff; font-size: 9px; font-style: normal; font-weight: 800; }
.s-nlist li.is-new .s-ni-new { display: block; }
.s-ni-b { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.s-ni-b b { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-ni-b em { color: var(--accent); font-size: 12px; font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-ni-b small { color: #A1A7B0; font-size: 12px; }
/* 排行：可排序表格 */
.s-rtabs { margin-bottom: 14px; }
.s-tablewrap { overflow-x: auto; border-radius: 8px; background: #fff; }
.s-rtable { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.s-rtable th { padding: 10px 12px; border-bottom: 2px solid var(--accent); background: #FAFBFC; color: #5B6370; font-weight: 600; text-align: left; white-space: nowrap; }
.s-rtable th.num, .s-rtable td.num { text-align: right; font-variant-numeric: tabular-nums; }
.s-rtable th button { display: inline-flex; align-items: center; gap: 3px; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.s-rtable th button svg { width: 14px; height: 14px; opacity: .35; }
.s-rtable th button.is-desc, .s-rtable th button.is-asc { color: var(--accent); }
.s-rtable th button.is-desc svg, .s-rtable th button.is-asc svg { opacity: 1; }
.s-rtable td { padding: 8px 12px; border-bottom: 1px solid #F0F1F3; color: #3A4049; }
.s-rtable tbody tr:hover { background: var(--accent-soft); }
.s-tn { width: 44px; color: #A1A7B0; font-weight: 800; text-align: center; }
.s-rtable tbody tr:nth-child(-n+3) .s-tn { color: var(--accent); }
.s-tt a { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.s-tt-pic { flex: none; width: 34px; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 3px; background: #E9EBEF; }
.s-tt-pic img { width: 100%; height: 100%; object-fit: cover; }
.s-tt b { display: block; max-width: 260px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-tt small { color: #A1A7B0; font-size: 12px; }
.s-tt a:hover b { color: var(--accent); }
/* 明星：悬停翻出代表作 */
.s-asearch { display: flex; overflow: hidden; border: 1px solid #D9DCE1; border-radius: 6px; background: #fff; }
.s-asearch input { width: 170px; height: 34px; padding: 0 12px; border: 0; background: none; font: 14px var(--font); outline: none; }
.s-asearch button { padding: 0 14px; border: 0; background: var(--accent); color: #fff; cursor: pointer; }
.s-acards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px 14px; }
.s-acard { position: relative; min-width: 0; overflow: hidden; border-radius: 8px; background: #fff; outline: none; }
.s-acard-front { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 14px 10px 12px; color: var(--ink); text-align: center; }
.s-acard-pic { display: block; width: 78%; aspect-ratio: 1; overflow: hidden; border: 3px solid var(--accent-soft); border-radius: 50%; background: #E9EBEF; }
.s-acard-pic img { width: 100%; height: 100%; object-fit: cover; }
.s-acard-front b { max-width: 100%; margin-top: 6px; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-acard-front small { color: #8A919C; font-size: 12px; }
.s-acard-works { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 14px; background: var(--accent); color: #fff; transform: translateY(101%); transition: transform .3s ease; }
.s-acard:hover .s-acard-works, .s-acard:focus-within .s-acard-works, .s-acard.is-open .s-acard-works { transform: none; }
.s-acard-works p { margin-bottom: 6px; font-size: 12px; opacity: .8; }
.s-acard-works ol { flex: 1; counter-reset: aw; }
.s-acard-works li { display: flex; align-items: baseline; gap: 6px; padding: 5px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); counter-increment: aw; font-size: 13px; }
.s-acard-works li::before { content: counter(aw); flex: none; font-weight: 800; opacity: .7; }
.s-acard-works li a { flex: 1; min-width: 0; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-acard-works li small { flex: none; font-size: 11px; opacity: .75; }
.s-acard-works ol:empty::before { content: "暂未收录作品"; font-size: 13px; opacity: .8; }
.s-acard-more { margin-top: 6px; color: #fff; font-size: 12px; text-align: right; }
.s-aprof { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; }
.s-aprof-pic { display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 6px; background: #E9EBEF; }
.s-aprof-pic img { width: 100%; height: 100%; object-fit: cover; }
.s-aprof-b { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.s-aprof-b h1 { font-size: 26px; }
.s-aprof-b h1 small { margin-left: 10px; color: #8A919C; font-size: 14px; font-weight: 400; }
.s-adl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; font-size: 14px; }
.s-adl div { display: flex; gap: 10px; min-width: 0; }
.s-adl dt { flex: none; width: 3.5em; color: #8A919C; }
.s-adl dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.s-sames { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px 14px; }
.s-same { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; color: var(--ink); text-align: center; }
.s-same span { display: block; width: 80%; aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: #E9EBEF; }
.s-same img { width: 100%; height: 100%; object-fit: cover; }
.s-same b { max-width: 100%; margin-top: 4px; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-same small { color: #8A919C; font-size: 12px; }
.s-same:hover b { color: var(--accent); }
/* 下载页 */
.s-dl { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; }
.s-dl-b { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.s-dl-b h1 { font-size: 24px; }
.s-dl-b h1 span { color: var(--accent); font-size: 17px; }
.s-dl-addr { display: flex; gap: 10px; }
.s-dl-addr input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid #D9DCE1; border-radius: 6px; background: #FAFBFC; font: 14px var(--font); }
.s-dl-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.toast04 { position: fixed; left: 50%; bottom: 90px; z-index: 300; transform: translateX(-50%); padding: 10px 20px; border-radius: 6px; background: rgba(0, 0, 0, .8); color: #fff; font-size: 14px; white-space: nowrap; }

/* ---------- 自适应 ---------- */
@media (max-width: 1100px) {
	.s-grid, .s-acards, .s-sames { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.s-xgrid > .card:nth-child(n+5) { display: none; }
	.s-mz-in { grid-template-columns: minmax(0, 1fr); }
	.s-mz-thumbs { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
	.s-mz-thumbs::-webkit-scrollbar { display: none; }
	.s-mz-thumbs button { flex: none; width: 170px; height: 62px; }
	.s-playlay { grid-template-columns: minmax(0, 1fr); }
	.s-pside { position: static; max-height: none; }
	.s-pside-bd { max-height: 460px; }
	.s-nlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.s-wall-tiles { grid-template-columns: repeat(8, 1fr); }
}
@media (max-width: 768px) {
	.s-topbar-in > span { display: none; }
	.s-topbar-in { justify-content: flex-end; }
	.s-head-in { flex-wrap: wrap; gap: 8px 14px; height: auto; padding-top: 10px; padding-bottom: 10px; }
	.s-logo { font-size: 19px; }
	.s-logo svg { width: 32px; height: 32px; }
	.s-tools { margin-left: auto; }
	.s-search { order: 3; flex: 1 1 100%; max-width: none; }
	.s-search button span { display: none; }
	.s-search button { padding: 0 16px; }
	.s-nav .nav-list a { padding: 0 14px; font-size: 15px; line-height: 42px; }
	.s-main { padding-top: 12px; }
	.s-sec, .s-box { padding: 14px; }
	.s-sec-hd { margin: -14px -14px 12px; padding: 10px 14px; }
	.s-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 8px; }
	.s-xgrid > .card:nth-child(n+4) { display: none; }
	.s-name { font-size: 13px; }
	.s-sec-hd h2 { font-size: 17px; }
	.s-sec-hd .s-subs { order: 3; flex-basis: 100%; }
	.s-mz { padding: 0 0 12px; }
	.s-mz-in { padding: 0; gap: 10px; }
	.s-mz-stage { aspect-ratio: 16 / 10; border-radius: 0; }
	.s-mz-cap { left: 14px; right: 14px; bottom: 14px; }
	.s-mz-cap h2 { font-size: 21px; }
	.s-mz-cap .s-btn { display: none; }
	.s-mz-thumbs { padding: 0 var(--pad); }
	.s-mz-thumbs button { width: 140px; height: 54px; }
	.s-thead h1 { font-size: 22px; }
	.s-thead .s-subs { order: 3; flex-basis: 100%; }
	.s-ytabs .s-seg { margin-left: 0; flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
	.s-ytabs .s-seg .tab { flex: none; }
	.s-fbar-in { padding: 10px 12px; }
	.s-fsum b { font-size: 15px; }
	.s-sort { width: 100%; }
	.s-sort a { flex: 1; text-align: center; }
	.s-frow { flex-direction: column; gap: 4px; }
	.s-fopts { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.s-fopts::-webkit-scrollbar { display: none; }
	.s-fopts a { flex: none; }
	.s-wall { height: 200px; margin-bottom: -150px; }
	.s-wall-tiles { grid-template-columns: repeat(5, 1fr); grid-auto-rows: 100px; }
	.s-dcard { grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding: 14px; }
	.s-dinfo { display: contents; }
	.s-dinfo h1 { grid-column: 2; font-size: 20px; align-self: start; }
	.s-dinfo h1 small { display: block; margin: 2px 0 0; }
	.s-dtags { grid-column: 2; align-self: start; }
	.s-dcover { grid-row: 1 / span 2; align-self: start; }
	.s-ddl, .s-dacts { grid-column: 1 / -1; }
	.s-ddl { grid-template-columns: minmax(0, 1fr); }
	.s-dacts .is-primary { flex: 1 1 100%; }
	.s-pl .pl-eps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.page-play { display: block !important; }
	.page-play .s-player { margin: 0 calc(-1 * var(--pad)); }
	.page-play .s-player .player { border-radius: 0; margin: 0; }
	.s-ptitle { padding: 10px 12px; }
	.s-ptitle h1 { flex-basis: 100%; font-size: 17px; }
	.s-pacts { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.s-pacts .s-ibtn { justify-content: center; padding: 0 6px; }
	.s-rwords { flex-direction: column; gap: 6px; }
	.s-nlist { grid-template-columns: minmax(0, 1fr); }
	.s-rtabs { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
	.s-rtabs .tab { flex: none; }
	.s-acards, .s-sames { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 8px; }
	.s-acard-front b { font-size: 13px; }
	.s-acard-works { padding: 10px; }
	.s-acard-works li { font-size: 12px; padding: 3px 0; }
	.s-asearch { width: 100%; margin-left: 0 !important; }
	.s-asearch input { flex: 1; width: auto; }
	.s-aprof { grid-template-columns: 110px minmax(0, 1fr); gap: 14px; }
	.s-aprof-b h1 { font-size: 21px; }
	.s-aprof-b h1 small { display: block; margin: 2px 0 0; }
	.s-adl { grid-template-columns: minmax(0, 1fr); gap: 4px; font-size: 13px; }
	.s-dl { grid-template-columns: 90px minmax(0, 1fr); gap: 12px; }
	.s-dl-addr { flex-direction: column; grid-column: 1 / -1; }
	.s-dl-addr input { flex: none; width: 100%; }
	.s-dl-acts { grid-column: 1 / -1; }
}
/* 手机：标题栏换行时，标题改用左侧色条（避免下划线压住第二行子分类） */
@media (max-width: 768px) { .s-sec-hd h1::after, .s-sec-hd h2::after { display: none; } .s-sec-hd h1, .s-sec-hd h2 { padding-left: 10px; border-left: 3px solid var(--accent); line-height: 1.2; } }
/* 平板：展开后显示 16 部（4 列刚好 4 行） */
@media (max-width: 1100px) and (min-width: 769px) { [data-expand].is-open .s-xgrid > .card:nth-child(n+17) { display: none; } }
