.quick-comment-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.quick-comment-mine-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #334155;
  user-select: none;
}

.quick-comment-board {
  position: relative;
  min-height: 120px;
  max-width: 1100px;
  margin: 0 auto;
}

.qc-card {
  position: absolute;
  width: 260px;
  max-width: none;
  min-height: 0;
  height: auto;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  overflow: hidden;
  display: inline-flex;
  margin: 0;
  transform: rotate(var(--qc-rotate, 0deg));
}

.qc-card:hover {
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.qc-card.is-mine {
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  transform: rotate(var(--qc-rotate, 0deg));
}

.qc-card.qc-tone-1 { background: #ffffff; }
.qc-card.qc-tone-2 { background: #fffdf5; }
.qc-card.qc-tone-3 { background: #f8fcff; }
.qc-card.qc-tone-4 { background: #f9fff8; }

.qc-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  min-height: 0;
}

.qc-avatar {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  flex-shrink: 0;
}

.qc-nickname {
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.qc-card.is-mine .qc-avatar {
  width: 18px;
  height: 18px;
}

.qc-card.is-mine .qc-nickname {
  font-size: 11px;
}

.qc-content {
  display: block;
  color: #0f172a;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
  text-align: left;
  overflow-wrap: anywhere;
}

.qc-card.is-mine .qc-content {
  font-size: 16px;
  line-height: 1.5;
}

.qc-actions {
  display: flex;
  justify-content: center;
  margin-top: auto;
}

.qc-like-btn {
  border: 0;
  background: transparent;
  color: #475569;
  border-radius: 0;
  min-width: 0;
  height: auto;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.qc-report-btn {
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  padding: 0;
  line-height: 1;
}

.qc-report-btn:hover {
  color: #dc2626;
}

.qc-like-btn.is-liked {
  color: #ef4444;
}

.qc-meta {
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #64748b;
  font-size: 12px;
}

.qc-meta-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#quickCommentReportModal .modal-title {
  font-size: 20px;
  font-weight: 700;
}

#quickCommentReportModal .form-label {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

#quickCommentReportModal .modal-footer {
  gap: 12px;
}

.qc-card.is-mine .qc-meta {
  justify-content: flex-end;
  gap: 10px;
}

.qc-time {
  color: #64748b;
  font-size: 12px;
}

.qc-delete-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #ef4444;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.qc-card:not(.can-delete) .qc-delete-btn {
  display: none;
}

.qc-card.can-delete:hover .qc-delete-btn {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.quick-comment-empty {
  position: relative;
  width: 100%;
  text-align: center;
  color: #64748b;
  padding: 50px 16px;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
}

.quick-comment-pagination {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.qc-page-btn {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  font-size: 13px;
  min-width: 34px;
  height: 34px;
}

.qc-page-btn.is-active {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}

@media (max-width: 1100px) {
  .qc-card.is-mine {
    max-width: 92%;
  }
}

@media (max-width: 768px) {
  .quick-comment-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .quick-comment-board {
    min-height: 120px;
  }

  .qc-card {
    max-width: none;
    padding: 9px 11px;
  }

  .qc-content {
    font-size: 15px;
  }

  .qc-card.is-mine .qc-content {
    font-size: 15px;
  }
}
