/* ABV2 VN Share Poster - 前端样式 */

.abv2-sp-wrapper {
    margin-bottom: 20px;
}

.abv2-sp-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, #07C160, #05a654);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(7, 193, 96, 0.3);
}

.abv2-sp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(7, 193, 96, 0.4);
}

/* Modal */
.abv2-sp-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.abv2-sp-modal.active {
    opacity: 1;
    visibility: visible;
}

.abv2-sp-modal-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.abv2-sp-modal-body {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    max-width: 420px;
    width: 92%;
    max-height: 90vh;
    overflow-y: auto;
    text-align: center;
    transform: translateY(-15px);
    transition: transform 0.3s ease;
}

.abv2-sp-modal.active .abv2-sp-modal-body {
    transform: translateY(0);
}

.abv2-sp-modal-body h3 {
    margin: 0 0 15px;
    font-size: 18px;
    color: #333;
}

.abv2-sp-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 26px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.abv2-sp-close:hover {
    color: #333;
}

#abv2-sp-preview {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.abv2-sp-actions {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.abv2-sp-action-btn {
    flex: 1;
    padding: 12px 0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid #ddd;
    background: #f7f7f7;
    color: #333;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

.abv2-sp-action-btn.primary {
    background: #07C160;
    border-color: #07C160;
    color: #fff;
}

.abv2-sp-action-btn.primary:hover {
    background: #06ad56;
}

.abv2-sp-tip {
    margin: 15px 0 0;
    font-size: 12px;
    color: #999;
    line-height: 1.6;
}
