

.back-to-top{
    width: 60px;
    height: 60px;
    position: fixed;
    display: none;
    z-index: 999;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: var(--radius-md);
    background: #2b2e35;
    font-size: 24px;
    color: #999;
    right: 15px;
    bottom: 15px;
}
.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
    color: var(--primary-color);
}
        .cookie-consent {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(255, 255, 255, 0.95);
            padding: 12px 20px;
            box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            z-index: 1000;
            transform: translateY(100%);
            transition: transform 0.5s ease;
            border-top: 3px solid #2aae67;
        }
        
        .cookie-consent.active {
            transform: translateY(0);
        }
        
        .cookie-text {
            flex: 1;
            min-width: 300px;
            margin-right: 20px;
            margin-bottom: 10px;
        }
        
        .cookie-text p {
            margin-bottom: 5px;
            color: #444;
        }
        
        .cookie-text a {
            color: #2aae67;
            text-decoration: none;
            font-weight: 600;
        }
        
        .cookie-text a:hover {
            text-decoration: underline;
        }
        
        .cookie-buttons {
            display: flex;
            gap: 10px;
        }
        
    
        
        @media (max-width: 768px) {
            .cookie-consent {
                padding: 15px;
            }
            
            .cookie-text {
                min-width: 100%;
                margin-right: 0;
                margin-bottom: 15px;
            }
            
            .cookie-buttons {
                width: 100%;
                justify-content: center;
            }
        }
    

/* ===== 暗色主题适配（data-theme="dark"） ===== */
[data-theme="dark"] .cookie-consent{background:rgba(30,30,30,.97)}
[data-theme="dark"] .cookie-text p{color:#c8cdd6}
[data-theme="dark"] .back-to-top{background:#34373c;color:#c8cdd6}
