.trend .comments h2 { font-size: 16px; font-weight: 700; margin: 22px 0 8px; letter-spacing: 0; }
.trend .comments, .trend .comments button, .trend .comments textarea, .trend .comments p, .trend .comments b {
  font-family: Inter, "Segoe UI", "Helvetica Neue", sans-serif;
}
.trend .composer { display: flex; gap: 10px; align-items: flex-end; margin: 0 0 8px; padding: 0; }
.trend .composer textarea {
  flex: 1 1 auto; min-width: 0; width: auto; box-sizing: border-box;
  height: 44px; min-height: 44px; max-height: 140px; resize: none; overflow: hidden;
  border: 0; border-radius: 16px; outline: 0;
  font: inherit; font-size: 16px; line-height: 1.4; padding: 12px 14px;
  background: #f2f2f2; color: inherit;
}
.trend .composer button {
  border: 0; border-radius: 999px; background: #e2ae41; color: #1a1a1a;
  font-weight: 700; min-height: 44px; padding: 0 16px; cursor: pointer; align-self: flex-end;
}
.trend .cmt { position: relative; overflow: hidden; display: block; margin: 0; padding: 0; border-top: 1px solid #eee; }
.trend .cmt-slide { position: relative; z-index: 1; background: var(--bg, #fff); padding: 14px 0 18px; transition: transform .16s ease; }
.trend .cmt-thread, .trend .cmt-replies { background: var(--bg, #fff); }
.trend .cmt.is-reply { margin-left: 46px; }
.trend .cmt.is-swiped .cmt-slide { transform: translateX(-88px); }
.trend .cmt-swipe-del {
  position: absolute; top: 0; right: 0; bottom: 0; width: 88px; border: 0;
  background: #c62828; color: #fff; font-weight: 700; display: grid; place-items: center;
}
.trend .cmt b { font-size: 13px; }
.trend .cmt p { margin: 4px 0 6px; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; white-space: pre-wrap; }
.trend .cmt-edit {
  width: 100%; min-height: 72px; max-height: 160px; resize: none; box-sizing: border-box;
  border: 0; border-radius: 12px; background: #f2f2f2; font: inherit; font-size: 16px; line-height: 1.4; padding: 10px 12px;
}
.trend .cmt-edit-bar { display: flex; gap: 14px; }
.trend .cmt-acts { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; margin-bottom: 4px; }
.trend .cmt-acts button, .trend .cmt-replying button, .trend .cmt-like, .trend .cmt-ico {
  border: 0; background: none; color: #5c6573; font: inherit; font-size: 12px; font-weight: 700;
  min-height: 32px; min-width: 32px; padding: 0 8px; cursor: pointer; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
}
.trend .cmt-like svg, .trend .cmt-ico svg, .trend .cmt-swipe-del svg {
  width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.trend .cmt-like.is-on { color: #183d83; }
.trend .cmt-like.is-on svg { fill: currentColor; }
.trend .cmt-replies-toggle {
  display: flex; align-items: center; gap: 10px; margin: 0 0 2px 28px; padding: 2px 0;
  border: 0; background: none; color: #5c6573; font: 700 12px/1.2 inherit; cursor: pointer;
}
.trend .cmt-replies-toggle::before { content: ""; width: 22px; height: 1px; background: #c5c9d1; }
.trend .cmt-empty, .trend .cmt-note { color: #5c6573; font-size: 14px; margin: 8px 0; }
.trend .cmt-note:empty { display: none; }
.trend .cmt-replying { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 8px 0; color: #5c6573; font-size: 13px; }
.trend .avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #183d83; color: #fff; font-size: 12px; font-weight: 700; flex: none; overflow: hidden; }
.trend .avatar-person svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 1.75; }
.trend #cmt-av.has-photo { background-size: cover; background-position: center; color: transparent; }
.trend .when { color: #5c6573; font-weight: 400; font-size: 12px; }
html.z-dark .trend .cmt-slide, html.z-dark .trend .cmt-thread, html.z-dark .trend .cmt-replies { background: #0e1218; }
html.z-dark .trend .cmt { border-top-color: #2c3544; }
html.z-dark .trend .composer textarea, html.z-dark .trend .cmt-edit { background: #1c2330; color: #f3f5f8; }
html.z-dark .trend .cmt b, html.z-dark .trend .cmt p, html.z-dark .trend .comments h2 { color: #f3f5f8; }
@media (max-width: 900px) {
  .trend .comments h2 { font-size: 20px; font-weight: 800; margin: 18px 0 12px; }
  .trend .composer { flex-direction: column; align-items: stretch; }
  .trend #cmt-av { align-self: flex-start; }
  .trend #cmt-form { display: flex; }
}
