/* .page {
  max-width: 980px;
  margin: 20px auto;
  padding: 0 16px
} */
#emoji-btn{ font-size: 22px; border: 0; background: transparent; cursor: pointer; }

#sendBtn.disabled {
  background: #dce1e7;
  color: #fff;
  cursor: not-allowed;
} 
.post-card {
  border: 1px solid #dce1e7;
  border-radius: 13px;
  padding: 20px
}

.post-head {
  display: flex;
  gap: 13px;
  align-items: flex-start
}

.avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  background: #edf0f3
}

.avatar.small {
  width: 44px;
  height: 44px
}

.author-info {
  flex: 1;
  min-width: 0
}

.author-line {
  display: flex;
  gap: 8px;
  align-items: center
}

.author-badge {
  font-size: 12px;
  background: #e9edf2;
  padding: 3px 8px;
  border-radius: 6px
}

.profile-title {
  font-size: 14px;
  color: #69788b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.post-time {
  font-size: 13px;
  color: #6b7788
}

.post-content {
  font-size: 18px;
  margin: 14px 0 18px 67px
}

.post-actions {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #e6e9ee;
  padding: 8px 5px 12px;
  color: #627084
}

.main-composer {
  display: flex;
  gap: 10px;
  margin-top: 14px
}

.composer-box {
  position: relative;
  flex: 1;
  border: 1px solid #cccccc;
  border-radius: 30px !important;
  padding: 5px 10px;
}

.composer-box textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  border: 0;
  outline: 0;
  resize: none;
  padding: 13px 15px;
  font: 16px inherit !important;
  color: #1c1e21;
}

.composer-bottom {
  height: 46px;
  display: flex;
  align-items: center;
  padding: 0 9px;
  position: relative
}

.tool {
  width: 38px;
  height: 35px;
  border: 0;
  background: transparent;
  border-radius: 7px;
  font-size: 25px;
  cursor: pointer
}

.tool:hover {
  background: #f0f2f5
}

.composer-box .send {
  margin-left: auto;
  background: #1769d2;
  color: #fff;
  border: 0;
  border-radius: 25px;
  padding:9px 20px;
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
}

.sort-row {
  padding: 16px 0 7px;
  color: #637185;
  font-weight: 700;
  font-size: 16px;
}

.comment {
  display: flex;
  gap: 5px;
  padding: 8px 0;

}

.comment-main {
  flex: 1;
  min-width: 0;
  margin-top: -8px;
}

.bubble {
  /* background: #f2f2f2;
  border-radius: 13px; */
  padding: 10px 13px;
  font-size: 16px;
}
.bubble .name a{color:#666666;font-weight:500;}

.comment-image {
  max-width: 280px;
  max-height: 280px;
  display: block;
  border-radius: 9px;
  margin-top: 8px
}

.comment-actions {
  display: flex;
  gap: 10px;
  padding: 5px 0px;
  font-size: 12px;
  color: #677589
}

.action {
  border: 0;
  background: transparent;
  color: #59697c;
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;
}

.action.active {
  color: #1769d2
}

.reaction-count {
  margin-left: auto
}

.reply-list {
  margin-left: 18px;
  border-left: 2px solid #edf0f4;
  padding-left: 11px
}

.reply-toggle {
  border: 0;
  background: transparent;
  color: #5e6c7f;
  font-weight: 700;
  cursor: pointer;
  margin: 3px 0 4px 8px;
  font-size: 13px;
}

/* .comment-children {
    --nest-offset: calc(var(--nest-offset, 0px) + 46px);
    margin: 12px 0 0 28px;
    padding-left: 18px;
    border-left: 2px solid #e6eaf0;
} */

.reply-composer {
  display: flex;
  gap: 9px;
  margin: 8px 0;
  /* position: relative;
  margin: 10px 0 14px;
  margin-left: calc(0px - var(--nest-offset, 0px));
  width: calc(100% + var(--nest-offset, 0px));
  box-sizing: border-box; */
}

.reply-composer .composer-box {
  border-radius: 11px;
  /* width: 100%;
  box-sizing: border-box;
  border-radius: 18px;
  padding: 14px; */
}

.replying-to {
  font-size: 12px;
  color: #6c798b;
  padding: 7px 10px 0
}

.replying-to strong {
  color: #1769d2
}

.cancel-reply {
  float: right;
  border: 0;
  background: transparent;
  color: #6b7788;
  cursor: pointer
}

.reply-composer textarea {
  min-height: 40px
}

.load-more {
  width: 100%;
  border: 0;
  border-radius: 9px;
  background: #f1f3f6;
  padding: 12px;
  color: #5d6b7c;
  font-weight: 700;
  cursor: pointer
}

.image-preview {
  display: none;
  padding: 5px 10px
}

.image-preview img {
  max-width: 150px;
  max-height: 150px
}

.emoji-picker {
  position: absolute;
  left: 0;
  bottom: 50px;
  width: 385px;
  background: #fff;
  border: 1px solid #d6dbe2;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(30, 40, 55, .2);
  z-index: 999;
  overflow: hidden
}

.emoji-picker[hidden] {
  display: none
}

.emoji-search {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 11px
}

.emoji-search-icon {
  font-size: 24px
}

.emoji-search input {
  flex: 1;
  height: 39px;
  border: 0;
  outline: 0;
  background: #f1f3f6;
  border-radius: 8px;
  padding: 0 12px
}

.emoji-close {
  border: 0;
  background: transparent;
  font-size: 29px;
  color: #4f555c;
  cursor: pointer
}

.emoji-tabs {
  display: flex;
  gap: 1px;
  padding: 5px 7px;
  border-top: 1px solid #edf0f3;
  border-bottom: 1px solid #e2e6eb;
  overflow-x: auto
}

.emoji-tab {
  flex: 0 0 42px;
  height: 39px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  font-size: 22px;
  cursor: pointer
}

.emoji-tab.active {
  border-bottom-color: #087f55
}

.emoji-content {
  max-height: 370px;
  overflow-y: auto;
  padding: 13px 14px 17px
}

.emoji-section-title {
  margin: 0 0 12px;
  font-size: 17px;
  color: #61666c
}

.emoji-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 3px 5px;
  margin-bottom: 24px
}

.emoji-item {
  height: 42px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  font-size: 27px;
  cursor: pointer
}

.emoji-item:hover {
  background: #f0f2f5;
  transform: scale(1.08)
}



@media(max-width:600px) {
  .page {
    margin: 0;
    padding: 0
  }

  .post-card {
    border-radius: 0;
    padding: 13px
  }

  .post-content {
    margin-left: 0
  }

  .profile-title {
    max-width: 210px
  }

  .emoji-picker {
    width: calc(100vw - 30px);
    left: -5px
  }

  .emoji-grid {
    grid-template-columns: repeat(7, 1fr)
  }
}