/* Extracted from app/Views/user/header.php */

[data-translate] {
            word-break: break-word;
        }

/* ================= BEST2WINS GLOBAL IMAGE WATERMARK ================= */
img.b2w-img-watermark {
    background:
        linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, .055) 38%, transparent 62%) 0 0 / 220% 100%,
        radial-gradient(circle at center, rgba(245, 193, 108, .13), transparent 44%),
        url('/favicon/favicon-192.png') center / min(52px, 32%) no-repeat,
        linear-gradient(135deg, rgba(15, 23, 42, .94), rgba(2, 6, 23, .96));
    border-color: rgba(245, 193, 108, .16);
    animation: b2wImageWatermarkSweep 1.35s ease-in-out infinite;
}

img.b2w-img-watermark.b2w-img-watermark-soft {
    background-size: 220% 100%, auto, min(38px, 28%), auto;
}

@keyframes b2wImageWatermarkSweep {
    0% {
        background-position: 120% 0, center, center, center;
    }

    100% {
        background-position: -120% 0, center, center, center;
    }
}

@media (prefers-reduced-motion: reduce) {
    img.b2w-img-watermark {
        animation: none;
    }
}

/* CENTER QR ICON */
                .nav-center-qr {
                    position: absolute;
                    left: 50%;
                    top: 50%;
                    transform: translate(-50%, -50%);
                    cursor: pointer;
                    z-index: 10;

                    display: flex;
                    align-items: center;
                    justify-content: center;
                    padding: 0;
                    color: #ffc107;
                    font: inherit;

                    min-width: 24px;
                    min-height: 24px;

                    transition: transform 0.18s ease;
                }

                @media (min-width: 992px) {
                    .nav-center-qr {
                        position: relative;
                        left: auto;
                        top: auto;
                        transform: none;
                        width: 34px;
                        height: 34px;
                        min-width: 34px;
                        min-height: 34px;
                        margin-left: 18px;
                        border-radius: 12px;
                        background: rgba(245, 193, 108, .08);
                        border: 1px solid rgba(245, 193, 108, .16);
                        box-shadow: 0 0 18px rgba(245, 193, 108, .08);
                    }

                    .nav-center-qr:active {
                        transform: scale(.94);
                    }
                }

        @media (max-width: 991.98px) {
            .navbar-platform {
                position: fixed;
                top: 0;
                right: 0;
                left: 0;
                z-index: 1030;
                min-height: 60px;
                background: rgba(0, 0, 0, .94);
            }

            .navbar-platform .container-fluid {
                position: relative;
                display: flex;
                align-items: center;
                min-height: 60px;
                padding-right: 20px;
                padding-left: 20px;
            }

            .navbar-platform [data-bs-target="#mobileMenu"] {
                display: block !important;
                margin: 0;
                padding: 6px 12px;
                border: 0;
                background: transparent !important;
                color: #ffc107 !important;
                line-height: 1;
                z-index: 11;
            }

            .navbar-platform .nav-platform,
            .navbar-platform .header-util {
                display: none !important;
            }

            .navbar-no-qr .container-fluid {
                position: relative;
                min-height: 52px;
            }

            .navbar-has-qr .logo-text-wrap,
            .navbar-no-qr .logo-text-wrap {
                position: absolute;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%);
                margin: 0 !important;
                max-width: calc(100vw - 128px);
                justify-content: center;
                text-decoration: none;
                white-space: nowrap;
            }

            .navbar-has-qr .nav-center-qr {
                left: auto;
                right: 16px;
                width: 40px;
                height: 40px;
                min-width: 40px;
                min-height: 40px;
                transform: translateY(-50%);
                border: 1px solid rgba(245, 193, 108, .18);
                border-radius: 12px;
                background: rgba(245, 193, 108, .07);
            }

                    .navbar-no-qr .logo-text {
                        white-space: nowrap;
                    }

                    .mobile-share-footer .share-text,
                    .mobile-share-footer .share-qr,
                    .mobile-share-footer .copy-link-wrap {
                        display: none !important;
                    }

                    .mobile-share-footer {
                        padding-top: 8px !important;
                    }

                    .mobile-share-footer .menu-divider {
                        margin-top: 4px !important;
                        margin-bottom: 12px !important;
                    }
                }


                /* 点击压感 */
                .nav-center-qr:active {
                    transform: translateY(-50%) scale(0.92);
                }

                @media (min-width: 992px) {
                    .nav-center-qr:active {
                        transform: scale(.94);
                    }
                }

                /* ICON / SPINNER 共用定位 */
                #qrIcon,
                #qrSpinner {
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                }

                /* ICON */
                #qrIcon {
                    width: 22px;
                    height: 22px;
                    font-size: 20px;
                    line-height: 1;
                }

                /* HOVER */
                .nav-center-qr:hover #qrIcon {
                    color: #ffd700;
                    transform: translate(-50%, -50%) scale(1.18);
                }

                /* 🔥 SPINNER（改用 display 控制） */
                #qrSpinner {
                    display: none;
                    width: 18px;
                    height: 18px;
                    border-width: 2px;
                }

                /* 🔥 LOADING 状态 */
                .nav-center-qr.qr-loading #qrIcon {
                    display: none;
                }

                .nav-center-qr.qr-loading #qrSpinner {
                    display: block;
                }

