/* ==========================================
   tp53_dark_yellow — 视觉参考：深灰底＋#333 圆角面板＋金色字＋橙色选中
   底 #2b2a2a ＋ 面板 #333 ＋ 按钮／未选 #444；主文字金 #ffe28a、选中橙 #ff5f00、弱字 #666；
   面板、海报圆角 5，按钮圆角 3；字体 Helvetica／Arial／微软雅黑、字重一律 400。
   数值取自参考站配色档与 getComputedStyle 实测（1440 / 375），量测记录见 template/log/tp53_dark_yellow__THEME_SPEC.md。
   版型：纯顶栏（80，横排导览＋中间搜索框）；每个区块是一块 #333 圆角面板；≤1023 导览收进右侧抽屉。
   架构、资料区块承袭 tp49_dark_red。组件里不写死色码，全部走下面的变量。
   ========================================== */
:root {
  --bg-base:       #2b2a2a;   /* 页底 */
  --bg-deep:       #262525;   /* 比页底再深一点：页脚分隔、输入框 */
  --bg-dock:       #333333;   /* 抽屉 */
  --bg-topbar:     #333333;   /* 顶栏实色 */
  --bg-card:       #444444;   /* 按钮、集数钮、分页钮、标签 */
  --bg-elevated:   #3a3939;   /* 图片占位 */
  --bg-panel:      #333333;   /* 区块面板 */
  --bg-input:      #2b2a2a;
  --bg-drop:       #333333;   /* 下拉／弹窗 */
  --bg-glass:      rgba(255, 255, 255, 0.04);

  --accent:        #ffe28a;   /* 主色金：按钮底、当前页、当前集、角标 */
  --accent-end:    #e0b040;
  --accent-grad:   #ffe28a;
  --accent-hover:  #ffdd7b;
  --on-accent:     #000000;   /* 压在金色上的字 */
  --accent-dot:    #ffe28a;
  --accent-ico:    #ffe28a;
  --accent-light:  rgba(255, 226, 138, 0.10);
  --accent-soft:   rgba(255, 226, 138, 0.18);
  --accent-line:   rgba(255, 226, 138, 0.55);
  --accent-glow:   rgba(255, 226, 138, 0.20);

  --active:        #ff5f00;   /* 选中态橙：导览当前、tab 当前、筛选当前、热度、结果数 */
  --nav-active:    #ff5f00;
  --link-hover:    #ff5f00;

  --btn-grad:      #444444;   /* 次要钮 */
  --btn-text:      #ffe28a;
  --btn-danger:    #ff0d29;
  --btn-play:      #ffe28a;   /* 详情页「立即播放」：金底黑字 */
  --btn-verify:    linear-gradient(135deg, #f3ce6d 0%, #e0b040 100%);   /* 参考站验证码送出钮 */

  --accent-2:      #ff920b;
  --accent-2-alt:  #ffc600;
  --hot:           #ff5f00;   /* 榜单热度数字 */
  --badge:         #ffe28a;
  --badge-douban:  #ffe28a;
  --badge-state:   #ffe28a;

  --rank-1:        #ff0d29;   /* 参考站名次方块：1 红、2 橙、3 黄、其余灰（白字） */
  --rank-2:        #ff920b;
  --rank-3:        #ffc600;
  --rank-num:      #666666;

  --text-1:        #ffe28a;   /* 主文字金（连结、片名、标题都是这个色） */
  --text-2:        #e6cf88;   /* 内文长段落：金色压一点亮度，不那么刺眼 */
  --text-3:        #b3b3b3;   /* 次要说明。原 #888（对比 3.6:1），2026-11-09 弱字提到 #999 后跟着提亮，维持「次要说明 > 弱字 > 停用」的明暗顺序（约 6:1） */
  --text-dim:      #999999;   /* 标签「主演：」、卡片副行。参考站是 #666，在 #333 面板上对比只有 2.1:1 太淡，2026-11-09 使用者要求提亮（4.4:1） */
  --text-disabled: #666666;   /* 停用的分页钮、上／下集：刻意比弱字暗，才看得出点不了 */
  --text-link:     #ffe28a;
  --text-nav:      #ffe28a;
  --text-title:    #ffe28a;
  --text-input:    #ffe28a;

  --fill-1:        rgba(255, 255, 255, 0.04);
  --fill-2:        #444444;

  --border:        #444444;
  --border-2:      #4d4d4d;
  --border-row:    #3d3c3c;

  --score-hi:      #ffe28a;
  --score-mid:     #888888;

  --shadow-header: 0 1px 4px rgba(0, 0, 0, 0.1);   /* 参考站顶栏 */
  --shadow-thumb:  none;
  --shadow-hover:  0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-drop:   0 20px 60px rgba(0, 0, 0, 0.55), 0 6px 18px rgba(0, 0, 0, 0.35);
  --shadow-panel:  none;

  /* 播放区卡片 */
  --player-panel:  var(--bg-panel);
  --player-hover:  rgba(255, 255, 255, 0.05);
  --player-scroll: #4d4d4d;
  --scroll-thumb:  #555555;   /* 捲动条拇指（全站，见 a{} 下方「捲动条」） */
  --scroll-thumb-hover: #6a6a6a;

  --fab-bg:        #333333;
  --fab-color:     #ffe28a;
  --fab-top-bg:    #333333;

  --header-position: fixed;

  /* 参考站：Helvetica → Arial → 微软雅黑；没有网络字体。变量名沿用底稿，避免逐条改规则 */
  --font-sans:     Helvetica, Arial, "PingFang SC", "Microsoft Yahei", sans-serif;
  --font-mono:     var(--font-sans);
  --font-serif:    var(--font-sans);
  --font-num:      var(--font-sans);

  --topbar-h:      64px;   /* 参考站 80；2026-11-09 使用者要求整体缩小（logo、导览、搜索框一起缩一级） */
  --dock-w:        0px;
  --tabbar-h:      0px;
  /* 参考站版心 1170；两侧留白 --page-pad */
  --page-pad:      20px;
  --cell:          10px;
  --hdr-x:         20px;
  --page-pad-r:    var(--page-pad);
  --panel-pad:     15px 20px;  /* 面板内距（参考站 padding 15，左右多 5 给卡片呼吸） */
  --panel-pad-x:   20px;

  --fab-right:     24px;
  --fab-bottom:    40px;
  --fab-w:         46px;      /* 参考站浮钮 46×46 */

  --section-gap:   24px;      /* 模块间距统一 24（甲方 decisions 全局基线；参考站是 20，以甲方为准） */

  --gap:           16px;
  --grid-gap-y:    20px;
  --grid-gap-x:    16px;

  --radius:        5px;       /* 参考站面板／海报 5 */
  --radius-sm:     3px;       /* 按钮、集数钮、分页 */
  --radius-btn:    3px;
  --radius-lg:     5px;
  --radius-pill:   3px;       /* 参考站没有膠囊（只有顶栏搜索框是圆的） */

  --content-max:   1170px;
  /* 满视窗宽的轮播里，内容（片名、指示器、分类页面包屑）要对齐版心左右缘：
     --hero-edge＝版心外缘离视窗边的距离（窄于版心时退回 --page-pad），--hero-gutter 再加面板内距＝底下面板文字的左缘。
     100% 在「使用的地方」才解析（轮播／面包屑的包含块都是整页宽），所以这里不能先算成数字 */
  --hero-edge:     max(var(--page-pad), calc((100% - var(--content-max)) / 2));
  --hero-gutter:   calc(var(--hero-edge) + var(--panel-pad-x));
  /* 疊在图片／模糊海报上的次要文字：原本给 #333 面板用的灰（#666／#888／#555）在亮的海报上会看不清，
     这类位置一律用半透明白，跟着底下的图深浅走（2026-11-09 使用者回报详情页后统一） */
  --on-img-dim:    rgba(255, 255, 255, 0.6);    /* 标签、英文名、提示、kicker */
  --on-img-soft:   rgba(255, 255, 255, 0.7);    /* 面包屑 */
  --on-img-faint:  rgba(255, 255, 255, 0.28);   /* 空星 */
  --on-img-line:   rgba(255, 255, 255, 0.16);   /* 分隔线 */

  --poster-ratio:  2 / 3;     /* 参考站海报 170×255 */
  --card-meta-h:   46px;      /* 片名 14/18 ＋ 副行 12/16 ＋ 上距 8＋4 */
}

/* ≤1023：手持版——导览收进右侧抽屉，顶栏 60 */
@media (max-width: 1023px) {
  :root {
    --topbar-h: 52px;   /* 原 60，2026-11-09 一起缩 */
    --fab-bottom: 24px;
  }
}
@media (max-width: 767px) {
  :root {
    --cell: 6px;
    --page-pad: 8px;    /* 参考站手机面板几乎贴边 */
    --hdr-x: 12px;
    --panel-pad: 12px 10px;
    --panel-pad-x: 10px;
    --grid-gap-y: 12px;
    --grid-gap-x: 8px;
    --gap: 10px;
    --section-gap: 12px;   /* 手机面板几乎贴边，间距收小但仍看得出是两块（甲方基线没规定手机） */
    --fab-right: 10px;
    --fab-w: 40px;
    --card-meta-h: 40px;
  }
}


*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background-color: var(--bg-base);
  color: var(--text-1);
  scroll-behavior: smooth;
}

/* 参考站：系统黑体（-apple-system → PingFang SC → Microsoft YaHei）、内文 15px */
body {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;

  padding-top: 0;
}

a { text-decoration: none; color: inherit; }

/* 捲动条：全站一律深色（2026-11-09 使用者回报「看过」下拉里出现白底捲动条）。
   页面本身的捲动条轨道用页底色；元素内的（下拉、清单、抽屉）轨道透明、拇指 #555。
   Chrome／Firefox 吃 scrollbar-color；Safari 还不支援，靠下面的 ::-webkit-scrollbar。
   个别刻意隐藏的横滑列（scrollbar-width:none ＋ ::-webkit-scrollbar{display:none}）选择器更具体，不受影响 */
html { scrollbar-color: var(--scroll-thumb) var(--bg-base); }
* { scrollbar-color: var(--scroll-thumb) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; background: transparent; }
::-webkit-scrollbar-thumb { border-radius: 4px; background: var(--scroll-thumb); }
::-webkit-scrollbar-thumb:hover { background: var(--scroll-thumb-hover); }
::-webkit-scrollbar-corner { background: transparent; }
/* 参考站标题一律衬线（Noto Serif SC）；组件里另有字级 */
h1, h2 { font-family: var(--font-serif); }
img { display: block; background: url("../img/load.gif") no-repeat center/cover, var(--bg-elevated); }

img.is-nopic {
  object-fit: contain !important;
  padding: 12%;
  background: var(--bg-elevated);
}
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
ul, ol { list-style: none; }

.spi,
.episode-more-trigger,
.comment_reply,
.comment_report,
.cmt-page-btn,
.tip-link,
.ptb-btn,
.di-btn {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 0;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
  display: inline;
}

.art-breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.art-breadcrumb li {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  /* li 的 min-width:0 管不到里面的 <a>（它自己也是 flex 项目，最窄只能缩到最长那个字）。
     下载页片名在中间层，不含空格的长英文片名在 320 宽撑出 7px（测试机 9698，2026-10-29）；会继承到 a */
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  .art-content { min-width: 0; width: 100%; }
}

