/**
 * screen · 银幕志 — 纸感杂志编辑风
 * 暖白纸底 + 墨黑正文 + 好莱坞金点缀；衬线标题 + 无衬线正文，IMDB/豆瓣编辑页气质
 * 浅色高对比对国内搜索引擎抓取和 LCP 最友好；与 tvseries 深色红黑最大差异化
 * 令牌前缀 --sc- / 类前缀 .sc-（零冲突）；footer_rich 自动注入已在 TemplatePresenter SELF_FOOTER_THEMES 跳过，自渲染原生页脚
 */
:root {
    /* 纸感画布 canvas（暖白米纸） */
    --sc-bg:      #faf8f3;
    --sc-bg-2:    #f4f1e8;
    --sc-bg-3:    #ece7d8;
    --sc-bg-4:    #e2dcc9;
    /* 墨黑文本 ink */
    --sc-text:    #1a1a1a;
    --sc-text-2:  #4a4a44;
    --sc-text-3:  #8a8170;
    /* 好莱坞金 gold（标题/强调/评分） */
    --sc-gold:    #c9a227;
    --sc-gold-d:  #a8851a;
    --sc-gold-l:  #e0c14a;
    --sc-gold-t:  rgba(201, 162, 39, .14);
    /* 朱砂红 vermillion（CTA / 活跃态，杂志红章） */
    --sc-red:     #b8332a;
    --sc-red-d:   #962a23;
    --sc-red-t:   rgba(184, 51, 42, .10);
    /* 钢蓝 steel（链接，辅助） */
    --sc-steel:   #2c5f8a;
    /* 线 lines */
    --sc-line:    #d9d2bf;
    --sc-line-2:  #c7bea7;
    --sc-line-3:  #e8e2d2;
    /* 投影：纸面柔和 */
    --sc-shadow:    0 4px 18px rgba(60, 50, 20, .10);
    --sc-shadow-sm: 0 2px 8px rgba(60, 50, 20, .08);
    --sc-shadow-lg: 0 10px 30px rgba(60, 50, 20, .14);
    /* 半径：杂志偏方正，略圆 */
    --sc-radius:    4px;
    --sc-radius-lg: 6px;
    --sc-radius-sm: 3px;
    /* 字体：衬线标题 + 无衬线正文 */
    --sc-serif:   Georgia, "Times New Roman", "Songti SC", "Noto Serif SC", serif;
    --sc-font:    -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", system-ui, sans-serif;
    --sc-contain: 1200px;
}

/* ============ base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--sc-bg);
    color: var(--sc-text);
    font-family: var(--sc-font);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--sc-steel); text-decoration: none; transition: color .15s; }
a:hover { color: var(--sc-red); }
h1, h2, h3, h4 { margin: 0; font-family: var(--sc-serif); line-height: 1.25; font-weight: 700; color: var(--sc-text); }
p { margin: 0 0 .65em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sc-gold); outline-offset: 2px; }

.sc-visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.sc-container { width: 100%; max-width: var(--sc-contain); margin: 0 auto; padding: 0 20px; }

/* ============ 顶栏 header ============ */
.sc-header { position: sticky; top: 0; z-index: 100; background: var(--sc-bg); border-bottom: 1px solid var(--sc-line); transition: box-shadow .2s; }
.sc-header.is-scrolled { box-shadow: var(--sc-shadow-sm); }
/* 报头条 */
.sc-masthead { background: var(--sc-text); color: #f0ebda; font-size: 11px; }
.sc-masthead-inner { max-width: var(--sc-contain); margin: 0 auto; padding: 5px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--sc-serif); letter-spacing: .06em; }
.sc-masthead-tagline { opacity: .8; }

.sc-header-inner { max-width: var(--sc-contain); margin: 0 auto; display: flex; align-items: center; gap: 18px; padding: 0 20px; height: 70px; }
.sc-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--sc-text); flex-shrink: 0; }
.sc-logo:hover { color: var(--sc-text); }
.sc-logo-mark { display: inline-grid; place-items: center; width: 40px; height: 40px; color: var(--sc-gold); border: 1.5px solid var(--sc-text); border-radius: var(--sc-radius-sm); }
.sc-logo-text { font-family: var(--sc-serif); font-weight: 700; font-size: 24px; letter-spacing: .02em; }

