html body .mz-youtube-home__player .mz-youtube-official-logo {
  position: absolute !important;
  z-index: 8 !important;
  top: 24px !important;
  right: 24px !important;
  display: grid !important;
  place-items: center !important;
  width: 162px !important;
  height: 52px !important;
  box-sizing: border-box !important;
  padding: 7px 11px !important;
  border: 1px solid rgba(240,166,111, .3) !important;
  border-radius: 14px !important;
  background: rgba(24,16,26, .76) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3) !important;
  backdrop-filter: blur(12px) !important;
  pointer-events: none !important;
}

html body .mz-youtube-home__player .mz-youtube-cover > img {
  display: none !important;
}

html body .mz-youtube-home header > div:first-child {
  position: relative !important;
  padding-right: 86px !important;
}

html body .mz-youtube-home .mz-youtube-heading-logo {
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  display: grid !important;
  place-items: center !important;
  width: 66px !important;
  height: 66px !important;
  border: 1px solid rgba(240,166,111, .28) !important;
  border-radius: 20px !important;
  background: rgba(31,20,31, .72) !important;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .28) !important;
  transform: translateY(-50%) !important;
  pointer-events: none !important;
}

html body .mz-youtube-home .mz-youtube-heading-logo img {
  display: none !important;
}

html body .mz-youtube-home .mz-youtube-heading-logo::before {
  content: "" !important;
  display: block !important;
  width: 42px !important;
  height: 29px !important;
  border-radius: 8px !important;
  background: #ff0033 !important;
  box-shadow: 0 8px 20px rgba(255, 0, 51, .28) !important;
}

html body .mz-youtube-home .mz-youtube-heading-logo::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 0 !important;
  height: 0 !important;
  margin-left: 2px !important;
  border-top: 6px solid transparent !important;
  border-bottom: 6px solid transparent !important;
  border-left: 10px solid #fff !important;
  transform: translate(-50%, -50%) !important;
}

html body .mz-youtube-home__player .mz-youtube-official-logo img {
  display: block !important;
  width: 100% !important;
  max-width: 140px !important;
  height: 100% !important;
  object-fit: contain !important;
  filter: hue-rotate(210deg) saturate(1.28) brightness(1.1) !important;
}

@media (max-width: 560px) {
  html body .mz-youtube-home header > div:first-child {
    padding-right: 58px !important;
  }

  html body .mz-youtube-home .mz-youtube-heading-logo {
    top: 20px !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 15px !important;
    transform: none !important;
  }

  html body .mz-youtube-home .mz-youtube-heading-logo::before {
    width: 32px !important;
    height: 22px !important;
    border-radius: 6px !important;
  }

  html body .mz-youtube-home .mz-youtube-heading-logo::after {
    border-top-width: 5px !important;
    border-bottom-width: 5px !important;
    border-left-width: 8px !important;
  }

  html body .mz-youtube-home__player .mz-youtube-official-logo {
    top: 12px !important;
    right: 12px !important;
    width: 108px !important;
    height: 40px !important;
    padding: 5px 8px !important;
    border-radius: 11px !important;
  }

  html body .mz-youtube-home__player .mz-youtube-official-logo img {
    max-width: 92px !important;
  }
}

/* Priorité finale : couleur officielle YouTube, jamais bleue. */
html body section.mz-youtube-home h2# mz-youtube-title span,
html body .mz-youtube-home h2 span,
html body #mz-youtube-title span {
  color: #f0a66f !important;
  -webkit-text-fill-color: #f0a66f !important;
  background: none !important;
  background-image: none !important;
  filter: none !important;
  text-shadow: none !important;
  opacity: 1 !important;
}
