/* ==========================================================================
   Prism 结构层（tc-base.css）
   --------------------------------------------------------------------------
   职责：设计令牌 + 通用组件 + 全站双栏骨架
   不含：页面专属骨架（在 tp.css，tp- 命名空间）
   不含：主题身份的最终覆写（在 tp.css 的 :root）

   【线条纪律 · 本模板的核心设计约束】
   反面教材：ember / slate（slate.css 有 177 条方向性边线、134 处 1px solid）
   本模板规则：
     ① 内容行之间禁止 border-top / border-bottom 分割线 —— 用间距 + hover 面变色区分
     ② 板块标题禁止 2px 下划线 —— 用字号/字重/字色建立层级
     ③ 禁止发丝线栅格（gap:1px + 容器背景色那种手法）
     ④ border 只允许出现在「可交互控件」上（按钮 / 输入框 / 分页 / 选中态）
     ⑤ 层级一律用三层手段建立：面色调（surface 1→2→3）→ 柔和投影 → 圆角
   计数基线：border 声明 ≤ 60 条（现网最干净的 vesper 为 104 条）
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 设计令牌（26 条基准 + 扩展）
   注意：--tc-gap-block 在本层与 tp.css 主题层【两层都定义】（房规要求）
   -------------------------------------------------------------------------- */
:root {
    /* 面：冷纸青系 —— 偏青灰的纸面，与暖米家族拉开辨识度 */
    --tc-bg: #f3f5f2;
    --tc-bg-deep: #e4e9e4;
    --tc-surface-1: #ffffff;
    --tc-surface-2: #f7f9f6;
    --tc-surface-3: #edf0ec;

    /* 线：仅用于可交互控件，不用于内容分割 */
    --tc-line: #cfd6d1;
    --tc-line-soft: #e2e6e2;

    /* 字：墨色泛青 */
    --tc-text: #1b2321;
    --tc-text-soft: #46504c;
    --tc-text-muted: #87928c;

    /* 强调：孔雀青骢 */
    --tc-accent: #0e8f7f;
    --tc-accent-strong: #0a6e61;
    --tc-accent-ink: #ffffff;
    --tc-accent-soft: rgba(14, 143, 127, .1);
    --tc-accent-soft-strong: rgba(14, 143, 127, .2);

    /* 语义 */
    --tc-success: #0e8f7f;
    --tc-warning: #a8720a;
    --tc-danger: #bf4138;

    /* 容器 */
    --tc-shell: 1460px;
    --tc-gutter: clamp(12px, 2.6vw, 36px);

    /* 圆角：收紧的利落观感（青骢气质：紧而挺） */
    --tc-radius-sm: 6px;
    --tc-radius-md: 10px;
    --tc-radius-lg: 14px;
    --tc-radius-xl: 20px;

    /* 投影：本模板用来「代替线条」的核心手段，必须成套使用 */
    --tc-shadow-sm: 0 1px 2px rgba(27, 35, 33, .04), 0 2px 8px rgba(27, 35, 33, .05);
    --tc-shadow-md: 0 2px 4px rgba(27, 35, 33, .04), 0 10px 26px rgba(27, 35, 33, .07);
    --tc-shadow-lg: 0 4px 10px rgba(27, 35, 33, .05), 0 26px 60px rgba(27, 35, 33, .11);

    /* 页脚：深骢青三段渐变 + 亮青点缀 */
    --tc-footer-bg: linear-gradient(168deg, #16241f 0%, #101b17 52%, #0b1411 100%);
    --tc-footer-ink: #d9e4df;
    --tc-footer-muted: #8fa39b;
    --tc-footer-accent: #35b3a2;
    --tc-footer-line: rgba(217, 228, 223, .14);

    /* 字体 */
    --tc-display: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
    --tc-body: var(--tc-display);

    /* 缓动 */
    --tc-ease: cubic-bezier(.22, .61, .36, 1);

    /* 间距主轴（两层都定义，见 tp.css :root 的同名覆写） */
    --tc-gap-block: clamp(16px, 1.7vw, 24px);
    --tc-gap-inline: clamp(12px, 1.3vw, 18px);

    /* 布局尺寸 */
    --tc-header-h: 62px;
    /* 播放器高度（≥1024 生效；≤1023.98 播放器走 16:9 比例，本值不生效）
       ⚠️ 必须做成令牌而不是写死在 .tc-player-box 上：
          播放页的「左播放器 / 右速览」要严格等高，靠的是
          .tp-play__top 的 grid-template-rows 引用【同一个值】。
          两处各写一遍 clamp(...) 迟早会改一处忘一处 —— 等高就悄悄失效了（不报错、无日志）。 */
    --tc-player-h: clamp(460px, 36vw, 560px);

    /* 页内锚点补偿：顶栏是 sticky 的，跳转目标要落到它【下方】而不是被它盖住。
       值 = 顶栏高度 + 呼吸位；所有 scroll-margin-top 一律引用本令牌（禁止再写裸值） */
    --tc-anchor-offset: calc(var(--tc-header-h) + 16px);
}

@media (max-width: 767.98px) {
    :root {
        --tc-gap-block: 14px;
        --tc-gap-inline: 10px;
        --tc-radius-lg: 16px;
        --tc-radius-xl: 20px;
        /* 移动端顶栏是两行制（见第 5 节媒体查询）：
           总高 = --tc-header-h(62) + row-gap(10) + 搜索行(44) + padding-bottom(12) = 128，
           再 + 16 呼吸位。四个数字与顶栏块一一对应，改那边必须同步这里，
           否则 #tc-episodes / 简介锚点跳转会藏到吸顶顶栏后面（不报错、肉眼才会发现） */
        --tc-anchor-offset: calc(var(--tc-header-h) + 10px + 44px + 12px + 16px);
    }
}

/* --------------------------------------------------------------------------
   2. 基础排版与页面底色
   （图标尺寸类见本节末：.tc-ico / .tc-ico--sm / .tc-ico--lg）
   -------------------------------------------------------------------------- */
body {
    min-height: 100vh;
    background: var(--tc-bg);
    color: var(--tc-text);
    font-family: var(--tc-body);
    font-size: 14px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    /* 移动端抽屉开启时的滚动锁（JS 切 html.tc-lock） */
}

/* 页内锚点（详情页/播放页的「选集 · 简介」）平滑滚动。
   必须写在 html 上：写在 body 或滚动容器上对 window 滚动无效。
   ⚠️ 顶栏是 sticky 的 → 光有平滑滚动还不够，目标元素本身要带 scroll-margin-top
      （见令牌 --tc-anchor-offset 与 .tc-episodes / .tp-*-story 的登记处） */
html { scroll-behavior: smooth; }

html.tc-lock,
html.tc-lock body {
    overflow: hidden;
    overscroll-behavior: contain;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .18s var(--tc-ease), background-color .18s var(--tc-ease);
}

h1, h2, h3, h4 {
    font-family: var(--tc-display);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.01em;
}

/* 正文阅读块（.tc-copy）的唯一定义在第 13 节「面板」里 ——
   此处原本还有一份 .tc-copy（max-width:76ch + 14.5px），与那份字号/行高互相覆盖，
   两份并存的净效果是「宽 76ch、字号 14px」：播放页/详情页的剧情简介只占半栏。
   已合并到第 13 节，宽度限制取消（需求方明确要求简介铺满面板）。 */

.tc-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

:focus-visible {
    outline: 2px solid var(--tc-accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* 图标尺寸（替代写内联 style="width:16px;height:16px;fill:currentColor"）
   ⚠️ 模板里一律不写内联样式 —— 尺寸也走类 */
.tc-ico { width: 16px; height: 16px; flex: 0 0 auto; fill: currentColor; }
.tc-ico--sm { width: 15px; height: 15px; }

/* --------------------------------------------------------------------------
   3. 容器
   标准写法：min(calc(100% - gutter*2), shell)，不用视口百分比（noir 的教训）
   -------------------------------------------------------------------------- */
.tc-shell {
    width: min(calc(100% - (var(--tc-gutter) * 2)), var(--tc-shell));
    margin-inline: auto;
}

@media (max-width: 767.98px) {
    .tc-shell {
        width: min(calc(100% - 24px), var(--tc-shell));
    }
}

/* --------------------------------------------------------------------------
   4. 页面纵向节奏
   ⚠️ 首页/栏目页/详情页/播放页的根元素都只包一层 .tc-shell，
      板块间距必须落在 .tc-shell 上（写在 tp- 根上只有一个子元素 = 等于没写）。
      具体规则见 tp.css 第 3.0b 节（那一份是唯一定义处，这里只留指针）。
   ⚠️ 2026-09-15 起首页【不再有左侧常驻频道栏】：频道菜单上移到顶栏
      （全站导航，见 widget/channel_nav.html），正文随之变成通栏单列。
      原先的 .tc-layout / .tc-layout__side / --tc-rail-w 三件套已整体删除 ——
      留着会诱导后来者把某页改回双栏，而菜单已经不在那里了。
   -------------------------------------------------------------------------- */


/* --------------------------------------------------------------------------
   5. 顶部栏
   ⚠️ 不含 border-bottom：用投影 + 底色差与内容分层
   -------------------------------------------------------------------------- */
.tc-header {
    position: sticky;
    top: 0;
    z-index: 40;
    /* 不用 color-mix()：兼容性不稳（房规）。用 rgba 叠暖白底 */
    background: rgba(250, 248, 244, .9);
    backdrop-filter: saturate(1.4) blur(14px);
    box-shadow: var(--tc-shadow-sm);
    transition: box-shadow .24s var(--tc-ease);
}
/* 吸附态：JS 只切 .is-stuck；视觉全在 CSS（房规第 ① 条）
   已吸附时加一档投影 —— 用阴影而非 border-bottom（线条纪律） */
.tc-header.is-stuck { box-shadow: var(--tc-shadow-md); }

.tc-header__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: var(--tc-header-h);
}

.tc-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    min-height: 44px;
}
.tc-brand__logo { height: 30px; width: auto; }

/* 品牌 logo 兜底：<img> 加载失败时由 tc.js 摘掉 [hidden]，改显文字标识
   —— 替代内联 onerror + style="display:none"（本模板零内联样式/事件）
   ⚠️ 必须显式写 [hidden]：这两个类自带 display，会盖掉 UA 的 [hidden]{display:none} */
.tc-brand__logo[hidden],
.tc-brand__fallback[hidden],
.tc-auth__logo[hidden],
.tc-auth__fallback[hidden] { display: none; }
.tc-brand__fallback { display: inline-flex; align-items: center; gap: 9px; }
.tc-brand__mark {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(140deg, var(--tc-accent), var(--tc-accent-strong));
    color: var(--tc-accent-ink);
    font-size: 15px;
    font-weight: 700;
}
.tc-brand__copy { display: grid; line-height: 1.25; }
.tc-brand__copy strong { font-size: 15px; font-weight: 700; }
.tc-brand__copy small { color: var(--tc-text-muted); font-size: 11px; }

/* 搜索（控件，允许描边）
   ⚠️ 尺寸口径 = 右侧动作组内的「定宽 + 可收缩」，不是 flex:1。
      顶栏信息架构是「左品牌 / 右（搜索 + 账号）」：搜索框能贴到用户图标左边，
      靠的是定宽 + 动作组自身的 margin-left:auto。
      一旦改回 flex:1 1 auto，它会重新吃满品牌与动作组之间的空白 → 视觉上又贴回 logo。 */
.tc-search {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 1 auto;
    width: min(340px, 32vw);
    padding: 0 6px 0 12px;
    min-height: 42px;
    border: 1px solid var(--tc-line);
    border-radius: 999px;
    background: var(--tc-surface-1);
    transition: border-color .18s var(--tc-ease), box-shadow .18s var(--tc-ease);
}
.tc-search:focus-within {
    border-color: var(--tc-accent);
    box-shadow: 0 0 0 3px var(--tc-accent-soft);
}
.tc-search svg { width: 17px; height: 17px; flex: 0 0 auto; stroke: var(--tc-text-muted); fill: none; stroke-width: 2; }
.tc-search input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: none;
    color: var(--tc-text);
    font-size: 13.5px;
    min-height: 40px;
}
.tc-search input:focus { outline: none; }
.tc-search input::placeholder { color: var(--tc-text-muted); }
.tc-search button {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: var(--tc-accent);
    color: var(--tc-accent-ink);
    font-size: 13px;
    cursor: pointer;
}
.tc-search button:hover { background: var(--tc-accent-strong); }

