body.ob-has-app-nav { padding-bottom:calc(92px + env(safe-area-inset-bottom, 0px)); }
.ob-app-nav { box-sizing:border-box; }
.ob-app-nav[hidden], .ob-app-nav.ob-keyboard-open { display:none !important; }
.ob-app-nav {
  --ob-edge:max(12px,env(safe-area-inset-left,0px),env(safe-area-inset-right,0px));
  position:fixed; z-index:62; inset-inline:var(--ob-edge); bottom:calc(6px + env(safe-area-inset-bottom,0px));
  max-width:540px; margin-inline:auto; padding:5px 4px;
  display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:0;
  border:1px solid var(--border); border-radius:10px; background:var(--surface);
  box-shadow:0 2px 8px rgb(32 59 80 / .08);
}
.ob-app-nav a {
  position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px;
  min-width:0; min-height:54px; padding:2px 0; border-radius:10px; color:var(--muted); text-decoration:none;
  font:600 clamp(.65625rem,2.75vw,.8125rem)/1.25 var(--body); white-space:nowrap; letter-spacing:normal;
}
.ob-app-nav a[aria-current] { color:var(--text); background:var(--selected); font-weight:600; }
.ob-app-nav a:focus-visible { outline:3px solid var(--focus-color); outline-offset:1px; }
.ob-tab-icon { display:inline-grid; place-items:center; height:28px; }
.ob-app-nav svg { width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:1.75; stroke-linecap:round; stroke-linejoin:round; }
.ob-tab-icon .ob-avatar { --avatar-size:27px; }
.ob-app-nav .ob-nav-count {
  position:absolute; top:0; left:calc(50% + 3px); padding:1px 4px; height:auto; min-height:16px; min-width:16px;
  margin:0; border:1px solid white; font:700 10px/1.2 var(--body);
}
.ob-app-nav .ob-nav-count[hidden] { display:none; }
header a.ob-header-alerts { position:relative; display:grid; place-items:center; width:48px; min-height:48px; border-radius:10px; }
.ob-header-alerts svg { width:25px; height:25px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.ob-header-alerts[hidden] { display:none !important; }
.ob-header-alerts .ob-nav-count { position:absolute; right:-2px; top:0; margin:0; border:2px solid white; }
.ob-header-alerts[aria-current] { background:var(--selected); }
@media(prefers-reduced-motion:no-preference) {
  .ob-app-nav a:active,.ob-header-alerts:active { transform:scale(.96); }
}
