/* Generated by tools/sync_admin_preview.py; do not edit. */
/* 知识详情页：视觉基准 demos（老板 2026-10-12 选定「方案 B · 精致插画风」）——
   柔和淡紫渐变底 + 大圆角柔光浮起白卡 + 插画紫 #695db3（与 coming-soon-page 同族）：
   文档头白卡 24.96px 圆角、正文 15.08px/行高 2.0、图注辅助 11.44px/600 灰紫 #7b8298；
   表格 ≤15 行保留表格形态（整页流 + 轻横滑）且 >15 行条目卡片化，长文分节折叠；
   内容截图（页图 / 块图片 / 后端整表图）一律零圆角、绝不裁边 + 真图注才显示；
   页图流（image 块 kind='page'）：保留方案 A 的零白边紧拼（去圆角、零间距、不加内边距/阴影），
   仅按「路线 C」在页与页之间加 1px 发丝线分隔；尾部视频卡 + 顶部阅读进度细线；
   底部只留悬浮「确认已读」；附件不渲染跳转卡（无「打开 / 下载」入口），PDF/DOCX 以页图流碎片块呈现 */
body { background: linear-gradient(165deg, #f7f5ff 0%, #fafbff 46%, #ffffff 100%); }
.page { padding: 16.64px 18.72px 124.8px; }

.state { font-size: 14.56px; color: #7b8298; padding: 62.4px 0; text-align: center; font-weight: 600; }
.state.error { color: #b91c1c; }

/* 已读横幅 */
.readbar { display: flex; align-items: center; justify-content: center; background: #e9f6ef; color: #2f855a; font-size: 12.48px; font-weight: 800; letter-spacing: 1.56px; border-radius: 12.48px; padding: 9.36px 14.56px; margin-bottom: 10.4px; }

/* 顶部阅读进度条（细线）：随内容滚动推进，固定贴顶不遮内容 */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3.12px; background: #efeafb; z-index: 9; }
.progress-bar { height: 100%; background: linear-gradient(90deg, #a99fe0, #695db3); }

/* 全屏正文：文档头为独立柔光白卡（方案 B 大圆角浮卡） */
.article { position: relative; }
.doc-head { position: relative; overflow: hidden; margin: 0 0 14.56px; padding: 20.8px 18.72px 16.64px; background: linear-gradient(180deg, #ffffff 0%, #fdfcff 55%, #faf8fe 100%); border: 1.04px solid #f0ecfb; border-radius: 24.96px; box-shadow: 0 2.08px 4.16px rgba(69, 49, 146, 0.05), 0 16.64px 49.92px rgba(69, 49, 146, 0.08); }
/* L1 · 文档大标题：21.84px / 650 / 行高 1.4 */
.doc-title { display: block; margin: 0 0 11.44px; padding-right: 31.2px; font-size: 21.84px; font-weight: 650; line-height: 1.4; letter-spacing: 0.208px; color: #172039; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 6.24px; align-items: center; }
/* L4 · 辅助信息：11.44px / 600 / 灰紫宽字距，不抢正文 */
.doc-meta-text { display: block; font-size: 11.44px; font-weight: 600; letter-spacing: 1.04px; color: #7b8298; margin-top: 9.36px; }
.chip { font-size: 10.4px; font-weight: 700; letter-spacing: 1.04px; padding: 4.16px 9.36px; border-radius: 519.48px; }
.chip-must { background: #efe9ff; color: #695db3; }
.chip-type { background: #f2f1f7; color: #7b8298; }
.chip-cat { background: #f2f1f7; color: #7b8298; }
.chip-read { background: #e9f6ef; color: #2f855a; }
.chip-unread { background: #f2f1f7; color: #7b8298; }
.chip-update { background: #fdeef1; color: #d0537a; }
.chip-reread { background: #fdeef1; color: #9f1239; }

/* 正文块：L3 · 正文 15.08px / 行高 2.0 / 两端对齐；短文档（块 ≤5）紧凑精致排版 */
.blk { margin-bottom: 16.64px; }
.blk:last-child { margin-bottom: 0; }
.blk-para { display: block; font-size: 15.08px; line-height: 2.0; color: #4a4a63; text-align: justify; }
.article.compact .blk { margin-bottom: 11.44px; }
.article.compact .sec { margin: 14.56px 0 8.32px; }
.article.compact .doc-head { margin-bottom: 12.48px; }

/* 图片：铺满内容区 + 零圆角（老板 2026-10-13：内容截图带圆角会裁缺边角内容，如「冷」字被切）；
   内容截图（页图 / 块图片 / 后端整表图）一律直角，绝不裁边；卡片 / 胶囊 / 徽章的 B 圆角不受影响；
   图注（仅数据里真有 caption 时）用 L4 辅助字级；image 块序列（PDF 页图流）连续下滑，不做卡片化 */
.blk-image { width: 100%; border-radius: 0; display: block; background: #f7f4ff; }
.blk-stream { margin-bottom: 4.16px; }
/* 页图流：方案 A（2026-10-06 老板拍板）零白边紧拼——页间零间距、去圆角，
   白边裁剪与跨页断图续接由服务端裁拼保证；图片本身不加内边距/圆角/阴影，内容不被裁也不出白边。
   路线 C（2026-10-12 老板拍板）在此之上加页间分隔：只在「下一块仍是页图」的接缝处画 1px 发丝线，
   让读者把接缝读成「这是下一页」而不是「排版错位」，同时不打断紧拼的连续阅读。
   取 1px 细线而非 1.04px 间距：1.04px≈1pt 的底色带与白色页面几乎同色（B 底 #fafbff 对 #fff 对比过低）看不出来；
   1px 是设备无关像素，2x/3x 屏各落 2/3 物理像素，既不会在高分屏消失也不会糊成粗边。
   末页（下一块不是页图）不带线，与表格 / 视频段之间保持原有块距语义。
   页图圆角已由 .blk-image 统一去掉（含末页 / 单页 / 整表图），此处不再单独覆盖。 */
/* 页图通栏（老板 2026-10-12；2026-10-13 扩到全部页图含末页/单页：v18 视频流内归位后两侧页图不再退回内缩）：
   页图本身几乎无白边，老板看到的左右白边来自 .page 的 18.72px 左右内边距。
   用负 margin 把整块外拓到屏宽：块宽 = 父内容宽 + 37.44px = 100% 屏宽，图与线一起通栏居中，
   不产生横向滚动；其他块（段落 / 表格 / 视频 / 普通图）仍在 .page 的 18.72px 留白里。
   折叠区（.fold-body 左右 15.6px）内若出现页图，用 -15.6px 单独抵消，避免外溢错位。 */
.blk-bleed, .article.compact .blk-bleed { margin-left: -18.72px; margin-right: -18.72px; }
.fold-body .blk-bleed { margin-left: -15.6px; margin-right: -15.6px; }
.blk-page-flow, .article.compact .blk-page-flow { margin-bottom: 0; }
.blk-page-flow { border-bottom: 1px solid #d9d0f6; }
/* 页图块通栏后，块内图注仍保持原有的 18.72px+4.16px 版心位置 */
.blk-bleed .img-caption { margin-left: 22.88px; margin-right: 22.88px; }
.img-caption { display: block; margin: 9.36px 4.16px 0; font-size: 11.44px; line-height: 1.85; color: #7b8298; }
.blk-image-ph { height: 176.8px; border-radius: 20.8px; background: linear-gradient(135deg, #f3f0ff 0%, #ece7fb 45%, #ddd5f8 100%); display: flex; align-items: center; justify-content: center; padding: 0 20.8px; }
.blk-image-ph-text { color: #695db3; font-size: 11.96px; font-weight: 700; letter-spacing: 1.56px; text-align: center; line-height: 1.7; }

/* 章节标题（不折叠时）：方框编号 + 标题 + 引线 + 段数标注 */
.sec { display: flex; align-items: center; gap: 9.36px; margin: 20.8px 0 11.44px; }
.sec-no { width: 21.84px; height: 21.84px; flex-shrink: 0; border: 1.56px solid #695db3; color: #695db3; font-size: 11.44px; font-weight: 800; border-radius: 6.24px; display: flex; align-items: center; justify-content: center; }
.sec-title { font-size: 17.16px; font-weight: 800; letter-spacing: 0.52px; color: #172039; line-height: 1.5; }
.sec-title.h1 { font-size: 18.72px; }
.sec-title.h2 { font-size: 17.16px; }
.sec-title.h3 { font-size: 15.6px; }
.sec-title.h4 { font-size: 14.56px; }
.sec-line { flex: 1; height: 1.04px; background: #efeaf8; }
.sec-cnt { flex-shrink: 0; font-size: 10.4px; font-weight: 700; letter-spacing: 1.56px; color: #a3a8bd; }

/* 长文分节折叠：点章节标题展开 / 收起，箭头动效 */
.fold { background: linear-gradient(180deg, #ffffff 0%, #fdfcff 55%, #faf8fe 100%); border: 1.04px solid #f0ecfb; border-radius: 20.8px; margin-bottom: 10.4px; overflow: hidden; box-shadow: 0 1.04px 2.08px rgba(69, 49, 146, 0.04), 0 10.4px 33.28px rgba(69, 49, 146, 0.06); }
.fold-head { display: flex; align-items: center; gap: 10.4px; padding: 13.52px 15.6px; }
.fold-hover { background: #faf8ff; }
.fold-no { width: 23.92px; height: 23.92px; flex-shrink: 0; border-radius: 7.28px; background: #f3f0ff; color: #695db3; font-size: 10.92px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.fold-title { flex: 1; min-width: 0; font-size: 15.08px; font-weight: 800; color: #172039; line-height: 1.5; }
.fold-cnt { flex-shrink: 0; font-size: 9.88px; font-weight: 800; letter-spacing: 1.04px; color: #a3a8bd; border: 1.04px solid #efeaf8; border-radius: 519.48px; padding: 3.12px 10.4px; }
.fold-arrow { flex-shrink: 0; width: 16.64px; height: 16.64px; position: relative; }
.fold-arrow::after { content: ""; position: absolute; left: 3.12px; top: 4.16px; width: 8.32px; height: 8.32px; border-right: 2.08px solid #b3aad8; border-bottom: 2.08px solid #b3aad8; transform: rotate(45deg); transition: transform 0.18s; }
.fold-arrow.on::after { transform: rotate(-135deg); top: 7.28px; }
.fold-body { padding: 2.08px 15.6px 13.52px; border-top: 1.04px solid #efeaf8; }

/* 表格 → 条目卡片（数据行 >15 自动卡片化）：一行 / 一列一张卡，短值进并排指标格，长值进大段提示 */
.entrywrap { padding: 0 0 4.16px; }
.entry { position: relative; overflow: hidden; background: linear-gradient(180deg, #ffffff 0%, #fdfcff 55%, #faf8fe 100%); border: 1.04px solid #f0ecfb; border-radius: 20.8px; padding: 13.52px 15.6px 13.52px 17.68px; margin-bottom: 10.4px; box-shadow: 0 1.04px 2.08px rgba(69, 49, 146, 0.04), 0 10.4px 33.28px rgba(69, 49, 146, 0.06); }
.entry::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4.16px; background: linear-gradient(180deg, #a99fe0, #695db3); }
.entry-top { display: flex; align-items: center; gap: 8.32px; margin-bottom: 9.36px; }
.entry-idx { width: 26px; height: 26px; flex-shrink: 0; border-radius: 8.32px; background: #f3f0ff; color: #695db3; font-size: 11.96px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.entry-name { flex: 1; min-width: 0; font-size: 16.12px; font-weight: 800; letter-spacing: 0.52px; color: #172039; line-height: 1.45; }
.metrics { display: flex; flex-wrap: wrap; gap: 7.28px; }
.metric { flex: 1 1 0; min-width: 88.4px; background: #f7f4ff; border-radius: 11.44px; padding: 7.28px 8.32px; text-align: center; }
.metric-label { display: block; font-size: 9.36px; font-weight: 700; letter-spacing: 1.56px; color: #a3a8bd; }
.metric-value { display: block; margin-top: 2.08px; font-size: 15.6px; font-weight: 800; color: #695db3; line-height: 1.25; }
.entry-tips { margin-top: 9.36px; }
.entry-tip { margin-top: 5.2px; }
.tip-label { display: block; font-size: 9.88px; font-weight: 800; letter-spacing: 1.56px; color: #a3a8bd; }
.tip-text { display: block; margin-top: 2.08px; font-size: 11.96px; line-height: 1.8; color: #7b8298; }

/* 页内表格：铺满屏宽，全部数据行随页面流整页下滑（无框内翻页）+ 列多轻横滑；
   表头 position: sticky 声明保留，但外层 scroll-x 是滚动容器，实际行为为随页滚（表头停在表格顶端），
   真吸顶需表头独立横滑条 + scroll-left 同步（双层横滑升级方案） */
.tbl-block { margin: 0; }
.tbl-title { display: flex; align-items: center; justify-content: space-between; gap: 6.24px; margin-bottom: 9.36px; }
.tbl-name { font-size: 14.04px; font-weight: 700; color: #172039; }
.tbl-tag { flex-shrink: 0; font-size: 9.88px; font-weight: 800; letter-spacing: 1.56px; background: #f3f0ff; color: #695db3; border-radius: 519.48px; padding: 4.16px 11.44px; }
.tbl-h { width: 100%; border: 1.04px solid #efeaf8; border-radius: 12.48px; background: #fff; overflow: hidden; }
.tbl-inner { display: flex; flex-direction: column; }
.tr { display: flex; }
.tr.th { position: sticky; top: 0; z-index: 2; }
.tr.th .td { background: #ece4fb; color: #695db3; font-weight: 800; letter-spacing: 1.04px; border-bottom: 2.08px solid #d9d0f6; }
/* 数据行斑马纹：表头占第 1 个子元素，数据行从第 2 个起隔行取色 */
.tbl-inner .tr:nth-child(even) .td { background: #f7f4ff; }
.td { flex: 1 0 104px; min-width: 104px; padding: 9.36px 12.48px; border-right: 1.04px solid #efeaf8; border-bottom: 1.04px solid #efeaf8; font-size: 13px; line-height: 1.6; color: #4a4a63; word-break: break-all; }
.tr .td:last-child { border-right: none; }
.tbl-nav { display: flex; align-items: center; margin-top: 8.32px; }
.tbl-hint { margin-left: auto; font-size: 10.4px; font-weight: 600; letter-spacing: 1.04px; color: #a3a8bd; }

/* 尾部视频卡（附件 kind='video'）：与页图流同款柔光白卡，排在内容末尾；徽标命名清晰 */
.videocard { border: 1.04px solid #f0ecfb; border-radius: 24.96px; overflow: hidden; background: linear-gradient(180deg, #ffffff 0%, #fdfcff 55%, #faf8fe 100%); box-shadow: 0 2.08px 4.16px rgba(69, 49, 146, 0.05), 0 16.64px 49.92px rgba(69, 49, 146, 0.08); }
/* 视频舞台：视频常驻可见，封面绝对定位叠在其上；点封面只移除封面层，原生 video 不经历显隐切换，页面不跳动（老板 2026-10-16） */
.vstage { position: relative; height: 218.4px; background: #2a2547; }
.vcover { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 2; overflow: hidden; background: linear-gradient(135deg, #2a2547 0%, #453c6b 50%, #8b7fe0 100%); display: flex; align-items: center; justify-content: center; }
/* 封面图（后端 cover_url）：铺满封面区作为底图；徽标与播放钮叠在其上 */
.vcover-img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.vbadge { position: absolute; left: 10.4px; top: 10.4px; z-index: 1; font-size: 10.4px; font-weight: 800; letter-spacing: 2.08px; background: #695db3; color: #fff; border-radius: 519.48px; padding: 4.16px 11.44px; }
.playbtn { position: relative; z-index: 1; width: 56.16px; height: 56.16px; border-radius: 50%; background: rgba(255, 255, 255, 0.94); display: flex; align-items: center; justify-content: center; box-shadow: 0 14.56px 35.36px rgba(42, 37, 71, 0.35); }
.playbtn::after { content: ""; margin-left: 5.2px; border-left: 18.72px solid #695db3; border-top: 11.44px solid transparent; border-bottom: 11.44px solid transparent; }
.vvideo { width: 100%; height: 218.4px; background: #2a2547; }
.vinfo { display: flex; flex-direction: column; gap: 3.12px; padding: 11.44px 14.56px 13.52px; }
.vinfo-title { font-size: 14.56px; font-weight: 700; color: #172039; }
/* L4 · 辅助信息字级：11.44px / 600 / 灰紫宽字距 */
.vinfo-sub { font-size: 11.44px; font-weight: 600; color: #7b8298; letter-spacing: 1.04px; }

/* 图文试看末尾购买区：不遮挡已放行图片，支付成功后原地刷新完整内容。 */
.note-paywall { margin-top: 20.8px; padding: 20.8px 16.64px 13.52px; border: 1.04px solid #f0ecfb; border-radius: 20.8px; background: #fff; text-align: center; box-shadow: 0 10.4px 33.28px rgba(69, 49, 146, .08); }
.note-paywall-kicker { color: #695db3; font-size: 11.96px; font-weight: 800; letter-spacing: 2.08px; }
.note-paywall-title { margin-top: 7.28px; color: #172039; font-size: 17.68px; font-weight: 800; line-height: 1.45; }
.note-paywall-desc { display: block; margin: 8.32px 0 15.6px; color: #7b8298; font-size: 13px; line-height: 1.6; }
.note-paywall-buy { width: 100%; height: 45.76px; line-height: 45.76px; padding: 0; border-radius: 519.48px; background: linear-gradient(135deg, #8b7fe0, #695db3); color: #fff; font-size: 14.56px; font-weight: 800; }
.note-paywall-buy[disabled] { opacity: .6; }
.note-paywall-back { margin-top: 8.32px; width: 100%; height: 37.44px; line-height: 37.44px; padding: 0; background: transparent; color: #7b8298; font-size: 13px; }
.note-paywall-back::after, .note-paywall-buy::after { border: 0; }
.note-paywall-unavailable { padding: 10.4px; color: #a3a8bd; font-size: 13px; }

/* 底部悬浮「确认已读」（方案 B：全宽胶囊渐变按钮） */
.footbar { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1.04px solid #f0ecfb; padding: 11.44px 18.72px calc(15.6px + env(safe-area-inset-bottom)); box-shadow: 0 -8.32px 24.96px rgba(69, 49, 146, 0.06); }
.btn-primary { width: 100%; font-size: 15.6px; font-weight: 650; letter-spacing: 2.08px; color: #fff; background: linear-gradient(135deg, #8b7fe0, #695db3); border-radius: 519.48px; padding: 14.56px 0; line-height: 1.3; box-shadow: 0 12.48px 31.2px rgba(105, 93, 179, 0.32); transition: transform .22s cubic-bezier(.2, 0, 0, 1), opacity .22s; }
.btn-hover { transform: scale(0.98); opacity: .95; }
.btn-primary::after { border: none; }
.btn-primary.done { background: #2f855a; box-shadow: 0 12.48px 31.2px rgba(47, 133, 90, 0.26); }
/* 显式覆盖原生 button[disabled] 灰字；禁用不透明化，倒计时保持可读。 */
button.btn-primary[disabled] { color: #51438f; background: #eee9fb; box-shadow: none; opacity: 1; }
/* 已确认同样 disabled，但保留原绿色完成态与白字。 */
button.btn-primary.done[disabled] { color: #fff; background: #2f855a; box-shadow: 0 12.48px 31.2px rgba(47, 133, 90, 0.26); }

@media (prefers-reduced-motion: reduce) {
  .btn-primary, .fold-arrow::after { transition: none; }
}

/* ===== 确认已读反馈（2026-11-27 学习中心改版）===== */
.float-plus { position: fixed; left: 0; right: 0; z-index: 50; text-align: center; font-size: 17.68px; font-weight: 800; color: #3525cd; pointer-events: none; opacity: 0; animation: float-up 1.3s cubic-bezier(.2, 0, 0, 1) forwards; }
@keyframes float-up { 0% { opacity: 0; transform: translateY(10.4px) scale(.8); } 20% { opacity: 1; transform: translateY(-6.24px) scale(1.1); } 100% { opacity: 0; transform: translateY(-62.4px) scale(1); } }

.lvup { position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
.lvup-bg { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: radial-gradient(70% 50% at 50% 42%, rgba(72, 60, 210, .97) 0%, rgba(18, 13, 58, .98) 60%, rgba(8, 6, 24, .99) 100%); }
.lvup-rays { position: absolute; width: 540.8px; height: 540.8px; left: 50%; top: 42%; margin: -270.4px 0 0 -270.4px; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .07) 0deg 8deg, transparent 8deg 24deg); opacity: 0; animation: rays 6s linear infinite, fade-in .6s .5s forwards; }
@keyframes rays { to { transform: rotate(360deg); } }
@keyframes fade-in { to { opacity: 1; } }
.lvup-dots { position: absolute; top: 93.6px; left: 0; right: 0; display: flex; justify-content: center; gap: 6.24px; }
.lvup-dot { width: 22.88px; height: 4.16px; border-radius: 2.08px; background: rgba(255, 255, 255, .22); }
.lvup-dot.on { background: #fff; }
.lvup-line { position: relative; margin-bottom: 10.4px; padding: 3.12px 12.48px; border-radius: 14.56px; border: 1.04px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .14); color: #fff; font-size: 13.52px; font-weight: 800; letter-spacing: 2.08px; opacity: 0; animation: rise .45s .1s cubic-bezier(.2, 0, 0, 1) forwards; }
.lvup-kicker { position: relative; font-size: 12.48px; font-weight: 700; letter-spacing: 6.24px; color: #b9b0ff; opacity: 0; animation: rise .5s .2s cubic-bezier(.2, 0, 0, 1) forwards; }
.lvup-stage { position: relative; width: 228.8px; height: 228.8px; margin: 18.72px 0 20.8px; }
.lvup-sil, .lvup-color { position: absolute; left: 10%; top: 10%; width: 80%; height: 80%; }
.lvup-sil { opacity: .9; }
.lvup-color { clip-path: inset(100% 0 0 0); animation: fill-up .9s .5s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes fill-up { to { clip-path: inset(0 0 0 0); } }
.lvup-sel { position: absolute; left: -2%; top: -2%; width: 104%; height: 104%; opacity: 0; transform: scale(.6) rotate(-25deg); animation: burst-in .7s 1.35s cubic-bezier(.34, 1.4, .64, 1) forwards; }
@keyframes burst-in { to { opacity: 1; transform: scale(1) rotate(0); } }
.lvup-title { position: relative; font-size: 29.12px; font-weight: 900; letter-spacing: 3.12px; color: #fff; text-shadow: 0 0 24.96px rgba(160, 150, 255, .8); opacity: 0; animation: rise .5s 1.6s cubic-bezier(.2, 0, 0, 1) forwards; }
.lvup-sub { position: relative; margin-top: 8.32px; text-align: center; line-height: 1.7; font-size: 13.52px; color: rgba(225, 222, 255, .8); opacity: 0; animation: rise .5s 1.8s cubic-bezier(.2, 0, 0, 1) forwards; }
.lvup-btn { position: relative; margin-top: 27.04px; height: 45.76px; line-height: 45.76px; padding: 0 37.44px; border-radius: 22.88px; background: #fff; color: #3525cd; font-size: 15.6px; font-weight: 800; opacity: 0; animation: rise .5s 2.1s cubic-bezier(.2, 0, 0, 1) forwards; }
.lvup-btn::after { border: none; }
@keyframes rise { from { opacity: 0; transform: translateY(12.48px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .float-plus, .lvup-rays, .lvup-line, .lvup-kicker, .lvup-color, .lvup-sel, .lvup-title, .lvup-sub, .lvup-btn { animation-duration: .01s; animation-delay: 0s; }
}
