/* Qihui V69: signed-in state in the static site header */
.nav-account-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.qh-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px 0 4px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background .18s ease;
}
.qh-user-chip:hover {
  background: #e5e7eb;
}
.qh-user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  flex: 0 0 26px;
}
.qh-user-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qh-user-go {
  color: #2563eb;
  font-weight: 600;
}
[data-theme="dark"] .qh-user-chip {
  background: #1f2937;
  color: #e5e7eb;
}
[data-theme="dark"] .qh-user-chip:hover {
  background: #374151;
}
[data-theme="dark"] .qh-user-go {
  color: #60a5fa;
}
@media (max-width: 640px) {
  .qh-user-go {
    display: none;
  }
}

@media (max-width: 640px) {
  #site-nav .qh-user-go { display: inline; }
}

