@charset "UTF-8";
/* 字体放在本站（不连 Google Fonts）：阿拉伯字母 + 拉丁字母两个子集，浏览器按 unicode-range 只下载用到的；两个都是可变字体 */
@font-face { font-family: "Alexandria"; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/alexandria-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Alexandria"; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/alexandria-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Sans Arabic"; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/noto-sans-arabic-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Noto Sans Arabic"; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/noto-sans-arabic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
/* =====================================================================
   阿拉伯语站第六版样式：شاهد فور يو（Shahid4u）· 浅色 Bento 拼块版式
   （来自 prototype/ar6/assets/ar.css，文件后面追加正式版专用的样式）
   - 风格：浅色。冷灰底 #eef0f4 + 白色大圆角拼块（像一扇扇窗户），柔和阴影；主色珊瑚红 #ff5a4e，辅色琥珀 #ffb648、蓝 #4c6fff
   - 招牌元素：首页顶部「拼块墙」——大推荐（自动换，圆点进度）+「الليلة」今晚新集 +「الأكثر مشاهدة」前三 + 一排彩色分类方块；
     页眉中间是灰色「分段控件」式栏目；排行榜和专题也是并排的两块拼块
   - 字体：Alexandria（标题）+ Noto Sans Arabic（正文）
   - 方向相关的属性一律用逻辑属性，<html dir="rtl"> 时自动镜像
   ===================================================================== */
:root {
  --bg: #eef0f4;
  --tile: #ffffff;
  --tile-2: #f6f7f9;
  --tile-3: #eceff3;
  --line: #e3e6ec;
  --line-2: #d3d8e0;
  --text: #121826;
  --text-2: #4b5565;
  --text-3: #8a93a3;
  --coral: #ff5a4e;
  --coral-2: #e8473c;
  --coral-soft: #ffe9e7;
  --amber: #ffb648;
  --blue: #4c6fff;
  --green: #12a150;
  --gold: #f2a20c;
  --r: 22px;
  --shadow: 0 1px 2px rgba(18, 24, 38, .04), 0 8px 24px rgba(18, 24, 38, .06);
  --shadow-2: 0 2px 6px rgba(18, 24, 38, .06), 0 18px 44px rgba(18, 24, 38, .12);
  --font: "Noto Sans Arabic", Tahoma, system-ui, sans-serif;
  --font-h: "Alexandria", "Noto Sans Arabic", Tahoma, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.8 var(--font); overflow-x: hidden; }
/* 阿拉伯字母是连写的：任何 letter-spacing 都会把字母拆开 */
body * { letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--font-h); font-weight: 700; line-height: 1.45; margin: 0; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.i.fill { fill: currentColor; stroke: none; }
[dir="rtl"] .i.flip { transform: scaleX(-1); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--text-3); }
.wrap { max-width: 1400px; margin: 0 auto; padding: 0 32px; }
[dir="rtl"] .en[dir="ltr"], [dir="rtl"] dd[dir="ltr"] { text-align: right; }
#content { min-height: 60vh; }
.tile { background: var(--tile); border-radius: var(--r); box-shadow: var(--shadow); }

/* ---------- 页眉：白色条 + 分段控件式栏目 ---------- */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: box-shadow .2s; }
.hdr.solid { box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(18, 24, 38, .06); }
.hdr-in { display: flex; align-items: center; gap: 18px; height: 70px; max-width: 1400px; margin: 0 auto; padding: 0 32px; }
.logo { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; flex: none; }
.logo .mk svg { width: 38px; height: 38px; display: block; }
.logo .wd { display: flex; flex-direction: column; line-height: 1; }
.logo .wd b { font: 800 25px/1.1 var(--font-h); }
.logo .wd small { margin-top: 4px; font: 700 9px/1 system-ui, sans-serif; color: var(--coral); direction: ltr; text-align: center; letter-spacing: .32em; }
.mnav { display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 14px; background: var(--tile-3); }
.mnav > a, .mnav .dd > button { display: inline-flex; align-items: center; gap: 4px; height: 38px; padding: 0 14px; border: 0; border-radius: 10px; background: none; color: var(--text-2); font-size: 14.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.mnav .dd { position: relative; }
.mnav .dd > button .i { width: 15px; height: 15px; }
.mnav > a:hover, .mnav .dd > button:hover { color: var(--text); }
.mnav > a.on { background: var(--tile); color: var(--coral); font-weight: 700; box-shadow: 0 1px 3px rgba(18, 24, 38, .12); }
.mnav .dd > button.on { color: var(--coral); }
.mega, .menu { position: absolute; top: calc(100% + 10px); inset-inline-start: 0; display: none; padding: 18px; background: var(--tile); border-radius: 18px; box-shadow: var(--shadow-2); z-index: 5; }
.mega { grid-template-columns: 1.4fr 1fr; gap: 24px; width: 620px; }
.menu { min-width: 200px; padding: 6px; }
.menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-weight: 600; color: var(--text-2); }
.menu a .i { color: var(--coral); }
.menu a:hover { background: var(--tile-2); color: var(--text); }
.dd:hover .mega, .dd:focus-within .mega { display: grid; }
.dd:hover .menu, .dd:focus-within .menu { display: block; }
.mega h5 { font-size: 13px; color: var(--text-3); margin-bottom: 10px; }
.mg { display: flex; flex-wrap: wrap; gap: 6px; }
.mg a { padding: 4px 12px; border-radius: 999px; background: var(--tile-2); font-size: 13.5px; color: var(--text-2); }
.mg a:hover { background: var(--coral); color: #fff; }
.search { position: relative; flex: 1; min-width: 0; max-width: 300px; margin-inline-start: auto; }
.search .box { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 14px; background: var(--tile-3); border: 1.5px solid transparent; color: var(--text-3); }
.search .box:focus-within { background: var(--tile); border-color: var(--coral); }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--text); font-size: 14.5px; }
.search input::placeholder { color: var(--text-3); }
.suggest { position: absolute; top: calc(100% + 8px); inset-inline: 0; display: none; padding: 6px; background: var(--tile); border-radius: 16px; box-shadow: var(--shadow-2); z-index: 5; }
.suggest.show { display: block; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 7px 8px; border-radius: 10px; }
.suggest a:hover { background: var(--tile-2); }
.suggest .pt { width: 34px; height: 51px; border-radius: 6px; overflow: hidden; background: var(--tile-3); flex: none; }
.suggest .pt img { width: 100%; height: 100%; object-fit: cover; }
.suggest b { display: block; font-size: 14px; }
.suggest small { color: var(--text-3); font-size: 12px; }
.suggest .all { justify-content: center; color: var(--coral); font-size: 13px; font-weight: 700; }
.acts { display: flex; align-items: center; gap: 6px; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; border: 0; background: var(--tile-3); color: var(--text-2); cursor: pointer; flex: none; }
.icon-btn:hover { background: var(--coral-soft); color: var(--coral); }
.menu-btn, .m-search { display: none; }

