/* === TickCooldown Component (compact, inline) === */
.container {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.indicator {
  flex-shrink: 0;
}

.tickBadge {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  transition: color 0.3s ease;
}

.tickIcon {
  color: var(--hull-grey);
  transition: color 0.3s ease;
}

.tickNum {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--hull-grey);
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s ease;
}

.tickBadgeFlash .tickIcon,
.tickBadgeFlash .tickNum {
  color: var(--void-purple);
  text-shadow: 0 0 8px rgba(155, 89, 182, 0.6);
}

/* Track */
.track {
  width: 50px;
  height: 4px;
  background: rgba(61, 90, 108, 0.3);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--void-purple);
  border-radius: 2px;
  transition: none;
  will-change: width;
}

/* Waiting state before first tick */
.fillWaiting {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(155, 89, 182, 0.3);
  animation: tickPulse 2s ease-in-out infinite;
}

@keyframes tickPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

/* Flash state when tick arrives */
.fillFlash {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 6px rgba(155, 89, 182, 0.6);
}

/* Burst effect on tick arrival */
.burst {
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  bottom: -2px;
  background: rgba(155, 89, 182, 0.5);
  animation: tickBurst 0.7s ease-out forwards;
  pointer-events: none;
  border-radius: 2px;
}

@keyframes tickBurst {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
