/* hub=1 嵌入模式：在 analysis-gallery iframe 内隐藏全站 chrome */

body.hub-embed {
    --site-header-height: 0px;
    min-height: auto;
}

/* 嵌入 iframe 内关闭全站 mesh，避免多余层叠与滚动 */
body.hub-embed::before {
    display: none !important;
}

body.hub-embed .layout-container {
    min-height: auto;
}

body.hub-embed .main-content {
    min-height: auto;
    padding-bottom: 0;
}

@media (max-width: 768px) {
    body.hub-embed .main-content {
        padding-bottom: 0;
    }
}

/* 嵌入 iframe 内不展示登录条（由工具集外壳页脚统一展示） */
body.hub-embed #wm-hint-bar.wm-hint-bar {
    display: none !important;
}

body.hub-embed .site-header,
body.hub-embed .site-footer,
body.hub-embed .mobile-tab-bar,
body.hub-embed .journey-sidebar,
body.hub-embed .journey-sidebar-overlay,
body.hub-embed .feedback-btn,
body.hub-embed .act-fab,
body.hub-embed .qc-fab,
body.hub-embed .qc-panel,
body.hub-embed .share-menu,
body.hub-embed .feedback-modal {
    display: none !important;
}

body.hub-embed.has-journey-sidebar {
    padding-left: 0 !important;
}

body.hub-embed .main-content,
body.hub-embed main.page-content {
    max-width: none;
    padding-top: 0;
    margin: 0;
}

body.hub-embed .page-header .breadcrumb {
    display: none;
}

body.hub-embed .page-notice-bar,
body.hub-embed .related-tools,
body.hub-embed .page-faqs {
    display: none !important;
}
