/* Clippy Component Styles */
clippy-character {
  position: fixed;
  bottom: calc(var(--taskbar-height, 30px) + 6px);
  right: 6px;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transform: translateY(50px) scale(0.6);
  transform-origin: right bottom;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

clippy-character.show {
  opacity: 1;
  transform: translateY(0) scale(0.6);
}

clippy-character.hide {
  opacity: 0;
  transform: translateY(50px) scale(0.6);
  pointer-events: none;
}

/* Animation for Clippy entrance */
@keyframes clippy-entrance {
  0% {
    opacity: 0;
    transform: translateY(100px) scale(0.4);
  }
  60% {
    opacity: 1;
    transform: translateY(-10px) scale(0.65);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(0.6);
  }
}

clippy-character.entering {
  animation: clippy-entrance 1.2s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
  clippy-character,
  clippy-character.entering {
    animation: none !important;
    transition: none !important;
  }
}

/* Clippy is intentionally desktop-only, including wide mobile landscape. */
@media (max-width: 768px), (hover: none) and (pointer: coarse) {
  clippy-character {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}
