/* Threaded comment presentation for the isolated dashboard feed preview. */
.real-comments-loading,
.real-comments-empty {
  min-height: 180px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: #8f8a7f;
  text-align: center;
}

.real-comments-loading span {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(48,48,46,.15);
  border-top-color: #d6a52c;
  border-radius: 50%;
  animation: real-comments-spin .7s linear infinite;
}

.real-comments-loading b,
.real-comments-empty strong {
  color: #3d3b36;
  font-size: 13px;
  font-weight: 500;
}

.real-comments-empty span {
  font-size: 11px;
}

@keyframes real-comments-spin {
  to { transform: rotate(360deg); }
}

.real-comment-thread {
  display: grid;
  gap: 12px;
}

.real-comment-thread + .real-comment-thread {
  margin-top: 12px;
}

.real-comment-item {
  position: relative;
}

.real-comment-item .comment-head {
  align-items: flex-start;
}

.real-comment-item .comment-head > div {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
}

.real-comment-more {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  margin: -5px -5px 0 auto;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #8d897f;
  cursor: pointer;
}

.real-comment-more:hover {
  background: #f2efe5;
  color: #383731;
}

.real-comment-more svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.real-comment-replies {
  position: relative;
  display: grid;
  gap: 10px;
  margin-left: 72px;
  padding-left: 20px;
}

.real-comment-replies::before {
  content: '';
  position: absolute;
  top: -12px;
  bottom: 18px;
  left: 0;
  width: 1px;
  background: rgba(205, 198, 177, .75);
}

.real-comment-replies .comment-item::before {
  content: '';
  position: absolute;
  top: 27px;
  left: -20px;
  width: 15px;
  height: 1px;
  background: rgba(205, 198, 177, .75);
}

.real-comment-replies .comment-avatar {
  width: 42px;
  height: 42px;
}

.real-comment-replies .comment-bubble {
  border-radius: 22px;
  background: rgba(255,255,255,.82);
}

.comment-like.is-liked {
  color: #b64e44 !important;
}

.comment-like:disabled,
.real-comment-inline-slot button:disabled {
  cursor: wait;
  opacity: .6;
}

.real-comment-inline-slot:empty {
  display: none;
}

.real-comment-reply-form,
.real-comment-edit-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(216, 210, 190, .7);
}

.real-comment-reply-form {
  grid-template-columns: 36px minmax(0, 1fr);
}

.real-comment-reply-form > img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.real-comment-reply-form > div,
.real-comment-edit-form {
  min-width: 0;
}

.real-comment-reply-form textarea,
.real-comment-edit-form textarea {
  width: 100%;
  min-height: 64px;
  resize: vertical;
  padding: 12px 14px;
  border: 1px solid rgba(210, 203, 183, .9);
  border-radius: 16px;
  outline: 0;
  background: #f9f6ed;
  color: #3d3b36;
  font: inherit;
  font-size: 11px;
  line-height: 1.5;
}

.real-comment-reply-form textarea:focus,
.real-comment-edit-form textarea:focus {
  border-color: #d6a52c;
  box-shadow: 0 0 0 3px rgba(214,165,44,.12);
}

.real-comment-reply-form footer,
.real-comment-edit-form footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}

.real-comment-reply-form footer button,
.real-comment-edit-form footer button {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(210, 203, 183, .9);
  border-radius: 11px;
  background: #fffdf7;
  color: #656158;
  font: inherit;
  font-size: 10px;
  cursor: pointer;
}

.real-comment-reply-form footer button[type='submit'],
.real-comment-edit-form footer button[type='submit'] {
  border-color: #d6a52c;
  background: #ffd04f;
  color: #332f24;
}

.real-comment-menu {
  position: absolute;
  top: 38px;
  right: 16px;
  z-index: 90;
  width: 150px;
  padding: 6px;
  border: 1px solid rgba(214,208,188,.8);
  border-radius: 14px;
  background: rgba(255,253,247,.99);
  box-shadow: 0 16px 44px rgba(45,42,32,.14);
}

.real-comment-menu button {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #4f4d47;
  font: inherit;
  font-size: 10px;
  text-align: left;
  cursor: pointer;
}

.real-comment-menu button:hover {
  background: #f3f0e5;
}

.real-comment-menu button.danger {
  color: #b64e44;
}

.real-comment-dialog[hidden] {
  display: none;
}

.real-comment-dialog {
  position: fixed;
  inset: 0;
  z-index: 13000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.real-comment-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(35,34,30,.45);
  backdrop-filter: blur(10px);
}

.real-comment-dialog__card {
  position: relative;
  width: min(410px, 100%);
  padding: 30px;
  border: 1px solid rgba(214,208,188,.82);
  border-radius: 26px;
  background: #fffdf7;
  box-shadow: 0 26px 80px rgba(45,42,32,.2);
  color: #302f2a;
}

.real-comment-dialog__card > span {
  display: block;
  margin-bottom: 10px;
  color: #b64e44;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .13em;
}

.real-comment-dialog__card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
}

.real-comment-dialog__card p {
  margin: 0;
  color: #817d72;
  font-size: 12px;
  line-height: 1.6;
}

.real-comment-dialog__card > div {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 24px;
}

.real-comment-dialog__card button {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid rgba(210,203,183,.9);
  border-radius: 12px;
  background: #fffdf7;
  color: #57534b;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.real-comment-dialog__card button[type='submit'],
.real-comment-dialog__card button.danger {
  border-color: #b64e44;
  background: #b64e44;
  color: #fff;
}

.real-comment-report-card label {
  display: grid;
  gap: 7px;
  margin-top: 16px;
}

.real-comment-report-card label small {
  color: #807b70;
  font-size: 10px;
}

.real-comment-report-card select,
.real-comment-report-card textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid rgba(210,203,183,.9);
  border-radius: 14px;
  outline: 0;
  background: #f9f6ed;
  color: #393832;
  font: inherit;
  font-size: 11px;
}

.real-comment-report-card textarea {
  resize: vertical;
}

@media (max-width: 899px) {
  .real-comment-replies {
    margin-left: 30px;
    padding-left: 14px;
  }

  .real-comment-replies .comment-item::before {
    left: -14px;
    width: 10px;
  }

  .real-comment-dialog {
    align-items: end;
    padding: 10px;
  }

  .real-comment-dialog__card {
    width: 100%;
    padding: 24px 20px 20px;
    border-radius: 24px;
  }
}
