
        /* 七政：隐藏顶部可调四柱（各端统一） */
        #qizhengResultShell .qizheng-result-shell__pillars-panel .qizheng-result-pillars-row,
        #qizhengResultShell .qizheng-result-shell__pillars-panel .qizheng-result-fourpillars,
        #qizhengResultShell .qizheng-result-shell__pillars-panel .qizheng-result-pillars-caption {
            display: none !important;
        }
        #qizhengResultShell .qizheng-result-head-row {
            margin-bottom: 0 !important;
        }
        /* 七政手机端关键样式内联：避免 CSS 文件缓存导致「没改动」 */
        @media screen and (max-width: 768px) {
            #qizhengResultShell .qizheng-result-shell__pillar-actions {
                display: grid !important;
                grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
                gap: 0.4rem !important;
            }
            #qizhengResultShell .qizheng-result-shell__pillar-actions .paipan-result-datetime-btn,
            #qizhengResultShell .qizheng-result-shell__pillar-actions .qizheng-repaipan-btn {
                grid-column: span 2 !important;
                font-size: 0.74rem !important;
                padding: 0.55rem 0.35rem !important;
                min-height: 2.65rem !important;
                line-height: 1.35 !important;
                border-radius: var(--btn-radius, 10px) !important;
                box-sizing: border-box !important;
                width: 100% !important;
                max-width: none !important;
            }
            #qizhengResultShell .qizheng-result-shell__pillar-actions .qizheng-pillar-action-btn {
                grid-column: span 3 !important;
                font-size: 0.74rem !important;
                padding: 0.55rem 0.5rem !important;
                min-height: 2.65rem !important;
                line-height: 1.35 !important;
                border-radius: var(--btn-radius, 10px) !important;
                box-sizing: border-box !important;
                width: 100% !important;
                max-width: none !important;
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
            }
            #qizhengResultShell .qizheng-result-shell__pillar-actions #qizhengExportFactsBtn {
                background: #fffdf8 !important;
                color: #5a4a34 !important;
                border: 1px solid rgba(160, 130, 80, 0.45) !important;
                box-shadow: none !important;
            }
            #qizhengResultShell .qizheng-quick-top-row {
                display: flex !important;
                flex-direction: row !important;
                gap: 0.2rem !important;
                width: 100% !important;
            }
            #qizhengResultShell .qizheng-quick-mobile-only {
                display: block !important;
            }
            #qizhengResultShell .qizheng-quick-info-menu {
                display: none !important;
                flex-direction: column !important;
                gap: 0.15rem !important;
                width: 100% !important;
                padding-top: 0.15rem !important;
                border-top: 1px solid rgba(160, 130, 80, 0.22);
            }
            #qizhengResultShell .qizheng-quick-info-menu.is-open {
                display: flex !important;
            }
            #qizhengResultShell .qizheng-quick-bar--corner .qizheng-quick-btn {
                font-size: 0.62rem !important;
                padding: 0.28rem 0.32rem !important;
            }
            #qizhengResultShell .qizheng-quick-top-row > .qizheng-quick-btn {
                flex: 1 1 0 !important;
                width: auto !important;
                font-size: 0.66rem !important;
                font-weight: 700 !important;
                padding: 0.34rem 0.28rem !important;
                white-space: nowrap !important;
            }
            /* 手机七政：去掉多层框，只留一个满宽盘底框 */
            #qizhengResultShell {
                padding-left: 0 !important;
                padding-right: 0 !important;
                border-radius: 0 !important;
                box-shadow: none !important;
            }
            #qizhengResultShell .qizheng-pan-area {
                display: flex !important;
                flex-direction: column !important;
                position: relative !important;
                gap: 0 !important;
                margin: 0 !important;
                padding: 0 !important;
                border: none !important;
                border-radius: 0 !important;
                background: transparent !important;
                box-shadow: none !important;
                overflow: visible !important;
            }
            #qizhengResultShell .qizheng-chart-info-card {
                position: relative !important;
                top: auto !important;
                left: auto !important;
                z-index: 2 !important;
                order: -1;
                width: auto !important;
                max-width: none !important;
                max-height: none !important;
                margin: 0 0.55rem 0.25rem !important;
                padding: 0.35rem 0.45rem !important;
                border: 1px solid rgba(160, 130, 80, 0.28) !important;
                border-radius: 10px !important;
                background: rgba(255, 252, 245, 0.96) !important;
                box-shadow: none !important;
            }
            #qizhengResultShell .qizheng-wheel-stage--moira {
                position: relative !important;
                width: 100vw !important;
                max-width: none !important;
                margin: 0 0 0 calc(50% - 50vw) !important;
                min-height: 0 !important;
                padding: 0 !important;
                background: radial-gradient(ellipse at 50% 42%, #faf6ee 0%, #f0e8d8 68%, #e8dcc8 100%) !important;
                border: none !important;
                box-shadow: none !important;
                border-radius: 0 !important;
                overflow: hidden !important;
            }
            #qizhengResultShell .qizheng-wheel-zoom-viewport {
                width: 100% !important;
                height: 100vw !important;
                max-height: min(100vw, 92dvh) !important;
                overflow: hidden !important;
                touch-action: pan-y !important;
                scrollbar-width: none !important;
                -ms-overflow-style: none !important;
            }
            #qizhengResultShell .qizheng-wheel-zoom-viewport::-webkit-scrollbar {
                display: none !important;
                width: 0 !important;
                height: 0 !important;
            }
            #qizhengResultShell .qizheng-wheel-zoom-sizer {
                position: relative;
            }
            #qizhengResultShell .qizheng-wheel-zoom-inner {
                transform-origin: 0 0;
                backface-visibility: hidden;
                -webkit-backface-visibility: hidden;
            }
            #qizhengResultShell .qizheng-wheel-stage--moira .qizheng-wheel-svg {
                width: 100%;
                max-width: none !important;
                max-height: none !important;
                height: auto !important;
                aspect-ratio: 1 / 1 !important;
                display: block !important;
                margin: 0 !important;
            }
            /* 流年时间 | 出生信息列（出生信息上、快速输入下）；真太阳时下一行 */
            #qizhengFineTuneBar .qizheng-time-stack,
            #qizhengBottomBarMount .qizheng-time-stack {
                display: flex !important;
                flex-direction: row !important;
                flex-wrap: wrap !important;
                align-items: flex-end !important;
                gap: 0.28rem 0.32rem !important;
                width: 100% !important;
            }
            #qizhengFineTuneBar .qizheng-time-col--transit,
            #qizhengBottomBarMount .qizheng-time-col--transit {
                order: 1 !important;
                flex: 1 1 34% !important;
                width: auto !important;
                min-width: 0 !important;
                max-width: none !important;
                margin: 0 !important;
                padding: 0 !important;
                border: none !important;
            }
            #qizhengFineTuneBar .qizheng-time-col--birth,
            #qizhengBottomBarMount .qizheng-time-col--birth {
                order: 2 !important;
                display: flex !important;
                flex-direction: column !important;
                flex-wrap: nowrap !important;
                align-items: stretch !important;
                gap: 0.22rem !important;
                flex: 1 1 58% !important;
                width: auto !important;
                min-width: 0 !important;
                max-width: none !important;
                margin: 0 !important;
                padding: 0 !important;
                border: none !important;
            }
            #qizhengFineTuneBar .qizheng-time-row--birth,
            #qizhengBottomBarMount .qizheng-time-row--birth,
            #qizhengFineTuneBar .qizheng-time-row--transit,
            #qizhengBottomBarMount .qizheng-time-row--transit {
                flex: 0 0 auto !important;
                flex-direction: column !important;
                align-items: stretch !important;
                min-width: 0 !important;
                width: 100% !important;
                gap: 0.12rem !important;
            }
            #qizhengFineTuneBar .qizheng-fine-tune__label,
            #qizhengBottomBarMount .qizheng-fine-tune__label,
            #qizhengFineTuneBar .qizheng-birth-quick__label,
            #qizhengBottomBarMount .qizheng-birth-quick__label {
                display: block !important;
                width: 100% !important;
                font-size: 0.58rem !important;
                font-weight: 700 !important;
                margin: 0 0 0.08rem !important;
                line-height: 1.2 !important;
                white-space: nowrap !important;
            }
            #qizhengFineTuneBar .qizheng-fine-tune__when--transit,
            #qizhengBottomBarMount .qizheng-fine-tune__when--transit {
                font-size: 0.62rem !important;
                line-height: 1.25 !important;
                white-space: nowrap !important;
                overflow: hidden !important;
                text-overflow: ellipsis !important;
            }
            #qizhengFineTuneBar .qizheng-fine-tune__controls,
            #qizhengBottomBarMount .qizheng-fine-tune__controls {
                display: flex !important;
                flex-wrap: nowrap !important;
                align-items: center !important;
                gap: 0.16rem !important;
                width: 100% !important;
            }
            #qizhengFineTuneBar .qizheng-fine-tune__step-btn,
            #qizhengBottomBarMount .qizheng-fine-tune__step-btn,
            #qizhengFineTuneBar .qizheng-fine-tune__action-btn,
            #qizhengBottomBarMount .qizheng-fine-tune__action-btn,
            #qizhengFineTuneBar .qizheng-birth-quick__btn,
            #qizhengBottomBarMount .qizheng-birth-quick__btn {
                min-height: 1.55rem !important;
                height: 1.55rem !important;
                padding: 0 0.28rem !important;
                font-size: 0.58rem !important;
                line-height: 1 !important;
                flex: 0 0 auto !important;
            }
            #qizhengFineTuneBar .qizheng-fine-tune__unit,
            #qizhengBottomBarMount .qizheng-fine-tune__unit {
                flex: 1 1 auto !important;
                min-width: 0 !important;
                min-height: 1.55rem !important;
                height: 1.55rem !important;
                font-size: 0.58rem !important;
                padding: 0 0.15rem !important;
            }
            #qizhengFineTuneBar .qizheng-birth-datetime-selects,
            #qizhengBottomBarMount .qizheng-birth-datetime-selects {
                display: grid !important;
                grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
                width: 100% !important;
                gap: 0.14rem !important;
            }
            #qizhengFineTuneBar .qizheng-birth-select,
            #qizhengBottomBarMount .qizheng-birth-select {
                width: 100% !important;
                max-width: none !important;
                min-width: 0 !important;
                min-height: 1.55rem !important;
                height: 1.55rem !important;
                font-size: 0.58rem !important;
                padding: 0 0.08rem !important;
            }
            #qizhengFineTuneBar .qizheng-birth-quick,
            #qizhengBottomBarMount .qizheng-birth-quick {
                display: flex !important;
                flex-direction: column !important;
                align-items: stretch !important;
                flex: 0 0 auto !important;
                width: 100% !important;
                min-width: 0 !important;
                max-width: none !important;
                gap: 0.12rem !important;
            }
            #qizhengFineTuneBar .qizheng-birth-quick__row,
            #qizhengBottomBarMount .qizheng-birth-quick__row {
                display: flex !important;
                flex-wrap: nowrap !important;
                gap: 0.14rem !important;
                width: 100% !important;
            }
            #qizhengFineTuneBar .qizheng-birth-quick__input,
            #qizhengBottomBarMount .qizheng-birth-quick__input {
                flex: 1 1 auto !important;
                width: auto !important;
                min-width: 0 !important;
                max-width: none !important;
                min-height: 1.55rem !important;
                height: 1.55rem !important;
                font-size: 0.58rem !important;
                padding: 0 0.2rem !important;
            }
            #qizhengFineTuneBar .qizheng-birth-quick__hint,
            #qizhengBottomBarMount .qizheng-birth-quick__hint {
                display: none !important;
            }
            #qizhengFineTuneBar .qizheng-time-col--loc,
            #qizhengBottomBarMount .qizheng-time-col--loc {
                order: 3 !important;
                flex: 1 1 100% !important;
                width: 100% !important;
                max-width: none !important;
                display: flex !important;
                flex-direction: row !important;
                flex-wrap: nowrap !important;
                align-items: center !important;
                gap: 0.28rem !important;
                margin: 0 !important;
                padding: 0.18rem 0 0 !important;
                border: none !important;
                border-top: 1px dashed rgba(160, 130, 80, 0.22) !important;
            }
            #qizhengFineTuneBar .qizheng-time-col--loc > .qizheng-fine-tune__label,
            #qizhengBottomBarMount .qizheng-time-col--loc > .qizheng-fine-tune__label {
                flex: 0 0 auto !important;
                width: auto !important;
                white-space: nowrap !important;
                margin: 0 !important;
            }
            #qizhengFineTuneBar .qizheng-time-col--loc .qizheng-time-col__loc-row,
            #qizhengBottomBarMount .qizheng-time-col--loc .qizheng-time-col__loc-row {
                display: flex !important;
                flex-direction: row !important;
                flex-wrap: nowrap !important;
                flex: 1 1 auto !important;
                width: auto !important;
                max-width: none !important;
                gap: 0.28rem !important;
                min-width: 0 !important;
            }
            #qizhengFineTuneBar .qizheng-time-col--loc .qizheng-fine-tune__select,
            #qizhengBottomBarMount .qizheng-time-col--loc .qizheng-fine-tune__select {
                flex: 1 1 0 !important;
                width: auto !important;
                min-width: 0 !important;
                max-width: none !important;
                min-height: 1.55rem !important;
                height: 1.55rem !important;
                font-size: 0.62rem !important;
                padding: 0 0.2rem !important;
            }
        }

        /* entry=me 首屏：JS 加载前先隐藏排盘表单，避免闪一下四柱八字 */
        html[data-boot-entry="me"] .main-inner.view-paipan .form-shell,
        html[data-boot-entry="me"] .main-inner.view-paipan #unifiedPaipanShell,
        html[data-boot-entry="me"] .main-inner.view-paipan #baziPaipanStack,
        html[data-boot-entry="me"] .main-inner.view-paipan #caseDetailArea {
            display: none !important;
        }

        html[data-boot-entry="me"] #meProfileView[hidden] {
            display: block !important;
        }

        html[data-boot-entry="me"] .main-inner.view-paipan {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: calc(100vh - 3.5rem);
        }

        /* 七政「当下时间」按钮：排盘中加载图标 */
        #qizhengFineTuneBar .qizheng-fine-tune__action-btn.is-loading,
        #qizhengBottomBarMount .qizheng-fine-tune__action-btn.is-loading {
            opacity: .72 !important;
            cursor: wait !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            width: 1.55rem !important;
            padding: 0 !important;
        }
        .qizheng-btn-spinner {
            display: inline-block;
            width: .78rem;
            height: .78rem;
            border: 2px solid rgba(138, 85, 20, .28);
            border-top-color: #8a5514;
            border-radius: 50%;
            animation: qizheng-btn-spin .7s linear infinite;
        }
        @keyframes qizheng-btn-spin { to { transform: rotate(360deg); } }

        /* 注册命书引导：JS 加载前先隐藏整页排盘，避免闪屏 */
        html.register-lifebook-pending .app > main,
        html.register-lifebook-open .app > main,
        html.paipan-prompt-open .app > main {
            display: none !important;
        }

        html.register-lifebook-pending .app-rail,
        html.register-lifebook-open .app-rail,
        html.paipan-prompt-open .app-rail,
        html.register-lifebook-pending .mobile-bottom-nav,
        html.register-lifebook-open .mobile-bottom-nav,
        html.paipan-prompt-open .mobile-bottom-nav,
        html.paipan-prompt-open .hd-mobile-bottom-nav,
        html.register-lifebook-pending .site-footer,
        html.register-lifebook-open .site-footer,
        html.register-lifebook-pending .site-compliance-strip,
        html.register-lifebook-open .site-compliance-strip,
        html.paipan-prompt-open .site-compliance-strip {
            display: none !important;
        }

        @media (min-width: 992px) {
            html.paipan-prompt-open .hd-mobile-bottom-nav {
                display: none !important;
            }
        }

        /* embed 命书 iframe 内：弹框再窄也不显示底栏 */
        html.embed-lifebook nav.hd-mobile-bottom-nav.hd-mobile-only,
        html.embed-lifebook .hd-mobile-bottom-nav {
            display: none !important;
            visibility: hidden !important;
            height: 0 !important;
            max-height: 0 !important;
            overflow: hidden !important;
            pointer-events: none !important;
        }

        html.register-lifebook-pending:not(.register-lifebook-open) body {
            overflow: hidden;
            background: #f7f0e4;
        }

        html.register-lifebook-pending:not(.register-lifebook-open) body::before {
            content: '正在打开命书…';
            position: fixed;
            inset: 0;
            z-index: 1200;
            display: grid;
            place-items: center;
            font-size: 0.92rem;
            color: #6a5c48;
            background: #f7f0e4;
        }

        /* mobile-hotfix-v5: 手机端按钮允许换行，完整显示文案（勿再 nowrap + 过窄 max-width） */
        @media (max-width: 768px) {
            .secondary-btn,
            .primary-btn:not(.register-lifebook-save-btn):not(.archive-edit-save-btn),
            .fortune-unlock-actions .primary-btn,
            .fortune-unlock-actions .secondary-btn,
            .qimen-action-btn,
            .qimen-sheet-btn,
            .paipan-result-datetime-btn,
            .qimen-result-top-toolbar .primary-btn,
            .qimen-result-top-toolbar .qimen-action-btn,
            .qimen-result-top-toolbar .qimen-sheet-btn,
            .qimen-result-top-toolbar .paipan-result-datetime-btn,
            .liuren-result-top-toolbar .primary-btn,
            .liuren-result-top-toolbar .qimen-action-btn,
            .liuren-result-top-toolbar .paipan-result-datetime-btn,
            .qizheng-pillar-action-btn,
            .result-copy-for-ai-btn,
            .result-export-facts-btn,
            .liuren-repaipan-btn,
            .bazi-repaipan-btn,
            .qizheng-repaipan-btn {
                width: auto !important;
                max-width: none !important;
                min-height: 2.35rem !important;
                height: auto !important;
                padding: 0.45rem 0.65rem !important;
                font-size: 0.78rem !important;
                line-height: 1.35 !important;
                border-radius: var(--btn-radius, 10px) !important;
                white-space: normal !important;
                overflow-wrap: anywhere;
                word-break: break-word;
                text-align: center;
            }

            .register-lifebook-actions .primary-btn,
            .archive-edit-actions .primary-btn {
                width: 100% !important;
                max-width: none !important;
                min-height: 2.75rem !important;
                padding: 0.85rem 1.1rem !important;
                font-size: 0.95rem !important;
                border-radius: 14px !important;
                white-space: normal !important;
            }

            #saveBtn.secondary-btn {
                max-width: none !important;
                font-size: 0.78rem !important;
            }
        }
    