/* ===== BASARIM TOAST ===== */
.achievement-toast {
  position: fixed;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
  z-index: 2000;
  transition: top 0.4s ease;
  max-width: 90vw;
}

.achievement-toast.show {
  top: 20px;
}

.achievement-toast-emoji {
  line-height: 1;
  flex-shrink: 0;
}

.achievement-toast-emoji .ach-svg {
  width: 40px;
  height: 40px;
}

.achievement-toast-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.achievement-toast-title {
  font-size: 0.7rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.achievement-toast-name {
  font-size: 1rem;
  font-weight: 700;
}

/* ===== BASARIM IKON SATIRI (profil barinin altinda) ===== */
.ach-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.ach-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  flex: 1;
}

.ach-icon {
  line-height: 0;
  cursor: pointer;
  transition: transform 0.15s;
  user-select: none;
  -webkit-user-select: none;
}

.ach-icon .ach-svg {
  width: 28px;
  height: 28px;
}

.ach-icon:active {
  transform: scale(1.3);
}

/* ===== KILITLI BASARIM ===== */
.ach-locked {
  opacity: 0.3;
  filter: grayscale(1);
}

/* ===== PROGRESS SAYACI ===== */
.ach-count {
  color: #999;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ===== TOOLTIP ===== */
.ach-tooltip {
  position: absolute;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%) translateY(2px);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 100;
}

.ach-tooltip.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== RESPONSIVE ===== */
/* ===== SVG GENEL ===== */
.ach-svg {
  display: block;
}

/* ===== LEADERBOARD MADALYA ===== */
.global-lb-rank .ach-svg {
  width: 24px;
  height: 24px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .ach-icon .ach-svg {
    width: 24px;
    height: 24px;
  }

  .ach-row {
    padding: 5px 8px;
  }
}
