/* Collection Timeline Bar (design spec section 10) */

.collection-timeline { margin-bottom: var(--space-5); }

.collection-timeline-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.collection-timeline-track {
  height: 6px;
  background: var(--bg-elevated);
  border-radius: var(--radius-full);
  display: flex;
  gap: 2px;
  position: relative;
}

.timeline-segment {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: filter 140ms;
}
.timeline-segment:hover { filter: brightness(1.4); }

.timeline-segment.active {
  animation: timeline-pulse 2s ease-in-out infinite;
}

@keyframes timeline-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 200, 232, 0.5); }
  50%       { box-shadow: 0 0 0 4px rgba(0, 200, 232, 0); }
}

.timeline-gap {
  height: 100%;
  border-radius: var(--radius-full);
  border: 1px dashed rgba(255, 61, 92, 0.35);
  background: rgba(255, 61, 92, 0.06);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
}

/* Glass tooltip */
.timeline-tooltip {
  position: absolute;
  bottom: calc(100% + var(--space-2));
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-xs);
  white-space: nowrap;
  pointer-events: none;
  box-shadow: var(--shadow-md);
  z-index: 50;
  display: none;
}

.timeline-segment:hover .timeline-tooltip,
.timeline-gap:hover .timeline-tooltip { display: block; }

.timeline-tooltip-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: 2px;
}
.timeline-tooltip-key { color: var(--text-secondary); }
.timeline-tooltip-val { font-family: var(--font-mono); color: var(--text-primary); }
