/* InazumArcade V853 — slower idle motion for standard LEGGENDA cards.
   Applies only to normal Legendary cards in the collection and debug gallery.
   One-shot reveals and special card families are deliberately excluded. */

/* The main gold frame breathes less frequently, keeping the same glow profile. */
#iaScoutingOverlay .ia-v517-collection .ia-os-card.rarity-leggenda:not(.is-legend-reveal):not(.ia-v797-special-card):not(.ia-v589-tag-card),
#iaOsCardDebugOverlay .ia-v516-debug-item:not(.is-revealing) .ia-os-card.rarity-leggenda:not(.is-legend-reveal):not(.ia-v797-special-card):not(.ia-v589-tag-card){
  animation-duration:3.75s!important;
}

/* Inner rotating energy, pulse ring and dashed orbit: approximately one-third slower. */
#iaScoutingOverlay .ia-v517-collection .ia-os-card.rarity-leggenda:not(.is-legend-reveal):not(.ia-v797-special-card):not(.ia-v589-tag-card) .ia-os-card-energy,
#iaOsCardDebugOverlay .ia-v516-debug-item:not(.is-revealing) .ia-os-card.rarity-leggenda:not(.is-legend-reveal):not(.ia-v797-special-card):not(.ia-v589-tag-card) .ia-os-card-energy{
  animation-duration:8.2s!important;
}
#iaScoutingOverlay .ia-v517-collection .ia-os-card.rarity-leggenda:not(.is-legend-reveal):not(.ia-v797-special-card):not(.ia-v589-tag-card) .ia-os-card-energy::before,
#iaOsCardDebugOverlay .ia-v516-debug-item:not(.is-revealing) .ia-os-card.rarity-leggenda:not(.is-legend-reveal):not(.ia-v797-special-card):not(.ia-v589-tag-card) .ia-os-card-energy::before{
  animation-duration:2.1s!important;
}
#iaScoutingOverlay .ia-v517-collection .ia-os-card.rarity-leggenda:not(.is-legend-reveal):not(.ia-v797-special-card):not(.ia-v589-tag-card) .ia-os-card-energy::after,
#iaOsCardDebugOverlay .ia-v516-debug-item:not(.is-revealing) .ia-os-card.rarity-leggenda:not(.is-legend-reveal):not(.ia-v797-special-card):not(.ia-v589-tag-card) .ia-os-card-energy::after{
  animation-duration:5.6s!important;
}

/* The bright scan and the corner spark remain present, but move more calmly. */
#iaScoutingOverlay .ia-v517-collection .ia-os-card.rarity-leggenda:not(.is-legend-reveal):not(.ia-v797-special-card):not(.ia-v589-tag-card) .ia-os-card-scan,
#iaOsCardDebugOverlay .ia-v516-debug-item:not(.is-revealing) .ia-os-card.rarity-leggenda:not(.is-legend-reveal):not(.ia-v797-special-card):not(.ia-v589-tag-card) .ia-os-card-scan{
  animation-duration:1.02s!important;
}
#iaScoutingOverlay .ia-v517-collection .ia-os-card.rarity-leggenda:not(.is-legend-reveal):not(.ia-v797-special-card):not(.ia-v589-tag-card) .ia-os-card-spark,
#iaOsCardDebugOverlay .ia-v516-debug-item:not(.is-revealing) .ia-os-card.rarity-leggenda:not(.is-legend-reveal):not(.ia-v797-special-card):not(.ia-v589-tag-card) .ia-os-card-spark{
  animation-duration:1.56s!important;
}

/* Do not change reveal choreography, artwork, glow strength or card geometry. */
@media(prefers-reduced-motion:reduce){
  #iaScoutingOverlay .ia-v517-collection .ia-os-card.rarity-leggenda,
  #iaOsCardDebugOverlay .ia-v516-debug-item .ia-os-card.rarity-leggenda{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
  }
}