/* 导航 */
.sc-nav { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; }
.sc-nav-link {
    position: relative; display: inline-flex; align-items: center; gap: 4px;
    padding: 8px 13px; color: var(--sc-text-2);
    font-weight: 600; font-size: 15px; white-space: nowrap;
    background: none; border: 0;
    transition: color .15s;
}
.sc-nav-link::after {
    content: ""; position: absolute; left: 13px; right: 13px; bottom: 0; height: 3px;
    background: var(--sc-gold);
    transform: scaleX(0); transform-origin: center; transition: transform .18s;
}
.sc-nav-link:hover { color: var(--sc-text); }
.sc-nav-link:hover::after, .sc-nav-link.is-active::after { transform: scaleX(1); }
.sc-nav-link.is-active { color: var(--sc-text); font-weight: 700; }
.sc-nav-group-arrow { font-size: 10px; opacity: .55; }
.sc-nav-group { position: relative; }
.sc-nav-group-toggle { cursor: pointer; }
.sc-nav-submenu {
    position: absolute; top: calc(100% + 4px); left: 0;
    min-width: 172px; padding: 6px;
    background: var(--sc-bg); border: 1px solid var(--sc-line-2);
    border-radius: var(--sc-radius); box-shadow: var(--sc-shadow);
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .15s;
}
.sc-nav-group:hover .sc-nav-submenu, .sc-nav-group:focus-within .sc-nav-submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.sc-nav-subitem { display: block; padding: 9px 12px; color: var(--sc-text-2); font-weight: 600; border-radius: var(--sc-radius-sm); }
.sc-nav-subitem:hover { background: var(--sc-gold-t); color: var(--sc-text); }
.sc-nav-subitem.is-active { color: var(--sc-red); font-weight: 700; }

/* 搜索框 */
.sc-search { display: flex; align-items: center; flex-shrink: 0; border: 1px solid var(--sc-line-2); border-radius: var(--sc-radius); background: var(--sc-bg-2); overflow: hidden; transition: border-color .15s; }
.sc-search:focus-within { border-color: var(--sc-gold); }
.sc-search--mobile { display: none; }
.sc-search-input { width: 160px; padding: 8px 10px; border: 0; background: transparent; color: var(--sc-text); font-size: 14px; font-family: inherit; }
.sc-search-input::placeholder { color: var(--sc-text-3); }
.sc-search-input:focus { outline: none; }
.sc-search-btn { display: grid; place-items: center; width: 38px; height: 36px; border: 0; background: var(--sc-text); color: var(--sc-bg); }
.sc-search-btn:hover { background: var(--sc-red); }

.sc-menu-toggle { display: none; flex-direction: column; gap: 5px; width: 38px; height: 38px; align-items: center; justify-content: center; background: none; border: 1px solid var(--sc-line-2); border-radius: var(--sc-radius-sm); }
.sc-menu-toggle span { width: 18px; height: 2px; background: var(--sc-text); transition: transform .2s, opacity .2s; }
.sc-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sc-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.sc-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.sc-scrim { position: fixed; inset: 0; z-index: 90; background: rgba(40, 30, 10, .4); backdrop-filter: blur(2px); }

.sc-main { display: block; min-height: 60vh; }

/* ============ 按钮 ============ */
.sc-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 24px; font-weight: 700; font-size: 15px;
    border: 1px solid transparent; border-radius: var(--sc-radius);
    transition: transform .12s, background .15s, color .15s, box-shadow .15s;
}
.sc-btn svg { width: 16px; height: 16px; }
.sc-btn--primary { background: var(--sc-text); color: var(--sc-bg); }
.sc-btn--primary:hover { background: var(--sc-red); color: #fff; transform: translateY(-2px); box-shadow: var(--sc-shadow); }
.sc-btn--ghost { background: transparent; color: var(--sc-text); border-color: var(--sc-line-2); }
.sc-btn--ghost:hover { background: var(--sc-gold-t); border-color: var(--sc-gold); transform: translateY(-2px); }

/* ============ Hero（杂志头条） ============ */
.sc-hero { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; min-height: 460px; overflow: hidden; border-bottom: 1px solid var(--sc-line); }
.sc-hero-cover { position: relative; overflow: hidden; background: var(--sc-bg-3); }
.sc-hero-cover-img { position: absolute; inset: 0; background-size: cover; background-position: center 20%; }
.sc-hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 48px 44px; background: var(--sc-bg-2); }
.sc-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font-family: var(--sc-serif); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sc-red); }
.sc-eyebrow-stamp { display: inline-grid; place-items: center; width: 24px; height: 24px; background: var(--sc-red); color: #fff; font-weight: 800; border-radius: var(--sc-radius-sm); font-size: 12px; }
.sc-hero-title { font-weight: 700; font-size: clamp(30px, 4.5vw, 48px); line-height: 1.12; color: var(--sc-text); }
.sc-hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 14px; }
.sc-pill { display: inline-flex; align-items: center; padding: 3px 11px; font-size: 13px; font-weight: 600; color: var(--sc-text-2); background: var(--sc-bg); border: 1px solid var(--sc-line); border-radius: var(--sc-radius-sm); }
.sc-pill--ink { background: var(--sc-text); color: var(--sc-bg); border-color: transparent; }
.sc-pill--gold { background: var(--sc-gold); color: #fff; border-color: transparent; font-weight: 800; }
.sc-hero-desc { color: var(--sc-text-2); font-size: 15px; margin: 0 0 22px; line-height: 1.8; }
.sc-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============ 章节（栏目） ============ */
.sc-section { padding: 40px 0 12px; }
.sc-section-head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
    margin-bottom: 22px; padding-bottom: 12px;
    border-bottom: 3px double var(--sc-line-2);
}
.sc-section-head-text { display: flex; flex-direction: column; gap: 2px; }
.sc-section-title { font-weight: 700; font-size: clamp(20px, 3vw, 28px); color: var(--sc-text); letter-spacing: .01em; }
.sc-section-more { flex-shrink: 0; color: var(--sc-text-2); font-weight: 600; font-size: 14px; padding: 6px 14px; border: 1px solid var(--sc-line-2); border-radius: var(--sc-radius-sm); transition: all .15s; font-family: var(--sc-serif); }
.sc-section-more:hover { background: var(--sc-text); color: var(--sc-bg); border-color: var(--sc-text); }

