/* ---- 自托管 Inter（v20 可变字体 100-900），替代 Google Fonts 外链 ---- */
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url('/assets/fonts/inter-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url('/assets/fonts/inter-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}

/* ============================================================
   RecapHub — Internal page design system (Phase 2)
   Light editorial/database reading experience.
   Homepage keeps its own dark cinematic stylesheet.
   ============================================================ */

:root{
  /* Light content system */
  --page:#F5F5F3;
  --surface:#FFFFFF;
  --ink:#111111;
  --ink-2:#666666;
  --muted:#888888;
  --border:#E5E5E5;
  --accent:#F5C518;
  --link:#3568A8;
  --link-hover:#274F80;
  --danger:#B3261E;

  /* Dark cinema system (header / footer / media blocks) */
  --dark:#050505;
  --dark-2:#121212;
  --dark-3:#181818;
  --dark-hover:#222222;
  --d-text:#FFFFFF;
  --d-text-2:#B3B3B3;
  --d-border:rgba(255,255,255,0.1);
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--page);
  color:var(--ink);
  font-family:'Inter', system-ui, -apple-system, sans-serif;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  line-height:1.5;
}
::selection{background:var(--accent); color:#111;}
a{color:var(--link); text-decoration:none;}
a:hover{color:var(--link-hover);}
img{display:block; max-width:100%;}
.mono{font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;}

/* Accessibility */
.skip-link{
  position:absolute; left:-9999px; top:0; z-index:100;
  background:var(--accent); color:#111; font-weight:700; font-size:14px;
  padding:12px 20px; border-radius:0 0 8px 0;
}
.skip-link:focus{left:0;}
:focus-visible{outline:3px solid var(--link); outline-offset:2px; border-radius:4px;}

.container{max-width:1120px; margin:0 auto; padding:0 20px;}
@media(min-width:768px){.container{padding:0 32px;}}

/* ============================================================
   SITE HEADER (dark, shared with homepage design)
   ============================================================ */
header.nav{
  position:sticky; top:0; z-index:50;
  background:rgba(5,5,5,0.88);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--d-border);
  color:var(--d-text);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  height:64px; gap:20px;
}
.logo{
  font-weight:900; font-size:19px; letter-spacing:0.5px; color:var(--d-text);
  display:flex; align-items:center; gap:8px;
}
.logo .dot{color:var(--accent);}
.nav-links{
  display:none; gap:24px; font-size:14px; font-weight:500; color:var(--d-text-2);
}
.nav-links a{color:inherit;}
.nav-links a:hover{color:var(--d-text);}
.nav-right{display:flex; align-items:center; gap:12px;}
.search-box{
  display:none; align-items:center; gap:8px;
  background:var(--dark-3); border:1px solid var(--d-border);
  border-radius:999px; padding:9px 16px; width:270px;
  color:var(--d-text-2); font-size:13px;
}
.search-box svg{flex:0 0 auto; opacity:0.6;}
.btn-primary{
  background:var(--accent); color:#111; font-weight:700; font-size:13px;
  padding:10px 18px; border-radius:999px; border:none; cursor:pointer;
  transition:filter .15s ease;
}
.btn-primary:hover{filter:brightness(1.08);}
.btn-outline{
  background:transparent; color:var(--d-text); font-weight:600; font-size:13px;
  padding:10px 18px; border-radius:999px; border:1px solid var(--d-border); cursor:pointer;
  transition:background .15s ease;
}
.btn-outline:hover{background:var(--dark-hover);}
.lang-switch{display:flex; align-items:center;}
.lang-btn{
  background:transparent; color:var(--d-text); font-weight:600; font-size:13px;
  padding:8px 14px; border-radius:999px; border:1px solid var(--d-border); cursor:pointer;
  transition:background .15s ease, border-color .15s ease;
}
.lang-btn:hover{background:var(--dark-hover); border-color:var(--d-text-2);}
@media(min-width:1024px){.nav-links{display:flex;}}

/* ============================================================
   MOBILE NAV BURGER — pure CSS checkbox toggle (no JS)
   Markup: <input class="nav-burger-check" id="nav-burger" type="checkbox">
           <label class="nav-burger" for="nav-burger">…3 spans…</label>
   Placed inside .nav-inner after .nav-right.
   ============================================================ */
.nav-burger-check{position:absolute; opacity:0; pointer-events:none;}
.nav-burger{
  display:none; flex-direction:column; justify-content:center; align-items:center; gap:5px;
  width:42px; height:42px; padding:0 10px; cursor:pointer;
  border:1px solid var(--d-border); border-radius:10px;
}
.nav-burger span{display:block; width:20px; height:2px; background:var(--d-text); border-radius:2px; transition:transform .15s ease, opacity .15s ease;}
@media(max-width:1023px){
  .nav-burger{display:flex;}
  .nav-right{margin-left:auto;}
  .nav-burger-check:checked ~ .nav-burger span:nth-child(1){transform:translateY(7px) rotate(45deg);}
  .nav-burger-check:checked ~ .nav-burger span:nth-child(2){opacity:0;}
  .nav-burger-check:checked ~ .nav-burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
  .nav-burger-check:checked ~ .nav-links{
    display:flex; position:absolute; top:64px; left:0; right:0;
    flex-direction:column; align-items:stretch; gap:0;
    padding:6px 18px 14px;
    background:rgba(5,5,5,0.97); border-bottom:1px solid var(--d-border);
    box-shadow:0 12px 24px rgba(0,0,0,0.35);
  }
  .nav-burger-check:checked ~ .nav-links a{padding:13px 2px; font-size:15px; border-bottom:1px solid rgba(255,255,255,0.07);}
  .nav-burger-check:checked ~ .nav-links a:last-child{border-bottom:none;}
}
@media(min-width:900px){.search-box{display:flex;}}

/* ============================================================
   NAVIGATION — V2
   全站导航信息架构调整（Header 一级入口 4 项 + Footer 扩展入口）。
   原先本区块把所有链接入口 display:none 藏起来，现已全部移除：
   链接入口（Header nav / Footer / .see-all / .hero-actions）一律对
   用户可见；Header 里被降级为扩展入口的 Movies / Episodes / Lists
   已改为只出现在 Footer，页面与链接均未删除。

   仅保留下面 3 条「非链接控件」的隐藏规则 —— 它们藏的不是导航入口，
   而且这些控件**没有任何实现**，解除隐藏会向用户暴露点不动的假 UI：
     - 搜索框：静态 div，无搜索功能
     - Sign In / Sign Up：<button> 没有任何事件处理
     - 语言切换：没有对应实现
   ============================================================ */

/* --- Header: hide Search box --- */
.nav-right .search-box{display:none !important;}

/* --- Header: hide Sign In / Sign Up buttons --- */
.nav-right .btn-outline,
.nav-right .btn-primary{display:none !important;}

/* --- Header: hide language switch (中文) --- */
.lang-switch{display:none !important;}

/* ============================================================
   SITE FOOTER (dark, shared with homepage design)
   ============================================================ */
footer{
  background:var(--dark); color:var(--d-text-2); font-size:13px;
  border-top:1px solid var(--d-border);
  padding:44px 0 30px; margin-top:56px;
}
.footer-grid{display:flex; justify-content:space-between; flex-wrap:wrap; gap:30px; margin-bottom:30px;}
.footer-col{min-width:0; flex:1 1 160px;}
.footer-col h4{color:var(--d-text); font-size:13px; font-weight:700; margin-bottom:12px;}
.footer-col a{display:block; color:var(--d-text-2); font-size:13px; margin-bottom:8px; word-break:break-word; overflow-wrap:anywhere;}
.footer-col a:hover{color:var(--d-text);}
.footer-bottom{border-top:1px solid var(--d-border); padding-top:20px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;}
.footer-bottom span{min-width:0; max-width:100%; word-break:break-word; overflow-wrap:anywhere;}

/* ---------- Returning Cast list (Previous Seasons) ----------
   全局修复 "Mark ScoutPrevious Seasons" 粘连：用 flex+gap 取代
   对空白字符的依赖，并为 .cast-tag 徽章提供独立样式（原无任何 CSS）。 */
