/* ═══ THE CHAT BUBBLE — styling ═══ */
.chat-bubble {
  position: fixed; right: 0; top: 46%; z-index: 950;
  display: flex; align-items: center; gap: 9px;
  padding: 12px 20px 12px 16px;
  background: linear-gradient(135deg, #0a0a18 0%, #10101f 100%);
  color: #e8e2d4; text-decoration: none;
  border: 1px solid rgba(0, 255, 102, 0.5);
  border-right: none; border-radius: 999px 0 0 999px;
  box-shadow: -4px 4px 22px rgba(0, 0, 0, 0.5);
  transition: transform .25s, box-shadow .25s, border-color .2s;
  font-size: 13.5px; font-weight: 600; letter-spacing: .02em;
}
.chat-bubble:hover {
  transform: translateX(-6px);
  border-color: #00ff66;
  box-shadow: -6px 6px 28px rgba(0, 255, 102, 0.25);
}
.chat-bubble-dot {
  width: 10px; height: 10px; border-radius: 50%; flex: none;
  background: #00ff66;
  box-shadow: 0 0 10px rgba(0, 255, 102, .9);
  animation: chat-bubble-pulse 2.2s ease-in-out infinite;
}
@keyframes chat-bubble-pulse {
  0%, 100% { box-shadow: 0 0 6px rgba(0,255,102,.5); }
  50% { box-shadow: 0 0 16px rgba(0,255,102,.95); }
}
.chat-bubble.turning .chat-bubble-text {
  opacity: 0; transform: translateY(4px);
}
.chat-bubble-text {
  transition: opacity .24s ease, transform .24s ease;
}
.chat-bubble::before {
  content: ''; position: absolute; left: 12px; bottom: -3px;
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(0, 255, 102, .35);
}

@media (max-width: 720px) {
  .chat-bubble {
    top: auto; bottom: 88px; right: 12px;
    border-radius: 999px; border-right: 1px solid rgba(0, 255, 102, 0.5);
    font-size: 12.5px; padding: 10px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chat-bubble-dot { animation: none; }
  .chat-bubble-text { transition: none; }
}
