/* Lunaloo 网页版 —— 单文件样式。全部颜色与品牌视觉常量一致，零外部依赖。 */

/* ===== 设计令牌（2026-10-10「月色」精修：先定 tokens，再谈画面）=====
   夜空不是背景，是「场景」；动效不是表演，是「呼吸」。
   旧名（--bg/--text/--text-dim/--card/--card-deep）一律保留且指向同一批颜色 ——
   全站既有规则、故事稿页、content 页都在用它们，改只是加名字不是换色。 */
:root {
  /* 色彩 */
  --ink: #080E26;                              /* 夜空最深（= 原 --bg，主题色也用它） */
  --ink-2: #0B1021;                            /* 卡片底（= 原 --card） */
  --ink-3: #060916;                            /* 卡中深一层（= 原 --card-deep） */
  --paper: #FCF6E0;                            /* 月光纸色（正文） */
  --mist: #C6D0F0;                             /* 雾蓝（次要文字） */
  --moon: #F8F6E8;                             /* 月亮高亮 */
  --candle: #E8C87A;                           /* ★ 烛光金：唯一强调色，只给「正在 / 即将」 */
  --iris: #5f74c9;                             /* 鸢尾蓝（选中 / 悬停底） */
  --moss: #8FD6B0;                             /* 苔绿（已存 / 成功） */
  --line: rgba(248, 246, 232, .10);
  --line-strong: rgba(248, 246, 232, .18);
  /* 旧名保留（指向同一批颜色） */
  --bg: var(--ink);
  --text: var(--paper);
  --text-dim: var(--mist);
  --card: var(--ink-2);
  --card-deep: var(--ink-3);
  /* 圆角与间距 */
  --radius: 20px;
  --r-card: 20px;
  --r-cover: 14px;
  --r-chip: 999px;
  /* 字体栈：衬线只给标题 / 字幕（绘本味），正文仍无衬线。系统字体零下载。 */
  --serif: "Noto Serif SC", "Source Han Serif SC", "STZhongsong", SimSun, serif;
  /* 动效令牌 */
  --soft: cubic-bezier(.22, 1, .36, 1);        /* 主缓动：快出慢收，像被羽毛放下 */
  --d-micro: 160ms;
  --d-std: 280ms;
  --d-slow: 600ms;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* FIX-1：JS 用 hidden 属性控制显隐，而类选择器设置的 display 特异性高于 UA 样式
   表的 [hidden]{display:none}，会把它压掉（timer-sheet 默认摊开就是这里）。
   全站统一补一条最高优先级兜底，再对已知坑位逐个显式补。 */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei",
               "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== 夜空层（2026-10-10）=====
   440px 死白 → 整页夜色：三层星云径向渐层 + JS 随机星尘（.st）+ 月亮呼吸光晕。
   position:fixed 铺满视口、pointer-events:none；.page 抬到 z-index:1 压在上面。
   只加装饰、不加元素宽度 ⇒ 不会产生横向滚动。 */
.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.sky::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 18% -6%, rgba(95, 116, 201, .22), transparent 62%),
    radial-gradient(700px 420px at 88% 6%, rgba(138, 92, 168, .14), transparent 60%),
    radial-gradient(1200px 800px at 50% 120%, rgba(24, 34, 80, .55), transparent 65%);
}
/* 星尘：每颗自己的大小 / 亮度周期 / 延迟，都是 JS 撒的时候随机定的（每次刷新星图不同） */
.st {
  position: absolute;
  border-radius: 50%;
  background: var(--moon);
  opacity: .7;
  animation: ll-tw var(--tw, 4s) ease-in-out infinite alternate;
}
@keyframes ll-tw {
  from { opacity: .15; transform: scale(.7); }
  to   { opacity: .85; transform: scale(1); }
}
@keyframes ll-breath {
  from { box-shadow: 0 0 26px rgba(248, 246, 232, .38), 0 0 70px rgba(248, 246, 232, .14); }
  to   { box-shadow: 0 0 44px rgba(248, 246, 232, .60), 0 0 120px rgba(248, 246, 232, .25); }
}
/* 流星：桌面夜空里 12s 一遇的彩蛋（仅 ≥1280；不可预测才珍贵） */
.shooter {
  display: none;
  position: absolute;
  left: 64%;
  top: 9%;
  width: 120px;
  height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(248, 246, 232, .9), transparent);
  opacity: 0;
  filter: drop-shadow(0 0 4px rgba(248, 246, 232, .8));
}
@keyframes ll-shoot {
  0%, 89% { opacity: 0; transform: translate(0, 0) rotate(-23.6deg); }
  91%     { opacity: .95; }
  96%     { opacity: .7; }
  99%     { opacity: 0; transform: translate(-520px, 227px) rotate(-23.6deg); }
  100%    { opacity: 0; transform: translate(-520px, 227px) rotate(-23.6deg); }
}

/* ===== 页面骨架 =====
   宽度分级（断点按「容器宽」分档、不按设备名）：560 → 700 → 1060 → 1180。
   将来折痕机 / 分屏 / 桌面小窗都不用重写。 */
.page {
  position: relative;
  z-index: 1;                 /* 压在夜空层之上 */
  max-width: 560px;
  margin: 0 auto;
  padding: 24px 20px 40px;
}
@media (min-width: 640px) {
  .page { max-width: 700px; padding: 26px 24px 48px; }
}
@media (min-width: 1024px) {
  .page { max-width: 1060px; }
}
@media (min-width: 1280px) and (min-height: 770px) {
  .page { max-width: 1180px; padding: 30px 24px 56px; }
  .shooter { display: block; animation: ll-shoot 12s linear infinite; animation-delay: var(--sd, 9s); }
}

