/* RoiKib Navigation Emergency Recovery v1.1.4
   CSS only. Never adds tabs. Exactly five columns; preserve existing links and notification count. */
@media (max-width:700px) {
  html body #rk-main-mobile-nav:not([hidden]),
  html body nav.rk-mobile-tabs:not([hidden]),
  html body.rk-chat-nav-visible #rk-chat-bottom-nav:not([hidden]) {
    position:fixed!important;inset:auto 0 0 0!important;
    display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
    grid-auto-flow:row!important;grid-template-rows:minmax(60px,auto)!important;
    align-items:stretch!important;gap:0!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    box-sizing:border-box!important;margin:0!important;
    padding:6px 4px calc(6px + env(safe-area-inset-bottom,0px))!important;
    min-height:70px!important;height:auto!important;max-height:calc(70px + env(safe-area-inset-bottom,0px))!important;
    background:#fff!important;border:0!important;border-top:1px solid #e5eaf2!important;
    border-radius:0!important;box-shadow:0 -3px 16px #142c4a15!important;
    z-index:19990!important;overflow:visible!important;
  }
  html body #rk-main-mobile-nav > a,
  html body nav.rk-mobile-tabs > a,
  html body.rk-chat-nav-visible #rk-chat-bottom-nav > a {
    position:relative!important;grid-row:1!important;min-width:0!important;max-width:100%!important;
    display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
    gap:2px!important;padding:0!important;margin:0!important;
    min-height:57px!important;width:100%!important;
    text-decoration:none!important;white-space:nowrap!important;
    font:600 12px/1.4 'RoiKib Prompt','Prompt',Tahoma,Arial,sans-serif!important;
    color:#8791a5!important;background:transparent!important;border:0!important;
    border-radius:10px!important;box-shadow:none!important;
    animation:none!important;transform:none!important;
  }
  html body #rk-main-mobile-nav > a > svg,
  html body nav.rk-mobile-tabs > a > svg,
  html body.rk-chat-nav-visible #rk-chat-bottom-nav > a > svg {
    display:block!important;width:25px!important;height:25px!important;
    min-width:25px!important;min-height:25px!important;
    flex:0 0 25px!important;margin:0!important;padding:0!important;
    fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;
    stroke-linecap:round!important;stroke-linejoin:round!important;
    transform:none!important;animation:none!important;
  }
  html body #rk-main-mobile-nav > a > .rk-nav-word,
  html body nav.rk-mobile-tabs > a > span:not(.rk-nn-badge):not(.rk-notify-badge),
  html body.rk-chat-nav-visible #rk-chat-bottom-nav > a > .rk-nav-word {
    display:block!important;width:auto!important;height:auto!important;min-height:0!important;
    position:static!important;margin:0!important;padding:0!important;
    font:600 12px/1.4 'RoiKib Prompt','Prompt',Tahoma,Arial,sans-serif!important;
    color:inherit!important;white-space:nowrap!important;text-align:center!important;
    background:transparent!important;border:0!important;transform:none!important;animation:none!important;
  }
  html body #rk-main-mobile-nav > a.active,
  html body #rk-main-mobile-nav > a[aria-current="page"],
  html body nav.rk-mobile-tabs > a.active,
  html body nav.rk-mobile-tabs > a[aria-current="page"],
  html body.rk-chat-nav-visible #rk-chat-bottom-nav > a.active {color:#158cf1!important;}
  html body.rk-chat-thread-open #rk-chat-bottom-nav,
  html body.rk-chat-keyboard-open #rk-chat-bottom-nav,
  html body.rk-chat-thread-open #rk-main-mobile-nav,
  html body.rk-chat-keyboard-open #rk-main-mobile-nav {display:none!important;}
}
@media (max-width:355px) {
  html body #rk-main-mobile-nav > a > .rk-nav-word,
  html body nav.rk-mobile-tabs > a > span:not(.rk-nn-badge):not(.rk-notify-badge),
  html body.rk-chat-nav-visible #rk-chat-bottom-nav > a > .rk-nav-word {font-size:11px!important;}
}
@media (min-width:701px) {
  html body #rk-main-mobile-nav,
  html body nav.rk-mobile-tabs,
  html body #rk-chat-bottom-nav {display:none!important;}
}
