.cyvora-comments {
  box-sizing: border-box;
  width: min(100% - 32px, 900px);
  margin: 56px auto 72px;
  padding: clamp(20px, 4vw, 36px);
  color: var(--text-main, #f8fafc);
  background: var(--bg-surface, #111827);
  border: 1px solid var(--border-subtle, rgba(148, 163, 184, 0.22));
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
}

.cyvora-comments h2 {
  margin: 0 0 8px;
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  letter-spacing: -0.03em;
}

.cyvora-comments-intro,
.cyvora-comments-status {
  color: var(--text-muted, #a8b3c7);
}

.cyvora-comments-intro {
  max-width: 68ch;
  line-height: 1.65;
}

.cyvora-comments-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 32px;
  padding: 0;
  list-style: none;
}

.cyvora-comment {
  padding: 18px;
  border: 1px solid var(--border-subtle, rgba(148, 163, 184, 0.22));
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.cyvora-comment-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.cyvora-comment-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.cyvora-comment-avatar {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid hsla(var(--avatar-hue, 180), 75%, 68%, 0.42);
  border-radius: 50%;
  color: hsl(var(--avatar-hue, 180), 80%, 86%);
  background: hsla(var(--avatar-hue, 180), 65%, 48%, 0.22);
  font-size: 0.9rem;
  font-weight: 750;
}

.cyvora-comment-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.cyvora-comment-moderator-badge {
  padding: 3px 8px;
  border: 1px solid rgba(20, 244, 244, 0.25);
  border-radius: 999px;
  color: var(--cyan-primary, #14f4f4);
  background: rgba(20, 244, 244, 0.08);
  font-size: 0.72rem;
  font-weight: 700;
}

.cyvora-comment-header time {
  color: var(--text-muted, #a8b3c7);
  font-size: 0.875rem;
}

.cyvora-comment p {
  margin: 14px 0 0 54px;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  line-height: 1.7;
}

.cyvora-comments-form {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle, rgba(148, 163, 184, 0.22));
}

.cyvora-comments-form label {
  font-weight: 600;
}

.cyvora-comments-form input,
.cyvora-comments-form textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 12px;
  color: inherit;
  background: var(--bg-main, #0b1220);
  border: 1px solid var(--border-subtle, rgba(148, 163, 184, 0.3));
  border-radius: 10px;
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.cyvora-comments-form textarea {
  resize: vertical;
}

.cyvora-comments-form input:focus,
.cyvora-comments-form textarea:focus {
  outline: none;
  border-color: var(--cyan-primary, #14f4f4);
  box-shadow: 0 0 0 3px rgba(20, 244, 244, 0.13);
}

.cyvora-comments-form button {
  justify-self: start;
  padding: 12px 20px;
  color: #06110f;
  background: var(--cyan-primary, #14f4f4);
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease;
}

.cyvora-comments-form button:not(:disabled):hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.cyvora-comments-form button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.cyvora-comments-form [role="status"] {
  min-height: 1.5em;
  margin: 4px 0 0;
}

.cyvora-comments-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 600px) {
  .cyvora-comments {
    width: min(100% - 24px, 900px);
  }

  .cyvora-comment {
    padding: 14px;
  }

  .cyvora-comment p {
    margin-left: 0;
  }
}