/* ---------- 按钮、标签、胶囊 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border: 0; border-radius: 14px; font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background .15s, transform .15s, box-shadow .15s; }
.btn:active { transform: scale(.97); }
.btn-main { background: var(--coral); color: #fff; box-shadow: 0 8px 20px rgba(255, 90, 78, .35); }
.btn-main:hover { background: var(--coral-2); }
.btn-white { background: rgba(255, 255, 255, .92); color: var(--text); }
.btn-white:hover { background: #fff; }
.btn-glass { background: rgba(255, 255, 255, .2); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-soft { background: var(--coral-soft); color: var(--coral); }
.btn-soft:hover { background: #ffdcd8; }
.btn-line { background: var(--tile); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--coral); color: var(--coral); }
.btn-line.on, .btn-white.on { background: var(--coral-soft); color: var(--coral); box-shadow: inset 0 0 0 1.5px var(--coral); }
.btn-ic { width: 46px; padding: 0; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 11px; }
.btn-sm .i { width: 16px; height: 16px; }
.badge { display: inline-flex; align-items: center; height: 21px; padding: 0 7px; border-radius: 6px; font: 700 11px/1 var(--font); white-space: nowrap; }
.b-q { background: rgba(18, 24, 38, .72); color: #fff; direction: ltr; }
.b-ep { background: var(--coral); color: #fff; }
.b-new { background: var(--amber); color: #3a2500; }
.b-age { background: var(--tile-3); color: var(--text-2); }
.b-sub { background: #e8edff; color: var(--blue); }
.b-dub { background: #fff1dd; color: #b26b00; }
.b-ar { background: #e3f6ea; color: var(--green); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 11px; border: 0; background: var(--tile); color: var(--text-2); font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; box-shadow: inset 0 0 0 1px var(--line); }
.chip:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.chip.on { background: var(--text); color: #fff; box-shadow: none; }
.chip .i { width: 15px; height: 15px; color: var(--coral); }
.chip-sm { height: 26px; padding: 0 10px; font-size: 12.5px; border-radius: 8px; }
.sc { color: var(--gold); font: 700 14px/1 var(--font-h); direction: ltr; }
.kick, .tag { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--coral); color: #fff; font-size: 13px; font-weight: 700; }
.kick i, .tag i { width: 7px; height: 7px; border-radius: 9px; background: #fff; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .3; } }

/* ---------- 区块标题 ---------- */
.sec { margin-top: 40px; }
.sec-h { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.sec-h .tt { display: flex; flex-direction: column; }
.sec-h h2 { font-size: 23px; }
.sec-h .sub { font-size: 13px; color: var(--text-3); }
.sp { flex: 1; }
.more { display: inline-flex; align-items: center; gap: 2px; color: var(--coral); font-size: 14px; font-weight: 700; }
.more .i { width: 16px; height: 16px; }
.more:hover { color: var(--coral-2); }
.nav-btns { display: flex; gap: 6px; }
.nav-btns button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; border: 0; background: var(--tile); color: var(--text-2); cursor: pointer; box-shadow: var(--shadow); }
.nav-btns button:hover { color: var(--coral); }
.nav-btns .i { width: 16px; height: 16px; }

