/* ==========================================================================
   Dezhou-001 · 平原放映（结构层：令牌 / 布局 / 通用组件）
   --------------------------------------------------------------------------
   意象：德州平原上的露天放映队 —— 帆布幕、金属鸡眼扣、橄榄绿放映箱、
   麦金色放映光、砖红片盘章。页面底是晒过太阳的帆布，卡片是绷紧的银幕。
   类名族：fx- = 全站组件；fx- = 单页版式（见 fx.css）。
   ========================================================================== */

:root {
    /* ---- 帆布与幕布 ------------------------------------------------------ */
    --fx-paper: #ebe4d3;          /* 页面底：晒过的帆布 */
    --fx-paper-deep: #e0d7c0;     /* 场地底色 / 页脚压深 */
    --fx-surface: #faf5e7;        /* 卡片面：幕布白 */
    --fx-surface-2: #e4ddc8;      /* 次级面：标签底 / 输入框 */
    --fx-surface-3: #d5cbb3;      /* 图占位 / 骨架 */
    --fx-ink: #20251c;            /* 橄榄墨 */
    --fx-ink-2: #4b5140;          /* 次级文字 */
    --fx-ink-3: #82856f;          /* 弱文字（时间 / 计数） */
    --fx-line: #d5cdb7;           /* 1px 分隔线 */
    --fx-line-2: #b9b096;         /* 强一点的线（表格头 / 输入框） */

    /* ---- 放映队配色：橄榄主色 + 麦金 + 砖红片盘章 ------------------------ */
    --fx-accent: #4c5c3e;
    --fx-accent-strong: #38462d;
    --fx-accent-ink: #fbf7e8;
    --fx-accent-soft: rgba(76, 92, 62, .10);
    --fx-accent-soft-2: rgba(76, 92, 62, .24);
    --fx-gold: #a97620;           /* 麦金：评分与放映光 */
    --fx-gold-soft: rgba(169, 118, 32, .14);
    --fx-beam: #e3b34f;           /* 放映光束 */
    --fx-brick: #a8472f;          /* 砖红：只用于片盘章 / 场记编号 */
    --fx-brick-soft: rgba(168, 71, 47, .12);
    /* 错误态：砖红的深调变体，仍属于同一套放映队配色。 */
    --fx-danger: #a33d28;
    --fx-danger-soft: rgba(163, 61, 40, .3);
    --fx-danger-bg: rgba(163, 61, 40, .06);

    /* ---- 字号（最大标题 26px，需求方硬约束） ----------------------------- */
    --fx-fs-2xs: 11px;
    --fx-fs-xs: 12px;
    --fx-fs-sm: 13px;
    --fx-fs-base: 14px;
    --fx-fs-md: 15px;
    --fx-fs-lg: 18px;
    --fx-fs-xl: 20px;
    --fx-fs-h1: 24px;
    --fx-fs-max: 26px;
    --fx-lh: 1.7;
    --fx-lh-tight: 1.35;

    /* ---- 字体：无衬线展示字 + 等宽编号（与基线宋体标题彻底切割） --------- */
    --fx-display: "HarmonyOS Sans SC", "PingFang SC", "Source Han Sans SC", "Microsoft YaHei", system-ui, sans-serif;
    --fx-body: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
    --fx-mono: "Cascadia Mono", "IBM Plex Mono", Consolas, "Courier New", monospace;

    /* ---- 容器与间距 ------------------------------------------------------ */
    --fx-shell: 1280px;
    --fx-gutter: clamp(12px, 2vw, 24px);
    --fx-gap-block: clamp(20px, 2vw, 30px);
    --fx-gap-inline: clamp(12px, 1.1vw, 16px);

    /* ---- 几何：银幕边框语言，几乎直角，靠 1px 线与硬投影分层 ------------- */
    --fx-r-xs: 2px;
    --fx-r-sm: 3px;
    --fx-r-md: 4px;
    --fx-r-lg: 6px;
    --fx-r-seal: 50%;

    --fx-sh-1: 0 1px 0 rgba(32, 37, 28, .07);
    --fx-sh-2: 0 10px 22px rgba(32, 37, 28, .14);
    --fx-sh-hard: 4px 4px 0 rgba(32, 37, 28, .10);

    --fx-ease: cubic-bezier(.25, .6, .35, 1);
    --fx-t: .22s;

    --fx-header-h: 66px;
    --fx-anchor-offset: 82px;     /* 顶栏 66 + 吸顶呼吸位 */

    color-scheme: light;
}

