/* V14：按用户提供的微信原版截图重新校准尺寸。
   只做视觉覆盖，不修改点赞/评论/头像池逻辑。 */

html,body{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}

/* 顶部 */
.wx-nav{height:47px}
.nav-title{
  font-size:18px !important;
  line-height:47px !important;
  font-weight:600 !important;
}
.nav-icon.back img{
  width:23px !important;
  height:27px !important;
}
.nav-icon.dots img{
  width:27px !important;
  height:18px !important;
}

/* 动态发布者：当前截图里头像偏小，参考图约大 18% */
.moment-detail{
  grid-template-columns:47px minmax(0,1fr) !important;
  gap:10px !important;
}
.owner-avatar{
  width:47px !important;
  height:47px !important;
}
.owner-name{
  font-size:18px !important;
  line-height:23px !important;
  font-weight:600 !important;
  margin-top:0 !important;
  margin-bottom:4px !important;
}
.moment-text{
  font-size:17px !important;
  line-height:25px !important;
}
.meta-line,.meta-time,.location{
  font-size:14px !important;
  line-height:22px !important;
}

/* 删除和更多按钮 */
.meta-trash{
  width:21px !important;
  height:24px !important;
}
.meta-trash img{
  width:20px !important;
  height:22px !important;
}
.meta-more{
  width:42px !important;
  height:27px !important;
}

/* 点赞区：参考图一行 8 个，头像约 31px CSS，不能再拉伸填满 */
.likes-section{
  min-height:49px !important;
  grid-template-columns:44px minmax(0,1fr) !important;
  align-items:start !important;
}
.heart-icon{
  width:44px !important;
  height:49px !important;
}
.heart-icon img{
  width:28px !important;
  height:28px !important;
}
.like-avatars{
  display:grid !important;
  grid-template-columns:repeat(8,31px) !important;
  column-gap:7px !important;
  row-gap:7px !important;
  justify-content:start !important;
  align-items:start !important;
  min-height:49px !important;
  padding:7px 5px 7px 0 !important;
  overflow:visible !important;
}
.small-avatar{
  width:31px !important;
  height:31px !important;
  aspect-ratio:auto !important;
  border-radius:3px !important;
}
.small-avatar img{
  width:31px !important;
  height:31px !important;
}
.like-count-text{
  grid-column:1/-1;
  font-size:14px !important;
  line-height:20px !important;
}

/* 评论区：参考图头像也比当前点赞大头像稍小 */
.comments-section{
  grid-template-columns:44px 1fr !important;
}
.comment-icon{
  width:44px !important;
  padding-top:18px !important;
}
.comment-icon img{
  width:25px !important;
  height:25px !important;
}
.comment-row{
  grid-template-columns:31px minmax(0,1fr) !important;
  gap:8px !important;
  padding:11px 0 10px !important;
}
.comment-avatar{
  width:31px !important;
  height:31px !important;
}
.comment-name{
  font-size:16px !important;
  line-height:20px !important;
}
.comment-time{
  font-size:13px !important;
  line-height:20px !important;
}
.comment-text{
  font-size:16px !important;
  line-height:23px !important;
}

/* 底部：当前栏偏高而图标偏小；参考图反过来 */
.bottom-compose{
  height:84px !important;
  min-height:84px !important;
  padding:7px 8px 0 !important;
}
.comment-form{
  height:44px !important;
  grid-template-columns:minmax(0,1fr) 47px 47px !important;
  gap:3px !important;
}
.comment-form input{
  height:40px !important;
  font-size:16px !important;
  padding:0 11px !important;
}
.compose-icon{
  width:47px !important;
  height:44px !important;
}
.compose-icon img{
  width:38px !important;
  height:38px !important;
}

/* 主屏幕模式对应同步校准 */
html.standalone-mode .bottom-compose{
  height:84px !important;
  min-height:84px !important;
  padding:7px 8px 0 !important;
}
