html{font-size:5px;}
body{font-size:14px;}
img,img:before{object-fit:cover;display:block;image-rendering:-moz-crisp-edges;image-rendering:-o-crisp-edges;image-rendering:-webkit-optimize-contrast;image-rendering:crisp-edges;-ms-interpolation-mode:nearest-neighbor}
.flex{display:flex;}
.flexalign{display:flex;align-items:center;}
.flextop{display:flex;align-items:flex-start;}
.flexbtm{display:flex;align-items:flex-end;}
.flexend{display:flex;justify-content:flex-end}
.flexspace{display:flex;justify-content:space-between;}
.flexbase{display:flex;align-items:center;justify-content:space-between;}
.flexaround{display:flex;align-items:center;justify-content:space-around;}
.flexcenter{display:flex;align-items:center;justify-content:center;}
.flexwarp{display:flex;flex-wrap:wrap}
.flexclm{flex-direction:column;}
.flex1{flex:1}
.wholeW{width:100%;}
.wholeA{width:100%;height:100%;}
.ell-txt{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;}
.bg_img{position:absolute;width:100%;height:100%;left:0;top:0}
.snow_txt{color:#fff;}
.nowrap{white-space:nowrap;}

/* 2026-10-13：正文图片恢复行内盒。上面全局 img{display:block} 会把编辑器产出的
   <figure style="text-align:center"><img>（以及老站迁移来的
   <p style="text-align:center"><img>）的对齐打掉——text-align 对块级子元素无效，
   图片因此左对齐（用户实测：编辑器里居中、预览里左对齐）。正文容器里的图片改回
   行内盒，父级 figure/p 的 text-align 重新生效；object-fit:cover 对 height:auto
   的正文图本就无效，不受影响。 */
.layout_txtcontent_content img{display:inline-block;}
