/* BORING BETS: UNIFIED TOP NAVIGATION V1 */

.bb-top-header {
  position: sticky !important;
  top: 0;
  z-index: 1000;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  width: 100%;
  min-height: 54px !important;
  height: 54px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-bottom:
    1px solid rgba(99, 245, 177, .14) !important;
  border-radius: 0 !important;
  background:
    linear-gradient(
      180deg,
      rgba(3, 9, 6, .97),
      rgba(2, 7, 5, .91)
    ) !important;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, .24),
    inset 0 -1px rgba(255, 255, 255, .015);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.bb-top-brand {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
  min-width: max-content;
  color: #e2eee7 !important;
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace !important;
  font-size: .78rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  letter-spacing: .12em !important;
  text-decoration: none !important;
  text-transform: uppercase;
  white-space: nowrap;
}

.bb-top-brand::before {
  content: "BB";
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border:
    1px solid rgba(72, 255, 147, .66);
  border-radius: 7px;
  background:
    linear-gradient(
      145deg,
      rgba(72, 255, 147, .12),
      rgba(44, 247, 232, .025)
    );
  color: #48ff93;
  font-size: .58rem;
  letter-spacing: -.04em;
  box-shadow:
    0 0 18px rgba(72, 255, 147, .12),
    inset 0 0 14px rgba(72, 255, 147, .05);
}

.bb-top-brand > span:first-child {
  display: none !important;
}

.bb-top-nav {
  justify-self: center;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 3px !important;
  min-width: 0;
  padding: 3px;
  border:
    1px solid rgba(255, 255, 255, .055);
  border-radius: 10px;
  background: rgba(255, 255, 255, .018);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .018);
}

.bb-top-nav a {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  padding: 0 12px !important;
  border: 1px solid transparent !important;
  border-radius: 7px;
  background: transparent !important;
  color: #7e9587 !important;
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace !important;
  font-size: .66rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: .085em !important;
  text-decoration: none !important;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    color .16s ease,
    border-color .16s ease,
    background .16s ease,
    box-shadow .16s ease;
}

.bb-top-nav a::after {
  display: none !important;
}

.bb-top-nav a:hover {
  border-color:
    rgba(72, 255, 147, .16) !important;
  background:
    rgba(72, 255, 147, .045) !important;
  color: #c7ddd0 !important;
}

.bb-top-nav a[aria-current="page"] {
  border-color:
    rgba(72, 255, 147, .28) !important;
  background:
    linear-gradient(
      135deg,
      rgba(72, 255, 147, .11),
      rgba(44, 247, 232, .035)
    ) !important;
  color: #67ffa2 !important;
  box-shadow:
    0 0 16px rgba(72, 255, 147, .07),
    inset 0 0 12px rgba(72, 255, 147, .025);
}

.bb-top-header > :last-child:not(.bb-top-nav) {
  justify-self: end;
}

.bb-top-header .feed-health {
  margin: 0 !important;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .bb-top-header {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    padding:
      0 max(9px, env(safe-area-inset-right))
      0 max(9px, env(safe-area-inset-left))
      !important;
  }

  .bb-top-header > :last-child:not(.bb-top-nav) {
    display: none !important;
  }

  .bb-top-brand {
    font-size: .66rem !important;
    letter-spacing: .08em !important;
  }

  .bb-top-brand::before {
    width: 25px;
    height: 25px;
  }

  .bb-top-nav {
    justify-self: end;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .bb-top-nav::-webkit-scrollbar {
    display: none;
  }

  .bb-top-nav a {
    min-height: 29px;
    padding: 0 8px !important;
    font-size: .57rem !important;
    letter-spacing: .055em !important;
  }
}

@media (max-width: 470px) {
  .bb-top-brand {
    font-size: 0 !important;
    letter-spacing: 0 !important;
  }

  .bb-top-brand::before {
    font-size: .58rem;
  }

  .bb-top-nav a {
    padding: 0 7px !important;
  }
}

/* END BORING BETS: UNIFIED TOP NAVIGATION V1 */
