/* motion-case.css — f6「动态体验设计」
 * token 源：动态体验设计/skill/banlan-motion/tokens/motion.css（由 foundations/motion-foundation/motion-foundation.yaml 生成）
 * 复制日期：2026-11-20。token 修订后整段替换下面两个块，不要逐值改。 */
.detail[data-cat="f6"] {
  /* 时长 */
  --motion-duration-xs: 80ms;
  --motion-duration-s: 120ms;
  --motion-duration-m: 160ms;
  --motion-duration-l: 240ms;
  --motion-duration-xl: 320ms;
  --motion-duration-2xl: 400ms;
  /* 循环节奏 */
  --motion-loop-shimmer: 1333ms;
  /* 流式 */
  --motion-stream-line: 350ms;
  /* 曲线 */
  --motion-ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --motion-ease-enter: cubic-bezier(0, 0, 0.2, 1);
  --motion-ease-exit: cubic-bezier(0.4, 0, 1, 1);
  --motion-ease-linear: linear;
  --motion-ease-legacy: ease;
  /* 位移 */
  --motion-offset-s: 4px;
  --motion-offset-m: 8px;
  --motion-offset-l: 16px;
  /* 错峰 */
  --motion-stagger: 40ms;
}
@media (prefers-reduced-motion: reduce) {
  .detail[data-cat="f6"] {
    --motion-offset-s: 0px;
    --motion-offset-m: 0px;
    --motion-offset-l: 0px;
    --motion-duration-m: 120ms;
    --motion-duration-l: 120ms;
    --motion-duration-xl: 120ms;
    --motion-duration-2xl: 120ms;
  }
}
/* ===== 强调色 ===== */
[data-cat="f6"], #cat-expand[data-cur="f6"] { --accent: var(--accent-f6); --accent-rgb: var(--accent-f6-rgb); }
[data-cat="f6"] .rich-kick { font-family: var(--f-acc); font-weight: 600; font-size: .95cqw; letter-spacing: .32em; color: var(--accent); margin-bottom: 1cqw; }
[data-cat="f6"] :is(.cse-k, .cse-learn-n, .ag-stat-n) { color: var(--accent); }
/* 首页 5 张卡尽量放在一行 */
/* 注意：此规则会缩小首页全部 5 张卡（不只 f6）；案例列表目前无入口，恢复入口时复查 */
.gcards:has(.gcard[data-open="f6"]) .gcard { width: clamp(196px, 16.4vw, 270px); }
/* ===== 容器贴边：与 f5 同一版式（左栏 360、深色 Hero），沿用 f5「修复包」的去容器规则，顶部不留 88px 空带、去外框描边和圆角 ===== */
#cat-expand[data-cur="f6"] .exp-main { padding: 0; }
.detail[data-cat="f6"] .bl-card { border-radius: 0; }
.detail[data-cat="f6"] .bl-body { border: none; border-radius: 0; }
.detail[data-cat="f6"] .sa-body { border: none !important; border-radius: 0 !important; }
.detail[data-cat="f6"] > .bl-card > .bl-scroll { padding: 0 !important; border-radius: 0; }

/* 同色相邻的两段（白+白、深+深）：上一段的下内边距与下一段的上内边距会叠成 2×5.4cqw 的空带。
   后一段的上内边距减半（2.7cqw），让章节间距接近同一章节内部的节奏；换色处保持原样。只作用于 f6，不改共用 .sa-sec。 */
.detail[data-cat="f6"] .sa-sec.white + .sa-sec.white,
.detail[data-cat="f6"] .sa-sec.dark + .sa-sec.dark { padding-top: 2.7cqw; }

