/* MeowChat topic heartbeat 1.0.0 — decorative only. */
#neko-app .mch-topic {
  --mch-heart: #cf4a50;
}
#neko-app.nk-night .mch-topic {
  --mch-heart: #ff8997;
}
#neko-app .mch-beat {
  position: relative;
  display: inline-block;
  inline-size: 0.9em;
  block-size: 0.9em;
  margin-inline-end: 0.36em;
  vertical-align: -0.08em;
  flex: 0 0 auto;
  color: var(--mch-heart);
  line-height: 1;
  pointer-events: none;
  transform-origin: 50% 55%;
  animation: mch-double-beat 3.8s ease-in-out infinite;
  animation-delay: var(--mch-delay, 0s);
  animation-play-state: paused;
}
#neko-app .mch-beat > svg {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  overflow: visible;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 0.75;
}
#neko-app .mch-topic[data-mch-in-view] > .mch-beat {
  animation-play-state: running;
}
#neko-app .mch-topic:active > .mch-beat,
#neko-app .mch-topic:focus-visible > .mch-beat,
#neko-app .na-card:focus-within .mch-beat,
html[data-mch-paused] #neko-app .mch-beat,
html[data-neko-motion="reduced"] #neko-app .mch-beat {
  animation: none;
  transform: none;
}
@media (hover: hover) and (pointer: fine) {
  #neko-app .mch-topic:hover > .mch-beat,
  #neko-app .na-card:hover .mch-beat {
    animation: none;
    transform: none;
  }
}
@keyframes mch-double-beat {
  0%, 9%, 23%, 100% { transform: scale(1); }
  4% { transform: scale(1.24); }
  15% { transform: scale(1.13); }
}
@media (prefers-reduced-motion: reduce) {
  #neko-app .mch-beat {
    animation: none !important;
    transform: none !important;
  }
}
