/* RULEZZ V5.10.243 — navigation inférieure mobile : partagée sans doubler le header commun. */
/* Pas de sélecteurs globaux sur svg / nav : l'ancienne manette ne doit jamais réapparaître. */
#rzmnBottomNav {display:none;}
body.rz-public:has(> #rzmnBottomNav) > nav.rzmn-bottom {display:none!important;}
@media (max-width:900px) {
  body.rz-public:has(> #rzmnBottomNav) {
    padding-bottom:calc(80px + env(safe-area-inset-bottom, 0px))!important;
  }
  body.rz-public:has(> #rzmnBottomNav) > nav.rzmn-bottom {
    display:grid!important;
    position:fixed!important;inset:auto 0 0 0!important;
    box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100vw!important;
    height:calc(73px + env(safe-area-inset-bottom, 0px))!important;
    padding:2px max(4px,env(safe-area-inset-right,0px)) env(safe-area-inset-bottom,0px) max(4px,env(safe-area-inset-left,0px))!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    align-items:start!important;justify-items:stretch!important;
    border:0!important;border-top:1px solid #1b5680!important;border-radius:0!important;
    background:linear-gradient(180deg,#071f3a,#03132b)!important;
    box-shadow:0 -6px 14px #020e204d!important;
    color:#e2f0ff!important;
    z-index:1800!important;
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  }
  body.rz-public:has(> #rzmnBottomNav) > nav.rzmn-bottom .rzmn-item {
    display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
    box-sizing:border-box!important;position:relative!important;
    width:100%!important;height:65px!important;min-height:0!important;min-width:0!important;max-width:100%!important;
    padding:4px 1px!important;margin:0!important;gap:3px!important;
    border:0!important;border-radius:10px!important;background:transparent!important;
    color:#e2f0ff!important;text-decoration:none!important;
    font-size:10px!important;font-weight:650!important;line-height:1.2!important;
    text-align:center!important;white-space:nowrap!important;cursor:pointer!important;
  }
  body.rz-public:has(> #rzmnBottomNav) > nav.rzmn-bottom .rzmn-item > svg,
  body.rz-public:has(> #rzmnBottomNav) > nav.rzmn-bottom .rzmn-play-circle svg {
    display:block!important;position:static!important;flex:0 0 24px!important;
    width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;
    max-width:24px!important;max-height:24px!important;
    margin:0!important;padding:0!important;box-sizing:border-box!important;
    fill:none!important;stroke:currentColor!important;stroke-width:1.9!important;
    stroke-linecap:round!important;stroke-linejoin:round!important;transform:none!important;
  }
  body.rz-public:has(> #rzmnBottomNav) > nav.rzmn-bottom .rzmn-item > span:not(.rzmn-play-circle) {
    display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;
    font:inherit!important;line-height:1.2!important;color:inherit!important;
  }
  body.rz-public:has(> #rzmnBottomNav) > nav.rzmn-bottom .rzmn-play {color:#fff!important;gap:2px!important;}
  body.rz-public:has(> #rzmnBottomNav) > nav.rzmn-bottom .rzmn-play-circle {
    display:grid!important;place-items:center!important;
    width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;
    max-width:48px!important;max-height:48px!important;
    flex:0 0 48px!important;box-sizing:border-box!important;
    margin:-13px 0 0!important;padding:0!important;
    border:3px solid #163b60!important;border-radius:50%!important;
    background:linear-gradient(145deg,#ff5fa4,#f01476)!important;
    box-shadow:0 3px 0 #06172c,0 4px 10px #fc297268!important;
    overflow:hidden!important;
  }
  body.rz-public:has(> #rzmnBottomNav) > nav.rzmn-bottom .rzmn-play-circle svg{color:#fff!important;}
  body.rz-public:has(> #rzmnBottomNav) > nav.rzmn-bottom .rzmn-play-circle svg circle{fill:#fff!important;stroke:none!important;}
  body.rz-public:has(> #rzmnBottomNav) > nav.rzmn-bottom .rzmn-item:focus-visible{
    outline:2px solid #0ee0cd!important;outline-offset:2px!important;
  }
  body.rz-public:has(> #rzmnBottomNav) > nav.rzmn-bottom .rzmn-item:active{background:#123352!important;}
  /* V5.10.244: on public mobile views, keep the five-entry
     fixed navigation as the sole footer. Do not change the desktop footer. */
  body.rz-public:has(> #rzmnBottomNav) > footer.rz-footer {
    display:none!important;
  }
  html:has(> body.rz-public > #rzmnBottomNav){scroll-padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))!important;}
}
