.page, .empty {
  transition: transform 0.2s ease-in-out;
}

/* Wiki tab: keep text + icon on one line, icon inline to the right */
a#tab6 {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  gap: 7px;
}

#wikipagestack {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 1;
}

#wikipagestack i {
  display: inline-block;
  font-size: 0.82em;
  margin-left: -7px;
}
#wikipagestack i:first-child { margin-left: 0; }
#wikipagestack i.page { color: white; border-left: solid 1px grey; }
#wikipagestack i.empty { color: dimgrey; margin-left: 0; }

@media (max-width: 1050px) {
  #wikipagestack { display: none; }
}
 #wikipagestack:hover .spread-icons2 {

   animation: spread-iconsani2;
   animation-timing-function: ease;
   animation-iteration-count: infinite;
    transform-origin: bottom;
}
*/

.spread-icons0 {
  position: relative;
  animation: spread-iconsani0 5s ease ;
 /* transition: transform 1s ease-in-out;*/

}

@keyframes spread-iconsani0 {
  0% {
    transform: none;
  }

  50% {
    transform: translateX(-4px) translateY(-4px);
     box-shadow: 2px 2px 5px yellow;
    
  }

  100% {
    transform: none;
   
  }
}

.spread-icons2 {
  position: relative;
  animation: spread-iconsani2 4s ease forwards;
 /* transition: transform 6s ease-in-out;*/
      
}

@keyframes spread-iconsani2 {
  0% {
    transform: none;
  }

  50% {
    transform: translateX(4px) translateY(4px);
    box-shadow: 2px 2px 5px yellow;
  }

  100% {
    transform: none;
  }
}