/* css/nav.css — Topbar & Navigation */

.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: rgba(7,7,14,0.65);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05), 0 4px 24px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  padding: 0 20px;
  z-index: 100;
  gap: 20px;
}
.topbar-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -1px;
  margin-right: auto;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.topbar-logo:hover { opacity: .8; }
.topbar-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  flex-shrink: 0;
  display: block;
}
.wm-mood { color: var(--accent); font-weight: 800; }
.wm-app  { color: var(--text);   font-weight: 300; letter-spacing: -.5px; }
.topbar-nav {
  display: flex;
  gap: 4px;
}
.nav-btn {
  padding: 7px 14px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--muted);
  transition: all .2s;
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: .85;
}
.nav-btn:hover  {
  color: var(--text);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav-btn.active {
  color: var(--accent);
  background: rgba(245,158,11,0.12);
  box-shadow: inset 0 1px 0 rgba(245,158,11,0.18);
}

.badge {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--accent2);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.avatar-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: #000;
  transition: transform .2s;
}
.avatar-btn:hover { transform: scale(1.1); }
.logo-short { display: none; }
