/* V9.433 — feed dei profili seguiti e conversazioni reali nel popup. */
.slr-community-comment-modal .slr-comment-modal-dialog {
  display: flex;
  flex-direction: column;
  max-height: min(92dvh, 820px);
  overflow: hidden;
}
.slr-community-comment-modal .slr-comment-modal-dialog > header,
.slr-community-comment-modal .slr-comment-modal-context,
.slr-community-comment-modal .slr-comment-modal-form,
.slr-community-comment-modal .slr-comment-modal-login,
.slr-community-comment-modal [data-community-reply-restriction] {
  flex: 0 0 auto;
}
.slr-community-modal-thread {
  flex: 1 1 auto;
  min-height: 92px;
  max-height: 310px;
  overflow: auto;
  overscroll-behavior: contain;
  border-block: 1px solid var(--slr-ui-line-soft, var(--slr-social-line, #d9dee3));
  background: var(--slr-ui-surface, #fff);
  scrollbar-gutter: stable;
}
.slr-community-modal-thread[aria-busy="true"] { cursor: progress; }
.slr-community-modal-thread .slr-community-comments {
  border: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}
.slr-community-modal-thread .slr-community-comments > header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 20px;
  background: var(--slr-ui-elevated, #fff);
  border-bottom: 1px solid var(--slr-ui-line-soft, #e0e4e8);
}
.slr-community-modal-thread .slr-community-comments > header span { display: none; }
.slr-community-modal-thread .slr-community-comments > header h2 {
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
}
.slr-community-modal-thread .slr-community-comments > header b {
  margin-left: auto;
  font-size: 13px;
  color: var(--slr-ui-muted, #5f6b76);
}
.slr-community-modal-thread .slr-comment-list { margin: 0; }
.slr-community-modal-thread .slr-comment-item {
  margin: 0 !important;
  padding: 14px 20px !important;
  border-radius: 0 !important;
  background: transparent !important;
}
.slr-community-modal-thread .slr-comment-item:last-child { border-bottom: 0 !important; }
.slr-community-modal-thread-loading,
.slr-community-modal-thread-empty,
.slr-community-modal-thread-error {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  text-align: center;
  color: var(--slr-ui-muted, #5f6b76);
}
.slr-community-modal-thread-loading span {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: slr-v9433-spin .75s linear infinite;
}
.slr-community-modal-thread-error { flex-direction: column; }
.slr-community-modal-thread-error button {
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--slr-ui-action, #111820);
  color: var(--slr-ui-action-text, #fff);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
@keyframes slr-v9433-spin { to { transform: rotate(360deg); } }
html[data-slr-theme="night"] .slr-community-modal-thread {
  background: var(--slr-ui-surface, #0d1115);
}
@media (max-width: 760px) {
  .slr-community-comment-modal .slr-comment-modal-dialog {
    max-height: calc(100dvh - max(12px, env(safe-area-inset-top)) - max(12px, env(safe-area-inset-bottom)));
  }
  .slr-community-modal-thread { max-height: 36dvh; min-height: 76px; }
  .slr-community-modal-thread .slr-community-comments > header { padding-inline: 14px; }
  .slr-community-modal-thread .slr-comment-item { padding: 12px 14px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .slr-community-modal-thread-loading span { animation-duration: 1.8s; }
}
