/* NoteHalo 交互组件样式（评论 + 反馈），与站点主样式一致 */
.widget-section { margin-top: 8px; }

.comment-box, .feedback-box {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 24px;
}
.comment-box form, .feedback-box form { display: flex; flex-direction: column; gap: 12px; }
.field-row { display: flex; gap: 12px; }
.field-row input { flex: 1; }
.comment-box input, .comment-box textarea, .feedback-box input, .feedback-box textarea {
  font-family: inherit; font-size: 14px; color: #1f2430;
  border: 1px solid #e5e7eb; border-radius: 10px; padding: 11px 14px;
  background: #fafbfc; outline: none; transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.comment-box input:focus, .comment-box textarea:focus,
.feedback-box input:focus, .feedback-box textarea:focus {
  border-color: #4f6ef7; box-shadow: 0 0 0 3px rgba(79,110,247,.12); background: #fff;
}
.comment-box textarea, .feedback-box textarea { resize: vertical; min-height: 96px; line-height: 1.7; }
.submit-row { align-items: center; justify-content: space-between; }
.submit-row button {
  background: linear-gradient(135deg, #4f6ef7, #7c4ff7); color: #fff; border: none;
  border-radius: 10px; padding: 10px 22px; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: opacity .15s, transform .15s;
}
.submit-row button:hover { opacity: .92; transform: translateY(-1px); }
.submit-row .hint { font-size: 13px; color: #6b7280; }

/* 蜜罐字段：隐藏，正常用户看不见，机器人会填 */
.hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }

.comment-list { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.comment-item { border: 1px solid #eef0f4; border-radius: 10px; padding: 14px 16px; background: #fafbfc; }
.ci-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.ci-nick { font-weight: 600; font-size: 14px; color: #1f2430; }
.ci-time { font-size: 12px; color: #9ca3af; }
.ci-body { font-size: 14px; color: #374151; line-height: 1.7; white-space: pre-wrap; word-break: break-word; }
.empty { text-align: center; color: #9ca3af; padding: 16px 0; font-size: 14px; }
