html.mx-app-promo-lock,
            body.mx-app-promo-lock {
                overflow: hidden !important;
            }

            .mx-app-promo-overlay,
            .mx-app-promo-mini {
                font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
            }

            #mx-app-promo-overlay-v150,
            #mx-app-promo-overlay-v150 *,
            #mx-app-promo-mini-v150,
            #mx-app-promo-mini-v150 * {
                box-sizing: border-box;
            }

            /* 防止部分主题对 header、article、内容卡片等通用元素的全局规则干扰。 */
            #mx-app-promo-overlay-v150 .mx-app-promo-modal {
                float: none !important;
                margin: 0 !important;
                opacity: 1 !important;
                visibility: visible !important;
            }

            #mx-app-promo-overlay-v150 .mx-app-promo-header {
                position: relative !important;
                inset: auto !important;
                float: none !important;
                width: auto !important;
                height: auto !important;
                max-height: none !important;
                margin: 0 !important;
                opacity: 1 !important;
                visibility: visible !important;
                transform: none !important;
            }

            #mx-app-promo-overlay-v150 .mx-app-promo-header > *,
            #mx-app-promo-overlay-v150 .mx-app-promo-grid > .mx-app-promo-item {
                opacity: 1 !important;
                visibility: visible !important;
            }

            #mx-app-promo-overlay-v150 .mx-app-promo-grid > .mx-app-promo-item {
                position: relative !important;
                inset: auto !important;
                float: none !important;
                width: auto !important;
                height: auto !important;
                min-height: 0 !important;
                margin: 0 !important;
            }

            .mx-app-promo-overlay {
                position: fixed;
                inset: 0;
                z-index: 2147483000;
                display: flex;
                align-items: center;
                justify-content: center;
                box-sizing: border-box;
                padding: 18px;
                background: rgba(8, 12, 20, .70);
                opacity: 0;
                visibility: hidden;
                pointer-events: none;
                transition: opacity .20s ease, visibility .20s ease;
            }

            .mx-app-promo-overlay.mx-app-promo-visible {
                opacity: 1;
                visibility: visible;
                pointer-events: auto;
            }

            .mx-app-promo-modal {
                position: relative;
                width: min(590px, 100%);
                max-height: calc(100vh - 36px);
                overflow: hidden;
                box-sizing: border-box;
                border: 1px solid rgba(255, 255, 255, .09);
                border-radius: 16px;
                background: #161c27;
                color: #f6f8fb;
                box-shadow: 0 22px 65px rgba(0, 0, 0, .45);
                transform: translateY(10px) scale(.985);
                opacity: 0;
                transition: transform .22s ease, opacity .22s ease;
            }

            .mx-app-promo-overlay.mx-app-promo-visible .mx-app-promo-modal {
                transform: translateY(0) scale(1);
                opacity: 1;
            }

            .mx-app-promo-close {
                position: absolute;
                top: 12px;
                right: 12px;
                z-index: 2;
                display: flex;
                align-items: center;
                justify-content: center;
                width: 30px;
                height: 30px;
                padding: 0;
                border: 1px solid rgba(255, 255, 255, .11);
                border-radius: 50%;
                background: rgba(255, 255, 255, .07);
                color: #dce2ec;
                font: 400 22px/1 Arial, sans-serif;
                cursor: pointer;
                transition: background .18s ease, color .18s ease, transform .18s ease;
            }

            .mx-app-promo-close:hover {
                background: rgba(255, 255, 255, .14);
                color: #fff;
                transform: scale(1.04);
            }

            #mx-app-promo-overlay-v150 .mx-app-promo-header {
                display: flex !important;
                align-items: center;
                gap: 10px;
                box-sizing: border-box;
                min-height: 58px !important;
                padding: 10px 48px 10px 13px !important;
                border-bottom: 1px solid rgba(255, 255, 255, .07);
                background: #1b2230;
            }

            .mx-app-promo-header-badge,
            .mx-app-promo-mini-badge {
                position: relative;
                display: flex;
                flex: 0 0 auto;
                align-items: center;
                justify-content: center;
                overflow: hidden;
                background: #243f75;
                color: #fff;
                font-weight: 700;
                line-height: 1;
                letter-spacing: .35px;
            }

            .mx-app-promo-header-badge img,
            .mx-app-promo-mini-badge img {
                position: absolute;
                inset: 0;
                display: block;
                width: 100%;
                height: 100%;
                border: 0;
                object-fit: cover;
            }

            .mx-app-promo-header-badge {
                width: 34px;
                height: 34px;
                border-radius: 9px;
                font-size: 10px;
            }

            .mx-app-promo-header h2 {
                margin: 0;
                padding: 0;
                color: #fff;
                font-size: 16px;
                font-weight: 700;
                line-height: 1.3;
            }

            .mx-app-promo-header p {
                margin: 3px 0 0;
                padding: 0;
                color: #9da8b8;
                font-size: 12px;
                line-height: 1.4;
            }

            .mx-app-promo-scroll {
                max-height: calc(100vh - 94px);
                overflow-x: hidden;
                overflow-y: auto;
                padding: 9px;
                scrollbar-width: thin;
                scrollbar-color: #394253 transparent;
            }

            #mx-app-promo-overlay-v150 .mx-app-promo-grid {
                display: grid !important;
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 7px;
            }

            /* 接口返回前先显示骨架屏：不在初始 HTML 中输出真实 APP 名称、图标或下载链接。 */
            #mx-app-promo-overlay-v150 .mx-app-promo-skeleton-item {
                display: grid !important;
                grid-template-columns: 40px minmax(0, 1fr) 62px;
                align-items: center;
                gap: 7px;
                min-width: 0;
                box-sizing: border-box;
                padding: 7px;
                border: 1px solid rgba(255, 255, 255, .07);
                border-radius: 10px;
                background: #202735;
            }

            #mx-app-promo-overlay-v150 .mx-app-promo-skeleton-icon,
            #mx-app-promo-overlay-v150 .mx-app-promo-skeleton-line,
            #mx-app-promo-overlay-v150 .mx-app-promo-skeleton-button {
                display: block;
                overflow: hidden;
                background: linear-gradient(100deg, rgba(255,255,255,.08) 20%, rgba(255,255,255,.16) 38%, rgba(255,255,255,.08) 56%);
                background-size: 220% 100%;
                animation: mx-app-promo-skeleton-v150 1.18s linear infinite;
            }

            #mx-app-promo-overlay-v150 .mx-app-promo-skeleton-icon {
                width: 40px;
                height: 40px;
                border-radius: 9px;
            }

            #mx-app-promo-overlay-v150 .mx-app-promo-skeleton-copy {
                min-width: 0;
            }

            #mx-app-promo-overlay-v150 .mx-app-promo-skeleton-line {
                height: 13px;
                border-radius: 999px;
            }

            #mx-app-promo-overlay-v150 .mx-app-promo-skeleton-line + .mx-app-promo-skeleton-line {
                width: 72%;
                height: 10px;
                margin-top: 8px;
                opacity: .72;
            }

            #mx-app-promo-overlay-v150 .mx-app-promo-skeleton-button {
                width: 62px;
                height: 28px;
                border-radius: 7px;
            }

            @keyframes mx-app-promo-skeleton-v150 {
                0% { background-position: 100% 0; }
                100% { background-position: -100% 0; }
            }

            #mx-app-promo-overlay-v150 .mx-app-promo-item {
                display: grid !important;
                grid-template-columns: 40px minmax(0, 1fr) auto;
                align-items: center;
                gap: 7px;
                min-width: 0;
                box-sizing: border-box;
                padding: 7px;
                border: 1px solid rgba(255, 255, 255, .07);
                border-radius: 10px;
                background: #202735;
                transition: border-color .18s ease, background .18s ease, transform .18s ease;
            }

            .mx-app-promo-item:hover {
                border-color: rgba(111, 157, 235, .34);
                background: #242d3d;
                transform: translateY(-1px);
            }

            .mx-app-promo-icon {
                position: relative;
                display: flex;
                align-items: center;
                justify-content: center;
                width: 40px;
                height: 40px;
                overflow: hidden;
                border-radius: 9px;
                background: #30394a;
                color: #aeb8c8;
                font-size: 10px;
                font-weight: 700;
                text-align: center;
            }

            .mx-app-promo-icon img {
                position: absolute;
                inset: 0;
                display: block;
                width: 100%;
                height: 100%;
                object-fit: cover;
                border: 0;
            }

            .mx-app-promo-info {
                min-width: 0;
            }

            .mx-app-promo-info h3 {
                overflow: hidden;
                margin: 0;
                padding: 0;
                color: #f7f9fc;
                font-size: 13px;
                font-weight: 650;
                line-height: 1.35;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

            .mx-app-promo-info p {
                overflow: hidden;
                margin: 3px 0 0;
                padding: 0;
                color: #8f9bad;
                font-size: 11px;
                line-height: 1.35;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

            .mx-app-promo-download {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                min-width: 62px;
                height: 28px;
                box-sizing: border-box;
                padding: 0 9px;
                border: 0;
                border-radius: 7px;
                background: #315da8;
                color: #fff !important;
                font-size: 11px;
                font-weight: 600;
                line-height: 1;
                text-decoration: none !important;
                white-space: nowrap;
                transition: background .18s ease, transform .18s ease;
            }

            .mx-app-promo-download:hover {
                background: #3b6cbd;
                color: #fff !important;
                transform: translateY(-1px);
            }

            .mx-app-promo-mini {
                position: fixed;
                right: 16px;
                bottom: 16px;
                z-index: 2147482999;
                display: block;
                width: 268px;
                max-width: calc(100vw - 32px);
                overflow: hidden;
                box-sizing: border-box;
                padding: 0;
                border: 1px solid rgba(255, 255, 255, .11);
                border-radius: 14px;
                background: #171e2a;
                color: #fff;
                box-shadow: 0 14px 38px rgba(0, 0, 0, .34);
                opacity: 0;
                visibility: hidden;
                pointer-events: none;
                transform: translateY(10px) scale(.97);
                transition: opacity .20s ease, visibility .20s ease, transform .20s ease, border-color .18s ease;
            }

            .mx-app-promo-mini.mx-app-promo-visible {
                opacity: 1;
                visibility: visible;
                pointer-events: auto;
                transform: translateY(0) scale(1);
            }

            .mx-app-promo-mini:hover {
                border-color: rgba(111, 157, 235, .28);
            }

            .mx-app-promo-mini-header {
                display: grid;
                grid-template-columns: 42px minmax(0, 1fr) auto;
                align-items: center;
                gap: 9px;
                width: 100%;
                min-height: 60px;
                box-sizing: border-box;
                padding: 8px 10px 8px 8px;
                border: 0;
                background: #1b2230;
                color: #fff;
                font: inherit;
                text-align: left;
                cursor: pointer;
                transition: background .18s ease;
            }

            .mx-app-promo-mini-header:hover {
                background: #222b3b;
            }

            .mx-app-promo-mini-header:focus-visible,
            .mx-app-promo-mini-app:focus-visible {
                position: relative;
                z-index: 2;
                outline: 2px solid rgba(121, 168, 255, .86);
                outline-offset: -2px;
            }

            .mx-app-promo-mini-badge {
                width: 42px;
                height: 42px;
                border-radius: 10px;
                font-size: 10px;
            }

            .mx-app-promo-mini-copy {
                display: block;
                min-width: 0;
            }

            .mx-app-promo-mini-title {
                display: block;
                overflow: hidden;
                color: #fff;
                font-size: 14px;
                font-weight: 700;
                line-height: 1.25;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

            .mx-app-promo-mini-subtitle {
                display: block;
                overflow: hidden;
                margin-top: 3px;
                color: #9da8b8;
                font-size: 11px;
                font-weight: 400;
                line-height: 1.25;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

            .mx-app-promo-mini-action {
                display: inline-flex;
                align-items: center;
                gap: 2px;
                color: #79a8ff;
                font-size: 12px;
                font-weight: 650;
                line-height: 1;
                white-space: nowrap;
            }

            .mx-app-promo-mini-arrow {
                display: inline-block;
                font-size: 17px;
                line-height: 1;
                animation: mx-app-promo-mini-arrow-v154 1.8s ease-in-out infinite;
            }

            .mx-app-promo-mini-apps {
                display: block;
                border-top: 1px solid rgba(255, 255, 255, .07);
                background: #171e2a;
            }

            .mx-app-promo-mini-app {
                display: grid;
                grid-template-columns: 34px minmax(0, 1fr) auto;
                align-items: center;
                gap: 8px;
                min-height: 48px;
                box-sizing: border-box;
                padding: 7px 8px;
                color: #fff !important;
                text-decoration: none !important;
                transition: background .18s ease;
            }

            .mx-app-promo-mini-app + .mx-app-promo-mini-app {
                border-top: 1px solid rgba(255, 255, 255, .06);
            }

            .mx-app-promo-mini-app:hover {
                background: #202938;
                color: #fff !important;
            }

            .mx-app-promo-mini-app-icon {
                position: relative;
                display: flex;
                align-items: center;
                justify-content: center;
                width: 34px;
                height: 34px;
                overflow: hidden;
                border-radius: 8px;
                background: #30394a;
                color: #aeb8c8;
                font-size: 8px;
                font-weight: 700;
                line-height: 1;
                text-align: center;
            }

            .mx-app-promo-mini-app-icon img {
                position: absolute;
                inset: 0;
                display: block;
                width: 100%;
                height: 100%;
                border: 0;
                object-fit: cover;
            }

            .mx-app-promo-mini-app-copy {
                display: block;
                min-width: 0;
            }

            .mx-app-promo-mini-app-name,
            .mx-app-promo-mini-app-meta {
                display: block;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

            .mx-app-promo-mini-app-name {
                color: #f7f9fc;
                font-size: 12px;
                font-weight: 650;
                line-height: 1.25;
            }

            .mx-app-promo-mini-app-meta {
                margin-top: 2px;
                color: #8f9bad;
                font-size: 10px;
                font-weight: 400;
                line-height: 1.2;
            }

            .mx-app-promo-mini-app-action {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                min-width: 42px;
                height: 25px;
                padding: 0 8px;
                border-radius: 7px;
                background: #315da8;
                color: #fff;
                font-size: 10px;
                font-weight: 650;
                line-height: 1;
                white-space: nowrap;
            }

            .mx-app-promo-mini-app:hover .mx-app-promo-mini-app-action {
                background: #3b6cbd;
            }

            @keyframes mx-app-promo-mini-arrow-v154 {
                0%, 42%, 100% { transform: translateX(0); }
                18% { transform: translateX(3px); }
                30% { transform: translateX(0); }
            }

            @media (prefers-reduced-motion: reduce) {
                .mx-app-promo-mini-arrow {
                    animation: none;
                }
            }

            @media (max-width: 720px) {
                .mx-app-promo-overlay {
                    padding: 12px 0;
                }

                .mx-app-promo-modal {
                    width: min(420px, calc(100vw - 48px));
                    max-height: calc(100vh - 24px);
                    border-radius: 14px;
                }

                #mx-app-promo-overlay-v150 .mx-app-promo-header {
                    min-height: 56px !important;
                    padding: 9px 46px 9px 11px !important;
                }

                .mx-app-promo-header-badge {
                    width: 32px;
                    height: 32px;
                    border-radius: 8px;
                }

                .mx-app-promo-header h2 {
                    font-size: 15px;
                }

                .mx-app-promo-header p {
                    font-size: 11px;
                }

                .mx-app-promo-close {
                    top: 10px;
                    right: 10px;
                    width: 29px;
                    height: 29px;
                    font-size: 21px;
                }

                .mx-app-promo-scroll {
                    max-height: calc(100vh - 80px);
                    padding: 8px;
                }

                #mx-app-promo-overlay-v150 .mx-app-promo-grid {
                    grid-template-columns: minmax(0, 1fr);
                    gap: 8px;
                }

                #mx-app-promo-overlay-v150 .mx-app-promo-item,
                #mx-app-promo-overlay-v150 .mx-app-promo-skeleton-item {
                    grid-template-columns: 40px minmax(0, 1fr) auto;
                    gap: 7px;
                    padding: 7px;
                    border-radius: 11px;
                }

                .mx-app-promo-icon,
                #mx-app-promo-overlay-v150 .mx-app-promo-skeleton-icon {
                    width: 40px;
                    height: 40px;
                    border-radius: 9px;
                }

                .mx-app-promo-download {
                    min-width: 62px;
                    height: 28px;
                    padding: 0 9px;
                }

                .mx-app-promo-mini {
                    right: 12px;
                    bottom: 12px;
                    width: 244px;
                    max-width: calc(100vw - 24px);
                    border-radius: 13px;
                }

                .mx-app-promo-mini-header {
                    grid-template-columns: 40px minmax(0, 1fr) auto;
                    gap: 8px;
                    min-height: 58px;
                    padding: 8px 9px 8px 8px;
                }

                .mx-app-promo-mini-badge {
                    width: 40px;
                    height: 40px;
                    border-radius: 9px;
                }

                .mx-app-promo-mini-title {
                    font-size: 13px;
                }

                .mx-app-promo-mini-subtitle {
                    font-size: 10px;
                }

                .mx-app-promo-mini-action {
                    font-size: 11px;
                }

                .mx-app-promo-mini-app {
                    grid-template-columns: 32px minmax(0, 1fr) auto;
                    gap: 7px;
                    min-height: 46px;
                    padding: 7px 8px;
                }

                .mx-app-promo-mini-app-icon {
                    width: 32px;
                    height: 32px;
                    border-radius: 8px;
                }

                .mx-app-promo-mini-app-name {
                    font-size: 11.5px;
                }

                .mx-app-promo-mini-app-action {
                    min-width: 40px;
                    height: 24px;
                    padding: 0 7px;
                }
            }

            @media (max-width: 370px) {
                #mx-app-promo-overlay-v150 .mx-app-promo-item,
                #mx-app-promo-overlay-v150 .mx-app-promo-skeleton-item {
                    grid-template-columns: 38px minmax(0, 1fr) auto;
                    gap: 6px;
                }

                .mx-app-promo-icon,
                #mx-app-promo-overlay-v150 .mx-app-promo-skeleton-icon {
                    width: 38px;
                    height: 38px;
                }

                .mx-app-promo-download {
                    min-width: 62px;
                    padding: 0 8px;
                    font-size: 11px;
                }
            }
