/* Maple Arcade Club — achievements route */

.ach-body { padding: var(--s-7) 0 var(--s-8); }

.ach-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--s-5);
  margin-bottom: var(--s-7);
}

.ach-summary div {
  background: var(--surface);
  border: var(--frame);
  border-radius: var(--radius);
  box-shadow: var(--sink);
  padding: var(--s-5);
}

.ach-summary span {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: var(--s-1);
}

.ach-summary b {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--purple);
  font-variant-numeric: tabular-nums;
}

.ach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: var(--s-5);
  margin-bottom: var(--s-7);
  padding: 0;
  list-style: none;
}

.ach-card {
  background: var(--surface);
  border: var(--frame);
  border-radius: var(--radius);
  box-shadow: var(--sink);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin: 0;
}

.ach-card.is-locked { background: rgba(255, 253, 249, 0.6); }
.ach-card h3 { margin: 0; font-size: 1.05rem; }
.ach-card p { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }

.ach-card__state { align-self: flex-start; }
.ach-card__progress { font-weight: 700; color: var(--purple); font-variant-numeric: tabular-nums; }

.ach-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: var(--frame);
  box-shadow: var(--sink), var(--float);
  margin-bottom: var(--s-7);
}

.ach-figure img {
  display: block;
  width: 100%;
}

.ach-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  align-items: center;
  background: var(--surface);
  border: var(--frame);
  border-radius: var(--radius);
  box-shadow: var(--sink);
  padding: var(--s-5);
}

.ach-actions p { margin: 0; flex: 1 1 320px; font-size: 0.92rem; }
