/* Custom Structural Layout Frame Rules */
#wins-custom-share-btn {
    position: absolute !important;
    
    /* MAXIMUM priority to stay on top of all invisible zoom/swipe layers */
    z-index: 999999999 !important; 
    
    /* Tells mobile browsers: DO NOT let parent elements ignore taps on this button */
    pointer-events: auto !important;
    -webkit-tap-highlight-color: transparent !important;
    
    border: 1px solid rgba(0,0,0,0.08) !important;
    
    /* Adaptive pill metrics layout structure */
    width: auto !important;
    height: auto !important;
    padding: 9px 16px !important;
    border-radius: 50px !important;
    
    /* Layout alignment rules */
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important; 
    
    /* Typography formatting profiles */
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    text-transform: uppercase !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    
    cursor: pointer !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12) !important;
    transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1) !important;
    line-height: 1 !important;
}

#wins-custom-share-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18) !important;
}

/* Corner Alignment Parameters */
#wins-custom-share-btn.top-left { top: 20px !important; left: 20px !important; }
#wins-custom-share-btn.top-right { top: 20px !important; right: 20px !important; }
#wins-custom-share-btn.bottom-left { bottom: 20px !important; left: 20px !important; }
#wins-custom-share-btn.bottom-right { bottom: 20px !important; right: 20px !important; }

/* Mobile optimization view screens */
@media (max-width: 768px) {
    #wins-custom-share-btn {
        padding: 8px 14px !important;
        font-size: 11px !important;
        gap: 6px !important;
    }
    #wins-custom-share-btn.top-left, #wins-custom-share-btn.top-right { top: 15px !important; }
    #wins-custom-share-btn.bottom-left, #wins-custom-share-btn.bottom-right { bottom: 15px !important; }
}


#wins-custom-share-btn {
    touch-action: manipulation !important;
    user-select: none !important;
    -webkit-user-select: none !important;
}

