.taunt-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  z-index: 1500;
  pointer-events: none;
  max-height: 60vh;
  overflow: hidden;
}

.taunt-bubble {
  transform: scale(0.8) translateX(20px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  max-width: 260px;
  font-size: 0.85rem;
  color: var(--text);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
  cursor: move;
  user-select: none;
}

.taunt-bubble.show {
  opacity: 1;
  transform: scale(1) translateX(0);
}

.taunt-bubble svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.taunt-bubble .taunt-text {
  line-height: 1.3;
  font-size: 0.8rem;
}

.taunt-bubble.terrible,
.taunt-bubble.bad {
  border-left: 3px solid #f44336;
}

.taunt-bubble.good,
.taunt-bubble.excellent {
  border-left: 3px solid #4caf50;
}

.taunt-bubble.victory {
  border-left: 3px solid #ffd700;
}

.taunt-bubble.fade-out {
  opacity: 0;
  transform: translateX(120%);
  transition: opacity 0.3s ease-in, transform 0.3s ease-in;
}

.stealth-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}

.stealth-overlay.show {
  opacity: 1;
}

.stealth-overlay-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.stealth-overlay-content {
  position: relative;
  text-align: center;
  transform: scale(0.3);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stealth-overlay.show .stealth-overlay-content {
  transform: scale(1);
}

.stealth-title {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  background: linear-gradient(135deg, #ff0040, #ff6a00, #ff0040);
  background-size: 200% 200%;
  animation: stealth-title-glow 1s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 20px rgba(255,0,64,0.5));
  margin-bottom: 16px;
}

@keyframes stealth-title-glow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.stealth-msg {
  font-size: 1.4rem;
  color: #fff;
  text-shadow: 0 0 20px rgba(255,106,0,0.8), 0 2px 4px rgba(0,0,0,0.5);
  letter-spacing: 0.1em;
  line-height: 1.6;
  max-width: 80vw;
}

.stealth-overlay.fade-out {
  opacity: 0;
  transition: opacity 0.6s;
}

.stealth-overlay.fade-out .stealth-overlay-content {
  transform: scale(1.5);
  transition: transform 0.6s ease-in;
}