/* 横滚行 */
.sc-row { margin: 0 -20px; padding: 0 20px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.sc-row::-webkit-scrollbar { display: none; }
.sc-row-track { display: grid; grid-auto-flow: column; grid-auto-columns: 168px; gap: 18px; padding-bottom: 14px; }

/* ============ 卡片 ============ */
.sc-card { position: relative; }
.sc-card-link { display: block; color: var(--sc-text); }
.sc-card-poster {
    position: relative; aspect-ratio: 2 / 3; overflow: hidden;
    border-radius: var(--sc-radius); background: var(--sc-bg-3);
    border: 1px solid var(--sc-line);
    box-shadow: var(--sc-shadow-sm);
    transition: transform .18s ease, box-shadow .18s ease;
}
.sc-card-poster img { width: 100%; height: 100%; object-fit: cover; }
.sc-card-link:hover .sc-card-poster { transform: translateY(-4px); box-shadow: var(--sc-shadow-lg); }
.sc-card-link:hover { color: var(--sc-text); }
.sc-card-badge {
    position: absolute; top: 0; left: 0; z-index: 2;
    padding: 3px 9px; font-size: 12px; font-weight: 700; color: #fff;
    background: var(--sc-red);
    border-radius: var(--sc-radius-sm) 0 var(--sc-radius-sm) 0;
}
.sc-card-score {
    position: absolute; top: 8px; right: 8px; z-index: 2;
    display: inline-flex; align-items: center; gap: 2px;
    padding: 3px 8px; font-size: 12px; font-weight: 800; color: #fff;
    background: var(--sc-gold); border-radius: var(--sc-radius-sm);
}
.sc-card-play {
    position: absolute; inset: 0; display: grid; place-items: center; z-index: 1;
    color: #fff; opacity: 0; transition: opacity .18s;
    background: rgba(26,26,26,.45);
}
.sc-card-link:hover .sc-card-play { opacity: 1; }
.sc-card-body { padding: 10px 2px 0; }
.sc-card-title {
    font-family: var(--sc-font); font-size: 14.5px; font-weight: 600; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sc-card-link:hover .sc-card-title { color: var(--sc-red); }
.sc-card-meta { display: flex; gap: 8px; margin-top: 3px; font-size: 12px; color: var(--sc-text-3); }

/* ============ 网格 ============ */
.sc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 24px 16px; }
.sc-grid--rel { grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 18px 14px; }

/* 「查看全部分类」CTA */
.sc-allcat { padding-bottom: 14px; }
.sc-allcat-cta {
    display: flex; align-items: center; gap: 16px;
    padding: 22px 26px;
    border-radius: var(--sc-radius);
    background: var(--sc-text); color: var(--sc-bg);
    box-shadow: var(--sc-shadow);
    transition: transform .14s, box-shadow .14s;
}
.sc-allcat-cta:hover { color: var(--sc-bg); transform: translateY(-3px); box-shadow: var(--sc-shadow-lg); }
.sc-allcat-stamp {
    display: inline-grid; place-items: center; flex-shrink: 0;
    width: 48px; height: 48px;
    background: var(--sc-gold); color: var(--sc-text);
    font-family: var(--sc-serif); font-weight: 800; font-size: 22px;
    border-radius: var(--sc-radius-sm);
}
.sc-allcat-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.sc-allcat-text strong { font-family: var(--sc-serif); font-weight: 700; font-size: 18px; }
.sc-allcat-text em { font-style: normal; font-size: 13px; opacity: .8; }
.sc-allcat-arrow { font-size: 28px; font-weight: 600; line-height: 1; color: var(--sc-gold); }

/* ============ 列表页 ============ */
.sc-list-pad { padding: 30px 0 14px; }
.sc-list-head { margin-bottom: 18px; }
.sc-list-title { font-weight: 700; font-size: clamp(24px, 4vw, 36px); color: var(--sc-text); }
.sc-list-sub { margin: 8px 0 0; color: var(--sc-text-2); font-size: 14px; }
.sc-list-sub strong { color: var(--sc-red); }

.sc-filter { border: 1px solid var(--sc-line); border-radius: var(--sc-radius); background: var(--sc-bg-2); padding: 6px 14px; margin-bottom: 22px; }
.sc-filter-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--sc-line-3); }
.sc-filter-row:last-child { border-bottom: 0; }
.sc-filter-label { flex-shrink: 0; width: 44px; font-weight: 700; color: var(--sc-text-3); font-size: 14px; font-family: var(--sc-serif); }
.sc-filter-item {
    display: inline-flex; align-items: center; padding: 5px 13px; font-size: 13.5px; font-weight: 600;
    color: var(--sc-text-2); background: var(--sc-bg); border: 1px solid var(--sc-line-2); border-radius: var(--sc-radius-sm);
    transition: all .12s;
}
.sc-filter-item:hover { border-color: var(--sc-gold); color: var(--sc-text); }
.sc-filter-item.is-active { background: var(--sc-text); color: var(--sc-bg); border-color: transparent; }

