

        /* 触发按钮样式 */
        .open-modal-btn {
            padding: 12px 30px;
            font-size: 16px;
            color: #fff;
            background-color: #4285f4;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .open-modal-btn:hover {
            background-color: #3367d6;
        }

        /* 模态框遮罩层（全屏半透明） */
        .modal-mask {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            /* 隐藏默认 */
            display: none;
            /* 让遮罩层在最下层，模态框在上方 */
            z-index: 999;
            /* 移动端点击遮罩不触发滚动 */
            touch-action: none;
        }

        /* 模态框容器（居中显示，响应式） */
        .modal-container {
            position: fixed;
            top: 50%;
            left: 50%;
            /* 居中偏移：自身宽高的一半 */
            transform: translate(-50%, -50%);
            /* 响应式宽高：电脑端最大宽度，手机端自适应 */
            width: 90%;
            max-width: 360px;
            background-color: #fff;
            border-radius: 12px;
            padding: 24px;
            /* 隐藏默认 */
            display: none;
            /* 让模态框在遮罩层上方 */
            z-index: 1000;
            /* 阴影效果，提升层次感 */
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        }

        /* 关闭按钮样式 */
        .modal-close {
            position: absolute;
            top: 12px;
            right: 12px;
            font-size: 20px;
            color: #999;
            cursor: pointer;
            width: 30px;
            height: 30px;
            line-height: 30px;
            text-align: center;
            transition: color 0.3s;
        }

        .modal-close:hover {
            color: #ff4444;
        }

        /* 二维码容器（响应式，图片自适应） */
        .qrcode-wrap {
            width: 100%;
            text-align: center;
            margin-bottom: 20px;
        }

        .qrcode-img {
            /* 图片自适应容器宽度，不超出 */
            width: 100%;
            max-width: 280px;
            height: auto;
            /* 避免图片变形 */
            object-fit: contain;
            border: 1px solid #eee;
            padding: 8px;
        }

        /* 提示文字样式（响应式字体大小） */
        .qrcode-tip {
            text-align: center;
            font-size: 15px;
            color: #333;
            line-height: 1.6;
            /* 移动端字体大小自适应 */
            font-size: clamp(14px, 4vw, 16px);
        }

        /* 激活状态：显示模态框和遮罩 */
        .modal-show {
            display: block;
        }



        /* 悬浮留言图标 */
        .message-icon {
            position: fixed;
            right: 20px;
            bottom: 20px;
            width: 60px;
            height: 60px;
            background: #1890ff;
            border-radius: 50%;
            color: white;
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            cursor: pointer;
            z-index: 998;
            transition: all 0.3s ease;
        }

        /* 新消息图标闪烁动画 */
        @keyframes pulse {
            0% { transform: scale(1); box-shadow: 0 0 0 rgba(24, 144, 255, 0.7); }
            50% { transform: scale(1.1); box-shadow: 0 0 20px rgba(24, 144, 255, 0.9); }
            100% { transform: scale(1); box-shadow: 0 0 0 rgba(24, 144, 255, 0.7); }
        }

        .message-icon.blinking {
            animation: pulse 1.5s infinite;
        }
