/* =====================================================
   fed111 · 纸艺版面 · 晨雾紫
   全新词根：folio/flap/vale/reel/plaque/gallery/carousel/
   shelf/board/cloud/tally/crumb/dossier/episode/spec/
   synopsis/faq/review/pager/notice/auditorium/colophon/lift/filter
   ===================================================== */
:root {
    --paper: #f4f2f8;
    --card: #ffffff;
    --ink: #26242e;
    --ink-soft: #6f6a7d;
    --line: #e4e0ee;
    --violet: #6b4de0;
    --violet-2: #8b6df0;
    --orange: #ff9a3d;
    --ok: #2fbf71;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 6px 18px rgba(60, 48, 110, 0.08);
    --shadow-hover: 0 12px 28px rgba(60, 48, 110, 0.16);
    --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: var(--paper); color: var(--ink); font-size: 14px; line-height: 1.6; }
img { border: 0; display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ================= 版心 ================= */
.vale { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 1200px) { .vale { padding: 0 20px; } }

/* ================= 头部：对开页导航 ================= */
.folio { position: sticky; top: 0; z-index: 999; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.folio-bar { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; height: 64px; display: flex; align-items: center; gap: 26px; }
.folio-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.folio-emblem { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, var(--violet-2), var(--violet)); color: #fff; font-style: normal; font-weight: 700; font-size: 19px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.folio-name { font-weight: 700; font-size: 18px; color: var(--ink); letter-spacing: 0.5px; }
.folio-menu { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; }
.folio-item { display: block; padding: 8px 16px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--ink-soft); transition: all 0.2s; white-space: nowrap; }
.folio-item:hover, .folio-item.is-on { color: #fff; background: linear-gradient(135deg, var(--violet-2), var(--violet)); box-shadow: var(--shadow); }
.folio-form { display: flex; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 3px; flex-shrink: 0; }
.folio-input { border: 0; outline: 0; background: transparent; padding: 7px 12px; width: 170px; font-size: 13px; color: var(--ink); }
.folio-go { border: 0; background: linear-gradient(135deg, var(--violet-2), var(--violet)); color: #fff; border-radius: 999px; padding: 7px 16px; font-size: 13px; font-weight: 600; }
.folio-go:hover { filter: brightness(1.08); }
.folio-burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--card); border-radius: 10px; flex-direction: column; align-items: center; justify-content: center; gap: 4px; flex-shrink: 0; }
.folio-burger i { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; display: block; }
@media (max-width: 1024px) {
    .folio-bar { gap: 16px; }
    .folio-menu { gap: 2px; }
    .folio-item { padding: 7px 11px; font-size: 14px; }
    .folio-input { width: 120px; }
}

/* ================= 手机面板：折翼 ================= */
.flap { display: none; }
@media (max-width: 768px) {
    .folio-form { display: none; }
    .folio-burger { display: flex; }
    .flap { display: block; }
    .flap-veil { position: fixed; inset: 0; background: rgba(30, 26, 48, 0.45); z-index: 998; opacity: 0; pointer-events: none; transition: opacity 0.25s; }
    .flap-panel { position: fixed; top: 0; right: 0; bottom: 0; width: 300px; max-width: 84vw; background: var(--card); z-index: 1000; padding: 16px; overflow-y: auto; transform: translateX(105%); transition: transform 0.28s; box-shadow: -8px 0 30px rgba(60, 48, 110, 0.18); }
    .flap.is-open .flap-veil { opacity: 1; pointer-events: auto; }
    .flap.is-open .flap-panel { transform: translateX(0); }
    .flap-search { display: flex; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 3px; margin-bottom: 12px; }
    .flap-input { border: 0; outline: 0; background: transparent; padding: 8px 12px; flex: 1; min-width: 0; font-size: 14px; }
    .flap-go { border: 0; background: linear-gradient(135deg, var(--violet-2), var(--violet)); color: #fff; border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 600; }
    .flap-group { border-bottom: 1px solid var(--line); }
    .flap-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 2px; cursor: pointer; }
    .flap-name { font-size: 15px; font-weight: 600; color: var(--ink); }
    .flap-caret { font-style: normal; color: var(--ink-soft); transition: transform 0.2s; font-size: 12px; }
    .flap-group.is-open .flap-caret { transform: rotate(180deg); }
    .flap-child { display: none; padding: 0 4px 12px; }
    .flap-group.is-open .flap-child { display: block; }
    .flap-chip { display: inline-block; padding: 6px 12px; margin: 3px; border-radius: 999px; background: var(--paper); color: var(--ink-soft); font-size: 13px; border: 1px solid var(--line); }
    .flap-chip:hover { color: var(--violet); border-color: var(--violet); }
}

/* ================= 板块标题：眉线 ================= */
.rule { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.rule-head { display: flex; align-items: center; gap: 10px; }
.rule-tag { width: 5px; height: 22px; border-radius: 3px; background: linear-gradient(180deg, var(--violet-2), var(--violet)); flex-shrink: 0; }
.rule-title { font-size: 19px; font-weight: 700; color: var(--ink); }
.rule-note { font-size: 12px; color: var(--ink-soft); }
.rule-more { font-size: 13px; color: var(--ink-soft); font-weight: 500; transition: color 0.2s; }
.rule-more:hover { color: var(--violet); }
.rule-more i { font-style: normal; }

/* ================= 首屏：精选轮播 ================= */
.reel { margin: 16px auto 0; width: 100%; max-width: 1200px; padding: 0 16px; }
.reel-frame { position: relative; border-radius: 16px; overflow: hidden; background: linear-gradient(120deg, #3d2d86, #6b4de0 55%, #8b6df0); box-shadow: var(--shadow); }
.reel-track { display: flex; transition: transform 0.5s ease; }
.reel-slide { flex: 0 0 100%; min-width: 0; }
.reel-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px 44px; height: 320px; }
.reel-copy { flex: 1; min-width: 0; color: #fff; }
.reel-eyebrow { display: inline-block; padding: 3px 12px; border-radius: 999px; background: rgba(255,255,255,0.18); font-size: 12px; letter-spacing: 1px; margin-bottom: 14px; }
.reel-title { font-size: 32px; font-weight: 800; line-height: 1.3; margin-bottom: 10px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.reel-meta { font-size: 13px; opacity: 0.85; margin-bottom: 12px; }
.reel-desc { font-size: 14px; opacity: 0.9; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-bottom: 20px; }
.reel-cta { display: inline-block; padding: 10px 24px; border-radius: 999px; background: var(--orange); color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 6px 16px rgba(255,154,61,0.4); }
.reel-cta:hover { filter: brightness(1.06); }
.reel-poster { flex-shrink: 0; width: 190px; height: 285px; border-radius: 12px; overflow: hidden; border: 3px solid rgba(255,255,255,0.35); box-shadow: 0 10px 30px rgba(0,0,0,0.25); position: relative; background: rgba(255,255,255,0.1); }
.reel-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 0.25s; }
.reel-slide:hover .reel-img { transform: scale(1.05); }
.reel-dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: 14px; display: flex; gap: 8px; z-index: 5; }
.reel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.45); border: 0; padding: 0; transition: all 0.25s; }
.reel-dot.is-on { background: #fff; width: 22px; border-radius: 6px; }
@media (max-width: 768px) {
    .reel { padding: 0 12px; }
    .reel-inner { padding: 18px; height: 200px; gap: 12px; }
    .reel-title { font-size: 18px; margin-bottom: 6px; }
    .reel-meta { font-size: 11px; margin-bottom: 6px; }
    .reel-desc, .reel-eyebrow { display: none; }
    .reel-cta { padding: 7px 16px; font-size: 12px; margin-top: 8px; }
    .reel-poster { width: 110px; height: 165px; border-radius: 8px; }
    .reel-dots { bottom: 8px; }
}

/* ================= 分类磁贴：牌匾 ================= */
.plaque { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.plaque-card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px; box-shadow: var(--shadow); transition: all 0.2s; }
.plaque-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--violet-2); }
.plaque-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.plaque-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 700; color: #fff; font-size: 15px; flex-shrink: 0; }
.plaque-name { font-size: 16px; font-weight: 700; }
.plaque-arrow { margin-left: auto; font-style: normal; color: var(--ink-soft); font-size: 13px; }
.plaque-sub { display: flex; flex-wrap: wrap; gap: 6px; }
.plaque-chip { font-size: 12px; color: var(--ink-soft); background: var(--paper); padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); transition: all 0.2s; }
.plaque-chip:hover { color: var(--violet); border-color: var(--violet-2); }
@media (max-width: 768px) { .plaque { grid-template-columns: repeat(2, 1fr); gap: 10px; } .plaque-card { padding: 14px 12px; } }

