/* =========================================================
   Lex Fridman 播客全访谈 · 版式参考《纽约客》
   纯白底 + 墨黑字，几乎不用颜色；靠衬线标题、细线分隔与留白建立层次。
   唯一的颜色是一点深红，只出现在「中文精读」栏目标签上。
   规则：不用竖条侧边装饰，强调靠字重、字号、底色与横向细线。
   ========================================================= */
:root {
  --bg: #ffffff;
  --bg2: #ffffff;
  --card: #f5f5f3;
  --card-hover: #efefec;
  --line: #e4e4e1;
  --line-strong: #c9c9c5;
  --rule: #111111;
  --text: #111111;
  --text-soft: #2e2e2c;
  --text-faint: #9b9b97;
  --muted: #6b6b67;
  --accent: #111111;
  --accent-hover: #333333;
  --on-accent: #ffffff;
  --red: #b3261e;
  --zh-soft: rgba(0,0,0,.045);
  --bar-bg: #e6e6e3;
  --bar-buf: #d2d2ce;
  --bg-glass: rgba(255,255,255,.9);
  --bg-glass2: rgba(255,255,255,.96);
  --trans-bg: rgba(0,0,0,.028);
  --thumb-bg: #ededea;
  --mark-bg: rgba(255,214,10,.42);
  --shadow: 0 14px 40px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.05);
  --focus: #111111;
  --read-size: 18px;
  --read-lh: 2;
  --measure: 680px;
  --toc-w: 232px;
}
:root[data-theme='sepia'] {
  --bg: #f5eddc;
  --bg2: #f5eddc;
  --card: #ede3cc;
  --card-hover: #e8dcc2;
  --line: #e0d3b6;
  --line-strong: #c9b996;
  --rule: #2f2618;
  --text: #2f2618;
  --text-soft: #443a2b;
  --text-faint: #a8997f;
  --muted: #7b6d57;
  --accent: #2f2618;
  --accent-hover: #4a3f2f;
  --on-accent: #f5eddc;
  --red: #9c2f1c;
  --zh-soft: rgba(80,50,10,.06);
  --bar-bg: #e4d8bf;
  --bar-buf: #d4c5a6;
  --bg-glass: rgba(245,237,220,.9);
  --bg-glass2: rgba(250,244,230,.96);
  --trans-bg: rgba(80,50,10,.04);
  --thumb-bg: #e8dcc3;
  --mark-bg: rgba(230,170,40,.35);
  --shadow: 0 14px 40px rgba(60,40,10,.14), 0 2px 6px rgba(60,40,10,.06);
  --focus: #2f2618;
}
:root[data-theme='dark'] {
  --bg: #141414;
  --bg2: #141414;
  --card: #1e1e1e;
  --card-hover: #242424;
  --line: #2a2a2a;
  --line-strong: #444444;
  --rule: #e8e8e6;
  --text: #ebebe8;
  --text-soft: #cdcdc9;
  --text-faint: #6c6c68;
  --muted: #9a9a96;
  --accent: #ebebe8;
  --accent-hover: #ffffff;
  --on-accent: #141414;
  --red: #e2675b;
  --zh-soft: rgba(255,255,255,.06);
  --bar-bg: #2e2e2e;
  --bar-buf: #3c3c3c;
  --bg-glass: rgba(20,20,20,.88);
  --bg-glass2: rgba(30,30,30,.95);
  --trans-bg: rgba(255,255,255,.035);
  --thumb-bg: #222222;
  --mark-bg: rgba(255,214,10,.28);
  --shadow: 0 14px 40px rgba(0,0,0,.55);
  --focus: #ebebe8;
}
:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif CJK SC", serif;
  /* 标题：西文 Libre Caslon（纽约客正文同源的 Caslon），中文思源宋体 */
  --font-display: "Libre Caslon Text", "Noto Serif SC", "Songti SC", "Source Han Serif SC", "STSong", Georgia, serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; }
html[data-theme='dark'] { color-scheme: dark; }
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after { transition: background-color .3s ease, border-color .3s ease, color .3s ease !important; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-autospace: ideograph-alpha ideograph-numeric; /* 中西文之间自动留出细空隙（支持的浏览器） */
}
a { color: inherit; }
button { font: inherit; color: inherit; }
svg { display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
::selection { background: var(--mark-bg); }

/* 小号栏目标签：字距拉开，像杂志的栏目名 */
.ep-kicker, .hero-kicker, .card-kicker, .mast-date, .pop-k, .toc-h, .pn-k, .ap-label {
  font-family: var(--font-sans); font-size: 11.5px; letter-spacing: .16em; color: var(--muted); font-weight: 500;
}

.skip-link { position: absolute; left: 12px; top: -52px; z-index: 200; background: var(--bg); color: var(--text); border: 1px solid var(--rule); padding: 8px 14px; text-decoration: none; font-size: 13px; transition: top .15s ease; }
.skip-link:focus { top: 12px; }

/* ---------- 首页报头 ---------- */
.masthead { padding-top: 12px; }
.mast-top { display: flex; justify-content: space-between; align-items: center; min-height: 36px; }
.mast-actions { display: flex; align-items: center; gap: 14px; position: relative; }
/* 顶部频道菜单（替换原报头顶栏链接 + 标题下方频道条） */
.mast-nav { display: flex; align-items: center; gap: 14px; }
.mast-nav a { font-size: 12.5px; color: var(--muted); text-decoration: none; letter-spacing: .06em; white-space: nowrap; }
.mast-nav a:hover { color: var(--text); }
.mast-nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
/* 手机端汉堡按钮 */
.menu-toggle { display: none; width: 34px; height: 34px; flex-shrink: 0; cursor: pointer; background: transparent; border: 0; border-radius: 50%; color: var(--text-soft); align-items: center; justify-content: center; }
.menu-toggle:hover { background: var(--card); color: var(--text); }
.menu-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.mast-menu { display: none; }
.mast-title { text-align: center; margin-top: 12px; font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 5.4vw, 64px); line-height: 1.1; letter-spacing: -.005em; }
.mast-title a { text-decoration: none; }
.mast-title span { font-weight: 500; }
.mast-sub { text-align: center; margin-top: 14px; color: var(--muted); font-size: 12.5px; letter-spacing: .24em; }
/* 报头下的一粗一细双线 */
.masthead .wrap::after { content: ''; display: block; height: 7px; margin-top: 22px; border-top: 3px solid var(--rule); border-bottom: 1px solid var(--rule); }

/* ---------- 内页报头 ---------- */
.site-header.slim { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header.slim .header-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "mark nav act"; align-items: center; gap: 20px; height: 60px; }
.site-header.slim .wordmark { grid-area: mark; }
.site-header.slim .header-actions { grid-area: act; }
/* 频道条：当前频道下划线贴住页眉底线 */
.chan-nav { grid-area: nav; align-self: stretch; display: flex; justify-content: center; gap: 2px; }
.chan-nav a { display: flex; align-items: center; padding: 0 11px; font-size: 14px; color: var(--muted); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; letter-spacing: .04em; }
.chan-nav a:hover { color: var(--text); }
.chan-nav a[aria-current="page"] { color: var(--text); font-weight: 600; border-bottom-color: var(--text); }
.chan-nav a:focus-visible { outline: 2px solid var(--text); outline-offset: -4px; border-radius: 4px; }
.wordmark { font-family: var(--font-display); font-weight: 700; font-size: 21px; text-decoration: none; letter-spacing: .01em; white-space: nowrap; }
.wordmark span { font-weight: 500; }
@media (max-width: 860px) {
  .site-header.slim .header-inner { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "mark act" "nav nav"; gap: 0 12px; height: auto; padding-top: 8px; }
  .site-header.slim .wordmark { justify-self: start; }
  .chan-nav { justify-content: space-between; gap: 0; height: 42px; margin: 4px -24px 0; padding: 0 10px; border-top: 1px solid var(--line);
    overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .chan-nav a { flex: 1 1 0; justify-content: center; padding: 0 1px; font-size: 13.5px; letter-spacing: 0; }
}
.header-actions { display: flex; align-items: center; gap: 4px; justify-self: end; }
.hdr-icon { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; color: var(--text-soft); border-radius: 50%; }
.hdr-icon:hover { color: var(--text); background: var(--card); }
.hdr-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

/* 主题切换：SVG 日 / 月 */
.theme-toggle {
  position: relative; width: 34px; height: 34px; flex-shrink: 0; cursor: pointer;
  background: transparent; border: 0; border-radius: 50%; color: var(--text-soft);
  display: inline-flex; align-items: center; justify-content: center; transition: background-color .15s ease, color .15s ease;
}
.theme-toggle:hover { background: var(--card); color: var(--text); }
.theme-toggle svg {
  position: absolute; width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .35s cubic-bezier(.4,.2,.2,1), opacity .25s ease;
}
.theme-toggle .i-moon { fill: currentColor; stroke: none; }
/* 浅色 / 护眼时显示月亮（点击进入深色）；深色时显示太阳 */
.theme-toggle .i-sun { opacity: 0; transform: rotate(70deg) scale(.6); }
[data-theme='dark'] .theme-toggle .i-sun { opacity: 1; transform: none; }
[data-theme='dark'] .theme-toggle .i-moon { opacity: 0; transform: rotate(-70deg) scale(.6); }

/* ---------- 工具条（吸顶） ---------- */
.toolbar { position: sticky; top: 0; z-index: 40; background: var(--bg-glass); -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.toolbar-inner { display: flex; align-items: center; gap: 24px; padding-top: 8px; padding-bottom: 8px; }
.search-box { position: relative; flex: 1; min-width: 220px; }
.search-box .i-search { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; pointer-events: none; }
#search { width: 100%; background: transparent; color: var(--text); border: 0; border-radius: 0; padding: 10px 64px 10px 28px; font-size: 15px; outline: none; font-family: var(--font-sans); }
#search::placeholder { color: var(--text-faint); }
#search::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search-box:focus-within .i-search { stroke: var(--text); }
.search-kbd { position: absolute; right: 0; top: 50%; transform: translateY(-50%); font: 500 11px/1 var(--font-sans); color: var(--text-faint); border: 1px solid var(--line); border-radius: 4px; padding: 3px 6px; pointer-events: none; }
.search-clear { position: absolute; right: 0; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 12.5px; padding: 5px 6px; }
.search-clear:hover { color: var(--text); }
.search-box.has-q .search-kbd { display: none; }
.search-box:not(.has-q) .search-clear { display: none; }
.filters { display: flex; gap: 22px; }
.filters button { background: none; border: 0; color: var(--muted); padding: 10px 0 8px; font-size: 13.5px; cursor: pointer; white-space: nowrap; border-bottom: 2px solid transparent; }
.filters button:hover { color: var(--text); }
.filters button.on { color: var(--text); font-weight: 600; border-bottom-color: var(--rule); }
.filters button[hidden] { display: none; }
.filters .n { color: var(--text-faint); font-weight: 400; margin-left: 5px; font-variant-numeric: tabular-nums; }
.sort-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--muted); padding: 8px 0; font-size: 13.5px; cursor: pointer; white-space: nowrap; }
.sort-btn:hover { color: var(--text); }
.sort-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.sort-btn[data-dir='asc'] svg { transform: scaleY(-1); }

/* ---------- 头条 ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 52px; align-items: center; padding: 44px 0 50px; border-bottom: 1px solid var(--line); }
.hero[hidden] { display: none; }
.hero-media { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--thumb-bg); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.hero-text { text-align: center; }
.hero-kicker { color: var(--red); margin-bottom: 18px; }
.hero-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.1vw, 40px); line-height: 1.32; letter-spacing: .01em; word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
.hero-title a { text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 94%; transition: background-size .4s ease; }
.hero-title a:hover { background-size: 100% 1px; }
.hero-en { color: var(--muted); font-family: var(--font-display); font-style: italic; font-size: 15px; line-height: 1.5; margin-top: 14px; }
.hero-desc { color: var(--text-soft); font-family: var(--font-display); font-size: 17px; line-height: 1.85; margin: 18px auto 0; max-width: 28em; text-wrap: pretty; }
.hero-by { margin-top: 18px; color: var(--muted); font-size: 12.5px; letter-spacing: .08em; }
.hero-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-size: 13.5px; font-weight: 600; letter-spacing: .1em; text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 4px; }
.hero-cta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.hero-cta:hover svg { transform: translateX(4px); }

/* ---------- 栏目标题 ---------- */
.result-line { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 44px 0 12px; border-bottom: 1px solid var(--rule); }
.result-line h2 { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: .02em; }
.result-line h2 small { font-family: var(--font-sans); font-size: 12.5px; color: var(--muted); font-weight: 400; margin-left: 12px; letter-spacing: .06em; }

