/* IVD 汇报幻灯片 · 公共设计体系 v2（浅色底 · 画布 1280×720）
   四色系：白为底 / 医疗蓝常用 / 品红科技紫备用 / 血液红点缀 */
:root {
  --bg: #fbfcff; --bg-grad: #f4f8ff;
  --primary: #2e7ce4; --primary-dk: #1b5fc4;
  --tint: #eef5ff; --tint-dk: #d9e8fd;
  --accent: #8f2be0; --accent-tint: #f4ebfd;
  --blood: #c22340; --blood-tint: #fdedf0;
  --text: #1b2637; --muted: #5a6b83; --faint: #93a1b8;
  --line: #e3e9f4; --panel: #f5f8fd;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 1280px; height: 720px; overflow: hidden; }
body { font-family: "Microsoft YaHei", "PingFang SC", sans-serif; color: var(--text);
       background: linear-gradient(180deg, var(--bg), var(--bg-grad)); }
.slide { width: 1280px; height: 720px; padding: 40px 48px; position: relative; overflow: hidden;
         animation: pageIn .32s ease-out; }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.slide.fwd { animation-name: inFwd; }
.slide.back { animation-name: inBack; }
@keyframes inFwd { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
@keyframes inBack { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }

/* 轻微动态背景：蓝斑（右上漂移）+ 紫斑（左下漂移）+ 血液红微斑（右下），全部极淡 */
.slide::before, .slide::after { content: ""; position: absolute; border-radius: 50%;
  filter: blur(72px); pointer-events: none; z-index: -1; }
.slide::before { width: 560px; height: 560px; top: -180px; right: -140px;
  background: radial-gradient(circle, rgba(46, 124, 228, .13), rgba(143, 43, 224, .07) 55%, transparent 72%);
  animation: driftA 17s ease-in-out infinite alternate; }
.slide::after { width: 620px; height: 620px; bottom: -230px; left: -160px;
  background: radial-gradient(circle at 62% 62%, rgba(194, 35, 64, .07), transparent 46%),
              radial-gradient(circle, rgba(143, 43, 224, .09), transparent 62%);
  animation: driftB 21s ease-in-out infinite alternate; }
@keyframes driftA { from { transform: translate(0, 0); } to { transform: translate(-70px, 48px); } }
@keyframes driftB { from { transform: translate(0, 0); } to { transform: translate(64px, -44px); } }

/* 页内分步揭示：带 data-step 的元素初始潜伏（.pending），由壳逐步揭示（.revealed） */
.slide [data-step] { transition: opacity .4s ease, transform .4s ease; }
.slide [data-step].pending { opacity: 0; transform: translateY(14px); pointer-events: none; }
.slide [data-step].revealed { opacity: 1; transform: none; }

/* 头部 */
.kicker { font-size: 15px; font-weight: 700; color: var(--primary); letter-spacing: 3px; }
/* 章节眉标：章节名 + 延伸虚线 + 右侧副题（.kickerbar 内放 .kchip 与 .ksub） */
.kickerbar { display: flex; align-items: center; gap: 14px; }
.kickerbar .kchip { font-size: 14px; font-weight: 700; color: var(--primary); letter-spacing: 2px; white-space: nowrap; }
.kickerbar .kline { flex: 1; border-top: 1.5px dashed rgba(46, 124, 228, .4); }
.kickerbar .ksub { font-size: 12px; color: var(--faint); white-space: nowrap; }
.h1 { font-size: 36px; font-weight: 700; margin-top: 6px; }
.tagline { font-size: 17px; color: var(--muted); margin-top: 8px; }

/* 页脚 */
.footer { position: absolute; left: 48px; bottom: 18px; font-size: 12px; color: var(--faint); }
.pageno { position: absolute; right: 48px; bottom: 18px; font-size: 12px; color: var(--faint); }

/* 卡片与要点 */
.card { border-radius: 10px; background: var(--tint); padding: 16px 18px; }
.card.panel { background: var(--panel); border: 1px solid var(--line); }
.card.shadow { box-shadow: 0 6px 16px rgba(27, 38, 55, .10); }
.points { list-style: none; }
.points li { font-size: 16.5px; line-height: 1.45; padding-left: 22px; position: relative; margin-bottom: 14px; }
.points li::before { content: "▸"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* 功能要点卡片组：短语 + 一行小注（替代长句堆叠） */
.feat-cards { position: absolute; left: 48px; top: 176px; width: 566px; display: grid;
              grid-template-columns: 1fr 1fr; gap: 12px; }
.feat-cards .fc { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px; }
.feat-cards .fc .t { font-size: 14.5px; font-weight: 700; color: var(--primary-dk); }
.feat-cards .fc .d { font-size: 11.5px; color: var(--muted); margin-top: 4px; line-height: 1.35; }

/* 三角色收益卡 */
.role-cards { position: absolute; left: 48px; right: 48px; bottom: 52px; display: flex; gap: 18px; }
.role-card { flex: 1; background: var(--tint); border-radius: 10px; padding: 12px 16px; }
.role-card .r { font-size: 15px; font-weight: 700; color: var(--primary-dk); margin-bottom: 5px; }
.role-card .t { font-size: 13.5px; line-height: 1.4; color: var(--text); }

/* 过去→现在 对比行 */
.compare { display: flex; align-items: center; gap: 8px; background: var(--panel); border: 1px solid var(--line);
           border-radius: 8px; padding: 9px 14px; font-size: 13.5px; }
.compare .old { color: var(--faint); } .compare .old b { color: var(--faint); }
.compare .arr { color: var(--blood); font-weight: 700; }
.compare .new { color: var(--primary-dk); font-weight: 700; }

/* 大数字 */
.big-num { font-size: 56px; font-weight: 700; color: var(--primary); line-height: 1; }

/* ==================== 占位图查看器与灯箱放大交互体系 ==================== */
.viewer {
  cursor: zoom-in;
  position: relative;
  transition: transform .22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .22s ease;
  user-select: none;
}
.viewer::after {
  content: "🔍 点击放大";
  position: absolute;
  right: 14px;
  bottom: 12px;
  font-size: 11px;
  color: var(--muted);
  background: rgba(255, 255, 255, .92);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
  pointer-events: none;
  transition: opacity .2s;
  z-index: 20;
}
.viewer:hover::after {
  color: var(--primary);
  border-color: var(--primary);
}

/* ==================== 占位图图片替换标准化接口规范 ==================== */
.ph {
  overflow: hidden;
}
.ph img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}
.ph:has(img) .cam,
.ph:has(img) .t,
.ph:has(img) .d,
.ph:has(img) .num,
.ph.has-img .cam,
.ph.has-img .t,
.ph.has-img .d,
.ph.has-img .num {
  display: none !important;
}
