/* One heart instead of five reactions on the message bar (connect-react.js, founder 2026-11-04). */
.cn-tools .cn-rx svg { width: 18px; height: 18px; }
.cn-tools .cn-rx:hover, .cn-tools.is-rx .cn-rx { color: #f87171; }
.cn-tools.is-rx .cn-rx { background: rgba(248, 113, 113, 0.12); }
/* While the reactions are open the bar stays up, even when the pointer leaves the message. */
.cn-tools.is-rx { visibility: visible !important; opacity: 1 !important; transform: none !important; z-index: 8; }
.cn-rxpick {
  position: absolute; bottom: calc(100% + 6px); display: none; gap: 2px; padding: 5px 6px;
  background: inherit; border: inherit; border-radius: inherit; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.85);
}
.cn-msg.is-theirs .cn-rxpick { left: 0; }
.cn-msg.is-mine .cn-rxpick { right: 0; }
.cn-tools.is-rx .cn-rxpick { display: flex; }
.cn-tools.is-rx-below .cn-rxpick { bottom: auto; top: calc(100% + 6px); }
.cn-tools .cn-rxpick .cn-tr { width: 38px; height: 38px; }
.cn-tools .cn-rxpick .cn-tr svg { width: 24px; height: 24px; }
.cn-tools .cn-rxpick .cn-tr:focus-visible { outline: 2px solid #2f8bff; outline-offset: -2px; }
@media (prefers-reduced-motion: no-preference) {
  .cn-tools.is-rx .cn-rxpick { animation: cnRxIn 0.14s ease-out; }
  @keyframes cnRxIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 760px) { .cn-tools .cn-rxpick .cn-tr { width: 42px; height: 42px; } }
