/* ==========================================================
   theme.css —— hl-08 白底 · 蓝色 #2692FF（仿原版优酷风格）· 自适应版
   电脑 / 平板 / 手机通用。改颜色只需改 :root 里的变量。
   ========================================================== */
:root {
	--bg: #F5F6F8;
	--panel: #FFFFFF;
	--panel-2: #F3F4F6;
	--line: #ECEDF0;
	--text: #222222;
	--muted: #666666;
	--dim: #999999;
	--accent: #2692FF;
	--accent-2: #34B8FF;
	--accent-soft: #EAF4FF;
	--hot: #FF4A3F;
	--grad: linear-gradient(90deg, #2692FF, #34B8FF);
	--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(38, 146, 255, .25); }
.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(38, 146, 255, .14); }
.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(38, 146, 255, .92); 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-08 重写版：仿原版优酷风格（白色页头 / 蓝色 #2692FF / 浅灰底）
   ========================================================== */
.y-wrap { max-width: 1390px; margin: 0 auto; padding: 0 var(--pad); box-sizing: border-box; }
.y-main { padding-top: 20px; padding-bottom: 30px; }
/* 页头 */
.y-head { position: relative; z-index: 50; background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .06); }
.y-head-in { display: flex; align-items: center; gap: 22px; height: 68px; }
.y-logo { display: flex; align-items: center; gap: 8px; flex: none; color: #222; }
.y-logo-mark { width: 36px; height: 36px; }
.y-logo-text { max-width: 200px; overflow: hidden; font-size: 20px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.y-nav { flex: 1; min-width: 0; overflow: hidden; }
.y-nav .nav-list { display: flex; gap: 2px; white-space: nowrap; }
.y-nav .nav-list a { display: block; padding: 0 12px; color: #333; font-size: 16px; line-height: 68px; }
.y-nav .nav-list a:hover, .y-nav .nav-list .is-current a { color: var(--accent); }
.y-nav .nav-list .is-current a { font-weight: 700; }
.y-search { display: flex; flex: 0 1 380px; min-width: 0; height: 38px; overflow: hidden; border: 1px solid #DDE3EA; border-radius: 19px; background: #F5F7FA; }
.y-search input { flex: 1; min-width: 0; padding: 0 16px; border: 0; background: none; color: #333; font: 14px var(--font); outline: none; }
.y-search button { flex: none; padding: 0 22px; border: 0; background: var(--grad); color: #fff; font-size: 15px; cursor: pointer; }
.y-tools { display: flex; align-items: center; gap: 14px; flex: none; }
.y-tool { display: flex; flex-direction: column; align-items: center; color: #666; font-size: 12px; line-height: 1.2; }
.y-tool svg { width: 22px; height: 22px; }
.y-tool:hover { color: var(--accent); }
.y-avatar img { display: block; width: 36px; height: 36px; border-radius: 50%; background: #E5ECF5; }
/* 首页：页头叠在轮播图上（原版样式） */
@media (min-width: 1025px) {
	.is-home .y-head { position: absolute; left: 0; right: 0; top: 0; background: linear-gradient(rgba(0, 0, 0, .45), transparent); box-shadow: none; }
	.is-home .y-logo, .is-home .y-nav .nav-list a, .is-home .y-tool { color: #fff; }
	.is-home .y-nav .nav-list .is-current a { color: #fff; }
	.is-home .y-search { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .92); }
}
/* 轮播：全宽大图 + 右侧片名列表 */
.y-hero { position: relative; overflow: hidden; background: #0E1520; }
.y-hero .lc-stage { position: relative; height: 560px; }
.y-hero-type .lc-stage { height: 420px; }
.y-hero .lc-pane { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; color: #fff; }
.y-hero .lc-pane.is-active { opacity: 1; visibility: visible; }
.y-hero .lc-pane img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.y-hero .lc-cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 6px; padding: 80px max(var(--pad), calc((100% - 1390px) / 2 + var(--pad))) 34px; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); }
.y-hero .lc-cap em { align-self: flex-start; padding: 1px 8px; border-radius: 3px; background: var(--accent); font-size: 12px; font-style: normal; }
.y-hero .lc-cap strong { font-size: 32px; }
.y-hero .lc-cap > span { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; max-width: 55%; font-size: 14px; opacity: .85; }
.y-hero .lc-list { position: absolute; top: 90px; right: max(var(--pad), calc((100% - 1390px) / 2 + var(--pad))); z-index: 3; display: flex; flex-direction: column; width: 260px; padding: 8px 0; border-radius: 6px; background: rgba(0, 0, 0, .45); backdrop-filter: blur(4px); counter-reset: lc; }
.y-hero-type .lc-list { top: 40px; }
.y-hero .lc-item { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 16px; border: 0; background: none; color: rgba(255, 255, 255, .78); font-size: 14px; text-align: left; cursor: pointer; }
.y-hero .lc-item span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.y-hero .lc-item.is-active { background: rgba(38, 146, 255, .35); color: #fff; }
.y-hero .lc-item i { position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--accent-2); }
.y-hero .lc-item.is-active i { animation: lcbar 5s linear forwards; }
.y-hero.is-paused .lc-item.is-active i { animation-play-state: paused; }
.y-hero.is-empty { display: none; }
@keyframes lcbar { to { width: 100%; } }
/* 频道导航 */
.y-guide { display: flex; align-items: center; gap: 0; margin-bottom: 26px; padding: 14px 0; border-bottom: 1px solid #EBEEF2; }
.y-guide .g-group { display: grid; grid-template-columns: repeat(4, auto); gap: 8px 18px; padding: 0 20px; border-right: 1px solid #EBEEF2; }
.y-guide .g-group:first-child { padding-left: 0; }
.y-guide .g-main a { font-weight: 600; color: #222; }
.y-guide .g-group a { color: #555; font-size: 14px; white-space: nowrap; }
.y-guide .g-group a:hover { color: var(--accent); }
.y-guide .g-group:empty { display: none; }
.y-guide .g-icons { display: flex; gap: 26px; margin-left: auto; padding-left: 20px; }
.y-guide .g-icons a { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #555; font-size: 13px; white-space: nowrap; }
.y-guide .g-icons svg { width: 26px; height: 26px; color: #333; }
.y-guide .g-icons a:hover, .y-guide .g-icons a:hover svg { color: var(--accent); }
/* 区块 */
.y-sec { margin-bottom: 30px; }
.y-sec-hd, .y-box-hd { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 14px; }
.y-sec-hd h2, .y-box-hd h2 { font-size: 24px; font-weight: 500; color: #222; }
.y-sec-hd h2 a { color: inherit; }
.y-tip { color: #999; font-size: 13px; }
.y-more { margin-left: auto; color: #999; font-size: 13px; }
.y-more:hover { color: var(--accent); }
.y-swap { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; border: 0; background: none; color: #666; font-size: 13px; cursor: pointer; }
.y-swap svg { width: 15px; height: 15px; }
.y-swap.is-spin svg { animation: spin .5s; }
@keyframes spin { to { transform: rotate(360deg); } }
.y-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.y-tabs::-webkit-scrollbar { display: none; }
.y-tabs .tab { flex: none; padding: 4px 10px; border: 0; border-radius: 0; background: none; color: #666; font-size: 15px; cursor: pointer; box-shadow: none; }
.y-tabs .tab.is-active { color: var(--accent); font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent); }
/* 海报卡片 */
.yk-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px 16px; }
.yk-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.yk { display: flex; flex-direction: column; gap: 4px; min-width: 0; color: #222; }
.yk .card-img { position: relative; width: 100%; border-radius: 4px; }
.yk-rem { position: absolute; right: 0; bottom: 0; left: 0; z-index: 2; padding: 22px 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; }
.yk-name { font-size: 14px; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yk-sub { color: #999; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yk:hover .yk-name { color: var(--accent); }
.yk-big .yk-rem { right: auto; bottom: auto; top: 0; padding: 2px 8px; border-radius: 0 0 4px 0; background: #FF4A3F; text-align: left; max-width: 70%; }
.yk-tag { position: absolute; left: 0; bottom: 0; z-index: 2; padding: 1px 6px; background: #7B2FF7; color: #fff; font-size: 11px; font-style: normal; }
.yk-heat { position: absolute; right: 6px; bottom: 4px; z-index: 2; color: #fff; font-size: 12px; font-style: normal; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.yk-big .card-img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); }
.yk-big .yk-name { font-size: 15px; }
/* 大图 + 8 小图 */
.yk-mix { display: grid; grid-template-columns: 2fr 4fr; gap: 16px; }
.yk-feat { position: relative; display: block; overflow: hidden; border-radius: 4px; color: #fff; }
.yk-feat .card-img { width: 100%; height: 100%; aspect-ratio: auto; }
.yk-feat .card-img img { width: 100%; height: 100%; object-fit: cover; }
.yk-feat-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; gap: 4px; padding: 60px 16px 16px; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); }
.yk-feat-cap em { align-self: flex-start; padding: 0 8px; border-radius: 3px; background: var(--accent); font-size: 12px; font-style: normal; }
.yk-feat-cap strong { font-size: 22px; }
.yk-feat-cap span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; opacity: .85; }
.yk-mix-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
/* 友情链接、页脚 */
.y-links .link-list { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.y-links .link-list a { color: #555; font-size: 14px; }
.y-links .link-list .muted { color: #999; font-size: 13px; }
.y-foot { margin-top: 20px; padding: 26px 0; background: #F0F2F5; color: #888; font-size: 13px; }
.y-foot-in { display: flex; gap: 40px; }
.y-foot-cols { display: flex; gap: 40px; flex: none; padding-right: 40px; border-right: 1px solid #DDE1E6; }
.y-foot-cols dt { margin-bottom: 8px; color: #333; font-weight: 600; }
.y-foot-cols dd { margin: 0 0 6px; }
.y-foot-cols a { color: #888; }
.y-foot-cols a:hover { color: var(--accent); }
.y-foot-text p + p { margin-top: 8px; }
/* 两栏 + 右侧榜单 */
.y-cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; align-items: start; }
.y-colmain { min-width: 0; display: grid; gap: 24px; }
.y-box { min-width: 0; }
.y-box-hd span { color: var(--accent); }
.y-side { position: sticky; top: 16px; }
.y-side .y-box-hd { font-size: 20px; font-weight: 500; }
.y-rank li a { display: flex; gap: 12px; padding: 7px 0; color: #333; font-size: 14px; }
.y-rank i { flex: none; width: 18px; color: #999; font-style: normal; text-align: center; }
.y-rank li:nth-child(-n+3) i { color: var(--accent); font-weight: 700; }
.y-rank span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.y-rank a:hover span { color: var(--accent); }
/* 详情页顶部资料区 */
.y-dhead { background: #fff; border-bottom: 1px solid #EBEEF2; }
.y-dhead .crumbs { padding-top: 14px; }
.y-dinfo { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; padding: 10px 0 26px; }
.y-dcover { width: 100%; }
.y-dbody { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.y-dtitle { display: flex; align-items: flex-start; gap: 16px; }
.y-dtitle h1 { flex: 1; min-width: 0; font-size: 30px; font-weight: 500; line-height: 1.25; }
.y-score { flex: none; color: #FF6A00; font-size: 14px; }
.y-score b { margin-right: 2px; font-size: 26px; }
.y-drem { color: #999; font-size: 14px; }
.y-dmeta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 24px; font-size: 14px; }
.y-dmeta div { display: flex; min-width: 0; }
.y-dmeta .wide { grid-column: 1 / -1; }
.y-dmeta dt { flex: none; color: #999; }
.y-dmeta dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.y-dmeta dd a { margin-right: 8px; }
.y-ddesc { font-size: 14px; color: #555; line-height: 1.8; }
.y-dact { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 4px; }
.y-playbtn { height: 42px; padding: 0 26px; font-size: 16px; }
.y-dsrc { color: #999; font-size: 13px; }
.y-dsrc em { margin-left: 10px; color: #555; font-style: normal; }
.y-dlink { color: #666; font-size: 13px; }
.y-dlink:hover { color: var(--accent); }
/* 剧集 */
.y-eps { padding: 0; background: none; box-shadow: none; }
.y-eps-hd h2 { margin-right: auto; }
.y-eps .pl-tabs { order: 2; margin: 0; border: 0; }
.y-eps .pl-order { order: 3; margin-left: 0; }
.y-eps .pl-eps { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
/* 播放页深色区 */
.y-stage { background: linear-gradient(#202326, #2B2F33); }
.y-stage-in { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 0; padding-top: 0; padding-bottom: 0; }
.y-player { min-width: 0; background: #000; }
.y-player .player { border-radius: 0; }
.y-ptools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; padding: 10px 14px; background: #1A1C1F; color: #999; font-size: 13px; }
.y-ptools a { color: #BBB; }
.y-ptools a:hover { color: #fff; }
.y-ptools .y-pnext:first-of-type { margin-left: auto; }
.y-qrbtn { position: relative; }
.y-qrpop { position: absolute; bottom: 28px; left: 50%; z-index: 10; display: none; padding: 8px; border-radius: 6px; background: #fff; transform: translateX(-50%); box-shadow: 0 6px 20px rgba(0, 0, 0, .3); }
.y-qrbtn:hover .y-qrpop, .y-qrbtn.is-open .y-qrpop { display: block; }
.y-pside { display: flex; flex-direction: column; min-width: 0; max-height: 100%; padding: 16px; background: #2B2F33; color: #ddd; overflow: hidden; }
.y-pside-hd { display: flex; align-items: flex-start; gap: 10px; }
.y-pside-hd h1 { flex: 1; min-width: 0; font-size: 20px; font-weight: 500; line-height: 1.3; }
.y-pside-hd h1 a { color: #fff; }
.y-pside-hd b { color: #FF6A00; font-size: 20px; }
.y-pside-rem { margin: 4px 0 10px; color: #888; font-size: 12px; }
.y-pside .y-eps { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.y-pside .y-eps-hd h2 { display: none; }
.y-pside .pl-tab { color: #aaa; }
.y-pside .pl-tab.is-active { color: #fff; }
.y-pside .pl-order { color: #aaa; }
.y-pside .pl-eps { flex: 1; overflow-y: auto; grid-template-columns: repeat(4, minmax(0, 1fr)); max-height: none; padding-right: 2px; }
.y-pside .pl-eps a { background: #3A3F45; color: #ddd; }
.y-pside .pl-eps a:hover { background: #4A5058; color: #fff; }
.y-pside .pl-eps a.is-active { background: var(--accent); color: #fff; }
.y-ptitle { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.y-ptitle h2 { font-size: 24px; font-weight: 500; }
.y-ptitle span { color: var(--accent); }
/* 分类页快捷筛选 */
.y-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 30px; margin-bottom: 26px; padding: 14px 18px; border-radius: 6px; background: #fff; box-shadow: var(--shadow); }
.q-row { display: flex; align-items: center; gap: 6px 14px; min-width: 0; font-size: 14px; }
.q-row b { flex: none; color: #222; }
.q-row a { color: #666; white-space: nowrap; }
.q-row a:hover { color: var(--accent); }
.q-all { margin-left: auto; color: var(--accent); font-size: 14px; }
/* 搜索页 */
.y-shd { display: flex; align-items: center; gap: 20px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #EBEEF2; }
.y-stab { padding: 6px 22px; border: 1px solid #DDE3EA; border-bottom-color: #fff; border-radius: 4px 4px 0 0; background: #fff; font-weight: 600; margin-bottom: -13px; }
.y-shd p { color: #666; font-size: 14px; }
.y-shd strong, .y-shd b { color: var(--accent); }
.y-slist { display: grid; gap: 0; }
.y-srow { display: flex; gap: 22px; padding: 20px 0; border-bottom: 1px solid #EBEEF2; }
.y-scover { flex: none; width: 150px; }
.y-sbody { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.y-sbody h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font-size: 20px; font-weight: 500; }
.y-sbody h2 a { color: #222; }
.y-sbody h2 small { color: #999; font-size: 13px; }
.y-sline, .y-sdesc { color: #666; font-size: 13px; }
.y-sdesc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.y-smeta { display: flex; flex-wrap: wrap; gap: 4px 30px; font-size: 13px; color: #666; }
.y-smeta div { display: flex; }
.y-smeta dt { color: #999; }
.y-smeta dd { margin: 0; }
.y-sbody .btn { margin-top: auto; }
.page-search mark { padding: 0 1px; background: #FFF0B3; color: inherit; }
/* 排行榜 */
.y-tbanner { padding: 46px 0 40px; background: linear-gradient(110deg, #19C3FF, #2692FF 60%, #3A7BFF); color: #fff; text-align: center; }
.y-tbanner p { font-size: 18px; letter-spacing: 6px; opacity: .9; }
.y-tbanner h1 { margin-top: 6px; font-size: 44px; font-weight: 500; letter-spacing: 12px; }
.y-tcols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.y-tcol { min-width: 0; padding: 16px; border-radius: 6px; background: #fff; box-shadow: var(--shadow); }
.y-tcol-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.y-tcol-hd h2 { font-size: 20px; font-weight: 500; }
.y-tcol-hd a { color: #999; font-size: 13px; }
.y-tcol li a { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; padding: 8px 0; border-bottom: 1px dashed #EEF1F4; color: #333; font-size: 14px; }
.y-tcol li i { flex: none; width: 20px; height: 20px; border-radius: 3px; background: #C9D3DE; color: #fff; font-size: 12px; font-style: normal; line-height: 20px; text-align: center; }
.y-tcol li:nth-child(-n+3) i { background: var(--accent); }
.t-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-heat { flex: none; color: #999; font-size: 12px; }
.t-more { display: none; flex-basis: 100%; gap: 12px; margin-top: 10px; }
.y-tcol li.is-open .t-more { display: flex; }
.y-tcol li.is-open .t-name, .y-tcol li.is-open .t-heat { display: none; }
.t-more .card-img { flex: none; width: 90px; }
.t-info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.t-info b { font-size: 15px; }
.t-info em { color: #999; font-size: 12px; font-style: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* 明星 */
.a-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.a-feat { position: relative; display: block; overflow: hidden; border-radius: 6px; color: #fff; }
.a-feat .a-pic { display: block; aspect-ratio: 334 / 310; background: #E5ECF5; }
.a-feat img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.a-feat:hover img { transform: scale(1.05); }
.a-cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; padding: 34px 14px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); }
.a-cap strong { font-size: 18px; }
.a-cap em { font-size: 12px; font-style: normal; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-faces { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px 16px; }
.a-face { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; color: #333; }
.a-face .a-pic { display: block; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: #E5ECF5; }
.a-face img { width: 100%; height: 100%; object-fit: cover; }
.a-face strong { max-width: 100%; font-size: 14px; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-face:hover strong { color: var(--accent); }
.a-card { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; margin-bottom: 20px; padding: 22px; border-radius: 6px; background: #fff; box-shadow: var(--shadow); }
.a-card .a-pic { display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 6px; background: #E5ECF5; }
.a-card .a-pic img { width: 100%; height: 100%; object-fit: cover; }
.a-info { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.a-info h1 { font-size: 28px; font-weight: 500; }
.a-info h1 small { margin-left: 10px; color: #999; font-size: 14px; }
.a-dl, .a-full { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; font-size: 14px; }
.a-dl div, .a-full div { display: flex; min-width: 0; }
.a-dl dt, .a-full dt { flex: none; color: #999; }
.a-dl dd, .a-full dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.a-full { margin-bottom: 16px; }
.y-copy { padding: 4px 12px; border: 0; border-radius: 4px; background: var(--accent); color: #fff; font-size: 12px; cursor: pointer; }
.y-tabs-line { margin-bottom: 18px; border-bottom: 1px solid #EBEEF2; }
.y-tabs-line .tab { padding: 10px 18px; }
.a-works + .a-works { margin-top: 20px; }
.a-works h3 { margin-bottom: 12px; padding-left: 10px; border-left: 4px solid var(--accent); font-size: 17px; }
.a-news li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #EEF1F4; font-size: 14px; }
.a-news span { flex: none; color: #999; }
/* 文章 */
.ar-row { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid #EEF1F4; }
.ar-pic { flex: none; display: block; width: 180px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: #E5ECF5; }
.ar-pic img { width: 100%; height: 100%; object-fit: cover; }
.ar-b { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ar-b h3 { font-size: 17px; font-weight: 500; }
.ar-b h3 a { color: #222; }
.ar-b p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #666; font-size: 13px; }
.ar-b span { margin-top: auto; color: #999; font-size: 12px; }
.ar-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
.ar-hot li a { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: #333; font-size: 13px; }
.ar-hot .ar-pic { width: 96px; }
.art-body h1 { font-size: 26px; font-weight: 500; }
.art-meta { margin: 8px 0 18px; color: #999; font-size: 13px; }
.art-act { margin-top: 20px; text-align: center; }

/* ---------- 自适应 ---------- */
@media (max-width: 1200px) {
	.yk-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.yk-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.y-guide .g-group:not(.g-main) { display: none; }
	.y-cols { grid-template-columns: minmax(0, 1fr) 260px; gap: 22px; }
	.y-stage-in { grid-template-columns: minmax(0, 1fr) 300px; }
	.a-faces { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
	.y-hero .lc-stage { height: 400px; }
	.y-hero-type .lc-stage { height: 320px; }
	.y-hero .lc-list { top: auto; bottom: 0; right: 0; left: 0; flex-direction: row; width: auto; overflow-x: auto; padding: 0; border-radius: 0; scrollbar-width: none; }
	.y-hero .lc-list::-webkit-scrollbar { display: none; }
	.y-hero .lc-list li { flex: none; }
	.y-hero .lc-item { padding: 10px 14px; }
	.y-hero .lc-item span { max-width: 9em; }
	.y-hero .lc-cap { padding-bottom: 54px; }
	.y-cols { grid-template-columns: minmax(0, 1fr); }
	.y-side { position: static; }
	.y-rank { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
	.y-stage-in { grid-template-columns: minmax(0, 1fr); padding: 0; }
	.y-pside { max-height: 420px; }
	.yk-mix { grid-template-columns: minmax(0, 1fr); }
	.yk-feat { aspect-ratio: 16 / 9; }
	.y-foot-in { flex-direction: column; gap: 18px; }
	.y-foot-cols { padding-right: 0; border-right: 0; }
}
@media (max-width: 768px) {
	.y-head-in { flex-wrap: wrap; height: auto; gap: 0 12px; padding-top: 8px; padding-bottom: 8px; }
	.y-logo-text { font-size: 17px; max-width: 140px; }
	.y-logo-mark { width: 30px; height: 30px; }
	.y-tools { margin-left: auto; gap: 12px; }
	.y-tool span { font-size: 11px; }
	.y-avatar img { width: 30px; height: 30px; }
	.y-nav { order: 3; flex-basis: 100%; overflow-x: auto; scrollbar-width: none; }
	.y-nav::-webkit-scrollbar { display: none; }
	.y-nav .nav-list a { padding: 0 10px; font-size: 15px; line-height: 40px; }
	.y-search { order: 4; flex-basis: 100%; margin-top: 4px; }
	.y-hero .lc-stage { height: 220px; }
	.y-hero-type .lc-stage { height: 200px; }
	.y-hero .lc-cap { padding: 40px 14px 50px; }
	.y-hero .lc-cap strong { font-size: 19px; }
	.y-hero .lc-cap > span { display: none; }
	.y-hero .lc-item { font-size: 13px; padding: 9px 12px; }
	.y-main { padding-top: 14px; }
	.y-guide { flex-wrap: wrap; gap: 12px 0; margin-bottom: 18px; padding: 10px 0 14px; }
	.y-guide .g-main { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 18px; padding: 0; border: 0; flex-basis: 100%; }
	.y-guide .g-icons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); flex-basis: 100%; gap: 0; margin: 0; padding: 0; }
	.y-sec { margin-bottom: 22px; }
	.y-sec-hd h2, .y-box-hd h2 { font-size: 19px; }
	.y-sec-hd .y-tip { display: none; }
	.y-sec-hd .y-tabs { order: 3; flex-basis: 100%; }
	.yk-grid, .yk-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 8px; }
	.yk-grid-5 > .card:nth-child(n+10) { display: none; }
	.yk-mix-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 8px; }
	.yk-name { font-size: 13px; }
	.yk-sub { font-size: 11px; }
	.yk-heat { display: none; }
	.y-rank { grid-template-columns: minmax(0, 1fr); }
	.y-dinfo { grid-template-columns: 110px minmax(0, 1fr); gap: 14px; }
	.y-dbody { display: contents; }
	.y-dtitle, .y-drem { grid-column: 2; }
	.y-dtitle h1 { font-size: 20px; }
	.y-score b { font-size: 20px; }
	.y-dcover { grid-row: 1 / span 3; }
	.y-dmeta, .y-ddesc, .y-dact { grid-column: 1 / -1; }
	.y-dmeta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.y-playbtn { flex: 1 1 100%; justify-content: center; }
	.y-ptools { gap: 6px 14px; }
	.y-ptools > span { display: none; }
	.y-pside { max-height: 380px; padding: 12px; }
	.y-pside .pl-eps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.y-ptitle h2 { font-size: 19px; }
	.y-quick { gap: 8px; padding: 10px 12px; }
	.q-row { flex-basis: 100%; overflow-x: auto; scrollbar-width: none; }
	.q-row::-webkit-scrollbar { display: none; }
	.q-all { margin-left: 0; }
	.y-srow { gap: 12px; padding: 14px 0; }
	.y-scover { width: 96px; }
	.y-sbody h2 { font-size: 16px; }
	.y-smeta { display: none; }
	.y-tbanner { padding: 28px 0 24px; }
	.y-tbanner h1 { font-size: 30px; letter-spacing: 6px; }
	.y-tcols { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.a-feats { gap: 8px; }
	.a-cap { padding: 22px 8px 8px; }
	.a-cap strong { font-size: 14px; }
	.a-cap em { display: none; }
	.a-faces { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; }
	.a-card { grid-template-columns: 100px minmax(0, 1fr); gap: 14px; padding: 14px; }
	.a-info h1 { font-size: 21px; }
	.a-info h1 small { display: block; margin: 2px 0 0; }
	.a-dl, .a-full { grid-template-columns: minmax(0, 1fr); gap: 4px; font-size: 13px; }
	.ar-pic { width: 110px; }
	.ar-b p { display: none; }
}
/* 频道导航：每组限宽、可换行，分类多时也不会撑破页面 */
.y-guide { min-width: 0; }
.y-guide .g-group { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px 16px; flex: 0 1 auto; min-width: 0; max-width: 300px; }
.y-guide .g-main { max-width: 260px; }
.y-guide .g-icons { flex: none; }
.toast04 { position: fixed; left: 50%; bottom: 90px; z-index: 300; transform: translateX(-50%); padding: 9px 18px; border-radius: 20px; background: rgba(0, 0, 0, .78); color: #fff; font-size: 13px; }
/* 分类页"为你推荐"：电脑一行 6 部、平板两行 8 部、手机两行 6 部，始终排满 */
.yk-onerow > .card:nth-child(n+7) { display: none; }
@media (max-width: 1200px) { .yk-onerow > .card:nth-child(n+7) { display: flex; } .yk-onerow > .card:nth-child(n+9) { display: none; } }
@media (max-width: 768px) { .yk-onerow > .card:nth-child(n+7) { display: none; } }

/* ==========================================================
   hl-08 v2.1：按钮、播放区、线路滑动、手机看、筛选页、最近更新
   ========================================================== */
/* 导航项变多：窄一点的电脑屏幕上收紧间距 */
@media (max-width: 1360px) { .y-nav .nav-list a { padding: 0 9px; font-size: 15px; } .y-search { flex-basis: 300px; } }
/* 详情页按钮 */
.y-dact { gap: 10px; }
.y-btn { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 18px; border: 1px solid #DCE3EC; border-radius: 21px; background: #fff; color: #555; font-size: 14px; transition: border-color .2s, color .2s, background .2s; }
.y-btn svg { width: 18px; height: 18px; }
.y-btn em { min-width: 1.5em; color: #999; font-style: normal; font-size: 13px; }
.y-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.y-btn:hover em { color: var(--accent); }
/* 剧集：线路标签一行排开，可横向滑动 */
.y-eps-hd { flex-wrap: nowrap; }
.y-eps-hd h2 { flex: none; margin-right: 6px; }
.y-eps .pl-tabs { order: 0; flex: 1; min-width: 0; display: flex; flex-wrap: nowrap; gap: 4px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.y-eps .pl-tabs::-webkit-scrollbar { height: 4px; }
.y-eps .pl-tabs::-webkit-scrollbar-thumb { border-radius: 2px; background: #C9D3DE; }
.y-eps .pl-tab { flex: none; white-space: nowrap; }
.y-eps .pl-order { flex: none; order: 1; white-space: nowrap; }
.y-eps .pl-eps a { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-align: center; }
/* 播放页：面包屑分隔栏 */
.y-pcrumb { background: #fff; border-bottom: 1px solid #E6EAF0; }
.y-pcrumb .crumbs { margin: 0; padding: 11px 0; }
/* 播放页：右侧选集栏与播放器等高，集数多时栏内滚动，不把页面拉长 */
.y-stage-in { align-items: stretch; }
.y-pside { position: relative; padding: 0; overflow: visible; max-height: none; }
.y-pside-in { position: absolute; inset: 0; display: flex; flex-direction: column; min-height: 0; padding: 16px; overflow: hidden; }
.y-pside .y-eps { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.y-pside .y-eps-hd { margin-bottom: 10px; }
.y-pside .pl-eps { flex: 1; min-height: 0; overflow-y: auto; align-content: start; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; scrollbar-width: thin; }
.y-pside .pl-eps a { padding: 7px 4px; border-radius: 4px; font-size: 13px; }
.y-pside .pl-tabs::-webkit-scrollbar-thumb { background: #4A5058; }
/* 播放页工具栏 */
.y-ptools { justify-content: space-between; gap: 8px 16px; padding: 8px 12px; }
.y-ptools-l, .y-ptools-r { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.y-tbtn { position: relative; display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 12px; border-radius: 17px; color: #C3C7CC; font-size: 13px; cursor: pointer; transition: background .2s, color .2s; }
.y-tbtn svg { width: 17px; height: 17px; }
.y-tbtn em { color: #8A9099; font-style: normal; }
.y-tbtn:hover, .y-qrbtn.is-open { background: rgba(255, 255, 255, .1); color: #fff; }
.y-adj { background: rgba(255, 255, 255, .06); }
.y-adj:hover { background: var(--accent); color: #fff; }
.y-ptools .y-pnext { margin-left: 0; }
/* 手机看：二维码弹层 */
.y-qrpop { position: absolute; left: 50%; bottom: calc(100% + 10px); z-index: 30; display: none; flex-direction: column; align-items: center; gap: 6px; width: 156px; padding: 12px; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, .35); transform: translateX(-50%); cursor: default; }
.y-qrpop::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; background: #fff; transform: translateX(-50%) rotate(45deg); }
.y-qrpop img { display: block; width: 132px; height: 132px; image-rendering: pixelated; }
.y-qrpop em { color: #666; font-size: 12px; font-style: normal; white-space: nowrap; }
.y-qrbtn:hover .y-qrpop, .y-qrbtn.is-open .y-qrpop { display: flex; }
@media (hover: none) { .y-qrbtn:hover .y-qrpop { display: none; } .y-qrbtn.is-open .y-qrpop { display: flex; } }
/* 筛选页（加大） */
.y-panel { padding: 8px 22px; border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.f8-row { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px dashed #E8ECF1; }
.f8-row:last-child { border-bottom: 0; }
.f8-row > b { flex: none; width: 3em; padding-top: 5px; color: #222; font-size: 15px; }
.f8-opts { display: flex; flex-wrap: wrap; gap: 8px 6px; min-width: 0; }
.f8-opts a { padding: 5px 14px; border-radius: 16px; color: #555; font-size: 15px; white-space: nowrap; }
.f8-opts a:hover { color: var(--accent); }
.f8-opts a.is-on { background: var(--accent); color: #fff; }
.f8-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; margin: 22px 0 16px; padding-bottom: 12px; border-bottom: 1px solid #E6EAF0; }
.f8-sort { display: flex; gap: 22px; }
.f8-sort a { position: relative; padding-bottom: 12px; margin-bottom: -13px; color: #666; font-size: 17px; }
.f8-sort a.is-on { color: var(--accent); font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent); }
.f8-bar > span { margin-left: auto; color: #999; font-size: 14px; }
.f8-bar b { color: var(--accent); }
/* 最近更新 */
.n8-title { font-size: 24px; font-weight: 500; }
.page-new .y-box-hd .y-tabs { flex: 1; min-width: 0; }
.n8-list { border-top: 2px solid var(--accent); }
.n8-head, .n8-row { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, 2fr) 92px; align-items: center; gap: 12px; padding: 10px 6px; border-bottom: 1px solid #EEF1F4; font-size: 14px; }
.n8-head { color: #999; font-size: 13px; background: #F7F9FB; }
.n8-row:hover { background: #F7FAFF; }
.n8-name { display: flex; align-items: center; gap: 10px; min-width: 0; color: #222; }
.n8-pic { flex: none; width: 36px; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 3px; background: #E5ECF5; }
.n8-pic img { width: 100%; height: 100%; object-fit: cover; }
.n8-name b { min-width: 0; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.n8-name:hover b { color: var(--accent); }
.n8-rem { color: var(--accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.n8-type, .n8-actor, .n8-time { color: #888; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.n8-row.is-today .n8-time { color: #FF4A3F; font-weight: 600; }
@media (max-width: 1024px) {
	.y-pside-in { position: static; max-height: 440px; }
	.y-pside { max-height: none; }
}
@media (max-width: 768px) {
	.y-btn { height: 38px; padding: 0 14px; }
	.y-dact .y-playbtn { flex: 1 1 100%; }
	.y-ptools { padding: 6px 8px; }
	.y-tbtn { height: 32px; padding: 0 9px; }
	.y-tbtn em { display: none; }
	.y-ptools-r { margin-left: auto; }
	.y-qrpop { left: 0; transform: none; }
	.y-qrpop::after { left: 30px; }
	.y-pside-in { max-height: 380px; padding: 12px; }
	.y-panel { padding: 4px 12px; }
	.f8-row { gap: 8px; padding: 9px 0; }
	.f8-row > b { width: 2.6em; font-size: 14px; }
	.f8-opts { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.f8-opts::-webkit-scrollbar { display: none; }
	.f8-opts a { padding: 4px 11px; font-size: 14px; }
	.f8-sort { gap: 16px; }
	.f8-sort a { font-size: 15px; }
	.n8-head { display: none; }
	.n8-row { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 10px 2px; }
	.n8-name { grid-row: span 2; }
	.n8-type, .n8-actor { display: none; }
	.n8-rem, .n8-time { text-align: right; font-size: 12px; }
}
/* 手机：搜索框整行（放在最后，避免被上面的窄屏规则覆盖） */
@media (max-width: 768px) { .y-search { flex: 1 1 100%; } }

/* ==========================================================
   hl-08 v2.2：滚动条隐藏、手机端频道导航 / 工具栏对齐
   ========================================================== */
/* 线路标签、选集列表：可以滑动，但不显示滚动条 */
.y-eps .pl-tabs, .y-pside .pl-eps, .y-eps .pl-eps { scrollbar-width: none; -ms-overflow-style: none; }
.y-eps .pl-tabs::-webkit-scrollbar, .y-pside .pl-eps::-webkit-scrollbar, .y-eps .pl-eps::-webkit-scrollbar { display: none; width: 0; height: 0; }
@media (max-width: 768px) {
	/* 首页频道导航：分类一行、四个入口一行，都占满整行 */
	.y-guide { display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding: 12px 0 14px; }
	.y-guide .g-main { flex: none; max-width: none; width: 100%; display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 0; border: 0; }
	.y-guide .g-main::-webkit-scrollbar { display: none; }
	.y-guide .g-main a { flex: 1 0 auto; padding: 6px 12px; border-radius: 16px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); text-align: center; font-weight: 500; }
	.y-guide .g-icons { flex: none; width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; }
	.y-guide .g-icons a { min-width: 0; }
	/* 播放页工具栏：功能按钮均匀分布一行，上一集 / 下一集单独一行、左右等宽 */
	.y-ptools { flex-direction: column; align-items: stretch; gap: 6px; padding: 6px 8px 8px; }
	.y-ptools-l { display: flex; flex-wrap: nowrap; justify-content: space-around; gap: 0; }
	.y-ptools-r { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
	.y-ptools-r .y-adj { justify-content: center; }
	/* 手机上不需要"手机看"二维码 */
	.y-qrbtn { display: none !important; }
}
/* 下载页 */
.d8-cur { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; margin-bottom: 20px; padding: 20px; border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.d8-cover { width: 100%; }
.d8-body { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.d8-body h1 { font-size: 24px; font-weight: 500; }
.d8-body h1 span { color: var(--accent); font-size: 18px; }
.d8-tip { color: #888; font-size: 13px; }
.d8-addr { display: flex; gap: 8px; }
.d8-addr input { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border: 1px solid #DCE3EC; border-radius: 6px; background: #F7F9FB; color: #333; font: 14px var(--font); }
.d8-addr .btn { flex: none; height: 42px; }
.d8-act { display: flex; flex-wrap: wrap; gap: 10px; }
.d8-list { margin-bottom: 16px; }
.d8-list .pl-eps { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
@media (max-width: 768px) {
	.d8-cur { grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding: 12px; }
	.d8-body h1 { font-size: 18px; }
	.d8-addr { flex-direction: column; }
	.d8-addr, .d8-act { grid-column: 1 / -1; }
}
@media (max-width: 768px) { .d8-addr input { flex: none; width: 100%; } }
/* 观看记录下拉（苹果CMS home.js 生成）：右对齐，不超出屏幕 */
.y-tools { position: relative; }
.y-tools .mac_history_box { position: absolute !important; top: calc(100% + 8px) !important; right: 0 !important; left: auto !important; z-index: 9999; width: 260px; max-width: calc(100vw - 24px); max-height: 360px; overflow-y: auto; margin: 0; padding: 6px 0; border-radius: 8px; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .15); text-align: left; }
.y-tools .mac_history_box dt { display: flex; justify-content: space-between; padding: 6px 14px 8px; border-bottom: 1px solid #EEF1F4; color: #999; font-size: 12px; font-weight: 400; }
.y-tools .mac_history_box dt::before { content: "观看记录"; color: #333; font-size: 14px; }
.y-tools .mac_history_box dt a { color: #999; }
.y-tools .mac_history_box dt a:hover { color: var(--accent); }
.y-tools .mac_history_box dd { margin: 0; }
.y-tools .mac_history_box dd a { display: block; padding: 8px 14px; overflow: hidden; color: #333; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.y-tools .mac_history_box dd a:hover { background: #F5F8FC; color: var(--accent); }
.y-tools .mac_history_box dd.hide { display: block; padding: 14px; color: #999; font-size: 13px; text-align: center; }
/* 最近更新 / 排行榜 导航高亮（苹果CMS自定义页面统一走 label/index，改用页面标记） */
body.pg-new .y-nav .nav-new a, body.pg-top .y-nav .nav-top a { color: var(--accent); font-weight: 700; }