/* 分页 */
.sc-pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 32px; padding: 12px 0; }
.sc-page-btn, .sc-page-num {
    min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 14px; color: var(--sc-text-2);
    background: var(--sc-bg-2); border: 1px solid var(--sc-line-2); border-radius: var(--sc-radius-sm);
    transition: background .12s, color .12s, transform .1s, border-color .12s;
}
.sc-page-btn:hover, .sc-page-num:hover { background: var(--sc-bg); color: var(--sc-text); border-color: var(--sc-gold); transform: translateY(-2px); }
.sc-page-num.is-active { background: var(--sc-text); color: var(--sc-bg); border-color: transparent; cursor: default; }

.sc-empty { text-align: center; padding: 80px 20px; color: var(--sc-text-2); }
.sc-empty p { margin-bottom: 16px; font-size: 16px; font-family: var(--sc-serif); }

/* ============ 详情页 ============ */
.sc-detail-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--sc-line); }
.sc-detail-hero-cover { position: absolute; inset: 0; }
.sc-detail-hero-img { position: absolute; inset: 0; background-size: cover; background-position: center 28%; filter: blur(2px); transform: scale(1.05); }
.sc-detail-hero-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(250,248,243,.5) 0%, rgba(250,248,243,.92) 60%, rgba(250,248,243,1) 100%); }
.sc-detail-hero-inner { position: relative; z-index: 2; max-width: var(--sc-contain); margin: 0 auto; width: 100%; padding: 70px 20px 40px; }
.sc-detail-kicker { font-family: var(--sc-serif); color: var(--sc-gold-d); letter-spacing: .2em; font-size: 13px; font-weight: 700; margin: 0 0 8px; text-transform: uppercase; }
.sc-detail-title { font-weight: 700; font-size: clamp(26px, 4.5vw, 46px); color: var(--sc-text); }
.sc-detail-sub { margin: 8px 0 14px; color: var(--sc-text-2); font-size: 16px; font-style: italic; font-family: var(--sc-serif); }
.sc-detail-hook { max-width: 720px; color: var(--sc-text-2); margin: 14px 0 20px; line-height: 1.85; }

.sc-detail-grid { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 32px; max-width: var(--sc-contain); margin: 0 auto; padding: 30px 20px 24px; }
.sc-detail-main { min-width: 0; }
.sc-detail-aside { display: flex; flex-direction: column; gap: 18px; }

.sc-block { margin-bottom: 30px; }
.sc-panel { border: 1px solid var(--sc-line); border-radius: var(--sc-radius); background: var(--sc-bg-2); padding: 0 24px 22px; }
.sc-block-title {
    display: inline-block; position: relative;
    font-size: 19px; margin-bottom: 16px; color: var(--sc-text); font-weight: 700;
    padding-bottom: 4px;
}
.sc-block-title::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
    background: var(--sc-gold); border-radius: 3px;
}
.sc-synopsis { color: var(--sc-text-2); line-height: 2; font-size: 15.5px; }
.sc-synopsis--short { color: var(--sc-text-2); }
.sc-more-link { color: var(--sc-red); font-weight: 700; }

