/* 独立分享按钮 - 覆盖在图片右下角 */
.tutorial-share-btn {
    position: absolute;
    bottom: 18px;
    right: 18px;
    width: auto;
    height: 32px;
    padding: 0 14px;
    white-space: nowrap;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    z-index: 20;
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: none;
}

.tutorial-share-btn.wechat-share-btn {
    right: 92px;
}
.tutorial-share-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #4b5563;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.tutorial-share-btn svg {
    width: 14px;
    height: 14px;
}
/* Ensure card has pointer cursor since it's now a div */
.tutorial-card {
    cursor: pointer;
}

/* Announcement page specific overrides */
.tutorial-share-btn.ann-share-btn {
    /* Default state: looks like tutorial hover (white bg, dark text) */
    background: rgba(255, 255, 255, 0.95);
    color: #4b5563;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

@media (max-width: 640px) {
    .tutorial-share-btn {
        bottom: 12px;
        top: auto;
        right: 12px;
        height: 28px;
        padding: 0 10px;
        font-size: 12px;
        background: transparent;
        color: #ffffff;
        border: 1px solid transparent;
        box-shadow: none;
    }

    .tutorial-share-btn.wechat-share-btn {
        right: 92px;
    }

    .tutorial-share-btn.copy-share-btn {
        display: flex;
    }
}

.tutorial-share-btn.ann-share-btn:hover {
    /* Hover state: Blue background, white text */
    background: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
    transform: translateY(-1px);
}
