/* "Keyword N selected" in the Images / Video action row (static/js/selrun.js).
   Both buttons keep the app's own .btn-gold / .btn-ghost looks; this file only adds the
   entrance, steady numerals and the quiet note under the cost line. Every rule is scoped. */
#img-act .sr-run[hidden],
#vid-act .sr-run[hidden] { display: none; }

#img-act .sr-run .sr-n,
#vid-act .sr-run .sr-n { font-variant-numeric: tabular-nums; font-weight: 600; }

#img-act .sr-run:focus-visible,
#vid-act .sr-run:focus-visible,
#img-act .sr-demoted:focus-visible,
#vid-act .sr-demoted:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.sr-note {
  margin: 8px 0 0;
  padding-left: 2px;
  font-size: .72rem;
  line-height: 1.45;
  color: var(--muted);
}
.sr-note[hidden] { display: none; }

@media (prefers-reduced-motion: no-preference) {
  #img-act .sr-run,
  #vid-act .sr-run { animation: sr-in .22s cubic-bezier(.16, 1, .3, 1); }
  #img-act .sr-demoted,
  #vid-act .sr-demoted { transition: background-color .22s, color .22s, border-color .22s; }
  .sr-note { animation: sr-fade .3s ease-out; }
  @keyframes sr-in {
    from { opacity: 0; transform: translateX(-8px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes sr-fade {
    from { opacity: 0; }
    to { opacity: 1; }
  }
}