/* 侧栏 */
.sc-aside-poster { border-radius: var(--sc-radius); overflow: hidden; box-shadow: var(--sc-shadow); background: var(--sc-bg-3); border: 1px solid var(--sc-line-2); }
.sc-aside-poster img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.sc-aside-play { width: 100%; }
.sc-info-card { border: 1px solid var(--sc-line); border-radius: var(--sc-radius); background: var(--sc-bg-2); padding: 18px 20px; }
.sc-info-dl { margin: 0; display: grid; gap: 10px; }
.sc-info-dl > div { display: grid; grid-template-columns: 52px 1fr; gap: 10px; font-size: 14px; }
.sc-info-dl dt { color: var(--sc-text-3); font-weight: 600; font-family: var(--sc-serif); }
.sc-info-dl dd { margin: 0; color: var(--sc-text); }
.sc-info-dl dd a { color: var(--sc-steel); }
.sc-info-tags { display: flex !important; flex-wrap: wrap; gap: 6px; grid-template-columns: none !important; }
.sc-info-tags a { display: inline-block; padding: 3px 10px; font-size: 12.5px; color: var(--sc-text-2); background: var(--sc-bg); border: 1px solid var(--sc-line-2); border-radius: var(--sc-radius-sm); }
.sc-info-tags a:hover { background: var(--sc-gold); color: #fff; border-color: transparent; }

/* ============ 播放器 / 选集 ============ */
.sc-play-container { padding-top: 26px; }
.sc-play-back { display: inline-flex; align-items: center; gap: 6px; color: var(--sc-text-2); font-weight: 600; margin-bottom: 12px; }
.sc-play-back:hover { color: var(--sc-red); }
.sc-play-title { font-weight: 700; font-size: clamp(22px, 4vw, 34px); }
.sc-play-sub { margin: 6px 0 18px; color: var(--sc-text-2); font-size: 14px; font-family: var(--sc-serif); font-style: italic; }
.sc-player-wrap { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; border: 1px solid var(--sc-line-2); border-radius: var(--sc-radius); overflow: hidden; box-shadow: var(--sc-shadow); }
.sc-player-wrap--page { margin-bottom: 18px; }
.sc-play-empty { padding: 50px 20px; text-align: center; color: var(--sc-text-2); border: 1px dashed var(--sc-line-2); border-radius: var(--sc-radius); }
.sc-play-empty a { color: var(--sc-red); font-weight: 700; }

.sc-nextbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0 24px; padding: 14px 18px; background: var(--sc-gold-t); border: 1px solid var(--sc-gold); border-radius: var(--sc-radius); }
.sc-nextbar-info { font-size: 14px; color: var(--sc-text-2); }
.sc-nextbar-info strong { color: var(--sc-gold-d); }

.sc-ep-groups { margin-top: 20px; display: grid; gap: 16px; }
.sc-ep-group-title { font-size: 15px; font-weight: 700; color: var(--sc-text); margin-bottom: 10px; padding-left: 11px; border-left: 3px solid var(--sc-gold); }
.sc-ep-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 8px; }
.sc-ep {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 42px; padding: 6px 8px; font-size: 13.5px; font-weight: 600;
    color: var(--sc-text-2); background: var(--sc-bg-2); border: 1px solid var(--sc-line-2); border-radius: var(--sc-radius-sm);
    transition: background .12s, color .12s, transform .1s, border-color .12s;
}
.sc-ep:hover { background: var(--sc-bg); color: var(--sc-text); border-color: var(--sc-gold); transform: translateY(-2px); }
.sc-ep.is-active { background: var(--sc-text); color: var(--sc-bg); border-color: transparent; cursor: default; }

/* ============ 人物页 ============ */
.sc-person-head { background: var(--sc-bg-2); border-bottom: 1px solid var(--sc-line); padding: 32px 0 28px; }
.sc-person-head .sc-container { display: flex; flex-direction: column; gap: 6px; }
.sc-person-name { font-weight: 700; font-size: clamp(26px, 4vw, 40px); }
.sc-person-sub { color: var(--sc-text-2); font-size: 14px; }
.sc-person-sub strong { color: var(--sc-red); }
.sc-person-body { padding: 28px 20px 24px; }
.sc-media-list { display: grid; gap: 18px; }
.sc-media { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px; border: 1px solid var(--sc-line); border-radius: var(--sc-radius); background: var(--sc-bg-2); transition: border-color .15s, transform .12s, box-shadow .12s; }
.sc-media:hover { border-color: var(--sc-gold); transform: translateY(-2px); box-shadow: var(--sc-shadow-sm); }
.sc-media-poster { position: relative; display: block; border-radius: var(--sc-radius-sm); overflow: hidden; aspect-ratio: 2/3; }
.sc-media-poster img { width: 100%; height: 100%; object-fit: cover; }
.sc-media-badge { position: absolute; top: 0; left: 0; padding: 2px 8px; font-size: 11px; font-weight: 700; color: #fff; background: var(--sc-red); border-radius: var(--sc-radius-sm) 0 var(--sc-radius-sm) 0; }
.sc-media-body h3 { font-size: 17px; margin-bottom: 6px; }
.sc-media-body h3 a { color: var(--sc-text); }
.sc-media-body h3 a:hover { color: var(--sc-red); }
.sc-media-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--sc-text-3); margin-bottom: 8px; }
.sc-media-score { color: var(--sc-gold-d); font-weight: 800; }
.sc-media-blurb { font-size: 13.5px; color: var(--sc-text-2); line-height: 1.8; margin: 0 0 8px; }
.sc-media-link { font-size: 13.5px; font-weight: 700; color: var(--sc-red); }

