/* 镜像子页：移动/离线补丁 */
html.sqb-mirror {
  -webkit-text-size-adjust: 100%;
}

@media (max-width: 1023px) {
  html.sqb-mirror [class*="group/case-card"][class*="hidden"][class*="max-lg:flex-col"] {
    display: flex !important;
    flex-direction: column;
  }
}

html.sqb-mirror [style*="--bg-image-mobile"] {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

html.sqb-mirror img.sqb-mirror-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 10;
  pointer-events: none;
}

html.sqb-mirror .index-module__BXGLFG__container {
  display: none !important;
}

html.sqb-mirror img[src="/assets/"],
html.sqb-mirror img[src^="/assets/"] {
  color: transparent;
}

/* 顶栏汉堡菜单：保证可点、压在内容之上（离线无 React 时靠 mobile-nav.js） */
html.sqb-mirror [class*="block lg:hidden"][class*="fixed"][class*="top-0"] {
  z-index: 10050 !important;
  pointer-events: auto !important;
}

html.sqb-mirror [class*="block lg:hidden"][class*="fixed"][class*="top-0"] button {
  cursor: pointer;
  touch-action: manipulation;
  position: relative;
  z-index: 2;
}

html.sqb-mirror #sqb-mobile-nav:not(.is-open) {
  pointer-events: none !important;
  visibility: hidden !important;
}
