@charset "UTF-8";
/* =====================================================================
   西班牙语站样式：HuraWatch「Cartelera」版式（来自 prototype/es/assets/es.css，后面追加正式版专用的样式）
   - 奶油色浅色底（#fbf6ef）+ 白色卡片，强调色珊瑚红（#ff5a3c），辅色青绿（#0e9384）、向日葵黄（#ffc53d）
   - 电脑：左侧固定侧栏（栏目、类型、语言偏好）+ 顶栏大搜索框；手机：底部标签栏 + 抽屉菜单
   - 首页：宽卡片轮播 → 今日新集时间线 → 竖版海报行 → 类型彩色方块
   - 卡片：2:3 海报，白底圆角带阴影，右上角圆形评分，下面语言标签 LAT / CAST / SUB
   - 字体：标题 Bricolage Grotesque，正文 DM Sans
   ===================================================================== */
/* 字体放在本站（不连 Google Fonts）：只含拉丁字符（含西语重音、ñ、¿¡），可变字重 */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/assets/fonts/bricolage-grotesque-latin.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap; src: url("/assets/fonts/dm-sans-latin.woff2") format("woff2"); }
:root {
  --bg: #fbf6ef;
  --bg-2: #f4ece1;
  --paper: #ffffff;
  --ink: #1f1a17;
  --ink-2: #5b524c;
  --ink-3: #958a82;
  --line: #ece3d8;
  --line-2: #ddd1c3;
  --coral: #ff5a3c;
  --coral-2: #e8432a;
  --coral-soft: #ffe8e2;
  --teal: #0e9384;
  --teal-soft: #dcf3ef;
  --sun: #ffc53d;
  --sun-soft: #fff3d1;
  --plum: #3b2f63;
  --r: 16px;
  --side: 248px;
  --pad: clamp(16px, 3vw, 40px);
  --shadow: 0 1px 2px rgba(31, 26, 23, .06), 0 8px 24px rgba(31, 26, 23, .07);
  --shadow-2: 0 2px 4px rgba(31, 26, 23, .08), 0 18px 40px rgba(31, 26, 23, .14);
  --head: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 var(--font); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
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(--head); font-weight: 700; line-height: 1.15; margin: 0; letter-spacing: -.02em; }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i.fill { fill: currentColor; stroke: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-3); }
.wrap { padding: 0 var(--pad); }
#content { overflow-x: clip; min-height: 60vh; }


