/* Snowmageddon tab bar */
:root { --snm-h: 44px; }
html.snm-nav-hidden { --snm-h: 0px; }
html.snm-has-nav body { padding-top: var(--snm-h) !important; box-sizing: border-box; }
#snm-nav {
  position: fixed; top: 0; left: 0; right: 0; height: 44px; z-index: 2147483000;
  display: flex; align-items: stretch; gap: 2px; padding: 0 8px;
  background: #0d1117; border-bottom: 1px solid #263040;
  font: 500 14px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-x: auto; scrollbar-width: none; -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}
#snm-nav::-webkit-scrollbar { display: none; }
html.snm-nav-hidden #snm-nav { display: none; }
#snm-nav .snm-brand { display: flex; align-items: center; padding: 0 8px 0 4px; color: #8ecbff; font-size: 18px; }
#snm-nav .snm-tab {
  display: flex; align-items: center; gap: 7px; padding: 0 14px; white-space: nowrap;
  color: #aab4c3 !important; text-decoration: none !important; border-bottom: 2px solid transparent;
  transition: color .15s, background .15s, border-color .15s;
}
#snm-nav .snm-tab:hover { color: #fff !important; background: rgba(255,255,255,.05); }
#snm-nav .snm-tab.snm-active { color: #fff !important; border-bottom-color: #4aa8ff; background: rgba(74,168,255,.08); }
#snm-nav .snm-ico { font-size: 13px; opacity: .9; }
@media (max-width: 480px) {
  #snm-nav { justify-content: space-between; padding: 0 2px; gap: 0; }
  #snm-nav .snm-brand { display: none; }
  #snm-nav .snm-tab { flex: 1 1 0; flex-direction: column; justify-content: center; gap: 3px; padding: 0 4px; font-size: 11px; }
  #snm-nav .snm-ico { font-size: 14px; }
}
