
    /* 顶部居中横幅样式 */
    .top-center-banner {
        position: fixed;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 50%, #4f46e5 100%);
        color: white;
        padding: 10px 30px;
        border-radius: 0 0 12px 12px;
        z-index: 1000;
        box-shadow: 0 4px 20px rgba(79, 70, 229, 0.3);
        text-align: center;
        min-width: 300px;
        max-width: 600px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-top: none;
        animation: slideDown 0.5s ease;
    }
    
    .banner-content {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        font-size: 14px;
    }
    
    .banner-live {
        display: flex;
        align-items: center;
        gap: 6px;
    }
    
    .banner-dot {
        width: 6px;
        height: 6px;
        background: #10b981;
        border-radius: 50%;
        animation: pulse 1.5s infinite;
    }
    
    .banner-count {
        font-weight: 700;
        font-size: 16px;
        font-variant-numeric: tabular-nums;
        background: rgba(255, 255, 255, 0.2);
        padding: 2px 8px;
        border-radius: 12px;
    }
    
    .banner-message {
        opacity: 0.9;
        font-size: 13px;
    }
    
    .banner-close {
        background: none;
        border: none;
        color: white;
        opacity: 0.7;
        cursor: pointer;
        padding: 4px;
        border-radius: 50%;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
    }
    
    .banner-close:hover {
        background: rgba(255, 255, 255, 0.2);
        opacity: 1;
    }
    
    @keyframes slideDown {
        from {
            transform: translateX(-50%) translateY(-100%);
        }
        to {
            transform: translateX(-50%) translateY(0);
        }
    }
    
    @keyframes pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.5; }
    }
    
    /* 响应式设计 */
    @media (max-width: 768px) {
        .top-center-banner {
            min-width: 250px;
            max-width: 90%;
            padding: 8px 15px;
        }
        
        .banner-content {
            font-size: 12px;
            gap: 10px;
            flex-wrap: wrap;
        }
        
        .banner-count {
            font-size: 14px;
        }
        
        .banner-message {
            font-size: 11px;
        }
    }
