/* 修正后的固定分享功能样式 */
.so-share-fixed {
    position: fixed !important; /* 强制固定定位 */
    top: 50% !important;
    right: 20px !important; /* 固定在右侧20px */
    transform: translateY(-50%) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    z-index: 1000 !important;
    background-color: rgba(255, 255, 255, 0.8) !important;
    padding: 10px !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    transition: all 0.2s ease !important;
    /* 确保在所有情况下都相对于视口定位 */
    left: auto !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
}

.so-share-option {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.so-share-option:hover {
    background-color: #f0f2f5;
    transform: scale(1.1);
}

.so-share-option svg {
    color: #606770;
}

.so-share-option span {
    font-size: 12px;
    color: #606770;
    margin-top: 2px;
}

/* 响应式设计：小屏幕设备 */
@media (max-width: 768px) {
    .so-share-fixed {
        flex-direction: row !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        width: 100% !important;
        justify-content: space-around !important;
        padding: 8px 0 !important;
        border-radius: 0 !important;
        transform: none !important;
        background-color: #fff !important;
        border-top: 1px solid #e1e5e9 !important;
        gap: 0 !important;
    }

    .so-share-option {
        width: auto !important;
        height: auto !important;
        background-color: transparent !important;
        box-shadow: none !important;
        flex: 1 !important;
        text-align: center !important;
    }
}