input[type="search"] {
  -webkit-appearance: none;
  appearance: none;
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button {
  -webkit-appearance: none;
}

/* 视觉隐藏、保留给读屏。加 !important：.sr-only 常挂在已有样式的元素上（.sf-label 的 min-width、.dmg-label 的行内框），
   页面 CSS 在 main.css 之后载入，同特异性会把它盖掉 */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  min-width: 0 !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.mac-icon {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;

  width: 1em;
  height: 1em;
  fill: currentColor;
  flex-shrink: 0;
}

.text-overflow {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.text-overflow-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* ========== 页面骨架：顶栏 fixed；内容让出 --topbar-h ========== */
.page-shell,
.main-area {
  min-height: 100vh;
  background-color: var(--bg-base);
}
.main-area {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

a:hover { color: var(--link-hover); }

/* 衬线标题与等宽小标（参考站 h2.serif ＋ 区块上方等宽黄色英文小标） */
.u-serif { font-family: var(--font-serif); }
.u-mono  { font-family: var(--font-mono); }

.brand-logo-img {
  background: none; /* logo 不套全局 load.gif 占位背景 */
  height: 34px;   /* 原 44，2026-11-09 使用者要求调小 */
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

/* ========== 顶栏（参考站：80 高，tp53 缩成 64／手机 52、fixed、#333、阴影 0 1px 4px rgba(0,0,0,.1)；内容限在版心 1170） ========== */
.topbar {
  position: var(--header-position);
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  background-color: var(--bg-topbar);
  box-shadow: var(--shadow-header);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
/* 首页／分类页（页面开头是满宽轮播）：顶栏透明叠在轮播上，滑过轮播下缘才变回 #333（2026-11-09 使用者要求）。
   用 :has 判断而不是等 JS 加 class——第一次绘制就是透明，不会先闪一下实色；
   header.js 在顶栏底边碰到轮播下缘时加 .is-past-hero。轮播那边要垫到顶栏底下，见 .hero-container 的 --hero-top */
body:has(.page-content > .hero-container) .topbar:not(.is-past-hero) {
  background-color: transparent;
  box-shadow: none;
}

/* 内容照版心置中：logo → 导览 → 搜索框（中间偏右）→ 「看过」 */
.topbar-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
  width: 100%;
  max-width: calc(var(--content-max) + var(--page-pad) * 2);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

.tb-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 100%;
}

/* ---------- 横排导览（参考站：16/400、行高 80、左右 padding 10；未选金字，选中只变橙字、没有底块）
   ⚠️ 横滑列的 li 要 flex-shrink:0，不可写 min-width:0（会被压扁到相邻项重叠，§17.58） ---------- */
.tb-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  height: 100%;
}
.tb-nav-list {
  display: flex;
  align-items: stretch;
  min-width: 0;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.tb-nav-list::-webkit-scrollbar { display: none; }
.tb-nav-list > li { display: flex; flex-shrink: 0; }
.tb-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 15px;
  font-weight: 400;
  color: var(--text-nav);
  white-space: nowrap;
  transition: color 0.2s;
}
.tb-nav-item:hover,
.tb-nav-item.is-active { color: var(--nav-active); }
/* 还能往哪边滑就在哪边渐隐（header.js 依 scrollLeft 切 .can-scroll-left／-right） */
.tb-nav.can-scroll-right .tb-nav-list {
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent 100%);
          mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent 100%);
}
.tb-nav.can-scroll-left .tb-nav-list {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 36px);
          mask-image: linear-gradient(to right, transparent 0, #000 36px);
}
.tb-nav.can-scroll-left.can-scroll-right .tb-nav-list {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  height: 100%;
  margin-left: auto;
}

/* 内嵌搜索框（参考站：240×36 膠囊、页底色、金色放大镜在右） */
.tb-search {
  position: relative;
  width: 240px;
  height: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px 0 16px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: var(--bg-input);
  color: var(--text-1);
  transition: border-color 0.2s;
}
.tb-search:focus-within { border-color: var(--accent-line); }
.tb-search-ico { display: none; }
.tb-search-input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: none;
  background: none;
  color: var(--text-input);
  font-size: 13px;
  font-family: inherit;
}
.tb-search-input::placeholder { color: var(--text-dim); }
/* 送出钮：放大镜图示（文字「搜索」留给读屏） */
.tb-search-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0;
  color: var(--text-1);
  transition: color 0.2s;
}
.tb-search-btn::before {
  content: "";
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M229.66 218.34l-50.07-50.06a88.11 88.11 0 1 0-11.31 11.31l50.06 50.07a8 8 0 0 0 11.32-11.32ZM40 112a72 72 0 1 1 72 72 72.08 72.08 0 0 1-72-72Z'/%3E%3C/svg%3E") no-repeat center/contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M229.66 218.34l-50.07-50.06a88.11 88.11 0 1 0-11.31 11.31l50.06 50.07a8 8 0 0 0 11.32-11.32ZM40 112a72 72 0 1 1 72 72 72.08 72.08 0 0 1-72-72Z'/%3E%3C/svg%3E") no-repeat center/contain;
}
.tb-search-btn:hover { color: var(--active); }
.tb-search .search-drop { top: calc(100% + 8px); }

/* 观看记录（参考站「看过 ▾」：14px 金字、图示在左）；搜索钮只在 ≤1023 出现 */
.tb-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 40px;
  height: 100%;
  padding: 0 6px;
  line-height: 1;
  font-size: 14px;
  color: var(--text-1);
  transition: color 0.2s;
}
.tb-action .mac-icon { font-size: 18px; }
.tb-action-label { font-size: 14px; white-space: nowrap; }
.tb-action:hover,
.tb-action.is-active,
.tb-action.is-open { color: var(--active); }
#searchToggle { display: none; }
.tb-menu-btn { display: none; }

/* ---------- 搜索弹层（只有手机用：≤767 顶栏没有输入框，点放大镜从顶部展开） ---------- */
.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1003;
  background: rgba(2, 4, 10, 0.7);
  align-items: flex-start;
  justify-content: center;
}
.search-overlay.is-open { display: flex; }

.search-overlay-inner {
  width: 100%;
  max-width: 640px;
  margin-top: 90px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-drop);
  box-shadow: var(--shadow-drop);
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 0 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: var(--bg-input);
}
.search-bar:focus-within { border-color: var(--accent-line); }
.search-bar-icon { flex-shrink: 0; font-size: 16px; color: var(--text-3); }

#searchInput {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  color: var(--text-input);
  font-size: 16px;
}
#searchInput::placeholder { color: var(--text-dim); }

.search-submit-btn {
  flex-shrink: 0;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-btn);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 14px;
  font-weight: 400;
}
.search-submit-btn:hover { background: var(--accent-hover); }

.search-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  font-size: 18px;
  color: var(--text-2);
}
.search-close-btn:hover { color: var(--text-1); }

/* ========== 内容区：顶栏 fixed，内容一律让出顶栏高度 ========== */
.page-content {
  flex: 1;
  padding-top: var(--topbar-h);
}

/* ========== 首页／分类页 Hero（单张、满视窗宽、贴着顶栏，2026-11-09 使用者要求；原本是参考站的版心宽 5:2、圆角 5、上距 20）。
   高度：5:2 但最高 468（＝原本版心 1170 的 5:2），宽萤幕只变宽不变高、首屏不会整个被轮播吃掉；
   内容对齐版心（--hero-gutter，见 :root），不贴视窗边。宽度用父层的 100%，不用 100vw（有捲轴时会溢出）。
   左下叠片名 16 ＋ 上映／备注 12 ＋ 主演 12；右下一排细长条指示器；左右深色小方块箭头。
   疊层：.hero-bg（z0）→ 渐层 ::after＋整张卡连结 .hero-link（z1）→ 文字 .hero-info（z2，pointer-events:none，只有里面的连结可点）→ 箭头、指示器（z3） ========== */
.hero-container {
  --hero-top: 0px;   /* 轮播顶端被顶栏盖住的高度：页面开头的轮播会垫到透明顶栏底下，内容（海报卡、箭头）要让开这一段 */
  margin: 0 0 var(--section-gap);
}
.page-content:has(> .hero-container) { padding-top: 0; }
.page-content > .hero-container { --hero-top: var(--topbar-h); }
/* 多出来的那段高度用 padding 加在 .hero-slides 上（content-box：5:2 与 468 上限只算顶栏以下，看得到的轮播跟原本一样大） */
.page-content > .hero-container .hero-slides {
  box-sizing: content-box;
  padding-top: var(--hero-top);
}
/* 透明顶栏底下垫一道黑色渐层，白字／金字导览在亮的剧照上也看得清楚；不吃点击 */
.page-content > .hero-container .hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  height: calc(var(--hero-top) + 40px);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.25) 60%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-panel);
}
.hero-stage { position: relative; }
.hero-slides {
  position: relative;
  width: 100%;   /* 一定要写：aspect-ratio＋max-height 会被浏览器反推成 max-width 1170，轮播内层卡在 1170 靠左（1440 实测） */
  aspect-ratio: 5 / 2;
  max-height: calc(var(--content-max) * 2 / 5);
  touch-action: pan-y;
}
.hero-slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;   /* §17.64：关闭时淡出完才隐藏 */
}
.hero-slide.is-active {
  z-index: 1;
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}
/* 背景：横幅图 vod_pic_slide 铺满；load.gif 垫在下层（§11.1 做法 B） */
.hero-bg {
  position: absolute;
  inset: 0;
  background-color: var(--bg-elevated);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
/* 没有横幅只有直式海报（.is-poster）：背景是同一张海报放大、模糊、压暗铺满（不再用 contain 置中——两侧会露出垫在下层被放大的 load.gif），
   清楚的直版海报 .hero-card 靠右整高；资讯在左。整轮都是直版时 .hero--poster 再加 Coverflow（见下方） */
.hero-slide.is-poster .hero-bg {
  inset: -40px;
  background-size: cover;
  filter: blur(28px) brightness(0.42) saturate(1.2);
}
.hero-slide.is-poster::after {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 45%, rgba(0, 0, 0, 0) 70%);
}
.hero-card {
  position: absolute;
  top: calc(var(--hero-top) + 24px);
  bottom: 36px;   /* 底下让出右下的指示器（细长条 6～30） */
  left: 72%;
  z-index: 3;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elevated) url("../img/load.gif") no-repeat center/cover;
  box-shadow: 0 0 0 2px var(--accent), 0 18px 40px rgba(0, 0, 0, 0.55);
  transform: translateX(-50%);
  transition: left 0.5s ease, transform 0.5s ease, filter 0.5s ease, opacity 0.5s ease, box-shadow 0.5s ease;
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
/* 当前这张的卡不吃点击，点下去落到底下铺满的详情连结 .hero-link（§17.36 整卡可点）；两侧的卡才接点击（切过去） */
.hero-card { pointer-events: none; }
.hero--poster .hero-slide.is-prev .hero-card,
.hero--poster .hero-slide.is-next .hero-card { pointer-events: auto; }
.hero-slide.is-poster .hero-info { right: 53%; bottom: 24px; }   /* 右缘要在上一部海报（57% 处、缩 .78）左缘之前，1170 宽时约 550 vs 558 */
.hero-slide.is-poster .hero-title { font-size: 26px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hero-blurb {
  margin-top: 8px;
  font-size: 13px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.75);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* ---------- 直版 Coverflow（.hero--poster：这一轮全部是直版海报，例如短剧）----------
   上一部／下一部的 slide 也要看得到（只露海报卡），所以 slide 不再各自成一个疊层：
   背景、渐层、资讯、整卡连结只留当前这张；卡片 z 3（当前）／2（两侧）都在 .hero-slides 这一层比较，
   两侧卡片盖在当前张的整卡连结（z 1）上面——点两侧＝切过去（hero.js capture 阶段拦下）。 */
.hero--poster .hero-slides { perspective: 1400px; }
.hero--poster .hero-slide {
  z-index: auto;
  opacity: 1;
  visibility: hidden;
  transition: visibility 0s linear 0.5s;
}
.hero--poster .hero-slide.is-active,
.hero--poster .hero-slide.is-prev,
.hero--poster .hero-slide.is-next { visibility: visible; transition-delay: 0s; }
.hero--poster .hero-slide .hero-bg,
.hero--poster .hero-slide::after,
.hero--poster .hero-slide .hero-info,
.hero--poster .hero-slide .hero-link { opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0s linear 0.5s; }
.hero--poster .hero-slide.is-active .hero-bg,
.hero--poster .hero-slide.is-active::after,
.hero--poster .hero-slide.is-active .hero-info,
.hero--poster .hero-slide.is-active .hero-link { opacity: 1; visibility: visible; transition-delay: 0s; }
.hero--poster .hero-slide.is-active .hero-bg { z-index: 0; }
.hero--poster .hero-card { opacity: 0; transform: translateX(-50%) scale(0.6); }
.hero--poster .hero-slide.is-active .hero-card { opacity: 1; z-index: 3; transform: translateX(-50%); }
.hero--poster .hero-slide.is-prev .hero-card,
.hero--poster .hero-slide.is-next .hero-card {
  opacity: 1;
  z-index: 2;
  cursor: pointer;
  filter: brightness(0.45);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}
.hero--poster .hero-slide.is-prev .hero-card { left: 57%; transform: translateX(-50%) scale(0.78) rotateY(28deg); }
.hero--poster .hero-slide.is-next .hero-card { left: 87%; transform: translateX(-50%) scale(0.78) rotateY(-28deg); }
@media (hover: hover) {
  .hero--poster .hero-slide.is-prev .hero-card:hover,
  .hero--poster .hero-slide.is-next .hero-card:hover { filter: brightness(0.7); }
}
.hero--poster .hero-arrow { top: calc(50% + var(--hero-top) / 2); }
@media (prefers-reduced-motion: reduce) {
  .hero-card { transition: none; }
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.75) 100%);
}
/* 整张卡铺满的详情连结（手机按钮收起后仍点得进去，§17.36） */
.hero-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-info {
  position: absolute;
  left: var(--hero-gutter);
  right: 34%;
  bottom: 16px;
  z-index: 2;
  pointer-events: none;
  color: #fff;
}
.hero-info a { pointer-events: auto; }
.hero-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.hero-title a { color: inherit; }
.hero-title a:hover { color: var(--active); }
.hero-meta,
.hero-desc {
  font-size: 12px;
  line-height: 18px;
  color: rgba(255, 255, 255, 0.9);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.hero-play,
.hero-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 16px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
}
.hero-play { background: var(--accent); color: var(--on-accent); }
.hero-play:hover { background: var(--accent-hover); color: var(--on-accent); }
.hero-more { background: rgba(0, 0, 0, 0.45); color: #fff; }
.hero-more:hover { background: rgba(0, 0, 0, 0.65); color: var(--active); }

/* 左右箭头：参考站深色小方块（贴左右缘内 16、垂直置中） */
.hero-arrow {
  position: absolute;
  top: calc(50% + var(--hero-top) / 2);   /* 顶栏盖住的那段不算，在看得到的部分垂直置中 */
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 40px;
  margin-top: -20px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 16px;
  opacity: 0.85;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}
.hero-arrow:hover { opacity: 1; background: rgba(0, 0, 0, 0.7); color: var(--active); }
.hero-arrow--prev { left: max(16px, calc(var(--hero-edge) - 48px)); }   /* 宽萤幕放在版心外侧，不压到片名 */
.hero-arrow--next { right: max(16px, calc(var(--hero-edge) - 48px)); }

/* 指示器：右下一排细长条（未选白色半透明、当前金色）；按钮本身 24 高给手指点，条只画 3px */
.hero-thumbs {
  position: absolute;
  right: var(--hero-gutter);
  bottom: 6px;
  z-index: 3;
  display: flex;
  gap: 4px;
}
.hero-thumbs > li { display: flex; }
.hero-thumb {
  position: relative;
  width: 28px;
  height: 24px;
}
.hero-thumb::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  margin-top: -1.5px;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.2s;
}
.hero-thumb:hover::before { background: rgba(255, 255, 255, 0.7); }
.hero-thumb.is-active::before { background: var(--accent); }
/* 本轮小卡的内容（缩图／片名／进度线）只在 ≥1200 横幅版出现；其他情况按钮本身画细长条 */
.hero-thumb-pic,
.hero-thumb-name,
.hero-thumb-bar { display: none; }

