.app-header {
  background: rgba(19, 19, 30, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid #F5A800;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  flex-shrink: 0;
}

.header-logo {
  height: 32px;
  display: block;
}

.header-spacer { flex: 1; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #F5A800;
  object-fit: cover;
}

.user-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-home {
  background: none;
  border: 1px solid rgba(245, 168, 0, 0.25);
  border-radius: 6px;
  color: #F5A800;
  font-size: 0.75rem;
  line-height: 1.2;
  padding: 5px 9px;
  min-height: auto;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
  white-space: nowrap;
}

.btn-home:hover,
.btn-home.active {
  border-color: #F5A800;
  background: rgba(245, 168, 0, 0.14);
  color: #F5A800;
  text-decoration: none;
}

.btn-logout {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #a8a8c4;
  font-size: 0.75rem;
  padding: 5px 9px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  white-space: nowrap;
}

.btn-logout:hover {
  border-color: #e74c3c;
  color: #e74c3c;
}

@media (max-width: 720px) {
  .app-header {
    gap: 8px;
    overflow-x: auto;
    padding: 12px 10px;
  }
}