/* ================= HEADER 融合 ================= */

        .navbar-platform {
            border-bottom: none !important;
        }

        /* ================= SUPPORT STRIP ================= */

        .header-support-strip {
            position: fixed;
            top: 60px;
            /* fallback */
            left: 0;
            width: 100%;
            z-index: 997;

            background: rgba(0, 0, 0, 0.94);
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);

            font-size: 11.5px;
            color: #cbd5f5;

            padding: 6px 0;
            text-align: center;
            cursor: pointer;

            transition: all .3s ease;
        }

        /* 🔥 scroll 隐藏 */
        .header-support-strip.hide {
            transform: translateY(-100%);
            opacity: 0;
        }

        /* 内容 */
        .support-inner {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 6px;
        }

        /* 在线点 */
        .support-dot {
            width: 6px;
            height: 6px;
            background: #22c55e;
            border-radius: 50%;
            box-shadow: 0 0 6px #22c55e;

            animation: pulseDot 1.8s infinite;
        }

        @keyframes pulseDot {
            0% {
                opacity: .4;
                transform: scale(.8);
            }

            50% {
                opacity: 1;
                transform: scale(1.2);
            }

            100% {
                opacity: .4;
                transform: scale(.8);
            }
        }

        /* 文案 */
        .support-text {
            opacity: 0.9;
        }

        /* 分隔 */
        .support-divider {
            width: 1px;
            height: 10px;
            background: rgba(255, 255, 255, 0.2);
            margin: 0 2px;
        }

        /* CTA */
        .support-tg {
            color: #2AABEE;
            font-weight: 600;
        }

        /* ================= MOBILE 自动贴紧 ================= */

        @media (max-width:768px) {
            .header-support-strip {
                top: 60px;
            }
        }

