.flow-node > .company-avatar { background: transparent; overflow: hidden; border-radius: 25%; }
.flow-node > .company-avatar img { display: block; width: 100%; height: 100%; object-fit: contain; }
.flow-toolbar { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 44px; }
.flow-toolbar .flow-currencies { margin-bottom: 0; }
.flow-autoplay .flow-currencies .tab { position: relative; min-height: 44px; overflow: hidden; }
.flow-autoplay .flow-currencies .tab.active::after { content: ''; position: absolute; height: 2px; left: 14px; right: 14px; bottom: 5px; border-radius: 2px; background: #1687f0; transform: scaleX(var(--flow-progress, 0)); transform-origin: left; }
.flow-autoplay .flow-line i { animation: none; left: calc(var(--packet-progress, 0) * 100%); opacity: var(--packet-opacity, 0); width: 9px; height: 9px; top: -5px; box-shadow: 0 0 0 6px #69bfff26, 0 0 16px #4bb6ff80; }
.flow-autoplay .flow-nodes > .flow-line:nth-child(2) { --packet-progress: var(--flow-first, 0); --packet-opacity: var(--flow-first-opacity, 0); }
.flow-autoplay .flow-nodes > .flow-line:nth-child(4) { --packet-progress: var(--flow-second, 0); --packet-opacity: var(--flow-second-opacity, 0); }
.flow-autoplay .core > svg { transform: scale(calc(1 + var(--flow-core, 0) * .12)); }
.flow-autoplay .core::after { animation: none; opacity: calc(var(--flow-core, 0) * .8); scale: calc(1 + var(--flow-core, 0) * .08); }
.flow-autoplay .flow-node:last-child { transform: translateY(calc(var(--flow-arrival, 0) * -4px)); box-shadow: 0 0 0 2px rgb(8 126 242 / calc(var(--flow-arrival, 0) * .18)), 0 12px 32px #2963910c; }
#flow-result { display: block; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .flow-toolbar { margin-bottom: 28px; gap: 12px; }
  .flow-autoplay .flow-line i { left: -5px !important; top: calc(var(--packet-progress, 0) * 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .flow-autoplay .flow-currencies .tab.active::after { display: none; }
  .flow-autoplay .flow-node:last-child, .flow-autoplay .core > svg { transform: none; }
}