/* ================= 封面网格卡 ================= */
.gallery-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.gallery-card { min-width: 0; }
.gallery-pic { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--line); aspect-ratio: 2 / 3; height: 0 !important; padding-top: 150% !important; }
.gallery-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 0.25s; }
.gallery-card:hover .gallery-img { transform: scale(1.05); }
.gallery-flag { position: absolute; left: 8px; top: 8px; z-index: 3; font-style: normal; font-size: 11px; color: #fff; background: rgba(20, 16, 38, 0.72); padding: 2px 8px; border-radius: 999px; max-width: 72%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gallery-score { position: absolute; right: 8px; top: 8px; z-index: 3; font-style: normal; font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--orange), #ff7a3d); padding: 2px 7px; border-radius: 999px; }
.gallery-mask { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: block; padding: 26px 10px 8px; background: linear-gradient(180deg, transparent, rgba(20, 16, 38, 0.85)); color: #fff; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gallery-info { display: block; padding: 9px 2px 0; }
.gallery-name { display: block; font-size: 14px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gallery-sub { display: block; font-style: normal; font-size: 12px; color: var(--ink-soft); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
    .gallery-name { font-size: 13px; }
}

/* ================= 横滑大卡条 ================= */
.carousel { overflow: hidden; }
.carousel-stage { margin: 0 -5px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.carousel-stage::-webkit-scrollbar { height: 6px; }
.carousel-stage::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.carousel-track { display: flex; gap: 14px; padding: 4px 5px 12px; }
.carousel-card { flex: 0 0 19.2%; min-width: 0; scroll-snap-align: start; }
.carousel-pic { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--line); aspect-ratio: 2 / 3; height: 0 !important; padding-top: 150% !important; }
.carousel-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 0.25s; }
.carousel-card:hover .carousel-img { transform: scale(1.05); }
.carousel-badge { position: absolute; left: 8px; top: 8px; z-index: 3; font-style: normal; font-size: 11px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--violet-2), var(--violet)); padding: 2px 9px; border-radius: 999px; }
.carousel-info { display: block; padding: 10px 2px 0; }
.carousel-name { display: block; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.carousel-desc { display: block; font-size: 12px; color: var(--ink-soft); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.carousel-meta { display: block; font-style: normal; font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
@media (max-width: 1024px) { .carousel-card { flex: 0 0 24%; } }
@media (max-width: 768px) { .carousel-card { flex: 0 0 44%; } }

/* ================= 分类板块 ================= */
.shelf { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.shelf-card { min-width: 0; }
.shelf-pic { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--line); aspect-ratio: 2 / 3; height: 0 !important; padding-top: 150% !important; }
.shelf-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 0.25s; }
.shelf-card:hover .shelf-img { transform: scale(1.05); }
.shelf-flag { position: absolute; left: 8px; top: 8px; z-index: 3; font-style: normal; font-size: 11px; color: #fff; background: rgba(20, 16, 38, 0.72); padding: 2px 8px; border-radius: 999px; max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shelf-score { position: absolute; right: 8px; top: 8px; z-index: 3; font-style: normal; font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--orange), #ff7a3d); padding: 2px 7px; border-radius: 999px; }
.shelf-mask { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: block; padding: 26px 10px 8px; background: linear-gradient(180deg, transparent, rgba(20, 16, 38, 0.85)); color: #fff; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shelf-meta { display: block; padding: 9px 2px 0; }
.shelf-name { display: block; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shelf-sub { display: block; font-style: normal; font-size: 12px; color: var(--ink-soft); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 768px) {
    .shelf { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}

/* ================= 底部三栏 ================= */
.board-wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 14px; }
.board-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); min-width: 0; }
.board-row { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px dashed var(--line); }
.board-row:last-child { border-bottom: 0; }
.board-no { flex-shrink: 0; width: 24px; height: 24px; border-radius: 7px; font-style: normal; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; background: var(--paper); color: var(--ink-soft); }
.board-row:nth-child(-n+3) .board-no { background: linear-gradient(135deg, var(--violet-2), var(--violet)); color: #fff; }
.board-name { flex: 1; min-width: 0; font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-row:hover .board-name { color: var(--violet); }
.board-num { flex-shrink: 0; font-style: normal; font-size: 12px; color: var(--ink-soft); }
.cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.cloud-tag { font-size: 13px; color: var(--ink-soft); background: var(--paper); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; transition: all 0.2s; }
.cloud-tag:hover { color: #fff; background: linear-gradient(135deg, var(--violet-2), var(--violet)); border-color: transparent; }
.tally { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.tally-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 6px; text-align: center; }
.tally-num { display: block; font-size: 22px; font-weight: 800; color: var(--violet); }
.tally-label { display: block; font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
@media (max-width: 1024px) { .board-wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
    .board-wrap { grid-template-columns: 1fr; }
    .board-panel:first-child { display: none !important; }
}

/* ================= 面包屑 ================= */
.crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 16px 0 6px; font-size: 13px; }
.crumb-link { color: var(--ink-soft); transition: color 0.2s; }
.crumb-link:hover { color: var(--violet); }
.crumb-sep { font-style: normal; color: var(--line); }
.crumb-now { color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }

/* ================= 详情档案卡 ================= */
.dossier { display: flex; gap: 22px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); margin-top: 10px; }
.dossier-poster { position: relative; flex-shrink: 0; width: 180px; height: 240px; border-radius: 12px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.dossier-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 0.25s; }
.dossier:hover .dossier-img { transform: scale(1.04); }
.dossier-grade { position: absolute; left: 10px; top: 10px; z-index: 3; font-style: normal; font-size: 13px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--orange), #ff7a3d); padding: 3px 10px; border-radius: 999px; box-shadow: 0 4px 10px rgba(255,122,61,0.4); }
.dossier-press { position: absolute; right: 10px; top: 10px; z-index: 3; font-style: normal; font-size: 11px; color: #fff; background: rgba(20, 16, 38, 0.72); padding: 2px 8px; border-radius: 999px; }
.dossier-play { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3; display: block; text-align: center; padding: 10px 0; border-radius: 10px; background: linear-gradient(135deg, var(--violet-2), var(--violet)); color: #fff; font-weight: 700; font-size: 14px; box-shadow: var(--shadow); }
.dossier-play:hover { filter: brightness(1.08); }
.dossier-main { flex: 1; min-width: 0; }
.dossier-title { font-size: 24px; font-weight: 800; line-height: 1.35; margin-bottom: 8px; }
.dossier-meta { font-size: 13px; color: var(--ink-soft); margin-bottom: 5px; }
.dossier-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.dossier-tag { font-size: 12px; color: var(--ink-soft); background: var(--paper); border: 1px solid var(--line); padding: 3px 12px; border-radius: 999px; transition: all 0.2s; }
.dossier-tag:hover { color: var(--violet); border-color: var(--violet-2); }
.dossier-desc { font-size: 14px; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.dossier-actions { display: flex; gap: 10px; margin-top: 16px; }
.dossier-watch { display: inline-block; padding: 10px 26px; border-radius: 999px; background: linear-gradient(135deg, var(--violet-2), var(--violet)); color: #fff; font-weight: 700; font-size: 14px; box-shadow: var(--shadow); }
.dossier-watch:hover { filter: brightness(1.08); }
.dossier-list { display: inline-block; padding: 10px 26px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 14px; }
.dossier-list:hover { border-color: var(--violet-2); color: var(--violet); }
@media (max-width: 768px) {
    .dossier { flex-direction: column; gap: 14px; padding: 16px; }
    .dossier-poster { width: 136px; height: 182px; }
    .dossier-title { font-size: 19px; }
    .dossier-watch, .dossier-list { padding: 8px 18px; }
}

/* ================= 选集 ================= */
.episode { margin-top: 14px; }
.episode-source { font-size: 13px; font-weight: 600; color: var(--violet); margin: 10px 0 8px; }
.episode-source b { font-weight: 600; }
.episode-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; }
.episode-cell { display: block; text-align: center; padding: 8px 2px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); transition: all 0.2s; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.episode-cell:hover { color: var(--violet); border-color: var(--violet-2); transform: translateY(-2px); }
.episode-cell.is-on { background: linear-gradient(135deg, var(--violet-2), var(--violet)); color: #fff; border-color: transparent; font-weight: 600; }
.episode-cell.is-hide { display: none; }
.episode-more { text-align: center; margin-top: 12px; }
.episode-btn { padding: 9px 30px; border-radius: 999px; border: 1px solid var(--violet-2); background: transparent; color: var(--violet); font-size: 13px; font-weight: 600; transition: all 0.2s; }
.episode-btn:hover { background: linear-gradient(135deg, var(--violet-2), var(--violet)); color: #fff; }
@media (max-width: 768px) { .episode-grid { grid-template-columns: repeat(5, 1fr); gap: 7px; } }

/* ================= 资料 / 简介 ================= */
.spec { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; }
.spec-grid dd { font-size: 14px; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spec-key { color: var(--ink); font-weight: 600; }
.spec-note { margin-top: 14px; font-size: 14px; color: var(--ink-soft); line-height: 1.9; }
.synopsis { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.synopsis-text { font-size: 14px; color: var(--ink-soft); line-height: 1.9; }

/* ================= 常见问题 ================= */
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.faq-q { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 6px; line-height: 1.5; }
.faq-a { font-size: 13px; color: var(--ink-soft); line-height: 1.7; }
.faq-a a { color: var(--violet); }
@media (max-width: 768px) { .faq { grid-template-columns: 1fr; } }

/* ================= 评论 ================= */
.review { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 18px 18px; box-shadow: var(--shadow); }
.review-total { font-size: 12px; color: var(--ink-soft); }
.review-item { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.review-item:last-child { border-bottom: 0; }
.review-avatar { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--violet-2), var(--violet)); color: #fff; font-style: normal; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.review-body { flex: 1; min-width: 0; }
.review-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.review-user { font-size: 14px; font-weight: 600; }
.review-badge { font-size: 11px; color: var(--ok); background: rgba(47,191,113,0.12); padding: 1px 8px; border-radius: 999px; }
.review-stars { font-size: 13px; color: var(--orange); }
.review-time { font-size: 12px; color: var(--ink-soft); margin-left: auto; }
.review-text { font-size: 14px; color: var(--ink); }
.review-like { flex-shrink: 0; font-style: normal; font-size: 12px; color: var(--ink-soft); align-self: center; }

/* ================= 分页 ================= */
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 24px 0 6px; }
.pager-btn { display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); transition: all 0.2s; }
.pager-btn:hover { color: var(--violet); border-color: var(--violet-2); }
.pager-btn.is-on { background: linear-gradient(135deg, var(--violet-2), var(--violet)); color: #fff; border-color: transparent; font-weight: 600; }

/* ================= 播放信息条 ================= */
.notice { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; box-shadow: var(--shadow); margin-top: 10px; }
.notice-copy { flex: 1; min-width: 0; }
.notice-name { font-size: 22px; font-weight: 800; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.notice-chip { font-style: normal; font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--orange), #ff7a3d); padding: 2px 10px; border-radius: 999px; }
.notice-meta { font-size: 13px; color: var(--ink-soft); margin-bottom: 4px; }
.notice-desc { font-size: 13px; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.notice-aside { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.notice-score { font-size: 22px; font-weight: 800; color: var(--orange); }
.notice-link { font-size: 13px; color: var(--violet); font-weight: 600; }
@media (max-width: 768px) {
    .notice { padding: 14px 16px; }
    .notice-name { font-size: 18px; }
    .notice-aside { display: none; }
}

/* ================= 播放器 ================= */
.auditorium { margin-top: 14px; }
.auditorium-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #0e0c16; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.auditorium-stage iframe, .auditorium-stage video, .auditorium-stage .MacPlayer, .auditorium-stage #player, .auditorium-stage #player-box, .auditorium-stage .playbox { position: absolute !important; left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; border: 0; }

/* ================= 页脚：版权页 ================= */
.colophon { margin-top: 36px; background: #211c38; color: #b8b2d8; }
.colophon-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 34px 16px 10px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 24px; }
.colophon-brand .folio-emblem { background: linear-gradient(135deg, var(--violet-2), var(--violet)); }
.colophon-brand .folio-name { color: #fff; }
.colophon-about { font-size: 13px; line-height: 1.8; margin-top: 10px; }
.colophon-title { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.colophon-links { display: flex; flex-direction: column; gap: 8px; }
.colophon-links a { font-size: 13px; color: #b8b2d8; transition: color 0.2s; }
.colophon-links a:hover { color: #fff; }
.colophon-note { font-size: 13px; line-height: 1.8; }
.colophon-copy { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 22px; padding: 14px 16px; font-size: 12px; color: #8d87ad; }
.colophon-copy a { color: #b8b2d8; }
@media (max-width: 768px) { .colophon-wrap { grid-template-columns: repeat(2, 1fr); gap: 18px; } }

/* ================= 次要容器 ================= */
.board { margin-top: 2px; }
.colophon-col { min-width: 0; }

/* ================= 回顶 ================= */
.lift { display: none; position: fixed; right: 22px; bottom: 30px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: linear-gradient(135deg, var(--violet-2), var(--violet)); color: #fff; font-size: 16px; box-shadow: var(--shadow); z-index: 900; }
@media (max-width: 768px) { .lift { right: 14px; bottom: 22px; width: 40px; height: 40px; } }

/* ================= 筛选页 ================= */
.filter { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 14px 12px; margin-top: 12px; box-shadow: var(--shadow); }
.filter-row { display: flex; align-items: flex-start; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.filter-row:last-child { border-bottom: 0; }
.filter-key { flex-shrink: 0; width: 68px; font-size: 13px; font-weight: 700; color: var(--ink); padding-top: 5px; }
.filter-scroll { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip { font-size: 13px; color: var(--ink-soft); background: var(--paper); border: 1px solid var(--line); padding: 5px 13px; border-radius: 999px; transition: all 0.2s; white-space: nowrap; }
.filter-chip:hover { color: var(--violet); border-color: var(--violet-2); }
.filter-chip.is-on { color: #fff; background: linear-gradient(135deg, var(--violet-2), var(--violet)); border-color: transparent; font-weight: 600; }
.filter-unfold { display: block; margin: 12px auto 2px; padding: 8px 26px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-soft); font-size: 13px; transition: all 0.2s; }
.filter-unfold:hover { color: var(--violet); border-color: var(--violet-2); }
.filter:not(.is-expanded) .filter-row:not(:first-child):not(:last-child) { display: none; }
.filter-main { margin-top: 16px; }
.filter-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.filter-title { font-size: 19px; font-weight: 700; }
.filter-count { font-size: 13px; color: var(--ink-soft); }
.filter-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.filter-item { min-width: 0; }
.filter-pic { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--line); aspect-ratio: 2 / 3; height: 0 !important; padding-top: 150% !important; }
.filter-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 0.25s; }
.filter-item:hover .filter-img { transform: scale(1.05); }
.filter-flag { position: absolute; left: 8px; top: 8px; z-index: 3; font-style: normal; font-size: 11px; color: #fff; background: rgba(20, 16, 38, 0.72); padding: 2px 8px; border-radius: 999px; max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filter-mask { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: block; padding: 26px 10px 8px; background: linear-gradient(180deg, transparent, rgba(20, 16, 38, 0.85)); color: #fff; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filter-info { display: block; padding: 9px 2px 0; }
.filter-name { display: block; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filter-meta { display: flex; justify-content: space-between; font-style: normal; font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
.filter-score { color: var(--orange); font-weight: 700; }
@media (max-width: 768px) {
    .filter-scroll { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
    .filter-key { width: 58px; }
    .filter-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
}

/* ================= 区块间距 ================= */
.vale > section, .vale > div { margin-top: 22px; }
.vale > section:first-child { margin-top: 0; }
