.app-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(6, 18, 29, .76);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
}

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

.app-loading-card {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: min(360px, calc(100vw - 40px));
    padding: 22px 24px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 20px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .32);
    color: #102433;
}

.app-loading-card strong { display: block; font-size: 1.05rem; }
.app-loading-card p { margin: 3px 0 0; color: #647481; font-size: .9rem; }

.app-loading-mark {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(234, 78, 26, .09);
}

.app-loading-ice-axe {
    position: relative;
    display: block;
    width: 43px;
    height: 43px;
    animation: app-loading-ice-axe-spin 1.15s linear infinite;
}

.app-loading-ice-axe__shaft {
    position: absolute;
    left: 19px;
    top: 8px;
    width: 6px;
    height: 34px;
    border-radius: 4px 4px 2px 2px;
    background: linear-gradient(90deg, #263238, #607d8b 52%, #263238);
    transform: rotate(-8deg);
    transform-origin: top center;
}

.app-loading-ice-axe__shaft::after {
    content: '';
    position: absolute;
    left: 1px;
    bottom: -3px;
    width: 4px;
    height: 8px;
    background: #263238;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
}

.app-loading-ice-axe__head {
    position: absolute;
    z-index: 2;
    left: 5px;
    top: 5px;
    width: 35px;
    height: 7px;
    border-radius: 7px 3px 2px 7px;
    background: linear-gradient(#f36a36, #d94416);
    transform: rotate(-8deg);
}

.app-loading-ice-axe__head::before {
    content: '';
    position: absolute;
    right: -6px;
    top: 1px;
    width: 10px;
    height: 11px;
    background: #d94416;
    clip-path: polygon(0 0, 100% 28%, 15% 100%);
}

.app-loading-ice-axe__head::after {
    content: '';
    position: absolute;
    left: -5px;
    top: 1px;
    width: 9px;
    height: 9px;
    border-radius: 5px 0 0 5px;
    background: #263238;
}

.app-loading-ice-axe__grip {
    position: absolute;
    z-index: 2;
    left: 18px;
    top: 25px;
    width: 7px;
    height: 11px;
    border-radius: 2px;
    background: repeating-linear-gradient(0deg, #EA4E1A 0 2px, #b93610 2px 3px);
    transform: rotate(-8deg);
}

@keyframes app-loading-ice-axe-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .app-loading-ice-axe { animation: none; }
    .app-loading-overlay { transition: none; }
}
