.niu-mascot-runner {
  position: fixed;
  z-index: 150;
  left: 0;
  top: 0;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 0;
  background: transparent;
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
  will-change: left, top;
}
.niu-mascot-runner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 3px 5px rgba(8, 47, 61, .2));
  user-select: none;
  -webkit-user-drag: none;
  transform-origin: 50% 84%;
  animation: niu-mascot-breathe 2.4s ease-in-out infinite;
}
.niu-mascot-runner.is-running img {
  animation: none;
}
.niu-mascot-runner.is-dragging {
  z-index: 152;
  cursor: grabbing;
}
.niu-mascot-runner.is-dragging img { animation: none; }
.niu-mascot-speech {
  position: fixed;
  z-index: 151;
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: max-content;
  max-width: min(190px, calc(100vw - 24px));
  padding: 6px 8px 7px;
  border: 1px solid rgba(14, 77, 100, .08);
  border-radius: 12px 12px 12px 5px;
  background: rgba(255, 253, 248, .34);
  box-shadow: 0 2px 6px rgba(8, 47, 61, .05);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  color: #23303a;
  font-size: 11px;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transform: translateY(5px) scale(.98);
  transition: opacity .18s ease, transform .18s ease;
}
.niu-mascot-speech[hidden] { display: none; }
.niu-mascot-speech::after {
  position: absolute;
  left: 26px;
  bottom: -13px;
  width: 0;
  height: 0;
  border: 7px solid transparent;
  border-top-color: rgba(255, 253, 248, .34);
  content: "";
}
.niu-mascot-speech.is-below::after {
  top: -13px;
  bottom: auto;
  border-top-color: transparent;
  border-bottom-color: rgba(255, 253, 248, .34);
}
.niu-mascot-speech.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.niu-mascot-speech-name {
  color: #e07a2c;
  font-size: 9px;
  font-weight: 800;
}
.niu-mascot-speech-text { color: #23303a; }
@keyframes niu-mascot-breathe {
  0%, 100% { transform: translateY(0) scale(1, 1); }
  50% { transform: translateY(-1px) scale(1.025, 1.035); }
}
@media (max-width: 480px) {
  .niu-mascot-runner { width: 56px; height: 56px; }
}
@media (prefers-reduced-motion: reduce), print {
  .niu-mascot-runner { display: none !important; }
  .niu-mascot-speech { display: none !important; }
}
