/* Homepage account entry only; the existing homepage composition is unchanged. */
.home-page .nav-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--home-ink);
  font-size: 14px;
  font-weight: 550;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

.home-page .nav-account[data-account-state="signed-in"] {
  border-color: var(--home-line);
}

.home-page .nav-account:hover {
  color: var(--home-accent);
  background: var(--home-surface);
  border-color: var(--home-line);
}

@media (max-width: 740px) {
  /* Place the new entry with the navigation links, keeping existing theme/language controls intact. */
  .home-page .nav-links > .nav-account {
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: inherit;
  }
}

@media (max-width: 360px) {
  .home-page .nav-links:has(> .nav-account) {
    column-gap: 6px;
  }
}