/* ============ 排行榜 ============ */
.sc-rank-list { display: grid; gap: 14px; }
.sc-rank-item {
    display: grid; grid-template-columns: 62px 92px minmax(0, 1fr); gap: 16px; align-items: center;
    padding: 14px;
    border: 1px solid var(--sc-line); border-radius: var(--sc-radius);
    background: var(--sc-bg-2);
    transition: border-color .15s, transform .12s, box-shadow .12s;
}
.sc-rank-item:hover { border-color: var(--sc-gold); transform: translateY(-2px); box-shadow: var(--sc-shadow-sm); }
.sc-rank-item.is-top { background: linear-gradient(90deg, var(--sc-gold-t), var(--sc-bg-2) 44%); border-color: var(--sc-gold); }
.sc-rank-num {
    display: inline-grid; place-items: center;
    width: 50px; height: 50px;
    color: var(--sc-text-2); background: var(--sc-bg);
    border: 1px solid var(--sc-line-2); border-radius: var(--sc-radius-sm);
    font-family: var(--sc-serif); font-size: 24px; font-weight: 700; line-height: 1;
}
.sc-rank-item.is-top .sc-rank-num { background: var(--sc-gold); color: #fff; border-color: transparent; }
.sc-rank-poster {
    display: block; width: 92px; aspect-ratio: 2 / 3; overflow: hidden;
    border-radius: var(--sc-radius-sm);
    background: var(--sc-bg-3);
}
.sc-rank-poster img { width: 100%; height: 100%; object-fit: cover; }
.sc-rank-body { min-width: 0; }
.sc-rank-body h2 { margin-bottom: 6px; font-size: 18px; }
.sc-rank-body h2 a { color: var(--sc-text); }
.sc-rank-body h2 a:hover { color: var(--sc-red); }

/* ============ 人物索引 ============ */
.sc-person-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.sc-person-card {
    min-width: 0;
    border: 1px solid var(--sc-line); border-radius: var(--sc-radius);
    background: var(--sc-bg-2);
    transition: transform .12s, border-color .12s, box-shadow .12s;
}
.sc-person-card:hover { transform: translateY(-3px); border-color: var(--sc-gold); box-shadow: var(--sc-shadow-sm); }
.sc-person-card-link { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 10px 12px; align-items: center; padding: 14px; color: var(--sc-text); }
.sc-person-card-link:hover { color: var(--sc-text); }
.sc-person-avatar {
    display: inline-grid; place-items: center; grid-row: span 2;
    width: 46px; height: 46px;
    color: #fff; background: var(--sc-text);
    border-radius: var(--sc-radius-sm);
    font-family: var(--sc-serif); font-size: 22px; font-weight: 700;
}
.sc-person-card-name {
    min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-weight: 700; font-size: 15px;
}
.sc-person-card-count { color: var(--sc-text-3); font-size: 12.5px; font-weight: 600; }

/* ============ 页脚 ============ */
.sc-footer { background: var(--sc-text); color: #c8c0aa; margin-top: 48px; }
.sc-footer-grid { max-width: var(--sc-contain); margin: 0 auto; padding: 42px 20px 22px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.sc-foot-col h3 { font-size: 14px; font-weight: 700; color: var(--sc-bg); margin-bottom: 12px; letter-spacing: .06em; text-transform: uppercase; font-family: var(--sc-serif); }
.sc-foot-links { display: grid; gap: 9px; }
.sc-foot-links a { color: #c8c0aa; font-size: 13.5px; }
.sc-foot-links a:hover { color: var(--sc-gold-l); }
.sc-foot-brand .sc-logo { color: var(--sc-bg); }
.sc-foot-brand .sc-logo-mark { color: var(--sc-gold); border-color: var(--sc-gold); }
.sc-foot-brand .sc-logo-text { color: var(--sc-bg); }
.sc-foot-desc { margin-top: 14px; color: #9a9180; font-size: 13px; line-height: 1.7; }
.sc-foot-link-row { padding-top: 0; }
.sc-friend { display: flex; flex-wrap: wrap; gap: 8px; }
.sc-friend a { display: inline-block; padding: 4px 11px; font-size: 12.5px; color: #c8c0aa; border: 1px solid rgba(255,255,255,.16); border-radius: var(--sc-radius-sm); }
.sc-friend a:hover { background: var(--sc-gold-t); color: var(--sc-gold-l); border-color: var(--sc-gold); }
.sc-foot-social-row { max-width: var(--sc-contain); margin: 0 auto; padding: 8px 20px 26px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); }
.sc-foot-social-label { color: #9a9180; font-size: 13px; font-weight: 600; }
.sc-foot-social { display: flex; gap: 10px; }
.sc-soc-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; background: var(--soc, var(--sc-gold)); color: #fff; font-weight: 800; font-size: 15px; border-radius: var(--sc-radius-sm); border: 1px solid rgba(255,255,255,.18); }
.sc-soc-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.sc-footer-bottom { max-width: var(--sc-contain); margin: 0 auto; padding: 18px 20px 32px; border-top: 1px solid rgba(255,255,255,.08); }
.sc-footer-bottom p { margin: 0 0 6px; font-size: 12.5px; color: #9a9180; }
.sc-footer-bottom a { color: #c8c0aa; }
.sc-footer-bottom a:hover { color: var(--sc-gold-l); }
.sc-sep { margin: 0 6px; opacity: .5; }
.sc-disclaim { line-height: 1.7 !important; }
.sc-foot-custom { margin-top: 8px; }

/* ============ _shared 局部重染（纸感墨金调，不碰核心） ============ */
body .xc-breadcrumb, body .xc-breadcrumb a { color: var(--sc-text-2) !important; font-size: 13px; }
body .xc-breadcrumb a:hover { color: var(--sc-red) !important; }
body .xc-breadcrumb-sep { color: var(--sc-text-3) !important; }
body .xc-meta-bar { display: flex !important; flex-wrap: wrap !important; gap: 8px !important; margin: 4px 0 6px !important; }
body .xc-meta-badge,
body .xc-meta-tag {
    display: inline-flex !important; align-items: center !important; padding: 3px 10px !important;
    font-size: 12.5px !important; font-weight: 700 !important; color: var(--sc-text-2) !important;
    background: var(--sc-bg) !important; border: 1px solid var(--sc-line-2) !important; border-radius: var(--sc-radius-sm) !important;
}
body .xc-meta-badge--score { background: var(--sc-gold) !important; color: #fff !important; border-color: transparent !important; font-weight: 800 !important; }
body .xc-meta-badge--update { background: var(--sc-red) !important; color: #fff !important; border-color: transparent !important; }
body .xc-meta-badge--info { background: var(--sc-bg-3) !important; color: var(--sc-steel) !important; }
body .xc-meta-links { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--sc-line); color: var(--sc-text-2); }
body .xc-meta-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
body .xc-meta-label { color: var(--sc-text-3); font-weight: 700; font-family: var(--sc-serif); }
body .xc-meta-value a {
    display: inline-block; margin: 0 6px 6px 0; padding: 3px 10px; font-size: 13px;
    color: var(--sc-steel); border: 1px solid var(--sc-line-2); border-radius: var(--sc-radius-sm); background: var(--sc-bg);
}
body .xc-meta-value a:hover { background: var(--sc-gold); color: #fff; border-color: transparent; }
body .xc-related-strip-title, body .xc-detail-nav-actions a { color: var(--sc-text); }

body .xc-fav-btn {
    border: 1px solid var(--sc-line-2) !important; border-radius: var(--sc-radius-sm) !important;
    background: var(--sc-bg-2) !important; color: var(--sc-text) !important;
    font-weight: 700 !important;
}
body .xc-fav-btn:hover,
body .xc-fav-btn.is-active { background: var(--sc-text) !important; color: var(--sc-bg) !important; border-color: transparent !important; }
body .xc-fav-btn.is-active .xc-fav-icon { fill: var(--sc-bg) !important; stroke: var(--sc-bg) !important; }

body .xc-share-sidebar {
    left: 10px !important; padding: 8px !important; gap: 6px !important;
    background: var(--sc-bg) !important; border: 1px solid var(--sc-line-2) !important;
    border-radius: var(--sc-radius) !important; box-shadow: var(--sc-shadow-sm) !important;
}
body .xc-share-btn,
body .xc-share-mobile-icon {
    border: 1px solid var(--sc-line-2) !important; border-radius: var(--sc-radius-sm) !important;
    box-shadow: var(--sc-shadow-sm) !important;
}
body .xc-share-btn:hover { transform: translateY(-2px) !important; box-shadow: var(--sc-shadow) !important; }
body .xc-share-mobile-bar { background: var(--sc-bg-2) !important; border-top: 1px solid var(--sc-line) !important; }
body .xc-share-mobile-title,
body .xc-share-mobile-label { color: var(--sc-text) !important; font-weight: 700; }

/* footer_rich 自动注入已在 TemplatePresenter 的 SELF_FOOTER_THEMES 跳过（自渲染替代），无需 CSS 隐藏 */
/* user_panel FAB 在浅色底可见性 */
.xc-up-fab { box-shadow: var(--sc-shadow) !important; }

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
    .sc-detail-grid { grid-template-columns: minmax(0,1fr) 280px; gap: 24px; }
    .sc-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .sc-foot-col:nth-child(4) { display: none; }
}
@media (max-width: 860px) {
    .sc-hero { grid-template-columns: 1fr; min-height: auto; }
    .sc-hero-cover { aspect-ratio: 16/10; }
    .sc-hero-inner { padding: 32px 20px; }
    .sc-nav, .sc-search--desktop { display: none; }
    .sc-menu-toggle { display: flex; }
    .sc-nav {
        position: fixed; top: 70px; left: 0; bottom: 0; width: 80%; max-width: 320px;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--sc-bg); border-right: 1px solid var(--sc-line-2);
        padding: 12px; overflow-y: auto; z-index: 95;
        transform: translateX(-105%); transition: transform .22s;
    }
    .sc-nav.is-open { display: flex; transform: translateX(0); }
    .sc-nav-link { padding: 13px 8px; border-bottom: 1px solid var(--sc-line-3); }
    .sc-nav-link::after { display: none; }
    .sc-nav-group { width: 100%; }
    .sc-nav-submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; background: transparent; }
    .sc-nav .sc-search--mobile { margin: 12px 0 4px; display: flex; width: 100%; }
    .sc-search-input { flex: 1; width: auto; }
    .sc-detail-grid { grid-template-columns: 1fr; }
    .sc-detail-aside { display: grid; grid-template-columns: 160px 1fr; gap: 18px; align-items: start; }
    .sc-aside-poster { max-width: 160px; }
    .sc-footer-grid { grid-template-columns: 1fr 1fr; }
    .sc-foot-col:nth-child(4) { display: block; }
    .sc-rank-item { grid-template-columns: 44px 76px minmax(0, 1fr); gap: 12px; padding: 12px; }
    .sc-rank-num { width: 38px; height: 38px; font-size: 18px; }
    .sc-rank-poster { width: 76px; }
    .sc-rank-body h2 { font-size: 15.5px; }
    .sc-person-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
}
@media (max-width: 520px) {
    body { font-size: 14.5px; }
    .sc-masthead-tagline { display: none; }
    .sc-header-inner { height: 60px; gap: 10px; padding: 0 14px; }
    .sc-logo-text { font-size: 20px; }
    .sc-hero-inner { padding: 26px 16px 32px; }
    .sc-hero-title { font-size: 26px; }
    .sc-container { padding: 0 14px; }
    .sc-row { margin: 0 -14px; padding: 0 14px; }
    .sc-row-track { grid-auto-columns: 130px; gap: 12px; }
    .sc-grid { grid-template-columns: repeat(auto-fill, minmax(106px, 1fr)); gap: 16px 10px; }
    .sc-card-title { font-size: 13px; }
    .sc-detail-aside { grid-template-columns: 1fr; }
    .sc-aside-poster { max-width: 170px; margin: 0 auto; }
    .sc-footer-grid { grid-template-columns: 1fr; gap: 24px; padding: 30px 16px 16px; }
    .sc-media { grid-template-columns: 96px 1fr; gap: 12px; padding: 12px; }
    .sc-rank-list { gap: 10px; }
    .sc-rank-item { grid-template-columns: 34px 64px minmax(0, 1fr); gap: 10px; padding: 10px; }
    .sc-rank-num { width: 30px; height: 30px; font-size: 15px; }
    .sc-rank-poster { width: 64px; }
    .sc-rank-body .sc-media-meta { gap: 6px; margin-bottom: 4px; font-size: 12px; }
    .sc-rank-body .sc-media-blurb { display: none; }
    .sc-person-body { padding: 22px 14px 14px; }
    .sc-person-grid { grid-template-columns: 1fr 1fr; }
    .sc-person-card-link { grid-template-columns: 36px minmax(0, 1fr); padding: 10px; gap: 8px; }
    .sc-person-avatar { width: 36px; height: 36px; font-size: 18px; }
    .sc-person-card-name { font-size: 13.5px; }
}


@media (max-width: 520px) {
    .sc-totop { bottom: 72px; right: 16px; width: 42px; height: 42px; }
    .xc-up { bottom: 16px; right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .sc-card-link:hover .sc-card-poster, .sc-btn:hover, .sc-ep:hover, .sc-page-btn:hover, .sc-page-num:hover { transform: none; }
}


/* 返回顶部 */
.sc-totop {
    position: fixed; right: 22px; bottom:  84px; z-index: 80;
    display: grid; place-items: center; width: 46px; height: 46px;
    background: var(--sc-text); color: var(--sc-bg); border: none; border-radius: 50%;
    cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.3);
    transition: transform .15s, opacity .2s;
}
.sc-totop:hover { transform: translateY(-3px); }
.sc-totop[hidden] { display: none; }
/* vodplay rank sidebar grid */
.sc-play-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.sc-play-main { min-width: 0; }
.sc-play-aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 80px; }
.sc-side-rank { margin: 0; }
@media (max-width: 900px) {
    .sc-play-grid { grid-template-columns: 1fr; }
    .sc-play-aside { position: static; }
}