/* 顶栏主菜单挂载点
   ≥1024：展开成横排菜单（见第 6 节的桌面形态）
   <1024：频道菜单整棵被 tc.js 搬进抽屉 —— 这里随之收起，
          否则空盒子仍会占用 .tc-header__inner 的 flex gap，把品牌与搜索推到两边 */
.tc-header__nav { display: none; }

.tc-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.tc-icon-action {
    display: inline-grid;
    place-items: center;
    /* ⚠️ 不可收缩：动作组里只有搜索框该让宽，图标被压扁会变成一条 19px 的细条 */
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    padding: 0;
    /* ⚠️ 抽屉按钮是 <button>，不清 UA 默认样式会漏出灰色硬底 + 描边
       （旁边的图标都是 <a> 没这个问题，于是只有菜单按钮「长毛边」） */
    border: 0;
    appearance: none;
    background: none;
    border-radius: 12px;
    color: var(--tc-text-soft);
    cursor: pointer;
    transition: background-color .18s var(--tc-ease), color .18s var(--tc-ease), transform .12s var(--tc-ease);
}
.tc-icon-action:hover { background: var(--tc-surface-2); color: var(--tc-text); }
.tc-icon-action:active { transform: scale(.94); }
.tc-icon-action svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; }

/* 抽屉触发按钮：升一档做「小卡片」—— 白底 + 柔和投影（模板的分层手段），
   不加 border（线条纪律）。它是移动端唯一常驻的菜单入口，值得比普通图标醒目 */
.tc-header [data-tc-drawer-open] {
    background: var(--tc-surface-1);
    box-shadow: var(--tc-shadow-sm);
}
.tc-header [data-tc-drawer-open]:hover { background: var(--tc-surface-2); }

/* 窄屏搜索入口（默认不显示，见下方断点）
   ⚠️ 必须写在 .tc-icon-action 之后：同为单类选择器，靠源码顺序决定 display 归属 */
.tc-header__searchlink { display: none; }

@media (max-width: 1279.98px) and (min-width: 1024px) {
    /* 1024~1279.98：顶栏要同时塞下「品牌 + 横排频道菜单 + 动作组」，
       完整搜索框（340px）会溢出 → 该区间退化成搜索图标入口。
       ⚠️ 区间两端都要写：≥1280 恢复完整搜索框；≤1023.98 顶栏没有横排菜单、
          中间反而放得下输入框（保持原有形态，不要顺手改成「≤1279.98 全隐藏」） */
    .tc-search { display: none; }
    .tc-header__searchlink { display: inline-grid; }
}
@media (max-width: 767.98px) {
    /* ≤767.98：顶栏两行制 —— 第 1 行「品牌 + 用户 + 抽屉」，第 2 行通栏搜索框。
       手机不再退化为图标入口：搜索是高频动作，真输入框常驻比跳搜索页少一步
       （1024~1279.98 的图标入口不变，那个区间是「放不下」，不是「不需要」）。
       做法：actions 用 display:contents 解散，图标与搜索框各自成为网格项；
       第 2 列留 1fr 空轨把图标推到右缘（display:contents 后 actions 的
       margin-left:auto 随盒子一起消失，不能再靠它右对齐）。
       ⚠️ 用户图标是条件渲染（user.status）：用 nth-last-child 从右往左定位 ——
          它在不在，抽屉按钮都贴右缘（col 4），不会空出一列错位。
       ⚠️ 搜索框规则必须带 .tc-header 前缀：.tc-search 同时是搜索页表单的类，
          那边的宽度/高度由 .tp-search__form 自己管，不能被顶栏规则波及。
       ⚠️ 本块的高度数字（row-gap 10 + 搜索行 44 + padding-bottom 12）与上方
          --tc-anchor-offset 的移动端覆写一一对应，改这里必须同步令牌。 */
    .tc-header__inner {
        display: grid;
        grid-template-columns: auto 1fr auto auto;
        grid-template-rows: var(--tc-header-h) auto;
        align-items: center;
        gap: 10px 8px;
        padding-bottom: 12px;
    }
    .tc-header__actions { display: contents; }
    .tc-brand { grid-row: 1; grid-column: 1; }
    .tc-header .tc-icon-action { grid-row: 1; }
    .tc-header .tc-header__searchlink { display: none; }
    .tc-header .tc-icon-action:nth-last-child(2) { grid-column: 3; }
    .tc-header .tc-icon-action:last-child { grid-column: 4; }
    .tc-header .tc-search {
        grid-row: 2;
        grid-column: 1 / -1;
        width: 100%;
        min-height: 44px;
    }
    /* <16px 的输入框在 iOS 聚焦时会触发整页自动放大 */
    .tc-header .tc-search input { font-size: 16px; }
    .tc-brand__copy small { display: none; }
}
@media (min-width: 1024px) {
    /* 桌面端频道菜单常驻顶栏，抽屉按钮冗余 → 隐藏（与 JS 的 1024 断点严格配对） */
    .tc-header [data-tc-drawer-open] { display: none; }
}

