.achievements-skeleton {
  display: flex;
  gap: 5px;
  width: 90%;
  background-color: var(--dark);
  padding: 5px 10px 5px 10px;
  border-radius: 5px;
}

.skeleton-line {
  height: 16px;
  background: var(--skeleton-footer-grad);
  background-size: 200% 100%;
  animation: pulse 1.5s infinite ease-in-out;
  border-radius: 4px;
}

@keyframes pulse {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.ghost-container {
  position: fixed;
  z-index: 200;
  cursor: pointer;
  /* transition: all 1.5s ease-in-out;  <-- убрать */
}

.ghost {
  width: 50px;
  height: 50px;
  opacity: 0.95;
  fill: var(--white);
  filter: drop-shadow(0 0 10px var(--outline-main));
  transition: transform 0.5s ease; /* оставляем только это */
}
/* Скример */
.ghost-clicked .ghost {
  transform: scale(1.6) rotate(10deg);
  filter: drop-shadow(0 0 20px rgba(255,0,0,0.9));
}

.ghost-popup {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.85);
  color: var(--white);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
  animation: shake 0.5s ease;
}

/* Анимация тряски */
@keyframes shake {
  0% { transform: translate(-50%, 0); }
  20% { transform: translate(-50%, -5px); }
  40% { transform: translate(-50%, 5px); }
  60% { transform: translate(-50%, -3px); }
  80% { transform: translate(-50%, 3px); }
  100% { transform: translate(-50%, 0); }
}

