
/* gUd PWA – splash video verticale 9:16 */

.gud-pwa-splash {
    position: fixed;
    inset: 0;
    z-index: 2147483000;

    display: none;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100vh;
    height: 100dvh;

    margin: 0;
    padding: 0;
    overflow: hidden;

    background: #fff;
    opacity: 0;
    pointer-events: none;

    box-sizing: border-box;
}

.gud-pwa-splash.is-visible {
    display: flex;
    opacity: 1;
    pointer-events: auto;

    animation: gud-splash-appear .18s ease-out both;
}

.gud-pwa-splash-video {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    max-width: none;
    max-height: none;

    margin: 0;
    padding: 0;
    border: 0;

    object-fit: contain;
    object-position: center center;

    background: #fff;
}

.gud-pwa-splash-skip {
    position: absolute;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));

    z-index: 2;

    padding: 7px 12px;

    border: 1px solid rgba(255,255,255,.65);
    border-radius: 20px;

    background: rgba(0,0,0,.32);
    color: #fff;

    font: 500 12px/1.2 Arial, sans-serif;

    cursor: pointer;
}

.gud-pwa-splash.is-leaving {
    opacity: 0;
    pointer-events: none;

    transition: opacity .35s ease;
}

@keyframes gud-splash-appear {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gud-pwa-splash.is-visible {
        animation: none;
    }

    .gud-pwa-splash.is-leaving {
        transition: none;
    }
}