.cast-prev-list{list-style:none; margin:0; padding:0;}
.cast-prev-item{display:flex; flex-wrap:wrap; align-items:baseline; gap:6px 8px; padding:9px 0; border-bottom:1px solid var(--border);}
.cast-prev-item:last-child{border-bottom:none;}
.cast-prev-item .cp-name{font-weight:700; color:var(--ink); font-size:14px;}
.cast-prev-item .cp-role{color:var(--ink-2); font-size:13.5px; font-weight:500;}
.cast-prev-item .cast-tag{
  display:inline-block; margin-left:4px; font-size:11px; font-weight:700;
  letter-spacing:0.4px; text-transform:uppercase; color:#8a6d00;
  background:rgba(245,197,24,0.16); border:1px solid rgba(245,197,24,0.4);
  border-radius:999px; padding:2px 8px;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb{
  padding:18px 0 4px; font-size:13px; color:var(--muted);
  display:flex; flex-wrap:wrap; align-items:center; gap:8px;
}
.breadcrumb a{color:var(--ink-2); font-weight:500;}
.breadcrumb a:hover{color:var(--link);}
.breadcrumb .sep{color:#C9C9C9;}
.breadcrumb [aria-current="page"]{color:var(--ink); font-weight:600;}

/* ============================================================
   HUB HEAD — listing pages header
   ============================================================ */
.hub-head{padding:14px 0 6px;}
.hub-head h1{font-size:28px; font-weight:900; letter-spacing:-0.6px; color:var(--ink); line-height:1.15;}
@media(min-width:768px){.hub-head h1{font-size:34px;}}
.hub-sub{font-size:15.5px; color:var(--ink-2); line-height:1.6; margin-top:8px; max-width:640px;}

/* ============================================================
   PAGE HERO — entity header on a dark media band
   ============================================================ */
.hero-band{
  background:
    radial-gradient(ellipse at 80% 10%, rgba(245,197,24,0.08), transparent 55%),
    linear-gradient(120deg, #1b1030 0%, #2b1330 30%, #401c2a 55%, #1c1108 100%);
  color:var(--d-text);
  border-radius:14px;
  margin:14px 0 26px;
  overflow:hidden;
}
/* Show hub hero with backdrop photo: gradient acts as readability overlay */
.hero-band.has-backdrop{
  background:
    radial-gradient(ellipse at 80% 10%, rgba(245,197,24,0.10), transparent 55%),
    linear-gradient(120deg, rgba(27,16,48,0.93) 0%, rgba(43,19,48,0.88) 30%, rgba(64,28,42,0.82) 55%, rgba(28,17,8,0.90) 100%),
    var(--backdrop-url, none);
  background-size:auto, auto, cover;
  background-position:center, center, center 22%;
}
.hero-inner{
  display:flex; flex-direction:column; gap:22px; padding:26px 22px 28px;
}
@media(min-width:768px){
  .hero-inner{flex-direction:row; padding:32px 32px 36px; gap:32px; align-items:flex-end;}
}
.hero-poster{
  flex:0 0 auto; width:150px; aspect-ratio:2/3; border-radius:10px; overflow:hidden;
  box-shadow:0 12px 32px rgba(0,0,0,0.45);
  display:flex; align-items:flex-end; padding:12px;
}
.hero-poster img{width:100%;height:100%;object-fit:cover;border-radius:10px;}
.avatar img,.eg-poster img{width:100%;height:100%;object-fit:cover;object-position:top center;display:block;max-width:100%; /* 防止高分辨率图片溢出容器,触发 Grid Intrinsic Size Blowout */}
@media(min-width:768px){.hero-poster{width:180px;}}
.hero-body{flex:1; min-width:0;}
.hero-kicker{
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size:12px; letter-spacing:1.5px;
  text-transform:uppercase; color:var(--accent); font-weight:700; margin-bottom:8px;
}
.hero-kicker a{color:var(--accent);}
.hero-title{
  font-size:34px; font-weight:900; line-height:1.08; letter-spacing:-0.8px; margin-bottom:12px;
  color:var(--d-text);
}
@media(min-width:768px){.hero-title{font-size:44px;}}
.hero-meta{
  display:flex; align-items:center; gap:10px 12px; margin-bottom:14px; flex-wrap:wrap;
  font-size:13.5px; color:var(--d-text-2);
}
.rating-badge{
  display:inline-flex; align-items:center; gap:6px;
  background:var(--accent); color:#111; font-weight:800; font-size:13.5px;
  padding:4px 10px; border-radius:6px;
}
.pill-d{
  border:1px solid var(--d-border); padding:3px 11px; border-radius:999px; font-size:12.5px; color:var(--d-text-2);
}
.hero-desc{
  color:var(--d-text-2); font-size:15px; line-height:1.65; max-width:620px; margin-bottom:20px;
}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap;}
.btn-solid{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  background:var(--accent); color:#111; font-weight:800; font-size:14.5px;
  padding:12px 22px; min-height:46px; border-radius:999px; border:none; cursor:pointer;
}
.btn-solid:hover{filter:brightness(1.06); color:#111;}
.btn-ghost-d{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  background:rgba(255,255,255,0.06); color:var(--d-text); font-weight:700; font-size:14.5px;
  padding:12px 20px; min-height:46px; border-radius:999px; border:1px solid var(--d-border); cursor:pointer;
}
.btn-ghost-d:hover{background:rgba(255,255,255,0.12); color:var(--d-text);}

/* Poster / avatar gradient art (shared palette with homepage) */
.g0{background:linear-gradient(155deg,#3a1c5e,#8a2f5e);}
.g1{background:linear-gradient(155deg,#0f3d3e,#1c7a6e);}
.g2{background:linear-gradient(155deg,#4a1414,#a13d2b);}
.g3{background:linear-gradient(155deg,#1a2a52,#3d5aa8);}
.g4{background:linear-gradient(155deg,#2b2308,#8a6a12);}
.g5{background:linear-gradient(155deg,#1f0f2e,#5e2470);}
.g6{background:linear-gradient(155deg,#092a1c,#1f7a4a);}
.g7{background:linear-gradient(155deg,#331414,#7a2222);}
.art-mark{font-weight:900; opacity:0.9; letter-spacing:-1px; color:#fff;}
.hero-poster .art-mark{font-size:30px;}
.avatar .art-mark{font-size:26px;}

/* ============================================================
   STILL GALLERY
   ============================================================ */
.still-gallery{
  display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
  gap:12px; margin-top:16px;
}
.still-gallery img{
  width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:8px;
  background:var(--surface-2); cursor:pointer; transition:transform 0.2s;
}
.still-gallery img:hover{transform:scale(1.03);}

/* ============================================================
   SECTIONS & HEADERS
   ============================================================ */
.section{margin:34px 0;}
.section-head{
  display:flex; align-items:flex-end; justify-content:space-between;
  margin-bottom:16px; gap:12px;
}
.kicker{
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size:11.5px; letter-spacing:1.5px;
  text-transform:uppercase; color:#8a6d00; font-weight:700; margin-bottom:5px;
}
.section-head h2{font-size:22px; font-weight:800; letter-spacing:-0.3px; color:var(--ink);}
@media(min-width:768px){.section-head h2{font-size:24px;}}
.section-head .see-all{font-size:13.5px; font-weight:600; white-space:nowrap;}

.card{
  background:var(--surface); border:1px solid var(--border); border-radius:14px;
}

/* ============================================================
   METADATA LIST (two-column on desktop, stacked on mobile)
   ============================================================ */
.meta-list{
  display:grid; grid-template-columns:1fr; gap:0;
}
@media(min-width:768px){.meta-list{grid-template-columns:1fr 1fr; column-gap:36px;}}
.meta-list > div{
  display:flex; justify-content:space-between; gap:16px;
  padding:12px 0; border-bottom:1px solid var(--border);
}
@media(min-width:768px){
  .meta-list > div:nth-last-child(-n+2){border-bottom:none;}
}
.meta-list dt{
  font-size:12.5px; font-weight:600; letter-spacing:0.4px; text-transform:uppercase;
  color:var(--muted); flex:0 0 auto; padding-top:2px;
}
.meta-list dd{font-size:14.5px; color:var(--ink); text-align:right; font-weight:500;}

/* ---------- LabelValue (unified label/value row) ----------
   公共组件 RecapHub.components.LabelValue 输出 .label-value/.label/.value。
   可独立使用，也可被 .meta-list/.metadata-row 包裹（外层 flex/gap/padding/border）。 */
.label-value{display:flex; justify-content:space-between; align-items:baseline; gap:16px;}
.label-value .label{font-size:12.5px; font-weight:600; letter-spacing:0.4px; text-transform:uppercase; color:var(--muted); flex:0 0 auto;}
.label-value .value{font-size:14.5px; color:var(--ink); text-align:right; font-weight:500; min-width:0; word-break:break-word; overflow-wrap:anywhere;}
@media(max-width:480px){
  .label-value{flex-direction:column; align-items:flex-start; gap:4px;}
  .label-value .value{text-align:left;}
}

/* ---------- ScheduleList (unified Label/Value list for Upcoming Season pages) ----------
   公共 Label/Value 模式：与 .label-value / .meta-list dt/dd 同设计语言。
   .sl-label = 标签（uppercase, muted），.sl-val = 值（right-aligned, ink）。
   flex space-between + gap → 杜绝 "PremiereTo be announced" 粘连。 */
.schedule-list{list-style:none; margin:0; padding:0;}
.schedule-list > li{
  display:flex; justify-content:space-between; align-items:baseline; gap:12px 20px;
  padding:12px 0; border-bottom:1px solid var(--border);
}
.schedule-list > li:last-child{border-bottom:none;}
.schedule-list .sl-label{
  font-size:12.5px; font-weight:600; letter-spacing:0.4px; text-transform:uppercase;
  color:var(--muted); flex:0 1 auto; min-width:0; max-width:42%;
}
/* value 一侧必须允许自然换行（normal + overflow-wrap:anywhere），
   禁止强制单行、禁止省略号截断、禁止裁切 —— 完整文本必须可见。 */
.schedule-list .sl-val{
  flex:1 1 auto; min-width:0; max-width:100%; padding-left:8px;
  font-size:14.5px; color:var(--ink); text-align:right; font-weight:500;
  white-space:normal; word-break:normal; overflow-wrap:anywhere;
}
/* ≤600px 切换为 LABEL / VALUE 堆叠：移动端优先保证完整可读，不坚持两列。 */
@media(max-width:600px){
  .schedule-list > li{flex-direction:column; align-items:flex-start; gap:4px;}
  .schedule-list .sl-label{max-width:none;}
  .schedule-list .sl-val{text-align:left; padding-left:0; max-width:100%;}
}

/* ============================================================
   SEASON NAVIGATION (pills, horizontal scroll on mobile)
   ============================================================ */
/* padding 四周留白：给 active 态的外圈 ring（box-shadow）留出绘制空间，
   否则会被 overflow-x:auto 的裁剪盒切掉。 */
.season-nav{
  display:flex; gap:10px; overflow-x:auto; padding:4px 2px 10px;
  -ms-overflow-style:none; scrollbar-width:none;
}
.season-nav::-webkit-scrollbar{display:none;}
/* 语义区别：Hero 的 .pill-d 是「状态 badge」（999px 胶囊、无底色、cursor:auto）；
   这里是「可点击导航项」—— 圆角矩形 + 白底 + 实线描边 + hover/active 反馈。 */
.season-pill{
  flex:0 0 auto; display:inline-flex; align-items:center; gap:8px;
  min-height:44px; padding:9px 18px; border-radius:10px;
  background:var(--surface); border:1px solid #DDDDDD;
  font-size:14px; font-weight:600; color:var(--ink); cursor:pointer;
  text-decoration:none;
  transition:border-color .15s ease, background .15s ease, color .15s ease;
}
.season-pill:hover{border-color:#B9BFC8; background:#FAFAFA; color:var(--link);}
.season-pill:active{background:#F1F1EF;}
.season-pill .cnt{font-size:12px; color:var(--muted); font-weight:500;}
/* 选中态：黄底 + 深色描边 + 加粗 + 外圈 ring，明显区别于普通可点击项。 */
.season-pill[aria-current="true"]{
  background:var(--accent); border-color:#C99700; color:#111; font-weight:700;
  cursor:default; box-shadow:0 0 0 3px rgba(245,197,24,0.32);
}
.season-pill[aria-current="true"] .cnt{color:#5c4a00;}
.season-pill.is-future{color:var(--muted); cursor:default; border-style:dashed;}
.season-pill.is-future:hover{border-color:#DDDDDD; background:var(--surface); color:var(--muted);}

/* ============================================================
   EPISODE LIST / ROWS
   ============================================================ */
.episode-list{display:flex; flex-direction:column; gap:12px;}
.episode-row{
  display:flex; flex-direction:column;
  background:var(--surface); border:1px solid var(--border); border-radius:12px;
  overflow:hidden; transition:border-color .15s ease, box-shadow .15s ease;
}
@media(min-width:768px){
  .episode-row{flex-direction:row;}
  a.episode-row:hover{
    border-color:#C9C9C9;
    box-shadow:0 4px 16px rgba(17,17,17,0.06);
  }
  a.episode-row:hover .ep-title{color:var(--link);}
}
.ep-thumb{
  position:relative; aspect-ratio:16/9; flex:0 0 auto;
  display:flex; align-items:flex-end; padding:12px;
}
@media(min-width:768px){.ep-thumb{width:220px; border-radius:12px 0 0 12px; aspect-ratio:auto; min-height:100%;}}
.ep-thumb .badge{
  position:absolute; top:8px; left:8px; background:rgba(5,5,5,0.72); backdrop-filter:blur(4px);
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size:11px; padding:3px 8px; border-radius:4px; font-weight:700; color:#fff;
}
/* Episode row with real still image (data.js ep.still) */
.ep-thumb.has-img{padding:0; background:var(--page);}
.ep-thumb.has-img img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block;}
.ep-body{flex:1; display:flex; flex-direction:column; justify-content:center; padding:14px 16px; min-width:0;}
.ep-title{
  font-size:16px; font-weight:700; color:var(--ink); margin-bottom:5px; line-height:1.35;
}
.ep-meta{
  font-size:13px; color:var(--ink-2); margin-bottom:8px; display:flex; gap:8px 14px; flex-wrap:wrap;
}
.ep-syn{
  font-size:14px; color:var(--ink-2); line-height:1.55; margin-bottom:4px;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.ep-readmore{
  font-size:13.5px; font-weight:700; color:var(--link); margin-top:8px;
}
a.episode-row:hover .ep-readmore{text-decoration:underline;}
.ep-coming{font-size:12.5px; color:var(--muted); margin-top:8px; font-weight:500;}

/* ============================================================
   CAST & CHARACTER CARDS
   ============================================================ */
.cast-grid{
  display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:14px;
  align-items:start; /* 阻止 grid 默认 stretch 拉伸 card 到同行最高,避免文字换行导致 avatar 被动拉长 */
}
@media(min-width:768px){.cast-grid{grid-template-columns:repeat(3, minmax(0,1fr));}}
@media(min-width:1024px){.cast-grid{grid-template-columns:repeat(6, minmax(0,1fr));}}
.cast-card{
  background:var(--surface); border:1px solid var(--border); border-radius:12px;
  padding:12px; text-align:center;
  display:flex; flex-direction:column; height:100%; /* flex column 容器,让多余高度被文字框吸收而非 avatar */
  align-self:start; /* 双重保险:即使 grid 默认 stretch,card 自身不被拉伸 */
  min-width:0; width:100%; /* ↓↓↓ 驯服 Grid "Intrinsic Size Blowout":防止高分辨率图片(如 June Kilmer)的内在宽度撑宽整个 grid 列 ↓↓↓ */
  transition:border-color .15s ease, box-shadow .15s ease;
}
a.cast-card:hover{border-color:#C9C9C9; box-shadow:0 4px 16px rgba(17,17,17,0.06);}
.cast-card .avatar{
  width:100%; aspect-ratio:2/3; border-radius:10px; overflow:hidden;
  display:flex; align-items:center; justify-content:center; margin-bottom:10px;
  flex:0 0 auto !important; /* !important 绝对禁止图片容器吸收多余高度,所有屏幕尺寸下保持 2:3 比例 */
}
/* 头像图原片多为 2:3 竖向人像，cover 到 2:3 容器避免人物被放大裁切 */
.cast-card .ch-name{font-size:14px; font-weight:700; color:var(--ink); line-height:1.3; flex:1 1 auto; /* 文字框吸收整行多余高度 */}
a.cast-card:hover .ch-name{color:var(--link);}
.cast-card .ch-actor{font-size:12.5px; color:var(--ink-2); margin-top:3px; line-height:1.35; flex:1 1 auto;}
.cast-card .ch-note{font-size:11.5px; color:var(--muted); margin-top:3px; flex:1 1 auto;}

/* ---------- Cast Compact List (Guest/Minor without image) ----------
   公共组件：renderCastGrid 将 Guest/Minor 无图角色渲染为 compact text list，
   替代大型 initials 色块，避免视觉污染。展示方式由数据决定（status+img）。 */
.cast-compact-section{margin-top:20px;}
.cast-compact-h{
  font-size:13px; font-weight:700; letter-spacing:0.4px; text-transform:uppercase;
  color:var(--muted); margin-bottom:10px;
}
.cast-compact-list{
  list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns:1fr; gap:6px 18px;
}
@media(min-width:640px){.cast-compact-list{grid-template-columns:1fr 1fr;}}
@media(min-width:1024px){.cast-compact-list{grid-template-columns:1fr 1fr 1fr;}}
.cc-item{padding:4px 0; line-height:1.5;}
.cc-link{display:inline; color:var(--ink);}
a.cc-link:hover{color:var(--link);}
.cc-actor{font-weight:600; font-size:13.5px; color:var(--ink);}
.cc-as{font-size:12.5px; color:var(--muted); margin:0 4px;}
.cc-char{font-size:13px; color:var(--ink-2);}

/* Character portrait variant (3/4) */
.char-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:14px;}
@media(min-width:768px){.char-grid{grid-template-columns:repeat(3,1fr);}}
@media(min-width:1024px){.char-grid{grid-template-columns:repeat(4,1fr);}}

/* Episode 页「Characters in This Episode」网格 #char-cards：
   卡片固定开销 = padding(16*2) + 头像 56 + gap 14 = 106px，全部从文本列里扣。
   600px 以下沿用 .char-grid 的 2 列时，文本列被压到 25–72px
   （320/360/390/414px 实测 25/45/60/72px），Also in 变成每词一行，
   卡片被撑到 488–1088px。600px 以下改单列 ⇒ 文本列 ≥ 174px。
   作用域限定 #char-cards：/characters/ 浏览页复用 .char-grid（.char-card，
   2574 张）不受影响；600px 起仍走 .char-grid 的 2/3/4 列。
   minmax(0,1fr) 而非 1fr：裸 1fr 的自动最小尺寸 = min-content，下面 Also in 的
   nowrap 链接会把列顶到 518px（320–360px 实测横向溢出 178–218px）。 */
@media(max-width:599px){#char-cards{grid-template-columns:minmax(0,1fr);}}

/* Also in 移动端紧凑显示：episode 标题最长 66 字符（The Boys S5E7 · The Frenchman,
   the Female, and the Man Called Mother's Milk），320–480px 下单条链接会折成
   2–3 行、整块堆到 192px、卡片 272px。600px 以下每条链接强制单行 + 省略号截断，
   字号与行高收紧 ⇒ 卡片 272→188px、块 192→109px。链接本身仍完整可点。 */
@media(max-width:599px){
  #char-cards .cc-also{font-size:12.5px; line-height:1.45;}
  #char-cards .cc-also a{display:inline-block; max-width:100%; white-space:nowrap;
    overflow:hidden; text-overflow:ellipsis; vertical-align:bottom;}
}
.char-card{
  background:var(--surface); border:1px solid var(--border); border-radius:12px; overflow:hidden;
  transition:border-color .15s ease, box-shadow .15s ease;
}
a.char-card:hover{border-color:#C9C9C9; box-shadow:0 4px 16px rgba(17,17,17,0.06);}
.char-card .avatar{
  width:100%; aspect-ratio:3/4; display:flex; align-items:center; justify-content:center;
}
.char-card .char-meta{padding:12px 14px;}
.char-card .ch-name{font-size:14.5px; font-weight:700; color:var(--ink);}
a.char-card:hover .ch-name{color:var(--link);}
.char-card .ch-sub{font-size:12.5px; color:var(--ink-2); margin-top:2px; line-height:1.4;}

/* ============================================================
   SHOW GRID (hub pages)
   ============================================================ */
.show-grid{display:grid; grid-template-columns:1fr; gap:16px;}
@media(min-width:600px){.show-grid{grid-template-columns:repeat(2,1fr);}}
@media(min-width:1024px){.show-grid{grid-template-columns:repeat(3,1fr);}}
.show-card{
  background:var(--surface); border:1px solid var(--border); border-radius:12px; overflow:hidden;
  display:flex; flex-direction:column;
  transition:border-color .15s ease, box-shadow .15s ease;
}
a.show-card:hover{border-color:#C9C9C9; box-shadow:0 4px 16px rgba(17,17,17,0.06);}
.show-card .sc-poster{
  width:100%; aspect-ratio:2/3; display:flex; align-items:center; justify-content:center;
  overflow:hidden; border-radius:12px 12px 0 0;
}
/* Show card poster image (data.js show.poster) */
.show-card .sc-poster img{width:100%; height:100%; object-fit:cover; display:block;}
.show-card .sc-body{padding:14px 16px 16px; display:flex; flex-direction:column; gap:6px; flex:1;}
.show-card .sc-name{font-size:16px; font-weight:700; color:var(--ink);}
a.show-card:hover .sc-name{color:var(--link);}
.show-card .sc-meta{font-size:12.5px; color:var(--ink-2); line-height:1.5;}
.show-card .sc-genres{font-size:12px; color:var(--muted);}
.show-card.is-soon{opacity:0.75;}
.show-card.is-soon .sc-body{justify-content:center; text-align:center; min-height:96px;}
.show-card .sc-soon-tag{
  display:inline-block; font-size:11px; font-weight:700; letter-spacing:0.5px; text-transform:uppercase;
  color:var(--muted); background:var(--page); border:1px solid var(--border);
  padding:3px 10px; border-radius:999px; margin-top:6px;
}

/* ============================================================
   UPCOMING SEASONS GRID (/upcoming/)
   宽幅 backdrop 卡片。刻意不用 <a> 包整卡（卡内有多个链接），
   容器是 <article>，链接为卡内兄弟元素，避免嵌套 <a> 拆卡。
   ============================================================ */
.up-grid{display:grid; grid-template-columns:1fr; gap:18px;}
@media(min-width:640px){.up-grid{grid-template-columns:repeat(2,1fr);}}
@media(min-width:1024px){.up-grid{grid-template-columns:repeat(3,1fr);}}
.up-card{
  background:var(--surface); border:1px solid var(--border); border-radius:12px; overflow:hidden;
  display:flex; flex-direction:column;
  transition:border-color .15s ease, box-shadow .15s ease;
}
.up-card:hover{border-color:#C9C9C9; box-shadow:0 4px 16px rgba(17,17,17,0.06);}
.up-card .up-media{
  width:100%; aspect-ratio:16/9; display:flex; align-items:center; justify-content:center;
  overflow:hidden; background:var(--dark-2); border-bottom:1px solid var(--border);
}
.up-card .up-media img{width:100%; height:100%; object-fit:cover; display:block;}
.up-card .up-body{padding:14px 16px 16px; display:flex; flex-direction:column; gap:6px; flex:1;}
.up-card .up-status{
  display:inline-block; align-self:flex-start; font-size:11px; font-weight:700; letter-spacing:0.5px;
  text-transform:uppercase; color:#8a6d00; background:rgba(245,197,24,0.16);
  padding:3px 10px; border-radius:999px;
}
.up-card .up-title{font-size:17px; font-weight:700; color:var(--ink); line-height:1.3;}
.up-card .up-title a{color:inherit; text-decoration:none;}
.up-card .up-title a:hover{color:var(--link);}
.up-card .up-meta{font-size:12.5px; color:var(--ink-2);}
.up-card .up-date{font-size:12.5px; color:var(--muted);}
.up-card .up-actions{display:flex; flex-wrap:wrap; gap:8px 14px; margin-top:auto; padding-top:10px;}
.up-card .up-link{
  font-size:13px; font-weight:600; color:var(--link); text-decoration:none;
  border-bottom:1px solid transparent;
}
.up-card .up-link:hover{color:var(--link-hover); border-bottom-color:currentColor;}
.up-card .up-link-trailer::before{content:"\25B6"; font-size:10px; margin-right:5px;}

/* ============================================================
   ARTICLE LIST
   ============================================================ */
.article-list{display:flex; flex-direction:column; gap:12px;}
.article-row{
  display:flex; flex-direction:column; gap:6px;
  background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:16px 18px;
  transition:border-color .15s ease, box-shadow .15s ease;
}
a.article-row:hover{border-color:#C9C9C9; box-shadow:0 4px 16px rgba(17,17,17,0.06);}
.cat-tag{
  display:inline-block; align-self:flex-start; font-size:11px; font-weight:700; letter-spacing:0.5px; text-transform:uppercase;
  color:#8a6d00; background:rgba(245,197,24,0.16); padding:3px 10px; border-radius:999px;
}
.article-row h3{font-size:16px; font-weight:700; color:var(--ink); line-height:1.4;}
a.article-row:hover h3{color:var(--link);}
.article-row p{font-size:14px; color:var(--ink-2); line-height:1.55;}
.article-row .a-date{font-size:12.5px; color:var(--muted);}

/* ============================================================
   VIDEO FACADE (lazy 16:9 YouTube embed)
   ============================================================ */
.video-facade{
  position:relative; width:100%; aspect-ratio:16/9; background:#111;
  border-radius:12px; overflow:hidden; border:1px solid var(--border);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px;
  cursor:pointer; padding:20px;
}
.video-facade::before{
  content:""; position:absolute; inset:0;
  background:radial-gradient(ellipse at 50% 40%, rgba(245,197,24,0.10), transparent 60%),
             linear-gradient(150deg,#181028,#2b1330 55%,#111);
}
.video-facade .play-btn{
  position:relative; z-index:1; width:68px; height:68px; border-radius:50%;
  background:var(--accent); border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:transform .15s ease;
}
.video-facade:hover .play-btn{transform:scale(1.07);}
.video-facade .v-title{
  position:relative; z-index:1; color:#fff; font-size:15px; font-weight:700; text-align:center;
}
.video-facade .v-sub{
  position:relative; z-index:1; color:var(--d-text-2); font-size:12.5px;
}
.video-facade iframe{position:absolute; inset:0; width:100%; height:100%; border:0;}
.video-note{font-size:12.5px; color:var(--muted); margin-top:8px;}

/* ============================================================
   EDITORIAL PROSE
   ============================================================ */
.prose{max-width:760px;}
.prose p{font-size:16px; line-height:1.75; color:#2b2b2b; margin-bottom:16px; text-decoration:none;}
.prose h2{font-size:22px; font-weight:800; letter-spacing:-0.3px; color:var(--ink); margin:30px 0 14px; line-height:1.3;}
.prose h3{font-size:17px; font-weight:700; color:var(--ink); margin:22px 0 10px;}
.prose ul, .prose ol{margin:0 0 16px 22px; color:#2b2b2b;}
.prose li{font-size:16px; line-height:1.7; margin-bottom:6px;}
.prose strong{color:var(--ink);}
.prose a{font-weight:600;}

/* Synopsis callout */
.synopsis-card{
  background:var(--surface); border:1px solid var(--border); border-left:4px solid var(--accent);
  border-radius:12px; padding:18px 20px; font-size:16px; line-height:1.7; color:#2b2b2b;
}

/* Spoiler notice */
.spoiler-note{
  display:flex; gap:12px; align-items:flex-start;
  background:#FFF8E1; border:1px solid #F0E2A8; border-radius:12px;
  padding:14px 16px; margin:26px 0 18px;
}
.spoiler-note .s-icon{font-size:18px; line-height:1.4;}
.spoiler-note .s-title{font-size:14px; font-weight:800; color:#6d5600; margin-bottom:2px;}
.spoiler-note .s-text{font-size:13.5px; color:#6d5600; line-height:1.5;}

/* Key moments */
.key-moments{list-style:none; counter-reset:km; display:flex; flex-direction:column; gap:12px;}
.key-moments li{
  counter-increment:km; position:relative;
  background:var(--surface); border:1px solid var(--border); border-radius:12px;
  padding:14px 16px 14px 56px; font-size:15px; line-height:1.6; color:#2b2b2b;
}
.key-moments li::before{
  content:counter(km); position:absolute; left:14px; top:14px;
  width:30px; height:30px; border-radius:50%;
  background:rgba(245,197,24,0.18); color:#8a6d00;
  font-weight:800; font-size:14px; display:flex; align-items:center; justify-content:center;
}
.key-moments li strong{color:var(--ink);}

/* ============================================================
   EPISODE PREV / GUIDE / NEXT NAVIGATION
   ============================================================ */
.ep-nav{display:grid; grid-template-columns:1fr; gap:10px;}
@media(min-width:768px){.ep-nav{grid-template-columns:1fr auto 1fr;}}
.ep-nav-card{
  display:flex; flex-direction:column; gap:3px;
  background:var(--surface); border:1px solid var(--border); border-radius:12px;
  padding:14px 16px; min-height:64px; justify-content:center;
  transition:border-color .15s ease, box-shadow .15s ease;
}
a.ep-nav-card:hover{border-color:#C9C9C9; box-shadow:0 4px 16px rgba(17,17,17,0.06);}
.ep-nav-card .nav-label{font-size:11.5px; font-weight:700; letter-spacing:0.6px; text-transform:uppercase; color:var(--muted);}
.ep-nav-card .nav-title{font-size:14.5px; font-weight:700; color:var(--ink); line-height:1.35;}
a.ep-nav-card:hover .nav-title{color:var(--link);}
.ep-nav-card.is-disabled{border-style:dashed; cursor:default;}
.ep-nav-card.is-disabled .nav-title{color:var(--muted); font-weight:600;}
.ep-nav-card.align-right{text-align:right; align-items:flex-end;}
.ep-nav-guide{
  display:flex; align-items:center; justify-content:center;
  background:var(--accent); color:#111; font-weight:800; font-size:14px;
  border-radius:12px; padding:14px 22px; min-height:64px; border:none; cursor:pointer;
  white-space:nowrap;
}
.ep-nav-guide:hover{filter:brightness(1.06); color:#111;}

/* ============================================================
   HUB PAGES (shows / characters index)
   ============================================================ */
.hub-grid{display:grid; grid-template-columns:1fr; gap:16px;}
@media(min-width:768px){.hub-grid{grid-template-columns:repeat(2,1fr);}}
.hub-note{
  font-size:14px; color:var(--ink-2); background:var(--surface);
  border:1px dashed #D8D8D8; border-radius:12px; padding:16px 18px; line-height:1.6;
}

/* Info banner */
.info-banner{
  display:flex; gap:10px; align-items:flex-start;
  background:var(--surface); border:1px solid var(--border); border-radius:12px;
  padding:14px 16px; font-size:13.5px; color:var(--ink-2); line-height:1.55; margin-top:14px;
}
.info-banner .i-icon{color:#8a6d00; font-weight:800;}

/* Season footer nav (prev/next season) */
.season-footer{
  display:flex; justify-content:space-between; gap:12px; margin-top:28px; flex-wrap:wrap;
}
.season-footer a{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--surface); border:1px solid var(--border); border-radius:999px;
  padding:11px 20px; min-height:46px; font-size:14px; font-weight:700; color:var(--ink);
}
.season-footer a:hover{border-color:#C9C9C9; color:var(--link);}

/* ============================================================
   CHARACTER PAGE HEADER (light card variant)
   ============================================================ */
.char-hero{
  display:flex; flex-direction:column; gap:20px;
  background:var(--surface); border:1px solid var(--border); border-radius:14px;
  padding:24px 20px; margin:14px 0 26px;
}
@media(min-width:768px){.char-hero{flex-direction:row; padding:28px; gap:28px;}}
.char-hero .avatar{
  flex:0 0 auto; width:140px; aspect-ratio:3/4; border-radius:10px; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
}
.char-hero .char-title{font-size:32px; font-weight:900; letter-spacing:-0.6px; margin-bottom:8px; color:var(--ink);}
@media(min-width:768px){.char-hero .char-title{font-size:40px;}}
.char-hero .char-sub{font-size:14.5px; color:var(--ink-2); margin-bottom:4px;}
.char-hero .char-sub a{font-weight:600;}
.char-hero .char-desc{font-size:15.5px; color:var(--ink-2); line-height:1.65; margin-top:12px; max-width:620px;}

/* ============================================================
   EPISODE RECAP ARTICLE TEMPLATE (/episode-N-recap/)
   ============================================================ */

/* Two-column layout: main article + sticky sidebar (mobile: single) */
.recap-layout,.cast-layout{display:grid; grid-template-columns:1fr; gap:28px;}
@media(min-width:1024px){
  .recap-layout,.cast-layout{grid-template-columns:minmax(0,1fr) 320px; gap:40px; align-items:start;}
  .recap-side,.cast-side{position:sticky; top:84px;}
}

/* Article header */
.recap-head{padding:10px 0 6px; border-bottom:1px solid var(--border); margin-bottom:22px;}
/* Recap hero image: episode still / show poster under the article header */
.recap-hero-img{margin:18px 0 22px; border-radius:14px; overflow:hidden; border:1px solid var(--border);}
.recap-hero-img img{display:block; width:100%; aspect-ratio:16/9; object-fit:cover;}
.recap-head h1{font-size:30px; font-weight:900; letter-spacing:-0.7px; line-height:1.12; color:var(--ink);}
@media(min-width:768px){.recap-head h1{font-size:38px;}}
.recap-sub{font-size:16.5px; color:var(--ink-2); line-height:1.5; margin-top:10px; max-width:680px; font-weight:500;}
.recap-meta{
  display:flex; flex-wrap:wrap; align-items:center; gap:8px 10px;
  margin-top:16px; padding-bottom:18px; font-size:13px; color:var(--ink-2);
}
.recap-meta .rm-label{font-size:11px; font-weight:700; letter-spacing:0.6px; text-transform:uppercase; color:var(--muted);}
.recap-meta .rm-sep{color:#C9C9C9;}
.fact-pill{
  display:inline-flex; align-items:center; gap:5px;
  background:var(--surface); border:1px solid var(--border); border-radius:999px;
  padding:5px 12px; font-size:12.5px; font-weight:600; color:var(--ink);
}
.fact-pill.is-rating{background:var(--accent); border-color:var(--accent); color:#111; font-weight:800;}

/* Quick summary (AI-extraction friendly answer block) */
.quick-summary{
  background:var(--surface); border:1px solid var(--border); border-left:4px solid var(--accent);
  border-radius:12px; padding:18px 20px; margin:0 0 28px;
}
.quick-summary p{font-size:15.5px; line-height:1.7; color:#2b2b2b;}
.quick-summary p + p{margin-top:10px;}

/* Article media & quotes inside prose */
.prose figure{margin:22px 0;}
.prose figure .fig-art{
  aspect-ratio:16/9; border-radius:12px; border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
/* In-article still image (replaces gradient placeholder) */
.prose figure .fig-art img{width:100%; height:100%; object-fit:cover; display:block;}
.prose figcaption{font-size:12.5px; color:var(--muted); margin-top:8px; text-align:center;}
.prose blockquote{
  border-left:3px solid var(--accent); background:var(--surface);
  border-radius:0 12px 12px 0; padding:16px 20px; margin:20px 0;
  font-size:16.5px; line-height:1.65; color:#2b2b2b; font-style:italic;
}
.prose blockquote cite{display:block; font-size:13px; color:var(--muted); font-style:normal; margin-top:8px;}

/* Ending Explained — visually stronger panel */
.ending-panel{
  background:var(--surface); border:1px solid var(--border); border-top:4px solid var(--accent);
  border-radius:14px; padding:24px 22px; margin:8px 0 34px;
}
@media(min-width:768px){.ending-panel{padding:28px 30px;}}
.ending-panel .prose{max-width:none;}
.ending-panel .spoiler-note{margin:0 0 18px;}
.ending-box{
  background:#FFF8E1; border:1px solid #F0E2A8; border-radius:12px;
  padding:16px 18px; margin-top:18px;
}
.ending-box .eb-label{
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size:11px; letter-spacing:1.2px; text-transform:uppercase;
  font-weight:700; color:#8a6d00; margin-bottom:6px;
}
.ending-box p{font-size:15px; line-height:1.65; color:#5c4a00; font-weight:500;}

/* Key Takeaways — recap template v2 */
.takeaway-box{
  background:#FFF8E1; border:1px solid #F0E2A8; border-radius:12px;
  padding:18px 20px;
}
.takeaway-box ul{list-style:none; display:flex; flex-direction:column; gap:12px;}
.takeaway-box li{
  display:flex; gap:10px; font-size:15px; line-height:1.6;
  color:#5c4a00; font-weight:500;
}
.takeaway-box li::before{
  content:"✓"; flex:0 0 auto; color:#8a6d00; font-weight:800; font-size:15px;
}
.takeaway-box li strong{color:#3d3200;}

/* Character Impact — recap template v2 */
.impact-grid{display:grid; grid-template-columns:1fr; gap:12px;}
@media(min-width:768px){.impact-grid{grid-template-columns:repeat(3,1fr);}}
.impact-item{
  background:var(--surface); border:1px solid var(--border); border-radius:12px;
  padding:16px 18px;
}
.impact-name{font-size:15.5px; font-weight:700; color:var(--ink);}
.impact-name a{color:var(--ink);}
.impact-name a:hover{color:var(--link);}
.impact-actor{
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size:11px; letter-spacing:0.8px;
  text-transform:uppercase; color:var(--muted); margin:4px 0 10px;
}
.impact-text{font-size:14px; line-height:1.6; color:var(--ink-2);}

/* FAQ accordion (native <details>, zero-JS, crawler-readable) */
.faq-list{display:flex; flex-direction:column; gap:10px;}
.faq-item{
  background:var(--surface); border:1px solid var(--border); border-radius:12px; overflow:hidden;
}
.faq-item summary{
  list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:15px 18px; font-size:15.5px; font-weight:700; color:var(--ink); line-height:1.45;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{
  content:"+"; flex:0 0 auto; width:26px; height:26px; border-radius:50%;
  background:rgba(245,197,24,0.18); color:#8a6d00; font-weight:800; font-size:16px;
  display:flex; align-items:center; justify-content:center; transition:transform .15s ease;
}
.faq-item[open] summary::after{content:"−"; transform:rotate(180deg);}
.faq-item summary:hover{color:var(--link);}
.faq-answer{padding:0 18px 16px; font-size:15px; line-height:1.7; color:#2b2b2b;}
.faq-answer a{font-weight:600;}

/* ============================================================
   PHASE 2 — EPISODE PAGE CONTENT MODULES
   (Quick Answer / Episode info grid / Guest stars /
    Ending preview / Related episodes / nav hints)
   ============================================================ */

/* Quick Answer — featured-snippet callout under the hero */
.quick-answer{
  background:#FFFBEB; border:1px solid #F0E2A8; border-radius:14px;
  padding:18px 20px;
}
.quick-answer .qa-label{
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size:11px; letter-spacing:1.2px;
  text-transform:uppercase; font-weight:700; color:#8a6d00; margin-bottom:8px;
}
.quick-answer p{font-size:15.5px; line-height:1.7; color:#4a3a00; margin:0; font-weight:500;}
.quick-answer a{font-weight:700; color:#8a6d00; text-decoration:underline; text-underline-offset:2px;}
.quick-answer a:hover{color:#111;}

/* Episode information fact grid */
.info-grid{display:grid; grid-template-columns:1fr; gap:10px; margin:0;}
@media(min-width:768px){.info-grid{grid-template-columns:repeat(2,1fr);}}
.info-item{
  background:var(--surface); border:1px solid var(--border); border-radius:12px;
  padding:12px 16px;
}
.info-label{
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size:10.5px; letter-spacing:1px;
  text-transform:uppercase; font-weight:700; color:var(--muted); margin-bottom:4px;
}
.info-value{font-size:15px; font-weight:700; color:var(--ink); line-height:1.45;}
.info-value a{color:var(--link);}

/* Guest stars */
.guest-grid{display:grid; grid-template-columns:1fr; gap:14px;}
@media(min-width:600px){.guest-grid{grid-template-columns:repeat(2,1fr);}}
.guest-card{
  background:var(--surface); border:1px solid var(--border); border-radius:12px;
  padding:14px 16px; display:flex; gap:14px; align-items:flex-start;
}
/* 头像图原片多为 2:3 竖向人像，cover 到 2:3 容器避免人物被放大裁切；
   与 .actor-card / .sh-cast-card / .cast-card 统一头像比例（公共 CSS 控制）。 */
.guest-card .avatar{width:56px; aspect-ratio:2/3; flex:0 0 auto; border-radius:10px; overflow:hidden; display:flex; align-items:center; justify-content:center;}
.guest-card .avatar .art-mark{font-size:20px;}
.guest-card .g-name{font-size:15px; font-weight:700; color:var(--ink); line-height:1.35;}
.guest-card .g-role{font-size:13px; color:var(--ink-2); font-weight:600; margin-top:2px;}
.guest-card .g-note{font-size:13px; color:var(--ink-2); line-height:1.55; margin:6px 0 0;}
/* 统一 Cast Card 默认深色文字(无论是否有详情页链接),仅通过 hover/focus 体现可点击性 */
a.guest-card{transition:border-color .15s ease, box-shadow .15s ease;}
a.guest-card:hover{border-color:#C9C9C9; box-shadow:0 2px 8px rgba(0,0,0,0.06);}
a.guest-card:hover .g-name{color:var(--link);}
a.guest-card:focus-visible{outline:3px solid var(--link); outline-offset:2px;}

/* Ending explained preview card */
.ending-preview{
  background:var(--surface); border:1px solid var(--border); border-left:4px solid var(--accent);
  border-radius:12px; padding:18px 20px;
}
.ending-preview .epp-label{
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size:11px; letter-spacing:1.2px;
  text-transform:uppercase; font-weight:700; color:#8a6d00; margin-bottom:8px;
}
.ending-preview p{font-size:15.5px; line-height:1.7; color:#2b2b2b; margin:0;}
.ending-preview .epp-links{display:flex; flex-wrap:wrap; gap:10px; margin-top:16px;}

/* Related episodes list */
.related-eps{display:flex; flex-direction:column; gap:12px;}
.related-eps .episode-row.is-recap .ep-thumb{border-radius:12px;}

/* Prev/next disabled-card hint */
.ep-nav-card .nav-hint{font-size:11.5px; color:var(--muted); font-weight:500;}

/* Sidebar cards */
.side-card{
  background:var(--surface); border:1px solid var(--border); border-radius:14px;
  padding:18px; margin-bottom:20px;
}
.side-card h3{font-size:13px; font-weight:800; letter-spacing:0.6px; text-transform:uppercase; color:var(--ink); margin-bottom:12px;}
.side-card .meta-list > div{padding:9px 0;}
.side-card .meta-list > div:nth-last-child(-n+2){border-bottom:none;}
.side-article{display:flex; flex-direction:column; gap:4px; padding:11px 0; border-bottom:1px solid var(--border);}
.side-article:last-child{border-bottom:none; padding-bottom:0;}
.side-article .sa-cat{font-size:10.5px; font-weight:700; letter-spacing:0.5px; text-transform:uppercase; color:#8a6d00;}
.side-article .sa-title{font-size:14px; font-weight:700; color:var(--ink); line-height:1.4;}
a.side-article:hover .sa-title{color:var(--link);}
.side-cta{
  display:flex; align-items:center; justify-content:center; gap:8px; text-align:center;
  background:var(--accent); color:#111; font-weight:800; font-size:14px;
  border-radius:12px; padding:13px 18px; min-height:48px;
}
.side-cta:hover{filter:brightness(1.06); color:#111;}

/* ============================================================
   CAST & GUEST STARS PAGE (/shows/<show>/season-N/cast/)
   Dark database variant — flat #050505 bg, white cards,
   yellow accent. No gradients, no glass, no fancy motion.
   ============================================================ */
body.cast-page{background:#050505; color:var(--d-text);}
body.cast-page .breadcrumb{color:var(--d-text-2);}
body.cast-page .breadcrumb a{color:var(--d-text-2);}
body.cast-page .breadcrumb a:hover{color:var(--accent);}
body.cast-page .breadcrumb .sep{color:rgba(255,255,255,0.28);}
body.cast-page .breadcrumb [aria-current="page"]{color:var(--d-text);}
body.cast-page .section-head h2{color:var(--d-text);}
body.cast-page .kicker{color:var(--accent);}
body.cast-page .see-all{color:var(--d-text-2);}
body.cast-page .see-all:hover{color:var(--accent);}

/* Hero (flat dark, no gradient) */
.cast-hero{padding:26px 0 6px; border-bottom:1px solid var(--d-border); margin-bottom:28px;}
.cast-hero h1{font-size:30px; font-weight:900; letter-spacing:-0.7px; line-height:1.12; color:var(--d-text);}
@media(min-width:768px){.cast-hero h1{font-size:38px;}}
.cast-hero .cast-sub{font-size:16.5px; color:var(--d-text-2); line-height:1.55; margin-top:10px; max-width:680px; font-weight:500;}
.cast-hero .cast-meta{display:flex; flex-wrap:wrap; gap:8px 10px; margin-top:18px; padding-bottom:20px;}

/* Main cast — actor cards (2:3 portrait，与 .cast-card 统一头像比例，避免 2:3 原图被 3:4 容器裁切放大) */
.actor-grid{display:grid; grid-template-columns:1fr; gap:14px;}
@media(min-width:600px){.actor-grid{grid-template-columns:repeat(2,1fr);}}
@media(min-width:1024px){.actor-grid{grid-template-columns:repeat(3,1fr);}}
.actor-card{
  background:var(--surface); border:1px solid var(--border); border-radius:14px; overflow:hidden;
  display:block; transition:border-color .15s ease, box-shadow .15s ease;
}
a.actor-card:hover{border-color:#C9C9C9; box-shadow:0 6px 20px rgba(0,0,0,0.5);}
.actor-card .avatar{width:100%; aspect-ratio:2/3; border-radius:10px; overflow:hidden; display:flex; align-items:center; justify-content:center;}
.actor-card .avatar .art-mark{font-size:44px;}
.actor-meta{padding:14px 16px 16px;}
.ac-name{font-size:16px; font-weight:800; color:var(--ink); line-height:1.3;}
a.actor-card:hover .ac-name{color:var(--link);}
.ac-char{font-size:13px; font-weight:700; color:#8a6d00; margin-top:3px;}
.ac-role{font-size:13.5px; color:var(--ink-2); line-height:1.55; margin-top:8px;}

/* Returning cast — compact rows (.impact-row: alias for Character Impact rows) */
.return-grid{display:grid; grid-template-columns:1fr; gap:12px;}
@media(min-width:768px){.return-grid{grid-template-columns:repeat(2,1fr);}}
.impact-list{display:flex; flex-direction:column; gap:12px;}
.return-row,.impact-row{
  display:flex; gap:14px; align-items:flex-start;
  background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:14px 16px;
}
.return-row .avatar,.impact-row .avatar{flex:0 0 auto; width:56px; aspect-ratio:1/1; border-radius:10px; display:flex; align-items:center; justify-content:center; overflow:hidden;}
.return-row .avatar .art-mark,.impact-row .avatar .art-mark{font-size:20px;}
.rt-body{min-width:0; flex:1;}
.rt-name{font-size:15px; font-weight:700; color:var(--ink);}
.rt-actor{font-size:13px; color:var(--ink-2); margin-top:1px;}
.rt-role{font-size:13px; color:var(--muted); line-height:1.5; margin-top:5px;}

/* Guest stars — cards with episode pill */
.guest-grid{display:grid; grid-template-columns:1fr; gap:12px;}
@media(min-width:768px){.guest-grid{grid-template-columns:repeat(2,1fr);}}
.guest-card{background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:16px 18px;}
.guest-head{display:flex; gap:12px; align-items:center; margin-bottom:10px;}
.guest-head .avatar{flex:0 0 auto; width:48px; aspect-ratio:1/1; border-radius:50%; display:flex; align-items:center; justify-content:center; overflow:hidden;}
.guest-head .avatar .art-mark{font-size:17px;}
.gu-name{font-size:15px; font-weight:800; color:var(--ink); line-height:1.3;}
.gu-char{font-size:12.5px; font-weight:600; color:#8a6d00; margin-top:2px;}
.gu-eps{
  display:inline-block; font-size:11.5px; font-weight:700; letter-spacing:0.4px; text-transform:uppercase;
  background:rgba(245,197,24,0.16); color:#8a6d00; border-radius:999px; padding:4px 11px; margin-bottom:8px;
}
.gu-role{font-size:13.5px; color:var(--ink-2); line-height:1.6;}

/* Related guide cards (2-col grid of article-row) */
.guide-grid{display:grid; grid-template-columns:1fr; gap:12px;}
@media(min-width:600px){.guide-grid{grid-template-columns:repeat(2,1fr);}}

/* ============================================================
   EPISODE GUIDE PAGE (/shows/<show>/season-N/episodes/)
   Light database variant — inherits the episode-card language:
   white cards, thin borders, subtle hover lift. No gradient
   chrome, no glass, no fancy motion.
   ============================================================ */

/* Hero (flat light) */
.eg-hero{padding:26px 0 22px; border-bottom:1px solid var(--border); margin-bottom:26px;}
.eg-hero h1{font-size:30px; font-weight:900; letter-spacing:-0.7px; line-height:1.12; color:var(--ink);}
@media(min-width:768px){.eg-hero h1{font-size:38px;}}
.eg-hero .eg-sub{font-size:16.5px; color:var(--ink-2); line-height:1.55; margin-top:10px; max-width:680px; font-weight:500;}
.eg-chips{display:flex; flex-wrap:wrap; gap:8px 10px; margin-top:16px;}
.eg-actions{display:flex; flex-wrap:wrap; gap:10px; margin-top:18px;}
.btn-ghost-l{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  background:var(--surface); color:var(--ink); font-weight:700; font-size:14.5px;
  padding:12px 20px; min-height:46px; border-radius:999px; border:1px solid var(--border); cursor:pointer;
}
.btn-ghost-l:hover{border-color:#C9C9C9; color:var(--link);}

/* Episode cards — horizontal database rows */
.eg-list{display:flex; flex-direction:column; gap:12px;}
.eg-card{
  display:flex; gap:18px; align-items:flex-start;
  background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:16px 18px;
  transition:border-color .15s ease, box-shadow .15s ease;
}
a.eg-card:hover{border-color:#C9C9C9; box-shadow:0 4px 14px rgba(20,20,20,0.08);}
.eg-num{
  flex:0 0 auto; width:78px; border-radius:10px;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  background:var(--page); border:1px solid var(--border); padding:10px 6px;
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-weight:700; line-height:1.3;
}
.eg-num .eg-s{font-size:12px; color:var(--muted); letter-spacing:1px;}
.eg-num .eg-e{font-size:20px; color:var(--ink);}
.eg-body{min-width:0; flex:1;}
.eg-title{font-size:16.5px; font-weight:800; color:var(--ink); line-height:1.35;}
a.eg-card:hover .eg-title{color:var(--link);}
.eg-meta{display:flex; flex-wrap:wrap; gap:4px 14px; font-size:12.5px; color:var(--muted); font-weight:500; margin-top:5px;}
.eg-meta .eg-rate{color:#8a6d00; font-weight:700;}
.eg-syn{font-size:13.5px; color:var(--ink-2); line-height:1.6; margin-top:8px;}
.eg-readmore{display:inline-block; font-size:13px; font-weight:700; color:var(--link); margin-top:8px;}
a.eg-card:hover .eg-readmore{text-decoration:underline;}
.eg-soon{display:inline-block; font-size:12.5px; color:var(--muted); margin-top:8px; font-weight:500;}

/* Mobile: stack — number becomes a compact top row */
@media(max-width:640px){
  .eg-card{flex-direction:column; gap:12px; padding:14px;}
  .eg-num{flex-direction:row; gap:8px; width:100%; padding:7px 12px; justify-content:flex-start;}
  .eg-num .eg-e{font-size:15px;}
}

/* Episode still thumbnail on eg-card (data.js ep.still) */
.eg-thumb{
  flex:0 0 150px; aspect-ratio:16/9; border-radius:10px; overflow:hidden;
  border:1px solid var(--border); align-self:center;
}
.eg-thumb img{display:block; width:100%; height:100%; object-fit:cover;}
@media(max-width:640px){
  .eg-thumb{width:100%; flex:none; order:-1;}
}

/* Sidebar poster */
.eg-poster{
  width:96px; aspect-ratio:2/3; border-radius:10px; margin:2px auto 14px;
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.eg-poster .art-mark{font-size:36px; font-weight:900;}

/* ============================================================
   ENDING EXPLAINED PAGE (/shows/<show>/season-N/ending-explained/)
   Inherits recap article template; adds a flat numbered
   breakdown timeline. No animations, no gradients.
   ============================================================ */

/* Ending Breakdown — vertical numbered steps with connector line */
.bd-steps{display:flex; flex-direction:column;}
.bd-step{display:flex; gap:16px; position:relative; padding-bottom:24px;}
.bd-step:last-child{padding-bottom:0;}
.bd-step::before{
  content:""; position:absolute; left:27px; top:58px; bottom:2px; width:2px;
  background:var(--border); border-radius:2px;
}
.bd-step:last-child::before{display:none;}
.bd-num{
  flex:0 0 auto; width:56px; height:56px; border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(245,197,24,0.14); border:1px solid rgba(245,197,24,0.45);
  color:#8a6d00; font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-weight:700; font-size:17px;
}
.bd-body{min-width:0; padding-top:4px;}
.bd-body h3{font-size:16px; font-weight:800; color:var(--ink); line-height:1.35;}
.bd-body p{font-size:14.5px; color:var(--ink-2); line-height:1.65; margin-top:6px;}
@media(max-width:480px){
  .bd-step{gap:12px; padding-bottom:18px;}
  .bd-num{width:44px; height:44px; font-size:14px; border-radius:10px;}
  .bd-step::before{left:21px; top:48px;}
}

/* Speculation tag (unconfirmed forward-looking content) */
.spec-tag{
  display:inline-block; font-size:11px; font-weight:700; letter-spacing:0.6px; text-transform:uppercase;
  color:#8a6d00; background:rgba(245,197,24,0.16); border:1px solid rgba(245,197,24,0.4);
  padding:3px 10px; border-radius:999px; margin-bottom:10px;
}

/* ============================================================
   CHARACTER PROFILE PAGE (/characters/<slug>/)
   Extends the existing char-hero card with database-row
   components; reuses bd-steps / impact-row / article-row /
   faq-list / side-card across the page.
   ============================================================ */

/* Hero info row: Played by · Character type · Rating */
.char-facts-row{display:flex; flex-wrap:wrap; gap:4px 16px; font-size:13.5px; color:var(--ink-2); margin-top:10px; font-weight:500;}
.char-facts-row .cf-item strong{color:var(--ink); font-weight:700;}
.char-facts-row .cf-rate{color:#8a6d00; font-weight:700;}

/* Relationship type pill (row label) */
.rel-tag{
  display:inline-block; font-size:11px; font-weight:700; letter-spacing:0.5px; text-transform:uppercase;
  color:var(--muted); background:var(--page); border:1px solid var(--border);
  padding:2px 9px; border-radius:999px; margin-left:8px; vertical-align:2px;
}

/* Season rows — compact database cards */
.season-list{display:flex; flex-direction:column; gap:12px;}
.season-row{
  display:flex; gap:16px; align-items:flex-start;
  background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:14px 16px;
  transition:border-color .15s ease, box-shadow .15s ease;
}
a.season-row:hover{border-color:#C9C9C9; box-shadow:0 4px 14px rgba(20,20,20,0.08);}
.season-row .se-art{
  flex:0 0 auto; width:64px; aspect-ratio:3/4; border-radius:8px;
  display:flex; align-items:center; justify-content:center; overflow:hidden;
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-weight:700; font-size:17px; color:#fff;
}
.season-row .se-body{min-width:0; flex:1;}
.season-row .se-title{font-size:15.5px; font-weight:800; color:var(--ink);}
a.season-row:hover .se-title{color:var(--link);}
.season-row .se-meta{font-size:12.5px; color:var(--muted); font-weight:500; margin-top:3px;}
.season-row .se-desc{font-size:13.5px; color:var(--ink-2); line-height:1.6; margin-top:6px;}
.season-row .se-link{display:inline-block; font-size:13px; font-weight:700; color:var(--link); margin-top:6px;}
a.season-row:hover .se-link{text-decoration:underline;}
@media(max-width:480px){
  .season-row{flex-direction:column; gap:10px; padding:13px;}
  .season-row .se-art{width:56px; font-size:15px;}
}

/* Actor connection card (hero-style mini card + button) */
.actor-conn{
  display:flex; gap:18px; align-items:center; flex-wrap:wrap;
  background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:18px 20px;
}
.actor-conn .avatar{flex:0 0 auto; width:84px; aspect-ratio:1/1; border-radius:12px; display:flex; align-items:center; justify-content:center; overflow:hidden;}
.actor-conn .avatar .art-mark{font-size:26px;}
.actor-conn .ac-body{flex:1; min-width:200px;}
.actor-conn .ac-name{font-size:18px; font-weight:800; color:var(--ink);}
.actor-conn .ac-role{font-size:13.5px; color:var(--ink-2); margin-top:2px; font-weight:500;}

/* ============================================================
   SHOW HUB — Tracker 试点（Phase 1）
   全新组件类。不触碰 .hero-band / .info-banner / .episode-row /
   .card / .nav，也不复用既有 .season-row（角色页专用），
   改用 .sh-season-row 避免命名冲突（§20.15）。
   ============================================================ */

/* Season List — 季卡片行（左 Badge / 中 标题 / 右 meta，flex+gap） */
.sh-season-row{
  display:flex; gap:16px; align-items:center; flex-wrap:wrap;
  background:var(--surface); border:1px solid var(--border); border-radius:12px;
  padding:14px 16px; text-decoration:none;
  transition:border-color .15s ease, box-shadow .15s ease;
}
a.sh-season-row:hover{border-color:#C9C9C9; box-shadow:0 4px 14px rgba(20,20,20,0.08);}
.sh-season-row .sr-badge{
  flex:0 0 auto; width:44px; height:44px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-weight:800; font-size:15px;
  background:var(--accent); color:#111; letter-spacing:0.3px;
}
.sh-season-row .sr-title{
  flex:1 1 auto; min-width:120px; font-size:16px; font-weight:800; color:var(--ink);
}
a.sh-season-row:hover .sr-title{color:var(--link);}
.sh-season-row .sr-meta{
  flex:0 0 auto; display:flex; flex-direction:column; gap:2px; text-align:right;
  font-size:13px; color:var(--muted); font-weight:500;
}
.sh-season-row .sr-meta-line{line-height:1.5;}
.sh-season-row .sr-meta-line.sr-cs{color:#8a6d00; font-weight:700;}
.sh-season-row.is-upcoming{border-left:4px solid var(--accent);}
.sh-season-row.is-upcoming .sr-badge{background:rgba(245,197,24,0.22); color:#8a6d00;}
@media(max-width:480px){
  .sh-season-row{padding:13px; gap:10px 12px;}
  .sh-season-row .sr-badge{width:40px; height:40px; font-size:14px;}
  .sh-season-row .sr-title{font-size:15px;}
  .sh-season-row .sr-meta{flex:1 1 100%; text-align:left; flex-direction:row; gap:10px; flex-wrap:wrap;}
}

/* Latest Season Banner — Coming Soon / Released 横幅（独立 .ls-banner*） */
.ls-banner{
  display:flex; gap:18px; align-items:center; flex-wrap:wrap;
  background:var(--surface); border:1px solid var(--border); border-left:4px solid var(--accent);
  border-radius:14px; padding:18px 20px;
}
.ls-banner .ls-poster{
  flex:0 0 auto; width:72px; aspect-ratio:3/4; border-radius:10px;
  display:flex; align-items:center; justify-content:center; overflow:hidden;
  background:
    linear-gradient(135deg, rgba(124,58,237,0.10), rgba(245,197,24,0.10)),
    repeating-linear-gradient(45deg, var(--page) 0 8px, var(--surface) 8px 16px);
  border:1px solid var(--border); filter:blur(0.4px);
}
.ls-banner .ls-cs{
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-weight:800; font-size:11px; letter-spacing:0.5px;
  text-transform:uppercase; color:#8a6d00; background:rgba(245,197,24,0.18);
  padding:4px 8px; border-radius:6px; text-align:center;
}
.ls-banner .ls-body{flex:1 1 200px; min-width:0;}
.ls-banner .ls-status{font-size:13px; color:var(--muted); font-weight:600; margin:0 0 6px;}
.ls-banner .ls-tag{
  display:inline-block; font-size:11px; font-weight:800; letter-spacing:0.5px; text-transform:uppercase;
  color:#8a6d00; background:rgba(245,197,24,0.16); padding:2px 8px; border-radius:999px;
}
.ls-banner .ls-note{font-size:15px; color:var(--ink-2); line-height:1.6; margin:0 0 10px;}
.ls-banner .ls-note strong{color:var(--ink);}
.ls-banner .ls-cta{display:inline-block; font-size:14px; font-weight:700; color:var(--link);}
.ls-banner .ls-cta:hover{text-decoration:underline;}
.ls-banner.is-released{border-left-color:#3b9b50;}
.ls-banner.is-released .ls-tag{color:#2f7a3f; background:rgba(59,155,80,0.16);}
.ls-banner.is-released .ls-cs{color:#2f7a3f; background:rgba(59,155,80,0.18);}
@media(max-width:480px){
  .ls-banner{padding:16px; gap:14px;}
  .ls-banner .ls-poster{width:60px;}
}

/* ============================================================
   SHOW HUB — Cast grid 试点（Phase 3）
   独立 .sh-cast-card 类，不复用 .cast-card / .guest-card，
   避免与角色页/演员页共享样式冲突（§20.15）。容器仍用既有
   .cast-grid（仅作 grid 布局，未修改其规则）。
   ============================================================ */
.sh-cast-card{
  display:flex; flex-direction:column;
  background:var(--surface); border:1px solid var(--border); border-radius:12px;
  padding:10px; text-align:center; text-decoration:none;
  transition:border-color .15s ease, box-shadow .15s ease;
}
a.sh-cast-card:hover{border-color:#C9C9C9; box-shadow:0 4px 16px rgba(17,17,17,0.06);}
.sh-cast-card .avatar{
  width:100%; aspect-ratio:2/3; border-radius:10px; overflow:hidden;
  display:flex; align-items:center; justify-content:center; margin-bottom:10px;
}
.sh-cast-card .avatar .art-mark{font-size:26px;}
.sh-cast-card .sh-cast-meta{display:flex; flex-direction:column; gap:2px;}
.sh-cast-card .sh-cast-name{font-size:14px; font-weight:700; color:var(--ink); line-height:1.3;}
a.sh-cast-card:hover .sh-cast-name{color:var(--link);}
.sh-cast-card .sh-cast-actor{font-size:12.5px; color:var(--ink-2); line-height:1.35;}
.sh-cast-card .sh-cast-role{font-size:11.5px; color:var(--muted); margin-top:3px;}
.sh-cast-card.is-missing{opacity:0.7;}
.sh-cast-card.is-missing .sh-cast-name{color:var(--muted);}
@media(max-width:480px){
  .sh-cast-card{padding:8px;}
  .sh-cast-card .sh-cast-name{font-size:13px;}
  .sh-cast-card .sh-cast-actor{font-size:12px;}
}

/* ============================================================
   GENRE GRID (Category Aggregation V1 — /genres/)
   Genre Index 卡片；Genre Detail 复用 .show-grid / .show-card。
   ============================================================ */
.genre-grid{display:grid; grid-template-columns:1fr; gap:16px;}
@media(min-width:600px){.genre-grid{grid-template-columns:repeat(2,1fr);}}
@media(min-width:1024px){.genre-grid{grid-template-columns:repeat(3,1fr);}}
.genre-card{
  background:var(--surface); border:1px solid var(--border); border-radius:12px;
  padding:18px 16px 16px; display:flex; flex-direction:column; gap:6px;
  transition:border-color .15s ease, box-shadow .15s ease;
}
a.genre-card:hover{border-color:#C9C9C9; box-shadow:0 4px 16px rgba(17,17,17,0.06);}
.genre-card .gc-name{font-size:16px; font-weight:700; color:var(--ink);}
a.genre-card:hover .gc-name{color:var(--link);}
.genre-card .gc-meta{font-size:12.5px; color:var(--ink-2);}
.genre-card .gc-desc{font-size:12.5px; color:var(--ink-2); line-height:1.55;}
.genre-card .gc-shows{font-size:12px; color:var(--muted); line-height:1.5;}

/* ============================================================
   GENRE DETAIL — Phase Genre Detail SEO Upgrade Phase 1
   ------------------------------------------------------------
   仅 /genres/{genre}/ 使用。全部为**新增独立 class**，不改任何既有规则；
   .hub-head / .hub-sub / .section-head / .kicker / .faq-* / .show-card
   都是公共 class，此处只作为作用域使用，不覆盖其属性。
   .genre-intro / .genre-stats / .gs-* / .genre-related / .gr-link
   / .sc-desc 在改动前全站出现 0 次。
   ------------------------------------------------------------
   例外（Phase 4-2）：.genre-related / .gr-link 自 4-2 起**第二个消费者**是
   Show Hub 的 Genres 模块（/shows/{slug}/，由 _show_genre_links_html() 生成）。
   它们是通用的「一组 genre pill 链接」容器，两处语义相同（genre 集合），
   故直接复用、不复制第二套 CSS。**改这两个 class 前必须同时回归
   /genres/{genre}/ 与 /shows/{slug}/ 两个页面族。**
   ============================================================ */
.genre-intro{
  font-size:15.5px; color:var(--ink-2); line-height:1.65;
  margin-top:10px; max-width:720px;
}
.genre-stats{
  display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:12px;
}
.gs-item{
  background:var(--surface); border:1px solid var(--border); border-radius:12px;
  padding:16px 10px; display:flex; flex-direction:column; gap:4px;
  text-align:center; min-width:0;
}
.gs-num{
  font-size:26px; font-weight:800; letter-spacing:-0.6px;
  color:var(--ink); line-height:1.1;
}
.gs-label{
  font-size:11.5px; font-weight:600; letter-spacing:0.4px;
  text-transform:uppercase; color:var(--muted);
}
.genre-stats-note{
  font-size:12px; color:var(--muted); line-height:1.55; margin-top:10px;
}
.genre-related{display:flex; flex-wrap:wrap; gap:10px;}
.gr-link{
  display:inline-flex; align-items:center;
  background:var(--surface); border:1px solid var(--border); border-radius:999px;
  padding:8px 16px; font-size:13.5px; font-weight:600; color:var(--ink);
  transition:border-color .15s ease, color .15s ease;
}
.gr-link:hover{border-color:#C9C9C9; color:var(--link);}
.related-shows-note{
  font-size:13px; color:var(--muted); line-height:1.55; margin:0 0 12px;
}
.related-show-links{display:flex; flex-wrap:wrap; gap:10px;}
.related-show-link{
  display:inline-flex; align-items:center;
  background:var(--surface); border:1px solid var(--border); border-radius:10px;
  padding:9px 14px; font-size:13.5px; font-weight:600; color:var(--ink);
  transition:border-color .15s ease, color .15s ease;
}
.related-show-link:hover{border-color:#C9C9C9; color:var(--link);}
.show-card .sc-desc{font-size:12.5px; color:var(--ink-2); line-height:1.5;}

/* ============================================================
   GENRE DETAIL — Phase Genre Detail SEO Upgrade Phase 2B
   ------------------------------------------------------------
   仅 /genres/{genre}/ 使用（Genre Overview + Available Seasons 两个新模块）。
   全部为**新增独立 class**，不改任何既有规则、不覆盖公共 class。
   .section / .section-head / .kicker 是公共 class，此处只作为作用域，
   不给它们新增或覆盖任何属性。
   .genre-overview / .genre-seasons / .genre-season-* 在改动前全站出现 0 次。
   ============================================================ */
/* ---- Genre Overview（150-250 words 的编辑段落）----
   刻意不复用 .genre-intro：后者是按 80-150 字符的单句调的（line-height:1.65、
   margin-top:10px），直接套长段落会挤成一团；改 .genre-intro 又属于
   「修改公共 class」，违反 Phase 1 立的规则。故新增独立 class。 */
.genre-overview{
  font-size:15.5px; color:var(--ink-2); line-height:1.75;
  max-width:760px;
}
.genre-overview p{margin:0 0 14px;}
.genre-overview p:last-child{margin-bottom:0;}

/* ---- Available Seasons ----
   grid + auto-fill：360px 视口自动退化为单列，不产生横向溢出。
   minmax(240px, 1fr) 的 240px 下界小于 360-2×容器padding，安全。 */
.genre-seasons{
  display:grid; grid-template-columns:repeat(auto-fill, minmax(240px, 1fr));
  gap:14px;
}
.genre-season-group{
  background:var(--surface); border:1px solid var(--border); border-radius:12px;
  padding:14px 16px; display:flex; flex-direction:column; gap:8px;
  min-width:0;
}
.genre-season-show{
  font-size:14px; font-weight:700; color:var(--ink); margin:0;
  letter-spacing:-0.2px;
}
.genre-season-links{display:flex; flex-wrap:wrap; gap:8px;}
.genre-season-item{
  display:inline-flex; align-items:baseline; gap:7px;
  background:var(--page); border:1px solid var(--border); border-radius:999px;
  padding:5px 12px; text-decoration:none;
  transition:border-color .15s ease;
}
.genre-season-item:hover{border-color:#C9C9C9;}
.genre-season-num{font-size:12.5px; font-weight:600; color:var(--ink);}
.genre-season-status{
  font-size:11px; font-weight:600; letter-spacing:0.2px; color:var(--muted);
}

/* ---- What Makes This Genre Different（Phase 3C，形态 B 数据面板）----
   新增 class 全部 scoped：.genre-diff-lead / .genre-overlap / .genre-overlap-row /
   .genre-overlap-title / .genre-overlap-count / .genre-overlap-list。
   改动前这 6 个 class 在全站出现 0 次；既有 class 一个属性都没改。
   grid 用 auto-fill + minmax(240px,1fr)，与 .genre-seasons 同参数：
   360px 视口自动退化为单列，不产生横向溢出。
   列表刻意 reset list-style / padding —— 站点没有全局裸 ul 规则，
   但浏览器默认给 ul 40px 左内边距 + disc 标记，会破坏卡片内对齐。 */
.genre-diff-lead{
  font-size:15.5px; color:var(--ink-2); line-height:1.75;
  max-width:760px; margin:0 0 18px;
}
.genre-overlap{
  display:grid; grid-template-columns:repeat(auto-fill, minmax(240px, 1fr));
  gap:14px;
}
.genre-overlap-row{
  background:var(--surface); border:1px solid var(--border); border-radius:12px;
  padding:14px 16px; display:flex; flex-direction:column; gap:6px;
  min-width:0;
}
.genre-overlap-title{
  font-size:14px; font-weight:700; color:var(--ink); margin:0;
  letter-spacing:-0.2px;
}
.genre-overlap-count{
  font-size:11px; font-weight:600; letter-spacing:0.2px; color:var(--muted);
  margin:0;
}
.genre-overlap-list{
  list-style:none; margin:0; padding:0;
  display:flex; flex-direction:column; gap:4px;
  font-size:13.5px; color:var(--ink-2); line-height:1.5;
}
.genre-overlap-list li{padding-left:14px; position:relative; min-width:0;}
.genre-overlap-list li::before{
  content:"·"; position:absolute; left:3px; color:var(--muted);
}

/* ============================================================
   EPISODE PAGE — 阅读体验（长文可读性）
   ------------------------------------------------------------
   全部规则以 body.episode-page 限定作用域。
   原因：.hero-title / .hero-poster / .hero-desc / .hero-band /
   .prose 与 show-hub.html、recap.html 共用（.synopsis-card 仅
   Episode 页使用）。不加作用域会回归 Show Hub / Recap 页面。
   作用域钩子由 templates/episode.html 的 <body class="episode-page">
   提供，与既有 body.cast-page / body.character-page 约定一致。
   仅调整展示（字号 / 间距 / 分隔线 / 强调色），不隐藏内容、
   不折叠正文、不改页面结构。
   ============================================================ */

/* --- 1. H1：营销级 Hero 尺寸 → 数据库级标题（Desktop 42-48 / Mobile 30-34） --- */
body.episode-page .hero-title{
  font-size:31px; font-weight:800; line-height:1.18;
  letter-spacing:-0.3px; margin-bottom:10px; text-wrap:balance;
}
@media(min-width:768px){
  body.episode-page .hero-title{font-size:42px; line-height:1.15; letter-spacing:-0.5px;}
}

/* --- 5. Hero v2：影视详情页层级，不再是文章摘要卡片 ---
   背景图承担氛围，左侧只放 Episode 信息；正文不进入 Hero。
   布局使用 grid/flex 正常流，不用 absolute 图片、负 margin 或占位 padding。 */
body.episode-page .episode-hero-band{
  min-height:560px;
  margin-top:14px;
  background:
    linear-gradient(90deg, rgba(8,8,12,.96) 0%, rgba(12,10,18,.90) 42%, rgba(12,10,18,.55) 70%, rgba(8,8,12,.28) 100%),
    linear-gradient(180deg, rgba(8,8,12,.18) 0%, rgba(8,8,12,.72) 100%),
    var(--episode-hero-image, linear-gradient(120deg,#1b1030,#401c2a));
  background-size:cover;
  background-position:center;
  color:var(--d-text);
}
body.episode-page .episode-hero-band:not(.has-backdrop){
  background:
    linear-gradient(120deg,#1b1030 0%,#2b1330 45%,#1c1108 100%);
}
body.episode-page .episode-hero-band .hero-inner{
  min-height:560px;
  display:grid;
  grid-template-columns:minmax(0, 1.2fr) minmax(220px, .8fr);
  align-items:center;
  gap:48px;
  padding:56px 52px 60px;
}
body.episode-page .episode-hero-band .hero-body{
  grid-column:1;
  max-width:720px;
  min-width:0;
  padding:0;
}
body.episode-page .episode-hero-band .hero-kicker{
  margin-bottom:14px;
  color:#f5c518;
}
body.episode-page .episode-hero-band .hero-title{
  max-width:720px;
  margin-bottom:18px;
  font-size:48px;
  line-height:1.08;
  letter-spacing:-.8px;
}
body.episode-page .episode-hero-band .hero-meta{margin-bottom:22px;}
body.episode-page .episode-hero-band .hero-desc{
  max-width:620px;
  margin-bottom:28px;
  overflow:hidden;
}
body.episode-page .hero-desc-desktop{display:inline;}
body.episode-page .hero-desc-mobile{display:none;}

/* Hero 下方独立 Recap Preview；完整内容仍位于 #recap。 */
body.episode-page .episode-recap-preview{margin-top:0;}
body.episode-page .episode-recap-preview-body{
  max-width:760px;
  padding:20px 24px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:12px;
}
body.episode-page .episode-recap-preview-body p{
  font-size:17px;
  line-height:1.85;
  color:#374151;
}
@media(max-width:767px){
  body.episode-page .episode-hero-band,
  body.episode-page .episode-hero-band .hero-inner{
    min-height:auto;
  }
  body.episode-page .episode-hero-band .hero-inner{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:22px;
    padding:36px 24px 40px;
  }
  body.episode-page .episode-hero-band .hero-body{
    grid-column:auto;
    max-width:none;
  }
  body.episode-page .episode-hero-band .hero-title{
    font-size:32px;
    line-height:1.14;
    letter-spacing:-.3px;
  }
  body.episode-page .hero-desc-desktop{display:none;}
  body.episode-page .hero-desc-mobile{display:inline;}
  body.episode-page .episode-recap-preview-body{padding:16px 18px;}
}

/* --- 2/3/4. Episode Summary：分段 + 分隔线 + 角色名强调 --- */
body.episode-page .synopsis-card{
  padding:2px 24px 20px; font-size:17px; line-height:1.85; color:#374151;
}
body.episode-page .synopsis-card > p{
  margin:0; padding:16px 0; border-bottom:1px solid rgba(0,0,0,0.08);
}
body.episode-page .synopsis-card > p:first-child{padding-top:18px;}
/* 末段不画分隔线：正文收尾处留一条横线不构成层级信息，反而像未闭合的卡片 */
body.episode-page .synopsis-card > p:last-child{border-bottom:none; padding-bottom:6px;}

/* --- 6. Hero Description：容器改为 <div>，内部按自然段 / 句级分段 ---
   只作用 Episode 页：.hero-desc 与 show-hub.html 共用（show hub 仍是单个 <p>）。 */
body.episode-page .hero-desc p{margin-bottom:14px;}
body.episode-page .hero-desc p:last-child{margin-bottom:0;}

/* --- 3. 颜色层级：角色名强调（浅色主题等价配色） ---
   #d1d5db 正文 / #c084fc 角色名 / rgba(255,255,255,.08) 分隔线 是深色主题取值；
   本页是浅色 editorial 主题，按等价对比度映射为
   #374151 正文 / #6D5DFB 角色名 / rgba(0,0,0,.08) 分隔线。
   只强调角色名，不做全文高亮。
   2026-09-16：角色名色 #7c3aed -> #6D5DFB。
   实测对比：#7c3aed 亮度 57.8% / 对白底 5.70:1；#6D5DFB 亮度 67.5% / 对白底 4.56:1。
   新色更浅、对白底对比更低，所以观感更收敛（饱和度其实更高，83%->95%）。
   仍高于 WCAG AA 正文 4.5:1。
   font-weight 保持 600，不用 800 —— 角色名是辅助阅读，不是 SEO 高亮。 */
body.episode-page .ep-char{color:#6D5DFB; font-weight:600;}

/* --- 2/3/4. Recap / Character Development / Ending：长文段落与小标题 --- */
body.episode-page .prose p{font-size:17px; line-height:1.85; color:#374151;}
body.episode-page .prose h2{
  font-size:22px; font-weight:600; line-height:1.35; margin:32px 0 12px;
}
body.episode-page .prose h3{
  font-size:20px; font-weight:600; line-height:1.4; color:var(--ink);
  margin:32px 0 12px; padding-bottom:9px; border-bottom:1px solid rgba(0,0,0,0.08);
}
body.episode-page .prose h2:first-child,
body.episode-page .prose h3:first-child{margin-top:6px;}
body.episode-page .prose ul,
body.episode-page .prose ol{color:#374151;}
body.episode-page .prose li{line-height:1.8; margin-bottom:8px;}

/* --- 7. Recap 段落节奏 ---
   只作用 Episode 页的 Recap 区块（<section id="recap">，全站唯一）。
   基础样式 .prose p 的 margin-bottom 是 16px（内页共用），长 Recap 段间
   过密；这里在 24-32px 区间取 28px，给长文阅读留呼吸。
   line-height 由 1.85 提到 1.9：Recap 是整页最长的连续正文，需要更松的行距。
   Recap 的字号/字色沿用 §2/§3/§4 的 17px / #374151。
   Recap 正文宽度：基础样式 .prose{max-width:760px} 已经生效（无更具体的覆盖），
   故本块不重复声明宽度。
   不新增颜色、不折叠、不隐藏：内容全部可见。 */
body.episode-page #recap .prose p{margin-bottom:28px; line-height:1.9;}
/* 末段不留多余下边距：区块自身的 padding 已经收尾 */
body.episode-page #recap .prose p:last-child{margin-bottom:0;}

/* --- 8. Key Moments：列表卡片 -> 阅读层级（仅数据自带标题时） ---
   背景：moments_html 实测两种形态，且没有任何一集混合 —— 132 集每条都有
   <strong> 标题，105 集每条都没有（含 WCTH S13 全 12 集）。
   有标题的集由 build.py 输出 div.key-moments-sections + h3(标题) + p(描述)；
   无标题的集保持原 ol/li 卡片不动。故本块全部以 .key-moments-sections 限定，
   对无标题的 105 集与空占位的 127 集零影响。

   小标题直接复用 Episode 页已有的 h3 体系（见上文 .prose h3）：
   20px / 600 / line-height 1.4 / var(--ink) / margin 32px 0 12px /
   padding-bottom 9px / border-bottom 1px rgba(0,0,0,0.08)
   —— 即 owner 要求的「20px + 600 + 分隔线 + 段落间距」。
   不新增颜色：标题 var(--ink)，描述 #374151，与 Recap 正文一致。
   描述段 17px / 1.85 / margin-bottom 24px，比 Recap 的 28px 略紧：
   每条描述只有 1-3 行，28px 会把 5-7 条拉得过散。

   基础样式 .key-moments{display:flex; flex-direction:column; gap:12px} 会在
   h3 与它自己的 p 之间塞进 12px，故这里把 gap 归零，间距全部交给 margin。
   编号圆点来自 .key-moments li::before，本块不含 li，天然不出现。 */
body.episode-page .key-moments-sections{gap:0;}
body.episode-page .key-moments-sections h3{
  font-size:20px; font-weight:600; line-height:1.4; color:var(--ink);
  margin:32px 0 12px; padding-bottom:9px; border-bottom:1px solid rgba(0,0,0,0.08);
}
/* 首个小标题贴近区块标题，不留 32px 空档 */
body.episode-page .key-moments-sections h3:first-child{margin-top:6px;}
body.episode-page .key-moments-sections p{
  font-size:17px; line-height:1.85; color:#374151; margin:0 0 24px;
}
body.episode-page .key-moments-sections p:last-child{margin-bottom:0;}

/* ============================================================
   CHARACTER PAGE — UI POLISH (C-6D)
   ------------------------------------------------------------
   全部规则以 body.character-page 限定作用域。
   原因：.container / .section / .section-head / .kicker / .meta-list /
   .side-card / .recap-layout / .card 与 show-hub / recap / cast /
   episode 等页面共用，不加作用域会回归其他页面。
   作用域钩子由 templates/character.html 的 <body class="character-page">
   提供（与既有 body.episode-page / body.cast-page 约定一致）。

   仅调整视觉层级与信息布局：
   版心宽度 / 正文阅读宽度 / 行距 / 段距 / 三级间距 /
   Quick Facts 纵向 block / Explore 三链接块 /
   Family・Affiliations 分区 / Traits 标签 / Timeline 季节分组。
   不改数据、不改 URL / canonical / sitemap / JSON-LD、不改字体族。
   ============================================================ */

/* --- 1. 版心：主内容最大宽度 1120 -> 1160（正文另设阅读宽度） --- */
body.character-page .container{max-width:1160px;}

/* --- 2. Hero：头像+标题一行 → 描述独立整行，让 Hero 正文也拿到 65-75 字符行宽 ---
   原结构 .char-hero 在 >=768px 是 row，描述被挤在头像右侧仅约 470px（54 字符/行）。
   现把头像/标题/事实行收进 .char-hero-top，描述作为 .char-hero 的整行子项。 */
body.character-page .char-hero{flex-direction:column; gap:18px;}
body.character-page .char-hero-top{display:flex; flex-direction:column; gap:20px;}
body.character-page .char-hero-id{min-width:0;}
@media(min-width:768px){
  body.character-page .char-hero{flex-direction:column; gap:22px; padding:28px;}
  body.character-page .char-hero-top{flex-direction:row; gap:28px; align-items:flex-start;}
  body.character-page .char-hero-id{flex:1 1 auto; min-width:0;}
}

/* --- 3. 正文阅读体验：65-75 characters per line / line-height 1.7 / 段距 1em ---
   Inter 16px 实测平均字母宽 ≈8.9px → 660px ≈ 74 字符/行；Hero 描述 15.5px ≈8.6px
   → 630px ≈ 73 字符/行。不新增字号体系、不换字体族。 */
body.character-page .char-overview{
  font-size:16px; line-height:1.7; color:#374151; max-width:660px; margin:0 0 1em;
}
body.character-page .char-overview:last-child{margin-bottom:0;}
body.character-page .char-desc{
  font-size:15.5px; line-height:1.68; color:var(--ink-2);
  max-width:630px; margin-top:0;
}

/* --- 4. 三级间距：label→heading 10px / heading→content 18px / section→section 56px ---
   章节之间加一条极细分隔线，让 Overview / Story Role / Relationships / Family /
   Portrayed By / Media 形成明确章节感（不加边框到首个 section）。 */
body.character-page .kicker{margin-bottom:10px;}
body.character-page .section-head{margin-bottom:18px;}
body.character-page .section{margin:0;}
body.character-page .recap-main > .section{padding-top:56px;}
body.character-page .recap-main > .section + .section{border-top:1px solid var(--border);}
body.character-page .char-hero + .section{padding-top:40px;}

/* --- 5. Quick Facts：纵向 block（替代双列右对齐 meta-list） ---
   原 .meta-list 在 >=768px 变 1fr 1fr 两列 + dd 右对齐，320px 侧栏里值只剩约 70px，
   "Queen Rhaenyra Targaryen" / "Emma D'Arcy" 被强行折行。改为每个字段独立整宽 block。 */
body.character-page .qf-list{display:flex; flex-direction:column;}
body.character-page .qf-item{
  display:flex; flex-direction:column; gap:4px;
  padding:12px 0; border-bottom:1px solid var(--border);
}
body.character-page .qf-list > .qf-item:first-child{padding-top:4px;}
body.character-page .qf-list > .qf-item:last-child{border-bottom:none; padding-bottom:4px;}
body.character-page .qf-label{
  font-size:11px; font-weight:700; letter-spacing:0.8px;
  text-transform:uppercase; color:var(--muted);
}
body.character-page .qf-value{
  font-size:15px; font-weight:600; color:var(--ink); line-height:1.45;
  overflow-wrap:anywhere; word-break:break-word;
}

/* --- 6. Explore：三个 link block（标题 + 说明），不再出现空卡片 --- */
body.character-page .side-link{
  display:flex; flex-direction:column; gap:2px;
  padding:12px 0; border-bottom:1px solid var(--border); color:inherit;
}
body.character-page .side-link:first-of-type{padding-top:4px;}
body.character-page .side-link:last-child{border-bottom:none; padding-bottom:4px;}
body.character-page .sl-title{font-size:14.5px; font-weight:700; color:var(--ink);}
body.character-page .sl-desc{font-size:12.5px; color:var(--ink-2); line-height:1.5;}
body.character-page .side-link:hover .sl-title{color:var(--link);}

/* --- 7. Family & Affiliations：只保留 Family 列表 + Affiliations 标签 --- */
body.character-page .sub-h{
  font-size:11px; font-weight:700; letter-spacing:1px; text-transform:uppercase;
  color:var(--muted); margin:0 0 12px;
}
body.character-page .char-rel-list{list-style:none; margin:0 0 26px; padding:0;}
body.character-page .char-rel-list li{
  display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 10px;
  padding:10px 0; border-bottom:1px solid var(--border);
}
body.character-page .char-rel-list li:last-child{border-bottom:none; padding-bottom:2px;}
body.character-page .char-rel-list .rel-name,
body.character-page .char-rel-list a{font-size:15px; font-weight:600; color:var(--ink);}
body.character-page .char-rel-list a:hover{color:var(--link);}
body.character-page .char-rel-list .rel-label{font-size:13px; color:var(--ink-2);}
body.character-page .char-aff-list{
  display:flex; flex-wrap:wrap; gap:8px; list-style:none; margin:0; padding:0;
}
body.character-page .char-aff-list li{
  background:#F2F2F0; border:1px solid var(--border); border-radius:999px;
  padding:5px 12px; font-size:13px; font-weight:600; color:var(--ink);
}

/* --- 8. Traits（由 Family 模块移至 About 之下）：trait 标签 --- */
body.character-page .char-traits{
  display:flex; flex-wrap:wrap; gap:8px; list-style:none;
  margin:18px 0 0; padding:0; max-width:660px;
}
body.character-page .char-traits li{
  background:#FDF6D8; border:1px solid #EFE2A6; border-radius:999px;
  padding:5px 12px; font-size:12.5px; font-weight:600; color:#6B5A00;
}

/* --- 9. 列表类模块：Importance / Relationships / Portrayed By / Sources --- */
body.character-page .char-importance{list-style:none; margin:0; padding:0; max-width:660px;}
body.character-page .char-importance li{
  padding:10px 0; border-bottom:1px solid var(--border);
  font-size:14.5px; color:var(--ink-2); line-height:1.55;
}
body.character-page .char-importance li:last-child{border-bottom:none;}
body.character-page .char-importance strong{color:var(--ink); font-weight:700;}
body.character-page .char-importance .cf-item{font-size:13px; color:var(--muted);}

/* --- 10. Episode Timeline：按 Season 分组，提高扫描体验（数据不变） --- */
body.character-page .tl-group{margin:0 0 26px; max-width:660px;}
body.character-page .tl-group:last-child{margin-bottom:0;}
body.character-page .tl-season{
  font-size:11px; font-weight:700; letter-spacing:1px; text-transform:uppercase;
  color:var(--muted); margin:0 0 10px;
}
body.character-page .char-timeline{
  list-style:none; margin:0; padding:0 0 0 14px; border-left:2px solid var(--border);
}
body.character-page .timeline-item{
  font-size:14.5px; color:var(--ink-2); line-height:1.5; padding:5px 0;
}

/* --- 11. 空状态（Media 占位等） --- */
body.character-page .ep-s,
body.character-page .ep-syn{
  font-size:14.5px; color:var(--muted); line-height:1.6; max-width:660px;
}

/* --- 12. 移动端：收紧章节间距，保持无横向滚动 --- */
@media(max-width:600px){
  body.character-page .recap-main > .section{padding-top:40px;}
  body.character-page .char-hero + .section{padding-top:30px;}
  body.character-page .qf-value{font-size:14.5px;}
}

/* ============================================================
   CHARACTER PAGE — EDITORIAL LAYOUT POLISH (C-6D.2)
   ------------------------------------------------------------
   承接 C-6D 建立的 body.character-page 作用域约定，纯追加，不改动任何既有规则。
   目标（owner 规格）：
     Phase 1 侧栏收回为「辅助信息栏」而不是第二主体
     Phase 2 Appearances 改成 Show Card + Episode Timeline 两层
     Phase 3 正文阅读宽度 65-75 CPL / line-height 1.6-1.75 / 段距
     Phase 4 Family & Affiliations 统一 label/value（Character Facts 版式）
     Phase 5 三级间距（label→heading / heading→content / section→section）
   C-6D.3（Episode Timeline Visual Polish）：仅重做 §2 的 episode 层 ——
   双列网格 → 单列 Character Timeline（Show ▸ Season 子标题 ▸ 轨迹线 + 节点）。
   C-6D.4（Episode Timeline Final Polish）：在同一层上做 UI 精修 ——
   收紧节点↔内容距离、限制时间线最大宽度（600px，日期不再贴版心最右）、
   缩略图圆角 8px + 锁定 16:9、Season 子标题加「· N Episodes」、加大行距与季间距。
   侧栏（§1 QF / Explore）、正文（§3）、Family（§4）、间距（§5）均无改动。
   不改数据、不改 URL / canonical / sitemap / JSON-LD、不新增模块、不重排模块。

   作用域说明：全部规则以 body.character-page 限定。3 个手工页
   （colter-shaw / russell-shaw / reenie-green）的 <body> 没有该 class，因此
   本块与 C-6D 块对它们完全不生效 —— 手工页不受影响，也无需迁移。
   ============================================================ */

/* --- 1. Sidebar 收紧：侧栏是辅助信息栏，不是第二主体 ---
   C-6D 后实测（1440 视口）：Quick Facts 卡 389px / Explore 卡 255px。
   本组收紧卡片内边距、标题下距与字段上下距：
     Quick Facts 389 -> ~277（-29%），Explore 255 -> ~157（-38%）。
   仅改 padding / font-size / gap，不动结构，不做折叠，不隐藏任何字段。 */
body.character-page .side-card{padding:14px;}
body.character-page .side-card h3,
body.character-page .side-h{font-size:11.5px; letter-spacing:0.5px; margin-bottom:9px;}

/* Quick Facts：紧凑纵向 block，保留每行 1px 分割线 */
body.character-page .qf-item{padding:6px 0; gap:1px;}
body.character-page .qf-list > .qf-item:first-child{padding-top:2px;}
body.character-page .qf-list > .qf-item:last-child{padding-bottom:2px;}
body.character-page .qf-label{font-size:10px; letter-spacing:0.6px;}
body.character-page .qf-value{font-size:14px; line-height:1.3;}

/* Explore：单行紧凑导航（标题 + 右侧浅灰说明），不再占两行 */
body.character-page .side-link{
  display:flex; flex-direction:row; align-items:baseline; gap:8px; padding:7px 0;
}
body.character-page .side-link:first-of-type{padding-top:2px;}
body.character-page .side-link:last-child{padding-bottom:2px;}
body.character-page .sl-title{font-size:14px;}
body.character-page .sl-desc{
  font-size:11px; line-height:1.35; margin-left:auto; text-align:right; flex:0 0 auto;
}

/* --- 2. Appearances：Show Card → Season 子标题 → 单列 Character Timeline ---
   数据结构不变（Show ▸ Season ▸ episode list 原样保留，Season 不合并、Show 名不删）。
   本层只改视觉：
     第一层 .app-show  = Show 层级（作品名最大）
     第二层 .app-season = Season 子标题（Show 名下、独占一行、其下一条分隔线）
     第三层 .app-ep-list = 单列时间线（左侧 2px 轨迹线 + 节点圆点，靠间距而非行分割线）
   episode 行 = 小缩略图（辅助）+ E{n}（弱）+ 标题（主）+ 播出日期（辅），
   视觉优先级 Title > Number > Date。刻意去掉双列网格与行分割线，消除后台表格感。 */
body.character-page .app-show{padding:32px 0; border-bottom:1px solid var(--border);}
body.character-page .section-head + .app-show{padding-top:2px;}
body.character-page .app-show:last-child{border-bottom:none; padding-bottom:0;}
body.character-page .app-show-name{
  font-size:20px; font-weight:800; letter-spacing:-0.2px; margin:0 0 6px;
}
body.character-page .app-show-name a{color:var(--ink);}
body.character-page .app-show-name a:hover{color:var(--link);}
body.character-page .app-show-meta{
  display:flex; flex-wrap:wrap; align-items:baseline; gap:8px 12px;
  margin:0 0 20px; padding-bottom:10px; border-bottom:1px solid var(--border);
  font-size:12.5px; color:var(--muted);
}
/* Season 子标题：不再是小胶囊，独占一行，直接压在 Show 名之下 */
body.character-page .app-chip.app-season{
  flex:1 1 100%; background:none; border:none; border-radius:0; padding:0;
  font-size:16px; font-weight:700; letter-spacing:0.1px; color:var(--ink);
}
/* 集数后缀：子标题的辅助信息，弱于 Season 名 */
body.character-page .app-chip.app-season .app-epcount{
  font-size:13.5px; font-weight:500; color:var(--muted); letter-spacing:0.2px;
}
body.character-page .app-chip.app-season:hover{color:var(--link); text-decoration:underline;}
body.character-page .app-chip{
  display:inline-flex; align-items:center; background:var(--surface);
  border:1px solid var(--border); border-radius:999px; padding:3px 10px;
  font-size:11.5px; font-weight:600; color:var(--ink-2);
}
body.character-page .app-chip:hover{border-color:var(--link); color:var(--link);}
body.character-page .app-credit{font-size:12.5px; color:var(--muted);}
body.character-page .app-credit strong{color:var(--ink); font-weight:700;}

/* 单列时间线本体：收窄左留白（16px），并限制内容最大宽度（600px），
   让「节点 ○ / 缩略图 / 集号 / 标题」贴成一个整体，日期不再甩到版心最右。 */
body.character-page .app-ep-list{
  list-style:none; margin:0; padding:4px 0 0 16px; max-width:600px;
  border-left:2px solid var(--border); display:block;
}
body.character-page .app-ep{position:relative; padding:0; border-bottom:none;}
body.character-page .app-ep + .app-ep{margin-top:20px;}
body.character-page .app-ep::before{
  content:""; position:absolute; left:-20px; top:15px;
  width:7px; height:7px; border-radius:50%;
  background:var(--surface); border:2px solid var(--border);
}
body.character-page .app-ep-link{
  display:grid; grid-template-columns:64px minmax(0,1fr) auto;
  column-gap:12px; row-gap:2px; align-items:center; padding:0; color:inherit;
}
body.character-page .app-ep-thumb{
  grid-area:1/1/3/2; width:64px; height:36px; aspect-ratio:16/9;
  object-fit:cover; border-radius:8px; opacity:0.95;
}
body.character-page .app-ep-num{
  grid-area:1/2/2/3; font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size:11.5px; font-weight:600; letter-spacing:0.5px; color:var(--muted);
}
body.character-page .app-ep-title{
  grid-area:2/2/3/4; font-size:15px; font-weight:600; line-height:1.32;
  color:var(--ink); min-width:0;
}
body.character-page .app-ep-air{
  grid-area:1/3/2/4; justify-self:end; font-size:11px; color:var(--muted);
  white-space:nowrap;
}
body.character-page .app-ep-link:hover .app-ep-title{color:var(--link);}
@media(min-width:640px){
  body.character-page .app-show-name{font-size:21px;}
}

/* --- 3. 正文阅读体验：65-75 characters per line / line-height 1.6-1.75 / 段距 1em ---
   C-6D 已建立（16px / max-width 660px / lh 1.7 / margin 1em，实测 69-74 CPL）。
   本块把行距微调到 1.72、宽度 665px，并把 Story Role / Relationships 等复用
   .char-overview 的正文段一并纳入同一阅读节奏。不换字体族、不新增字号体系。 */
body.character-page .char-overview{max-width:665px; line-height:1.72; margin:0 0 1em;}
body.character-page .char-overview:last-child{margin-bottom:0;}

/* --- 4. Family & Affiliations：统一 label / value / spacing（Character Facts 版式）---
   标签（亲属关系）在上、人名在下，与 Quick Facts 的 label/value 层级一致；
   不再出现左右两列硬挤，窄屏天然单列。 */
body.character-page .sub-h{font-size:10.5px; letter-spacing:0.9px; margin:0 0 10px;}
body.character-page .char-rel-list{margin:0 0 24px;}
body.character-page .char-rel-list li{
  display:flex; flex-direction:column; align-items:flex-start; gap:2px;
  padding:9px 0; border-bottom:1px solid var(--border);
}
body.character-page .char-rel-list .rel-label{
  font-size:10px; font-weight:700; letter-spacing:0.6px; text-transform:uppercase;
  color:var(--muted);
}
body.character-page .char-rel-list .rel-name,
body.character-page .char-rel-list a{font-size:14.5px; font-weight:600; color:var(--ink);}
body.character-page .char-aff-list{gap:7px;}
body.character-page .char-aff-list li{padding:4px 11px; font-size:12.5px;}

/* --- 5. 移动端：保持单列与无横向滚动 ---
   侧栏两条规则为 C-6D.2 既有版本，本次未改动。 */
@media(max-width:600px){
  body.character-page .side-card{padding:13px;}
  body.character-page .qf-value{font-size:14.5px;}
  body.character-page .app-ep-list{padding-left:14px;}
  body.character-page .app-ep + .app-ep{margin-top:18px;}
  body.character-page .app-ep::before{left:-18px;}
  body.character-page .app-ep-link{
    grid-template-columns:64px minmax(0,1fr); align-items:start; row-gap:1px;
  }
  body.character-page .app-ep-thumb{grid-area:1/1/4/2; align-self:start;}
  body.character-page .app-ep-num{grid-area:1/2/2/3;}
  body.character-page .app-ep-title{grid-area:2/2/3/3; font-size:14.5px;}
  body.character-page .app-ep-air{grid-area:3/2/4/3; justify-self:start; margin-top:2px;}
}

/* ============================================================
   CHARACTER PAGE — VISUAL POLISH (C-6D.5)
   ------------------------------------------------------------
   目标：提升阅读体验与视觉统一性，向 IMDb character guide / Wikipedia
   extended profile / 高级娱乐数据库靠拢；消除「后台表格感 / AI 文档感」。
   仅追加，全部以 body.character-page 限定；不改结构、不改数据、
   不改 URL / canonical / sitemap / JSON-LD / SEO / Hero summary / Sidebar 逻辑。

   本阶段明确冻结（下方不重写它们的任何规则）：
     · Episode Timeline —— Appearance Timeline（.tl-group / .tl-season / .char-timeline）
       与 Appearances 的 episode 层（.app-* 全部规则）
     · Sidebar —— Quick Facts（.qf-*）/ Explore（.side-link / .sl-*）

   C-6D.5 三条统一视觉规则：
     叙述内容  .char-overview            → 文章式（article）
     结构化内容 .char-kv / .char-rel-list → 键值卡片（与 Quick Facts 同一视觉语言）
     列表内容  .char-importance / traits / affiliations → 干净列表（无整行横线）
   ============================================================ */

/* --- 1. 三级间距：label→title 10px / title→content 20px / section→section 64px ---
   章节间隔取规格上限，让「新主题开始」有明确体感；标题与正文次之；标签与标题最小。 */
body.character-page .kicker{margin-bottom:10px;}
body.character-page .section-head{margin-bottom:20px;}
body.character-page .recap-main > .section{padding-top:64px;}
body.character-page .recap-main > .section + .section{border-top:1px solid var(--border);}
body.character-page .char-hero + .section{padding-top:44px;}

/* --- 2. Section label：保留黄色 uppercase 小标签设计，强化扫描锚点 ---
   letter-spacing 1.5→2.6px、weight 700→800；标签文字之后接一条短细线作为视觉锚点
   （细线位于文字右后方，标签本身仍与下方 h2 左对齐，不产生缩进错位）。 */
body.character-page .kicker{
  display:flex; align-items:center; gap:12px;
  font-size:11px; font-weight:800; letter-spacing:2.6px;
  text-transform:uppercase; color:#8a6d00;
}
body.character-page .kicker::after{
  content:""; flex:0 0 44px; height:1px; background:currentColor; opacity:0.30;
}

/* --- 3. 叙述正文：文章式排版（Overview / Story Role / 关系叙述） ---
   行高 1.72（规格 1.65–1.75）、阅读宽度 665px（≈72 CPL，规格 70–75）、段距 20px。 */
body.character-page .char-overview{
  font-size:16px; line-height:1.72; color:#374151;
  max-width:665px; margin:0 0 20px;
}
body.character-page .char-overview:last-child{margin-bottom:0;}
/* Story Role 是受控单值字段（protagonist / deuteragonist / antagonist / supporting）：
   按「结构化单值」呈现为一行角色陈述，避免单独一个低 case 单词显得像未填内容。 */
body.character-page .char-role{
  font-size:17px; font-weight:600; color:var(--ink);
  letter-spacing:-0.1px; line-height:1.5; text-transform:capitalize;
  max-width:665px; margin:0;
}

/* --- 4. 列表内容：干净列表（Relationships 结构列表 / Portrayed By / Versions / Sources）---
   去掉整行横线（表格观感的主要来源），改用紧凑圆点标记 + 行距，保持编辑式阅读节奏。 */
body.character-page .char-importance{list-style:none; margin:0; padding:0; max-width:665px;}
body.character-page .char-importance li{
  position:relative; padding:9px 0 9px 17px; border-bottom:none;
  font-size:14.5px; color:var(--ink-2); line-height:1.55;
}
body.character-page .char-importance li::before{
  content:""; position:absolute; left:2px; top:16px;
  width:5px; height:5px; border-radius:50%; background:var(--border);
}
body.character-page .char-importance strong{color:var(--ink); font-weight:700;}
body.character-page .char-importance .cf-item{font-size:13px; color:var(--muted);}

/* --- 5. 标签类列表（Traits / Affiliations）统一为同一套中性胶囊 ---
   原先 Traits 用琥珀胶囊、Affiliations 用灰胶囊，两套语言并存；本阶段统一。 */
body.character-page .char-traits,
body.character-page .char-aff-list{
  display:flex; flex-wrap:wrap; gap:8px; list-style:none; padding:0;
}
body.character-page .char-traits{margin:20px 0 0; max-width:665px;}
body.character-page .char-aff-list{margin:0;}
body.character-page .char-traits li,
body.character-page .char-aff-list li{
  background:var(--surface); border:1px solid var(--border); border-radius:999px;
  padding:5px 13px; font-size:12.5px; font-weight:600; color:var(--ink-2);
}

/* Family 的子标题（FAMILY / AFFILIATIONS）与章节标签同一套排版语言 */
body.character-page .sub-h{
  font-size:10px; font-weight:800; letter-spacing:1.8px;
  text-transform:uppercase; color:var(--muted); margin:0 0 10px;
}

/* --- 6. 结构化键值：Character Profile Card（与右侧 Quick Facts 同一视觉语言）---
   统一「外框卡片 + 内部 label/value 行」；label 小号大写浅灰、value 主色，
   与 .qf-label / .qf-value 同构。Family 由此从「整行横线的表格」变为一张档案卡。
   选择器用 .char-importance.char-kv 提高权重，确保覆盖上面第 4 条的列表规则。 */
body.character-page .char-importance.char-kv,
body.character-page .char-rel-list{
  list-style:none; margin:0 0 26px; padding:2px 18px;
  max-width:560px; background:var(--surface);
  border:1px solid var(--border); border-radius:12px;
}
body.character-page .char-importance.char-kv li,
body.character-page .char-rel-list li{
  display:flex; flex-direction:column; align-items:flex-start; gap:3px;
  padding:12px 0; border-bottom:1px solid var(--border);
  font-size:14.5px; color:var(--ink); line-height:1.45;
}
body.character-page .char-importance.char-kv li::before,
body.character-page .char-rel-list li::before{content:none;}
body.character-page .char-importance.char-kv li:last-child,
body.character-page .char-rel-list li:last-child{border-bottom:none;}
body.character-page .char-importance.char-kv li strong,
body.character-page .char-rel-list .rel-label{
  font-size:10px; font-weight:800; letter-spacing:1px;
  text-transform:uppercase; color:var(--muted);
}
body.character-page .char-rel-list .rel-name,
body.character-page .char-rel-list a{font-size:14.5px; font-weight:600; color:var(--ink);}
body.character-page .char-rel-list a:hover{color:var(--link);}

/* --- 7. 移动端：章节间距收紧，卡片宽度自适应 --- */
@media(max-width:600px){
  body.character-page .recap-main > .section{padding-top:44px;}
  body.character-page .char-hero + .section{padding-top:34px;}
  body.character-page .char-importance.char-kv,
  body.character-page .char-rel-list{max-width:none;}
}

/* ============================================================
   UPCOMING SEASON v2 — 分层信息模块（Policy v2 §3.2）
   Known Rumors / Conflict / Previously Reported / Older Reports
   纯新增选择器（.claim-* 前缀此前不存在），不覆盖任何既有规则。
   ============================================================ */
.claim-intro{color:var(--ink-2); font-size:15px; line-height:1.65; margin:0 0 12px; max-width:780px;}

/* ---- 阅读体验：正文 / metadata 分层 + 条目留白 ----
   判据：同一条记录内部的间距（6–8px）必须明显小于不同记录之间的间距（约 28px），
   且 metadata 字号明显小于正文。只作用于 .claim-list（Upcoming v2 分层模块），
   不影响 .cast-prev-item 在 aired season「Previous Seasons 卡司」等场景的表现。 */
.claim-list .claim-item{
  display:block; padding:14px 0 16px;
  border-bottom:1px solid var(--border);
}
.claim-list .claim-item:first-child{padding-top:2px;}
.claim-list .claim-item:last-child{padding-bottom:2px; border-bottom:none;}
.claim-list .claim-item .cp-name{font-size:15.5px; line-height:1.35;}
.claim-list .claim-item .cp-role{
  display:block; margin-top:8px; font-size:15px; line-height:1.65;
  color:var(--ink-2); font-weight:500; max-width:840px;
}
/* metadata：13.5px（正文 15px 的 90%）+ muted 色 + 9px 上间距。
   不再向下调浅 —— --muted 已是站点可读下限，层级靠字号与间距建立。 */
.claim-meta{display:block; flex-basis:100%; margin-top:9px;
  color:var(--muted); font-size:13.5px; line-height:1.62;}

/* ---- Conflict 三层视觉 ----
   第 1/2 层 Account A / Account B：同级 —— 左侧细色条 + 极浅底色，二者完全一致。 */
.claim-side{display:block; flex-basis:100%; margin-top:11px;
  color:var(--ink-2); font-size:15px; line-height:1.65;
  padding:10px 13px; border-left:3px solid #C9CDD4;
  background:rgba(17,17,17,0.025); border-radius:0 6px 6px 0;}
.claim-side b{
  display:block; margin-bottom:5px;
  font-size:12.5px; font-weight:800; letter-spacing:0.7px;
  text-transform:uppercase; color:var(--ink);
}
.claim-side .claim-meta{margin-top:6px; font-size:13px;}
/* 第 3 层 Current assessment：与 A/B 明确不同 —— 无左侧色条、独立描边浅底块、
   italic 正文 + 明确 label。🔴 刻意不使用 --accent 黄 / CONFIRMED 视觉：
   它是「当前证据下的评估」，不是事实确认（Policy v2 §3.2 L4）。 */
.claim-assessment{
  display:block; flex-basis:100%; margin-top:13px;
  padding:11px 13px; border:1px solid var(--border); border-radius:6px;
  background:var(--surface);
  color:var(--ink-2); font-size:14.5px; line-height:1.65; font-style:italic;
}
.claim-assessment b{
  display:block; margin-bottom:5px;
  font-size:12.5px; font-weight:800; letter-spacing:0.7px;
  text-transform:uppercase; color:var(--ink); font-style:normal;
}
.claim-item .info-banner{flex-basis:100%; margin-top:8px;}

/* ===== Character Cast Density — Guest Directory (Level 2/3) ===== */
.guest-grid > .guest-feat-kicker,
.guest-grid > .guest-directory { grid-column: 1 / -1; }
.guest-feat-kicker {
  margin: 18px 0 4px;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.guest-directory {
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
}
.guest-directory > summary {
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.guest-directory > summary::-webkit-details-marker { display: none; }
.guest-directory > summary::after { content: "\\002B"; font-size: 18px; color: var(--ink-2); margin-left: 8px; }
.guest-directory[open] > summary::after { content: "\\2212"; }
.guest-directory > summary:focus-visible { outline: 3px solid var(--link); outline-offset: -3px; }
.dir-list {
  list-style: none;
  margin: 0;
  padding: 4px 18px 18px;
  columns: 2;
  column-gap: 28px;
}
.dir-list li {
  break-inside: avoid;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
}
.dir-link {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
}
.dir-link:hover { color: var(--link); text-decoration: underline; }
@media (max-width: 600px) {
  .dir-list { columns: 1; }
}