/* --------------------------------------------------------------------------
   1. 容器
   -------------------------------------------------------------------------- */
.fx-shell {
    width: 100%;
    max-width: var(--fx-shell);
    margin-inline: auto;
    padding-inline: var(--fx-gutter);
}
.fx-main { padding-block: var(--fx-gap-block); min-height: 50vh; }

/* --------------------------------------------------------------------------
   2. 按钮 / 胶囊 / 印章
   -------------------------------------------------------------------------- */
.fx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 0 0 auto;                 /* 硬约束：行内不压缩 */
    height: 36px;
    padding: 0 16px;
    border-radius: var(--fx-r-sm);
    background: var(--fx-accent);
    color: var(--fx-accent-ink);
    font-size: var(--fx-fs-base);
    font-weight: 600;
    letter-spacing: .02em;
    white-space: nowrap;
    box-shadow: 2px 2px 0 var(--fx-gold-soft);
    transition: background var(--fx-t) var(--fx-ease), color var(--fx-t) var(--fx-ease), border-color var(--fx-t) var(--fx-ease), box-shadow var(--fx-t) var(--fx-ease);
}
.fx-btn:hover { background: var(--fx-accent-strong); box-shadow: 0 0 0 var(--fx-gold-soft); }
.fx-btn svg { width: 14px; height: 14px; fill: currentColor; flex: 0 0 auto; }
.fx-btn--ghost {
    background: var(--fx-surface);
    color: var(--fx-ink);
    border: 1px solid var(--fx-line-2);
    box-shadow: none;
}
.fx-btn--ghost:hover { background: var(--fx-surface-2); border-color: var(--fx-accent); color: var(--fx-accent); }
.fx-btn--sm { height: 30px; padding: 0 12px; font-size: var(--fx-fs-sm); }

.fx-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    height: 27px;
    padding: 0 10px;
    border-radius: var(--fx-r-sm);
    background: transparent;
    border: 1px solid var(--fx-line);
    font-size: var(--fx-fs-xs);
    color: var(--fx-ink-2);
    white-space: nowrap;
    max-width: 100%;
    transition: color var(--fx-t) var(--fx-ease), background var(--fx-t) var(--fx-ease), border-color var(--fx-t) var(--fx-ease);
}
.fx-chip:hover { color: var(--fx-accent); background: var(--fx-accent-soft); border-color: var(--fx-accent-soft-2); }
.fx-chip.is-active { background: var(--fx-accent); border-color: var(--fx-accent); color: var(--fx-accent-ink); font-weight: 600; }

/* 片盘章：圆形场记编号（楼层序号 / 榜单单号），内圈留白像胶片片盘 */
.fx-seal {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border-radius: 50%;
    background: var(--fx-brick);
    color: #fdf7e6;
    font: 700 var(--fx-fs-2xs)/1 var(--fx-mono);
    font-variant-numeric: tabular-nums;
    box-shadow: inset 0 0 0 2px var(--fx-surface), inset 0 0 0 3px var(--fx-brick);
}
.fx-seal--ghost {
    background: transparent;
    color: var(--fx-brick);
    box-shadow: inset 0 0 0 1px var(--fx-brick);
}

/* 场记编号（等宽，弱色）：行式榜的 01/02/03 */
.fx-num {
    font-family: var(--fx-mono);
    font-variant-numeric: tabular-nums;
    color: var(--fx-ink-3);
    font-weight: 600;
    letter-spacing: -.02em;
}

/* --------------------------------------------------------------------------
   3. 顶栏（传统横排频道菜单；窄屏收进抽屉）
   -------------------------------------------------------------------------- */
.fx-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--fx-surface);
    border-bottom: 1px solid var(--fx-line-2);
    box-shadow: inset 0 3px 0 var(--fx-accent);
}
.fx-header__bar {
    display: flex;
    align-items: center;
    gap: 14px;
    height: var(--fx-header-h);
}

