       /* 广告容器样式 - 向中间移动194px */
        .float-ad {
            position: fixed;
            top: 50%;
            transform: translateY(-50%);
            width: 96px;
            height: 180px;
            z-index: 9999;
            transition: all 0.3s ease;
        }
        
        /* 左侧广告向右移动194px */
        .float-ad.left {
            left: 194px;
        }
        
        /* 右侧广告向左移动194px */
        .float-ad.right {
            right: 194px;
        }
        
        .float-ad.hidden {
            opacity: 0;
            pointer-events: none;
        }
        
        /* 广告内容样式 */
        .ad-container {
            position: relative;
            width: 96px;
            height: 180px;
            background: #fff;
            border-radius: 6px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            transition: transform 0.2s;
        }
        
        .ad-container:hover {
            transform: scale(1.05);
        }
        
        .ad-link {
            display: block;
            width: 100%;
            height: 100%;
            text-decoration: none;
        }
        
        .ad-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        
        /* 关闭按钮样式 */
        .ad-close {
            position: absolute;
            top: 5px;
            right: 5px;
            width: 20px;
            height: 20px;
            background: rgba(0, 0, 0, 0.6);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 14px;
            transition: background 0.3s;
        }
        
        .ad-close:hover {
            background: rgba(0, 0, 0, 0.9);
        }
        
        /* 响应式设计 */
        @media (max-width: 1600px) {
            .float-ad.left {
                left: 100px;
            }
            
            .float-ad.right {
                right: 100px;
            }
        }
        
        @media (max-width: 1300px) {
            .float-ad.left {
                left: 50px;
            }
            
            .float-ad.right {
                right: 50px;
            }
        }
        
        @media (max-width: 1100px) {
            .float-ad.left {
                left: 20px;
            }
            
            .float-ad.right {
                right: 20px;
            }
        }
        
        @media (max-width: 900px) {
            .float-ad {
                display: none;
            }
        }