.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 78px;
  padding: 0 5.5vw;
  color: #08090a;
  background: rgb(243 240 232 / .94);
  border-bottom: 1px solid #08090a18;
  backdrop-filter: blur(14px);
  font: 12px/1.7 Inter, Han, "Microsoft YaHei", sans-serif;
}
.nav[data-tone=dark] {
  color: #faf9f5;
  background: rgb(11 12 12 / .92);
  border-color: #faf9f518;
}
.nav > a:first-child {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 190px;
  min-height: 44px;
}
.nav #navmark { display: block; width: 100%; height: auto; }
.nav nav { display: flex; margin-left: auto; gap: 32px; font-size: inherit; }
.nav nav a,
.nav .nav-explore {
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  white-space: nowrap;
}
.nav > .nav-explore { display: none; }
.view-controls { display: flex; align-items: center; gap: 5px; }
.view-controls button { min-height: 44px; padding: 0; }
.nav #theme { width: 36px; font-size: 23px; }
.nav .session-exit { min-width: 48px; font-size: inherit; white-space: nowrap; }
.nav :is(a, button):hover { opacity: .72; }
@media (prefers-reduced-motion: no-preference) {
  .nav { transition: background-color .24s, color .24s; }
}
@media (max-width: 760px) {
  .nav { height: 70px; padding-inline: 24px; gap: 16px; }
  .nav > a:first-child { width: 148px; }
  .nav nav { gap: 16px; font-size: 10px; }
  .view-controls { gap: 0; }
  .nav #theme { width: 30px; }
}
@media (max-width: 440px) {
  .nav { gap: 8px; padding-inline: 18px; }
  .nav nav { display: none; }
  .nav > .nav-explore { display: flex; justify-content: center; width: 44px; margin-left: auto; }
  .nav #theme { width: 38px; }
}
@media (max-width: 350px) {
  .nav > a:first-child { width: 136px; }
  .nav #theme { width: 36px; }
}
@media (max-height: 540px) and (min-width: 600px) {
  .nav { height: 56px; }
}