/* ---------- 整体：左侧栏 + 右侧内容 ---------- */
.app { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; overflow-y: auto; border-right: 1px solid var(--line); background: var(--paper); scrollbar-width: thin; }
.side-in { padding: 22px 16px 28px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-family: var(--head); font-weight: 800; font-size: 26px; letter-spacing: -.04em; color: var(--ink); }
.logo i { color: var(--coral); font-style: normal; }
.logo .lm { display: block; width: 36px; height: 36px; flex: none; filter: drop-shadow(0 5px 10px rgba(255, 90, 60, .3)); }
.logo .lm .mk { display: block; width: 100%; height: 100%; }
.side .logo { margin: 0 8px 22px; }
.snav { display: grid; gap: 2px; }
.snav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--ink-2); font-weight: 600; font-size: 14.5px; transition: background .2s, color .2s; }
.snav a:hover { background: var(--bg); color: var(--ink); }
.snav a.on { background: var(--coral-soft); color: var(--coral-2); }
.snav a .i { width: 19px; height: 19px; }
.side h5, .dside h5 { margin: 22px 12px 8px; font-family: var(--font); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.sgen { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 8px; }
.sgen a { padding: 5px 11px; border-radius: 999px; background: var(--bg); font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.sgen a:hover { background: var(--sun-soft); color: var(--ink); }
.lpref { display: grid; gap: 4px; margin: 0 8px; padding: 4px; border-radius: 14px; background: var(--bg); }
.lpref button { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border: 0; border-radius: 10px; background: none; font-size: 13.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.lpref button::after { content: ""; width: 9px; height: 9px; border-radius: 9px; border: 2px solid var(--line-2); }
.lpref button.on { background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.lpref button.on::after { border-color: var(--teal); background: var(--teal); }
.main { min-width: 0; display: flex; flex-direction: column; }

/* ---------- 顶栏 ---------- */
.top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 16px; padding: 14px var(--pad); background: rgba(251, 246, 239, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .logo { display: none; font-size: 22px; }
.top .logo .lm { width: 32px; height: 32px; }
.search { position: relative; flex: 1; max-width: 640px; }
.search .box { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--paper); color: var(--ink-3); transition: border-color .2s, box-shadow .2s; }
.search .box:focus-within { border-color: var(--coral); box-shadow: 0 0 0 4px var(--coral-soft); }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 15px; color: var(--ink); }
.search input::placeholder { color: var(--ink-3); }
.search kbd { padding: 2px 8px; border: 1px solid var(--line-2); border-radius: 6px; font: 600 12px var(--font); color: var(--ink-3); }
.suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; display: none; padding: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-2); z-index: 5; }
.suggest.show { display: block; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 12px; }
.suggest a:hover { background: var(--bg); }
.suggest .pt { width: 36px; height: 54px; border-radius: 8px; overflow: hidden; background: var(--bg-2); flex: none; }
.suggest b { display: block; font-size: 14px; }
.suggest small { color: var(--ink-3); font-size: 12px; }
.suggest .all { justify-content: center; color: var(--coral-2); font-size: 13px; font-weight: 700; padding: 10px; }
.quick { display: flex; gap: 6px; margin-left: auto; }
.quick a { padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.quick a:hover { background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--paper); color: var(--ink-2); cursor: pointer; }
.icon-btn:hover { color: var(--coral-2); border-color: var(--coral); }
.menu-btn { display: none; }

/* ---------- 按钮、标签 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border: 1.5px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: transform .15s, background .2s, border-color .2s, color .2s, box-shadow .2s; }
.btn:active { transform: scale(.97); }
.btn .i { width: 18px; height: 18px; }
.btn-main, .btn-play { background: var(--coral); color: #fff; box-shadow: 0 8px 20px rgba(255, 90, 60, .3); }
.btn-main:hover, .btn-play:hover { background: var(--coral-2); }
.btn-ghost, .btn-info { background: rgba(255, 255, 255, .9); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover, .btn-info:hover { border-color: var(--ink); }
.btn-line { background: var(--paper); color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--ink); }
.btn-round { width: 48px; padding: 0; background: var(--paper); border-color: var(--line-2); color: var(--ink); }
.btn-round:hover { border-color: var(--coral); color: var(--coral-2); }
.btn-round.on { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn-sm { height: 38px; padding: 0 15px; font-size: 13.5px; }
.btn-sm .i { width: 15px; height: 15px; }
.badge { display: inline-flex; align-items: center; height: 21px; padding: 0 7px; border-radius: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; line-height: 1; white-space: nowrap; }
.b-lat { background: var(--teal); color: #fff; }
.b-cast { background: var(--sun); color: #3a2a00; }
.b-sub { background: var(--paper); color: var(--plum); box-shadow: inset 0 0 0 1.5px var(--plum); }
.b-ep { background: var(--ink); color: #fff; }
.b-new { background: var(--coral); color: #fff; }
.b-q { background: var(--bg-2); color: var(--ink-2); }
.b-age { background: var(--paper); color: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--paper); color: var(--ink-2); font-size: 12.5px; font-weight: 700; box-shadow: var(--shadow); }
.pill .i { width: 14px; height: 14px; }
.p-hot { background: var(--coral); color: #fff; }
.p-his { background: var(--sun); color: #3a2a00; }
.chip { display: inline-flex; align-items: center; height: 36px; padding: 0 15px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--paper); color: var(--ink-2); font-size: 13.5px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: .2s; }
.chip:hover { border-color: var(--ink-2); color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- 首页：宽卡片轮播 ---------- */
.bill { margin-top: 22px; }
.bill-track { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.bill-track::-webkit-scrollbar { display: none; }
.bl { position: relative; scroll-snap-align: start; aspect-ratio: 16 / 7; border-radius: 26px; overflow: hidden; background: var(--plum); box-shadow: var(--shadow-2); }
.bl .bg { position: absolute; inset: 0; }
.bdi { width: 100%; height: 100%; object-fit: cover; }
.bdph { display: block; width: 100%; height: 100%; }
.bl::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 14, 10, .82) 0%, rgba(20, 14, 10, .45) 45%, rgba(20, 14, 10, 0) 75%); }
.bl-txt { position: absolute; z-index: 1; left: 40px; bottom: 34px; max-width: 480px; color: #fff; }
.bl-txt h2 { margin-top: 14px; font-size: clamp(30px, 3.6vw, 52px); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.bl-txt .meta { color: rgba(255, 255, 255, .85); }
.bl-txt .meta .age { color: #fff; border-color: rgba(255, 255, 255, .6); }
.bl-txt .lg { display: flex; gap: 6px; margin-top: 12px; }
.bl-txt .ov { margin: 12px 0 0; color: rgba(255, 255, 255, .85); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bl-txt .acts { display: flex; gap: 10px; margin-top: 20px; }
.bill-nav { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.bill-nav .dots { display: flex; gap: 6px; margin-right: auto; }
.bill-nav .dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 9px; background: var(--line-2); cursor: pointer; transition: width .3s, background .3s; }
.bill-nav .dots button.on { width: 28px; background: var(--coral); }
.arr { display: grid; place-items: center; width: 38px; height: 38px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--paper); color: var(--ink-2); cursor: pointer; }
.arr:hover { border-color: var(--ink); color: var(--ink); }
.arr .i { width: 16px; height: 16px; }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 12px; font-size: 14px; color: var(--ink-2); }
.meta .rt { display: inline-flex; align-items: center; gap: 4px; color: var(--coral-2); font-weight: 800; }
.bl-txt .meta .rt { color: var(--sun); }
.meta .rt .i { width: 15px; height: 15px; }
.meta .rt small { color: var(--ink-3); font-weight: 600; }
.meta .age { padding: 1px 7px; border: 1.5px solid var(--line-2); border-radius: 6px; font-size: 12px; font-weight: 700; }

/* ---------- 区块和行 ---------- */
.rows { padding-bottom: 10px; }
.sec { margin-top: 46px; }
.sec-h { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
.sec-h h2 { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.sec-h h2 a:hover { color: var(--coral-2); }
.sec-h .sub { display: block; margin-top: 3px; font-size: 13.5px; color: var(--ink-3); }
.sec-h .sp { flex: 1; }
.sec-h .more { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 15px; border-radius: 999px; background: var(--paper); font-size: 13.5px; font-weight: 700; color: var(--ink); box-shadow: var(--shadow); white-space: nowrap; }
.sec-h .more .i { width: 14px; height: 14px; }
.sec-h .more:hover { color: var(--coral-2); }
.sec-h .arrs { display: flex; gap: 6px; }
.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: 4px 4px 14px; margin: -4px -4px 0; }
.row::-webkit-scrollbar { display: none; }
.row > * { scroll-snap-align: start; }
.grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 26px 18px; }

/* ---------- 海报卡片 ---------- */
.pc { display: block; min-width: 0; }
.pc .po { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: var(--r); overflow: hidden; background: var(--bg-2); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.pc .po > img { width: 100%; height: 100%; object-fit: cover; }
.pc:hover .po { transform: translateY(-5px) rotate(-.6deg); box-shadow: var(--shadow-2); }
.pc .flag { position: absolute; left: 10px; top: 10px; padding: 4px 9px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 800; }
.pc .flag.f-new { background: var(--coral); }
.pc .score { position: absolute; right: 10px; top: 10px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 12.5px; font-weight: 800; box-shadow: 0 0 0 3px var(--sun) inset, var(--shadow); }
.pc .hv { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(31, 26, 23, .3); opacity: 0; transition: opacity .25s; }
.pc .hv i { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 999px; background: var(--coral); color: #fff; }
.pc .hv .i { width: 22px; height: 22px; margin-left: 3px; }
.pc:hover .hv { opacity: 1; }
.pc .ti { display: block; margin-top: 11px; font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc:hover .ti { color: var(--coral-2); }
.pc .mt { display: block; margin-top: 1px; font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc .lg { display: flex; gap: 4px; margin-top: 7px; }
.pc .lg .badge { height: 18px; padding: 0 6px; font-size: 9.5px; }
.ph { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 14px; color: #fff; }
.ph-t { font-family: var(--head); font-size: 18px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.ph-y { font-size: 11.5px; opacity: .85; }

/* ---------- 今日新集时间线 ---------- */
.tl { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 0; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
.tl::-webkit-scrollbar { display: none; }
.tli { position: relative; display: block; padding: 0 14px 0 0; }
.tli time { position: relative; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-family: var(--head); font-weight: 800; font-size: 18px; color: var(--coral-2); }
.tli time::before { content: ""; width: 12px; height: 12px; border-radius: 12px; background: var(--coral); box-shadow: 0 0 0 4px var(--coral-soft); flex: none; }
.tli time::after { content: ""; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.tc { display: block; padding: 10px; border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.tli:hover .tc { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.tp { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; }
.tp .badge { position: absolute; left: 8px; bottom: 8px; }
.tc b { display: block; margin-top: 10px; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc small { display: block; font-size: 12.5px; color: var(--ink-3); }
.tc .lg { display: flex; gap: 4px; margin-top: 8px; }

/* ---------- 类型彩色方块 ---------- */
.gtiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gt { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 112px; padding: 18px 20px; border-radius: 22px; overflow: hidden; color: #fff; transition: transform .2s; }
.gt::after { content: ""; position: absolute; right: -26px; top: -26px; width: 110px; height: 110px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.gt:hover { transform: translateY(-3px) rotate(-.5deg); }
.gt b { font-family: var(--head); font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.gt small { opacity: .85; font-size: 12.5px; }
.g0 { background: #ff5a3c; } .g1 { background: #ffb020; color: #3a2a00; } .g2 { background: #2b2440; } .g3 { background: #e0457b; }
.g4 { background: #0e9384; } .g5 { background: #5b524c; } .g6 { background: #3b6fd8; } .g7 { background: #8a5a2b; }

/* ---------- 首页介绍 ---------- */
.about { margin-top: 56px; padding: 28px 30px; border-radius: 24px; background: var(--paper); box-shadow: var(--shadow); }
.about h1, .about h2 { font-size: 20px; }
.about p { margin: 10px 0 0; color: var(--ink-2); font-size: 14.5px; max-width: 960px; }
.about a { color: var(--coral-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 列表页 ---------- */
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 22px; font-size: 13px; color: var(--ink-3); }
.crumb a:hover { color: var(--coral-2); }
.crumb .sep { opacity: .6; }
.ph1 { margin-top: 12px; }
.ph1 h1 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.035em; }
.ph1 p { margin: 8px 0 0; color: var(--ink-2); max-width: 760px; }
.ph1 .count { display: inline-block; margin-top: 12px; padding: 5px 13px; border-radius: 999px; background: var(--sun-soft); color: #7a5600; font-size: 13px; font-weight: 700; }
.filters { margin-top: 22px; padding: 16px 18px; border-radius: 20px; background: var(--paper); box-shadow: var(--shadow); display: grid; gap: 10px; }
.filters .fr { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.filters .fr::-webkit-scrollbar { display: none; }
.filters .fr b { flex: none; width: 70px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.filters .chip { height: 32px; padding: 0 13px; font-size: 13px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0 16px; font-size: 14px; color: var(--ink-2); min-height: 40px; }
.toolbar .sortby { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; color: var(--ink-3); font-size: 13px; }
.toolbar select { height: 40px; padding: 0 12px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--paper); color: var(--ink); font-weight: 600; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 36px 0 0; }
.pager a, .pager span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 12px; background: var(--paper); color: var(--ink-2); font-weight: 700; font-size: 14px; box-shadow: var(--shadow); }
.pager a:hover { color: var(--coral-2); }
.pager .on { background: var(--coral); color: #fff; }
.empty-state { padding: 60px 20px; text-align: center; color: var(--ink-3); }
.empty-state .i { width: 40px; height: 40px; margin: 0 auto 12px; color: var(--line-2); }
.empty-state h2 { color: var(--ink); font-size: 22px; margin-bottom: 6px; }
.empty-state .btn { margin-top: 10px; }
.cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.cat { display: block; padding: 18px; border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); font-family: var(--head); font-weight: 800; font-size: 17px; transition: transform .2s; }
.cat .n { display: block; color: var(--coral); font-family: var(--font); font-size: 12px; margin-bottom: 6px; }
.cat small { display: block; margin-top: 4px; color: var(--ink-3); font-family: var(--font); font-weight: 600; font-size: 12px; }
.cat:hover { transform: translateY(-3px); }

/* ---------- 详情页 ---------- */
.dh { position: relative; }
.dh-bg { position: absolute; left: 0; right: 0; top: 0; height: 300px; overflow: hidden; }
.dh-bg img, .dh-bg .bdph { filter: blur(3px) saturate(1.1); opacity: .55; transform: scale(1.05); }
.dh-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(251, 246, 239, .2), var(--bg) 96%); }
.dh-in { position: relative; display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 40px; padding-top: 120px; }
.dpost { position: relative; aspect-ratio: 2 / 3; border-radius: 22px; overflow: hidden; background: var(--bg-2); box-shadow: var(--shadow-2); align-self: start; transform: rotate(-1.5deg); border: 6px solid var(--paper); }
.dpost > img { width: 100%; height: 100%; object-fit: cover; }
.dinfo .crumb { padding-top: 0; margin-bottom: 14px; }
.dinfo h1 { margin-top: 12px; font-size: clamp(32px, 4vw, 56px); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; }
.dinfo .orig { margin-top: 6px; color: var(--ink-3); font-size: 15px; }
.langs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.langs > span { font-size: 13px; color: var(--ink-3); margin-right: 4px; }
.lchip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 6px; border-radius: 999px; background: var(--paper); font-size: 14px; font-weight: 700; box-shadow: var(--shadow); }
.lchip b { display: grid; place-items: center; height: 28px; padding: 0 9px; border-radius: 999px; font-size: 11px; letter-spacing: .04em; }
.lchip.b-lat b { background: var(--teal); color: #fff; } .lchip.b-cast b { background: var(--sun); color: #3a2a00; } .lchip.b-sub b { background: var(--plum); color: #fff; }
.lchip.b-lat, .lchip.b-cast, .lchip.b-sub { color: var(--ink); box-shadow: var(--shadow); background: var(--paper); }
.lchip:hover { transform: translateY(-1px); }
.dinfo .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.dinfo .ov { margin: 22px 0 0; max-width: 780px; font-size: 16.5px; color: var(--ink-2); line-height: 1.7; }
.dinfo .ov.empty { color: var(--ink-3); font-style: italic; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 24px 0 0; max-width: 900px; }
.facts div { padding: 14px 16px; border-radius: 16px; background: var(--paper); box-shadow: var(--shadow); min-width: 0; }
.facts dt { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.facts dd { margin: 4px 0 0; font-size: 14px; font-weight: 600; }
.facts a:hover { color: var(--coral-2); }
.tabs { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--paper); box-shadow: var(--shadow); width: max-content; max-width: 100%; }
.tabs button { height: 40px; padding: 0 20px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font-weight: 700; font-size: 14px; cursor: pointer; }
.tabs button.on { background: var(--ink); color: #fff; }
[data-pane] { margin-top: 20px; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 14px; }
.people a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 8px; border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); text-align: center; font-size: 13.5px; font-weight: 700; }
.people .av { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 999px; background: var(--sun-soft); color: #7a5600; font-family: var(--head); font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.people a:hover .av { background: var(--coral); color: #fff; }
.people small { color: var(--ink-3); font-weight: 600; font-size: 11.5px; }
.seasons { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.next-air { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 16px; background: var(--teal-soft); color: #0b5d54; font-size: 14px; }
.next-air .i { color: var(--teal); }
.eplist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.ep { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); transition: transform .2s; min-width: 0; }
.ep:hover { transform: translateY(-2px); }
.ep .no { width: 30px; flex: none; text-align: center; font-family: var(--head); font-size: 20px; font-weight: 800; color: var(--ink-3); }
.ep .still { position: relative; display: grid; place-items: center; width: 150px; aspect-ratio: 16 / 9; border-radius: 12px; flex: none; }
.ep .still .i { width: 32px; height: 32px; padding: 9px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--coral); }
.ep .eb { min-width: 0; }
.ep .eb b { display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.ep .eb b em { margin-left: auto; font-style: normal; font-weight: 600; font-size: 12px; color: var(--ink-3); }
.ep .eb small { display: block; color: var(--ink-3); font-size: 12px; }
.ep .eov { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; font-size: 13px; color: var(--ink-2); }
.ep.soon { opacity: .5; }
.epnums { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 8px; margin-top: 14px; }
.epnums a { display: grid; place-items: center; height: 42px; border-radius: 12px; background: var(--paper); box-shadow: var(--shadow); font-weight: 700; font-size: 14px; color: var(--ink-2); }
.epnums a:hover { background: var(--coral); color: #fff; }

/* ---------- 播放页 ---------- */
.watch { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; margin-top: 16px; }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #120d0a; box-shadow: var(--shadow-2); }
.player .cover { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(16px) brightness(.5); 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: 88px; height: 88px; border-radius: 999px; background: var(--coral); box-shadow: 0 0 0 12px rgba(255, 90, 60, .25); transition: transform .2s; }
.player .big:hover span { transform: scale(1.08); }
.player .big .i { width: 34px; height: 34px; margin-left: 4px; }
.player .big small { font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.player .msg { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: rgba(255, 255, 255, .8); }
.lights-off { background: #0d0907; }
.lights-off .side, .lights-off .top, .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: .06; pointer-events: none; transition: opacity .3s; }
.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: 16px; padding: 16px; border-radius: 20px; background: var(--paper); box-shadow: var(--shadow); }
.servers .sr { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.servers .sr > b { width: 110px; font-size: 13px; color: var(--ink-2); }
.servers button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--paper); color: var(--ink-2); font-size: 13.5px; font-weight: 700; cursor: pointer; }
.servers button .dot { width: 7px; height: 7px; border-radius: 9px; background: var(--teal); }
.servers button:hover { border-color: var(--ink-2); }
.servers button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.servers button.on .dot { background: var(--sun); }
.tip { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 13px; color: var(--ink-3); }
.tip .i { width: 15px; height: 15px; color: var(--teal); }
.wtitle { margin-top: 24px; }
.wtitle .kick { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-2); }
.wtitle h1 { margin-top: 6px; font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; }
.wtitle .en { margin-top: 4px; color: var(--ink-3); font-size: 14px; }
.wtitle .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.wtitle p { margin: 12px 0 14px; max-width: 800px; }
.panel { padding: 16px; border-radius: 20px; background: var(--paper); box-shadow: var(--shadow); }
.panel + .panel { margin-top: 16px; }
.panel h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 17px; }
.panel h3 .i { color: var(--coral); }
.panel h3 small { margin-left: auto; font-family: var(--font); font-size: 12px; font-weight: 600; }
.wside .eplist { display: flex; flex-direction: column; gap: 6px; max-height: 420px; overflow-y: auto; margin: 0; scrollbar-width: thin; }
.wside .ep { padding: 6px; gap: 10px; border-radius: 12px; box-shadow: none; background: var(--bg); }
.wside .ep:hover { transform: none; background: var(--bg-2); }
.wside .ep .th { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--paper); font-weight: 800; font-size: 14px; color: var(--ink-2); flex: none; }
.wside .ep b { display: block; font-size: 13.5px; }
.wside .ep small { color: var(--ink-3); font-size: 12px; }
.wside .ep.cur { background: var(--coral-soft); }
.wside .ep.cur .th { background: var(--coral); color: #fff; }
.rank { display: grid; gap: 6px; }
.rank a { display: flex; align-items: center; gap: 12px; padding: 6px; border-radius: 12px; }
.rank a:hover { background: var(--bg); }
.rank .no { width: 22px; flex: none; text-align: center; font-weight: 800; color: var(--ink-3); font-size: 13px; }
.rank .pt { width: 40px; height: 60px; border-radius: 8px; overflow: hidden; background: var(--bg-2); flex: none; }
.rank .pt img, .suggest .pt img, .ec .pt img { width: 100%; height: 100%; object-fit: cover; }
.rank b { display: block; font-size: 13.5px; }
.rank small { color: var(--ink-3); font-size: 12px; }

/* ---------- 时间表 ---------- */
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-top: 22px; }
.days button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 4px; border: 0; border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); cursor: pointer; color: var(--ink-3); font-size: 12px; font-weight: 600; }
.days button b { font-family: var(--head); font-size: 24px; color: var(--ink); }
.days button.on { background: var(--coral); color: rgba(255, 255, 255, .85); }
.days button.on b { color: #fff; }
.slots { margin-top: 24px; display: grid; gap: 24px; }
.slot { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 16px; }
.slot time { padding-top: 14px; font-family: var(--head); font-size: 22px; font-weight: 800; color: var(--coral-2); }
.eps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ec { display: flex; gap: 14px; padding: 10px; border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); min-width: 0; }
.ec .pt { position: relative; width: 68px; aspect-ratio: 2 / 3; border-radius: 10px; overflow: hidden; flex: none; background: var(--bg-2); }
.ec .b { display: flex; flex-direction: column; gap: 4px; min-width: 0; justify-content: center; }
.ec b { font-size: 15px; }
.ec .en { font-size: 12px; color: var(--ink-3); }
.ec .tg { display: flex; flex-wrap: wrap; gap: 4px; }
.ec time { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--teal); font-weight: 700; }
.ec time .i { width: 13px; height: 13px; }

/* ---------- 专题 ---------- */
.colls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.coll { display: block; padding: 18px; border-radius: 24px; background: var(--paper); box-shadow: var(--shadow); transition: transform .2s; }
.coll:hover { transform: translateY(-3px); }
.coll .fan { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.coll .fan div { aspect-ratio: 2 / 3; border-radius: 10px; overflow: hidden; background: var(--bg-2); }
.coll .fan div:nth-child(odd) { transform: rotate(-2deg); } .coll .fan div:nth-child(even) { transform: rotate(2deg); }
.coll .fan img { width: 100%; height: 100%; object-fit: cover; }
.coll .fan .mini { display: block; padding: 6px; font-size: 10px; font-weight: 700; }
.coll h3 { margin-top: 16px; font-size: 19px; }
.coll p { margin: 6px 0 10px; color: var(--ink-2); font-size: 14px; }
.coll small { display: inline-flex; align-items: center; gap: 6px; color: var(--coral-2); font-weight: 700; font-size: 13px; }
.coll small .i { width: 14px; height: 14px; }

/* ---------- 搜索、404、单页 ---------- */
.big-search { margin: 30px 0 0; max-width: none; }
.big-search .box { height: 60px; font-size: 17px; }
.big-search input { font-size: 17px; }
.hot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.nf { padding: 60px 0 10px; text-align: center; }
.nf .code { font-family: var(--head); font-size: clamp(100px, 18vw, 190px); font-weight: 800; line-height: 1; letter-spacing: -.06em; color: var(--coral); transform: rotate(-3deg); }
.nf h1 { margin-top: 8px; font-size: 30px; }
.nf p { color: var(--ink-2); margin: 10px auto 24px; max-width: 520px; }
.nf .big-search { margin: 0 auto 22px; }
.prose { max-width: 780px; margin-top: 16px; padding: 30px 34px; border-radius: 24px; background: var(--paper); box-shadow: var(--shadow); }
.prose h1 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; margin-bottom: 16px; }
.prose h3 { margin: 26px 0 8px; font-size: 20px; }
.prose p { color: var(--ink-2); }
.prose a { color: var(--coral-2); font-weight: 600; }
.prose label { display: block; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.prose .panel { box-shadow: none; padding: 0; }
.prose input, .prose select, .prose textarea { border: 1.5px solid var(--line-2) !important; background: var(--bg) !important; color: var(--ink) !important; border-radius: 12px !important; outline: 0; }

/* ---------- 底栏 ---------- */
.foot { margin-top: 70px; padding: 44px var(--pad) 30px; border-top: 1px solid var(--line); background: var(--paper); }
.foot .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot .pitch { margin: 14px 0; color: var(--ink-2); font-size: 14px; max-width: 380px; }
.foot h4 { font-family: var(--font); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14px; color: var(--ink-2); }
.foot a:hover { color: var(--coral-2); }
.foot .kw { display: flex; flex-wrap: wrap; gap: 6px; }
.foot .kw a { padding: 4px 11px; border-radius: 999px; background: var(--bg); font-size: 12px; color: var(--ink-2); }
.foot .copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); }


/* ---------- 手机标签栏、抽屉、提示 ---------- */
.tabbar { display: none; }
.toast { position: fixed; left: 50%; bottom: 30px; z-index: 90; transform: translate(-50%, 20px); padding: 12px 20px; border-radius: 999px; background: var(--ink); 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(31, 26, 23, .45); opacity: 0; transition: .3s; }
.drawer.open .mask { opacity: 1; }
.dside { position: absolute; left: 0; top: 0; bottom: 0; width: min(300px, 86vw); overflow-y: auto; background: var(--paper); transform: translateX(-100%); transition: transform .3s; }
.drawer.open .dside { transform: none; }
.dside .logo { margin: 0 8px 22px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1400px) {
  .quick { display: none; }
}
@media (max-width: 1200px) {
  .row { grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; }
  .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .watch { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .app { grid-template-columns: 1fr; }
  .side { display: none; }
  .menu-btn { display: grid; }
  .top .logo { display: inline-flex; }
  .search { max-width: none; }
  .search kbd { display: none; }
  .bill-track { grid-auto-columns: 92%; }
  .bl { aspect-ratio: 16 / 8; }
  .row { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dh-in { grid-template-columns: 220px minmax(0, 1fr); gap: 28px; }
  .colls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { padding-bottom: 66px; font-size: 14.5px; }
  .top { flex-wrap: wrap; gap: 10px; padding: 10px var(--pad) 12px; }
  .top .logo { font-size: 21px; margin-right: auto; }
  .top > .icon-btn:last-child { order: 2; }
  .top .search { order: 3; flex: 0 0 100%; }
  .search .box { height: 44px; }
  .bill { margin-top: 14px; }
  .bill-track { grid-auto-columns: 100%; }
  .bl { aspect-ratio: 4 / 5; border-radius: 22px; }
  .bl::after { background: linear-gradient(0deg, rgba(20, 14, 10, .92) 10%, rgba(20, 14, 10, .4) 55%, rgba(20, 14, 10, .05) 80%); }
  .bl-txt { left: 18px; right: 18px; bottom: 20px; }
  .bl-txt .acts .btn { flex: 1; height: 44px; padding: 0 14px; }
  .bill-nav .arr { display: none; }
  .sec { margin-top: 34px; }
  .sec-h { align-items: center; }
  .sec-h h2 { font-size: 21px; }
  .sec-h .sub { font-size: 12.5px; }
  .sec-h .arrs { display: none; }
  .sec-h .more { height: 34px; padding: 0 12px; font-size: 12.5px; }
  .row { grid-auto-columns: 40%; gap: 12px; margin-right: calc(-1 * var(--pad)); padding-right: var(--pad); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .pc .ti { font-size: 13.5px; }
  .tl { grid-auto-columns: 74%; margin-right: calc(-1 * var(--pad)); }
  .gtiles { gap: 10px; }
  .gt { min-height: 92px; padding: 14px 16px; border-radius: 18px; }
  .gt b { font-size: 18px; }
  .about { padding: 20px; }
  .filters { padding: 12px; }
  .filters .fr b { width: 56px; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dh-bg { height: 200px; }
  .dh-in { grid-template-columns: 1fr; gap: 18px; padding-top: 70px; }
  .dpost { width: 160px; justify-self: center; }
  .dinfo { text-align: center; }
  .dinfo .crumb, .dinfo .meta, .langs, .dinfo .acts { justify-content: center; }
  .dinfo .ov { font-size: 15px; text-align: left; }
  .facts { text-align: left; }
  .eplist { grid-template-columns: 1fr; }
  .ep .still { width: 116px; }
  .ep .no { display: none; }
  .player { border-radius: 0; margin: 0 calc(-1 * var(--pad)); }
  .servers .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 { padding-top: 0; }
  .eps { grid-template-columns: 1fr; }
  .colls { grid-template-columns: 1fr; }
  .prose { padding: 20px; }
  .foot { margin-top: 50px; }
  .foot .cols > div:first-child { grid-column: 1 / -1; }
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: repeat(5, 1fr); height: 62px; padding-bottom: env(safe-area-inset-bottom); background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: none; font-size: 10.5px; font-weight: 600; color: var(--ink-3); cursor: pointer; }
  .tabbar .on { color: var(--coral-2); }
  .tabbar .i { width: 21px; height: 21px; }
}

/* =====================================================================
   正式版专用（原型里没有）：播放器状态、线路、集分段、时间表、专题页、FAQ、Cookie、广告位等
   ===================================================================== */
.hidden, [hidden] { display: none !important; }
.logo img { height: var(--logo-h); width: auto; }
.top .logo img { height: var(--logo-h-m); }
.btn-sm { height: 38px; padding: 0 15px; font-size: 13.5px; }
.btn-sm .i { width: 16px; height: 16px; }
.btn-soft { background: rgba(255, 255, 255, .92); color: var(--ink); }
.btn-soft:hover { background: #fff; }
.btn[aria-disabled="true"] { cursor: default; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-sm { height: 28px; padding: 0 11px; font-size: 12px; }
.chip-select { height: 32px; padding: 0 30px 0 12px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235b524c' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center; -webkit-appearance: none; appearance: none; font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; flex: none; }
.filters .fr .chip-select { height: 32px; }
.tabs a.tab { display: inline-flex; align-items: center; height: 40px; padding: 0 20px; border-radius: 999px; color: var(--ink-2); font-weight: 700; font-size: 14px; white-space: nowrap; }
.tabs a.tab.on { background: var(--ink); color: #fff; }
.ph1 + .tabs, .ph1 + .filters, .tabs + .filters { margin-top: 20px; }
.ph1 + .tabs + .grid, .tabs + #my-list, .tabs + .grid { margin-top: 22px; }
.filters + .grid, .filters + .empty-state { margin-top: 24px; }
.grid + .pager { margin-top: 30px; }
.search-h { margin-top: 26px; font-size: 26px; }

/* 海报占位（没有海报）：片名 + 年份写在渐变上 */
.ph .ph-t, .ph .ph-y { position: relative; }
.flag.f-new { background: var(--teal); }

/* 详情页 */
.intro-box { margin-top: 30px; padding: 16px 20px; border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); border-left: 4px solid var(--coral); color: var(--ink-2); font-size: 14px; }
.people .person { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 8px; border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); text-align: center; font-size: 13.5px; font-weight: 700; min-width: 0; }
.people .person b { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.people .av { overflow: hidden; }
.people .av img { width: 100%; height: 100%; object-fit: cover; }
.ep .still { overflow: hidden; background: var(--bg-2); }
.ep .still img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ep .still .i { position: relative; }
.ep .eb b > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ep.cur { outline: 2px solid var(--coral); }
.ep-panel .seasons { margin: 0 0 10px; }
.ep-panel .range-minor { margin-top: -2px; }
.ep-panel-body { transition: opacity .15s; }
.epnums a.cur { background: var(--coral); color: #fff; }
.epnums span.soon { display: grid; place-items: center; height: 42px; border-radius: 12px; border: 1.5px dashed var(--line-2); font-weight: 700; font-size: 14px; color: var(--ink-3); }
.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.soon { height: 38px; box-shadow: none; background: var(--bg); }
.wside .epnums a.cur { background: var(--coral); }
.wside .facts { grid-template-columns: 90px 1fr; gap: 6px 10px; margin-top: 12px; font-size: 13px; }
.wside .facts dt { font-size: 11px; }
.wside .facts dd { margin: 0; font-size: 13px; }
.faq details { margin-bottom: 10px; padding: 16px 20px; border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-family: var(--head); font-size: 17px; font-weight: 700; 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(--coral-soft); color: var(--coral-2); font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--ink-2); margin: 12px 0 0; }

/* 播放器 */
.player .player-box { position: absolute; inset: 0; background: #120d0a 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(18, 13, 10, .25), rgba(18, 13, 10, .78)); }
.player-cover .play-circle { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 999px; background: var(--coral); box-shadow: 0 0 0 12px rgba(255, 90, 60, .25); transition: transform .2s; }
.player-cover:hover .play-circle { transform: scale(1.08); }
.player-cover .play-circle .i { width: 34px; height: 34px; margin-left: 4px; }
.player-cover .label { position: absolute; bottom: 22px; left: 16px; right: 16px; text-align: center; font-size: 13.5px; 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(18, 13, 10, .82); color: rgba(255, 255, 255, .75); }
.player-msg b { color: #fff; font-size: 17px; font-family: var(--head); }
.player-msg code { font-size: 12px; word-break: break-all; }
.player-restart { position: absolute; left: 0; right: 0; bottom: 60px; display: flex; justify-content: center; z-index: 2; }
.next-countdown { position: absolute; right: 16px; bottom: 16px; z-index: 3; display: grid; gap: 10px; padding: 14px 16px; border-radius: 18px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow-2); font-size: 14px; }
.servers:empty { display: none; }
.servers button.miss { opacity: .45; text-decoration: line-through; }
.servers button.miss .dot { background: var(--ink-3); }
.server-tip { font-size: 12.5px; color: var(--ink-3); }
.ep-nav { display: flex; gap: 8px; }
.lights-off .ctrl > *:not(#lights) { opacity: .06; }
.lights-off .ad-slot, .lights-off .watch-wrap ~ * { opacity: .04; }
.lights-off { background: #120d0a; }

/* 新集时间表 */
.nt-stats { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.nt-stats span { padding: 12px 18px; border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); color: var(--ink-3); font-size: 12.5px; font-weight: 600; }
.nt-stats b { display: block; font-family: var(--head); font-size: 26px; font-weight: 800; color: var(--coral-2); }
.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: 22px; margin-bottom: 14px; }
.nt-day h2 small { margin-left: 8px; font-family: var(--font); font-size: 13px; font-weight: 600; color: var(--ink-3); }
.nt-day .eps { margin-bottom: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }


/* 专题详情 */
.coll-hero { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: center; margin-top: 12px; padding: 28px; border-radius: 28px; background: var(--paper); box-shadow: var(--shadow); }
.coll-hero .fan-only { padding: 0; box-shadow: none; background: none; }
.coll-hero .fan-only:hover { transform: none; }
.coll-hero h1 { margin: 10px 0 12px; font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.035em; }
.coll-hero .desc { color: var(--ink-2); }
.coll-hero .desc p { margin: 0 0 10px; }
.coll-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; color: var(--ink-3); font-size: 13px; }
.coll-meta b { color: var(--ink); }

/* 我的片单：继续观看进度条 */
.pc .prog { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 5px; border-radius: 9px; background: rgba(255, 255, 255, .6); overflow: hidden; }
.pc .prog i { display: block; height: 100%; background: var(--coral); }

/* 回到顶部、Cookie 提示、广告位、底栏声明 */
.totop { position: fixed; right: 18px; bottom: 24px; z-index: 45; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: var(--shadow-2); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s; }
.totop.show { opacity: 1; pointer-events: auto; }
.cookie-banner { position: fixed; left: 16px; right: 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: var(--paper); box-shadow: var(--shadow-2); font-size: 13px; color: var(--ink-2); }
.cookie-banner a { color: var(--coral-2); 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-right: 4px; color: #01b4e4; }

@media (max-width: 1200px) {
  .nt-day .eps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .coll-hero { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .nt-day .eps { grid-template-columns: minmax(0, 1fr); }
  .coll-hero { padding: 18px; gap: 20px; }
  .faq summary { font-size: 15.5px; }
  .totop { bottom: 80px; }
  .cookie-banner { bottom: 74px; flex-wrap: wrap; }
  .player-cover .play-circle { width: 70px; height: 70px; }
  .next-countdown { left: 10px; right: 10px; bottom: 10px; }
  .wside .facts { grid-template-columns: 80px 1fr; }
}
