.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

/* Hover XP popover on footer "My profile" */
.footer-profile{ position: relative; }

.footer-xp-pop{
  position:absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  width: 260px;
  padding: 10px var(--space-3, 12px);
  border-radius: 0;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(24,24,27,.96);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md, 0 10px 30px rgba(0,0,0,.35));
  display:none;
  z-index: var(--z-popover, 50);
}

.footer-profile:hover .footer-xp-pop,
.footer-profile:focus .footer-xp-pop{
  display:block;
}

.footer-xp-top{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:12px;
  margin-bottom:8px;
}

.footer-xp-level{ font-weight: 900; font-size: 12px; }

.footer-xp-meta{
  color: var(--muted);
  font-size: 12px;
  white-space:nowrap;
}

.footer-xp-bar{
  display:block;
  height: 10px;
  border-radius: 0;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  overflow:hidden;
}

.footer-xp-fill{
  display:block;
  height: 100%;
  width: 0%;
  background: rgba(145,70,255,.70);
  box-shadow: 0 0 0 1px rgba(145,70,255,.25) inset;
}

/* Claim hover popover (same "popup" look) */
.footer-claim{ position: relative; }

.footer-claim-pop{
  position:absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  width: 280px;
  padding: 10px var(--space-3, 12px);
  border-radius: 0;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(24,24,27,.96);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md, 0 10px 30px rgba(0,0,0,.35));
  display:none;
  z-index: var(--z-popover, 50);
  text-align:left;
  pointer-events:none; /* hover stays on button */
}

.footer-claim:hover .footer-claim-pop,
.footer-claim:focus .footer-claim-pop{
  display:block;
}

.footer-claim-top{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:12px;
  margin-bottom:6px;
}

.footer-claim-title{
  font-weight: 900;
  font-size: 12px;
}

.footer-claim-meta{
  color: var(--muted);
  font-size: 12px;
  white-space:nowrap;
}

.footer-claim-lines{ display:block; }

.claim-line{
  display:block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
  margin: 2px 0;
}
.claim-line strong{
  color: var(--text);
  font-weight: 900;
}

/* Collapse Events panel */
.grid.events-collapsed .events-card {
  display: none;
}

/* Collapse Chat panel (for symmetry, if not already present) */
.grid.chat-collapsed .chat-card {
  display: none;
}

.grid.chat-collapsed .chat-card { display: none; }
.grid.events-collapsed .events-card { display: none; }

