.app-startup-splash {
    display: none;
}

html.pwa-mobile-starting .app-startup-splash {
    position: fixed;
    z-index: 20000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: max(24px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
    color: #263229;
    background:
        radial-gradient(circle at 50% 39%, rgb(255 255 255 / 92%) 0 17%, transparent 17.5%),
        linear-gradient(155deg, #f3f6f0 0%, #e7efe2 100%);
    opacity: 1;
    transition: opacity 260ms ease;
}

html.pwa-mobile-starting .app-startup-splash.is-leaving {
    opacity: 0;
    pointer-events: none;
}

.app-startup-content {
    width: min(280px, 100%);
    display: grid;
    justify-items: center;
    text-align: center;
    animation: app-startup-enter 420ms cubic-bezier(.2, .8, .2, 1) both;
}

.app-startup-icon {
    width: 96px;
    height: 96px;
    padding: 8px;
    border: 1px solid #d2dfca;
    border-radius: 25px;
    background: #f3f6f0;
    box-shadow: 0 12px 30px rgb(52 78 43 / 13%);
    object-fit: contain;
}

.app-startup-name {
    margin: 22px 0 3px;
    color: #263229;
    font-size: 1.55rem;
    font-weight: 850;
    letter-spacing: -.045em;
}

.app-startup-subtitle {
    margin: 0;
    color: #536153;
    font-size: .9rem;
    font-weight: 600;
}

.app-startup-progress {
    width: 116px;
    height: 4px;
    overflow: hidden;
    margin-top: 30px;
    border-radius: 999px;
    background: #d8e4d1;
}

.app-startup-progress span {
    display: block;
    width: 42%;
    height: 100%;
    border-radius: inherit;
    background: #47752b;
    animation: app-startup-progress 900ms ease-in-out infinite alternate;
}

.app-startup-message {
    margin: 11px 0 0;
    color: #667365;
    font-size: .75rem;
}

@keyframes app-startup-enter {
    from { opacity: 0; transform: translateY(8px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes app-startup-progress {
    from { transform: translateX(0); }
    to { transform: translateX(138%); }
}

@media (min-width: 821px) {
    .app-startup-splash { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
    .app-startup-splash,
    .app-startup-content,
    .app-startup-progress span {
        animation: none !important;
        transition: none !important;
    }
}