/* ===== 00 Hero ===== */
.detail[data-cat="f6"] .mc-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: 4cqw; align-items: center;
  padding: 6cqw var(--gutter) 5.4cqw; background: radial-gradient(120% 140% at 85% 0%, #3a1a12 0%, #1a1b1d 55%); }
.mc-hero-in { max-width: 62cqw; }
/* Hero 右侧：一小段真实动效（复用视频调度器），倾斜摆正，给首屏一个视觉落点 */
.mc-hero-fig { margin: 0; justify-self: end; width: 26cqw; max-width: 400px; }
.mc-hero-fig video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 1.4cqw;
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 2cqw 5cqw rgba(0,0,0,.45); background: #0c0d0f; }
.mc-hero-fig figcaption { margin-top: 1cqw; display: flex; flex-direction: column; gap: .35cqw; }
.mc-hero-tag { font-size: 1cqw; color: #ebebeb; }
.mc-hero-tok { font-family: var(--f-en); font-size: .95cqw; color: #84888f; }
@media (max-width: 1000px) {
  .detail[data-cat="f6"] .mc-hero { grid-template-columns: 1fr; gap: 3cqw; }
  .mc-hero-in { max-width: none; }
  .mc-hero-fig { justify-self: start; width: 46cqw; }
  .mc-hero-tag { font-size: 11px; } .mc-hero-tok { font-size: 10.5px; }
}
.mc-h1 { font-family: var(--f-en); font-weight: 800; font-size: 6.4cqw; line-height: 1.04; color: #f4f4f4; margin: 0; }
.mc-hdot { color: var(--accent); }
.mc-lead { margin-top: 2cqw; font-size: 1.25cqw; line-height: 1.8; color: #b3b3b3; max-width: 46cqw; }
.mc-hero-status { margin-top: 2.4cqw; font-size: 1.5cqw; font-weight: 600; }
.mc-hero-status > span, .mc-shimmer { --x: -9999px; --c0: rgba(255,255,255,.42); --c1: #fff;
  background: linear-gradient(90deg, var(--c0) calc(var(--x) - 40px), var(--c1) var(--x), var(--c0) calc(var(--x) + 40px));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
/* ===== 01 / 02 ===== */
.mc-cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; margin-top: 2.8cqw; }
.mc-ul { margin: .8cqw 0 0; padding-left: 1.1em; font-size: 1cqw; line-height: 1.9; color: #495366; }
@media (max-width: 1000px) { .mc-cards3 { grid-template-columns: 1fr; } }
/* ===== 03 体系 ===== */
.mc-sys { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6cqw; margin-top: 2.8cqw; }
.mc-lad-row { display: grid; grid-template-columns: 3cqw 1fr 4.6cqw; align-items: center; gap: 1cqw; padding: .5cqw 0; }
.mc-lad-k, .mc-lad-v { font-family: var(--f-en); font-weight: 700; font-size: 1.05cqw; color: #1a1b2e; }
.mc-lad-v { text-align: right; color: #818999; font-weight: 500; }
.mc-lad-track { position: relative; height: 1.1cqw; border-radius: 999px; background: #eceff5; container-type: inline-size; }   /* 圆点终点用 100cqw（= 轨道宽）表达，窗口缩放后仍停在末端 */
.mc-lad-row:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.mc-lad-dot { position: absolute; left: 0; top: 0; height: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); }   /* 轨道是尺寸容器，圆点尺寸跟轨道高度走，不能再用 cqw */
.mc-curve-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1cqw; margin-top: 1cqw; }
.mc-curve { position: relative; margin: 0; }
.mc-curve svg { display: block; width: 100%; overflow: visible; }
.mc-curve rect { fill: none; stroke: #e6e9f0; }
.mc-curve path { fill: none; stroke: var(--accent); stroke-width: 2; }
.mc-cv-dot { position: absolute; left: 3.7%; top: 3.7%; width: 92.6%; aspect-ratio: 1; pointer-events: none; }
.mc-cv-y { position: absolute; inset: 0; }   /* 满高内层：纵向位移用 translateY(-100%)，随框缩放 */
.mc-cv-dot i { position: absolute; left: -5px; bottom: -5px; width: 10px; height: 10px; border-radius: 50%; background: #1a1b2e; }
.mc-curve figcaption { margin-top: .5cqw; text-align: center; font-family: var(--f-en); font-size: 1cqw; color: #495366; }
.mc-src-bar { display: flex; gap: 3px; margin: 1.2cqw 0; height: 2.4cqw; border-radius: 8px; overflow: hidden; }
.mc-src-bar i { display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 1cqw; color: #fff; white-space: nowrap; }
.mc-src-bar .m { background: var(--accent); } .mc-src-bar .b { background: #5d54ff; } .mc-src-bar .d { background: #9aa3b5; } .mc-src-bar .n { background: #1a1b2e; }
.mc-pre { margin: 1cqw 0 0; padding: 1.2cqw; border-radius: 10px; background: #1a1b1d; color: #d7d9de; font-size: 1cqw; line-height: 1.7; white-space: pre-wrap; }
@media (max-width: 1000px) { .mc-sys { grid-template-columns: 1fr; } }
/* 窄屏（≤1000px）卡片变窄，cqw 字号会缩到 6.5–9px；这几类小字改用 px 下限保证可读 */
@media (max-width: 1000px) {
  .mc-pre { font-size: 11px; }
  .mc-readout, .mc-note, .mc-pl, .mc-lad-k, .mc-lad-v, .mc-src-bar i { font-size: 10.5px; }
  .mc-evid figcaption, .mc-tall figcaption, .mc-protos figcaption, .mc-pair figcaption, .mc-curve figcaption { font-size: 10.5px; }
  .mc-ul { font-size: 11px; }
  .mc-ex-h { font-size: 11px; }
}
/* 03 体系 · 减弱动效下的阶梯：提示行 + 悬停高亮（只变色，不位移） */
.mc-lad.is-reduced .mc-lad-row { grid-template-columns: 3cqw 1fr 10.4cqw; }
.mc-lad.is-reduced .mc-lad-v { white-space: nowrap; }
.mc-lad-note { margin: .4cqw 0 .6cqw; padding: .5cqw .8cqw; border-radius: 8px; background: rgba(var(--accent-rgb), .08); color: #495366; font-size: .85cqw; line-height: 1.6; }
.mc-lad-track, .mc-lad-dot { transition: background-color var(--motion-duration-s) var(--motion-ease-standard); }
.mc-lad-row.is-hit .mc-lad-track { background: rgba(var(--accent-rgb), .22); }
.mc-lad-row.is-hit .mc-lad-dot { background: #1a1b2e; }
.mc-lad-row.is-hit .mc-lad-k { color: var(--accent); }
@media (prefers-reduced-motion: reduce) {
  .mc-lad-track, .mc-lad-dot { transition-duration: var(--motion-duration-xs); }
}
/* ===== 04 落地 ===== */
.mc-play { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.6cqw; margin-top: 2.8cqw; }
.mc-stage { min-height: 24cqw; padding: 1.8cqw 2cqw; border-radius: var(--card-r); background: #f7f8fa; color: #1a1b2e; overflow: hidden; }
.mc-flow { display: flex; flex-direction: column; gap: 1cqw; }
.mc-bubble { align-self: flex-end; max-width: 80%; background: #fde7e1; border-radius: 12px; padding: .6cqw 1cqw; font-size: 1cqw; }
.mc-turn { display: flex; flex-direction: column; gap: .6cqw; font-size: 1cqw; }
.mc-turn .mc-status { font-size: 1.05cqw; font-weight: 600; }
.mc-turn .mc-shimmer { --c0: #6b7280; --c1: #0b0c10; }
.mc-turn .mc-proc { display: flex; flex-direction: column; gap: .4cqw; color: #6b7280; }
.mc-turn .mc-body { line-height: 1.8; }
.mc-turn .mc-done { color: #6b7280; font-size: 1cqw; }
.mc-panel { padding: 1.6cqw; border-radius: var(--card-r); background: #222426; border: 1px solid #32363c; display: flex; flex-direction: column; gap: 1.4cqw; }
.mc-pl { font-size: 1cqw; color: #84888f; margin-bottom: .5cqw; letter-spacing: .08em; }
.mc-seg { display: flex; gap: 4px; padding: 4px; border-radius: 10px; background: #1a1b1d; }
.mc-seg button { flex: 1; border: 0; border-radius: 7px; padding: .6cqw .4cqw; background: transparent; color: #b3b3b3; font: inherit; font-size: .95cqw; cursor: pointer;
  transition: background-color var(--motion-duration-s) var(--motion-ease-standard), color var(--motion-duration-s) var(--motion-ease-standard); }
.mc-seg button[aria-checked="true"], .mc-seg button[aria-selected="true"] { background: var(--accent); color: #fff; }
.mc-readout { font-family: var(--f-en); font-size: 1cqw; line-height: 1.7; color: #ebebeb; min-height: 3.2em;
  font-variant-ligatures: none; font-feature-settings: "liga" 0, "calt" 0; }   /* 「--motion-…」保持两个连字符，不被连字成破折号 */
.mc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }   /* 只给读屏：用户切换方案/速度时播报一次 */
.mc-note { margin: 0; font-size: 1cqw; color: #84888f; line-height: 1.7; }
.mc-evid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; margin-top: 2cqw; }
.mc-evid figure { margin: 0; }
.mc-evid video { display: block; width: 100%; border-radius: 10px; background: #000; }
.mc-evid figcaption { margin-top: .6cqw; font-size: 1cqw; color: #a4a7ad; }
@media (prefers-reduced-motion: reduce) { .mc-seg button { transition: none; } }
@media (max-width: 1000px) { .mc-play, .mc-evid { grid-template-columns: 1fr; } }
/* ===== 05 探索 ===== */
.mc-ex-h { margin: 3cqw 0 1.2cqw; font-size: 1.05cqw; font-weight: 600; color: #ebebeb; }
.mc-tall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; }
/* 原型：inkprism 16:9 + orbit/ip 9:16，列宽 3.16:1:1 让三段等高（16/9 ÷ 9/16 ≈ 3.16） */
.mc-protos { display: grid; grid-template-columns: 3.16fr 1fr 1fr; gap: 1.6cqw; align-items: start; }
/* 复刻：两段 1080×1446 竖版成片并排 */
.mc-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6cqw; }
.mc-tall figure, .mc-protos figure, .mc-pair figure { margin: 0; }
.mc-tall video, .mc-protos video, .mc-pair video { display: block; width: 100%; border-radius: var(--card-r); background: #000; }
.mc-tall figcaption, .mc-protos figcaption, .mc-pair figcaption { margin-top: .6cqw; font-size: 1cqw; color: #a4a7ad; }
@media (max-width: 1000px) { .mc-tall, .mc-protos, .mc-pair { grid-template-columns: 1fr; } }
/* ===== 06 复盘 ===== */
/* 共用 .sa-reflect 默认是蓝紫底；f6 与 Hero 同色系收尾。共用规则把 f6 的 .sa-sec-sub 压成 #495366（浅底用色），深底上要提亮。 */
.detail[data-cat="f6"] .sa-reflect { background: radial-gradient(130% 130% at 15% 0%, #3a1a12 0%, #1a1b1d 58%, #141516); }
.detail[data-cat="f6"] .sa-reflect .sa-sec-sub { color: #b3b3b3; }
