/* Moved from app/Views/social/templates/header.php (inline <style>). Edit here, not in the view. */
        html {
            font-size: 18px; /* Desktop base font size */
            overflow-x: hidden !important;
            overflow-y: scroll !important;
            width: 100% !important;
        }
        @media (max-width: 1024px) {
            html {
                font-size: 16px; /* Standard 16px rem base on mobile & tablet screens */
                overflow-y: auto !important;
            }
        }
        body {
            font-family: "Proxima Nova", "Neue Helvetica", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            background-color: #F3F6F8;
            font-size: 16px;
            overflow-x: hidden !important;
            overflow-y: visible !important;
            width: 100% !important;
            position: relative;
        }
        @media (max-width: 768px) {
            body {
                font-size: 14px; /* 2px smaller on mobile screens */
            }
        }
        .active-tab {
            background-color: rgba(0, 122, 255, 0.08);
            color: #007AFF;
        }

        /* ─── MODERN SKELETON SHIMMER & TRANSITIONS ─── */
        @keyframes zypeShimmer {
            0% { background-position: -200% 0; }
            100% { background-position: 200% 0; }
        }
        .skeleton-shimmer {
            background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
            background-size: 200% 100%;
            animation: zypeShimmer 1.5s infinite;
        }
        main {
            will-change: auto;
        }


        /* Print styling */
        @media print {
            body {
                background: #fff !important;
            }
        }
        input, textarea {
            -webkit-user-select: text !important;
            user-select: text !important;
        }
        /* Universal Modal Fullscreen Overlay Rule (Eliminates top/bottom gaps over sticky header & nav) */
        #story-viewer-modal,
        #add-story-modal,
        #share-post-modal,
        #media-lightbox-modal,
        #universal-search-modal,
        #post-detail-modal,
        #gallery-lightbox-modal,
        #report-modal,
        #edit-profile-modal,
        #profile-crop-modal,
        #modal-manage-post,
        #modal-schedule-post,
        #modal-manage-photo,
        #modal-schedule-photo,
        #image-crop-modal,
        #qr-standy-modal,
        #edit-feed-post-modal,
        #deletion-2step-modal,
        #business-report-modal,
        #business-enquiries-modal,
        #zype-confirm-modal,
        #zype-scratch-popup-modal,
        #zype-notification-settings-modal {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            right: 0 !important;
            bottom: 0 !important;
            width: 100vw !important;
            min-height: 100vh !important;
            min-height: 100dvh !important;
            height: 100vh !important;
            height: 100dvh !important;
            z-index: 9999999 !important;
            margin: 0 !important;
        }

        /* Responsive Mobile Full-Screen Optimization for all Modals */
        @media (max-width: 639px) {
            #universal-search-modal,
            #post-detail-modal,
            #profile-crop-modal,
            #image-crop-modal,
            #qr-standy-modal,
            #modal-manage-post,
            #modal-schedule-post,
            #modal-manage-photo,
            #modal-schedule-photo,
            #edit-feed-post-modal,
            #deletion-2step-modal,
            #business-report-modal,
            #business-enquiries-modal,
            #zype-notification-settings-modal,
            #add-story-modal {
                padding: 0 !important;
            }
            #universal-search-modal > div,
            #post-detail-modal > div,
            #profile-crop-modal > div,
            #image-crop-modal > div,
            #qr-standy-modal > div,
            #modal-manage-post > div,
            #modal-schedule-post > div,
            #modal-manage-photo > div,
            #modal-schedule-photo > div,
            #edit-feed-post-modal > div,
            #deletion-2step-modal > div,
            #business-report-modal > div,
            #business-enquiries-modal > div,
            #zype-notification-settings-modal > div,
            #add-story-modal > div {
                width: 100vw !important;
                max-width: 100vw !important;
                min-height: 100vh !important;
                min-height: 100dvh !important;
                height: 100vh !important;
                height: 100dvh !important;
                max-height: 100vh !important;
                max-height: 100dvh !important;
                border-radius: 0 !important;
                border: 0 !important;
                margin: 0 !important;
            }
            #share-post-modal {
                padding: 0 !important;
                align-items: flex-end !important;
            }
            #share-post-modal > div {
                width: 100vw !important;
                max-width: 100vw !important;
                border-radius: 28px 28px 0 0 !important;
                border-bottom: 0 !important;
                margin: 0 !important;
            }
        }
    
