/* ═══════════════════════════════════════
   PHASE 1 — XP BAR
═══════════════════════════════════════ */
.xp-bar-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 18px 8px;
  background: rgba(244, 245, 251, 0.80);
  border-bottom: 1px solid rgba(216, 218, 236, 0.45);
}
.xp-level-label {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
  min-width: 80px;
  letter-spacing: 0.02em;
}
.xp-track {
  flex: 1;
  height: 7px;
  background: rgba(73, 54, 232, 0.1);
  border-radius: 99px;
  overflow: hidden;
}
.xp-fill {
  height: 100%;
  background: linear-gradient(90deg, #4936e8, #9b6ff8, #c084fc);
  border-radius: 99px;
  transition: width 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-width: 4px;
  position: relative;
  overflow: hidden;
}
.xp-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.45) 50%, transparent 100%);
  animation: xpShimmer 2.8s ease-in-out infinite;
  border-radius: 99px;
}
@keyframes xpShimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(250%); }
}
.xp-val {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-soft);
  white-space: nowrap;
  min-width: 65px;
  text-align: right;
}

