
#vdetail-comments {}

.vdetail-comment {
  display: flex;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 0.5px solid #fff2;
}

.comment-ava {
  width: 40px;
  height: 40px;
  background: url('/static/images/avatar.png') center / contain no-repeat;
}

.comment-texts {
  flex: 1;
}

.nick-time {
  color: #BDBDBD;
  font-size: 16px;
  font-weight: 500;
}

.nick-time span {
  color: #7C7C7C;
  font-size: 14px;
  font-weight: 400;
  margin-left: 12px;
}

.comment-text {
  margin-top: 10px;
  color: #7C7C7C;
  font-size: 16px;
}

.comment-texts__actions {
  margin-top: 15px;
}

.comment-texts__actions button,
.reply-sub button {
  color: #7C7C7C;
  font-size: 12px;
  padding-left: 26px;
  background: left center / 24px no-repeat;
}

.comment-texts__actions button.reply,
.reply-sub button.reply {
  background-image: url('../../static/images/reply.png');
}

.comment-texts__actions button.agree {
  background-image: url('../../static/images/up.png');
}

.comment-texts__actions button.agree.is {
  background-image: url('../../static/images/up-yellow.png');
}

.comment-texts__actions button.disagree {
  background-image: url('../../static/images/down.png');
}

.comment-texts__actions button.disagree.is {
  background-image: url('../../static/images/down-yellow.png');
}

.comment-texts__replys {
  margin-top: 16px;
  padding: 0 32px 24px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.05);
}

.comment-texts__reply {
  padding: 16px 0;
  border-bottom: 0.5px solid #fff4;
}

.comment-texts__reply .expand {
  color: #FEBD2B;
}

.reply-text {
  flex: 1;
  font-size: 16px;
  color: #fffb;
}

.reply-text span {
  color: #7C7C7C;
}

.reply-text-sub {
  padding: 8px 0 8px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reply-text-sub .reply-text {
  padding-left: 24px;
}

.reply-text-sub .reply-text::before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 14px;
  border-left: 1px solid #fff7;
  border-bottom: 1px solid #fff7;
}

.reply-sub {
  display: flex;
  gap: 20px;
}

.reply-sub button.reply {
  align-self: flex-start;
}

.vdetail-comments__sorts {
  position: absolute;
  top: -60px;
  right: 12px;
}

.vdetail-comments__sorts button {
  color: #7C7C7C;
  font-size: 18px;
  margin: 0 6px;
  padding: 4px 12px;
  border-radius: 46px;
}

.vdetail-comments__sorts button.active {
  background: rgba(254, 189, 43, 0.10);
  color: #FEBD2B;
  font-weight: 600;
}

.comments-input {
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  overflow: hidden;
}

.comments-input .input-group {
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
}

.comments-input .form-control {
  background-color: transparent;
  border: none;
  padding: 12px 18px;
  color: #fff;
  font-size: 12px;
  resize: none;
}

.form-control::placeholder {
  color: #656565;
}

.nick-input {
  margin: 16px 0;
  padding: 0 16px;
  align-items: center;
}

.nick-count {
  color: #7c7c7c;
}

button.send {
  float: right;
}

button.send[disabled] {
  cursor: not-allowed;
}

button.send svg {
  fill: #FEBD2B;
}

button.send[disabled] svg {
  fill: #7C7C7C;
}

@media screen and (max-width: 824px) {
  .vdetail-comments__sorts {
    display: none;
  }

  .vdetail-comment {
    padding: 0 0 18px;
    gap: 12px;
  }

  .nick-time {
    font-size: 14px;
  }

  .nick-time span {
    font-size: 12px;
  }

  .comment-text {
    font-size: 12px;
  }

  .comment-texts__replys {
    border: none;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.10);
    padding: 0 12px;
  }

  .comment-texts__reply {
    padding: 10px 0;
    border-bottom: none;
  }

  .reply-text {
    font-size: 12px;
  }

  .reply-sub {
    flex-direction: column;
    gap: 0;
  }

  .reply-sub button.reply {
    background-size: 20px auto;
    padding-left: 22px;
  }

  .reply-text-sub {
    display: none;
  }

  .comment-texts__reply .expand {
    font-size: 12px;
    padding: 10px 0 0;
  }

  .comment-texts__actions {
    border-top: 1px dashed rgba(255, 255, 255, 0.10);
    padding: 5px 0;
  }

}