/* ================= CONTAINER ================= */
                .menu-sub {
                    display: flex;
                    flex-direction: column;
                    gap: 8px;
                    padding: 6px 4px;
                }

                /* ================= ITEM ================= */
                .menu-sub-item {
                    display: flex;
                    align-items: center;
                    gap: 12px;

                    padding: 10px 12px;
                    border-radius: 12px;

                    text-decoration: none !important;

                    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
                    border: 1px solid rgba(255, 255, 255, 0.05);

                    transition: all .25s ease;
                    position: relative;
                    overflow: hidden;
                }

                /* 🔥 hover */
                .menu-sub-item:hover {
                    transform: translateY(-1px);
                    border-color: rgba(255, 215, 0, 0.25);
                    background: rgba(255, 215, 0, 0.04);
                }

                /* 🔥 active press */
                .menu-sub-item:active {
                    transform: scale(0.98);
                }

                /* ================= ICON ================= */
                .menu-icon {
                    width: 38px;
                    height: 38px;

                    display: flex;
                    align-items: center;
                    justify-content: center;

                    border-radius: 10px;

                    background: rgba(255, 255, 255, 0.04);
                    border: 1px solid rgba(255, 255, 255, 0.06);

                    color: #cbd5e1;
                    font-size: 16px;

                    transition: all .25s ease;
                }

                /* GOLD ICON */
                .menu-icon.gold {
                    background: rgba(255, 215, 0, 0.08);
                    border: 1px solid rgba(255, 215, 0, 0.25);
                    color: #f5c16c;
                }

                /* ================= TEXT ================= */
                .menu-text {
                    flex: 1;
                    display: flex;
                    flex-direction: column;
                }

                /* TITLE */
                .sub-title {
                    font-size: 13.5px;
                    font-weight: 600;
                    color: #e5e7eb;
                    line-height: 1.2;
                }

                /* DESC */
                .sub-desc {
                    font-size: 11px;
                    color: #9ca3af;
                    margin-top: 2px;
                }

                /* ================= ARROW ================= */
                .menu-arrow {
                    font-size: 13px;
                    color: #6b7280;
                    transition: all .25s ease;
                }

                /* hover arrow */
                .menu-sub-item:hover .menu-arrow {
                    transform: translateX(3px);
                    color: #f5c16c;
                }

                /* ================= SHIMMER（高级感） ================= */
                .menu-sub-item::after {
                    content: "";
                    position: absolute;
                    top: 0;
                    left: -120%;
                    width: 60%;
                    height: 100%;

                    background: linear-gradient(120deg,
                            transparent,
                            rgba(255, 255, 255, 0.08),
                            transparent);

                    transition: all .6s ease;
                }

                .menu-sub-item:hover::after {
                    left: 120%;
                }

                /* ================= REMOVE UNDERLINE ================= */
                .menu-sub-item,
                .menu-sub-item * {
                    text-decoration: none !important;
                }

/* ================= TEXT WRAP ================= */
                .menu-text-wrap {
                    display: flex;
                    flex-direction: column;
                    line-height: 1.2;
                }

                /* 主标题 */
                .menu-text-main {
                    font-size: 13.5px;
                    font-weight: 600;
                    color: #e5e7eb;
                }

                /* 副标题 */
                .menu-text-sub {
                    font-size: 11px;
                    color: #9ca3af;
                }

                /* ================= LOADING STATE ================= */
                .menu-item.loading {
                    pointer-events: none;
                    opacity: 0.7;
                }

                .menu-item.loading i {
                    display: none;
                }

                .menu-item.loading::before {
                    content: "";
                    width: 16px;
                    height: 16px;

                    border: 2px solid rgba(255, 255, 255, 0.2);
                    border-top-color: #2AABEE;

                    border-radius: 50%;
                    animation: spin 0.7s linear infinite;
                }

                /* spinner animation */
                @keyframes spin {
                    to {
                        transform: rotate(360deg);
                    }
                }