/* --------------------------------------------------------------------------
   6. 频道菜单（顶栏主菜单 / 抽屉频道树 —— 同一个组件的两种形态）
   --------------------------------------------------------------------------
   形态全部由 CSS 决定，JS 只做两件事：把菜单「搬进/搬出抽屉」、切 data-open：
     · 本节基础规则 = 竖排折叠形态 → <1024px 的移动端抽屉（菜单被 JS 搬进去）
     · 本节末的 ≥1024px 媒体查询 = 顶栏横排 + 悬停下拉浮层
   两种形态共用同一份 DOM，子分类只写一次，不存在「顶栏一份、抽屉一份」的数据漂移。
   ⚠️ .tc-nav / .tc-header__nav 及其所有祖先【禁止 overflow: hidden / auto / scroll】：
      桌面形态的浮层是 .tc-nav__item 的绝对定位子元素，祖先一裁切浮层就被切掉
      （不报错、无日志，只能在浏览器里肉眼发现）。
   -------------------------------------------------------------------------- */
.tc-nav { display: grid; gap: 2px; }

.tc-nav__list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }

/* 同理不要给 __item 加 overflow：桌面浮层挂在它下面 */
.tc-nav__item { display: grid; }

.tc-nav__row { display: flex; align-items: center; }

.tc-nav__link {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 44px;
    padding: 0 10px;
    border-radius: var(--tc-radius-sm);
    font-size: 14px;
    color: var(--tc-text-soft);
}
.tc-nav__link:hover { background: var(--tc-surface-2); color: var(--tc-text); }
.tc-nav__link.is-active {
    background: var(--tc-accent-soft);
    color: var(--tc-accent-strong);
    font-weight: 600;
}

/* 子分类（竖排形态）：CSS 负责 grid-template-rows 过渡，JS 只切 data-open */
.tc-nav__sub {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .26s var(--tc-ease);
}
.tc-nav__item[data-open="1"] .tc-nav__sub { grid-template-rows: 1fr; }
.tc-nav__panel { min-height: 0; overflow: hidden; }
.tc-nav__panel nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px 10px 10px 26px;
}
.tc-nav__panel nav a {
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--tc-surface-2);
    color: var(--tc-text-soft);
    font-size: 12.5px;
}
.tc-nav__panel nav a:hover,
.tc-nav__panel nav a.is-active { background: var(--tc-accent-soft); color: var(--tc-accent-strong); }

.tc-nav__toggle {
    display: inline-grid;
    place-items: center;
    /* ⚠️ 不可收缩：flex 行里少了这条，caret 会被压成比图标还窄的一条细线 */
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    margin-left: 2px;
    border: 0;
    border-radius: 8px;
    background: none;
    color: var(--tc-text-muted);
    cursor: pointer;
}
.tc-nav__toggle:hover { background: var(--tc-surface-2); color: var(--tc-text); }
.tc-nav__toggle svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; transition: transform .26s var(--tc-ease); }
.tc-nav__item[data-open="1"] .tc-nav__toggle svg { transform: rotate(90deg); }

/* 桌面形态：常驻顶栏，一级条目横排；子分类从折叠条改成下拉浮层 */
@media (min-width: 1024px) {
    .tc-header__nav {
        display: flex;
        align-items: center;
        flex: 0 1 auto;
        min-width: 0;
    }
    .tc-nav { display: flex; align-items: center; }
    .tc-nav__list { display: flex; align-items: center; gap: 2px; }
    /* ⚠️ 条目必须自建定位上下文：
       浮层是绝对定位的，若条目没有 position，它就会去找最近的已定位祖先 ——
       最终落到 .tc-header（sticky 也算已定位）上 → left:50% 变成「顶栏正中」，
       浮层跑到页面中间去，跟触发它的那个频道完全错位（实测浮层中心 529px vs 条目中心 218px）。
       height 取满顶栏高度，是为了让 top:100% 正好等于顶栏下沿，
       否则 top:100% = 条目下沿（38px 高、垂直居中 → 50px），浮层会压进顶栏里。 */
    .tc-nav__item { position: relative; height: var(--tc-header-h); }
    .tc-nav__link {
        flex: 0 0 auto;
        min-height: 38px;
        padding: 0 11px;
        border-radius: 999px;
        white-space: nowrap;
    }
    .tc-nav__toggle { width: 22px; height: 22px; margin-left: -4px; border-radius: 6px; }

    /* 浮层：条目正下方居中。
       ⚠️ 这里的 padding-top 既是视觉间距、也是「hover 桥」——鼠标从条目移到卡片要经过这段，
          若改成 top: calc(100% + 8px)，指针在缝隙里会丢掉 :hover，浮层还没到手就关了。
          卡片外观放在 .tc-nav__panel 上，桥自身保持透明。 */
    .tc-nav__sub {
        position: absolute;
        top: 100%;
        left: 50%;
        display: block;
        /* ⚠️ 必须显式给宽度：绝对定位元素的默认宽度是「收缩到可用空间」，
           而这里的包含块已经变成一级条目本身（宽约 80px）→ 浮层被压成 ~34px 宽，
           里面的 3 列网格跟着塌掉，文字全挤成一竖条。
           max-width 兜住「子分类特别多 / 视口特别窄」时的横向溢出。 */
        width: max-content;
        max-width: min(520px, calc(100vw - 24px));
        grid-template-rows: none;
        padding-top: 10px;
        opacity: 0;
        visibility: hidden;
        transform: translate(-50%, 6px);
        transition: opacity .18s var(--tc-ease), transform .18s var(--tc-ease), visibility .18s;
    }
    /* 三种触发：悬停 / 键盘聚焦 / 点击 caret。
       ⚠️ aria-expanded 只跟随「点击」那条路径（CSS 悬停写不进 aria）——
          这是悬停下拉菜单的固有取舍，别为了对齐 aria 把悬停删掉。 */
    .tc-nav__item:hover > .tc-nav__sub,
    .tc-nav__item:focus-within > .tc-nav__sub,
    .tc-nav__item[data-open="1"] > .tc-nav__sub {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
    }
    .tc-nav__panel {
        overflow: visible;
        padding: 10px;
        border-radius: var(--tc-radius-md);
        background: var(--tc-surface-1);
        box-shadow: var(--tc-shadow-md);
    }
    .tc-nav__panel nav {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 4px;
        padding: 0;
    }
    .tc-nav__panel nav a { text-align: center; white-space: nowrap; }

    /* 箭头：顶栏常显「向下」（基座图标是右向 chevron → +90°），展开时翻成向上 */
    .tc-nav__toggle svg { transform: rotate(90deg); }
    .tc-nav__item:hover .tc-nav__toggle svg,
    .tc-nav__item:focus-within .tc-nav__toggle svg,
    .tc-nav__item[data-open="1"] .tc-nav__toggle svg { transform: rotate(-90deg); }
}

