/* CSS controls only the SVG ornament. Its portrait and TOP label are siblings. */
.rt-frame {
  --rt-play: paused;
  --rt-orbit-duration: 6.2s;
  --rt-phase: -.7s;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.rt-frame > svg { display: block; width: 100%; height: 100%; overflow: visible }
.podium-frame-awake .rt-frame { --rt-play: running }
.hub-page.is-paused .rt-frame, .phone.has-preview-modal .rt-frame { --rt-play: paused }

.rt-frame[data-frame-rank="2"] { --rt-orbit-duration: 7s; --rt-phase: -2.6s }
.rt-frame[data-frame-rank="3"] { --rt-orbit-duration: 7.8s; --rt-phase: -5.2s }
.rt-orbit { transform-origin: 60px 60px; animation: rt-orbit var(--rt-orbit-duration) var(--rt-phase) linear infinite }
.rt-spark { transform-box: fill-box; transform-origin: center; animation: rt-spark 2.9s var(--rt-phase) ease-in-out infinite }
.rt-spark--late { animation-delay: calc(var(--rt-phase) - 1.25s) }
.rt-dust { transform-origin: 60px 60px; animation: rt-drift 3.9s var(--rt-phase) ease-in-out infinite }
.rt-sun-glint { animation: rt-glint 2.8s var(--rt-phase) ease-in-out infinite }
.rt-laurel { transform-origin: 27px 90px; animation: rt-leaves 3.5s -.7s ease-in-out infinite }
.rt-coin { transform-box: fill-box; transform-origin: center; animation: rt-coin 3.4s -.8s ease-in-out infinite }
.rt-compass { transform-box: fill-box; transform-origin: center; animation: rt-compass 3.8s -.6s ease-in-out infinite }
.rt-moon, .rt-comet-head { transform-origin: 60px 60px; animation: rt-crest 3.6s -.65s ease-in-out infinite alternate }
.rt-comet-head { --rt-crest-start: -8deg; --rt-crest-end: 10deg; animation-duration: 2.7s; animation-delay: -.8s }
.rt-tide { transform-origin: 56px 103px; animation: rt-tide 3.3s -.7s ease-in-out infinite }
.rt-comet { animation: rt-comet 2.9s linear infinite }
.rt-wing { transform-origin: 36px 98px; animation: rt-wings 3.2s -.3s ease-in-out infinite }
.rt-bloom { transform-box: fill-box; transform-origin: center; animation: rt-bloom 3.8s -.8s ease-in-out infinite }
.rt-bell { transform-origin: 0 0; animation: rt-bell 2.9s -.25s ease-in-out infinite }
.rt-frame--female-3 g:nth-of-type(2) > .rt-bell { animation-delay: -.8s }
.rt-frame--female-3 g:nth-of-type(3) > .rt-bell { animation-delay: -1.55s }
.rt-frame svg * { animation-play-state: var(--rt-play) }

@keyframes rt-orbit { to { transform: rotate(360deg) } }
@keyframes rt-drift {
  0%, 100% { opacity: .48; transform: rotate(-8deg) }
  55% { opacity: 1; transform: rotate(8deg) }
}
@keyframes rt-spark {
  0%, 78%, 100% { opacity: .45; transform: scale(.72) }
  38% { opacity: 1; transform: scale(1.32) }
}
@keyframes rt-glint {
  0%, 70%, 100% { opacity: .16; transform: translate(-1.6px, 1px) }
  43% { opacity: 1; transform: translate(1.4px, -1px) }
}
@keyframes rt-leaves {
  0%, 100% { transform: rotate(-1.8deg) }
  52% { transform: rotate(3.2deg) }
}
@keyframes rt-coin {
  0%, 100% { transform: scaleX(1) rotate(-5deg) }
  54% { transform: scaleX(.55) rotate(4deg) }
}
@keyframes rt-compass {
  0%, 100% { transform: rotate(-14deg) }
  53% { transform: rotate(18deg) }
}
@keyframes rt-crest {
  from { transform: rotate(var(--rt-crest-start, -5deg)) }
  to { transform: rotate(var(--rt-crest-end, 6deg)) }
}
@keyframes rt-tide {
  0%, 100% { transform: rotate(1.2deg) scaleY(1) }
  48% { transform: rotate(-3.2deg) scaleY(.9) }
}
@keyframes rt-comet {
  from { stroke-dashoffset: 100 }
  to { stroke-dashoffset: 0 }
}
@keyframes rt-wings {
  0%, 100% { transform: scaleX(1) rotate(0) }
  42% { transform: scaleX(.72) rotate(-5deg) }
  72% { transform: scaleX(.95) rotate(-1deg) }
}
@keyframes rt-bloom {
  0%, 100% { transform: scale(.93) rotate(-7deg) }
  50% { transform: scale(1.08) rotate(7deg) }
}
@keyframes rt-bell {
  0%, 100% { transform: rotate(-15deg) }
  49% { transform: rotate(15deg) }
}
@media (prefers-reduced-motion: reduce) {
  .rt-frame svg * { animation: none !important }
  .rt-orbit { display: none }
}
