/* Message reactions (charter §13.12, type 9): chips under the bubble content
   and a small picker anchored to the per-message actions. */
.msg-reactions { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.msg-reaction {
  border: 1px solid var(--sc-border, #2a3242);
  background: rgba(127, 127, 127, .08);
  color: inherit;
  border-radius: 10px;
  padding: 1px 6px;
  font-size: 12px;
  line-height: 18px;
  cursor: pointer;
}
.msg-reaction.mine {
  border-color: var(--sc-accent);
  color: var(--sc-accent);
  background: rgba(168, 230, 200, .12);
}
.msg-reaction:hover { background: rgba(127, 127, 127, .18); }
.reaction-picker {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  padding: 4px;
  background: var(--sc-panel);
  border: 1px solid var(--sc-border, #2a3242);
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
}
.reaction-picker button {
  border: 0;
  background: transparent;
  font-size: 16px;
  line-height: 1;
  padding: 4px;
  border-radius: 6px;
  cursor: pointer;
}
.reaction-picker button:hover { background: rgba(127, 127, 127, .18); }
