#settings-container h2 {
  font-size: 0.9em;
  text-transform: uppercase;
  color: var(--text-insignificant-color);
}
#settings-container h2 ~ h2 {
  margin-top: 2em;
}

#settings-container ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#settings-container ul li {
  padding: 8px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
#settings-container ul li .current {
  margin-right: 8px;
  color: var(--green-color);
  opacity: 0.1;
}
#settings-container ul li .current.is-current {
  opacity: 1;
}
#settings-container ul li .current.is-current + .avatar {
  box-shadow: 0 0 0 1.5px var(--green-color);
}
#settings-container ul li > div {
  flex-grow: 1;
  max-width: 100%;
}
#settings-container ul li > div.actions {
  flex-basis: min-content;
  margin-top: 8px;
}
#settings-container ul li > div:last-child {
  text-align: right;
}
#settings-container div,
#settings-container div > * {
  vertical-align: middle;
}
#settings-container .avatar {
  margin-right: 8px;
}

#settings-container .radio-group {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--button-bg-color);
  overflow: hidden;
  padding: 1px;
}
#settings-container .radio-group input[type='radio'] {
  opacity: 0;
  position: absolute;
  pointer-events: none;
}
#settings-container .radio-group label {
  display: inline-block;
  padding: 6px 12px;
  cursor: pointer;
}
#settings-container .radio-group label input:checked + span {
  color: var(--link-color);
  font-weight: bold;
}
#settings-container .radio-group label:is(:hover, :focus) {
  color: var(--button-bg-color);
}
#settings-container .radio-group label:has(input:checked) {
  border-radius: 999px;
  color: var(--button-text-color);
  background-color: var(--button-bg-color);
}
#settings-container .radio-group label:has(input:checked) input:checked + span {
  color: inherit;
}