.fx-brand { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.fx-brand__mark {
    display: grid;
    place-items: center;
    width: 30px; height: 30px;
    border-radius: var(--fx-r-xs);
    background: var(--fx-brick);
    color: #fdf7e6;
    font: 700 16px/1 var(--fx-display);
    box-shadow: inset 0 0 0 1px rgba(253, 247, 230, .38);
}
.fx-brand__name {
    font-family: var(--fx-display);
    font-size: var(--fx-fs-lg);
    font-weight: 700;
    letter-spacing: .04em;
}
.fx-brand__slogan {
    font-size: var(--fx-fs-2xs);
    color: var(--fx-ink-3);
    padding-left: 8px;
    margin-left: 2px;
    border-left: 1px solid var(--fx-line);
    white-space: nowrap;
}

.fx-nav { display: flex; align-items: center; gap: 2px; min-width: 0; }
.fx-nav__item { position: relative; }
.fx-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 34px;
    padding: 0 11px;
    border-radius: var(--fx-r-sm);
    font-size: var(--fx-fs-base);
    color: var(--fx-ink-2);
    white-space: nowrap;
    transition: color var(--fx-t) var(--fx-ease), background var(--fx-t) var(--fx-ease);
}
.fx-nav__item:hover > .fx-nav__link { color: var(--fx-accent); background: var(--fx-accent-soft); }
.fx-nav__link.is-active {
    color: var(--fx-accent);
    background: transparent;
    box-shadow: inset 0 -2px 0 var(--fx-accent);
}
.fx-nav__caret {
    width: 10px; height: 10px;
    fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round;
    opacity: .55;
    transition: transform var(--fx-t) var(--fx-ease);
}
.fx-nav__item:hover > .fx-nav__link .fx-nav__caret { transform: rotate(180deg); }

.fx-nav__sub {
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 3;
    width: max-content;             /* 不写会被条目宽度收缩成一条 */
    max-width: 460px;
    padding: 10px 12px;
    margin-top: 4px;
    background: var(--fx-surface);
    border: 1px solid var(--fx-line);
    border-radius: var(--fx-r-md);
    box-shadow: var(--fx-sh-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity var(--fx-t) var(--fx-ease), visibility var(--fx-t) var(--fx-ease), transform var(--fx-t) var(--fx-ease);
}
.fx-nav__sub a {
    display: inline-block;
    padding: 4px 9px;
    margin: 2px 2px 2px 0;
    border-radius: var(--fx-r-xs);
    font-size: var(--fx-fs-sm);
    color: var(--fx-ink-2);
}
.fx-nav__sub a:hover { background: var(--fx-accent-soft); color: var(--fx-accent); }
@media (min-width: 1024px) {
    .fx-nav__item:hover > .fx-nav__sub,
    .fx-nav__item:focus-within > .fx-nav__sub,
    .fx-nav__item[data-open="1"] > .fx-nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
}

.fx-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: 0 0 auto; }
.fx-search {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid var(--fx-line-2);
    border-radius: var(--fx-r-xs);
    background: var(--fx-paper);
    transition: border-color var(--fx-t) var(--fx-ease), background var(--fx-t) var(--fx-ease);
}
.fx-search:focus-within { border-color: var(--fx-accent); background: var(--fx-surface); }
.fx-search svg { width: 14px; height: 14px; fill: none; stroke: var(--fx-ink-3); stroke-width: 2; flex: 0 0 auto; }
.fx-search input {
    width: 148px;
    border: 0;
    background: none;
    outline: none;
    font-size: var(--fx-fs-sm);
}
.fx-search input::placeholder { color: var(--fx-ink-3); }
.fx-iconbtn {
    display: grid;
    place-items: center;
    width: 34px; height: 34px;
    border-radius: var(--fx-r-xs);
    border: 1px solid var(--fx-line-2);
    background: var(--fx-paper);
    color: var(--fx-ink-2);
}
.fx-iconbtn:hover { border-color: var(--fx-accent); color: var(--fx-accent); }
.fx-iconbtn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.fx-header__burger { display: none; }
@media (max-width: 1023.98px) {
    .fx-nav, .fx-search { display: none; }
    .fx-header__burger { display: grid; }
}

/* 抽屉（窄屏把整棵菜单搬进来，见 js/fx.js） */
.fx-drawer {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
    background: rgba(32, 37, 28, .52);
}
.fx-drawer.is-open { display: block; }
.fx-drawer__panel {
    position: absolute;
    top: 0; right: 0;
    width: min(86vw, 360px);
    height: 100%;
    overflow-y: auto;
    background: var(--fx-paper);
    border-left: 1px solid var(--fx-line);
    padding: 16px;
}
.fx-drawer__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.fx-drawer__head strong { font-family: var(--fx-display); font-size: var(--fx-fs-md); }
.fx-drawer__close { margin-left: auto; }
.fx-drawer__search { margin-bottom: 14px; }
.fx-drawer__search .fx-search { display: flex; }
.fx-drawer__search .fx-search input { width: 100%; }

