/* Fond site — image Pinterest (bleu) */
#lmds-page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(
      180deg,
      rgba(6, 18, 48, 0.28) 0%,
      rgba(6, 14, 40, 0.38) 45%,
      rgba(4, 10, 28, 0.55) 100%
    ),
    url("/assets/bg-blue.jpg?v=halftone1");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

html,
body,
body.dark,
#__nuxt,
#__nuxt.isolate {
  background: transparent !important;
  background-color: transparent !important;
}

html.dark,
.dark {
  --ui-bg: rgba(8, 8, 16, 0.55) !important;
  --ui-bg-muted: rgba(10, 10, 20, 0.62) !important;
  --ui-bg-elevated: rgba(14, 14, 28, 0.72) !important;
  --ui-bg-accented: rgba(18, 18, 34, 0.78) !important;
  --generic-surface: rgba(8, 8, 16, 0.55) !important;
  --generic-surface-elevated: rgba(12, 12, 24, 0.65) !important;
}

.bg-default,
.min-h-screen.bg-default,
.min-h-svh.bg-default {
  background-color: rgba(8, 8, 16, 0.55) !important;
}

#__nuxt {
  position: relative;
  z-index: 1;
}

/* Modals / pickers teleports (Multivue, etc.) au-dessus de #__nuxt */
#teleports,
body > .fixed {
  z-index: 200 !important;
}

#teleports {
  position: relative;
}

/* Panneau de sélection : opaque (sinon la grille Multivue transparait) */
body > .fixed[class*="divide-y"],
body > .fixed[class*="bg-default"]:not(.inset-0) {
  background-color: rgba(10, 12, 24, 0.97) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* LMDS+ — logo navbar */
a:has(> .lmds-logo-img) {
  display: inline-flex;
  align-items: center;
  background: transparent !important;
  padding: 0;
  box-shadow: none !important;
}

.lmds-logo-img {
  display: block;
  height: 58px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  background: transparent !important;
  border-radius: 0 !important;
  filter: brightness(0) saturate(100%) invert(14%) sepia(100%) saturate(6500%)
    hue-rotate(212deg) brightness(92%) contrast(108%) !important;
}

@media (max-width: 860px) {
  .lmds-logo-img {
    height: 48px;
    max-width: 175px;
  }
}

/* Bouton IPTV navbar — remplace Connexion / Inscription */
.lmds-iptv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border: 1.5px solid #3d8bff;
  border-radius: 9999px;
  background: transparent;
  color: #3d8bff;
  font-size: clamp(0.62rem, 1.4vw, 0.75rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  transition: border-color 0.15s, color 0.15s, background 0.15s, box-shadow 0.15s;
}

.lmds-iptv-btn:hover {
  color: #fff;
  border-color: #6cb0ff;
  background: rgba(61, 139, 255, 0.14);
  box-shadow: 0 0 22px rgba(61, 139, 255, 0.28);
}

@media (max-width: 640px) {
  .lmds-iptv-btn {
    font-size: 0.58rem;
    padding: 0.45rem 0.75rem;
  }
}

/* Bandeau signalement stream — page live */
.lmds-stream-discord-hint {
  padding: 0.65rem 1rem 0;
  flex-shrink: 0;
}

.lmds-stream-discord-hint__text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(239, 239, 241, 0.72);
}

.lmds-stream-discord-hint__link {
  color: #3d8bff;
  font-weight: 600;
  text-decoration: none;
}

.lmds-stream-discord-hint__link:hover {
  color: #6cb0ff;
  text-decoration: underline;
}

/* Cartes chaînes TV — style propre, aligné sur les cartes match */
.lmds-tv-card {
  display: block;
}

.lmds-tv-thumb {
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden !important;
  background: #0b0b10 !important;
}

