/* 隐藏页脚 Next/Previous 导航（构建后自动生效） */
.md-footer__inner nav {
  display: none !important;
}

/* 仅隐藏页脚的 Next 链接（更精确） */
.md-footer__link--next {
  display: none !important;
}

/* 隐藏侧边栏“快速开始”菜单项（构建后的链接为 quickstart/introduction/） */
a.md-nav__link[href$="quickstart/introduction/"] {
  display: none !important;
}

/* 仅首页启用缩放时隐藏页面滚动条，避免出现多余滚动 */
.fit-scale-active body {
  overflow: hidden !important;
}

/* 图片显示可放大提示光标（即使未启用内置灯箱也保留） */
.md-content img {
  cursor: zoom-in;
}

/* 自定义灯箱样式 */
.img-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.img-lightbox-overlay.show { display: flex; }
.img-lightbox-box {
  max-width: 90vw;
  max-height: 90vh;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  border-radius: 8px;
  overflow: hidden;
}
.img-lightbox-box img {
  display: block;
  max-width: 100%;
  max-height: 90vh;
}