/* 平台分发示意：一份内容沿连线发往各个平台，平台图标依次点亮
   纯 CSS 动画，不需要脚本；系统开启"减少动态效果"时保持静止 */
.platform-flow { --flow-cycle:4.8s; --flow-step:.34s; margin-top:clamp(34px,4.4vw,58px); text-align:center; }

.platform-flow-hub { position:relative; z-index:1; display:inline-flex; align-items:center; gap:10px; margin:0; padding:11px 22px; border:1px solid #d5e2f3; border-radius:999px; background:#fff; color:#172d4b; font-size:16px; font-weight:650; line-height:1.4; white-space:nowrap; box-shadow:0 8px 24px #18335710; }
.platform-flow-hub::before { content:""; width:9px; height:9px; border-radius:50%; background:var(--accent,#1767e8); box-shadow:0 0 0 4px #1767e81f; }

.platform-flow-lines { display:block; width:100%; max-width:900px; height:auto; margin:-2px auto -6px; overflow:visible; }
.platform-flow-lines path { fill:none; stroke-linecap:round; }
.platform-flow-lines .track { stroke:#d3e1f4; stroke-width:1.4; }
.platform-flow-lines .pulse { stroke:var(--accent,#1767e8); stroke-width:2.4; stroke-dasharray:14 100; stroke-dashoffset:14; opacity:0; }

.platform-flow-list { display:grid; grid-template-columns:repeat(var(--flow-cols,6),minmax(0,1fr)); width:100%; max-width:900px; margin:0 auto; padding:0; list-style:none; }
.platform-flow-list li { display:flex; flex-direction:column; align-items:center; gap:10px; color:#172d4b; font-size:15px; font-weight:600; white-space:nowrap; }
.platform-flow-tile { display:flex; align-items:center; justify-content:center; width:60px; height:60px; border:1px solid #dfe8f5; border-radius:18px; background:#fff; box-shadow:0 6px 18px #1833570d; }
.platform-flow .platform-icon { display:block; width:32px; height:32px; object-fit:contain; border-radius:21%; }
.platform-flow .platform-icon[src$="/wechat-channels.svg"] { transform:scale(1.35); }

@media (prefers-reduced-motion:no-preference) {
  .platform-flow-hub::before { animation:platform-hub-beat var(--flow-cycle) ease-in-out infinite; }
  .platform-flow-lines .pulse { animation:platform-pulse-travel var(--flow-cycle) linear infinite; animation-delay:calc(var(--i) * var(--flow-step)); }
  .platform-flow-tile { animation:platform-tile-arrive var(--flow-cycle) ease-out infinite; animation-delay:calc(var(--i) * var(--flow-step) + 1.05s); }
  .platform-flow-list li > span:last-child { animation:platform-label-arrive var(--flow-cycle) ease-out infinite; animation-delay:calc(var(--i) * var(--flow-step) + 1.05s); }
}
@keyframes platform-hub-beat { 0%,100% { box-shadow:0 0 0 4px #1767e81f; } 6% { box-shadow:0 0 0 9px #1767e800; } 12% { box-shadow:0 0 0 4px #1767e81f; } }
@keyframes platform-pulse-travel { 0% { stroke-dashoffset:14; opacity:0; } 2% { opacity:1; } 24% { stroke-dashoffset:-100; opacity:1; } 25%,100% { stroke-dashoffset:-100; opacity:0; } }
@keyframes platform-tile-arrive { 0%,100% { transform:none; border-color:#dfe8f5; box-shadow:0 6px 18px #1833570d; } 5% { transform:translateY(-5px) scale(1.06); border-color:#8fb8f5; box-shadow:0 0 0 5px #1767e81c,0 14px 28px #1767e826; } 26% { transform:none; border-color:#dfe8f5; box-shadow:0 6px 18px #1833570d; } }
@keyframes platform-label-arrive { 0%,26%,100% { color:#172d4b; } 5% { color:var(--accent,#1767e8); } }

@media (max-width:760px) {
  .platform-flow-hub { padding:9px 18px; font-size:14px; }
  .platform-flow-lines { display:none; }
  .platform-flow-list { display:flex; flex-wrap:wrap; justify-content:center; gap:20px 0; margin-top:22px; }   /* 每行三个，最后一行不满时居中 */
  .platform-flow-list li { flex:0 0 33.333%; gap:7px; font-size:13px; }
  .platform-flow-tile { width:54px; height:54px; border-radius:16px; }
  .platform-flow .platform-icon { width:29px; height:29px; }
}
