/* TimTaj Design — shared Kentha Player presentation */
#qtBody #qtMplayerPlaylistTrackAdv {
border-radius: 0 !important;
  clip-path: inset(0) !important;
  transform: none !important;
}

/* Kentha Player stays intact; only its Home palette follows the approved light UI. */
#qtBody #qtmusicplayer-controls,
#qtBody #qtmusicplayer-controls .qt-mplayer__controllayer {
background: #ffffff !important;
  color: var(--tt-color-text) !important;
  box-shadow: 0 -1px 0 #dbe6f3;
}

#qtBody #qtmusicplayer-controls .qt-mplayer__track {
background: #ffffff !important;
  color: var(--tt-color-text) !important;
}

#qtBody #qtmusicplayer-controls .qt-mplayer__track .qt-mplayer__title,
#qtBody #qtmusicplayer-controls .qt-mplayer__track .qt-mplayer__artist,
#qtBody #qtmusicplayer-controls .qt-mplayer__track .qt-mplayer__time,
#qtBody #qtmusicplayer-controls .qt-mplayer__track .qt-mplayer__length {
color: var(--tt-color-text) !important;
}

#qtBody #qtKenthaPlayerWaveform #qtwaveformOriginal {
/* Kentha renders this layer white; turn it into a clear neutral waveform on white. */
  filter: brightness(0.36);
  opacity: 0.85 !important;
}

/* Kentha rounds every waveform column to whole pixels, leaving the drawing short on wide
 * players. Stretch both canvases and compensate the clone clip to preserve exact timing. */
#qtBody #qtKenthaPlayerWaveform canvas {
transform: scaleX(var(--tt-waveform-scale-x, 1));
  transform-origin: left center;
}

#qtBody #qtKenthaPlayerWaveform #qtwaveformClone {
clip-path: polygon(0 0, var(--tt-waveform-clip, 0%) 0, var(--tt-waveform-clip, 0%) 100%, 0 100%) !important;
}



@media (min-width: 768px) {
#qtBody #qtMplayerTadv {
/* Desktop waveform clone renders the exact playback position. */
    background-color: transparent !important;
    opacity: 0 !important;
}
}

/* Keep Kentha's temporary download buffer neutral between every track switch. */
#qtBody #qtMplayerBuffer {
background-color: #ffffff !important;
  opacity: 1 !important;
}



/* Both Home card groups use the same slim progress indicator. */
@media (min-width: 768px) {
#qtBody #qtMplayerPlaylistTrackAdv {
display: none !important;
}
}



@media (min-width: 768px) {
#qtBody #qtMplayerPlaylistTrackAdv {
display: none !important;
}
}

#qtBody #qtmusicplayer-controls .qt-mplayer__play {
border-radius: 0;
  background: var(--tt-color-primary) !important;
  color: #ffffff !important;
}

#qtBody #qtmusicplayer-controls .qt-mplayer__prev,
#qtBody #qtmusicplayer-controls .qt-mplayer__next,
#qtBody #qtmusicplayer-controls .qt-mplayer__volume,
#qtBody #qtmusicplayer-controls .qt-mplayer__cart,
#qtBody #qtmusicplayer-controls .qt-mplayer__playlistbtn {
color: var(--tt-color-text) !important;
}

#qtBody #qtmusicplayer-controls .qt-mplayer__volfill,
#qtBody #qtmusicplayer-controls .qt-mplayer__fullwaveform::before {
background-color: var(--tt-color-primary) !important;
}

/* Kentha's loading overlay and legacy hover states must not reintroduce green. */
#qtBody #qtmplayerNotif.qt-content-secondary {
background-color: var(--tt-color-primary) !important;
}

#qtBody #qtmusicplayer-controls .qt-mplayer__cart:hover,
#qtBody #qtmusicplayer-controls .qt-mplayer__prev:hover,
#qtBody #qtmusicplayer-controls .qt-mplayer__next:hover,
#qtBody #qtmusicplayer-controls .qt-mplayer__playlistbtn:hover {
background-color: #e7f0ff !important;
  color: var(--tt-color-primary) !important;
}

/* Restore Kentha's real player layers; only recolor the active progress blue. */
#qtBody #qtMplayerBuffer {
background-color: transparent !important;
  opacity: 0 !important;
}

#qtBody #qtMplayerTadv,
#qtBody #qtMplayerPlaylistTrackAdv {
display: block !important;
  background-color: #6ca6f3 !important;
  opacity: 0.8 !important;
}

