.name-alphabet {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 3px;
  padding-block: .65rem;
  margin: 0 0 1.5rem;
  border-block: 1px solid var(--rule);
}
.name-alphabet a {
  display: grid;
  place-items: center;
  min-height: 2.75rem;
  border-radius: .35rem;
  font-weight: 650;
  text-decoration: none;
}
.name-alphabet a:hover, .name-alphabet a:focus-visible { background: #eee8e4; }
.name-alphabet a[aria-current] { background: var(--plum); color: white; }
.alphabet-colors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 0 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.alphabet-colors li { min-width: 0; border-bottom: 1px solid var(--rule); }
.alphabet-colors a {
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: .5rem .25rem;
  gap: .7rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.alphabet-colors a:hover { text-decoration: underline; }
@media (min-width: 32rem) { .name-alphabet { grid-template-columns: repeat(9, 1fr); } }
@media (min-width: 49rem) { .name-alphabet { grid-template-columns: repeat(14, 1fr); } }
@media (min-width: 87rem) { .name-alphabet { grid-template-columns: repeat(27, 1fr); } }
.alphabet-colors i { width: 1.55rem; height: 1.55rem; flex: none; background: var(--sw); border: 1px solid #0002; border-radius: .2rem; }
.alphabet-colors code { margin-left: auto; color: var(--muted); font-size: .8rem; white-space: nowrap; }