/* =========================================================
                            🔥 BUTTON LOADING STYLE
                            ========================================================= */

            .btn-action.loading {
                opacity: 0.7;
                pointer-events: none;
            }

            .btn-action .spinner-border {
                width: 14px;
                height: 14px;
                border-width: 2px;
            }

            .btn-action {
                transition: all .25s ease;
            }

            .btn-action:hover {
                transform: translateY(-1px);
            }

            .btn-action:active {
                transform: scale(0.96);
            }


            /* =========================================================
                        🔥 SWAL DARK STYLE（品牌统一）
                        ========================================================= */

            .swal-dark-popup {
                border-radius: 12px;
                border: 1px solid rgba(255, 255, 255, 0.08);

                backdrop-filter: blur(6px);
                -webkit-backdrop-filter: blur(6px);

                box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
            }

            .swal-dark-title {
                font-size: 13px !important;
                font-weight: 500;
                color: #e5e7eb;
            }

            .swal-dark-progress {
                background: linear-gradient(90deg, #f5c16c, #ffd86b) !important;
            }

            /* icon */
            .swal2-icon.swal2-success {
                border-color: rgba(245, 193, 108, 0.5);
            }

            .swal2-icon.swal2-success [class^=swal2-success-line] {
                background-color: #f5c16c !important;
            }

            .swal2-icon.swal2-success .swal2-success-ring {
                border: 4px solid rgba(245, 193, 108, 0.2);
            }

/* ================= PROMOTION MENU CLEAN FINAL ================= */

            .menu-group {
                margin-bottom: 6px;
            }

            /* 主菜单 */
            .menu-parent {
                display: flex;
                justify-content: space-between;
                align-items: center;

                padding: 14px 6px;
                border-bottom: 1px solid rgba(255, 255, 255, .06);

                font-size: 14px;
                color: #fff;

                cursor: pointer;
            }

            .menu-parent:hover {
                background: rgba(255, 255, 255, .05);
            }

            /* 箭头 */
            .promo-arrow {
                font-size: 12px;
                color: #9ca3af;
                transition: transform .25s ease;
            }

            .menu-group.open .promo-arrow {
                transform: rotate(180deg);
            }

            /* 子菜单 */
            .menu-sub {
                display: none;
                flex-direction: column;
            }

            .menu-group.open .menu-sub {
                display: flex;
            }

            /* 🔥 子菜单项（完全无边线） */
            .menu-sub-item {
                display: flex;
                align-items: center;
                gap: 10px;

                padding: 10px 10px;
                margin: 6px 0;

                border-radius: 10px;

                font-size: 13px;
                color: #d1d5db;

                background: rgba(255, 255, 255, 0.02);

                transition: all 0.2s ease;
            }

            /* hover */
            .menu-sub-item:hover {
                background: rgba(245, 193, 108, 0.08);
                transform: translateX(3px);
            }

            /* icon */
            .menu-sub-item i {
                color: #f5c16c;
                font-size: 14px;
            }

            /* title */
            .sub-title {
                font-size: 12.5px;
                font-weight: 600;
            }

            /* desc */
            .sub-desc {
                font-size: 10px;
                color: #9ca3af;
                margin-top: 2px;
            }

/* ==========================================
   PROMOTION
========================================== */

        .menu-group {
            margin-bottom: 6px;
        }

        .menu-group .menu-sub {
            display: none;
            flex-direction: column;
        }

        .menu-group.open .menu-sub {
            display: flex;
        }

        /* ==========================================
   SUPPORT
========================================== */

        .support-group {
            margin-bottom: 6px;
        }

        .support-group .menu-sub {
            display: none;
            flex-direction: column;
        }

        .support-group.open .menu-sub {
            display: flex;
        }

        /* ==========================================
   ARROW ROTATE
========================================== */

        .menu-group.open .promo-arrow,
        .support-group.open .promo-arrow {
            transform: rotate(180deg);
        }

/* =========================================================
                🔥 OFFCANVAS STRUCTURE（终极版）
                ========================================================= */

        .offcanvas-platform {
            background: #000;

            display: flex;
            flex-direction: column;

            height: auto;
            /* ✅ 不锁死 */
            min-height: 100vh;
            /* ✅ 至少一屏 */
        }

        /* 🔥 不再内部scroll（关键） */
        .offcanvas-body {
            flex: unset;
            overflow: visible;
            /* ✅ 取消内部滚动 */
            padding-bottom: 20px;
        }

        /* 🔥 整体滚动交给外层 */
        .offcanvas {
            overflow-y: auto;
        }

        @media (max-width: 991.98px) {
            .offcanvas-platform {
                position: fixed;
                top: 0;
                bottom: 0;
                left: 0;
                z-index: 1045;
                width: min(320px, 85vw);
                max-width: 100%;
                height: 100vh;
                min-height: 100vh;
                overflow-y: auto;
                visibility: hidden;
                transform: translateX(-100%);
                transition: transform .3s ease-in-out, visibility .3s ease-in-out;
            }

            .offcanvas-platform.show {
                visibility: visible;
                transform: none;
            }

            .offcanvas-platform:not(.show) {
                pointer-events: none;
            }
        }

        @media (min-width: 992px) {
            .navbar-platform [data-bs-target="#mobileMenu"] {
                display: none !important;
            }
        }


        /* =========================================================
                MENU
                ========================================================= */

        .offcanvas-platform .menu-item {
            padding: 14px 6px;
            border-bottom: 1px solid rgba(255, 255, 255, .06);

            display: flex;
            align-items: center;
            gap: 8px;

            text-decoration: none;
            color: #fff;
        }

        .offcanvas-platform .menu-item:hover {
            background: rgba(255, 255, 255, .05);
        }

        .offcanvas-platform .menu-item i {
            width: 18px;
        }


        /* =========================================================
                LANGUAGE
                ========================================================= */

        .offcanvas .dropdown-toggle {
            background: #0b0f14;
            border: 1px solid rgba(255, 255, 255, .1);
            color: #e5e7eb !important;
        }

        .offcanvas .dropdown-menu {
            background: #111;
            border: 1px solid rgba(255, 255, 255, .1);
        }

        .offcanvas .dropdown-item {
            color: #e5e7eb !important;
        }

        .offcanvas .dropdown-item:hover {
            background: rgba(255, 255, 255, .08);
        }


        /* =========================================================
                🔥 SHARE BUTTONS
                ========================================================= */

        .share-actions {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
            margin-top: 12px;
        }

        /* Copy */
        .btn-copy-link {
            width: 100%;
            box-sizing: border-box;

            padding: 10px 12px;

            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.08);

            background: linear-gradient(90deg, #1e293b, #0f172a);
            color: #e5e7eb;

            font-size: 13px;

            display: flex;
            justify-content: center;
            align-items: center;
            gap: 6px;

            overflow: hidden;

            transition: all .2s ease;
        }

        .btn-copy-link:hover {
            background: linear-gradient(90deg, #334155, #1e293b);
        }

        .btn-copy-link:active {
            transform: scale(0.96);
        }

        /* Share QR */
        .btn-share-qr {
            width: 100%;
            padding: 11px;

            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.08);

            background: linear-gradient(90deg, #0ea5e9, #2563eb);
            color: #fff;

            display: flex;
            justify-content: center;
            align-items: center;
            gap: 6px;
        }

        .copy-link-wrap {
            margin-top: 12px;
        }


        /* =========================================================
                🔥 QR + FOOTER（终极版）
                ========================================================= */

        .mobile-share-footer {

            margin-top: 20px;
            /* ✅ 不再强制顶到底 */

            padding: 16px 12px;
            text-align: center;

            background: linear-gradient(180deg,
                    rgba(2, 6, 23, .7),
                    rgba(2, 6, 23, .95));

            border-top: 1px solid rgba(255, 255, 255, .08);
        }

        /* TEXT */
        .mobile-share-footer .share-text {
            font-size: 12px;
            color: #9ca3af;
            margin-bottom: 10px;
        }

        /* QR */
        .mobile-share-footer .share-qr img {
            width: 100px;
            height: 100px;

            border-radius: 10px;
            background: #0b0f14;
            padding: 6px;
        }

        /* DIVIDER */
        .mobile-share-footer .menu-divider {
            height: 1px;
            background: rgba(255, 255, 255, .08);
            margin: 10px 0;
        }

        /* COPYRIGHT */
        .mobile-copy {
            font-size: 11px;
            color: #6b7280;
        }

        .mobile-sub {
            font-size: 10px;
            color: #64748b;
        }

/* =========================================================
        BASE（优化版）
        ========================================================= */

        html,
        body {
            touch-action: manipulation;
            overscroll-behavior-y: auto;
            /* ✅ 修复滑动 */
            background: #000;
            color: #fff;
            font-family:
                Inter,
                'Noto Sans',
                system-ui,
                -apple-system,
                "Segoe UI Emoji",
                "Apple Color Emoji",
                "Noto Color Emoji",
                sans-serif;
        }


        /* =========================================================
            BODY OFFSET
            ========================================================= */

        body {
            padding-top: 92px;
        }

        @media (max-width:768px) {
            body {
                padding-top: 106px;
            }
        }


        /* =========================================================
                NAVBAR
                ========================================================= */

        .navbar-platform {
            background: rgba(0, 0, 0, .94);
            border-bottom: 1px solid rgba(255, 193, 7, .35);
            min-height: 60px;
        }

        .navbar-platform .nav-link,
        .navbar-platform .menu-item,
        .navbar-platform .dropdown .btn {
            display: flex;
            align-items: center;
            height: 40px;
            padding: 0 12px;
            font-size: 14px;
        }

        .nav-platform .nav-link {
            color: #fff !important;
            font-weight: 500;
        }

        .nav-platform .nav-link:hover {
            color: #f5c16c;
        }


        /* =========================================================
            LOGO
            ========================================================= */

        .logo-text {
            font-weight: 900;
            letter-spacing: 0.6px;
            display: inline-flex;
            align-items: center;

            background: linear-gradient(90deg, #3b82f6, #6366f1, #ef4444);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;

            text-shadow: 0 0 8px rgba(99, 102, 241, .35);
        }

        .frontend-brand-icon { width:30px; height:30px; margin-right:8px; border-radius:8px; object-fit:cover; box-shadow:0 3px 12px rgba(0,0,0,.28); }

        .logo-best,
        .logo-2,
        .logo-wins {
            font-size: 26px;
        }

        @media (max-width:768px) {

            .frontend-brand-icon { width:25px; height:25px; margin-right:6px; border-radius:7px; }

            .logo-best,
            .logo-wins,
            .logo-2 {
                font-size: 21px;
            }
        }

        /* =========================================================
            MOBILE PULL TO REFRESH
            ========================================================= */

        .mobile-pull-refresh {
            position: fixed;
            left: 50%;
            top: 66px;
            z-index: 1029;
            min-width: 172px;
            height: 46px;
            display: none;
            align-items: center;
            justify-content: center;
            gap: 9px;
            padding: 7px 14px 7px 11px;
            border-radius: 999px;
            color: #e5e7eb;
            background:
                radial-gradient(circle at 22% 45%, rgba(96, 165, 250, .15), transparent 32%),
                radial-gradient(circle at 70% 20%, rgba(248, 113, 113, .10), transparent 34%),
                linear-gradient(135deg, rgba(8, 12, 22, .96), rgba(0, 0, 0, .88));
            border: 1px solid rgba(148, 163, 184, .16);
            box-shadow:
                0 14px 34px rgba(0, 0, 0, .30),
                0 0 24px rgba(96, 165, 250, .08),
                inset 0 1px 0 rgba(255, 255, 255, .07);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            opacity: 0;
            pointer-events: none;
            transform: translate(-50%, -18px) scale(.94);
            transition: opacity .16s ease, transform .16s ease;
        }

        .mobile-pull-refresh.show {
            display: flex;
            opacity: 1;
        }

        .mobile-pull-refresh.ready {
            border-color: rgba(245, 193, 108, .38);
            box-shadow:
                0 16px 38px rgba(0, 0, 0, .34),
                0 0 28px rgba(245, 193, 108, .14),
                inset 0 1px 0 rgba(255, 255, 255, .08);
        }

        .pull-refresh-mark {
            position: relative;
            width: 36px;
            height: 30px;
            flex: 0 0 auto;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            background:
                radial-gradient(circle at 35% 50%, rgba(96, 165, 250, .13), transparent 42%),
                rgba(0, 0, 0, .34);
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, .055),
                0 0 14px rgba(96, 165, 250, .08);
            overflow: hidden;
        }

        .pull-refresh-mark::before {
            content: "";
            position: absolute;
            inset: -2px;
            border-radius: 14px;
            border: 2px solid rgba(255, 255, 255, .10);
            border-top-color: #f5c16c;
            border-right-color: rgba(96, 165, 250, .65);
            transform: rotate(var(--pull-spin, 0deg));
        }

        .pull-refresh-mark::after {
            content: "";
            position: absolute;
            inset: 2px;
            border-radius: 10px;
            background: linear-gradient(110deg, transparent 18%, rgba(255, 255, 255, .12), transparent 72%);
            opacity: .24;
            pointer-events: none;
        }

        .mobile-pull-refresh.loading .pull-refresh-mark::before {
            animation: pullRefreshSpin .72s linear infinite;
        }

        .pull-refresh-logo {
            position: relative;
            z-index: 1;
            width: 22px;
            height: 22px;
            border-radius: 999px;
            object-fit: contain;
            mix-blend-mode: screen;
            opacity: .94;
            filter:
                drop-shadow(0 0 7px rgba(96, 165, 250, .22))
                drop-shadow(0 0 6px rgba(248, 113, 113, .16));
        }

        .pull-refresh-copy {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 1px;
            line-height: 1;
            white-space: nowrap;
        }

        .pull-refresh-copy strong {
            font-size: 11px;
            font-weight: 900;
            letter-spacing: .25px;
        }

        .pull-refresh-copy small {
            color: #94a3b8;
            font-size: 9px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: .5px;
        }

        .mobile-pull-refresh.ready .pull-refresh-copy small {
            color: #f5c16c;
        }

        @media (min-width: 769px) {
            .mobile-pull-refresh {
                display: none !important;
            }
        }

        @keyframes pullRefreshSpin {
            to {
                transform: rotate(360deg);
            }
        }


        /* =========================================================
                MENU
                ========================================================= */

        .menu-item {
            cursor: pointer;
        }

        .menu-item i {
            margin-right: 6px;
        }


        /* =========================================================
                LANGUAGE
            ========================================================= */

        .dropdown-menu .dropdown-item {
            display: flex;
            align-items: center;
            gap: 8px;
            height: 40px;
            font-size: 14px;
            padding: 0 12px;
        }

        .lang-flag {
            width: 22px;
        }

        .dropdown-item.active {
            background: rgba(245, 193, 108, .15);
            color: #f5c16c;
        }

        .lang-switch-popup {
            border: 1px solid rgba(245, 193, 108, .26);
            border-radius: 18px;
            box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
        }

        .lang-switch-loading {
            display: flex;
            align-items: center;
            gap: 16px;
            text-align: left;
            padding: 4px 0;
        }

        .lang-switch-spinner {
            width: 42px;
            height: 42px;
            flex: 0 0 42px;
            border-radius: 50%;
            border: 3px solid rgba(245, 193, 108, .18);
            border-top-color: #f5c16c;
            animation: langSwitchSpin .75s linear infinite;
            box-shadow: 0 0 18px rgba(245, 193, 108, .22);
        }

        .lang-switch-copy {
            display: flex;
            min-width: 0;
            flex-direction: column;
            gap: 4px;
        }

        .lang-switch-copy strong {
            font-size: 16px;
            line-height: 1.25;
            color: #fff;
        }

        .lang-switch-copy span {
            font-size: 13px;
            line-height: 1.45;
            color: #b8c2d8;
        }

        .lang-switch-copy small {
            width: max-content;
            max-width: 100%;
            margin-top: 4px;
            padding: 4px 9px;
            border-radius: 999px;
            background: rgba(245, 193, 108, .12);
            color: #f5c16c;
            font-size: 12px;
            font-weight: 700;
        }

        #langSwitchOverlay {
            position: fixed;
            inset: 0;
            z-index: 3000;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 22px;
            background: rgba(2, 6, 23, .72);
            backdrop-filter: blur(8px);
        }

        #langSwitchOverlay.show {
            display: flex;
        }

        #langSwitchOverlay .lang-switch-loading {
            width: min(360px, 100%);
            padding: 22px;
            border: 1px solid rgba(245, 193, 108, .26);
            border-radius: 18px;
            background: #020617;
            box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
        }

        @keyframes langSwitchSpin {
            to {
                transform: rotate(360deg);
            }
        }

        /* 🔥 强制语言按钮白色 */
        .lang-btn {
            color: #e5e7eb !important;
        }

        /* hover */
        .lang-btn:hover {
            color: #ffffff !important;
        }

        /* 点击 / focus */
        .lang-btn:focus,
        .lang-btn:active {
            color: #ffffff !important;
            box-shadow: none !important;
        }

        /* =========================================================
ICON COLORS
========================================================= */

        .bi-telegram {
            color: #2AABEE !important;
        }

        .bi-gift {
            color: #f5c16c !important;
        }

        .bi-controller {
            color: #9ca3af !important;
        }

        .bi-headset {
            color: #22c55e !important;
        }


        /* =========================================================
🔥 REMOVE FIXED FOOTER（关键）
========================================================= */

        .fixed-footer {
            position: relative;
            /* ✅ 不再固定 */
        }


        /* =========================================================
QR SIZE
========================================================= */

        .mobile-share-footer .share-qr img {
            width: 140px;
            height: auto;
        }

