.comments-placement {
  width: 100%;
}

.comments-placement:empty {
  display: none;
}

.comments-placement-mobile {
  display: none;
}

.sprunkit-comments {
  width: 100%;
  background: #1a1f2e;
  border: 1px solid rgba(0, 212, 255, .18);
  border-radius: 8px;
  padding: 1.25rem;
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
}

.sprunkit-comments * {
  box-sizing: border-box;
}

.comments-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1rem;
}

.comments-header h2,
.comment-form-title {
  margin: 0;
  color: #fff;
  line-height: 1.2;
}

.comments-header h2 {
  font-size: 1.35rem;
}

.comment-form-title {
  font-size: 1rem;
  color: #00d4ff;
}

.comments-count {
  flex: 0 0 auto;
  border: 1px solid rgba(0, 212, 255, .35);
  border-radius: 999px;
  padding: .25rem .65rem;
  color: #00d4ff;
  background: rgba(0, 212, 255, .08);
  font-size: .78rem;
  font-weight: 800;
  white-space: nowrap;
}

.comments-status,
.comments-response,
.comment-help,
.comment-counter {
  color: #b3b8c4;
  font-size: .88rem;
  line-height: 1.45;
}

.comments-status {
  min-height: 1.25rem;
  margin-bottom: 1rem;
}

.comments-status.is-error,
.comments-response.is-error {
  color: #ffb4c8;
}

.comments-response.is-success {
  color: #7dd3fc;
}

.comments-list {
  display: grid;
  gap: .75rem;
  margin-bottom: 1.25rem;
}

.comments-load-more {
  width: 100%;
  border: 1px solid rgba(0, 212, 255, .35);
  border-radius: 999px;
  background: rgba(0, 212, 255, .08);
  color: #00d4ff;
  cursor: pointer;
  font: inherit;
  font-size: .9rem;
  font-weight: 900;
  margin: -.25rem 0 1.25rem;
  padding: .7rem 1rem;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.comments-load-more:hover,
.comments-load-more:focus-visible {
  background: rgba(0, 212, 255, .14);
  border-color: #00d4ff;
  box-shadow: 0 0 0 3px rgba(0, 212, 255, .12);
  outline: none;
}

.comments-load-more:disabled {
  cursor: wait;
  opacity: .7;
}

.comment-item {
  padding: .85rem;
  background: #252a3a;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
}

.comment-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .5rem;
}

.comment-author {
  min-width: 0;
  color: #fff;
  font-size: .95rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.comment-time {
  flex: 0 0 auto;
  color: #8f98ad;
  font-size: .76rem;
  white-space: nowrap;
}

.comment-text {
  margin: 0;
  color: #d7dce8;
  font-size: .9rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.comments-form {
  display: grid;
  gap: .85rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 212, 255, .18);
}

.comment-field {
  display: grid;
  gap: .35rem;
}

.comment-field label {
  color: #fff;
  font-size: .85rem;
  font-weight: 800;
}

.comment-required {
  color: #00d4ff;
  font-weight: 900;
}

.comment-field input,
.comment-field textarea {
  width: 100%;
  border: 1px solid rgba(0, 212, 255, .28);
  border-radius: 8px;
  background: #0f1424;
  color: #fff;
  font: inherit;
  font-size: .92rem;
  outline: none;
  padding: .72rem .78rem;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.comment-field textarea {
  min-height: 132px;
  resize: vertical;
}

.comment-field input:focus,
.comment-field textarea:focus {
  border-color: #00d4ff;
  background: #12182a;
  box-shadow: 0 0 0 3px rgba(0, 212, 255, .16);
}

.comment-help {
  margin: 0;
}

.comment-counter {
  text-align: right;
}

.comment-consent {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  color: #d7dce8;
  font-size: .86rem;
  line-height: 1.45;
}

.comment-consent input {
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: .12rem;
  accent-color: #00d4ff;
}

.comment-consent label {
  min-width: 0;
}

.comment-consent input:focus-visible {
  outline: 2px solid rgba(0, 212, 255, .8);
  outline-offset: 3px;
}

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

.comment-turnstile {
  width: 100%;
  max-width: 100%;
  min-height: 65px;
  overflow: hidden;
}

.comment-submit {
  width: 100%;
  min-height: 44px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #00d4ff, #0088bb);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: .78rem 1rem;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  box-shadow: 0 8px 24px rgba(0, 212, 255, .22);
}

.comment-submit:hover,
.comment-submit:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0, 212, 255, .32);
}

.comment-submit:disabled {
  cursor: not-allowed;
  opacity: .62;
  transform: none;
}

.comment-submit.is-submitting:disabled {
  cursor: wait;
  opacity: .78;
}

.comments-response {
  min-height: 1.25rem;
}

@media (max-width: 768px) {
  .comments-placement-mobile {
    display: block;
    margin: 2rem 0;
  }

  .comments-placement-desktop {
    display: none;
  }

  .sprunkit-comments {
    padding: 1rem;
  }

  .comments-header {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .comments-header {
    display: grid;
  }

  .comments-count {
    justify-self: start;
  }

  .comment-meta {
    display: grid;
    gap: .25rem;
  }

  .comment-time {
    white-space: normal;
  }
}
