/* --- Karaoke Mode Styles --- */
body.karaoke-active {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Keep background stationary */
    transition: background-image 1.5s ease-in-out !important; /* Added !important to ensure override */
}

/* Add a semi-transparent plate for text readability */
/* This style applies when the text style 'karaoke' is active */
#lyrics-container.style-karaoke #lyrics-display {
    font-family: 'Times New Roman', Times, serif !important;
    background-color: transparent !important;
    color: #FFFFFF;
    text-align: center;
    padding: 0 !important;
    border-radius: 0 !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    line-height: 1.8;
}

/* Локальная подложка только под строками караоке */
#lyrics-container.style-karaoke .karaoke-panel {
    display: inline-block;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 14px;
    padding: 16px 22px;
    margin: 18px auto 0 auto;
    box-shadow: 0 6px 24px rgba(0,0,0,0.25);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

#lyrics-container.style-karaoke .karaoke-panel .lyric-line {
    padding: 4px 8px;
}

/* Make the app container transparent to show the body's background */
body.karaoke-active .app-container {
    background-color: transparent !important;
}

#lyrics-container.style-karaoke #lyrics-display .lyric-line {
    padding: 0.2em 0.5em;
    margin: 0.25em 0;
    font-family: 'Arial', 'Helvetica', sans-serif !important;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    line-height: 1.4;
} 