/**
 * live-spotlight-tour.css
 * 🎯 호스피스 전주기 5단계 라이브 화면 전환 스포트라이트 투어 스타일시트
 * - 빨간 네모 테두리 깜빡깜빡 펄스 애니메이션 (@keyframes tutRedPulse)
 * - 글래스모피즘 안내 말풍선 툴팁 & 핑거 터치 가이드
 */

/* 1. 전체 화면 오버레이 컨테이너 */
#live-tour-overlay {
  position: fixed;
  inset: 0;
  z-index: 22000;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

/* 2. 빨간 네모 스포트라이트 박스 (타깃 엘리먼트 외곽을 감싸고 깜빡임) */
.tut-spotlight-box {
  position: absolute;
  border: 3px solid #ef4444;
  border-radius: 12px;
  box-sizing: border-box;
  pointer-events: auto;
  cursor: pointer;
  z-index: 22010;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: tutRedPulse 1.25s infinite ease-in-out;
  /* 타깃 외부 딤드 처리 (9999px 거대 섀도우) */
  box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.62), 0 0 16px rgba(239, 68, 68, 0.85);
}

/* 빨간 네모 펄스 깜빡임 애니메이션 */
@keyframes tutRedPulse {
  0% {
    border-color: #ef4444;
    box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.62), 0 0 0 0 rgba(239, 68, 68, 0.8);
    transform: scale(1);
  }
  50% {
    border-color: #f87171;
    box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.62), 0 0 0 8px rgba(239, 68, 68, 0);
    transform: scale(1.02);
  }
  100% {
    border-color: #ef4444;
    box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.62), 0 0 0 0 rgba(239, 68, 68, 0);
    transform: scale(1);
  }
}

/* 3. 안내 말풍선 툴팁 (스포트라이트 박스 위/아래에 부착) */
.tut-tooltip-bubble {
  position: absolute;
  width: calc(100vw - 36px);
  max-width: 360px;
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
  border: 1.5px solid #cbd5e1;
  box-sizing: border-box;
  pointer-events: auto;
  z-index: 22020;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tut-tooltip-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.tut-step-badge {
  font-size: 11px;
  font-weight: 800;
  color: #b91c1c;
  background: #fee2e2;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: -0.01em;
}

.tut-tooltip-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 4px;
}

.tut-tooltip-desc {
  font-size: 12px;
  color: #475569;
  line-height: 1.45;
  margin-bottom: 8px;
}

/* 건보 간병도우미 혜택 강조 상자 */
.tut-tooltip-highlight {
  background: #eff6ff;
  border-left: 3.5px solid #2563eb;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  color: #1e40af;
  line-height: 1.4;
  margin-bottom: 8px;
}

.tut-action-prompt {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #dc2626;
  animation: tutBlinkText 1s infinite alternate;
}

@keyframes tutBlinkText {
  from { opacity: 0.6; }
  to { opacity: 1; }
}

/* 4. 상단 건너뛰기 버튼 */
.tut-skip-btn {
  position: fixed;
  top: calc(var(--header-height, 56px) + 12px);
  right: 16px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  pointer-events: auto;
  z-index: 22030;
  backdrop-filter: blur(4px);
  transition: background 0.15s ease;
}

.tut-skip-btn:hover {
  background: rgba(15, 23, 42, 0.95);
}

.tut-btn-next-action:hover {
  background: #15803d !important;
  transform: translateY(-1px);
}

.tut-btn-next-action:active {
  transform: scale(0.98);
}


