@keyframes zoom {
  from {transform:scale(0.1)} 
  to {transform:scale(1)}
}
#toc {
  transition: transform 0.4s cubic-bezier(1, 0, 0.58, 1);
  transition: margin 0.4s cubic-bezier(1, 0, 0.58, 1);
}
#toc.peeking.xc {
  transform: translateX(calc(-0.9 * var(--sidebar-width)));
}
.modal {
  animation-name: zoom;
  animation-duration: 0.4s;
  animation-timing-function: ease-in;
}
#gallery figure[data-ss='thumb'] {
  cursor: zoom-in;
  transition: all 0.3s;
}
#gallery figure[data-ss='thumb']:hover {
  transform: scale(1.2);
}
#gallery figure.zoomed:hover {
  cursor: zoom-in;
  transform: scale(1);
}