.pe-timeline {
  position: relative;
  width: 100%;
  height: 2rem;
  background-image: repeating-linear-gradient(
    to right,
    var(--timeline-border-color),
    var(--timeline-border-color) 1px,
    var(--timeline-background) 1px,
    var(--timeline-background) var(--timeratio)
  );
  z-index: 1;
  cursor: cell;
}
.pe-timeline__labels {
  position: absolute;
  width: 100%;
  height: 50%;
  bottom: 0;
  background-image: repeating-linear-gradient(
    to right,
    var(--timeline-border-color),
    var(--timeline-border-color) 1px,
    var(--timeline-background) 1px,
    var(--timeline-background) calc(var(--timeratio) / 4)
  );
}
.pe-timeline-label {
  position: absolute;
  font-size: .75rem;
  text-align: center;
  width: var(--timeratio)px;
  overflow: hidden;
  transform: translate3d(-50%, -75%, 0);
  pointer-events: none;
  opacity: .3;
}
.pe-timeline-label:first-child {
  transform: translate3d(0%, -75%, 0);
}
.pe-timeline-label:last-child {
  transform: translate3d(-100%, -75%, 0);
}
.pe-timeline__cursor {
  display: none;
  position: absolute;
  width: 1px;
  height: 200px;
  background-color: red;
  pointer-events: none;
}
.pe-timeline__cue {
  display: block;
  position: absolute;
  height: .5rem;
  background: rgba(255,0,0,.8);
  border-radius: 8px;
  pointer-events: none;
}
.pe-timeline__cue::before {
  position: absolute;
  width: 0;
  height: 200px;
  top: -16px;
  border-left: 1px dotted rgba(255,0,0,.4);
  pointer-events: none;
  content: " ";
}
.pe-timeline__cue::after {
  position: absolute;
  width: 0;
  height: 200px;
  top: -16px;
  right: 0;
  border-right: 1px dotted rgba(255,0,0,.4);
  pointer-events: none;
  content: " ";
}
.pe-time {
  text-align: center;
  font-size: 0.75rem;
  margin-left: -1rem;
  margin-top: 1rem;
  background: #fff;
  color: red;
  pointer-events: none;
}
:root {
  --timeratio: 0px;
  --timeline-background: #fff;
  --timeline-border-color: var(--border-color);
}