/* ---------- 本轮小卡（tp53 自己设计，2026-11-06 使用者选定；≥1200、横幅版）----------
   1024–1199 轮播只剩约 970 宽，左侧资讯栏会挤到 300 出头，所以平板以下都收成细长条（使用者 2026-11-06：小尺寸不一定要显示）。
   右下一排 16:9 小卡 80×45、间距 8，底部跟「立即播放」对齐；未选压暗 .55，滑过变亮并在上方浮出片名；
   当前这张放大 1.1＋2px 金框，底下金色细线 2px 在一轮时间（--hero-interval，hero.js 写入）内跑满，
   暂停（游标停在小卡／箭头上）时 .hero.is-paused 停住动画。左下资讯栏右缘让出这排的宽度，不会叠在一起 */
@keyframes hero-thumb-progress {
  from { width: 0; }
  to { width: 100%; }
}
@media (min-width: 1200px) {
  .hero:not(.hero--poster) .hero-info { right: calc(var(--hero-gutter) + 620px); }   /* 7 张 × 80 ＋ 6 × 8 ＋ 间隔 12 */
  /* 混合轮播（有的有横幅、有的只有直版，例如电视剧）里直版那几张的海报卡：底部抬到小卡列上方，不被压住（1024 实测） */
  .hero:not(.hero--poster) .hero-slide.is-poster .hero-card { bottom: 96px; }
  .hero:not(.hero--poster) .hero-thumbs {
    right: var(--hero-gutter);
    bottom: 16px;
    gap: 8px;
    align-items: flex-end;
  }
  .hero:not(.hero--poster) .hero-thumb {
    display: flex;
    flex-direction: column;
    width: 80px;
    height: auto;
  }
  .hero:not(.hero--poster) .hero-thumb::before { display: none; }
  .hero:not(.hero--poster) .hero-thumb-pic {
    display: block;
    width: 80px;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-elevated) url("../img/load.gif") no-repeat center/cover;
    filter: brightness(0.55);
    transform-origin: 50% 100%;
    transition: filter 0.25s, transform 0.25s, box-shadow 0.25s;
  }
  .hero:not(.hero--poster) .hero-thumb-pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
  .hero:not(.hero--poster) .hero-thumb:hover .hero-thumb-pic,
  .hero:not(.hero--poster) .hero-thumb:focus-visible .hero-thumb-pic { filter: brightness(0.9); }
  .hero:not(.hero--poster) .hero-thumb.is-active .hero-thumb-pic {
    filter: none;
    transform: scale(1.1);
    box-shadow: 0 0 0 2px var(--accent), 0 6px 14px rgba(0, 0, 0, 0.5);
  }
  .hero:not(.hero--poster) .hero-thumb-name {
    display: block;
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    max-width: 160px;
    padding: 0 8px;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.78);
    font-size: 12px;
    line-height: 22px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s, visibility 0s linear 0.15s;   /* §17.64：显示时立刻、收起时淡出完才隐藏 */
  }
  .hero:not(.hero--poster) .hero-thumb:hover .hero-thumb-name,
  .hero:not(.hero--poster) .hero-thumb:focus-visible .hero-thumb-name { opacity: 1; visibility: visible; transition-delay: 0s; }
  .hero:not(.hero--poster) .hero-thumb-bar {
    display: block;
    height: 2px;
    margin-top: 8px;   /* 当前这张放大 1.1 后往上长，细线不会被压到 */
    border-radius: 1px;
    background: rgba(255, 255, 255, 0.22);
    overflow: hidden;
    opacity: 0;
  }
  .hero:not(.hero--poster) .hero-thumb.is-active .hero-thumb-bar { opacity: 1; }
  .hero-thumb-bar i { display: block; width: 0; height: 100%; background: var(--accent); }
  .hero:not(.hero--poster) .hero-thumb.is-active .hero-thumb-bar i { animation: hero-thumb-progress var(--hero-interval, 6000ms) linear forwards; }
  .hero.is-paused .hero-thumb.is-active .hero-thumb-bar i { animation-play-state: paused; }
}

/* ≤1023：轮播变矮，垂直置中的箭头会压到左下的片名（768 实测）——收起箭头，留指示器与左右滑动换片 */
@media (max-width: 1023px) {
  .hero-info { right: var(--hero-gutter); bottom: 30px; }   /* 置中的细长条指示器占底部 0～24，资讯栏让开 */
  .hero-thumbs { right: 50%; transform: translateX(50%); bottom: 0; }
  .hero-arrow { display: none; }
}
/* 手机：参考站满宽 160 高、只留片名＋上映＋主演；按钮收起，整张卡是详情连结 */
@media (max-width: 767px) {
  /* 手机：直版只留当前这张卡（两侧露出会挤），卡片靠右、资讯在左；简介收起 */
  .hero--poster .hero-slide.is-prev .hero-card,
  .hero--poster .hero-slide.is-next .hero-card { opacity: 0; pointer-events: none; }
  .hero-card { top: calc(var(--hero-top) + 12px); bottom: 34px; left: auto; right: var(--hero-gutter); transform: none; box-shadow: 0 0 0 1px var(--accent), 0 8px 20px rgba(0, 0, 0, 0.5); }
  .hero--poster .hero-slide.is-active .hero-card { transform: none; }
  .hero-slide.is-poster .hero-info { right: 38%; bottom: 30px; }
  .hero-slide.is-poster .hero-title { font-size: 16px; }
  .hero-blurb { display: none; }
  .hero-slides { aspect-ratio: 16 / 7.2; }
  .hero-info { left: var(--hero-gutter); right: var(--hero-gutter); bottom: 30px; }   /* 手机指示器按钮 32 高、bottom -4，占到 28 */
  .hero-title { font-size: 15px; margin-bottom: 2px; }
  .hero-actions { display: none; }
  /* 指示器：按钮本身 32×32 给手指点（稽核门槛 32），画出来的条仍是 14 宽 */
  .hero-thumbs { gap: 0; bottom: -4px; }
  .hero-thumb { width: 32px; height: 32px; }
  .hero-thumb::before { left: 9px; right: 9px; }
}

/* ========== 分类入口（首页 .quick-nav，tp53 自己设计，2026-11-06）==========
   跟轮播同一套视觉语言：每个分类一张 64 高的小横幅卡（#444 底、圆角 5），
   底图 .qn-bg 是该分类本周最热那部的剧照，压暗＋轻微模糊（同直版轮播的背景处理）；
   左侧 36 圆形金色图示圈、右侧分类名 15 金字＋「热播 · 片名」12 灰字一行。
   hover／键盘聚焦：底图变亮放大、卡片 2px 金框（= 轮播当前小卡）、图示圈填满金底黑图示、
   底部 2px 金线由左跑满（= 轮播小卡进度线）、分类名变橙（全站 hover 色）。
   ≥1024 一排等分（六类在 1024 约 154、1170 约 185 宽），类别多到放不下时每张最少 148、整列横滑（header.js 的渐隐提示）；
   768–1023 改 3 栏（横幅卡不变）；≤767 改 3 栏宫格，图示在上、名字在下，不出现热播片名。 */
.quick-nav {
  width: calc(100% - var(--page-pad) * 2);
  max-width: var(--content-max);
  margin: 0 auto var(--section-gap);
}
.quick-nav-list {
  display: flex;
  gap: 12px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 3px;            /* 金框画在卡片外缘（box-shadow），横滑容器会裁切，留 3px 不被裁掉 */
  margin: -3px;
}
.quick-nav-list::-webkit-scrollbar { display: none; }
.quick-nav-list > li { display: flex; flex: 1 0 148px; min-width: 148px; }
.quick-nav-item {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 64px;
  padding: 0 14px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-card);
  color: var(--text-1);
  transition: box-shadow 0.25s;
}
/* 底图：剧照压暗。左边再叠一层面板色渐层，文字一定压在深底上 */
.qn-bg {
  position: absolute;
  inset: -6px;
  z-index: -2;
  background: var(--bg-card);
}
.qn-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: blur(2px) brightness(0.42) saturate(1.1);
  transform: scale(1.04);
  transition: filter 0.35s, transform 0.5s;
}
.quick-nav-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(43, 42, 42, 0.92) 0%, rgba(43, 42, 42, 0.55) 55%, rgba(43, 42, 42, 0.15) 100%);
  pointer-events: none;
}
.qn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 226, 138, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 226, 138, 0.35);
  color: var(--accent);
  font-size: 18px;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}
