﻿.app-splash {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3000;
    overflow: hidden;
    background: #090e16;
    opacity: 1;
    transition: opacity 220ms ease;
}

html.app-opening .app-splash {
    display: grid;
    place-items: center;
}

html.app-opening body {
    overflow: hidden;
}

.app-splash-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.35;
}

.app-splash-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient( 180deg, rgb(5 9 15 / 30%), rgb(5 9 15 / 55%) 55%, #090e16 );
}

.app-splash-content {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: 24px;
    text-align: center;
}

.app-splash-logo {
    display: block;
    width: min(72vw, 340px);
    height: auto;
    filter: drop-shadow(0 4px 18px rgb(0 0 0 / 45%));
}

.app-splash-content p {
    margin: 0;
    color: #a7bdff;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.18em;
}

html.app-opening-fade .app-splash {
    opacity: 0;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .app-splash {
        transition: none;
    }
}
