/* Accueil — état du match en direct et alignement avec la marque. */
body.home .premium-header .header-live-strip {
  position: absolute !important;
  grid-area: auto !important;
  grid-column: auto !important;
  grid-row: auto !important;
  left: 50% !important;
  top: 98px !important;
  z-index: 2;
  min-height: 26px !important;
  padding-right: 0 !important;
}

body.home .premium-header .header-inner { position: relative; }

body.home .premium-header .agd-live-match-header {
  color: #d9e6ee;
}

body.home .premium-header .agd-live-match-header__dot {
  width: 8px !important;
  height: 8px !important;
  flex-basis: 8px !important;
  border: 1px solid #fff !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.home .premium-header .agd-live-match-header.is-live {
  color: #ff5360;
}

body.home .premium-header .agd-live-match-header.is-live .agd-live-match-header__dot {
  border-color: #ed3340 !important;
  background: #ed3340 !important;
  box-shadow: 0 0 0 2px rgba(237, 51, 64, .2) !important;
}

/* Desktop uniquement : la carte éditoriale de fin de page est masquée. */
@media (min-width: 801px) {
  body.home #actualites-recentes {
    display: none !important;
  }
}

@media (max-width: 600px) {
  body.home .premium-header .header-live-strip {
    left: 90px !important;
    right: auto !important;
    top: 50px !important;
    transform: none;
  }
  body.home .premium-header .header-live-strip .agd-live-match-header .agd-live-match-header__dot {
    width: 8px !important;
    height: 8px !important;
    flex-basis: 8px !important;
    border: 1px solid #fff !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  body.home .premium-header .header-live-strip .agd-live-match-header.is-live .agd-live-match-header__dot {
    border-color: #ed3340 !important;
    background: #ed3340 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home .premium-header .header-live-strip { transform: none; }
}

/* Le décalage mobile validé reste identique dans tous les états du bouton. */
@media (max-width: 600px) {
  body.home .premium-header .header-live-strip,
  body.home .premium-header .header-live-strip:hover,
  body.home .premium-header .header-live-strip:focus,
  body.home .premium-header .header-live-strip:focus-visible,
  body.home .premium-header .header-live-strip:active {
    left: 90px !important;
    right: auto !important;
    transform: none !important;
    translate: none !important;
  }

  body.home .premium-header .header-live-strip .agd-live-match-header,
  body.home .premium-header .header-live-strip .agd-live-match-header:hover,
  body.home .premium-header .header-live-strip .agd-live-match-header:focus,
  body.home .premium-header .header-live-strip .agd-live-match-header:focus-visible,
  body.home .premium-header .header-live-strip .agd-live-match-header:active {
    position: relative;
    left: 0 !important;
    margin-left: 0 !important;
    transform: none !important;
    translate: none !important;
  }
}