.qn-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.qn-name {
  font-size: 15px;
  line-height: 22px;
  color: var(--text-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}
.qn-hot {
  font-size: 12px;
  line-height: 18px;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 底部金线：平时宽 0，hover 由左跑满（时长比轮播短，只是同一个动作） */
.qn-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.45s ease-out;
}
.quick-nav-item:hover,
.quick-nav-item:focus-visible {
  box-shadow: 0 0 0 2px var(--accent);
  outline: none;
}
.quick-nav-item:hover .qn-bg img,
.quick-nav-item:focus-visible .qn-bg img { filter: blur(0) brightness(0.7) saturate(1.15); transform: scale(1.1); }
.quick-nav-item:hover .qn-icon,
.quick-nav-item:focus-visible .qn-icon { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.quick-nav-item:hover .qn-name,
.quick-nav-item:focus-visible .qn-name { color: var(--active); }
.quick-nav-item:hover .qn-bar,
.quick-nav-item:focus-visible .qn-bar { width: 100%; }

/* ≤1023：3 栏网格（6 类刚好两排；不横滑，平板一眼看到全部分类） */
@media (max-width: 1023px) {
  .quick-nav .quick-nav-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    overflow: visible;
  }
  .quick-nav .quick-nav-list > li { min-width: 0; }
}
/* ≤767：宫格（参考站手机首页的子分类宫格），图示在上、名字在下，不放热播片名 */
@media (max-width: 767px) {
  .quick-nav .quick-nav-list { gap: 8px; }
  .quick-nav .quick-nav-item {
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    height: 72px;
    padding: 0 6px;
  }
  .quick-nav .quick-nav-item::before { background: rgba(43, 42, 42, 0.5); }
  .quick-nav .qn-icon { width: 30px; height: 30px; font-size: 16px; }
  .quick-nav .qn-text { flex: 0 0 auto; align-items: center; max-width: 100%; }
  .quick-nav .qn-name { font-size: 13px; line-height: 18px; }
  .quick-nav .qn-hot { display: none; }
}

/* ========== 区块（参考站：每块一个 #333 面板、圆角 5、padding 15、面板间距 20；
   标题 h2 16/400 金色，右侧依序「子分类 / 子分类 / 更多」） ========== */
.section,
.content-block {
  position: relative;
  width: calc(100% - var(--page-pad) * 2);
  max-width: var(--content-max);
  margin: 0 auto var(--section-gap);
  padding: var(--panel-pad);
  border-radius: var(--radius);
  background: var(--bg-panel);
}

.section-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 24px;
  margin-bottom: 15px;
}
/* 顺序：标题（靠左、把其余推到右边）→ 子分类／本类日排行 → 更多（最右） */
.section-header > * { order: 3; }
.section-head {
  order: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
  min-width: 0;
  margin-right: auto;
}
.section-kicker { display: none; }

.section-title {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--text-title);
  white-space: nowrap;
}
.section-title a { display: inline-flex; align-items: center; color: inherit; }
.section-title a:hover { color: var(--link-hover); }
.playlist-title { display: inline-flex; align-items: center; }

/* 参考站标题前没有图示与色条 */
.section-icon,
.section-title a > .mac-icon { display: none; }

/* 「更多」：14px 金字、在标题列最右 */
.section-more-pill,
.section-more {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  order: 4;
  font-size: 14px;
  line-height: 24px;
  color: var(--text-1);
  white-space: nowrap;
  transition: color 0.2s;
}
.section-more-pill .mac-icon,
.section-more .mac-icon { display: none; }
.section-more-pill:hover,
.section-more:hover { color: var(--active); }

/* 子分类：参考站「动作片 / 喜剧片 / … 」金字、斜线分隔 */
.section-subcats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0;
  height: 24px;
  min-width: 0;
  overflow: hidden;
}
.section-subcat {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 24px;
  font-size: 14px;
  color: var(--text-1);
  white-space: nowrap;
  transition: color 0.2s;
}
.section-subcat::after {
  content: "/";
  margin: 0 10px;
  color: var(--text-1);
}
.section-subcat:hover { color: var(--active); }

/* 首页分类区块标题列的「本类日排行」10 条（decisions.md 首页基线／index.md 2.3）：
   外观照参考站排行列表：名次小方块（1 红／2 橙／3 黄／其余灰，白字）＋金字片名，一排；手机隐藏。
   放不下时片名限宽 6em＋省略号（title 带全名），两端出现 ‹ › 一次捲一段（home.js 依 scrollLeft 切 .can-left／.can-right） */
.sh-dayrank-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin-left: 10px;
}
.sh-dayrank {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.sh-dayrank-wrap.can-right .sh-dayrank {
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent 100%);
          mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent 100%);
}
.sh-dayrank-wrap.can-left .sh-dayrank {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40px);
          mask-image: linear-gradient(to right, transparent 0, #000 40px);
}
.sh-dayrank-wrap.can-left.can-right .sh-dayrank {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}
.sdr-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-1);
  font-size: 13px;
  transition: opacity 0.2s, color 0.2s;
}
.sdr-arrow[hidden] { display: none; }
.sdr-arrow:hover { color: var(--active); }
.sdr-arrow:disabled { opacity: 0.35; pointer-events: none; }
.sdr-name {
  max-width: 6em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sh-dayrank::-webkit-scrollbar { display: none; }
.sh-dayrank a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  height: 24px;
  font-size: 13px;
  color: var(--text-1);
  white-space: nowrap;
  transition: color 0.2s;
}
.sh-dayrank a:hover { color: var(--active); }
/* 名次小方块：参考站 17×16、圆角 2、白字 12 */
.sdr-num {
  display: inline-block;
  min-width: 17px;
  height: 16px;
  padding: 0 3px;
  border-radius: 2px;
  background: var(--rank-num);
  font-size: 12px;
  font-style: normal;
  line-height: 16px;
  text-align: center;
  color: #fff;
}
.sh-dayrank a:nth-child(1) .sdr-num { background: var(--rank-1); }
.sh-dayrank a:nth-child(2) .sdr-num { background: var(--rank-2); }
.sh-dayrank a:nth-child(3) .sdr-num { background: var(--rank-3); }

.section-hd {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.section-title-icon { color: var(--accent); font-size: 20px; display: flex; }
.section-hd .section-title { font-size: 16px; }

.section-count { margin-left: 10px; font-family: inherit; font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--text-3); }
.section-count em { font-style: normal; color: var(--active); }
.list-empty { padding: 40px 0; text-align: center; color: var(--text-3); font-size: 14px; }

.section-main { width: 100%; }

/* ========== 影视卡片网格 ========== */
.vod-row,
.vod-grid,
.play-vod-grid,
.detail-vod-grid,
.td-vod-grid,
.plot-related-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));   /* 甲方基准 PC 6 栏 */
  gap: var(--grid-gap-y) var(--grid-gap-x);
}
.vod-row > .card,
.vod-grid > .card,
.play-vod-grid > .card,
.detail-vod-grid > .card,
.td-vod-grid > .card,
.plot-related-grid > .card {
  flex: none;
  width: 100%;
  min-width: 0;
}

/* 首页「热播推荐」一行 9 张 × 2 行 = 18（3 广告 + 15）：PC 9／平板 6／手机 3 都刚好排满（强制 5.2 取 3 的倍数）。
   承袭 tp34（使用者 2026-10-01 定案 9 × 2），不采用参考站的 6 张横滑 */
.section--hot .vod-grid--hot9 { grid-template-columns: repeat(9, 1fr); }
/* 筛选页 9 列 / 27 条（decisions.md 基线）。⚠️ 必须写在下面的 ≤1199 规则之前：两条特异性相同（0,2,0），
   写在后面会盖掉平板的 6 栏（原本就这样，768 宽卡片只剩 64px，2026-10-27 目视检查抓到） */
.vod-grid.vod-grid--c9 { grid-template-columns: repeat(9, 1fr); }
/* 平板（≤1199）影视卡欄數：甲方基准 decisions.md 第 11 行「≤1199px 4 列、≤600px 3 列」。
   PC 9 栏的两处（首页热播、筛选页的 .vod-grid--c9）平板改 6：18／27 张在 6 栏刚好排满，4 栏会留空格。
   使用者 2026-10-01 定案 6／4／3（不沿用 tp26 的平板 6 栏特例）。手机 3 栏在下方 ≤767 规则。 */
@media (max-width: 1199px) {
  .vod-row,
  .vod-grid,
  .play-vod-grid,
  .detail-vod-grid,
  .td-vod-grid,
  .plot-related-grid { grid-template-columns: repeat(4, 1fr); }
  .section--hot .vod-grid--hot9,
  .vod-grid.vod-grid--c9 { grid-template-columns: repeat(6, 1fr); }
}
.section--hot:not(:has(.card)) { display: none; }

.actor-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: var(--grid-gap-y) var(--grid-gap-x);
}

/* ---------- 卡片（参考站：海报 2:3、圆角 5；左上金底黑字年份标签 12px（左边带一个小三角）；
   海报底部渐层上置中白字备注 12px；下方片名 14/18 金色一行 ＋ 主演 12/16 #666 一行。
   hover：片名转橙；PC 另有 popout 浮层（甲方基线）。参考站 hover 正中有白色播放钮——甲方基准不要播放 icon，不做） ---------- */
.card {
  position: relative;
  min-width: 0;
}
.card-link {
  display: block;
  color: var(--text-1);
}

.card-cover {
  position: relative;
  width: 100%;
  aspect-ratio: var(--poster-ratio);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elevated) url("../img/load.gif") no-repeat center/cover;
  transform: translateZ(0);
}
.card-cover.img-loaded { background-image: none; }
/* 封面宽度当容器：太窄（资讯详情「影视推荐」9 栏，卡宽约 70）时左上年份与右上分数会叠在一起，分数让位 */
.card-cover { container-type: inline-size; }
@container (max-width: 90px) {
  .card-score { display: none; }
}
.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
/* 底部渐层（备注压在上面读得清） */
.card-cover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
}

/* 左上年份标签：金底黑字 12px（参考站 .fed-list-score；它的左侧小三角伸在海报外，这里海报 overflow:hidden 会裁掉，不做） */
.card-tag {
  position: absolute;
  top: 6px;
  left: 0;
  z-index: 2;
  padding: 0 5px;
  border-radius: 0 2px 2px 0;
  background: var(--accent);
  font-size: 12px;
  line-height: 16px;
  color: var(--on-accent);
  white-space: nowrap;
  pointer-events: none;
}

/* 右上豆瓣分（gt 0 才输出）、底部置中备注 */
.card-score {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  padding: 0 4px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.6);
  font-size: 12px;
  line-height: 16px;
  color: var(--accent);
  pointer-events: none;
}
.card-badge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 5px 6px;
  font-size: 12px;
  line-height: 14px;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

.card-meta {
  display: block;
  min-height: var(--card-meta-h);
  padding-top: 8px;
}
.card-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}
.card-title {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}
.card-sub {
  margin-top: 4px;
  font-size: 12px;
  line-height: 16px;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card:hover .card-title { color: var(--active); }

/* ---------- hover 详情浮层（skill 强制 15：vod_card_popout ＋ vod_card.js 边缘翻转） ---------- */
.card-detail-wrap {
  width: 100%;
  height: 0;
}
.card-detail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: -1;
  border-radius: var(--radius);
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: 50% center;
  background-size: cover;
  background-color: var(--bg-card);
  box-shadow: var(--shadow-hover);
  cursor: default;
  transition: width 0.1s ease-out, height 0.1s ease-out, top 0.1s ease-out, left 0.1s ease-out;
}
/* 没有海报：no-pic 置中缩小，跟卡片 img.is-nopic（contain＋留白）同一个样子 */
.card-detail.is-nopic { background-color: var(--bg-elevated); background-size: 76% auto; }
.cd-link { display: block; width: 100%; height: 100%; color: inherit; }
.cd-link:hover { color: inherit; }
.cd-cover {
  position: absolute;
  z-index: 111;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(rgba(30, 29, 29, 0) 0%, rgba(30, 29, 29, 0.75) 38%, rgba(30, 29, 29, 0.96) 100%);
}
.cd-badge {
  position: absolute;
  top: 7px;
  left: 9px;
  z-index: 113;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: var(--badge);
  color: var(--on-accent);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
  max-width: calc(100% - 18px);
  overflow: hidden;
  text-overflow: ellipsis;
}
.cd-ctn {
  position: absolute;
  z-index: 112;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px 10px 0;
}
.cd-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  color: #fff;
}
.cd-title-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cd-score { flex-shrink: 0; font-family: var(--font-mono); font-size: 15px; font-weight: 400; color: var(--score-hi); }
.cd-tags {
  display: flex;
  flex-wrap: nowrap;
  min-width: 0;
  overflow: hidden;
  margin: 8px 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}
