





:root {
  
  --menubar-h: 35px;
  --menu-bg: rgba(20, 22, 30, .86);
  --menu-fg: #e9e4d8;
  --menu-fg-dim: #bdb7a8;
  --menu-hover-bg: rgba(255, 255, 255, .10);
  --menu-line: rgba(255, 255, 255, .14);
  --menu-gold: #ffd97a;
}

.menubar {
  position: relative;
  

  z-index: 20;
  height: var(--menubar-h);
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
  padding: 0 10px;
  background: var(--menu-bg);
  border-bottom: 1px solid var(--menu-line);
  backdrop-filter: blur(8px);
  


  overflow-x: clip;
  overflow-y: visible;
  white-space: nowrap;
  scrollbar-width: none;
}
.menubar::-webkit-scrollbar { height: 0; }
.menubar[hidden] { display: none; }


@supports not (overflow: clip) {
  .menubar { overflow-x: visible; }
}

.menu-root {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-item { position: relative; display: flex; align-items: stretch; }


.menu-btn,
.menu-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  padding: 0 12px;
  border: 0;
  background: none;
  color: var(--menu-fg);
  font: inherit;
  font-size: 13.5px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.menu-btn:hover,
.menu-link:hover,
.menu-item.open > .menu-btn { background: var(--menu-hover-bg); color: #fff; }
.menu-item.is-current > .menu-link,
.menu-item.is-current > .menu-btn { color: var(--menu-gold); }
.menu-item.is-highlight > .menu-btn,
.menu-item.is-highlight > .menu-link { color: var(--menu-gold); font-weight: 600; }
.menu-item.has-divider { border-top: 1px solid var(--menu-line); }


.menu-btn::after {
  content: '▾';
  font-size: 10px;
  opacity: .75;
  transform: translateY(1px);
}


.menu-flyout {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 50;
  display: none;
  min-width: 180px;
  max-width: 320px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: var(--menu-bg);
  border: 1px solid var(--menu-line);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
  backdrop-filter: blur(10px);
}
.menu-item.open > .menu-flyout { display: block; }
html:not(.js) .menu-item:hover > .menu-flyout { display: block; }   


.menu-flyout .menu-flyout { top: -7px; left: 100%; }
.menu-item.flip-left > .menu-flyout { left: auto; right: 100%; }     
.menu-item.flip-down > .menu-flyout { left: auto; right: 0; }        

.menu-flyout .menu-item { display: block; }
.menu-flyout .menu-btn,
.menu-flyout .menu-link {
  width: 100%;
  height: auto;
  box-sizing: border-box;
  justify-content: space-between;
  padding: 7px 14px;
  font-size: 13.5px;
}
.menu-flyout .menu-btn::after { content: '›'; font-size: 13px; }


@media (max-width: 720px) {
  


  .menubar {
    overflow-x: auto;
    backdrop-filter: none;
  }
  .menu-flyout {
    position: fixed;
    left: 8px;
    right: 8px;
    top: calc(var(--menubar-h) + 46px);
    min-width: 0;
    max-width: none;
    max-height: 65vh;
    overflow-y: auto;
  }
  .menu-flyout .menu-flyout { position: static; left: auto; right: auto; box-shadow: none; border-radius: 8px; margin: 2px 0 6px; }
  .menu-item.flip-left > .menu-flyout,
  .menu-item.flip-down > .menu-flyout { left: 8px; right: 8px; }
}
