/* Discussions use shared typography, private color and the growing textarea. */
.comments:empty {
  margin-top: 0;
}
.comments + * {
  margin-top: var(--margin-meaning);
}
.comments .commentsPanel,
.commentsList:empty + form {
  margin-top: 0;
}
.comments button {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.comments button:hover:not(:disabled) {
  color: var(--hover-color);
}
.commentsToggle {
  text-decoration: underline dotted;
  text-underline-offset: 4rlh;
  text-decoration-thickness: 1.5px;
}
.comments .commentLike {
  padding: 0 4rlh;
  border-radius: 0;
  background-color: var(--box-color);
  text-decoration: none;
}
.comments .commentLike[aria-pressed="true"] {
  padding: 0;
  background: none;
}
.comments .commentLike:disabled {
  cursor: default;
}
.comments .commentAuthor {
  background-color: var(--private-color);
  color: inherit;
}
.comments .commentAuthor.blogAuthor {
  background-color: rgb(90 150 255 / 0.16);
}
.comments .commentQuote {
  background-color: var(--box-color);
  color: inherit;
}
.comments .commentText {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.comments form {
  width: 100%;
}
.comments form > * + * {
  margin-top: 0;
}
.comments .textarea-wrap {
  position: relative;
}
.comments .textarea-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8rlh;
  height: 1px;
  background: var(--text-color);
}
.comments .textarea-wrap > textarea,
.comments .textarea-wrap::after {
  box-sizing: border-box;
  margin-inline: 0;
  padding: 0 22rlh 0 0;
  border: none;
  font: inherit;
}
.comments .commentSend {
  position: absolute;
  right: 0;
  bottom: var(--paragraph-bottom-compensator);
  rotate: 45deg;
}
.comments .commentSend:disabled {
  opacity: 0.5;
}