/* 播放器 + 全部故事：桌面双栏（左 560px 播控卡 / 右 1fr 故事墙） */
.hero { display: block; }
@media (min-width: 1024px) {
  .hero { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
}
@media (min-width: 1280px) and (min-height: 770px) {
  /* 用户 2026-10-10：宽屏时左侧播放器高度与右侧故事卡片区域一致 */
  /* v113（用户 2026-10-13：「我的歌单和播放器之间的空隙太大了」）：纵向行距 30→16px，
     向单列档（1024–1279 播放器↔故事 gap:16）的既有口径看齐；横向列距 30 不动。
     v114 续（用户：「歌单列表紧贴在播放器下方，不要有过多间距」）：16→10px + 卡 padding-top 18→8px，
     「我的歌单」这行字到播放器底缘的视觉空档 34→18px。 */
  .hero { grid-template-columns: 560px 1fr; gap: 10px 30px; align-items: stretch; }
  /* v110（用户 2026-10-12 口径升级）：桌面双栏档「我的歌单」= 播放器下方的**迷你列表卡**——
     标题同款 card-title（与「全部故事」一致），行=收藏（原集序），行数超槽位卡内滚，
     卡底缘与右列故事卡底缘平齐。grid 显式摆位：左列两行（播放器内容高 + 歌单吃剩余），
     右列 stories 跨两行到底。无收藏时卡 [hidden] 摘除 ⇒ 播放器 :has 补回跨两行（= v106 等高款）。
     chip 入口在该档 CSS 退役（app.js 同档强制解除过滤态，出口只剩这里没有的态=不可能停留）。
     ⚠ 旧 .playlist-bar 的 absolute 穿列方案（v109 初稿）已整体废止：用户要的不是入口挪位，是整列直显。 */
  /* v124b（用户 2026-10-14：「右侧故事列表显示 5 条就和左侧播放器的播放按钮底部对齐，
     收缩到 5 条即可」）：双栏档弃「视口满高拉伸」，两卡=内容自然高、顶缘平齐。
     实测（1440×900）：卡顶 220 + 卡 pad 18 + 标题行 36 + 间隙 14 + 5 行(80×5+10×4=440)
     + 卡 pad 底 ≈ 754 ≡ 播放钮底缘 750 —— 行高/行距/卡内件再改要回来同步这个加和。
     列表第 6 行起进卡内滚（overflow-y 现规则），hero 高转 auto、页不再撑满视口；
     v121「底缘平齐」口径由「两卡同吃满高」改为「右列底=播放钮底」，收藏过滤态(.fav-filter)
     在此档无需特例（auto 高随内容自然收缩），特例只留 1024–1279 档。 */
  /* v124c（用户 2026-10-14：「把播放器控制按钮组下方的空白裁掉，底部和右侧故事列表对齐」）：
     height:auto 必须写成 .page .hero (0,2,0)——B 档 .hero{height:calc(100dvh…)} (0,1,0)
     在文件后段，同特异度会被它压掉（v124b 实测播放器卡仍被撑到 814 的根因）。
     播放器卡底=控制行底缘：通用 .card padding-bottom:18 在双栏档摘除 ⇒ 卡底 750≈右列 746。 */
  .page .hero { grid-template-rows: auto; height: auto; }
  .hero > .player { grid-column: 1; grid-row: 1; align-self: start; padding-bottom: 0; }
  .hero > .stories { grid-column: 2; grid-row: 1; align-self: start; }
  /* 列表可视区=恰好 5 行（80×5+行距 10×4），第 6 行起卡内滚 */
  .hero > .stories .episode-list { max-height: 440px; }
  .hero .playlist-card-dormant {
    display: none;
    /* v112（用户 2026-10-13：「只有1条时不要变形」）：高度=min(内容自然高, 剩余槽位)。
       align-self:start 取消被 grid 1fr 行强拉的 stretch ⇒ 收藏少时卡收拢、不再竖着一大片空白；
       max-height:100% 以槽位（行面积）封顶 ⇒ 收藏多时恰好顶到槽底=卡底与右列底缘平齐+卡内滚（v110 口径原样保留）。 */
    align-self: start;
    max-height: 100%;
    /* v114（用户：紧贴播放器）：卡上内边距 18→8px（下 12），标题行离播放器底缘再收 10px。
       选择器写成 .hero .playlist-card（0,2,0）：压过文件后段通用 .card{padding:18px} 的同特异度覆盖。 */
    padding: 8px 18px 12px;
  }
  /* v121（用户手机看后拍板）：桌面档与手机同款——☆ 徽标入口全档存活、迷你歌单卡退役、
     左列播放器底缘与右列故事列表底缘平齐。上条 .playlist-card-dormant 为退役摆位壳（保留选择器历史可读）。 */
  /* ★ min-width:0 必须写：集卡标题的 .tx 是 nowrap（跑马灯用），它的 min-content = 最长标题宽
     ⇒ 不写这句 1fr 列会被英文长标题顶宽，整页横向滚动（2026-10-10 实测 1440 英文轨：1625 > 1425） */
  .hero > .card { min-width: 0; }
  .player { display: flex; flex-direction: column; }
  /* 舞台保持 16:9（原图比例），余量不用来拉高封面 —— 用户：封面别太高、别浪费屏幕 */
  .stage { flex: 0 0 auto; }
  .player-head { margin-top: 14px; }   /* 音色已上移到标题行，这里不再有 margin-top:auto 的贴底行 */
}
/* ---------- B · 桌面工作台（2026-10-11 docs/35；仅 ≥1024px —— 小屏列表内部滚反而难用，宁保守） ----------
   ① 品牌头改 fixed 顶栏：塌缩只动顶栏自己，正文零回流 ⇒ 滚动不跳；
   ② 播放器＋清单钉进视口：.hero sticky 钉在塌缩顶栏下沿，高 = calc(100dvh − 顶栏46 − 页脚40)，
      清单容器 overflow-y 内部滚动（scrollIntoView/gotoEpisode 的逻辑不改，自动随容器）；
   ②b K1b 一屏收紧（docs/35 §二3~5，2026-10-12）：页脚压成一行并计入 100dvh 预算；
      .page 底内边距在 ≥1024 归零 ⇒ 深滚终态 = 顶栏[0,46] + 两卡[46,V−40] + 页脚[V−40,V] 精确铺满，
      不再出现「hero 被容器底推出钉位、页脚压在卡下滚不出来、页底死带」（基线实测 sYmax=346、
      hero 顶 6.1、页脚 712~844 被 hero 盖住）；可滚行程只剩塌缩手势那 ~174px；
      改页脚高度必须同步改 --ws-foot（height 与 calc 同一个变量，天然对齐）。
   ③ 细滚动条：雾蓝游标、悬停月光，轨道透明压掉暗色原生白边；
   ④ DOM 顺序一字未动 ⇒ fixed/sticky 不碰键盘 Tab 顺序。
   --ws-bar 与塌缩态顶栏实测高（8+32+6=46px）对齐；改塌缩样式必须回来对这两个数。 */
@media (min-width: 1024px) {
  .page { --ws-bar: 46px; --ws-pad: 16px; --ws-foot: 40px; padding-bottom: 0; }
  .brand {
    position: fixed; top: 0; left: 0; right: 0; z-index: 26;
    max-width: 1060px; margin: 0 auto;    /* 与 .page 同栏宽；月亮照常居中 */
    /* v124d（用户 2026-10-14：「头部和背景没有渐变、边缘要透明过渡，别是一块分明的色块」）：
       展开态背景**全透明**（夜空渐变直接透出来）；深veil 只在塌缩时以 ::before 蒙层淡入
       （渐变本体不可过渡、opacity 可），且四边都收透明：上缘半入、下缘渐出、左右遮罩渐隐。 */
    background: none;
  }
  .brand::before {
    content: '';
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, rgba(8, 14, 38, .55) 0%, rgba(8, 14, 38, .97) 22%, rgba(8, 14, 38, .94) 78%, rgba(8, 14, 38, 0) 100%);
    -webkit-mask: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
    mask: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
    opacity: 0;
    transition: opacity var(--d-std) var(--soft);
  }
  body.compact-brand .brand::before { opacity: 1; }
  .brand, .brand-moon, .brand h1, .brand-tagline {
    transition: padding var(--d-std) var(--soft), width var(--d-std) var(--soft),
                height var(--d-std) var(--soft), opacity var(--d-std) var(--soft),
                max-height var(--d-std) var(--soft), margin var(--d-std) var(--soft),
                visibility var(--d-std) var(--soft);
  }
  /* 给淡出的文字一个可过渡的 max-height（none→0 不 animate，必须先有长度值） */
  .brand h1 { max-height: 3em; }
  .brand-tagline { max-height: 2em; }
  body.compact-brand .brand { padding: 0; line-height: 0; overflow: hidden; visibility: hidden; }
  /* v107（卡 t_dafcd242，用户 2026-10-12 18:2x）：桌面塌缩零空隙——v106 隐月后 46px 顶栏成纯空条，
     本卡塌缩态整条收起：--ws-bar→0（hero 的 sticky top 与 100dvh 高预算同吃此变量，钉位自动到视口顶 0、
     占满原条让出的 46px）；.brand padding→0、月亮 64→0、h1/tagline max-height→0，盒高由内容平滑收拢
     （行 171-176 过渡词汇表原样沿用，无 display 变化）；visibility 离散性=淡出全程可见、终态整条不可点，
     不留残条。回顶摘 class → 64px 月亮+标题随过渡复原（展开态样式一字未动）。
     ★ 阈值切换不跳的原理：scrollY≈81 摘挂 class 时 hero 尚未到钉位（flowTop−stickyTop≈220 才吸附），
     --ws-bar 翻转只拉长/缩短 hero 底边与文档高（视口外）⇒ hero 顶缘连续；实测见 CDP 真实滚轮逐帧 rect 序列。
     手机/平板档（<1024）此段媒体查询不生效，塌缩现款一字不动。 */
  body.compact-brand .page { --ws-bar: 0px; }
  /* v107：深滚卡贴顶 —— 基础 .card{margin-top:16px} 是竖排卡间距，≥1024 工作台里 hero 两卡并排
     （1024–1279 两行之间由 .hero gap:16 管），这 16px 只会把卡顶缘从钉位 0 推离 ⇒ 桌面档整体归零；
     塌缩/展开两态同值（非 class 切换量）⇒ 阈值往返零跳变（逐帧 rect 复测坐实）。 */
  .hero > .card { margin-top: 0; }
  body.compact-brand .brand-moon { width: 0; height: 0; display: block; margin: 0 auto; opacity: 0; visibility: hidden; }
  body.compact-brand .brand h1,
  body.compact-brand .brand-tagline { opacity: 0; max-height: 0; height: 0; margin-top: 0; line-height: 0; overflow: hidden; }
  .hero {
    position: sticky; top: var(--ws-bar);
    height: calc(100dvh - var(--ws-bar) - var(--ws-foot) - var(--ws-wait, 0px));  /* v109：境外轨候补名单卡进预算（--ws-wait 由 app.js 实测卡高注入；境内恒 0） */
    margin-top: 190px;                    /* 空出展开态顶栏（实测 164px）+ 呼吸位；.page 上内边距另计 */
  }
  @supports not (height: 100dvh) { .hero { height: calc(100vh - var(--ws-bar) - var(--ws-foot) - var(--ws-wait, 0px)); } }
  .hero > .stories { display: flex; flex-direction: column; min-height: 0; }
  .episode-list {
    flex: 1 1 auto; min-height: 0; max-height: none;
    overflow-y: auto; padding-right: 8px;
    /* v124（用户 2026-10-14：「打开我的收藏列表时，里面的故事条的高度太大了，
       应保持和故事集里的故事条高度一致」）：行轨 auto 上限在行数少（收藏过滤态 4 行）
       时被容器剩余空间均分拉伸（实测 80→175）。align-content:start = 行轨只吃内容
       （80px 地板不变）、多余空间留白底部——收藏态与全集行高恒等。 */
    align-content: start;
    /* K1b：工作台清单是定高 flex 项，而 ≥640 墙卡把 .ep-row 的 min-height 收成 0 ⇒
       隐式行轨会向内容让步塌缩（1024×768 实测行轨 22px<内容85px：封面/第二行叠压到下一行；
       1280/1440 也悄悄缩到 76.75px、第二行溢出卡底 10px——基线时代清单被挤到 16px 高看不见才没暴露）。
       行轨钉死 minmax(85px,auto)：矮档装不下 ⇒ 走 overflow-y 内滚（本就是设计行为），绝不压行。 */
    grid-auto-rows: minmax(80px, auto);   /* v114：85→80（桌面档 padding 10→7 后行内容 80=64+14+2；1024–1279 墙卡行内容 86 仍由 auto 上界自然胜出） */
    scrollbar-width: thin;
    scrollbar-color: rgba(198, 208, 240, .45) transparent;
  }
  .episode-list::-webkit-scrollbar { width: 3px; }
  .episode-list::-webkit-scrollbar-track { background: transparent; }
  .episode-list::-webkit-scrollbar-thumb { background: rgba(198, 208, 240, .45); border-radius: 2px; }
  .episode-list::-webkit-scrollbar-thumb:hover { background: var(--moon); }
}
@media (min-width: 1024px) and (max-width: 1279px),
       (min-width: 1280px) and (max-height: 769px) {
  /* 单列档（1024–1279）：舞台锁 16:9 不裁图 —— 用宽度上限（42vh 换算成宽）把画面居中收小，
     把视口余量留给清单；行轨 = 播放器(auto) + 清单(1fr)。
     K1b 补：页脚 40px 进预算后，矮视口（≤~920 高）按 42vh 会把清单挤到 0px（基线 768 高时
     已只剩 16px，压脚后实测 0 = 回归恶化）⇒ 舞台高度加 viewport-adaptive 上限：
     clamp(200px, 100dvh−590, 42vh) —— 高视口(≥~1274)=基线 42vh 不变；768 高→200px，
     清单回 ~110px（内滚可用）；900 高→310px，清单 ~100px（基线 76 也不差）。实测见卡 comment。 */
  .hero { grid-template-rows: auto minmax(0, 1fr); align-items: stretch; }
  /* v124 第④条（1024–1279 档同理）：收藏过滤态清单行=内容高，不吃 1fr 拉伸；
     v124c 补上限：收藏多时 5 行为顶、卡内滚出滚动条（不许无限拉长） */
  .hero.fav-filter { grid-template-rows: auto auto; }
  .hero.fav-filter .episode-list { max-height: 440px; }
  .stage { width: min(100%, calc((16 / 9) * clamp(200px, calc(100dvh - 590px), 42vh))); margin-left: auto; margin-right: auto; }
}

/* 标题用衬线（绘本味）；正文一律无衬线 */
.brand h1,
.card-title,
.player-title,
.story-title,
h2 { font-family: var(--serif); }

/* ===== 品牌头 ===== */
.brand { text-align: center; padding: 12px 0 8px; }
.brand-moon { filter: drop-shadow(0 0 14px rgba(248, 246, 232, .35)); }
.brand h1 {
  font-size: 26px;
  letter-spacing: .04em;
  margin-top: 6px;
}
.brand-tagline { color: var(--text-dim); font-size: 14px; margin-top: 2px; }
/* 语言选项（中文 / English）：胶囊分段控件，放在品牌头下方 —— 家长一眼能看到。
   视觉沿用音色 chip 的语言（亮色=选中），但更轻，不抢播放键的重心。 */
/* 语言切换胶囊：**内容页共用**（story.html / privacy.html / contact.html）。
   播放页 index.html 用的是控制条里的「中 / EN」按钮（.btn-ctl.btn-lang），不用这个。
   ⚠ 2026-09-30 曾因为「播放页不再用它」把这几行误删过一次，结果 story.html 的胶囊变成
   裸按钮；恢复时补上这条注释 —— 只要还有内容页在用，这个样式就不能删。 */
.lang-switch { display: inline-flex; gap: 2px; margin-top: 12px; padding: 3px; background: var(--card); border-radius: 999px; border: 1px solid rgba(255,255,255,.07); }
.lang-switch button { font: inherit; font-size: 13px; line-height: 1; color: var(--text-dim); background: none; border: 0; padding: 7px 16px; border-radius: 999px; cursor: pointer; }
.lang-switch button[aria-checked="true"] { background: var(--moon); color: #080E26; font-weight: 600; }
.lang-switch button:active { transform: scale(.97); }
.brand-intro {
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== 卡片通用 ===== */
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px;
  margin-top: 16px;
}
.card-title { font-size: 16px; font-weight: 600; }
.card-hint { color: var(--text-dim); font-size: 13px; margin-top: 4px; }

/* ===== 联系我们的账号名片（抖音 / 小红书 / 微信视频号）=====
   ★ 固定「三张一行 + 三张一样大」：用户 2026-09-30 要求并排、紧凑、三张大小相同。
   1) 三张海报原图比例不同（0.670 / 0.733 / 0.769）→ 部署前由 tools/pad-qr-posters.py 用
      **每张自己的边缘色补边**成同一比例（只加宽、不裁高；抖音那张内容顶到四边，裁一点就切字）；
   2) 页面这层再用 10:13 图片盒子 + object-fit:contain 兜底 —— 将来换图比例不一致时最多留点白边，
      **永远不会裁掉内容**（computed 后三张图框逐像素相同）；
   3) 卡片里只有「图 + 平台名 + 账号名」，flex 默认 stretch → 三张卡片自然等高。 */
.qrs { display: flex; flex-wrap: nowrap; gap: 12px; justify-content: center; margin: 14px 0 6px; }
.qrs .q { flex: 1 1 0; min-width: 0; max-width: 250px; background: var(--card); border-radius: var(--radius); padding: 12px; text-align: center; }
/* ⚠ 图片链接必须用 .qimg 限定 —— 卡片里还有一个「平台名」链接（.qt），
   不限定的话这个 10:13 图片盒子会被套到标题上（真踩过，2026-09-30） */
.qrs .q a.qimg { display: block; width: 100%; aspect-ratio: 10 / 13; background: #fff; border: 1px solid rgba(0,0,0,.07); border-radius: 12px; overflow: hidden; }
.qrs .q img { display: block; width: 100%; height: 100%; object-fit: contain; }
.qrs .q b { display: block; font-size: 15px; margin-top: 8px; }
/* 平台名 = 可点进主页（抖音/小红书有网页地址；微信视频号只在微信里，标题就不加链接，与参考页一致）。
   保留标题的字号字重，只加下划线 —— 不靠颜色变化告诉家长「这里能点」 */
.qrs .q a.qt { display: block; text-decoration: none; color: inherit; }
.qrs .q a.qt b { text-decoration: underline; text-underline-offset: 3px; }
.qrs .q a.qt:active { opacity: .7; }
.qrs .q span { display: block; font-size: 12.5px; color: var(--text-dim); margin-top: 3px; }
.fallback { color: var(--text-dim); font-size: 14px; text-align: center; padding: 18px 0 6px; }

/* ===== 播放器 ===== */
/* 播放器卡片恢复纯色底；星空图挪进下面的 .stage（2026-09-30 用户定的布局：
   播放键/进度条/上下集/定时一律在图**下方**，图里只放标题与字幕）。
   保留 position:relative 是给 #timer-sheet 那类浮层当定位基准；
   这里**不能**加 overflow:hidden —— 会把定时浮层裁掉。 */
.player {
  text-align: center;
  position: relative;
}

/* 舞台：图 + 标题 + 字幕 合成一个 4:3 画框（不是 16:9 —— 用户要「标题与字幕之间留白，
   以后放弹幕之类」，16:9 时那块只剩 32px，4:3 才有 ~75px）。
   标题贴上部、字幕贴底部（半透明底），中间留白。
   用 aspect-ratio 而不是固定高度：窄屏宽屏自动成比例；字幕框用 absolute 定底，
   所以图高变化不会错位。图 1280×720 被 cover 到 4:3 ⇒ 左右各裁掉约 16%（月亮靠右，仍完整可见）。 */
.stage {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  isolation: isolate;         /* 封面层那团暖光用了 mix-blend-mode，关在本画框内不外溢 */
  /* 底图由 app.js 换成「本集封面」（原来固定 cover-night.png）；这里只是首屏兜底 */
  background: var(--card-deep) url("media/cover-night.png") center / cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
}

/* 暗色渐变：上淡下浓 —— 标题与字幕都压在星空上，字必须读得清 */
.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;                 /* 压住封面层与暖光层，标题/字幕再压它之上 */
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 9, 22, .26) 0%, rgba(6, 9, 22, .38) 45%, rgba(6, 9, 22, .74) 100%);
}
.stage > * { position: relative; z-index: 1; }

