body fuse-splash-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: #f9fafb;
    z-index: 999999;
    pointer-events: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

body:not(.fuse-splash-screen-hidden) {
    overflow: hidden;
}

body.fuse-splash-screen-hidden fuse-splash-screen {
    visibility: hidden;
    opacity: 0;
}

.splashScreen {
    --journey-path-base: rgba(125, 160, 210, 0.34);
    --journey-path-ghost: rgba(104, 145, 201, 0.22);
    --journey-path-fill: #4fd8ff;
    --journey-path-complete: #34d399;
    --journey-path-warning: #f59e0b;
    --journey-pin-text: rgba(226, 232, 240, 0.95);
    position: absolute;
    z-index: 4000;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(90% 90% at 82% 12%, rgba(56, 189, 248, 0.18) 0%, rgba(56, 189, 248, 0) 60%),
        radial-gradient(72% 88% at 12% 88%, rgba(16, 185, 129, 0.16) 0%, rgba(16, 185, 129, 0) 55%),
        linear-gradient(145deg, rgba(3, 7, 18, 0.92) 0%, rgba(7, 16, 34, 0.92) 54%, rgba(3, 10, 24, 0.92) 100%);
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
}

.splashScreen::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(148, 163, 184, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.64), transparent 88%);
    pointer-events: none;
}

.inner {
    position: relative;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    width: min(740px, calc(100vw - 34px));
    gap: 20px;
    min-height: 220px;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

.logo {
    text-align: center;
    width: 100%;
    max-width: 190px;
    z-index: 4;
    transform: translate3d(0, 0, 0);
    transform-origin: 50% 70%;
    will-change: transform;
    animation: rtlsLogoFloat 3.8s ease-in-out infinite;
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0) saturate(100%) invert(100%) drop-shadow(0 8px 22px rgba(2, 6, 23, 0.5));
}

.journeyLoader {
    position: relative;
    z-index: 3;
    width: min(680px, calc(100vw - 44px));
}

.journeyLoader__shell {
    position: relative;
    width: 100%;
    height: 132px;
}

.journeyLoader__three {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s linear, visibility 0.22s linear;
}

.journeyLoader__svgWrap {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s linear, visibility 0.22s linear;
}

.journeyLoader__svg {
    width: 100%;
    height: 94px;
    display: block;
}

.journeyLoader__path {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.journeyLoader__path--ghost {
    stroke: var(--journey-path-ghost);
    stroke-width: 1.05;
    stroke-dasharray: 2 3.8;
    animation: rtlsGhostFlow 1.9s linear infinite;
}

.journeyLoader__path--base {
    stroke: var(--journey-path-base);
    stroke-width: 1.5;
    stroke-dasharray: 2.4 2.8;
}

.journeyLoader__path--fill {
    stroke: var(--journey-path-fill);
    stroke-width: 2.175;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    filter: drop-shadow(0 0 5.25px rgba(34, 211, 238, 0.82));
    transition: stroke 0.2s linear, filter 0.2s linear;
}

.journeyLoader__nodes {
    position: absolute;
    inset: 0;
}

.journeyLoader__node {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(103, 232, 249, 0.85);
    background: rgba(186, 230, 253, 0.84);
    transform: translate(-50%, -50%) scale(0.88);
    box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.12);
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.52;
}

.journeyLoader__node.is-active {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
}

.journeyLoader__beacon {
    position: absolute;
    left: 8%;
    top: 72%;
    width: 14px;
    height: 14px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid rgba(125, 211, 252, 0.95);
    background: radial-gradient(circle at 35% 35%, #ffffff 0%, #9be9ff 52%, #0ea5e9 100%);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.2), 0 0 12px rgba(56, 189, 248, 0.72);
    animation: rtlsBeaconPulse 1.45s ease-in-out infinite;
    pointer-events: none;
}

.journeyLoader__beacon::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(103, 232, 249, 0.42);
    opacity: 0.72;
}

.journeyLoader__pin {
    position: absolute;
    top: 96px;
    font-size: 9px;
    line-height: 1;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--journey-pin-text);
    user-select: none;
    text-shadow: 0 4px 14px rgba(2, 6, 23, 0.65);
}

.journeyLoader__pin--start {
    left: 2px;
}

.journeyLoader__pin--end {
    right: 2px;
    text-align: right;
}