/* --------------------------------------------------------------------------
   7. 板块（section）
   ⚠️ 无 border-top 分隔 —— 靠 --tc-gap-block 的留白分层
   -------------------------------------------------------------------------- */
.tc-section { display: grid; gap: 14px; }

.tc-section__head {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 32px;
}
.tc-section__head h2,
.tc-section__head h3 {
    font-size: 18px;
    font-weight: 700;
}
.tc-section__head em {
    font-style: normal;
    font-size: 12.5px;
    color: var(--tc-text-muted);
}
.tc-section__head .tc-section__more {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--tc-accent-strong);
    white-space: nowrap;
}
.tc-section__head .tc-section__more:hover { gap: 8px; }

/* 板块头可选的小色块（替代线条的层级手段） */
.tc-section__dot {
    flex: 0 0 auto;
    width: 4px;
    height: 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--tc-accent), var(--tc-accent-strong));
}

/* --------------------------------------------------------------------------
   8. 影片卡片（青骢掠影签名：鬃流带 + 掠光 + 圆盘评分 + 蹄印标题）
   ⚠️ 卡片本体不加 border：靠 surface 差 + 投影浮起
   ⚠️ 悬停不做位移 / 缩放（青骢气质：紧而挺，动效只走「显现」）
   -------------------------------------------------------------------------- */
.tc-vod-card {
    position: relative;
    min-width: 0;
    border-radius: var(--tc-radius-md);
    background: var(--tc-surface-1);
    box-shadow: var(--tc-shadow-sm);
    transition: box-shadow .22s var(--tc-ease);
}
.tc-vod-card:hover { box-shadow: var(--tc-shadow-md); }
.tc-vod-card > a { display: block; padding: 8px; }

.tc-vod-card__pic {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: calc(var(--tc-radius-md) - 5px);
    background: var(--tc-surface-3);
    aspect-ratio: 2 / 3;
}
.tc-vod-card__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* 鬃流带：海报顶缘的孔雀青圆鳞边，悬停时从上方滑入 */
.tc-vod-card__pic::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    height: 24px;
    background:
        radial-gradient(circle at 12px 24px, rgba(0, 0, 0, 0) 11px, var(--tc-accent) 11.5px) 0 0 / 24px 24px repeat-x,
        linear-gradient(var(--tc-accent), var(--tc-accent)) 0 0 / 100% 13px no-repeat;
    opacity: 0;
    transform: translateY(-102%);
    transition: transform .3s var(--tc-ease), opacity .3s var(--tc-ease);
    pointer-events: none;
}
.tc-vod-card:hover .tc-vod-card__pic::before { opacity: 1; transform: translateY(0); }

/* 掠光：一道斜向光带单次扫过封面 */
.tc-vod-card__pic::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: -12%;
    bottom: -12%;
    left: -30%;
    width: 38%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .26), transparent);
    transform: translateX(-130%) skewX(-14deg);
    transition: transform .55s var(--tc-ease);
    pointer-events: none;
}
.tc-vod-card:hover .tc-vod-card__pic::after { transform: translateX(440%) skewX(-14deg); }

/* 封面角标只允许两种：右下「已完结」+ 右上评分。
   ⚠️ 曾经的第三个角标 .tc-vod-card__serial（左上序号）已被需求方否决并删除 ——
      编号是纯装饰、翻页就变，且在 6 列网格里跟另外两个角标挤同一块画面。
      不要再加回第三个角标（比如"更新至N集"），空间不够时优先动文案而不是加角标。 */
.tc-vod-card__note,
.tc-vod-card__score {
    position: absolute;
    z-index: 3;
    font-size: 11.5px;
    line-height: 1;
}
.tc-vod-card__note {
    left: 6px;
    bottom: 6px;
    max-width: calc(100% - 12px);
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(20, 26, 22, .62);
    color: #f4f7f4;
    backdrop-filter: blur(6px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* 评分：深青圆盘 + 白环（圆盘直径 34px，是卡片的第一识别物） */
.tc-vod-card__score {
    right: 8px;
    top: 8px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 50%;
    background: var(--tc-accent-strong);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .92), 0 2px 8px rgba(10, 110, 97, .38);
}

/* 蹄印：悬停时标题前滑入三点青色蹄印 */
.tc-vod-card__body { display: grid; gap: 3px; padding: 9px 4px 5px; }
.tc-vod-card__body h3 {
    font-size: 13.5px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .22s var(--tc-ease);
}
.tc-vod-card__body h3::before {
    content: "";
    display: inline-block;
    width: 13px;
    height: 10px;
    margin-right: 4px;
    background: radial-gradient(circle, var(--tc-accent) 1.5px, transparent 2px) 0 0 / 5px 5px;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity .22s var(--tc-ease), transform .22s var(--tc-ease);
}
.tc-vod-card:hover .tc-vod-card__body h3 { color: var(--tc-accent-strong); }
.tc-vod-card:hover .tc-vod-card__body h3::before { opacity: 1; transform: translateX(0); }
.tc-vod-card__body p {
    font-size: 12px;
    color: var(--tc-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   9. 按钮 / 操作
   可交互控件允许描边（线条纪律第 ④ 条）
   -------------------------------------------------------------------------- */
.tc-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: var(--tc-accent);
    color: var(--tc-accent-ink);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .18s var(--tc-ease), transform .18s var(--tc-ease);
}
.tc-action:hover { background: var(--tc-accent-strong); }
.tc-action:active { transform: scale(.985); }

.tc-action--ghost {
    background: var(--tc-surface-1);
    color: var(--tc-text);
    border: 1px solid var(--tc-line);
}
.tc-action--ghost:hover { background: var(--tc-surface-2); border-color: var(--tc-text-muted); }

.tc-action--soft { background: var(--tc-accent-soft); color: var(--tc-accent-strong); }
.tc-action--soft:hover { background: var(--tc-accent-soft-strong); }

/* 通用横向排布（按钮组 / 标签组 / 并排卡片） */
.tc-cluster { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tc-cluster--top { align-items: flex-start; }

/* --------------------------------------------------------------------------
   10. 徽标 / 胶囊
   -------------------------------------------------------------------------- */
.tc-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--tc-surface-2);
    color: var(--tc-text-soft);
    font-size: 12.5px;
}
.tc-chip:hover { background: var(--tc-accent-soft); color: var(--tc-accent-strong); }
.tc-chip--solid { background: var(--tc-accent); color: var(--tc-accent-ink); }
.tc-chip--outline { background: transparent; box-shadow: inset 0 0 0 1px var(--tc-line); }

.tc-taglist { display: flex; flex-wrap: wrap; gap: 6px; }

/* --------------------------------------------------------------------------
   11. 表单（控件，允许描边）
   -------------------------------------------------------------------------- */
.tc-form { display: grid; gap: 14px; }
.tc-field { display: grid; gap: 6px; }
.tc-field > label,
.tc-field > span.tc-field__label { font-size: 12.5px; color: var(--tc-text-soft); }
.tc-field input[type="text"],
.tc-field input[type="password"],
.tc-field input[type="email"],
.tc-field input[type="tel"],
.tc-field input[type="number"],
.tc-field input[type="search"],
.tc-field textarea,
.tc-field select {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid var(--tc-line);
    border-radius: var(--tc-radius-sm);
    background: var(--tc-surface-1);
    color: var(--tc-text);
    font-size: 14px;
    transition: border-color .18s var(--tc-ease), box-shadow .18s var(--tc-ease);
}
.tc-field textarea { min-height: 110px; resize: vertical; line-height: 1.7; }
.tc-field input:focus,
.tc-field textarea:focus,
.tc-field select:focus {
    outline: none;
    border-color: var(--tc-accent);
    box-shadow: 0 0 0 3px var(--tc-accent-soft);
}
/* --------------------------------------------------------------------------
   12. 分页（控件）
   -------------------------------------------------------------------------- */
.tc-pagination { display: grid; gap: 10px; }
.tc-pagination__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.tc-pagination__row a,
.tc-pagination__row span.tc-pagination__meta {
    display: inline-grid;
    place-items: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid var(--tc-line);
    border-radius: 12px;
    background: var(--tc-surface-1);
    font-size: 13px;
}
.tc-pagination__row a:hover { border-color: var(--tc-accent); color: var(--tc-accent-strong); }
.tc-pagination__row a.active {
    border-color: var(--tc-accent);
    background: var(--tc-accent);
    color: var(--tc-accent-ink);
    font-weight: 600;
}
.tc-pagination__meta { color: var(--tc-text-muted); border-style: dashed !important; }
.tc-pagination__compact { min-width: 110px !important; }
/* 桌面/移动两套 DOM 并存（房规：改样式要两边一起） */
.tc-pagination__mobile { display: none; }

@media (max-width: 767.98px) {
    .tc-pagination__desktop { display: none; }
    .tc-pagination__mobile { display: flex; }
}

/* --------------------------------------------------------------------------
   13. 面板（内容容器）
   -------------------------------------------------------------------------- */
.tc-panel {
    display: grid;          /* 面板内部自己管纵向节奏，调用方不用写 margin */
    gap: 12px;
    align-content: start;
    padding: clamp(14px, 1.5vw, 18px);
    border-radius: var(--tc-radius-lg);
    background: var(--tc-surface-1);
    box-shadow: var(--tc-shadow-sm);
}
.tc-panel--plain { background: var(--tc-surface-2); box-shadow: none; }

/* 正文阅读块：详情页与播放页共用（两页描述必须渲染成完全相同的 DOM）
   ⚠️ 不设 max-width —— 宽度由所在面板决定，铺满即可。
      旧版曾收敛到 76ch，在整幅面板里表现为「简介只占一半版面」（需求方已否决）。
      需要收窄的场合请在【调用方容器】上加宽度，不要回到这里加 max-width：
      否则播放页/详情页/资讯页会各自被裁一次，长短不一。 */
.tc-copy { font-size: 14px; line-height: 1.9; color: var(--tc-text-soft); overflow-wrap: anywhere; }
.tc-copy p + p { margin-top: 10px; }
.tc-copy img { max-width: 100%; height: auto; border-radius: var(--tc-radius-sm); }

/* --------------------------------------------------------------------------
   14. 空态
   -------------------------------------------------------------------------- */
.tc-empty {
    display: grid;
    place-items: center;
    gap: 8px;
    padding: clamp(40px, 6vw, 72px) 20px;
    border-radius: var(--tc-radius-lg);
    background: var(--tc-surface-2);
    text-align: center;
}
.tc-empty h2 { font-size: 16px; }
.tc-empty p { color: var(--tc-text-muted); font-size: 13.5px; }

/* --------------------------------------------------------------------------
   15. 紧凑页头 + 面包屑（项目级硬约定，见 skill §4.3）
   12.5px 字号 / 42px 条高 / 总占位 56px；禁止大字 Hero
   -------------------------------------------------------------------------- */
.tc-pagehead { padding-top: 4px; }

.tc-pagebar {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: var(--tc-radius-md);
    background: var(--tc-surface-1);
    box-shadow: var(--tc-shadow-sm);
}

.tc-pagebar__crumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--tc-text-muted);
    min-width: 0;
}
.tc-pagebar__crumb a { color: var(--tc-text-soft); }
.tc-pagebar__crumb a:hover { color: var(--tc-accent-strong); }
.tc-pagebar__crumb svg { width: 13px; height: 13px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2.2; opacity: .5; }
.tc-pagebar__crumb span[aria-current] {
    color: var(--tc-text);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tc-pagebar__side {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    min-width: 0;
}
.tc-pagebar__hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--tc-text-muted);
}
.tc-pagebar__hint b { color: var(--tc-text-soft); font-weight: 600; }
.tc-pagebar__hint i { font-style: normal; opacity: .45; }

