/* Fond = kzreborn.space (glow vert → bleu LMDS) */

:root {
  --l1-scale-size: 1.15;
  --scale-size: 1.15;
  --scale-shift: 0px;
  --scale-shift-negative: 0px;
  --lmds-accent: #3d8bff;
  --lmds-page-bg: radial-gradient(
      1200px 600px at 50% -10%,
      rgba(61, 139, 255, 0.08),
      rgba(0, 0, 0, 0) 60%
    ),
    linear-gradient(rgb(5, 5, 7) 0%, rgb(8, 8, 12) 50%, rgb(4, 4, 6) 100%);
}

/* Retirer le fond bleu géométrique L1+ du hero */
.section-custom-background,
.section-custom-background.section-custom-background--fixed,
.section-custom-background__image,
.section-custom-background__image--active,
.section-custom-background__gradients,
.creative-image,
.creative-image.fade-in {
  display: none !important;
}

/* Fond sur tout le site — calque fixe derrière le contenu */
html {
  background-color: #000;
}

#lmds-particles {
  position: fixed !important;
  inset: 0;
  width: 100vw !important;
  height: 100vh !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

body::before {
  display: block !important;
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: #000 !important;
  background-image: radial-gradient(
      1200px 600px at 50% -10%,
      rgba(61, 139, 255, 0.1),
      rgba(0, 0, 0, 0) 60%
    ),
    linear-gradient(rgb(5, 5, 7) 0%, rgb(8, 8, 12) 50%, rgb(4, 4, 6) 100%) !important;
  background-size: cover, cover !important;
  background-position: 50% 0%, 50% 0% !important;
  background-repeat: no-repeat !important;
}

body {
  background: transparent !important;
  background-color: transparent !important;
  position: relative;
  z-index: 1;
}

body::after {
  display: none !important;
}

body.resident-background-color {
  background: transparent !important;
  background-color: transparent !important;
}

/* Chrome transparent — le fond reste visible partout */
.chrome,
.app-container,
.page--home,
.section-wrapper,
.section-wrapper__inner,
#main-content-wrapper,
.content-wrapper,
#rootMountPoint,
section#rootMountPoint {
  background: transparent !important;
  position: relative;
  z-index: 1;
}

body.resident-background-color {
  background: transparent !important;
  background-color: transparent !important;
}

footer.bZGiBy,
footer[aria-label="Footer section"],
.site-footer {
  display: none !important;
}

/* Plus de scrollbar toujours visible + pas d’espace fantôme en bas */
html {
  overflow-y: auto !important;
  scrollbar-gutter: auto;
}

