/* Music FM — clean white first-entry loader with the real header logo */
html{scrollbar-gutter:stable}

.mf-launch{
    display:none;
    position:fixed;
    inset:0;
    z-index:2147483640;
    overflow:hidden;
    color:#071832;
    background:#fff;
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    contain:layout paint style;
    will-change:opacity,visibility;
}

html.mf-launch-pending .mf-launch{display:block}

.mf-launch__stage{
    position:absolute;
    top:50%;
    left:50%;
    width:min(650px,88vw);
    display:grid;
    justify-items:center;
    gap:30px;
    transform:translate3d(-50%,-50%,0);
}

.mf-launch__brand{
    width:max-content;
    max-width:100%;
    opacity:0;
    transform:translateY(12px) scale(.965);
    animation:mfLaunchLogoIn .72s cubic-bezier(.16,1,.3,1) .08s forwards;
}

/* Exact header logo component, adapted only for contrast on white. */
.mf-launch__brand .mf-premium-logo{
    min-width:0;
    width:max-content;
    height:auto;
    gap:27px;
    pointer-events:none;
    transform:none!important;
    filter:none!important;
}

.mf-launch__brand .mf-premium-logo-text b{
    font-size:clamp(42px,8vw,74px);
    letter-spacing:-2.4px;
    animation:mfPremiumLogoBreath 7s ease-in-out infinite;
}

.mf-launch__brand .mf-premium-music{
    color:#071832;
    text-shadow:none;
}

.mf-launch__brand .mf-premium-fm{
    color:#147cff;
    text-shadow:0 0 24px rgba(20,124,255,.18);
}

.mf-launch__brand .mf-premium-logo-text small{
    margin-top:12px;
    color:#64748b;
    font-size:clamp(13px,2.2vw,18px);
    text-align:right;
}

.mf-launch__brand .mf-premium-logo-text::after{display:none}

.mf-launch__brand .mf-premium-eq{
    width:112px;
    height:66px;
    gap:7px;
}

.mf-launch__brand .mf-premium-eq i{
    width:7px;
    box-shadow:
        0 0 10px rgba(20,124,255,.30),
        0 0 18px rgba(89,199,255,.15);
}
.mf-launch__brand .mf-premium-eq i:nth-child(1){height:15px}
.mf-launch__brand .mf-premium-eq i:nth-child(2){height:24px}
.mf-launch__brand .mf-premium-eq i:nth-child(3){height:37px}
.mf-launch__brand .mf-premium-eq i:nth-child(4){height:51px}
.mf-launch__brand .mf-premium-eq i:nth-child(5){height:66px}
.mf-launch__brand .mf-premium-eq i:nth-child(6){height:49px}
.mf-launch__brand .mf-premium-eq i:nth-child(7){height:35px}
.mf-launch__brand .mf-premium-eq i:nth-child(8){height:24px}
.mf-launch__brand .mf-premium-eq i:nth-child(9){height:16px}

.mf-launch__progress{
    width:min(300px,56vw);
    height:3px;
    overflow:hidden;
    border-radius:999px;
    background:#e4edf8;
    opacity:0;
    animation:mfLaunchFadeIn .3s ease .32s forwards;
}

.mf-launch__progress span{
    display:block;
    width:100%;
    height:100%;
    border-radius:inherit;
    background:linear-gradient(90deg,#59c7ff,#147cff);
    transform:scaleX(0);
    transform-origin:right;
    animation:mfLaunchProgress 1.28s cubic-bezier(.2,.75,.25,1) .18s forwards;
}

.mf-launch.is-leaving{
    pointer-events:none;
    animation:mfLaunchOut .32s cubic-bezier(.4,0,.2,1) forwards;
}

.mf-launch.is-leaving .mf-launch__stage{
    animation:mfLaunchStageOut .32s cubic-bezier(.4,0,.2,1) forwards;
}

@keyframes mfLaunchLogoIn{
    to{opacity:1;transform:none}
}
@keyframes mfLaunchFadeIn{
    to{opacity:1}
}
@keyframes mfLaunchProgress{
    to{transform:scaleX(1)}
}
@keyframes mfLaunchStageOut{
    to{
        opacity:0;
        transform:translate3d(-50%,-51%,0) scale(1.015);
        filter:blur(1px)
    }
}
@keyframes mfLaunchOut{
    to{opacity:0;visibility:hidden}
}

@media(max-width:620px){
    .mf-launch__stage{width:92vw;gap:25px}
    .mf-launch__brand .mf-premium-logo{
        gap:15px;
        transform:scale(.92)!important;
    }
    .mf-launch__brand .mf-premium-logo-text b{
        font-size:clamp(31px,10vw,46px);
        letter-spacing:-1.6px;
    }
    .mf-launch__brand .mf-premium-logo-text small{
        margin-top:8px;
        font-size:11px;
    }
    .mf-launch__brand .mf-premium-eq{
        width:76px;
        height:44px;
        gap:5px;
    }
    .mf-launch__brand .mf-premium-eq i{width:5px}
    .mf-launch__brand .mf-premium-eq i:nth-child(1){height:10px}
    .mf-launch__brand .mf-premium-eq i:nth-child(2){height:16px}
    .mf-launch__brand .mf-premium-eq i:nth-child(3){height:25px}
    .mf-launch__brand .mf-premium-eq i:nth-child(4){height:34px}
    .mf-launch__brand .mf-premium-eq i:nth-child(5){height:44px}
    .mf-launch__brand .mf-premium-eq i:nth-child(6){height:33px}
    .mf-launch__brand .mf-premium-eq i:nth-child(7){height:24px}
    .mf-launch__brand .mf-premium-eq i:nth-child(8){height:16px}
    .mf-launch__brand .mf-premium-eq i:nth-child(9){height:11px}
    .mf-launch__progress{width:min(225px,58vw)}
}

@media(prefers-reduced-motion:reduce){
    .mf-launch__brand,
    .mf-launch__progress,
    .mf-launch__progress span{
        animation:none!important;
        opacity:1;
        transform:none;
    }
}
