<style>
  html,
  body.page-id-13 {
    height: 100%;
    margin: 0;
  }

  body.page-id-13 {
    --qqbd-gap-top: 16px;
    --qqbd-gap-bottom: 16px;
    overflow: hidden !important;
    overscroll-behavior: none;
  }

  @media (max-width: 767px) {
    body.page-id-13 {
      --qqbd-gap-top: 6px;
      --qqbd-gap-bottom: 4px;
    }
  }

  /* 整页工作台：用 JS 算出来的真实可见高度，而不是死写 100vh/100dvh */
  body.page-id-13 .wd-page-wrapper.website-wrapper {
    height: calc(var(--qqbd-vh, 100vh) - var(--qqbd-adminbar-h, 0px)) !important;
    min-height: calc(var(--qqbd-vh, 100vh) - var(--qqbd-adminbar-h, 0px)) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }

  body.page-id-13 .whb-header {
    flex: 0 0 auto !important;
  }

  body.page-id-13 .wd-page-content.main-page-wrapper {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  body.page-id-13 #main-content.wd-content-layout.content-layout-wrapper.container {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;

    padding-top: var(--qqbd-gap-top) !important;
    padding-bottom: var(--qqbd-gap-bottom) !important;
    padding-left: 15px !important;
    padding-right: 15px !important;

    box-sizing: border-box !important;
  }

  body.page-id-13 .wd-content-area.site-content,
  body.page-id-13 article.entry-content,
  body.page-id-13 .elementor.elementor-13,
  body.page-id-13 .elementor-element-a1eeadd,
  body.page-id-13 .elementor-element-a1eeadd > .e-con-inner,
  body.page-id-13 .elementor-element-fef64c9,
  body.page-id-13 .elementor-element-fef64c9 > .elementor-widget-container,
  body.page-id-13 .elementor-shortcode {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }

  /* 关键：不要再用 height:100% 依赖祖先高度链 */
  body.page-id-13 .elementor-shortcode > .qqbd,
  body.page-id-13 .qqbd {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  /* 上方画布区必须是真正可伸缩区域 */
  body.page-id-13 .qqbd-stagewrap {
    flex: 1 1 auto !important;
    min-height: 140px !important;
  }

  /* 下方区域不要把 stage 顶没 */
  body.page-id-13 .qqbd-actions,
  body.page-id-13 .qqbd-panel,
  body.page-id-13 .qqbd-panel-body {
    min-height: 0 !important;
  }

  body.page-id-13 .qqbd-actions,
  body.page-id-13 .qqbd-panel {
    flex: 0 0 auto !important;
  }

  /* 只允许插件内部该滚的地方滚 */
  body.page-id-13 .qqbd-grid,
  body.page-id-13 .qqbd-cats {
    overflow: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  /* 禁止整页滚动链路 */
  body.page-id-13 .wd-page-wrapper.website-wrapper,
  body.page-id-13 .wd-page-content.main-page-wrapper,
  body.page-id-13 #main-content.wd-content-layout.content-layout-wrapper.container,
  body.page-id-13 .wd-content-area.site-content,
  body.page-id-13 article.entry-content,
  body.page-id-13 .elementor.elementor-13,
  body.page-id-13 .elementor-element-a1eeadd,
  body.page-id-13 .elementor-element-a1eeadd > .e-con-inner,
  body.page-id-13 .elementor-element-fef64c9,
  body.page-id-13 .elementor-element-fef64c9 > .elementor-widget-container,
  body.page-id-13 .elementor-shortcode,
  body.page-id-13 .qqbd {
    overscroll-behavior: none !important;
  }

  body.page-id-13 .wd-footer.footer-container {
    display: none !important;
  }
</style>