.training-border-card { position: relative; }
.training-border-line { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); overflow: visible; pointer-events: none; border-radius: inherit; }
.training-border-line rect { fill: none; stroke: var(--flame); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 16 84; animation: training-border-travel 6s linear infinite; animation-play-state: paused; }
.training-border-card[data-border-visible="1"] .training-border-line rect { animation-play-state: running; }
@keyframes training-border-travel { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -100; } }
@media (prefers-reduced-motion: reduce) { .training-border-line rect { animation: none; stroke-dasharray: none; opacity: .45; } }
