/* v6.1.6.88：Edge 广告、Logo、手机头部、页脚与公告正文最终修复 */
/* Edge 会在图片已被缓存时跳过 load 事件；JS 已补 complete/naturalWidth 分支，这里取消依赖 visibility 的隐藏策略。 */
.ad-slot,.ad-content{min-width:0!important;isolation:isolate}.ad-content{display:flex!important;visibility:visible!important;opacity:1!important}.ad-image img{display:block!important;visibility:visible!important;opacity:0;transition:opacity .15s ease}.ad-image.is-loaded img{opacity:1!important}.ad-image .ad-image-fallback{display:flex!important}.ad-image.is-loaded .ad-image-fallback,.ad-image.is-loaded .ad-action{visibility:hidden!important}.ad-content img{max-width:100%;-ms-interpolation-mode:bicubic}
/* 替换的圆形自然徽章保留完整比例，不裁成方形。 */
.brand-icon,.globe-watermark img{background:#000!important}.brand-icon img,.globe-watermark img{object-fit:contain!important}.brand-icon{width:48px!important;height:48px!important;flex:0 0 48px!important;padding:2px}.globe-watermark img{width:28px!important;height:28px!important;padding:1px}
/* HTML 备案或版权内容较长时自动换行并占据自然高度，避免压住地图主体或横向错位。 */
.site-footer{height:auto!important;min-height:36px!important;white-space:normal!important;overflow:visible!important;flex-wrap:wrap!important;align-content:center!important;text-align:center!important;padding:7px 14px!important;line-height:1.6!important;word-break:break-word!important}.site-footer span,.site-footer a{max-width:100%;overflow-wrap:anywhere}
/* 后台公告编辑器辅助提示。 */
.announcement-editor{width:min(820px,calc(100vw - 30px))!important}.announcement-editor .pg-editor-bar{margin:0 0 8px}.announcement-editor .pg-code{min-height:340px;font-size:13px;line-height:1.65}.ann-editor-note{margin:0 0 14px;padding:9px 11px;border-left:3px solid #b35a39;background:#f6f0e7;color:#695c4d;font-size:12px;line-height:1.65}
.ann-visual-editor{min-height:340px;padding:14px 16px;border:1px solid #b9aa91;background:#fffdf7;color:#30291f;font:16px/1.8 Georgia,'STKaiti','KaiTi','Microsoft YaHei',serif;outline:0;overflow:auto}.ann-visual-editor:focus{border-color:#9f4a32;box-shadow:0 0 0 2px rgba(159,74,50,.12)}.ann-visual-editor:empty:before{content:attr(data-placeholder);color:#998f7f}.ann-visual-editor p{margin:0 0 12px}.ann-visual-editor h2{margin:20px 0 10px}.ann-visual-editor img,.ann-visual-editor video{display:block;max-width:100%;height:auto;margin:14px auto}
/* 公告页正文支持多图、多视频、末尾图库。 */
.ann-body{white-space:normal!important;overflow-wrap:anywhere}.ann-body h2{margin:24px 0 10px;font-size:21px}.ann-body p{margin:0 0 14px}.ann-body img,.ann-body video{display:block;width:auto;max-width:100%;height:auto;max-height:none;margin:18px auto;border:1px solid #94866e;background:#171914}.announcement-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:22px 0}.announcement-gallery img{width:100%;height:180px;max-height:none;margin:0;object-fit:cover}.ann-body.is-collapsed{max-height:12em}.ann-body.is-collapsed>*{display:none}.ann-body.is-collapsed:after{content:'公告正文含多媒体，点击“展开全文”查看完整内容';display:block;white-space:normal;color:#776c59}
@media(max-width:720px){
 .brand{display:flex!important;max-width:calc(100% - 94px)!important;gap:7px!important;min-width:0!important}.brand-icon{display:grid!important;width:34px!important;height:34px!important;flex-basis:34px!important;padding:1px!important}.brand-name{display:flex!important;height:34px!important;min-width:0!important}.brand-name h1{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:13px!important;line-height:34px!important}.header{gap:7px!important}.search{margin-left:auto!important;min-width:58px!important;width:58px!important}.search input{display:none!important}.search button{position:static!important;transform:none!important;width:34px!important;height:34px!important;margin-left:auto!important}.icon-btn{display:none!important}.site-footer{min-height:44px!important;padding:6px 10px!important;font-size:9px!important}.app{grid-template-rows:58px 98px minmax(0,1fr) auto!important}.announcement-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.announcement-gallery img{height:130px}.ann-body img,.ann-body video{margin:13px auto}
}
