/* Transparent studio cutouts. Only the transfer cues and confirmations move. */
.pf-flow.pf-flow {
  --pf-orange: #f7921d;
  --pf-cycle: 16s;
  position: relative;
  isolation: isolate;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: #d3d6d9;
  font-family: 'DM Sans', Arial, sans-serif;
  line-height: 1.4;
}
.pf-flow * { box-sizing: border-box; }
.pf-flow .pf-scene { position: relative; width: 100%; aspect-ratio: 560 / 380; isolation: isolate; }
.pf-flow .pf-wires { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; z-index: 1; pointer-events: none; }
.pf-flow .pf-route { stroke: #b0804f59; stroke-width: 1.3; }
.pf-flow .pf-transfer { stroke: #f9b45e; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 13 100; stroke-dashoffset: 15; opacity: 0; }
.pf-flow .pf-object { position: absolute; aspect-ratio: 1; z-index: 2; }
.pf-flow .pf-card-object { left: 0; top: 9%; width: 35%; }
.pf-flow .pf-numus-object { left: 37%; top: 29%; width: 26%; }
.pf-flow .pf-bank-object { left: 67%; top: 41%; width: 33%; }
.pf-flow .pf-icon { display: block; width: 100%; height: 100%; aspect-ratio: 1; object-fit: contain; filter: none; }
.pf-flow .pf-node-label { position: absolute; transform: translateX(-50%); z-index: 3; color: #b7bec5; font-size: 12px; font-weight: 450; white-space: nowrap; }
.pf-flow .pf-label-card { left: 17.5%; top: 62%; }
.pf-flow .pf-label-numus { left: 50%; top: 74%; color: var(--pf-orange); font-size: 14px; font-weight: 600; letter-spacing: .35px; }
.pf-flow .pf-label-bank { left: 83.5%; top: 95%; }
.pf-flow .pf-toast {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid #ffffff24;
  border-radius: 8px;
  background: #141b23f2;
  color: #e0e4e8;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(3px);
}
.pf-flow .pf-toast-card { left: 2%; top: 4%; }
.pf-flow .pf-toast-bank { right: 0; top: 31%; border-color: #f7921d3b; }
.pf-flow .pf-toast-check { display: grid; place-items: center; flex: none; width: 17px; height: 17px; border-radius: 50%; background: #f7921d16; color: #f9ac47; }
.pf-flow .pf-toast-check svg { display: block; width: 13px; height: 13px; flex: none; }

/* A static, fully labeled scene remains usable when JavaScript is unavailable. */
.pf-flow[data-pf-ready] .pf-transfer-first { animation: pf-transfer-first var(--pf-cycle) linear infinite; }
.pf-flow[data-pf-ready] .pf-transfer-second { animation: pf-transfer-second var(--pf-cycle) linear infinite; }
.pf-flow[data-pf-ready] .pf-toast-card { animation: pf-payment-confirmed var(--pf-cycle) ease-in-out infinite; }
.pf-flow[data-pf-ready] .pf-toast-bank { animation: pf-deposit-confirmed var(--pf-cycle) ease-in-out infinite; }
@keyframes pf-transfer-first {
  0%, 7% { opacity: 0; stroke-dashoffset: 15; }
  10% { opacity: .85; }
  26% { opacity: .85; stroke-dashoffset: -100; }
  29%, 100% { opacity: 0; stroke-dashoffset: -100; }
}
@keyframes pf-transfer-second {
  0%, 27% { opacity: 0; stroke-dashoffset: 15; }
  30% { opacity: .85; }
  44% { opacity: .85; stroke-dashoffset: -100; }
  47%, 100% { opacity: 0; stroke-dashoffset: -100; }
}
@keyframes pf-payment-confirmed {
  0% { opacity: 0; transform: translateY(3px); }
  3%, 11% { opacity: 1; transform: translateY(0); }
  17%, 100% { opacity: 0; transform: translateY(0); }
}
@keyframes pf-deposit-confirmed {
  0%, 44% { opacity: 0; transform: translateY(3px); }
  48%, 68% { opacity: 1; transform: translateY(0); }
  75%, 100% { opacity: 0; transform: translateY(0); }
}
.pf-flow .pf-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 29px 10px 0; border-top: 1px solid #ffffff12; padding-top: 16px; }
.pf-flow .pf-summary { font-size: 12px; color: #a8adb3; }
.pf-flow .pf-motion { display: flex; align-items: center; justify-content: center; gap: 6px; flex: none; min-width: 64px; min-height: 40px; margin: -10px -6px -10px 0; padding: 6px; border: 0; border-radius: 6px; background: transparent; color: #a8adb3; cursor: pointer; font: inherit; font-size: 11px; }
.pf-flow .pf-motion[hidden] { display: none; }
.pf-flow .pf-motion:hover { color: #fff; background: #ffffff08; }
.pf-flow .pf-motion:focus-visible { outline: 2px solid var(--pf-orange); outline-offset: 3px; }
.pf-flow .pf-motion svg { display: block; width: 11px; height: 11px; flex: none; }
.pf-flow .pf-motion .pf-play-icon { display: none; }
.pf-flow[data-pf-paused] .pf-pause-icon { display: none; }
.pf-flow[data-pf-paused] .pf-motion .pf-play-icon { display: block; }
.pf-flow .pf-caption { margin: 12px 10px 0; padding: 0; text-align: left; color: #899098; font-size: 11px; line-height: 1.55; letter-spacing: .04px; }
.pf-flow[data-pf-paused] .pf-animated,
.pf-flow[data-pf-suspended] .pf-animated { animation-play-state: paused !important; }
.pf-flow[data-pf-reduced] .pf-animated { animation: none !important; display: none; }
.pf-flow[data-pf-reduced] .pf-motion { display: none; }
@media (max-width: 1100px) and (min-width: 801px) {
  .pf-flow .pf-node-label { font-size: 11px; }
  .pf-flow .pf-label-numus { font-size: 13px; }
  .pf-flow .pf-toast { padding: 6px 8px; font-size: 10px; gap: 5px; }
  .pf-flow .pf-toast-bank { top: 24%; }
  .pf-flow .pf-footer { margin-inline: 0; gap: 8px; }
  .pf-flow .pf-summary { font-size: 11px; }
}
@media (max-width: 480px) {
  .pf-flow .pf-node-label { font-size: 11px; }
  .pf-flow .pf-label-numus { font-size: 13px; }
  .pf-flow .pf-toast { padding: 6px 8px; font-size: 10px; gap: 5px; }
  .pf-flow .pf-toast-card { top: 0; }
  .pf-flow .pf-toast-bank { top: 21%; }
  .pf-flow .pf-toast-check { width: 15px; height: 15px; }
  .pf-flow .pf-footer { margin: 28px 0 0; gap: 4px; }
  .pf-flow .pf-summary { font-size: 11px; }
  .pf-flow .pf-caption { margin-inline: 0; font-size: 10px; }
  .pf-flow .pf-motion { min-width: 56px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .pf-flow .pf-animated { animation: none !important; display: none; }
  .pf-flow .pf-motion { display: none; }
}