body,
body.resident-background-color {
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

html,
body {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.app-container,
.app-container.ready,
.app-container.ready.no-sidebar,
.page--home .app-container,
.page--home .app-container.ready {
  min-height: 0 !important;
  height: auto !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.page--home #main-content-wrapper,
.page--home .section-wrapper,
.page--home .section-wrapper.view,
.page--home .section-wrapper__inner,
.page--home .content-wrapper,
.page--home main {
  min-height: 0 !important;
  height: auto !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* Masquer carrousels vides (EN DIRECT la nuit, etc.) pour ne pas laisser de trou.
   Les cartes live-now / chaînes utilisent [role="link"][href], pas forcément <a>. */
.page--home .carousel-container[style*="display: none"],
.page--home .carousel-container:not(:has(.content-pager__item)),
.page--home .carousel-container:has(.simple-carousel__title):not(:has(a[href])):not(:has([role="link"][href])):not(:has([data-l1-live-now-card])) {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}

/* Couper les barres / rubans qui dépassent sous les affiches (Ligue 2 etc.) */
.simple-carousel .l1-live-card .card-base,
.simple-carousel .l1-live-card .card-base--live,
.simple-carousel .l1-live-card .card-background,
.simple-carousel .regular-card .card-base--live {
  overflow: hidden !important;
  border-radius: 0 !important;
}

.simple-carousel .l1-live-card .card-background img,
.simple-carousel .l1-live-card .card-base--live img {
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

.l1-schedule-section {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.l1-schedule-section .carousel-container:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Espace vide en bas — loader fantôme + marges carrousels */
.infinity-loader,
.section-wrapper > div:has(+ .infinity-loader) {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.section-wrapper,
.section-wrapper.view,
.page--home .section-wrapper {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.content-wrapper > .carousel-container:last-of-type,
.section-wrapper__inner .carousel-container:last-of-type,
.carousel-container:has(.simple-carousel[data-l1-recommend-done="1"]) {
  margin-bottom: 12px !important;
}

main,
#main-content-wrapper,
.app-container {
  padding-bottom: 0 !important;
}

.app-container,
.page--home,
#rootMountPoint {
  overflow-x: hidden;
  position: relative;
}

body,
html {
  overflow-x: hidden;
  max-width: 100%;
}

html {
  background-color: #000;
}

/* Hero abonnement / featured masqués */
.slides-wrapper.l1-old-hero-hidden,
.page--home .slides-wrapper,
.l1-featured-hero {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Masquer offres PASS + bouton S'ABONNER du hero */
.hero .text--with-licences .sc-hwddKA,
.hero .text--with-licences .iRpexX,
.hero .text--with-licences .cta-container {
  display: none !important;
}

/* Hero compact — remonter le contenu sous le titre */
.slides-wrapper {
  height: auto !important;
  min-height: 0 !important;
}

.hero {
  min-height: 0 !important;
  height: auto !important;
  padding-bottom: 12px !important;
}

.hero .hero-wrapper {
  margin-top: 12px !important;
  padding-bottom: 8px !important;
}

.creative {
  display: none !important;
}

.l1-featured-hero .creative {
  display: block !important;
}

.page--home .section-wrapper__inner {
  margin-top: -8px !important;
}

.page--home .content-wrapper {
  padding-top: 0 !important;
}

.page--home .simple-carousel:first-of-type {
  margin-top: 0 !important;
}

/* ── Animations cartes match (officiel Ligue 1+) ── */

.card-shift-wrapper * {
  will-change: transform;
}

.simple-carousel .regular-card,
.simple-carousel .regular-card [role="link"],
.simple-carousel .card-wrapper,
.simple-carousel .card-wrapper [role="link"],
.simple-carousel .card-base,
.simple-carousel .card-base a {
  pointer-events: auto !important;
}

.regular-card .card-shift-wrapper > div[style*="transition: transform"],
.regular-card .card-shift-wrapper > [role="presentation"] > div[style*="transition: transform"] {
  transition: transform 0.35s ease !important;
  transform-origin: center center;
}

.regular-card.l1-card-active .card-shift-wrapper > div[style*="transition"],
.regular-card.l1-card-active .card-shift-wrapper > [role="presentation"] > div[style*="transition"] {
  transform: scale(var(--l1-scale-size, 1.15)) !important;
  z-index: 1;
}

.regular-card.l1-card-before .card-shift-wrapper > div[style*="transition"],
.regular-card.l1-card-before .card-shift-wrapper > [role="presentation"] > div[style*="transition"] {
  transform: translateX(var(--l1-shift-negative, -42px)) !important;
  z-index: 1;
}

.regular-card.l1-card-after .card-shift-wrapper > div[style*="transition"],
.regular-card.l1-card-after .card-shift-wrapper > [role="presentation"] > div[style*="transition"] {
  transform: translateX(var(--l1-shift, 42px)) !important;
  z-index: 1;
}

.regular-card.l1-card-active [data-testid="card-header"],
.regular-card.l1-card-active [data-testid^="card-container"] > div:first-child {
  outline: 1px solid rgba(255, 255, 255, 0.3);
  outline-offset: -1px;
}

.card-wrapper {
  --scale-size: var(--l1-scale-size, 1.15);
  --scale-shift: 0;
  --scale-shift-negative: 0;
}

.card-wrapper.l1-card-active {
  z-index: 2;
}

.card-base {
  transition: transform 0.6s ease;
  transform-origin: center center;
}

.card-base.l1-card-active {
  border: 1px inset rgba(255, 255, 255, 0.3);
  transform: scale(var(--scale-size));
  z-index: 2;
}

.card-base.l1-card-before {
  transform: translateX(var(--scale-shift-negative));
}

.card-base.l1-card-after {
  transform: translateX(var(--scale-shift));
}

@keyframes cardsSlideInOpacity {
  from { opacity: 0; }
  to { opacity: 1; }
}

.l1-anim-ready .regular-card {
  animation: cardsSlideInOpacity 0.55s ease forwards;
}

.l1-anim-ready .card-wrapper {
  animation: cardsSlideInOpacity 0.55s ease forwards;
}

.content-pager__arrow,
button[aria-label*="carrousel"],
button[aria-label*="Page suivante"],
button[aria-label*="Page précédente"] {
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  cursor: pointer;
}

.ui-packages .content-pager__arrow {
  z-index: 50 !important;
  pointer-events: auto !important;
}

.ui-packages .content-pager__arrow--disabled {
  pointer-events: none !important;
}

.simple-carousel__pager,
.content-pager {
  position: relative;
  z-index: 5;
}

.content-pager__arrow:hover,
button[aria-label*="carrousel"]:hover {
  transform: translateY(-50%) scale(1.08) !important;
}

.simple-carousel__pager,
.content-pager,
.content-pager__inner {
  scroll-behavior: smooth;
}

/* Swipe doigt sur les cartes (flèches toujours là) */
.content-pager.l1-pager-swipe {
  touch-action: pan-y;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}

.content-pager.l1-pager-swipe:active {
  cursor: grabbing;
}

.ui-packages .content-pager__inner.l1-pager-track {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) !important;
  touch-action: pan-y;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Menu COMPETITION — liste verticale transparente au survol */
.l1-competition-menu {
  position: relative;
}

.l1-competition-menu.is-open .icon-arrowdown,
.l1-competition-menu:hover .icon-arrowdown {
  transform: rotate(180deg);
}

.l1-competition-menu .icon-arrowdown {
  transition: transform 0.2s ease;
  margin-left: 6px;
}

.l1-competition-menu:hover #competition-button span,
.l1-competition-menu.is-open #competition-button span {
  color: rgb(8, 95, 255) !important;
}

@keyframes l1-competition-item-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.l1-competition-grid {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1200;
  width: max-content;
  min-width: 0;
  margin: 0;
  padding: 6px 0 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: transparent;
  border: none;
  box-shadow: none;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    opacity 0.24s ease,
    transform 0.24s ease;
}

.l1-competition-menu.is-open .l1-competition-grid {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.l1-competition-grid[hidden] {
  display: none !important;
}

.l1-competition-grid-item {
  margin: 0;
  padding: 0;
  opacity: 0;
  line-height: 1;
}

.l1-competition-grid .l1-competition-grid-link.btn-main {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: auto !important;
}

.l1-competition-menu.is-open .l1-competition-grid-item {
  animation: l1-competition-item-in 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--l1-i, 0) * 40ms);
}

.l1-competition-grid-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 4px 0 !important;
  line-height: 1.22;
  min-height: 0 !important;
  background: transparent !important;
}

.l1-competition-grid-link span {
  white-space: nowrap;
  line-height: 1.15;
}

.l1-competition-grid-link:hover span,
.l1-competition-grid-link:focus-visible span {
  color: rgb(8, 95, 255) !important;
}

.l1-competition-grid-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .l1-competition-grid,
  .l1-competition-menu.is-open .l1-competition-grid-item {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Section calendrier (clone /schedule) — aligné sur les carrousels home (pas de double padding) */
.l1-schedule-section {
  margin-top: -0.75rem;
  padding: 0;
}

.l1-schedule-section .schedule--section .section-header,
.simple-carousel__title.l1-section-header-title,
.simple-carousel[data-carousel-id="twfN"] .simple-carousel__title {
  color: #fff !important;
  margin: 0 0 20px;
  padding: 0;
  text-transform: uppercase;
  font-family: resident-primary-font, Roboto-Bold, arial, Helvetica, Arial, sans-serif !important;
  font-size: 1.5rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.5px !important;
  line-height: 1.2 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.l1-schedule-section .schedule--section + .schedule--section,
.l1-schedule-section .carousel-container + .carousel-container {
  margin-top: 2.5rem;
}

/* Cartes match live — carrousel « EN DIRECT ET À VENIR » (même style que calendrier) */
.simple-carousel:has(.simple-carousel__title) .l1-live-card .card-base--live,
.simple-carousel .l1-live-card .card-base--live {
  width: 100%;
}

.simple-carousel .l1-live-card .card-shift-wrapper {
  display: none !important;
}

/* Espacement entre les cartes — lignes « EN DIRECT ET À VENIR » */
.simple-carousel:has(.l1-live-card) .content-pager__item,
.simple-carousel[data-carousel-id="YbEt"] .content-pager__item {
  margin-right: 12px;
}

/* « En direct maintenant » — même design overlay + flèches */
.simple-carousel[data-carousel-id="twfN"] .content-pager__item {
  margin-right: 12px;
}

.simple-carousel[data-carousel-id="twfN"] .l1-live-card .card-base--live {
  width: 100%;
}

.simple-carousel[data-carousel-id="twfN"] .l1-live-card .card-shift-wrapper {
  display: none !important;
}

.simple-carousel[data-carousel-id="twfN"] .content-pager__arrow--enabled {
  z-index: 50;
  pointer-events: auto !important;
}

.l1-schedule-section .carousel-container .simple-carousel h3.simple-carousel__title,
.l1-schedule-section .ui-packages.simple-carousel .simple-carousel__title {
  color: rgba(255, 255, 255, 0.9) !important;
  font-family: resident-tertiary-font, Roboto-Bold, arial, Helvetica, Arial, sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  line-height: 1.35 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

@media (max-width: 1024px) {
  .l1-schedule-section .carousel-container .simple-carousel h3.simple-carousel__title,
  .l1-schedule-section .ui-packages.simple-carousel .simple-carousel__title {
    font-size: 1rem !important;
  }
}

.card-lock,
.card-lock--visible,
.card-content__locked {
  display: none !important;
}

/* Onglets hero — images CDN officielles + label HTML (comme REPLAYS.9nUQ8.CQ37N.png) */
@font-face {
  font-family: l1-hero-tab-font;
  font-display: swap;
  src: url("https://static.diceplatform.com/prod/original/dce.ligueun/fonts/InsatiableDisplay-BoldCondensed.woff") format("woff"),
    url("https://static.diceplatform.com/prod/original/dce.ligueun/fonts/InsatiableDisplay-BoldCondensed.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

.card-base--section .card-background {
  position: relative;
  container-type: inline-size;
}

.card-base--section .l1-hero-tab-img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0 !important;
}

.l1-hero-tab-label {
  position: absolute;
  color: #fff;
  font-family: l1-hero-tab-font, resident-primary-font, sans-serif;
  font-size: 16.714cqi; /* ~58px @ 347 */
  font-weight: 400;
  font-style: normal;
  font-synthesis: none;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  -webkit-font-smoothing: antialiased;
}

.l1-hero-tab-label::after {
  display: none;
}

/* Masquer la rangée CHAINE TV / PROGRAMME / COMPETITION / OFFRE IPTV */
.carousel-container[data-bucket-type="SECTION_LINK"],
.carousel-container[data-carousel-id="UEsc"],
.simple-carousel[data-carousel-id="UEsc"] {
  display: none !important;
}

/* Topbar — S'abonner → OFFRE IPTV + nav centrée */
.topbar.full-topbar,
.topbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 4px 20px 4px 12px !important;
  min-height: 0 !important;
  height: 68px !important;
  margin: 0 !important;
  overflow: visible !important;
  transform: none !important;
  box-shadow: none !important;
  border: 0 !important;
  background: transparent !important;
}

/* PC : retire la lueur / bande blanche du topbar Ligue 1+ */
@media (min-width: 981px) {
  .topbar .topbar__bg,
  .topbar .topbar__bg:before,
  .topbar .topbar__bg:after {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    background: none !important;
    box-shadow: none !important;
  }

  .topbar::before,
  .topbar::after,
  .topbar.full-topbar::before,
  .topbar.full-topbar::after {
    display: none !important;
    content: none !important;
    opacity: 0 !important;
    background: none !important;
    box-shadow: none !important;
  }
}

.topbar .logo {
  position: relative;
  z-index: 2;
  flex: 0 0 auto !important;
  margin-left: 48px !important;
  margin-top: -4px !important;
  display: flex !important;
  align-items: center !important;
  overflow: visible !important;
}

body {
  padding-top: 68px !important;
}

.topbar__main-menu {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 1;
  display: flex !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

.topbar__main-menu .sc-hvigdm,
.topbar__main-menu [data-test-id="hamburger-btn"],
.topbar__main-menu .bottom-section {
  display: none !important;
}

.topbar__main-menu .navbar.top,
.topbar__main-menu .navbar-main {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.35rem !important;
  margin: 0 auto !important;
}

.topbar__functionalities {
  position: relative;
  z-index: 2;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px;
  flex: 0 0 auto !important;
  margin-left: auto !important;
}

/* Logo LMDS+ (PNG déjà bleu) — taille navbar */
.topbar .logo img,
.topbar .logo .lmds-logo-img,
.lmds-ppv-logo,
.lmds-logo-img {
  filter: none !important;
  height: 82px !important;
  width: auto !important;
  max-width: 290px !important;
  object-fit: contain !important;
}

@media (max-width: 860px) {
  .topbar .logo img,
  .topbar .logo .lmds-logo-img,
  .lmds-ppv-logo,
  .lmds-logo-img {
    height: 64px !important;
    max-width: 230px !important;
  }
}

[data-test-id="sign-in-btn"] {
  display: none !important;
}

[data-test-id="sign-up-btn"].l1-iptv-btn {
  min-width: 0;
  padding: 0.72rem 1.35rem !important;
  border-radius: 9999px !important;
  overflow: hidden;
  background: transparent !important;
  background-color: transparent !important;
  border: 1.5px solid #3d8bff !important;
  box-shadow: none !important;
  color: #3d8bff !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  animation: none !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
}

[data-test-id="sign-up-btn"].l1-iptv-btn,
[data-test-id="sign-up-btn"].l1-iptv-btn .btn__label,
[data-test-id="sign-up-btn"].l1-iptv-btn > * {
  border-radius: 9999px !important;
}

[data-test-id="sign-up-btn"].l1-iptv-btn .btn__container,
[data-test-id="sign-up-btn"].l1-iptv-btn .btn__label,
[data-test-id="sign-up-btn"].l1-iptv-btn .border-overlay {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
}

[data-test-id="sign-up-btn"].l1-iptv-btn .btn__label {
  white-space: nowrap;
  color: #3d8bff !important;
  font-size: clamp(0.78rem, 1.55vw, 0.92rem) !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
}

[data-test-id="sign-up-btn"].l1-iptv-btn:hover {
  background: rgba(61, 139, 255, 0.14) !important;
  background-color: rgba(61, 139, 255, 0.14) !important;
  border-color: #6cb0ff !important;
  color: #fff !important;
  box-shadow: 0 0 22px rgba(61, 139, 255, 0.28) !important;
  transform: none;
}

[data-test-id="sign-up-btn"].l1-iptv-btn:hover .btn__label {
  color: #fff !important;
}

/* Réseaux sociaux — carrés gris en haut à droite */
.l1-topbar-social.l1-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 2px;
}

.l1-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.l1-social-links__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: rgba(61, 139, 255, 0.1);
  border: 1px solid rgba(61, 139, 255, 0.22);
  color: #9ec5ff;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease,
    color 0.2s ease;
}

.l1-social-links__item:hover {
  background: rgba(61, 139, 255, 0.22);
  border-color: rgba(61, 139, 255, 0.45);
  color: #fff;
  transform: translateY(-1px);
}

.l1-social-links__item svg {
  display: block;
  width: 20px;
  height: 20px;
}

/* Page Chaîne TV — logos sur fond transparent, sans encadrement */
.simple-carousel[data-carousel-id="twfN"] .l1-chaine-card-item .regular-card,
.simple-carousel[data-carousel-id="twfN"] .l1-chaine-card-item [data-testid^="card-container"],
.simple-carousel[data-carousel-id="twfN"] .l1-chaine-card-item [data-testid^="card-container"] > div,
.simple-carousel[data-carousel-id="twfN"] [data-l1-chaine-card="1"] .regular-card,
.simple-carousel[data-carousel-id="twfN"] [data-l1-chaine-card="1"] [data-testid^="card-container"],
.simple-carousel[data-carousel-id="twfN"] [data-l1-chaine-card="1"] [role="link"],
.simple-carousel[data-carousel-id="twfN"] .l1-chaine-card-header,
.simple-carousel[data-carousel-id="twfN"] [data-l1-chaine-card="1"] [data-testid="card-header"],
.simple-carousel[data-carousel-id="twfN"] [data-l1-chaine-card="1"] [data-testid="card-header"] > div,
.simple-carousel[data-carousel-id="twfN"] [data-l1-chaine-card="1"] [data-testid="card-header"] [style*="background"],
.simple-carousel[data-carousel-id="twfN"] [data-l1-chaine-card="1"] [data-testid="card-header"] img:not(.l1-chaine-card-logo) {
  background: transparent !important;
  background-image: none !important;
  background-color: transparent !important;
  outline: none !important;
  outline-width: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

.simple-carousel[data-carousel-id="twfN"] .l1-chaine-card-item .regular-card.l1-card-active,
.simple-carousel[data-carousel-id="twfN"] .l1-chaine-card-item .regular-card.l1-card-before,
.simple-carousel[data-carousel-id="twfN"] .l1-chaine-card-item .regular-card.l1-card-after,
.simple-carousel[data-carousel-id="twfN"] .l1-chaine-card-item .regular-card:hover,
.simple-carousel[data-carousel-id="twfN"] .l1-chaine-card-item .regular-card:focus-within,
.simple-carousel[data-carousel-id="twfN"] [data-l1-chaine-card="1"] .regular-card.l1-card-active [data-testid="card-header"],
.simple-carousel[data-carousel-id="twfN"] [data-l1-chaine-card="1"] .regular-card [data-testid="card-header"],
.simple-carousel[data-carousel-id="twfN"] [data-l1-chaine-card="1"] .regular-card:hover [data-testid="card-header"],
.simple-carousel[data-carousel-id="twfN"] [data-l1-chaine-card="1"] .regular-card:focus-within [data-testid="card-header"],
.simple-carousel[data-carousel-id="twfN"] [data-l1-chaine-card="1"].l1-card-active [data-testid="card-header"],
.simple-carousel[data-carousel-id="twfN"] [data-l1-chaine-card="1"] .l1-card-active [data-testid="card-header"] {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

.l1-chaine-card-header {
  overflow: visible;
}

.l1-chaine-card-header .l1-chaine-card-logo {
  filter: none;
  background: transparent !important;
  mix-blend-mode: normal !important;
}

.l1-chaine-card-header .l1-chaine-card-logo--dark,
.l1-chaine-card-header .l1-chaine-card-logo--light {
  mix-blend-mode: normal !important;
  filter: none;
}

.simple-carousel[data-carousel-id="twfN"] .l1-chaine-card-header,
.simple-carousel[data-carousel-id="twfN"] .l1-chaine-card-item [data-testid="card-header"] {
  border-radius: 0 !important;
  box-shadow: none !important;
}

.simple-carousel[data-carousel-id="twfN"] .l1-chaine-card-item .regular-card.l1-card-active [data-testid^="card-container"] > div:first-child,
.simple-carousel[data-carousel-id="twfN"] [data-l1-chaine-card="1"] .regular-card.l1-card-active [data-testid^="card-container"] > div:first-child {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* Page Lien secours — simple + animations */
.lmds-secours-page {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 110px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.25rem 4rem;
  overflow: hidden;
}

.lmds-secours-page::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 139, 255, 0.22), transparent 68%);
  filter: blur(8px);
  animation: lmds-orb 6s ease-in-out infinite;
  pointer-events: none;
}

.lmds-secours-inner {
  position: relative;
  width: min(440px, 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.lmds-secours-badge,
.lmds-secours-title,
.lmds-secours-text,
.lmds-secours-cta,
.lmds-secours-social-title,
.lmds-secours-socials {
  animation: lmds-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lmds-secours-badge { animation-delay: 0.05s; }
.lmds-secours-title { animation-delay: 0.14s; }
.lmds-secours-text { animation-delay: 0.24s; }
.lmds-secours-cta { animation-delay: 0.34s; }
.lmds-secours-social-title { animation-delay: 0.46s; }
.lmds-secours-socials { animation-delay: 0.56s; }

.lmds-secours-badge {
  display: none !important;
}

.lmds-secours-title {
  margin: 0;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.7rem, 5.4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #f4f7ff;
}

.lmds-secours-title span {
  color: #3d8bff;
  text-shadow: 0 0 24px rgba(61, 139, 255, 0.45);
}

.lmds-secours-text {
  margin: 0;
  max-width: 26rem;
  color: rgba(220, 228, 245, 0.64);
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.97rem;
  line-height: 1.55;
}

.lmds-secours-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.45rem;
  padding: 0.95rem 1.55rem;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(135deg, #4a96ff 0%, #2f78f0 100%);
  color: #061018;
  text-decoration: none;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 10px 28px rgba(61, 139, 255, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation-name: lmds-rise, lmds-pulse;
  animation-duration: 0.7s, 2.4s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1), ease-in-out;
  animation-fill-mode: both, none;
  animation-delay: 0.34s, 1s;
  animation-iteration-count: 1, infinite;
}

.lmds-secours-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(255, 255, 255, 0.35) 45%,
    transparent 70%
  );
  transform: translateX(-120%);
  animation: lmds-shine 3.2s ease-in-out infinite;
}

.lmds-secours-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 34px rgba(61, 139, 255, 0.42);
}

.lmds-secours-cta svg {
  width: 15px;
  height: 15px;
  position: relative;
  z-index: 1;
}

.lmds-secours-social-title {
  margin: 1.35rem 0 0;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(230, 236, 255, 0.75);
}

.lmds-secours-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  width: min(420px, 100%);
}

.lmds-secours-socials a {
  flex: 1 1 110px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.65rem 0.8rem;
  border-radius: 999px;
  background: rgba(20, 24, 32, 0.9);
  color: #fff;
  text-decoration: none;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.86rem;
  font-weight: 650;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  animation: lmds-rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lmds-secours-socials a:nth-child(1) { animation-delay: 0.58s; }
.lmds-secours-socials a:nth-child(2) { animation-delay: 0.68s; }
.lmds-secours-socials a:nth-child(3) { animation-delay: 0.78s; }

.lmds-secours-socials a:hover {
  transform: translateY(-3px);
  border-color: rgba(61, 139, 255, 0.5);
  background: #1a2230;
}

.lmds-secours-socials svg {
  width: 15px;
  height: 15px;
}

.page--secours .slides-wrapper,
.page--secours .section-custom-background {
  display: none !important;
}

@keyframes lmds-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lmds-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes lmds-pulse {
  0%,
  100% {
    box-shadow: 0 10px 28px rgba(61, 139, 255, 0.28);
  }
  50% {
    box-shadow: 0 14px 36px rgba(61, 139, 255, 0.48);
  }
}

@keyframes lmds-shine {
  0%,
  55% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

@keyframes lmds-orb {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.75;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

/* Animations globales — index & pages */
.navbar-main > li > a span,
.navbar-main > li > button span {
  position: relative;
  transition: color 0.2s ease;
}

.navbar-main > li > a span::after,
.navbar-main > li > button span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: #3d8bff;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.navbar-main > li > a:hover span::after,
.navbar-main > li > a[aria-current="page"] span::after,
.navbar-main > li > button:hover span::after {
  transform: scaleX(1);
}

[data-test-id="sign-up-btn"].l1-iptv-btn {
  transition: border-color 0.15s, color 0.15s, background 0.15s, box-shadow 0.15s !important;
  animation: none !important;
}

[data-test-id="sign-up-btn"].l1-iptv-btn:hover {
  transform: none;
  background: rgba(61, 139, 255, 0.14) !important;
  background-color: rgba(61, 139, 255, 0.14) !important;
  border-color: #6cb0ff !important;
  color: #fff !important;
  box-shadow: 0 0 22px rgba(61, 139, 255, 0.28) !important;
}

[data-test-id="sign-up-btn"].l1-iptv-btn:hover .btn__label {
  color: #fff !important;
}

@keyframes lmds-iptv-glow {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(61, 139, 255, 0.08),
      0 0 12px rgba(61, 139, 255, 0.1);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(61, 139, 255, 0.16),
      0 0 22px rgba(61, 139, 255, 0.28);
  }
}

.simple-carousel__title,
.carousel-container .simple-carousel__title {
  animation: lmds-rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.simple-carousel .content-pager__item,
.simple-carousel .regular-card {
  transition: transform 0.28s ease, filter 0.28s ease !important;
}

.simple-carousel .regular-card:hover {
  filter: brightness(1.06);
}

.l1-social-links__item {
  transition: background 0.2s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.l1-social-links__item:hover {
  transform: translateY(-3px) scale(1.06);
}

.lmds-ppv-header {
  animation: lmds-rise 0.45s ease both;
}

.lmds-ppv-header .lmds-iptv-btn {
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease !important;
}

.lmds-ppv-header .lmds-iptv-btn:hover {
  transform: scale(1.04);
  background: rgba(61, 139, 255, 0.14) !important;
  color: #fff !important;
}

@media (prefers-reduced-motion: reduce) {
  .lmds-secours-badge,
  .lmds-secours-title,
  .lmds-secours-text,
  .lmds-secours-cta,
  .lmds-secours-social-title,
  .lmds-secours-socials,
  .lmds-secours-socials a,
  .lmds-secours-page::before,
  .simple-carousel__title,
  [data-test-id="sign-up-btn"].l1-iptv-btn,
  .lmds-ppv-header {
    animation: none !important;
  }
}

/* ── Navbar mobile = clone exact LMDS PPV :5180 ── */
.l1-nav-burger,
.l1-nav-drawer,
.l1-nav-scrim,
.lmds-ppv-header,
.lmds-ppv-scrim,
.lmds-ppv-sheet {
  display: none;
}

.lmds-ppv-links {
  display: none;
}

/* Pages standalone (ex: lien-secours) — même navbar partout */
html.lmds-standalone-nav {
  --lmds-ppv-header-h: 48px;
}

html.lmds-standalone-nav body {
  padding-top: var(--lmds-ppv-header-h, 48px) !important;
}

html.lmds-standalone-nav .lmds-ppv-header {
  display: block !important;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 58px;
  background: rgba(8, 8, 16, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

html.lmds-standalone-nav .lmds-ppv-header__inner {
  height: 100%;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-sizing: border-box;
}

html.lmds-standalone-nav .lmds-ppv-header__left,
html.lmds-standalone-nav .lmds-ppv-header__right {
  display: flex;
  align-items: center;
  gap: 8px;
}

html.lmds-standalone-nav .lmds-ppv-logo {
  display: block;
  height: 76px !important;
  width: auto !important;
  max-width: 270px !important;
  object-fit: contain;
  filter: none !important;
}

html.lmds-standalone-nav .lmds-ppv-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  justify-content: center;
}

html.lmds-standalone-nav .lmds-ppv-links a {
  color: rgba(230, 236, 255, 0.82);
  text-decoration: none;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

html.lmds-standalone-nav .lmds-ppv-links a:hover {
  color: #fff;
}

html.lmds-standalone-nav .lmds-iptv-btn,
.lmds-ppv-header .lmds-iptv-btn,
a.lmds-iptv-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.35rem !important;
  border-radius: 9999px !important;
  border: 1.5px solid #3d8bff !important;
  background: transparent !important;
  color: #3d8bff !important;
  font-size: clamp(0.78rem, 1.55vw, 0.92rem) !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  transition: border-color 0.15s, color 0.15s, background 0.15s, box-shadow 0.15s !important;
}

html.lmds-standalone-nav .lmds-iptv-btn:hover,
.lmds-ppv-header .lmds-iptv-btn:hover,
a.lmds-iptv-btn:hover {
  color: #fff !important;
  border-color: #6cb0ff !important;
  background: rgba(61, 139, 255, 0.14) !important;
  box-shadow: 0 0 22px rgba(61, 139, 255, 0.28) !important;
  transform: none !important;
}

html.lmds-standalone-nav .lmds-ppv-burger {
  display: none !important;
}

html.lmds-standalone-nav .lmds-ppv-scrim,
html.lmds-standalone-nav .lmds-ppv-sheet {
  display: none !important;
}

@media (max-width: 980px) {
  html.lmds-standalone-nav .lmds-ppv-links {
    display: none !important;
  }

  html.lmds-standalone-nav .lmds-ppv-burger {
    display: inline-flex !important;
  }

  html.lmds-standalone-nav .lmds-ppv-scrim,
  html.lmds-standalone-nav .lmds-ppv-sheet {
    display: block !important;
  }

  /* Cache la topbar Ligue 1 */
  .topbar,
  .topbar.full-topbar {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }
}

@media (max-width: 980px) {
  html.lmds-ppv-nav-ready {
    --lmds-ppv-header-h: 58px;
  }

  body {
    padding-top: var(--lmds-ppv-header-h, 58px) !important;
  }

  /* Match page : le stream ne passe pas sous la navbar */
  body.empire-match-page {
    padding-top: 0 !important;
    --empire-nav-h: 58px;
  }

  body.empire-match-page #empire-match-root {
    padding-top: calc(
      var(--lmds-ppv-header-h, 58px) + env(safe-area-inset-top, 0px)
    ) !important;
  }

  .lmds-ppv-header {
    display: block !important;
    position: fixed;
    top: 0 !important;
    left: 0;
    right: 0;
    z-index: 50;
    height: 58px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: rgba(8, 8, 16, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .lmds-ppv-header__inner {
    height: 100%;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    box-sizing: border-box;
  }

  .lmds-ppv-header__left,
  .lmds-ppv-header__right {
    display: flex;
    align-items: center;
  }

  .lmds-ppv-header__right {
    justify-content: flex-end;
    gap: 6px;
  }

  .lmds-ppv-header__brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }

  .lmds-ppv-logo {
    display: block;
    height: 64px !important;
    width: auto !important;
    max-width: 230px !important;
    object-fit: contain;
    background: transparent;
    border-radius: 0;
    filter: none !important;
  }

  .lmds-ppv-header .lmds-iptv-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.95rem !important;
    border-radius: 9999px !important;
    border: 1.5px solid #3d8bff !important;
    background: transparent !important;
    color: #3d8bff !important;
    font-family: inherit !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    box-shadow: none !important;
  }

  .lmds-ppv-burger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 5.25px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: oklch(0.871 0.006 286.286);
    cursor: pointer;
  }

  .lmds-ppv-burger:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .lmds-ppv-burger svg {
    display: block;
    width: 20px;
    height: 20px;
  }

  .lmds-ppv-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(10, 12, 24, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  body.l1-nav-open .lmds-ppv-scrim {
    opacity: 1;
    pointer-events: auto;
  }

  /* Bottom sheet Nuxt UI — comme 5180 */
  .lmds-ppv-sheet {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    max-height: 96%;
    margin-top: 96px;
    padding: 0;
    background: rgba(10, 12, 24, 0.97);
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
    transform: translateY(110%);
    pointer-events: none;
    transition: transform 0.24s ease;
  }

  body.l1-nav-open .lmds-ppv-sheet {
    transform: translateY(0);
    pointer-events: auto;
  }

  body.l1-nav-open {
    overflow: hidden !important;
  }

  .lmds-ppv-sheet__nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 14px 14px calc(14px + env(safe-area-inset-bottom, 0px));
  }

  .lmds-ppv-sheet__nav a {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 5.25px 8.75px;
    border-radius: 6px;
    color: oklch(0.704 0.04 256.788);
    text-decoration: none;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI",
      Roboto, sans-serif;
    font-size: 12.25px;
    font-weight: 500;
    line-height: 1.25;
  }

  .lmds-ppv-sheet__nav a:active,
  .lmds-ppv-sheet__nav a:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
  }

  .lmds-ppv-ext {
    font-size: 11px;
    opacity: 0.75;
  }
}
