/* Svarg — the signed-in account menu (shared/profileMenu.js), the same on
   every page that draws one. Moved here from landing.css so Blueprints and
   Account share the home page's look. */

/* ── Profile dropdown (signed-in topbar) ────────────────────── */
.profile-menu { position: relative; }

.profile-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 6px 14px 6px 6px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.12s, background 0.12s;
}
.profile-btn:hover { border-color: var(--accent-green, #5CC5A7); background: rgba(92, 197, 167, 0.07); }
.profile-btn svg { opacity: 0.6; }

.profile-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #5CC5A7, #3DAFD3);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.profile-name {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: #16181d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  z-index: 300;
}

.profile-dropdown__item {
  display: block;
  width: 100%;
  padding: 9px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13.5px;
  font-weight: 500;
  font-family: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.profile-dropdown__item:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.profile-dropdown__item--danger:hover { background: rgba(248, 113, 113, 0.12); color: #f87171; }
