/* ============================================================
   新模板105 · 暖阳橙影风（暖橙米白浅色系 · 左侧边栏布局）
   骨架与全部前套不同：单层深色横幅顶栏（Logo+导航+搜索一行）
   → 首页主体 = 左侧固定栏（全站热榜 + 热门搜索，手机隐藏）
               + 右主区（金刚区 → 最近更新20 → 电影板块 → 电视剧板块）
   详情页档案卡（海报180×240）· 播放页信息条+16:9播放器
   筛选页 class 全新 cull- 词根 · 封面 2:3 四重锁定 · SEO 语义化
   ============================================================ */
:root {
    --cream: #faf6ef;      /* 暖纸底色 */
    --card: #ffffff;        /* 卡片白 */
    --ink: #2c241c;         /* 墨褐主文字 */
    --gray: #8b8074;        /* 次级文字 */
    --line: #ece3d6;        /* 浅褐描边 */
    --orange: #ea7d1e;      /* 暖橙主色 */
    --orange2: #d4621a;     /* 橙深 */
    --olive: #3d7a57;       /* 墨绿点缀 */
    --amber: #e8a33d;       /* 琥珀 */
    --shadow: 0 6px 18px rgba(44, 36, 28, .08);
    --radius: 10px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    font: 14px/1.6 "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background: var(--cream);
    color: var(--ink);
}
img {
    border: 0;
    max-width: 100%;
    vertical-align: top;
}
a { color: inherit; text-decoration: none; }
ul, ol, dl, dd { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

/* ---------- 顶栏：单层深色横幅 ---------- */
.banner { background: linear-gradient(135deg, #33291f, #241c14); box-shadow: 0 4px 16px rgba(44, 36, 28, .3); }
.banner-core {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 16px;
    height: 62px;
    display: flex;
    align-items: center;
    gap: 18px;
}
.banner-logo { display: flex; align-items: center; gap: 10px; color: #fff; flex-shrink: 0; }
.banner-mark {
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    font-style: normal;
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--orange2));
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(234, 125, 30, .45);
}
.banner-name { font-size: 21px; font-weight: 900; letter-spacing: 1px; }
.banner-nav {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}
.banner-nav::-webkit-scrollbar { display: none; }
.banner-link {
    display: block;
    padding: 19px 14px;
    font-size: 15px;
    font-weight: 800;
    color: #e9e0d4;
    white-space: nowrap;
    transition: color .2s;
}
.banner-link:hover { color: var(--amber); }
.banner-link-home { color: var(--amber); }
.banner-caret { font-style: normal; font-size: 11px; margin-left: 3px; color: rgba(233, 224, 212, .55); }
.banner-item { position: relative; }
.banner-fly {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 420px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
    z-index: 60;
}
.banner-item:hover .banner-fly,
.banner-item.is-on .banner-fly { display: block; }
.banner-fly:empty { display: none !important; }
.banner-sub {
    display: inline-block;
    padding: 7px 14px;
    margin: 2px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    background: var(--cream);
    border-radius: 6px;
    white-space: nowrap;
    transition: all .2s;
}
.banner-sub:hover { background: var(--orange); color: #fff; }
.banner-search {
    display: flex;
    align-items: center;
    width: 240px;
    height: 36px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 18px;
    overflow: hidden;
    flex-shrink: 0;
}
.banner-input {
    flex: 1;
    min-width: 0;
    height: 34px;
    padding: 0 14px;
    border: 0;
    outline: 0;
    font-size: 13px;
    color: #fff;
    background: transparent;
}
.banner-input::placeholder { color: rgba(255, 255, 255, .5); }
.banner-go {
    height: 34px;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--orange2));
    border-radius: 0 18px 18px 0;
    transition: filter .2s;
}
.banner-go:hover { filter: brightness(1.12); }
.banner-burger { display: none; flex-shrink: 0; width: 38px; height: 38px; padding: 8px; background: rgba(255, 255, 255, .1); border-radius: 8px; }
.burger-line { display: block; height: 3px; margin: 5px 0; background: #fff; border-radius: 2px; }

/* ---------- 手机端左侧滑入抽屉 ---------- */
.draw { display: none; }
.draw.is-open { display: block; }
.draw-veil { position: fixed; inset: 0; background: rgba(44, 36, 28, .55); z-index: 130; }
.draw-sheet {
    position: fixed;
    top: 0;
    left: 0;
    width: 286px;
    height: 100%;
    background: #fff;
    z-index: 131;
    overflow-y: auto;
    padding: 14px 0;
    box-shadow: 4px 0 24px rgba(0, 0, 0, .2);
}
.draw-search { display: flex; align-items: center; gap: 8px; margin: 0 14px 10px; padding: 5px 6px 5px 14px; background: var(--cream); border-radius: 18px; }
.draw-input { flex: 1; min-width: 0; height: 30px; padding: 0 6px; border: 0; outline: 0; font-size: 13px; color: var(--ink); background: transparent; }
.draw-go { padding: 6px 14px; font-size: 12px; font-weight: 800; color: #fff; background: var(--orange); border-radius: 14px; }
.draw-link { display: block; padding: 12px 18px; font-size: 15px; font-weight: 800; color: var(--ink); border-bottom: 1px solid var(--line); }
.draw-link:active { background: var(--cream); }
.draw-group { border-bottom: 1px solid var(--line); }
.draw-head { display: flex; align-items: center; justify-content: space-between; }
.draw-name { display: block; flex: 1; padding: 12px 18px; font-size: 15px; font-weight: 800; color: var(--ink); }
.draw-toggle { padding: 12px 18px; font-style: normal; font-size: 12px; color: var(--orange); transition: transform .2s; }
.draw-group.is-open .draw-toggle { transform: rotate(180deg); }
.draw-child { display: none; padding: 4px 0 8px; background: var(--cream); }
.draw-group.is-open .draw-child { display: block; }
.draw-child-link { display: block; padding: 10px 30px; font-size: 14px; font-weight: 700; color: var(--gray); }
.draw-child-link:active { color: var(--orange); }
.draw-extra { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 6px; }

/* ---------- 主体：主区单列 ---------- */
.board {
    max-width: 1320px;
    margin: 0 auto;
    padding: 14px 16px 0;
}
.board-main { min-width: 0; display: flex; flex-direction: column; gap: 14px; }

/* ---------- 主区底部双栏：全站热榜 + 热门搜索 ---------- */
.twin { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.twin-col { min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.hit { display: flex; flex-direction: column; gap: 2px; }
.hit-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; transition: background .2s; }
.hit-row:hover { background: var(--cream); }
.hit-no {
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    font-style: normal;
    font-size: 11px;
    font-weight: 900;
    color: var(--gray);
    background: var(--cream);
    border-radius: 5px;
    flex-shrink: 0;
}
.hit-row:nth-child(1) .hit-no,
.hit-row:nth-child(2) .hit-no,
.hit-row:nth-child(3) .hit-no { color: #fff; background: linear-gradient(135deg, var(--orange), var(--orange2)); }
.hit-name { flex: 1; font-size: 13px; font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hit-num { font-style: normal; font-size: 11px; font-weight: 800; color: var(--olive); flex-shrink: 0; }
.seek { display: flex; flex-wrap: wrap; gap: 8px; }
.seek-tag {
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    color: var(--olive);
    background: rgba(61, 122, 87, .08);
    border: 1px solid rgba(61, 122, 87, .25);
    border-radius: 16px;
    transition: all .2s;
}
.seek-tag:hover { background: var(--olive); border-color: transparent; color: #fff; }

/* ---------- 板块 ---------- */
.shelf { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 18px; }
.shelf-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.shelf-title {
    font-size: 18px;
    font-weight: 900;
    color: var(--ink);
    padding-left: 12px;
    position: relative;
}
.shelf-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 2px;
    background: linear-gradient(var(--orange), var(--amber));
}
.shelf-more { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--gray); white-space: nowrap; }
.shelf-more:hover { color: var(--orange); }

/* ---------- 金刚区（仅电影/电视剧 + 二级） ---------- */
.foyer { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.foyer-cell {
    display: block;
    min-width: 0;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 16px;
    transition: border-color .2s, transform .2s;
}
.foyer-cell:hover { border-color: var(--orange); transform: translateY(-2px); }
.foyer-top { display: flex; align-items: center; gap: 10px; }
.foyer-mark {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-style: normal;
    font-size: 16px;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--orange2));
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(234, 125, 30, .35);
    flex-shrink: 0;
}
.foyer-name {
    font-size: 15px;
    font-weight: 900;
    color: var(--ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.foyer-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.foyer-tags:empty { display: none; }
.foyer-tag {
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
    color: var(--orange2);
    background: rgba(234, 125, 30, .08);
    border: 1px solid rgba(234, 125, 30, .25);
    border-radius: 12px;
    padding: 3px 10px;
    transition: all .2s;
}
.foyer-tag:hover { background: var(--orange); border-color: transparent; color: #fff; }

/* ---------- 封面卡（2:3 四重锁定） ---------- */
.disc-card { display: block; min-width: 0; }
.disc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px 12px; }
.disc-pic {
    position: relative;
    display: block;
    height: 0 !important;
    padding-top: 150% !important;
    aspect-ratio: 2 / 3;
    border-radius: 8px;
    overflow: hidden;
    background: var(--line);
    transition: box-shadow .25s;
}
.disc-pic:hover { box-shadow: var(--shadow); }
.disc-img {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    transition: transform .25s;
}
.disc-pic:hover .disc-img { transform: scale(1.05); }
.disc-flag {
    position: absolute;
    top: 8px;
    left: 8px;
    max-width: 78%;
    padding: 3px 8px;
    font-style: normal;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    background: rgba(212, 98, 26, .92);
    border-radius: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.disc-score {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 3px 8px;
    font-style: normal;
    font-size: 11px;
    font-weight: 900;
    color: var(--ink);
    background: var(--amber);
    border-radius: 10px;
}
.disc-veil {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 10px;
    background: rgba(255, 255, 255, .94);
    opacity: 0;
    transition: opacity .25s;
}
.disc-pic:hover .disc-veil { opacity: 1; }
.disc-go {
    display: block;
    margin: 0 auto 6px;
    padding: 5px 14px;
    font-style: normal;
    font-size: 12px;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--orange2));
    border-radius: 14px;
}
.disc-note {
    display: block;
    font-style: normal;
    font-size: 12px;
    line-height: 1.7;
    color: var(--gray);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.disc-meta { display: block; margin-top: 7px; }
.disc-name {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: var(--ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.disc-sub { display: block; font-style: normal; font-size: 12px; color: var(--gray); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 面包屑 ---------- */
.trail { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; padding: 10px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; }
.trail-link { font-size: 13px; font-weight: 700; color: var(--gray); }
.trail-link:hover { color: var(--orange); }
.trail-sep { font-style: normal; font-size: 12px; color: var(--line); }
.trail-now { font-size: 13px; font-weight: 800; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%; }

/* ---------- 详情：影片档案 ---------- */
.vita {
    display: flex;
    gap: 24px;
    margin-bottom: 14px;
    padding: 20px 22px;
    background: linear-gradient(135deg, #ffffff, #fdf1e2 60%, #fbe6cc);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.vita-poster {
    position: relative;
    display: block;
    width: 180px;
    height: 240px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: var(--line);
    border: 1px solid rgba(234, 125, 30, .3);
}
.vita-img {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    transition: transform .25s;
}
.vita-poster:hover .vita-img { transform: scale(1.05); }
.vita-stamp {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 10px;
    font-style: normal;
    font-size: 13px;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--orange2));
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(234, 125, 30, .4);
}
.vita-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--orange2));
    border-radius: 22px;
    box-shadow: 0 4px 14px rgba(234, 125, 30, .5);
    opacity: 0;
    transition: opacity .25s;
}
.vita-poster:hover .vita-play { opacity: 1; }
.vita-main { flex: 1; min-width: 0; }
.vita-title { font-size: 24px; font-weight: 900; line-height: 1.3; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vita-meta { margin-top: 8px; font-size: 13px; color: var(--gray); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vita-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.vita-tag {
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--orange2);
    background: rgba(234, 125, 30, .08);
    border: 1px solid rgba(234, 125, 30, .25);
    border-radius: 14px;
    transition: all .2s;
}
.vita-tag:hover { background: var(--orange); border-color: transparent; color: #fff; }
.vita-desc {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.9;
    color: var(--gray);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.vita-actions { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.vita-watch {
    padding: 10px 26px;
    font-size: 14px;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--orange2));
    border-radius: 22px;
    box-shadow: 0 4px 14px rgba(234, 125, 30, .35);
    transition: transform .2s;
}
.vita-watch:hover { transform: translateY(-2px); }
.vita-more {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 800;
    color: var(--olive);
    border: 1px solid rgba(61, 122, 87, .4);
    border-radius: 22px;
    transition: background .2s;
}
.vita-more:hover { background: rgba(61, 122, 87, .08); }

/* ---------- 选集（直接显示 · 超20折叠） ---------- */
.serial-note { margin-left: auto; font-size: 12px; color: var(--gray); white-space: nowrap; }
.serial-source {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    margin: 10px 0 8px;
    background: var(--cream);
    border-left: 3px solid var(--orange);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
    color: var(--ink);
}
.serial-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.serial-cell {
    padding: 9px 4px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all .2s;
}
.serial-cell:hover { border-color: var(--orange); color: var(--orange2); }
.serial-cell.is-on { color: #fff; background: linear-gradient(135deg, var(--orange), var(--orange2)); border-color: transparent; }
.serial-cell.is-hide { display: none !important; }
.serial-more { margin-top: 10px; text-align: center; }
.serial-btn {
    padding: 8px 26px;
    font-size: 13px;
    font-weight: 800;
    color: var(--orange);
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 18px;
    transition: all .2s;
}
.serial-btn:hover { background: var(--orange); color: #fff; }

/* ---------- 影片资料 ---------- */
.spec { background: var(--cream); border-radius: 8px; padding: 16px 18px; }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 26px; }
.spec-grid dd { font-size: 13px; line-height: 1.8; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spec-key { color: var(--gray); font-weight: 700; }
.spec-note { margin-top: 10px; font-size: 13px; line-height: 1.9; color: var(--gray); }
.spec-note strong { color: var(--ink); }

/* ---------- 剧情简介 ---------- */
.gist { background: var(--cream); border-radius: 8px; padding: 16px 18px; }
.gist-text { font-size: 14px; line-height: 2; color: var(--ink); white-space: pre-line; }

/* ---------- 常见问题 ---------- */
.clue { background: var(--cream); border-radius: 8px; padding: 16px 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 26px; }
.clue-item { min-width: 0; }
.clue-q { display: block; font-size: 14px; font-weight: 800; color: var(--orange2); line-height: 1.6; }
.clue-a { margin-top: 6px; font-size: 13px; line-height: 1.8; color: var(--gray); }
.clue-a a { color: var(--olive); }

/* ---------- 评论 ---------- */
.buzz-total { margin-left: auto; font-size: 12px; color: var(--gray); }
.buzz { background: var(--cream); border-radius: 8px; padding: 4px 18px; }
.buzz-item { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.buzz-item:last-child { border-bottom: 0; }
.buzz-avatar {
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    font-style: normal;
    font-size: 15px;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--orange2));
    border-radius: 50%;
    flex-shrink: 0;
}
.buzz-body { flex: 1; min-width: 0; }
.buzz-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.buzz-user { font-size: 13px; font-weight: 800; color: var(--orange2); }
.buzz-badge {
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    color: var(--olive);
    background: rgba(61, 122, 87, .1);
    border-radius: 8px;
}
.buzz-stars { font-size: 13px; color: var(--amber); }
.buzz-stars i { font-style: normal; color: #e3d9c8; }
.buzz-stars .is-on { color: var(--amber); }
.buzz-time { font-size: 12px; color: var(--gray); }
.buzz-text { margin-top: 6px; font-size: 13px; line-height: 1.8; color: var(--ink); }
.buzz-like { align-self: center; font-size: 12px; font-weight: 700; color: var(--gray); flex-shrink: 0; font-style: normal; }

/* ---------- 分页 ---------- */
.flip { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-bottom: 18px; }
.flip-btn {
    padding: 7px 15px;
    font-size: 13px;
    font-weight: 700;
    color: var(--orange);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 6px;
    transition: all .2s;
}
.flip-btn:hover,
.flip-btn.is-on { background: var(--orange); border-color: transparent; color: #fff; }

/* ---------- 播放页：信息条 ---------- */
.spotlight {
    display: flex;
    gap: 20px;
    margin-bottom: 14px;
    padding: 18px 22px;
    background: linear-gradient(135deg, #ffffff, #fdf1e2 60%, #fbe6cc);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.spotlight-copy { flex: 1; min-width: 0; }
.spotlight-name { font-size: 22px; font-weight: 900; line-height: 1.4; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spotlight-chip {
    display: inline-block;
    margin-left: 8px;
    padding: 3px 10px;
    font-style: normal;
    font-size: 12px;
    font-weight: 800;
    vertical-align: 4px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--orange2));
    border-radius: 12px;
}
.spotlight-meta { margin-top: 7px; font-size: 13px; color: var(--gray); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spotlight-desc {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.8;
    color: var(--gray);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.spotlight-aside { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; flex-shrink: 0; }
.spotlight-score {
    padding: 6px 14px;
    font-size: 16px;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--orange2));
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(234, 125, 30, .35);
}
.spotlight-link {
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 800;
    color: var(--olive);
    border: 1px solid rgba(61, 122, 87, .4);
    border-radius: 18px;
    transition: background .2s;
}
.spotlight-link:hover { background: rgba(61, 122, 87, .08); }

/* ---------- 播放器（16:9 全宽居中） ---------- */
.gallery { margin-bottom: 14px; }
.gallery-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.gallery-stage > * {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
}
.gallery-stage .player-box,
.gallery-stage .MacPlayer,
.gallery-stage .playbox,
.gallery-stage #player,
.gallery-stage #player-box {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ---------- 页脚（暖褐四栏） ---------- */
.foundation { margin-top: 26px; background: #241c14; color: #d8cbb8; }
.foundation-wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 30px 16px 24px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 26px;
}
.foundation-logo .banner-logo { color: #fff; margin-bottom: 12px; }
.foundation-logo .banner-mark { width: 30px; height: 30px; line-height: 30px; font-size: 14px; }
.foundation-logo .banner-name { font-size: 17px; }
.foundation-about { margin-top: 12px; font-size: 12px; line-height: 1.9; color: #a8967c; }
.foundation-col { min-width: 0; }
.foundation-title { font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.foundation-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foundation-links a { font-size: 13px; color: #a8967c; transition: color .2s; }
.foundation-links a:hover { color: var(--amber); }
.foundation-note { font-size: 12px; line-height: 1.9; color: #a8967c; }
.foundation-copy { border-top: 1px solid rgba(255, 255, 255, .12); padding: 14px 16px; text-align: center; font-size: 12px; color: #7c6e58; }
.foundation-copy p { line-height: 1.8; }
.foundation-copy a { color: #a8967c; }
.foundation-copy a:hover { color: var(--amber); }

/* ---------- 回到顶部 ---------- */
#rocket {
    position: fixed;
    right: 18px;
    bottom: 90px;
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    font-size: 20px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--orange2));
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(234, 125, 30, .4);
    z-index: 90;
    display: none;
    transition: transform .2s;
}
#rocket:hover { transform: translateY(-3px); }

/* ================= 筛选页 cull- 全新词根（功能与原标签一致） ================= */
.cull {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 14px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px 14px;
}
.cull:not(.is-expanded) .cull-row:not(:first-child):not(:last-child) { display: none; }
.cull-row { display: flex; align-items: flex-start; gap: 10px; padding: 5px 0; }
.cull-key { flex-shrink: 0; width: 58px; font-size: 13px; font-weight: 800; color: var(--gray); line-height: 30px; }
.cull-scroll {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.cull-scroll::-webkit-scrollbar { display: none; }
.cull-chip {
    flex-shrink: 0;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    background: var(--cream);
    border-radius: 16px;
    transition: all .2s;
}
.cull-chip:hover { background: var(--orange); color: #fff; }
.cull-chip.is-on { background: var(--orange); color: #fff; }
.cull-unfold {
    display: block;
    margin-top: 6px;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    color: var(--orange);
    background: var(--cream);
    border-radius: 6px;
    padding: 8px;
    transition: all .2s;
}
.cull-unfold:hover { background: var(--orange); color: #fff; }
.cull-main { min-width: 0; }
.cull-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.cull-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.cull-head h2 { font-size: 18px; font-weight: 900; color: var(--ink); padding-left: 12px; position: relative; }
.cull-head h2::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 2px; background: linear-gradient(var(--orange), var(--amber)); }
.cull-count { margin-left: auto; font-size: 13px; color: var(--gray); }
.cull-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px 12px; }
.cull-item { display: block; min-width: 0; }
.cull-pic {
    position: relative;
    display: block;
    height: 0 !important;
    padding-top: 150% !important;
    aspect-ratio: 2 / 3;
    border-radius: 8px;
    overflow: hidden;
    background: var(--line);
    transition: box-shadow .25s;
}
.cull-pic:hover { box-shadow: var(--shadow); }
.cull-pic:hover .cull-img { transform: scale(1.05); }
.cull-img {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    transition: transform .25s;
}
.cull-flag {
    position: absolute;
    top: 8px;
    left: 8px;
    max-width: 78%;
    padding: 3px 8px;
    font-style: normal;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    background: rgba(212, 98, 26, .92);
    border-radius: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cull-mask {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px 10px 8px;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(transparent, rgba(44, 36, 28, .92));
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cull-info { display: block; margin-top: 7px; }
.cull-name { display: block; font-size: 13px; font-weight: 800; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cull-meta { display: flex; justify-content: space-between; font-style: normal; font-size: 12px; color: var(--gray); }
.cull-score { color: var(--amber); font-weight: 800; font-style: normal; }
.cull-pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cull-btn {
    padding: 7px 15px;
    font-size: 13px;
    font-weight: 700;
    color: var(--orange);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 6px;
    transition: all .2s;
}
.cull-btn:hover,
.cull-btn.is-on { background: var(--orange); border-color: transparent; color: #fff; }

/* ================= 响应式 ================= */
@media (max-width: 1024px) {
    .banner-search { width: 190px; }
}
@media (max-width: 768px) {
    .banner-core { height: 54px; gap: 10px; padding: 0 12px; }
    .banner-name { font-size: 17px; }
    .banner-mark { width: 32px; height: 32px; line-height: 32px; font-size: 14px; }
    .banner-nav { display: none; }
    .banner-search { display: none; }
    .banner-burger { display: block; margin-left: auto; }
    .board { padding: 10px 12px 0; gap: 0; }
    .shelf { padding: 12px 12px 14px; }
    .shelf-head { margin-bottom: 10px; }
    .shelf-title { font-size: 16px; }
    .shelf-more { display: none; }
    /* 金刚区：2 列 */
    .foyer { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .foyer-cell { padding: 10px; }
    .foyer-mark { width: 34px; height: 34px; line-height: 34px; font-size: 14px; }
    .foyer-name { font-size: 13px; }
    .foyer-tags { margin-top: 8px; gap: 5px; }
    .foyer-tag { padding: 2px 8px; font-size: 11px; }
    /* 封面墙：手机4列刚好5行占满；板块10条手机3列 */
    .disc-grid { grid-template-columns: repeat(4, 1fr); gap: 10px 8px; }
    .disc-name { font-size: 12px; }
    /* 详情 */
    .vita { flex-direction: column; gap: 14px; padding: 16px; }
    .vita-poster { width: 136px; height: 182px; }
    .vita-title { font-size: 19px; }
    .vita-desc { -webkit-line-clamp: 2; }
    .vita-actions { margin-top: 12px; }
    .vita-watch { padding: 8px 20px; font-size: 13px; }
    .spec-grid { grid-template-columns: 1fr; gap: 4px 0; }
    .clue { grid-template-columns: 1fr; gap: 12px; }
    .serial-grid { grid-template-columns: repeat(5, 1fr); gap: 6px; }
    /* 播放页 */
    .spotlight { flex-direction: column; gap: 12px; padding: 16px; }
    .spotlight-aside { flex-direction: row; align-items: center; justify-content: flex-start; }
    .gallery-stage { border-radius: 8px; }
    /* 底部双栏 → 单栏，热榜隐藏 */
    .twin { grid-template-columns: 1fr; gap: 12px; }
    .twin-col:first-child { display: none !important; }
    .foundation-wrap { grid-template-columns: 1fr 1fr; gap: 18px; padding: 24px 14px 18px; }
    .foundation-logo { grid-column: 1 / -1; }
    .foundation-about { display: none; }
    .cull { padding: 8px 10px; }
    .cull-key { width: 50px; font-size: 12px; }
    .cull-chip { padding: 5px 12px; font-size: 12px; }
    /* 列表页：手机4列刚好5行占满 */
    .cull-grid { grid-template-columns: repeat(4, 1fr); gap: 10px 8px; }
}
