/* NPXSHOP STAGING P06 MOTION FIX3 — composited micro-interactions; no animated blur/layout. */
:root { --p06-motion-ease: cubic-bezier(.22,1,.36,1); }

/* The app already animates many SVGs on its own. Do not override their idle/entry
   keyframes; this rule only enables lightweight transitions on previously static icons. */
@media (hover:hover) and (pointer:fine) {
  #appView :is(button,a,[role="button"],[role="tab"]):not(:disabled):not([aria-disabled="true"]):hover > svg,
  #appView :is(button,a,[role="button"],[role="tab"]):not(:disabled):not([aria-disabled="true"]):hover > :is(span,i) > svg,
  #loginView :is(button,a):not(:disabled):hover > svg {
    scale: 1.065;
    transition: scale 240ms var(--p06-motion-ease);
  }
}
#appView :is(button,a,[role="button"],[role="tab"]) svg,
#loginView :is(button,a,[role="button"],[role="tab"]) svg {
  transform-origin:center;
  /* scale is independent of transform: existing transform-based icons keep their animations. */
  transition:scale 220ms var(--p06-motion-ease);
}
#appView :is(button,a,[role="button"],[role="tab"]):not(:disabled):active svg,
#loginView :is(button,a,[role="button"],[role="tab"]):not(:disabled):active svg {
  scale: .94;
  transition-duration:120ms;
}

/* Modular reseller uses independent routed pages: entry is via one bounded JS
   IntersectionObserver; this class is deliberately inert without JS. */
/* Pause only decorative ambient animations while fingers are scrolling on mobiles. */
@media (max-width:760px) and (prefers-reduced-motion:no-preference) {
  html.p06-scrolling .ambient-orb { animation-play-state:paused!important; }
}

/* Accessibility and battery saver: content is never made invisible by default.
   A native control's keyboard focus outline remains visible. */
@media (prefers-reduced-motion:reduce) {
  #appView :is(button,a,[role="button"],[role="tab"]) svg,
  #loginView :is(button,a,[role="button"],[role="tab"]) svg {
    scale:1!important;
    transition:none!important;
    animation:none!important;
  }
}
