.mc-lyrics-player {
  --mc-active-size: 28px;
  --mc-title-size: 42px;
  --mc-lyrics-height: 280px;
  --mc-accent: #ffffff;
  --mc-title-color: #ffffff;
  --mc-title-font: inherit;
  --mc-overlay: rgba(0,0,0,0.62);
  --mc-bg-image: linear-gradient(135deg, #1d3557, #0f172a);
  max-width: 860px;
  margin: 32px auto;
  color: #fff;
  border-radius: 26px;
  overflow: hidden;
  background: #111827;
  box-shadow: 0 18px 60px rgba(0,0,0,.32);
  position: relative;
}

.mc-lyrics-player::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--mc-bg-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  z-index: 0;
}

.mc-lyrics-player::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--mc-overlay);
  z-index: 1;
}

.mc-lyrics-inner {
  position: relative;
  z-index: 2;
  padding: 28px;
}

.mc-player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.mc-player-kicker {
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .72;
  margin-bottom: 5px;
}

.mc-player-header h3 {
  margin: 0;
  font-size: clamp(24px, 4vw, var(--mc-title-size));
  line-height: 1.12;
  font-weight: 800;
  font-family: var(--mc-title-font);
  color: var(--mc-title-color);
  text-shadow: 0 3px 18px rgba(0,0,0,.45);
}

.mc-audio {
  width: 100%;
  margin: 8px 0 14px;
  display: block;
}

.mc-player-actions {
  display: flex;
  justify-content: center;
  margin: 0 0 24px;
}

.mc-download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  color: #111827;
  background: var(--mc-accent);
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transition: transform .2s ease, opacity .2s ease;
}

.mc-download-button:hover,
.mc-download-button:focus {
  color: #111827;
  text-decoration: none;
  transform: translateY(-1px);
  opacity: .92;
}

.mc-stats {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: -6px 0 18px;
  font-size: 13px;
  opacity: .78;
}

.mc-stats span {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
}

.mc-stats strong {
  color: var(--mc-accent);
}

.mc-lyrics-box {
  height: var(--mc-lyrics-height);
  overflow: hidden;
  position: relative;
  border-radius: 20px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(5px);
  padding: 18px 14px;
}

.mc-lyrics-lines {
  transition: transform .38s ease;
  will-change: transform;
}

.mc-lyric-line {
  font-size: calc(var(--mc-active-size) - 6px);
  line-height: 1.55;
  opacity: .42;
  font-weight: 500;
  padding: 5px 8px;
  transition: opacity .25s ease, transform .25s ease, font-size .25s ease, color .25s ease;
  text-align: center;
}

.mc-lyric-line.active {
  opacity: 1;
  transform: scale(1.035);
  font-size: var(--mc-active-size);
  font-weight: 800;
  color: var(--mc-accent);
  text-shadow: 0 3px 14px rgba(0,0,0,.65);
}

.mc-player-notice {
  padding: 14px 16px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
}

.mc-equalizer {
  width: 72px;
  height: 52px;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.16);
  flex: 0 0 auto;
}

.mc-equalizer span {
  width: 7px;
  height: 12px;
  border-radius: 999px;
  background: var(--mc-accent);
  opacity: .72;
  animation: mcEqualizerIdle 1.25s ease-in-out infinite;
  animation-play-state: paused;
}

.mc-lyrics-player.is-playing .mc-equalizer span {
  animation-name: mcEqualizerPlay;
  animation-play-state: running;
}

.mc-equalizer span:nth-child(1) { animation-delay: -.1s; }
.mc-equalizer span:nth-child(2) { animation-delay: -.35s; }
.mc-equalizer span:nth-child(3) { animation-delay: -.55s; }
.mc-equalizer span:nth-child(4) { animation-delay: -.25s; }
.mc-equalizer span:nth-child(5) { animation-delay: -.45s; }

@keyframes mcEqualizerPlay {
  0%, 100% { height: 12px; opacity: .55; }
  25% { height: 34px; opacity: 1; }
  50% { height: 18px; opacity: .8; }
  75% { height: 42px; opacity: 1; }
}

@keyframes mcEqualizerIdle {
  0%, 100% { height: 12px; }
  50% { height: 18px; }
}

@media (max-width: 640px) {
  .mc-lyrics-player {
    margin: 22px 12px;
    border-radius: 22px;
  }

  .mc-lyrics-inner {
    padding: 18px;
  }

  .mc-player-header {
    align-items: flex-start;
  }

  .mc-equalizer {
    width: 58px;
    height: 44px;
    gap: 4px;
  }

  .mc-equalizer span {
    width: 6px;
  }

  .mc-lyric-line {
    font-size: calc(var(--mc-active-size) - 8px);
  }
}