/* ===== 封面「活一点」（2026-10-11 用户：现在封面是张死图，能否活起来更吸引人）=====
   分层：.stage-bg 只放封面底图 → .stage::after 一团暖底光 → .stage::before 暗渐变 → 文字。
   三处都极慢、极淡，是「在轻轻呼吸」不是「在动」，睡前不晃眼；安静门与减弱动效下全停。 */

/* 封面底图：极缓慢缩放＝呼吸。单独一层走 transform（GPU 合成），不去动 background-size（那会每帧重绘）。
   cover 原图 1280×720 与 .stage 同为 16:9 ⇒ 1.00↔1.07 之间缩放任何时候都不露边。60s 一循环，慢到察觉不到。 */
.stage > .stage-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: center / cover no-repeat;
  transform-origin: 50% 52%;
  will-change: transform;
  animation: ll-coverBreath 60s ease-in-out infinite;
}
@keyframes ll-coverBreath {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.07); }
}
/* 底光：底部中央一团极淡的暖雾（烛光金色）随呼吸明灭 —— 像烛火/小灯的光晕。
   不绑任何具体光源位置（每集构图不同），所以只给无形的暖雾、不抢画面。 */
.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .45;               /* 减弱动效停帧时留的中性值 */
  background: radial-gradient(62% 46% at 50% 76%, rgba(232, 200, 122, .18), transparent 72%);
  mix-blend-mode: screen;     /* 只加光、不压暗画面 */
  animation: ll-stageGlow 9s ease-in-out infinite alternate;
}
@keyframes ll-stageGlow {
  from { opacity: .30; }
  to   { opacity: .75; }
}
/* 小萤火虫：6px 暖光点在封面左下方慢慢游走 + 明灭（用户指名「左侧一只小昆虫」）。
   纯 CSS、零字节、不绑图里任何元素；pointer-events:none 不挡交互。 */
.stage > .stage-fly {
  position: absolute;
  left: 14%;
  top: 56%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  opacity: .6;                /* 减弱动效停帧时的小光点亮度 */
  background: radial-gradient(circle, rgba(255, 240, 190, .95) 0%, rgba(232, 200, 122, .45) 42%, transparent 72%);
  box-shadow: 0 0 10px 3px rgba(232, 200, 122, .40);
  pointer-events: none;
  z-index: 1;
  animation: ll-flyPath 26s ease-in-out infinite, ll-flyTw 3.6s ease-in-out infinite alternate;
}
@keyframes ll-flyPath {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(30px, -16px); }
  42%  { transform: translate(62px, 4px); }
  60%  { transform: translate(34px, 22px); }
  82%  { transform: translate(8px, 12px); }
  100% { transform: translate(0, 0); }
}
@keyframes ll-flyTw {
  from { opacity: .34; }
  to   { opacity: .95; }
}
/* 图已当 .stage 的背景，元素本身不再占位；但**不能删元素** —— app.js 与 MediaSession
   （手机锁屏封面）还在用它。 */
.player-cover { display: none; }
.player-title { font-size: 18px; font-weight: 600; }
.player-subtitle { color: var(--text-dim); font-size: 13px; margin-top: 2px; }
/* 标题行（2026-10-10 用户：音色放到标题行右侧；左边标题文字撞上音色按钮就滚动显示）：
   左 = 标题 +「第N集·时长」（文字在可平移的 .tx 层里），右 = 音色选择器（不压缩）。 */
.player-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  text-align: left;
}
/* min-width:0 必须写：否则 flex 子项按内容撑开、永不收缩 ⇒ 跑马灯永远量不出溢出 */
.ph-text { flex: 1 1 auto; min-width: 0; }
.player-head .player-title { font-size: 20px; overflow: hidden; }
.player-head .player-title .tx { display: inline-block; white-space: nowrap; }
.player-head .player-title.marq .tx { animation: ll-marq 7s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) { .player-head .player-title.marq .tx { animation: none; } }
.player-head .player-subtitle { font-size: 13.5px; margin-top: 4px; letter-spacing: .3px; }
/* v106 K2b（docs/35 §二 款 0）：字幕行=「Episode x · 时长」+ 行尾右侧 ♡赞/☆藏 两枚。
   按钮本体由 app.js 注入 #player-react（复用 .ep-react 一套样式与 i18n 文案）；
   音色胶囊已退役出标题行，.ph-text 独占整行。 */
.ph-subrow { display: flex; align-items: center; gap: 6px; }
.ph-subrow .player-subtitle { flex: 1 1 auto; min-width: 0; }
.player-react { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 2px; }

/* 控制排（2026-10-10 用户定序）：播放模式·定时 ｜ 上一集·播放(大键)·下一集 ｜ 字幕·语言·分享
   宽度预算（桌面卡内 ≈516px）：7×48 + 72 + 6×12 = 492 ≤ 516 ⇒ 单排刚好排下；
   窄屏不换行、整排缩号的规则见下面那条 @media (max-width: 639px)。
   （v92 那个折行占位 `.ctl-break` 已按用户 2026-10-10 晚第二条反馈撤掉。） */
.controls-main { gap: 12px; margin-top: 14px; }
.controls-main .btn-play { margin: 0; }
/* 浮层小面板（定时 / 音色）**向上弹出**（2026-10-10 用户第三条：手机点图标后面板出现在
   按钮**上方**，不用往下滑才看得到 —— 原先排在控制排**下面**，窄屏上常被挤到屏幕外）。
   锚在控制排上（.controls 已是 position:relative），底边顶在控制排上方 8px。
   ⚠ 面板必须留在 .controls **内部**才锚得准（index.html 里已把它俩挪进来了）；
   ⚠ 别给 .player 加 overflow:hidden，会把它裁掉（见 .player 那条注释）。 */
.controls-main .timer-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 8px);
  margin: 0;
  z-index: 40;
  box-shadow: 0 16px 40px rgba(3, 6, 18, .62), inset 0 1px 0 rgba(248, 246, 232, .06);
}

/* 音色（v106 K2b 起**三档统一**：控制排最左一枚图标键 + 向上弹出的小面板——
   桌面播放器向现行手机/平板版式看齐，标题行胶囊 #voice-chips 退役、节点已从 index.html 移除，
   上方 .voice-chips/.player-head .chip 各组规则留档不再命中。
   ★★ 选择器必须带 `.player ` 前缀（0,2,0）：只写 .btn-voice（0,1,0）会被后面的 .btn-ctl 盖掉。
   ★ 显隐还得有 hidden 属性那条（app.js 在「可用音色 <2」时挂上）+ 下面显式的 [hidden] 规则兜底。 */
.player .btn-voice { display: inline-flex; }
#btn-voice[hidden] { display: none !important; }

/* 音色小面板（复用 .timer-sheet 的外观）：一枚勾标出「正在听的是哪把嗓子」。 */
.voice-opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.voice-opt .sheet-check svg { display: block; }
.voice-opt .sheet-check { display: none; }
.voice-opt[aria-pressed="true"] {
  border-color: rgba(248, 246, 232, .55);
  background: var(--card-deep);
}
.voice-opt[aria-pressed="true"] .sheet-check { display: inline-flex; color: var(--moon); }

