.tour-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
}

.tour-highlight {
  position: fixed;
  z-index: 9999;
  border-radius: 10px;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.72), 0 0 0 2px var(--primary);
  pointer-events: none;
  animation: tour-pulse 2s ease-in-out infinite;
}

.tour-highlight.animated {
  transition: left 0.3s ease, top 0.3s ease, width 0.3s ease, height 0.3s ease;
}

@keyframes tour-pulse {
  0%, 100% { box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.72), 0 0 0 2px var(--primary); }
  50%       { box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.72), 0 0 0 4px var(--primary); }
}

.tour-tooltip {
  position: fixed;
  z-index: 10000;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px 16px;
  width: 360px;
  max-width: calc(100vw - 24px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  pointer-events: auto;
  transition: left 0.3s ease, top 0.3s ease;
}

.tour-counter {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.4px;
}

.tour-tooltip h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text);
}

.tour-tooltip p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 14px;
}

.tour-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.tour-dots {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-shrink: 0;
}

.tour-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.2s;
}

.tour-dot.active {
  background: var(--primary);
}

.tour-btn-group {
  display: flex;
  gap: 4px;
}

.tour-btn {
  padding: 5px 13px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 0.78rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.tour-btn-primary {
  background: var(--primary);
  color: #121212;
  font-weight: 600;
}

.tour-btn-primary:hover {
  filter: brightness(1.12);
}

.tour-btn-secondary {
  background: transparent;
  color: var(--text-muted);
}

.tour-btn-secondary:hover {
  color: var(--text);
  background: var(--surface-hover);
}

.tour-skip {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.71rem;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.tour-skip:hover {
  color: var(--text);
}
