/* ── CONQUISTAS ── */
.ach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.ach-card {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: border-color .2s, background .2s;
  position: relative;
  overflow: hidden;
}
.ach-card.unlocked {
  border-color: rgba(74,222,128,0.3);
  background: rgba(74,222,128,.03);
}
.ach-card.new-unlock {
  border-color: rgba(251,191,36,0.5);
  background: rgba(251,191,36,.04);
  animation: glow-new 2s ease-out forwards;
}
@keyframes glow-new {
  0%   { box-shadow: 0 0 0 0 rgba(251,191,36,0.4); }
  50%  { box-shadow: 0 0 18px 4px rgba(251,191,36,0.15); }
  100% { box-shadow: none; }
}
.ach-card.locked { opacity: .45; }
.ach-icon {
  font-size: 28px; flex-shrink: 0; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--panel-3); border-radius: 8px;
}
.ach-card.locked .ach-icon { filter: grayscale(1); }
.ach-body { flex: 1; min-width: 0; }
.ach-name { font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 3px; }
.ach-card.locked .ach-name { color: var(--muted); }
.ach-desc { font-size: 11px; color: var(--muted); line-height: 1.4; }
.ach-card.locked .ach-desc { color: var(--dim); }
.ach-prog {
  font-size: 10px; font-family: 'Geist Mono','JetBrains Mono', monospace;
  color: var(--dim); margin-top: 6px;
}
.ach-prog-bar { height: 3px; background: var(--line-2); border-radius: 2px; margin-top: 4px; }
.ach-prog-fill { height: 100%; border-radius: 2px; background: var(--blue); transition: width .5s; }
.ach-card.unlocked .ach-prog-fill { background: var(--alta-text); }
.ach-new-badge {
  position: absolute; top: 8px; right: 8px;
  font-size: 9px; font-family: 'Geist Mono','JetBrains Mono', monospace; font-weight: 600;
  background: #fbbf24; color: #1a1500; padding: 2px 7px; border-radius: 3px;
}
.ach-filter-bar { display: flex; gap: 6px; margin-bottom: 20px; flex-wrap: wrap; }
.ach-fb {
  padding: 5px 12px; font-size: 11px; font-family: 'Geist','Inter', sans-serif;
  border: 1px solid var(--line-2); border-radius: 5px; background: none;
  color: var(--muted); cursor: pointer; transition: all .15s;
}
.ach-fb:hover { color: var(--ink); }
.ach-fb.on { background: var(--panel-3); color: var(--ink); border-color: var(--muted); }
.ach-section-title {
  font-size: 10px; font-family: 'Geist Mono','JetBrains Mono', monospace; text-transform: uppercase;
  letter-spacing: .08em; color: var(--dim); margin: 20px 0 10px;
  padding-bottom: 6px; border-bottom: 1px solid var(--line);
}
.ach-summary {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border-radius: 10px; overflow: hidden;
  margin-bottom: 24px;
}

/* Toast */
.toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  display: flex; flex-direction: column; gap: 8px; pointer-events: none;
}
.toast {
  background: var(--panel-2); border: 1px solid rgba(251,191,36,0.4);
  border-radius: 8px; padding: 12px 16px; display: flex; gap: 10px; align-items: center;
  font-size: 12px; color: var(--ink); min-width: 260px;
  animation: toast-in .3s ease-out, toast-out .4s ease-in 3.5s forwards;
  pointer-events: auto;
}
.toast-icon { font-size: 20px; }
.toast-text strong { display: block; font-size: 13px; color: #fbbf24; margin-bottom: 2px; }
@keyframes toast-in  { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
@keyframes toast-out { from { opacity:1; } to { opacity:0; transform:translateY(8px); } }
