/**
 * LOOKITSGRAPHIC — Audio/Video Studio
 * Visuel timeline animé — moniteur vide (.empty-monitor)
 */

.empty-monitor > span.empty-monitor-visual {
  background: transparent;
  border: 0;
  box-shadow: none;
  width: auto;
  height: auto;
  display: block;
  place-items: unset;
}

.av-timeline {
  position: relative;
  width: 236px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.av-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.av-label {
  width: 28px;
  flex: none;
  text-align: left;
  font: 900 10px/1 "Courier New", monospace;
  letter-spacing: 0.06em;
  color: #8f8c86;
}

.av-lane {
  flex: 1;
  display: flex;
  align-items: stretch;
  gap: 3px;
  padding: 2px;
  border: 1.5px solid #4a4844;
}

.av-lane.vid { height: 20px; }
.av-lane.aud { height: 26px; }
.av-lane.txt { height: 18px; }

.av-clip {
  border: 1.5px solid #fff;
  background: var(--av-c);
  animation: av-breathe 3.4s ease-in-out infinite;
}

@keyframes av-breathe {
  0%, 100% { filter: brightness(0.75); }
  50%      { filter: brightness(1.15); }
}

.av-wave {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0 4px;
}

.av-wave i {
  display: block;
  width: 3px;
  height: 9px;
  background: var(--cyan);
  transform-origin: center;
  animation: av-bar 0.62s ease-in-out infinite alternate;
}

@keyframes av-bar {
  0%   { transform: scaleY(0.35); }
  100% { transform: scaleY(2.5); }
}

.av-playhead {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 2px;
  background: #fff;
  z-index: 4;
  animation: av-sweep 5.2s linear infinite;
}

.av-playhead::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  width: 10px;
  height: 7px;
  background: var(--acid);
}

@keyframes av-sweep {
  0%   { left: 12%; }
  100% { left: 97%; }
}

@media (prefers-reduced-motion: reduce) {
  .av-timeline * {
    animation: none !important;
  }

  .av-wave i:nth-child(3n)   { transform: scaleY(2); }
  .av-wave i:nth-child(3n+1) { transform: scaleY(1.2); }
  .av-playhead { left: 44%; }
}
