/* Shared compact site navigation, scoped to the header for legacy-page compatibility. */
.bh-nav, .bh-nav *, .bh-nav *::before, .bh-nav *::after { box-sizing: border-box; }
.bh-nav {
  --bh-nav-accent: var(--account-accent, #f5c518);
  --bh-nav-accent-bg: var(--account-accent-dim, #f5c51812);
  position: sticky; top: 0; z-index: 100; display: flex; align-items: center;
  flex-wrap: nowrap; width: 100%; height: 64px; min-height: 64px; flex-shrink: 0;
  padding: 0 max(24px, calc((100% - 1200px) / 2)); margin: 0;
  background: #0d1015f5; color: #edf0f5; border: 0; border-bottom: 1px solid #ffffff14;
  backdrop-filter: blur(16px); font: 400 13px/1.6 'Inter', system-ui, sans-serif; text-align: left;
}
.bh-nav .bh-nav__brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; width: auto; padding: 0 20px 0 0; margin: 0 8px 0 0; border: 0; border-right: 1px solid #ffffff14; color: #f5c518; font-size: 16px; font-weight: 700; line-height: 1.6; letter-spacing: .02em; white-space: nowrap; text-decoration: none; }
.bh-nav .bh-nav__brand:hover { color: #f5c518; background: none; text-decoration: none; }
.bh-nav .bh-nav__brand img { display: block; flex-shrink: 0; width: 32px; height: 32px; min-width: 32px; max-width: 32px; margin: 0; padding: 0; border: 0; border-radius: 6px; object-fit: contain; transform: none; }
.bh-nav .bh-nav__brand img:hover { transform: none; }
.bh-nav .bh-nav__links { display: flex; position: static; align-items: stretch; flex: 1; width: auto; height: 100%; min-width: 0; padding: 0; margin: 0; border: 0; list-style: none; background: none; }
.bh-nav .bh-nav__links li { display: flex; align-items: stretch; flex: 1; min-width: 0; padding: 0; margin: 0; border: 0; list-style: none; background: none; }
.bh-nav .bh-nav__links li::before { content: none; }
.bh-nav .bh-nav__links li a { display: flex; align-items: center; justify-content: center; width: 100%; min-width: 0; padding: 0 10px; margin: 0; border: 0; border-radius: 0; background: none; color: #a0a8b7; font: 500 13px/1.6 'Inter', system-ui, sans-serif; text-decoration: none; white-space: nowrap; box-shadow: none; transition: color .15s, background .15s; }
.bh-nav .bh-nav__links li a:hover { color: #edf0f5; background: #ffffff06; min-width: 0; padding-top: 0; transform: none; box-shadow: none; text-decoration: none; }
.bh-nav .bh-nav__links li a.active, .bh-nav .bh-nav__links li a[aria-current] { color: var(--bh-nav-accent); background: var(--bh-nav-accent-bg); animation: none; }
.bh-nav .bh-nav__end { position: static; display: flex; align-items: center; flex-shrink: 0; width: auto; margin: 0; padding: 0 0 0 24px; border: 0; border-left: 1px solid #ffffff14; }
.bh-nav .bh-nav__toggle { display: none; align-items: center; justify-content: center; flex-direction: column; flex-shrink: 0; gap: 5px; width: 36px; min-height: 36px; margin: 0 0 0 auto; padding: 7px; border: 0; border-radius: 6px; background: transparent; cursor: pointer; box-shadow: none; }
.bh-nav .bh-nav__toggle span { display: block; width: 22px; height: 2px; padding: 0; margin: 0; border-radius: 2px; background: #edf0f5; }
.bh-nav .profile-menu { display: flex; position: relative; align-items: center; margin: 0; padding: 0; }
.bh-nav .profile-toggle { display: block; width: auto; min-height: 36px; margin: 0; padding: 7px 18px; border: 1px solid #f5c51859; border-radius: 999px; background: #f5c5181f; color: #f5c518; font: 600 13px/1.6 'Inter', system-ui, sans-serif; letter-spacing: normal; text-transform: none; cursor: pointer; box-shadow: none; transition: background .15s, border-color .15s; }
.bh-nav .profile-toggle:hover { color: #f5c518; background: #f5c51838; border-color: #f5c518; transform: none; }
.bh-nav .profile-menu .profile-dropdown { display: none; position: absolute; top: 100%; right: 0; left: auto; width: auto; min-width: 160px; margin: 0; padding: 6px 0; border: 1px solid #ffffff14; border-radius: 10px; background: #1a1d26; color: #edf0f5; box-shadow: 0 8px 24px #0008; z-index: 110; overflow: hidden; }
.bh-nav .profile-menu.open .profile-dropdown { display: block; }
.bh-nav .profile-dropdown a { display: block; width: 100%; margin: 0; padding: 9px 14px; border: 0; border-radius: 0; background: none; color: #edf0f5; font: 400 13px/1.6 'Inter', system-ui, sans-serif; text-decoration: none; }
.bh-nav .profile-dropdown a:hover { color: #fff; background: #ffffff0b; text-decoration: none; }
.bh-nav .profile-menu.is-logged-out .profile-dropdown { display: none !important; }
.bh-nav .profile-menu.is-logged-out .profile-toggle { color: #edf0f5; border-color: #ffffff4d; background: transparent; }
.bh-nav :is(a, button):focus-visible { outline: 2px solid var(--bh-nav-accent); outline-offset: -3px; box-shadow: none; }
@media (min-width: 901px) and (max-width: 1100px) {
  .bh-nav { padding-inline: 20px; }
  .bh-nav .bh-nav__brand { font-size: 14px; padding-right: 12px; }
  .bh-nav .bh-nav__links li a { font-size: 12px; padding-inline: 6px; }
  .bh-nav .bh-nav__end { padding-left: 16px; }
}
@media (max-width: 900px) {
  .bh-nav { height: auto; min-height: 64px; max-height: 100svh; padding: 13px 20px; flex-wrap: wrap; overflow-y: auto; }
  .bh-nav .bh-nav__brand { order: 1; }
  .bh-nav .bh-nav__toggle { display: flex; order: 2; }
  .bh-nav .bh-nav__links { display: none; position: static; flex: 1 0 100%; order: 3; width: 100%; height: auto; padding: 10px 0 0; margin-top: 12px; border-top: 1px solid #ffffff14; background: transparent; flex-direction: column; }
  .bh-nav .bh-nav__links.open { display: flex; }
  .bh-nav .bh-nav__links li { flex: none; width: 100%; }
  .bh-nav .bh-nav__links li a { justify-content: flex-start; min-height: 38px; padding: 8px 10px; border-radius: 6px; font-size: 13px; }
  .bh-nav .bh-nav__links li a:hover { padding-top: 8px; }
  .bh-nav .bh-nav__end, .bh-nav .bh-nav__end.open { display: none; position: static; order: 4; flex: 1 0 100%; width: 100%; padding: 10px 0 0; margin: 8px 0 0; border: 0; border-top: 1px solid #ffffff14; }
  .bh-nav .bh-nav__end.open { display: flex; }
  .bh-nav .profile-menu { width: 100%; align-items: flex-start; flex-direction: column; }
  .bh-nav .profile-menu .profile-dropdown { position: static; width: 100%; margin-top: 8px; min-width: 0; box-shadow: none; }
}
@media (max-width: 440px) {
  .bh-nav { padding-inline: 14px; }
  .bh-nav .bh-nav__brand { font-size: 14px; padding-right: 20px; }
}
@media (prefers-reduced-motion: reduce) { .bh-nav *, .bh-nav *::before, .bh-nav *::after { transition: none !important; animation: none !important; } }