.loadingBar {
    position: relative;
    width: 100%;
    height: 3.75px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    opacity: 1;
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.loadingBar--fallback {
    display: none;
    margin-top: 44px;
}

.bar {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    height: 3.75px;
    width: 120px;
    background: #54ccff;
    border-radius: 0;
    animation: rtlsSplashBarIndeterminate 2.7s cubic-bezier(0.74, 0.23, 0.32, 0.82) infinite;
}

.loadingMeta {
    z-index: 3;
    color: rgba(226, 232, 240, 0.94);
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    min-height: 13px;
    user-select: none;
    text-shadow: 0 6px 18px rgba(2, 6, 23, 0.72);
}

.splashScreen.is-mode-three .journeyLoader__three {
    opacity: 1;
    visibility: visible;
}

.splashScreen.is-mode-three .journeyLoader__svgWrap {
    opacity: 0;
    visibility: hidden;
}

.splashScreen.is-mode-svg .journeyLoader__svgWrap {
    opacity: 1;
    visibility: visible;
}

.splashScreen.is-mode-svg .journeyLoader__three {
    opacity: 0;
    visibility: hidden;
}

.splashScreen.is-mode-linear .journeyLoader__three,
.splashScreen.is-mode-linear .journeyLoader__svgWrap {
    display: none;
}

.splashScreen.is-mode-linear .journeyLoader__shell {
    height: 64px;
}

.splashScreen.is-mode-linear .loadingBar--fallback {
    display: block;
}

.splashScreen.is-determinate .bar {
    animation: none;
    width: 0;
    min-width: 0;
    transition: width 0.18s ease-out, background-color 0.2s linear;
}

.splashScreen.is-determinate.is-warning .journeyLoader__path--fill {
    stroke: var(--journey-path-warning);
    filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.62));
}

.splashScreen.is-determinate.is-warning .journeyLoader__beacon {
    border-color: rgba(245, 158, 11, 0.95);
    background: radial-gradient(circle at 35% 35%, #fff6e6 0%, #ffd58a 55%, #d97706 100%);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.24), 0 0 12px rgba(245, 158, 11, 0.68);
}

.splashScreen.is-determinate.is-warning .loadingMeta,
.splashScreen.is-determinate.is-warning .journeyLoader__pin {
    color: rgba(254, 215, 170, 0.99);
}

.splashScreen.is-determinate.is-warning .bar {
    background: #f59e0b;
}

.splashScreen.is-determinate.is-complete .journeyLoader__path--fill {
    stroke: var(--journey-path-complete);
    filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.62));
}

.splashScreen.is-determinate.is-complete .journeyLoader__beacon {
    border-color: rgba(52, 211, 153, 0.95);
    background: radial-gradient(circle at 35% 35%, #effdf6 0%, #9ef0cf 55%, #059669 100%);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.24), 0 0 12px rgba(16, 185, 129, 0.6);
}

.splashScreen.is-determinate.is-complete .bar {
    background: #34d399;
}

@keyframes rtlsSplashBarIndeterminate {
    0% {
        transform: translateX(-150px) scaleX(1);
    }

    63% {
        transform: translateX(250px) scaleX(2.2);
    }

    100% {
        transform: translateX(625px) scaleX(1);
    }
}

@keyframes rtlsBeaconPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.88);
        opacity: 0.9;
    }

    55% {
        transform: translate(-50%, -50%) scale(1.08);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(0.88);
        opacity: 0.9;
    }
}

@keyframes rtlsGhostFlow {
    from {
        stroke-dashoffset: 0;
    }

    to {
        stroke-dashoffset: -32;
    }
}

@keyframes rtlsLogoFloat {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }

    24% {
        transform: translate3d(0, -4px, 0) rotate(-0.3deg);
    }

    50% {
        transform: translate3d(0, -6px, 0) rotate(0deg);
    }

    76% {
        transform: translate3d(0, -3px, 0) rotate(0.3deg);
    }

    100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
}

@media (max-width: 700px) {
    .inner {
        width: min(460px, calc(100vw - 22px));
        min-height: 196px;
        gap: 16px;
    }

    .journeyLoader {
        width: 100%;
    }

    .journeyLoader__shell {
        height: 114px;
    }

    .journeyLoader__svg {
        height: 82px;
    }

    .journeyLoader__pin {
        top: 88px;
        font-size: 8px;
        letter-spacing: 0.1em;
    }

    .loadingBar--fallback {
        margin-top: 34px;
    }

    .loadingMeta {
        font-size: 10px;
        letter-spacing: 0.075em;
    }
}

@media (prefers-reduced-motion: reduce) {
    body fuse-splash-screen,
    .splashScreen.is-determinate .bar,
    .logo,
    .journeyLoader__path--fill,
    .journeyLoader__three,
    .journeyLoader__svgWrap {
        transition-duration: 0.01ms !important;
    }

    .bar,
    .logo,
    .journeyLoader__beacon,
    .journeyLoader__path--ghost {
        animation: none !important;
    }

    .journeyLoader__beacon::after {
        opacity: 0.45;
    }
}