/* 页头内的行内控件压到 28px */
.tc-pagebar__tabs { display: flex; gap: 4px; }
.tc-pagebar__tabs a {
    display: inline-grid;
    place-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--tc-surface-2);
    font-size: 12.5px;
    color: var(--tc-text-soft);
}
.tc-pagebar__tabs a.is-active { background: var(--tc-accent); color: var(--tc-accent-ink); font-weight: 600; }

/* 页头紧贴正文：后继元素不固定（板块 / 网格 / 筛选面板 / 榜单都可能），
   一律给 4px 而不是逐个枚举 —— 枚举会漏，漏掉的那个就会多出一段空白 */
.tc-pagehead + * { padding-top: 4px; }

@media (max-width: 767.98px) {
    /* ⚠️ 必须允许换行：__side 的 flex:1 1 100% 只有在 wrap 容器里才真的换到第二行。
       默认 nowrap 时它只在同一行里跟面包屑抢宽 —— 「首页 › 短剧 › 筛选」会被挤成竖排三行，
       而右侧状态字反而占了大半行（筛选页/频道页都中招）。换行后加回纵向内边距，两行才不贴边。 */
    .tc-pagebar { flex-wrap: wrap; gap: 6px 12px; min-height: 38px; padding: 6px 11px; font-size: 12px; }
    .tc-pagebar__crumb { font-size: 12px; }
    .tc-pagebar__side { flex: 1 1 100%; margin-left: 0; }
}

/* --------------------------------------------------------------------------
   15b. 不可用 / 门槛页（错误页、暂未开放栏目、未登录会员页共用）
   ⚠️ 无边框无线条：靠「大号数字 + 面卡片 + 大留白」建立层级
   -------------------------------------------------------------------------- */
.tc-unavailable { display: grid; place-items: center; padding: clamp(48px, 10vw, 120px) 20px; }
.tc-unavailable__box { display: grid; gap: 12px; justify-items: center; text-align: center; }
.tc-unavailable__code {
    font-size: clamp(52px, 9vw, 92px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.02em;
    color: var(--tc-accent-soft-strong);
}
.tc-unavailable__box h1 { font-size: clamp(19px, 2.4vw, 26px); }
.tc-unavailable__box p { color: var(--tc-text-muted); font-size: 13.5px; max-width: 46ch; line-height: 1.75; }

.tc-gate { display: grid; place-items: center; padding: clamp(32px, 6vw, 72px) 20px; }
.tc-gate__box {
    display: grid;
    gap: 14px;
    justify-items: center;
    width: min(100%, 480px);
    padding: clamp(24px, 3vw, 38px);
    border-radius: var(--tc-radius-lg);
    background: var(--tc-surface-1);
    box-shadow: var(--tc-shadow-md);
    text-align: center;
}
.tc-gate__box h1 { font-size: clamp(19px, 2.2vw, 24px); }
.tc-gate__box p { color: var(--tc-text-muted); font-size: 13.5px; line-height: 1.75; }
.tc-gate__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* --------------------------------------------------------------------------
   15c. 加载态（public/loading.html）
   ⚠️ 无边框：三个圆点做错峰缩放，只用 transform/opacity → 不触发重排
   -------------------------------------------------------------------------- */
.tc-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 26px 0;
}
.tc-loading__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--tc-accent);
    opacity: .35;
    animation: tc-loading-pulse 1.05s var(--tc-ease) infinite;
}
.tc-loading__dot:nth-child(2) { animation-delay: .14s; }
.tc-loading__dot:nth-child(3) { animation-delay: .28s; }
@keyframes tc-loading-pulse {
    0%, 100% { opacity: .3; transform: scale(.82); }
    50%      { opacity: 1;  transform: scale(1); }
}

/* --------------------------------------------------------------------------
   16. 文字行列表（严禁 border-bottom 分隔 —— 线条纪律第 ① 条）
   用「间距 + hover 面变色 + 序号色块」建立行列感
   -------------------------------------------------------------------------- */
.tc-rows { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }

