.site-nav {
  display: flex;
  gap: 26px;
  align-items: center;
  min-height: 44px;
  border: 0;
  border-bottom: 1px solid rgba(18, 22, 18, .11);
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar { display: none; }

.site-nav a {
  display: inline-flex;
  position: relative;
  align-items: center;
  align-self: stretch;
  flex: 0 0 auto;
  color: var(--muted);
  border: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--ink);
  text-decoration: none;
}

.site-nav a:focus-visible {
  color: var(--ink);
  outline: 2px solid rgba(18, 97, 75, .16);
  outline-offset: -2px;
}

.site-nav a.active {
  color: var(--ink);
  border: 0;
  font-weight: 650;
}

.site-nav a.active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--accent);
  content: "";
}

.statistics-currency-switcher {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 3px;
  margin-left: auto;
  padding-left: 18px;
}

.statistics-currency-label {
  margin-right: 5px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.site-nav .statistics-currency-switcher a {
  align-self: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 650;
}

.site-nav .statistics-currency-switcher a.selected {
  color: var(--accent);
  border-color: rgba(18, 97, 75, .12);
  background: rgba(18, 97, 75, .07);
}

.site-nav .statistics-currency-switcher a.selected::after { display: none; }

@media (max-width: 820px) {
  .site-nav { gap: 18px; }
  .statistics-currency-label { display: none; }
}
