/* نظرات تو در تو — پاسخ کاربر */
.comments-thread-section {
  margin-top: 30px;
}

.comments-thread-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.comment-thread-root {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
}

.comment-thread-root:last-child {
  border-bottom: none;
}

.comment-node {
  position: relative;
}

.comment-depth-0 {
  padding: 0;
}

.comment-depth-1,
.comment-depth-2,
.comment-depth-3 {
  margin-top: 12px;
  padding-right: 16px;
  border-right: 2px solid rgba(255, 215, 0, 0.25);
}

.comment-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.comment-author {
  font-weight: 700;
  font-size: 13px;
  color: #eee;
}

.comment-when {
  font-size: 12px;
  color: #888;
}

.comment-in-reply-to {
  font-size: 12px;
  color: #aaa;
  margin-bottom: 6px;
}

.comment-in-reply-to strong {
  color: #ffd700;
  font-weight: 600;
}

.comment-stars {
  color: #ffd700;
  font-size: 14px;
  margin-bottom: 4px;
}

.comment-body {
  color: #ddd;
  font-size: 14px;
  line-height: 1.75;
  margin: 0 0 8px;
  text-align: right;
}

.comment-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.comment-reply-btn,
.comment-toggle-replies {
  background: none;
  border: none;
  color: #5eb3ff;
  font-size: 13px;
  cursor: pointer;
  padding: 4px 0;
  font-family: inherit;
}

.comment-reply-btn:hover,
.comment-toggle-replies:hover {
  color: #8ec8ff;
  text-decoration: underline;
}

.comment-toggle-replies {
  display: block;
  margin-top: 8px;
  text-align: right;
  width: 100%;
}

.comment-replies.is-collapsed {
  display: none;
}

.comment-reply-form {
  margin-top: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
}

.comment-reply-form[hidden] {
  display: none !important;
}

.comment-reply-to-label {
  font-size: 12px;
  color: #ffb84d;
  margin: 0 0 8px;
}

.comment-reply-text {
  width: 100%;
  min-height: 72px;
  background: #111;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 8px 10px;
  resize: vertical;
  font-family: inherit;
  font-size: 14px;
}

.comment-reply-form-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.comment-reply-submit {
  background: linear-gradient(135deg, #ffd700, #ffbf00);
  color: #000;
  border: none;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;
}

.comment-reply-cancel {
  background: transparent;
  color: #aaa;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
}

.comment-thread-root.hidden-comment {
  display: none;
}
