/*
 * Pokédex NEW acknowledgement micro-state.
 * The server remains authoritative; this only makes the click legible.
 */

.dex-entry.is-registering {
  border-color: rgba(92, 242, 191, .72) !important;
  box-shadow:
    0 0 0 1px rgba(92, 242, 191, .15),
    0 0 28px rgba(92, 242, 191, .13) !important;
}

.dex-entry.is-registering .dex-entry__new-signal {
  min-width: 74px;
  background: rgba(31, 102, 76, .9) !important;
  border-color: rgba(94, 239, 177, .68) !important;
  color: #cffff0 !important;
  font-size: .39rem !important;
  letter-spacing: .045em !important;
  animation: boomDexRegisterPulse .8s ease-in-out infinite alternate;
}

@keyframes boomDexRegisterPulse {
  from { opacity: .55; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .dex-entry.is-registering .dex-entry__new-signal {
    animation: none !important;
  }
}
