/* M28-URGENT · 真机点击修复：遮罩层未打开必须彻底不存在 + z-index 金字塔 + 页尾紧凑 */
/* z-index: 内容 1 < 遮罩 3800 < 顶栏 4000 < 抽屉 4100（纯实色，绝不被灰膜盖住） */
html body .fy-mega-backdrop,
html body .drawer-backdrop,
html body .nav-overlay,
html body .modal-backdrop,
html body .mega-scrim {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}
html body [data-open="true"].fy-mega-backdrop,
html body [data-open="true"].drawer-backdrop,
html body [data-open="true"].nav-overlay,
html body [data-open="true"].modal-backdrop { display: block !important; }
/* 顶栏 / 大菜单 / 抽屉层级 */
html body header[data-header], html body header.fy-site-header { z-index: 4000 !important; }
html body [data-overlay-panel="products"], html body [data-overlay-panel="news-blog"] { z-index: 3900 !important; }
html body .hd-lang[data-lang-panel][data-open="false"],
html body [data-overlay-panel][data-open="false"],
html body .drawer[data-open="false"] {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}
html body .drawer[data-open="true"] {
  z-index: 4100 !important;
  background: #fbfaf7 !important;
  pointer-events: auto !important;
  visibility: visible !important;
}
/* 页尾联系方式 13.5px 紧凑排布 */
@media (max-width: 767px) {
  html body .foot-contact a,
  html body .foot-contact bdi,
  html body .foot-contact__address {
    font-size: 13.5px !important;
    line-height: 1.35 !important;
    margin-block: 2px !important;
    display: block !important;
  }
}
/* Logo 空白方框兜底：确保真实 SVG 显示 */
html body img.hd__brand-mark { display: inline-block !important; object-fit: contain !important; }
/* 生产主题严禁出现批注/评审胶囊 */
html body [data-stm-annot], html body .stm-annot, html body .annot-pill,
html body [class*="annot"], html body [id*="annot"] { display: none !important; }

/* M28-URGENT P0: 390 下 hero hotspot 被撑到 800px+ 导致页面 157009px 高、按钮全点不到 */
@media (max-width: 767px) {
  html body .fy3-hero__media,
  html body .fy3-hero__slide {
    position: relative !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100vh !important;
    overflow: hidden !important;
  }
  html body .fy3-hero__photo {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
  }
  html body .fy3-hotspot,
  html body button.fy3-hotspot,
  html body .fy3-hotspot img,
  html body .fy3-hotspot__dot {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    flex: 0 0 44px !important;
    box-sizing: border-box !important;
  }
}

/* M28-URGENT: compare/video 原尺寸图片把 390 页面撑到 150k，锁高 */
@media (max-width: 767px) {
  html body .fy3-compare,
  html body .fy3-compare__plate,
  html body .fy3-compare__img,
  html body .fy3-hero__video,
  html body video {
    max-height: 100vw !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    box-sizing: border-box !important;
  }
  html body .fy3-compare__plate { overflow: hidden !important; }
}

/* M28-URGENT P0: 移动端跑马灯/网格/inspector 撑出 149k 页面，统一封顶 */
@media (max-width: 767px) {
  html body .fy-marquee,
  html body .fy-marquee__track,
  html body .fy3-inspector,
  html body .fy3-control-col,
  html body .fy3-sets__grid,
  html body .fy3-company__patents {
    max-height: 900px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  html body .fy3-section { max-height: none !important; }
}