/* 标题行里的胶囊收一号：原来它独占一行、按 44px 触控热区做；现在要让位给标题文字 */
.player-head .chip { font-size: 12.5px; padding: 6px 11px; min-height: 36px; gap: 4px; }
.voice-chips[hidden] { display: none !important; }   /* 只有一个音色时整行不占位（app.js 里那条 ≥2 规则） */
.voice-chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(248, 246, 232, .03);
  border: 1px solid rgba(198, 208, 240, .25);
  border-radius: var(--r-chip);
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  padding: 10px 16px;
  /* ★ 触控硬指标：点击区高度 ≥44px（触屏没有 hover，chip 就是唯一的音色选择入口）。
     44 = 内容行高 20.8 + 上下 padding 20.8 的整数落点，不多不少。 */
  min-height: 44px;
  cursor: pointer;
  position: relative;
  transition: all var(--d-std) var(--soft);
  user-select: none;
}
.chip:hover { color: var(--paper); border-color: rgba(248, 246, 232, .4); transform: translateY(-1px); }
.chip .chip-check { display: none; color: var(--moon); }
.chip .chip-check svg { display: block; }
/* 选中 = 烛光金（「即将 / 正在」才配金色；一屏内金色 ≤3 处：选中音色、播放键、当前集） */
.chip[aria-checked="true"] {
  border: 1px solid transparent;
  color: #2A2416;
  background: linear-gradient(180deg, #F6EBC8, #E8C87A);
  box-shadow: 0 0 18px rgba(232, 200, 122, .35);
}
.chip[aria-checked="true"] .chip-check { display: inline; color: #2A2416; }
.chip:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.chip .chip-badge {
  font-size: 10px;
  color: var(--text-dim);
  border: 1px solid rgba(198, 208, 240, .35);
  border-radius: 999px;
  padding: 0 6px;
  line-height: 16px;
}

/* 大播放按钮 = 烛光金（「正在发生」的唯一点缀；一屏内金色 ≤3 处） */
.btn-play {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: none;
  background: radial-gradient(circle at 62% 36%, #FFFCEB 30%, #E8C87A 90%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 14px auto 0;
  cursor: pointer;
  /* 2026-10-10 用户第二条：恢复**烛光金**并去掉那层黑色投影（"有暗影不好看"）
     —— 只留一圈跟着金色走的光晕，不再 `0 8px 20px rgba(0,0,0,.45)`。色值 = 设计变量 --candle(#E8C87A)。 */
  box-shadow: 0 0 24px rgba(232, 200, 122, .5);
  transition: box-shadow var(--d-std) var(--soft), transform var(--d-std) var(--soft);
}
.btn-play:hover { box-shadow: 0 0 38px rgba(232, 200, 122, .75); }
.btn-play:active { transform: scale(.94); }
.btn-play:disabled { opacity: .5; cursor: default; }
.btn-play svg { margin-left: 2px; }
.btn-play #icon-pause { margin-left: 0; }

/* BUG-1 兜底：保证 .btn-play/.btn-ctl 内任意时刻只有一个图标显示 */
.btn-play svg[hidden], .btn-ctl svg[hidden] { display: none !important; }

/* 进度条 */
/* FIX-3：窄视口下的首屏高度优化 */
@media (max-width: 430px) {
  .page { padding: 16px 14px 32px; }
  .brand { padding: 4px 0 0; }
  .brand h1 { font-size: 22px; margin-top: 2px; }
  .brand-intro {
    display: block;
    margin-top: 4px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }
  .card { padding: 12px; margin-top: 10px; }
  .progress-row { margin-top: 8px; }
  /* 控制条/音色胶囊的窄屏规则已集中到下面那条 @media (max-width: 639px)（2026-10-10 单排改版） */
}

/* ---------- 控制条单排的窄屏适配（2026-10-10 用户把 8 枚按钮并成一排、音色上移到标题行）----------
   ★ 2026-10-10 晚·用户第三条反馈修订：窄屏**不再折成两排**（原话「宽度变小时，控制按钮仍然要保持
     在同一行，不要换行，可以缩小一些」）⇒ 撤掉 v92 的分行占位 `.ctl-break`，整排按剩余宽度等分缩号。
   算法：7 枚小键 `flex:1 1 0`（可伸可缩、上限 40px、下限 26px），大播放键 56px 定宽，间距 4px
     ⇒ 一行永远排得下（390 视口卡内 ≈338px：7 枚分到 ≈36px；360 分到 ≈32px）。
   ★ 触控尺寸：窄屏小键 ≈32–36px，低于 iOS HIG 的 44px —— 这是用户用「必须保持一行」换来的取舍
     （原话「可以缩小一些」）；宽屏仍是 48/72 不打折。
   ★ 选择器一律带 .player 前缀：本块在文件里位于 .controls{}/.btn-ctl{} **之前**，
     同特异性时后面的定义会赢 —— 只写 .controls 的话 gap 照样被覆盖（实测过）。 */
@media (max-width: 639px) {
  .player .controls { margin-top: 8px; gap: 4px; flex-wrap: nowrap; justify-content: center; }
  .player .btn-ctl { flex: 1 1 0; width: auto; min-width: 26px; max-width: 40px; height: 36px; }
  .player .btn-ctl svg { width: 18px; height: 18px; }
  .player .lang-tag { font-size: 13px; }
  .player .btn-play { flex: 0 0 auto; width: 56px; height: 56px; margin: 0; }
  .player .btn-play svg { width: 24px; height: 24px; }
  /* 标题行：窄屏放不下「标题 + 音色」并排 ⇒ 标题独占一行。
     音色在窄屏收成**控制排最左**的一枚图标（#btn-voice，点开在下面弹出小面板，2026-10-10 用户），
     所以这里不再有下拉/胶囊的位置。 */
  .player-head { flex-wrap: wrap; gap: 4px 8px; }
  .ph-text { flex: 1 1 100%; }
  .voice-chips { display: none !important; }
}

.progress-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.time-label {
  color: var(--text-dim);
  font-size: 12px;
  min-width: 44px;
  font-variant-numeric: tabular-nums;
}
.time-label:last-child { text-align: right; }
/* 左边那个数字可以点：已播放 ⇄ 剩余（用户 2026-10-03）。点击目标要看着能点。 */
.time-toggle { cursor: pointer; user-select: none; }
.time-toggle:hover { color: var(--text); }
.time-toggle:focus-visible { outline: 2px solid var(--moon); outline-offset: 2px; border-radius: 6px; }
/* 进度条 = 月牙游标（2026-10-10 精修）：
   轨道 10px、悬停加高到 14px，游标是小月亮、悬停放大 1.25 倍（拖前的手感预告，
   治「拖不准」）。已播段由 JS 写的 --p（0–100）铺一条蓝→月白的渐变。
   ⚠ 手机 Firefox 没有 ::-webkit-* 伪元素，另配一套 ::-moz-*（进度用 -moz-range-progress）。
   ⚠ 输入框本身高度保持 32px（触控热区），加高的是轨道不是热区。 */
.seek {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 32px;
  background: transparent;
  cursor: pointer;
}
.seek::-webkit-slider-runnable-track {
  height: 10px;
  border-radius: 6px;
  background:
    linear-gradient(90deg, #3E4F8F, #7f93dd 70%, #AEBBE6) 0 0 / calc(var(--p, 0) * 1%) 100% no-repeat,
    rgba(248, 246, 232, .08);
  transition: height var(--d-micro) var(--soft);
}
.seek:hover::-webkit-slider-runnable-track { height: 14px; }
.seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -3px;
  border-radius: 50%;
  background: radial-gradient(circle at 62% 36%, #FFFCEB 40%, #E8C87A 82%);
  box-shadow: 0 0 10px rgba(232, 200, 122, .55);
  transition: transform var(--d-micro) var(--soft), margin-top var(--d-micro) var(--soft);
}
.seek:hover::-webkit-slider-thumb { transform: scale(1.25); margin-top: -1px; }
.seek::-moz-range-track { height: 10px; border-radius: 6px; background: rgba(248, 246, 232, .08); }
.seek::-moz-range-progress {
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(90deg, #3E4F8F, #7f93dd 70%, #AEBBE6);
}
.seek::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 62% 36%, #FFFCEB 40%, #E8C87A 82%);
  box-shadow: 0 0 10px rgba(232, 200, 122, .55);
}
.seek:disabled { opacity: .4; cursor: default; }

/* 控制行 */
.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  position: relative;
}
/* 图标按钮的悬停提示：自己画一个气泡放在**按钮上方**（用户 2026-09-30：
   「鼠标悬浮提示统一调整到光标上方，不要被光标遮挡」）——
   原生 title 的位置由浏览器定、固定在光标下方，所以这里一律用 data-tip 自绘。
   气泡不参与点击（pointer-events:none），出现/消失只改 opacity+位移。 */
.btn-ctl[data-tip] { position: relative; }
.btn-ctl[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  z-index: 30;
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(6, 9, 22, .95);
  border: 1px solid rgba(255, 255, 255, .14);
  color: var(--moon);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .14s ease, transform .14s ease;
}
.btn-ctl[data-tip]:hover::after,
.btn-ctl[data-tip]:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
/* 一行两端的按钮（上一集 / 分享）：气泡贴边，免得冒出卡片外面被裁掉。
   2026-10-09：右端从「语言」换成了「分享」（分享是新加的最后一个）；
   语言按钮现在是倒数第二，居中气泡离右边缘约 60px、半宽约 33px，实测不裁。 */
#btn-prev[data-tip]::after { left: 0; transform: translateY(4px); }
#btn-prev[data-tip]:hover::after,
#btn-prev[data-tip]:focus-visible::after { transform: translateY(0); }
#btn-share[data-tip]::after { left: auto; right: 0; transform: translateY(4px); }
#btn-share[data-tip]:hover::after,
#btn-share[data-tip]:focus-visible::after { transform: translateY(0); }
/* 复制成功的反馈：触屏没有 hover，复制完强制亮一下气泡「链接已复制」（app.js 里 1.8s 后撤）。
   特异性 (1,2,1) 盖过上面所有规则。 */
#btn-share.is-copied[data-tip]::after { opacity: 1; transform: translateY(0); }
/* 语言按钮里的字（「中」/「EN」） */
.lang-tag {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1;
  color: var(--moon);
}
.btn-ctl {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.btn-ctl:active { background: var(--card-deep); }
/* v106 K2b：控制排多出最左音色图标（共 8 小键 + 大播放键）。1280+ 双栏档左卡内宽 ≈524：
   小键 48→44（仍 ≥44 触控硬指标）、排距 12→10 ⇒ 8×44 + 72 + 8×10 = 504 单排排下（不折行、不溢出，
   探针量 scrollWidth==clientWidth）。1024–1279 单列档与 640–1023 平板档内宽富余，维持 48/12 原样；
   ≤639 走既有缩号规则（v97 起本就含音色图标，一字未动）。 */
@media (min-width: 1280px) and (min-height: 770px) {
  .controls-main { gap: 10px; }
  .controls-main .btn-ctl { width: 44px; height: 44px; }
}
/* 定时状态（2026-10-10 用户：「控制排下方一个空圆环 + 一行文字」不够优雅 ⇒ **折进定时按钮本体**）。
   设了睡前定时后，本按钮自带一圈烛光金进度环（#timer-ring，随剩余时间一圈圈退去 = 月相盈亏），
   右上角一枚极小金色数字（#timer-badge）= 还剩几分钟；控制排下面**不再单独占一行**。
   「播完本集」没有分钟数 ⇒ 环走满、角标换成短词（本集 / End）。
   ⚠ 环 / 角标都挂 [hidden] 兜底（JS 用 hidden 属性控显隐）。
   ⚠ #btn-timer 必须 position:relative，环 / 角标才对得准（其余控制键不需要，故只给这一枚）。
   ⚠ 环用固定尺寸居中，别用 inset —— 窄屏那排按钮是 40×36 的非方形，inset 会拉成椭圆。 */
#btn-timer { position: relative; }
.timer-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 38px;
  height: 38px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  background: conic-gradient(var(--candle) var(--tm, 100%), rgba(198, 208, 240, .16) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.4px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2.4px), #000 calc(100% - 2px));
}
.timer-ring[hidden] { display: none !important; }
/* v117（用户 2026-10-13：「去掉播放器左侧的倒计时文本，显得多余」）：进度条左端的
   -mm:ss 数字退役。元素留着不删——app.js paintTimeLabels 每帧写它，删了会 null 炸；
   悬停牌「剩 xx:xx」（行右缘）与时长副文案仍在，信息不减。 */
#time-now { display: none !important; }
/* 图标压在环上面（环当底） */
#btn-timer > svg { position: relative; z-index: 1; }
.timer-badge {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 15px;
  padding: 1px 4px;
  border-radius: 999px;
  background: var(--candle);
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  box-shadow: 0 0 0 2px var(--ink-2);   /* 在环上抠出一圈底，数字才读得清 */
  z-index: 2;
}
.timer-badge[hidden] { display: none !important; }
/* 窄屏：控制排缩号（按钮 40×36、图标 18）⇒ 环与角标跟着收一号 */
@media (max-width: 639px) {
  .timer-ring { width: 30px; height: 30px; }
  .timer-badge { top: 0; right: -2px; font-size: 9.5px; padding: 1px 3px; min-width: 13px; }
}

/* 载入提示（2026-09-30 用户：第 1 次打开 / 切语言时要等一会儿才出声，必须有反馈）。
   绝对定位落在标题与字幕之间的留白区 → 不参与排版，出现/消失不会让标题、字幕抖动。
   呼吸感而不是转圈：睡前场景要「安静地在准备」，不是「努力加载中」。 */
.loading-tip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30%;
  text-align: center;
  color: var(--moon);
  font-size: 13px;
  pointer-events: none;
  animation: ll-breathe 1.7s ease-in-out infinite;
}
.loading-tip[hidden] { display: none !important; }
@keyframes ll-breathe {
  0%, 100% { opacity: .32; }
  50%      { opacity: .92; }
}

/* 播放键的载入态：藏掉播放/暂停图标，中间亮起三颗小星（代替转圈）——
   睡前场景要「安静地在准备」，不是「努力加载中」。 */
.btn-play.is-loading svg { display: none !important; }
.btn-play.is-loading::after {
  content: '';
  width: 26px;
  height: 8px;
  background: radial-gradient(circle, var(--moon) 2.2px, transparent 2.6px) 0 50% / 9px 8px repeat-x;
  animation: ll-tw 1.4s ease-in-out infinite alternate;
}
@keyframes ll-spin { to { transform: rotate(360deg); } }

/* 定时关闭浮层 */
.timer-sheet {
  margin-top: 14px;
  background: var(--card-deep);
  border-radius: 12px;
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.timer-sheet[hidden] { display: none !important; }
.timer-sheet-title {
  grid-column: 1 / -1;
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 2px;
}
.timer-opt {
  background: var(--card);
  border: 1px solid rgba(198, 208, 240, .25);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  padding: 10px;
  min-height: 48px;
  cursor: pointer;
}
.timer-opt:active { border-color: var(--moon); }
.timer-off { color: var(--text-dim); }

/* 弹窗薄纱（2026-10-11 docs/35 A）：定时/音色面板展开时盖住整屏，点纱即关（app.js bindSheets）。
   z 30：桌面档 .hero 是 sticky ⇒ 自成层叠上下文，纱(30)与面板(40，住在 .controls 里)在同一上下文
   比较 ⇒ 纱压得住清单与页脚、盖不住面板；窄屏档无 sticky，纱与面板同挂在 .page 上下文，同一结论。
   300ms 淡入；prefers-reduced-motion / body.calm 下直切（全站动效纪律同款兜底）。 */
.sheet-scrim {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(6, 9, 22, .35);
  animation: ll-scrimIn .3s ease both;
}
.sheet-scrim[hidden] { display: none !important; }
/* ★ 控制排必须压在纱之上：面板开着时两枚触发图标（互斥切换）与播放/进度照常可点——
   纱只负责压住「面板之外」的页面（清单/页脚/舞台），不吞控制行（K1 首跑 390 互斥实测被纱截胡）。 */
.controls-main { position: relative; z-index: 31; }
@keyframes ll-scrimIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sheet-scrim { animation: none !important; } }
body.calm .sheet-scrim { animation: none !important; }

/* ===== 「全部故事」标题行 + 搜索（2026-10-10 用户第四条）=====
   默认只有一枚放大镜图标；点开才展开输入框（自动聚焦），输入即过滤集列表。
   ★ [hidden] 必须自己写一遍：下面几条设了 display，会盖过 UA 的 [hidden]{display:none}。 */
.stories-head { display: flex; align-items: center; gap: 10px; }
.stories-head .card-title { flex: 1 1 auto; min-width: 0; }
.ep-search { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.ep-search-btn {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--mist);
  cursor: pointer;
  transition: background var(--d-micro) var(--soft), color var(--d-micro) var(--soft);
}
.ep-search-btn:hover { background: rgba(248, 246, 232, .08); color: var(--text); }
.ep-search-btn[aria-expanded="true"] { color: var(--candle); }
.ep-search-input {
  width: 0;
  min-width: 0;
  height: 34px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(248, 246, 232, .05);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  transition: width var(--d-std) var(--soft), padding var(--d-std) var(--soft), border-color var(--d-std) var(--soft);
}
.ep-search-input:not([hidden]) { width: 152px; padding: 0 12px; border-color: rgba(198, 208, 240, .32); }
.ep-search-input:focus { outline: none; border-color: var(--candle); box-shadow: 0 0 0 2px rgba(232, 200, 122, .22); }
.ep-search-input[hidden] { display: none !important; }
.ep-search-input::-webkit-search-cancel-button { display: none; }   /* 用自绘的清除键，不叠原生的叉 */
.ep-search-clear {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}
.ep-search-clear:hover { color: var(--text); background: rgba(248, 246, 232, .08); }
.ep-search-clear[hidden] { display: none !important; }
.ep-nores { text-align: center; }

/* ===== 集列表 =====
   2026-10-10 用户定序：卡片标题下方依次是「第几集·时长 → 故事稿 → 缓存图标 → 分享」。
   时长从最右列挪进第二行，右列（.ep-right）随之撤掉。 */
.episode-list { list-style: none; margin-top: 8px; }
/* 一行一集：封面 ·（标题 /「第 X 集 · 故事稿」）· 勾+时长。
   整行可点，但落点是一枚**透明覆盖按钮** `.ep-hit`，不是「一个大 button 套全部」——
   因为「故事稿」是真链接（要能长按新开标签页），而 <a> 套在 <button> 里是非法嵌套。
   做法：行内文字一律 pointer-events:none，只有链接与那两枚图标把事件收回来。
   用户 2026-10-03：故事稿从「独立一行」挪到「第 X 集」后面 —— 一行更紧凑、更好用。 */
.ep-row {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  padding: 6px 8px;                  /* v116（用户：压扁）：10px → 6px 8px */
  min-height: 52px;                  /* v116：64 → 52（触控落点由 .ep-hit 44px 底线保住，不随行高缩） */
  border: 1.5px solid transparent;   /* 占位：当前集只换颜色，行高不跳 */
  border-radius: 12px;
}
.ep-row.current { border-color: var(--moon); background: var(--card-deep); }
/* v116（用户：去掉动态播放图标）：当前行封面不再呼吸；行高同步压扁。 */
.ep-row > * { position: relative; z-index: 1; pointer-events: none; }
/* 搜索过滤时整行隐藏 —— [hidden] 会被 .ep-row 的 display:grid 盖掉，必须自己写一遍 */
.ep-row[hidden] { display: none !important; }
.ep-row .ep-cover {
  grid-column: 1; grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: contain;
  background: radial-gradient(closest-side, rgba(232, 200, 122, .18), transparent 74%);
}
/* 当前集的图标：极缓慢的一下「呼吸」（3.2%）—— 只当「你在听这集」的状态标识、不当装饰
   （列表要能一眼扫读 ⇒ 只有当前集动、其余静止）；桌面悬浮某行时图标再轻轻抬一下。 */
/* v116（用户：去掉动态播放图标）：当前行封面不再呼吸（原 ll-iconBreath 挂点摘除）。 */
@keyframes ll-iconBreath {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.04); }
}
@media (hover: hover) {
  .ep-row .ep-cover { transition: transform .25s ease; }
  .ep-row:hover .ep-cover { transform: translateY(-2px) scale(1.05); }
}
.ep-row .ep-title {
  grid-column: 2; grid-row: 1;
  min-width: 0;                       /* 少了这句，标题的省略号不生效（grid item 默认 min-width:auto） */
  font-size: 15px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ep-row .ep-line2 {
  grid-column: 2; grid-row: 2;
  display: flex;
  flex-wrap: wrap;                    /* 安全网：宁可多一行，也不许撑破卡片（撑破＝整页横向滚动） */
  align-items: center;
  gap: 8px;
  row-gap: 3px;
  min-width: 0;
}
.ep-row .ep-sub {
  color: var(--text-dim);
  font-size: 12px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;   /* 时长数字等宽，行与行之间不跳 */
}
.ep-row .ep-story {
  pointer-events: auto;               /* 行内只有链接与两枚图标把点击收回来 */
  color: var(--text-dim);
  font-size: 12px;
  text-decoration: underline;
}
.ep-row .ep-story:hover { color: var(--text); }
/* ③ 缓存图标（三态见 app.js renderEpisodes / refreshOfflineMarks）。
   ★ 2026-10-10 晚·用户第二条反馈修订：「已缓存图标还是换成之前的勾比较形象，现在这个看不懂；
     没缓存时不显示已缓存图标」⇒ 原来那枚**常显的下载箭头**（.ep-cache-ico）不再显示
     （它在半透明的金勾底下透出来，箭头+勾叠在一起 = 看不懂，这就是「看不懂」的真身）；
     整枚图标改成**只在有状态时出现**：已存 = 金勾，补缓存中 = 百分比，其余时候整个槽位不占位。
   ★ 类名 `.ep-offline` / `.ep-caching` 一字不改（refreshOfflineMarks 与 fill-chunk 自检的假 DOM 桩按名找）。 */
.ep-row .ep-cache {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid rgba(198, 208, 240, .3);
  background: rgba(6, 9, 22, .5);
  color: var(--text-dim);
  pointer-events: auto;
  cursor: pointer;
  z-index: 2;
}
/* [hidden] 必须自己写一遍：上面那条 display:inline-flex 会盖过 UA 的 [hidden]{display:none} */
.ep-row .ep-cache[hidden] { display: none; }
.ep-row .ep-cache .ep-cache-ico { display: none; }
.ep-row .ep-cache .ep-offline,
.ep-row .ep-cache .ep-caching {
  position: absolute;
  inset: -1px;
  width: auto;
  height: auto;
  min-width: 0;
  padding: 0;
  border-color: rgba(232, 200, 122, .45);
  background: rgba(232, 200, 122, .18);
  color: var(--candle);
  cursor: pointer;
}
.ep-row .ep-cache .ep-caching { font-size: 9.5px; letter-spacing: -.2px; }
/* ④ 分享（v109 退役）：行级分享钮样式随 app.js 生成代码一并删除（分享入口收口到播放器）；⑤ 编号保留不重排。 */
/* ⑤ 赞 / 收藏（v106 K2b 返工 · docs/35 §二 款 0）：♡赞、☆藏，**同一集三处同源**——
   播放器字幕行行尾、迷你条信息行行尾常驻可见；列表行只在**桌面档（≥1024）悬停该行才现**，
   手机/平板档列表不放（见下方档位门控）。
   未点亮=细描边暗色（幽灵感，不与标题抢视觉）；点亮=实心+烛光金 var(--candle)，一眼懂。
   ★ 点按区 ≥44px：可视圆槽仍是 20px（.rico 内圈，与分享/缓存同尺寸同观感），真盒子 44×44；
     列表行里用负外边距把**布局**收回 20px 占位（与 v105 完全同构、行高零变化），
     播放器/迷你条按 44 全盒布局（迷你条那排本就有 44px 播放键，行高仍零变化）。 */
.ep-react {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-dim);
  pointer-events: auto;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.ep-row .ep-react { margin: -12px -2px; }
.ep-react .rico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid rgba(198, 208, 240, .3);
  background: rgba(6, 9, 22, .5);
  transition: color var(--d-std) var(--soft), border-color var(--d-std) var(--soft), background var(--d-std) var(--soft);
}
.ep-react .rico svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; display: block; }
.ep-react:hover { color: var(--paper); }
.ep-react:hover .rico { border-color: rgba(248, 246, 232, .45); }
/* 点亮态：JS 的 syncReactBtn 挂/摘 .on（描边→实心，颜色→烛光金） */
.ep-react.on { color: var(--candle); }
.ep-react.on .rico { border-color: rgba(232, 200, 122, .55); background: rgba(232, 200, 122, .16); }
.ep-react.on .rico svg { fill: currentColor; }
/* 档位门控（v106 K2b 判据本体）：
   <1024 —— 列表行钮 display:none：不占位、点不到、Tab 不走（=「手机/平板列表不放」）；
   ≥1024 —— 钮常驻行尾但默认 opacity:0 + pointer-events:none（布局零跳动、看不见即点不着），
            悬停该行（真实鼠标 :hover）或键盘焦点直接落在钮上才现形。
   ★ 播放器字幕行/迷你条两枚不受门控（选择器只打 .ep-row 头），任何档位都常驻。 */
