/* HBCHM 6.4.9 : écran visuel de lancement de la PWA installée seulement. */
@media (display-mode: standalone), (display-mode: fullscreen) {
 html.hb-startup-pending body > .hb-banner-animated,
 body.hb-startup-splash > .hb-banner-animated {
   position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;
   z-index:2147482000!important;background:#061a2d!important;display:flex!important;
   align-items:center!important;justify-content:center!important;overflow:hidden!important;
   margin:0!important;padding:0!important;
 }
 html.hb-startup-pending body > .hb-banner-animated .hb-hero-frame,
 body.hb-startup-splash > .hb-banner-animated .hb-hero-frame {
   width:100%!important;max-width:100%!important;max-height:100%!important;
 }

 html.hb-startup-pending,body.hb-startup-splash {overflow:hidden!important;}
 html:not(.hb-startup-pending) body:not(.hb-startup-splash) > .hb-banner-animated {display:none!important;}
 body:not(.hb-startup-splash) > .strip {margin-top:0!important;}
}

/* V6.4.8 : masquer « Découvrir le club » seulement dans la PWA installée. */
@media (display-mode: standalone), (display-mode: fullscreen) {
 body > .hb-banner-animated .hb-mobile-scroll-cue,
 body > .strip > .hb-desktop-discover,
 body > .hb-banner-animated a[href="#navigation-hbchm"] {
   display:none!important;visibility:hidden!important;
 }
}

/* V6.5.1 : aucune image d'attente ni première image figée.
   L'animation ne commence que lorsque la page est prête. */
@media (display-mode: standalone), (display-mode: fullscreen) {
 html.hb-startup-pending:not(.hb-animation-go) .hb-hero-frame .hb-layer,
 html.hb-startup-pending:not(.hb-animation-go) .hb-hero-frame .hb-baseline {
   animation-play-state:paused!important;
 }
 html.hb-startup-pending:not(.hb-animation-go) .hb-hero-frame {
   visibility:hidden!important;
 }
}

/* V6.5.7 : supprimer le bandeau des statistiques uniquement dans l'application installée.
   Conserver .strip et son header de navigation. */
@media (display-mode: standalone), (display-mode: fullscreen) {
  body > .strip > .shell {display:none!important;}
}
