.commander-motion {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 0;
}
.commander-motion.is-playing { opacity: 1; }
.deck-banner > .commander-motion { z-index: 0; filter: brightness(.45); object-position: top; }
.deck-banner > :not(.commander-motion) { z-index: 1; }
.editor-motion-preview { display: block; width: 100%; max-height: 260px; margin-top: 8px; }
.editor-motion-preview[hidden] { display: none; }
.life-card > .commander-motion { z-index: 0; transform: rotate(var(--card-rotation)); }
.life-card.motion-playing::before {
  z-index: 1;
  background-image: linear-gradient(rgba(0,0,0,.20),rgba(0,0,0,.40));
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .commander-motion { display: none; }
}
