/* ============================================================
   岚甜设计 · PC 网页版（响应式：桌面专属 / 平板+手机=移动端样式）
   主色调：蓝色系
   ============================================================ */

/* 特殊日子首页去色（后台「首页设置 → 显示开关」控制）。
   类名只加在 #pcMain / #mContent 两个内容容器上，不加 body：
   body 上挂 filter 会成为 fixed 后代的包含块，移动端底部导航会跟着错位。 */
.gray-on { filter: grayscale(100%); -webkit-filter: grayscale(100%); }

*, *::before, *::after { -webkit-tap-highlight-color: transparent; }

/* 全站禁止原生拖拽：图片、链接、图标不能被拖出来（拖到桌面/其它窗口/地址栏）。
   配合 app.js 里的 dragstart 全局拦截；输入框与可编辑区在那边豁免。
   注意：这里只禁「拖」，不禁选中复制——文字仍可正常划选、Ctrl+C。 */
img, a, svg { -webkit-user-drag: none; user-drag: none; }

:root {
  --theme: #2563eb;
  --blue: var(--theme);
  --blue-dark: var(--theme);
  --blue-light: #eff6ff;
  --blue-border: #bfdbfe;
  /* 描边按钮（.pc-btn）专用：JS 换主题色时派生覆盖，未设置时回落 --blue-border */
  --theme-border: var(--blue-border);
  --text: #1e293b;
  --text-2: #64748b;
  --bg: #f5f7fb;
  --card: #ffffff;
  --danger: #ef4444;
  --ok: #16a34a;

  --gold: #eab94e;
  --gold-ink: #6b4a05;
  --gold-dot: #e7bd6b;
  --radius: 12px;
  --shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
}
a { color: var(--blue); text-decoration: none; }
img { display: block; }
button { font-family: inherit; cursor: pointer; }

/* ---------- 移动端：全屏小程序式容器 ---------- */
.app {
  max-width: 100%;
  margin: 0 auto;
  min-height: 100%;
  background: var(--bg);
}

/* ============================================================
   PC 端布局（>=1024px）
   ============================================================ */
.pc-nav {
  display: none;
}
.pc-main {
  display: none;
}

/* ============================================================
   移动端布局（<1024px）：顶部栏 + 内容 + 底部 tabbar，类小程序
   ============================================================ */
.m-top {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  height: 52px; padding: 0 16px;
  background: #fff; border-bottom: 1px solid #eef2f7;
}
.m-top .logo { font-size: 17px; font-weight: 700; color: var(--blue); }
/* 点击 Logo 回主页 */
.pc-nav .logo, .m-top .logo { cursor: pointer; user-select: none; }
.pc-nav .logo img, .m-top .logo img { cursor: pointer; -webkit-user-drag: none; user-drag: none; }
.m-top .user { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; background: var(--blue-light); }
.m-top .user img { width: 100%; height: 100%; object-fit: cover; }

.m-content { padding-bottom: 70px; }

.m-tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; background: #fff; border-top: 1px solid #eef2f7;
  height: 56px;
}
.m-tabbar .tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 11px; color: var(--text-2); background: none; border: none;
}
.m-tabbar .tab.on { color: var(--blue); font-weight: 600; }

