/* PWA Splashscreen – Frontend */

#pwa-splashscreen {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .5s ease, visibility .5s ease;
}

#pwa-splashscreen.pwa-splash-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Bild – vollbild, keine Ränder */
#pwa-splashscreen img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Video – vollbild */
#pwa-splashscreen video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Lottie container */
#pwa-splash-lottie {
    position: relative;
    z-index: 1;
    width: 80vmin;
    height: 80vmin;
    max-width: 400px;
    max-height: 400px;
}

/* Skip button */
#pwa-splash-skip {
    position: absolute;
    bottom: max(24px, env(safe-area-inset-bottom, 24px));
    right: 24px;
    background: rgba(0, 0, 0, .35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 24px;
    padding: 8px 20px;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    z-index: 2;
    transition: background .2s;
}
#pwa-splash-skip:hover {
    background: rgba(0, 0, 0, .5);
}