/* 抽屉里承载的是**被搬进来的同一棵菜单**（不是第二份 DOM）：
   窄屏竖排渲染，子分类就地展开成标签云。 */
.fx-drawer .fx-nav { display: block; }
.fx-drawer .fx-nav__item { display: block; border-bottom: 1px solid var(--fx-line); }
.fx-drawer .fx-nav__link {
    display: flex;
    width: 100%;
    height: auto;
    padding: 12px 8px;
    border-radius: 0;
    font-family: var(--fx-display);
    font-size: var(--fx-fs-md);
    font-weight: 700;
    color: var(--fx-ink);
}
.fx-drawer .fx-nav__caret { display: none; }
.fx-drawer .fx-nav__sub {
    position: static;
    width: auto;
    max-width: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin: 0;
    padding: 0 8px 10px;
    border: 0;
    box-shadow: none;
    background: none;
    display: flex;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   4. 区块头 / 面
   -------------------------------------------------------------------------- */
.fx-sec { margin-top: var(--fx-gap-block); }
.fx-sec__head {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding-bottom: 10px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--fx-line-2);
}
/* 编辑标记：标题下沿的一小段砖红短线，像场记单的页签 */
.fx-sec__head::after {
    content: "";
    position: absolute;
    left: 0; bottom: -1px;
    width: 46px; height: 2px;
    background: var(--fx-brick);
}
.fx-sec__head h2 { font-size: var(--fx-fs-lg); }
.fx-sec__head h2 a:hover { color: var(--fx-accent); }
.fx-sec__head em {
    font-style: normal;
    font-size: var(--fx-fs-sm);
    color: var(--fx-ink-3);
}
.fx-sec__more {
    margin-left: auto;
    flex: 0 0 auto;
    font-size: var(--fx-fs-sm);
    color: var(--fx-ink-3);
}
.fx-sec__more:hover { color: var(--fx-accent); }

.fx-panel {
    background: var(--fx-surface);
    border: 1px solid var(--fx-line-2);
    border-radius: var(--fx-r-md);
    box-shadow: var(--fx-sh-1);
    padding: 14px;
}

/* --------------------------------------------------------------------------
   5. 银幕卡（全站共用）
   外框是帆布卡纸，内圈是绷紧的幕布；顶部两枚金属鸡眼扣把幕布挂起来。
   右下「更新状态」是麦金边片名标签，左上「评分」是场记板。
   角标预算 = 2：评分 + 更新状态。不得再加第三个。
   -------------------------------------------------------------------------- */