@media (max-width: 1023px) { .ep-row .ep-react { display: none; } }
@media (min-width: 1024px) {
  .ep-row .ep-react { opacity: 0; pointer-events: none; transition: opacity var(--d-std) var(--soft); }
  .ep-row:hover .ep-react,
  .ep-row .ep-react:focus-visible { opacity: 1; pointer-events: auto; }
}

/* 我的歌单徽标（2026-10-13 方案 A · v119）：住在 .stories-head 标题行右缘、与搜索钮同级——
   独立成行的大 chip 退役（用户：「手机上我的歌单按钮太突兀了」）。
   面=「☆ n」：::before 星标随 aria-pressed 两态（☆ 收藏入口 / ★ 正在只看歌单），n 由 JS 注入；
   全名/状态进 title+aria-label（悬停提示口径）。高 36px 与 .ep-search-btn 成对，
   ::after 透明外扩凑 44px 触摸区（上下一 4px 带 + 左右 2px 垫，互不遮挡相邻钮）。
   收藏=0：JS hidden（v121 起全档同规，CSS 不再按档退役）。 */
.playlist-chip[hidden] { display: none !important; }
/* v110：迷你歌单卡（≥1280 显形，摆位见上方双栏区）。hidden 语义压过 .card 的 display；
   滚动条/行轨全部白吃 .episode-list 现规则（同款列表的应有之义）。 */
/* v121（用户拍板「去掉播放器底部的我的歌单，播放器底部跟右侧故事列表底部对齐」）：
   迷你卡全档退役，chip 徽标过滤成为唯一入口（桌面=手机同款效果）。 */
.playlist-card { display: none !important; }
.playlist-card { gap: 6px; }
.playlist-card[hidden] { display: none !important; }
.playlist-card .playlist-list { flex: 1 1 auto; min-height: 0; max-height: none; overflow-y: auto; }
.playlist-card .pl-count {
  font-family: var(--sans, inherit); font-size: 11px; font-weight: 400; letter-spacing: .04em;
  color: var(--text-dim); margin-left: 8px; vertical-align: 2px;
}
.playlist-chip {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(232, 200, 122, .38);
  background: rgba(232, 200, 122, .10);
  color: var(--candle);
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
}
.playlist-chip::before { content: '☆'; margin-right: 6px; font-size: 13px; }
.playlist-chip[aria-pressed="true"] { background: rgba(232, 200, 122, .30); border-color: rgba(232, 200, 122, .78); box-shadow: 0 0 0 1px rgba(232, 200, 122, .18) inset; }
.playlist-chip[aria-pressed="true"]::before { content: '★'; }
/* 44px 触摸区：透明垫层外扩，不挡相邻钮（搜索钮自己就是圆钮，两者落点留 10px 行距） */
.playlist-chip::after { content: ''; position: absolute; inset: -4px -2px; }
/* v124c（用户 2026-10-14：「我的收藏/退出收藏这类悬停提示要放到光标上方，避免被光标遮挡」）：
   徽标提示原走**原生 title**——浏览器固定在光标下方弹出、CSS 管不着。改自绘气泡：
   .chip-wrap 包一层当定位基准，气泡挂 wrap 上缘 +8px（与全站 data-tip 同一画法），
   原生 title 已从 JS 撤掉；无障碍名继续走 chip 的 aria-label。 */
.chip-wrap { position: relative; display: inline-flex; }
.chip-wrap[hidden] { display: none !important; }
.chip-tip {
  position: absolute; bottom: calc(100% + 8px); right: 0; z-index: 30;
  padding: 6px 9px; border-radius: 8px;
  background: rgba(6, 9, 22, .95); border: 1px solid rgba(255, 255, 255, .14);
  color: var(--moon); font-size: 12px; line-height: 1.2; white-space: nowrap;
  pointer-events: none; opacity: 0; transition: opacity .14s ease;
}
.chip-wrap:hover .chip-tip { opacity: 1; }
.playlist-chip:focus-visible + .chip-tip { opacity: 1; }

/* 整行的落点：盖满整行、透明、在文字**下面**（z-index:0）⇒ 文字照常看得见、
   点哪儿都算点这一行。 */
