/* ============================================================
 * style-touchups.css — finance-deck-v1 局部美化补丁 (v1)
 * 涵盖 5 项: ③ P02 三列分级 / ④ 红色危险 pill /
 *           ⑦ P05 规格组数字徽章 / ⑧ 场景名主色底 /
 *           ⑩ P14 CTA 印章 + 楷体落款
 * 不动: P01 / P03 / P04 / P06 / 其他场景页
 * 入口: 在 index.html 末尾追加 link, 整体可控开关
 * ============================================================ */


/* ─────────────────────────────────────────────────────────
 * ③ P02 challenge · 三列底色分级 (v2 加强)
 *   左列(业务特征) = 浅蓝主色底
 *   中列(传统人工痛点) = 红警示底
 *   右列(云端 AI 瓶颈) = 紫瓶颈底
 *   alpha 提到 0.10-0.14, 加深 head 区强化层级
 * ───────────────────────────────────────────────────────── */
.deck > [data-content-class="challenge"] .ch-col.ch-feat {
  background: linear-gradient(180deg, rgba(0, 47, 167, 0.08) 0%, #fff 70%) !important;
  border-top: 4px solid var(--ikb) !important;
  border-left: 1px solid rgba(0, 47, 167, 0.18) !important;
  border-right: 1px solid rgba(0, 47, 167, 0.18) !important;
  border-bottom: 1px solid rgba(0, 47, 167, 0.18) !important;
}
.deck > [data-content-class="challenge"] .ch-col.ch-pain {
  background: linear-gradient(180deg, rgba(208, 75, 75, 0.12) 0%, rgba(208, 75, 75, 0.02) 70%) !important;
  border-top: 4px solid var(--pain) !important;
  border-left: 1px solid rgba(208, 75, 75, 0.25) !important;
  border-right: 1px solid rgba(208, 75, 75, 0.25) !important;
  border-bottom: 1px solid rgba(208, 75, 75, 0.25) !important;
}
.deck > [data-content-class="challenge"] .ch-col.ch-cloud {
  background: linear-gradient(180deg, rgba(120, 60, 200, 0.12) 0%, rgba(120, 60, 200, 0.02) 70%) !important;
  border-top: 4px solid #7C3CC8 !important;
  border-left: 1px solid rgba(120, 60, 200, 0.25) !important;
  border-right: 1px solid rgba(120, 60, 200, 0.25) !important;
  border-bottom: 1px solid rgba(120, 60, 200, 0.25) !important;
}
.deck > [data-content-class="challenge"] .ch-col.ch-cloud .ch-col-tag.cloud {
  color: #ffffff !important;
  background: #7C3CC8 !important;
}
.deck > [data-content-class="challenge"] .ch-col.ch-pain .ch-col-tag.pain {
  color: #ffffff !important;
  background: var(--pain) !important;
}
.deck > [data-content-class="challenge"] .ch-col.ch-feat .ch-col-tag {
  color: #ffffff !important;
  background: var(--ikb) !important;
}
.deck > [data-content-class="challenge"] .ch-col.ch-cloud .ch-item {
  background: rgba(120, 60, 200, 0.06) !important;
  border: 1px solid rgba(120, 60, 200, 0.14);
}
.deck > [data-content-class="challenge"] .ch-col.ch-pain .ch-item {
  background: rgba(208, 75, 75, 0.06) !important;
  border: 1px solid rgba(208, 75, 75, 0.14);
}


/* ─────────────────────────────────────────────────────────
 * ④ P02 "不敢用 / 不能用 / 不适用" 危险徽章 (v2)
 *   纯红实底 + 切角更明显
 * ───────────────────────────────────────────────────────── */
.deck > [data-content-class="challenge"] .ch-tag-pill {
  background: #C62828 !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 2px !important;
  padding: 6px 14px 6px 18px !important;
  border-radius: 4px !important;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
  box-shadow: 0 3px 8px rgba(198, 40, 40, 0.35);
  position: relative;
  text-transform: none;
}



/* ─────────────────────────────────────────────────────────
 * ⑦ P05 hardware · 规格组数字徽章 + 等宽数字 (v2)
 *   修复:之前角标嵌在 title 行内挤压标题
 *   v2: 数字角标改成卡片左上角绝对定位的"小标签",
 *       同时加大三层间距(外框 padding / 卡片间 gap / 卡片内 padding)
 *   规格 .hw2-v 启用 tabular-nums
 * ───────────────────────────────────────────────────────── */
/* 整体外框加大呼吸 */
.deck > [data-content-class="hardware2"] .hardware2 {
  padding: 36px 40px !important;
  gap: 32px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
/* 3 张规格卡之间间隔加大 */
.deck > [data-content-class="hardware2"] .hw2-grid {
  gap: 18px !important;
  counter-reset: hwgroup;
}
/* 每张规格卡内部 padding 加大 */
.deck > [data-content-class="hardware2"] .hw2-group {
  padding: 20px 22px !important;
  position: relative;
  border-radius: 14px !important;
  padding-top: 30px !important;
}
/* 数字徽章绝对定位到卡片左上角(不挤压 title 文字) */
.deck > [data-content-class="hardware2"] .hw2-group::before {
  counter-increment: hwgroup;
  content: counter(hwgroup, decimal-leading-zero);
  position: absolute;
  top: -1px;
  left: 16px;
  width: 38px;
  height: 22px;
  background: var(--ikb);
  color: #fff;
  border-radius: 0 0 8px 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  font-family: "SF Pro Display", -apple-system, sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 47, 167, 0.25);
  z-index: 2;
}
/* group-title 恢复独占一行,跟内容拉开 */
.deck > [data-content-class="hardware2"] .hw2-group-title {
  display: block !important;
  margin-bottom: 14px !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid var(--accent) !important;
  font-size: 13px !important;
  letter-spacing: 2.5px !important;
}
.deck > [data-content-class="hardware2"] .hw2-v {
  font-feature-settings: "tnum" on, "lnum" on !important;
  color: var(--text-1) !important;
}
/* 规格行间距适度放大 */
.deck > [data-content-class="hardware2"] .hw2-row {
  padding: 6px 0 !important;
  font-size: 11.5px !important;
}


/* ─────────────────────────────────────────────────────────
 * ⑧ 场景页 · 场景名背景换主色 (用户明确指令)
 *   .head 浅蓝底 → IKB 主色实底
 *   .title 渐变文字 → 纯白
 *   .scene-num 主色文字 → 半透明白
 *   .scene-icon-b 浅蓝盒 → 半透明白盒
 *   stage-B (橙色场景) 改用 accent 实底
 * ───────────────────────────────────────────────────────── */
.scene2.brochure .head {
  background: var(--ikb) !important;
  border-radius: 12px;
  position: relative;
}
.scene2.brochure .head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
  border-radius: 12px;
  pointer-events: none;
}
.scene2.brochure .scene-num {
  color: rgba(255, 255, 255, 0.55) !important;
  background: transparent !important;
}
.scene2.brochure .title {
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: #ffffff !important;
  color: #ffffff !important;
}
.scene2.brochure .scene-icon-b {
  background: rgba(255, 255, 255, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.30) !important;
  color: #ffffff !important;
}
.scene2.brochure .scene-icon-b svg { color: #ffffff !important; }

/* stage-B 橙色场景: 用 accent 实底保留差异 */
.scene2.brochure.stage-B .head {
  background: var(--accent) !important;
}
.scene2.brochure.stage-B .scene-num {
  color: rgba(255, 255, 255, 0.7) !important;
}
.scene2.brochure.stage-B .title {
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: #5A2A00 !important;
  color: #5A2A00 !important;
}
.scene2.brochure.stage-B .scene-icon-b {
  background: rgba(90, 42, 0, 0.14) !important;
  border-color: rgba(90, 42, 0, 0.25) !important;
  color: #5A2A00 !important;
}
.scene2.brochure.stage-B .scene-icon-b svg { color: #5A2A00 !important; }

/* stage-C 也走 IKB(默认),保留 ikb-soft 编号色微差异 */
.scene2.brochure.stage-C .scene-num {
  color: rgba(255, 255, 255, 0.7) !important;
}


/* ─────────────────────────────────────────────────────────
 * ⑩ P14 CTA · 印章 + 楷体落款
 *   .cta::after = 右上角圆形印章 "方案 v1.2 · 2026" 双线 + 旋转
 *   .cta-foot::before = 左下楷体 tagline
 *   按钮 hover 平移 + 加深底色
 * ───────────────────────────────────────────────────────── */
.deck > .cta { position: relative; }

/* 圆形印章 — 用绝对定位放右上角 */
.deck > .cta::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 28px;
  width: 96px;
  height: 96px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.06) 30%, transparent 70%);
  z-index: 2;
  pointer-events: none;
}
/* 印章内文字 — 注入到 cta-inner::before, 双线圆 */
.deck > .cta .cta-inner::after {
  content: "v1.2 · 2026";
  position: absolute;
  top: 41px;
  right: 28px;
  width: 96px;
  text-align: center;
  font-family: "SF Pro Display", -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.85);
  z-index: 3;
  pointer-events: none;
  transform: rotate(-6deg);
}
.deck > .cta .cta-inner::before {
  content: "FINANCE AI";
  position: absolute;
  top: 56px;
  right: 28px;
  width: 96px;
  text-align: center;
  font-family: "SF Pro Display", -apple-system, sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: rgba(255, 255, 255, 0.55);
  z-index: 3;
  pointer-events: none;
  transform: rotate(-6deg);
}

