.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-actions .nav-cta {
  margin-left: 0;
}

.nav-account {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 7px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.nav-account svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.nav-account-label-short {
  display: none;
}

.nav-account:hover {
  border-color: rgba(34, 211, 238, 0.42);
  background: rgba(34, 211, 238, 0.07);
  color: var(--accent);
}

.nav-account:focus-visible,
.nav-actions .nav-cta:focus-visible {
  outline: 3px solid rgba(34, 211, 238, 0.3);
  outline-offset: 2px;
}

@media (max-width: 820px) {
  .nav-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin-left: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .nav-actions a {
    min-width: 0;
    padding-right: 10px;
    padding-left: 10px;
  }

  .nav-actions .nav-cta {
    grid-column: auto;
    grid-row: auto;
    margin-left: 0;
  }

  .nav-account-label-full {
    display: none;
  }

  .nav-account-label-short {
    display: inline;
  }

  .nav-links {
    grid-row: 3;
  }
}
