/* BoostNet Playground - Original IP BOOSTY (小布) System */
.mascot-container {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.mascot-svg-wrap {
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mascot-svg-wrap:hover {
  transform: scale(1.05) rotate(2deg);
}

.mascot-dialog-bubble {
  position: absolute;
  top: -65px;
  background: var(--play-surface);
  border: var(--play-border-width) solid var(--play-border);
  border-radius: var(--play-radius-md);
  box-shadow: var(--play-shadow-sm);
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 800;
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
  animation: floatBubble 3s ease-in-out infinite alternate;
}

.mascot-dialog-bubble::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px 8px 0;
  border-style: solid;
  border-color: var(--play-border) transparent;
  display: block;
  width: 0;
}

@keyframes floatBubble {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

/* Floating animation for Mascot Hero */
.mascot-float {
  animation: mascotHover 4s ease-in-out infinite;
}

@keyframes mascotHover {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