.cd-tags span {
  flex-shrink: 0;
  max-width: 5em;
  padding: 0 6px;
  margin-right: 5px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.112);
  background-color: rgba(30, 29, 29, 0.4);
  line-height: 18px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cd-tags span:last-child { margin-right: 0; }
.cd-intro { font-size: 12px; color: rgba(255, 255, 255, 0.8); }
.cd-il { color: rgba(255, 255, 255, 0.55); }
.cd-date,
.cd-starring {
  height: 20px;
  line-height: 20px;
  margin-bottom: 4px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.cd-story {
  height: 40px;
  line-height: 20px;
  margin-bottom: 6px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.cd-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 10px;
}
.cd-hot { display: flex; align-items: center; gap: 4px; }
.cd-hot .mac-icon { font-size: 16px; color: var(--hot); }
.cd-hot-num { font-size: 12px; color: var(--hot); }
.cd-dialog {
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 400;
  color: var(--on-accent);
  border-radius: var(--radius-pill);
  background: var(--accent);
}

/* 浮层尺寸：卡片的 130%×112%，但至少 260×300（2026-10-14 使用者要求）。
   首页热播 9 栏的卡只有 122 宽，原本浮层才 159，类型标签与主演都被截掉；6 栏卡本来就 ≥251，不受影响。
   以卡片为中心展开；左右放不下（贴视窗边，或被横向卷动列裁切）时由 vod_card.js 加 pop-left／pop-right 往内翻。
   ⚠️ 260／130% 两个数字要与 vod_card.js 的 POP_MIN_W／POP_SCALE 同步，否则贴边判断会算错、浮层被裁掉。 */
@media (any-hover: hover) and (min-width: 768px) {
  .card { --pop-w: max(130%, 260px); --pop-h: max(112%, 300px); }
  .card:hover .card-detail {
    opacity: 1;
    z-index: 110;
    width: var(--pop-w);
    height: var(--pop-h);
    top: calc((100% - var(--pop-h)) / 2);
    left: calc((100% - var(--pop-w)) / 2);
  }
  .card.pop-left:hover .card-detail { left: 0; }
  .card.pop-right:hover .card-detail { left: calc(100% - var(--pop-w)); }
}
@media (hover: none), (pointer: coarse) {
  .card-detail-wrap { display: none; }
}

/* 浮层外框：2px 金框（参考站卡片 hover 只有压暗，这里浮层盖住卡片，用主色框标出「目前这一张」） */
.card-detail::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 115;
  border: 2px solid var(--accent);
  border-radius: inherit;
  pointer-events: none;
}


/* ========== 排行榜列（参考站「热门电影」列表：名次小方块＋金字片名＋右侧橙色热度，行高 35、无分隔线）
   首页总榜、排行榜页、详情侧栏（同类热播／专题）共用。
   排行榜页每栏一块 #333 面板；首页那块本身就在区块面板里，栏不再画面板 ========== */
.rank-col {
  min-width: 0;
}
.rank-wrap .rank-col {
  padding: var(--panel-pad);
  border-radius: var(--radius);
  background: var(--bg-panel);
}
.section .rank-col { padding: 0; }
.rank-col-hd {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 12px;
}
.rank-col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding-right: 10px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--text-title);
}
.rch-badge { font-size: 12px; padding: 0 6px; line-height: 20px; border-radius: var(--radius-sm); background: var(--bg-card); color: var(--text-1); }
.rank-col-more { flex-shrink: 0; margin-left: auto; font-size: 14px; line-height: 24px; color: var(--text-link); white-space: nowrap; }
.rank-col-more:hover { color: var(--link-hover); }

/* 榜首：左图右字 */
.rank-top1 { padding: 0 0 10px; }
.rank-top1 a { display: flex; gap: 15px; color: inherit; }
.rt1-thumb {
  position: relative;
  flex-shrink: 0;
  width: 70px;
  aspect-ratio: var(--poster-ratio);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elevated) url("../img/load.gif") no-repeat center/cover;
}
.rt1-thumb::after {
  content: "1";
  position: absolute;
  left: 0;
  top: 0;
  min-width: 17px;
  height: 16px;
  border-radius: 0 0 2px 0;
  background: var(--rank-1);
  font-size: 12px;
  line-height: 16px;
  text-align: center;
  color: #fff;
  pointer-events: none;
}
.rt1-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rt1-info { flex: 1; min-width: 0; }
.rt1-name {
  position: relative;
  margin: 6px 0 8px;
  padding-right: 18px;
  font-size: 16px;
  font-weight: 400;
  line-height: 25px;
  color: var(--text-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rt1-name::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.rank-top1 a:hover .rt1-name { color: var(--link-hover); }
.rt1-meta,
.rt1-status {
  margin: 0 0 5px;
  font-size: 12px;
  line-height: 18px;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-list { list-style: none; margin: 0; padding: 0; }
.rank-li-inner {
  display: flex;
  align-items: center;
  height: 35px;
  font-size: 14px;
  line-height: 18px;
  color: var(--text-1);
}
.rank-li-inner:hover { color: var(--active); }
/* 名次小方块：参考站 17×16、圆角 2、白字 12；1 红、2 橙、3 黄、其余灰 */
.rl-num {
  flex-shrink: 0;
  min-width: 17px;
  height: 16px;
  margin-right: 10px;
  padding: 0 3px;
  border-radius: 2px;
  background: var(--rank-num);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  text-align: center;
  color: #fff;
}
/* 榜首已在 .rank-top1，列表从第 2 名起：第 1、2 项就是第 2、3 名 */
.rank-list > li:nth-child(1) .rl-num { background: var(--rank-2); }
.rank-list > li:nth-child(2) .rl-num { background: var(--rank-3); }
/* 没有榜首卡、从第 1 名起的整串榜单（搜索页右栏） */
.rank-list--full > li:nth-child(1) .rl-num { background: var(--rank-1); }
.rank-list--full > li:nth-child(2) .rl-num { background: var(--rank-2); }
.rank-list--full > li:nth-child(3) .rl-num { background: var(--rank-3); }
.rank-list--full > li:nth-child(n+4) .rl-num { background: var(--rank-num); }
.rl-name { flex: 1; min-width: 0; font-size: 14px; font-weight: 400; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rl-hits,
.rl-remarks {
  flex-shrink: 0;
  max-width: 45%;
  margin-left: 10px;
  font-size: 14px;
  color: var(--hot);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rl-remarks { font-size: 12px; color: var(--text-dim); }
.rl-hits .mac-icon { font-size: 12px; color: var(--hot); }

.section .rank-grid--home {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.rank-col--topic { margin-top: 16px; }

/* ========== 通用弹窗 / toast（沿用 tp26，颜色全部走变量） ========== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 600;
  align-items: center;
  justify-content: center;
}
.modal-overlay.is-open { display: flex; }

.modal-box {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  width: 340px;
  max-width: calc(100vw - 32px);
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  color: var(--text-3);
  font-size: 16px;
  padding: 4px 6px;
  border-radius: var(--radius);
  transition: color 0.2s;
}
.modal-close:hover { color: var(--text-1); }
.modal-title { font-size: 18px; font-weight: 400; margin-bottom: 24px; color: var(--text-1); }
.modal-field { margin-bottom: 16px; }
.modal-label { display: block; font-size: 12px; color: var(--text-3); margin-bottom: 6px; }
.modal-input {
  width: 100%;
  padding: 10px 13px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-1);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.modal-input:focus { border-color: var(--accent); }
.modal-submit {
  width: 100%;
  padding: 13px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 400;
  transition: background 0.2s;
  margin-top: 6px;
}
.modal-submit:hover { background: var(--accent-hover); }

.verify-row { display: flex; align-items: center; gap: 8px; }
.modal-input--verify { flex: 1; }
.verify-img { height: 36px; width: auto; border-radius: var(--radius-sm); border: 1px solid var(--border-2); cursor: pointer; flex-shrink: 0; }
.sms-btn { height: 38px; padding: 0 12px; background: var(--bg-elevated); border: 1px solid var(--border-2); border-radius: var(--radius-sm); color: var(--accent); font-size: 12px; white-space: nowrap; cursor: pointer; transition: background .15s; }
.sms-btn:hover { background: var(--bg-card); }
.sms-btn:disabled { opacity: .55; cursor: not-allowed; }

.mac-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-12px);
  background: var(--bg-elevated);
  color: var(--text-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 22px;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 6px 24px rgba(0,0,0,.45);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  white-space: pre-line;
  max-width: calc(100vw - 48px);
  text-align: center;
}
.mac-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.mac-toast--error   { border-color: #e05555; color: #f07070; }
.mac-toast--success { border-color: var(--accent); color: var(--accent); }
.mac-toast--info    { border-color: var(--border-2); color: var(--text-2); }

.modal-footer {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-3);
}
.modal-link { color: var(--text-2); transition: color 0.2s; }
.modal-link:hover { color: var(--active); }
.modal-link--accent { color: var(--accent); }

.modal-box--confirm { width: 300px; text-align: center; }
.modal-box--confirm .modal-title { margin-bottom: 22px; }
.modal-confirm-actions { display: flex; flex-direction: column; gap: 10px; }
.modal-submit--danger { display: block; background: var(--accent-2); }
.modal-submit--danger:hover { background: var(--accent-2-alt); }
.modal-cancel {
  width: 100%;
  padding: 13px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 400;
  transition: background 0.2s, color 0.2s;
}
.modal-cancel:hover { color: var(--text-1); border-color: var(--active); }
/* ========== 留言（共用） ========== */
.comment-section { margin-bottom: 32px; }
/* .gbook-count 只有留言板一页在用，单一来源在 gbook.css（强制11.9） */
/* 留言板（gbook/index）的列表与表单样式单一来源在 gbook.css；这里原本还有一份表单副本（.gbook-form／-textarea／-submit-btn…），
   被 gbook.css 覆盖、其余 class 也没有页面在用，已移除（tp43 A24，强制11.9） */
.rank-col--topic { margin-top: 16px; }
.rct-list { list-style: none; padding: 6px 12px 10px; display: flex; flex-direction: column; gap: 10px; }
.rct-link { display: flex; align-items: center; gap: 10px; }
.rct-thumb {
  flex-shrink: 0; width: 56px; height: 36px;
  border-radius: var(--radius-sm); overflow: hidden;
  background: var(--bg-elevated) url("../img/load.gif") no-repeat center/cover;
}
.rct-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rct-name { flex: 1; min-width: 0; font-size: 13px; color: var(--text-2); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rct-link:hover .rct-name { color: var(--active); }

/* ========== 资讯卡／专题卡 ==========
   资讯卡：参考站没有，依它的卡片语言延伸（16:9 圆角 2、左上黄底分类角标、片名 15/500、等宽日期）。
   专题卡：参考站「专题合集」砖——--bg-2 底＋每张不同色相的斜向渐层、等宽小标（各自的色）、衬线标题 20/700、
   两行简介、右下「浏览 →」；封面图淡淡铺在底下。hover 框线转该色 */
.art-grid,
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));   /* 使用者 2026-10-27：宽屏 6 栏、其余 3 栏（3 的倍数；12／24 条都排满） */
  gap: 22px 16px;
}
.art-grid > .art-grid-item,
.topic-grid > .topic-grid-item { display: flex; min-width: 0; }
.art-grid > .art-grid-item > .art-card,
.topic-grid > .topic-grid-item > .topic-card { flex: 1; min-width: 0; }

.art-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: var(--text-1);
}
.art-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-thumb);
  background: var(--bg-card) url("../img/load.gif") no-repeat center/cover;
  transition: transform 0.25s, box-shadow 0.25s;
}
.art-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.art-card-nopic { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 36px; color: var(--text-3); }
.art-card-cat {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 0 6px;
  border-radius: var(--radius-sm);
  background: var(--badge);
  color: var(--on-accent);
  font-size: 11px;
  font-weight: 400;
  line-height: 19px;
}
.art-card-body { padding-top: 10px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.art-card-title {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-1);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.art-card-date { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0; color: var(--text-3); }
.art-card:hover .art-card-title { color: var(--link-hover); }
@media (hover: hover) {
  .art-card:hover .art-card-thumb { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
}

/* ---------- 专题卡（widget/topic_card，首页、专题页、详情页侧栏共用）：参考站「专题」砖——
   封面 16:9、圆角 5、整张压暗 .55；正中三行「☆ 专题」12 →「— N 个影片 —」12 → 专题名 14（最多两行），全部白字置中。
   hover：压暗变浅、专题名转橙 ---------- */
.topic-card {
  position: relative;
  display: block;
  min-width: 0;
  color: #fff;
}
.topic-card:hover { color: #fff; }
.topic-card-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-elevated) url("../img/load.gif") no-repeat center/cover;
}
.topic-card-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.topic-card-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.55);
  transition: background 0.3s;
}
.topic-card-body {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 12px;
  text-align: center;
}
.topic-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.9);
}
.topic-card-tag .mac-icon { font-size: 13px; }
/* 「— N 个影片 —」：两侧短线 */
.topic-card-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}
.topic-card-count::before,
.topic-card-count::after {
  content: "";
  width: 14px;
  height: 1px;
  background: currentColor;
}
.topic-card-title {
  margin: 2px 0 0;
  max-width: 100%;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-wrap: balance;
  transition: color 0.2s;
}
.topic-card-title .tc-word { white-space: nowrap; }
.topic-card:hover .topic-card-title { color: var(--active); }
@media (hover: hover) {
  .topic-card:hover .topic-card-cover::after { background: rgba(0, 0, 0, 0.4); }
  .topic-card:hover .topic-card-cover > img { transform: scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .topic-card-cover > img { transition: none; }
}
/* 宽屏 6 栏（甲方 decisions 专题列表 6 列）、其余 3 栏（参考站 3 栏）；资讯卡跟专题卡同一组断点 */
@media (min-width: 1360px) {
  .art-grid,
  .topic-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .topic-grid .topic-card-tag,
  .topic-grid .topic-card-count { font-size: 11px; }
  .topic-grid .topic-card-title { font-size: 13px; line-height: 18px; }
}
/* 手机 3 栏（卡宽约 110）：封面改直式 3:4，字缩小 */
@media (max-width: 767px) {
  .art-grid,
  .topic-grid { gap: 12px 8px; }
  .topic-grid .topic-card-cover { aspect-ratio: 3 / 4; }
  .topic-grid .topic-card-body { padding: 6px; gap: 2px; }
  .topic-grid .topic-card-tag,
  .topic-grid .topic-card-count { font-size: 11px; }
  .topic-grid .topic-card-count::before,
  .topic-grid .topic-card-count::after { width: 8px; }
  .topic-grid .topic-card-title { font-size: 12px; line-height: 16px; -webkit-line-clamp: 3; }
}

/* ========== 分页（参考站：#444 方块 38 高、圆角 3、1px 页底色框、14px 金字；当前页金底黑字；停用 #666 字） ========== */
.pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; padding: 20px 0 0; }   /* 底部不留：分页在面板里靠面板内距、在页尾靠外层容器补 --section-gap */
.pagination ul,
.pagination ol { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pg-btn,
.pg-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--bg-base);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-1);
  font-size: 14px;
  transition: color 0.2s, background 0.2s;
}
.pg-num { padding: 0 10px; }
.pg-btn:hover,
.pg-num:hover { color: var(--active); }
.pg-num.is-active,
.pg-num[aria-current] { background: var(--accent); color: var(--on-accent); }
.pg-btn.is-disabled,
.pg-btn[aria-disabled="true"] { color: var(--text-disabled); pointer-events: none; }
.pg-info { font-size: 14px; color: var(--text-dim); margin-left: 12px; }

