.config-container {
  display: flex;
  flex-direction: column;
  height: 100%; 
  min-height: 0;
}

.config-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  margin: 1rem 1rem 0.25rem;
  /* leave room for the modal's close button (2rem wide, 1rem from the edge) */
  padding-right: 2.5rem;
}

.config-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ctp-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
  gap: 1rem;
}

.config-subtitle {
  font-size: 0.75rem;
  color: var(--ctp-overlay1);
  letter-spacing: 0.1em;
  font-weight: 600;
  padding: 0rem 1rem;
}

.config-rarity {
  font-size: 1.5rem;
  line-height: calc(2 / 1.5);
}
