.hvcc-comments-wrap {
  margin: 48px auto 0;
  padding: 28px;
  border: 1px solid #d6e0f0;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(44, 108, 196, 0.14), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
  box-shadow: 0 22px 44px rgba(15, 44, 88, 0.08);
}

.hvcc-comments-wrap,
.hvcc-comments-wrap *,
.hvcc-comments-wrap *::before,
.hvcc-comments-wrap *::after {
  box-sizing: border-box;
}

.hvcc-comments-head {
  margin-bottom: 22px;
}

.hvcc-kicker {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e7f0ff;
  color: #174b94;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hvcc-comments-head h2 {
  margin: 14px 0 8px;
  color: #123868;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
}

.hvcc-comments-head p {
  margin: 0;
  color: #58708d;
  max-width: 760px;
}

.hvcc-comments-list {
  display: grid;
  gap: 16px;
}

.hvcc-comments-dynamic {
  position: relative;
}

.hvcc-comments-wrap.is-loading .hvcc-comments-dynamic {
  opacity: 0.65;
  transition: opacity 0.2s ease;
}

.hvcc-comment-card,
.hvcc-form-shell {
  border: 1px solid #d7e1ef;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.95);
}

.hvcc-comment-card {
  padding: 18px 20px;
}

.hvcc-comment-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.hvcc-comment-meta strong {
  display: block;
  color: #0f2749;
  font-size: 18px;
}

.hvcc-comment-meta span,
.hvcc-comment-meta time {
  color: #f4b400;
  font-size: 14px;
}

.hvcc-comment-rating,
.hvcc-rating-summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hvcc-comment-rating {
  margin-top: 6px;
}

.hvcc-stars-text {
  color: #f4b400;
  font-size: 18px;
  letter-spacing: 0.08em;
}

.hvcc-comment-body {
  color: #213448;
  line-height: 1.7;
}

.hvcc-empty-state {
  padding: 22px;
  text-align: center;
  color: #5e738d;
}

.hvcc-empty-state strong {
  display: block;
  margin-bottom: 6px;
  color: #193d6d;
  font-size: 18px;
}

.hvcc-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.hvcc-page-number,
.hvcc-page-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 16px;
  border: 1px solid #cbd8ea;
  border-radius: 999px;
  background: #fff;
  color: #15498f;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hvcc-page-number:hover,
.hvcc-page-next:hover {
  border-color: #1e63c8;
  background: #eff5ff;
}

.hvcc-page-number.is-current {
  border-color: #1c5fc3;
  background: linear-gradient(135deg, #1b5cc3, #0d8ad4);
  color: #fff;
}

.hvcc-form-shell {
  margin-top: 24px;
  padding: 22px;
}

.hvcc-form-notice {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 600;
  line-height: 1.6;
}

.hvcc-form-notice.is-success {
  border: 1px solid #b6dfb5;
  background: #edfbea;
  color: #1f6a2c;
}

.hvcc-form-notice.is-error {
  border: 1px solid #f0c2c2;
  background: #fff0f0;
  color: #9b2f2f;
}

.hvcc-notice-text {
  display: block;
}

.hvcc-code-highlight {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff0f0;
  color: #c21f1f;
  border: 1px solid #f1bcbc;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hvcc-rating-summary {
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid #d7e3f5;
  border-radius: 18px;
  background: #f8fbff;
  flex-wrap: wrap;
}

.hvcc-rating-summary strong {
  color: #123868;
  font-size: 24px;
  line-height: 1;
}

.hvcc-rating-summary small {
  color: #617a98;
  font-size: 13px;
}

.hvcc-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.hvcc-field {
  margin: 0 0 16px;
  min-width: 0;
}

.hvcc-field-full {
  margin-bottom: 0;
}

.hvcc-rating-field {
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid #d8e3f2;
  border-radius: 18px;
  background: #f8fbff;
}

.hvcc-rating-label {
  display: block;
  margin-bottom: 10px;
  color: #173a67;
  font-weight: 700;
}

.hvcc-rating-picker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hvcc-rating-picker input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hvcc-rating-picker label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d8e1ef;
  color: #c8d3e3;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.16s ease, color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.hvcc-rating-picker label:hover {
  transform: translateY(-2px);
}

.hvcc-rating-picker label.is-active {
  color: #f4b400;
  border-color: #f0cd63;
  background: #fff8dd;
}

.hvcc-field label {
  display: block;
  margin-bottom: 8px;
  color: #173a67;
  font-weight: 700;
}

.hvcc-field input,
.hvcc-field textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 1px solid #bfd0e6;
  border-radius: 16px;
  background: #fbfdff;
  color: #10263f;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hvcc-field input {
  height: 52px;
  padding: 0 16px;
  line-height: 52px;
}

.hvcc-field textarea {
  min-height: 150px;
  padding: 14px 16px;
  resize: vertical;
}

.hvcc-field input:focus,
.hvcc-field textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.hvcc-form-actions {
  margin-top: 18px;
}

.hvcc-form-actions button {
  min-width: 220px;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #1b5cc3, #0d8ad4);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 18px 30px rgba(21, 83, 173, 0.18);
}

.hvcc-form-actions button[disabled] {
  opacity: 0.7;
  cursor: wait;
}

@media (max-width: 767px) {
  .hvcc-comments-wrap {
    padding: 20px;
    border-radius: 20px;
    margin-top: 32px;
  }

  .hvcc-form-shell {
    padding: 18px;
    border-radius: 18px;
  }

  .hvcc-comment-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .hvcc-pagination {
    gap: 8px;
  }

  .hvcc-page-number,
  .hvcc-page-next {
    min-width: 38px;
    height: 38px;
    padding: 0 14px;
    font-size: 14px;
  }

  .hvcc-form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hvcc-field {
    margin-bottom: 14px;
  }

  .hvcc-field input {
    height: 48px;
    line-height: 48px;
    padding: 0 14px;
    border-radius: 14px;
  }

  .hvcc-field textarea {
    min-height: 132px;
    padding: 12px 14px;
    border-radius: 14px;
  }

  .hvcc-stars-text {
    font-size: 16px;
  }

  .hvcc-rating-summary {
    padding: 12px 14px;
    gap: 8px;
  }

  .hvcc-rating-summary strong {
    font-size: 22px;
  }

  .hvcc-rating-field {
    padding: 14px;
    border-radius: 16px;
  }

  .hvcc-rating-picker {
    gap: 4px;
  }

  .hvcc-rating-picker label {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .hvcc-form-actions {
    margin-top: 16px;
  }

  .hvcc-form-actions button {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    font-size: 15px;
  }
}
