/* ==========================================================================
   art.css —— 内置矢量技术插画的绘制规范
   没有真实产品照片时，用统一的"工程线条图"呈现设备，风格一致且不显廉价。
   后台上传图片后，前台自动改用真实图片，本样式仅作用于占位插画。
   ========================================================================== */

.art { width: 100%; height: 100%; display: block; }

/* 主轮廓线 */
.art .ln { fill: none; stroke: #7f93ad; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
/* 次级细节线 */
.art .ln2 { fill: none; stroke: #b9c7d8; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
/* 极细辅助线（基准线 / 尺寸线） */
.art .ln3 { fill: none; stroke: #d6dfec; stroke-width: 1; stroke-dasharray: 4 4; stroke-linecap: round; }
/* 强调线（主轴、刀具、能量流） */
.art .ac { fill: none; stroke: #0b4fd8; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
/* 淡填充块面 */
.art .fl { fill: #e8eefa; stroke: none; }
.art .fl2 { fill: #f3f6fb; stroke: none; }
/* 强调填充 */
.art .fa { fill: #0b4fd8; stroke: none; }
.art .fa2 { fill: #2f7dff; stroke: none; opacity: .18; }
/* 节点圆点 */
.art .dot { fill: #b9c7d8; stroke: none; }
.art .dot-ac { fill: #0b4fd8; stroke: none; }

/* 尺寸标注文字 */
.art .cap {
  fill: #9aa7b8; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px; letter-spacing: .12em;
}

/* 大型插画（Hero / 页头）：线更细、颜色更淡，避免抢占文字注意力 */
.art--hero .ln { stroke: #9db0c6; stroke-width: 1.4; }
.art--hero .ln2 { stroke: #ccd8e6; stroke-width: 1; }
.art--hero .ac { stroke: #2f7dff; stroke-width: 1.6; opacity: .85; }
.art--hero .fl { fill: #e6edfa; }

/* 缓慢描线动效：仅在支持且未开启减少动态时生效 */
@media (prefers-reduced-motion: no-preference) {
  .art .ac--flow { stroke-dasharray: 6 10; animation: art-flow 2.4s linear infinite; }
  @keyframes art-flow { to { stroke-dashoffset: -32; } }
  .art .pulse { animation: art-pulse 2.6s var(--ease, ease-in-out) infinite; transform-origin: center; }
  @keyframes art-pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
}
