/* NOMAD Live 3.42 card expansion motion — presentation only.
   event-monitor.js explicitly focuses the newly opened card after render;
   scoping the animation to :focus prevents live feed refreshes from replaying it.
   No feed, engine, polling, market, analytics, graph data or click logic is changed. */

@keyframes nomad342-card-expand-reveal {
  from {
    opacity:.56;
    transform:translateY(-5px);
    clip-path:inset(0 0 28% 0);
  }
  to {
    opacity:1;
    transform:translateY(0);
    clip-path:inset(0);
  }
}

.event-compact.expanded:focus > .event-details {
  transform-origin:top center;
  animation:nomad342-card-expand-reveal 140ms cubic-bezier(.2,.75,.2,1) both;
  will-change:transform,opacity,clip-path;
}

@media (prefers-reduced-motion: reduce) {
  .event-compact.expanded:focus > .event-details {
    animation:none;
    will-change:auto;
  }
}