.ep-row .ep-hit {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: auto;
  width: 100%;
  background: transparent;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.ep-row .ep-hit:active { background: var(--card-deep); }

/* ===== v115（用户 2026-10-13 口径修正）：当前集行尾 = 播放进度环按钮 =====
   「未播放的集 行右边显示爱心 跟之前一样；当前集的行右边是播放按钮 可以把爱心挪到左侧；
   播放中的集 悬停该行显示 剩 xx:xx」——
   · 钮只挂当前集行（渲染侧守卫）；朴素实底圆钮（v116 去动态环；播放态由圆心 ⏸/▶ 表达，
     与进度条同源同帧），圆心 ⏸/▶ 随播放态；点了暂停/原位续播。
   · 环的视觉同族于补缓存 23% 圆牌（1048 .ep-cache 一圈描边），但更大、可点。
   · 该行悬停提示=一枚行内右缘小牌（不弹行外——卡片容器 overflow:auto 会把行外气泡裁掉）。 */
.episode-list .ep-row.current, .playlist-list .ep-row.current { padding-right: 54px; }
.ep-row .ep-play {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: auto;
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: var(--candle);
  background: conic-gradient(var(--candle) calc(var(--tp, 0) * 3.6deg), rgba(198, 208, 240, .22) 0);   /* v117（用户令回加）：行钮带进度环，图标本体保持静态不呼吸 */
}
.ep-row .ep-play::before {
  content: '';
  position: absolute;
  inset: 2.6px;
  border-radius: 50%;
  background: rgba(6, 9, 22, .9);
}
.ep-row .ep-play > svg { position: relative; z-index: 1; }
.ep-row .ep-play:hover::before { background: rgba(14, 20, 42, .95); }
.ep-row .ep-play .pp-pause { display: none; }
.ep-row .ep-play.is-playing .pp-play { display: none; }
.ep-row .ep-play.is-playing .pp-pause { display: inline; }
/* v124（用户 2026-10-14：「把故事条里的播放倒计时文本去掉」）：
   悬停当前行的行内右缘小牌「剩 xx:xx」整块退役——剩余时间看播放器时间区即可，
   行里不再放第二处倒计时。app.js 侧 setAttribute('data-tip') 挂点同步拆除。 */
/* v117（用户 2026-10-13：「第1集·xx:xx 偏移了，这是 bug，点赞和收藏应始终在文本后面」）：
   v115 的 order:-1 把两枚 .ep-react（44px×2 + gap）挪到行首，正是那 96px 偏移的病根——撤。
   ♡☆ 恒在文本之后，各行一致；右侧让位给带进度环的圆钮。 */

/* ===== 试听区 ===== */
.preview-list { list-style: none; margin-top: 10px; }
.preview-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
}
/* BUG-2：播放中：整行高亮（比卡片略亮的背景 + 左侧 3px 月亮色竖条 + 圆角），
   深色主题里也能一眼分辨当前播的是哪一条 */
.preview-item.playing {
  background: rgba(248, 246, 232, 0.06);
  border-radius: 10px;
  padding: 4px 8px 4px 11px;
  position: relative;
}
.preview-item.playing::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 3px;
  border-radius: 2px;
  background: var(--moon);
}
.preview-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(198, 208, 240, .4);
  background: var(--card-deep);
  color: var(--moon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
}
.preview-btn { transition: border-color .15s, background .15s; }
/* BUG-1/2 兜底：明确写死 [hidden] 的 svg，保证任意时刻只有一个图标显示
   （全局 [hidden]{display:none!important} 之上） */
.preview-btn svg[hidden] { display: none !important; }
.preview-btn .preview-icon-pause { position: absolute; }
.preview-btn.playing { border-color: var(--moon); background: rgba(248,246,232,.08); }
.preview-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.preview-timer {
  color: var(--text-dim);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
  margin-left: auto;
  min-width: 64px;
  text-align: right;
}

/* ===== 订阅 ===== */
.subscribe { display: flex; gap: 8px; margin-top: 12px; }
.subscribe-input {
  flex: 1;
  min-width: 0;
  background: var(--card-deep);
  border: 1px solid rgba(198, 208, 240, .3);
  border-radius: 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  min-height: 48px;
}
.subscribe-input::placeholder { color: rgba(198, 208, 240, .6); }
.subscribe-input:focus { outline: none; border-color: var(--moon); }
.subscribe-btn {
  flex: 0 0 auto;
  background: var(--moon);
  color: #080E26;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 0 16px;
  min-height: 48px;
  cursor: pointer;
}
.subscribe-error { color: #ff9c9c; font-size: 13px; margin-top: 8px; }
.subscribe-ok { color: var(--text-dim); font-size: 13px; margin-top: 8px; }

/* ===== 页脚 ===== */
/* v108（用户口味「居右舒服」）；v109 补小屏结构（用户 2026-10-12：「小屏上 3 行」）；
   v111（用户 2026-10-13 手机实测：「页面底部的 3 行居中一下」）⇒ <1024 三行整组**居中**。
   <1024 页脚强制三行——第一行 © 2026 Lunaloo／第二行 隐私说明+联系我们／第三行 两个备案号同行；
   备案号 <p> 的行内 margin-top 被本组 flex gap 接管（!important 只压它自带那条内联 8px，不碰其它）。
   备案内容一条不删。≥1024 单行压排（K1b）保持居右不动。 */
.footer {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-align: center;
  color: var(--text-dim);
  font-size: 12px;
  padding: 28px 0 8px;
}
.footer-links { display: flex; justify-content: center; gap: 20px; margin-top: 0; }
.footer-links a { color: var(--text-dim); text-decoration: underline; }
.footer > p { margin: 0; }
.footer br { display: none; }                     /* 小屏第三行：两个备案号同一行（≥1024 里 <p> 已 display:contents，br 不成盒无副作用） */
.footer p[style] { margin-top: 0 !important; }    /* 行内 8px 让位给 flex gap */
/* K1b §2 页脚压一行（docs/35 §二4）：≥1024 下 ©／隐私说明／联系我们／ICP备案／公安备案
   同一横排小字居中（高 132→40px，height 吃 --ws-foot —— 与 hero 高度预算同一变量，天然对齐），
   链接下划线改悬停现。备案两段是法定必挂内容：只排版压行，一条不删。
   display:contents 把备案 <p> 的盒子溶解、两枚链接直接成页脚 flex 项（其内联 line-height/margin
   随盒子一并失效）；br 收起不折行。★ 本组规则必须写在基础 .footer 规则【之后】——同特异度
   后者优先，放前面会被下面 padding:28px 盖掉（K1b 首跑实测 padding-top 仍是 28、内容带 4px、
   行高溢出 +3px docH ⇒ 多滚 3px 才到底，挪位后归零）。★ <1024 档一字不动（多行页脚=移动基线）。 */
@media (min-width: 1024px) {
  .footer {
    display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: flex-end; align-items: center; gap: 16px;
    height: var(--ws-foot); padding: 10px 0 8px; font-size: 12px;
  }
  .footer p { margin: 0; flex: 0 0 auto; }
  .footer-links { margin-top: 0; gap: 14px; flex: 0 0 auto; }
  .footer-links a { text-decoration: none; }
  .footer-links a:hover { text-decoration: underline; }
  .footer > p:last-child { display: contents; }
  .footer > p:last-child br { display: none; }
}

/* ===== 字幕（2026-09-30：默认关闭，给需要的家长一个按钮）=====
   字号 17px：手机上一臂距离躺着能看清，又不会把播放器挤变形；
   min-height 锁两行高度 —— 句子长短不一，不锁的话每翻一句整块播放器都跳一下。 */
/* 字幕开关（图标按钮，位置在 .controls 里定时图标右边 —— 2026-09-30 用户定）。
   开的时候整块点亮：深色主题下只改边框或文字色是看不见的，背景与图标要同时上色。 */
#btn-caption[aria-pressed="true"] { background: rgba(246, 244, 226, .14); }
#btn-caption[aria-pressed="true"] svg { fill: var(--moon); }
.caption-box {
  /* 贴在图内底部。绝对定位 → 不吃舞台的排版高度：舞台高度永远由 4:3 决定，
     字幕长句短句都不会把图撑变形、也不会顶开标题。
     2026-09-30 用户「字幕背景感觉不太美观」→ 不再用一块方框式的半透明底：
     改成**从上到下渐深**的一层暗色（顶部与星空无缝，看不出边界），
     同时给文字加多层投影兜底可读性 —— 字幕正好压在星空上，纯文字在亮处会糊。
     去掉原来那圈 border（有边框就有"方框感"），圆角只留底部一点点。 */
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 18px 14px 12px;
  background: linear-gradient(180deg, rgba(6, 9, 22, 0) 0%, rgba(6, 9, 22, .40) 42%, rgba(6, 9, 22, .68) 100%);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  border-radius: 12px;
}
.caption-box[hidden] { display: none !important; }
.caption-text {
  font-size: 17px;
  line-height: 1.5;
  color: #fff;
  font-weight: 500;
  letter-spacing: .01em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .92), 0 2px 8px rgba(0, 0, 0, .80), 0 0 22px rgba(0, 0, 0, .55);
  min-height: 4.4em;      /* 锁三行高度（英文长句就是三行）：翻句时字幕框不跳动 —— 图里的框跳最扎眼 */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
@media (max-width: 480px) { .caption-text { font-size: 16px; } }

/* ===== 故事稿页（story.html）— 2026-09-30 追加 =====
   只追加新类，不动上面任何现有规则（app.js 的字幕 UI 也是追加，两边并行）。
   视觉沿用 index.html 的卡片语言：.card 底 + --text/--text-dim 两级文字。
   2026-09-30 用户：「内容要自适应宽度，美化一下页面」→
   · 宽屏时正文栏放宽（手机不加 max-width 就等于满宽，所以这里只对宽屏生效）
   · 正文放大一档、行距段距放松，段首时间戳做成小胶囊（可点这件事一眼看得见）
   · 语言切换**暂时不动**（用户明确：故事稿页语言切换先保持不变）
   2026-09-30 二轮（用户：「正文的风格要一致」+「点胶囊在本页播这一段」）→
   · 删掉 .story-para-edge：开场/收尾语与正文同一套样式（原来做淡做小，看着像两种正文，用户点名不一致）
   · 新增 .story-para.is-playing（正在读的段高亮，只加水平 padding + 等量负 margin，文字位置不动）
   · 新增 .para-time.is-counting（正在读的那段胶囊变剩余倒计时） */
body.story-page .page { max-width: 760px; }
.story-card { text-align: left; }
.story-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .01em;
}
.story-sub {
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 4px;
}
.story-hint {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.7;
  margin-top: 10px;
  padding-left: 10px;
  border-left: 2px solid rgba(198, 208, 240, .26);
}
.story-body { margin-top: 18px; }
.story-para {
  color: var(--text);
  font-size: 16px;
  line-height: 2;
  margin-top: 20px;
}
/* 正在读的那一段：柔和高亮（睡前，不用刺眼色块）。
   ⚠ 这里刻意只加**水平**方向的 padding，再用等量负 margin 抵消回来 ——
   文字的实际位置一个像素都不动，只有背景块向左右各宽出 12px；
   但凡动了垂直 padding 或段距，高亮一出现整页文字就会上下抖。 */
.story-para.is-playing {
  background: rgba(246, 244, 226, .055);
  border-radius: 8px;
  padding: 0 12px;
  margin: 20px -12px 0;
  box-shadow: inset 3px 0 0 0 var(--moon);   /* 左侧一道月亮色竖线：比整块底色更含蓄 */
}
/* 段首时间戳：小胶囊 + tabular 数字。点击 = **在本页**从这一段开始听（不跳页），
   正在读的那一段会变成剩余倒计时。做成胶囊是为了让人一眼看出"这里可以点"。 */
.para-time {
  display: inline-flex;
  align-items: center;
  font-family: inherit;          /* ⚠ <button> 不继承字体：不写这一行，时间戳会换成系统 UI 字体 */
  line-height: 1.2;
  color: var(--text-dim);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  margin-right: 10px;
  padding: 4px 9px;
  min-height: 24px;              /* 手机上手指点得到（原来 18px 太小，像不可点的小标签） */
  border-radius: 999px;
  background: rgba(198, 208, 240, .08);
  border: 1px solid rgba(198, 208, 240, .16);
  transform: translateY(-1px);   /* 胶囊与正文基线对齐 */
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.para-time:focus, .para-time:hover {
  color: var(--moon);
  background: rgba(246, 244, 226, .14);
  border-color: rgba(246, 244, 226, .40);
  outline: none;
}
/* 正在读的这段：胶囊从「起始时间」变「剩余倒计时」（暂停时冻在最后一个整秒上，再点继续） */
.para-time.is-counting {
  color: var(--moon);
  background: rgba(246, 244, 226, .16);
  border-color: rgba(246, 244, 226, .48);
}
/* 语言切换：两套文案都常驻 DOM（SEO），用 hidden 属性显隐（全局 [hidden] 兜底已保证不占位） */
.only-en[hidden], .only-zh[hidden] { display: none !important; }
.story-back {
  margin-top: 26px;
  text-align: center;
}
.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  background: var(--card-deep);
  border: 1px solid rgba(198, 208, 240, .3);
  border-radius: 12px;
  font-size: 14px;
  min-height: 48px;
  padding: 0 20px;
  text-decoration: none;
  transition: border-color .15s ease, color .15s ease;
}
.back-link:hover, .back-link:focus-visible { border-color: var(--moon); color: var(--moon); outline: none; }
.back-link:active { border-color: var(--moon); }

/* 正文里的行内链接（隐私说明页的「联系我们」这类）。
   浏览器默认给的是宝蓝色 + 实心下划线，在深色底上又扎眼又像没做设计 ——
   换成月亮色 + 一条 38% 透明度的细下线，hover 时下线变实、文字提到纯白。
   刻意不做成按钮/胶囊：正文里的链接不该抢戏。 */
