.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

#auth-bar,
#user-info {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

.auth-bar-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}

.auth-bar-name {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.auth-bar-link {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}

.auth-bar-link:hover {
  color: var(--text);
  text-decoration: none;
}

.auth-bar-discord {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #5865f2;
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.35rem 0.875rem;
  text-decoration: none;
  transition: background 0.15s;
}

.auth-bar-discord:hover {
  background: #4752c4;
  color: #fff;
  text-decoration: none;
}

.auth-bar-discord svg {
  width: 14px;
  height: 14px;
}

.auth-bar-login {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.35rem 0.875rem;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.auth-bar-login:hover {
  background: var(--border);
  color: var(--text);
  text-decoration: none;
}

.auth-bar-avatar-initial {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
}

@media (max-width: 400px) {
  .auth-bar-name {
    display: none;
  }
}
