.comment-char-counter {
  margin: 6px 0 10px;
  text-align: right;
  font-size: 12px;
  color: var(--muted, #a99bb8);
  transition: color .2s ease;
}

.comment-char-counter.limite {
  color: #ffb347;
}

.comment-feedback {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 5000;
  max-width: min(92vw, 520px);
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(20, 20, 20, .96);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .45);
  opacity: 0;
  transform: translate(-50%, 24px);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}

.comment-feedback.ativo { opacity: 1; transform: translate(-50%, 0); }
.comment-feedback.erro { border-color: rgba(255, 92, 92, .45); }
.comment-feedback.sucesso { border-color: rgba(87, 225, 153, .45); }

.comment-delete-modal {
  position: fixed;
  inset: 0;
  z-index: 4900;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 5, 5, .72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}
.comment-delete-modal.ativo { opacity: 1; visibility: visible; }

.comment-delete-dialog {
  width: min(92vw, 420px);
  padding: 30px 26px 24px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(28, 28, 28, .98), rgba(15, 15, 15, .98));
  border: 1px solid rgba(255, 189, 0, .28);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .62), 0 0 34px rgba(255, 189, 0, .13);
  text-align: center;
  transform: scale(.94) translateY(12px);
  transition: transform .22s ease;
}
.comment-delete-modal.ativo .comment-delete-dialog { transform: scale(1) translateY(0); }

.comment-delete-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 189, 0, .14);
  border: 1px solid rgba(255, 189, 0, .45);
  color: #ffbd00;
  font-size: 30px;
  font-weight: 800;
  box-shadow: 0 0 24px rgba(255, 189, 0, .18);
}
.comment-delete-dialog h3 { margin: 0 0 8px; font-size: 24px; color: #fff; }
.comment-delete-dialog p { margin: 0 0 24px; color: var(--muted, #a99bb8); }
.comment-delete-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.comment-delete-actions button { min-height: 46px; border: 0; border-radius: 10px; font-weight: 800; cursor: pointer; transition: transform .18s ease, filter .18s ease, opacity .18s ease; }
.comment-delete-actions button:hover { transform: translateY(-1px); filter: brightness(1.07); }
.comment-delete-actions button:disabled { opacity: .6; cursor: wait; }
.comment-delete-cancel { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .12) !important; }
.comment-delete-confirm { background: linear-gradient(135deg, #ffbd00, #ffd24a); color: #111; box-shadow: 0 10px 24px rgba(255, 189, 0, .28); }

body.modal-open { overflow: hidden; }
.comment-form-fake button,.reply-form button { opacity: 1 !important; cursor: pointer !important; }
.comment-form-fake button:disabled,.reply-form button:disabled { opacity: .72 !important; cursor: wait !important; }

.category-page .news-meta-compact { display: flex !important; align-items: center; justify-content: flex-start !important; flex-wrap: wrap; gap: 6px 12px !important; }
.category-page .news-meta-item { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.category-page .news-meta-item .dot-icon { margin: 0 !important; line-height: 1; }

.article-like-btn { min-width: 78px; height: 38px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 19px; background: rgba(255, 255, 255, .09); color: #fff; font-family: inherit; font-size: 0; font-weight: 600; cursor: pointer; box-shadow: none; transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
.article-like-btn::before { content: ""; width: 20px; height: 20px; flex: 0 0 20px; background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.58 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.58 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2z'/%3E%3C/svg%3E") center / contain no-repeat; }
.article-like-btn > span { display: inline-block; font-size: 14px; line-height: 1; color: currentColor; }
.article-like-btn:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .2); transform: none; }
.article-like-btn.liked { background: #fff; border-color: #fff; color: #0f0f0f; }
.article-like-btn.like-pop { animation: likeJump .42s cubic-bezier(.22, 1.45, .5, 1); }
@keyframes likeJump { 0% { transform: translateY(0) scale(1); } 35% { transform: translateY(-6px) scale(1.06); } 70% { transform: translateY(1px) scale(.99); } 100% { transform: translateY(0) scale(1); } }

.comment-actions { align-items: center; }
.comment-actions button { min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: #ffbd00 !important; font: inherit; font-weight: 700; line-height: 1.4; cursor: pointer !important; transform: none !important; }
.comment-actions button:hover { background: transparent !important; color: #ffd24a !important; text-decoration: underline; transform: none !important; }
.comment-actions button:disabled { opacity: .65; cursor: wait !important; }

@media (max-width: 520px) { .comment-delete-actions { grid-template-columns: 1fr; } .comment-delete-dialog { padding: 26px 20px 20px; } .category-page .news-meta-compact { gap: 5px 10px !important; } }
