* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* 悬浮按钮样式：无背景，图片占满 */
        .aily-fab {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: transparent;   /* 去掉紫色渐变 */
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
            cursor: pointer;
            z-index: 9998;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            padding: 0;               /* 确保没有内边距 */
        }

        .aily-fab:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        }

        /* 图片完全填充按钮 */
        .aily-fab img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
        }

        /* 弹窗容器 */
        .aily-chat-window {
            position: fixed;
            bottom: 90px;
            right: 20px;
            width: 380px;
            height: 600px;
            background: white;
            border-radius: 16px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
            z-index: 9999;
            display: none;
            flex-direction: column;
            overflow: hidden;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        }

        /* 弹窗头部 */
        .aily-chat-header {
            padding: 16px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: move;
        }

        .aily-chat-header h3 {
            font-size: 16px;
            font-weight: 500;
        }

        .aily-close-btn {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            font-size: 20px;
            cursor: pointer;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
        }

        .aily-close-btn:hover {
            background: rgba(255, 255, 255, 0.3);
        }

        /* iframe 区域 */
        .aily-chat-iframe {
            flex: 1;
            width: 100%;
            border: none;
        }

        /* 移动端适配 */
        @media (max-width: 768px) {
            .aily-chat-window {
                width: calc(100vw - 40px);
                height: calc(100vh - 120px);
                bottom: 80px;
                right: 20px;
            }
        }
        

