html.webvue-ffp-lock,
html.webvue-ffp-lock body {
    overflow: hidden !important;
}

.webvue-ffp {
    --webvue-ffp-blue: #0055a4;
    --webvue-ffp-white: #ffffff;
    --webvue-ffp-red: #ef4135;

    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--webvue-ffp-background, #ffffff);
    opacity: 1;
    visibility: visible;
    transition: opacity 550ms ease, visibility 550ms ease;
}

.webvue-ffp.webvue-ffp--hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.webvue-ffp__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-align: center;
}

.webvue-ffp__flag {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: clamp(150px, 19vw, 250px);
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 16px;
    background: #ffffff;
    box-shadow:
        0 25px 60px rgba(0, 39, 78, 0.17),
        0 8px 24px rgba(0, 0, 0, 0.08);
    transform-origin: center;
    animation: webvueFfpFloat 2.6s ease-in-out infinite;
}

.webvue-ffp__flag::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: inherit;
    pointer-events: none;
}

.webvue-ffp__stripe {
    position: relative;
    display: block;
    height: 100%;
    transform: scaleY(0);
    transform-origin: bottom;
    animation: webvueFfpStripe 720ms cubic-bezier(.2,.85,.25,1) forwards;
}

.webvue-ffp__stripe--blue {
    background: var(--webvue-ffp-blue);
    animation-delay: 90ms;
}

.webvue-ffp__stripe--white {
    background: var(--webvue-ffp-white);
    animation-delay: 190ms;
}

.webvue-ffp__stripe--red {
    background: var(--webvue-ffp-red);
    animation-delay: 290ms;
}

.webvue-ffp__shine {
    position: absolute;
    top: -20%;
    left: -80%;
    width: 48%;
    height: 140%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 35%,
        rgba(255, 255, 255, 0.72) 50%,
        rgba(255, 255, 255, 0.08) 65%,
        transparent 100%
    );
    transform: skewX(-18deg);
    animation: webvueFfpShine 2.4s ease-in-out 900ms infinite;
    pointer-events: none;
}

.webvue-ffp__label {
    color: #152238;
    font-size: clamp(15px, 1.4vw, 18px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(10px);
    animation: webvueFfpText 550ms ease 520ms forwards;
}

.webvue-ffp__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.webvue-ffp__dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    animation: webvueFfpDot 1.1s ease-in-out infinite;
}

.webvue-ffp__dots span:nth-child(1) {
    background: var(--webvue-ffp-blue);
}

.webvue-ffp__dots span:nth-child(2) {
    background: #d7d7d7;
    animation-delay: 140ms;
}

.webvue-ffp__dots span:nth-child(3) {
    background: var(--webvue-ffp-red);
    animation-delay: 280ms;
}

@keyframes webvueFfpStripe {
    0% {
        transform: scaleY(0);
        opacity: 0;
    }

    100% {
        transform: scaleY(1);
        opacity: 1;
    }
}

@keyframes webvueFfpFloat {
    0%, 100% {
        transform: translateY(0) rotate(-1deg);
    }

    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}

@keyframes webvueFfpShine {
    0% {
        left: -80%;
    }

    58%, 100% {
        left: 145%;
    }
}

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

@keyframes webvueFfpDot {
    0%, 100% {
        transform: translateY(0) scale(0.85);
        opacity: 0.5;
    }

    50% {
        transform: translateY(-6px) scale(1);
        opacity: 1;
    }
}

@media (max-width: 600px) {
    .webvue-ffp {
        padding: 18px;
    }

    .webvue-ffp__flag {
        width: min(54vw, 190px);
        border-radius: 13px;
    }

    .webvue-ffp__inner {
        gap: 15px;
    }

    .webvue-ffp__label {
        font-size: 13px;
        letter-spacing: 0.13em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .webvue-ffp,
    .webvue-ffp__flag,
    .webvue-ffp__stripe,
    .webvue-ffp__shine,
    .webvue-ffp__label,
    .webvue-ffp__dots span {
        animation: none !important;
        transition-duration: 150ms !important;
    }

    .webvue-ffp__stripe {
        transform: none;
        opacity: 1;
    }

    .webvue-ffp__label {
        opacity: 1;
        transform: none;
    }
}
