/* Barras finas, redondeadas y alineadas con la paleta del sitio. */
* {
  scrollbar-color: #94a3b8 transparent;
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: #94a3b8;
  background-clip: padding-box;
  border: 3px solid transparent;
  border-radius: 9999px;
  transition: background-color .18s ease;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #3e9bd6;
}

::-webkit-scrollbar-thumb:active {
  background-color: #2c82b8;
}

::-webkit-scrollbar-corner {
  background: transparent;
}

/* Contraste para la navegación sobre el fondo oscuro. */
.scroll-oscuro {
  scrollbar-color: #7fa0bf transparent;
}

.scroll-oscuro::-webkit-scrollbar-thumb {
  background-color: #7fa0bf;
}

.scroll-oscuro::-webkit-scrollbar-thumb:hover {
  background-color: #63afde;
}

.scroll-oscuro::-webkit-scrollbar-thumb:active {
  background-color: #ffffff;
}