.tc-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 8px 12px;
    border-radius: var(--tc-radius-sm);
    transition: background-color .18s var(--tc-ease);
}
.tc-row:hover { background: var(--tc-surface-2); }

.tc-row__no {
    flex: 0 0 auto;
    width: 26px;
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--tc-text-muted);
    text-align: center;
}
.tc-rows > li:nth-child(-n + 3) .tc-row__no { color: var(--tc-accent); }

.tc-row__tt { flex: 1 1 auto; min-width: 0; display: grid; gap: 2px; }
.tc-row__tt b {
    font-size: 13.5px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tc-row__tt em {
    font-style: normal;
    font-size: 12px;
    color: var(--tc-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tc-row__sc {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 700;
    color: var(--tc-accent-strong);
    font-variant-numeric: tabular-nums;
}
/* 无评分态：破折号用弱化色 —— 沿用强调绿会让「—」看起来像个可点的数据
   （子站大部分频道没有评分数据，这态是常态而不是异常） */
.tc-row__sc--none { color: var(--tc-text-muted); font-weight: 400; }

/* 站内埋点占位（MacCMS 原生 .mac_hits 触发器）
   ⚠️ 不要写成 style="display:none"：模板里一律不写内联样式，统一走这个类 */
.tc-hits { display: none; }

/* --------------------------------------------------------------------------
   17. 横向滚动条带（移动端与「胶片带」板块共用）
   -------------------------------------------------------------------------- */
.tc-rail {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding-bottom: 4px;
}
.tc-rail::-webkit-scrollbar { display: none; }
.tc-rail > * { flex: 0 0 auto; scroll-snap-align: start; }

/* --------------------------------------------------------------------------
   18. 移动端抽屉（导航与频道树共用）
   -------------------------------------------------------------------------- */
.tc-drawer {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 60;
    width: min(86vw, 340px);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    background: var(--tc-surface-1);
    box-shadow: var(--tc-shadow-lg);
    transform: translateX(102%);
    transition: transform .28s var(--tc-ease);
    visibility: hidden;
}
.tc-drawer[data-open="1"] { transform: translateX(0); visibility: visible; }

.tc-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
}
.tc-drawer__head strong { font-size: 14px; }
.tc-drawer__head button {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: var(--tc-surface-2);
    color: var(--tc-text-soft);
    cursor: pointer;
}
.tc-drawer__head button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

.tc-drawer__body {
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 12px calc(16px + env(safe-area-inset-bottom));
}
/* ⚠️ 抽屉里的 .tc-nav 不需要任何覆写：频道菜单的基础形态就是「扁平竖排」
   （卡片底色/阴影只出现在桌面形态的浮层 .tc-nav__panel 上）。
   曾有一条 .tc-drawer__body .tc-channelrail { background:none; box-shadow:none } —— 
   在旧的「侧栏卡片」版本里是必须的，形态改扁平后就成了永远打不过别人的死规则。 */

.tc-backdrop {
    position: fixed;
    inset: 0;
    z-index: 55;
    border: 0;
    padding: 0;
    background: rgba(22, 27, 23, .44);
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s var(--tc-ease), visibility .28s var(--tc-ease);
    cursor: pointer;
}
.tc-backdrop[data-open="1"] { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   19. 页脚（青骢掠影）：深骢青渐变 + 顶部圆鳞边 + 居中层叠
   ⚠️ 无 border-top：用底色差分层；蹄印点列代替分割线
   -------------------------------------------------------------------------- */
.tc-footer {
    position: relative;
    margin-top: clamp(36px, 4vw, 60px);
    background: var(--tc-footer-bg);
    color: var(--tc-footer-ink);
}
/* 圆鳞边：顶缘一排向下的孔雀青半圆鳞 */
.tc-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 14px;
    background: radial-gradient(circle at 10px 0, var(--tc-footer-accent) 10px, transparent 10.5px) 0 0 / 20px 14px repeat-x;
    opacity: .85;
    pointer-events: none;
}
.tc-footer__inner {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: clamp(18px, 2.4vw, 28px);
    padding-block: clamp(44px, 5vw, 66px) clamp(28px, 3.4vw, 44px);
}
.tc-footer__brand { display: grid; justify-items: center; gap: 10px; }
.tc-footer__disc {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, #17a693, var(--tc-accent-strong) 74%);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25), 0 6px 18px rgba(0, 0, 0, .35);
}
.tc-footer__brand strong { font-size: 17px; letter-spacing: .03em; }
.tc-footer__brand p { max-width: 48ch; color: var(--tc-footer-muted); font-size: 13px; line-height: 1.8; }
.tc-footer__channels { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tc-footer__channels a {
    padding: 6px 13px;
    border-radius: 999px;
    background: rgba(217, 228, 223, .08);
    color: var(--tc-footer-ink);
    font-size: 12.5px;
    line-height: 1.4;
}
.tc-footer__channels a:hover { background: rgba(53, 179, 162, .22); color: #fff; }
/* 蹄印点列：纯装饰分隔，不用线 */
.tc-footer__hoof {
    width: 132px;
    height: 10px;
    background: radial-gradient(circle, var(--tc-footer-accent) 1.6px, transparent 2.2px) 0 0 / 12px 10px repeat-x;
    opacity: .7;
}
.tc-footer__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; color: var(--tc-footer-muted); font-size: 12.5px; }
.tc-footer__meta a { color: var(--tc-footer-muted); }
.tc-footer__meta a:hover { color: var(--tc-footer-accent); }
.tc-footer__top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: 0;
    border-radius: 999px;
    background: rgba(53, 179, 162, .14);
    color: var(--tc-footer-accent);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background .18s var(--tc-ease), color .18s var(--tc-ease);
}
.tc-footer__top:hover { background: rgba(53, 179, 162, .28); color: #fff; }

@media (max-width: 767.98px) {
    .tc-footer__meta { gap: 4px 14px; }
}

/* --------------------------------------------------------------------------
   20. 认证页（独立沉浸版式，不 include public/head）
   -------------------------------------------------------------------------- */
.tc-auth {
    display: grid;
    place-items: center;
    min-height: 100dvh;
    padding: 24px 16px;
    background:
        radial-gradient(1000px 520px at 12% -8%, var(--tc-accent-soft), transparent 68%),
        var(--tc-bg);
}
.tc-auth__shell {
    display: grid;
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
    gap: clamp(20px, 3vw, 44px);
    width: min(100%, 1000px);
    padding: clamp(20px, 2.6vw, 38px);
    border-radius: var(--tc-radius-xl);
    background: var(--tc-surface-1);
    box-shadow: var(--tc-shadow-lg);
}
.tc-auth__stage { display: grid; align-content: start; gap: 16px; }
.tc-auth__brand { display: flex; align-items: center; gap: 10px; }
.tc-auth__copy h1 { font-size: clamp(20px, 2.4vw, 27px); }
.tc-auth__copy p { margin-top: 8px; color: var(--tc-text-muted); font-size: 13.5px; }
.tc-auth__features { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tc-auth__features li {
    display: flex;
    gap: 10px;
    padding: 12px 14px;
    border-radius: var(--tc-radius-md);
    background: var(--tc-surface-2);
}
.tc-auth__features i { flex: 0 0 auto; color: var(--tc-accent); font-style: normal; font-weight: 700; }
.tc-auth__features b { display: block; font-size: 13.5px; }
.tc-auth__features em { font-style: normal; font-size: 12.5px; color: var(--tc-text-muted); }
.tc-auth__panel { display: grid; align-content: start; gap: 16px; }
.tc-auth__panel h2 { font-size: 19px; }
.tc-auth__links { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; }
.tc-auth__links a { color: var(--tc-accent-strong); }

/* 品牌（认证页不引 public/head，所以品牌层要自带一份） */
.tc-auth__logo { height: 32px; width: auto; }
.tc-auth__fallback { display: inline-flex; align-items: center; gap: 9px; }
.tc-auth__mark {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: var(--tc-accent);
    color: var(--tc-accent-ink);
    font-size: 15px;
    font-weight: 700;
}
.tc-auth__fallback b { font-size: 15px; }
.tc-auth__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--tc-accent-soft);
    color: var(--tc-accent-strong);
    font-size: 12px;
    font-weight: 600;
    justify-self: start;
}
.tc-auth__note {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 11px 13px;
    border-radius: var(--tc-radius-md);
    background: var(--tc-surface-2);
    color: var(--tc-text-muted);
    font-size: 12.5px;
    line-height: 1.6;
}
.tc-auth__note svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 2px; fill: none; stroke: var(--tc-accent); stroke-width: 1.9; }

/* 表单 */
.tc-auth__form { display: grid; gap: 14px; }
.tc-auth__field { display: grid; gap: 6px; }
.tc-auth__field > span { font-size: 12.5px; color: var(--tc-text-soft); }
.tc-auth__field input {
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--tc-line);
    border-radius: var(--tc-radius-md);
    background: var(--tc-bg);
    color: var(--tc-text);
    font-size: 14px;
    transition: border-color .18s var(--tc-ease), box-shadow .18s var(--tc-ease);
}
.tc-auth__field input:focus {
    outline: none;
    border-color: var(--tc-accent);
    box-shadow: 0 0 0 3px var(--tc-accent-soft);
}
.tc-auth__field--inline { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; }
/* 短信/邮箱验证码行：输入框 + 发送按钮并排（按钮与输入框同高，避免 46px 基线错位） */
.tc-auth__field--send { align-items: end; }
.tc-auth__send {
    height: 46px;
    padding: 0 16px;
    border: 1px solid var(--tc-accent);
    border-radius: var(--tc-radius-md);
    background: var(--tc-accent-soft);
    color: var(--tc-accent-strong);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background .18s var(--tc-ease), color .18s var(--tc-ease);
}
.tc-auth__send:hover { background: var(--tc-accent-soft-strong); }
.tc-auth__send[disabled] { opacity: .55; cursor: default; }
.tc-auth__field--inline label { display: grid; gap: 6px; }
.tc-auth__verify {
    height: 46px;
    width: 112px;
    border-radius: var(--tc-radius-md);
    object-fit: cover;
    cursor: pointer;
    background: var(--tc-surface-2);
}
.tc-auth__steps { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tc-auth__step {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border-radius: 999px;
    background: var(--tc-surface-2);
    color: var(--tc-text-muted);
    font-size: 12.5px;
}
.tc-auth__step i {
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--tc-surface-3);
    font-style: normal;
    font-size: 11.5px;
    font-weight: 700;
}
.tc-auth__step.is-active { background: var(--tc-accent-soft); color: var(--tc-accent-strong); font-weight: 600; }
.tc-auth__step.is-active i { background: var(--tc-accent); color: var(--tc-accent-ink); }

