    /* ================= Global Styles ================= */
    :root {
        --qy-z: 2147483647;
        --qy-wx: #00af69;
        --qy-tel: #c3002f;
    }

    /* ================= Desktop Styles (screen width ≥ 992px) ================= */
    @media (min-width: 992px) {
        /* Desktop left floating buttons - hidden by default, show on scroll */
        .qy-floatbar {
            position: fixed;
            left: 15px;
            bottom: 80px;
            top: auto;
            transform: none;
            display: flex;
            flex-direction: column;
            z-index: var(--qy-z);
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        /* Class added when buttons should show after scrolling */
        .qy-floatbar.show {
            opacity: 1;
            visibility: visible;
        }

        /* Hide mobile bar on desktop */
        .qy-mobilebar {
            display: none !important;
        }

        .qy-floatbtn {
            position: relative;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            background: #fff;
            /*border: 2px solid #fff;*/
            box-shadow: 0 4px 15px rgba(0,0,0,0.15);
            transition: transform 0.3s;
        }

        .qy-floatbtn + .qy-floatbtn {
            margin-top: 10px;
        }

        .qy-floatbtn svg {
            width: 25px;
            height: 25px;
            fill: #fff;
            display: block;
        }

        .qy-floatbtn.wechat {
            background: var(--qy-wx);
        }

        .qy-floatbtn.call {
            background: var(--qy-tel);
        }

        /* Desktop radar ripple effect */
        .qy-floatbtn.wechat::before,
        .qy-floatbtn.wechat::after {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 50%;
            border: 1px solid var(--qy-wx);
            box-shadow: 0 0 10px rgba(7, 193, 96, 0.5);
            animation: qyRadar 2s infinite linear;
            opacity: 0;
            z-index: -1;
        }

        .qy-floatbtn.wechat::after {
            animation-delay: 1s;
        }

        @keyframes qyRadar {
            0% {
                transform: scale(1);
                opacity: 0.8;
                border-width: 2px;
            }
            100% {
                transform: scale(2.2);
                opacity: 0;
                border-width: 0;
            }
        }

        .qy-floatbtn:hover {
            transform: scale(1.1);
            z-index: 100;
        }

        /* Desktop tooltip */
        .qy-tooltip {
            position: absolute;
            left: 60px;
            top: 50%;
            transform: translateY(-50%) translateX(-10px);
            background: #00af69;
            padding: 6px 12px;
            border-radius: 6px;
            font-size: 14px;
            font-weight: bold;
            white-space: nowrap;
            color: #fff;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: 0.3s;
        }

        .qy-tooltip::after {
            content: '';
            position: absolute;
            left: -5px;
            top: 50%;
            margin-top: -5px;
            border-width: 5px 5px 5px 0;
            border-style: solid;
            border-color: transparent #00af69 transparent transparent;
        }

        .qy-floatbtn:hover .qy-tooltip {
            opacity: 1;
            visibility: visible;
            transform: translateY(-50%) translateX(0);
        }
    }

    /* ================= Mobile Styles (screen width ≤ 991px) ================= */
    @media (max-width: 991px) {
        /* Hide desktop floating buttons on mobile */
        .qy-floatbar {
            display: none !important;
        }

        /* Mobile bottom bar - centered, hides when scroll to top */
        .qy-mobilebar {
            position: fixed;
            bottom: 0 !important;
            left: 0;
            right: 0;
            display: flex !important;
            justify-content: center;
            z-index: var(--qy-z);
            pointer-events: none;
            /* Safe area inset for iPhone X+ */
            padding-bottom: constant(safe-area-inset-bottom);
            padding-bottom: env(safe-area-inset-bottom);
            /* Transition for hide/show on scroll */
            transition: opacity 0.3s ease, visibility 0.3s ease;
            opacity: 1;
            visibility: visible;
        }

        .qy-row {
            display: flex;
            pointer-events: auto;
            gap: 15px;
        }

        .qy-m-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 30px;
            padding: 0 10px;
            border-radius: 4px;
            border: none;
            font-weight: 300;
            font-size: 14px;
            color: #fff !important;
            text-decoration: none !important;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
            position: relative;
            overflow: hidden;
            white-space: nowrap;
            cursor: pointer;
            /* Touch optimization */
            -webkit-tap-highlight-color: transparent;
            user-select: none;
            touch-action: manipulation;
            transition: transform 0.1s;
        }

        /* Touch feedback */
        .qy-m-btn:active {
            transform: scale(0.96);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }

        .qy-m-btn svg {
            width: 22px;
            height: 22px;
            fill: #fff;
            margin-right: 6px;
            display: block;
        }

        .qy-m-btn span {
            position: relative;
            z-index: 2;
            letter-spacing: 1px;
        }

        .qy-m-btn.wechat {
            background: var(--qy-wx);
        }

        .qy-m-btn.call {
            background: var(--qy-tel);
            animation: qyBreathe 3s infinite ease-in-out;
        }

        @keyframes qyBreathe {
            0% { transform: scale(1); }
            50% { transform: scale(1.03); }
            100% { transform: scale(1); }
        }

        /* Mobile shimmer effect */
        .qy-m-btn::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transform: skewX(-20deg);
            animation: qySheen 5s infinite;
            pointer-events: none;
        }

        @keyframes qySheen {
            0% { left: -100%; }
            20% { left: 200%; }
            100% { left: 200%; }
        }
    }

    /* ================= Modal Styles (shared across all platforms) ================= */
    .qy-modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.65);
        z-index: 2147483646;
        display: none;
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
        animation: qyFadeIn 0.2s;
    }

    .qy-modal-dialog {
        position: fixed;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        background: #fff;
        border-radius: 16px;
        padding: 25px 20px;
        text-align: center;
        z-index: 2147483647;
        display: none;
        width: 85%;
        max-width: 300px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
        animation: qyPopUp 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    }

    .qy-modal-active .qy-modal-overlay,
    .qy-modal-active .qy-modal-dialog {
        display: block;
    }

    .qy-modal-dialog h3 {
        margin: 0 0 10px 0;
        font-size: 18px;
        color: #333;
    }

    .qy-modal-dialog img {
        width: 232px;
        height: 232px;
        border: 1px solid #f0f0f0;
        border-radius: 8px;
        margin-bottom: 10px;
        display: inline-block;
    }

    .qy-copy-box {
        background: #f7f8fa;
        border-radius: 8px;
        padding: 5px 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border: 1px solid #eee;
        margin-bottom: 10px;
    }

    .qy-num {
        font-size: 18px;
        font-weight: bold;
        color: #333;
        margin: 0;
        user-select: text;
    }

    .qy-btn-copy {
        font-size: 13px;
        color: #fff;
        background: #00af69;
        padding: 6px 14px;
        border-radius: 4px;
        cursor: pointer;
        border: none;
        -webkit-tap-highlight-color: transparent;
    }

    .qy-btn-copy:active {
        opacity: 0.8;
    }

    .qy-close {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 28px;
        height: 28px;
        background: #f5f5f5;
        border-radius: 50%;
        color: #333;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .qy-toast {
        position: fixed;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        background: rgba(0, 0, 0, 0.8);
        color: #fff;
        padding: 12px 20px;
        border-radius: 6px;
        font-size: 14px;
        display: none;
        z-index: 2147483648;
        pointer-events: none;
        white-space: nowrap;
    }

    /* Link button styles */
    .qy-link-btn {
        display: inline-block;
        padding: 10px 20px;
        background: #00af69;
        color: white;
        text-decoration: none;
        border-radius: 8px;
        font-size: 14px;
        font-weight: bold;
        transition: opacity 0.3s;
    }

    .qy-link-btn.whatsapp {
        background: #00af69;
    }

    .qy-link-btn:hover {
        opacity: 0.9;
    }

    @keyframes qyFadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    @keyframes qyPopUp {
        from {
            transform: translate(-50%, -40%) scale(0.9);
            opacity: 0;
        }
        to {
            transform: translate(-50%, -50%) scale(1);
            opacity: 1;
        }
    }