.emblem-motion-art {
  --emblem-lift: -3px;
  animation: emblem-float 5s cubic-bezier(.45,0,.55,1) infinite;
  animation-play-state: paused;
}
.store-choice-art .emblem-motion-art,
.home-rank-choices .emblem-motion-art { --emblem-lift: -1px; }
.emblem-motion-stage::after {
  content: '';
  position: absolute;
  inset: 5%;
  pointer-events: none;
  border-radius: 50%;
  background:
    radial-gradient(circle at 19% 29%, #eab073 0 1px, transparent 3px),
    radial-gradient(circle at 79% 69%, #eab073 0 1px, transparent 3px),
    radial-gradient(ellipse at center, transparent 43%, #e8862920 55%, transparent 68%);
  opacity: 0;
  animation: emblem-embers 5s ease-in-out infinite;
  animation-play-state: paused;
}
.emblems-playing .emblem-motion-art.emblem-in-view,
.emblems-playing .emblem-motion-stage.emblem-in-view::after { animation-play-state: running; }
@keyframes emblem-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 var(--emblem-lift); }
}
@keyframes emblem-embers {
  0%, 100% { opacity: .18; transform: rotate(-5deg); }
  50% { opacity: .65; transform: rotate(5deg); }
}
@media (prefers-reduced-motion: reduce) {
  .emblem-motion-art { animation: none; }
  .emblem-motion-stage::after { display: none; animation: none; }
}
.emblem-motion-control {
  justify-self: start;
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid #655b4c;
  border-radius: 3px;
  color: #cfc4ad;
  background: transparent;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.emblem-motion-control:hover { color: #fff1d5; border-color: #df9b59; }
.emblem-motion-control:focus-visible { outline: 2px solid #df9b59; outline-offset: 4px; }
.emblem-motion-control[hidden] { display: none; }