/* 多步表单：未激活的一步整块收起（JS 只切 no-show 这一个类） */
.no-show { display: none; }

.tc-auth__error {
    display: none;
    padding: 9px 12px;
    border-radius: var(--tc-radius-sm);
    background: var(--tc-surface-2);
    color: var(--tc-danger);
    font-size: 12.5px;
}
.tc-auth__submit { width: 100%; }
.tc-auth__oauth { display: grid; gap: 10px; }
.tc-auth__oauth h3 { font-size: 12.5px; color: var(--tc-text-muted); font-weight: 500; }
.tc-auth__oauth-list { display: flex; gap: 10px; }
.tc-auth__oauth-item {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: var(--tc-radius-md);
    background: var(--tc-surface-2);
    color: var(--tc-text-soft);
}
.tc-auth__oauth-item:hover { background: var(--tc-accent-soft); color: var(--tc-accent-strong); }
.tc-auth__oauth-item svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* 分享行的前置小标签（无边框，纯字重区分） */
.tc-chiplabel { font-size: 12.5px; color: var(--tc-text-muted); }

@media (max-width: 767.98px) {
    .tc-auth { place-items: start center; padding: 12px; }
    .tc-auth__shell { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 20px 16px; }
    .tc-auth__features { display: none; }
}

/* --------------------------------------------------------------------------
   21. 详情 / 播放共用：信息事实表
   ⚠️ 无行分割线，用 dt 字色 + dd 字重建立层级
   -------------------------------------------------------------------------- */
.tc-facts { display: grid; gap: 2px; }
.tc-facts > div {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
    padding: 7px 0;
}
.tc-facts dt { color: var(--tc-text-muted); font-size: 12.5px; }
.tc-facts dd { font-size: 13.5px; overflow-wrap: anywhere; }
.tc-facts dd.tc-facts__links { display: flex; flex-wrap: wrap; gap: 5px; }
.tc-facts dd.tc-facts__links a {
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--tc-surface-2);
    font-size: 12.5px;
}
.tc-facts dd.tc-facts__links a:hover { background: var(--tc-accent-soft); color: var(--tc-accent-strong); }
/* 与海报并排时让事实表吃掉剩余宽度 */
.tc-facts--grow { flex: 1 1 260px; }

/* --------------------------------------------------------------------------
   22. 选集抽屉（播放页 / 详情页共用）
   整块一张卡片；展开态只在展开时给 padding-bottom（否则 0fr 收不干净）
   -------------------------------------------------------------------------- */
.tc-episodes {
    border-radius: var(--tc-radius-lg);
    background: var(--tc-surface-1);
    box-shadow: var(--tc-shadow-sm);
    overflow: hidden;
    /* 详情页/播放页都有 href="#tc-episodes" 的内链 → 必须补偿吸顶顶栏 */
    scroll-margin-top: var(--tc-anchor-offset);
}
.tc-episodes__bar {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 0 18px;
    cursor: pointer;
}
.tc-episodes__bar-info { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.tc-episodes__bar-info strong { font-size: 15px; }
.tc-episodes__bar-info span { font-size: 12.5px; color: var(--tc-text-muted); }
.tc-episodes__bar-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    font-size: 12.5px;
    color: var(--tc-accent-strong);
}
.tc-episodes__bar-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; transition: transform .26s var(--tc-ease); }
.tc-episodes[data-open="1"] .tc-episodes__bar-toggle svg { transform: rotate(180deg); }

.tc-episodes__wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .28s var(--tc-ease);
}
.tc-episodes[data-open="1"] .tc-episodes__wrap { grid-template-rows: 1fr; }
.tc-episodes__inner {
    min-height: 0;
    overflow: hidden;
    display: grid;
    gap: 16px;
    padding: 0 18px;
}
.tc-episodes[data-open="1"] .tc-episodes__inner {
    padding-bottom: 18px;
    /* 【必查项】展开态必须给高度上限 + 内滚。
       多线路 × 40 集不设上限会把页面撑到 4~5 屏，把下面的简介/推荐全挤走。
       家族口径：cine 的 .cb-episode-panel__body 是 max-height:46vh（移动 360px），
       这里统一成 min(46vh, 560px)，矮屏不溢出、高屏不浪费。 */
    max-height: min(46vh, 560px);
    overflow-y: auto;
    overscroll-behavior: contain;
}
/* 细滚动条（避免默认滚动条打断「无线条」观感） */
.tc-episodes__inner::-webkit-scrollbar { width: 8px; }
.tc-episodes__inner::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;
    background-clip: content-box;
    background-color: var(--tc-line);
}
.tc-episodes__inner::-webkit-scrollbar-thumb:hover { background-color: var(--tc-accent); }
@media (max-width: 767.98px) {
    .tc-episodes[data-open="1"] .tc-episodes__inner { max-height: 340px; }
}

.tc-source { display: grid; gap: 10px; }
.tc-source__head { display: flex; align-items: center; gap: 8px; }
.tc-source__head h3 { font-size: 14px; }
.tc-source__head i {
    font-style: normal;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--tc-accent-soft);
    color: var(--tc-accent-strong);
    font-size: 11.5px;
}
.tc-source__list { display: flex; flex-wrap: wrap; gap: 7px; }
.tc-source__list a {
    display: inline-grid;
    place-items: center;
    min-width: 48px;
    min-height: 38px;
    padding: 0 13px;
    border-radius: 10px;
    background: var(--tc-surface-2);
    font-size: 13px;
    color: var(--tc-text-soft);
}
.tc-source__list a:hover { background: var(--tc-accent-soft); color: var(--tc-accent-strong); }
.tc-source__list a.is-active { background: var(--tc-accent); color: var(--tc-accent-ink); font-weight: 600; }

