/* Comment editor enhancements; retain the existing comment card and native form. */
.comment-editor-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; }
.comment-editor-tools button,
.comment-editor-emoji button { min-height: 36px; padding: 5px 8px; border: 0; border-radius: 6px; background: transparent; color: var(--dafa-text-soft); font: inherit; font-size: 13px; cursor: pointer; }
.comment-editor-tools button:hover,
.comment-editor-emoji button:hover { background: var(--dafa-bg); color: var(--dafa-text); }
.comment-editor-tools button:focus-visible,
.comment-editor-emoji button:focus-visible { outline: 2px solid var(--dafa-accent); outline-offset: 2px; }
.comment-editor-tools button:disabled { opacity: .45; cursor: default; }
.comment-editor-tools button[hidden] { display: none; }
.comment-editor-count { margin-left: auto; color: var(--dafa-text-soft); font-size: 12px; font-variant-numeric: tabular-nums; }
.comment-editor-emoji { display: flex; flex-wrap: wrap; gap: 4px; padding-block: 8px; }
.comment-editor-emoji[hidden] { display: none; }
.comment-editor-emoji button { min-width: 40px; min-height: 40px; font-size: 22px; line-height: 1; }
.comment-form .comment-editor-help,
.comment-form .comment-editor-status { margin: 6px 0 0; color: var(--dafa-text-soft); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.comment-editor-status:empty { display: none; }
.comment-form[aria-busy="true"] .submit { cursor: wait; opacity: .65; }
@media (max-width: 480px) {
  .comment-editor-tools { gap: 4px 8px; }
  .comment-editor-tools button { min-height: 44px; }
  .comment-editor-shortcut { display: none; }
}
