.fav-list {
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;

  #my-favs & {
    border-top: 1px solid var(--fav-list-border);
  }

  li {
    margin-left: 0;
    padding-left: 0;
    padding-top: 3px;
    padding-bottom: 3px;
    position: relative;

    #my-favs & {
      line-height: 2;
      border-bottom: 1px solid var(--fav-list-border);
      padding-top: 3px;
      padding-bottom: 3px;
      position: relative;
    }

    #my-favs:focus-within & {
      border-bottom-color: var(--fav-list-border-alt);
    }

    span.zoom {
      display: none;

      img {
        width: 5em;
        max-width: 64px;
        height: 5em;
        max-height: 64px;
      }
    }

    &:hover span.zoom {
      display: block;
      position: absolute;
      top: 2em;
      left: 10em;
      background-color: var(--index-icon-background);
      border: 1px solid var(--index-icon-border);
      padding: 1em;
      border-radius: 0.5em;
      z-index: 1;
    }
  }

  img {
    vertical-align: middle;
    margin-top: -0.235ex; // margin-top: -.235ex see https://www.matthecat.com/aligner-icone-et-texte.html
    margin-right: 0.2em;
    width: 1em;
    height: 1em;
  }
}

#my-favs {
  border-color: var(--my-favs-border);

  input.position {
    margin: 0 0 0.4em 0.2em;
  }
}

#available-favs {
  input,
  label,
  label span {
    white-space: normal;
    display: inline;
  }

  label span.zoom {
    display: none;
  }

  li:hover label span.zoom {
    display: block;
    position: absolute;
    top: 2em;
    left: 10em;
    background-color: var(--index-icon-background);
    border: 1px solid var(--index-icon-border);
    padding: 1em;
    border-radius: 0.5em;
    z-index: 1;
  }
}

#user-options label.ib {
  display: inline-block;
  width: 14em;
  padding-right: 1em;
}
