/* ── Header ─────────────────────────────────────────────────── */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-xl);
  height: 60px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
}
header::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--yellow);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo img {
  width: 30px; height: 30px;
  border-radius: 6px;
}
.logo-text {
  font-family: var(--font-title);
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  color: var(--yellow);
  line-height: 1;
}
.logo-divider { width: 1px; height: 18px; background: var(--border2); }
.logo-sub {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.user-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: 6px;
  padding: 4px 10px 4px 4px;
  font-size: 12px;
  color: var(--text-muted);
}
.user-avatar {
  width: 24px; height: 24px;
  border-radius: 4px;
  background: var(--yellow-dim);
  border: 1px solid var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--yellow);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  header { padding: 0 var(--space-md); }
  .user-badge, .logo-divider, .logo-sub { display: none; }
}
@media (max-width: 480px) {
  .header-right { gap: 6px; }
}