.inline-link {
  color: var(--moon);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(246, 244, 226, .38);
  text-underline-offset: 3px;
  transition: color .15s ease, text-decoration-color .15s ease;
}
.inline-link:hover, .inline-link:focus-visible {
  color: #fff;
  text-decoration-color: rgba(246, 244, 226, .95);
  outline: none;
}

/* ===== 段首胶囊的悬浮控制组（2026-09-30 用户要求）=====
   鼠标移到段首时间胶囊上时，在**胶囊上方**浮出一组控制：从头播放本段 / 暂停·继续 / 循环播放本段。
   面板是单个元素、挂在 <body> 下（正文容器会被 renderOne() 重建，面板不能跟着重建），
   JS 用文档坐标（body / .page 都没有 position）把它贴到被悬停的那颗胶囊上方。 */
.para-tools {
  position: absolute;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;                 /* 极窄屏换行，不撑出视口 */
  max-width: calc(100vw - 16px);
  gap: 6px;
  padding: 6px;
  border-radius: 12px;
  background: rgba(10, 14, 30, .97);
  border: 1px solid rgba(198, 208, 240, .22);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .5);
}
.para-tools[hidden] { display: none !important; }
.pt-btn {
  font-family: inherit;            /* ⚠ <button> 不继承字体：与 .para-time 同一条坑 */
  display: flex;                   /* 图标按钮：只有一枚 svg 可见，居中 */
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;                    /* 手指也点得到（>32px） */
  padding: 0;
  color: var(--text);
  background: rgba(198, 208, 240, .10);
  border: 1px solid rgba(198, 208, 240, .18);
  border-radius: 8px;
  position: relative;              /* 悬停气泡的定位基准 */
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.pt-btn svg { display: block; }
/* BUG-1 兜底：SVG 靠 hidden 属性显隐（面板是 flex，别让 svg 抢位） */
.pt-btn svg[hidden] { display: none !important; }
/* 悬停气泡：与 .btn-ctl[data-tip] 同一套画法（自绘、放在按钮上方、不挡手）； */
.pt-btn[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  z-index: 30;
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(6, 9, 22, .95);
  border: 1px solid rgba(255, 255, 255, .14);
  color: var(--moon);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .14s ease, transform .14s ease;
}
.pt-btn[data-tip]:hover::after,
.pt-btn[data-tip]:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.pt-btn:hover, .pt-btn:focus-visible {
  color: var(--moon);
  background: rgba(246, 244, 226, .16);
  border-color: rgba(246, 244, 226, .42);
  outline: none;
}
/* 「循环播放本段」开着时的按下态 */
.pt-btn.is-on {
  color: var(--moon);
  background: rgba(246, 244, 226, .20);
  border-color: rgba(246, 244, 226, .55);
}

/* ---------- 跟读高亮（karaoke，2026-09-30 用户：「朗读时字幕随进度高亮已读文字」）----------
   两处用法不同，别合成一条：
   · 播放页字幕：底下是渐深暗底 → 未读压到半透明、已读纯白（对比够，也不刺眼）。
   · 故事稿页正文：正文本身是米白，**不能全页压暗**（一次亮起来两千字会很吓人）⇒
     只给已读部分盖一层很淡的暖白光带。纯 background + color，**不动字号/行高/边距**，
     所以一个字都不会跳位；圆角让相邻的连续字带自然接成一条。
   ⚠ span 是 karaoke.js 切的；拿不到数据时正文/字幕是**纯文本节点**，这两条规则不生效。 */
.caption-text .k { color: rgba(255, 255, 255, .52); }
.caption-text .k-on { color: #fff; }
.story-para .k { border-radius: 3px; }
.story-para .k-on { background: rgba(248, 246, 232, .14); color: var(--moon); }


/* ---------- 离线可听标记（2026-10-03）----------
   站上只在「真开始播过 + 切片补到本机」之后才出现，它是「断网也能重听」这个能力的入口。
   2026-10-03 用户：「已存本机这句文案 去掉，鼠标悬浮在……已存图标上时再出现该提示即可，
   界面保持尽可能简洁清爽」→ **只在集列表每行留一个勾**，勾上悬停才弹一句说明；
   播放器里那行常显文案撤掉。气泡画法与 .btn-ctl[data-tip] 同一套（自绘、放元素上方、
   不参与点击），只是改成右对齐 —— 勾在行的右段，右对齐才不会冒出卡片。 */
.ep-offline,
.ep-caching {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid rgba(198, 208, 240, .3);
  background: rgba(6, 9, 22, .5);
  color: var(--text-dim);
  /* 只有它把指针事件收回来：勾被 .ep-hit 那枚覆盖按钮压在下面，不收回来就 hover 不到、
     也就弹不出气泡（要的是「悬浮在勾上才出现」，不是整行都弹）。 */
  pointer-events: auto;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.ep-offline[hidden],
.ep-caching[hidden] { display: none; }
.ep-offline[data-tip]::after,
.ep-caching[data-tip]::after,
.ep-cache[data-tip]::after,
.ep-react[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  z-index: 30;
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(6, 9, 22, .95);
  border: 1px solid rgba(255, 255, 255, .14);
  color: var(--moon);
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .14s ease, transform .14s ease;
}
/* v124（用户 2026-10-14：「所有的鼠标悬停提示信息都要在光标上方，避免被光标遮挡」）：
   撤销 v122/v123 的「行尾钮气泡下挂 +14px」——下挂气泡落在光标移动路径上，反而被指针挡。
   全站气泡统一回到上挂（bottom: calc(100% + 8px)，见上方通用组）：行尾钮带 -12px 负 margin，
   上挂锚的是 44px 触控盒上缘，距可视钮（20px .rico 居中）实际净空 ≥20px，不压钮体。 */

.ep-offline[data-tip]:hover::after,
.ep-offline[data-tip]:focus-visible::after,
.ep-caching[data-tip]:hover::after,
.ep-caching[data-tip]:focus-visible::after,
.ep-cache[data-tip]:hover::after,
.ep-cache[data-tip]:focus-visible::after,
.ep-react[data-tip]:hover::after,
.ep-react[data-tip]:focus-visible::after { opacity: 1; transform: translateY(0); }
/* v122：点击自动消隐（app.js 给被点控件挂 .ll-tip-flash 3.2s）。特异性与各 hover 门持平、
   位置在门之后 ⇒ 生效；类到期自撤 ⇒ 气泡随定时器消失，不依赖鼠标是否离开。
   （用户：「点赞的提示信息，需要几秒钟后自动消失；所有类似的提示信息都需要这种机制」） */
.btn-ctl[data-tip].ll-tip-flash::after { opacity: 1; transform: translateX(-50%) translateY(0); }
.ep-offline[data-tip].ll-tip-flash::after,
.ep-caching[data-tip].ll-tip-flash::after,
.ep-cache[data-tip].ll-tip-flash::after,
.ep-react[data-tip].ll-tip-flash::after { opacity: 1; transform: translateY(0); }
/* 2026-10-08：补缓存进行中的行内百分比徽章（与 .ep-offline 同槽位机制，只是内容是字） */
.ep-caching { font-size: 11px; width: auto; min-width: 20px; padding: 0 5px; }

/* ===== 分享弹窗（2026-10-10 选项3；.share-modal 挂 body 级 fixed，z 压过所有卡片区） ===== */
.share-modal {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(3, 6, 18, .78);
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
}
.share-modal[hidden] { display: none !important; }   /* 全站兜底同款（FIX-1）：hidden 必须赢 */
.share-card {
  position: relative; width: min(380px, 100%); max-height: calc(100vh - 36px); overflow: auto;
  background: var(--card); color: var(--text);
  border: 1px solid rgba(198, 208, 240, .18);
  border-radius: var(--radius); padding: 22px 20px 18px;
  box-shadow: 0 14px 46px rgba(0, 0, 0, .55);
}
.share-title { font-size: 16px; font-weight: 600; text-align: center; }
.share-ep { margin-top: 4px; font-size: 13px; color: var(--text-dim); text-align: center; min-height: 1em; }
.share-link-row { display: flex; gap: 8px; margin-top: 14px; }
.share-link {
  flex: 1; min-width: 0; padding: 9px 10px; border-radius: 10px;
  background: var(--card-deep); border: 1px solid rgba(198, 208, 240, .22);
  color: var(--text); font-size: 12px;
}
.share-copy {
  padding: 9px 14px; border: 0; border-radius: 10px; cursor: pointer;
  background: var(--text-dim); color: #0B1021; font-size: 13px; font-weight: 600;
}
.share-copy:hover { background: var(--moon); }
.share-ok { color: #9FE6B4; }
.share-hint { margin-top: 8px; font-size: 12px; line-height: 1.7; color: var(--text-dim); text-align: center; }
.share-qr-box {
  width: fit-content; margin: 14px auto 0; padding: 10px;
  background: #fff; border-radius: 12px;
}
.share-qr-box canvas { display: block; width: 196px; height: 196px; image-rendering: pixelated; }
.share-platforms { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px; }
.share-pf {
  padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 13px;
  background: transparent; border: 1px solid rgba(198, 208, 240, .35); color: var(--text);
}
.share-pf:hover { background: rgba(198, 208, 240, .14); }
.share-pf:focus-visible { outline: 2px solid var(--moon); outline-offset: 2px; }
.share-note { margin-top: 12px; font-size: 11.5px; opacity: .8; }
.share-wx {
  margin-top: 14px; padding: 12px; border-radius: 12px; text-align: center;
  background: rgba(198, 208, 240, .10); color: var(--text); font-size: 13.5px; line-height: 1.8;
}
.share-close {
  position: absolute; top: 8px; right: 8px; width: 30px; height: 30px;
  border: 0; border-radius: 8px; cursor: pointer;
  background: transparent; color: var(--text-dim); font-size: 15px;
}
.share-close:hover { background: rgba(198, 208, 240, .14); color: var(--text); }

/* ============================================================
   月色精修 · 追加层（2026-10-10）
   本段只追加，不改上面任何既有规则的行为；所有选择器都限定在新元素或
   「升级版」的新状态上。原始设计稿：E:\HermesSpace\design\lunaloo-artistic-2026-10-10.html
   ============================================================ */

/* ---------- ① 声波：2026-10-10 用户「去掉播放效果图标」⇒ 已删（元素、样式、停帧规则一并撤）----------
   播放态反馈仍在：大播放键切成暂停图标 + 当前集行尾 ⏸ 钮（小音柱徽标已于 v114d 退役——与行尾钮重复）。 */

/* ---------- ② 定时进度环（2026-10-10 用户：旧「空圆环 + 单独一行」不够优雅 ⇒ 已折进定时按钮）----------
   样式在文件上半部「定时状态」那条（#btn-timer / .timer-ring / .timer-badge）；
   旧的 .timer-strip / .dial / .timer-label 那一整行已删除。 */

/* ---------- ③ 手机常驻迷你播控条（毛玻璃；仅「正在播放」态出现）----------
   设计要点：从拇指边「长」出来（600ms 滑入 + 淡入）；玻璃质感 + 顶部发丝光；
   bottom 吃 safe-area（iPhone 底部横条压不到按钮）。
   触控硬指标：条里每一枚可点元素的点击区都 ≥44px。 */
.minibar {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  align-items: center;
  flex-wrap: wrap;            /* 第二行放可拖的进度条（2026-10-10） */
  gap: 10px;
  padding: 8px 10px;
  border-radius: 20px;
  background: rgba(11, 16, 33, .78);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgba(248, 246, 232, .16);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(248, 246, 232, .08);
}
@media (max-width: 639px) {
  /* 2026-10-10 用户第二条：迷你条只在**主播放器移出视口**后才出现 ——
     否则同屏上下两个播放键，很别扭。player-away 由 app.js 的 bindPlayerAway()
     （IntersectionObserver 盯 .player）挂在 body 上。 */
  body.has-media.player-away .minibar {
    display: flex;
    animation: ll-rise var(--d-slow) var(--soft);
  }
}
@keyframes ll-rise {
  from { transform: translateY(16px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
/* 手机档给固定迷你条留出尾部落白：否则滚到页面底部时，最后一行集列表 / 页脚会被毛玻璃条压住
   （只加尾部留白，不动任何既有元素的位置与大小）。
   124px：迷你条 2026-10-10 多出一条可拖的进度行（高 ≈94px + 距底 12px），留白跟着加。 */
@media (max-width: 639px) {
  .page { padding-bottom: 124px; }
}
.minibar-toggle {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: radial-gradient(circle at 62% 36%, #FFFCEB 30%, #E8C87A 90%);
  box-shadow: 0 0 12px rgba(232, 200, 122, .45);
}
.minibar-toggle svg[hidden] { display: none !important; }
.minibar-info {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  gap: 1px;
  padding: 4px 6px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
.minibar-info b {
  display: block;
  font-family: var(--serif);
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.minibar-info span {
  display: block;
  color: var(--mist);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}
.minibar-bar {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: rgba(248, 246, 232, .14);
  overflow: hidden;
}
/* v106 K2b：信息行行尾右侧 ♡/☆ 两枚（容器常驻、按钮由 app.js 随集注入）。
   与 44px 播放键同排 ⇒ 行高零变化；两枚 0 0 auto 不缩不让，390 窄屏由 .minibar-info
   的 min-width:0 + 省略号让位（探针量行高前后差 ≤4px、钮不被裁）。 */
.minibar-react { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 2px; }
.minibar-react .ep-react { margin: 0; }
.minibar-bar i {
  display: block;
  height: 100%;
  width: var(--p, 0%);
  border-radius: 2px;
  background: linear-gradient(90deg, #3E4F8F, #7f93dd 70%, #AEBBE6);
}

/* 迷你条上那条**可拖**的进度（2026-10-10 用户：手机底部的播放条要支持拖拽进度）。
   用原生 range：拖拽/键盘/无障碍白拿，手势与播放器里那条主进度条完全一致；
   值由 paintSeekFill() 从 #seek 镜像过来（--p = 0–100 的无单位数，与 .seek 同一约定）。
   细轨道 + 一个看得见的小圆钮（有钮才像「能拖」），24px 高的触控热区。 */
.minibar-seek {
  flex: 1 1 100%;            /* 自己占第二行，不跟上面那枚「回播放器」按钮抢手势 */
  order: 3;
  width: 100%;
  height: 24px;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
.minibar-seek::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background:
    linear-gradient(90deg, #3E4F8F, #7f93dd 70%, #AEBBE6) 0 0 / calc(var(--p, 0) * 1%) 100% no-repeat,
    rgba(248, 246, 232, .14);
}
.minibar-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -4px;
  border-radius: 50%;
  background: radial-gradient(circle at 62% 36%, #FFFCEB 40%, #E8C87A 82%);
  box-shadow: 0 0 10px rgba(232, 200, 122, .55);
}
.minibar-seek::-moz-range-track { height: 6px; border-radius: 3px; background: rgba(248, 246, 232, .14); }
.minibar-seek::-moz-range-progress {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, #3E4F8F, #7f93dd 70%, #AEBBE6);
}
.minibar-seek::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 62% 36%, #FFFCEB 40%, #E8C87A 82%);
  box-shadow: 0 0 10px rgba(232, 200, 122, .55);
}
.minibar-seek:disabled { opacity: .5; cursor: default; }

/* ---------- ④ 全部故事：≥640 起变 2 列封面墙卡（缩略图用站点已有封面素材，不新增二进制文件）----------
   为什么从平板档（640）就切、而不是等到 1024：平板场景是「两个人一起挑」，
   卡墙比文字行更给孩子话语权（设计稿的平板版就是双列墙）；手机档 ≤639 保持原样行列表，不动合格基线。 */
@media (min-width: 640px) {
  .episode-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 14px;
  }
  .ep-row {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 12px;
    align-items: center;
    min-height: 0;
    padding: 6px 10px;                  /* v116：与桌面档同口径压扁 */
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(248, 246, 232, .035), rgba(248, 246, 232, 0) 42%), var(--card);
    transition: transform var(--d-std) var(--soft), border-color var(--d-std) var(--soft),
                box-shadow var(--d-std) var(--soft);
  }
  .ep-row:hover {
    transform: translateY(-4px);
    border-color: rgba(248, 246, 232, .25);
    box-shadow: 0 18px 34px rgba(3, 6, 18, .6);
  }
  .ep-row.current { border-color: rgba(232, 200, 122, .5); }
  /* ★ 2026-10-10 晚·用户第一条反馈：图标移到**标题行左侧**（与手机档同形制）、缩到 64px，
     并且已在 app 侧把即梦图抠成「边缘渐隐、背景半透明」的 PNG ⇒ 这里不要再套圆角方底/方形阴影，
     只留一层跟着 alpha 走的柔和投影（drop-shadow 按不透明像素描边，不会画出方块）。 */
  .ep-row .ep-cover {
    grid-column: 1; grid-row: 1 / span 2;
    display: block;
    width: 64px;
    height: 64px;
    margin: 0;
    object-fit: contain;
    border-radius: 0;
    background: none;
    box-shadow: none;
    filter: drop-shadow(0 6px 14px rgba(3, 6, 18, .55));
  }
  .ep-row .ep-title { grid-column: 2; grid-row: 1; display: block; margin-top: 0; white-space: nowrap; }
  .ep-row .ep-line2 { grid-column: 2; grid-row: 2; margin-top: 2px; }
  /* 2026-10-10：右列（缓存勾 + 时长）撤掉，四件套全在标题下方的第二行 */
}

/* ---------- ⑤ 平板 / 桌面：封面比例放宽到 16:10（氛围版），标题抬到 21px ---------- */
/* （效果图 v2：舞台回到 16:9 满宽 —— 原图 1280×720 正好满铺，不再裁） */
@media (min-width: 1280px) and (min-height: 770px) {
  /* ★ 2026-10-10 晚：图标移到标题左侧之后，桌面双栏下「全部故事」栏只有 ≈520px宽，
     再切两列每张卡只剩 ≈250px ⇒ 64px 图标会把文字压到 140px，第二行（第几集·时长/故事稿/
     缓存/分享）必然折行（实测：缓存勾被挤到第三行）。⇒ 桌面这一栏改成**单列行**
     （与手机档同形制：图标在标题左侧），一行 500px 装得下标题 + 第二行四件套。
     640–1279 维持两列封面墙（那一档卡片有 390px+，装得下）。 */
  /* v114（用户 2026-10-13：「故事列表和我的歌单都要再紧凑一些」+ 境外歌单显示不全）：
     桌面档行距 14→10、行高 −6（padding 10→7）；两列共吃（右列 stories 与歌单卡同源 .episode-list）。
     640–1279 墙卡与手机档一字不动。 */
  .episode-list { grid-template-columns: 1fr; gap: 10px; }
  .ep-row { padding: 7px 12px; }
  .player-head .player-title { font-size: 21px; letter-spacing: .5px; }
}

/* ---------- ⑥ 键盘焦点：走到哪金环亮到哪（关灯也能用键盘操作）---------- */
:focus-visible {
  outline: 2px solid var(--candle);
  outline-offset: 3px;
}
.time-toggle:focus-visible,
.back-link:focus-visible,
.inline-link:focus-visible,
.share-pf:focus-visible { outline-color: var(--candle); }

/* ---------- ⑦ 减弱动效：星 / 月 / 流星 / 声波 / 迷你条 / 字幕淡入 全部停帧 ----------
   （保留必要的淡入淡出 = 交互动效 --d-* 仍在，只是循环动画停） */
@media (prefers-reduced-motion: reduce) {
  .st,
  .shooter,
  .minibar,
  .capline .fade,
  .loading-tip,
  .btn-play.is-loading::after,
  .stage-bg,
  .stage::after,
  .stage-fly,
  .ep-row.current .ep-cover { animation: none !important; }
  .st { opacity: .5; }
  .seek::-webkit-slider-thumb,
  .seek:hover::-webkit-slider-thumb { transition: none; }
}
/* 「动效关」开关（body.calm，与原型右上角那颗开关同一套语义）——
   内核之外的兜底：即便浏览器不支持 prefers-reduced-motion 也有安静版。 */
body.calm .st,
body.calm .moon-orn,
body.calm .shooter,
body.calm .loading-tip,
body.calm .btn-play.is-loading::after,
body.calm .stage-bg,
body.calm .stage::after,
body.calm .stage-fly,
body.calm .ep-row.current .ep-cover { animation: none !important; }


/* ===== 「正在播放」小音柱徽标退役（v114d，用户 2026-10-13：「列表里的小音柱不要了，
   和行尾的播放/暂停按钮重复了」）。播放态标识收口为两样：当前集金边行 + 行尾 ⏸ 钮。 */

/* ===== 标题跑马灯（2026-10-10 用户：标题长就滚动显示）=====
   只在 JS 量出溢出时挂 .marq；幅度=溢出量，来回慢滚，装得下的标题静止不动。
   ★★ 链路上的容器必须能收缩：`.tx` 是 nowrap ⇒ 它的 min-content = 标题整宽，
      grid/flex 容器默认 min-width:auto 会被最长标题顶宽、整页横向滚动。
      2026-10-10 实测两处都漏过：桌面双栏 1440 英文轨 1625>1425（.hero>.card，已在该媒体查询里补）、
      平板双列 834 英文轨 936>819（本条）。加 min-width:0 后标题被裁 + 跑马灯接管。 */
.ep-row { min-width: 0; }
.ep-title { overflow: hidden; }
/* K1b §3 行标题不裁头（docs/35 §二5）：行题跑马灯退役——根因实测=ll-marq 把 .tx 整体
   translateX(0→−mq) 平移，标题头（"The"→"he"）随动画周期滑出左裁切框（1440/1280 EN 深滚
   采样 getComputedStyle(.tx).transform 从 matrix(1,0,0,1,0,0) 漂到 matrix(1,0,0,1,-70,0)，
   mq=70px 即 ep05 溢出量）。改 .tx 为 display:inline ⇒ 容器 .ep-title 的
   text-overflow:ellipsis 生效：头部永远完整、装不下只在尾部出省略号（省略号=明示还有字，
   裁头=欺骗）。JS 侧 measureOneTitle/--mq/.marq 类留着不碍事（动画已关）；播放器大标题的
   跑马灯（.player-head .player-title.marq）不在本款范围，保留原行为。 */
.ep-title .tx { display: inline; white-space: nowrap; }
.ep-title.marq .tx { animation: none; }
@keyframes ll-marq {
  0%, 12% { transform: translateX(0); }
  88%, 100% { transform: translateX(calc(-1 * var(--mq, 0px))); }
}
@media (prefers-reduced-motion: reduce) {
  .ep-title.marq .tx { animation: none; }
}

/* ---------- K3 点赞角标（2026-10-13 方案 C，docs/36；<5 由 JS 整枚不挂） ----------
   数字非本机状态：来自 /api/like-stat 的分轨聚合计数，开页刷新（拍板=不做实时）。 */
.ep-covbox { position: relative; grid-column: 1; grid-row: 1 / span 2; align-self: center; min-width: 0; line-height: 0; }
.like-badge {
  position: absolute; right: -4px; bottom: -4px; z-index: 2;
  display: none;
  font-size: 9px; font-weight: 700; letter-spacing: .2px; line-height: 1.1;
  color: #123; background: rgba(232, 200, 122, .92);
  border-radius: 999px; padding: 2px 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .45);
  pointer-events: none;                    /* 绝不挡整行落点 .ep-hit，也不进 hover 链 */
}
.like-badge.on { display: inline-flex; }
/* 列表行的角标只在桌面双栏档露出（手机行封面 48px，再叠数字就是第三次「突兀」教训） */
@media (max-width: 1279px), (min-width: 1280px) and (max-height: 769px) {
  #episode-list .like-badge { display: none; }
}
/* 播放器封面角标=主位：全档可见（手机/平板靠它），悬停读全句 */
.stage > .like-badge {
  right: 10px; bottom: 10px;
  font-size: 11px; padding: 3px 8px;
  pointer-events: auto;
}
/* v124c：全句悬停改自绘气泡（上挂光标上方，与全站同一画法；原生 title 已撤） */
.stage > .like-badge[data-tip]::after {
  content: attr(data-tip);
  position: absolute; bottom: calc(100% + 8px); right: 0; z-index: 30;
  padding: 6px 9px; border-radius: 8px;
  background: rgba(6, 9, 22, .95); border: 1px solid rgba(255, 255, 255, .14);
  color: var(--moon); font-size: 12px; line-height: 1.2; white-space: nowrap;
  font-weight: 400; letter-spacing: 0;
  pointer-events: none; opacity: 0; transition: opacity .14s ease;
}
.stage > .like-badge[data-tip]:hover::after,
.stage > .like-badge[data-tip]:focus-visible::after { opacity: 1; }

/* ══ v124d（用户 2026-10-14：「小米笔记本小屏+缩放只有头部和播放器、故事集没了；
   境外底部订阅被挡一半——这种情况直接退平板档」）：宽≥1024 但视口高<770 ⇒ 归入平板单列档，
   并**放弃 hero 一屏预算**（190 的展开头把预算吃穿，硬凑一屏只会让故事列表被挤成 0）：
   页面走平板式自然滚动——播放器吸顶、列表内滚 46vh、订阅卡/页脚滚到即全见，没有"挡一半"。══ */
@media (min-width: 1024px) and (max-height: 769px) {
  .hero { height: auto; }
  #episode-list { max-height: 46vh; }
  .hero>.stories { min-height: 0; }
}
