.xex-pwa-chip {
    display: none;
    position: fixed;
    right: 12px;
    bottom: calc(12px + var(--xex-bottomnav-h, 0px) + env(safe-area-inset-bottom, 0px));
    z-index: 1030;
    align-items: center;
    gap: 8px;
    padding: 8px 10px 8px 12px;
    border: 0;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}

.xex-pwa-chip[data-xex-pwa-push] {
    bottom: calc(58px + var(--xex-bottomnav-h, 0px) + env(safe-area-inset-bottom, 0px));
    background: #0d6efd;
}

.xex-pwa-chip.is-on {
    display: inline-flex;
}

.xex-pwa-chip__x {
    border: 0;
    background: transparent;
    color: #adb5bd;
    font-size: 1rem;
    line-height: 1;
    padding: 0 2px;
}

.xex-pwa-nav {
    display: none;
}

.xex-pwa-chip--share,
.xex-pwa-chip[data-xex-pwa-share] {
    left: 12px;
    right: auto;
    display: inline-flex;
    background: #111;
}

#xex-splash {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    align-items: center;
    justify-content: center;
    background: #000;
    padding: 4vw;
    pointer-events: none;
}

#xex-splash img {
    width: 92vw;
    max-width: 1100px;
    height: auto;
    display: block;
}

@media (display-mode: standalone), (display-mode: fullscreen), (display-mode: minimal-ui) {
    html.xex-splash-pending:not(.xex-splash-done) #xex-splash {
        display: flex;
    }
}

html.xex-splash-done #xex-splash,
#xex-splash.is-gone {
    display: none !important;
}
