.chatMessageIdentity .chatReplyName {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  min-height: 44px;
  margin: -8px 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.chatReplyName:hover strong { text-decoration: underline; }
.chatReplyName:focus-visible,
.chatReplyPreview button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

.chatComposer .chatReplyPreview {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 4px 0 4px 10px;
  border-left: 3px solid var(--accent);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.chatReplyPreview[hidden] { display: none !important; }
.chatReplyCopy { flex: 1; min-width: 0; }
.chatReplyCopy strong, .chatReplyCopy > span,
.chatReplyQuote strong, .chatReplyQuote > span {
  display: block;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chatReplyCopy strong { color: var(--accent); }
.chatReplyCopy > span { color: var(--text); opacity: .72; }
.chatComposer .chatReplyPreview button {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  color: var(--text);
}
.chatReplyPreview .icon-close { width: 16px; height: 16px; }
.chatReplyQuote {
  display: block;
  min-width: 0;
  margin: 2px 0 8px;
  padding: 4px 8px;
  border-left: 2px solid currentColor;
  color: var(--text);
  background: rgba(0, 0, 0, .1);
}
.chatMessage.is-mine:not(.is-team) .chatReplyQuote { color: var(--accent-contrast); }
.chatReplyQuote > span { opacity: .78; }