/* --------------------------------------------------------------------------
   23. 播放器舱体
   -------------------------------------------------------------------------- */
.tc-player-box {
    position: relative;
    border-radius: var(--tc-radius-lg);
    background: #10160f;
    box-shadow: var(--tc-shadow-lg);
    overflow: hidden;
    aspect-ratio: 16 / 9;
}
.tc-player-box .MacPlayer,
.tc-player-box iframe,
.tc-player-box video { width: 100%; height: 100%; }

@media (min-width: 1024px) {
    .tc-player-box { aspect-ratio: auto; height: var(--tc-player-h); }
}

/* --------------------------------------------------------------------------
   24. 第三方播放入口面板
   -------------------------------------------------------------------------- */
.tc-thirdparty {
    position: relative;
    display: grid;
    place-items: center;
    height: 100%;
    min-height: 260px;
    overflow: hidden;
    background: #0f1512;
}
.tc-thirdparty__poster {
    position: absolute;
    inset: 0;
    /* 海报走 <img> 而非 background-image：模板里因此不需要写任何内联样式，
       还能吃到 loading="lazy" / decoding="async" 的原生优化 */
    overflow: hidden;
    background: var(--tc-surface-3);
    /* 只用两档：blur(80px+) + opacity ≤ .45（中等模糊会把暗部色带放大成「脏」） */
    filter: blur(90px) saturate(1.3);
    opacity: .42;
    transform: scale(1.15);
}
.tc-thirdparty__poster img { width: 100%; height: 100%; object-fit: cover; }
.tc-thirdparty__scrim {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(120% 90% at 50% 110%, rgba(8, 20, 15, .82), rgba(8, 16, 12, .58));
}
.tc-thirdparty__hit { position: absolute; inset: 0; z-index: 6; }
.tc-thirdparty__hud {
    position: relative;
    z-index: 4;
    display: grid;
    gap: 14px;
    place-items: center;
    padding: 24px;
    pointer-events: none;
    text-align: center;
    color: #eef3ef;
}
.tc-thirdparty__brand {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    font-size: 12.5px;
}
.tc-thirdparty__brand i { width: 7px; height: 7px; border-radius: 50%; background: var(--tc-accent); }
.tc-thirdparty__name { font-size: clamp(17px, 2vw, 23px); font-weight: 700; }
.tc-thirdparty__ep { font-size: 13px; opacity: .8; }
.tc-thirdparty__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--tc-accent);
    color: var(--tc-accent-ink);
    font-weight: 600;
}
.tc-thirdparty__hint { font-size: 12px; opacity: .62; }
/* 焦点环画在可见按钮上；同时保留热区自身 :focus-visible 作为 :has() 不支持时的回退 */
.tc-thirdparty__hit:focus-visible { outline: 2px solid rgba(255, 255, 255, .9); outline-offset: -4px; }
.tc-thirdparty:has(.tc-thirdparty__hit:focus-visible) .tc-thirdparty__cta {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   25. 动效与无障碍
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

@media (hover: none) {
    .tc-vod-card:hover { box-shadow: var(--tc-shadow-sm); }
    /* 触屏没有悬停：鬃流带 / 掠光 / 蹄印永远藏起，保持静态卡片 */
    .tc-vod-card__pic::before,
    .tc-vod-card__pic::after { display: none; }
    .tc-vod-card:hover .tc-vod-card__body h3 { color: inherit; }
    .tc-vod-card__body h3::before { display: none; }
}

/* 横向安全区（全站现状 0 命中，本模板补齐四边） */
.tc-header__inner,
.tc-footer__inner {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
}

/* --------------------------------------------------------------------------
   26. 筛选器（module/filter 专用）
   ⚠️ 无行分割线：靠分组间距 + 胶囊选中态区分
   -------------------------------------------------------------------------- */
.tc-filter {
    display: grid;
    gap: 0;
    padding: clamp(14px, 1.6vw, 18px);
    border-radius: var(--tc-radius-lg);
    background: var(--tc-surface-1);
    box-shadow: var(--tc-shadow-sm);
}
.tc-filter__mobile-toggle {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    padding: 0 4px;
    border: 0;
    background: none;
    color: var(--tc-text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.tc-filter__mobile-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

.tc-filter__body { display: grid; gap: 14px; }

.tc-filter__row { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 10px; }
.tc-filter__row > strong {
    padding-top: 6px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--tc-text-muted);
}
.tc-filter__items { display: flex; flex-wrap: wrap; gap: 5px; }
.tc-filter__items a {
    display: inline-grid;
    place-items: center;
    /* ⚠️ 不可收缩：胶囊按内容取宽（max-content）。
       不写这条时 flex-shrink 会把「全部」「福建话」压到比文字还窄 → 文字折成两行竖排；
       窄屏那条「nowrap + overflow-x:auto」的横滚兜底也就永远触发不了（先被压扁，轮不到溢出）。 */
    flex: 0 0 auto;
    min-height: 32px;
    padding: 0 13px;
    border-radius: 999px;
    background: var(--tc-surface-2);
    color: var(--tc-text-soft);
    font-size: 12.5px;
}
.tc-filter__items a:hover { background: var(--tc-accent-soft); color: var(--tc-accent-strong); }
.tc-filter__items a.active {
    background: var(--tc-accent);
    color: var(--tc-accent-ink);
    font-weight: 600;
}

/* 「展开更多筛选」：内层折叠，契约 [data-tc-extra][data-open]
   ⚠️ 与外层 `.tc-filter[data-tc-fold]`（仅窄屏生效）是两个独立契约，钩子名不可复用 */
.tc-filter__extra { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .26s var(--tc-ease); }
.tc-filter__extra[data-open="1"] { grid-template-rows: 1fr; }
.tc-filter__extra > div { min-height: 0; overflow: hidden; display: grid; gap: 14px; }
.tc-filter__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid var(--tc-line);
    border-radius: 999px;
    background: var(--tc-surface-1);
    color: var(--tc-text-soft);
    font-size: 12.5px;
    cursor: pointer;
}
.tc-filter__toggle:hover { border-color: var(--tc-accent); color: var(--tc-accent-strong); }
.tc-filter__toggle svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform .22s var(--tc-ease);
}
.tc-filter__extra[data-open="1"] ~ .tc-filter__actions .tc-filter__toggle svg { transform: rotate(180deg); }
/* 左对齐（原为居中）：筛选面板在筛选页是整幅宽容器，居中的胶囊会飘在面板正中，
   与上方「标签在左、胶囊在右」的行结构对不齐；贴左与行首对齐更像面板自身的控件 */
.tc-filter__actions { display: flex; justify-content: flex-start; }

@media (max-width: 1023.98px) {
    /* 移动端：筛选器整体折叠为一条胶囊按钮 */
    .tc-filter__mobile-toggle { display: flex; }
    .tc-filter__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .26s var(--tc-ease); }
    .tc-filter[data-open="1"] .tc-filter__body { grid-template-rows: 1fr; }
    .tc-filter__body > div { min-height: 0; overflow: hidden; }
    .tc-filter[data-open="1"] .tc-filter__body > div { padding-top: 12px; }
    .tc-filter__row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
    .tc-filter__row > strong { padding-top: 0; }
    /* 横滚兜底：选项过多时不撑破布局 */
    .tc-filter__items { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
    .tc-filter__items::-webkit-scrollbar { display: none; }
    /* 窄屏：外层「筛选条件」已承担展开语义，内层 extra 不再二次折叠，
       否则用户要连点两次才看得到年份/语言/排序 —— 按钮一并隐藏，避免两个折叠入口打架 */
    .tc-filter__actions { display: none; }
    .tc-filter__extra { grid-template-rows: 1fr; }
}