/* 楷体落款 — 在 cta-foot 上方插一行 */
.deck > .cta .cta-foot {
  position: relative;
  padding-top: 36px !important;
}
.deck > .cta .cta-foot::before {
  content: "—— 企业 AI · 安全为本";
  position: absolute;
  top: 6px;
  left: 0;
  font-family: "STKaiti", "KaiTi", "楷体", "PingFang SC", serif;
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 2px;
  font-style: italic;
}

/* 按钮 hover 微动 */
.deck > .cta .cta-btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.deck > .cta .cta-btn:hover {
  transform: translateX(4px);
  box-shadow: 0 12px 32px rgba(255, 169, 64, 0.45) !important;
}

/* 移动端: 印章缩小 + 楷体落款单独成行不影响布局 */
@media (max-width: 720px) {
  .deck > .cta::after {
    width: 64px; height: 64px;
    top: 16px; right: 16px;
  }
  .deck > .cta .cta-inner::after {
    top: 30px; right: 16px; width: 64px;
    font-size: 9px;
  }
  .deck > .cta .cta-inner::before {
    top: 42px; right: 16px; width: 64px;
    font-size: 7.5px;
  }
  .deck > .cta .cta-foot::before {
    font-size: 14px;
    position: static;
    display: block;
    margin-bottom: 10px;
  }
  .deck > .cta .cta-foot {
    padding-top: 18px !important;
  }
}


