#infinite-grid-menu-canvas {
  cursor: grab;
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  outline: none;
}

#infinite-grid-menu-canvas:active {
  cursor: grabbing;
}

.drag-hint {
  position: absolute;
  left: 50%;
  bottom: 3.8em;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: rgba(252, 252, 252, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(252, 252, 252, 0.18);
  border-radius: 100px;
  color: rgba(252, 252, 252, 0.85);
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.face-title {
  user-select: none;
  position: absolute;
  font-weight: 900;
  font-size: 2.4rem;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
  color: #FCFCFC;
  left: 1.6em;
  top: 50%;
  transform: translate(20%, -50%);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.face-title.active {
  opacity: 1;
  transform: translate(20%, -50%);
  pointer-events: auto;
  transition: 0.5s ease;
}

.face-title.inactive {
  pointer-events: none;
  opacity: 0;
  transition: 0.1s ease;
}

.face-description {
  user-select: none;
  position: absolute;
  max-width: 12ch;
  top: 50%;
  font-size: 1.1rem;
  color: #C4C4C4;
  right: 1%;
  transform: translate(0, -50%);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.face-description.active {
  opacity: 1;
  transform: translate(-90%, -50%);
  pointer-events: auto;
  transition: 0.5s ease;
}

.face-description.inactive {
  pointer-events: none;
  transform: translate(-60%, -50%);
  opacity: 0;
  transition: 0.1s ease;
}

.drag-hint.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.drag-hint.inactive {
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

@media (max-width: 1500px) {
  .face-title,
  .face-description {
    display: none;
  }
}