/* ========== 页脚（参考站：#333 满宽、置中三行金字 14px、行高 34；上下 25） ========== */
.site-footer {
  margin-top: 0;   /* 上方最后一块面板自带 margin-bottom（--section-gap），这里不再叠加（甲方强制 20：模块间距统一） */
  padding: 25px var(--page-pad);
  background: var(--bg-panel);
  font-size: 14px;
  line-height: 30px;
  color: var(--text-1);
  text-align: center;
}
.site-footer > p { max-width: calc(var(--content-max) + var(--page-pad) * 2); margin: 0 auto; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 6px;
}
.footer-links a { color: var(--text-link); }
.footer-links a:hover { color: var(--active); }
/* 首页「友情链接」：金字连结一排，间距 20（参考站页脚连结同色） */
.section .footer-links { justify-content: flex-start; gap: 6px 20px; }
.section .footer-links a {
  font-size: 14px;
  line-height: 24px;
  color: var(--text-1);
  transition: color 0.2s;
}
.section .footer-links a:hover { color: var(--active); }
.footer-bottom-bar { color: var(--text-1); }

/* ========== 右侧悬浮钮（tp39 定案的两颗：手机观看 QR＋回到顶部）；外观照参考站：46×46、#333、圆角 3、金色图示，hover 金底黑图示 ========== */
.fab-group {
  position: fixed;
  right: var(--fab-right);
  bottom: var(--fab-bottom);
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 8px;
  user-select: none;
}
.fab-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--fab-w);
  height: var(--fab-w);
  border-radius: var(--radius-btn);
  background: var(--fab-bg);
  color: var(--fab-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  font-size: 22px;
  cursor: pointer;
}
.fab-btn .mac-icon { font-size: 22px; }
.fab-btn:hover { color: var(--on-accent); background: var(--accent-grad); }   /* .hl-bg-hover:hover */
.fab-btn--top { display: none; background: var(--fab-top-bg); color: var(--fab-color); }
.fab-btn--top.is-visible { display: flex; }
.fab-btn--top:hover { color: var(--on-accent); background: var(--accent-grad); }

/* 滑过时左侧滑出文字提示（同 tp26 .fab-hint） */
.fab-hint {
  position: absolute;
  top: 50%;
  right: calc(100% + 8px);
  transform: translateY(-50%);
  padding: 0 12px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 12px;
  line-height: 30px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s;
}
@media (hover: hover) {
  .fab-btn:hover .fab-hint { opacity: 1; visibility: visible; }
}
.fab-btn--qr[aria-expanded="true"] .fab-hint { display: none; }
.fab-btn--qr[aria-expanded="true"] { color: var(--on-accent); background: var(--accent-grad); }

/* 二维码弹层：在按钮组左侧；白底是扫码需要，文字／边框用固定色不走皮肤变量（§17.48） */
.fab-qr-popup {
  position: fixed;
  right: calc(var(--fab-right) + var(--fab-w) + 10px);
  bottom: var(--fab-bottom);
  z-index: 999;
  display: none;
  width: 150px;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  text-align: center;
}
.fab-qr-popup.is-open { display: block; }
.fab-qr-popup p { margin-bottom: 8px; font-size: 12px; color: #666; }
.fab-qr-popup img { display: block; width: 130px; height: 130px; background: #fff; }

/* ≤1199 不显示「手机观看」（同 tp26：平板／手机本身就是手持装置） */
@media (max-width: 1199px) {
  .fab-btn--qr,
  .fab-qr-popup { display: none !important; }
  .fab-hint { display: none; }
}

/* ========== 观看记录下拉（深色面板 260、padding 20、圆角 12） ========== */
.tb-hist-wrap { position: relative; display: flex; align-items: center; height: 100%; }

.hist-dropdown {
  position: absolute;
  top: 100%;
  right: -20px;
  width: 280px;
  padding: 20px;
  color: var(--text-1);
  background-color: var(--bg-drop);
  border-radius: var(--radius);
  box-shadow: var(--shadow-drop);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0s linear 0.2s;
}
@media (hover: hover) {
  .tb-hist-wrap:hover .hist-dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
.hist-dropdown.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

.hist-dropdown .history-list {
  max-height: 260px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.hist-dropdown .history-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-1);
  font-size: 13px;
}
.hist-dropdown .history-item:last-child { border-bottom: 0; }
.hist-dropdown .history-item:hover { color: var(--active); }
.hist-dropdown .item-title { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hist-dropdown .item-meta { flex-shrink: 0; font-size: 12px; color: var(--text-2); }
.hist-dropdown .history-empty { padding: 10px 0; font-size: 14px; color: var(--text-2); text-align: center; }

.hist-dropdown .history-foot {
  display: flex;
  align-items: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.hist-dropdown .history-clear {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--accent);
  background: none;
  border: 0;
}
.hist-dropdown .history-clear .mac-icon { font-size: 14px; }
.hist-dropdown .history-more { display: inline-flex; align-items: center; gap: 2px; margin-left: auto; font-size: 12px; color: var(--text-2); }
.hist-dropdown .history-more .mac-icon { font-size: 12px; }
.hist-dropdown .history-more:hover { color: var(--link-hover); }
.hist-dropdown.is-empty .history-clear,
.hist-dropdown.is-empty .history-more { opacity: 0.45; pointer-events: none; }

/* ========== 分类抽屉 #mobNavDrawer（≤1023 顶栏 ☰ 开启；参考站手机「导航」抽屉：从右侧滑出、整高、
   标题 18/700 ＋ ×、项目 15px 一行一条、hairline 分隔）。
   z 轴：顶栏 999 < 遮罩 1000 < 抽屉 1001 < 搜索弹层 1003。
   收起时 visibility:hidden，不能被 Tab 聚焦；visibility 用 0s 延迟收（§17.64） */
.mob-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(2, 4, 10, 0.6);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}
.mob-nav-overlay.is-open { display: block; }

.mob-nav-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 1001;
  width: min(300px, 82vw);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--player-scroll) transparent;
  border-left: 1px solid var(--border);
  background: var(--bg-dock);
  box-shadow: -15px 0 30px rgba(0, 0, 0, 0.45);
  visibility: hidden;
  transform: translateX(100%);
  transition: transform 0.25s ease, visibility 0s linear 0.25s;
}
.mob-nav-drawer.is-open { visibility: visible; transform: none; transition-delay: 0s; }
.mob-nav-drawer::-webkit-scrollbar { width: 6px; background: transparent; }
.mob-nav-drawer::-webkit-scrollbar-thumb { border-radius: var(--radius); background: var(--player-scroll); }

.mnd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--topbar-h);
  padding: 0 12px 0 22px;
}
.mnd-title { font-family: var(--font-serif); font-size: 18px; font-weight: 400; color: var(--text-title); }
.mnd-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 18px;
  color: var(--text-2);
}
.mnd-close:hover { color: var(--text-1); }

.mnd-nav { margin: 0 22px; padding: 0 0 24px; list-style: none; }
.mnd-nav > li { min-width: 0; border-bottom: 1px solid var(--border-row); }
.mnd-item {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 8px;
  font-size: 15px;
  color: var(--text-2);
  transition: color 0.2s;
}
.mnd-item:hover { color: var(--text-1); }
.mnd-item.is-active { color: var(--active); font-weight: 400; }

.mnd-subs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 8px 12px;
}
.mnd-subs:empty { display: none; }
.mnd-sub {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  font-size: 12px;
  color: var(--text-3);
  transition: border-color 0.2s, color 0.2s;
}
.mnd-sub:hover { border-color: var(--active); color: var(--active); }

