/* Scrubber — hidden by default; visible only when body.observe-mode */
.lpw-scrubber {
  display: none;
}

body.observe-mode .lpw-scrubber {
  display: flex;
  align-items: center;
  gap: 12px;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 16px;
  background: rgba(20, 22, 28, 0.85);
  backdrop-filter: blur(4px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  color: #e5e7eb;
}

.lpw-scrubber input[type=range] {
  flex: 1;
  height: 4px;
  accent-color: #3b82f6;
  cursor: pointer;
}

.lpw-scrubber .mode-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
}

.lpw-scrubber .mode-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e; /* green LIVE */
}

.lpw-scrubber[data-mode="replay"] .mode-pill .dot {
  background: #ef4444; /* red REPLAY */
}

.lpw-scrubber[data-mode="replay"] .mode-pill {
  background: rgba(239, 68, 68, 0.15);
  color: #fecaca;
}

.lpw-scrubber .time-label {
  font-size: 11px;
  opacity: 0.7;
  min-width: 56px;
  text-align: right;
}

.lpw-scrubber .live-btn {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.lpw-scrubber .live-btn:hover {
  background: rgba(59, 130, 246, 0.25);
}
