﻿
            /* Full-screen splash (top-most) with fade and pulse */
            #splash-overlay {
                position: fixed;
                inset: 0;
                display: flex;
                align-items: center;
                justify-content: center;
                background: #1C77FF url('sphasl-photo.jpg') center/cover no-repeat;
                z-index: 100000;
                opacity: 0;
                visibility: hidden;
                transition: opacity 0.5s ease, visibility 0s linear 0.5s;
                pointer-events: none;
            }
            #splash-overlay.open {
                /* Make the appearance immediate (no fade-in) but keep
                   the base transition so removing `.open` still fades out. */
                opacity: 1;
                visibility: visible;
                transition: none;
                pointer-events: auto;
            }
            #splash-overlay .splash-inner,
            #splash-overlay .splash-inner img { width: 110vw; height: 110vh; }
            #splash-overlay .splash-inner img { object-fit: cover; border-radius: 0; box-shadow: none; transform-origin: center; }

            @keyframes splashPulse { 0% { transform: scale(1); } 50% { transform: scale(1.08); } 100% { transform: scale(1); } }
            #splash-overlay.open #splash-img { animation: splashPulse 2s ease-in-out infinite; }

            /* (Removed inner overlay styles) */
        