.fx-card {
    position: relative;
    min-width: 0;
    padding: 5px;
    background: var(--fx-surface);
    border: 1px solid var(--fx-line-2);
    border-radius: var(--fx-r-xs);
    box-shadow: var(--fx-sh-hard);
    overflow: hidden;
    transition: border-color var(--fx-t) var(--fx-ease), box-shadow var(--fx-t) var(--fx-ease);
}
/* 帆布包边：内缩一圈虚线，像缝在幕布四周的针脚 */
.fx-card::before {
    content: "";
    position: absolute;
    inset: 3px;
    z-index: 3;
    pointer-events: none;
    border: 1px dashed rgba(32, 37, 28, .16);
    border-radius: 1px;
}
.fx-card:hover { border-color: var(--fx-accent); box-shadow: 6px 6px 0 var(--fx-accent-soft-2); }
.fx-card > a { display: block; }
.fx-card__pic {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    background: var(--fx-surface-3);
    border: 1px solid var(--fx-line);
    overflow: hidden;
}
.fx-card__pic img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: filter .45s var(--fx-ease);
}
.fx-card:hover .fx-card__pic img { filter: saturate(1.06) contrast(1.02); }
/* 顶部两枚鸡眼扣：幕布挂点在画面里，而不是装饰在卡片外 */
.fx-card__pic::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(circle at 8px 8px, var(--fx-surface) 0 2px, var(--fx-line-2) 2.5px 3.5px, transparent 4px),
        radial-gradient(circle at calc(100% - 8px) 8px, var(--fx-surface) 0 2px, var(--fx-line-2) 2.5px 3.5px, transparent 4px);
}
/* 放映光束：斜向麦金光扫过幕布；不缩放整张卡，避免整墙一起呼吸 */
.fx-card__pic::after {
    content: "";
    position: absolute;
    top: -30%;
    bottom: -30%;
    left: -70%;
    width: 46%;
    background: linear-gradient(90deg, transparent, rgba(227, 179, 79, .30), transparent);
    transform: skewX(-18deg);
    pointer-events: none;
    transition: left .55s var(--fx-ease);
}
.fx-card:hover .fx-card__pic::after { left: 130%; }
.fx-card__note {
    position: absolute;
    right: 7px; bottom: 7px;
    z-index: 2;
    max-width: calc(100% - 14px);
    padding: 2px 7px 2px 8px;
    border-left: 3px solid var(--fx-gold);
    background: rgba(250, 245, 231, .94);
    color: var(--fx-ink);
    font-size: var(--fx-fs-2xs);
    line-height: 1.65;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fx-card__score {
    position: absolute;
    left: 14px; top: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: baseline;
    gap: 1px;
    padding: 10px 6px 1px;
    background: var(--fx-surface);
    color: var(--fx-gold);
    font: 700 var(--fx-fs-xs)/1.5 var(--fx-mono);
    box-shadow: 0 0 0 1px rgba(32, 37, 28, .16);
}
/* 场记板顶条：斜纹打板 */
.fx-card__score::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 5px;
    background: repeating-linear-gradient(-45deg, var(--fx-ink) 0 4px, var(--fx-surface) 4px 8px);
}
.fx-card__score i { font: 400 var(--fx-fs-2xs)/1 var(--fx-body); font-style: normal; opacity: .8; }
.fx-card__body { display: block; padding: 9px 3px 5px; }
.fx-card__body h3 {
    font-family: var(--fx-display);
    font-size: var(--fx-fs-base);
    font-weight: 700;
    line-height: 1.45;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fx-card__body p {
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px dashed var(--fx-line);
    font-family: var(--fx-mono);
    font-size: var(--fx-fs-2xs);
    color: var(--fx-ink-3);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   6. 行式条目（资讯 / 榜单 / 搜索结果共用）
   ⚠️ 多列布局要定义在**行内层**，不能定义在 ul/ol 上（li 会被依次塞进各列）
   -------------------------------------------------------------------------- */
.fx-vrow {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    padding: 9px 10px;
    border-radius: var(--fx-r-sm);
    transition: background var(--fx-t) var(--fx-ease);
}
.fx-vrow:hover { background: var(--fx-surface-2); }
.fx-vrow__pic {
    width: 46px;
    aspect-ratio: 2 / 3;
    border-radius: var(--fx-r-xs);
    overflow: hidden;
    background: var(--fx-surface-3);
}
.fx-vrow__pic img { width: 100%; height: 100%; object-fit: cover; }
.fx-vrow__copy { display: grid; gap: 3px; min-width: 0; }
.fx-vrow__copy b {
    font-size: var(--fx-fs-base);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fx-vrow__copy i {
    font-style: normal;
    font-size: var(--fx-fs-xs);
    color: var(--fx-ink-3);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 文字榜：序号 / 标题 / 右侧计数 三列 —— 三列定义在行内 <a> 上 */
.fx-rows { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; }
.fx-rows > li { min-width: 0; }
.fx-rows > li > a {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 8px 8px;
    border-radius: var(--fx-r-sm);
    font-size: var(--fx-fs-base);
    min-width: 0;
    transition: background var(--fx-t) var(--fx-ease), color var(--fx-t) var(--fx-ease);
}
.fx-rows > li > a:hover {
    background: var(--fx-surface-2);
    color: var(--fx-accent);
    box-shadow: inset 2px 0 0 var(--fx-gold);
}
.fx-rows > li > a > span:nth-child(2) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}
.fx-rows > li > a em {
    font-style: normal;
    font-size: var(--fx-fs-xs);
    color: var(--fx-ink-3);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
/* 带缩略图的文字榜：序号 / 图 / 标题+副行 / 计数 */
.fx-rows--pic > li > a { grid-template-columns: 22px 42px minmax(0, 1fr) auto; }
.fx-rows--pic .pic {
    width: 42px;
    aspect-ratio: 2 / 3;
    border-radius: var(--fx-r-xs);
    overflow: hidden;
    background: var(--fx-surface-3);
}
.fx-rows--pic .pic img { width: 100%; height: 100%; object-fit: cover; }
.fx-rows--pic .tt { display: grid; gap: 2px; min-width: 0; }
.fx-rows--pic .tt b { font-size: var(--fx-fs-base); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-rows--pic .tt em { font-size: var(--fx-fs-xs); color: var(--fx-ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-rows > li > a.is-top .fx-num { color: var(--fx-brick); }

/* --------------------------------------------------------------------------
   7. 资料表（详情页 / 演员页共用）
   -------------------------------------------------------------------------- */
.fx-facts { display: grid; gap: 0; }
.fx-facts > div {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
    padding: 7px 0;
    font-size: var(--fx-fs-sm);
    border-bottom: 1px dashed var(--fx-line);
}
.fx-facts > div:last-child { border-bottom: 0; }
.fx-facts dt { color: var(--fx-ink-3); font-size: var(--fx-fs-xs); letter-spacing: .04em; }
.fx-facts dd { min-width: 0; overflow-wrap: anywhere; color: var(--fx-ink-2); }
.fx-facts dd a { border-bottom: 1px solid var(--fx-line-2); }
.fx-facts dd a:hover { color: var(--fx-accent); border-color: var(--fx-accent); }
.fx-facts--links dd { display: flex; flex-wrap: wrap; gap: 5px 10px; }
.fx-facts--links dd a { border-bottom: 0; }

/* 横排资料带（详情页顶卡底部）：dt:dd 成对横排、自动换行。
   ⚠️ 用横排带而不是竖排资料表，是为了让顶卡不必「三栏等高」——
      等高 + 某一栏内容短，必然在那一栏底部留一个洞（vela 实测 219px）。 */
.fx-facts--inline {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
}
.fx-facts--inline > div {
    display: flex;
    gap: 6px;
    min-width: 0;
    padding: 0;
    border: 0;
    font-size: var(--fx-fs-sm);
}
.fx-facts--inline dt { color: var(--fx-ink-3); flex: 0 0 auto; }
.fx-facts--inline dt::after { content: "："; }
.fx-facts--inline dd { color: var(--fx-ink-2); min-width: 0; overflow-wrap: anywhere; }

/* --------------------------------------------------------------------------
   8. 正文排版（资讯正文 / 详情页简介共用）
   宽度由调用方容器决定，本组件不设 max-width
   -------------------------------------------------------------------------- */
.fx-copy { color: var(--fx-ink-2); font-size: var(--fx-fs-md); line-height: 1.9; }
.fx-copy p { margin-bottom: 14px; }
.fx-copy p:last-child { margin-bottom: 0; }
.fx-copy h2, .fx-copy h3 {
    margin: 22px 0 10px;
    font-family: var(--fx-display);
    color: var(--fx-ink);
}
.fx-copy h2 { font-size: var(--fx-fs-lg); }
.fx-copy h3 { font-size: var(--fx-fs-md); }
.fx-copy a { color: var(--fx-accent); border-bottom: 1px solid var(--fx-accent-soft-2); }
.fx-copy ul, .fx-copy ol { margin: 0 0 14px; padding-left: 22px; list-style: disc; }
.fx-copy ol { list-style: decimal; }
.fx-copy li { margin: 4px 0; }
.fx-copy img { border-radius: var(--fx-r-sm); margin: 14px auto; }
.fx-copy blockquote {
    margin: 0 0 14px;
    padding: 10px 14px;
    border-left: 3px solid var(--fx-accent);
    background: var(--fx-accent-soft);
    color: var(--fx-ink-2);
}
.fx-copy table { margin-bottom: 14px; font-size: var(--fx-fs-sm); }
.fx-copy th, .fx-copy td { padding: 7px 10px; border: 1px solid var(--fx-line); text-align: left; }
.fx-copy th { background: var(--fx-surface-2); font-weight: 600; }
.fx-copy strong { color: var(--fx-ink); }

/* --------------------------------------------------------------------------
   9. 面包屑 / 页头
   -------------------------------------------------------------------------- */
.fx-pagehead {
    padding: 11px 0;
    border-bottom: 1px dashed var(--fx-line-2);
}
.fx-pagebar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.fx-pagebar__side { margin-left: auto; }
.fx-pagebar__hint { font-size: var(--fx-fs-xs); color: var(--fx-ink-3); }
.fx-pagebar__hint b { color: var(--fx-ink-2); font-weight: 600; }
.fx-pagebar__hint i { font-style: normal; padding: 0 5px; opacity: .6; }

.fx-crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; font-size: var(--fx-fs-sm); color: var(--fx-ink-3); min-width: 0; }
.fx-crumb svg {
    width: 11px; height: 11px;
    fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round;
    opacity: .5;
    flex: 0 0 auto;
}
.fx-crumb a:hover { color: var(--fx-accent); }
.fx-crumb [aria-current="page"] {
    color: var(--fx-ink-2);
    max-width: 40vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   10. 分页 / 空态
   -------------------------------------------------------------------------- */
.fx-pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.fx-pager a, .fx-pager span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 9px;
    border: 1px solid var(--fx-line-2);
    border-radius: var(--fx-r-sm);
    font-size: var(--fx-fs-sm);
    color: var(--fx-ink-2);
}
.fx-pager a:hover { border-color: var(--fx-accent); color: var(--fx-accent); background: var(--fx-accent-soft); }
.fx-pager .is-active {
    background: var(--fx-accent);
    border-color: var(--fx-accent);
    color: var(--fx-accent-ink);
    font-weight: 600;
    box-shadow: 2px 2px 0 var(--fx-gold-soft);
}
.fx-pager .is-disabled { color: var(--fx-ink-3); opacity: .6; }
.fx-pager__meta { border: 0 !important; color: var(--fx-ink-3); font-size: var(--fx-fs-xs); }

/* 结果统计条：由 widget/page 在列表之后输出（此时 $__PAGING__ 才有值）。
   左右分栏：左「共 N 条」右「第 x / y 页」，窄屏换行居中。 */
.fx-resultbar {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 14px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--fx-line);
    font-size: var(--fx-fs-sm);
    color: var(--fx-ink-3);
}
.fx-resultbar b { color: var(--fx-ink); font-family: var(--fx-mono); font-size: var(--fx-fs-md); letter-spacing: -.02em; }
@media (max-width: 560px) { .fx-resultbar { justify-content: center; } }

.fx-empty {
    padding: 40px 20px;
    text-align: center;
    background: var(--fx-surface);
    border: 1px dashed var(--fx-line-2);
    border-radius: var(--fx-r-xs);
}
.fx-empty h2 { font-size: var(--fx-fs-md); margin-bottom: 6px; }
.fx-empty p { font-size: var(--fx-fs-sm); color: var(--fx-ink-3); }

/* --------------------------------------------------------------------------
   11. 页脚（放映单：打板条 + 片头章 + 三栏场记单 + 深色放映基座）
   分类内链仍是 SEO 落点：最多 18 个一级频道，全部来自后台分类表。
   -------------------------------------------------------------------------- */
.fx-foot {
    margin-top: var(--fx-gap-block);
    background: var(--fx-surface);
    border-top: 1px solid var(--fx-ink);
    box-shadow: inset 0 1px 0 rgba(250, 245, 231, .5);
}

/* 打板条：黑白斜纹，页脚的第一眼识别点 */
.fx-foot__slate {
    height: 12px;
    background: repeating-linear-gradient(135deg, var(--fx-ink) 0 10px, var(--fx-surface) 10px 20px);
    border-bottom: 1px solid var(--fx-ink);
}

.fx-foot__brandrow {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px 24px;
    padding: 24px 0 18px;
    border-bottom: 1px solid var(--fx-line-2);
}
.fx-foot__brand { display: flex; align-items: flex-start; gap: 14px; min-width: 0; }
.fx-foot__stamp {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 46px; height: 46px;
    padding: 4px;
    background: var(--fx-surface);
    border: 1px solid var(--fx-line-2);
    border-radius: var(--fx-r-xs);
    box-shadow: inset 0 0 0 2px rgba(32, 37, 28, .06);
    transform: rotate(-2deg);
}
.fx-foot__stamp img { width: 100%; height: 100%; object-fit: contain; }
.fx-foot__brandcopy { min-width: 0; }
.fx-foot__brandcopy strong {
    display: block;
    font-family: var(--fx-display);
    font-size: var(--fx-fs-xl);
    font-weight: 700;
    letter-spacing: .03em;
}
.fx-foot__brandcopy p {
    margin-top: 5px;
    max-width: 58ch;
    font-size: var(--fx-fs-sm);
    color: var(--fx-ink-3);
    line-height: 1.8;
}
.fx-foot__place {
    flex: 0 0 auto;
    padding-left: 16px;
    border-left: 1px dashed var(--fx-line-2);
    font-family: var(--fx-mono);
    text-align: right;
}
.fx-foot__place b {
    display: block;
    font: 700 var(--fx-fs-xs)/1.6 var(--fx-display);
    letter-spacing: .14em;
    color: var(--fx-accent);
}
.fx-foot__place span {
    display: block;
    font-size: var(--fx-fs-xs);
    letter-spacing: .06em;
    color: var(--fx-ink-3);
}

/* 场记单：三栏，栏间用虚线，不画盒子 */
.fx-foot__sheet {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    padding: 20px 0 22px;
}
.fx-foot__col {
    min-width: 0;
    padding: 0 22px 0 0;
    border-right: 1px dashed var(--fx-line-2);
}
.fx-foot__col + .fx-foot__col { padding-left: 22px; }
.fx-foot__col:last-child { padding-right: 0; border-right: 0; }
.fx-foot__colhead {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 8px;
    padding-bottom: 9px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--fx-line);
}
.fx-foot__colhead i {
    font: 700 var(--fx-fs-2xs)/1 var(--fx-mono);
    font-style: normal;
    color: var(--fx-brick);
}
.fx-foot__colhead h3 { font-size: var(--fx-fs-base); }
.fx-foot__colhead em {
    font: 400 10px/1 var(--fx-mono);
    font-style: normal;
    letter-spacing: .16em;
    color: var(--fx-ink-3);
}
.fx-foot__links { display: flex; flex-wrap: wrap; gap: 6px; }
.fx-foot__links a {
    padding: 3px 8px;
    border: 1px solid var(--fx-line);
    border-radius: var(--fx-r-xs);
    background: var(--fx-paper);
    font-size: var(--fx-fs-xs);
    color: var(--fx-ink-2);
    transition: color var(--fx-t) var(--fx-ease), border-color var(--fx-t) var(--fx-ease), background var(--fx-t) var(--fx-ease);
}
.fx-foot__links a:hover { color: var(--fx-accent); border-color: var(--fx-accent-soft-2); background: var(--fx-accent-soft); }
.fx-foot__meta { display: grid; gap: 6px; font-size: var(--fx-fs-xs); color: var(--fx-ink-3); }
.fx-foot__meta a { color: var(--fx-ink-2); border-bottom: 1px solid var(--fx-line-2); width: fit-content; }
.fx-foot__meta a:hover { color: var(--fx-accent); border-color: var(--fx-accent); }

/* 深色放映基座：免责声明 + 设计署名 + 回顶 */
.fx-foot__base {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding: 11px 14px;
    margin-bottom: 20px;
    background: var(--fx-ink);
    color: #e8e1cd;
    border-radius: var(--fx-r-xs);
    font-size: var(--fx-fs-2xs);
    line-height: 1.7;
}
.fx-foot__base p { margin: 0; }
.fx-foot__base b { color: var(--fx-beam); font-weight: 600; }
.fx-foot__top {
    margin-left: auto;
    flex: 0 0 auto;
    padding: 4px 10px;
    border: 1px solid rgba(250, 245, 231, .3);
    border-radius: var(--fx-r-xs);
    color: #faf5e7;
    font-family: var(--fx-mono);
    transition: background var(--fx-t) var(--fx-ease), border-color var(--fx-t) var(--fx-ease);
}
.fx-foot__top:hover { background: var(--fx-accent); border-color: var(--fx-accent); }

@media (max-width: 899.98px) {
    .fx-foot__sheet { grid-template-columns: minmax(0, 1fr); padding: 16px 0 18px; }
    .fx-foot__col { padding: 0 0 14px; border-right: 0; border-bottom: 1px dashed var(--fx-line-2); }
    .fx-foot__col + .fx-foot__col { padding-left: 0; padding-top: 14px; }
    .fx-foot__col:last-child { padding-bottom: 0; border-bottom: 0; }
    .fx-foot__place { text-align: left; padding-left: 0; border-left: 0; }
    .fx-foot__base { margin-bottom: 16px; }
    .fx-foot__top { margin-left: 0; }
}

/* --------------------------------------------------------------------------
   12. 广告位 / 工具
   -------------------------------------------------------------------------- */
.fx-ad { display: block; margin: 0 auto; text-align: center; }
.fx-ad img { margin-inline: auto; }

.fx-clamp-1, .fx-clamp-2, .fx-clamp-3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.fx-clamp-1 { -webkit-line-clamp: 1; }
.fx-clamp-2 { -webkit-line-clamp: 2; }
.fx-clamp-3 { -webkit-line-clamp: 3; }