/* ---------- 横向滚动排、网格 ---------- */
.row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 18px) / 6); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 8px; }
.row.wide { grid-auto-columns: calc((100% - 3 * 18px) / 4); }
.row::-webkit-scrollbar { display: none; }
.row > * { scroll-snap-align: start; }
.grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 26px 18px; }
.grid.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- 卡片（竖版 .pc、横版 .lc） ---------- */
.pc, .lc { display: flex; flex-direction: column; min-width: 0; }
.po, .lc .th { position: relative; display: block; overflow: hidden; border-radius: 16px; background: var(--tile-3); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.po { aspect-ratio: 2 / 3; }
.lc .th { aspect-ratio: 16 / 9; }
.pc:hover .po, .lc:hover .th { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.po > img, .lc .th > img:not(.wp) { width: 100%; height: 100%; object-fit: cover; }
.po.sm { border-radius: 10px; box-shadow: none; }
.po.lg { border-radius: 22px; box-shadow: var(--shadow-2); }
/* 横图兜底（没有剧照）：模糊放大的海报铺底 + 清晰海报靠一侧 */
.wb { position: absolute; inset: -12%; background-size: cover; background-position: center; filter: blur(18px) brightness(.8) saturate(1.2); }
.wp { position: absolute; top: 8%; bottom: 8%; inset-inline-end: 9%; height: 84%; width: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 8px; box-shadow: 0 10px 26px rgba(0, 0, 0, .35); }
/* 没有海报：浅色渐变 + 图标 + 片名 */
.ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px; text-align: center; color: var(--text-2); font: 700 14.5px/1.5 var(--font-h);
  background: radial-gradient(circle at 25% 20%, rgba(255, 90, 78, .16), transparent 55%), radial-gradient(circle at 80% 85%, rgba(76, 111, 255, .16), transparent 55%), linear-gradient(160deg, #f7f8fb, #e7eaf0); }
.ph .i { width: 28px; height: 28px; color: var(--coral); }
.ph small { font: 500 11px/1.4 system-ui, sans-serif; color: var(--text-3); }
.tl { position: absolute; top: 0; inset-inline-end: 0; display: flex; gap: 3px; padding: 8px; }
.foot-b { position: absolute; inset-inline: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding: 24px 10px 8px; background: linear-gradient(transparent, rgba(18, 24, 38, .78)); color: #fff; font-size: 12.5px; font-weight: 600; }
.foot-b > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.foot-b .sc { color: #ffd27a; }
.hover-play { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .2s; }
.hover-play i { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--coral); box-shadow: 0 8px 22px rgba(0, 0, 0, .25); }
.hover-play .i { width: 22px; height: 22px; }
.pc:hover .hover-play, .lc:hover .hover-play { opacity: 1; }
.pc .t, .lc .t { margin-top: 10px; font: 600 15px/1.5 var(--font-h); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc:hover .t, .lc:hover .t { color: var(--coral); }
.pc .s, .lc .s { font-size: 12.5px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rt { display: inline-flex; align-items: center; gap: 3px; color: var(--gold); font-weight: 700; direction: ltr; flex: none; }
.rt .i { width: 13px; height: 13px; }
.pc .bl { display: flex; gap: 4px; margin-top: 4px; }

/* ---------- 首页：拼块墙 ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.tth { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.tth h2 { display: flex; align-items: center; gap: 8px; font-size: 18px; }
.tth h2 .i { width: 20px; height: 20px; color: var(--coral); }
.tth .more { margin-inline-start: auto; font-size: 13px; }
/* 大推荐 */
.t-feature { position: relative; grid-column: span 8; grid-row: span 2; min-height: 470px; overflow: hidden; background: #1b2030; }
.fs { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.fs.on { opacity: 1; visibility: visible; }
.fbg { position: absolute; inset: 0; overflow: hidden; }
.fbg > img:not(.wp) { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.fbg .wb { inset: -6%; filter: blur(24px) brightness(.6) saturate(1.3); }
.fbg .wp { top: 9%; height: 72%; inset-inline-end: 7%; border-radius: 14px; }
.fbg .ph { font-size: 0; }
.fs::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(10, 14, 24, .92) 0%, rgba(10, 14, 24, .55) 45%, transparent 75%); }
.ftx { position: absolute; inset-inline: 30px; bottom: 54px; z-index: 2; max-width: 560px; color: #fff; }
.ftx h2 { margin-top: 10px; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.25; }
.ftx h2 a:hover { color: #ffd27a; }
.ftx .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 8px; font-size: 13.5px; color: rgba(255, 255, 255, .8); }
.ftx .meta .rt { color: #ffd27a; }
.ftx .ov { margin: 10px 0 0; font-size: 14.5px; color: rgba(255, 255, 255, .78); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ftx .acts { margin-top: 18px; flex-wrap: wrap; gap: 10px; }
.dots { position: absolute; bottom: 22px; inset-inline-start: 30px; z-index: 3; display: flex; gap: 6px; }
.dots button { width: 26px; height: 6px; padding: 0; border: 0; border-radius: 6px; background: rgba(255, 255, 255, .3); cursor: pointer; overflow: hidden; }
.dots button i { display: block; width: 0; height: 100%; background: #fff; }
.dots button.on { width: 46px; }
.dots button.on i { animation: pg 7s linear forwards; }
.t-feature.paused .dots button.on i { animation-play-state: paused; }
@keyframes pg { to { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .fs { transition: none; } .dots button.on i { animation: none; width: 100%; } }
/* 今晚 */
.t-tonight, .t-top3 { grid-column: span 4; padding: 18px 18px 12px; }
.tn { margin: 0; padding: 0; list-style: none; }
.tn a { display: flex; align-items: center; gap: 12px; padding: 7px 0; }
.tn li + li a { border-top: 1px solid var(--line); }
.tn time { flex: none; width: 52px; padding: 4px 0; border-radius: 9px; background: var(--coral-soft); color: var(--coral); text-align: center; font: 700 13.5px/1.4 system-ui, sans-serif; direction: ltr; }
.tn .tb, .t3 .tb { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.tn b, .t3 b { font: 600 14.5px/1.5 var(--font-h); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tn small, .t3 small { color: var(--text-3); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tn .pi { width: 30px; height: 30px; padding: 8px; border-radius: 50%; background: var(--tile-2); color: var(--coral); fill: currentColor; stroke: none; }
.tn a:hover b, .t3 a:hover b { color: var(--coral); }
/* 前三 */
.t3 { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.t3 a { display: flex; align-items: center; gap: 12px; padding: 6px; border-radius: 14px; background: var(--tile-2); }
.t3 .pt { position: relative; width: 46px; height: 64px; flex: none; overflow: hidden; border-radius: 10px; background: var(--tile-3); display: grid; place-items: center; }
.t3 .pt img { width: 100%; height: 100%; object-fit: cover; }
.t3 .pt .n { position: absolute; top: 0; inset-inline-start: 0; display: grid; place-items: center; width: 20px; height: 20px; border-end-end-radius: 8px; background: var(--coral); color: #fff; font: 700 12px/1 var(--font-h); }
.t3 li:nth-child(2) .n { background: var(--amber); color: #3a2500; }
.t3 li:nth-child(3) .n { background: var(--blue); }
.ini { font: 800 22px/1 var(--font-h); color: var(--coral); }
/* 分类方块 */
.t-cat { grid-column: span 2; position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 128px; padding: 16px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.t-cat:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.t-cat .ci { position: absolute; top: 14px; inset-inline-start: 14px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--c); color: #fff; }
.t-cat .ci .i { width: 21px; height: 21px; }
.t-cat::after { content: ""; position: absolute; bottom: -40px; inset-inline-end: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--c); opacity: .1; }
.t-cat b { font: 700 16px/1.4 var(--font-h); }
.t-cat small { color: var(--text-3); font-size: 12px; }
.c-emerald { --c: #12a150; }
.c-clay { --c: #ff7a3d; }
.c-lapis { --c: #4c6fff; }
.c-gold { --c: #f2a20c; }
.c-turq { --c: #0fb5c9; }
.c-rose { --c: #ff4f8b; }
/* 第二组拼块：排行 + 专题 */
.bento.b2 { margin-top: 40px; }
.t-rank { grid-column: span 7; padding: 20px; }
.t-coll { grid-column: span 5; padding: 20px; }
.chart { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: column; grid-template-rows: repeat(5, auto); gap: 4px 22px; margin: 0; padding: 0; list-style: none; }
.chart a { display: flex; align-items: center; gap: 12px; padding: 6px 4px; border-radius: 12px; min-width: 0; }
.chart a:hover { background: var(--tile-2); }
.chart a:hover b { color: var(--coral); }
.chart .n { width: 30px; flex: none; text-align: center; font: 800 24px/1 var(--font-h); color: var(--line-2); }
.chart li:nth-child(1) .n { color: var(--coral); }
.chart li:nth-child(2) .n { color: var(--amber); }
.chart li:nth-child(3) .n { color: var(--blue); }
.chart .pt { width: 38px; height: 56px; flex: none; overflow: hidden; border-radius: 8px; background: var(--tile-3); }
.chart .pt img { width: 100%; height: 100%; object-fit: cover; }
.chart .tb { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.chart .tb b { font: 600 14.5px/1.5 var(--font-h); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chart .tb small { color: var(--text-3); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chart .rt { font-size: 12px; }
.clist { display: grid; gap: 8px; }
.clist a { display: flex; align-items: center; gap: 14px; padding: 11px 12px; border-radius: 14px; background: var(--tile-2); }
.clist a:hover { background: var(--coral-soft); }
.clist .ix { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 11px; background: var(--tile); color: var(--coral); font: 800 17px/1 var(--font-h); box-shadow: var(--shadow); }
.clist b { display: block; font: 600 15px/1.5 var(--font-h); }
.clist small { color: var(--text-3); font-size: 12.5px; }
.clist > a > .i { margin-inline-start: auto; color: var(--text-3); }
.t-about { margin-top: 40px; padding: 24px 28px; color: var(--text-2); font-size: 14.5px; }
.t-about h2 { font-size: 19px; color: var(--text); margin-bottom: 8px; }
.t-about p { margin: 0; }
.t-about a { color: var(--coral); }

/* 按国家切换（分段控件） */
.stabs { display: inline-flex; gap: 2px; padding: 3px; border-radius: 12px; background: var(--tile-3); }
.stabs button { height: 32px; padding: 0 14px; border: 0; border-radius: 9px; background: none; color: var(--text-2); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.stabs button.on { background: var(--tile); color: var(--coral); box-shadow: 0 1px 3px rgba(18, 24, 38, .12); }

/* 专题 + 简介（其他页面用到的 .split / .about） */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: start; }
.about { padding: 22px 24px; border-radius: var(--r); background: var(--tile); box-shadow: var(--shadow); color: var(--text-2); font-size: 14.5px; }
.about h2 { font-size: 18px; color: var(--text); margin-bottom: 8px; }
.about h3 { font-size: 15.5px; color: var(--text); margin: 14px 0 4px; }
.about p { margin: 0 0 10px; }
.about a { color: var(--coral); }

/* ---------- 列表页 ---------- */
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 22px; font-size: 13.5px; color: var(--text-3); }
.crumb a:hover { color: var(--coral); }
.crumb .sep { opacity: .5; }
.ph1 { margin-top: 8px; }
.ph1 h1 { font-size: clamp(26px, 2.6vw, 36px); }
.ph1 p { margin: 4px 0 0; color: var(--text-2); max-width: 820px; }
.filters { display: grid; gap: 8px; margin-top: 18px; padding: 14px 16px; border-radius: var(--r); background: var(--tile); box-shadow: var(--shadow); }
.fr { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.fr::-webkit-scrollbar { display: none; }
.fr > b { flex: none; width: 70px; font-size: 13.5px; color: var(--text-3); }
.fr .chip { height: 30px; padding: 0 12px; font-size: 13.5px; box-shadow: none; background: transparent; }
.fr .chip:hover { background: var(--tile-2); }
.fr .chip.on { background: var(--text); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 16px; color: var(--text-2); font-size: 14px; min-height: 40px; }
.toolbar select { height: 40px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--tile); }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 34px; }
.pager a, .pager span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; background: var(--tile); color: var(--text-2); font-weight: 700; box-shadow: var(--shadow); }
.pager a:hover { color: var(--coral); }
.pager .on { background: var(--coral); color: #fff; }
.pager .i { width: 17px; height: 17px; }
.empty-state { padding: 60px 20px; text-align: center; color: var(--text-3); }
.empty-state .i { width: 44px; height: 44px; margin: 0 auto 12px; color: var(--coral); }
.empty-state h2 { color: var(--text); font-size: 21px; margin-bottom: 6px; }
.empty-state .btn { margin-top: 12px; }
.cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.cat { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 92px; padding: 14px 16px; overflow: hidden; border-radius: 18px; background: var(--tile); box-shadow: var(--shadow); font: 700 16px/1.4 var(--font-h); transition: transform .2s; }
.cat::after { content: ""; position: absolute; top: -28px; inset-inline-end: -28px; width: 84px; height: 84px; border-radius: 50%; background: var(--coral); opacity: .1; }
.cat:nth-child(3n+2)::after { background: var(--blue); }
.cat:nth-child(3n)::after { background: var(--amber); opacity: .18; }
.cat small { position: relative; font: 500 12.5px var(--font); color: var(--text-3); }
.cat:hover { transform: translateY(-3px); color: var(--coral); }

/* ---------- 详情页：顶部模糊海报色带 + 白色大拼块 ---------- */
.dhero { position: relative; overflow-x: clip; padding-bottom: 6px; }
.dhero .bg { position: absolute; inset: 0 0 auto; height: 340px; background-size: cover; background-position: center 25%; filter: blur(30px) saturate(1.3); opacity: .55; transform: scale(1.2); }
.dhero .shade { position: absolute; inset: 0 0 auto; height: 340px; background: linear-gradient(0deg, var(--bg) 0%, rgba(238, 240, 244, .2) 100%); }
.dhero .in { position: relative; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 34px; margin-top: 36px; padding: 28px; border-radius: 28px; background: var(--tile); box-shadow: var(--shadow-2); }
.dhero .info .crumb { padding-top: 0; }
.kind { display: inline-flex; margin-top: 10px; height: 26px; align-items: center; padding: 0 11px; border-radius: 8px; background: var(--coral-soft); color: var(--coral); font-size: 13px; font-weight: 700; }
.dhero h1 { margin-top: 8px; font-size: clamp(28px, 3vw, 42px); line-height: 1.3; }
.dhero h1 .yr { color: var(--text-3); font-weight: 500; }
.dhero .info > .en { color: var(--text-3); font-size: 14.5px; }
.score { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.score > div { display: flex; flex-direction: column; align-items: center; min-width: 92px; padding: 8px 12px; border-radius: 14px; background: var(--tile-2); }
.score b { display: inline-flex; align-items: center; gap: 4px; font: 700 18px/1.4 var(--font-h); direction: ltr; }
.score b.y { color: var(--gold); }
.score b .i { width: 15px; height: 15px; }
.score small { color: var(--text-3); font-size: 12px; }
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; }
.dhero .acts { flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.dhero .ov { margin: 20px 0 0; max-width: 820px; color: var(--text-2); font-size: 15.5px; line-height: 1.95; }
.ov.empty { color: var(--text-3); font-style: italic; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; margin: 20px 0 0; max-width: 880px; }
.facts > div { padding: 10px 14px; border-radius: 14px; background: var(--tile-2); }
.facts dt { font-size: 12px; color: var(--text-3); font-weight: 600; }
.facts dd { margin: 2px 0 0; font-size: 14px; font-weight: 700; }
.facts a:hover { color: var(--coral); }
.tabs { display: inline-flex; gap: 2px; padding: 4px; border-radius: 14px; background: var(--tile-3); }
.tabs button { height: 38px; padding: 0 18px; border: 0; border-radius: 10px; background: none; color: var(--text-2); font-size: 14.5px; font-weight: 600; cursor: pointer; }
.tabs button.on { background: var(--tile); color: var(--coral); box-shadow: 0 1px 3px rgba(18, 24, 38, .12); }
[data-pane] { margin-top: 18px; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.people a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px 8px; border-radius: 18px; background: var(--tile); box-shadow: var(--shadow); text-align: center; font: 600 14px/1.4 var(--font-h); }
.people .av { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 6px; border-radius: 50%; background: var(--coral-soft); color: var(--coral); font: 800 24px var(--font-h); }
.people a:hover { color: var(--coral); }
.people small { color: var(--text-3); font: 500 12px var(--font); }
.next-air { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--coral-soft); color: var(--text-2); font-size: 14px; }
.next-air .i { color: var(--coral); }
.next-air b { color: var(--coral); }
.seasons { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; }
.eplist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.ep { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 16px; background: var(--tile); box-shadow: var(--shadow); min-width: 0; }
.ep:hover b { color: var(--coral); }
.ep .th { display: grid; place-items: center; width: 46px; height: 46px; flex: none; margin: 0; border-radius: 12px; background: var(--tile-2); font: 800 17px/1 var(--font-h); color: var(--text-2); }
.ep b { display: flex; align-items: center; gap: 6px; font: 600 14.5px/1.5 var(--font-h); }
.ep small { color: var(--text-3); font-size: 12.5px; }
.ep.soon { opacity: .45; }
.ep.cur { box-shadow: inset 0 0 0 2px var(--coral), var(--shadow); }
.ep.cur .th { background: var(--coral); color: #fff; }
.ep.cur b { color: var(--coral); }
.epnums { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 8px; margin-top: 14px; }
.epnums a { display: grid; place-items: center; height: 44px; border-radius: 12px; background: var(--tile); box-shadow: var(--shadow); font-weight: 700; }
.epnums a:hover { background: var(--coral); color: #fff; }

/* ---------- 播放页：黑色播放器拼块 + 白色侧栏拼块 ---------- */
.watch { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; margin-top: 14px; align-items: start; }
.watch > :first-child { min-width: 0; }
.player { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 24px; background: #0c0f17; box-shadow: var(--shadow-2); }
.player .cover { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(18px) brightness(.45); transform: scale(1.1); }
.player .big { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; border: 0; background: none; cursor: pointer; color: #fff; }
.player .big span { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 10px rgba(255, 90, 78, .22); transition: transform .2s; }
.player .big:hover span { transform: scale(1.08); }
.player .big .i { width: 32px; height: 32px; }
.player .big small { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.player .msg { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #c7ccd6; }
.ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.ctrl .sp { flex: 1; }
.servers { display: grid; gap: 10px; margin-top: 14px; padding: 14px 16px; border-radius: var(--r); background: var(--tile); box-shadow: var(--shadow); }
.sr { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sr > b { width: 70px; color: var(--text-3); font-size: 13.5px; }
.servers button { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 0; border-radius: 11px; background: var(--tile-2); color: var(--text-2); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.servers button .dot { width: 7px; height: 7px; border-radius: 9px; background: var(--green); }
.servers button:hover { color: var(--text); background: var(--tile-3); }
.servers button.on { background: var(--coral); color: #fff; }
.servers button.on .dot { background: #fff; }
.tip { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: 13px; color: var(--text-3); }
.tip .i { width: 16px; height: 16px; color: var(--coral); }
.wtitle { margin-top: 22px; }
.wtitle h1 { font-size: clamp(21px, 2.1vw, 28px); }
.wtitle .en { color: var(--text-3); font-size: 14px; }
.wtitle p { margin: 10px 0 14px; max-width: 820px; color: var(--text-2); }
.wside { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; }
.panel { padding: 16px; border-radius: var(--r); background: var(--tile); box-shadow: var(--shadow); }
.panel h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 16.5px; }
.panel h3 .i { color: var(--coral); }
.wside .eplist { grid-template-columns: 1fr; max-height: 420px; overflow-y: auto; margin: 0; scrollbar-width: thin; gap: 6px; }
.wside .ep { padding: 6px; background: var(--tile-2); box-shadow: none; }
.wside .ep .th { width: 38px; height: 38px; font-size: 15px; background: var(--tile); }
.wside .ep.cur .th { background: var(--coral); color: #fff; }
.rank { display: grid; gap: 4px; }
.rank a { display: flex; align-items: center; gap: 12px; padding: 6px; border-radius: 12px; }
.rank a:hover { background: var(--tile-2); }
.rank .no { width: 22px; flex: none; text-align: center; font: 800 16px var(--font-h); color: var(--line-2); }
.rank a:nth-child(-n+3) .no { color: var(--coral); }
.rank .pt { width: 40px; height: 60px; flex: none; overflow: hidden; border-radius: 8px; background: var(--tile-3); }
.rank .pt img { width: 100%; height: 100%; object-fit: cover; }
.rank b { display: block; font: 600 14px/1.5 var(--font-h); }
.rank small { color: var(--text-3); font-size: 12px; }
.lights-off { background: #0c0f17; }
.lights-off .hdr, .lights-off .foot, .lights-off .tabbar, .lights-off .watch-wrap > .crumb, .lights-off .wside, .lights-off .wtitle, .lights-off .servers, .lights-off .tip, .lights-off #content .wrap > .sec { opacity: .05; pointer-events: none; transition: opacity .3s; }
.lights-off .ctrl > *:not([data-light]) { opacity: .05; }

/* ---------- 时间表 ---------- */
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-top: 20px; }
.days button { display: flex; flex-direction: column; align-items: center; padding: 10px 4px; border: 0; border-radius: 16px; background: var(--tile); box-shadow: var(--shadow); color: var(--text-3); font-size: 12.5px; font-weight: 600; cursor: pointer; }
.days button b { font: 800 22px/1.4 var(--font-h); color: var(--text); }
.days button.on { background: var(--coral); color: rgba(255, 255, 255, .85); }
.days button.on b { color: #fff; }
.slots { margin-top: 16px; }
.slot { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.slot time { padding-top: 8px; font: 800 19px/1 system-ui, sans-serif; color: var(--coral); direction: ltr; text-align: center; }
.eps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ec { display: flex; gap: 14px; padding: 8px; border-radius: 16px; background: var(--tile); box-shadow: var(--shadow); min-width: 0; }
.ec:hover b { color: var(--coral); }
.ec .pt { width: 60px; aspect-ratio: 2 / 3; flex: none; overflow: hidden; border-radius: 10px; background: var(--tile-3); }
.ec .pt img { width: 100%; height: 100%; object-fit: cover; }
.ec .b { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; }
.ec b { font: 600 15px/1.5 var(--font-h); }
.ec .en { color: var(--text-3); font-size: 12px; direction: ltr; text-align: right; }
.ec .tg { display: flex; flex-wrap: wrap; gap: 4px; }
.ec time { color: var(--coral); font-size: 12.5px; font-weight: 700; }

/* ---------- 专题、搜索、404 ---------- */
.colls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.coll { display: block; padding: 14px; border-radius: var(--r); background: var(--tile); box-shadow: var(--shadow); transition: transform .2s; }
.coll:hover { transform: translateY(-3px); }
.coll .fan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.coll .fan .po { box-shadow: none; border-radius: 12px; }
.coll .fan img { width: 100%; height: 100%; object-fit: cover; }
.coll h3 { margin-top: 12px; font-size: 17px; }
.coll p { margin: 2px 0 6px; color: var(--text-2); font-size: 14px; }
.coll small { color: var(--coral); font-weight: 700; font-size: 13px; }
.hot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.big-search { margin: 26px 0 0; max-width: none; }
.big-search .box { height: 58px; font-size: 17px; background: var(--tile); box-shadow: var(--shadow); }
.nf { padding: 60px 0 10px; text-align: center; }
.nf .code { display: inline-flex; gap: 10px; font: 800 clamp(90px, 14vw, 160px)/1 var(--font-h); color: var(--coral); }
.nf h1 { margin-top: 6px; font-size: 28px; }
.nf p { color: var(--text-2); margin: 10px auto 24px; max-width: 520px; }

/* ---------- 底栏：白色拼块 ---------- */
.foot { margin: 70px 0 0; padding: 0 0 26px; }
.foot > .wrap { padding-top: 34px; padding-bottom: 6px; border-radius: 28px 28px 0 0; background: var(--tile); box-shadow: var(--shadow); max-width: 1336px; }
.foot .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot p { margin: 14px 0; font-size: 14px; color: var(--text-2); max-width: 420px; }
.foot h4 { font-size: 15px; margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 14px; color: var(--text-2); }
.foot a:hover { color: var(--coral); }
.foot .kw { display: flex; flex-wrap: wrap; gap: 6px; }
.foot .kw a { padding: 3px 10px; border-radius: 8px; background: var(--tile-2); font-size: 12.5px; color: var(--text-2); }
.foot .copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-3); }

/* ---------- 手机标签栏、抽屉、提示 ---------- */
.tabbar { display: none; }
.toast { position: fixed; left: 50%; bottom: 30px; z-index: 90; transform: translate(-50%, 20px); padding: 11px 20px; border-radius: 14px; background: var(--text); color: #fff; font-weight: 700; font-size: 14px; opacity: 0; pointer-events: none; transition: .3s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer .mask { position: absolute; inset: 0; background: rgba(18, 24, 38, .4); opacity: 0; transition: .3s; }
.drawer.open .mask { opacity: 1; }
.dside { position: absolute; top: 10px; bottom: 10px; inset-inline-start: 10px; width: min(310px, 84vw); padding: 20px 16px; overflow-y: auto; border-radius: 24px; background: var(--tile); box-shadow: var(--shadow-2); transform: translateX(110%); transition: transform .3s; }
[dir="ltr"] .dside { transform: translateX(-110%); }
.drawer.open .dside { transform: none; }
.dside nav { display: grid; gap: 2px; margin: 18px 0; }
.dside nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-weight: 600; color: var(--text-2); }
.dside nav a .i { color: var(--coral); }
.dside nav a.on, .dside nav a:hover { background: var(--coral-soft); color: var(--coral); }
.dside h5 { font-size: 13px; color: var(--text-3); margin: 14px 0 8px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1280px) {
  .row { grid-auto-columns: calc((100% - 4 * 18px) / 5); }
  .row.wide { grid-auto-columns: calc((100% - 2 * 18px) / 3); }
  .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .mnav > a, .mnav .dd > button { padding: 0 10px; font-size: 14px; }
  .search { max-width: 220px; }
  .t-feature { grid-column: span 7; }
  .t-tonight, .t-top3 { grid-column: span 5; }
  .t-cat { grid-column: span 4; min-height: 104px; }
}
@media (max-width: 1100px) {
  .mnav { display: none; }
  .menu-btn { display: grid; }
  .search { max-width: none; }
  .t-feature { grid-column: 1 / -1; grid-row: auto; }
  .t-tonight, .t-top3 { grid-column: span 6; }
  .t-rank, .t-coll { grid-column: 1 / -1; }
  .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .watch { grid-template-columns: minmax(0, 1fr); }
  .eplist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .colls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .wrap, .hdr-in { padding: 0 16px; }
  .hdr-in { gap: 10px; height: 64px; }
  .search { order: 3; flex: 1; margin: 0; }
  .search .box { height: 40px; }
  .icon-btn { width: 40px; height: 40px; border-radius: 12px; }
  .acts .sched { display: none; }
  .bento { gap: 12px; }
  .row { grid-auto-columns: calc((100% - 3 * 12px) / 3.5); gap: 12px; }
  .row.wide { grid-auto-columns: calc((100% - 12px) / 1.8); }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 12px; }
  .dhero .in { grid-template-columns: 170px minmax(0, 1fr); gap: 22px; padding: 20px; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
  .foot .cols > div:first-child { grid-column: 1 / -1; }
  body { padding-bottom: 76px; }
  .tabbar { position: fixed; inset-inline: 10px; bottom: 10px; z-index: 50; display: grid; grid-template-columns: repeat(5, 1fr); height: 60px; padding-bottom: env(safe-area-inset-bottom); border-radius: 20px; background: rgba(255, 255, 255, .96); box-shadow: var(--shadow-2); }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 0; background: none; color: var(--text-3); font-size: 11px; font-weight: 600; cursor: pointer; }
  .tabbar .on { color: var(--coral); }
}
@media (max-width: 640px) {
  .logo .mk svg { width: 32px; height: 32px; }
  .logo .wd b { font-size: 21px; }
  .logo .wd small { display: none; }
  /* 手机：搜索框收成一个图标，点了在页眉上展开成整行 */
  .m-search { display: grid; }
  .search { display: none; }
  .search.open { display: block; position: absolute; inset-inline: 12px; top: 10px; max-width: none; z-index: 5; }
  .search.open .box { background: var(--tile); border-color: var(--coral); box-shadow: var(--shadow-2); }
  .bento { margin-top: 12px; }
  .t-feature { min-height: 420px; border-radius: 20px; }
  .fbg .wp { top: 7%; height: 48%; inset-inline-end: 50%; transform: translateX(50%); }
  [dir="rtl"] .fbg .wp { transform: translateX(-50%); }
  .ftx { inset-inline: 18px; bottom: 44px; text-align: center; max-width: none; }
  .ftx h2 { font-size: 26px; }
  .ftx .meta { justify-content: center; }
  .ftx .ov { display: none; }
  .ftx .acts { justify-content: center; }
  .dots { inset-inline: 0; justify-content: center; bottom: 16px; }
  .t-tonight, .t-top3 { grid-column: 1 / -1; }
  .t-cat { grid-column: span 6; min-height: 92px; padding: 12px; }
  .t-cat .ci { width: 34px; height: 34px; border-radius: 11px; top: 10px; inset-inline-start: 10px; }
  .t-cat b { font-size: 14.5px; }
  .t-cat small { display: none; }
  .t-rank, .t-coll { padding: 16px; }
  .chart { grid-template-columns: minmax(0, 1fr); grid-auto-flow: row; grid-template-rows: none; }
  .sec { margin-top: 32px; }
  .sec-h h2 { font-size: 19px; }
  .sec-h .nav-btns { display: none; }
  .row { grid-auto-columns: 38%; gap: 10px; margin-inline-end: -16px; padding-inline-end: 16px; }
  .row.wide { grid-auto-columns: 72%; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
  .pc .t, .lc .t { font-size: 14px; margin-top: 8px; }
  .pc .bl { display: none; }
  .foot-b { font-size: 11px; padding: 18px 7px 6px; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fr > b { width: 56px; }
  .eplist { grid-template-columns: minmax(0, 1fr); }
  .player { margin: 0 -16px; border-radius: 0; }
  .sr > b { width: 100%; }
  .days { gap: 4px; }
  .days button { padding: 8px 2px; border-radius: 12px; }
  .days button b { font-size: 18px; }
  .slot { grid-template-columns: 1fr; gap: 8px; }
  .slot time { text-align: start; padding-top: 0; }
  .eps { grid-template-columns: 1fr; }
  .colls { grid-template-columns: 1fr; }
  .dhero .in { grid-template-columns: 1fr; gap: 0; margin: 18px 12px 0; padding: 18px; border-radius: 24px; }
  .dhero .poster { width: 160px; justify-self: center; }
  .dhero .info { margin-top: 18px; }
  .score > div { min-width: 0; flex: 1; padding: 6px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .foot > .wrap { border-radius: 22px 22px 0 0; }
}

/* =====================================================================
   正式版专用（原型里没有）：详情页、播放器状态、线路、集分段、时间表、专题页、FAQ、Cookie、广告位等
   ===================================================================== */
.hidden, [hidden] { display: none !important; }
.logo img { height: var(--logo-h); width: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-select { height: 34px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--tile); color: var(--text-2); font-size: 13px; font-weight: 600; cursor: pointer; flex: none; }
.search-h { font-size: 22px; margin-top: 18px; }
.tabs a { display: inline-flex; align-items: center; height: 44px; padding: 0 2px; color: var(--text-2); font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.tabs a.on { color: #fff; box-shadow: inset 0 -3px 0 var(--coral); }
.ph1 + .tabs, .ph1 + .filters, .tabs + .filters { margin-top: 20px; }
.tabs + .grid, .tabs + #my-list { margin-top: 22px; }
.filters + .grid, .filters + .empty-state { margin-top: 24px; }
.grid + .pager { margin-top: 30px; }
.suggest .none { padding: 14px; text-align: center; color: var(--text-3); font-size: 13.5px; }
.pc .s > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.pc .prog { position: absolute; inset-inline: 8px; bottom: 8px; height: 5px; border-radius: 9px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.pc .prog i { display: block; height: 100%; background: var(--coral); }
.b-rank { background: var(--gold); color: #2b1d00; }
.top-grid .pc .tl .b-rank { font-size: 12.5px; }

/* 详情页（电影、剧集、季）：信息列 */
.dhero .poster { position: relative; align-self: start; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 26px; background: var(--tile-2); box-shadow: 0 0 0 1px var(--line-2), 0 0 60px rgba(255, 90, 78, .25), 0 30px 70px rgba(5, 3, 20, .6); }
.dhero .poster img { width: 100%; height: 100%; object-fit: cover; }
.dhero .info h1 { margin-top: 10px; }
.dhero dl.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 18px; max-width: 760px; padding: 16px 20px; border-radius: 20px; background: var(--tile); border: 1px solid var(--line); }
.dhero dl.facts dt { margin: 0; color: var(--coral); font-size: 13px; font-weight: 700; }
.dhero dl.facts dd { margin: 0; font-size: 14px; font-weight: 600; }
.intro-box { margin-top: 26px; padding: 16px 20px; border-radius: 12px; background: var(--tile); border: 1px solid var(--line); border-inline-start: 3px solid var(--coral); color: var(--text-2); font-size: 14.5px; }
.people .person { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 8px; border-radius: 20px; background: var(--tile); border: 1px solid var(--line); text-align: center; font: 700 14px/1.4 var(--font-h); min-width: 0; }
.people .av { overflow: hidden; }
.people .av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.faq details { margin-bottom: 10px; padding: 16px 20px; border-radius: 20px; background: var(--tile); border: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 700 16px/1.5 var(--font-h); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; background: var(--tile-2); color: var(--coral); font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--text-2); margin: 10px 0 0; }

/* 集列表（正式版：剧照 + 集号 + 简介） */
.ep .th { position: relative; overflow: hidden; }
.ep .th img { display: none; }
.ep .th .no { font: 800 17px/1 var(--font-h); }
.ep .b { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ep .b b { display: block; }
.ep .b b .badge { margin-inline-start: 6px; height: 18px; font-size: 10px; vertical-align: 2px; }
.ep .ov { color: var(--text-3); font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ep-panel .seasons { margin: 0 0 12px; }
.ep-panel-body { transition: opacity .15s; }
.epnums a.cur { background: var(--coral); color: #fff; }
.epnums span { display: grid; place-items: center; height: 44px; border-radius: 12px; border: 1px dashed var(--line-2); color: var(--text-3); font-weight: 700; }
.wside .epnums { grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); max-height: 360px; overflow-y: auto; margin-top: 0; padding: 2px; }
.wside .epnums a, .wside .epnums span { height: 38px; }

/* 播放器 */
.player .player-box { position: absolute; inset: 0; background: center / cover no-repeat; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-cover { position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; color: #fff; display: grid; place-items: center; background: radial-gradient(circle, rgba(0, 0, 0, .2), rgba(0, 0, 0, .8)); }
.player-cover .play-circle { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--coral); color: #fff; box-shadow: 0 0 0 12px rgba(255, 90, 78, .2), 0 0 50px rgba(255, 90, 78, .35); transition: transform .2s; }
.player-cover:hover .play-circle { transform: scale(1.07); }
.player-cover .play-circle .i { width: 34px; height: 34px; }
.player-cover .label { position: absolute; bottom: 20px; inset-inline: 16px; text-align: center; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.player-msg { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: center; text-align: center; padding: 20px; background: rgba(0, 0, 0, .88); color: var(--text-2); }
.player-msg b { color: #fff; font-size: 17px; font-family: var(--font-h); }
.player-msg code { font-size: 12px; word-break: break-all; direction: ltr; }
.player-restart { position: absolute; inset-inline: 0; bottom: 60px; display: flex; justify-content: center; z-index: 2; }
.next-countdown { position: absolute; inset-inline-end: 16px; bottom: 16px; z-index: 3; display: grid; gap: 10px; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, .98); border: 1px solid var(--line-2); color: var(--text); box-shadow: var(--shadow); font-size: 14px; }
.servers:empty { display: none; }
.servers .sr > b { width: 76px; }
.servers button.miss { opacity: .45; text-decoration: line-through; }
.servers button.miss .dot { background: var(--text-3); box-shadow: none; }
.server-tip { font-size: 12.5px; color: var(--text-3); }
.ep-nav { display: flex; gap: 8px; }
.lights-off .ctrl > *:not(#lights) { opacity: .05; }
.lights-off .ad-slot, .lights-off .watch-wrap ~ * { opacity: .04; }

/* 新集时间表 */
.nt-stats { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.nt-stats span { padding: 12px 18px; border-radius: 18px; background: var(--tile); border: 1px solid var(--line); color: var(--text-3); font-size: 12.5px; font-weight: 600; }
.nt-stats b { display: block; font: 800 26px/1.3 var(--font-h); color: var(--coral); }
.sched .days { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(78px, 1fr); overflow-x: auto; scrollbar-width: none; padding: 4px 2px 10px; }
.sched .days::-webkit-scrollbar { display: none; }
.nt-filter { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 20px; }
.nt-day h2 { font-size: 21px; margin-bottom: 14px; }
.nt-day h2 small { margin-inline-start: 8px; font: 600 13px var(--font); color: var(--text-3); }
.nt-day .eps { margin-bottom: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* 专题详情 */
.coll-hero { position: relative; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: center; margin-top: 12px; padding: 28px; overflow: hidden; border-radius: 30px; border: 1px solid var(--line-2); background: radial-gradient(circle at 15% 20%, rgba(255, 90, 78, .3), transparent 60%), radial-gradient(circle at 90% 90%, rgba(255, 90, 78, .12), transparent 60%), var(--tile); box-shadow: var(--shadow); }
.coll-hero .fan-only { padding: 0; border: 0; background: none; }
.coll-hero .fan-only:hover { transform: none; }
.coll-hero .fan div { aspect-ratio: 2 / 3; overflow: hidden; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.coll-hero .fan img { width: 100%; height: 100%; object-fit: cover; }
.coll-hero h1 { margin: 10px 0 12px; font-size: clamp(28px, 3.2vw, 40px); }
.coll-hero .desc { color: var(--text-2); }
.coll-hero .desc p { margin: 0 0 10px; }
.coll-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; color: var(--text-3); font-size: 13px; }
.coll-meta b { color: var(--text); }
.coll .fan div { aspect-ratio: 2 / 3; overflow: hidden; border-radius: 10px; background: linear-gradient(160deg, #f7f8fb, #e7eaf0); }

/* 单页 */
.prose { max-width: 860px; margin-top: 8px; padding: 28px 32px; border-radius: 26px; background: var(--tile); border: 1px solid var(--line); font-size: 15.5px; color: var(--text-2); }
.prose h1 { font-size: 32px; margin-bottom: 14px; color: var(--text); }
.prose h2 { font-size: 21px; margin: 24px 0 6px; color: var(--text); }
.prose a { color: var(--coral); font-weight: 600; }
.prose ul { padding-inline-start: 22px; margin: 0 0 12px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 14px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: start; vertical-align: top; font-size: 14px; }
.prose th { width: 32%; color: var(--text); }

/* 表单（联系我们等） */
input[type="text"], input[type="email"], textarea { color-scheme: dark; }

/* 回到顶部、Cookie、广告位、底栏声明 */
.totop { position: fixed; inset-inline-start: 18px; bottom: 24px; z-index: 45; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; box-shadow: var(--shadow); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s; }
.totop.show { opacity: 1; pointer-events: auto; }
.totop:hover { border-color: var(--coral); }
.cookie-banner { position: fixed; inset-inline: 16px; bottom: 16px; z-index: 70; display: flex; gap: 14px; align-items: center; max-width: 720px; margin: 0 auto; padding: 14px 16px; border-radius: 20px; background: rgba(255, 255, 255, .98); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: 13.5px; color: var(--text-2); }
.cookie-banner a { color: var(--coral); text-decoration: underline; }
.cookie-banner .btn { flex: none; }
.ad-slot { margin-top: 24px; text-align: center; overflow: hidden; }
.ad-slot img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.footer-notice, .tmdb-attr { flex-basis: 100%; font-size: 11px; }
.tmdb-attr b { margin-inline-end: 4px; color: var(--coral); }
.m-search { display: none; }

@media (max-width: 1100px) {
  .nt-day .eps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coll-hero { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .dhero .poster { width: 190px; justify-self: center; }
  .totop { bottom: 86px; }
  .cookie-banner { bottom: 80px; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .nt-day .eps { grid-template-columns: minmax(0, 1fr); }
  .coll-hero { padding: 18px; gap: 20px; border-radius: 24px; }
  .faq summary { font-size: 15px; }
  .player-cover .play-circle { width: 70px; height: 70px; }
  .next-countdown { inset-inline: 10px; bottom: 10px; }
  .dhero dl.facts { grid-template-columns: max-content minmax(0, 1fr); padding: 12px 14px; }
  .prose { padding: 20px; }
}

/* 这一版专用 */
.logo > .mk { width: 38px; height: 38px; flex: none; display: block; }
.foot .logo > .mk { width: 42px; height: 42px; }
.ftx .h { margin-top: 10px; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.25; }
.ftx .h a:hover { color: #ffd27a; }
.bento.no-feature .t-tonight, .bento.no-feature .t-top3 { grid-column: span 6; }
.t-rank.full, .t-coll.full { grid-column: 1 / -1; }
.tn .tm { flex: none; width: 52px; padding: 4px 0; border-radius: 10px; background: var(--coral-soft); color: var(--coral); text-align: center; font: 700 14px/1.3 var(--font-h); }
.tn .tm small { display: block; font-size: 10.5px; opacity: .8; }
.tn-empty { display: flex; gap: 8px; align-items: center; margin: 6px 0; color: var(--text-3); font-size: 14px; }
.tn-empty .i { color: var(--coral); }
.t-about .hotk { margin-top: 8px; }
.icon-btn.sched { display: grid; }
.dhero .bg.bd { filter: blur(4px) saturate(1.1); opacity: .45; transform: scale(1.05); }
.dhero .poster { position: relative; align-self: start; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 18px; background: var(--tile-3); box-shadow: var(--shadow); }
.dhero .poster img { width: 100%; height: 100%; object-fit: cover; }
.lc .th .ph, .fbg .ph { font-size: 13px; }
.rk-top, .strip { display: none; }
@media (max-width: 960px) {
  .icon-btn.sched { display: none; }
}
@media (max-width: 640px) {
  .ftx .h { font-size: 26px; }
  .bento.no-feature .t-tonight, .bento.no-feature .t-top3 { grid-column: 1 / -1; }
}