/* ---------- 继续 ---------- */
.continue { padding-top: 36px; }
.continue[hidden] { display: none; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); margin-bottom: 18px; }
.sec-h h2 { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: .02em; }
.sec-h button { background: none; border: 0; color: var(--muted); font-size: 12.5px; cursor: pointer; }
.sec-h button:hover { color: var(--text); }
.continue-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.cont-item { display: flex; gap: 14px; align-items: center; text-decoration: none; }
.cont-thumb { position: relative; width: 112px; flex-shrink: 0; aspect-ratio: 16/9; overflow: hidden; background: var(--thumb-bg); }
.cont-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: filter .4s ease; }
.cont-body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cont-title { font-family: var(--font-display); font-size: 14.5px; font-weight: 700; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cont-item:hover .cont-title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.cont-meta { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.prog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(0,0,0,.35); }
.prog i { display: block; height: 100%; background: #fff; }

/* ---------- 列表 ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 44px 32px; padding: 28px 0 30px; }
.card { display: flex; flex-direction: column; text-decoration: none; }
.thumb { position: relative; aspect-ratio: 16/9; background: var(--thumb-bg); overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .45s ease; }
/* 缩略图模板自带的绿/蓝大字与版面打架：统一黑白，有鼠标时悬停还原 */
.grid .thumb img, .cont-thumb img, .hero-media img { filter: grayscale(1) contrast(1.05); }
@media (hover: hover) {
  .card:hover .thumb img, .cont-item:hover .cont-thumb img, .hero:hover .hero-media img { filter: none; }
  .card:hover .thumb img, .hero:hover .hero-media img { transform: scale(1.025); }
}
.thumb .no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--text-faint); font: 700 28px/1 var(--font-display); letter-spacing: .2em; }
.card-body { padding-top: 14px; display: flex; flex-direction: column; gap: 7px; }
.card-kicker { display: flex; align-items: center; gap: 10px; font-variant-numeric: tabular-nums; }
.card-kicker .ep-n { color: var(--text); font-weight: 600; }
.card-kicker .zh-tag { color: var(--red); }
.card-title { font-family: var(--font-display); font-size: 18.5px; font-weight: 700; line-height: 1.45; letter-spacing: .01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card:hover .card-title { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.card-title-en { color: var(--muted); font-family: var(--font-display); font-style: italic; font-size: 13.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.card-desc { color: var(--text-soft); font-size: 13.5px; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
mark { background: var(--mark-bg); color: inherit; padding: 0 1px; }
.sentinel { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--text-faint); padding: 28px 0 40px; font-size: 12.5px; }
.sentinel .end { letter-spacing: .24em; font-size: 12px; }
.more-btn { background: none; border: 1px solid var(--rule); color: var(--text); border-radius: 999px; padding: 10px 30px; font-size: 13.5px; font-weight: 600; letter-spacing: .1em; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.more-btn:hover { background: var(--accent); color: var(--on-accent); }
.more-sub { color: var(--muted); }
.more-sub a { color: var(--text-soft); text-underline-offset: 3px; }
.empty { grid-column: 1 / -1; text-align: center; padding: 80px 20px; color: var(--muted); }
.empty h3 { color: var(--text); font-family: var(--font-display); font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.empty p { font-size: 14px; }
.empty .chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.chip { background: none; border: 1px solid var(--line-strong); color: var(--text-soft); border-radius: 999px; padding: 5px 14px; font-size: 13px; cursor: pointer; white-space: nowrap; }
.chip:hover { border-color: var(--rule); color: var(--text); }

/* =========================================================
   单集页
   ========================================================= */
.ep-main { max-width: calc(var(--measure) + 48px); }
/* 有目录时：正文 + 目录作为一个整体居中，左右不失衡 */
@media (min-width: 1180px) {
  .ep-main.has-toc {
    max-width: calc(var(--measure) + var(--toc-w) + 72px + 48px);
    display: grid; grid-template-columns: minmax(0, var(--measure)) var(--toc-w); column-gap: 72px; align-items: start;
  }
  .ep-main.has-toc .ep-toc { display: block; }
  .ep-main.has-toc .tool-btn[data-tool='toc'] { display: none; }
}
.ep-head { text-align: center; padding: 56px 0 36px; }
.ep-kicker { display: flex; justify-content: center; align-items: center; gap: 10px; }
.ep-kicker .k-zh { color: var(--red); }
.k-sep { color: var(--line-strong); }
.ep-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4vw, 42px); line-height: 1.3; letter-spacing: .01em; margin: 18px auto 0; max-width: 17em; word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
.ep-title-en { color: var(--muted); font-family: var(--font-display); font-style: italic; font-size: 16px; line-height: 1.5; margin-top: 14px; }
.ep-dek { font-family: var(--font-display); font-size: 18.5px; line-height: 1.8; color: var(--text-soft); max-width: 28em; margin: 22px auto 0; text-wrap: pretty; }
.ep-byline { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 22px; font-size: 12.5px; color: var(--muted); letter-spacing: .06em; }

/* 媒体区：视频缩略图（点击展开）+ 音频播放器，上粗下细两条线收边 */
.media { display: flex; align-items: stretch; margin-bottom: 34px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--line); }
.media:not(.has-audio) { border: 0; }
.media:not(.has-audio) .video-facade { width: 100%; aspect-ratio: 16/9; margin: 0; }
.media.video-open { flex-direction: column; }
.media iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; margin-top: 16px; }
.video-facade { position: relative; width: 196px; flex-shrink: 0; align-self: center; aspect-ratio: 16/9; background: #000; border: 0; padding: 0; cursor: pointer; overflow: hidden; color: #fff; margin: 16px 0; }
.video-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .9; transition: filter .3s ease, opacity .3s ease; }
.video-facade:hover img { filter: none; opacity: 1; }
.vf-play { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 5px; background: rgba(0,0,0,.78); color: #fff; padding: 4px 10px 4px 7px; font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.vf-play svg { width: 13px; height: 13px; fill: currentColor; }
.media:not(.has-audio) .vf-play { left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); padding: 12px 22px 12px 18px; font-size: 15px; }
.audio-player { flex: 1; min-width: 0; display: flex; gap: 16px; align-items: center; padding: 16px 0 16px 22px; }
.media > .audio-player:first-child { padding-left: 0; }
.ap-play { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; background: var(--accent); color: var(--on-accent); border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .12s ease, background-color .15s ease; }
.ap-play:hover { background: var(--accent-hover); }
.ap-play:active { transform: scale(.94); }
.ap-play svg, .mp-play svg { width: 20px; height: 20px; fill: currentColor; }
.ap-play .i-play, .mp-play .i-play { margin-left: 2px; }
.ap-play .i-pause, .mp-play .i-pause { display: none; }
.is-playing .ap-play .i-play, .is-playing .mp-play .i-play { display: none; }
.is-playing .ap-play .i-pause, .is-playing .mp-play .i-pause { display: block; }
.ap-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ap-line1 { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; }
.ap-time { color: var(--muted); font-variant-numeric: tabular-nums; }
.ap-bar { position: relative; height: 16px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.ap-bar::before { content: ''; position: absolute; left: 0; right: 0; height: 3px; background: var(--bar-bg); }
.ap-buf { position: absolute; left: 0; height: 3px; background: var(--bar-buf); width: 0; }
.ap-fill { position: absolute; left: 0; height: 3px; background: var(--accent); width: 0; }
.ap-fill::after { content: ''; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .15s ease; }
.ap-bar:hover .ap-fill::after, .ap-bar:focus-visible .ap-fill::after { transform: scale(1); }
.ap-line2 { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 12.5px; }
.ap-line2 button { background: none; color: var(--muted); border: 0; padding: 2px 0; font-size: 12.5px; cursor: pointer; font-variant-numeric: tabular-nums; }
.ap-line2 button:hover { color: var(--text); }
.ap-line2 .ap-video { display: none; align-items: center; gap: 4px; }
.ap-video svg { width: 11px; height: 11px; fill: currentColor; }
.ap-resume { color: var(--text-soft); }
.ap-resume[hidden] { display: none; }
.ap-resume button { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* 内容 tabs（吸顶）：左 tab，右阅读工具；与正文同宽 */
.content-tabs { margin-top: 4px; }
.tabs { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; background: var(--bg-glass); -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); margin: 0 0 28px; }
.tab-btn { display: none; }
body.epjs .tab-btn { display: block; background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 14px; letter-spacing: .1em; font-weight: 600; padding: 14px 0 12px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
body.epjs .tab-btn:hover { color: var(--text); }
body.epjs .tab-btn.on { color: var(--text); border-bottom-color: var(--rule); }
.tab-tools { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.tool-btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border-radius: 999px; background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 13px; white-space: nowrap; }
.tool-btn:hover, .tool-btn[aria-expanded='true'] { color: var(--text); background: var(--card); }
.tool-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tool-btn .aa { font: 700 15px/1 var(--font-display); letter-spacing: -.02em; }
.tool-btn .aa small { font-size: 11.5px; }
.read-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* 弹出层：阅读设置 / 目录 */
.pop { position: absolute; right: 0; top: calc(100% + 10px); z-index: 30; width: 330px; max-height: calc(100vh - 110px); overflow-y: auto; overscroll-behavior: contain; background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 14px; font-size: 13px; animation: pop-in .16s ease-out; touch-action: pan-y; }
.pop[hidden] { display: none; }
@keyframes pop-in { from { opacity: 0; transform: translateY(-4px); } }
.pop-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.pop-head span { font-size: 11.5px; letter-spacing: .16em; color: var(--muted); font-weight: 500; }
.pop-head button { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.pop-head button:hover { color: var(--text); }
.seg { display: flex; padding: 3px; gap: 2px; background: var(--card); border-radius: 10px; }
.seg button { flex: 1; background: none; border: 0; color: var(--muted); border-radius: 7px; padding: 6px 0; cursor: pointer; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed='true'] { background: var(--bg2); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.12); font-weight: 600; }
.seg button:disabled { opacity: .35; cursor: default; }
.seg .sz { display: flex; align-items: center; justify-content: center; flex: .9; color: var(--text); font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 600; }
.seg svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
/* 背景：色块本身就是按钮，名字写在色块上 */
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.swatches button { height: 38px; border-radius: 9px; border: 1px solid rgba(0,0,0,.12); cursor: pointer; font-size: 13px; font-family: var(--font-display); }
.swatches button[aria-pressed='true'] { box-shadow: 0 0 0 2px var(--bg2), 0 0 0 3.5px var(--accent); font-weight: 700; }
/* 字体：三列，每个名字用自身字体显示 */
.font-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.font-list button { background: var(--card); border: 1px solid transparent; border-radius: 9px; padding: 9px 4px; cursor: pointer; color: var(--text); font-size: 15px; line-height: 1.3; white-space: nowrap; }
.font-list button:first-child { font-family: var(--font-sans); }
.font-list button:hover { border-color: var(--line-strong); }
.font-list button[aria-pressed='true'] { border-color: var(--accent); background: var(--bg2); font-weight: 600; }
/* 字号与行距并排 */
.pop-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.seg-measure { margin-top: 8px; }
.seg[hidden] { display: none; }
.pop-toc { width: min(340px, calc(100vw - 32px)); max-height: 60vh; padding: 8px; }

/* 目录（侧栏与弹层共用）：当前节用字重 + 浅底色标记，不用竖线 */
.toc-list { list-style: none; counter-reset: toc; }
.toc-list a { display: flex; gap: 10px; text-decoration: none; color: var(--muted); font-size: 13px; line-height: 1.55; padding: 6px 10px; border-radius: 6px; transition: color .15s ease, background-color .15s ease; }
.toc-list a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); flex-shrink: 0; font: 400 11px/1.55 var(--font-display); color: var(--text-faint); padding-top: 1px; font-variant-numeric: tabular-nums lining-nums; }
.toc-list a:hover { color: var(--text); }
.toc-list a.on { color: var(--text); background: var(--zh-soft); font-weight: 600; }
.toc-list a.on::before { color: var(--text); }
.ep-toc { display: none; position: sticky; top: 76px; max-height: calc(100vh - 100px); overflow-y: auto; padding-top: 56px; scrollbar-width: thin; }
.ep-toc.is-off { visibility: hidden; }
.ep-toc .toc-h { margin: 0 0 12px 10px; }

.tab-panel { margin-bottom: 10px; }
body.epjs .tab-panel { display: none; }
body.epjs .tab-panel.active { display: block; }
.zh-note, .tr-note { color: var(--text-faint); font-size: 12.5px; line-height: 1.7; margin-bottom: 30px; }
.zh-note a { color: var(--muted); }

/* =========================================================
   中文正文排版（Markdown 渲染结果）
   版心约 36–38 字一行；两端对齐 + 标点挤压；段间留白而非首行缩进（可在设置中切换）。
   ========================================================= */
.zh-article {
  font-size: var(--read-size); line-height: var(--read-lh); letter-spacing: .02em; color: var(--text-soft);
  text-align: justify; text-justify: inter-ideograph; hanging-punctuation: allow-end; overflow-wrap: break-word;
  font-kerning: normal; counter-reset: sec;
}
[data-font='sans'] .zh-article { font-family: "Noto Sans SC", var(--font-sans); }
[data-font='serif'] .zh-article { font-family: "Noto Serif SC", var(--font-serif); letter-spacing: .03em; }
[data-font='kai'] .zh-article { font-family: "LXGW WenKai Screen", "Kaiti SC", "STKaiti", var(--font-serif); letter-spacing: .03em; }
[data-font='wei'] .zh-article { font-family: "ZCOOL XiaoWei", var(--font-serif); letter-spacing: .04em; }
[data-font='song'] .zh-article { font-family: "KingHwa_OldSong", var(--font-serif); letter-spacing: .03em; }

.zh-article p { margin: 0 0 1.1em; }
/* 小节标题：上方一行小号序号，标题用衬线，留足呼吸 */
.zh-article h2 {
  counter-increment: sec; font-family: var(--font-display); font-weight: 700; color: var(--text);
  font-size: 1.32em; line-height: 1.5; letter-spacing: .02em; margin: 2.6em 0 1em; text-align: left;
  text-wrap: balance; scroll-margin-top: 76px; word-break: keep-all; overflow-wrap: anywhere;
}
.zh-article h2::before {
  content: counter(sec, decimal-leading-zero); display: block; margin-bottom: .55em;
  font: 400 .62em/1 var(--font-display); letter-spacing: .2em; color: var(--muted); font-variant-numeric: lining-nums;
}
.zh-article h3 { font-family: var(--font-display); font-weight: 700; color: var(--text); font-size: 1.08em; line-height: 1.6; margin: 1.9em 0 .7em; scroll-margin-top: 76px; text-align: left; }
.zh-article strong { color: var(--text); font-weight: 650; }
.zh-article a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: .25em; text-decoration-thickness: 1px; }
.zh-article a:hover { text-decoration-color: currentColor; }
/* em：中文用着重号，西文保留斜体 */
.zh-article em { font-style: normal; text-emphasis: filled dot; -webkit-text-emphasis: filled dot; text-emphasis-position: under right; -webkit-text-emphasis-position: under; text-emphasis-color: var(--muted); -webkit-text-emphasis-color: var(--muted); }
.zh-article em.latin { font-style: italic; text-emphasis: none; -webkit-text-emphasis: none; }

/* 引语 → 杂志摘句：上下细线收束，衬线放大，开引号悬挂在行外，说话人另起一行 */
.zh-article blockquote {
  margin: 2em 0; padding: 1.15em 0 1.2em; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 1.1em; line-height: 1.85; color: var(--text); text-align: left;
}
.zh-article blockquote.hang { text-indent: -.5em; }
.zh-article blockquote p { margin: 0; }
.zh-article blockquote cite { display: block; margin-top: .7em; text-indent: 0; font: normal 500 12px/1.4 var(--font-sans); letter-spacing: .16em; color: var(--muted); }
.zh-article blockquote cite::before { content: '—— '; letter-spacing: 0; }

/* 列表：方块项目符号（与文末终止符同一语汇）+ 细线分隔，像杂志的「要点」栏 */
.zh-article ul, .zh-article ol { list-style: none; margin: 1.4em 0 1.6em; padding: 0; border-top: 1px solid var(--rule); }
.zh-article li { position: relative; padding: .75em 0 .75em 1.6em; border-bottom: 1px solid var(--line); margin: 0; }
.zh-article ul > li::before { content: ''; position: absolute; left: .2em; top: calc(.75em + (var(--read-lh) * 1em - .4em) / 2); width: .4em; height: .4em; background: var(--text); }
.zh-article ol { counter-reset: li; }
.zh-article ol > li { counter-increment: li; padding-left: 2.2em; }
.zh-article ol > li::before { content: counter(li, decimal-leading-zero); position: absolute; left: 0; top: .75em; font: 400 .82em/calc(var(--read-lh) * 1.22em) var(--font-display); color: var(--muted); font-variant-numeric: tabular-nums lining-nums; }
.zh-article li > p { margin: 0; }
.zh-article hr { border: 0; text-align: center; margin: 2.4em 0; height: 1em; }
.zh-article hr::before { content: '◆ ◆ ◆'; font-size: .5em; letter-spacing: 1.2em; color: var(--text-faint); }
.zh-article img { max-width: 100%; }

/* 首字下沉（只在首字是汉字时由脚本加 .dropcap） */
html:not(.indent) .zh-article p.dropcap::first-letter {
  float: left; font-family: var(--font-display); font-weight: 700; color: var(--text);
  font-size: calc(var(--read-lh) * 2em - .3em); line-height: 1; margin: .12em .16em 0 0;
}
/* 文末终止符：纽约客式小方块 */
.zh-article .end-mark::after { content: ''; display: inline-block; width: .55em; height: .55em; margin-left: .45em; background: var(--text); vertical-align: 0; }
/* 段首缩进模式（传统书刊排法） */
html.indent .zh-article p { text-indent: 2em; margin-bottom: .5em; }
html.indent .zh-article blockquote p, html.indent .zh-article li p { text-indent: 0; }

.ts-link, .tr-count { font-variant-numeric: tabular-nums; }
.tr-tools { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.tr-search { flex: 1; max-width: 320px; background: transparent; color: var(--text); border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; padding: 7px 2px; font-size: 13.5px; outline: none; }
.tr-search:focus { border-bottom-color: var(--rule); }
.tr-count { color: var(--muted); font-size: 12.5px; display: inline-flex; align-items: center; gap: 4px; }
.tr-count button { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 6px; width: 24px; height: 24px; cursor: pointer; font-size: 12px; line-height: 1; }
.tr-count button:hover { color: var(--text); border-color: var(--line-strong); }
.tr-hint { color: var(--text-faint); font-size: 12.5px; }
.transcript-text { white-space: pre-wrap; font-family: var(--font-display); font-size: 15.5px; line-height: 1.85; color: var(--text-soft); max-height: 72vh; overflow-y: auto; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--line); padding: 20px 4px; }
.transcript-text mark.cur { outline: 2px solid var(--accent); }
.ts-link { color: var(--text); font-family: var(--font-sans); font-size: .82em; font-weight: 600; cursor: pointer; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.ts-link:hover { text-decoration-color: currentColor; }
.ep-notice { color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; margin-bottom: 28px; text-align: center; }
.ep-notice a { color: var(--text); }

/* 资源与出处 */
.ep-resources { border-top: 1px solid var(--rule); margin-top: 52px; padding-top: 18px; }
.ep-resources h2 { font-family: var(--font-sans); font-size: 11.5px; color: var(--muted); font-weight: 500; letter-spacing: .16em; margin-bottom: 14px; }
.ep-resources ul { list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
.ep-resources li { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.res-k { color: var(--muted); flex-shrink: 0; width: 34px; }
.ep-resources a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.ep-resources a:hover { text-decoration-color: currentColor; }
.res-sub { color: var(--text-faint); font-size: 12px; }

/* 上一期 / 下一期 */
.ep-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 44px 0 64px; border-top: 1px solid var(--line); padding-top: 22px; }
.ep-prevnext a { min-width: 0; color: var(--text); text-decoration: none; display: flex; flex-direction: column; gap: 7px; }
.ep-prevnext a[rel='next'] { text-align: right; grid-column: 2; }
.pn-t { font-family: var(--font-display); font-size: 17px; font-weight: 700; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ep-prevnext a:hover .pn-t { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* 悬浮迷你播放条 / 提示条 */
/* iOS Safari：地址栏随滚动收起/展开时布局视口与可视视口高度不一致，
   bottom 锚定的浮动元素会被推出屏幕可视区（按钮被“切掉”）；
   --vv-off 由内联脚本按可视视口实时校准，env() 处理全面屏底部安全区 */
.mini-player {
  position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px) + var(--vv-off, 0px)); z-index: 90; width: min(560px, calc(100vw - 24px));
  background: var(--bg-glass2); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)) 8px;
  transform: translate(-50%, 140%); opacity: 0; visibility: hidden;
  transition: transform .28s cubic-bezier(.3,.7,.2,1), opacity .2s ease, visibility .28s;
}
.mini-player.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.resume-toast { padding-left: 22px; }
.mp-play { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; border: 0; cursor: pointer; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; }
.mp-play svg { width: 16px; height: 16px; }
.mp-body { flex: 1; min-width: 0; }
.mp-title { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-row { display: flex; align-items: center; gap: 8px; margin-top: 5px; }
.mp-bar { flex: 1; height: 2px; background: var(--bar-bg); overflow: hidden; }
.mp-fill { height: 100%; width: 0; background: var(--accent); }
.mp-time { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mp-close { background: none; border: 0; color: var(--muted); width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 18px; line-height: 1; }
.mp-close:hover { color: var(--text); background: var(--card); }

#toTop { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px) + var(--vv-off, 0px)); z-index: 80; width: 40px; height: 40px; border-radius: 50%; background: var(--bg2); color: var(--text); border: 1px solid var(--line); cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease; transform: translateY(6px); display: flex; align-items: center; justify-content: center; }
#toTop svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#toTop.show { opacity: 1; visibility: visible; transform: none; }
body.mini-on #toTop { bottom: calc(88px + env(safe-area-inset-bottom, 0px) + var(--vv-off, 0px)); }
#toTop:hover { border-color: var(--line-strong); }

/* ---------- 页脚：墨色通栏 ---------- */
.site-footer { --f-bg: #111111; --f-text: #f2f2ef; --f-soft: #b9b9b4; --f-faint: #7a7a76; --f-line: rgba(255,255,255,.14);
  background: var(--f-bg); color: var(--f-text); margin-top: 72px; }
[data-theme='dark'] .site-footer { --f-bg: #0b0b0b; }
[data-theme='sepia'] .site-footer { --f-bg: #2f2618; --f-text: #f5eddc; --f-soft: #cfc2a8; --f-faint: #9a8c72; --f-line: rgba(245,237,220,.16); }
.ft-top { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 56px 0 36px; border-bottom: 1px solid var(--f-line); }
.ft-mark { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; text-decoration: none; letter-spacing: -.005em; }
.ft-mark span { font-weight: 500; }
.ft-tag { font-family: var(--font-display); font-size: 17px; color: var(--f-soft); }
.ft-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; padding: 36px 0 44px; }
.ft-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 14px; }
.ft-col h2 { font-family: var(--font-sans); font-size: 11.5px; font-weight: 500; letter-spacing: .16em; color: var(--f-faint); margin-bottom: 6px; }
.ft-col a, .ft-col > button { color: var(--f-soft); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font-size: 14px; text-align: left; }
.ft-col a:hover, .ft-col > button:hover { color: var(--f-text); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.ft-support p { font-family: var(--font-display); font-size: 15.5px; line-height: 1.85; color: var(--f-soft); max-width: 26em; }
.ft-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.ft-btn { background: var(--f-text); color: var(--f-bg); border: 1px solid var(--f-text); border-radius: 999px; padding: 9px 20px; font-size: 13.5px; font-weight: 600; letter-spacing: .06em; cursor: pointer; transition: opacity .15s ease, transform .15s ease; }
.ft-btn:hover { opacity: .88; }
.ft-btn:active { transform: scale(.97); }
.ft-btn.ghost { background: none; color: var(--f-text); border-color: var(--f-line); }
.ft-btn.ghost:hover { border-color: var(--f-text); opacity: 1; }
.ft-bottom { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding: 18px 0 40px; border-top: 1px solid var(--f-line); color: var(--f-faint); font-size: 12px; line-height: 1.8; }

/* ---------- 文末「致读者」 ---------- */
.colophon { margin: 56px 0 8px; padding: 26px 0 28px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--line); text-align: center; }
.colo-k { font-size: 11.5px; letter-spacing: .2em; color: var(--muted); }
.colophon p { font-family: var(--font-display); font-size: 16px; line-height: 1.95; color: var(--text-soft); max-width: 32em; margin: 14px auto 0; text-wrap: pretty; }
.colo-actions { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.colophon .ft-btn { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.colophon .ft-btn.ghost { background: none; color: var(--text); border-color: var(--line-strong); }
.colophon .ft-btn.ghost:hover { border-color: var(--rule); }
.colo-link { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.colo-link:hover { color: var(--text); }

/* ---------- 单集目录 ---------- */
.ar-main { max-width: 900px; }
.ar-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; background: var(--bg-glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.ar-nav a { font-family: var(--font-display); font-size: 15px; color: var(--muted); text-decoration: none; font-variant-numeric: lining-nums; }
.ar-nav a:hover { color: var(--text); }
.ar-year { padding-top: 44px; scroll-margin-top: 50px; }
.ar-year h2 { font-family: var(--font-display); font-size: 34px; font-weight: 700; border-bottom: 1px solid var(--rule); padding-bottom: 10px; font-variant-numeric: lining-nums; }
.ar-year h2 small { font-family: var(--font-sans); font-size: 12.5px; font-weight: 400; color: var(--muted); margin-left: 12px; letter-spacing: .08em; }
.ar-year ol { list-style: none; }
.ar-year li a { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.ar-n { font-family: var(--font-display); font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums lining-nums; }
.ar-t { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ar-t b { font-family: var(--font-display); font-weight: 700; font-size: 16.5px; line-height: 1.5; }
.ar-t i { font-family: var(--font-display); font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ar-year li a:hover b { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.ar-d { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; display: flex; gap: 10px; white-space: nowrap; }
.ar-zh { color: var(--red); letter-spacing: .1em; }

.modal { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-card { background: var(--bg2); color: var(--text); border-radius: 16px; padding: 28px 24px 22px; box-shadow: var(--shadow); max-width: 320px; width: 100%; text-align: center; position: relative; }
.modal-card h3 { font-family: var(--font-display); font-size: 19px; }
.modal-card img { width: 220px; height: 220px; object-fit: contain; margin: 14px auto; display: block; background: #fff; padding: 6px; }
.modal-close { position: absolute; top: 10px; right: 14px; background: none; border: 0; color: var(--muted); font-size: 24px; cursor: pointer; }
.modal-sub { color: var(--muted); font-size: 13px; }
.modal-links { margin-top: 8px; font-size: 13px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 26px; padding-top: 30px; }
  .search-kbd { display: none; }
}
@media (max-width: 760px) {
  .toolbar-inner { flex-wrap: wrap; gap: 0 20px; }
  .search-box { flex-basis: 100%; border-bottom: 1px solid var(--line); }
  .filters { flex: 1; gap: 20px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  /* 移动端取消工具栏固顶：让搜索/筛选/tag 随页面滚走，不常驻占屏 */
  .toolbar { position: static; backdrop-filter: none; -webkit-backdrop-filter: none; }
    .mast-title { font-size: 32px; }
  .mast-title span { display: block; font-size: .6em; margin-top: 6px; }
  .mast-sub { font-size: 11px; letter-spacing: .14em; margin-top: 10px; }
  .masthead .wrap::after { margin-top: 16px; }
  .mast-nav { display: none; }
  /* 触控目标放大到 44px（WCAG 2.5.5 / iOS HIG），并扩大热区但不改变视觉尺寸 */
  .menu-toggle { display: inline-flex; width: 44px; height: 44px; }
  .theme-toggle { width: 44px; height: 44px; }
  .hdr-icon { width: 44px; height: 44px; }
  .i18n-btn { width: 44px; height: 44px; }
  .mast-menu.open {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px;
    position: absolute; top: calc(100% + 8px); right: 0; width: 232px; z-index: 90;
    padding: 8px; background: var(--bg); border: 1px solid var(--line);
    border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,.12);
  }
  .mast-menu a { padding: 11px 12px; font-size: 14px; color: var(--muted); text-decoration: none; border-radius: 6px; }
  .mast-menu a:hover { background: var(--card); color: var(--text); }
  .mast-menu a[aria-current="page"] { color: var(--text); font-weight: 600; background: var(--card); }
  #search { font-size: 16px; } /* 16px 防 iOS 聚焦缩放 */
  /* 移动端筛选区重构：tabs 独占一行做分段控制器；排序/随机并排成带文字的动作按钮 */
  .toolbar-inner { gap: 10px; }
  .filters {
    flex: 0 0 100%; gap: 4px; padding: 4px;
    background: var(--bg2); border: 1px solid var(--line); border-radius: 10px;
  }
  .filters button {
    flex: 1 1 0; justify-content: center; min-height: 38px; padding: 0 3px;
    border: 0; border-bottom: 0; border-radius: 7px; font-size: 12.5px; letter-spacing: -.01em;
  }
  .filters button.on { border-bottom: 0; background: var(--card); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
  .filters .n { font-size: 10.5px; margin-left: 2px; }
  .sort-btn, .random-btn {
    flex: 1 1 0; justify-content: center; gap: 5px; height: 40px; padding: 0 8px; margin: 0;
    border: 1px solid var(--line); border-radius: 8px; background: var(--bg2);
    color: var(--text-soft); font-size: 12.5px;
  }
  .sort-btn svg, .random-btn svg { width: 15px; height: 15px; }
  .sort-btn span, .random-btn span { display: inline; }
  .chip { min-height: 40px; display: inline-flex; align-items: center; padding-left: 16px; padding-right: 16px; }
  /* 话题标签默认收起为一行，点「更多话题」展开全部 */
  .tag-row { gap: 8px; margin-top: 12px; }
  .tag-row .chip:nth-child(n+6) { display: none; }
  .tag-row.expanded .chip:nth-child(n+6) { display: inline-flex; }
  .tag-more { display: inline-flex !important; min-height: 40px; }
  .toolbar .tag-row { padding-bottom: 2px; }
  .hero { padding: 22px 0 30px; gap: 20px; }
  .hero-cta { padding-top: 8px; padding-bottom: 8px; }
  .hero-title { font-size: 25px; }
  .hero-desc { font-size: 15.5px; }
  .result-line { padding-top: 32px; }
  .result-line h2 { font-size: 20px; }
  /* 手机端：图右文左的紧凑列表 */
  .grid { grid-template-columns: 1fr; gap: 0; padding-top: 2px; }
  .card { flex-direction: row-reverse; gap: 14px; border-bottom: 1px solid var(--line); padding: 16px 0; }
  .card .thumb { width: 104px; flex-shrink: 0; align-self: flex-start; margin-top: 3px; }
  .card-body { padding: 0; flex: 1; min-width: 0; gap: 5px; }
  .card-title { font-size: 16px; }
  .card-title-en, .card-desc { display: none; }
  .continue-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .cont-item { scroll-snap-align: start; }

  .wordmark { font-size: 17px; }
  .chan-nav { margin: 4px -18px 0; padding: 0 6px; }
  .ep-head { padding: 34px 0 26px; }
  .ep-dek { font-size: 16.5px; }
  .zh-article { text-align: left; } /* 窄屏两端对齐会把中西文混排撑出大空隙 */
  .zh-article blockquote { font-size: 1.04em; }
  .media.has-audio:not(.video-open) .video-facade { display: none; }
  .ap-line2 .ap-video { display: inline-flex; }
  .audio-player { padding-left: 0; }
  .ep-prevnext { grid-template-columns: 1fr; gap: 22px; }
  .ep-prevnext a[rel='next'] { grid-column: auto; text-align: left; }
  .tool-btn .lbl { display: none; }
  /* 详情页工具栏图标按钮补足 40px 热区 */
  .tool-btn { min-width: 40px; height: 40px; justify-content: center; padding: 0 10px; }
  /* 文稿「译」按钮：触摸设备放大热区（视觉不变），便于点按 */
  .tr-btn { width: 34px; height: 34px; font-size: 14px; }
  .transcript-text > p { padding-right: 42px; }
  .tr-pop { margin-right: 42px; }
  .pop { width: min(340px, calc(100vw - 24px)); }
  #toTop { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px) + var(--vv-off, 0px)); }
  .ft-top { padding: 40px 0 26px; }
  .ft-cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .ft-support { grid-column: 1 / -1; }
  .ar-year li a { grid-template-columns: 40px minmax(0, 1fr); }
  .ar-d { grid-column: 2; }
  .ar-year h2 { font-size: 28px; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .ft-cols { grid-template-columns: repeat(3, 1fr); }
  .ft-support { grid-column: 1 / -1; }
}

@media print {
  .site-header, .masthead, .toolbar, .media, .tabs, .ep-toc, .ep-resources, .ep-prevnext, .site-footer, #toTop, .mini-player { display: none !important; }
  body { background: #fff; color: #000; }
  body.epjs .tab-panel { display: none; }
  body.epjs #panel-zh { display: block; }
}

/* ---------- 404 / 离线页 ---------- */
.special .ep-head { padding-top: 90px; }
.special-actions { display: flex; justify-content: center; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.special-actions a { text-decoration: none; }
.more-btn.ghost { border-color: var(--line-strong); color: var(--muted); }
.special-list { border-top: 1px solid var(--rule); margin: 30px 0 40px; }
.special-list h2 { font-size: 11.5px; letter-spacing: .16em; color: var(--muted); font-weight: 500; padding: 14px 0 6px; }
.special-list ol { list-style: none; }
.special-list a { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.special-list b { font-family: var(--font-display); font-size: 16.5px; }
.special-list i { font-style: normal; font-size: 12px; color: var(--muted); white-space: nowrap; }
.special-list a:hover b { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.install-steps { text-align: left; margin: 18px 6px 4px; padding-left: 1.3em; font-size: 14px; line-height: 2; color: var(--text-soft); }
.install-steps svg { display: inline-block; width: 17px; height: 17px; vertical-align: -3px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
button.colo-link { background: none; border: 0; cursor: pointer; padding: 0; }

/* 缩略图加载完成后淡入，避免灰块闪烁 */
.thumb img, .cont-thumb img, .hero-media img { opacity: 0; }
.thumb img.ok, .cont-thumb img.ok, .hero-media img.ok { opacity: 1; transition: opacity .45s ease, transform .6s cubic-bezier(.2,.7,.2,1), filter .45s ease; }
.no-js .thumb img { opacity: 1; }

/* 站内跳转时的淡入淡出过渡（支持的浏览器） */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* 语言切换器（简 / 繁 / EN）：首页在报头右侧，内页在操作区左端 */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; font-size: 12.5px; line-height: 1; }
.lang-switch a { color: var(--muted); text-decoration: none; padding: 5px 8px; border-radius: 999px; letter-spacing: .02em; white-space: nowrap; }
.lang-switch a:hover { color: var(--text); background: var(--card); }
.lang-switch a[aria-current="true"] { color: var(--text); background: var(--card); }
.header-actions .lang-switch { margin-right: 8px; }
@media (max-width: 599px) { .mast-actions .lang-switch a { padding: 5px 6px; } }

/* 单集页英文版顶部的中文精读入口 */
.ep-also { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.ep-also a { color: var(--text); }

/* =========================================================
   马斯克全访谈 · 新增组件
   ========================================================= */

/* 首页报头快捷链接 */
.mast-links { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; margin-top: 18px; font-size: 14px; }
.mast-links a { color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 1px; }
.mast-links a:hover { color: var(--text); border-color: var(--line-strong); }

/* 标签筛选行（在吸顶工具条内时，与底部分隔线拉开距离） */
.toolbar .tag-row { padding-bottom: 14px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tag-row .chip { border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: 5px 13px; font-size: 13px; color: var(--muted); cursor: pointer; }
.tag-row .chip:hover { color: var(--text); border-color: var(--line-strong); }
.tag-row .chip.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.tag-more { display: none; align-items: center; gap: 4px; border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: 5px 13px; font-size: 13px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.tag-more svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.tag-more[aria-expanded="true"] svg { transform: rotate(180deg); }

/* 区块标题 */
.sec-title { font: 700 21px/1.3 var(--display, inherit); margin: 0 0 16px; display: flex; align-items: baseline; gap: 12px; }
.sec-title small { font: 400 13.5px/1.4 var(--text, inherit); color: var(--muted); }
.picks { margin-top: 34px; }

/* 必看精选横排 */
.pick-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 280px); gap: 14px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.pick-row::-webkit-scrollbar { height: 6px; }
.pick-row::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.pick-card { scroll-snap-align: start; text-decoration: none; color: inherit; background: var(--card); border-radius: 10px; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.pick-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.pick-thumb { aspect-ratio: 16/9; background: var(--thumb-bg); overflow: hidden; }
.pick-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pick-body { padding: 10px 12px 12px; }
.pick-title { font-size: 14.5px; font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pick-en { font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 599px) { .pick-row { grid-auto-columns: minmax(200px, 240px); } }

/* 视频容器 */
.mp4-player { display: block; width: 100%; max-width: 880px; aspect-ratio: 16/9; background: #000; border-radius: 10px; margin: 0 auto; }
.yt-holder { position: relative; width: 100%; max-width: 880px; aspect-ratio: 16/9; margin: 0 auto; }
.yt-holder iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 10px; }
.media.video-open { max-width: none; }

/* 金句 tab */
.quotes-list { max-width: 720px; margin: 0 auto; }
.quote-item { position: relative; margin: 0 0 18px; padding: 14px 16px 12px 20px; background: var(--trans-bg); border-radius: 8px; font-size: 15.5px; line-height: 1.7; }
.quote-item .q-ts { position: static; display: inline-block; margin-top: 6px; margin-left: 8px; font-size: 12.5px; color: var(--muted); text-decoration: none; border-bottom: 1px dashed var(--line-strong); }
.quote-item .q-ts:hover { color: var(--text); }

/* 预言追踪页 */
.pr-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.pr-card { border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; background: var(--bg); }
.pr-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.pr-status { font-weight: 600; padding: 3px 10px; border-radius: 999px; letter-spacing: .02em; }
.st-kept .pr-status { background: rgba(30,120,70,.12); color: #1e7846; }
.st-late .pr-status { background: rgba(176,124,10,.14); color: #9a7109; }
.st-open .pr-status { background: var(--zh-soft); color: var(--muted); }
.st-missed .pr-status { background: rgba(179,38,30,.12); color: var(--red); }
.pr-topic { font-weight: 600; color: var(--text-soft); }
.pr-said, .pr-dl { font-variant-numeric: tabular-nums; }
.pr-video { margin-left: auto; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.pr-claim { margin: 0 0 8px; font-size: 16.5px; font-weight: 600; line-height: 1.6; }
.pr-quote { margin: 0 0 10px; padding: 10px 14px; background: var(--trans-bg); border-radius: 8px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.pr-outcome { margin: 0 0 8px; font-size: 14.5px; line-height: 1.7; }
.pr-outcome b { color: var(--text-soft); }
.pr-src { margin: 0; font-size: 12.5px; color: var(--text-faint); }
.pr-src a { color: var(--muted); }

/* 语录页 */
.qy-year h2 { font-size: 19px; margin: 34px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; gap: 10px; }
.qy-year h2 small { font-size: 12.5px; font-weight: 400; color: var(--muted); }
.qy-year ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.qy-quote { margin: 0; padding: 12px 16px; background: var(--trans-bg); border-radius: 8px; font-size: 15px; line-height: 1.7; font-style: italic; }
.qy-meta { margin: 6px 0 0; font-size: 12.5px; color: var(--text-faint); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.qy-kind { font-weight: 600; color: var(--text-soft); border: 1px solid var(--line-strong); border-radius: 4px; padding: 0 5px; font-size: 11.5px; }
.qy-src-text { max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qy-src { color: var(--muted); }

/* 主题页 */
.th-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; max-width: 980px; margin: 0 auto; }
.th-card { border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; background: var(--bg); }
.th-emoji { font-size: 26px; margin-bottom: 8px; }
.th-card h2 { font-size: 18px; margin: 0 0 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.th-card h2 span { font-size: 12.5px; font-weight: 400; color: var(--text-faint); }
.th-card p { margin: 0; font-size: 14.5px; line-height: 1.8; color: var(--text-soft); }
.th-meta { margin-top: 12px !important; font-size: 12.5px !important; color: var(--text-faint) !important; }
.th-tag { margin-left: 8px; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line-strong); }

/* 预言 / 语录 / 主题页正文宽度与打印 */
.ar-nav { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 0 0 8px; font-size: 13px; }
.ar-nav a { color: var(--muted); text-decoration: none; }
.ar-nav a:hover { color: var(--text); }

/* ---------- 视频页：大播放器 + 小窗 ---------- */
.ep-main.ep-page { max-width: calc(var(--measure) + var(--toc-w) + 72px + 48px); }
.ep-page > .ep { width: 100%; max-width: var(--measure); margin: 0 auto; }
.ep-page > .ep-toc { display: none; }
@media (min-width: 1180px) {
  .ep-main.ep-page.has-toc > .ep-stage { grid-column: 1 / -1; }
  .ep-main.ep-page.has-toc > .ep { max-width: none; margin: 0; }
  .ep-main.ep-page.has-toc > .ep-toc { display: block; }
}
.ep-stage .media { position: relative; margin: 0 0 40px; }
.ep-stage .media:not(.has-audio) .video-facade,
.ep-stage .media iframe,
.ep-stage .mp4-player { display: block; width: min(100%, calc((100vh - 150px) * 16 / 9)); aspect-ratio: 16 / 9; height: auto; margin: 0 auto; border-radius: 0; background: #000; }
.ep-stage .yt-holder { max-width: none; width: min(100%, calc((100vh - 150px) * 16 / 9)); }
.ep-stage .vf-play { font-size: 16px; }
.pin-close { display: none; }
.media.pinned { --pin-w: min(400px, 62vw); }
.media.pinned iframe, .media.pinned .mp4-player {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px) + var(--vv-off, 0px)); z-index: 95;
  width: var(--pin-w); height: auto; aspect-ratio: 16 / 9; margin: 0; border-radius: 10px; box-shadow: var(--shadow);
}
.media.pinned .pin-close {
  display: flex; align-items: center; justify-content: center; position: fixed; z-index: 96;
  right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px) + var(--vv-off, 0px) + var(--pin-w) * 9 / 16 + 6px);
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg2); color: var(--text);
  font-size: 17px; line-height: 1; cursor: pointer; box-shadow: var(--shadow);
}
body.has-pin #toTop { display: none; }
@media (max-width: 640px) {
  .ep-stage .media { margin-left: -18px; margin-right: -18px; margin-bottom: 28px; }
  .media.pinned iframe, .media.pinned .mp4-player { right: 12px; }
  .media.pinned .pin-close { right: 12px; }
}

/* 浮动提示：继续阅读 / 从某秒开始播放（与小窗播放条同款） */
.mini-player.resume-toast { justify-content: space-between; }

/* ---------- 文稿段落 ---------- */
.transcript-text { white-space: normal; }
.transcript-text p { margin: 0 0 1.05em; }
.transcript-text .ts-link { margin-right: .6em; }
.transcript-text p.hit { background: var(--zh-soft); box-shadow: -10px 0 0 var(--zh-soft), 10px 0 0 var(--zh-soft); border-radius: 2px; }
.tr-all { margin-left: auto; font-size: 12.5px; color: var(--text-soft); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; white-space: nowrap; }
.tr-all:hover { color: var(--text); }

/* ---------- 金句与语录：中英双语 ---------- */
.quote-item.bi { padding: 16px 18px 12px 20px; }
.bi .q-zh { margin: 0; font-family: var(--font-display); font-size: 16.5px; line-height: 1.85; color: var(--text); font-style: normal; }
.bi .q-en { margin: 8px 0 0; font-family: var(--font-display); font-size: 13.5px; line-height: 1.65; color: var(--muted); font-style: italic; }
.q-foot { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.quote-item .q-foot .q-ts { margin: 0; }
.q-copy { background: none; border: 0; padding: 0; color: var(--text-faint); font-size: 12.5px; cursor: pointer; }
.q-copy:hover { color: var(--text); }
.qy-quote.bi { font-style: normal; }

/* ---------- 首页 → 文稿搜索 ---------- */
.sr-jump { font-size: 13px; color: var(--text-soft); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; white-space: nowrap; }
.sr-jump:hover { color: var(--text); }
.empty .sr-jump { display: inline-block; margin-top: 12px; }

/* ---------- 文稿搜索页 ---------- */
.sr-main { max-width: 880px; padding-bottom: 40px; }
.sr-head { padding-bottom: 26px; }
.sr-form { position: relative; display: flex; align-items: center; border-bottom: 2px solid var(--rule); }
.sr-form .i-search { position: absolute; left: 2px; width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; pointer-events: none; }
#srq { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: var(--text); font: 400 19px/1.4 var(--font-sans); padding: 14px 64px 12px 34px; }
#srq::placeholder { color: var(--text-faint); }
#srq::-webkit-search-cancel-button { display: none; }
.sr-clear { position: absolute; right: 0; background: none; border: 0; color: var(--muted); font-size: 13px; cursor: pointer; padding: 6px; }
.sr-clear:hover { color: var(--text); }
.sr-tip { margin: 10px 0 0; font-size: 12.5px; color: var(--text-faint); line-height: 1.7; }
.sr-tip code { font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: var(--text-soft); background: var(--card); padding: 1px 5px; border-radius: 4px; }
.sr-loading, .sr-empty p { color: var(--muted); font-size: 14px; text-align: center; padding: 36px 0 8px; margin: 0; }
.sr-presets { margin-top: 34px; }
.sr-presets h2 { font-size: 11.5px; letter-spacing: .16em; color: var(--muted); font-weight: 500; margin: 0 0 12px; }
.sr-presets .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sr-interp { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 22px; font-size: 13px; color: var(--muted); }
.sr-k { font-size: 11.5px; letter-spacing: .14em; margin-right: 2px; }
.sr-g { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; }
.sr-g b { color: var(--text); font-weight: 600; }
.sr-g i { font-style: normal; color: var(--text-faint); font-size: 12px; }
.sr-zh { color: var(--text-faint); margin-right: 4px; }
.sr-zh::after { content: '→'; margin-left: 4px; }
.sr-and { color: var(--text-faint); }
.sr-unk { color: var(--text-faint); }
.sr-line { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; margin-top: 26px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.sr-line h2 { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin: 0; }
.sr-line h2 small { font-family: var(--font-sans); font-size: 12.5px; color: var(--muted); font-weight: 400; margin-left: 12px; letter-spacing: .06em; }
.sr-sort { display: inline-flex; gap: 2px; background: var(--card); border-radius: 999px; padding: 3px; }
.sr-sort button { background: none; border: 0; border-radius: 999px; padding: 5px 12px; font-size: 12.5px; color: var(--muted); cursor: pointer; }
.sr-sort button[aria-pressed='true'] { background: var(--bg2); color: var(--text); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.sr-hist { margin: 18px 0 4px; }
.sr-hist-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 11.5px; letter-spacing: .12em; color: var(--muted); margin-bottom: 8px; }
.sr-hist-h small { letter-spacing: .02em; font-size: 12px; color: var(--text-faint); }
.sr-hist-h small button { background: none; border: 0; padding: 0; color: var(--text-soft); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 12px; }
.sr-bars { display: flex; align-items: flex-end; gap: 3px; height: 92px; }
.sr-bar { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; background: none; border: 0; padding: 0; cursor: pointer; color: var(--text-faint); }
.sr-bar:disabled { cursor: default; }
.sr-bar-f { display: block; width: 100%; max-width: 26px; background: var(--line-strong); border-radius: 2px 2px 0 0; transition: background-color .15s ease; }
.sr-bar:not(:disabled):hover .sr-bar-f { background: var(--muted); }
.sr-bar.on .sr-bar-f { background: var(--rule); }
.sr-bar-n { font-size: 10px; line-height: 1.4; font-variant-numeric: tabular-nums; min-height: 14px; }
.sr-bar-y { font-size: 10px; line-height: 1.6; margin-top: 3px; font-variant-numeric: tabular-nums; border-top: 1px solid var(--line); width: 100%; text-align: center; }
.sr-bar.on .sr-bar-y, .sr-bar.on .sr-bar-n { color: var(--text); font-weight: 600; }
.sr-evo { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.sr-list { margin-top: 8px; }
.sr-ep { padding: 22px 0 18px; border-bottom: 1px solid var(--line); }
.sr-ep-h { display: flex; gap: 16px; align-items: flex-start; text-decoration: none; }
.sr-thumb { flex-shrink: 0; width: 128px; aspect-ratio: 16 / 9; background: var(--card); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.sr-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.sr-thumb .no-img { font: 700 16px/1 var(--font-display); color: var(--text-faint); letter-spacing: .2em; }
.sr-ep-t { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.sr-kicker { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.sr-title { font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.45; color: var(--text); }
.sr-ep-h:hover .sr-title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.sr-en { font-family: var(--font-display); font-style: italic; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-hits { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.sr-hit { display: flex; gap: 14px; align-items: baseline; padding: 9px 10px; margin: 0 -10px; border-radius: 8px; text-decoration: none; color: var(--text-soft); }
.sr-hit:hover { background: var(--zh-soft); color: var(--text); }
.sr-ts { flex-shrink: 0; width: 52px; text-align: right; font: 600 12.5px/1.7 var(--font-sans); color: var(--text); font-variant-numeric: tabular-nums; }
.sr-hit:hover .sr-ts { text-decoration: underline; text-underline-offset: 3px; }
.sr-snip { font-family: var(--font-display); font-size: 15px; line-height: 1.75; }
.sr-snip mark { font-weight: 600; }
.sr-expand { margin: 6px 0 0 66px; background: none; border: 0; padding: 0; font-size: 12.5px; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.sr-expand:hover { color: var(--text); }
.sr-foot { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 28px 0 8px; color: var(--text-faint); font-size: 12.5px; }
@media (max-width: 640px) {
  #srq { font-size: 17px; }
  .sr-thumb { width: 96px; }
  .sr-title { font-size: 15.5px; }
  .sr-hit { gap: 10px; }
  .sr-ts { width: 44px; }
  .sr-expand { margin-left: 54px; }
  .sr-bars { height: 76px; gap: 2px; }
  .sr-bar-n { display: none; }
}

/* 搜索：英文原话 / 中文精读 两个范围 */
.sr-tabs { display: flex; gap: 22px; margin-top: 22px; border-bottom: 1px solid var(--line); }
.sr-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 8px 0 9px; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; display: inline-flex; align-items: baseline; gap: 6px; }
.sr-tabs button small { font-size: 12px; font-weight: 400; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.sr-tabs button[aria-selected='true'] { color: var(--text); border-bottom-color: var(--rule); }
.sr-tabs button:disabled { cursor: default; opacity: .55; }
.sr-tabs + .sr-line { margin-top: 18px; }
.sr-gt { font-size: 10.5px; color: var(--text-faint); border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; margin-left: 2px; letter-spacing: .02em; }
.sr-g .sr-unk { font-size: 11.5px; margin-left: 2px; }
.sr-hit-zh .sr-ts { font-weight: 500; font-size: 11.5px; color: var(--muted); letter-spacing: .08em; }
.sr-hit-zh .sr-snip { font-family: var(--font-zh, var(--font-display)); font-size: 15px; }
.zh-article .z-hit { background: var(--zh-soft); box-shadow: -10px 0 0 var(--zh-soft), 10px 0 0 var(--zh-soft); border-radius: 2px; }

/* =========================================================
   数据洞察：话题趋势 / 档案数据 / 马斯克时间
   ========================================================= */
:root { --c1: #111111; --c2: #b3261e; --c3: #2f6db5; --c4: #c08a12; --ok: #1e7846; --late: #c08a12; --miss: #b3261e; }
:root[data-theme='sepia'] { --c1: #2f2618; --c2: #9c2f1c; --c3: #3e6a9a; --c4: #a87510; --ok: #2f6b3c; --late: #a87510; --miss: #9c2f1c; }
:root[data-theme='dark'] { --c1: #ebebe8; --c2: #e2675b; --c3: #6fa4e6; --c4: #e0b44a; --ok: #5cbf86; --late: #e0b44a; --miss: #e2675b; }
.ins-main { max-width: 1000px; padding-bottom: 48px; }
.ins-sec { margin: 0 0 56px; }
.ins-h { border-top: 1px solid var(--rule); padding-top: 14px; margin-bottom: 18px; }
.ins-h h2 { font-family: var(--font-display); font-size: 24px; font-weight: 700; line-height: 1.35; margin: 0; }
.ins-h p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.8; color: var(--text-soft); max-width: 46em; }
.ins-note { margin: 12px 0 0; font-size: 12.5px; line-height: 1.7; color: var(--text-faint); }
.ins-two { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0 40px; }
@media (max-width: 760px) { .ins-two { grid-template-columns: 1fr; } }

/* 话题热力图 */
.hm-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -4px; padding: 0 4px 6px; }
.hm { border-collapse: separate; border-spacing: 3px; width: 100%; min-width: 480px; font-variant-numeric: tabular-nums; }
.hm th, .hm td { padding: 0; }
.hm thead th { font-size: 11px; font-weight: 500; color: var(--muted); text-align: center; padding-bottom: 4px; }
.hm thead .hm-corner { text-align: left; letter-spacing: .14em; }
.hm tbody th[scope='row'] { position: sticky; left: 0; z-index: 1; background: var(--bg); text-align: left; font-size: 13.5px; font-weight: 600; white-space: nowrap; padding-right: 10px; min-width: 128px; }
.hm tbody th[scope='row'] a { text-decoration: none; }
.hm tbody th[scope='row'] a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hm tbody th small { display: block; font-size: 11px; font-weight: 400; color: var(--text-faint); line-height: 1.2; }
.hm-grp th { position: sticky; left: 0; background: var(--bg); text-align: left; font-size: 11.5px; font-weight: 500; letter-spacing: .16em; color: var(--muted); padding: 14px 0 4px !important; }
.hm td a { position: relative; display: block; height: 30px; min-width: 20px; border-radius: 3px; background: var(--card); }
.hm td a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--rule); opacity: calc(var(--v) * .92); }
.hm td a:hover { outline: 2px solid var(--red); outline-offset: 1px; z-index: 2; }
@media (max-width: 640px) {
  .hm { border-spacing: 2px; }
  .hm thead th { font-size: 9.5px; letter-spacing: 0; }
  .hm thead .hm-corner { letter-spacing: 0; }
  .hm tbody th[scope='row'] { min-width: 84px; max-width: 96px; white-space: normal; font-size: 12.5px; line-height: 1.3; padding-right: 6px; }
  .hm td a { height: 28px; min-width: 0; border-radius: 2px; }
}

/* 自己比一比：折线图 */
.ng-form { display: flex; gap: 10px; border-bottom: 2px solid var(--rule); }
#ngq { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: var(--text); font: 400 18px/1.4 var(--font-sans); padding: 12px 2px 10px; }
#ngq::placeholder { color: var(--text-faint); }
#ngq::-webkit-search-cancel-button { display: none; }
.ng-go { align-self: center; background: var(--accent); color: var(--on-accent); border: 0; border-radius: 999px; padding: 6px 18px; font-size: 14px; font-weight: 600; cursor: pointer; }
.ng-go:hover { background: var(--accent-hover); }
.ng-presets { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.ng-out { margin-top: 22px; min-height: 120px; }
.ng-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 10px; }
.ng-lg { display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none; font-size: 14px; }
.ng-lg i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; background: var(--lc); transform: translateY(-3px); }
.ng-lg small { color: var(--text-faint); font-size: 12px; font-variant-numeric: tabular-nums; }
.ng-lg:hover b { text-decoration: underline; text-underline-offset: 3px; }
.ng-chart { position: relative; }
.ng-svg { width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
.ng-grid { stroke: var(--line); stroke-width: 1; }
.ng-yl, .ng-xl { fill: var(--muted); font-size: 13px; font-family: var(--font-sans); font-variant-numeric: tabular-nums; }
.ng-yl { text-anchor: end; }
.ng-xl { text-anchor: middle; }
.ng-line path { fill: none; stroke: var(--lc); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.ng-line circle { fill: var(--lc); }
.ng-cursor { stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 3 3; }
.ng-tip { position: absolute; top: 0; transform: translateX(-50%); pointer-events: none; background: var(--bg-glass2); box-shadow: var(--shadow); border-radius: 8px; padding: 7px 10px; font-size: 12.5px; line-height: 1.6; white-space: nowrap; display: flex; flex-direction: column; font-variant-numeric: tabular-nums; }
.ng-tip[hidden] { display: none; }
.ng-tip span { display: flex; align-items: center; gap: 6px; }
.ng-tip span i { width: 8px; height: 8px; border-radius: 50%; background: var(--lc); }

/* 档案数据：大数字 */
.bn-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--line); margin: 0 0 56px; }
.bn { padding: 20px 16px 18px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.bn + .bn { border-left: 1px solid var(--line); }
.bn b { font-family: var(--font-display); font-size: clamp(30px, 5vw, 44px); line-height: 1.15; font-weight: 700; font-variant-numeric: tabular-nums; }
.bn span { font-size: 14px; color: var(--text-soft); }
.bn small { font-size: 12px; color: var(--text-faint); }
@media (max-width: 640px) {
  .bn-row { grid-template-columns: repeat(2, 1fr); }
  .bn:nth-child(3) { border-left: 0; }
  .bn:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* 每年视频数：堆叠柱 */
.k1 { background: var(--c1); } .k2 { background: var(--c2); } .k3 { background: var(--c3); } .k4 { background: var(--c4); } .k5 { background: var(--line-strong); }
.yb-legend, .pt-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.yb-legend span, .pt-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { display: inline-block; width: 12px; height: 12px; border-radius: 2px; }
.yb { display: flex; align-items: flex-end; gap: 3px; }
.yb-col { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.yb-n { font-size: 10.5px; color: var(--muted); line-height: 1.5; font-variant-numeric: tabular-nums; }
.yb-stack { width: 100%; max-width: 30px; height: 200px; display: flex; flex-direction: column-reverse; }
.yb-stack i { display: block; width: 100%; }
.yb-stack i:last-child { border-radius: 2px 2px 0 0; }
.yb-y { font-size: 10.5px; color: var(--text-faint); border-top: 1px solid var(--line); width: 100%; text-align: center; line-height: 1.8; font-variant-numeric: tabular-nums; }
.yb-col:hover .yb-y, .yb-col:hover .yb-n { color: var(--text); font-weight: 600; }
@media (max-width: 640px) { .yb { gap: 1px; } .yb-stack { height: 150px; } .yb-n { font-size: 9px; } .yb-y.odd { color: transparent; } }

/* 横向条形 */
.hb { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.hb li, .hb li > a { display: grid; grid-template-columns: 6.5em 1fr 3.4em; align-items: center; gap: 10px; font-size: 13.5px; }
.hb li > a { grid-column: 1 / -1; text-decoration: none; padding: 4px 6px; margin: 0 -6px; border-radius: 6px; }
.hb li > a:hover { background: var(--zh-soft); }
.hb-long li > a { grid-template-columns: minmax(0, 1fr) 24% auto; }
.hb-long .hb-n { white-space: nowrap; min-width: 6.4em; }
.hb-l { min-width: 0; color: var(--text-soft); }
.hb-long .hb-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-l small { display: block; font-size: 11.5px; color: var(--text-faint); }
.hb-bar { height: 10px; background: var(--card); border-radius: 2px; overflow: hidden; }
.hb-bar i { display: block; height: 100%; background: var(--rule); border-radius: 2px; }
.hb-n { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); font-size: 12.5px; }

/* 口头禅 */
.ph-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
.ph { padding: 14px 0 16px; border-bottom: 1px solid var(--line); min-width: 0; }
.ph-h { display: flex; align-items: baseline; gap: 8px; }
.ph-rank { font-size: 11px; color: var(--text-faint); font-variant-numeric: tabular-nums; width: 1.6em; flex-shrink: 0; }
.ph-en { font-family: var(--font-display); font-size: 19px; font-weight: 700; }
.ph-zh { font-size: 13px; color: var(--muted); white-space: nowrap; }
.ph-bar { flex: 1; min-width: 30px; height: 6px; background: var(--card); border-radius: 3px; overflow: hidden; align-self: center; }
.ph-bar i { display: block; height: 100%; background: var(--red); border-radius: 3px; }
.ph-n { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ph-n small { font-size: 10.5px; font-weight: 400; color: var(--text-faint); margin-left: 1px; }
.ph-note { margin: 4px 0 0 calc(1.6em + 8px); font-size: 13px; color: var(--text-soft); line-height: 1.6; }
.ph-ex { display: block; margin: 8px 0 0 calc(1.6em + 8px); padding: 9px 12px; background: var(--trans-bg); border-radius: 8px; text-decoration: none; }
.ph-ex:hover { background: var(--zh-soft); }
.ph-ts { display: inline-block; font-size: 11.5px; font-weight: 600; color: var(--text); margin-right: 8px; font-variant-numeric: tabular-nums; }
.ph-s { font-family: var(--font-display); font-size: 14px; line-height: 1.65; color: var(--text-soft); }
.ph-s mark { background: var(--mark-bg); color: var(--text); font-weight: 600; }
.ph-src { display: block; margin-top: 4px; font-size: 11.5px; color: var(--text-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 760px) { .ph-list { grid-template-columns: 1fr; } }

/* 精读进度 */
.zp { max-width: 560px; }
.zp-bar { height: 12px; background: var(--card); border-radius: 6px; overflow: hidden; }
.zp-bar i { display: block; height: 100%; background: var(--red); border-radius: 6px; }
.zp p { margin: 10px 0 0; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.zp p b { font-family: var(--font-display); font-size: 22px; color: var(--text); }
.zp a { color: var(--text-soft); }

/* 预言页：马斯克时间 */
.mt { max-width: 960px; margin: 0 auto 56px; }
.mt-k { font-size: 11.5px; letter-spacing: .16em; color: var(--muted); font-weight: 500; border-top: 1px solid var(--rule); padding-top: 14px; }
.mt-big { display: flex; align-items: center; gap: 24px; margin: 14px 0 10px; }
.mt-big b { font-family: var(--font-display); font-size: clamp(52px, 9vw, 84px); line-height: 1; color: var(--red); font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mt-big p { margin: 0; font-family: var(--font-display); font-size: 17px; line-height: 1.8; color: var(--text-soft); max-width: 34em; }
.mt-tip { margin: 0 0 18px; font-size: 13px; color: var(--text-faint); line-height: 1.7; }
@media (max-width: 640px) { .mt-big { flex-direction: column; align-items: flex-start; gap: 8px; } }
.pt { --pt-l: 40%; position: relative; }
.pt-legend .lg { width: 18px; height: 4px; border-radius: 2px; }
.pt-axis { display: grid; grid-template-columns: var(--pt-l) 1fr; position: sticky; top: 0; z-index: 2; background: var(--bg); border-bottom: 1px solid var(--line); }
.pt-axis-in { grid-column: 2; position: relative; height: 24px; }
.pt-tick { position: absolute; bottom: 4px; transform: translateX(-50%); font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pt-now { position: absolute; bottom: 0; top: 0; border-left: 1px dashed var(--red); }
.pt-now b { position: absolute; top: 2px; right: 4px; font-size: 10.5px; font-weight: 600; color: var(--red); white-space: nowrap; }
.pt-rows { list-style: none; margin: 0; padding: 0; }
.pt-row { display: grid; grid-template-columns: var(--pt-l) 1fr; align-items: center; border-bottom: 1px solid var(--line); min-height: 38px; }
.pt-row:hover { background: var(--trans-bg); }
.pt-label { display: flex; align-items: baseline; gap: 8px; padding: 6px 12px 6px 0; min-width: 0; font-size: 13px; line-height: 1.45; }
.pt-st { flex-shrink: 0; font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 999px; background: var(--zh-soft); color: var(--muted); }
.st-kept .pt-st { color: var(--ok); }
.st-late .pt-st { color: var(--late); }
.st-missed .pt-st { color: var(--miss); }
.pt-claim { min-width: 0; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: var(--text-soft); }
.pt-track { position: relative; height: 34px; }
.pt-track::before { content: ''; position: absolute; left: 0; right: 0; top: 23px; border-top: 1px dotted var(--line-strong); }
.pt-track::after { content: ''; position: absolute; left: var(--now); top: 0; bottom: 0; border-left: 1px dashed var(--red); opacity: .35; }
.pt-said { position: absolute; top: 19px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--bg); border: 2px solid var(--rule); z-index: 1; }
.pt-seg { position: absolute; top: 21px; height: 5px; border-radius: 3px; }
.seg-p { background: var(--rule); }
.seg-late { background: var(--late); }
.seg-miss { background: repeating-linear-gradient(90deg, var(--miss) 0 5px, transparent 5px 8px); }
.seg-kept { background: var(--ok); opacity: .75; }
.pt-legend .seg-p, .pt-legend .seg-late, .pt-legend .seg-miss, .pt-legend .seg-kept { position: static; }
.pt-end { position: absolute; top: 18px; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; z-index: 1; border: 2px solid var(--bg); }
.pt-end.st-kept { background: var(--ok); }
.pt-end.st-late { background: var(--late); }
.pt-tag { position: absolute; top: 1px; margin-left: -2px; font-size: 11px; line-height: 1.5; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.st-late .pt-tag { color: var(--late); font-weight: 600; }
.st-missed .pt-tag { color: var(--miss); font-weight: 600; }
@media (max-width: 640px) {
  .pt-row { grid-template-columns: 1fr; padding-top: 4px; }
  .pt-label { padding: 4px 0 0; }
  .pt-axis { grid-template-columns: 1fr; }
  .pt-axis-in { grid-column: 1; }
  .pt-tick { font-size: 10px; }
}
.pr-list-h { max-width: 760px; margin: 0 auto 18px; font-family: var(--font-display); font-size: 24px; font-weight: 700; border-top: 1px solid var(--rule); padding-top: 14px; }

/* 首页：数据洞察入口 */
.ins-cards { margin-top: 34px; }
.ic-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ic { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 16px; background: var(--card); border-radius: 10px; text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; min-width: 0; }
.ic:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.ic-k { font-size: 11px; letter-spacing: .16em; color: var(--muted); }
.ic-t { font-family: var(--font-display); font-size: 19px; font-weight: 700; line-height: 1.35; }
.ic-d { margin-top: auto; padding-top: 6px; font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.ic-big { font-family: var(--font-display); font-size: 58px; line-height: 1.1; font-weight: 700; color: var(--red); margin: 8px 0 4px; font-variant-numeric: tabular-nums; }
.ic-hm { display: flex; flex-direction: column; gap: 2px; margin: 6px 0 0; }
.ic-hm-r { display: grid; grid-template-columns: 3.6em 1fr; align-items: center; gap: 6px; font-size: 11px; color: var(--text-soft); }
.ic-hm-r span { white-space: nowrap; overflow: hidden; }
.ic-hm-r div { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 1.5px; }
.ic-hm-r i { display: block; height: 12px; border-radius: 1.5px; background: var(--rule); opacity: calc(.06 + var(--v) * .9); }
.ic-hm-x { display: flex; justify-content: space-between; margin-left: calc(3.6em + 6px); font-size: 10px; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.ic-ws { display: flex; flex-direction: column; gap: 7px; margin: 8px 0 0; }
.ic-w { display: grid; grid-template-columns: 7.6em 1fr 2.4em; align-items: center; gap: 8px; }
.ic-w b { font-family: var(--font-display); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ic-w span { height: 6px; background: var(--bar-bg); border-radius: 3px; overflow: hidden; }
.ic-w i { display: block; height: 100%; background: var(--red); border-radius: 3px; }
.ic-w small { font-size: 11.5px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .ic-row { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(250px, 78%); overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .ic { scroll-snap-align: start; }
}

/* 注意力分配：100% 堆叠柱 */
.k6 { background: #7a5ea8; } .k7 { background: #4b8a7a; }
:root[data-theme='dark'] .k6 { background: #a98fd6; } :root[data-theme='dark'] .k7 { background: #6fb7a5; }
.at-legend a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--muted); }
.at-legend a:hover { color: var(--text); }
.at .yb-stack { height: 220px; max-width: 36px; flex-direction: column-reverse; }
.at .yb-stack i:last-child { border-radius: 0; }
.at .yb-stack i + i { box-shadow: 0 1px 0 var(--bg) inset; }
@media (max-width: 640px) { .at .yb-stack { height: 170px; } }

/* 他嘴里的人 */
.pp { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.pp li > a { display: grid; grid-template-columns: minmax(0, 1fr) 70px; grid-template-areas: 'n spark' 'who peak' 'bar bar'; gap: 2px 12px; align-items: center; padding: 10px 6px 12px; margin: 0 -6px; border-bottom: 1px solid var(--line); text-decoration: none; border-radius: 6px; }
.pp li > a:hover { background: var(--zh-soft); }
.pp-n { grid-area: n; display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.pp-n b { font-size: 15px; }
.pp-n small { font-family: var(--font-display); font-style: italic; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-who { grid-area: who; font-size: 12px; color: var(--text-faint); }
.pp .hb-bar { grid-area: bar; height: 6px; display: block; position: relative; margin-right: 56px; }
.pp .hb-n { grid-area: bar; justify-self: end; font-size: 12px; }
.spark { grid-area: spark; width: 70px; height: 22px; }
.spark polyline { fill: none; stroke: var(--red); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.pp-peak { grid-area: peak; font-size: 10.5px; color: var(--text-faint); text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .pp { grid-template-columns: 1fr; } }

/* 他嘴里的未来 */
.fy { display: flex; align-items: flex-end; gap: 1px; height: 150px; border-bottom: 1px solid var(--line-strong); margin-top: 6px; position: relative; }
.fy-b { flex: 1; min-width: 0; height: 100%; display: flex; align-items: flex-end; position: relative; }
.fy-b i { display: block; width: 100%; background: var(--line-strong); border-radius: 1px 1px 0 0; }
.fy-b.on i { background: var(--red); }
.fy-b:hover i { background: var(--rule); }
.fy-y { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 4px; font-size: 10.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.fy + .ins-note { margin-top: 26px; }
.fy-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.fy-h { display: flex; align-items: baseline; gap: 10px; }
.fy-h b { font-family: var(--font-display); font-size: 30px; color: var(--red); font-variant-numeric: tabular-nums; }
.fy-h span { font-size: 12.5px; color: var(--muted); }
@media (max-width: 760px) { .fy-list { grid-template-columns: 1fr; } .fy-y { font-size: 9px; } }

/* 马斯克书单 */
.bk-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; }
.bk { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; }
.bk-cover { aspect-ratio: 2 / 3; background: var(--rule); color: var(--bg); border-radius: 2px 5px 5px 2px; padding: 10px 8px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: inset 4px 0 0 rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.12); }
.bk:nth-child(3n+2) .bk-cover { background: var(--red); color: #fff; }
.bk:nth-child(3n+3) .bk-cover { background: var(--c3); color: #fff; }
.bk-cover b { font-family: var(--font-display); font-size: 13px; line-height: 1.35; writing-mode: horizontal-tb; }
.bk-cover small { font-size: 9.5px; opacity: .8; }
.bk-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.bk-h b { font-size: 16px; }
.bk-h span { font-family: var(--font-display); font-style: italic; font-size: 12.5px; color: var(--muted); }
.bk-h .mv-meta { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bk-note { margin: 4px 0 0; font-size: 13px; color: var(--text-soft); line-height: 1.6; }
.bk-ex { display: block; margin-top: 8px; padding: 9px 12px; background: var(--trans-bg); border-radius: 8px; text-decoration: none; }
.bk-ex:hover { background: var(--zh-soft); }
.bk-cv { display: block; align-self: start; }
.bk-img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; background: var(--card); border-radius: 2px 5px 5px 2px; box-shadow: inset 4px 0 0 rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.14); transition: transform .2s; }
.bk-cv:hover .bk-img, .bk-cv:hover .bk-cover { transform: translateY(-2px); }
.bk-links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; }
.bk-more, .bk-hb { font-size: 12px; color: var(--muted); text-decoration: none; }
.bk-more:hover, .bk-hb:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.bk-more-list { margin-top: 22px; }
.bk-more-list > summary { cursor: pointer; display: inline-block; padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--text-soft); list-style: none; }
.bk-more-list > summary::-webkit-details-marker { display: none; }
.bk-more-list > summary:hover { color: var(--text); border-color: var(--line-strong); }
.bk-more-list[open] > summary { margin-bottom: 22px; }
@media (max-width: 760px) { .bk-list { grid-template-columns: 1fr; } .bk { grid-template-columns: 62px minmax(0, 1fr); } }

/* ---------- 视频来源：YouTube / B 站 ---------- */
.src-tabs { display: none; align-items: baseline; flex-wrap: wrap; gap: 4px 20px; margin: 0 0 12px; border-bottom: 1px solid var(--line); }
body.epjs .src-tabs { display: flex; }
.src-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 8px 0 7px; color: var(--muted); font: 600 13.5px/1.2 var(--font-sans); letter-spacing: .06em; cursor: pointer; }
.src-tabs button:hover { color: var(--text); }
.src-tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--rule); }
.src-tabs small { margin-left: 5px; font-size: 11px; font-weight: 600; letter-spacing: 0; color: var(--red); }
.src-note { margin-left: auto; font-size: 12px; color: var(--text-faint); }
@media (max-width: 640px) { .src-note { display: none; } }

/* ---------- 英文段落「译」 ---------- */
.transcript-text > p { position: relative; padding-right: 34px; }
.tr-btn { position: absolute; right: 0; top: .2em; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; padding: 0; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--bg2); color: var(--text-soft); font: 600 12.5px/1 var(--font-sans); cursor: pointer; transition: opacity .15s ease, background-color .15s ease; }
.tr-btn:hover, .tr-btn.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
@media (hover: hover) {
  .tr-btn { opacity: 0; }
  .transcript-text > p:hover .tr-btn, .tr-btn:focus-visible, .tr-btn.on { opacity: 1; }
}
.tr-pop { white-space: normal; margin: -.35em 34px 1.3em 0; padding: 10px 14px 12px; background: var(--zh-soft); border-left: 2px solid var(--red); border-radius: 0 6px 6px 0; }
.tr-pop-h { display: flex; align-items: center; gap: 14px; font: 500 11.5px/1.4 var(--font-sans); letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.tr-pop-h span { flex: 1; }
.tr-pop-cp, .tr-pop-x { background: none; border: 0; padding: 2px 0; color: var(--muted); cursor: pointer; font: 500 12.5px/1 var(--font-sans); }
.tr-pop-x { font-size: 17px; }
.tr-pop-cp:hover, .tr-pop-x:hover { color: var(--text); }
.transcript-text .tr-pop-t { margin: 0; font-family: var(--font-serif); font-size: 15.5px; line-height: 1.85; color: var(--text); }

/* ---------- 划线工具条 ---------- */
.sel-bar { position: fixed; left: 0; top: 0; z-index: 120; display: flex; gap: 2px; padding: 3px; border-radius: 9px; background: var(--text); color: var(--bg); box-shadow: var(--shadow); }
.sel-bar[hidden], .sel-bar [hidden] { display: none; }
.sel-bar button { background: none; border: 0; color: inherit; padding: 9px 12px; border-radius: 6px; font: 600 13px/1 var(--font-sans); letter-spacing: .04em; white-space: nowrap; cursor: pointer; }
.sel-bar button:hover { background: rgba(127,127,127,.28); }

/* ---------- 弹层：海报 / 翻译 ---------- */
body.kit-open { overflow: hidden; }
.kit-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.55); opacity: 0; transition: opacity .18s ease; }
.kit-modal.show { opacity: 1; }
.kit-card { position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow: auto; padding: 44px 20px 20px; border-radius: 12px; background: var(--bg2); color: var(--text); box-shadow: var(--shadow); }
.kit-x { position: absolute; top: 6px; right: 6px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.kit-x:hover { color: var(--text); background: var(--zh-soft); }
.kit-pv img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 4px; }
.kit-wait { padding: 90px 0; text-align: center; color: var(--muted); font-size: 14px; }
.kit-acts { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.kit-dl, .kit-cp { display: inline-flex; align-items: center; height: 40px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--rule); background: none; color: var(--text); font: 600 13.5px/1 var(--font-sans); letter-spacing: .08em; text-decoration: none; cursor: pointer; }
.kit-dl { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.kit-dl:not([href]) { opacity: .4; pointer-events: none; }
.kit-cp[hidden] { display: none; }
.kit-hint { margin-top: 10px; text-align: center; font-size: 12px; color: var(--text-faint); }
@media (hover: hover) { .kit-hint { display: none; } }
.kit-tr-src { margin: 0; font-family: var(--font-display); font-style: italic; font-size: 14px; line-height: 1.7; color: var(--muted); }
.kit-tr-out { margin: 14px 0 0; font-family: var(--font-serif); font-size: 16.5px; line-height: 1.85; }
.kit-toast { position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); z-index: 210; padding: 10px 18px; border-radius: 999px; background: var(--text); color: var(--bg); font-size: 13.5px; opacity: 0; transform: translate(-50%, 16px); transition: opacity .18s ease, transform .18s ease; pointer-events: none; }
.kit-toast.show { opacity: 1; transform: translate(-50%, 0); }
.quote-item .q-poster { margin-left: 12px; vertical-align: baseline; }
.qy-meta .q-copy { margin-left: auto; }
@media print { .sel-bar, .tr-btn, .tr-pop, .kit-modal, .kit-toast, .src-tabs { display: none !important; } }

/* ---------- 语料下载（数据页顶部） ---------- */
.corpus-sec { margin-top: 4px; }
.corpus-two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.corpus-card { border: 1px solid var(--line); border-radius: 10px; padding: 22px 24px 20px; background: var(--card); }
.corpus-card.ours { border-color: var(--rule); background: var(--bg2); }
.cc-tag { display: inline-block; font: 600 11.5px/1.3 var(--font-sans); letter-spacing: .08em; color: var(--muted); padding: 4px 9px; border: 1px solid var(--line-strong); border-radius: 999px; margin-bottom: 12px; }
.corpus-card.ours .cc-tag { color: var(--red); border-color: var(--red); }
.corpus-card h3 { font-family: var(--font-display); font-size: 21px; font-weight: 700; line-height: 1.3; margin: 0 0 8px; }
.corpus-card p { margin: 0; font-size: 14px; line-height: 1.75; color: var(--text-soft); }
.cc-links { display: flex; flex-direction: column; gap: 2px; margin: 16px 0 14px; }
.cc-links a { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--text); font: 600 14px/1.4 var(--font-sans); text-decoration: none; }
.cc-links a:last-child { border-bottom: 0; }
.cc-links a:hover { color: var(--red); }
.cc-links a small { margin-left: auto; font: 400 12px/1.4 var(--font-sans); color: var(--muted); text-align: right; }
.cc-note { font-size: 12px !important; line-height: 1.6 !important; color: var(--text-faint) !important; }
@media (max-width: 760px) { .corpus-two { grid-template-columns: 1fr; } }

/* ---------- 界面语言切换器 ---------- */
.i18n-picker { position: relative; }
.i18n-btn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--text-soft); cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.i18n-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i18n-btn:hover { color: var(--text); background: var(--card); }
.i18n-btn:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.i18n-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 150; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; min-width: 240px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg2); box-shadow: var(--shadow); }
.i18n-menu[hidden] { display: none; }
.i18n-menu button { text-align: left; padding: 9px 11px; border: 0; border-radius: 6px; background: none; color: var(--text-soft); font: 500 13.5px/1.3 var(--font-sans); cursor: pointer; white-space: nowrap; }
.i18n-menu button:hover { background: var(--card); color: var(--text); }
.i18n-menu button[aria-current="true"] { color: var(--text); font-weight: 700; background: var(--zh-soft); }
@media (max-width: 599px) { .i18n-menu { right: -8px; min-width: 210px; } }
/* 触摸设备：语言按钮补足 44px 触控热区（覆盖上面的 32px 基础值） */
@media (hover: none) and (max-width: 640px) {
  .i18n-btn { width: 44px; height: 44px; }
  .i18n-btn svg { width: 20px; height: 20px; }
  .wordmark { display: inline-flex; align-items: center; min-height: 44px; }
  /* 正文内联链接：用 padding 扩大点击热区，不改变行高 */
  .zh-note a, .ep-byline a, .ft-links a { padding: 8px 4px; margin: -8px -4px; }
}

/* ---------- 随机一篇 / 相关视频 ---------- */
.random-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--bg2); border: 1px solid var(--line); border-radius: 8px; padding: 6px 11px; color: var(--text-soft); font: 600 13px/1.3 var(--font-sans); cursor: pointer; white-space: nowrap; }
.random-btn:hover { color: var(--text); border-color: var(--line-strong); background: var(--card); }
.random-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.random-btn svg circle { fill: currentColor; stroke: none; }
.rel-section { margin: 34px 0 64px; }
.rel-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rel-card { display: block; }
.rel-thumb { position: relative; }
.rel-thumb img { filter: grayscale(1) contrast(1.05); }
@media (hover: hover) { .rel-card:hover .rel-thumb img { filter: none; transform: scale(1.025); } }
.rel-year { position: absolute; left: 8px; top: 8px; background: #fff; color: #111; padding: 3px 7px; border-radius: 3px; font: 700 11px/1.2 var(--font-sans); letter-spacing: .04em; }
.rel-dur { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.78); color: #fff; padding: 2px 6px; border-radius: 3px; font: 600 11px/1.3 var(--font-sans); font-variant-numeric: tabular-nums; }
.rel-kicker { display: flex; align-items: center; gap: 9px; color: var(--muted); font: 500 12px/1.4 var(--font-sans); font-variant-numeric: tabular-nums; }
.rel-kicker .ep-n { color: var(--text); font-weight: 600; }
.rel-kicker .zh-tag { color: var(--red); }
.rel-card .pick-title { margin-top: 7px; font-size: 15.5px; line-height: 1.5; -webkit-line-clamp: 3; }
.rel-card:hover .pick-title { text-decoration: underline; text-underline-offset: 4px; }
.rel-card .pick-en { -webkit-line-clamp: 2; }
.rel-src { color: var(--text-faint); font-size: 11.5px; margin-top: 7px; line-height: 1.4; }
@media (max-width: 900px) { .rel-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .rel-row { grid-template-columns: 1fr; } }
