        :root {
            --bg-color: #e8e8e8;
            --nav-bg: #ffffff;
            --text-color: #222;
            --active-color: #2f3542;
            --indicator-color: #007bff;
            --nav-height: 70px;
            --icon-size: 28px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        }

        /* Wrapper to keep nav and credits attached */
        .nav-wrapper {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            z-index: 11
        }

        /* Navigation Container */
        .navigation {
            position: relative;
            width: 400px; /* Increased width for the gap */
            height: var(--nav-height);
            background: var(--nav-bg);
            border-radius: 20px;
            display: flex;
            align-items: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            isolation: isolate; 
            padding: 0 10px;
            z-index: 10;
        }

        .nav-list {
            display: flex;
            width: 100%;
            height: 100%;
            align-items: center;
            list-style: none;
            z-index: 2;
        }

        .nav-item {
            position: relative;
            width: 70px;
            height: 70px;
            z-index: 1;
        }

        /* Standalone Logic: Push the last item (Profile) to the right */
        .nav-item:last-child {
            margin-left: auto; /* Creates the gap */
            position: relative;
        }

        /* Optional separator line in the gap */
        .nav-item:last-child::before {
            content: '';
            position: absolute;
            left: -20px;
            top: 50%;
            transform: translateY(-50%);
            width: 2px;
            height: 20px;
            background: #f0f0f0;
            border-radius: 2px;
        }

        .nav-link {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            height: 100%;
            cursor: pointer;
            flex-direction: column;
            text-decoration: none;
        }

        .nav-link i {
            font-size: var(--icon-size);
            color: var(--text-color);
            transition: color 0.3s;
            z-index: 10;
            position: relative;
        }

        .nav-item.active .nav-link i {
            color: #fff;
            animation: iconPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        @keyframes iconPop {
            0% { transform: scale(1); }
            50% { transform: scale(1.4); } 
            100% { transform: scale(1); } 
        }

        .indicator {
            position: absolute;
            top: -50%; 
            left: 0; 
            width: 60px;
            height: 60px;
            background: var(--indicator-color);
            border-radius: 50%;
            top: 5px; 
            transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55); 
            box-shadow: 0 5px 15px rgba(71, 89, 255, 0.4);
            pointer-events: none;
        }

        /* Credits Tag Styling */
        .credits-tag {
            background: var(--nav-bg);
            padding: 6px 14px;
            border-radius: 0 0 12px 12px; /* Matches nav curve direction */
            margin-top: -2px; /* Slightly overlapped to look "attached" */
            
            font-size: 0.65rem;
            color: #999;
            font-weight: 600;
            letter-spacing: 0.5px;
            
            box-shadow: 0 10px 15px rgba(0,0,0,0.05);
            z-index: 5; /* Behind nav */
            
            /* Slide down animation on load */
            opacity: 0;
            transform: translateY(-10px);
            animation: slideIn 0.6s ease-out forwards 0.3s;
        }

        @keyframes slideIn {
            to { opacity: 1; transform: translateY(0); }
        }

        @media (max-width: 450px) {
            .navigation {
                width: 100%;
                border-radius: 20px 20px 0 0;
                position: fixed;
                bottom: 0;
                padding: 0 15px;
            }
            .nav-wrapper {
                width: 100%;
                position: fixed;
                bottom: 0;
            }
            #alphaspa.chat-unfolded .nav-wrapper, #alphaspa.chat-unfolded .navigation {
                bottom: -70px;
            }
            /* Adjust credits for mobile fixed nav */
            .credits-tag {
                position: absolute;
                bottom: 70px; /* Sit on top of nav */
                margin-top: 0;
                border-radius: 12px 12px 0 0; /* Curve upwards */
                box-shadow: 0 -5px 10px rgba(0,0,0,0.05);
            }
        }
    