#mplLoader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #0a1628;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 36px;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#mplLoader.mpl-hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.mpl-logo img {
    height: 90px;
    width: auto;
    display: block;
    animation: mpl-logoin 1s ease forwards;
    opacity: 0;
}

@keyframes mpl-logoin {
    0% {
        opacity: 0;
        transform: translateY(-16px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.mpl-scene {
    display: flex;
    align-items: center;
    gap: 28px;
    animation: mpl-fadein 1s ease 0.4s forwards;
    opacity: 0;
}

@keyframes mpl-fadein {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mpl-tank {
    position: relative;
    width: 58px;
    height: 118px;
    flex-shrink: 0;
}

.mpl-tank svg {
    width: 100%;
    height: 100%;
}

.mpl-bubbles {
    position: absolute;
    bottom: 62px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 58px;
    overflow: hidden;
    pointer-events: none;
}

.mpl-bubble {
    position: absolute;
    border-radius: 50%;
    background: #4ab8c866;
    animation: mpl-rise 2s ease-in infinite;
    bottom: -20px;
}

.mpl-bubble:nth-child(1) {
    width: 6px;
    height: 6px;
    left: 4px;
    animation-delay: 0s;
    animation-duration: 2.0s
}

.mpl-bubble:nth-child(2) {
    width: 4px;
    height: 4px;
    left: 15px;
    animation-delay: 0.6s;
    animation-duration: 2.4s
}

.mpl-bubble:nth-child(3) {
    width: 5px;
    height: 5px;
    left: 22px;
    animation-delay: 1.1s;
    animation-duration: 1.9s
}

.mpl-bubble:nth-child(4) {
    width: 3px;
    height: 3px;
    left: 9px;
    animation-delay: 1.6s;
    animation-duration: 2.2s
}

@keyframes mpl-rise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.9;
    }

    80% {
        opacity: 0.4;
    }

    100% {
        transform: translateY(-65px) scale(1.5);
        opacity: 0;
    }
}

.mpl-pipe-h {
    width: 52px;
    height: 9px;
    background: #1e3a5f;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.mpl-pipe-h::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, #4ab8c8, transparent);
    animation: mpl-flowh 1.8s ease-in-out infinite;
}

@keyframes mpl-flowh {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.mpl-gauge {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.mpl-progress-wrap {
    width: 240px;
    animation: mpl-fadein 1s ease 0.7s forwards;
    opacity: 0;
}

.mpl-progress-bar-bg {
    width: 100%;
    height: 3px;
    background: #1e3a5f;
    border-radius: 2px;
    overflow: hidden;
}

.mpl-progress-bar-fill {
    height: 100%;
    background: #4ab8c8;
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
}

.mpl-pct {
    font-size: 12px;
    color: #4ab8c8;
    font-family: monospace;
    margin-top: 8px;
    text-align: right;
    letter-spacing: 0.05em;
}

.mpl-status {
    font-size: 11px;
    color: #4ab8c866;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-family: sans-serif;
    text-align: center;
    animation: mpl-blink 1.6s ease-in-out infinite, mpl-fadein 1s ease 1s forwards;
    opacity: 0;
}

@keyframes mpl-blink {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

.mpl-dots {
    display: flex;
    gap: 8px;
    animation: mpl-fadein 1s ease 1s forwards;
    opacity: 0;
}

.mpl-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1e3a5f;
}

.mpl-dot:nth-child(1) {
    animation: mpl-dotpulse 1.2s ease-in-out 0.0s infinite;
}

.mpl-dot:nth-child(2) {
    animation: mpl-dotpulse 1.2s ease-in-out 0.2s infinite;
}

.mpl-dot:nth-child(3) {
    animation: mpl-dotpulse 1.2s ease-in-out 0.4s infinite;
}

@keyframes mpl-dotpulse {

    0%,
    100% {
        background: #1e3a5f;
        transform: scale(1);
    }

    50% {
        background: #4ab8c8;
        transform: scale(1.4);
    }
}