.m-tabbar .tab .ico {
  width: 22px; height: 22px; line-height: 1; margin-bottom: 3px;
  background-repeat: no-repeat; background-position: center; background-size: contain;
}
.m-tabbar .tab .ico-home { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.6' y='3.6' width='7.4' height='7.4' rx='2'/%3E%3Crect x='13' y='3.6' width='7.4' height='7.4' rx='2'/%3E%3Crect x='3.6' y='13' width='7.4' height='7.4' rx='2'/%3E%3Crect x='13' y='13' width='7.4' height='7.4' rx='2'/%3E%3C/svg%3E"); }
.m-tabbar .tab .ico-course { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.6'/%3E%3Cpath d='M9.8 8.6l6 3.4-6 3.4z'/%3E%3C/svg%3E"); }
.m-tabbar .tab .ico-articles { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3.6h7L18 7.6V20a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V4.6a1 1 0 0 1 1-1z'/%3E%3Cpath d='M13.4 3.6v4.2H17'/%3E%3Cpath d='M8.8 13h6.4M8.8 16.4h4.6'/%3E%3C/svg%3E"); }
.m-tabbar .tab .ico-mine { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.8'/%3E%3Ccircle cx='12' cy='9.8' r='2.6'/%3E%3Cpath d='M6.9 17.4c.9-2.2 2.8-3.4 5.1-3.4s4.2 1.2 5.1 3.4'/%3E%3C/svg%3E"); }
.m-tabbar .tab.on .ico-home { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.6' y='3.6' width='7.4' height='7.4' rx='2'/%3E%3Crect x='13' y='3.6' width='7.4' height='7.4' rx='2'/%3E%3Crect x='3.6' y='13' width='7.4' height='7.4' rx='2'/%3E%3Crect x='13' y='13' width='7.4' height='7.4' rx='2'/%3E%3C/svg%3E"); }
.m-tabbar .tab.on .ico-course { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.6'/%3E%3Cpath d='M9.8 8.6l6 3.4-6 3.4z'/%3E%3C/svg%3E"); }
.m-tabbar .tab.on .ico-articles { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3.6h7L18 7.6V20a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V4.6a1 1 0 0 1 1-1z'/%3E%3Cpath d='M13.4 3.6v4.2H17'/%3E%3Cpath d='M8.8 13h6.4M8.8 16.4h4.6'/%3E%3C/svg%3E"); }
.m-tabbar .tab.on .ico-mine { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.8'/%3E%3Ccircle cx='12' cy='9.8' r='2.6'/%3E%3Cpath d='M6.9 17.4c.9-2.2 2.8-3.4 5.1-3.4s4.2 1.2 5.1 3.4'/%3E%3C/svg%3E"); }

/* ---------- 自研提示弹窗与轻提示（app.js 的 pcAlert / pcToast） ---------- */
.pc-al-txt { font-size: 14px; line-height: 1.85; color: var(--text); word-break: break-word; white-space: pre-line; }
.pc-al-in {
  width: 100%; box-sizing: border-box; margin-top: 12px; padding: 10px 12px;
  border: 1px solid #d1d5db; border-radius: 8px; font-size: 14px; color: var(--text); background: #fff;
}
.pc-al-in:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.pc-al-link {
  margin-top: 10px; padding: 10px 12px; background: #f8fafc; border: 1px solid #eef2f7; border-radius: 8px;
  font-size: 12.5px; color: var(--text-2); word-break: break-all; user-select: all; -webkit-user-select: all;
}
.pc-toast {
  position: fixed; left: 50%; top: 45%; transform: translate(-50%, -50%) scale(.96); z-index: 9999;
  max-width: 76vw; padding: 12px 24px; border-radius: 10px;
  background: rgba(15, 23, 42, .88); color: #fff; font-size: 14px; line-height: 1.6; text-align: center;
  opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease;
}
.pc-toast.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* 列表卡片（移动端） */
.m-list { padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.m-card {
  position: relative;   
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; gap: 12px; padding: 12px;
  cursor: pointer;   /* 整张卡 onclick 进详情（2026-11-15：原来是箭头，跟 PC 卡不一致） */
}
.m-card img { width: 96px; height: auto; aspect-ratio: 750 / 457; border-radius: 8px; object-fit: cover; flex: none; }
.m-card .info { flex: 1; min-width: 0; }
.m-card .title { font-size: 15px; font-weight: 400; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 15em; word-break: break-all; }
.m-card .meta { margin-top: 6px; font-size: 12px; color: var(--text-2); display: flex; gap: 10px; align-items: center; }

.m-card .price { color: var(--danger); font-weight: 800; font-size: 19px; line-height: 1.2; }
.m-card .free { color: var(--ok); font-weight: 700; font-size: 15px; }

.m-card .kf {
  font-size: 11.5px; font-weight: 600; line-height: 1.3; letter-spacing: .2px;
  color: #b45309; background: none; margin-left: 5px; white-space: nowrap;
}

/* 课程详情（移动端） */
.m-detail { padding: 12px; }
.m-detail .cover { width: 100%; height: auto; aspect-ratio: 750/457; object-fit: cover; border-radius: var(--radius); }
.m-detail h1 { font-size: 19px; margin: 14px 0 6px; line-height: 1.4; }
.m-detail .sub { display: flex; gap: 12px; font-size: 13px; color: var(--text-2); margin-bottom: 12px; flex-wrap: wrap; }
/* 窄屏详情那条简介（评审 MUST-FIX-2 补的节点）：按全站口径不铺灰底方块，靠留白与细线分格。
   .note 是「资料未解锁」那一行，同一条排版，只把字号压一档、再补一条细线与上面分开。 */
.m-detail .m-intro { font-size: 14px; color: var(--text-2); line-height: 1.7; margin: 0 0 12px; }
.m-detail .m-intro.note { font-size: 13px; color: #a4aebe; padding-top: 10px; border-top: 1px solid #f1f5f9; }

.m-favbtn { color: var(--blue); font-size: 13px; cursor: pointer; }
.chapter-list { margin-top: 14px; background: #fff; border-radius: var(--radius); overflow: hidden; }
.chapter-list .ch {
  display: flex; align-items: center; gap: 10px; padding: 14px; border-bottom: 1px solid #f1f5f9; cursor: pointer;
}
.chapter-list .ch:last-child { border-bottom: none; }
.chapter-list .ch .no { width: 26px; height: 26px; border-radius: 50%; background: var(--blue-light); color: var(--blue); font-size: 12px; display: flex; align-items: center; justify-content: center; flex: none; }
.chapter-list .ch.lock .no { background: #f1f5f9; color: var(--text-2); }
.chapter-list .ch .t { flex: 1; font-size: 14px; }
.chapter-list .ch .tag { font-size: 11px; color: var(--ok); }
.chapter-list .ch.lock .tag { color: var(--text-2); }

/* 播放页（移动端） */
.m-play { padding: 0; }
/* 播放页（移动端）：宽度照旧 100%，高度按站主片源的比例 3456×2232（≈1.548）算
   （2026-11-06 站主：「没让你按 16:9，我是说按现有的宽频的视频的比例！去固定！」→ 随后给了尺寸
   「现有的宽度不变，高度改下，比例按照这个 3456×2232」）。
   原来 height 写死 220px——窗口窄到 <1024 切到这套布局，900 宽时视频区成了一条 900×220 的黑带。
   现在宽度 100%、高度＝宽 ÷ 1.548（900 窗口 = 581；375 手机 = 242）；
   竖版 / 4:3 片子靠 object-fit:contain 留黑边，比例不拉变形、框高不跳。
   桌面版 .pp-stage 用同一条比例（那边是定死比例、竖版留黑边，两条口径保持一致）。 */
.m-play video { display: block; width: 100%; height: auto; aspect-ratio: var(--pp-ratio, 16 / 9); object-fit: contain; background: #000; }
/* 长按画面不弹系统的「存储视频 / 画中画」菜单（2026-11-06 与防录屏一并加）：只对画面生效，
   正文与笔记照旧能选中、复制 */
.pp-stage video, .m-play video, .wm-wrap video { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.m-play .p-info { padding: 12px 16px; background: #fff; }
.m-play .p-title { font-size: 16px; font-weight: 600; }

/* 跑马灯水印（上行昵称水印 + 下行版权声明，颜色/透明度/速度后台可配） */
.wm-wrap { position: relative; }
.wm {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  overflow: hidden; pointer-events: none;
  z-index: 10;
}
/* 顶部版权声明（深色条） */
.wm-cp {
  position: absolute; top: 0; left: 0; right: 0;
  overflow: hidden; background: rgba(0,0,0,.45);
  padding: 6px 0; white-space: nowrap;
}
.wm-cp .wm-track { position: static; top: auto; }
/* 中间昵称水印 */
.wm .wm-track.wm-mid { top: 44%; }
.wm .wm-track {
  position: absolute; top: 10px; left: 0;
  display: inline-block; white-space: nowrap;
  padding-left: 100%; animation: wmScroll 18s linear infinite;
  font-size: 12px; line-height: 1.8; color: #fff; text-shadow: 0 0 3px rgba(0,0,0,.8);
}
.wm .wm-track span { margin-right: 48px; }
@keyframes wmScroll { to { transform: translateX(-100%); } }
/* 站点 Logo / 底部信息（后台可配） */

.logo-img { height: 70px; display: block; }
.pc-nav .logo .logo-img { height: 70px !important; width: auto; max-width: 220px; object-fit: contain; }
.m-top .logo .logo-img { height: 26px; }

.pc-footer {
  display: block; background: transparent; color: var(--text-2);
  font-size: 13px; line-height: 1.9; text-align: left;
  max-width: 1360px; margin: 64px auto 0; padding: 44px 40px 72px;
  border-top: 1px solid #e6eaf2;
}
.ft-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.ft-brand { font-size: 15px; font-weight: 600; color: #334155; letter-spacing: .5px; flex: none; }
.ft-brand small { display: block; margin-top: 6px; font-size: 12px; font-weight: 400; color: #a4aebe; letter-spacing: 0; line-height: 1.7; max-width: 460px; }
.ft-links { display: flex; align-items: center; flex-wrap: wrap; font-size: 13px; }

.ft-links a, .ft-links span { color: #64748b; text-decoration: none; margin: 0 10px; padding: 2px 0; border-bottom: 1px solid transparent; }
.ft-links a:hover { color: var(--blue); border-bottom-color: rgba(37, 99, 235, .35); }
/* 底部文字 + ICP + 公安备案：一条虚线隔开发，淡灰小字，彼此用间距而不是竖线 */
.ft-meta { flex-basis: 100%; margin-top: 20px; padding-top: 16px; border-top: 1px dashed #e6eaf2;
  display: flex; flex-wrap: wrap; gap: 4px 18px; color: #a4aebe; font-size: 12px; }
.ft-meta a { color: #a4aebe; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.ft-meta a:hover { color: var(--blue); }
/* 固定链接（岚甜设计/模板购买，2026-11-04 用户点名靠右）：margin-left:auto 推到备案行最右；
   右边收 10px 是为了跟上面友情链接的最后一个对齐——那边 .ft-links a 自带 margin-right:10px，
   两行右边缘才在同一竖线上。两颗之间 18px，与 .ft-meta 的列间距同节奏 */
.ft-fixed { margin-left: auto; margin-right: 10px; display: inline-flex; align-items: center; gap: 18px; }
/* 公安备案标识：后台上传的官方图标，或没上传时的内置盾牌占位。跟文字同高，不撑行高 */
.ga-badge { width: 15px; height: 15px; flex: none; opacity: .92; }
img.ga-badge { object-fit: contain; }

.nt-one { margin-top: 4px; }
.nt-list { max-height: 58vh; overflow-y: auto; margin-top: 4px; }
.nt-row { display: flex; align-items: center; gap: 10px; padding: 13px 4px; border-bottom: 1px dashed #eef2f7; cursor: pointer; }
.nt-row:hover { background: #f8fafc; }
.nt-row:last-child { border-bottom: none; }
.nt-row-t { flex: 1; min-width: 0; font-size: 14px; line-height: 1.7; color: #334155; }
.nt-row-go { flex: none; color: #cbd5e1; font-size: 16px; }
.nt-t { font-size: 14px; line-height: 1.85; color: #334155; }

.nt-i { display: block; width: auto; max-width: 100%; height: auto; border-radius: 10px; margin-top: 10px; -webkit-user-drag: none; user-select: none; }

.m-modal .box img.nt-i { width: auto; max-width: 100%; height: auto; margin: 10px 0 0; -webkit-user-drag: none; }

.m-modal .box.nt-box { max-width: 640px; height: min(520px, 78vh); text-align: left; display: flex; flex-direction: column; }
.m-modal .box.nt-box h3 { flex: none; }

.nt-scroll { flex: 1; min-height: 0; overflow-y: auto; text-align: left; scrollbar-width: thin; scrollbar-color: #cbd5e1 transparent; }
.nt-scroll::-webkit-scrollbar { width: 8px; }
.nt-scroll::-webkit-scrollbar-track { background: transparent; border-radius: 4px; }
.nt-scroll::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.nt-scroll::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
.nt-acts { flex: none; display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.m-foot {
  display: none; background: transparent; border-top: 1px solid #e6eaf2;
  padding: 22px 16px 132px; color: #a4aebe; font-size: 12px; text-align: left; line-height: 1.9;
}
.m-foot .ft-links { margin-top: 4px; }
.m-foot .ft-links a, .m-foot .ft-links span { margin: 0 8px 0 0; }
/* 手机版友链右边距是 0（右边缘贴容器），固定链接同样贴右，别继承桌面版的 10px */
.m-foot .ft-fixed { margin-right: 0; gap: 16px; }
.m-foot .ft-meta { margin-top: 14px; padding-top: 12px; }
@media (max-width: 900px) { .pc-footer { display: none; } .m-foot { display: block; } }
/* 防录屏黑屏层（开启后离开页面/切窗口显示，录屏只能录到黑屏） */
.ar-blk {
  position: absolute; inset: 0; z-index: 30;
  background: #000; color: #fff;
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.ar-blk .ar-txt { color: #ffd54a; font-weight: 700; font-size: 15px; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.ar-blk .ar-tip { color: #94a3b8; font-size: 12.5px; }
/* 播放中周期核验遮罩（2026-11-05）：比黑屏层再高一层，必须点「继续观看」才走 */
.ar-chk {
  position: absolute; inset: 0; z-index: 40;
  display: none; align-items: center; justify-content: center;
  padding: 24px; text-align: center;
  background: rgba(0,0,0,.94);
}
.ar-chk.on { display: flex; }
.ar-chk-in { max-width: 420px; }
.ar-chk-t { color: #fff; font-size: 17px; font-weight: 700; letter-spacing: .5px; }
.ar-chk-d { color: #94a3b8; font-size: 13px; line-height: 1.75; margin-top: 8px; }
.ar-chk-b {
  margin-top: 18px; height: 38px; padding: 0 26px;
  border: 0; border-radius: 8px; background: var(--blue); color: #fff;
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.ar-chk-b:hover { opacity: .9; }

/* 弹窗 */
.m-modal {
  position: fixed; inset: 0; z-index: 100; background: rgba(15,23,42,.55);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.m-modal .box {
  background: #fff; border-radius: 16px; padding: 24px; width: 100%; max-width: 340px;
  text-align: center;
}
.m-modal .box h3 { font-size: 16px; margin-bottom: 12px; }
.m-modal .box p { font-size: 13px; color: var(--text-2); margin-bottom: 14px; line-height: 1.6; }
.m-modal .box img { width: 200px; height: 200px; margin: 0 auto 14px; }
.m-modal .box .btn { display: block; width: 100%; padding: 11px; border-radius: 10px; border: none; font-size: 14px; background: var(--blue); color: #fff; }
.m-modal .box .btn.gray { background: #eef2f7; color: var(--text); margin-top: 8px; }

/* 记笔记 / 答疑弹窗（v1.22.74 站主：「记笔记和答疑的弹窗再宽一些」）：
   通用弹窗是 340px 的窄卡（适合一句话提示），装了输入框就太挤——单独放宽到 620px 并左对齐，
   textarea 撑满整宽；选择器带 .np-box，别去动通用弹窗的 340px。 */
.m-modal .box.np-box { max-width: 620px; text-align: left; }

/* 「请先登录」小窗（v1.22.83，播放页的记笔记 / 答疑对游客常驻，点一下只弹这一块）：
   通用弹窗 340px 正好装一行说明 + 两颗按钮；正文跟 .pp-nx-d 同一档（13.5px / 1.7），
   说明两行以内读完就知道为什么要点登录。 */
.pp-login-tip { font-size: 13.5px; color: var(--text-2); line-height: 1.7; }

/* 「本节已播完 → 是否播放下一节」弹窗（2026-11-06 站主）：
   通用弹窗 340px 装得下一句话，但这里要摆下一节标题 + 两颗按钮（主按钮「播放下一节」、
   下面那颗「自动播放下一节」），所以单独放宽到 384px 并左对齐。
   两个按钮都自己写死高度与圆角，不去继承 `.m-modal .box .btn` 那套（那颗是 100% 宽的块级）。 */
.m-modal .box.pp-nx-box { max-width: 384px; text-align: left; }
.pp-nx-d { font-size: 13.5px; color: var(--text-2); line-height: 1.7; }
.pp-nx-n {
  display: flex; align-items: center; gap: 8px; margin-top: 12px;
  padding: 10px 12px; background: #f6f9fe; border: 1px solid #e8effa; border-radius: 10px; min-width: 0;
}
.pp-nx-k {
  flex: none; font-size: 11px; font-weight: 600; color: var(--blue);
  background: #e8f0ff; border-radius: 5px; padding: 2px 7px; line-height: 1.5;
}
.pp-nx-v {
  flex: 1 1 auto; min-width: 0; font-size: 13.5px; font-weight: 600; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pp-nx-go {
  display: block; width: 100%; height: 40px; margin-top: 16px;
  border: none; border-radius: 10px; background: var(--blue); color: #fff;
  font-size: 14px; font-weight: 600; font-family: inherit; cursor: pointer;
}
.pp-nx-go:hover { background: #1d4ed8; }
.pp-nx-auto {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; height: 38px; margin-top: 8px;
  border: 1px solid #e2e9f5; border-radius: 10px; background: #fff; color: var(--text);
  font-size: 13.5px; font-weight: 600; font-family: inherit; cursor: pointer;
}
.pp-nx-auto svg { color: var(--blue); }
.pp-nx-auto:hover { border-color: var(--blue-border); background: var(--blue-light); }
/* 取消（2026-11-12 站主：播完弹窗加一颗）：只关窗不跳转，比「自动播放下一节」再退一档的素色 */
.pp-nx-cancel {
  display: block; width: 100%; height: 38px; margin-top: 8px;
  border: none; border-radius: 10px; background: #f1f5f9; color: #64748b;
  font-size: 13.5px; font-weight: 600; font-family: inherit; cursor: pointer;
}
.pp-nx-cancel:hover { background: #e2e8f0; color: #475569; }
.pp-nx-tip { margin-top: 10px; font-size: 11.5px; color: #94a3b8; line-height: 1.65; }

/* 分销分享弹窗（v1.22.77 站主：「弹窗里的地址错位了」）：
   通用弹窗 340px + `.btn{display:block;width:100%}`，链接行里那颗「复制链接」被撑成整行宽，
   flex 的 flex-basis 跟着变成 100%，反过来把链接压成 0 宽、一个字一行竖着排。
   这里给分享弹窗单独一档宽度，并把链接行改成「文字 flex:1 + 按钮 flex:none」的固定口径。 */
.m-modal .box.sc-box { max-width: 460px; text-align: left; }
.sc-lbl { font-size: 12.5px; color: #94a3b8; margin: 14px 0 6px; }
.sc-linkrow {
  display: flex; gap: 10px; align-items: center;
  background: #f8fafc; border: 1px solid #eef2f7; border-radius: 10px; padding: 10px 12px;
}
.sc-link {
  flex: 1 1 auto; min-width: 0;
  font-size: 12.5px; line-height: 1.55; color: #334155;
  word-break: break-all; overflow-wrap: anywhere;
}
/* 按钮要 4 个类才压得住 `.m-modal .box .btn` 的 width:100% / display:block */
.m-modal .box .btn.sc-copy {
  display: inline-flex; align-items: center; justify-content: center;
  flex: none; width: auto; height: 32px; padding: 0 14px;
  border-radius: 8px; font-size: 12.5px; font-weight: 600; line-height: 1; white-space: nowrap;
}
.sc-note { font-size: 12px; color: var(--text-2); line-height: 1.8; margin-top: 8px; }
.sc-btns { display: flex; gap: 8px; margin-top: 16px; }
/* 「取当前」小按钮：与小程序播放页 .nt-ts-go 同一功能同一位置（时间数字右边）。
   28px 高一档，圆角 7px，未点是白底细边、按下/触发瞬间填蓝闪一下做反馈。 */
.pp-np-now {
  display: inline-flex; align-items: center; justify-content: center;
  height: 28px; padding: 0 10px; margin: 0 0 0 2px;
  border: 1px solid var(--blue-border); border-radius: 7px; background: #fff;
  color: var(--blue); font: inherit; font-size: 12px; font-weight: 600; line-height: 1;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.pp-np-now:hover { background: var(--blue-light); }
.pp-np-now.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.pp-np-tip { color: #94a3b8; }
/* 文本区底部一行小字（2026-11-06 站主：「记笔记和答疑，在文本区域底部，同样加上这个跟小程序上的一致」）：
   照小程序 .npop-cf 的排布——左边 n/500 字数、右边一句说明右对齐，两件同色同一行。
   颜色取本页同类小字（.pp-note-flhint）的 #94a3b8，比小程序 #b7c0cd 深一档，11.5px 白底上也看得清。 */
.pp-np-cf {
  display: flex; align-items: center; gap: 10px;
  margin-top: 6px; height: 18px; line-height: 18px;
  font-size: 11.5px; color: #94a3b8;
}
.pp-np-cnt { flex: none; font-variant-numeric: tabular-nums; }
.pp-np-cnt.max { color: var(--danger); }
.pp-np-hint { flex: 1; min-width: 0; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* 按钮 */
.m-btn {
  display: block; width: 100%; padding: 12px; border: none; border-radius: 10px;
  font-size: 15px; font-weight: 600; text-align: center; background: var(--blue); color: #fff;
  margin-top: 12px; cursor: pointer;   /* div 形态的按钮也点得动（.btn-upd 的 not-allowed 在后，仍覆盖） */
}
.m-btn.gray { background: #eef2f7; color: var(--text); }
.m-btn.ok { background: var(--ok); }

/* 空状态 */
.empty { text-align: center; color: var(--text-2); padding: 60px 20px; font-size: 14px; }
/* 空状态落进课程网格时（搜不到 / 暂无视频）：它原本只占第一格，
   text-align:center 也只在那一格窄栏里居中，看着像贴在左上角、还提前折行。
   跨整行 + 撑满，那一句才是真的在整行中间（桌面 pc-grid、手机 m-grid 同一条）。 */
.pc-grid > .empty, .m-grid > .empty, .m-grid-1 > .empty { grid-column: 1 / -1; width: 100%; }

/* 登录按钮（顶栏） */
.m-login-btn {
  font-size: 13px; color: var(--blue); border: 1px solid var(--blue-border);
  background: var(--blue-light); padding: 5px 12px; border-radius: 16px;
}

.pc-upd {
  display: inline-flex; align-items: center; flex: none; align-self: flex-start;
  margin-left: .35em; vertical-align: middle; white-space: nowrap;
  font-size: 11px; font-weight: 600; line-height: 1.4; letter-spacing: .3px;
  color: #475569; background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 5px; padding: 2px 7px;
}

/* 「更新中」的价格位是一根中性灰横杠（#94a3b8）：看着像「这里还没定价」，不像报错，也不跟红色售价抢眼。
   这里必须把每一处价格类名都点名写全 —— 单写 .pc-dash 只赢「权重 0,1,0」的那些，
   而 .fav-meta .price(0,2,0) / .rc-p / .pd-now 都压在它上面或排在它后面，一漏就还是红的
   （2026-11-06 站主：「卡片，更新中的价格显示位置的那根横杆，换成灰色」——收藏卡那根当时就是红的）。
   新增价格位时，务必把那一处也加进这一行。 */
.pc-dash,
.pc-card .price.pc-dash,
.m-card .price.pc-dash,
.pc-buy-bar .price.pc-dash,
.hcv-price.pc-dash,
.fav-meta .price.pc-dash,
.rc-p.pc-dash,
.pd-now.pc-dash,
.pp-rec-price.pc-dash { color: #94a3b8; }
/* 「更新中 · 暂未开放」：既不付钱也不领取，markup 里是一颗真 disabled 的按钮（桌面）/ 一个不带 onclick 的 div（窄屏），
   所以它既不是主题蓝也不是实心主按钮——浅石板底＋中灰字、无投影。:hover 那一联也必须写进来并给同样的值，
   否则上面 .pc-btn:hover 会把背景换回 var(--blue-light)，一颗「点了没反应」的按钮就装出了可点的样子。 */
.pc-btn.btn-upd, .pc-btn.btn-upd:hover, .m-btn.btn-upd { background: #eef2f7; color: #8b98ab; border-color: #e8ecf3; cursor: not-allowed; }

/* ============================================================
   PC 端（>=1024px）：独立大气设计
   ============================================================ */
@media (min-width: 1024px) {
  body { background: #fff; }

  .app { max-width: 1360px; padding: 0 40px; }

  /* 顶部导航（固定：滚动时吸顶，白底遮住底下滚过的内容）。
     v1.22.19 站主：「pc 端的顶部，左右区域加宽到跟灰色底色左右两边对齐」——
     .app 自身就是那块灰底（max-width 1360），导航原来跟着 .app 的 40px 内距一起缩，
     左右各露出一条 40px 灰缝，看着像白条浮在灰底里。这里用等量负外边距把白条拉回
     .app 的两条边线（内部 40px 内距照旧，logo/菜单/头像的位置一个像素都不动）。 */
  .pc-nav {
    position: sticky; top: 0; z-index: 50;
    display: flex; align-items: center; justify-content: space-between;
    height: 72px; border-bottom: 1px solid #eef2f7;
    background: #fff;
    margin: 0 -40px; padding: 0 40px;
  }
  .pc-nav .logo { font-size: 22px; font-weight: 800; color: var(--blue); letter-spacing: 1px; }
  .pc-nav .logo small { font-size: 12px; color: var(--text-2); font-weight: 400; margin-left: 8px; }
  .pc-nav .links { display: flex; gap: 36px; }
  .pc-nav .links a { font-size: 15px; color: var(--text-2); padding: 8px 0; border-bottom: 2px solid transparent; }
  .pc-nav .links a.on { color: var(--blue); font-weight: 600; border-color: var(--blue); }
  .pc-nav .right { display: flex; align-items: center; gap: 14px; }
  .pc-avatar { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; border: 2px solid var(--blue-border); }
  .pc-avatar img { width: 100%; height: 100%; object-fit: cover; }
  .pc-btn {
    padding: 8px 20px; border-radius: 8px; font-size: 14px; border: 1px solid var(--theme-border);
    background: #fff; color: var(--blue); transition: all .2s;
  }
  .pc-btn:hover { background: var(--blue-light); }
  .pc-btn.solid { background: var(--blue); color: #fff; border-color: var(--blue); }
  .pc-btn.solid:hover { background: var(--blue-dark); }

  .m-top, .m-tabbar, .m-content { display: none; }

  .pc-main { display: block; padding: 44px 0 96px; }

  .hero {
    position: relative; overflow: hidden;
    background: linear-gradient(160deg, #ffffff 0%, #f7f9fd 52%, #eef3fb 100%);
    border: 1px solid #e8eef7;
    border-radius: 19px; color: #0f172a; padding: 40px 44px; margin-bottom: 40px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .05), 0 1px 2px rgba(15, 23, 42, .04);
  }
  .hero-glow {
    position: absolute; left: 0; top: 0; right: 0; bottom: 0; pointer-events: none;
    background: radial-gradient(620px 380px at 76% -12%, var(--blue) 0%, transparent 68%);
    opacity: .10;
  }
  .hero-grid {
    position: absolute; left: 0; top: 0; right: 0; bottom: 0; pointer-events: none;
    background-image:
      linear-gradient(to right, rgba(15, 23, 42, .05) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(15, 23, 42, .05) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(130% 100% at 16% 0%, rgba(0, 0, 0, .92), rgba(0, 0, 0, 0) 70%);
    mask-image: radial-gradient(130% 100% at 16% 0%, rgba(0, 0, 0, .92), rgba(0, 0, 0, 0) 70%);
  }

  .hero-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 322px); gap: 44px; align-items: center; position: relative; z-index: 1; min-width: 0; }
  /* 右栏那一列的外壳：数字在上、小框在下，两件之间留一条很轻的间距（不画分隔线，细线在这一栏里太碎） */
  .hero-side { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
  /* 后台关掉「首屏统计数字」：轨道退回单栏（.no-nums 挂在 .hero 上、这里改的是 .hero-body 的轨道，
     因为网格容器是 .hero-body 而不是 .hero），数字栏整块不出现，左栏独占一行 */
  .hero.no-nums .hero-body { grid-template-columns: 1fr; }
  .hero.no-nums .hero-nums { display: none; }
  /* 数字关掉以后这一列只剩那枚小信息框：轨道退回单栏时不给它限宽，一条 13px 的注脚会被拉成整行宽的横幅，
     所以宽度仍按两栏那一档（322px）走，靠左排在文案下面 */
  .hero.no-nums .hero-side { max-width: 322px; }
  .hero-main { min-width: 0; }
  .hero-main, .hero-nums { position: relative; z-index: 1; }

  .hero .js-hero-text { display: flex; flex-direction: column; align-items: center; text-align: center; }

  .hero .hero-title {
    margin-top: 0; font-size: 36px; line-height: 1.24; font-weight: 800; letter-spacing: -.8px;
    color: #0b1226; max-width: 16em;
  }
  .hero .hero-title:empty { display: none; }

  .hero .hero-bar {
    display: block; width: 56px; height: 5px; border-radius: 999px; margin-top: 18px;
    background: linear-gradient(90deg, var(--blue, #2563eb), rgba(37, 99, 235, .22));
  }

  .hero .hero-desc {
    margin-top: 16px; font-size: 15px; line-height: 1.8; color: #475569; max-width: 34em;
    background: rgba(37, 99, 235, .055); border-radius: 14px; padding: 12px 20px; box-sizing: border-box;
  }
  .hero .hero-desc:empty { display: none; }

  .hero .js-hero-course { margin-top: 20px; }
  .hero .js-hero-course:empty { display: none; }

  .hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; }
  .hero-trust:empty { display: none; }
  .hero-trust .ht-item {
    display: inline-flex; align-items: baseline; gap: 6px;
    font-size: 13px; line-height: 1.5; color: rgba(11, 18, 38, .58); letter-spacing: .2px;
  }
  .hero-trust .ht-item::before {
    content: ''; flex: none; width: 5px; height: 5px; border-radius: 50%;
    background: var(--blue); opacity: .5; align-self: center;
  }
  .hero-trust .ht-item b { font-size: 15px; font-weight: 800; color: #0b1226; font-variant-numeric: tabular-nums; }

  .hero-actions { display: flex; gap: 14px; margin-top: 26px; }
  /* Hero 左下角动态小字（2026-11-06 站主）：黑底 50% 不透明度圆角小条，挂在按钮行下面（hero-main 左下角），
     内容一条一条向上滚（.hero-tk-track 由 app.js 每 3.8s 推一条、落定换新文案归零）。
     走文档流不浮层——按钮那一行就在左下角，绝对定位会压上去。 */
  .hero-tk {
    /* 2026-11-06 站主：「背景跟 hero 边缘不要分开，与 hero 边缘形成一个圆角矩形」「右侧不要顶满，
       PC 到 hero 卡片的三分之一」——贴死 hero 的左、下两边，宽度吃三分之一。
       右端（2026-11-06 站主第四版定稿：「这个小字区域，右上角要圆角，其余不动」）：
       只有**右上**一颗角 12px 圆，左下 / 右下继续是直角竖切（跟 hero 底边垂直），
       左下的圆角仍交给 .hero 的 19px 裁。写成 border-radius 的四个角顺序：左上 右上 右下 左下。 */
    position: absolute; left: 0; bottom: 0; z-index: 2;
    display: flex; width: 33.333%; max-width: 100%; height: 34px; overflow: hidden;
    padding: 0 16px;
    --tk-h: 34px;   /* 一条的高度，与上面 height 同一个数 */
    background: rgba(0, 0, 0, .5); border-radius: 0 12px 0 0;
  }
  /* 2026-11-06 站主：「往上滚动的速度慢一些，新的文字出来也改成滚动上来，不要突然出现」：
     · 轨道改成**竖排两条**（当前 + 下一条），推 -50% 就是一条的距离，下一条边推边露头；
     · 时长 .45s → .9s，慢一档；JS 里的 TK_DUR 必须跟这里同一个数；
     · align-self:flex-start 让轨道按内容撑高（2×34），否则会被 .hero-tk 的 flex 拉伸成 34，
       -50% 就只挪半行。 */
  .hero-tk-track {
    display: flex; flex-direction: column; align-self: flex-start; width: 100%; min-width: 0;
    transition: transform .9s cubic-bezier(.4, 0, .2, 1);
  }
  .hero-tk-track span {
    flex: none; display: flex; align-items: center; height: var(--tk-h);
    font-size: 12.5px; color: rgba(255, 255, 255, .92); letter-spacing: .2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .hero-actions a {
    display: inline-flex; align-items: center; justify-content: center; gap: 0;
    min-height: 46px; padding: 0 40px; border-radius: 999px;
    font-size: 16px; font-weight: 600; letter-spacing: .3px;
    text-decoration: none; border: 1px solid transparent;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, border-color .18s ease, background .18s ease, opacity .12s ease;
  }
  .hero-actions .b1 {
    background: var(--blue); color: #fff;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .14), 0 2px 6px rgba(15, 23, 42, .08);
    box-shadow: 0 12px 26px -6px color-mix(in srgb, var(--blue) 52%, transparent), 0 2px 6px rgba(15, 23, 42, .08);
  }
  .hero-actions .b1:hover {
    transform: translateY(-2px); filter: brightness(1.06);
    box-shadow: 0 18px 34px rgba(15, 23, 42, .18), 0 3px 8px rgba(15, 23, 42, .10);
    box-shadow: 0 18px 34px -6px color-mix(in srgb, var(--blue) 62%, transparent), 0 3px 8px rgba(15, 23, 42, .10);
  }
  .hero-actions .b1:active { transform: translateY(0); opacity: .8; }
  /* 描边那颗：白底 + 主题色细边 + 同色的一层极浅影（比实心那颗浅两档，焦点仍归实心那颗） */
  .hero-actions .b2 {
    background: rgba(255, 255, 255, .9); color: var(--blue); border-color: var(--blue-border);
    box-shadow: 0 10px 22px rgba(15, 23, 42, .06);
    box-shadow: 0 10px 22px -8px color-mix(in srgb, var(--blue) 34%, transparent);
  }
  .hero-actions .b2:hover {
    transform: translateY(-2px); border-color: var(--blue); background: var(--blue-light);
    box-shadow: 0 16px 30px rgba(15, 23, 42, .09);
    box-shadow: 0 16px 30px -8px color-mix(in srgb, var(--blue) 44%, transparent);
  }
  .hero-actions .b2:active { transform: translateY(0); opacity: .7; }

  .hcv { position: relative; border-radius: 18px; overflow: hidden; background: #eef2f7; border: 1px solid #e8eef7; box-shadow: 0 22px 48px rgba(15, 23, 42, .12); }
  .hcv-stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
  .hcv-track { display: flex; width: 100%; height: 100%; transition: transform .46s ease; will-change: transform; }
  .hcv-track.nofx { transition: none; }
  .hcv-slide { flex: 0 0 100%; min-width: 0; position: relative; height: 100%; }
  .hcv-slide a { display: block; position: relative; width: 100%; height: 100%; text-decoration: none; }
  .hcv-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
  /* 系统「减少动态效果」：滑动这一层直接不animate（点指示点也瞬时到位），
     与 app.js 里 startCardCarousel 那道「不自动播」的闸配成一对，两个都是同一判据。 */
  @media (prefers-reduced-motion: reduce) { .hcv-track { transition: none; } }
  .hcv-scrim { position: absolute; left: 0; right: 0; bottom: 0; height: 68%; background: linear-gradient(to top, rgba(6, 12, 30, .94), rgba(6, 12, 30, 0)); }

  .hcv-tag {
    position: absolute; left: 14px; top: 14px; z-index: 3; font-size: 12px; font-weight: 700;
    letter-spacing: 1px; line-height: 1.4; color: var(--gold-ink);
    padding: 4px 12px; border-radius: 8px; background: var(--gold); box-shadow: 0 4px 14px rgba(194, 140, 32, .45);
  }
  .hcv-bd { position: absolute; left: 18px; right: 18px; bottom: 16px; display: block; z-index: 2; }
  .hcv-name { display: block; font-size: 19px; font-weight: 700; color: #fff; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .hcv-meta { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, .76); }
  .hcv-price { color: #ffd484; font-weight: 800; font-size: 17px; margin-left: auto; }
  .hcv-price.free { color: #9fe3b5; }
  .hcv-dots { position: absolute; right: 14px; top: 14px; z-index: 4; display: flex; gap: 7px; padding: 6px 8px; border-radius: 999px; background: rgba(6, 12, 30, .34); }
  .hcv-dots i { width: 7px; height: 7px; border-radius: 999px; background: rgba(255, 255, 255, .46); cursor: pointer; transition: all .2s; }
  .hcv-dots i:hover { background: rgba(255, 255, 255, .8); }
  .hcv-dots i.on { width: 20px; background: var(--gold-dot); }

  .hcv-none { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; min-height: 0; box-shadow: none; border-style: dashed; }
  .hcv-empty { font-size: 13px; color: #94a3b8; letter-spacing: .5px; }
  @media (max-width: 1180px) { .hero-body { grid-template-columns: 1fr; gap: 32px; } }

  .hero-nums { min-width: 0; }
  .hero-nums:empty { display: none; }
  .hero-nums .hs { display: flex; align-items: baseline; gap: 14px; padding: 13px 0; border-top: 1px solid rgba(15, 23, 42, .07); }
  .hero-nums .hs:first-child { border-top: none; padding-top: 0; }
  .hero-nums .hs:last-child { padding-bottom: 0; }
  .hero-nums .hs-num { display: flex; align-items: baseline; white-space: nowrap; }
  .hero-nums b {
    font-size: 44px; font-weight: 800; color: var(--blue); line-height: 1.06; letter-spacing: -1px;
    font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1;
  }
  .hero-nums .hs-num span { font-size: 13.5px; font-weight: 600; color: rgba(11, 18, 38, .55); margin-left: 8px; letter-spacing: 0; }
  .hero-nums .hs-cap { flex: 1; min-width: 0; font-size: 12.5px; line-height: 1.5; color: rgba(11, 18, 38, .42); text-align: right; }

  .hero-note { min-width: 0; }
  .hero-note:empty { display: none; }
  .hero-note .hn {
    display: flex; flex-direction: column; gap: 6px; padding: 12px 14px;
    background: #fff; border: 1px solid #e8eef7; border-radius: 12px; cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .04);
    transition: border-color .18s ease, box-shadow .18s ease, opacity .12s ease;
  }
  .hero-note .hn:hover { border-color: var(--blue-border); box-shadow: 0 8px 20px rgba(15, 23, 42, .07); }
  .hero-note .hn:active { opacity: .7; }
  .hero-note .hn-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
  .hero-note .hn-tag { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: var(--blue); }
  .hero-note .hn-cnt { font-size: 11.5px; color: #a4aebe; font-variant-numeric: tabular-nums; }
  .hero-note .hn-txt {
    font-size: 13px; line-height: 1.6; color: rgba(11, 18, 38, .66);
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  }
  .hero-note .hn-more { font-size: 12px; color: var(--blue); letter-spacing: .3px; }

  .hero-car .hero-main, .hero-car .hero-side { display: contents; }

  @media (min-width: 1181px) {
    .hero-car .hero-body { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); row-gap: 20px; align-content: center; }

    .hero-car .hero-body, .hero-blue .hero-body { min-height: 300px; }
  }
  /* 左栏：封面卡（跨三行、垂直居中）；右栏：文字（row1）→ 数字行（row2）→ 按钮（row3） */
  .hero-car .js-hero-course { margin-top: 0; grid-column: 1; grid-row: 1 / span 3; align-self: center; min-width: 0; }
  .hero-car .js-hero-text { grid-column: 2; grid-row: 1; align-items: flex-start; text-align: left; }
  .hero-car .hero-actions { grid-column: 2; grid-row: 3; align-self: start; margin-top: 4px; }
  .hero-car .hero-nums { grid-column: 2; grid-row: 2; margin-top: 6px; align-self: start; }
  .hero-car .hero-trust { display: none; }
  /* 引语：轮播版去浅蓝底卡，纯文字两行（参考图读法） */
  .hero-car .hero-desc { background: none; padding: 0; border-radius: 0; }
  /* 数字行内联横排：去白卡框，一组＝大蓝数字 + 深色单位 + 小灰说明 */
  .hero-car .hero-nums { display: flex; flex-wrap: wrap; gap: 10px 34px; }
  .hero-car .hero-nums .hs { display: flex; align-items: baseline; gap: 7px; padding: 0; border: none; background: none; box-shadow: none; }
  .hero-car .hero-nums .hs .hs-num { gap: 0; }
  .hero-car .hero-nums .hs .hs-num b { font-size: 27px; color: var(--blue, #2563eb); }
  .hero-car .hero-nums .hs .hs-num span { font-size: 14.5px; font-weight: 700; color: #0b1226; margin-left: 5px; }
  .hero-car .hero-nums .hs .hs-cap { flex: none; font-size: 12.5px; text-align: left; color: rgba(11, 18, 38, .45); }
  /* 按钮改圆角矩形（参考图）：胶囊全圆只留给蓝底海报版 */
  .hero-car .hero-actions a { border-radius: 12px; min-height: 44px; padding: 0 36px; font-size: 15px; }
  /* 封面卡：圆角裁切 + 右上角「白胶囊 + 橙点」小装饰（参考图同款） */
  .hero-car .hcv-hero { border-radius: 18px; overflow: hidden; position: relative; }
  .hero-car .hcv-hero::before {
    content: ''; position: absolute; top: 16px; right: 20px; z-index: 2;
    width: 26px; height: 9px; border-radius: 999px; background: #fff;
    box-shadow: 0 2px 6px rgba(15, 23, 42, .14);
  }
  .hero-car .hcv-hero::after {
    content: ''; position: absolute; top: 16px; right: 54px; z-index: 2;
    width: 9px; height: 9px; border-radius: 50%; background: #f59e0b;
  }
  /* 窄屏（≤1180）单列：摆格退回 DOM 顺排（图 → 文字 → 按钮 → 数字行），全部通栏 */
  @media (max-width: 1180px) {
    .hero-car .js-hero-course, .hero-car .js-hero-text, .hero-car .hero-actions, .hero-car .hero-nums { grid-column: auto; grid-row: auto; }
    .hero-car .js-hero-course { margin-top: 0; }
    .hero-car .js-hero-text { margin-top: 20px; }
    .hero-car .hero-nums { margin-top: 18px; }
  }
  /* lite 轮播：解锁 16:9 定高，图片原始比例（只缩不裁），阴影比列表页大图轻一档 */
  .hcv-hero .hcv-stage { aspect-ratio: auto; }
  .hcv-hero .hcv-track, .hcv-hero .hcv-slide, .hcv-hero .hcv-slide a { height: auto; }
  .hcv-hero .hcv-slide img { width: 100%; height: auto; max-height: 300px; object-fit: contain; background: #f1f5fb; }
  .hcv-hero { box-shadow: 0 12px 30px rgba(15, 23, 42, .09); }

  .hcv-hero .hcv-scrim { height: 40%; }
  .hcv-hero .hcv-bd { left: 20px; right: 20px; bottom: 14px; }
  .hcv-lite-t { display: block; font-size: 17.5px; font-weight: 700; color: #fff; letter-spacing: .2px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .hcv-lite-m { display: block; margin-top: 5px; font-size: 12.5px; color: rgba(255, 255, 255, .78); letter-spacing: .2px; font-variant-numeric: tabular-nums; }

  .hero-blue {
    /* !important 压过 heroBgCss 的 inline 白纱背景图（那层白纱是给深字浅底用的，蓝底白字海报下必糊）：
       蓝底海报是一种完整板式，后台背景大图只在浅色版（轮播开）里生效 */
    background: linear-gradient(135deg, var(--theme) 0%, #4f7cf7 100%) !important;
    /* 边框必须整条去掉（border:none），不能只写 border-color:transparent——
       transparent 只变透明，1px 的边框宽度还在，会透出渐变「远端」的颜色：
       主题蓝时远端与渐变同色系看不出来，换成橙/红主题后会显出一圈蓝色细边（2026-11-04 实测复现）。 */
    border: none; color: #fff;
    box-shadow: 0 16px 40px -12px color-mix(in srgb, var(--blue) 46%, transparent), 0 2px 8px rgba(15, 23, 42, .10);
  }
  .hero-blue .hero-glow, .hero-blue .hero-grid { display: none; }

  .hero-blue::before {
    content: ''; position: absolute; right: -36px; top: -36px; width: 120px; height: 120px;
    border-radius: 50%; border: 18px solid rgba(255, 255, 255, .09); pointer-events: none;
  }
  .hero-blue::after {
    content: ''; position: absolute; right: 40px; bottom: -65px; width: 150px; height: 150px;
    border-radius: 50%; background: rgba(255, 255, 255, .07); pointer-events: none;
  }
  /* 文案块：左对齐（照小程序海报），标题白字、短线翻成胶囊条、引语去蓝底卡片改纯白字 */
  .hero-blue .js-hero-text { align-items: flex-start; text-align: left; }
  .hero-blue .hero-title { color: #fff; }
  .hero-blue .hero-bar { width: 150px; height: 12px; margin-top: 16px; background: rgba(255, 255, 255, .18); }
  .hero-blue .hero-desc { color: rgba(255, 255, 255, .88); background: none; padding: 0; border-radius: 0; max-width: 36em; }
  .hero-blue .hero-trust { display: none; }
  /* 两颗按钮跟在引语下面（基础流式位置，margin-top 26px），只翻色不动位置 */
  .hero-blue .hero-actions .b1 { background: #fff; color: var(--theme); box-shadow: 0 12px 26px rgba(15, 23, 42, .18); }
  .hero-blue .hero-actions .b1:hover { filter: none; box-shadow: 0 18px 34px rgba(15, 23, 42, .24); }
  .hero-blue .hero-actions .b2 {
    background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .4);
    box-shadow: none;
  }
  .hero-blue .hero-actions .b2:hover { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .7); }
  .hero-blue .hero-actions .b2:active { opacity: .7; }
  /* 右栏加宽一档（322 → 400px）：玻璃卡要两列并排，窄了数字和说明会挤；
     只动 hero-blue、只在大屏两栏轨道生效（窄屏单列那条 max-width:1180 的规则
     特异性更低，不包 media 的话会被这里反超导致窄屏破版），浅色版右栏仍是 322px */
  @media (min-width: 1181px) {
    .hero-blue .hero-body { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); }
  }
  /* 玻璃卡组：竖排清单翻成 2 列网格，每条数字一张独立小卡（小程序同配方 12% 白底 +
     15% 白描边高光），第三块跨两列通宽；卡内纵排——数字行在上、说明行在下 */
  .hero-blue .hero-nums {
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
    background: none; border-radius: 0; padding: 0;
  }
  .hero-blue .hero-nums .hs {
    flex-direction: column; align-items: flex-start; gap: 3px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .15); border-top-color: rgba(255, 255, 255, .15);
    border-radius: 16px; padding: 18px 20px;
  }
  .hero-blue .hero-nums .hs:nth-child(3) { grid-column: 1 / -1; }
  .hero-blue .hero-nums .hs-cap { flex: none; text-align: left; }
  .hero-blue .hero-nums b { color: #fff; }
  .hero-blue .hero-nums .hs-num span { color: rgba(255, 255, 255, .78); }
  .hero-blue .hero-nums .hs-cap { color: rgba(255, 255, 255, .55); }

  .hero-blue .hero-note { display: none; }

  .pc-feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 8px 0 0; }
  .pc-f { background: #fff; border-radius: 16px; padding: 30px; border: 1px solid #eef2f7; box-shadow: 0 2px 12px rgba(15,23,42,.05); }
  .pc-f svg { width: 34px; height: 34px; color: var(--blue); margin-bottom: 16px; }
  .pc-f .ft { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
  .pc-f .fs { font-size: 14px; color: var(--text-2); line-height: 1.8; }

  .pc-section { margin-bottom: 44px; }
  .pc-section .sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
  .pc-section .sec-head h2 { font-size: 20px; }
  .pc-section .sec-head a { font-size: 13px; color: var(--text-2); }
  .pc-section .sec-head a:hover { color: var(--blue); }

  /* 课程卡片网格 */
  .pc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  @media (max-width: 1400px) { .pc-grid { grid-template-columns: repeat(3, 1fr); } }
  .pc-card {
    position: relative;   
    background: var(--card); border-radius: 14px; overflow: hidden; border: 1px solid #eef2f7;
    transition: all .25s; cursor: pointer;
  }
  .pc-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(37,99,235,.12); border-color: var(--blue-border); }

  .pc-card img { width: 100%; height: auto; aspect-ratio: 750 / 457; object-fit: cover; display: block; }
  /* 卡片内距：标题上边只留一档，卡片整体收矮 */
  .pc-card .bd { padding: 12px 14px 14px; }
  /* 标题照参考图加大一档、加深（16/400 → 17/600 深墨色），两行截断不变 */
  /* 标题独占整行，不再被 15em 限宽（那是「会员免费」还在标题行时留的位置，2026-11-04 徽章挪走后放开） */
  .pc-card .title { font-size: 17px; font-weight: 600; color: #0f172a; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 51px; max-width: none; word-break: break-all; }
  /* 「会员免费」压在标题块右下角，底边与标题末行文字下沿齐平：
     .hd 是定位容器，高度恒为标题的两行（.title 的 min-height 51px），标签绝对定位贴 .hd 右下，
     所以一行标题与两行标题的标签落在同一条线；bottom 5px 是行盒 25.5 与字 17 的下沿差，
     对齐的是「字底」而不是「行盒底」。标签不占独立一行，分隔线与「N 人在学／价格」跟着上移。
     有标签的卡片给标题让出 80px 右内距（标签宽约 69 + 间隙 11），长标题不会压到标签下面。 */
  .pc-card .hd { position: relative; }
  .pc-card .hd.has-kf .title { padding-right: 80px; }
  .pc-card .kfrow { position: absolute; right: 0; bottom: 5px; display: flex; align-items: center; justify-content: flex-end; margin: 0; height: auto; pointer-events: none; }
  /* meta 行照参考图：上面一条浅分隔线隔开标题区，左边灰字「N 人在学」，价格仍贴右 */
  .pc-card .meta { margin-top: 10px; padding-top: 12px; border-top: 1px solid #eef2f7; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .pc-card .meta .sales { font-size: 13px; color: var(--text-2); display: inline-flex; align-items: center; gap: 6px; min-width: 0; }

  .pc-card .price { color: var(--danger); font-weight: 800; font-size: 26px; letter-spacing: -.4px; line-height: 1.15; }
  .pc-card .free { color: var(--ok); font-weight: 700; font-size: 20px; }   /* 「免费」跟着抬一档，与 26px 的价格同一行里不显得是一句小字 */

  /* 「会员免费」的形状照首页推荐卡那枚标签（同字号/同内距/同圆角），只把琥珀色换成绿色（2026-11-04 用户）：
     它现在独占分隔线上方那一行、靠右，不再跟标题抢宽度。 */
  .pc-card .kf {
    display: inline-flex; align-items: center;
    font-size: 11.5px; font-weight: 700; line-height: 1.35; letter-spacing: .3px;
    color: #15803d; background: #e9f7ef; border-radius: 8px; padding: 4px 10px;
    white-space: nowrap;
  }

  /* 推荐标（2026-11-04 用户：「PC 端课程列表页，推荐的课程卡片左上角加标签」）：
     封面左上角一枚金色整圆胶囊，几何与首页推荐卡那枚 .rc-tag 逐项对齐
     （11.5px/700、padding 4px 12px、radius 999px、#f59e0b、同一层投影），所以两处看着是同一套标记。
     只出现在课程列表页的 .pc-card 上（courseCardPc 第三个参数传 true 时才画，别的调用点不传）；
     绝对定位挂在 .pc-card 上（它已是 position:relative、overflow:hidden），不吃文档流、不改卡片高度。 */
  .pc-card .pc-rec {
    position: absolute; left: 10px; top: 10px; z-index: 2;
    font-size: 11.5px; font-weight: 700; line-height: 1.4; letter-spacing: 1px;
    color: #fff; background: #f59e0b; padding: 4px 12px; border-radius: 999px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, .38);
  }

  /* 详情页顶部那块白底矩形（站主：「不要左右通体白色，只要一个矩形框，把封面和右侧文字包起来，
     比封面和文字稍微大一点就可」）：
     圆角矩形垫底，四周 26/28 的内距就是「比内容略大」那一圈；不再用负外边距横向铺到灰底两条边线，
     卡片左右各留一条灰底本色，读作一张浮在页面上的商品卡。 */
  /* 详情页路径（面包屑，2026-11-05 站主：「加个路径，做个样式，别只是文字」）：
     灰底上浮着两枚白底描边的胶囊（首页带房子、分类带文件夹），当前标题只留灰字不描边——
     可点的与「你在哪儿」用底色区分，比一行「首页 / 分类 / 标题」的纯文字清楚。
     整行 nowrap：标题那一段吃剩余宽度并省略，窗口收窄时路径只会越来越短，不会折成两行把卡片顶下去。
     位置：v1.22.47 起从商品卡上方挪到商品卡与 tab 卡之间（站主箭头指的落点），
     所以上边距 18px 接商品卡、下边距交给相邻的 .d-shell（见下一条 14px，比原来的 22px 收一点）。 */
  .pd-crumb {
    display: flex; align-items: center; gap: 7px;
    margin: 18px 0 0; min-width: 0; font-size: 13px; line-height: 1;
  }
  .pd-crumb .cb {
    display: inline-flex; align-items: center; gap: 6px; flex: none;
    height: 28px; padding: 0 11px; border-radius: 8px;
    background: #fff; border: 1px solid #e6ecf5; color: #475569;
    text-decoration: none; white-space: nowrap;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    transition: color .18s, background .18s, border-color .18s;
  }
  .pd-crumb .cb svg { flex: none; width: 14px; height: 14px; stroke-width: 1.7; }
  .pd-crumb .cb:hover { color: var(--theme); background: #f4f8ff; border-color: #bfdbfe; }
  /* 分类名可能很长：这一枚自己限宽 + 省略号（inline-flex 上 text-overflow 不生效，所以给里面的 span 加） */
  .pd-crumb .cb-cat { min-width: 0; max-width: 240px; }
  .pd-crumb .cb-cat span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pd-crumb .cb-sep { flex: none; color: #c3ccd9; font-size: 15px; line-height: 1; user-select: none; }
  .pd-crumb .cb-cur {
    min-width: 0; padding: 0 2px; color: #7d8b9e;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  }
  /* 路径落在商品卡与 tab 卡中间时，两段间距由路径接手：上 18px（上面那条 margin）+ 下 14px，
     合计 32px 夹着一行 28px 的胶囊；不让 .d-shell 自己那 22px 再叠一层，否则中间会空出半个屏。 */
  .pd-crumb + .d-shell { margin-top: 14px; }

  .pd-hero { margin: 0; padding: 26px 28px; background: #fff; border-radius: 20px; box-shadow: 0 10px 30px rgba(15, 23, 42, .06); }

  /* 两列都撑满行高：右栏（.pd-info）是纵向 flex，按钮条靠 margin-top:auto 落到行底，
     行高由封面那张 750/457 的比例定（内容更高时反过来由右栏定），于是按钮底边恒与封面底边齐平。 */
  .pc-detail { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 48px; align-items: stretch; }
  /* 1024～1200 这一档：卡片左右各吃掉 28px 内距后右栏只剩 ~310px，340px 的购买组会顶出卡片。
     这一档把封面收到 400、列间距收到 32，右栏回到 ~455，价格一行与购买组都放得下，不必让按钮缩宽。 */
  @media (max-width: 1200px) {
    .pc-detail { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 32px; }
  }
  /* 封面恒按 750/457 自己的比例排，不再跟着右栏高度拉伸（2026-11-09 晚 站主：
     「做的封面大小不要影响到」——右栏下面多了拼团 / 免费看两条以后，stretch 会把封面一起顶大）。
     右栏比封面高时，多出来的高度落到封面下方的白底里，图片尺寸与比例一个字不变。 */
  .pd-cover { position: relative; align-self: start; width: 100%; }
  .pd-info { min-width: 0; display: flex; flex-direction: column; }
  .pc-detail .cover { width: 100%; height: auto; aspect-ratio: 750/457; object-fit: cover; border-radius: 16px; box-shadow: 0 14px 34px rgba(15, 23, 42, .12); }

  /* 标题 34 → 26（2026-11-04 站主：「Pc 端的视频详情页，标题文字在小一点」）：
     改版后标题与收藏同一行、下面紧跟价格卡，34px 会把右栏压成「标题一屏」，26px 与价格卡的 44px 数字才拉得开层次。
     v1.22.19 站主又说「标题文字再小一点」：26 → 22px（收藏挪去购买按钮右侧后，标题不再需要让位给右上那颗钮，
     22px 一行放得下更长的视频名，和下面 36px 售价也仍分得清主次）。 */
  .pc-detail h1 { font-size: 22px; line-height: 1.42; font-weight: 800; letter-spacing: -.3px; color: #0b1226; margin: 0; }

  /* 统计一行（2026-11-04 参考图：`1233 人在学 · 总时长 12.5h · 共 36 节 · 已售 1233` 排成一行，数字加粗、标签灰、圆点分隔）。
     改版前是竖排三块（上面大数字、下面小标签），占掉一屏 90px；改成一行后价格卡与服务行之间只剩一条 20px 的呼吸。 */
  .pd-facts { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 18px 0 0; padding: 0; border: none; font-size: 13px; color: var(--text-2); }
  .pd-facts span { display: inline-flex; align-items: baseline; gap: 4px; }
  .pd-facts b { display: inline; font-size: 14px; font-weight: 800; color: #0b1226; line-height: 1.2; font-variant-numeric: tabular-nums; }
  .pd-facts i { font-style: normal; color: #cbd5e1; }

  /* 标题行：收藏挪去按钮区后，这一行只剩标题（保留 flex 外壳，将来要再往右放东西不用改结构）。
     与价格卡之间 18px——按钮被顶到卡片底部后，中间多出一截空白，这两块就跟着放松一档。 */
  .pd-h1row { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
  .pd-h1row h1 { flex: 1; min-width: 0; }

  /* 价格卡（浅底圆角）：左边大号售价 + 划线原价 + 淡黄「分销可得」，三块贴同一条基线排成一行。
     卡只负责垫底与内距，纵向节奏交给里面的 baseline 对齐：36px 的售价与 16px 的划线价按基线坐下，划线不会浮在数字腰间。 */
  .pd-pay { display: flex; width: 100%; max-width: 100%; align-items: center; justify-content: flex-start; gap: 14px; background: #eef2f9; border-radius: 14px; padding: 12px 20px; }
  /* 底部对齐（站主：「价格后面的小字，还有 分销可得 都跟价格保持底部对齐」）：
     一行里所有盒子按 flex-end 贴同一条底线；各行 line-height 写成 1，免得继承来的大行高
     把盒子撑高、字反而浮到数字腰间（这正是原来中线居中看着像两行没对齐的原因）。 */
  .pd-pay-l { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 0 10px; min-width: 0; flex: 1 1 auto; }
  .pd-now { font-size: 36px; line-height: 1; font-weight: 800; letter-spacing: -1px; color: var(--danger); font-variant-numeric: tabular-nums; }
  .pd-free { font-size: 26px; line-height: 1; font-weight: 800; color: var(--ok); }
  /* 卡内的划线价覆盖 .pd-price 那一套（14px / 贴底 7px）：这里跟在 36px 大字旁边，16px 才看得出是「原价」 */
  .pd-pay .pd-oldprice { margin: 0; padding: 0; align-self: flex-end; font-size: 16px; line-height: 1; font-weight: 500; color: #94a3b8; text-decoration: line-through; text-decoration-thickness: 1px; }
  /* 「分销可得」跟在价格后面（站主：「把分销可得放到价格后面」）：淡黄小块与售价同排，不再贴卡的另一头。
     外框按 1.2 行高收到 ~26px 高，align-self:flex-end 让它坐落在价格那条底线上。 */
  .pd-pay .comm { flex: none; align-self: flex-end; display: inline-flex; align-items: baseline; gap: 5px; background: #fdf3d8; border-radius: 8px; padding: 5px 11px; line-height: 1.2; white-space: nowrap; }
  .pd-pay .comm i { font-style: normal; font-size: 12px; font-weight: 600; color: #a16207; }
  .pd-pay .comm b { font-size: 13.5px; font-weight: 800; color: #a16207; }
  .pd-ok { display: inline-flex; align-items: center; gap: 6px; font-size: 17px; font-weight: 700; color: var(--ok); }

  /* 服务两行（参考图那张小表的观感）：标签列 88px 定宽、值列吃余宽，两行之间一条 1px 线。
     v1.22.14 站主：「学习服务 和 适合人群 文字都用一样的浅灰色」（标签与值同色 #94a3b8）、
     「分隔线稍微再明显一些」（#eef2f7 → #dbe3ee）。
     v1.22.19 站主：「分割线颜色用之前的浅一点的」——#dbe3ee 退回 #eef2f7（与卡片边线同一档浅灰），
     这一块现在落在白底上，原来那条偏重的线在白底上会抢眼。 */
  .pd-svc { margin-top: 18px; border-top: 1px solid #eef2f7; }
  .pd-svc .sr { display: flex; align-items: center; gap: 12px; min-height: 36px; border-bottom: 1px solid #eef2f7; }
  .pd-svc .k { flex: none; width: 80px; font-size: 13px; color: #94a3b8; letter-spacing: .3px; }
  .pd-svc .v { font-size: 13px; color: #94a3b8; }
  .pd-svc .v i { font-style: normal; color: #cbd5e1; margin: 0 9px; }
  /* 「会员免费」跟在「永久回看 · 多端同步」后面（站主：放到学习服务那行后面）：
     行内一枚小绿标，不再压在购买按钮的角上——那里会遮住按钮文字，还要跟问号抢同一个角。 */
  .pd-svc .sr-vip {
    flex: none; font-size: 12px; font-weight: 700; letter-spacing: .3px; line-height: 1.2;
    color: #15803d; background: #e3f7ec; border: 1px solid #bfe9d2; border-radius: 6px;
    padding: 3px 9px; margin-left: 6px; white-space: nowrap;
  }

  .pc-favbtn { display: inline-flex; align-items: center; gap: 2px; }
  .pc-favbtn.dis { color: #a4aebe; border-color: #e8ecf3; background: #fff; cursor: pointer; }
  .pc-favbtn.dis:hover { color: var(--blue); border-color: var(--theme-border); background: var(--blue-light); }
  /* 收藏挪到价格那一行的右侧（2026-11-05 站主：「放到价格那一行的右侧」）：
     跟着价格卡收一档高度（32px，比购买按钮矮），margin-left:auto 贴在行尾；
     与小程序 course-detail 的 d-price-row / d-fav 同一处位置。 */
  .pd-pay .pc-favbtn {
    flex: none; margin-left: auto; height: 32px; padding: 0 13px; border-radius: 9px; gap: 5px;
    font-size: 13px; display: inline-flex; align-items: center; white-space: nowrap;
  }

  .pd-fav-row { display: flex; align-items: center; margin: 0 0 18px; }

  /* tab 条与下面那块面板同住一张白底卡片（站主：「下面的详情，和其他分页按钮，也设计下，加个底色区域。
     现在融在一起了」）——两者原来直接铺在灰底上、也没有托底，和上面那张商品卡分不开。
     卡片与商品卡同一档圆角与投影，tab 条贴着卡片上沿、面板在下半截，两截之间仍用一条细线分开。 */
  /* tab 区两列（2026-11-06 站主：「相关」分页去掉，区域右侧加推荐区域）：
     左列 .d-main 吃 tab 条 + 面板；右列 .pd-rec 固定 272px（与播放页右栏同宽）。
     03:34 站主第二轮：「推荐请不要放在区域里面，自己单独一个区域。跟左侧分开」——
     .d-shell 退成透明定位壳（不托底），左列自己一张白底卡（沿用原 shell 那套圆角/投影），
     推荐列自己一张白底卡，两张卡之间只隔 24px 沟，不再是「白卡里嵌一块灰卡」。 */
  .d-shell { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr) 272px; gap: 24px; align-items: start; }
  .d-shell > .d-main { min-width: 0; grid-column: 1; background: #fff; border-radius: 20px; padding: 2px 28px 24px; box-shadow: 0 10px 30px rgba(15, 23, 42, .06); }
  .pd-rec { grid-column: 2; background: #fff; border-radius: 20px; padding: 18px 18px 20px; box-shadow: 0 10px 30px rgba(15, 23, 42, .06); }
  .d-shell.no-rec { grid-template-columns: minmax(0, 1fr); }
  .d-tabs { display: flex; gap: 4px; margin: 0; border-bottom: 1px solid #eef2f7; }
  .d-tabs .d-tab {
    border: none; background: none; padding: 15px 22px; font-size: 15px; color: var(--text-2);
    border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .18s, border-color .18s;
  }
  .d-tabs .d-tab:hover { color: var(--blue); }
  .d-tabs .d-tab.on { color: var(--blue); font-weight: 700; border-bottom-color: var(--blue); }
  .d-body { padding: 26px 0 4px; min-height: 120px; }
  .d-hd { font-size: 13px; color: var(--text-2); margin-bottom: 14px; letter-spacing: .3px; }
  .d-none { font-size: 14px; color: var(--text-2); padding: 34px 0; text-align: center; background: #fff; border: 1px solid #eef2f7; border-radius: 14px; }

  /* 「相关」分页的四列卡（.pd-rec4）随分页一起撤了（2026-11-06 站主），推荐改走 tab 区右侧 .pd-rec */
  /* 资料那一块的三种状态（有链接 / 有资料没解锁 / 真没有），外壳与站内卡片同一档圆角与细线 */
  .d-data-card { background: #fff; border: 1px solid #eef2f7; border-radius: 16px; padding: 26px 28px; box-shadow: 0 2px 12px rgba(15, 23, 42, .04); }
  .d-data-hd { display: flex; align-items: center; gap: 2px; font-size: 17px; font-weight: 700; color: #0b1226; }
  .d-data-tip { margin-top: 10px; font-size: 13.5px; color: var(--text-2); line-height: 1.8; }
  .d-data-link { margin-top: 16px; padding: 12px 14px; background: #f8fafc; border: 1px solid #eef2f7; border-radius: 10px; font-size: 13px; color: #334155; word-break: break-all; user-select: all; -webkit-user-select: all; }
  .d-data-act { display: flex; gap: 12px; margin-top: 18px; }
  .d-lock { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; background: #fff; border: 1px dashed #dbe3ef; border-radius: 16px; padding: 30px 28px; }
  .d-lock svg { color: var(--blue); }
  .d-lock-t { font-size: 17px; font-weight: 700; color: #0b1226; }
  .d-lock-s { font-size: 13.5px; color: var(--text-2); line-height: 1.8; max-width: 46em; }
  .d-lock-act { display: flex; gap: 12px; margin-top: 6px; }

  .rte { font-size: 15.5px; line-height: 1.95; color: #334155; }
  .rte div, .rte p { margin: 0 0 10px; }
  .rte img { max-width: 100%; height: auto; border-radius: 12px; margin: 14px 0; }
  .rte h1, .rte h2, .rte h3 { font-size: 18px; margin: 22px 0 10px; color: #0b1226; }
  .rte a { color: var(--blue); text-decoration: underline; }

  /* 按钮区：整组左对齐标题，宽度固定 340 不变形。
     margin-top:auto 把这一条顶到右栏底部 —— 按钮底边与封面底边齐平，多出来的高度全部落到按钮上方，
     上面几块（标题/价格/统计/服务）因此可以放宽松些；padding-top 留出「会员免费」角标露在按钮外的那半截。 */
  .pc-buy-bar {
    margin-top: auto; padding-top: 20px; background: transparent; border-radius: 0;
    border-top: none;
    display: flex !important; align-items: center !important; justify-content: flex-start; flex-wrap: wrap; gap: 12px;
  }
  .pc-buy-bar > * { flex: none; }
  .pc-buy-bar .pc-btn-group, .pc-buy-bar .pc-btn { margin: 0; vertical-align: middle; align-self: center !important; }

  /* 购买组（含「会员免费」角标）的外壳：position:relative 只做角标的定位锚点 */
  .pc-buy-wrap { position: relative; display: flex; align-items: center; isolation: isolate; }
  /* 「试看」（2026-11-05 站主：「有试看章节的话在按钮左侧加个试看按钮」）：
     主按钮左边一颗白底蓝字描边的次按钮，40px 与购买组同高；只在真有试看章时才出现。 */
  .pc-buy-bar .pc-try {
    height: 40px; padding: 0 18px; border-radius: 10px; display: inline-flex; align-items: center; gap: 6px;
    font-size: 14px; color: var(--blue); background: #fff; border: 1px solid var(--theme-border);
  }
  .pc-buy-bar .pc-try:hover { background: var(--blue-light); border-color: var(--blue); }
  /* 分销那颗问号是绝对定位（left:-12px）挂在购买组左上角的；左边多了「试看」时会把问号压在试看按钮上，
     这里给购买组让出 12px，问号重新落在两颗粒按钮之间的空档里。 */
  .pc-buy-bar .pc-try + .pc-buy-wrap .pc-act { margin-left: 12px; }
  /* 「会员专享·已解锁」（2026-11-05）：会员看会员免费课时，主按钮左侧的确认条；主按钮此时是「立即获取」。
     与小程序 bb-vipok 那句「会员专享·已解锁」同一文案、同一位置（按钮左侧）。
     配色 2026-11-05 晚改金：站主「换成金色」——原来浅绿底绿字跟「免费/试看」那套绿撞在一起，
     现在换成站内会员金（#b45309 字 + #fdf3d7 底 + #f0dcb0 描边，与 .tag.vip / .nb-tag 同一档），
     跟小程序那边 #8a5a06 金字的 bv-t 也对得上。 */
  .pc-buy-bar .pc-vipok {
    display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 10px;
    background: #fdf3d7; border: 1px solid #f0dcb0; color: #b45309;
    font-size: 13.5px; font-weight: 700; white-space: nowrap;
  }
  .pc-buy-bar .pc-vipok svg { color: #b45309; }
  /* 收藏（v1.22.19 站主：「收藏按钮放在购买按钮右侧」）后来在 2026-11-05 又挪到价格行右侧，
     按钮区不再有收藏，这一段 40px 高度的规则随之下线（样式见 .pd-pay .pc-favbtn）。 */

  .pc-buy-bar .price { font-size: 34px; color: var(--danger); font-weight: 800; margin: 0 6px 0 0; }
  .pc-buy-bar .price small { font-size: 13px; color: var(--text-2); font-weight: 400; }

  .pd-price { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }

  .pd-price .pd-price-row { display: flex; align-items: center; }

  /* 划线价（2026-11-04）：售价后面的一行小字，删除线 + 中性灰，读作「原价」而不是第二颗价格。
     字号取 14px（售价 34px 的四成上下），底边对齐价格的基线而不是整行居中——大号数字的重心偏上，
     居中的话小字会浮在数字腰间，看着像两行没对齐。只在详情页右栏有这一处，列表卡与首页卡不出现。 */
  .pd-price .pd-oldprice {
    margin-left: 10px; font-size: 14px; font-weight: 500; color: #94a3b8;
    text-decoration: line-through; text-decoration-thickness: 1px;
    align-self: flex-end; padding-bottom: 7px; white-space: nowrap;
  }

  .pc-buy-bar .pc-act { position: relative; display: flex; align-items: center; gap: 8px; margin-left: 0; }
  /* 会员那一支（v1.22.59 站主：「原来的扫码购买的按钮样式不变，大小不变。把扫码购买那部分变成
     会员专享什么的，跟分享按钮链接在一起，整体金色。然后立即获取按钮放后面，单独一个按钮」）：
     一行两件 —— 金色合体组（分享 | 会员专享·已解锁）+ 单独的蓝色「立即获取」。
     组合体仍是 340×40 的老尺寸（右栏窄时按 340 起缩，不换行、不顶出卡片）。 */
  .pc-buy-bar .pc-buy-row { display: flex; align-items: center; gap: 12px; max-width: 100%; min-width: 0; flex: 0 1 auto; }
  .pc-buy-bar .pc-buy-row .pc-act { flex: 0 1 340px; min-width: 0; }
  .pc-buy-bar .pc-buy-row .pc-btn-group { width: 340px; max-width: 100%; min-width: 0; }
  /* 会员组配色（v1.22.62 站主：「按钮颜色和文字用会员页面购买会员按钮那种」，
     随后点名：「是改成 pc 的这个按钮颜色」并圈了「成为会员」页结算卡那颗「立即续费」）：
     照抄 .mb-pay —— 橙金渐变 135deg（#fbbf24 → #f59e0b）、深棕字 #7c2d12、字重 800、
     橙色投影 0 8px 20px rgba(245,158,11,.35)，悬停提亮 1.04 且投影加强。
     渐变铺在组容器上；左「分享」格白底、右「会员专享·已解锁」格透出渐变，
     两格之间用一条深棕半透明细线分界。
     选择器必须钉在 .vipgrp 上：不加限定会把普通「分享|购买」组的分享格也染上。 */
  .pc-buy-bar .pc-btn-group.vipgrp {
    border-color: #fbbf24;
    background: linear-gradient(135deg, #fcd34d, #fbbf24);   /* 站主：「按钮颜色再稍微亮一些」——两端各提一档（amber-300 → amber-400） */
    box-shadow: 0 8px 20px rgba(251, 191, 36, .40);
  }
  /* 站主 2026-11-05 再点：「分享的那格底色改成白色啊」——左「分享」格不透明白底（#fff），
     字与图标用橙金组的深棕 #7c2d12；右格仍透出组容器的橙金渐变。 */
  .pc-buy-bar .pc-btn-group.vipgrp .seg.share {
    background: #fff; color: #7c2d12; border-right: none;
  }
  .pc-buy-bar .pc-btn-group.vipgrp .seg.share svg { color: #7c2d12; }
  .pc-buy-bar .pc-btn-group.vipgrp .seg.share:hover { background: #fffdf7; }
  .pc-buy-bar .pc-btn-group.vipgrp .seg.vip {
    flex: 1; gap: 7px; background: transparent; color: #7c2d12;
    font-size: 14px; font-weight: 800; border-radius: 0 9px 9px 0;
    border-left: 1px solid rgba(124, 45, 18, .20);
  }
  .pc-buy-bar .pc-btn-group.vipgrp .seg.vip b { font-weight: 800; }
  .pc-buy-bar .pc-btn-group.vipgrp .seg.vip svg { color: #7c2d12; }
  .pc-buy-bar .pc-btn-group.vipgrp .seg.share:hover,
  .pc-buy-bar .pc-btn-group.vipgrp .seg.vip:hover { filter: brightness(1.04); }   /* 同 .mb-pay:hover */
  /* 「立即获取」独立一颗：跟组同高 40px、同一档圆角，蓝色实心，宽度按文字收 */
  .pc-buy-bar .pc-buy-row .pc-get { height: 40px; padding: 0 22px; border-radius: 10px; font-size: 14px; font-weight: 700; flex: none; }
  /* 目录框（2026-11-05 站主要求）：去掉圆角矩形的“卡片感”，改成直角 + 1px 细线。
     外框、章节折叠头、每一节的分隔线全部直角；折叠头不再有上下外边距，第一节就贴着外框顶线，
     线跟线之间不留白。 */
  .pc-chapters { background: #fff; border: 1px solid #e8eef6; border-radius: 0; overflow: hidden; }
  .pc-chapters .pc-ch {
    display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid #eef2f7; cursor: pointer;
  }
  .pc-chapters .pc-ch:hover { background: var(--blue-light); }
  .pc-chapters .pc-ch:last-child { border-bottom: none; }
  /* 章节内的小节往右收一格（v1.22.71 站主：「章节里包含的视频，前面位置往里面一些，
     跟没在章节里的做个区分」）：折叠头是 20px 内距 + 13px 三角 + 8px 间距，
     章节名落在 41px 上；行内距加到 40px，序号圆点就正好对齐章节名，层级一眼看出来。
     没有折叠头的分组（无章节）不加 .sub，仍贴 20px 的目录左线。 */
  .pc-chapters .pc-ch.sub { padding-left: 40px; }
  .pc-chapters .pc-ch .no { width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 13px; display: flex; align-items: center; justify-content: center; flex: none; }
  .pc-chapters .pc-ch.lock .no { background: #e2e8f0; color: var(--text-2); }
  .pc-chapters .pc-ch .t { flex: 1; }
  .pc-chapters .pc-ch .tag { font-size: 12px; color: var(--ok); }
  /* 「会员免费」这枚小标用金棕色（与小程序 tag-vip 同一档），跟绿色的「试看 / 免费」分开读 */
  .pc-chapters .pc-ch .tag.vip { color: #b45309; }
  .pc-chapters .pc-ch.lock .tag { color: var(--text-2); }

  /* 播放页（2026-11-05 改版）：样式挪到文件后面独立的 @media (min-width:1024px) 块里，
     这里原来那三行只活在 1024~1200 的嵌套档里，宽屏根本没吃到——一并清掉。 */

  /* 弹窗（PC 大一点） */
  .m-modal .box { max-width: 400px; }

}

/* ============================================================
   播放页（2026-11-05 改版，站主：标题小字挪到视频上面、路径压视频左下角、
   自绘控制条不用浏览器原生的、16:9 横版比例，右侧一列放 资料/记笔记/答疑）
   ============================================================ */
@media (min-width: 1024px) {
  /* 标题行（v1.22.66 站主：「标题还是恢复到视频区域外侧左上角吧」）：
     退回到视频上方那一条——普通文档流、左对齐，白底深字，与下面的视频留 10px。
     v1.22.61 那版「画面左下角白字浮层」的绝对定位、右侧让位 230px、投影全部撤掉。 */
  .pp-head {
    display: flex; align-items: baseline; gap: 12px; min-width: 0;
    margin: 0 0 10px;
  }
  .pp-title {
    flex: 0 1 auto; min-width: 0;
    font-size: 18px; font-weight: 700; color: var(--text); line-height: 1.45;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .pp-sub { flex: none; color: var(--text-2); font-size: 12.5px; line-height: 1.45; white-space: nowrap; }
  /* 目录入口（2026-11-12 站主）：标题行小字后面的［目录］，文字形式、与「第 x / y 节」同字号 */
  .pp-toc { color: var(--blue); text-decoration: none; cursor: pointer; margin-left: 8px; white-space: nowrap; }
  .pp-toc:hover { text-decoration: none; }
  /* 目录弹窗（2026-11-12 站主）：点［目录］出章节清单，当前节高亮，点行直接切过去（与右栏上下节列表同一条 App.play 路） */
  .m-modal .box.pp-toc-box { max-width: 520px; text-align: left; }
  /* ═══ 小球滚动条（2026-11-12 站主定稿：全站默认滚动条样式）═══
     站主口径：以后说「小球滚动条」就指这一套——
     ① 原生滚动条整条隐藏（scrollbar-width:none + ::-webkit-scrollbar 宽 0）；
     ② 右侧一条浅灰细轨道（.pp-toc-wrap::before）+ 一颗圆形蓝色拖动球（.pp-toc-drag），
        按住球上下拖即滚动，球位实时反映进度，滚轮/触控板照常；
     ③ 内容不需要滚动时球和轨道一起 0.25s opacity 淡入淡出（.noscroll 类切换），不闪现。
     ④ 只用于 PC 页面与后台（2026-11-12 站主），小程序端不挂。
     JS 实现见 app.js 的 ballBind()/ballScrollWrap()/tocScrollInit()（通用写法，换个 id 就能复用）。 */
  /* 滚动球（2026-11-12 站主）：滚动条整条不要——原生条藏掉，换右侧一颗圆形蓝色按钮，
     按住往下滑即滚动（JS 见 tocScrollInit）；滚轮/触控板照常。 */
  .pp-toc-wrap { position: relative; }
  /* 轨道（2026-11-12 站主）：球后面一条浅灰细竖线贯穿列表高度；没得滚时整条轨道连同球一起藏 */
  .pp-toc-wrap::before {
    content: ''; position: absolute; right: 9px; top: 4px; bottom: 4px; width: 2px;
    background: #e8eef6; border-radius: 1px; transition: opacity .25s ease;
  }
  .pp-toc-wrap.noscroll::before { opacity: 0; }
  .pp-toc-list { max-height: 56vh; overflow: auto; margin-top: 6px; padding-right: 28px;
    scrollbar-width: none; -ms-overflow-style: none; }
  .pp-toc-list::-webkit-scrollbar { width: 0; height: 0; }
  .pp-toc-drag {
    position: absolute; right: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
    background: var(--blue); cursor: grab; z-index: 5; touch-action: none;
    box-shadow: 0 2px 10px rgba(37, 99, 235, .45);
    opacity: 1; transition: opacity .25s ease;
  }
  .pp-toc-wrap.noscroll .pp-toc-drag { opacity: 0; pointer-events: none; }
  .pp-toc-drag:hover { filter: brightness(1.08); }
  .pp-toc-drag:active { cursor: grabbing; filter: brightness(.95); }
  /* 公告弹窗也用小球滚动条（2026-11-12 站主）：nt-scroll 原生条藏掉，
     JS ballScrollWrap() 每次 showModal 后现包一层 wrap + 球（上一条/下一条切换会重画 body）。
     wrap 接管 nt-scroll 原来的 flex:1 弹性位，nt-scroll 在里面撑满。 */
  .nt-box .pp-toc-wrap { flex: 1; min-height: 0; display: flex; flex-direction: column; }
  .nt-box .pp-toc-wrap .nt-scroll { flex: 1; min-height: 0; padding-right: 28px;
    scrollbar-width: none; -ms-overflow-style: none; }
  .nt-box .pp-toc-wrap .nt-scroll::-webkit-scrollbar { width: 0; height: 0; }
  .pp-toc-sec { font-size: 12px; font-weight: 600; color: #94a3b8; padding: 12px 2px 4px; }
  .pp-toc-sec:first-child { padding-top: 2px; }
  /* 分组框（2026-11-12 站主二轮）：直角框只加在分组名字那一行上，组内章节不框进去；点击头折叠/展开组内章节 */
  .pp-toc-grp { margin: 10px 0; }
  .pp-toc-grp .pp-toc-sec {
    border: 1px solid #e2e8f0;
    padding: 10px 12px; margin: 0; display: flex; align-items: center; gap: 8px;
    cursor: pointer; user-select: none;
  }
  .pp-toc-grp .pp-toc-sec:hover { color: var(--blue); background: #f8fafc; }
  .pp-toc-arrow { margin-left: auto; font-size: 11px; color: #94a3b8; transition: transform .15s; }
  /* 折叠时的「已折叠 N 节」标注（2026-11-12 站主）：只在 .fold 时出现，贴着箭头左侧 */
  .pp-toc-foldn { display: none; font-size: 11.5px; color: #94a3b8; font-weight: 400; }
  .pp-toc-grp.fold .pp-toc-foldn { display: inline; margin-left: auto; }
  .pp-toc-grp.fold .pp-toc-arrow { margin-left: 6px; }
  .pp-toc-grp.fold .pp-toc-arrow { transform: rotate(-90deg); }
  .pp-toc-grp.fold .pp-toc-body { display: none; }
  .pp-toc-i {
    display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px;
    cursor: pointer; font-size: 13.5px; color: #334155;
  }
  .pp-toc-i:hover { background: #f1f5fb; color: var(--blue); }
  .pp-toc-i.cur { background: rgba(37, 99, 235, .08); color: var(--blue); font-weight: 600; }
  .pp-toc-i.lock { color: #b6c2d4; cursor: default; }
  .pp-toc-i.lock:hover { background: none; color: #b6c2d4; }
  .pp-toc-no { flex: none; min-width: 26px; font-size: 12px; color: #94a3b8; }
  .pp-toc-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pp-toc-tag { flex: none; font-size: 11px; color: #94a3b8; }

  /* 版权声明条（2026-11-06 站主第二轮口径，覆盖上午那版白底灰字行）：
     「把视频区域往上扩高一点，多出来的这一条区域，滚动播放 后台 防录屏 里设置的版权声明的文字，这个区域黑底。」
     —— 黑条在画面正上方、与画面同宽，和 .pp-shell 一起裹在 .pp-frame 里共享 14px 外圆角；
     高度 34px 是「视频区域多出来的那一条」；文案/颜色/速度/透明度全取后台防录屏那套（见 app.js 的 cpBar）。
     全屏只全屏 .pp-shell，黑条不带（与「版权不进全屏」的口径一致）。 */
  .pp-frame {
    position: relative; border-radius: 14px; overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .12);
  }
  .pp-frame > .pp-shell { border-radius: 0; box-shadow: none; }
  .pp-cpr {
    position: relative; overflow: hidden; background: #000;
    height: 34px; display: flex; align-items: center; padding: 0 16px;
    /* 2026-11-06 站主：「版权声明 左右两侧不要发白，统一黑色」——原来左右各 18px 的 mask 渐隐，
       遮罩到 0 的地方条子透出底下的白，看起来两端发白；这里整条撤掉，从头到尾一色黑。
       底色也从 #060a10 收成 #000：跟下方视频区（.pp-stage 的 #000）同一个黑，接缝看不出来。 */
  }
  /* 黑条里的跑马灯不能照抄画面内那套（那套 padding-left:100% 是「从右侧进场」，
     打开页面前几秒条子里是空的）。这里两段同样文字首尾相接、从 0 直接滚到 -50%：
     一打开就有字，滚完一段正好接上第二段，无缝；时长由 app.js 按半条轨道的实宽算。 */
  .pp-cpr-track {
    display: inline-block; white-space: nowrap;
    animation: cprScroll 40s linear infinite;
    font-size: 12px; line-height: 1; color: #fff;
  }
  .pp-cpr-track span { margin-right: 48px; }
  @keyframes cprScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

  /* 播放页把版心放宽一点（2026-11-05 站主：「视频再大一点」）：只在 body.on-play 时生效，
     离开播放页这颗类就被摘掉，别的页面版心不变。窄屏（<1024）走移动端布局，不受这条影响。
     v1.22.61 站主：「视频区域小一点」——版心 1520 收回 1400，画面跟着收一圈。 */
  body.on-play .app { max-width: 1400px; }

  /* 版心一宽，导航白条跟着宽 40px，里面还是 40px 内距，logo 就整体左移 20px、头像右移 20px
     ——跟别的页对不上（2026-11-05 站主：「网站的logo位置，跟其他页面不一致」）。
     这里只在播放页把导航内距加到 60px：nav 的内容宽 = 1280，与 1360 版心时一像素不差
     （1360 - 40×2 = 1280），logo 左缘落在 center-640、头像右缘落在 center+640，跟首页/列表页完全对齐。
     ⚠️ 只在 .app 真被 1400 卡住时才补（innerWidth ≥ 1400）；更窄时 .app 两页一样宽，补了会反向错位。 */
  @media (min-width: 1400px) {
    body.on-play .pc-nav { padding: 0 60px; }
  }

  /* 主行：左边播放器吃满剩余宽度，右边 272px 固定一列（资料卡 / 笔记答疑 / 上下节）
     2026-11-05 站主「视频再大一点」：右栏 300→272、间距 20→16，配合 body.on-play 把版心放到 1520
     2026-11-06 站主：右栏要与视频底边对齐、且跟随后台的比例设置——
       右栏改绝对定位：top:0 到 bottom:46（46 = 行距 16 + 面包屑胶囊定高 30，两者都恒定），
       底边正好落在第 1 行底边＝视频底边；比例一变（16:9 ↔ 4:3），右栏高度自动跟着视频走。
       栅格只剩两行：第 1 行播放列、第 2 行路径（面包屑独占，不占右栏）。 */
  .pp-main {
    display: grid; grid-template-columns: minmax(0, 1fr) 272px;
    gap: 16px; margin-top: 14px; position: relative;
  }
  .pp-main .pp-crumb { grid-column: 1; grid-row: 2; align-self: start; margin-top: 0; }

  .pp-shell { position: relative; background: #000; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(15, 23, 42, .12); }
  /* 比例恒 16:9（v1.22.79 站主：「视频区域的大小，看下一节课程也保持固定，竖版视频的也保持这样的大小」）：
     高度只由这一列的宽度决定，切章节不会跳；画面 object-fit:contain 装进去，竖版/4:3 的片子左右留黑边。
     ⚠️ JS 不再往 stage 上写 aspect-ratio（原来按视频真实比例改，横竖混传的课切一节就跳一次高度）。 */
  /* 画面比例（2026-11-06 站主：「现有的宽度不变，高度改下，比例按照这个 3456×2232」）：
     列宽不变、高度按片源那批片子的比例 3456/2232（≈1.548，比 16:9 高一些）算，
     1032 列宽 → 666 高（原 16:9 是 581，画面左右被 contain 留黑边显小）。
     仍是「定比不跟片源跳」，竖版 / 4:3 片子继续靠 contain 留黑边，版式不上下窜。 */
  /* 比例跟随后台设置（2026-11-06 站主：后台「PC 端设置 → Logo」里二选一，16:9 / 4:3）：
     接口随播放回包下发 video_ratio，JS 把它写成 stage 上的 CSS 变量 --pp-ratio；
     变量没到手（深链首帧）时兜 16/9。仍是「定比不跟片源跳」，竖版 / 4:3 片子靠 contain 留黑边。
     原定死口径 3456/2232（2026-11-06 上午）已由这两档取代。 */
  .pp-stage { position: relative; aspect-ratio: var(--pp-ratio, 16 / 9); background: #000; }
  .pp-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
  /* Mac 比例铺满（2026-11-06 站主）：后台选了 Mac（3456:2234）而片源分辨率达不到时，
     不留黑边、放大铺满（cover）；JS 在 stage 上挂 .pp-cover（仅 Mac 档），16:9 / 4:3 档照旧 contain。 */
  .pp-stage.pp-cover video { object-fit: cover; }
  .m-play.pp-cover video { object-fit: cover; }
  /* 换节时的「定格画面」（v1.22.79）：把上一节那颗 <video> 原样搬进新 stage 顶着，等新视频开播再撤。
     z-index 压在水印 .wm(10) 与所有控件下面，只盖住新 <video> 那块空白，不挡水印、不挡大播放键。 */
  .pp-stage video.pp-hold { z-index: 1; pointer-events: none; }
  .pp-shell:fullscreen { border-radius: 0; display: flex; flex-direction: column; }
  .pp-shell:fullscreen .pp-stage { flex: 1; min-height: 0; aspect-ratio: auto; }

  /* 画面右下角：自动播放 / 收藏 / 全屏三颗常驻文字按钮（v1.22.61 站主：「全屏和收藏按钮放在视频区域内侧右下角」，
     原来挂右上角；2026-11-06 站主：「视频右下角，加个自动播放的按钮可以进行开关」→ 排在这排最左边，
     收藏与全屏的位置一个像素没动）。自绘控制条从下面浮出来时也不许碰到它们——
     .pp-bar 的 padding-right 让出 300px（两颗时是 210，加第三颗后重算）。 */
  .pp-topbar { position: absolute; bottom: 12px; right: 14px; z-index: 20; display: flex; align-items: center; gap: 8px; }
  .pp-top {
    display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .16); border-radius: 9px;
    /* 2026-11-12 站主报「播放时右下角按钮有时候会闪」：原来是 backdrop-filter: blur(6px) ——
       毛玻璃每帧都要重采样底下的视频层 + 跑马灯水印，Chromium 上这就是闪烁源。
       摘掉毛玻璃、底色加深补回可读性，再 translateZ(0) 提成独立合成层，按钮不再跟着视频重绘抖。 */
    background: rgba(15, 23, 42, .74); transform: translateZ(0);
    color: #e8eef8; font-size: 13px; font-weight: 600; font-family: inherit;
    cursor: pointer; white-space: nowrap; transition: background .18s, color .18s, border-color .18s;
  }
  .pp-top svg { width: 15px; height: 15px; flex: none; }
  /* 自动播放那颗只留图标（2026-11-06 站主：「自动播放，只留个图标就好」）：
     不收 32×32 方按钮的话，去掉文字后右边还留着 12px 内距，看着像一颗歪的短条。 */
  .pp-top.pp-auto { width: 32px; padding: 0; justify-content: center; position: relative; }
  .pp-top:hover { background: rgba(37, 99, 235, .88); color: #fff; border-color: transparent; }
  .pp-top.on { background: rgba(37, 99, 235, .92); border-color: transparent; color: #fff; }

  /* 自动播放那颗的悬停提示（2026-11-06 站主：「鼠标放上去的时候，提示一个 自动下一节」）：
     原来是原生 title —— 要等 1 秒、弹系统灰框，压在深色画面上很脏。改成自绘小气泡，
     用真元素 .pp-tip 而不是伪元素（伪元素量不到矩形，探针没法验收）。
     绝对定位在按钮上方居中，按钮 32px 宽、气泡 ~84px，往两边各溢 26px，左边全是空画面，撞不到东西。 */
  .pp-tip {
    position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(2px);
    padding: 5px 9px; border-radius: 7px; white-space: nowrap; z-index: 32;
    background: rgba(9, 15, 27, .95); color: #eaf0fa;
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .32);
    font-size: 12px; font-weight: 500; line-height: 1.2; letter-spacing: .2px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .14s ease, transform .14s ease, visibility .14s;
  }
  .pp-tip::after {
    content: ""; position: absolute; top: 100%; left: 50%; margin-left: -5px;
    border: 5px solid transparent; border-top-color: rgba(9, 15, 27, .95);
  }
  .pp-auto:hover .pp-tip, .pp-auto:focus-visible .pp-tip {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
  }
  /* 触屏 / 窄屏没有 hover：气泡别一直挂着，交给 aria-label（读屏）就够了 */
  @media (hover: none) { .pp-tip { display: none; } }

  /* 路径挪到播放器下面一行（2026-11-05 站主：「路径放到视频播放器下面」）：
     从画面上的深色浮层改成页面底色上的白底描边胶囊，与详情页 .pd-crumb 同一套认法。 */
  .pp-crumb {
    display: flex; align-items: center; gap: 6px; flex-wrap: nowrap;
    margin-top: 12px; min-width: 0; font-size: 12.5px; line-height: 1;
  }
  .pp-crumb .pcb {
    display: inline-flex; align-items: center; gap: 6px; flex: none;
    height: 30px; padding: 0 12px; border-radius: 9px;
    background: #fff; border: 1px solid #e8eef6;
    color: #4b5a6e; text-decoration: none; white-space: nowrap;
    transition: border-color .18s, color .18s;
  }
  .pp-crumb .pcb svg { flex: none; width: 14px; height: 14px; color: #64748b; }
  .pp-crumb .pcb:hover { border-color: var(--blue-border); color: var(--blue); }
  .pp-crumb .pcb:hover svg { color: var(--blue); }
  .pp-crumb .pcb-cur { color: #64748b; }
  .pp-crumb .pcb-cur span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }
  .pp-cb-sep { flex: none; color: #c3ccd9; font-size: 13px; user-select: none; }

  /* 暂停时中间那颗大播放键（播起来随 .paused 摘掉）
     v1.22.75 站主：「这个播放按钮大气一些，三角符号太小了」——
     直径 72 → 88，三角 16 → 36（视觉占圆 41%），底色加一层极淡的高光 + 一层软投影做出体积
     （不加描边/白环：浅色画面上会显出一道多余的线，站主对这种多出来的边很敏感）；
     三角的尺寸写在 app.js 的 ICON_PP_PLAY_BIG 内联 style 里（ico() 的尺寸是行内属性，CSS 盖不过它），
     这里的 svg 尺寸只是兜底同值，别再只改这一处。 */
  .pp-bigplay {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 16;
    width: 88px; height: 88px; border: none; border-radius: 50%;
    background: linear-gradient(155deg, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, 0) 58%), rgba(15, 23, 42, .62);
    color: #fff; box-shadow: 0 12px 32px rgba(2, 6, 23, .34);
    display: none; align-items: center; justify-content: center; cursor: pointer;
    transition: background .18s, box-shadow .18s, transform .14s;
  }
  .pp-bigplay svg { width: 36px; height: 36px; margin-left: 3px; }
  .pp-bigplay:hover {
    background: linear-gradient(155deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 58%), rgba(37, 99, 235, .90);
    box-shadow: 0 14px 36px rgba(37, 99, 235, .38);
  }
  .pp-bigplay:active { transform: translate(-50%, -50%) scale(.96); }
  .pp-shell.paused .pp-bigplay { display: flex; }

  /* 自绘控制条（2026-11-05 站主：「进入条自动隐藏」）：
     浮在画面底部（不占位，所以视频区就是画面本身的大小，等于又高一截），
     播放中鼠标 2.6 秒不动就滑走；动一下、暂停、拖进度时由 JS 加回 .ui。
     v1.22.61：收藏 / 全屏搬到了画面右下角（.pp-topbar），条浮出来时右边让出 210px 别压到它们；
     2026-11-06 那排又加了第三颗「自动播放」，让出的宽度跟着加到 300px（量过：三颗合计 267 + 右边距 14）；
     左下角的标题浮层（.pp-head，bottom:56）正好悬在条上方，互不叠。 */
  .pp-bar {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 18;
    display: flex; align-items: center; gap: 10px; padding: 10px 300px 12px 14px;
    background: linear-gradient(180deg, rgba(11, 18, 32, 0) 0%, rgba(11, 18, 32, .82) 45%, rgba(11, 18, 32, .95) 100%);
    transition: opacity .22s ease, transform .22s ease;
  }
  .pp-shell:not(.ui) .pp-bar { opacity: 0; transform: translateY(100%); pointer-events: none; }
  .ppb {
    flex: none; width: 34px; height: 34px; border: none; border-radius: 8px;
    background: transparent; color: #e2e8f0; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
  }
  .ppb:hover { background: rgba(255, 255, 255, .12); color: #fff; }
  .pp-prog { position: relative; flex: 1; height: 18px; cursor: pointer; touch-action: none; }
  .pp-prog::before {
    content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 4px;
    transform: translateY(-50%); background: rgba(255, 255, 255, .22); border-radius: 2px;
  }
  .pp-buf, .pp-fill { position: absolute; left: 0; top: 50%; height: 4px; transform: translateY(-50%); border-radius: 2px; width: 0; }
  .pp-buf { background: rgba(255, 255, 255, .32); }
  .pp-fill { background: var(--blue); }
  .pp-knob {
    position: absolute; right: -6px; top: 50%; transform: translateY(-50%);
    width: 12px; height: 12px; border-radius: 50%; background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .4);
  }
  .pp-time { flex: none; font-size: 12px; color: #94a3b8; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .pp-vol { flex: none; width: 80px; height: 4px; accent-color: var(--blue); cursor: pointer; }

  /* 右侧一列（v1.22.67 站主：「视频区域和右侧 配套资料对齐，配套资料的位置不要变」）：
     只把左列（标题 + 视频）整体上提 36px（= 标题行 26px + 与视频的 10px 间距），右栏一格不动 ——
     结果就是视频顶边与右栏第一张卡（配套学习资料）的顶边落在同一条线上。 */
  /* 右栏这一列的高度 = 视频外框底边 − 这一行顶边，由 ppFitSide 量出来直接写到 height 上
     （2026-11-06 晚站主：「后台视频比例设置为 mac 的时候，视频播放页的右侧部分，跟视频区域底部对齐」）。
     为什么不用 grid 同行 stretch：右栏是 grid item，内容一多就把整行撑高，
     min-height:0 也拦不住（行 sizing 看的是 max-content），结果右栏比视频长 59px。
     绝对定位 + 显式高度不参与行 sizing，视频多高就多高；bottom:46 只当首帧兜底
     （46 = 行距 16 + 面包屑定高 30），JS 第一次量完就被 height 取代。 */
  .pp-side {
    position: absolute; top: 0; right: 0; bottom: 46px; width: 272px;
    display: flex; flex-direction: column; gap: 12px; min-width: 0;
  }
  /* 自适应比例的兜底（2026-11-06 站主：「超过一定高度范围之后就不强制底部对齐了」）：
     超宽片源右栏装不下时（ppFitSide 里收光行数还差 24px 以上），撤掉贴底约束、按内容自然高度往下排
     ——右栏在网格第二列，往下长不压路径行。 */
  .pp-side.flow { bottom: auto; height: auto !important; }

  /* 资料卡三态定高（2026-11-06 站主：区域高度按「有链接」时的高度固定，三种状态不跳）：
     有链接态实测 150px = 内距 28 + 标题 20 + 链接块 8 + 两行链接 50 + 按钮行 10 + 34
     （链接是网盘长地址，基本都折两行；量单行会 133，那样第二行链接和按钮会被裁掉）。
     没链接 / 没资料的两态补白到同高；链接块本身 max-height:66 + overflow:auto，再长也撑不出卡片。 */
  .pp-data { height: 150px; overflow: hidden; }
  .pp-player { margin-top: -36px; }
  .pp-card { background: #fff; border: 1px solid #eef2f7; border-radius: 12px; padding: 14px 16px; }
  .pp-card-hd { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--text); }
  .pp-card-link {
    margin-top: 8px; font-size: 12.5px; color: var(--text-2); word-break: break-all;
    background: #f8fafc; border-radius: 8px; padding: 8px 10px; max-height: 66px; overflow: auto;
  }
  .pp-card-lock { margin-top: 8px; font-size: 13px; color: var(--text-2); }
  .pp-card-btns { display: flex; gap: 8px; margin-top: 10px; }
  .pp-card-btns .pc-btn { flex: 1; text-align: center; }
  .pp-act {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px; width: 100%;
    text-align: left; background: #fff; border: 1px solid #eef2f7; border-radius: 12px;
    padding: 12px 16px; cursor: pointer; font: inherit;
    transition: border-color .18s, background .18s;
  }
  .pp-act-t { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 600; color: var(--text); }
  .pp-act-t svg { color: var(--blue); }
  .pp-act small { font-weight: 400; font-size: 12px; color: var(--text-2); line-height: 1.5; }
  .pp-act:hover { border-color: var(--blue-border); background: var(--blue-light); }
  /* （2026-11-05 补的「下一节实心蓝」那套 .pp-act.next 已随 v1.22.61 上下节合体下线：
     上一节/下一节改用 .pp-navb 成对贴在一起，这里不再留两套。） */

  /* 记笔记 / 答疑（v1.22.79 站主：「记笔记和答疑按钮，放一行吧，放在播放列表下面。记笔记在左边」）：
     默认**一行两列**，记笔记在左、答疑在右；4:3 比例改竖排（见下 .stack），答疑被关掉时那一格
     不撤、只变灰写「未开启」（2026-11-06 站主：位置不动、不消失）。
     侧栏 272px、gap 8 → 每格 132px，内距 16 会让正文只剩 100px，所以横向内距收到 12；
     副标题照旧单行省略（「看到哪记到哪」6 字 ≈72px，装得下）。
     ⚠️ 位置在 DOM 里：排在 .pp-navbox（上下节那块播放列表）之后，不是资料卡下面。 */
  .pp-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  /* 4:3 时竖排（2026-11-06 站主：「4比三比例的时候，笔记按钮放在答疑按钮上面」）：
     4:3 视频更高、右栏跟着高，两颗竖着码得开；DOM 顺序本来就是记笔记在前，一列排开就是上下了。 */
  .pp-acts.stack { grid-template-columns: 1fr; }
  /* 答疑被后台关掉那一格（2026-11-06 站主：「按钮位置不动，不消失，只提示未开启」）：
     格子照旧占着、宽度不变，只变灰 + 不可点，右栏高度不会因为关开关跳一下。
     v1.22.83：登录了还没买的游客也走这套灰态（副标题「购买后可用」），但那颗仍要能点
     —— 点一下才知道「先购买」，所以只有真 disabled 的那颗用默认箭头，灰态没有 disabled 的给手型。 */
  .pp-act.off, .pp-act:disabled { background: #f8fafc; border-color: #eef2f7; cursor: default; }
  .pp-act.off:not([disabled]) { cursor: pointer; }
  .pp-act.off .pp-act-t, .pp-act.off .pp-act-t svg, .pp-act.off small { color: #7b8794; }
  .pp-act.off:hover { background: #f8fafc; border-color: #eef2f7; }
  .pp-acts .pp-act { padding: 11px 12px; gap: 3px; }
  .pp-acts .pp-act-t { font-size: 14px; gap: 6px; }
  .pp-acts .pp-act-t svg { width: 15px; height: 15px; }
  .pp-acts .pp-act small { font-size: 11.5px; line-height: 1.4; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  /* 上下节（v1.22.67 站主：「上一节和下一节中间 显示当前播放的这一节标题。当前播放的这个标题前面加个
     标识播放的动画，上一节的列表在上一节按钮的上面。并且，不要些没有，只要一行提示，换个说法」）：
     · .pp-navbox 一块白卡，从上到下三段：上一节的列表 → 按钮区 → 下一节的列表；
     · 两个列表槽（.pp-nv-side）各带一条发丝线；上一侧的列表由远及近排，紧邻那节贴着按钮；
     · 到课程两端时槽里换成一行提示（.pp-nv-tip），不再逐行写「没有」。
     v1.22.76 站主：「上一页，正在播放，下一节，改成三行。别在一行挤着。正在播放的宽度跟下一节列表里的
     标题宽度一致。并且这部分区域高度固定。还有切换上下节的时候，页面不要闪」——
       · 按钮区竖排三行：‹ 上一节 ／（跳动条 + 当前节标题）／ 下一节 ›（原来三格挤一行，标题只剩 ~90px，
         常见的八到十字节名被折成两行）；两颗按钮改成整行宽，中间那行独占整条；
       · 两个列表槽定高 95px（3 行 × 30 + 4 内距 + 1 发丝线），不足三行也不缩：上一侧贴底、下一侧贴顶，
         到两端时提示行占满整槽 —— 整张卡的高度因此恒定，切节时右栏不再抽一下；
       · 列表换节动画去掉透明度（原来 from .25 淡入，看着就是"闪一下"），只留 6px 位移。 */
  .pp-navbox {
    display: flex; flex-direction: column; gap: 8px;
    background: #fff; border: 1px solid #eef2f7; border-radius: 12px; padding: 10px;
    /* 右栏与视频底边对齐（2026-11-06 站主）：多出来的高度全部给上下节这块卡，
       两个列表槽跟着长；空间不够时先缩列表槽（min-height:0），按钮区不动。
       内距 12→10：16:9 时省下 4px，刚好够两个槽各显满 3 行。 */
    flex: 1; min-height: 0;
  }
  .pp-navbar { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
  .pp-navb {
    flex: none; display: flex; align-items: center; justify-content: center; gap: 4px;
    width: 100%; height: 48px; padding: 0 12px;
    /* 边框用主题色（2026-11-06 站主）：直接吃 --theme，后台换主题色跟着变。 */
    border: 1px solid var(--theme); border-radius: 10px; background: #fff; cursor: pointer; font: inherit;
    transition: border-color .18s, background .18s;
  }
  .pp-navb-t { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; color: var(--text); white-space: nowrap; }
  .pp-navb-t svg { width: 13px; height: 13px; color: var(--blue); }
  .pp-navb.next { background: var(--blue); border-color: var(--blue); }
  .pp-navb.next .pp-navb-t { color: #fff; }
  .pp-navb.next .pp-navb-t svg { color: #fff; }
  .pp-navb:not(.dis):hover { border-color: var(--theme); background: var(--blue-light); }
  .pp-navb.next:not(.dis):hover { background: #1d4fd8; border-color: var(--blue); }
  .pp-navb.dis { opacity: .55; cursor: not-allowed; }
  .pp-navb.next.dis { background: var(--blue); border-color: var(--blue); }
  /* 中间那一行：播放动画 + 当前这一节的标题，独占整条（v1.22.76）。
     宽度对齐：列表行是 padding 0 8px、标题占满 → 232px；这一行左内距给跳动条用（0 8px 0 0），
     跳动条落在卡的内距线上、不越界，标题右缘与列表标题齐平（都是 252），宽度 224 ≈ 列表的 232。
     不再用负外边距把跳动条塞进内距 —— 那样它会贴到卡边框上，看着像跑出去了。 */
  .pp-now {
    display: flex; align-items: center; gap: 4px; min-width: 0;
    height: 34px; padding: 0 8px 0 0;
  }
  .pp-now-t {
    flex: 1 1 auto; min-width: 0; font-size: 13px; line-height: 18px; font-weight: 700; color: var(--blue);
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  }
  /* 「正在播放」的三根跳动竖条：不占位、不读屏，纯装饰；站在卡的内距线上，读作这一行的行首标记 */
  .pp-eq { flex: none; display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
  .pp-eq i { width: 2.5px; border-radius: 2px; background: var(--blue); transform-origin: bottom; animation: ppEq .9s ease-in-out infinite; }
  .pp-eq i:nth-child(1) { height: 7px; animation-delay: 0s; }
  .pp-eq i:nth-child(2) { height: 12px; animation-delay: .18s; }
  .pp-eq i:nth-child(3) { height: 9px; animation-delay: .36s; }
  @keyframes ppEq { 0%, 100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }
  /* 两个列表槽：上一侧贴着按钮往上排、下一侧往下排。
     2026-11-06 站主：列表 3 条加到 4 条（4 行 × 30 + 4 内距 + 1 发丝线 = 125px），
     槽高改弹性——右栏被拉到与视频底边对齐时，多出的高度由两个槽均分（上下各自贴边不悬空）；
     空间紧张（16:9 矮视频）时槽先缩，列表 overflow:hidden 掐掉放不下的行，按钮区高度不动。
     不足四节时各自留白也不缩，上一侧贴底（贴按钮）、下一侧贴顶。 */
  .pp-nv-side { flex: 1; min-height: 0; }
  .pp-nv-side.prev { padding-bottom: 4px; border-bottom: 1px solid #f1f5f9; }
  .pp-nv-side.next { padding-top: 4px; border-top: 1px solid #f1f5f9; }
  .pp-nv-list { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
  .pp-nv-side.prev .pp-nv-list { justify-content: flex-end; }
  .pp-nv-side.next .pp-nv-list { justify-content: flex-start; }
  /* 换节动画只留位移：原来 from 里带 opacity .25，淡入+位移一起就是站主说的「页面闪」 */
  .pp-nv-list.from-next { animation: ppNvUp .2s ease; }
  .pp-nv-list.from-prev { animation: ppNvDn .2s ease; }
  @keyframes ppNvUp { from { transform: translateY(6px); } }
  @keyframes ppNvDn { from { transform: translateY(-6px); } }
  /* 到头那一侧：只留一行提示，不再逐行写「没有」（2026-11-05 站主：「不要些没有，只要一行提示，换个说法」）。
     提示行占满整个槽高（不再只 30px），两侧槽高才对称、切到端点时卡高不缩。 */
  .pp-nv-tip { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #a4aebe; }
  /* 行高 30 是常态，但槽不够高时允许往下压：16:9 的右栏只有 ~345px，六行要压到 26 才放得下；
     mac 档（431px）放十行要 24 —— 24 是下限，再挤字就贴边了，压到 24 还放不下的才交给 ppFitSide 收行。
     两边各管一半：CSS 管「能让多少」，JS 管「实在放不下就少画一条」。 */
  .pp-nv-i {
    display: flex; align-items: center; gap: 8px; height: 30px; min-height: 24px; padding: 0 8px; border-radius: 8px;
    font-size: 12.5px; color: #334155; cursor: pointer; transition: background .16s, color .16s;
  }
  .pp-nv-i:hover { background: #f6f9ff; color: var(--blue); }
  .pp-nv-t { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .pp-nv-d { flex: none; font-size: 11.5px; color: #94a3b8; }
  .pp-nv-i.dis { color: #9aa8bb; cursor: default; }
  .pp-nv-i.dis:hover { background: transparent; color: #9aa8bb; }

  /* 本节笔记与答疑 */
  .pp-notes { margin-top: 20px; background: #fff; border: 1px solid #eef2f7; border-radius: 14px; padding: 16px 20px; }
  .pp-notes-hd { font-size: 15px; font-weight: 700; color: var(--text); }
  .pp-notes-n { font-weight: 400; font-size: 13px; color: var(--text-2); margin-left: 6px; }
  .pp-notes-list { margin-top: 6px; }
  .pp-note { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f1f5f9; align-items: flex-start; }
  .pp-note:last-child { border-bottom: none; }
  .pp-note-ts {
    flex: none; font-size: 12px; color: var(--blue); background: var(--blue-light);
    border: none; border-radius: 6px; padding: 3px 8px; cursor: pointer;
    font-variant-numeric: tabular-nums; font: inherit; font-size: 12px; font-weight: 600;
  }
  .pp-note-ts:hover { background: #dbeafe; }
  .pp-note-bd { flex: 1; min-width: 0; }
  .pp-note-kind { display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 5px; }
  .pp-note-kind.note { color: var(--blue); background: #eff6ff; }
  .pp-note-kind.qa { color: #b45309; background: #fef3c7; }
  .pp-note-body { margin-top: 4px; font-size: 13.5px; color: var(--text); line-height: 1.65; word-break: break-word; white-space: pre-wrap; }
  .pp-note-reply { margin-top: 4px; font-size: 12px; color: #0d9488; }
  .pp-note-reply.wait { color: var(--text-2); }
  /* 答疑的回复时间线（v1.22.79）：复刻小程序 pages/video 的 .nt-reps —— 一条回复一块，
     左边一道主题蓝细线、浅蓝底，学员自己追问的那句（author=2）换成浅灰底 + 「我」小标。
     尺寸按 PC 的 13.5px 正文口径折半（小程序 25rpx ≈ 12.5px），整块不抢正文的层级。 */
  .pp-note-reps { margin-top: 6px; display: flex; flex-direction: column; gap: 5px; }
  .pp-note-rep {
    display: flex; align-items: flex-start; padding: 6px 9px;
    background: #f6f9ff; border-left: 2px solid rgba(37, 99, 235, .45); border-radius: 0 6px 6px 0;
  }
  .pp-note-rep-k { flex: none; margin-right: 6px; font-size: 10px; color: var(--blue); letter-spacing: .5px; line-height: 1.7; }
  .pp-note-rep-t { flex: 1; min-width: 0; font-size: 12.5px; color: #16202e; line-height: 1.7; word-break: break-word; white-space: pre-line; }
  .pp-note-rep-x { flex: none; margin-left: 8px; font-size: 10px; color: #b7c0cd; line-height: 1.7; font-variant-numeric: tabular-nums; }
  .pp-note-rep.me { background: #f4f5f7; border-left-color: #d7dde7; }
  .pp-note-rep.me .pp-note-rep-k { color: #64748b; }
  /* 答疑状态小签：新回复＝实心蓝、已回复 N 条＝灰底（与小程序 .nt-tag-new / .nt-tag-done 同色）。
     负的左外边距把 8px 的 flex gap 收成 5px，两个小签挨着才像一组。 */
  .pp-note-tag { display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 5px; margin-left: -3px; }
  .pp-note-tag.new { background: var(--blue); color: #fff; }
  .pp-note-tag.done { background: #f1f5f9; color: #64748b; }
  /* v1.22.79 追问（对齐小程序「继续提问」.nt-fl）：胶囊 + 行内编辑器。
     胶囊描边浅蓝、主题色文字，尺寸取 PC 文字按钮的常规档（24 高 / 11 号字）；
     编辑器里提示文字、字数、「发送追问」的文案都照小程序弹层的原文。 */
  .pp-note-follow { margin-top: 8px; }
  .pp-note-fl-btn {
    display: block; width: max-content; height: 24px; line-height: 22px; padding: 0 11px;
    border: 1px solid #dbe6f5; border-radius: 999px; background: #fff;
    color: var(--blue); font-size: 11px; letter-spacing: .5px; cursor: pointer;
  }
  .pp-note-fl-btn:hover { opacity: .75; }
  .pp-note-fledit { margin-top: 8px; }
  .pp-note-fledit textarea {
    display: block; width: 100%; box-sizing: border-box; resize: vertical;
    min-height: 64px; padding: 8px 10px; border: 1px solid #e2e8f0; border-radius: 8px;
    font-size: 12.5px; font-family: inherit; color: var(--text); line-height: 1.6; background: #fff;
  }
  .pp-note-fledit textarea:focus { outline: none; border-color: var(--blue-border); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
  .pp-note-fledit textarea::placeholder { color: #b7c0cd; }
  .pp-note-flrow { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
  .pp-note-flhint { flex: 1; min-width: 0; font-size: 11px; color: #94a3b8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pp-note-flcnt { flex: none; font-size: 11px; color: #94a3b8; font-variant-numeric: tabular-nums; }
  .pp-note-flgo {
    flex: none; height: 28px; padding: 0 14px; border: none; border-radius: 8px;
    background: var(--blue); color: #fff; font-size: 12px; font-weight: 600; cursor: pointer;
  }
  .pp-note-flgo:hover { opacity: .9; }
  .pp-note-flgo:disabled { opacity: .55; cursor: default; }
  .pp-notes-empty { padding: 14px 0 6px; font-size: 13px; color: var(--text-2); }

  /* 推荐视频小卡（2026-11-06）：先是播放页笔记右侧用过一轮，同日撤掉；
     现在只服务课程详情页 tab 区右侧的推荐列（容器 .pd-rec 在下方 d-shell 段）。
     小卡本身：封面 96px + 站内统一 750/457 比例 + 两行标题 + 人数与价格三态。 */
  .pp-rec-hd { font-size: 15px; font-weight: 700; color: var(--text); }
  .pp-rec-list { margin-top: 10px; display: flex; flex-direction: column; gap: 12px; }
  .pp-rec-it { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
  .pp-rec-it img {
    flex: none; width: 96px; height: auto; aspect-ratio: 750 / 457; object-fit: cover; border-radius: 8px;
    background: #f1f5f9; border: 1px solid #eef2f7; box-sizing: border-box;
  }
  .pp-rec-b { flex: 1; min-width: 0; }
  .pp-rec-t {
    font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .pp-rec-it:hover .pp-rec-t { color: var(--blue); }
  .pp-rec-meta { margin-top: 4px; display: flex; align-items: baseline; gap: 8px; font-size: 12px; color: var(--text-2); }
  .pp-rec-price { color: var(--danger); font-weight: 700; font-size: 13px; }
  .pp-rec-free { color: var(--ok); font-weight: 700; font-size: 12px; }
  .pp-rec-dash { color: #94a3b8; font-weight: 400; }

  /* 记笔记 / 答疑弹窗 */
  /* 记笔记 / 答疑弹窗（v1.22.74：「关联此刻 秒数 + 取当前 + 一句说明」挤一行，
     视频在放时时间点会漂，点「取当前」把秒数换成此刻；行内容纳不下就换行，别把按钮挤扁） */
  .pp-np-ts {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
    font-size: 12.5px; color: var(--text-2); margin-bottom: 10px;
  }
  .pp-np-ts b { color: var(--blue); font-variant-numeric: tabular-nums; }
  .pp-np textarea {
    width: 100%; box-sizing: border-box; resize: vertical; min-height: 110px;
    border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px 12px;
    font: inherit; font-size: 13.5px; line-height: 1.6; color: var(--text);
  }
  .pp-np textarea:focus { outline: none; border-color: var(--blue-border); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
}

/* 移动端文章正文等通用 */
.article-content { padding: 16px; font-size: 15px; line-height: 1.9; background: #fff; }
.article-content img { max-width: 100%; border-radius: 8px; margin: 10px 0; }
.m-detail .data-btn { display: inline-block; margin-top: 10px; }

/* ============================================================
   新增：轮播 / 公告 / 分类专区 / 章节折叠 / 收藏（v2 改版）
   ============================================================ */

/* ---- 轮播图 ---- */

  .hb { position: relative; width: 100%; border-radius: 14px; overflow: hidden; }
  .hb-stage { overflow: hidden; }
  .hb-track { display: flex; transition: transform .46s ease; will-change: transform; }
  .hb-track.nofx { transition: none; }
  .hb-slide { flex: 0 0 100%; min-width: 0; }
  .hb-slide img { width: 100%; height: 190px; object-fit: cover; display: block; cursor: pointer; }
  .hb-dots { position: absolute; right: 14px; bottom: 14px; z-index: 4; display: flex; gap: 7px; padding: 6px 8px; border-radius: 999px; background: rgba(6, 12, 30, .34); }
  .hb-dots i { width: 7px; height: 7px; border-radius: 999px; background: rgba(255, 255, 255, .46); cursor: pointer; transition: all .2s; }
  .hb-dots i:hover { background: rgba(255, 255, 255, .8); }
  .hb-dots i.on { width: 20px; background: var(--blue); }
  @media (prefers-reduced-motion: reduce) { .hb-track { transition: none; } }

.rec-more { display: flex; justify-content: center; margin-top: 20px; }
.rec-more a { font-size: 13.5px; color: var(--blue); display: inline-flex; align-items: center; }
.rec-more a:hover { text-decoration: underline; }

/* ---- 首页「栏目分类」区块（推荐下面，一个分类一小节，一节 4 张卡） ---- */
.cat-sec { margin-bottom: 36px; }
.cat-sec:last-child { margin-bottom: 0; }
/* 栏目头一行：竖线 + 标题 + 一句介绍（后台分类里填，选填），右侧「更多」。
   标题与介绍合成 .cat-sec-tt 一组，介绍按 ellipsis 收口 —— 不这么做，长介绍会把「更多」顶出右边界。 */
.cat-sec-hd {
  position: relative;
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  margin: 0 0 16px; padding: 0 0 12px 12px; border-left: 4px solid var(--blue);
}
.cat-sec-tt { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.cat-sec-hd b { flex: none; font-size: 19px; color: #0f2f66; font-weight: 600; }
.cat-sec-sub { font-style: normal; font-size: 13px; color: #94a3b8; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.cat-sec-hd a { flex: none; font-size: 13.5px; color: var(--blue); display: inline-flex; align-items: center; }
.cat-sec-hd a:hover { text-decoration: underline; }
/* 标题行下沿那道渐变细线：色值与小程序首页 .sec-rule 同一条（蓝 30% → 全透明），
   铺在竖线右侧、与标题文字左对齐，替代原来干巴巴的一条留白。 */
.cat-sec-hd::after {
  content: ''; position: absolute; left: 12px; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(to right, rgba(37, 99, 235, .3), rgba(37, 99, 235, 0));
}
.js-m-cats .cat-sec-hd { margin-bottom: 10px; }
.js-m-cats .cat-sec-hd b { font-size: 16px; }
.js-m-cats .cat-sec-sub { font-size: 12px; }
.js-m-cats .cat-sec { margin-bottom: 24px; }

/* ---- 公告滚动条 ---- */
.nb {
  display: flex; align-items: center; gap: 10px;
  background: #fff8e7; border-radius: 10px;
  padding: 0 14px; height: 40px; overflow: hidden; margin: 12px 0;
}
.nb-tag { flex: none; font-size: 12px; color: #b45309; background: #fef3c7; border-radius: 6px; padding: 3px 10px; }
.nb-track { flex: 1; white-space: nowrap; overflow: hidden; animation: nbMove 22s linear infinite; }
.nb-track span { font-size: 13px; color: #92400e; margin-right: 60px; }
@keyframes nbMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- 移动端分类专区 ---- */
.m-sec { padding: 14px 12px 2px; }
.m-sec-head { font-size: 16px; font-weight: 700; margin: 8px 0 10px; display: flex; align-items: center; }
.m-sec-head .fold-ic { margin-right: 8px; color: var(--blue); }
.m-sec-head .sec-count { font-size: 12px; color: var(--text-2); font-weight: 400; margin-left: 8px; }
.m-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 2px; }
.m-grid-1 { grid-template-columns: 1fr; }
.m-grid .m-card, .m-grid-1 .m-card { flex-direction: column; }
.m-grid .m-card img { width: 100%; height: auto; aspect-ratio: 750 / 457; }
.m-grid-1 .m-card img { width: 110px; height: auto; aspect-ratio: 750 / 457; }

/* ---- 桌面分类专区 ---- */
.pc-grid-2 { grid-template-columns: repeat(2, 1fr) !important; }
.pc-grid-1 { grid-template-columns: 1fr !important; }
.pc-grid-1 .pc-card { display: flex; }
.pc-grid-1 .pc-card img { width: 280px; height: auto; aspect-ratio: 750 / 457; flex: none; }
.pc-grid-1 .pc-card .bd { flex: 1; }

/* ---- 我的收藏（2026-11-06 站主：「显示小卡片，一行两个，笔记的话显示笔记内容」）----
   原来这一屏沿用列表页的 .pc-card：封面占卡片一大半、标题 17px，一屏只放得下两张的一半。
   这里另开一套横向小卡：左图 132×84、右三行字，一行两张；笔记那条主文案是笔记正文。 */
.fav-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.fav-grid > .empty { grid-column: 1 / -1; }
.fav-card {
  display: flex; align-items: stretch; gap: 12px; min-width: 0;
  padding: 12px; background: #fff; border: 1px solid #eef2f7; border-radius: 12px;
  cursor: pointer; transition: border-color .18s, box-shadow .18s, transform .18s;
}
.fav-card:hover { border-color: var(--blue-border); box-shadow: 0 10px 24px rgba(37, 99, 235, .10); transform: translateY(-2px); }
/* 封面 + 左上角类型角标（2026-11-06 站主：「视频 / 笔记标签加在封面左上角」）：
   角标压在封面上、半透明深底白字；笔记用主蓝，一眼分得开。
   原来类型写在 meta 行里，跟人数/时间抢位置，还让标题与 meta 之间空出一大块。 */
.fav-cv { position: relative; flex: none; width: 132px; height: 84px; border-radius: 9px; overflow: hidden; background: #eef2f7; }
.fav-th { width: 100%; height: 100%; object-fit: cover; display: block; }
.fav-kind {
  position: absolute; left: 6px; top: 6px; font-style: normal;
  font-size: 10.5px; font-weight: 600; line-height: 1; letter-spacing: .4px;
  color: #fff; background: rgba(15, 23, 42, .62); border-radius: 5px; padding: 3px 6px;
}
.fav-kind.note { background: rgba(37, 99, 235, .92); }
/* 右列：标题顶到上、元信息压到底，中间空出来的那格放一行补充说明（.fav-sub）。
   2026-11-06 晚 站主否掉了「标题与小字贴近 6px」那版：「不是上下靠近，恢复到原来的，中间空的再加点啥」。
   gap 只作最小间距（4px），多出来的高度由 space-between 摊在标题与说明、说明与元信息之间，
   所以一行的卡不会中间空一大片、两行标题的卡也不会挤在一起。 */
.fav-bd { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 4px; }
.fav-sub {
  font-size: 12.5px; color: #64748b; line-height: 1.5;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fav-tt {
  /* line-height 1.5 → 1.4：中间多了说明行之后，两行标题 + 说明 + 小字正好卡进封面的 84px，
     不会因为多出 0.8px 让这张卡比同排那张高一点（六张卡要等高） */
  font-size: 14.5px; font-weight: 600; color: #0f172a; line-height: 1.4; word-break: break-all;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
/* 笔记正文：比标题轻一档（13px/334155），两行封顶；不封顶长笔记会把一整行卡片顶高、两张不一样高 */
.fav-ds {
  /* 1.62 → 1.55：笔记卡是四行（正文两行 + 章节 + 小字），行高不收一点会顶破封面的 84px，
     让这一排比上面两排高 0.8px */
  font-size: 13px; color: #334155; line-height: 1.55; word-break: break-all;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fav-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--text-2); white-space: nowrap; overflow: hidden;
}
.fav-meta > span { flex: none; }
.fav-meta > span:last-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.fav-meta .price { color: var(--danger); font-weight: 700; }
.fav-meta .free { color: var(--ok); font-weight: 700; }

/* ---- 我的收藏 · 右侧推荐列（2026-11-06 站主：「列表右边也加个推荐的区域」）----
   版式照课程详情页右侧那张推荐卡来：固定 272px、白底细描边、18px 内距，小卡直接用 .pp-rec-* 那一份，
   两处长得一模一样。左列 .fav-main 吃剩下的宽度（两列收藏小卡原样不动）。
   窗口收窄到 1200 以下整列落到列表下面（此时收藏列表本来就只剩一列，272px 再挤在旁边会把卡片压扁）。 */
.fav-shell { display: grid; grid-template-columns: minmax(0, 1fr) 272px; gap: 24px; align-items: start; }
.fav-shell.no-rec { grid-template-columns: minmax(0, 1fr); }
.fav-main { min-width: 0; }
.fav-rec {
  margin-top: 14px; padding: 18px 18px 20px;   /* margin-top 与 .fav-grid 那一档对齐，两块上边缘齐平 */
  background: #fff; border: 1px solid #eef2f7; border-radius: 16px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, .04);
  position: sticky; top: 92px;                 /* 顶栏 72px 吸顶，再留 20px 呼吸 */
}
.fav-shell.no-rec .fav-rec { display: none !important; }
.fav-rec-more {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  margin-top: 14px; padding-top: 12px; border-top: 1px solid #f1f5f9;
  font-size: 12.5px; color: var(--blue);
}
.fav-rec-more i { font-style: normal; transition: transform .18s; }
.fav-rec-more:hover i { transform: translateX(3px); }
@media (max-width: 1199px) {
  .fav-shell { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .fav-rec { position: static; }
  /* 落到下面以后整行都是它的：5 条还排一竖列会右边空一大片，改两栏各吃一半宽度 */
  .fav-rec .pp-rec-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; }
}
@media (max-width: 1100px) { .fav-grid { grid-template-columns: 1fr; } }

.cat-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.cat-bar .cat {
  border: 1px solid #e2e8f0; background: #fff; color: var(--text-2);
  border-radius: 20px; padding: 7px 18px; font-size: 13px; transition: all .2s;
}
.cat-bar .cat:hover { border-color: var(--blue-border); color: var(--blue); }
.cat-bar .cat.on { background: var(--blue); color: #fff; border-color: var(--blue); font-weight: 600; }

/* ---- 章节折叠（桌面） ----
   2026-11-05：跟着目录框一起改直角细线——去掉 10px 圆角与上下外边距，
   折叠头上下各一条 1px 线（第一块不画上边线，直接贴外框顶线，避免双线/留白）。 */
.pc-sec-head {
  display: flex; align-items: center; gap: 8px;
  background: #f1f5f9; border-radius: 0; padding: 12px 20px;
  border-top: 1px solid #e8eef6; border-bottom: 1px solid #e8eef6;
  margin: 0; font-size: 15px; font-weight: 700; cursor: pointer;
}
.pc-sec-head:first-child { border-top: none; }
.pc-sec-head:last-child { border-bottom: none; }
/* 上一行已经有一条下边线时，折叠头不再叠一条上边线（避免接缝处变成 2px 的粗线） */
.pc-ch + .pc-sec-head, .pc-sec-head + .pc-sec-head { border-top: none; }
.pc-sec-head .fold-ic { color: var(--blue); font-size: 13px; }
.pc-sec-head .sec-count { font-size: 12px; color: var(--text-2); font-weight: 400; margin-left: 4px; }

/* ---- 收藏按钮 ---- */
.pc-btn.on { background: #fee2e2; color: #dc2626; border-color: #fecaca; }
.pc-fav {
  position: absolute; right: 12px; top: 12px; z-index: 20;
  background: rgba(0, 0, 0, .55); color: #fff; border: none;
  border-radius: 20px; padding: 5px 14px; font-size: 13px;
  cursor: pointer;   /* 2026-11-15：这颗是 span，之前压在播放器上没有手型 */
}
.pc-fav.on { background: var(--blue); }
.pc-play .wm-wrap, .m-play .wm-wrap { position: relative; }

/* ---- 分销可得：PC 详情页用 .pd-pay .comm（跟在价格后的一行小块），这里只剩移动端那颗 ---- */
.m-comm { font-size: 11px; font-weight: 700; color: #f59e0b; margin: 0 14px 6px; }

/* ---- 分享+购买 合体按钮：左白右蓝，矮宽形，文字一行 ---- */
.pc-btn-group {
  display: flex; align-items: stretch;
  width: 340px; height: 40px;            /* 确定宽度：34% 比例才能正确解析 */
  max-width: 100%;                       /* 右栏被卡片内距压窄时（1024 那一档）跟着收，不许顶出卡片 */
  border-radius: 10px;
  border: 1px solid var(--blue);
  position: relative;
}
.pc-btn-group .seg {
  border: none; cursor: pointer; font-size: 14px; font-weight: 600;
  padding: 0; line-height: 1; white-space: nowrap; transition: filter .15s;
  display: flex; align-items: center; justify-content: center; height: 100%;
}
.pc-btn-group .seg svg { margin: 0; vertical-align: 0; }
.pc-btn-group .seg:hover { filter: brightness(1.05); }
.pc-btn-group .seg.share {
  flex: 0 0 34%; background: #fff; color: var(--blue);
  border-right: 1px solid var(--blue);
  gap: 6px;
  border-radius: 9px 0 0 9px;
}
.pc-btn-group .seg.buy { flex: 1; background: var(--blue); color: #fff; border-radius: 0 9px 9px 0; }
/* 分享段：图标+文字水平居中 */
.pc-btn-group .seg.share { display: inline-flex; align-items: center; justify-content: center; }
/* 问号：独立圆形，悬在合体按钮左上角外侧；说明气泡向左弹出、白底。
   它挂在 .pc-act 里（合体按钮组的兄弟节点，不在组内），所以锚点要写成 .pc-act ——
   还按「组内子元素」那种写法选择器就完全落空，屏幕上只剩一个裸「?」（踩过一次）。 */
.pc-act .q {
  position: absolute; left: -12px; top: -12px; z-index: 30;
  width: 22px; height: 22px; border-radius: 50%;
  background: #f59e0b; color: #fff; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; cursor: help;
  box-shadow: 0 2px 6px rgba(15, 23, 42, .25);
}
.pc-act .q:hover::after {
  content: attr(data-tip);
  position: absolute; right: 28px; top: -6px; z-index: 40;
  width: 250px; white-space: normal; text-align: left;
  background: #fff; color: #0f172a;
  border: 1px solid #e2e8f0; box-shadow: 0 8px 24px rgba(15, 23, 42, .15);
  font-size: 12px; font-weight: 400; line-height: 1.6;
  padding: 10px 12px; border-radius: 10px;
}

.kw-bar { margin: 0 0 18px; padding: 0 12px; }
.kw-box {
  display: flex; align-items: center; height: 40px;
  background: #fff; border: 1px solid var(--blue-border); border-radius: 999px; padding: 0 6px 0 14px;
  transition: border-color .2s, box-shadow .2s;
}
.kw-box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-light); }
.kw-ico { width: 16px; height: 16px; flex: none; color: var(--blue); }
.kw-in {
  flex: 1; min-width: 0; border: none; outline: none; background: none;
  font-size: 14px; color: var(--text); padding: 0 8px; line-height: 1.2;
  -webkit-appearance: none; appearance: none; border-radius: 0;
}
.kw-in::placeholder { color: #b7c0cd; }
.kw-in::-ms-clear, .kw-in::-ms-reveal { display: none; }
/* ×：框里有字才出现（.has-kw 由 app.js 的 syncKwRows 挂/摘），点它只清关键词、分类不动 */
.kw-x {
  flex: none; width: 20px; height: 20px; margin-right: 2px; padding: 0;
  border: none; border-radius: 50%; background: var(--blue-light); color: var(--blue);
  display: none; align-items: center; justify-content: center;
}
.kw-bar.has-kw .kw-x { display: flex; }
.kw-x svg { width: 10px; height: 10px; display: block; }
.kw-x:hover { background: var(--blue-border); }
.kw-go {
  flex: none; border: none; background: none; color: var(--blue);
  font-size: 14px; font-weight: 600; padding: 0 8px; line-height: 1.2;
}
.kw-go:hover { color: var(--blue-dark); text-decoration: underline; }
.kw-sum { padding: 9px 4px 0; font-size: 12.5px; color: #a4aebe; letter-spacing: .3px; }
.kw-sum:empty { display: none; }
@media (min-width: 1024px) {
  .kw-bar { padding: 0; }
  .kw-box { height: 42px; max-width: 420px; padding-left: 16px; }
}

.js-m-recs:not(:empty) { padding: 12px 12px 0; }
.js-m-cats:not(:empty) { padding: 16px 12px 0; }

.ntb {
  display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px;
  background: #fff; cursor: pointer;
  border-top: 1px solid rgba(15, 23, 42, .05); border-bottom: 1px solid rgba(15, 23, 42, .07);
}
.ntb-mark { flex: none; width: 3px; height: 15px; border-radius: 2px; background: var(--blue); }
.ntb-tag { flex: none; font-size: 12px; font-weight: 600; color: var(--blue); letter-spacing: 1px; }
.ntb-txt { flex: 1; min-width: 0; font-size: 13px; line-height: 1.4; color: #334155; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ntb-cnt { flex: none; font-size: 12px; color: #a4aebe; }
.ntb-more { flex: none; font-size: 12px; color: var(--blue); }
.ntb:hover .ntb-more { text-decoration: underline; }
.pc-home .ntb {
  height: 58px; padding: 0 22px; gap: 16px; margin: 0;
  border: 1px solid #eef2f7; border-radius: 14px; box-shadow: 0 2px 12px rgba(15, 23, 42, .04);
}
.pc-home .ntb-mark { width: 4px; height: 18px; }
.pc-home .ntb-tag { font-size: 14px; letter-spacing: 2px; }
.pc-home .ntb-txt { font-size: 15px; }
.pc-home .ntb-cnt { font-size: 13px; }
.pc-home .ntb-more { font-size: 14px; }

.rec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.rec-card {
  display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid #eef2f7; box-shadow: 0 4px 16px rgba(15, 23, 42, .06); cursor: pointer;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.rec-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(15, 23, 42, .14); border-color: var(--blue-border); }
.rc-cover { position: relative; width: 100%; aspect-ratio: 750 / 457; overflow: hidden; background: #eef2f7; }
.rc-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rc-tag {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  font-size: 12px; font-weight: 700; color: var(--gold-ink);
  letter-spacing: 1px; line-height: 1.4; padding: 4px 12px; border-radius: 8px;
  background: var(--gold); box-shadow: 0 4px 14px rgba(194, 140, 32, .45);
}
.rc-body { flex: 1; display: flex; flex-direction: column; padding: 12px 12px 14px; }
.rc-t {
  font-size: 14px; font-weight: 600; color: #0f172a; line-height: 1.45; min-height: 41px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-all;
}
/* 标题后面的分类标签（2026-11-04）：主题色实底小胶囊，颜色跟着 --theme 走，换主题色这里不用动。
   inline-block 留在文字流里——标题占满两行时它自然落到第二行末尾，跟标题一起被两行截断管着，不会把卡片撑高。
   垂直位置（2026-11-04 用户要求「分类标签跟文字底部对齐」）：
   这颗胶囊带 overflow: hidden（为了超长分类名省略号），按 CSS 规范它的基线就变成了自己的「下外边距边」，
   所以 vertical-align 不是「在行里抬多少」而是「把整个胶囊底边抬到基线上/下多少」——
   正值会把胶囊顶起来（原先 2px/2.5px 就是这么来的：标签一直悬在字脚上方 2~4px）。取负值才把它压回去。
   尺寸（2026-11-04 再收一档，用户「有点大了，再小一点，底部对齐」）：字号 11.5→10.5px、内距 1px 8px→0 7px、
   行高 1.5→1.4、圆角 6→5px。整颗高度 14.7px ≈ 17px 中文的墨迹高（15px），所以看着就是「字上一枚小标」，
   不再是一颗比字还高的圆块；底边用 -1.5px 压到字脚上（留半像素略高——宁可高一点点，也别沉下去：
   沉下去会露出一条「标比字低」的台阶，高一像素几乎看不出来）。
   调这个数必须重新量：`_check-shop/gen-catcard.js` 出真样张 + `measure_catcard.py` 量「胶囊墨迹底 − 文字字脚」。 */
.rc-cat {
  display: inline-block; margin-left: 7px; padding: 0 7px; border-radius: 5px;
  background: var(--theme); color: #fff; font-size: 10.5px; font-weight: 600; line-height: 1.4;
  letter-spacing: 0; vertical-align: -1.5px; white-space: nowrap;
  /* 分类名后台不限制长度（VARCHAR 60）：标签自己封顶 8 个字宽，超了省略，别让它把标题顶上第三行 */
  max-width: 100px; overflow: hidden; text-overflow: ellipsis;
}
.rc-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.rm-l { display: flex; align-items: baseline; min-width: 0; }
.rm-n { font-size: 20px; font-weight: 800; color: #0f172a; line-height: 1.1; font-variant-numeric: tabular-nums; }
.rm-u { font-size: 12px; color: #94a3b8; margin-left: 4px; }
.rm-div { flex: none; width: 1px; height: 16px; background: rgba(15, 23, 42, .12); }
.rm-r { display: flex; flex-direction: column; align-items: flex-end; }
.rm-rl { font-size: 11px; color: #94a3b8; line-height: 1.2; }
.rm-rn { font-size: 14px; font-weight: 700; color: #0f172a; line-height: 1.25; font-variant-numeric: tabular-nums; }

.pc-home .rec-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pc-home .rc-tag { left: 10px; top: 10px; font-size: 11.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: #f59e0b; color: #fff; box-shadow: 0 4px 12px rgba(245, 158, 11, .38); }
.pc-home .rc-body { padding: 14px 16px 16px; }
.pc-home .rc-t { font-size: 17px; font-weight: 700; min-height: 51px; letter-spacing: -.2px; line-height: 1.5; }
/* 首页推荐卡那一枚（2026-11-04 再收一档）：与基础规则同尺寸，只是把左边距与上面那套数值写在这一层，
   方便只调首页这一处；两处数值必须一致，否则同一颗标签在两个页面大小不一。 */
.pc-home .rc-cat { font-size: 10.5px; padding: 0 7px; border-radius: 5px; margin-left: 7px; vertical-align: -1.5px; }

.pc-home .rc-meta { margin-top: 10px; margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; }
.pc-home .rmi { font-size: 13.5px; color: #94a3b8; line-height: 1.3; white-space: nowrap; font-variant-numeric: tabular-nums; }

.pc-home .rc-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid #eef2f7; display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.rm-vip {
  font-size: 11.5px; font-weight: 700; line-height: 1.35; letter-spacing: .3px;
  color: #b45309; background: #fdf3d7; border-radius: 8px; padding: 4px 10px;
}
.rc-p { color: var(--danger); font-weight: 800; font-size: 27px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.rc-p.free { color: var(--ok); font-size: 14px; font-weight: 700; }

/* ---- 通用小封面 / 小标签（现在只有底部浮动条在用：面板条目 .pcb-item .ct-cv、「上次学到」标签 .ct-tag）。
       v1.22.78 站主：「首页的这个区域 去掉吧」——首页顶部那张续学大卡整体下线，
       .cont / .ct-mid / .ct-course / .ct-row / .ct-ch / .ct-pct / .ct-prog / .ct-go
       和它们那组 .pc-home 放大档一起删掉，别留一堆没人用的死样式。 ---- */
.ct-cv { flex: none; width: 84px; height: 47px; border-radius: 8px; overflow: hidden; background: #eef2f7; }
.ct-cv img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ct-tag { flex: none; font-size: 11px; color: var(--blue); background: var(--blue-light); border-radius: 4px; padding: 2px 6px; }

/* ---- PC 底部浮动「上次学到」条（v1.22.43）。
       收起态 = .pcb-in 一条横条贴视口底边（内容与顶部续学卡同一套口径）；
       展开态 = .pcb-panel 在横条上方浮出，左「最近在看」右「学习统计」。
       挂在 #pcContBar（position:fixed 铺满视口宽），内层 1360px 居中、左右圆角收口。 ---- */
.pc-contbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; pointer-events: none; }
.pc-contbar > * { pointer-events: auto; }
/* 条出现时页脚让出一条，别让浮动条常年盖住底部信息（条高 38，留 46 够看不压字） */
body.pcb-on .pc-footer, body.pcb-on .m-foot { margin-bottom: 46px; }
.pcb-in {
  max-width: 1360px; margin: 0 auto; display: flex; align-items: flex-end; justify-content: center; gap: 0;
  height: 38px; padding: 0 16px 6px; cursor: pointer; position: relative;   /* 2026-11-05 站主：高度收成原来一半（72→38） */
  background: rgba(255, 255, 255, .97); border: 1px solid #e8eef6; border-bottom: none;
  border-radius: 12px 12px 0 0; box-shadow: 0 -6px 24px rgba(15, 23, 42, .08);
  backdrop-filter: blur(8px);
  transition: background .2s;
}
.pcb-in:hover { background: #fff; }
/* 一行到底（v1.22.61 站主：「上次学到放前面，文字和进度条保持跟按钮底部对齐」；
   2026-11-05 再调：「三角左右两侧整体靠近一些」。
   v1.22.71 站主定稿：「不要分左右两侧的，作为一个整体，整体居中就好」——
   左右两段都按内容收（flex:0 1 auto），整条内容当成一整组由 .pcb-in 的 justify-content:center 居中；
   三角夹在两段中间、两侧各 14px 空档（对称），只是不再强行钉在条的几何中心。 */
.pcb-l {
  flex: 0 1 auto; min-width: 0; max-width: calc(50% - 40px);
  display: flex; align-items: flex-end; justify-content: flex-end; gap: 10px;
  padding-right: 14px;
}
/* 右段（已学+进度条 / 继续学习 / 关闭）：紧跟在三角右侧，整段从中间往右排 */
.pcb-r { flex: 0 1 auto; min-width: 0; display: flex; align-items: flex-end; justify-content: flex-start; gap: 10px; padding-left: 14px; }
/* 「已学 46% + 进度条」一行内垂直居中（v1.22.61 站主：「进度条跟已学的这两个字上下居中对齐」） */
.pcb-pctline { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 20px; }
.pcb-course {
  flex: 0 1 auto; max-width: 320px; min-width: 0;
  font-size: 14px; font-weight: 700; color: #0f172a; line-height: 20px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* 「上次学到」标签（2026-11-15 站主再调）：字号跟条里其他文字一致（12.5px，别再大一档）；
   背景色加宽（内距 14px，与「继续学习」按钮同）且加深一档 #eff6ff → #dbeafe。字重 400 不动。 */
.pcb-in .ct-tag {
  flex: none; font-size: 12.5px; line-height: 20px; color: var(--blue);
  background: #dbeafe; border-radius: 5px; padding: 0 14px; font-weight: 400;
}
.pcb-ch {
  flex: 0 1 auto; min-width: 0;
  font-size: 12.5px; line-height: 20px; color: #64748b;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* v1.22.70 站主：「小三角左右两侧要对称，靠近按钮的距离要相等」——
   章节名不能再 flex:1 撑满左半段：一撑满，元素右缘贴着三角、文字却靠左，
   视觉上文字离三角 290px、右边却只有 14px。改成按内容收，太长才省略号，
   左段内容整体往三角靠，两边空档都是 .pcb-l/.pcb-r 的 14px。 */
.pcb-pct { flex: none; font-size: 12.5px; line-height: 20px; color: #94a3b8; }
.pcb-prog { flex: none; width: 96px; height: 4px; border-radius: 999px; overflow: hidden; background: #eef2f7; }
.pcb-prog i { display: block; height: 100%; border-radius: 999px; background: var(--blue); }
.pcb-go { flex: none; height: 26px; padding: 0 14px; font-size: 12.5px; border-radius: 7px; display: inline-flex; align-items: center; text-decoration: none; }
/* 「我的答疑」（v1.22.78 站主：「收起来的时候，在继续学习右侧加一个 我的答疑 按钮，白色的」）：
   白底蓝字描边，26px 与「继续学习」同高；未读数字挂在它右上角（.pcb-qa-dot，由 paintQaDot 按状态挂/摘）。 */
.pcb-qa {
  position: relative; flex: none; height: 26px; padding: 0 12px; font-size: 12.5px;
  border-radius: 7px; display: inline-flex; align-items: center;
  background: #fff; border: 1px solid var(--theme-border); color: var(--blue);
}
.pcb-qa:hover { background: var(--blue-light); }
/* 未读角标（红底白字）：三个落点共用同一套尺寸 —— 条上的答疑按钮 / 面板里的「我的笔记」/ 顶部「我的」。
   box-shadow 那圈白边是「压在按钮边沿上」用的，不然红点跟蓝底按钮糊在一起。
   面板那一处不走绝对定位：跟在「我的笔记」四个字后面（.pcb-nq-t 里），不压住行末的 ›。 */
.pcb-qa-dot, .pcb-qb-dot, .nav-qa-dot {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px;
  background: var(--danger); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 1;
  font-variant-numeric: tabular-nums; pointer-events: none; box-shadow: 0 0 0 2px #fff;
}
.pcb-qa-dot { position: absolute; z-index: 2; top: -6px; right: -4px; }
.pcb-qb-dot { position: static; margin-left: 6px; vertical-align: 1px; }
#pcUser .pc-btn { position: relative; }
.nav-qa-dot { position: absolute; z-index: 2; top: -7px; right: -6px; }
/* 「我的笔记」那行：标题 + 角标当一个整体，后面的说明字再接着排 */
.pcb-nq-t { display: inline-flex; align-items: center; }
.pcb-arrow, .pcb-x {
  flex: none; width: 26px; height: 26px; border: none; border-radius: 7px; background: transparent;
  color: #7d8aa0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.pcb-arrow:hover, .pcb-x:hover { background: var(--blue-light); color: var(--blue); }
.pcb-x { font-size: 17px; line-height: 1; }
/* 展开三角（v1.22.67 站主：「这个按钮还是放在里面把，不要吐出来了，样式也不要了」）：
   凸起那套（白底圆角块 + 边框 + 投影 + top 偏移）整套下线，回到条内部的一枚普通小图标按钮：
   26×26、透明底、无边框、hover 才浮一点淡蓝，跟右边的关闭 × 同一规格；夹在左右两段中间，间距 8px。 */
.pcb-arrow {
  flex: none; position: relative; top: 0; margin: 0;
  width: 26px; height: 26px; border: none; border-radius: 7px;
  background: transparent; color: #7d8aa0;
}
.pcb-arrow:hover { background: var(--blue-light); border-color: transparent; color: var(--blue); }
.pcb-arrow svg { pointer-events: none; }

/* 展开面板：挂在条的下方（2026-11-05 站主：「点击之后，这一行是把下面的内容拉出来的，位置上移的」）——
   DOM 里条在前、面板在后，整块贴视口底，展开＝条被顶上去、面板从条下面长出来。 */
.pcb-panel {
  max-width: 1360px; margin: 0 auto; display: none; position: relative;
  /* 三列（v1.22.78）：最近在看 / 学习统计 / 笔记与答疑。
     原来是 1.45fr + 1fr，统计三行只占右列左半边，右边空出一大片；补第三列把空白用起来。
     v1.22.79 站主：「左侧区域大一些，不要出现滑块」——左边那列加宽（1.45→1.95），
     后面两列本来就留白（统计三行撑不满 255，笔记那三行说明文字可省略号收），让出的宽度全给左列。 */
  grid-template-columns: 1.95fr .68fr .84fr; gap: 26px;
  padding: 16px 20px 18px;
  background: #fff; border: 1px solid #e8eef6; border-top: none;
  border-radius: 0 0 12px 12px; box-shadow: 0 10px 28px rgba(15, 23, 42, .10);
}
/* 面板右上角的关闭（v1.22.67 立，v1.22.77 站主：「底部点开之后的，那个右上角的小叉号 去掉」→ 整套下线）：
   关掉 */
.pcb-panel.on { display: grid; }
.pcb-col { min-width: 0; }
.pcb-col-hd { font-size: 13px; font-weight: 700; color: #334155; margin-bottom: 10px; }
.pcb-loading, .pcb-empty { font-size: 12.5px; color: #a4aebe; padding: 10px 0; }
/* 最近在看：两列铺开，最多 6 条（app.js 里 slice(0,6) 已经封顶）＝ 三行，所以这里不再限高、不出滚动条。
   2026-11-05 站主：「不要出现滑块」——原来的 max-height:196 + overflow-y:auto 在窄屏/125% 缩放下
   三行装不下（现在一条 54~68 高）就竖着冒滑块；而 overflow-y:auto 会让 overflow-x 一起变成 auto，
   于是 `1fr` 轨道被条目 min-content 顶宽时又多出一条横向滑块（截图里左下那条带箭头的条）。
   两条一起治：轨道改 minmax(0,1fr)（能缩到比内容还窄）＋ 去掉限高。 */
.pcb-recent { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; }
.pcb-item {
  display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; cursor: pointer;
  min-width: 0; transition: background .15s;
}
.pcb-item:hover { background: var(--blue-light); }
.pcb-item .ct-cv { flex: none; width: 58px; height: 33px; border-radius: 6px; overflow: hidden; background: #eef2f7; }
.pcb-item .ct-cv img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcb-item-mid { flex: 1; min-width: 0; }
/* 列表项：上面大字是章节名、下面小字是课程名（2026-11-05 站主换位），字号跟着主次走 */
.pcb-item-t { font-size: 13px; font-weight: 600; color: #0f172a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcb-item-s { margin: 2px 0 4px; font-size: 11.5px; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcb-item .pcb-prog { width: auto; }
.pcb-item-pct { flex: none; font-size: 11px; color: #a4aebe; }
/* 右列：学习统计 */
/* 学习统计：标签在左、数值在右（2026-11-05 站主换位），三行标签左缘对齐、数值一列起 */
.pcb-col-stats .pcb-stat { display: flex; align-items: baseline; gap: 12px; padding: 7px 0; border-bottom: 1px dashed #eef2f7; }
.pcb-col-stats .pcb-stat:last-of-type { border-bottom: none; }
.pcb-col-stats .pcb-stat span { flex: none; width: 68px; font-size: 12.5px; color: #94a3b8; }
.pcb-col-stats .pcb-stat b { font-size: 17px; color: #0f172a; font-variant-numeric: tabular-nums; }
.pcb-mine { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--blue); text-decoration: none; }
.pcb-mine:hover { text-decoration: underline; }
/* 第三列「笔记与答疑」（v1.22.78 站主：「右侧还是有些空。加个 笔记答疑啥的呢？」）：
   三个入口竖排，34px 一行、间距 6px，与左列统计那三行（7+7 padding + 17 字）几乎等高，两列底边能对齐。
   图标 17px 从图标位走，标题 13px/600、右侧灰字说明，行末一枚 ›。 */
.pcb-col-nq .pcb-nq { display: flex; flex-direction: column; gap: 6px; }
.pcb-nq-item {
  position: relative; display: flex; align-items: center; gap: 9px;
  height: 34px; padding: 0 9px; border-radius: 9px; cursor: pointer; text-decoration: none;
  transition: background .15s;
}
.pcb-nq-item:hover { background: var(--blue-light); }
.pcb-nq-ic { flex: none; display: inline-flex; align-items: center; color: #8492a6; }
.pcb-nq-item:hover .pcb-nq-ic { color: var(--blue); }
.pcb-nq-ic.qa { color: #b45309; }        /* 答疑暖色，与播放页那颗「答疑」标签同一口径 */
.pcb-nq-ic.fav { color: #8492a6; }
.pcb-nq-t { flex: none; font-size: 13px; font-weight: 600; color: #0f172a; }
.pcb-nq-s { flex: 1 1 auto; min-width: 0; font-size: 11.5px; color: #a4aebe; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcb-nq-go { flex: none; font-size: 15px; line-height: 1; color: #c3cbd8; }
.pcb-nq-item:hover .pcb-nq-go { color: var(--blue); }
/* × 的定位锚（v1.22.69）：只包住那颗 26×26 的关闭按钮，不参与排版，纯给询问气泡当坐标系。
   v1.22.77 站主：「小叉号在往右一些」——用 transform 纯视觉右移，不参与 flex 计算，
   整组居中的口径（v1.22.71 站主定稿）一点不动；气泡挂在这层里，跟着一起走、尖角仍然对得准。 */
.pcb-xw { position: relative; flex: none; display: inline-flex; transform: translateX(10px); }
/* 关闭询问（v1.22.69 站主：「关闭弹窗放在区域上面不要在页面中间。放在关闭按钮的上面右侧。并且加个取消按钮」）：
   不再用页面居中的 showModal，改成挂在关闭 × 上的一枚小气泡——右缘对齐 ×、整体压在条顶边上方，
   底下带一只朝下的小尖角指向 ×；里面两个选项 + 一颗「取消」，点外面 / Esc 也等于取消。 */
.pcb-ask {
  position: absolute; right: 0; bottom: calc(100% + 10px); z-index: 5;
  /* v1.22.77 站主：「关闭弹窗再宽一点，小字不要两行」——
     302 时「以后都不显示，可在「我的 → 账号设置」里重新打开」差几个字折行，加到 348 一行放得下
     （348 - 气泡内距 28 - 选项内距 24 - 边框 2 = 294 可用，这串小字实测约 259）。 */
  width: 348px; padding: 14px 14px 10px; text-align: left; cursor: default;
  background: #fff; border: 1px solid #e8eef6; border-radius: 12px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .16);
}
/* 尖角：12×12 旋转 45°，右缘 7px 处 = 气泡右缘往内 13px = × 的中线 */
.pcb-ask::after {
  content: ""; position: absolute; right: 7px; bottom: -7px; width: 12px; height: 12px;
  background: #fff; border-right: 1px solid #e8eef6; border-bottom: 1px solid #e8eef6;
  transform: rotate(45deg); border-radius: 0 0 3px 0;
}
.pcb-ask-hd { margin-bottom: 6px; font-size: 13.5px; font-weight: 700; color: #0f172a; }
.pcb-ask-sub { margin-bottom: 12px; font-size: 12px; line-height: 1.6; color: #64748b; }
.pcb-ask-list { display: flex; flex-direction: column; gap: 8px; }
.pcb-ask-btn {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  width: 100%; padding: 9px 12px; border: 1px solid #e8eef6; border-radius: 9px;
  background: #fff; cursor: pointer; font: inherit; text-align: left;
  transition: border-color .15s, background .15s;
}
.pcb-ask-btn b { font-size: 13px; font-weight: 600; color: var(--text); }
.pcb-ask-btn small { font-size: 11px; line-height: 1.45; color: #94a3b8; }
.pcb-ask-btn:hover { border-color: var(--blue-border); background: var(--blue-light); }
.pcb-ask-btn:hover b { color: var(--blue); }
/* 取消：右下角一颗浅灰小按钮，跟两个选项分开，点了只收气泡、不动任何设置 */
.pcb-ask-foot { display: flex; justify-content: flex-end; margin-top: 10px; padding-top: 9px; border-top: 1px solid #f1f5f9; }
.pcb-ask-cancel {
  height: 28px; padding: 0 14px; font-size: 12.5px; color: #64748b; cursor: pointer;
  background: #f6f8fb; border: 1px solid #e8eef6; border-radius: 7px;
  transition: background .15s, color .15s, border-color .15s;
}
.pcb-ask-cancel:hover { background: var(--blue-light); border-color: var(--blue-border); color: var(--blue); }
@media (max-width: 1023px) { .pc-contbar { display: none; } body.pcb-on .pc-footer, body.pcb-on .m-foot { margin-bottom: 0; } }

/* ---- 三张介绍卡的移动端取值 ----
   这一档必须整块包在 max-width:1023px 里：上面 min-width:1024px 段里已经有一份同名选择器的桌面取值，
   媒体查询不给额外权重、同权重只比先后 —— 写成裸规则（而且它在文件更后面）会把桌面那份
   「30px 内距 / 34px 图标 / 17px 标题 / 三列」一起顶成移动端的值。 */
@media (max-width: 1023px) {
  .pc-feat { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 14px 12px 0; margin: 0; }
  .pc-f { background: #fff; border-radius: 16px; border: 1px solid #eef2f7; padding: 16px; }
  .pc-f svg { width: 26px; height: 26px; color: var(--blue); margin-bottom: 10px; }
  .pc-f .ft { font-size: 15px; font-weight: 700; margin-bottom: 5px; }
  .pc-f .fs { font-size: 12.5px; color: var(--text-2); line-height: 1.7; }
}
@media (min-width: 640px) and (max-width: 1023px) { .pc-feat { grid-template-columns: repeat(3, 1fr); } }
.pc-home .pc-feat { padding: 0; margin: 0; }


.pc-home .hb-slide img { height: 320px; }

.pc-home .pc-section { margin-bottom: 40px; }
.pc-home .pc-section .sec-head { margin-bottom: 20px; }
.pc-home .pc-section .sec-head h2 { font-size: 26px; font-weight: 800; letter-spacing: -.2px; }
.pc-home .pc-section .sec-head a { font-size: 14px; }
.pc-home .js-home-banner:not(:empty) { margin-bottom: 32px; }
.pc-home .js-home-notice:not(:empty) { margin-bottom: 36px; }
/* 没公告时（整块是空的）把这一段的差额补回给精选区，保证 hero 到第一块内容的呼吸仍然够 */
.pc-home .js-home-notice:empty + .js-home-recs { margin-top: 16px; }

.pc-home .js-home-recs:not(:empty) { margin: 6px 0 36px; }
.pc-home .js-home-cats:not(:empty) { margin: 0 0 40px; }


.pc-nav, .m-top, .m-tabbar { -webkit-user-select: none; user-select: none; }
.pc-nav a, .pc-nav button, .pc-nav .logo, .m-top .logo, .m-top button, .m-tabbar .tab,
.pc-nav img, .m-top img, .pc-footer a { -webkit-user-drag: none; user-drag: none; -webkit-user-select: none; user-select: none; }

/* ---------- ③ 列表底部分页条（课程页与文章页共用这一套） ----------
   与后台列表那条 gsp-pager 同一读法：上一页／页码／下一页 靠左，右边一行「共 N 条 · 第 x / y 页」。
   当前页是主题蓝实心，其余是描边；按不动的两颗（首尾页的外侧）用 disabled 的灰态，不做"点了没反应"的假按钮。 */
.pg { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 26px 0 4px; }
.pg:empty { display: none; }
.pg button { min-width: 34px; height: 34px; padding: 0 11px; border: 1px solid var(--blue-border); border-radius: 8px;
  background: #fff; color: var(--blue); font-size: 13px; cursor: pointer; transition: all .18s; }
.pg button:hover:not(:disabled):not(.on) { background: var(--blue-light); border-color: var(--blue); }
.pg button.on { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; cursor: default; }
.pg button:disabled { background: #f4f6fa; border-color: #e8ecf3; color: #b6bfcc; cursor: not-allowed; }
.pg .pg-eps { color: #b6bfcc; font-size: 13px; padding: 0 2px; }
.pg .pg-n { margin-left: auto; font-size: 13px; color: var(--text-2); }

/* 桌面那份「找到 N 个结果」现在单独排在分类条下面一行，没搜索时不留一条空占位的间距 */
.kw-sum:empty { display: none; }

@media (min-width: 1024px) {

  /* 课程列表页顶栏（2026-11-04 站主点名重排）：左边那台 520px 的推荐卡轮播撤掉以后，整条交回给
     「分类 + 搜索」——左分类吃掉剩余宽度（可横滚），右搜索框定宽贴边，两者同高、垂直居中。
     发丝分隔线撤掉：分类做成一条浅灰凹槽，本身已经是一块，不用再靠一根线划界。 */
  .pl-head {
    display: flex; align-items: center; gap: 24px;
    margin: 0 0 22px; padding: 0;
  }
  /* 分类条＝一排独立描边的矩形按钮（2026-11-04 站主定的第三版，原话「pc列表页，分类按钮用这种」）。
     第一版是普通实心蓝按钮、第二版是「浅灰凹槽 + 白瓷片」，这一版换成：白底描边矩形 + 选中蓝边浅蓝底
     + 最左侧一条 3px 蓝条当指示（就是站主贴的那段 CSS 的读法）。
     ★ 尺寸照原来那条控件带走：按钮原与右侧 46px 搜索框同高，2026-11-04 站主「分类按钮再矮一点」
       收成 38px（＝搜索框里那颗「搜索」按钮的高度），两者靠 .pl-head 的 align-items:center 共用一条中线。
       站主给的写法是 padding:12px 26px，这里换成等高写法（height + padding:0 24px）——
       字数一变、字号一调，字始终垂直居中，不会因为上下内距写死而偏。
     ★ 只在有内容处收边（flex:0 1 auto）：铺满整行会把右边搜索框挤走。
     ★ 横滚照旧：分类多是常态，换行会把这一栏撑成两三层、把搜索框顶得忽上忽下。
       overflow-y 必须写死 hidden：CSS 规定 overflow-x 不是 visible 时，overflow-y 的 visible 会被算成 auto，
       按钮的描边顶出 0.x px 就会冒出一条竖向条；纵向本来就装得下，于是只剩横向这一条滚。 */
  .pl-head .cat-bar {
    margin: 0; flex: 0 1 auto; min-width: 0;
    /* 上限让开右边那条：搜索框 400 + 间距 24。不写这条，分类一多就会顶到搜索框上 */
    max-width: calc(100% - 424px);
    display: flex; align-items: center; flex-wrap: nowrap; gap: 12px;
    padding: 0; border-radius: 0; background: transparent; box-shadow: none;
    overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
    scrollbar-width: none; -ms-overflow-style: none;   /* Firefox / 旧 Edge */
  }
  .pl-head .cat-bar::-webkit-scrollbar { display: none; }  /* Chrome / Safari / Edge */
  /* 装不下时右端淡出（app.js 的 syncCatFade 挂 has-more / has-prev，机制没动）。
     遮罩挂在条子上、淡出的是最后一颗按钮的右边缘：读成「后面还有，往右滚」。 */
  .pl-head .cat-bar.has-more {
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 30px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 30px), transparent);
  }
  .pl-head .cat-bar.has-prev {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 30px);
    mask-image: linear-gradient(90deg, transparent, #000 30px);
  }
  .pl-head .cat-bar.has-more.has-prev {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 30px, #000 calc(100% - 30px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 30px, #000 calc(100% - 30px), transparent);
  }

  /* 按钮：白底 + 1px 描边 + 8px 圆角，38px 高（与搜索框里那颗「搜索」按钮同高）。
     2026-11-04 站主：「分类按钮再矮一点」——原来跟搜索框外框同为 46px，太敦实；
     收成 38px 后仍与 46px 的搜索框共用同一条垂直中线（.pl-head 是 align-items:center）。
     选中＝蓝边 + 浅蓝底 + 蓝字加粗；hover 只描边变蓝、不填底，免得没选中的也跟着「亮起来」。 */
  .pl-head .cat {
    position: relative; flex: none; height: 38px; display: inline-flex; align-items: center;
    border: 1px solid #e2e8f0; background: #fff; color: #5b6b82;
    border-radius: 8px; padding: 0 24px; font-size: 14px; font-weight: 500; white-space: nowrap;
    transition: color .2s, border-color .2s, background .2s;
  }
  .pl-head .cat:hover { border-color: var(--blue-border); color: var(--blue); }
  .pl-head .cat:active { opacity: .75; }
  .pl-head .cat.on {
    color: var(--blue); border-color: var(--blue); background: var(--blue-light); font-weight: 700;
  }
  /* 左侧指示条：选中时从 0 立到 60%（0.2s 长出来）。
     用 ::after 而不是 ::before，因为 ::before 还给下面那颗小蓝点留着；
     left:-1px 让它压住那 1px 描边，看起来是从边上「长出来」的一条，而不是贴在描边内侧。 */
  .pl-head .cat::after {
    content: ''; position: absolute; left: -1px; top: 50%; transform: translateY(-50%);
    width: 3px; height: 0; background: var(--blue); border-radius: 0 3px 3px 0;
    transition: height .2s;
  }
  .pl-head .cat.on::after { height: 60%; }
  /* 站主留下的那颗小蓝点（原话「现在按钮的 分类前面的点 可以保留」）：选中时出现在文字左边。
     必须绝对定位摆在左内距里 —— 用流内伪元素（原来那版就是这么写的），选中时多出 12px 宽度，
     inline-flex 居中会把文字整体推右 6px，来回点分类能看到字在跳。 */
  .pl-head .cat.on::before {
    content: ''; position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
    width: 5px; height: 5px; border-radius: 50%; background: var(--blue);
  }

  /* 搜索框（2026-11-04 站主给的样子）：药丸外框 + 内嵌实心蓝钮。
     钮比框矮 8px、圆角 10px，与外框的 14px 同圆心 —— 看起来是「嵌在框里的一块」，
     而不是贴在右端的一颗独立按钮。 */
  .pl-head .kw-bar { margin: 0 0 0 auto; padding: 0; flex: none; width: 400px; max-width: 44%; }
  .pl-head .kw-box {
    max-width: none; height: 46px; border-radius: 14px;
    border-color: #e6ebf3; padding: 0 4px 0 16px; gap: 9px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  }
  .pl-head .kw-box:focus-within { border-color: var(--blue-border); box-shadow: 0 0 0 4px rgba(37, 99, 235, .10); }
  .pl-head .kw-ico { width: 17px; height: 17px; color: #9aa8bb; transition: color .18s; }
  .pl-head .kw-box:focus-within .kw-ico { color: var(--blue); }
  .pl-head .kw-in { font-size: 13.5px; padding: 0; }
  .pl-head .kw-x { margin-right: 10px; }
  .pl-head .kw-go {
    height: 38px; padding: 0 22px; border: 0; border-radius: 10px;
    background: var(--blue); color: #fff; font-size: 13.5px; font-weight: 600; letter-spacing: .5px;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 10px -4px rgba(37, 99, 235, .6);
    transition: background .18s, box-shadow .18s, transform .12s;
  }
  .pl-head .kw-go:hover {
    background: var(--blue-dark); color: #fff; text-decoration: none;
    box-shadow: 0 6px 14px -5px rgba(37, 99, 235, .7);
  }
  .pl-head .kw-go:active { transform: translateY(1px); }
}

.pc-article { max-width: 820px; margin: 0 auto; }
.pa-t { font-size: 34px; line-height: 1.34; font-weight: 800; letter-spacing: -.8px; color: #0b1226; }
.pa-meta { display: flex; align-items: center; gap: 12px; margin: 16px 0 0; font-size: 13px; color: var(--text-2); }
.pa-dot { width: 3px; height: 3px; border-radius: 50%; background: #cbd5e1; }
.pa-body { margin-top: 30px; padding-bottom: 30px; border-bottom: 1px solid #eef2f7; }
.pa-foot { display: flex; align-items: center; gap: 12px; padding: 22px 0 8px; }
.m-art-fav { margin-top: 18px; }

.pc-member { max-width: 1180px; margin: 0 auto; }

.mb-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; }
/* 页头：左文案区（大标题 → 一句说明）+ 右侧会员状态（「会员中心」那行小字已去掉） */
.mb-head-l { flex: 1 1 320px; min-width: 0; }
.mb-title { margin-top: 0; font-size: 30px; font-weight: 800; letter-spacing: -.7px; line-height: 1.22; color: #0b1226; }
.mb-sub { margin-top: 10px; font-size: 13.5px; line-height: 1.75; color: var(--text-2); max-width: 34em; }
.mb-state { display: flex; flex-direction: column; gap: 4px; min-width: 232px; padding: 14px 18px;
  background: #fff; border: 1px solid #eef2f7; border-radius: 14px; }
.mb-state b { font-size: 14.5px; font-weight: 700; color: #0b1226; }
.mb-state span { font-size: 12px; line-height: 1.6; color: var(--text-2); }
/* 已是会员时这一格描金：与推荐档的丝带同一支金，读者一眼认出「这是我现在的状态」 */
.mb-state.on { border-color: var(--gold); background: #fffdf6; }
.mb-grid { margin-top: 26px; }
.mb-main { min-width: 0; }
/* 面板：白底 + 发丝边 + 大留白，两块之间留一整格的呼吸（PC 分区靠间距，不靠分割线） */
.mb-panel { background: #fff; border: 1px solid #eef2f7; border-radius: 18px; padding: 26px 28px; margin-bottom: 20px; }
.mb-ph { display: flex; align-items: baseline; gap: 12px; font-size: 17px; font-weight: 800; color: #0b1226; letter-spacing: -.2px; margin-bottom: 18px; }
.mb-phs { font-size: 12.5px; font-weight: 400; color: var(--text-2); letter-spacing: 0; }

.mb-plans { display: grid; grid-template-columns: 1fr; gap: 14px; }
.mb-p { position: relative; overflow: hidden; background: #fff; border: 1px solid #e6eaf2; border-radius: 14px;
  padding: 20px 22px; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .22s, opacity .12s; }
.mb-p:hover { border-color: var(--blue-border); box-shadow: 0 10px 22px rgba(15, 23, 42, .07); }
.mb-p:active { opacity: .78; }   /* 按下＝整列压暗，不新增一层灰底（全站口径） */
/* 选中＝橙描边＋橙晕阴影＋整列上浮 3px（三件事一起给，只改描边看着还是"没选中"） */
.mb-p.on { border-color: #f59e0b; box-shadow: 0 10px 26px rgba(245, 158, 11, .18); transform: translateY(-3px); }
/* 最划算那一档：金色丝带 + 整圈金边（与改前同一判据，只是从「三块同大小里挑一张」变成「定价表里抬高的一列」） */
.mb-p.rec { border-color: var(--gold); }
.mb-p.rec.on { box-shadow: 0 0 0 2px rgba(234, 185, 78, .18), 0 12px 26px rgba(194, 140, 32, .14); }
.mb-ribbon { position: absolute; left: 0; top: 0; padding: 5px 14px; border-radius: 16px 0 12px 0;
  font-size: 12px; font-weight: 700; color: #fff; background: #f59e0b; }
.mb-pn { margin-top: 12px; font-size: 14px; font-weight: 700; color: #334155; letter-spacing: .2px; }
.mb-pp { margin-top: 8px; font-size: 34px; font-weight: 800; color: #0b1226; letter-spacing: -1.2px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.mb-pp i { font-style: normal; font-size: 17px; font-weight: 700; margin-right: 2px; vertical-align: 3px; }
.mb-pd { margin-top: 6px; font-size: 13px; color: var(--text-2); }
.mb-pavg { margin-top: 2px; font-size: 12.5px; color: #94a3b8; font-variant-numeric: tabular-nums; }
/* 列底那颗「已选择 / 选这档」：细描边回执 → 选中＝实心蓝底白字。
   圆角 10px、内距 11px，与结算区主按钮同一个圆角家族；选中靠填色区分，不做第二颗阴影。 */
.mb-pick { display: inline-flex; align-items: center; justify-content: center; margin-top: 20px; width: 100%;
  padding: 11px 0; border-radius: 10px; border: 1.5px solid #e2e8f0; background: #fff;
  font-size: 14px; color: #64748b; transition: border-color .18s, color .18s, background .18s; }
.mb-p:hover .mb-pick { border-color: #bfdbfe; color: #2563eb; }
.mb-p.on .mb-pick { border-color: #2563eb; background: #2563eb; color: #fff; font-weight: 700; }
/* 权益清单：仍是那六条与那份 markup（只从套餐上面挪到套餐下面），窄窗口一列、桌面两列。
   一行一张自己的发丝边格子（不画行间隔线）—— 两列网格画 :last-child 那种线会留下「左边有线右边没有」的半截线，
   一列时又要另判倒数第二行，格子各自带边就没这些岔路。 */
.mb-rights { display: grid; grid-template-columns: 1fr; gap: 12px; }
.mb-r { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid #eef2f7; border-radius: 14px; padding: 16px 18px; }
.mb-ri { width: 22px; height: 22px; flex: none; color: var(--blue); margin-top: 1px; }
.mb-rc { flex: 1; min-width: 0; }
.mb-rt { font-size: 14.5px; font-weight: 700; color: #0b1226; }
.mb-rs { margin-top: 5px; font-size: 12.5px; line-height: 1.75; color: var(--text-2); }

.mb-check { background: #fff; border: 1px solid #eef2f7; border-radius: 18px; padding: 22px 24px; }
.mb-ck-t { font-size: 12px; font-weight: 700; letter-spacing: 1.4px; color: var(--text-2); }
.mb-ck-plan { margin-top: 8px; font-size: 15px; font-weight: 700; color: #0b1226; }
.mb-ck-price { margin-top: 6px; font-size: 38px; font-weight: 800; letter-spacing: -1.4px; line-height: 1.1;
  color: #0b1226; font-variant-numeric: tabular-nums; }
.mb-ck-price i { font-style: normal; font-size: 19px; font-weight: 700; margin-right: 2px; vertical-align: 4px; }
.mb-ck-line { margin-top: 6px; font-size: 12.5px; line-height: 1.7; color: var(--text-2); font-variant-numeric: tabular-nums; }
/* 整屏唯一的实心：金橙渐变底 + 深棕字，按下去整颗压暗（.mb-pay:active 用 opacity，不铺灰块） */
.mb-pay {
  display: block; width: 100%; margin-top: 18px; padding: 15px 18px; border: none; border-radius: 12px;
  font-size: 16px; font-weight: 800; letter-spacing: .3px; color: #7c2d12;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 8px 20px rgba(245, 158, 11, .35); transition: filter .18s, box-shadow .18s, opacity .12s;
}
.mb-pay:hover { filter: brightness(1.04); box-shadow: 0 12px 26px rgba(245, 158, 11, .42); }
.mb-pay:active { opacity: .84; box-shadow: 0 6px 16px rgba(245, 158, 11, .28); }
.mb-tip { margin-top: 12px; font-size: 12px; line-height: 1.8; color: #94a3b8; }

.mb-qr { margin-top: 18px; padding-top: 18px; border-top: 1px solid #f1f5f9; text-align: center; }
.mb-qr-img { width: 168px; height: 168px; margin: 0 auto; border-radius: 12px; background: #f8fafc; }
.mb-qr-tip { margin-top: 12px; font-size: 12px; line-height: 1.8; color: var(--text-2); text-align: left; }
/* 「我已开通」回执：与列底那颗同一圆角（10px），同一屏不做两套圆角；仍是白底细边，不抢实心的位置 */
.mb-done { display: block; width: 100%; margin-top: 14px; padding: 11px 16px; border-radius: 10px;
  border: 1px solid var(--blue-border); background: #fff; color: var(--blue); font-size: 14px; font-weight: 600;
  transition: border-color .18s, background .18s, opacity .12s; }
.mb-done:hover { border-color: var(--blue); background: var(--blue-light); }
.mb-done:active { opacity: .74; }
.mb-foot { margin-top: 8px; padding-top: 20px; border-top: 1px solid #eef2f7; font-size: 13px; color: var(--text-2); }
.mb-foot a { color: var(--blue); }
/* 窄窗口（<1024px）这一档：只补左右留白与更紧的内距，排法仍由上面那几条单列规则给 */
.m-member { padding: 0 12px; }
.m-member .mb-title { font-size: 24px; }
.m-member .mb-panel, .m-member .mb-check { padding: 18px 16px; }
.m-member .mb-state { min-width: 0; width: 100%; }
/* 窄窗是单列竖排，选中态的 3px 上浮会顶到上一张卡，这一档取消位移，只留描边与阴影 */
.m-member .mb-p.on, .m-member .mb-p.rec.on { transform: none; }
@media (min-width: 1024px) {
  /* 两栏轨道 + 并排定价表 + 权益两列 + 结算面板粘住：这四条是「PC 网页习惯」的全部差别，
     全部关在这一个媒体查询里，窄窗口那一档自然退回上下的竖排 */
  .mb-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
  /* 页头右侧那张状态卡（还不是会员 / 会员有效期至）的左边线，必须跟下面结算面板的左边线落在同一条竖线上：
     直接沿用 .mb-grid 那两条轨道（1fr + 340px + 28px 缝），不再用 flex 靠右推（靠右推会因为卡宽不等于轨道宽而缩进几十像素） */
  .mb-head { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 0 28px; align-items: end; }
  .mb-state { min-width: 0; }
  .mb-check { position: sticky; top: 96px; }   /* 72px 导航 + 24px 缝，滚动时这一栏一直看得见（结算区的常规做法） */
  .mb-plans { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
  .mb-p { padding: 24px 22px 22px; text-align: center; }
  /* 推荐档抬高 10px：只有多档并排时才会挂丝带（单档时 app.js 那条 length > 1 的判据不给 rec），
     所以这里不需要防「孤零零一张顶出一块」那种情况 */
  .mb-p.rec { transform: translateY(-10px); box-shadow: 0 16px 34px rgba(194, 140, 32, .14); }
  /* 推荐档本来就抬了 10px，再叠选中的 3px，两个上浮不互相顶掉 */
  .mb-p.rec.on { transform: translateY(-13px); box-shadow: 0 10px 26px rgba(245, 158, 11, .22); }
  .mb-rights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.pc-line { display: inline-flex; align-items: center; gap: 0; line-height: 1.2; }
/* 临时登录那颗要的输入区：token 很长且不包含空格，用 textarea 换行放得下、也看得见贴错了行 */
.pc-al-ta {
  width: 100%; box-sizing: border-box; margin-top: 12px; padding: 10px 12px;
  border: 1px solid #d1d5db; border-radius: 8px; font-size: 12.5px; line-height: 1.6; color: var(--text);
  background: #fff; resize: vertical; min-height: 88px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace; word-break: break-all;
}
.pc-al-ta:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.pc-al-note { margin-top: 12px; font-size: 12px; line-height: 1.8; color: var(--text-2); text-align: left; }

/* 页面容器与页头：PC 那一读法的「定宽版心 + 一句页面标题」，左右留白仍吃 .pc-main 那 40px 内距 */
.pm-page { max-width: 1180px; margin: 0 auto; }

.pm-page-m { padding: 0 12px; }
.pm-phead { display: flex; align-items: baseline; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid #eef2f7; }
.pm-phead h1 { font-size: 26px; font-weight: 800; letter-spacing: -.6px; color: #0b1226; }
/* 两栏轨道的壳：默认（窄窗）就是上下堆叠，桌面那条媒体查询里才切成左右两栏 */
.pm-cols { display: block; }
.pm-col-l { margin-top: 20px; }
.pm-col-r { margin-top: 28px; }
/* 细描边胶囊（曲线范围那颗 + 日历/设置弹窗里那两颗）：图标 15px 自带右距，这里只做 inline-flex 对齐 */
.pm-pill {
  display: inline-flex; align-items: center; gap: 0; cursor: pointer;
  padding: 8px 16px; border-radius: 999px; font-size: 13px; line-height: 1.2; white-space: nowrap;
  border: 1px solid #e2e8f0; background: #fff; color: var(--text-2); text-decoration: none;
  transition: border-color .18s, color .18s, background .18s, opacity .12s;
}
.pm-pill:hover { border-color: var(--blue-border); color: var(--blue); }
.pm-pill:active { opacity: .7; }
.pm-pill.on { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }
/* 自定义区间那颗：日期与「至」排一行，「至」两侧留点空隙 */
.pm-pill-range { white-space: normal; }
.pm-dash { font-style: normal; margin: 0 8px; color: var(--text-2); }
/* 这一页唯一那颗实心主按钮（身份卡里的会员入口 / 未登录那张扫码登录都用它） */
.pm-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 0; cursor: pointer;
  padding: 9px 22px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap;
  border: 1px solid var(--blue); background: var(--blue); color: #fff; transition: filter .18s, opacity .12s;
}
.pm-cta:hover { filter: brightness(1.06); }
.pm-cta:active { opacity: .82; }

.pm-id { background: #fff; border: 1px solid #eef2f7; border-radius: 16px; padding: 24px; }
.pm-ava-wrap { cursor: pointer; width: 60px; }
.pm-ava { border-radius: 50%; overflow: hidden; flex: none; background: var(--blue-light);
  display: flex; align-items: center; justify-content: center; color: var(--blue); }
.pm-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm-name { margin-top: 14px; font-size: 19px; font-weight: 800; color: #0b1226; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.pm-name-set { color: #94a3b8; cursor: pointer; display: inline-flex; }
.pm-name-set:active { opacity: .6; }
.pm-sub { font-size: 13px; color: var(--text-2); margin-top: 8px; }
.pm-mem { font-size: 13px; color: var(--text-2); margin-top: 4px; }
/* 「会员」这枚小药丸：底色与文字色跟课程列表/首页那枚金色「推荐」标（.pc-rec / .rc-tag）同一支——
   2026-11-05 站主：「会员的标签颜色也亮一些，跟推荐的那个标签颜色一致，底色一致」。
   原来是 --gold(#eab94e) 底 + --gold-ink(#6b4a05) 深棕字，压在浅灰行里发闷；
   统一成 #f59e0b 底 + 白字，同一屏里两种金色不再是两个色号。 */
.pm-vip-chip { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; line-height: 1.4;
  letter-spacing: .3px; color: #fff; background: #f59e0b; border-radius: 5px; padding: 1px 7px; margin-right: 4px; }
.pm-id .pm-cta { width: 100%; margin-top: 16px; }   /* 通栏：卡片右下不留半个人的空 */

.pm-stats { margin-top: 14px; background: #fff; border: 1px solid #eef2f7; border-radius: 16px; overflow: hidden; }
.pm-stat { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px; border-bottom: 1px solid #f1f5f9; font-size: 13px; color: var(--text-2); }
.pm-stat:last-child { border-bottom: none; }
.pm-stat b { font-size: 15.5px; font-weight: 800; color: #0b1226; font-variant-numeric: tabular-nums;
  min-width: 104px; text-align: right; }   /* v1.22.44：数值列定宽右对齐，三行的数字/单位各成一条竖线 */

/* 观看记录小卡（v1.22.44 站主：「左侧封面右侧名字和进度条，跟小程序一样」）：
   横向小卡替代原来的竖版 .pc-card——封面 96×54 在左，右边章节名 / 课程名 / 进度条 / 已看百分比，
   行末一枚 ›。小程序 pages/watch 的 watch-card 就是这个读法，PC 只是把字号按桌面放大一档。 */
.pm-watch {
  padding: 12px; cursor: pointer;
  background: #fff; border: 1px solid #eef2f7; border-radius: 14px;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.pm-watch:hover { border-color: var(--blue-border); box-shadow: 0 10px 24px rgba(15, 23, 42, .08); transform: translateY(-2px); }
/* 上半：封面与三行文字并排，文字块 stretch 到封面高度（54px），三行 space-between 均分 —— 
   这样三行文字的顶底正好压住封面的上下边，不会像居中排的那样下面空一截 */
.pw-top { display: flex; align-items: stretch; gap: 14px; }
.pw-cv { flex: none; width: 96px; height: 54px; border-radius: 9px; overflow: hidden; background: #eef2f7; }
.pw-cv img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pw-bd { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.pw-t { font-size: 14px; font-weight: 700; color: #0f172a; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pw-s { font-size: 12px; color: #94a3b8; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 进度条落到卡片最底、横跨整卡（封面那一段也算在内），不再夹在文字中间把三行断开。
   左右各借 6px（卡片 padding 是 12px，所以离白底边还剩 6px）—— 站主要「再宽一点、但别顶到边」 */
.pw-bar { margin: 10px -6px 0; height: 4px; border-radius: 999px; background: #eef2f7; overflow: hidden; }
.pw-bar i { display: block; height: 100%; border-radius: 999px; background: var(--blue); }
.pw-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 11.5px; color: #a4aebe; font-variant-numeric: tabular-nums; line-height: 1.2; }
.pw-go { flex: none; align-self: center; font-size: 20px; color: #cbd5e1; line-height: 1; padding-right: 2px; }

/* 快捷入口清单（小程序那一横排四张小卡在 PC 的对应物）：一行一项、发丝线分隔，
   按下去整行压暗（opacity），不铺新灰底；行末那颗 › 与三项「滚到右栏那一格」的动作都在 app.js
   的 mineQuickRow / mineJump 里，收藏与分销走的是现成路由/弹窗，没有新动作 */
.pm-links { margin-top: 14px; background: #fff; border: 1px solid #eef2f7; border-radius: 16px; overflow: hidden; }
.pm-link { display: flex; align-items: center; gap: 0; width: 100%; padding: 14px 20px; text-align: left;
  background: none; border: none; border-bottom: 1px solid #f1f5f9; cursor: pointer;
  font-size: 13.5px; color: var(--text); text-decoration: none; transition: color .18s, opacity .12s; }
.pm-link:last-child { border-bottom: none; }
.pm-link:hover { color: var(--blue); }
.pm-link:active { opacity: .7; }
.pm-link span { flex: 1; min-width: 0; }

/* 右栏那四格面板：格与格之间靠间距分开（PC 分区不画分割线），标题在格内左上、右侧留给条数或出口链接 */
.pm-panel { background: #fff; border: 1px solid #eef2f7; border-radius: 16px; padding: 22px 24px; }
.pm-panel + .pm-panel { margin-top: 18px; }
.pm-panel-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.pm-panel-h h2 { font-size: 16px; font-weight: 800; color: #0b1226; letter-spacing: -.2px; }
/* 学习成就（2026-11-09 晚）：右栏「已购视频」上面那一格。
   左边两颗数（纪念卡 / 打卡奖励，都按「已得/总档」），下面一条到下一档的进度条，
   再下面一排纪念卡胶囊（点亮＝实心蓝，未点亮＝灰边）。
   进度条与小程序「我的」那张 .ac-prog 同一读法：2px 高、圆角、两端留白由外层 padding 给。 */
.pm-ach-top { display: flex; align-items: flex-end; gap: 36px; flex-wrap: wrap; }
.pm-ach-cell { display: flex; flex-direction: column; }
.pm-ach-cell b { font-size: 24px; font-weight: 800; color: #0b1226; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pm-ach-cell b span { font-size: 13px; font-weight: 500; color: #94a3b8; }
.pm-ach-cell label { margin-top: 4px; font-size: 12.5px; color: #64748b; }
.pm-ach-bar { margin-top: 16px; height: 6px; border-radius: 999px; background: #eef2f7; overflow: hidden; }
.pm-ach-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #60a5fa, #2563eb); }
.pm-ach-tip { margin-top: 10px; font-size: 12.5px; color: #64748b; }
.pm-ach-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pm-ach-chip {
  font-size: 12px; line-height: 1; padding: 5px 12px 5px 7px; border-radius: 999px;
  border: 1px solid #e2e8f0; color: #94a3b8; background: #fff;
  display: inline-flex; align-items: center; gap: 6px;
}
.pm-ach-chip.on { border-color: transparent; background: #eff6ff; color: #2563eb; font-weight: 700; }
/* 徽章小图（2026-11-09）：点亮正常色，没点亮整枚压灰 */
.pm-ach-chip-ic { width: 20px; height: 20px; object-fit: contain; flex: none; }
.pm-ach-chip:not(.on) .pm-ach-chip-ic { filter: grayscale(1); opacity: .45; }

/* 卡网格：窄窗一列（卡仍是 .m-card），桌面两列（卡是 .pc-card）。
   为什么不用 .pc-grid：那条是一行四张（列表页那一档），而右栏只有约 700px，四张会把卡压到 160px 宽。 */
.pm-cards { display: grid; grid-template-columns: 1fr; gap: 12px; }

/* 学习曲线（手绘柱状，无库无 canvas）：坐标轴恒画，空区间只在中部补一句，不把图撤掉 */
.pm-chart { margin-top: 20px; }
.pm-rng { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.pm-sum { font-size: 13px; color: var(--text-2); margin-bottom: 10px; }
/* 学习曲线：与小程序「我的」那张同一套画法（折线 + 圆点 + 五档网格 + 合计），不是柱状图。
   绘图区上留 18px 给点上方数值小字、左留 58px 给 Y 轴刻度；曲线/圆点走的都是百分比坐标，
   容器怎么拉宽都不会与网格错位。 */
.pm-plot { position: relative; height: 190px; padding: 18px 0 0 58px; }
.pm-fig { position: relative; height: 172px; border-left: 1px solid #eef2f7; border-bottom: 1px solid #e2e8f0; }
.pm-gl { position: absolute; left: 0; right: 0; border-top: 1px dashed #eef1f6; }
.pm-tk { position: absolute; right: calc(100% + 12px); transform: translateY(-50%);
  font-size: 11px; color: #a4aebe; line-height: 1; white-space: nowrap; }
/* 折线用 SVG 而不是 div 拼线段：preserveAspectRatio="none" 让 100×100 的坐标系直接对应百分比，
   非等比拉伸时只有 non-scaling-stroke 能保住线粗（否则横向一拉，线细得像发丝）。 */
.pm-curve { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pm-curve polyline { fill: none; stroke: var(--blue); stroke-width: 2.5;
  stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pm-dot { position: absolute; width: 9px; height: 9px; box-sizing: border-box; border-radius: 50%;
  background: #fff; border: 2px solid var(--blue); transform: translate(-50%, -50%); }
.pm-dot-0 { border-color: #cdd6e4; }
.pm-vl { position: absolute; transform: translate(-50%, -100%); margin-top: -7px;
  font-size: 11px; color: #64748b; line-height: 1; white-space: nowrap; }
.pm-empty, .pm-plot-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--text-2); pointer-events: none; }
.pm-plot-empty { position: static; padding: 40px 0; }
/* 日期标签按「自己那个点的 x%」绝对定位：抽稀后每个标签宽度自由，不会像 flex 均分那样
   被压成 1/n 格再裁字（30 天时一格只有 19px，写不下「10-31」） */
.pm-xrow { position: relative; height: 28px; margin-left: 58px; }
.pm-xl { position: absolute; top: 12px; transform: translateX(-50%); font-size: 10px; color: #a4aebe; white-space: nowrap; }

/* 面板里的两块内容各自退回「无壳」：外层 .pm-panel 已经是一张白卡 + 发丝边，
   笔记列表（.pm-notes）与曲线（.pm-chart）改前各自也带一层白卡/上边距，套进来就成卡里有卡。
   只在这两格是面板内容时收掉，别处（窄窗那一档同样走这条，两处同一读法）不动它们的长相。 */
.pm-panel .pm-chart { margin-top: 0; }
.pm-panel .pm-notes { border: none; border-radius: 0; }
/* 笔记条目 hover 的蓝底（v1.22.61 站主：「蓝色的颜色左右再宽一点，但是不要顶到左右白色区域边界」）：
   面板内这一行原来是贴着面板内容区（左右各留 24px 面板内距），
   现在用负外距把蓝底往左右各抻 12px——比原来宽一截，离白卡边缘还剩 12px，不顶边。
   内距同步补回 12px，文字的横向位置一格都不挪；蓝底加 8px 圆角，悬停看着是一块圆角高亮而不是一条色带。 */
.pm-panel .pm-notes .pm-note {
  padding-left: 0; padding-right: 0;
  margin-left: -12px; margin-right: -12px; padding-left: 12px; padding-right: 12px;
  border-radius: 8px;
}

/* 桌面那一档才成立的两条：左右两栏轨道 + 卡网格两列。
   窄窗（<1024px）落到上面那两条默认值（.pm-cols 是 block、.pm-cards 是一列），
   所以「我的」在手机上就是身份卡 → 三格 → 清单 → 四格面板 一路竖排，不用另写一套 markup。 */
@media (min-width: 1024px) {
  .pm-phead { padding-bottom: 22px; }
  .pm-phead h1 { font-size: 30px; }
  .pm-cols { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 28px; margin-top: 26px; }
  .pm-col-l, .pm-col-r { margin-top: 0; }
  /* 左栏（2026-11-10 站主口径定稿）：整栏不固定，跟页面正常滚；
     只把「我的收藏 → 联系客服」那块圆角清单（.pm-links）做成浮动——
     它一碰到顶栏（top:96，顶栏下面一点）就钉住不再滚。
     sticky 的工作范围是父级盒子的高度，所以 .pm-cols 去掉 align-items:start，
     让左栏列被拉伸到与右栏同高（行高），清单块就有整页的钉住空间。 */
  .pm-links { position: sticky; top: 96px; }
  .pm-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  /* 已购视频一行三个（v1.22.61 站主）：只动「已购视频」面板那一格（.pm-cards-buy），
     「观看记录」的卡（pm-cards-watch）带进度条文字多，仍保持一行两个。 */
  .pm-cards.pm-cards-buy { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}

/* 进度条（已购视频 / 观看记录卡里那一根）：细、蓝、圆角，贴在卡片文字下面 */
.pm-prog { margin-top: 10px; height: 4px; border-radius: 999px; background: #eef2f7; overflow: hidden; }
.pm-prog > i { display: block; height: 100%; border-radius: 999px; background: var(--blue); }
.pm-prog-m { margin-top: 8px; }
.pm-pcnum { font-size: 12px; color: var(--text-2); flex: none; }
.pm-cnt { font-size: 13px; font-weight: 400; color: var(--text-2); margin-left: 6px; }
.pm-more { font-size: 13px; color: var(--text-2); text-decoration: none; }
/* 只有真是链接的「更多」才变色；span 那颗是纯说明文字，之前 hover 变蓝像个能点的东西 */
a.pm-more:hover { color: var(--blue); }
.pm-go { color: var(--blue); text-decoration: none; }

/* 我的笔记：发丝线列表行（不是第四种封面卡），整行可点、按下去压暗 */
.pm-notes { background: #fff; border: 1px solid #eef2f7; border-radius: 14px; overflow: hidden; }
/* v1.22.57：标签并到正文行首、时间挂行末 → 少一行，行高同步收矮（16 → 11px，正文 1.7 → 1.55） */
/* 我的订单（2026-11-09 晚）：行骨架直接复用 .pm-note 那套发丝线列表，只补右端金额、状态与单号。
   面板内最高 400px 纵向滚动——订单会越攒越多，不能把下面的「我的视频」顶到好几屏之外。 */
.pm-orders { max-height: 400px; overflow-y: auto; overflow-x: hidden; }
.pm-panel .pm-orders .pm-note { padding-left: 0; padding-right: 0; margin-left: -12px; margin-right: -12px;
  padding-left: 12px; padding-right: 12px; border-radius: 8px; }
.pm-ord-amt { flex: none; font-size: 13.5px; font-weight: 800; color: #0b1226; font-variant-numeric: tabular-nums; }
.pm-ord-no { color: #b6c0cf; font-family: ui-monospace, Consolas, monospace; font-size: 11.5px; }
.pm-ord-st { font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 999px; }
.pm-ord-st-0 { color: #b45309; background: #fef3c7; }
.pm-ord-st-1 { color: #1d4ed8; background: #e0ecff; }
.pm-ord-st-2, .pm-ord-st-3 { color: #64748b; background: #f1f5f9; }
.pm-ord-more { padding: 10px 0 2px; text-align: center; font-size: 12px; color: #a4aebe; }
.pm-stat-n { font: inherit; }

.pm-note { padding: 11px 20px; border-bottom: 1px solid #f1f5f9; cursor: pointer; transition: opacity .12s; }
.pm-note:last-child { border-bottom: none; }
.pm-note:hover { background: var(--blue-light); }
.pm-note:active { opacity: .7; }
/* 一行里：标签 / 新回复 / 正文 / 时间。按字脚对齐，标签那圈背景才不会把正文第一行顶歪 */
.pm-note-line { display: flex; align-items: baseline; gap: 8px; }
.pm-note-kind { flex: none; font-size: 11px; font-weight: 600; color: var(--blue); background: var(--blue-light);
  border: 1px solid var(--blue-border); border-radius: 5px; padding: 1px 7px; }
.pm-note-new { flex: none; font-size: 11px; color: var(--danger); }
.pm-note-when { flex: none; margin-left: auto; font-size: 12px; color: #a4aebe; }
.pm-note-txt { flex: 1; min-width: 0; font-size: 14px; line-height: 1.55; color: var(--text); word-break: break-word; }
.pm-note-clean { color: #a4aebe; font-style: italic; }
.pm-note-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; margin-top: 5px; font-size: 12px; color: var(--text-2); }
.pm-note-ts { color: #94a3b8; }

/* 我的反馈（2026-11-10）：站方回复浅蓝块——与小程序「我的反馈」同一观感，多条回复各一块 */
.pm-fb { cursor: default; }
.pm-fb:hover { background: #fff; }
.pm-fb-reply { margin-top: 8px; background: #eff6ff; border: 1px solid var(--blue-border); border-radius: 8px;
  padding: 8px 12px; font-size: 13px; line-height: 1.6; color: #1e3a8a; word-break: break-word; }
.pm-fb-reply-t { font-size: 12px; font-weight: 600; color: var(--blue); margin-right: 8px; }
.pm-fb-reply-when { float: right; font-size: 12px; color: #93b4d8; }
.pm-fb-reply-c { margin-top: 4px; white-space: pre-wrap; }

/* 我的笔记那颗未读角标（note.php action=unread 的 new_reply）：小号实心，0 时整颗不渲染。
   v1.22.79 站主：「未读提示的红底白字，让字在圆的中心，别偏移。」
   这行的字体度量是 ascent 12 / descent 3，与数字 ink（8+0）不对称——flex 居中排出来是
   上 6px、下 4px，字整体往下沉 1px（DPR=1 的屏上肉眼能看出来）。底部留 1px 内距，把内容区
   中心上提 0.5px（= 两组度量的差），水平方向 padding 不变、胶囊宽度照旧。 */
.pm-badge { display: inline-flex; align-items: center; justify-content: center; vertical-align: middle;
  min-width: 18px; height: 18px; padding: 0 5px 1px; margin-left: 8px; border-radius: 9px;
  background: var(--danger); color: #fff; font-size: 11px; font-weight: 700; line-height: 1; }

/* 我的笔记那排筛选（v1.22.78 站主：「我的笔记列表…加个收藏」，配套给底条「我的答疑」一个落点）：
   全部 / 笔记 / 答疑，26px 小胶囊，选中＝淡蓝底 + 蓝字 + 蓝边（不用实心蓝，标题行上别抢眼）。 */
.pm-fchips { display: inline-flex; align-items: center; gap: 6px; align-self: center; }
.pm-fchip {
  height: 26px; padding: 0 10px; border-radius: 7px; cursor: pointer;
  font-size: 12px; line-height: 1; color: var(--text-2);
  background: #f6f8fc; border: 1px solid transparent;
  transition: color .15s, background .15s, border-color .15s;
}
.pm-fchip:hover { color: var(--blue); background: var(--blue-light); }
.pm-fchip.on { color: var(--blue); background: var(--blue-light); border-color: var(--blue-border); font-weight: 600; }

/* 笔记行末的收藏星（「我的笔记」与播放页笔记列表共用同一个按钮口径）：
   空心灰 → 实心金。22px 的点击热区，图标 17px；负外边距把它压回行高里，不撑高列表行。 */
.pm-note-fav, .pp-note-fav {
  flex: none; width: 22px; height: 22px; border: none; border-radius: 6px; background: transparent;
  color: #c3cbd8; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: color .15s, background .15s;
}
/* v1.22.78：星从行末挪到「笔记」标签紧右侧（与播放页笔记列表 .pp-note-top 的排法一致），
   左右各吃 3px 负边距：8px 的 flex gap 收成 5px，22px 盒里图标再内缩约 3px，视觉间距落在 8px。 */
.pm-note-fav { margin: -3px; align-self: center; }
.pp-note-fav { margin: -2px -3px; }
.pm-note-fav:hover, .pp-note-fav:hover { color: #f59e0b; background: #fffbeb; }
.pm-note-fav.on, .pp-note-fav.on { color: #f59e0b; }
.pm-note-fav:disabled, .pp-note-fav:disabled { opacity: .55; cursor: default; }
/* 播放页笔记行原来只有标签一颗，星要跟标签同行 → 给这行补一个 flex 容器。
   v1.22.78：星原来被 margin-left:auto 推到行末，与「我的笔记」两处排法不一致；
   现在两个列表都是「标签紧右侧」，星的位置不再靠对齐规则兜，直接跟在标签后面。 */
.pp-note-top { display: flex; align-items: center; gap: 8px; }

/* 未登录卡（复刻小程序那张）：居中一段话 + 一颗实心扫码登录 */
.pm-logout { max-width: 420px; margin: 40px auto; padding: 56px 32px; text-align: center;
  background: #fff; border: 1px solid #eef2f7; border-radius: 16px; }
.pm-logout-t { font-size: 20px; font-weight: 800; color: #0b1226; }
.pm-logout-s { font-size: 13px; color: var(--text-2); margin-top: 12px; }
.pm-logout-btn { margin-top: 28px; }

/* 自绘日历（openCal 的 PC 版，替掉原生 date / cal-picker 组件）：纯 div 网格 + ‹ › 翻月。
   .pm-cal 这一层限宽居中：弹窗本体是 400px 宽，不限的话七列会被拉成七块长条，读起来不像一张日历。 */
.pm-cal { max-width: 320px; margin: 0 auto; }
.pm-cal-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.pm-cal-top b { font-size: 15px; color: var(--text); }
.pm-cal-nav { border: 1px solid #e2e8f0; background: #fff; color: var(--text-2); border-radius: 8px;
  width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.pm-cal-nav:hover { border-color: var(--blue-border); color: var(--blue); }
.pm-cal-nav:active { opacity: .7; }
.pm-cal-sub { font-size: 12px; color: var(--text-2); margin: 4px 0 10px; text-align: left; }
.pm-cal-wkrow, .pm-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.pm-cal-wk { text-align: center; font-size: 11px; color: #a4aebe; padding: 4px 0; }
.pm-cal-b { height: 34px; border: none; background: transparent; border-radius: 8px; cursor: pointer;
  font-size: 13px; color: var(--text); display: flex; align-items: center; justify-content: center; transition: background .15s, opacity .12s; }
.pm-cal-b:hover:not(:disabled):not(.pm-cal-on) { background: var(--blue-light); }
.pm-cal-b:active:not(:disabled) { opacity: .7; }
.pm-cal-b.pm-cal-blank { visibility: hidden; }
.pm-cal-b.pm-cal-dis { color: #cbd5e1; cursor: default; }
.pm-cal-b.pm-cal-in { background: var(--blue-light); color: var(--blue); }
.pm-cal-b.pm-cal-on { background: var(--blue); color: #fff; font-weight: 600; }

/* 账号设置弹窗：只读身份区 + 两个自绘输入（复用 .pc-al-in），不新造控件 */
.pm-set { text-align: left; }
.pm-set-id { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid #eef2f7; }
.pm-set-idc { min-width: 0; }
.pm-set-nick { font-size: 16px; font-weight: 700; color: var(--text); }
.pm-set-sub { font-size: 12px; color: var(--text-2); margin-top: 4px; }
.pm-set-hint { font-size: 12px; line-height: 1.7; color: #94a3b8; margin-top: 12px; }
/* 显示设置那一行（v1.22.67）：左标题+说明、右开关，中间一条淡分隔线收口 */
.pm-set-row {
  display: flex; align-items: center; gap: 16px; margin-top: 14px;
  padding: 12px 13px; border: 1px solid #eef2f7; border-radius: 10px; background: #fbfcfe;
}
.pm-set-row-t { flex: 1; min-width: 0; }
.pm-set-row-t b { display: block; font-size: 13.5px; font-weight: 600; color: var(--text); }
.pm-set-row-t small { display: block; margin-top: 3px; font-size: 11.5px; line-height: 1.5; color: #94a3b8; }
/* 自绘开关（46×26，滑到右边＝开）：36px 档位里最省事的那种，不引第三方控件 */
.pm-switch {
  flex: none; position: relative; width: 46px; height: 26px; padding: 0;
  border: none; border-radius: 999px; background: #dfe6ef; cursor: pointer;
  transition: background .18s;
}
.pm-switch i {
  position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(15, 23, 42, .22); transition: left .18s;
}
.pm-switch.on { background: var(--blue); }
.pm-switch.on i { left: 23px; }
.pm-switch:disabled { opacity: .6; cursor: default; }
.pm-set-field { margin-top: 14px; }
.pm-set-field label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 2px; }

/* ---------- 推广中心页（从弹窗改成独立页面） ----------
   左栏＝推广收益 + 收益明细，右栏＝专属推广身份（二维码 + 专属链接），
   桌面端右栏跟随滚动（与会员页结算栏同一档 sticky），窄窗按 DOM 顺序竖着堆。 */
.pc-dist { max-width: 1180px; margin: 0 auto; }
.dc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; }
.dc-head-l { flex: 1 1 320px; min-width: 0; }
.dc-title { margin-top: 0; font-size: 30px; font-weight: 800; letter-spacing: -.7px; line-height: 1.22; color: #0b1226; }
.dc-sub { margin-top: 10px; font-size: 13.5px; line-height: 1.75; color: var(--text-2); max-width: 34em; }
.dc-grid { margin-top: 26px; }
.dc-main { min-width: 0; }
.dc-panel { background: #fff; border: 1px solid #eef2f7; border-radius: 18px; padding: 26px 28px; margin-bottom: 20px; }
.dc-panel:last-child { margin-bottom: 0; }
.dc-ph { display: flex; align-items: baseline; gap: 12px; font-size: 17px; font-weight: 800; color: #0b1226; letter-spacing: -.2px; margin-bottom: 18px; }
.dc-phs { font-size: 12px; font-weight: 400; color: #94a3b8; }
.dc-stats { display: flex; gap: 12px; }
.dc-st { flex: 1; background: #f8fafc; border-radius: 12px; padding: 16px 18px; }
.dc-st b { display: block; font-size: 24px; font-weight: 800; line-height: 1.2; color: #0b1226; }
.dc-st span { display: block; margin-top: 6px; font-size: 12px; color: var(--text-2); }
.dc-st.ok b { color: var(--ok); }
.dc-st.blue b { color: var(--blue); }
.dc-act { margin-top: 16px; display: flex; }
.dc-act .pc-btn { flex: 1; }
/* 提现规则：桌面推广中心「推广收益」面板上方独立一块，文案全部由后台「分销设置 → 提现规则」下发。
   2026-11-12 站主定稿改横版：三步流程排一行（点＋连线），下面三块数字卡。 */
.dc-wdr { margin-top: 16px; background: #f8fafc; border: 1px solid #eef2f7; border-radius: 12px; padding: 14px 16px; }
.dc-wdr-h { font-size: 13px; font-weight: 800; color: #0b1226; }
.dc-wdr-sub { margin-top: 4px; font-size: 12px; color: #94a3b8; }
.dc-steps { display: flex; position: relative; margin-top: 16px; }
/* 一条通长的细线垫在圆点后面：实心蓝点直接盖住，末点白底也盖住（2026-11-12 站主：进度左右居中） */
.dc-steps::before { content: ''; position: absolute; top: 8px; left: 8px; right: 8px; height: 1px; background: #dbe4ef; }
/* 左格文字靠左、中间居中、右格靠右（站主口径），圆点跟着各自的文字边对齐 */
.dc-step { flex: 1; position: relative; z-index: 1; min-width: 0; }
.dc-step:nth-child(1) { text-align: left; padding-right: 18px; }
.dc-step:nth-child(2) { text-align: center; padding: 0 10px; }
.dc-step:nth-child(3) { text-align: right; padding-left: 18px; }
.dc-step-dot { width: 16px; height: 16px; border-radius: 50%; background: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); margin-right: auto; }
.dc-step:nth-child(2) .dc-step-dot { margin: 0 auto; }
.dc-step:nth-child(3) .dc-step-dot { margin-left: auto; margin-right: 0; }
.dc-step-t { margin-top: 8px; font-size: 12.5px; font-weight: 700; color: #0b1226; }
.dc-step-d { margin-top: 3px; font-size: 11.5px; line-height: 1.65; color: #64748b; }
.dc-wstats { display: flex; gap: 10px; margin-top: 14px; }
.dc-wstat { flex: 1; min-width: 0; background: #fff; border: 1px solid #eef2f7; border-radius: 10px; padding: 10px 12px; text-align: center; }
.dc-wstat b { display: block; font-size: 15px; font-weight: 800; color: #2563eb; }
.dc-wstat span { display: block; margin-top: 3px; font-size: 11.5px; color: #94a3b8; }
/* 补充说明圆点列表（2026-11-18 站主定，与小程序 .wd-pts 同口径）：虚线隔开、蓝点逐条列 */
.dc-wpts { margin-top: 14px; border-top: 1px dashed #e2e8f0; padding-top: 10px; }
.dc-wpt { position: relative; padding-left: 16px; margin-top: 6px; font-size: 11.5px; line-height: 1.7; color: #64748b; }
.dc-wpt::before { content: ''; position: absolute; left: 3px; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: #2563eb; }
.dc-logs { max-height: 420px; overflow: auto; }
.dc-log { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f1f5f9; font-size: 13px; color: var(--text-2); }
.dc-log:last-child { border-bottom: none; }
.dc-log b { font-weight: 700; white-space: nowrap; }
.dc-id { text-align: center; }
.dc-qr { width: 170px; height: 170px; margin: 0 auto; border-radius: 12px; background: #f8fafc; display: block; }
.dc-qr-tip { margin-top: 10px; font-size: 12px; color: var(--text-2); line-height: 1.7; }
.dc-link { margin-top: 14px; text-align: left; font-size: 12px; color: var(--text-2); background: #f8fafc; border-radius: 10px; padding: 12px 14px; word-break: break-all; line-height: 1.7; }
.dc-link b { color: var(--text); }
.dc-btns { display: flex; gap: 10px; margin-top: 14px; }
.dc-btns .pc-btn { flex: 1; }
@media (min-width:1024px) {
  .dc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 0 28px; align-items: start; }
  .dc-side { position: sticky; top: 96px; }   /* 72px 导航 + 24px 缝，与会员页结算栏同一档 */
}
@media (max-width:1023.5px) {
  .pc-dist { padding: 0 12px; }
  .dc-title { font-size: 24px; }
  .dc-panel { padding: 18px 16px; }
}

/* 可推广视频卡里那两处专属读数：左边橙字金额，右边灰字售价（与已购视频卡同一格位） */
.dc-earn { font-size: 15px; color: #b45309; font-weight: 800; }
.m-card .dc-earn { font-size: 14px; }
.dc-pp { font-size: 13px; color: #94a3b8; flex: none; }

/* ===== 拼团 / 邀请免费看两条（2026-11-09 晚 站主：「样式要跟预览图完全一致」）=====
   形状取自 gen-pdprev 的设计稿 .pd-extbar：一条浅底描边的横条（56 高、圆角 12），
   左侧「标签 + 主价 + 原价」，中间一句规则 / 进度，右侧一颗 40px 实心按钮。
   拼团用暖灰底 + 橙标签（与价格橙同一族），免费看用浅红底 + 红标签（提示这是「拉人」）。 */
.pd-extbar {
  flex: 1 1 100%;
  margin-top: 0;
  display: flex; align-items: center; gap: 14px;
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 10px 14px; min-height: 56px; box-sizing: border-box;
  cursor: pointer;
}
.pd-extbar + .pd-extbar { margin-top: 10px; }
.pd-extbar:active { transform: scale(0.998); }
.pd-extbar-quest { background: #fff7f7; border-color: #fecaca; }
.pe-l { display: flex; align-items: baseline; gap: 8px; flex: none; }
.pe-tag {
  display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px;
  background: #f59e0b; color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .3px;
}
.pe-tag-quest { background: #dc2626; }
.pe-price { font-size: 18px; font-weight: 800; color: #0b1226; line-height: 1; }
.pe-old { font-size: 12.5px; color: #94a3b8; line-height: 1; }
.pe-mid { flex: 1; min-width: 0; font-size: 12.5px; color: #64748b; line-height: 1.6; }
.pe-mid b { color: #0b1226; }
.pd-extbar-quest .pe-mid b { color: #b91c1c; }
.pe-btn { flex: none; height: 40px; border-radius: 10px; }

/* 出条时购买组挪进「学习服务 / 适合人群」右侧空档（2026-11-09 晚 站主划的红框）：
   借 .pc-buy-bar 这个类保住里面那一整套按钮样式。pd-svc 外框（大矩形）大小不变：
   有功能条时 .pd-svc 变一行 flex，左列两行服务信息原样不动，右列塞购买组，
   窄屏放不下时购买组换行落到下面，不硬挤。 */
.pd-svc.has-ext { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.pd-svc.has-ext .pd-svc-main { flex: 1 1 260px; min-width: 0; }
.pd-svc.has-ext .pd-buy-inline { margin-top: 0 !important; padding-top: 0; flex: none; margin-left: auto; }

/* 拼团 + 免费看同时开：两条功能条并排一排（各占一半）。一排放不下整套内容，
   并排时收起中间那句规则/进度说明（单开时的整条满宽样式不变，说明句还在），
   只留「标签 + 价 + 原价 + 按钮」。 */
.pd-ext-row { gap: 10px !important; }
.pd-ext-row .pd-extbar { flex: 1 1 0; min-width: 0; gap: 8px; padding: 10px 10px; }
.pd-ext-row .pd-extbar + .pd-extbar { margin-top: 0; }
.pd-ext-row .pe-mid { display: none; }
.pd-ext-row .pe-price { font-size: 15px; }
.pd-ext-row .pe-old { font-size: 11.5px; }
.pd-ext-row .pe-btn { padding-left: 12px; padding-right: 12px; font-size: 13px; }

/* 拼团弹窗里的团行（复用 showModal 容器） */
.gp-row {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid #e2e8f0; border-radius: 10px;
  padding: 10px 14px; margin-bottom: 8px; cursor: pointer;
}
.gp-row:hover { border-color: #f97316; background: #fff7ed; }
.gp-row-t { font-size: 14px; font-weight: 600; color: var(--text, #0f172a); }
.gp-row-p { font-size: 12px; color: #94a3b8; }
.gp-row-go { margin-left: auto; font-size: 12px; color: #ea580c; font-weight: 600; }

/* ===== 推广中心「邀请免费看」进度块（2026-11-09） ===== */
.dc-quest { margin-top: 4px; }
.dc-q-desc { font-size: 13px; color: var(--text-2, #64748b); line-height: 1.8; margin: 0 0 10px; }
.dc-q-row { display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.dc-q-row b { color: var(--blue, #2563eb); }
.dc-q-ok { font-style: normal; font-size: 12px; color: #16a34a; font-weight: 600; }
.dc-q-bar { height: 8px; background: #eef2f7; border-radius: 4px; overflow: hidden; margin-top: 10px; }
.dc-q-bar i { display: block; height: 100%; background: var(--blue, #2563eb); border-radius: 4px; }

/* ===== 播放器画面内字幕（.pp-sub 已被播放页标题行小字占用，这里用独立类名） ===== */
.pp-subline {
  position: absolute; left: 10%; right: 10%; bottom: 7%; z-index: 15;
  display: none; pointer-events: none; text-align: center;
  font-size: 22px; line-height: 1.5; font-weight: 600; color: #fff;
  white-space: pre-line; text-shadow: 0 1px 3px #000, 0 0 8px #000;
  background: rgba(0, 0, 0, .45); padding: 6px 12px; border-radius: 6px;
}
/* 无底板档（2026-11-17 站主定）：后台「字幕设置 → 字幕背景」关掉时挂上这个类，
   去掉黑底与内边距，只留白字＋原来那道轻阴影。默认不开，老站保持原样。 */
.pp-subline.sub-nobg { background: none; padding: 0; border-radius: 0; }
/* 位置（left / width / bottom）由 ppSubFit() 按画面实际矩形写进行内样式：
   全屏时画面留黑边，字幕仍贴在画面里，与窗口态同一处；这里只留首帧兜底与字号观感。 */
.m-play .pp-subline { font-size: 16px; }
.pp-shell:fullscreen .pp-subline { font-size: 30px; }
