/* V16 — 微信参考图九宫格尺寸校准
   仅修改 2~9 张图片的图片区，不影响单图、点赞头像、字体和评论。 */

/* 微信参考截图里的 3×3 九宫格明显比当前项目窄。
   当前基础样式 max-width:242px，这里收至 168px。 */
.detail-images:not(.count-1){
  width:168px !important;
  max-width:168px !important;
  grid-template-columns:repeat(3,54px) !important;
  gap:3px !important;
  margin-top:7px !important;
  margin-bottom:5px !important;
}

.detail-images:not(.count-1) .detail-photo{
  width:54px !important;
  height:54px !important;
  aspect-ratio:auto !important;
  overflow:hidden !important;
  border-radius:1px !important;
}

.detail-images:not(.count-1) .detail-photo img{
  width:54px !important;
  height:54px !important;
  object-fit:cover !important;
  display:block !important;
}

/* 2~8张时仍保持微信式三列网格，不拉伸图片 */
