/**
 * Loterion PWA — układ tylko w zainstalowanej aplikacji (display-mode: standalone / fullscreen).
 * Strona w przeglądarce pozostaje bez zmian.
 */

@media (display-mode: standalone), (display-mode: fullscreen) {
    .cta-section-guest,
    .newsletter-banner,
    .footer,
    .facebook-float,
    .pwa-install-btn,
    .site-tagline-bar {
        display: none !important;
    }

    html {
        scroll-padding-top: 88px;
    }

    body {
        padding-bottom: 0;
    }

    .dashboard-container,
    .game-container {
        padding-bottom: 1.5rem;
    }
}

html.pwa-mode .cta-section-guest,
html.pwa-mode .newsletter-banner,
html.pwa-mode .footer,
html.pwa-mode .facebook-float,
html.pwa-mode .pwa-install-btn,
html.pwa-mode .site-tagline-bar {
    display: none !important;
}

html.pwa-mode {
    scroll-padding-top: 88px;
}

html.pwa-mode body {
    padding-bottom: 0;
}

html.pwa-mode .dashboard-container,
html.pwa-mode .game-container {
    padding-bottom: 1.5rem;
}

/* Gry (/games/*): bez dużego logo w nawigacji — tylko PWA + mobile */
@media (display-mode: standalone) and (max-width: 768px),
(display-mode: fullscreen) and (max-width: 768px) {
    body.game-module .nav-brand-link {
        display: none !important;
    }

    body.game-module nav > div {
        justify-content: flex-end !important;
    }

    body.game-module nav {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }
}

@media (max-width: 768px) {
    html.pwa-mode body.game-module .nav-brand-link {
        display: none !important;
    }

    html.pwa-mode body.game-module nav > div {
        justify-content: flex-end !important;
    }

    html.pwa-mode body.game-module nav {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }
}
