/* Lyrics CSS - extracted for shared usage */
.lyrics-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.lyrics-card-header {
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.lyrics-card-header h3 {
  font-size: 16px;
  color: var(--song-card-title-color);
  margin: 0;
}

.lyrics-scroll-container {
  flex-grow: 1;
  overflow-y: auto;
  position: relative;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
  padding: 40px 10px;
  scrollbar-width: none;
}

.lyrics-scroll-container::-webkit-scrollbar {
  display: none;
}

.lyrics-content-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lyric-row {
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
  padding: 6px;
}

.lyric-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.lyric-row.dim {
  opacity: 0.45;
  transform: scale(0.96);
}

.lyric-row.active {
  opacity: 1;
  transform: scale(1.04);
  filter: none;
}

.lyric-col {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lyric-col.left {
  justify-content: flex-start;
  text-align: left;
}

.lyric-col.right {
  justify-content: flex-end;
  text-align: right;
}

.lyric-col.center {
  justify-content: center;
  text-align: center;
}

.lyric-text {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.4;
  transition: color 0.3s;
}

.lyric-row.active .lyric-text {
  color: var(--lyric-active-color);
  font-size: 18px;
  font-weight: 700;
  text-shadow: 0 0 15px var(--lyric-active-shadow);
}

.lyric-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
  
  /* Solid Bold Base */
  background-color: var(--voice-color, #666666);
  color: #ffffff;
  border: 1px solid color-mix(in srgb, var(--voice-color, #666) 80%, transparent);
  box-shadow: 0 2px 10px color-mix(in srgb, var(--voice-color, #000) 40%, transparent),
              inset 0 1px 0 color-mix(in srgb, white 20%, transparent);
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

/* Speaker badge color classes 1..10 */
.c1 { --voice-color: #3b82f6; }
.c2 { --voice-color: #10b981; }
.c3 { --voice-color: #f59e0b; }
.c4 { --voice-color: #d946ef; }
.c5 { --voice-color: #f43f5e; }
.c6 { --voice-color: #a855f7; }
.c7 { --voice-color: #94a3b8; }
.c8 { --voice-color: #0ea5e9; }
.c9 { --voice-color: #06b6d4; }
.c10 { --voice-color: #f87171; }

.lyrics-error {
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
  padding: 40px 0;
  font-style: italic;
}
