.ach-page { padding: 40px 0 80px; min-height: calc(100vh - 200px); }

.ach-title-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
}
.page-title { font-size: 2rem; color: var(--yellow); margin: 0; }
.ach-count  { color: var(--text-muted); font-size: 0.9rem; }
.ach-total-g {
  margin-left: auto;
  font-size: 1rem;
  font-weight: 700;
  color: var(--yellow);
  background: rgba(255,226,52,0.1);
  border: 1px solid rgba(255,226,52,0.2);
  padding: 4px 14px;
  border-radius: 20px;
}

/* Фильтры */
.ach-filters { margin-bottom: 28px; }
.ach-filter-group { display: flex; gap: 8px; flex-wrap: wrap; }
.ach-btn {
  background: #1A1A1A;
  border: 1px solid #2A2A2A;
  color: #888;
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.ach-btn:hover { border-color: #444; color: #ccc; }
.ach-btn.active { background: var(--yellow); border-color: var(--yellow); color: #000; }

/* Грид */
.ach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

/* Карточка */
.ach-card {
  background: #1A1A1A;
  border: 1px solid #2A2A2A;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.15s;
  display: flex;
  flex-direction: column;
}
.ach-card:hover {
  border-color: var(--yellow);
  transform: translateY(-3px);
}

/* Картинка */
.ach-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: #111;
  overflow: hidden;
}
.ach-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.ach-card:hover .ach-img-wrap img {
  transform: scale(1.04);
}

/* Текст */
.ach-info {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.ach-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.ach-desc {
  font-size: 0.75rem;
  color: #666;
  line-height: 1.4;
}

/* Модалка */
.ach-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ach-modal {
  background: #1A1A1A;
  border: 1px solid #2A2A2A;
  border-radius: 18px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.ach-modal-close {
  position: absolute; top: 14px; right: 14px;
  background: rgba(0,0,0,0.5); border: none; color: #fff;
  width: 32px; height: 32px; border-radius: 8px;
  cursor: pointer; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  z-index: 1; transition: background 0.15s;
}
.ach-modal-close:hover { background: rgba(0,0,0,0.8); }

.ach-modal-img-wrap {
  width: 100%;
  height: 220px;
  border-radius: 18px 18px 0 0;
  background: #0d0d0d;
  overflow: hidden;
  position: relative;
}
.ach-modal-img-wrap img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.ach-modal-body {
  padding: 20px 24px 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.ach-modal-name {
  font-size: 1.15rem; font-weight: 700; color: #fff;
  padding-right: 32px;
}
.ach-modal-desc {
  font-size: 0.88rem; color: #888; line-height: 1.5;
}
.ach-modal-guide {
  background: #232323;
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 4px;
}
.ach-modal-guide-label {
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--yellow); margin-bottom: 8px;
}
.ach-modal-guide-text {
  font-size: 0.88rem; color: #ccc; line-height: 1.6;
}
.ach-modal-guide-text a {
  color: var(--yellow);
  text-decoration: none;
}
.ach-modal-guide-text a:hover { text-decoration: underline; }
