body.grilles-loading-open {
    overflow: hidden;
}

.grilles-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 0%, rgba(49, 158, 199, .32), transparent 42%),
        linear-gradient(145deg, #001f30 0%, #002a3f 47%, #073b52 100%);
    opacity: 0;
    visibility: hidden;
    transition: opacity .24s ease, visibility .24s ease;
}

.grilles-loading-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.grilles-loading-sky,
.grilles-loading-sky::before,
.grilles-loading-sky::after {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.grilles-loading-sky::before {
    content: '';
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, .52) 0 1px, transparent 1.6px),
        radial-gradient(circle, rgba(255, 255, 255, .3) 0 1px, transparent 1.5px);
    background-position: 18px 24px, 72px 76px;
    background-size: 110px 110px, 145px 145px;
    opacity: .28;
    animation: grilles-stars-drift 22s linear infinite;
}

.grilles-loading-sky::after {
    content: '';
    top: auto;
    height: 32%;
    background: linear-gradient(to top, rgba(232, 78, 15, .12), transparent);
}

.grilles-loading-glow {
    position: absolute;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    filter: blur(12px);
    opacity: .24;
    animation: grilles-glow 7s ease-in-out infinite alternate;
}

.grilles-loading-glow-one {
    top: -230px;
    right: -120px;
    background: #37b8df;
}

.grilles-loading-glow-two {
    bottom: -280px;
    left: -120px;
    background: #e84e0f;
    animation-delay: -3s;
}

.grilles-loading-cloud {
    position: absolute;
    width: 130px;
    height: 34px;
    border-radius: 40px;
    background: rgba(255, 255, 255, .075);
    filter: blur(.2px);
    animation: grilles-cloud-drift 15s linear infinite;
}

.grilles-loading-cloud::before,
.grilles-loading-cloud::after {
    content: '';
    position: absolute;
    bottom: 0;
    border-radius: 50%;
    background: inherit;
}

.grilles-loading-cloud::before {
    left: 24px;
    width: 52px;
    height: 52px;
}

.grilles-loading-cloud::after {
    right: 18px;
    width: 68px;
    height: 68px;
}

.grilles-loading-cloud-one {
    top: 15%;
    left: -150px;
}

.grilles-loading-cloud-two {
    top: 72%;
    left: -220px;
    transform: scale(.72);
    animation-delay: -6s;
    animation-duration: 19s;
}

.grilles-loading-cloud-three {
    top: 37%;
    left: -180px;
    transform: scale(.48);
    animation-delay: -11s;
    animation-duration: 24s;
}

.grilles-loading-card {
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    width: min(620px, 100%);
    padding: 26px 34px 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 28px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 34px 90px rgba(0, 12, 22, .42);
    color: #002a3f;
    text-align: center;
    transform: translateY(18px) scale(.975);
    transition: transform .32s cubic-bezier(.22, .9, .32, 1);
}

.grilles-loading-overlay.is-visible .grilles-loading-card {
    transform: translateY(0) scale(1);
}

.grilles-loading-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #e84e0f, #ff8b53 42%, #0082ae 100%);
}

.grilles-loading-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #667f8c;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.grilles-loading-kicker-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e84e0f;
    box-shadow: 0 0 0 6px rgba(232, 78, 15, .12);
    animation: grilles-kicker-pulse 1.6s ease-in-out infinite;
}

.grilles-loading-flight {
    position: relative;
    height: 150px;
    margin: 4px 0 0;
}

.grilles-loading-sun {
    position: absolute;
    top: 17px;
    left: 50%;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffb565, #e84e0f);
    box-shadow: 0 0 0 12px rgba(232, 78, 15, .08), 0 10px 30px rgba(232, 78, 15, .24);
    transform: translateX(-50%);
}

.grilles-loading-route {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.grilles-loading-route path {
    fill: none;
    stroke: #cad2d7;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 5 8;
    animation: grilles-route-dash 1.2s linear infinite;
}

.grilles-loading-marker {
    position: absolute;
    bottom: 23px;
    width: 12px;
    height: 12px;
    box-sizing: border-box;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #80949f;
}

.grilles-loading-marker-start {
    left: 3.5%;
    background: #0082ae;
}

.grilles-loading-marker-end {
    right: 3.5%;
    background: #e84e0f;
    box-shadow: 0 0 0 2px #e84e0f, 0 0 0 8px rgba(232, 78, 15, .09);
}

.grilles-loading-plane {
    position: absolute;
    z-index: 2;
    top: 92px;
    left: 4%;
    width: 48px;
    height: 48px;
    color: #002a3f;
    filter: drop-shadow(0 10px 9px rgba(0, 42, 63, .22));
    animation: grilles-plane-flight 5.6s linear infinite;
}

.grilles-loading-plane::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 36px;
    width: 62px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(to left, rgba(0, 130, 174, .42), transparent);
}

.grilles-loading-plane svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.grilles-loading-copy {
    min-height: 72px;
}

.grilles-loading-title {
    margin: 0 0 9px;
    color: #002a3f;
    font-family: 'lato', Arial, sans-serif;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.18;
}

.grilles-loading-message {
    max-width: 480px;
    margin: 0 auto;
    color: #667f8c;
    font-size: 14px;
    line-height: 1.5;
}

.grilles-loading-progress {
    position: relative;
    height: 7px;
    margin: 22px 0 20px;
    overflow: hidden;
    border-radius: 999px;
    background: #e6eaec;
}

