.welcome-loader {
    position: fixed;
    inset: 0;
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--forest, #1a3a20);
    opacity: 1;
    transition: opacity 0.6s ease;
    overflow: hidden;
}

.welcome-loader.wl-hidden {
    opacity: 0;
    pointer-events: none;
}

.welcome-loader::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 42%, var(--forest-mid, #2b5535) 0%, var(--forest, #1a3a20) 70%);
}

.welcome-loader__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #ffffff;
    padding: 32px;
}

.welcome-compass {
    position: relative;
    width: 180px;
    height: 180px;
    margin-bottom: 28px;
}

.welcome-compass__ring {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.wc-ring-outer {
    fill: none;
    stroke: rgba(196, 154, 60, 0.35);
    stroke-width: 1.5;
}

.wc-ring-inner {
    fill: none;
    stroke: rgba(229, 195, 122, 0.2);
    stroke-width: 1;
}

.wc-tick-major {
    stroke: var(--gold-light, #E5C37A);
    stroke-width: 2;
}

.wc-tick-minor {
    stroke: rgba(196, 154, 60, 0.4);
    stroke-width: 1;
}

.wc-dir {
    fill: var(--gold-light, #E5C37A);
    font-size: 12px;
    font-weight: 600;
    text-anchor: middle;
    font-family: var(--display, serif);
}

.welcome-compass__needle {
    position: absolute;
    inset: 0;
    z-index: 2;
    animation: wc-spin 3.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.wc-needle-north {
    fill: var(--gold, #C49A3C);
}

.wc-needle-south {
    fill: rgba(255, 255, 255, 0.5);
}

@keyframes wc-spin {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(200deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.welcome-compass__logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px rgba(196, 154, 60, 0.4);
    z-index: 3;
}

.welcome-compass__logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.welcome-loader__title {
    font-family: var(--body, 'Figtree', sans-serif);
    font-weight: 700;
    font-size: 34px;
    letter-spacing: 0.02em;
    margin: 0 0 10px 0;
    color: #ffffff;
}

.welcome-loader__subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    min-height: 20px;
    transition: opacity 0.3s ease;
}

html.pp-skip-welcome .welcome-loader {
    display: none !important;
}

@media (max-width: 768px) {
    .welcome-loader__content {
        padding: 24px;
    }

    .welcome-compass {
        width: 140px;
        height: 140px;
        margin-bottom: 22px;
    }

    .welcome-compass__logo {
        width: 52px;
        height: 52px;
    }

    .welcome-compass__logo img {
        width: 34px;
        height: 34px;
    }

    .welcome-loader__title {
        font-size: 26px;
    }

    .welcome-loader__subtitle {
        font-size: 14px;
    }
}

@media (max-width: 400px) {
    .welcome-compass {
        width: 110px;
        height: 110px;
        margin-bottom: 18px;
    }

    .welcome-compass__logo {
        width: 42px;
        height: 42px;
    }

    .welcome-compass__logo img {
        width: 28px;
        height: 28px;
    }

    .welcome-loader__title {
        font-size: 22px;
    }

    .welcome-loader__subtitle {
        font-size: 13px;
        padding: 0 8px;
    }
}