/* ─── Overlay feed (OBS – no Tailwind here) ─────────────── */
.overlay-feed {
  position: fixed;
  pointer-events: none;
  z-index: 999;
  /* default: top-left */
  top: 5%; left: 5%; bottom: auto; right: auto;
}
.overlay-feed[data-pos="top-left"]     { top: 5%;  left: 5%;  bottom: auto; right: auto; }
.overlay-feed[data-pos="top-right"]    { top: 5%;  right: 5%; bottom: auto; left: auto;  }
.overlay-feed[data-pos="bottom-left"]  { bottom: 5%; left: 5%;  top: auto;  right: auto; }
.overlay-feed[data-pos="bottom-right"] { bottom: 5%; right: 5%; top: auto;  left: auto;  }

.levelup {
  background: linear-gradient(135deg, rgba(124,58,237,.85), rgba(168,85,247,.75));
  backdrop-filter: blur(6px);
  border: 1px solid rgba(196,132,252,.3);
  padding: 10px 18px;
  margin: 6px 0;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  animation: slideInLeft 400ms ease both;
  box-shadow: 0 4px 20px rgba(124,58,237,.4);
}
.overlay-feed[data-pos="top-right"] .levelup,
.overlay-feed[data-pos="bottom-right"] .levelup {
  animation: slideInRight 400ms ease both;
}

@keyframes slideInLeft {
  from { transform: translateX(-40px); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}
@keyframes slideInRight {
  from { transform: translateX(40px); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* Bouton unlock audio overlay */
#unlockAudio {
  position: fixed;
  bottom: 12px;
  right: 12px;
  background: rgba(124, 58, 237, 0.85);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 6px 14px;
  cursor: pointer;
  font-size: 13px;
  z-index: 9999;
  backdrop-filter: blur(4px);
}
#unlockAudio:hover { background: rgba(124, 58, 237, 1); }

/* ─── Scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #13131f; }
::-webkit-scrollbar-thumb { background: #2a2a45; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: #7c3aed; }


