/**
 * @fileoverview 수순 코멘트 말풍선 오버레이(#comment-bubble) 스타일.
 */

/* Comment Speech Bubble Overlay */
.comment-bubble-container {
  position: absolute;
  bottom: 85px; /* 컨트롤러 바로 위에 위치 */
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: 90%;
  max-width: 420px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(59, 130, 246, 0.25);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4), 0 0 15px rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  padding: 10px 14px;
  box-sizing: border-box;
  animation: bubbleFadeIn 0.3s ease-out;
}

.comment-bubble-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.comment-bubble-title {
  font-size: 0.8em;
  font-weight: 800;
  color: #60a5fa;
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.5px;
}

#comment-bubble-text {
  font-size: 0.95em;
  color: #e2e8f0;
  line-height: 1.4;
  word-break: keep-all;
}

.comment-bubble-arrow {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: rgba(15, 23, 42, 0.85);
  border-right: 1px solid rgba(59, 130, 246, 0.25);
  border-bottom: 1px solid rgba(59, 130, 246, 0.25);
}

@keyframes bubbleFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
