/* /assets/machines/home-equipment/how-a-tankless-gas-water-heater-works-cutaway.css — 本页专属样式（en/zh 共用） */
/* ============ 特殊材质（Solid-fill internals） ============ */
.part .water{fill:#6fa8dc;fill-opacity:.6;stroke:#2563eb;stroke-width:1.2}
.part.is-active .water{fill:#2563eb;fill-opacity:.75}
.part .ceramic{fill:#f1f4f8;stroke:#9aa6b8;stroke-width:2}
.part.is-active .ceramic{fill:#ffffff;stroke:var(--accent-2)}
.part .coffee{fill:#6f4a2f;stroke:#4b3220;stroke-width:1}
.part.is-active .coffee{fill:#8a5a38;stroke:#b0703a}
.part .crema{fill:#d9a86c}
.part.is-active .crema{fill:#e8b877}
.stream{fill:none;stroke:#6f4a2f;stroke-width:6;stroke-linecap:round;stroke-dasharray:9 9;opacity:.85}
.is-running .stream{animation:flow 1.1s linear infinite}

/* ============ 零件本体/区分色（part bodies & per-part distinct fills） ============ */
.part .body{fill:var(--metal);stroke:#8ea0b5;stroke-width:1.6}
.part .body2{fill:var(--metal-2);stroke:#a9b7c9;stroke-width:1.2}
.part .body3{fill:#c6d0dd;stroke:none}
.part .accent{fill:none;stroke:#6b7b8c;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
/* active highlight stays blue */
.part.is-active .body{fill:#cfe3fb;stroke:var(--accent)}
.part.is-active .body2{fill:#e3eefc;stroke:#60a5fa}
.part.is-active .body3{fill:var(--accent)}
.part.is-active .accent{stroke:var(--accent-2)}
.part.is-active{filter:drop-shadow(0 0 10px rgba(37,99,235,.35))}

/* ============ 动画：叶轮 / 光环（motion） ============ */
.impeller{transform-box:view-box;animation:spin 1.4s linear infinite;animation-play-state:paused}
.is-running .impeller{animation-play-state:running}
@keyframes spin{to{transform:rotate(360deg)}}

.halo{opacity:0;transition:opacity .5s}
.is-running .halo{opacity:1;animation:halo 2.2s ease-in-out infinite}
@keyframes halo{0%,100%{opacity:.35}50%{opacity:.85}}

/* ============ 管道流动（flow） ============ */
.pipe-case{fill:none;stroke:#94a3b8;stroke-width:24;stroke-linecap:round;stroke-linejoin:round}
.pipe-flow{
  fill:none;stroke:var(--accent);stroke-width:6;stroke-linecap:round;stroke-linejoin:round;
  stroke-dasharray:10 16;opacity:0;transition:opacity .4s;
}
.pipe-flow.hot{stroke:#ea580c}
.pipe-flow.cold{stroke:#2563eb}
.is-running .pipe-flow{opacity:.95;animation:flow 1.15s linear infinite}
.is-running .pipe-flow.hot{animation-duration:.9s}
@keyframes flow{to{stroke-dashoffset:-26}}
/* ============ 无储水式燃气热水器剖面图 · Tankless gas water heater cutaway ============
   源图：svgs/无储水式燃气热水器.html（只读定稿源）。其页内 <style> 的材质/动画并入此处（页面禁止内联 <style>）。
   通用类（.part/.body/.body2/.body3/.accent/.tag/.tag-sm/.pipe-case/.pipe-flow(+hot/cold)）已在 base + 类目表中存在，
   此处只补本图专属材质与动画；新增动画统一用 tl-* 前缀，避免与其他剖面页冲突。
   选择器统一带 :not(.is-active)，保证全局 .part.is-active 高亮仍生效。 */
.part[data-id="part-flow-sensor"]:not(.is-active) .body{fill:#dbeafe;stroke:#7cb6dd}
.part[data-id="part-flow-sensor"]:not(.is-active) .body2{fill:#eaf4fe}
.part[data-id="part-burner"]:not(.is-active) .body{fill:#f3e2cb}
.part[data-id="part-burner"]:not(.is-active) .body2{fill:#faf0e0}
.part[data-id="part-gas-valve"]:not(.is-active) .body{fill:#f3e2cb}
.part[data-id="part-gas-valve"]:not(.is-active) .body2{fill:#faf0e0}
.part[data-id="part-blower"]:not(.is-active) .body{fill:#dbe3ee}
.part[data-id="part-blower"]:not(.is-active) .body2{fill:#eef3f9}
.part[data-id="part-flue"]:not(.is-active) .body{fill:#c8d2de}
.part[data-id="part-outlet"]:not(.is-active) .body{fill:#fbdec0}
.part[data-id="part-outlet"]:not(.is-active) .body2{fill:#fdeada}
.part[data-id="part-control-board"]:not(.is-active) .body{fill:#dbe3ee}
.part[data-id="part-control-board"]:not(.is-active) .body2{fill:#eef3f9}

/* 换热器材质（翅片 + 铜盘管；盘管水色 冷蓝→热橙，仅用于水通路） */
.tl-fins{stroke:#c8d2de;stroke-width:1.2;opacity:.7}
.tl-fins line{fill:none}
.tl-coil-case{fill:none;stroke:#dbe3ee;stroke-width:18;stroke-linecap:round;stroke-linejoin:round}
.tl-coil-water{fill:none;stroke-width:9;stroke-linecap:round;stroke-linejoin:round}
.tl-coil-flow{fill:none;stroke:#ffffff;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:8 14;opacity:0;transition:opacity .4s}
.is-running .tl-coil-flow{opacity:.7;animation:flow 1.15s linear infinite}

/* 风机 / 传感器叶轮（复用共享 .impeller + @keyframes spin，绕各自中心） */
.part[data-id="part-blower"] .impeller{transform-origin:600px 220px}
.part[data-id="part-flow-sensor"] .impeller{transform-origin:170px 620px}
.tl-fan-blade{fill:none;stroke:#5b6a7d;stroke-width:3.5;stroke-linecap:round}
.tl-sensor-blade{stroke:#38bdf8;stroke-width:2.5;stroke-linecap:round}

/* 火焰跳动（新动画 · 唯一命名） */
.tl-flame{transform-box:fill-box;transform-origin:bottom center}
.is-running .tl-flame{animation:tl-flame .9s ease-in-out infinite}
.is-running .tl-flame:nth-child(2){animation-duration:1.1s;animation-delay:.1s}
.is-running .tl-flame:nth-child(3){animation-duration:.8s;animation-delay:.2s}
.is-running .tl-flame:nth-child(4){animation-duration:1s;animation-delay:.05s}
.is-running .tl-flame:nth-child(5){animation-duration:.95s;animation-delay:.15s}
.is-running .tl-flame:nth-child(6){animation-duration:1.05s;animation-delay:.25s}
.is-running .tl-flame:nth-child(7){animation-duration:.85s;animation-delay:.08s}
@keyframes tl-flame{
  0%,100%{transform:scaleY(1) scaleX(1);opacity:.9}
  50%{transform:scaleY(1.15) scaleX(.92);opacity:1}
}

/* 燃烧室辉光（新动画） */
.tl-burn{opacity:.5}
.is-running .tl-burn{animation:tl-burn 1.2s ease-in-out infinite}
@keyframes tl-burn{0%,100%{opacity:.55}50%{opacity:.9}}

/* 出水温度传感器脉冲（新动画） */
.tl-temp{opacity:.6}
.is-running .tl-temp{animation:tl-temp 2s ease-in-out infinite}
@keyframes tl-temp{0%,100%{opacity:.5}50%{opacity:1}}

/* 控制信号（新动画） */
.tl-signal{fill:none;stroke:#d97706;stroke-width:2;stroke-dasharray:5 5;opacity:.85}
.is-running .tl-signal{animation:tl-signal 1.5s linear infinite}
@keyframes tl-signal{to{stroke-dashoffset:-20}}

/* 管道变体：燃气 / 烟气（复用共享 .pipe-flow + @keyframes flow） */
.pipe-flow.gas{stroke:#d97706}
.pipe-flow.smoke{stroke:#94a3b8}

