.talk-replys-main {
  padding-bottom: var(--spacing-3xl);
}

.talk-replys__tools {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.talk-replys__user-avatar {
  display: block;
  width: 40px;
  height: 40px;
  flex: none;
  border: var(--stroke-1) solid var(--semantic-border-hover);
  border-radius: var(--radius-full);
  background: var(--semantic-border);
}

.talk-replys__register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2xs);
  padding: var(--spacing-sm) 0;
  border-radius: var(--radius-full);
  color: var(--neutral-tx3-sub);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-20);
}

.talk-replys__panel {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px;
  border: var(--stroke-1) solid var(--semantic-border);
  border-radius: 16px;
  background: var(--semantic-white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .07);
}

.talk-detail {
  padding: var(--spacing-lg);
  border: var(--stroke-1) solid var(--semantic-border);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.talk-detail__header,
.talk-reply__header {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: var(--spacing-sm);
}

.talk-detail__avatar,
.talk-reply__avatar {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  overflow: hidden;
  border: var(--stroke-1) solid var(--semantic-border-hover);
  border-radius: var(--radius-full);
  background: var(--semantic-border);
}

.talk-detail__avatar img,
.talk-reply__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.talk-detail__header strong,
.talk-reply__header strong {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  color: var(--neutral-tx2-title);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-20);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.talk-detail__header time,
.talk-reply__header time {
  flex: none;
  color: var(--neutral-tx3-sub);
  font-size: var(--font-size-base);
  line-height: var(--line-height-20);
}

.talk-detail__more {
  display: flex;
  width: 18px;
  height: 18px;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-micro);
  padding: 0;
}

.talk-detail__more img {
  width: 2px;
}

.talk-detail__body {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  margin: var(--spacing-lg) 0 0 var(--spacing-2xl);
}

.talk-detail__body>p {
  color: var(--neutral-tx2-title);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-22);
}

.talk-detail__body a,
.talk-reply__body a {
  color: var(--brand-primary);
}

.talk-detail__addition {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  color: var(--neutral-tx3-sub);
  font-size: var(--font-size-base);
  line-height: var(--line-height-20);
}

.talk-detail__addition li {
  display: flex;
  align-items: center;
  gap: var(--spacing-2xs);
}

.talk-detail__addition img {
  width: 18px;
}

.reply-stats {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.reply-stats button {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: var(--spacing-3xs);
  padding: 0;
  color: var(--neutral-tx3-sub);
  font-size: var(--font-size-base);
  line-height: var(--line-height-20);
}

.reply-stats img {
  width: 18px;
}

.reply-stats .js-bookmark {
  width: 18px;
  height: 24px;
}

.js-bookmark.is-active img {
  content: url("../../images/community/post-form/bookmark-active.svg");
}

.talk-reply-form {
  padding: 20px;
  border-right: var(--stroke-1) solid var(--semantic-border);
  border-bottom: var(--stroke-1) solid var(--semantic-border);
  border-left: var(--stroke-1) solid var(--semantic-border);
}

.talk-reply-form__field {
  display: flex;
  width: 100%;
  align-items: flex-end;
  gap: 20px;
  padding: 10px;
  border: var(--stroke-1) solid var(--semantic-input-border);
  border-radius: 8px;
  background: var(--semantic-white);
}

.talk-reply-form textarea {
  min-width: 0;
  min-height: 20px;
  max-height: 60px;
  flex: 1;
  padding: 0;
  overflow-y: auto;
  border: 0;
  color: var(--neutral-tx2-title);
  background: transparent;
  font-family: inherit;
  font-size: var(--font-size-base);
  line-height: var(--line-height-20);
  outline: 0;
  resize: none;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.talk-reply-form textarea::placeholder {
  color: var(--neutral-tx4-dissolved);
}

.talk-reply-form button {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.talk-reply-form__gallery,
.talk-reply-form__video {
  width: 18px;
  height: 18px;
}

.talk-reply-form__gallery img {
  /* width: 16.5px; */
}

.talk-reply-form__video img {
  /* width: 17px; */
}

.talk-reply-form .talk-reply-form__submit {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  background: var(--semantic-border);
}

.talk-reply-form__submit img {
  width: 9px;
}

.talk-reply-form .talk-reply-form__submit:not(:disabled) {
  background: var(--brand-primary);
}

.talk-reply-list {
  border-right: var(--stroke-1) solid var(--semantic-border);
  border-left: var(--stroke-1) solid var(--semantic-border);
}

.talk-reply {
  padding: var(--spacing-lg);
  border-bottom: var(--stroke-1) solid var(--semantic-border);
  background: var(--semantic-bg);
}

.talk-reply__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
  margin: 10px 0 0 12px;
  padding-left: 18px;
}

.talk-reply.has-replies>.talk-reply__body {
  border-left: var(--stroke-1) solid var(--semantic-border-hover);
}

.talk-reply__body>p {
  color: var(--neutral-tx2-title);
  font-size: var(--font-size-base);
  line-height: var(--line-height-20);
}

.talk-reply__media {
  display: flex;
  width: 100%;
  max-width: 100%;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}

.talk-reply__media-card {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  border: var(--stroke-1) solid var(--semantic-border);
  border-radius: 16px;
  background: var(--semantic-white);
  isolation: isolate;
}

.talk-reply__media-card.is-width {
  height: 400px;
  aspect-ratio: 200 / 150.7538;
}

.talk-reply__media-card.is-length {
  height: 500px;
  aspect-ratio: 352.809 / 471;
}

.talk-reply__media--multiple {
  width: 100%;
  height: 400px;
  max-width: 1149.92px;
  overflow: hidden;
}

.talk-reply__media--multiple .talk-reply__media-card.is-length {
  height: 400px;
}

.talk-reply__media--multiple .talk-reply__media-card.is-width {
  height: 400px;
}

.talk-reply__media-card>img,
.talk-reply__media-card>video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

.talk-reply__sound {
  position: absolute;
  right: 19px;
  bottom: 19px;
  z-index: 1;
  display: flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: var(--radius-full);
  background: var(--badge-alpha-b-20);
}

.talk-reply__media-card.is-width .talk-reply__sound {
  width: 30px;
  height: 30px;
}

.talk-reply__sound img {
  width: 13px;
  height: 12px;
}

.talk-reply--nested {
  margin-top: 0;
  padding: var(--spacing-sm) 0 0;
  border: 0;
}

.talk-reply--nested .talk-reply__body {
  gap: var(--spacing-sm);
}

.talk-reply__branch {
  width: 16px;
  height: 1px;
  flex: none;
  margin-left: -18px;
  background: var(--semantic-border-hover);
}

.talk-reply__edited {
  flex: none;
  color: var(--neutral-tx3-sub);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-16);
}

.talk-replys__panel>.community-loading {
  margin-bottom: calc(var(--spacing-lg) * -1);
}

@media (max-width: 767px) {
  .talk-replys-main {
    padding-right: var(--spacing-sm);
    padding-left: var(--spacing-sm);
  }

  .talk-replys__tools,
  .talk-replys__panel {
    width: 100%;
  }

  .talk-replys__tools {
    padding-right: 0;
    padding-left: 0;
  }

  .talk-detail,
  .talk-reply {
    padding: 20px;
  }
}

@media (max-width: 479px) {
  .talk-replys__register {
    gap: 0;
    font-size: 0;
  }

  .talk-detail__body {
    margin-left: 0;
  }

  .talk-detail__header,
  .talk-reply__header {
    gap: var(--spacing-3xs);
  }

  .talk-detail__header time,
  .talk-reply__header time {
    font-size: var(--font-size-sm);
  }
}