.lmds-tv-thumb--bein {
  background: linear-gradient(165deg, #12081c 0%, #1a0f2e 55%, #0b0b10 100%) !important;
}

.lmds-tv-thumb--canal {
  background: linear-gradient(165deg, #0a0a0a 0%, #141414 55%, #0b0b10 100%) !important;
}

.lmds-tv-thumb--rmc {
  background: linear-gradient(165deg, #140608 0%, #1a0a0c 55%, #0b0b10 100%) !important;
}

.lmds-tv-thumb--eurosport {
  background: linear-gradient(165deg, #000814 0%, #001a52 55%, #0b0b10 100%) !important;
}

.lmds-tv-thumb--ligue1 {
  background: linear-gradient(165deg, #001208 0%, #003a20 55%, #0b0b10 100%) !important;
}

.lmds-tv-thumb--lequipe {
  background: linear-gradient(165deg, #140608 0%, #1a0a0c 55%, #0b0b10 100%) !important;
}

.lmds-tv-thumb--france {
  background: linear-gradient(165deg, #050d1c 0%, #0c1c3d 55%, #0b0b10 100%) !important;
}

.lmds-tv-thumb--tf1 {
  background: linear-gradient(90deg, #0a2a7a 0%, #3a1878 50%, #7a1028 100%) !important;
}

.lmds-tv-thumb--m6 {
  background: linear-gradient(165deg, #140a00 0%, #2a1800 55%, #0b0b10 100%) !important;
}

.lmds-tv-logo {
  width: 70%;
  height: 70%;
  max-width: 220px;
  max-height: 120px;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: auto;
  pointer-events: none;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.lmds-tv-card:hover .lmds-tv-logo {
  transform: scale(1.03);
}

.lmds-tv-logo--wide {
  width: 86%;
  height: 58%;
  max-height: 96px;
}

.lmds-tv-logo--missing {
  opacity: 0.25;
}

.lmds-tv-num {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 3;
  min-width: 2rem;
  padding: 0.15rem 0.45rem;
  border-radius: 0.35rem;
  background: rgba(91, 33, 182, 0.92);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

/* Titre live — structure Nuxt (bar + copy), accent bleu LMDS+ */
.lmds-live-heading-wrap {
  display: block !important;
  width: 100%;
  margin: 0 0 0.35rem;
}

.lmds-live-heading {
  --lmds-live: #3d8bff;
  position: relative;
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  justify-content: flex-start;
  gap: 0.85rem;
  width: 100%;
  margin: 0 0 1.5rem;
  padding: 0.15rem 0;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible;
}

.lmds-live-heading__bar {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  bottom: auto !important;
  display: block !important;
  flex: 0 0 3px;
  width: 3px !important;
  min-width: 3px;
  align-self: stretch;
  min-height: 2.75rem;
  border-radius: 999px;
  background: var(--lmds-live) !important;
  pointer-events: none;
  z-index: 0;
}

.lmds-live-heading__copy,
.lmds-live-heading__body {
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0;
  flex: 1 1 auto;
}

.lmds-live-heading__kicker {
  display: flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  margin: 0 0 0.45rem !important;
  color: var(--lmds-live) !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
}

.lmds-live-heading__dot,
.lmds-live-heading__ping-dot {
  display: inline-block !important;
  width: 0.5rem !important;
  height: 0.5rem !important;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--lmds-live) !important;
  box-shadow: 0 0 0 0 rgba(61, 139, 255, 0.55);
  animation: lmds-live-ping 1.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.lmds-live-heading__ping {
  position: relative;
  display: flex;
  width: 0.5rem;
  height: 0.5rem;
  flex-shrink: 0;
}

.lmds-live-heading__ping-ring {
  position: absolute;
  display: inline-flex;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: var(--lmds-live);
  opacity: 0.75;
  animation: lmds-live-ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.lmds-live-heading__label {
  color: var(--lmds-live) !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
}

.lmds-live-heading__title {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: none !important;
  box-shadow: none !important;
  outline: none !important;
  text-decoration: none !important;
  background: none !important;
  color: #fff !important;
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em;
  line-height: 1.25 !important;
}

.lmds-live-heading__title::before,
.lmds-live-heading__title::after,
.lmds-live-heading::before,
.lmds-live-heading::after {
  content: none !important;
  display: none !important;
}

@media (min-width: 768px) {
  .lmds-live-heading__title {
    font-size: 1.5rem !important;
  }
}

@keyframes lmds-live-ping {
  75%,
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* Zoom léger sur la bannière des cartes match (style KXO) */
a.item-card [data-slot="header"] {
  overflow: hidden;
}

a.item-card [data-slot="header"] img {
  transition:
    transform 0.35s ease-out,
    opacity 0.3s ease !important;
  transform: scale(1);
  will-change: transform;
}

a.item-card:hover [data-slot="header"] img,
a.item-card:focus-visible [data-slot="header"] img,
a.item-card:active [data-slot="header"] img {
  transform: scale(1.12);
}

/* Rail Matchs collé au flux + chat (grille 3 colonnes) */
html.lmds-has-matchs-rail {
  --lmds-matchs-rail-w: 300px;
  --stream-chat-w: clamp(260px, 20vw, 320px);
}

html.lmds-has-matchs-rail.lmds-matchs-rail-collapsed {
  --lmds-matchs-rail-w: 52px;
}

html.lmds-has-matchs-rail .live-page-container {
  display: grid !important;
  grid-template-columns:
    var(--lmds-matchs-rail-w, 280px)
    minmax(0, 1fr)
    var(--stream-chat-w, clamp(260px, 20vw, 320px)) !important;
  align-items: stretch !important;
  height: calc(100dvh - var(--ui-header-height, 64px)) !important;
  max-height: calc(100dvh - var(--ui-header-height, 64px)) !important;
  min-height: 0 !important;
  overflow: hidden !important;
  width: 100% !important;
  margin: 0 !important;
  gap: 0 !important;
}

html.lmds-has-matchs-rail .live-page-container > .flex.flex-col.flex-1,
html.lmds-has-matchs-rail .live-page-container > div.flex.flex-col {
  margin-right: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: 100% !important;
  overflow: auto !important;
  width: auto !important;
  max-width: none !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

html.lmds-has-matchs-rail .live-page-container > .flex.flex-col.flex-1::-webkit-scrollbar,
html.lmds-has-matchs-rail .live-page-container > div.flex.flex-col::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

html.lmds-has-matchs-rail .live-page-container > .fixed.right-0,
html.lmds-has-matchs-rail .live-page-container > .hidden.lg\:block.fixed.right-0 {
  position: relative !important;
  inset: auto !important;
  right: auto !important;
  top: auto !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 0 !important;
  border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
  overflow: hidden !important;
}

html.lmds-has-matchs-rail main.min-h-\[calc\(100vh-var\(--ui-header-height\)\)\] {
  min-height: 0 !important;
  height: calc(100dvh - var(--ui-header-height, 64px)) !important;
  overflow: hidden !important;
}

#streamChannels.stream-col-channels {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 2;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column;
  background: transparent !important;
  border: none !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  overflow: hidden;
  transition: none;
}

.stream-channels-head {
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  padding: 14px 12px 12px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.stream-channels-title {
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  color: #f5f5f5 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.stream-channels-toggle {
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: #bfbfbf !important;
  cursor: pointer !important;
}

.stream-channels-toggle:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
}

html.lmds-matchs-rail-collapsed .stream-channels-toggle svg {
  transform: rotate(180deg);
}

html.lmds-matchs-rail-collapsed .stream-channels-title,
html.lmds-matchs-rail-collapsed .stream-channels-list {
  display: none !important;
}

html.lmds-matchs-rail-collapsed .stream-channels-head {
  justify-content: center !important;
  padding: 14px 0 !important;
}

.stream-channels-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: hidden auto !important;
  padding: 8px 8px 12px !important;
  scrollbar-width: none !important;
}

.stream-channels-list::-webkit-scrollbar {
  display: none !important;
}

.stream-channels-empty {
  margin: 0 !important;
  padding: 20px 14px !important;
  font-size: 13px !important;
  color: #7a7a7a !important;
  text-align: center !important;
}

.stream-channels-section {
  display: block !important;
  margin: 4px 0 2px !important;
  padding: 6px 4px 2px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  color: #c7c7c7 !important;
}

/* Mini carte = StreamCard recherche (horizontal + dégradé bannière transparent) */
a.lmds-mini-card {
  display: block !important;
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  height: auto !important;
  min-height: 80px !important;
  text-decoration: none !important;
  color: inherit !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: transparent !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28) !important;
  outline: 1px solid rgba(255, 255, 255, 0.08);
  transition: outline-color 0.15s, transform 0.12s, box-shadow 0.15s !important;
}

.stream-channels-section {
  flex: 0 0 auto !important;
}

a.lmds-mini-card:hover {
  outline-color: rgba(61, 139, 255, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35) !important;
}

a.lmds-mini-card.is-active {
  outline-color: rgba(61, 139, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(61, 139, 255, 0.35), 0 8px 22px rgba(30, 90, 220, 0.2) !important;
}

.lmds-mini-card__inner,
.lmds-mini-card__inner.card-hover-gradient {
  display: flex !important;
  align-items: stretch !important;
  min-height: 80px !important;
  height: 80px !important;
  background-color: transparent !important;
  background-image: linear-gradient(
      90deg,
      var(--gradient-start-color, rgba(255, 255, 255, 0.08)),
      var(--gradient-middle-color, rgba(0, 0, 0, 0.22)),
      var(--gradient-end-color, rgba(255, 255, 255, 0.08))
    ) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.lmds-mini-card__poster {
  position: relative !important;
  width: 122px !important;
  flex: 0 0 122px !important;
  height: 80px !important;
  overflow: hidden !important;
  background: transparent !important;
}

.lmds-mini-card__poster img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 0 !important;
}

.lmds-mini-card__poster-empty {
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
}

.lmds-mini-card__body {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 10px 12px !important;
  background: transparent !important;
}

.lmds-mini-card__name {
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: #fff !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.lmds-mini-card__meta {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  min-width: 0 !important;
}

.lmds-mini-card__tag {
  font-size: 12px !important;
  color: #9ca3af !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  min-width: 0 !important;
}

.lmds-mini-card__live {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.32rem !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  font-family: Geist, "Segoe UI", sans-serif !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  color: #ef4444 !important;
  white-space: nowrap !important;
  font-variant-numeric: tabular-nums !important;
  line-height: 1 !important;
  letter-spacing: 0.01em;
}

.lmds-mini-card__live > strong {
  display: none !important;
}

.lmds-mini-card__live::before {
  content: "";
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: 0.9;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z' stroke='%23ef4444' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12' r='2.75' stroke='%23ef4444' stroke-width='1.75'/%3E%3C/svg%3E");
}

.lmds-mini-card__countdown {
  flex-shrink: 0 !important;
  font-size: 12px !important;
  color: #9ca3af !important;
  white-space: nowrap !important;
  font-variant-numeric: tabular-nums !important;
}

html.lmds-has-matchs-rail body,
html.lmds-has-matchs-rail #__nuxt {
  padding-left: 0 !important;
}

html.lmds-has-matchs-rail .sticky.top-0.z-50 {
  margin-left: 0 !important;
  width: 100% !important;
}

@media (max-width: 1023px) {
  html.lmds-has-matchs-rail .live-page-container {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  #streamChannels.stream-col-channels {
    display: none !important;
  }

  html.lmds-has-matchs-rail .live-page-container > .fixed.right-0,
  html.lmds-has-matchs-rail .live-page-container > .hidden.lg\:block.fixed.right-0 {
    display: none !important;
  }
}

/* Fond = bannière du match (léger flou) sur pages stream */
html.lmds-stream-match-bg #lmds-page-bg {
  background-image: linear-gradient(
      180deg,
      rgba(6, 10, 22, 0.45) 0%,
      rgba(6, 10, 22, 0.55) 45%,
      rgba(6, 10, 22, 0.72) 100%
    ),
    var(--lmds-stream-poster) !important;
  background-size: cover !important;
  background-position: center center !important;
  filter: blur(10px);
  transform: scale(1.06);
  transform-origin: center center;
}

/* Offres IPTV — structure kzreborn, accent bleu + animations */
.lmds-home-offers {
  --offer-blue: #3d8bff;
  --offer-blue-hot: #5ba3ff;
  --offer-blue-dim: rgba(61, 139, 255, 0.15);
  position: relative;
  z-index: 1;
  padding: 1.25rem 1rem 2.25rem;
  flex-shrink: 0;
  font-family: Inter, Outfit, system-ui, sans-serif;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

.lmds-offers-head {
  margin-bottom: 1.15rem;
  opacity: 0;
  transform: translateY(18px);
  filter: blur(4px);
  transition: none;
}

.lmds-home-offers.is-visible .lmds-offers-head {
  animation: lmds-fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.lmds-offers-heading {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #fff 0%, #9ec5ff 55%, var(--offer-blue) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: lmds-title-shine 4s ease-in-out infinite;
}

.lmds-offers-sub {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.lmds-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.lmds-pricing-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 375px;
  padding: 22px 18px 18px;
  border-radius: 16px;
  background-color: #050507;
  background-image: linear-gradient(
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.016) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  filter: blur(6px);
  transition: transform 0.22s cubic-bezier(0.23, 1, 0.32, 1),
    border-color 0.22s, box-shadow 0.22s;
}

.lmds-home-offers.is-visible .lmds-pricing-card {
  animation: lmds-card-in 0.75s cubic-bezier(0.16, 1, 0.3, 1)
    calc(var(--delay, 0) * 0.12s + 0.12s) both;
}

.lmds-home-offers.is-visible .lmds-pricing-pop {
  animation: lmds-card-in 0.75s cubic-bezier(0.16, 1, 0.3, 1)
      calc(var(--delay, 0) * 0.12s + 0.12s) both,
    lmds-pop-glow 2.8s ease-in-out 1s infinite;
}

.lmds-pricing-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(61, 139, 255, 0.35);
  box-shadow: 0 16px 40px rgba(61, 139, 255, 0.18);
}

.lmds-pricing-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.08),
    transparent
  );
  transform: skewX(-18deg);
  pointer-events: none;
}

.lmds-pricing-card:hover::after {
  animation: lmds-shine-sweep 0.85s ease;
}

.lmds-pricing-card > a {
  margin-top: auto;
}

.lmds-pricing-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: rgba(39, 39, 42, 0.8);
  color: #71717a;
  animation: lmds-icon-float 3.2s ease-in-out infinite;
}

.lmds-pricing-icon svg {
  width: 20px;
  height: 20px;
}

.lmds-pricing-icon--hot {
  background: var(--offer-blue-dim);
  color: var(--offer-blue);
  box-shadow: 0 0 18px rgba(61, 139, 255, 0.25);
  animation: lmds-icon-pulse 2.2s ease-in-out infinite;
}

.lmds-pricing-badge {
  align-self: flex-start;
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d4d4d8;
  background: rgba(39, 39, 42, 0.8);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.lmds-pricing-badge--hot {
  color: var(--offer-blue-hot);
  background: var(--offer-blue-dim);
  box-shadow: inset 0 0 0 1px rgba(61, 139, 255, 0.3);
}

.lmds-pricing-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.lmds-pricing-desc {
  margin: 0 0 1.15rem;
  font-size: 0.75rem;
  color: #52525b;
}

.lmds-pricing-pop .lmds-pricing-desc {
  color: #a1a1aa;
}

.lmds-pricing-price {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.lmds-pricing-amount {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
}

.lmds-pricing-euro {
  font-size: 1.1rem;
  font-weight: 700;
  color: #71717a;
}

.lmds-pricing-pop .lmds-pricing-euro {
  color: #a1a1aa;
}

.lmds-pricing-features {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
  font-size: 0.875rem;
}

.lmds-pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #d4d4d8;
  opacity: 0;
  transform: translateX(-8px);
}

.lmds-home-offers.is-visible .lmds-pricing-features li {
  animation: lmds-feat-in 0.45s ease calc(var(--delay, 0) * 0.12s + var(--i) * 0.05s + 0.35s) both;
}

.lmds-pricing-pop .lmds-pricing-features li {
  color: #fff;
}

.lmds-check-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--offer-blue);
  filter: drop-shadow(0 0 4px rgba(61, 139, 255, 0.45));
}

.lmds-btn-soft {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.lmds-btn-soft:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.lmds-btn-soft:active {
  transform: scale(0.97);
}

/* Carte populaire */
.lmds-pricing-pop {
  padding: 0;
  border: 1.5px solid var(--offer-blue);
  background-image: linear-gradient(
    rgba(61, 139, 255, 0.08) 0%,
    rgba(61, 139, 255, 0.025) 40%,
    rgba(255, 255, 255, 0.02) 100%
  );
  box-shadow: 0 0 0 1px rgba(61, 139, 255, 0.2),
    0 0 28px rgba(61, 139, 255, 0.22);
}

.lmds-pricing-pop:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 0 0 1px rgba(61, 139, 255, 0.45),
    0 20px 48px rgba(61, 139, 255, 0.28);
}

.lmds-pricing-ribbon {
  display: block;
  width: 100%;
  height: 26px;
  line-height: 16px;
  box-sizing: border-box;
  text-align: center;
  color: #061018;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 14.5px 14.5px 0 0;
  background: linear-gradient(90deg, #2f74e8, var(--offer-blue), #7ab4ff, var(--offer-blue));
  background-size: 220% 100%;
  animation: lmds-ribbon-flow 2.8s linear infinite;
}

.lmds-pricing-pop-inner {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.lmds-btn-glow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none !important;
  color: #061018 !important;
  background: var(--offer-blue);
  overflow: hidden;
  box-shadow: 0 0 18px rgba(61, 139, 255, 0.45);
  animation: lmds-cta-pulse 2.4s ease-in-out infinite;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.lmds-btn-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  animation: lmds-cta-shine 2.6s ease-in-out infinite;
}

.lmds-btn-glow:hover {
  background: var(--offer-blue-hot);
  color: #061018 !important;
  box-shadow: 0 0 28px rgba(61, 139, 255, 0.65);
  transform: translateY(-1px);
}

.lmds-btn-glow:active {
  transform: scale(0.96);
}

@keyframes lmds-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes lmds-card-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.94);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes lmds-feat-in {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes lmds-shine-sweep {
  from {
    left: -120%;
  }
  to {
    left: 140%;
  }
}

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

@keyframes lmds-icon-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 12px rgba(61, 139, 255, 0.2);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 22px rgba(61, 139, 255, 0.45);
  }
}

@keyframes lmds-pop-glow {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(61, 139, 255, 0.2),
      0 0 22px rgba(61, 139, 255, 0.18);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(61, 139, 255, 0.45),
      0 0 36px rgba(61, 139, 255, 0.35);
  }
}

@keyframes lmds-ribbon-flow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

@keyframes lmds-cta-pulse {
  0%,
  100% {
    box-shadow: 0 0 14px rgba(61, 139, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 28px rgba(61, 139, 255, 0.7);
  }
}

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

@keyframes lmds-title-shine {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@media (max-width: 1280px) {
  .lmds-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .lmds-pricing-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .lmds-pricing-grid::-webkit-scrollbar {
    display: none;
  }
  .lmds-pricing-card {
    flex: 0 0 min(82vw, 300px);
    scroll-snap-align: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lmds-home-offers *,
  .lmds-home-offers *::before,
  .lmds-home-offers *::after {
    animation: none !important;
    transition: none !important;
  }
  .lmds-pricing-card,
  .lmds-offers-head,
  .lmds-pricing-features li {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* Espaces entre cartes = même padding natif px-2 py-2 du site */

/* Footer — typo propre */
footer[data-slot="root"] [data-slot="left"],
footer[data-slot="root"] [data-slot="center"],
footer[data-slot="root"] [data-slot="right"] {
  font-family: Geist, Inter, system-ui, sans-serif !important;
}

footer[data-slot="root"] [data-slot="left"] {
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  color: rgba(239, 239, 241, 0.78) !important;
}

.lmds-footer-made,
footer[data-slot="root"] .inline-emojis {
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em;
  color: rgba(239, 239, 241, 0.72) !important;
  line-height: 1.3 !important;
}

.lmds-footer-made img.twemojiParse,
footer[data-slot="root"] .inline-emojis img.twemojiParse {
  width: 1.05em !important;
  height: 1.05em !important;
  vertical-align: -0.15em;
}

/* Enlève le look “badge / boîte grise” du Made with */
footer[data-slot="root"] .inline-emojis span,
footer[data-slot="root"] [data-slot="center"] span:not(.iconify) {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* —— Aller à la catégorie : animations —— */
.lmds-cat-jump-title {
  animation: lmds-cat-title-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lmds-cat-jump {
  gap: 0.55rem !important;
}

.lmds-cat-chip-wrap {
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  animation: lmds-cat-chip-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--d, 0ms);
}

.lmds-cat-jump a.lmds-cat-chip,
.lmds-cat-jump a[data-slot="base"] {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate;
  border-radius: 10px !important;
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s ease,
    background-color 0.25s ease,
    color 0.2s ease,
    ring-color 0.25s ease,
    filter 0.25s ease !important;
  will-change: transform;
}

.lmds-cat-jump a.lmds-cat-chip::before,
.lmds-cat-jump a[data-slot="base"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(126, 182, 255, 0.22) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  pointer-events: none;
  z-index: 1;
}

.lmds-cat-jump a.lmds-cat-chip:hover::before,
.lmds-cat-jump a[data-slot="base"]:hover::before {
  animation: lmds-cat-shine 0.65s ease;
}

.lmds-cat-jump a.lmds-cat-chip:hover,
.lmds-cat-jump a[data-slot="base"]:hover {
  transform: translateY(-4px) scale(1.035) !important;
  background: rgba(61, 139, 255, 0.16) !important;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(108, 176, 255, 0.45),
    0 0 22px rgba(61, 139, 255, 0.28) !important;
  color: #fff !important;
  filter: brightness(1.08);
}

.lmds-cat-jump a.lmds-cat-chip:active,
.lmds-cat-jump a[data-slot="base"]:active {
  transform: translateY(-1px) scale(0.985) !important;
  box-shadow: 0 4px 14px rgba(61, 139, 255, 0.25) !important;
}

.lmds-cat-jump a.lmds-cat-chip:focus-visible,
.lmds-cat-jump a[data-slot="base"]:focus-visible {
  outline: none !important;
  box-shadow:
    0 0 0 2px rgba(61, 139, 255, 0.55),
    0 0 18px rgba(61, 139, 255, 0.35) !important;
}

.lmds-cat-ripple {
  position: absolute;
  border-radius: 999px;
  background: rgba(126, 182, 255, 0.4);
  transform: scale(0);
  pointer-events: none;
  z-index: 2;
  animation: lmds-cat-ripple 0.55s ease-out forwards;
}

@keyframes lmds-cat-title-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes lmds-cat-chip-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes lmds-cat-shine {
  to {
    transform: translateX(120%);
  }
}

@keyframes lmds-cat-ripple {
  to {
    transform: scale(2.2);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lmds-cat-jump-title,
  .lmds-cat-chip-wrap {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .lmds-cat-jump a.lmds-cat-chip:hover,
  .lmds-cat-jump a[data-slot="base"]:hover {
    transform: none !important;
  }

  .lmds-cat-jump a.lmds-cat-chip::before,
  .lmds-cat-jump a[data-slot="base"]::before {
    display: none;
  }
}

/* —— Compteur viewers (minimal, desktop + mobile) —— */
a.item-card .ml-auto.text-red-500,
a.item-card span.text-red-500,
.lmds-viewers,
.lmds-mini-card__live {
  color: #ef4444 !important;
}

a.item-card .ml-auto.text-red-500,
a.item-card span.text-red-500,
.lmds-viewers {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: Geist, "Segoe UI", sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  font-variant-numeric: tabular-nums !important;
  letter-spacing: 0.015em;
  line-height: 1 !important;
  white-space: nowrap !important;
  overflow: hidden;
}

a.item-card .ml-auto.text-red-500,
.lmds-viewers {
  margin-left: auto !important;
}

a.item-card .ml-auto.text-red-500 > strong,
a.item-card span.text-red-500 > strong,
.lmds-viewers > strong,
.lmds-viewers__eye {
  display: inline-block !important;
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0;
  overflow: hidden;
  font-size: 1px !important;
  line-height: 0 !important;
  color: transparent !important;
  text-indent: -999px;
  filter: none !important;
  animation: none !important;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z' stroke='%23ef4444' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12' r='2.75' stroke='%23ef4444' stroke-width='1.75'/%3E%3C/svg%3E");
}

.lmds-viewers__eye {
  width: 14px !important;
  height: 14px !important;
  text-indent: 0;
}

.lmds-viewers__n {
  display: inline-block;
  color: #ef4444 !important;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

a.item-card .ml-auto.text-red-500.is-slide,
a.item-card span.text-red-500.is-slide,
.lmds-viewers.is-slide,
.lmds-mini-card__live.is-slide,
.lmds-viewers__n.is-slide {
  animation: lmds-viewers-slide-right 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes lmds-viewers-slide-right {
  0% {
    transform: translateX(-10px);
    opacity: 0.15;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  a.item-card .ml-auto.text-red-500.is-slide,
  a.item-card span.text-red-500.is-slide,
  .lmds-viewers.is-slide,
  .lmds-mini-card__live.is-slide,
  .lmds-viewers__n.is-slide {
    animation: none !important;
  }
}

/* OpStream JW overlay on /live */
.lmds-opstream-host {
  position: relative;
  background: #000 !important;
}
.lmds-opstream-wrap,
.lmds-opstream-stage,
.lmds-opstream-jw {
  width: 100%;
  height: 100%;
  min-height: inherit;
}
.lmds-opstream-host--mobile,
.lmds-opstream-host--mobile .lmds-opstream-wrap,
.lmds-opstream-host--mobile .lmds-opstream-stage,
.lmds-opstream-host--mobile .lmds-opstream-jw {
  min-height: 200px;
}
.lmds-opstream-stage {
  position: relative;
  background: #050505;
}
.lmds-opstream-jw .jwplayer,
.lmds-opstream-jw video {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}
.lmds-opstream-jw video {
  max-height: 100%;
}
.lmds-opstream-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #e8e8e8;
  font-size: 0.95rem;
  background: radial-gradient(ellipse at center, #141414 0%, #050505 70%);
  z-index: 2;
  pointer-events: none;
}
.lmds-opstream-loading[hidden] {
  display: none !important;
}
.lmds-opstream-bar {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0.65rem 0 0;
  padding: 0.55rem 0.15rem 0.1rem;
}
.lmds-opstream-bar__meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}
.lmds-opstream-bar__badge {
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111;
  background: #f5c542;
  padding: 0.18rem 0.45rem;
  border-radius: 0.25rem;
}
.lmds-opstream-bar__title {
  font-size: 0.82rem;
  color: #c8c8c8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lmds-opstream-bar__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.lmds-opstream-chip {
  appearance: none;
  border: 1px solid #333;
  background: #161616;
  color: #ddd;
  font-size: 0.75rem;
  line-height: 1.2;
  padding: 0.35rem 0.55rem;
  border-radius: 0.35rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.lmds-opstream-chip:hover {
  border-color: #666;
  background: #1f1f1f;
}
.lmds-opstream-chip.is-fr {
  border-color: #2f5d9f;
}
.lmds-opstream-chip.is-active {
  border-color: #f5c542;
  background: #2a2208;
  color: #ffe9a3;
}
