.daboni-mascot-root {
  position: fixed;
  left: 0;
  top: 0;
  width: 80px;
  height: 80px;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%) scale(1, 1);
  transition: transform 0.15s ease-out;
  will-change: left, top, transform;
}

.daboni-mascot-root img {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(21, 86, 184, 0.22));
  transition: opacity 0.2s;
}

.daboni-mascot-root.daboni-mascot-flipped {
  transform: translate(-50%, -50%) scale(-1, 1);
}

.daboni-mascot-aura {
  position: fixed;
  left: 0;
  top: 0;
  width: 190px;
  height: 190px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.34;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 44% 42%, rgba(186, 246, 255, 0.28), transparent 28%),
    radial-gradient(circle at 58% 56%, rgba(122, 240, 184, 0.18), transparent 44%),
    radial-gradient(circle, rgba(77, 166, 240, 0.16), transparent 68%);
  filter: blur(24px);
  mix-blend-mode: screen;
  transition: left 0.18s ease-out, top 0.18s ease-out, opacity 0.3s ease;
  will-change: left, top, opacity;
}

.daboni-mascot-bubble {
  position: fixed;
  pointer-events: none;
  z-index: 10001;
  background: #fff;
  border: 2px solid var(--accent, #1556b8);
  color: #1a2940;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.45;
  max-width: 220px;
  opacity: 0;
  transform: translate(-50%, calc(-100% - 48px));
  transition: opacity 0.25s;
  box-shadow: 0 4px 12px rgba(21, 86, 184, 0.15);
  font-weight: 500;
}

.daboni-mascot-bubble::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid var(--accent, #1556b8);
}

.daboni-mascot-bubble.daboni-mascot-show {
  opacity: 1;
}

.daboni-mascot-splash {
  position: fixed;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #b3e0ff, #4ba6f0);
  opacity: 0.6;
  pointer-events: none;
  z-index: 9999;
  animation: daboniMascotFadeSplash 1.4s forwards;
}

@keyframes daboniMascotFadeSplash {
  0% { transform: scale(0.4); opacity: 0.7; }
  60% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.3); opacity: 0; }
}

@media (max-width: 768px) {
  .daboni-mascot-root {
    left: auto;
    top: auto;
    right: 16px;
    bottom: 16px;
    width: 70px;
    height: 70px;
    pointer-events: none;
    transform: none;
  }

  .daboni-mascot-root.daboni-mascot-flipped {
    transform: none;
  }

  .daboni-mascot-aura {
    display: block;
    left: auto;
    top: auto;
    right: -44px;
    bottom: -42px;
    width: 170px;
    height: 170px;
    opacity: 0.3;
    transform: none;
  }

  .daboni-mascot-bubble {
    left: auto;
    top: auto;
    right: 16px;
    bottom: 94px;
    max-width: min(220px, calc(100vw - 32px));
    transform: none;
  }

  .daboni-mascot-bubble::after {
    left: auto;
    right: 26px;
    transform: none;
  }

  .daboni-mascot-splash {
    display: none;
  }
}