.grilles-loading-progress-bar {
    position: absolute;
    inset: 0 auto 0 0;
    width: 12%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0082ae 0%, #22a4cb 48%, #e84e0f 100%);
    animation: grilles-progress 8s cubic-bezier(.2, .75, .3, 1) forwards;
}

.grilles-loading-progress-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .72) 48%, transparent 66%);
    transform: translateX(-100%);
    animation: grilles-progress-shine 1.7s ease-in-out infinite;
}

.grilles-loading-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.grilles-loading-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    color: #aeb0b2;
}

.grilles-loading-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 14px;
    left: calc(50% + 21px);
    width: calc(100% - 42px);
    height: 1px;
    background: #dbe1e4;
}

.grilles-loading-step span {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    box-sizing: border-box;
    border: 2px solid #cad2d7;
    border-radius: 50%;
    background: #fff;
    font-size: 12px;
    font-weight: 800;
    transition: color .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.grilles-loading-step small {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

.grilles-loading-step.is-active {
    color: #002a3f;
}

.grilles-loading-step.is-active span {
    border-color: #e84e0f;
    color: #e84e0f;
    box-shadow: 0 0 0 6px rgba(232, 78, 15, .1);
    animation: grilles-step-pulse 1.5s ease-in-out infinite;
}

.grilles-loading-step.is-done {
    color: #0082ae;
}

.grilles-loading-step.is-done span {
    border-color: #0082ae;
    background: #0082ae;
    color: transparent;
}

.grilles-loading-step.is-done span::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 4px;
    border-bottom: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: rotate(-45deg) translate(1px, -1px);
}

.grilles-loading-note {
    margin: 21px 0 0;
    padding-top: 17px;
    border-top: 1px solid #e6eaec;
    color: #80949f;
    font-size: 11px;
    line-height: 1.4;
}

@keyframes grilles-plane-flight {
    0% {
        top: 96px;
        left: calc(5.2% - 24px);
        transform: rotate(54deg) scale(.92);
    }

    16% {
        top: 60px;
        left: calc(17.1% - 24px);
        transform: rotate(62deg) scale(.97);
    }

    42% {
        top: 30px;
        left: calc(41.6% - 24px);
        transform: rotate(82deg) scale(1.04);
    }

    50% {
        top: 28px;
        left: calc(50% - 24px);
        transform: rotate(90deg) scale(1.06);
    }

    58% {
        top: 30px;
        left: calc(58.4% - 24px);
        transform: rotate(98deg) scale(1.04);
    }

    84% {
        top: 60px;
        left: calc(82.9% - 24px);
        transform: rotate(118deg) scale(.97);
    }

    100% {
        top: 96px;
        left: calc(94.8% - 24px);
        transform: rotate(126deg) scale(.92);
    }
}

@keyframes grilles-route-dash {
    to { stroke-dashoffset: -26; }
}

@keyframes grilles-progress {
    0% { width: 8%; }
    34% { width: 42%; }
    68% { width: 70%; }
    100% { width: 91%; }
}

@keyframes grilles-progress-shine {
    0% { transform: translateX(-100%); }
    65%, 100% { transform: translateX(100%); }
}

@keyframes grilles-stars-drift {
    to { transform: translate3d(24px, 12px, 0); }
}

@keyframes grilles-cloud-drift {
    from { margin-left: 0; }
    to { margin-left: calc(100vw + 360px); }
}

@keyframes grilles-glow {
    from { transform: scale(.92); opacity: .18; }
    to { transform: scale(1.08); opacity: .3; }
}

@keyframes grilles-kicker-pulse {
    50% { box-shadow: 0 0 0 10px rgba(232, 78, 15, 0); }
}

@keyframes grilles-step-pulse {
    50% { box-shadow: 0 0 0 9px rgba(232, 78, 15, 0); }
}

@media (max-width: 640px) {
    .grilles-loading-overlay {
        align-items: center;
        padding: 14px;
    }

    .grilles-loading-card {
        padding: 23px 20px 22px;
        border-radius: 22px;
    }

    .grilles-loading-flight {
        height: 132px;
    }

    .grilles-loading-title {
        font-size: 21px;
    }

    .grilles-loading-message {
        font-size: 13px;
    }

    .grilles-loading-plane {
        width: 42px;
        height: 42px;
    }

    .grilles-loading-marker {
        bottom: 17px;
    }

    .grilles-loading-step small {
        font-size: 10px;
    }

    @keyframes grilles-plane-flight {
    0% {
        top: 85px;
        left: calc(5.2% - 21px);
        transform: rotate(54deg) scale(.92);
    }

    16% {
        top: 53px;
        left: calc(17.1% - 21px);
        transform: rotate(62deg) scale(.97);
    }

    42% {
        top: 27px;
        left: calc(41.6% - 21px);
        transform: rotate(82deg) scale(1.04);
    }

    50% {
        top: 25px;
        left: calc(50% - 21px);
        transform: rotate(90deg) scale(1.06);
    }

    58% {
        top: 27px;
        left: calc(58.4% - 21px);
        transform: rotate(98deg) scale(1.04);
    }

    84% {
        top: 53px;
        left: calc(82.9% - 21px);
        transform: rotate(118deg) scale(.97);
    }

    100% {
        top: 85px;
        left: calc(94.8% - 21px);
        transform: rotate(126deg) scale(.92);
    }
}
}

@media (prefers-reduced-motion: reduce) {
    .grilles-loading-overlay *,
    .grilles-loading-overlay *::before,
    .grilles-loading-overlay *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }

    .grilles-loading-plane {
        top: 28px;
        left: calc(50% - 24px);
    }
}