/* ========== 搜索下拉（历史 + 热门，强制18.2；header.js 渲染） ========== */
.search-drop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 60;
  min-width: 260px;
  padding: 10px 0;
  background: var(--bg-drop);
  border-radius: var(--radius);
  box-shadow: var(--shadow-drop);
  max-height: 60vh;
  overflow-y: auto;
  text-align: left;
}
.search-drop--overlay { position: relative; top: auto; margin-top: 10px; background: none; box-shadow: none; }
.search-drop .sd-group + .sd-group { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 6px; }
.sd-group-hd { display: flex; align-items: center; justify-content: space-between; padding: 4px 15px; }
.sd-label { font-size: 11px; color: var(--text-2); }
.sd-clear { font-size: 11px; color: var(--accent); background: none; border: 0; padding: 0; cursor: pointer; }
.sd-list { list-style: none; margin: 0; padding: 0; }
.sd-item { display: flex; align-items: center; gap: 10px; padding: 0 15px; transition: background 0.15s; }
.sd-item:hover { background: var(--fill-1); }
.sd-num {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-sm);
  background: var(--fill-2);
  font-size: 11px;
  line-height: 18px;
  color: var(--text-1);
  text-align: center;
}
.sd-item:nth-child(1) .sd-num { background: var(--rank-1); color: #fff; }
.sd-item:nth-child(2) .sd-num { background: var(--rank-2); color: #fff; }
.sd-item:nth-child(3) .sd-num { background: var(--rank-3); color: #fff; }
.sd-word {
  flex: 1;
  min-width: 0;
  padding: 7px 0;
  text-align: left;
  font-size: 13px;
  color: var(--text-1);
  background: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s;
}
.sd-item:hover .sd-word { color: var(--active); }

/* ========== 响应式 ========== */
/* ≤1279：导览项目多时收紧间距、搜索框缩短；导览放不下就整列横滑 */
@media (max-width: 1279px) {
  .topbar-inner { gap: 14px; }
  .tb-nav-item { padding: 0 8px; }
  .topbar-right .tb-search { width: 180px; }
}

/* ≤1023：导览收进右侧抽屉、搜索框收起改放大镜弹层；顶栏一列 60：logo ／ 放大镜 · 观看记录 · ☰ */
@media (max-width: 1023px) {
  .topbar .tb-nav { display: none; }
  .topbar-right .tb-search { display: none; }
  .topbar-right #searchToggle { display: inline-flex; }
  .topbar-inner .tb-menu-btn { display: inline-flex; }
  .topbar-right { gap: 0; }
  /* 参考站手机顶栏：放大镜／记录／☰ 只留图示 */
  .tb-action-label { display: none; }
  .tb-action { min-width: 40px; padding: 0 8px; }
  .tb-action .mac-icon { font-size: 20px; }
  .brand-logo-img { height: 30px; max-width: 130px; }

  .actor-row { grid-template-columns: repeat(6, 1fr); }
  .section .rank-grid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .topbar-inner { padding: 0 var(--hdr-x); }
  .topbar-right { gap: 2px; }
  .search-overlay-inner { margin-top: 0; padding: 12px; }

  .section-title { font-size: 16px; }
  .section-kicker { font-size: 10px; }
  .rank-col-title { font-size: 16px; }
  .section-header { margin-bottom: 12px; gap: 10px; }
  .section-subcats,
  .sh-dayrank-wrap { display: none; }

  .vod-row,
  .vod-grid,
  .play-vod-grid,
  .detail-vod-grid,
  .td-vod-grid,
  .plot-related-grid,
  .section--hot .vod-grid--hot9,
  .vod-grid.vod-grid--c9 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .actor-row { grid-template-columns: repeat(4, 1fr); }
  .section .rank-grid--home { grid-template-columns: 1fr; }

  /* 参考站手机（卡宽约 110）：片名 13、副行 11 */
  .card-title { font-size: 13px; line-height: 18px; }
  .card-sub { margin-top: 2px; font-size: 11px; line-height: 14px; }
  .card-tag { font-size: 11px; line-height: 15px; }
  .card-score { top: 4px; right: 4px; font-size: 11px; line-height: 15px; }
  .card-badge { padding: 4px; font-size: 11px; }

  .pagination ol,
  .pagination ul { gap: 6px; }
  .pg-btn,
  .pg-num { padding: 0 10px; }

  .fab-btn .mac-icon { font-size: 15px; }
}

/* ========== 简介展开 / 核心弹窗 ========== */


.mac_pop_bg { background: rgba(0,0,0,0.5) !important; }
.mac_pop { background: var(--bg-panel) !important; border: 1px solid var(--border) !important; border-radius: var(--radius) !important; box-shadow: 0 20px 60px rgba(0,0,0,0.3) !important; padding: 0 !important; display: flex !important; flex-direction: column !important; overflow: hidden !important; }
.mac_pop .pop_top { display: flex !important; align-items: center !important; justify-content: space-between !important; height: auto !important; padding: 14px 16px !important; background: var(--bg-elevated) !important; border-bottom: 1px solid var(--border) !important; flex-shrink: 0 !important; }
.mac_pop .pop_top h2 { font-size: 15px !important; font-weight: 400 !important; color: var(--text-1) !important; margin: 0 !important; line-height: 1 !important; float: none !important; }
.mac_pop span.pop_close { float: none !important; width: 28px !important; height: 28px !important; font-size: 16px !important; text-indent: 0 !important; background: none !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; border-radius: 50% !important; color: var(--text-3) !important; cursor: pointer !important; transition: color 0.2s, background 0.2s !important; line-height: 1 !important; }
.mac_pop span.pop_close:hover { color: var(--text-1) !important; background: var(--bg-base) !important; }
.mac_pop .pop_content { flex: 1 !important; overflow-y: auto !important; }
/* user/ajax_login 登录弹窗片段（MAC.User.Login 载入）的内距；表单本身沿用 .modal-* */
.mac_pop .mac-login-wrap { padding: 16px 20px 20px; }
.mac_pop .mac-login-wrap .modal-submit { width: 100%; }
/* home.js 的 MAC.Pop.Show 把宽度写死成行内 width:400（实际 402），手机上比屏幕宽、右边被切掉
   （报错／求片留言／登录弹窗都是它，2026-10-14 开关实测发现）。窄屏改成左右各留 12 */
@media (max-width: 480px) {
  .mac_pop { width: auto !important; left: 12px !important; right: 12px !important; margin-left: 0 !important; margin-right: 0 !important; }
}
.mac_pop_msg_bg { background: rgba(0,0,0,0.2) !important; }
.mac_pop_msg { background: var(--bg-card) !important; border: 1px solid var(--border) !important; border-radius: var(--radius-sm) !important; box-shadow: 0 4px 24px rgba(0,0,0,0.25) !important; padding: 10px 20px !important; }
.mac_pop_msg .pop-msg { color: var(--text-1) !important; font-size: 13px !important; }
.content-block.will-observe {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.content-block.is-visible {
  opacity: 1;
  transform: none;
}

.img-loaded { background-image: none !important; }
/* ========== 资讯左侧导览（widget/art_left_nav；资讯分类页、资讯详情页共用） ========== */
.art-leftnav {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: sticky;
  top: calc(var(--topbar-h) + 12px);
}
.aln-list,
.aln-list > li { display: contents; }
.aln-item {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px;
  font-size: 14px; color: var(--text-2);
  border-bottom: 1px solid var(--border-row);
  transition: color 0.2s, background 0.2s;
}
.art-leftnav li:last-child > .aln-item { border-bottom: none; }
.aln-item:hover { color: var(--text-1); background: var(--fill-1); }
.aln-item.is-active { color: var(--accent); background: var(--accent-light); font-weight: 400; box-shadow: inset 2px 0 0 var(--accent); }
.aln-item .mac-icon { font-size: 16px; }

/* ========== 资讯侧栏共用（widget/art_hot_vod + art_recommend_read） ========== */
.art-sidebar { position: sticky; top: calc(var(--topbar-h) + 12px); }
.art-sb-block { background: var(--bg-panel); border-radius: var(--radius); overflow: hidden; margin-bottom: var(--section-gap); }
.art-sb-title { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 400; color: var(--text-1); padding: 12px 16px; border-bottom: 1px solid var(--border); margin: 0; }
.art-hot-list { list-style: none; margin: 0; padding: 6px 0; }
.art-hot-list a { display: flex; align-items: center; gap: 10px; padding: 7px 16px; color: var(--text-2); }
.art-hot-list a:hover .ahl-name { color: var(--active); }
.ahl-num { flex-shrink: 0; width: 20px; height: 20px; border-radius: var(--radius); font-size: 11px; line-height: 20px; text-align: center; background: var(--bg-elevated); color: var(--text-3); }
.art-hot-list li:nth-child(1) .ahl-num { background: var(--accent); color: var(--on-accent); }
.ahl-name { flex: 1; min-width: 0; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.art-sb-read-list { list-style: none; margin: 0; padding: 8px 12px; }
.art-sb-item a { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.art-sb-item:last-child a { border-bottom: none; }
.asi-thumb { flex-shrink: 0; width: 64px; height: 42px; border-radius: var(--radius); overflow: hidden; background: var(--bg-elevated) url("../img/load.gif") no-repeat center/cover; }
.asi-thumb img { width: 100%; height: 100%; object-fit: cover; }
.asi-info { flex: 1; min-width: 0; }
.asi-title { font-size: 13px; color: var(--text-2); line-height: 1.4; margin: 0 0 4px; }
.art-sb-item a:hover .asi-title { color: var(--active); }
.asi-cat { font-size: 11px; color: var(--text-3); }
/* ===== 页面主容器统一置中（原本靠左侧栏挤出留白，改纯顶栏后由 max-width + auto 置中）
       单一来源放这里，页面级 CSS 只保留各自的 grid/flex 与内距（强制11.9） ===== */
.art-layout,
.gbook-container,
.rank-wrap,
.plot-container,
.td-container,
.topic-wrap,
.down-container,
.search-wrap,
.show-container,
.detail-bottom-layout {
  width: 100%;
  max-width: calc(var(--content-max) + var(--page-pad) * 2);
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   详情类共用块（详情／播放／下载／资讯详情共用，单一来源放这里，强制11.9）
   ========================================================================== */

/* ---------- 面包屑：13px 灰，分隔「/」，末级金字 ---------- */
.art-breadcrumb { font-size: 13px; line-height: 20px; color: var(--text-3); margin-bottom: 0; }
.art-breadcrumb a { color: var(--text-3); }
.art-breadcrumb a:hover { color: var(--active); }
.bc-sep { display: inline-flex; margin: 0 8px; color: var(--text-dim); }
.bc-sep .mac-icon { display: none; }
.bc-sep::before { content: "/"; }
.bc-current { color: var(--text-1); }

/* ---------- 详情类页的区块（评论、分集剧情、专题影片…）：一块 #333 面板，标题 16/400 金色（同 .section-title） ---------- */
.detail-section {
  margin-bottom: var(--section-gap);
  padding: var(--panel-pad);
  border-radius: var(--radius);
  background: var(--bg-panel);
}
.detail-section-hd {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 15px;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--text-title);
}
.detail-section-hd > h2 { margin: 0; font-size: inherit; font-weight: inherit; }
.detail-section-hd .mac-icon { display: none; }
.detail-section-hd--split { justify-content: space-between; }
.detail-section-more { font-size: 14px; font-weight: 400; color: var(--text-1); }
.detail-section-more:hover { color: var(--active); }

/* ---------- 播放列表（widget/playlist；详情页与播放页共用）
   参考站：标题 16 金色、右侧金底黑字「排序」小钮；下一行线路方钮（#444、选中金底黑字、右上角金色小条数角标）；
   再下面集数钮（#444 底、40 高、圆角 3，当前集金底黑字）。
   用 display:contents 把 .playlist-hd 的两个子元素摊进 flex，不改 widget 标记 ---------- */
.playlist-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: var(--section-gap);
}
.playlist-hd { display: contents; }
.playlist-title {
  order: 1;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--text-title);
}
.playlist-sources {
  order: 3;
  flex: 0 0 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
  margin-top: 15px;
}
.pl-source-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 120px;
  height: 30px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: var(--text-1);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.pl-source-tab .mac-icon { display: none; }
/* 条数角标：贴右上角的金底黑字小块（参考站 10px） */
.pl-src-count {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 12px;
  padding: 0 3px;
  border-radius: 0 var(--radius-sm) 0 2px;
  background: var(--accent);
  font-size: 10px;
  line-height: 12px;
  color: var(--on-accent);
}
.pl-source-tab:hover { color: var(--active); }
.pl-source-tab.is-active { background: var(--accent); color: var(--on-accent); }
.pl-source-tab.is-active .pl-src-count { background: var(--on-accent); color: var(--accent); }
.pl-sort-btn {
  order: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 0 8px;
  height: 26px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--accent);
  font-size: 14px;
  color: var(--on-accent);
  cursor: pointer;
}
.pl-sort-btn:hover { background: var(--accent-hover); color: var(--on-accent); }
.playlist-empty,
.playlist-panel {
  order: 4;
  flex: 0 0 100%;
  min-width: 0;
  padding-top: 15px;
}
.playlist-empty { padding: 30px 0; text-align: center; color: var(--text-dim); }
.playlist-panel { display: none; }
.playlist-panel.is-active { display: block; }

.playlist-notice {
  display: block;               /* §17.61：一句话不要放进 flex，窄屏会各段各自断行 */
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-dim);
}
.playlist-notice .mac-icon { vertical-align: -0.15em; margin-right: 2px; }
.playlist-notice strong { color: var(--text-1); font-weight: 400; }

.playlist-episodes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.playlist-episodes.is-wide { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.ep-item { min-width: 0; }
.episode-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--bg-base);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-1);
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  transition: color 0.2s, background 0.2s;
}
.episode-btn:hover { color: var(--active); }
.episode-btn.is-active { background: var(--accent); color: var(--on-accent); }
.ep-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* 正在播放的小跳动条 */
.ep-playing { display: inline-flex; align-items: flex-end; gap: 1px; height: 10px; flex-shrink: 0; }
.ep-playing i { display: block; width: 2px; background: currentColor; animation: epbar 0.9s ease-in-out infinite; }
.ep-playing i:nth-child(1) { height: 40%; }
.ep-playing i:nth-child(2) { height: 100%; animation-delay: 0.2s; }
.ep-playing i:nth-child(3) { height: 70%; animation-delay: 0.4s; }
@keyframes epbar { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .ep-playing i { animation: none; } }

