/* Keep only a shallow tint above the floating nav. The previous 100px blurred
   scrim bled below the pill and created a visible glassy strip over content. */
.nav-scrim {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 24px;
  z-index: 890;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 6, 12, 0.34) 0%, rgba(5, 6, 12, 0) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.ui-on-light .nav-scrim {
  background: linear-gradient(180deg, rgba(238, 241, 248, 0.42) 0%, rgba(238, 241, 248, 0) 100%);
}

@media (max-width: 700px) {
  .nav-scrim {
    height: 20px;
  }
}
