.alpha {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
  justify-content: center;
  margin: 0 0 1rem;
  padding: .25rem 0;
}

.alpha-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  height: 2.1rem;
  padding: .1rem .7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .3px;
  text-decoration: none;
  color: var(--muted);
  transition: all .18s ease-out;
  cursor: pointer;
  position: relative;
}

.alpha-link:hover {
  background: var(--card-bg);
  border-color: var(--border);
  color: var(--headline);
  box-shadow: 0 6px 18px rgba(48,72,98,.12);
  transform: translateY(-1px);
}

.alpha-link:focus-visible {
  outline: 2px solid rgba(222,70,64,.85);
  outline-offset: 2px;
}

.alpha-link.is-active {
  background: var(--headline);
  color: #fff;
  border-color: var(--headline);
  box-shadow: var(--shadow);
}

.alpha-link.is-active:hover {
  transform: translateY(-2px);
}

.alpha-select-wrap {
  display: none;
  margin-top: .35rem;
  align-items: center;
  gap: .75rem;
}

.alpha-select-label {
  font-size: .9rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: .35rem;
  letter-spacing: .3px;
}

.alpha-select {
  min-width: 0;
  width: 100%;
  padding: .7rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--headline);
  font-weight: 800;
  letter-spacing: .2px;
  appearance: none;
  cursor: pointer;
  position: relative;
  transition: all .2s ease;
  background-image: url("data:image/svg+xml,%3Csvg fill='%234d647e' height='10' width='10' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  background-size: 12px;
}

.alpha-select:hover {
  border-color: rgba(48,72,98,.50);
}

.alpha-select:focus {
  border-color: var(--headline);
  box-shadow: none;
  outline: none;
}

@media (max-width: 768px) {
  .alpha-select-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .alpha-select {
    width: 100%;
  }
}