/* 收起：3 行（40 × 3 ＋ 间距 10 × 2） */
.playlist-episodes.episodes-collapsed { max-height: 140px; overflow: hidden; }
.episode-more-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  height: 36px;
  margin-top: 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-1);
  font-size: 13px;
  text-align: center;
}
.episode-more-trigger:hover { color: var(--active); }

@media (max-width: 767px) {
  .playlist-sources { margin-top: 12px; gap: 8px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .pl-source-tab { flex-shrink: 0; min-width: 96px; height: 32px; padding: 0 12px; }
  .playlist-episodes { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
  .episode-btn { height: 36px; font-size: 13px; }
  /* 收起：3 行（36 × 3 ＋ 8 × 2） */
  .playlist-episodes.episodes-collapsed { max-height: 124px; }
  .ep-playing { display: none; }   /* 窄格子里会把集名挤成「第0…」，当前集已有金底标示 */
}

/* ---------- 简介展开（widget/desc_expand） ---------- */
.desc-body { font-size: 14px; line-height: 25px; color: var(--text-2); }
.desc-body p + p { margin-top: 6px; }
/* 收合态恰好两行（行高 25 × 2），不加渐隐遮罩——遮罩会把第二行淡化，看起来像只剩一行半 */
.desc-collapsed { max-height: 50px; overflow: hidden; }
.desc-collapsed p + p { margin-top: 0; }
.desc-expanded { max-height: none; -webkit-mask-image: none; mask-image: none; }
.desc-expand-btn { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; padding: 0; font-size: 14px; color: var(--text-2); background: none; border: 0; cursor: pointer; }
.desc-expand-btn:hover { color: var(--active); text-decoration: none; }

/* ---------- 评论（widget/comment ＋ comment/ajax；详情／播放／资讯详情共用） ---------- */
.cmt-total-label { margin-left: 4px; font-size: 14px; color: var(--text-2); }
.cmt-total-label em { font-style: normal; color: var(--active); }
/* 核心 home.css 给 .mac_comment 画了蓝框白底，这里还原成无框（跟页面底色） */
.mac_comment.cmt-ajax-wrap { margin: 0; padding: 0; border: 0; background: none; font-family: inherit; font-size: 14px; }
.cmt-loading,
.cmt-empty { padding: 30px 0; text-align: center; font-size: 14px; color: var(--text-3); }
.cmt-form { margin-bottom: 20px; }
.cmt-textarea {
  display: block;
  width: 100%;
  min-height: 100px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-input);
  color: var(--text-input);
  font: inherit;
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
  outline: none;
}
.cmt-textarea::placeholder { color: var(--text-3); }
.cmt-textarea:focus { border-color: var(--accent); }
.cmt-form-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.cmt-verify-row { display: flex; align-items: center; gap: 8px; }
.cmt-verify-input {
  width: 100px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: var(--bg-input);
  color: var(--text-input);
  font-size: 13px;
  outline: none;
}
.cmt-verify-input:focus { border-color: var(--accent); }   /* outline:none 之后要有替代的焦点样式（键盘用户看得到停在哪） */
.cmt-captcha-img { height: 34px; border-radius: var(--radius-sm); cursor: pointer; background: none; }
.cmt-form-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.cmt-remaining { font-size: 12px; color: var(--text-3); }
.cmt-remaining em { font-style: normal; color: var(--accent); }
.cmt-submit-btn {
  height: 36px;
  padding: 0 30px;
  border: 0;
  border-radius: var(--radius-btn);
  background: var(--accent-grad);
  color: var(--on-accent);
  font-size: 14px;
  cursor: pointer;
}
.cmt-submit-btn:hover { background: var(--accent); }

.cmt-list { margin: 0; padding: 0; list-style: none; }
.cmt-item { display: flex; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--border-row); }
.cmt-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: var(--on-accent);
  font-size: 16px;
}
.cmt-body { flex: 1; min-width: 0; }
.cmt-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.cmt-name,
.cmt-child-name { font-size: 14px; color: var(--text-1); }
.cmt-time { font-size: 12px; color: var(--text-3); }
.cmt-content { font-size: 14px; line-height: 1.7; color: var(--text-2); word-break: break-all; }
.cmt-item-reply-list { margin: 0; padding: 0; list-style: none; }
.cmt-child-item { margin-top: 10px; padding: 10px 12px; border-radius: var(--radius); background: var(--bg-input); }
.cmt-child-item .cmt-time { margin-left: 8px; }
.cmt-actions { display: flex; gap: 16px; margin-top: 8px; }
.cmt-action-link { padding: 0; font-size: 12px; color: var(--text-3); background: none; border: 0; cursor: pointer; }
.cmt-action-link:hover { color: var(--active); }
/* E9：「回复／举报」字只有 12px，外框 24×20，手机不好点。用透明 ::after 往四周各外扩 7px，
   可点范围变 38×34（门槛 32），版面不动；两颗之间 gap 16，外扩后各占 7 不会互相盖到 */
.cmt-actions .cmt-action-link { position: relative; }
.cmt-actions .cmt-action-link::after { content: ""; position: absolute; inset: -7px; }
.cmt-paging { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; padding: 20px 0 0; }
.cmt-page-btn {
  min-width: 40px;
  height: 38px;
  padding: 0 15px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: none;
  color: var(--text-2);
  font-size: 14px;
  cursor: pointer;
}
.cmt-page-btn:hover { border-color: var(--active); }
.cmt-page-btn.is-active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.cmt-page-btn.is-disabled { opacity: 0.6; pointer-events: none; }

/* ---------- 分享弹窗（widget/share_modal；详情／播放／下载共用） ---------- */
.share-modal { display: none; position: fixed; inset: 0; z-index: 1200; align-items: center; justify-content: center; }
.share-modal.is-open { display: flex; }
.share-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.5); }
.share-popup {
  position: relative;
  width: 360px;
  max-width: calc(100vw - 30px);
  padding: 20px;
  border-radius: var(--radius);
  background: var(--bg-drop);
  box-shadow: var(--shadow-drop);
}
.share-popup-close { position: absolute; top: 10px; right: 12px; font-size: 22px; line-height: 1; color: var(--text-3); background: none; border: 0; cursor: pointer; }
.share-popup-close:hover { color: var(--text-1); }
.share-popup-title { margin: 0 0 15px; font-size: 18px; font-weight: 400; color: var(--text-title); }
.share-popup-icons { display: flex; gap: 20px; margin-bottom: 15px; }
.spi { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2); }
.spi-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: var(--on-accent);
  font-size: 16px;
}
.spi:hover { color: var(--active); }
.share-popup-hint { margin-bottom: 8px; font-size: 12px; color: var(--text-2); }
.share-popup-link {
  display: block;
  width: 100%;
  height: 60px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  color: var(--text-input);
  font: inherit;
  font-size: 12px;
  resize: none;
  outline: none;
}
.share-popup-link:focus { border-color: var(--accent); }
.share-popup-copy {
  display: block;
  width: 100%;
  height: 36px;
  margin-top: 10px;
  border: 0;
  border-radius: var(--radius-btn);
  background: var(--accent-grad);
  color: var(--on-accent);
  font-size: 14px;
  cursor: pointer;
}

/* ---------- 侧栏专题（widget/topic_side） ---------- */
.topic-side-block { margin-top: var(--section-gap); }
.topic-side-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px 15px; margin: 0; padding: 0; list-style: none; }
.topic-side-list > li { display: flex; min-width: 0; }
.topic-side-list > li > .topic-card { flex: 1; min-width: 0; }
.topic-side-list .topic-card-title { font-size: 13px; line-height: 20px; }
.topic-side-list .topic-card-blurb { display: none; }
.topic-side-list .topic-card-count b { font-size: 20px; }

/* 页面顶部的面包屑与下一块之间的间距（资讯／专题／排行等无 Hero 的页面） */
.art-content > .art-breadcrumb,
.art-layout > .art-breadcrumb,
.topic-wrap > .art-breadcrumb,
.rank-wrap > .art-breadcrumb,
.gbook-container .art-breadcrumb,
.plot-container > .art-breadcrumb,
.search-wrap > .art-breadcrumb { margin-bottom: 15px; }

/* ---------- 横向可滑的列：渐隐提示（header.js 依捲动位置切 .is-hscroll-l／-r；放得下时两个都不加） ---------- */
.is-hscroll-r {
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent 100%);
          mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent 100%);
}
.is-hscroll-l {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 32px);
          mask-image: linear-gradient(to right, transparent 0, #000 32px);
}
.is-hscroll-l.is-hscroll-r {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
}

/* ---------- 手机点击范围：小按钮用透明 ::after 往外撑，外观与排版不变（2026-10-14 RWD 检查） ----------
   每个外扩量依 375 宽实测的「与相邻可点元素间距」决定，相邻两颗各撑一半以内，不会互相抢点击：
   （tp43 顶栏图示已是 40×40、Hero 改左右钮 32×32，不再外扩）书签／分享 28×28→44×40（间距 20、上方 8）、
   倒序 46×28→62×40（下方 14）、播放页简介展开 16×22→40×40、展开全部简介 102×20→102×40、
   迅雷下载等 60×25→66×41（间距 6）、迅雷批量下载 78×18→88×40（左邻 10） */
@media (max-width: 767px) {
  .playlist-hd .pl-sort-btn,
  .play-desc .play-desc-more,
  .desc-expand-btn,
  .di-actions .di-btn,
  .down-main .di-batch-btn,
  .search-result-tip .tip-link { position: relative; }

  .playlist-hd .pl-sort-btn::after,
  .play-desc .play-desc-more::after,
  .desc-expand-btn::after,
  .di-actions .di-btn::after,
  .down-main .di-batch-btn::after,
  .search-result-tip .tip-link::after { content: ''; position: absolute; }

  .playlist-hd .pl-sort-btn::after { inset: -6px -8px; }
  .play-desc .play-desc-more::after   { inset: -9px -12px; }
  .desc-expand-btn::after             { inset: -10px 0; }
  .di-actions .di-btn::after          { inset: -8px -3px; }
  .down-main .di-batch-btn::after     { inset: -11px -5px; }
  .search-result-tip .tip-link::after { inset: -6px -6px; }   /* 搜索无结果的「留言」26×22→38×34，行内没有其他可点元素 */
}