/* 🔥 防止任何情况爆宽 */
        .swal2-popup {
            max-width: 100% !important;
            box-sizing: border-box;
        }

        /* 只锁定 Telegram Popup */
        .swal-telegram-popup {
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
        }

        /* WRAP */
        .swal-telegram-wrap {
            text-align: left;
            font-size: 13px;
            line-height: 1.6;
            word-break: break-word;
        }

        /* HEADLINE */
        .swal-telegram-headline {
            font-weight: 600;
            margin-bottom: 6px;
        }

        /* INTRO */
        .swal-telegram-intro {
            margin-bottom: 6px;
        }

        /* LIST */
        .swal-telegram-list {
            padding-left: 16px;
            margin: 6px 0 10px;
        }

        /* BRAND */
        .b2w-brand {
            color: #f5c16c;
            font-weight: 600;
            text-shadow: 0 0 6px rgba(245, 193, 108, .3);
        }

        /* B2W */
        .swal-telegram-b2w {
            font-size: 12px;
            color: #94a3b8;
            margin-bottom: 8px;
        }

        /* NOTE */
        .swal-telegram-note {
            color: #94a3b8;
            font-size: 12px;
        }

        /* DIVIDER */
        .swal-telegram-divider {
            height: 1px;
            background: rgba(255, 255, 255, .08);
            margin: 10px 0;
        }

        /* ASK */
        .swal-telegram-ask {
            font-size: 13px;
        }

        /* TITLE */
        .swal-telegram-title {
            font-size: 15px !important;
        }

        /* BUTTON BASE */
        .swal-telegram-btn,
        .swal-telegram-btn-cancel {
            font-size: 13px !important;
            padding: 8px 14px !important;
            margin: 0 !important;
            white-space: nowrap;
        }

        /* 🔥 桌面也保持左右 */
        .swal2-popup.swal-telegram-popup .swal2-actions {
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: nowrap !important;
            align-items: stretch !important;
            justify-content: center !important;
            gap: 10px !important;
            width: 100% !important;
            margin: 1.25em 0 0 !important;
        }

        .swal2-popup.swal-telegram-popup .swal2-actions .swal2-styled {
            flex: 1 1 0 !important;
            width: auto !important;
            min-width: 0 !important;
            margin: 0 !important;
        }

        /* MOBILE */
        @media (max-width: 768px) {

            /* 🔥 只针对 Telegram，不给别的 Swal 影响 */
            .swal2-popup.swal-telegram-popup .swal2-actions {
                display: flex !important;
                flex-direction: row !important;
                flex-wrap: nowrap !important;
                align-items: stretch !important;
                justify-content: center !important;
                gap: 8px !important;
                width: 100% !important;
            }

            .swal2-popup.swal-telegram-popup .swal2-actions .swal2-styled,
            .swal2-popup.swal-telegram-popup .swal-telegram-btn,
            .swal2-popup.swal-telegram-popup .swal-telegram-btn-cancel {
                flex: 1 1 0 !important;
                width: auto !important;
                min-width: 0 !important;
                margin: 0 !important;
                padding: 8px 10px !important;
                font-size: 12px !important;
            }
        }
