
#vdetail-comments {
  text-align: left;
}

.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;
}

.vdetail-comments__total{
  color: var(---90, #FAFAFA);
  font-family: PingFang SC;
  font-weight: 500;
  font-style: Medium;
  font-size: 20px;
  leading-trim: NONE;
  line-height: 28px;
  letter-spacing: 0%;
  vertical-align: middle;
  margin-top: 12px;
  text-align: left;
}

.comment-texts {
  flex: 1;
  text-align: left;
}

.nick-time {
  color: var(---500, var(---500, #3E7DFF));

  /* Medium */
  font-family: "PingFang SC";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 142.857% */
}
.comment-texts__footer{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.comment-text {
  overflow: hidden;
  margin-top: 6px;
  color: var(---100, #FFF);
  text-overflow: ellipsis;

  /* Regular */
  font-family: "PingFang SC";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 142.857% */
}

.comment-texts__actions {
}

.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 {
  color: var(---500, var(---500, #3E7DFF));

  /* Regular */
  font-family: "PingFang SC";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px; /* 150% */
}

.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-time{
  color: var(---60, #757575);

  /* Regular */
  font-family: "PingFang SC";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px; /* 150% */
}

.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: #3E7DFF;
}

.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;
  display: none;
}

.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: #3E7DFF;
  font-weight: 600;
}

.sort-btn {
  color: #7C7C7C;
  font-size: 18px;
  margin: 0 6px;
  padding: 4px 12px;
  border-radius: 46px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sort-btn.active {
  background: rgba(254, 189, 43, 0.10);
  color: #3E7DFF;
  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: #3E7DFF;
}

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

@media screen and (max-width: 824px) {
  .vdetail-comments__sorts {
    display: none;
  }
  .vdetail-comments__total{
    font-family: PingFang SC;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px !important;
    leading-trim: NONE;
    line-height: 20px;
    letter-spacing: 0%;
    vertical-align: middle;
    text-align: left;
  }
  .vdetail-comment {
    padding: 0 0 18px;
    gap: 12px;
  }

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

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

  .comment-text {
    overflow: hidden;
    color: var(---100, #FFF);
    text-overflow: ellipsis;

    /* Regular */
    font-family: "PingFang SC";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
  }

  .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 {
    padding: 5px 0;
  }

}

/* 回复输入框样式 */
.reply-input-container {
  margin: 16px 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;
}

.reply-input-box-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reply-to-info {
  color: #3E7DFF;
  font-size: 14px;
  font-weight: 500;
}

.reply-input-box {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;
  color: #FFF;
  font-size: 14px;
  font-family: "PingFang SC", sans-serif;
  resize: vertical;
  min-height: 60px;
}

.reply-input-box::placeholder {
  color: #656565;
}

.reply-input-box:focus {
  outline: none;
  border-color: #3E7DFF;
}

.reply-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.reply-cancel-btn,
.reply-send-btn {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.reply-cancel-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.20);
  color: #7C7C7C;
}

.reply-cancel-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.30);
}

.reply-send-btn {
  background: #3E7DFF;
  border: 1px solid #3E7DFF;
  color: #000;
}

.reply-send-btn:hover:not(:disabled) {
  background: #3E7DFF;
  border-color: #3E7DFF;
}

.reply-send-btn:disabled {
  background: #7C7C7C;
  border-color: #7C7C7C;
  cursor: not-allowed;
  opacity: 0.6;
}