/* ─────────────────────────────────────────────────────────
 * ⑫ 全局 · 每页章节标题(对齐原 PPT 标题, 大气版 v3)
 *   去页码编号, 左对齐, 标题加蓝底白字标牌
 *   形态: IKB 蓝实底 · 白字 · 左侧 4px 橙竖线锚点 · 大字章节名
 *   场景卡内: 蓝底里反白 kicker(底色取半透明白)
 * ───────────────────────────────────────────────────────── */
.chapter-pill {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  margin-bottom: 18px;
  padding: 0;
  background: transparent !important;
  box-shadow: none !important;
  font-family: "PingFang SC", -apple-system, sans-serif;
  line-height: 1;
  letter-spacing: 0;
}
.chapter-pill::before {
  content: none !important;
}
.chapter-pill .cp-text {
  display: inline-flex;
  align-items: center;
  background: var(--ikb) !important;
  color: #fff !important;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 3px !important;
  padding: 12px 22px 12px 18px !important;
  border-radius: 4px !important;
  border-left: 4px solid var(--accent) !important;
  box-shadow: 0 4px 14px rgba(0, 47, 167, 0.25);
  position: relative;
  text-shadow: none;
}

/* sec-head 改左对齐(覆盖 style-deck.css 的居中默认)
   关键: 把 sec-head 自带 padding: 0 4vw 清掉, 让章节胶囊 / 标题 / 副标
   都对齐到 slide-card 内 padding 边线(56px), 避免章节胶囊比标题还内缩 58px */
