/* Timed Lyrics Styles */

/* Container */
.tl-wrap {
  max-width: 70ch;
  margin: 1.5rem auto;
  position: relative;
}

/* Lyric lines */
.tl-line {
  opacity: 0.65;
  transition: opacity 0.25s ease, transform 0.25s ease;
  line-height: 1.65;
  padding: 0.15rem 0;
  will-change: opacity, transform;
  font-size: 1.1rem;
  color: #e9ecef;
}

/* Active line */
.tl-line.active {
  opacity: 1;
  transform: translateX(2px);
  text-shadow: 0 0 8px rgba(202, 168, 106, 0.25);
  color: #fff;
  font-weight: 500;
}

/* Scroll area if long */
.tl-scroll {
  max-height: 50vh;
  overflow-y: auto;
  padding-right: 0.5rem;
  scroll-behavior: smooth;
}

/* Custom scrollbar */
.tl-scroll::-webkit-scrollbar {
  width: 6px;
}

.tl-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.tl-scroll::-webkit-scrollbar-thumb {
  background: rgba(202, 168, 106, 0.3);
  border-radius: 3px;
}

.tl-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(202, 168, 106, 0.5);
}

/* Reader toolbar */
.tl-toolbar {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.tl-toolbar .btn {
  min-width: 100px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .tl-line {
    font-size: 1rem;
  }

  .tl-scroll {
    max-height: 60vh;
  }
}

