/* Tooltip with glassmorphism effect */

.tooltip{
  position: relative;
  cursor: help;
}

.tooltip::after{
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);

  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  border: 1px solid rgba(0,0,0,0.6);

  border-radius: 0;

  padding: 10px 14px;

  font-size: 13px;
  line-height: 1.35;
  color: inherit;

  opacity: 0;
  transition: opacity 0.15s ease;

  z-index: 9999;

  white-space: normal;
  width: max-content;
  max-width: 340px;

  pointer-events: none;
}

.tooltip:hover::after{
  opacity: 1;
}

.tooltip-inconscient:hover::after{
  content: "Partie de la psyché inaccessible à la conscience.";
}

.tooltip{
  display: inline-block;
  position: relative;
}