.deck > .sec-head,
.deck .sec-head {
  text-align: left !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.deck > .sec-head .sec-title,
.deck .sec-head .sec-title {
  text-align: left !important;
}
.deck > .sec-head .sec-sub,
.deck .sec-head .sec-sub {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  max-width: 720px !important;
}
.deck > .sec-head .chapter-pill,
.deck .sec-head .chapter-pill {
  margin-bottom: 16px;
  justify-content: flex-start;
  margin-left: 0 !important;
}

/* section-divider(P06 5 大核心场景): 章节胶囊作主视觉, 居中放大 */
.deck > .slide-section-divider .sec-head {
  text-align: center !important;
}
.deck > .slide-section-divider .sec-head .chapter-pill {
  justify-content: center !important;
  margin-bottom: 22px !important;
}
.deck > .slide-section-divider .sec-head .chapter-pill .cp-text {
  font-size: 24px !important;
  padding: 14px 28px 14px 22px !important;
}
.deck > .slide-section-divider .sec-head .sec-title,
.deck > .slide-section-divider .sec-head .sec-sub {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* arch 页(grid 左右分栏): sec-head 在左列, 不需要 deck 默认 padding 干扰 */
.deck > [data-content-class="arch"] .slide-card > .sec-head {
  padding-left: 0 !important;
  padding-right: 0 !important;
}


/* ─────────────────────────────────────────────────────────
 * ⑬ Hero / Section-divider 加背景卡
 *   原设计 hero / section-divider 不包卡片走"沉浸感", 但跟其他页不统一,
 *   用户要求"加背景卡"让全册视觉一致, 这里直接给容器加卡片视觉
 *   不动 DOM, 只贴白底+border+radius+shadow
 * ───────────────────────────────────────────────────────── */
.deck > .hero,
.deck > .slide-section-divider {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 4vh 4vw !important;
}
.deck > .hero .hero-body,
.deck > .slide-section-divider .sec-head {
  width: min(1240px, calc((100vh - 8vh) * 16 / 9)) !important;
  max-width: 1240px !important;
  aspect-ratio: 16 / 9 !important;
  background: #fff !important;
  border: 1px solid rgba(0, 47, 167, 0.08) !important;
  border-radius: 20px !important;
  padding: 44px 56px !important;
  box-shadow:
    0 1px 2px rgba(0, 47, 167, 0.04),
    0 12px 32px rgba(0, 47, 167, 0.08),
    0 24px 64px rgba(0, 47, 167, 0.06) !important;
  box-sizing: border-box !important;
  position: relative !important;
  overflow: hidden !important;
}

/* hero 本身的 ::before/::after 圆形光晕保留, 但要藏到卡片外才不被 overflow 切掉 */
.deck > .hero {
  position: relative !important;
  overflow: visible !important;
}
.deck > .hero::before,
.deck > .hero::after {
  z-index: 0;
}

/* hero-body 内部 grid 维持原来的 1fr 400px */
.deck > .hero .hero-body {
  display: grid !important;
  grid-template-columns: 1fr 400px !important;
  gap: 48px !important;
  align-items: center !important;
}

/* section-divider 卡内: sec-head 自己撑满, 章节胶囊已是居中放大 */
.deck > .slide-section-divider .sec-head {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

/* 移动端: 卡片宽度自适应, 高度自然 */
@media (max-width: 720px) {
  .deck > .hero,
  .deck > .slide-section-divider {
    padding: 2vh 12px !important;
  }
  .deck > .hero .hero-body,
  .deck > .slide-section-divider .sec-head {
    width: 100% !important;
    aspect-ratio: auto !important;
    padding: 24px 18px !important;
    border-radius: 14px !important;
  }
  .deck > .hero .hero-body {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
}

/* 场景卡 head 内的章节小标识(蓝底里反白半透明 kicker)
   注意: scene2 的 .head 自身有 padding, .head-text 又是 flex 的中间项,
   章节胶囊会被 padding+gap 推到离卡片左 169px 处. 用负 margin 撤回贴近场景标题左侧 */
.scene2.brochure .head-text .chapter-pill {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 8px;
  margin-left: 0;
  padding: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.scene2.brochure .head-text .chapter-pill .cp-text {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.18) !important;
  border-left: 3px solid var(--accent) !important;
  padding: 5px 12px 5px 10px !important;
  border-radius: 3px !important;
  box-shadow: none;
  text-shadow: none;
}
/* stage-B 橙底场景: 反深棕 kicker */
.scene2.brochure.stage-B .head-text .chapter-pill .cp-text {
  color: #5A2A00 !important;
  background: rgba(90, 42, 0, 0.18) !important;
  border-left-color: #5A2A00 !important;
}

/* CTA 内: 反白 kicker(承接 P14 名义但底色用半透明白)
   CTA 整页 text-align: center, 胶囊跟其他 cta-* 元素一起居中, 视觉统一 */
.deck > .cta .chapter-pill {
  display: block;
  text-align: center;
  margin: 0 auto 16px;
  padding: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.deck > .cta .chapter-pill .cp-text {
  font-size: 12px;
  letter-spacing: 3px !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.16) !important;
  border-left: 3px solid var(--accent) !important;
  padding: 6px 14px 6px 12px !important;
  border-radius: 3px !important;
  box-shadow: none;
}

/* 移动端: 章节标牌缩小 */
@media (max-width: 720px) {
  .chapter-pill {
    margin-bottom: 10px;
  }
  .chapter-pill .cp-text {
    font-size: 13px;
    letter-spacing: 2px !important;
    padding: 8px 14px 8px 12px !important;
    border-left-width: 3px !important;
  }

  .scene2.brochure .head-text .chapter-pill .cp-text {
    font-size: 9px;
    letter-spacing: 1.8px !important;
    padding: 3px 8px 3px 7px !important;
    border-left-width: 2px !important;
  }

  .deck > .cta .chapter-pill .cp-text {
    font-size: 10px;
    letter-spacing: 2px !important;
    padding: 4px 10px 4px 9px !important;
  }
}

/* ─────────────────────────────────────────────────────────
 * ⑪ P07 · 5 大场景横向流(替换原圆形闭环图,比例失衡问题已规避)
 *   形态: 5 张窄卡片横排 + 卡间小箭头 + 底部 U 形虚线返回弧
 *   逻辑: 决策→助手→报销→审核→凭证, 数据反哺闭环
 *   优势: 卡片样式跟其他页统一, 信息密度可控, 无环径比例难题
 * ───────────────────────────────────────────────────────── */
.scenes-flow-card {
  background: #fff;
  border: 1px solid var(--ikb-line);
  border-radius: 18px;
  padding: 28px 24px 22px;
  margin: 24px auto 8px;
  max-width: 100%;
  box-shadow: 0 4px 14px rgba(0, 47, 167, 0.05);
  position: relative;
  overflow: hidden;
}
.scenes-flow-card::before {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(0, 47, 167, 0.05), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.sf-track {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}
.sf-step {
  background: linear-gradient(180deg, rgba(0, 47, 167, 0.04) 0%, #fff 100%);
  border: 1px solid var(--ikb-line);
  border-top: 3px solid var(--ikb);
  border-radius: 12px;
  padding: 18px 10px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sf-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 47, 167, 0.10);
}
/* 卡间小箭头 (4 个间隙) */
.sf-step:not(:last-child)::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: -12px;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 800;
  color: var(--ikb);
  font-family: "SF Pro Display", -apple-system, sans-serif;
  z-index: 2;
  background: #fff;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--ikb);
  line-height: 1;
}
.sf-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ikb);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-family: "SF Pro Display", -apple-system, sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 47, 167, 0.28);
  border: 2.5px solid #fff;
}
.sf-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: 0.3px;
  line-height: 1.3;
}
.sf-role {
  font-size: 11px;
  font-weight: 600;
  color: var(--ikb);
  background: rgba(0, 47, 167, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

/* 底部数据闭环返回弧 */
.sf-loop {
  position: relative;
  height: 60px;
  margin-top: 14px;
}
.sf-loop-arc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.sf-loop-label {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  background: var(--ikb);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  padding: 5px 14px;
  border-radius: 14px;
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 3px 10px rgba(0, 47, 167, 0.25);
}

/* 移动端: 5 列变 3 列 + 1 列(2 行) 或保持 5 列窄版,这里走窄版+滚动 */
@media (max-width: 720px) {
  .scenes-flow-card {
    padding: 18px 12px 14px;
    margin: 18px 0 4px;
  }
  .sf-track {
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
  }
  .sf-step {
    padding: 12px 4px 10px;
    gap: 5px;
    border-radius: 8px;
    border-top-width: 2px;
  }
  .sf-step:not(:last-child)::after {
    font-size: 14px;
    width: 14px;
    height: 14px;
    right: -8px;
    border-width: 1px;
  }
  .sf-num {
    width: 28px; height: 28px; font-size: 11px;
    border-width: 2px;
  }
  .sf-name { font-size: 10.5px; line-height: 1.2; letter-spacing: 0; }
  .sf-role { font-size: 8px; padding: 1px 5px; letter-spacing: 0.3px; }
  .sf-loop { height: 44px; margin-top: 8px; }
  .sf-loop-label { font-size: 9px; padding: 3px 10px; letter-spacing: 0.6px; }
}
