/* Slide a fixed-size island. Its glass is never scaled or faded while scrolling. */
header.nav-wrap {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: transform 230ms cubic-bezier(.2,.75,.25,1);
}
header.nav-wrap.nav-hidden {
  opacity: 1;
  transform: translate3d(0, calc(-100% - 12px), 0);
}
header.nav-wrap .nav-pill {
  isolation: isolate;
  transform: none;
  transition: none;
  will-change: auto;
  min-height: 46px;
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
header.nav-wrap .nav-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(166deg, rgb(38 38 46 / .66), rgb(20 20 26 / .72));
  box-shadow: inset 0 0 0 1px #ffffff12;
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
}
header.nav-wrap .nav-links a,
header.nav-wrap .nav-right a {
  color: #dedee5 !important;
}
header.nav-wrap .nav-pill a:is(:hover, :focus-visible, [aria-current="page"]) {
  color: #fff !important;
  background: rgb(255 255 255 / .08) !important;
}
header.nav-wrap .nav-pill a.nav-brand:is(:hover, :focus-visible, :active) {
  background: transparent !important;
  box-shadow: none !important;
}
header.nav-wrap .nav-brand:focus-visible {
  outline: 2px solid #e5e5e9;
  outline-offset: 3px;
  border-radius: 5px;
}
header.nav-wrap .nav-brand .nav-mark,
header.nav-wrap .nav-brand .nav-mark img {
  display: block;
  width: 29px;
  height: 29px;
  flex: none;
  background: transparent;
}
header.nav-wrap .nav-brand .nav-mark img {
  transform: scaleX(1.12);
}
header.nav-wrap .nav-right .language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 5px;
  min-width: 0;
  min-height: 0;
  height: 32px !important;
  padding: 0 8px !important;
  border: 1px solid rgb(255 255 255 / .14);
  border-radius: 8px !important;
  color: #ebebee !important;
  background: rgb(255 255 255 / .035) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1;
}
header.nav-wrap .language-switch[aria-expanded="true"] {
  background: rgb(255 255 255 / .085) !important;
  border-color: rgb(255 255 255 / .3);
}
header.nav-wrap .language-switch .language-flag { width: 17px; height: 11px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) {
  header.nav-wrap { transition: none; }
}
