/* The "antitheft" menu in the bar, shared by the landing (next.css) and the other pages (pages.css): the landing's sections folded into one dropdown (navmenu.js moves the list
   to the body and opens it under the button). Liquid glass like the bar, with more blur and a firmer tint so the list reads over any part of the page. */
/* the landing's sections, folded into one menu on every other page (the list is moved to the body by pages.js: the glass bar would hold a fixed child inside it) */
.nav-more { display: flex; align-items: center; }
.nav-more-btn .nav-more-chev { margin-left: 2px; font-size: 12px; transition: transform 0.2s var(--ease); }
.nav-more-btn[aria-expanded="true"] { background: light-dark(rgba(16, 24, 44, 0.08), rgba(255, 255, 255, 0.12)); }
.nav-more-btn[aria-expanded="true"] .nav-more-chev { transform: rotate(180deg); }
/* liquid glass like the bar (.glass.lg, liquid-glass.js draws its lens), so no fill of its own. Closed it keeps its size (visibility, not display) so the lens is ready before it opens. */
.nav-menu { position: fixed; z-index: 70; min-width: 220px; padding: 6px; border-radius: 16px; transition: opacity 0.18s ease, transform 0.22s var(--ease), visibility 0s linear 0s; }
/* more blur and a firmer tint than the bar, so the list reads over any part of the page (the bar's own values stay in system.css) */
.nav-menu.glass.lg { background: light-dark(rgba(255, 255, 255, 0.66), rgba(22, 24, 32, 0.68)); -webkit-backdrop-filter: blur(32px) saturate(180%); backdrop-filter: blur(32px) saturate(180%); }
.nav-menu.glass.lg.lg-on { -webkit-backdrop-filter: var(--lg-filter) blur(30px) saturate(180%) brightness(1.04); backdrop-filter: var(--lg-filter) blur(30px) saturate(180%) brightness(1.04); }
.nav-menu:not(.is-open) { visibility: hidden; opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity 0.14s ease, transform 0.18s ease, visibility 0s linear 0.18s; }
.nav-menu a { display: flex; align-items: center; gap: 11px; height: 38px; padding: 0 12px; border-radius: 9px; font-size: 14.5px; color: var(--ink); }
.nav-menu a:hover, .nav-menu a:focus-visible { background: var(--hover-tint); outline: 0; }
.nav-menu a .ui-pic { font-size: 17px; color: var(--muted); }
@media (max-width: 1100px) { .nav-more-chev { display: none; } }
@media (max-width: 720px) { .nav-more { display: none; } }

/* the section you are in is marked: next.js sets .is-here on its item (and on the button while any section is current) */
.nav-menu a.is-here { color: var(--ink); background: light-dark(rgba(16, 24, 44, 0.08), rgba(255, 255, 255, 0.12)); }
.nav-menu a.is-here .ui-pic { color: var(--ink); }
