.dhvx-feed-comments {
  border-top: 1px solid rgba(17, 24, 39, .08);
  padding: 12px 16px 16px;
  background: var(--dhvx-surface, #fff);
}
.dhvx-feed-comments[hidden] { display: none !important; }
.dhvx-feed-comments__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 14px;
}
.dhvx-feed-comments__head > a { font-weight: 650; text-decoration: none; }
.dhvx-feed-comments__list { display: grid; gap: 10px; }
.dhvx-feed-comments__loading,
.dhvx-feed-comments__empty,
.dhvx-feed-comments__unavailable {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.45;
}
.dhvx-feed-comment-preview {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
}
.dhvx-feed-comment-preview__avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f3f5;
  color: #59616b;
  font-size: 12px;
  font-weight: 750;
}
.dhvx-feed-comment-preview__meta { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.dhvx-feed-comment-preview__meta strong { font-size: 14px; line-height: 1.35; }
.dhvx-feed-comment-preview__meta span { color: #8a9199; font-size: 12px; white-space: nowrap; }
.dhvx-feed-comment-preview__content { margin-top: 2px; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.dhvx-feed-comment-preview__content p { margin: 0; }
.dhvx-feed-comment-form {
  display: grid;
  gap: 9px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(17, 24, 39, .07);
}
.dhvx-feed-comment-form__identity { margin: 0; color: #737980; font-size: 13px; }
.dhvx-feed-comment-form__guest { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dhvx-feed-comment-form__guest label { display: grid; gap: 4px; font-size: 12px; color: #737980; }
.dhvx-feed-comment-form__guest input,
.dhvx-feed-comment-form textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #d7dadd;
  border-radius: 14px;
  background: #fff;
  color: #17191c;
  font: inherit;
}
.dhvx-feed-comment-form__guest input { min-height: 42px; padding: 9px 11px; }
.dhvx-feed-comment-form textarea {
  min-height: 74px;
  max-height: 180px;
  resize: vertical;
  padding: 11px 12px;
  font-size: 15px;
  line-height: 1.45;
}
.dhvx-feed-comment-form textarea:focus,
.dhvx-feed-comment-form__guest input:focus { outline: 2px solid rgba(210, 32, 48, .22); border-color: #cf2637; }
.dhvx-feed-comment-form__submit {
  justify-self: end;
  min-width: 88px;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #151515;
  color: #fff;
  font-weight: 750;
  cursor: pointer;
}
.dhvx-feed-comment-form__submit[aria-disabled="true"] { opacity: .58; }
.dhvx-feed-turnstile { min-height: 0; overflow: hidden; }
.dhvx-feed-comments .dhv-comment-feedback { margin: 0; }
html[data-theme="dark"] .dhvx-feed-comments { background: var(--dhvx-surface, #17191c); border-top-color: rgba(255,255,255,.10); }
html[data-theme="dark"] .dhvx-feed-comment-preview__avatar { background: #24282d; color: #d4d7db; }
html[data-theme="dark"] .dhvx-feed-comment-form__guest input,
html[data-theme="dark"] .dhvx-feed-comment-form textarea { background: #17191c; color: #f3f4f5; border-color: #3b4046; }
@media (max-width: 767px) {
  .dhvx-feed-comments { padding: 10px 14px 14px; }
  .dhvx-feed-comment-form__guest { grid-template-columns: 1fr; }
  .dhvx-feed-comment-form textarea { min-height: 66px; }
  .dhvx-feed-comment-form__submit { justify-self: stretch; width: 100%; }
}

/* 13.78.185 — Mobile comment focus visibility. */
@media (max-width: 767px) {
  .dhvx-feed-comments {
    scroll-margin-top: calc(var(--dhvx-mobile-top, 54px) + 12px);
    scroll-margin-bottom: calc(var(--dhvx-mobile-bottom, 60px) + 12px);
  }
  .dhvx-feed-comment-form textarea {
    scroll-margin-top: calc(var(--dhvx-mobile-top, 54px) + 12px);
    scroll-margin-bottom: calc(var(--dhvx-mobile-bottom, 60px) + 12px);
  }
}


/* 13.78.186 — Bounded reply/reaction actions inside the feed discussion drawer. */
.dhvx-feed-comment-preview__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  min-height: 28px;
}
.dhvx-feed-comment-preview__action {
  appearance: none;
  border: 0;
  background: transparent;
  color: #686f77;
  padding: 3px 0;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.dhvx-feed-comment-preview__action.is-selected { color: #c82435; }
.dhvx-feed-comment-preview__reaction-total { color: #8a9199; font-size: 12px; margin-left: -5px; }
.dhvx-feed-comment-preview__reaction-panel {
  display: flex;
  align-items: center;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  margin-top: 5px;
  padding: 5px 7px;
  border: 1px solid rgba(17,24,39,.10);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17,24,39,.10);
  overflow-x: auto;
  scrollbar-width: none;
}
.dhvx-feed-comment-preview__reaction-panel[hidden] { display: none !important; }
.dhvx-feed-comment-preview__reaction-panel::-webkit-scrollbar { display: none; }
.dhvx-feed-comment-preview__reaction-option {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-width: 36px;
  min-height: 36px;
  justify-content: center;
  padding: 2px 5px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}
.dhvx-feed-comment-preview__reaction-option[aria-pressed="true"] { background: rgba(210,32,48,.10); }
.dhvx-feed-comment-preview__reaction-option small { color: #737980; font-size: 10px; font-weight: 700; }
.dhvx-feed-comment-preview__status { display: block; margin-top: 4px; color: #5f6872; font-size: 11.5px; }
.dhvx-feed-comment-preview__status.is-error { color: #b4232f; }
.dhvx-feed-comment-reply-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #f5f6f7;
  color: #626a73;
  font-size: 12.5px;
}
.dhvx-feed-comment-reply-context[hidden] { display: none !important; }
.dhvx-feed-comment-reply-context button {
  appearance: none; border: 0; background: transparent; color: #c82435; padding: 2px; font: inherit; font-weight: 750; cursor: pointer;
}
html[data-theme="dark"] .dhvx-feed-comment-preview__reaction-panel { background: #1d2024; border-color: rgba(255,255,255,.12); }
html[data-theme="dark"] .dhvx-feed-comment-reply-context { background: #24282d; color: #c2c7cc; }
@media (hover: hover) and (pointer: fine) {
  .dhvx-feed-comment-preview__action:hover { color: #20242a; }
  .dhvx-feed-comment-preview__reaction-option:hover { background: rgba(17,24,39,.06); }
}


/* 13.78.187 — One latest direct reply preview per bounded feed root. */
.dhvx-feed-comment-child-preview {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 7px;
  align-items: start;
  margin-top: 8px;
  padding-left: 2px;
}
.dhvx-feed-comment-child-preview__avatar {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f4f5f6;
  color: #69717a;
  font-size: 10px;
  font-weight: 750;
}
.dhvx-feed-comment-child-preview__meta { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.dhvx-feed-comment-child-preview__meta strong { font-size: 12.5px; line-height: 1.35; }
.dhvx-feed-comment-child-preview__meta span { color: #9298a0; font-size: 11px; white-space: nowrap; }
.dhvx-feed-comment-child-preview__content { margin-top: 1px; color: #4f565e; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
.dhvx-feed-comment-child-preview__content p { margin: 0; }
.dhvx-feed-comment-preview__more-replies {
  display: inline-block;
  margin: 6px 0 0 35px;
  color: #676f78;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
html[data-theme="dark"] .dhvx-feed-comment-child-preview__avatar { background: #24282d; color: #d0d4d8; }
html[data-theme="dark"] .dhvx-feed-comment-child-preview__content,
html[data-theme="dark"] .dhvx-feed-comment-preview__more-replies { color: #b7bdc4; }
@media (hover: hover) and (pointer: fine) {
  .dhvx-feed-comment-preview__more-replies:hover { text-decoration: underline; }
}


/* 13.78.194 — Stable first-open loading for the bounded feed discussion. */
.dhvx-feed-comments__list.is-initial-loading {
  min-height: 98px;
}
.dhvx-feed-comments__loading {
  display: grid;
  gap: 10px;
  min-height: 98px;
  align-content: start;
}
.dhvx-feed-comments__loading-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  min-height: 39px;
}
.dhvx-feed-comments__loading-row > i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(17, 24, 39, .075);
}
.dhvx-feed-comments__loading-row > b {
  display: grid;
  gap: 7px;
  padding-top: 4px;
  min-width: 0;
}
.dhvx-feed-comments__loading-row > b > em {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: rgba(17, 24, 39, .075);
}
.dhvx-feed-comments__loading-row > b > em:first-child { width: min(38%, 138px); }
.dhvx-feed-comments__loading-row > b > em:last-child { width: min(76%, 320px); }
.dhvx-feed-comments__loading-row:nth-of-type(3) > b > em:first-child { width: min(31%, 116px); }
.dhvx-feed-comments__loading-row:nth-of-type(3) > b > em:last-child { width: min(62%, 260px); }
html[data-theme="dark"] .dhvx-feed-comments__loading-row > i,
html[data-theme="dark"] .dhvx-feed-comments__loading-row > b > em {
  background: rgba(255, 255, 255, .09);
}
@media (prefers-reduced-motion: no-preference) {
  .dhvx-feed-comments__list.is-initial-loading .dhvx-feed-comments__loading-row {
    animation: dhvx-feed-comment-loading-pulse 1.25s ease-in-out infinite alternate;
  }
  .dhvx-feed-comments__list.is-initial-loading .dhvx-feed-comments__loading-row:nth-of-type(3) {
    animation-delay: .16s;
  }
}
@keyframes dhvx-feed-comment-loading-pulse {
  from { opacity: .62; }
  to { opacity: 1; }
}


/* 13.78.195 — Recoverable first-load network failure inside the feed drawer. */
.dhvx-feed-comments__load-failure {
  display: grid;
  gap: 9px;
  padding: 4px 0 2px;
}
.dhvx-feed-comments__retry-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.dhvx-feed-comments__retry {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(17, 24, 39, .14);
  border-radius: 999px;
  background: var(--dhvx-surface, #fff);
  color: inherit;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}
.dhvx-feed-comments__retry[aria-disabled="true"] {
  opacity: .58;
  cursor: default;
}
.dhvx-feed-comments__fallback-link {
  color: #676f78;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}
html[data-theme="dark"] .dhvx-feed-comments__retry {
  border-color: rgba(255, 255, 255, .16);
  background: var(--dhvx-surface, #17191c);
}
html[data-theme="dark"] .dhvx-feed-comments__fallback-link { color: #b7bdc4; }
@media (hover: hover) and (pointer: fine) {
  .dhvx-feed-comments__retry:not([aria-disabled="true"]):hover { border-color: rgba(17, 24, 39, .28); }
  .dhvx-feed-comments__fallback-link:hover { text-decoration: underline; }
}
