:root {
  --primary: 270 90% 65%;
  --primary-rgb: 168, 85, 247;
  --lkz-page-max: 1600px;
  --lkz-page-pad-x: clamp(1.25rem, 3vw, 2rem);
  --stream-channels-w: 260px;
  --stream-channels-w-collapsed: 52px;
  --stream-chat-w: clamp(260px, 20vw, 320px);
  --stream-embed-zoom: 1;
  --lkz-index-bg: url("https://wallpaper.forfun.com/fetch/99/99603c634eafc65ae02e6cc45d7c3ae8.jpeg");
  --lkz-cdm-bg: var(--lkz-index-bg);
  --lkz-stream-bg: var(--lkz-cdm-bg);
  --lkz-page-bg-gradient: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.28) 0%,
    rgba(0, 0, 0, 0.38) 45%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

*, *::before, *::after {
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #000;
  min-height: 100vh;
  color: #fff;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* ── Scène d'arrière-plan (canvas particules) ── */
.scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #000;
}

.scene canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

body.lkz-particles-mono,
body.lkz-particles-mono .scene {
  background: #000;
}

/* Fond noir + étoiles violettes (défaut particules) */
body:has(.scene),
body:has(.scene) .scene {
  background: #000;
}

/* Toutes les pages site : fond photo Messi */
body.lkz-index-page,
body.stream-body,
body.lkz-programme-page,
body.lkz-iptv-page,
body.lkz-channels-page,
body.lkz-music-page,
body.lkz-chaine-watch,
body.lkz-chaine-watch:has(.scene) {
  background-color: #000;
  background-image: var(--lkz-index-bg);
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

@media (max-width: 768px) {
  body.lkz-index-page,
  body.stream-body,
  body.lkz-programme-page,
  body.lkz-iptv-page,
  body.lkz-channels-page,
  body.lkz-music-page,
  body.lkz-chaine-watch,
  body.lkz-chaine-watch:has(.scene) {
    background-position: center center;
    background-attachment: scroll;
  }
}

/* Chaîne watch : particules au-dessus du fond */
body.lkz-chaine-watch .scene,
body.lkz-chaine-watch:has(.scene) .scene {
  background: transparent;
}

body.lkz-chaine-watch > .scene,
body.lkz-chaine-watch > .cw-nav,
body.lkz-chaine-watch > .cw-shell {
  position: relative;
  z-index: 1;
}

/* Voile sombre sur le fond */
body.stream-body::before,
body.lkz-index-page::before,
body.lkz-programme-page::before,
body.lkz-iptv-page::before,
body.lkz-channels-page::before,
body.lkz-music-page::before,
body.lkz-chaine-watch::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--lkz-page-bg-gradient);
}

body.stream-body::after {
  content: none;
  display: none;
}

/* Ancienne couche vidéo : désactivée (fond = photo body) */
.stream-page-bg {
  display: none !important;
}

.stream-page-bg__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  object-fit: cover;
  object-position: center center;
  opacity: 0.38;
}

.stream-page-bg__yt-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

/* YouTube plein écran (cover 16:9) — stream only */
.stream-page-bg__yt {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.78vh;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

.stream-page-bg__shade {
  position: absolute;
  inset: 0;
  background: transparent; /* le noir vient de opacity vidéo + fond #000 */
}

.stream-page-bg__audio {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .stream-page-bg__video,
  .stream-page-bg__yt,
  .stream-page-bg__yt-wrap {
    display: none;
  }

  .stream-page-bg {
    background-image: var(--lkz-stream-bg);
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
  }
}

body.lkz-index-page nav,
body.lkz-index-page main,
body.lkz-index-page footer,
body.stream-body > .site-nav,
body.stream-body > .stream-shell,
body.lkz-programme-page > .site-nav,
body.lkz-programme-page > main,
body.lkz-iptv-page > .site-nav,
body.lkz-iptv-page > main,
body.lkz-channels-page > .site-nav,
body.lkz-channels-page > .wrap,
body.lkz-channels-page > main,
body.lkz-music-page > .site-nav,
body.lkz-music-page > .hero-center,
body.lkz-music-page > .dz-shell,
body.lkz-music-page > .sp-shell {
  position: relative;
  z-index: 1;
}

/* Tout le contenu doit passer au-dessus du canvas */
nav, main, footer, #playerModal {
  position: relative;
  z-index: 1;
}

main {
  overflow-x: clip;
  max-width: 100%;
}
nav { z-index: 30; }
#playerModal { z-index: 50; }

/* ── Barre de tâche / Header ── */
.site-nav {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: clamp(1.5rem, 5vw, 4rem);
  width: 100%;
  max-width: var(--lkz-page-max);
  margin: 0 auto;
  padding: 1.5rem var(--lkz-page-pad-x) 0.6rem;
  min-height: 56px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  justify-self: start;
  min-width: 0;
  margin-left: 0;
}

.wordmark-link {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  flex-shrink: 0;
}
.wordmark-link:hover .wordmark { opacity: 0.92; }
.wordmark-link:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 4px;
  border-radius: 4px;
}

.wordmark {
  font-size: clamp(1.35rem, 4.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
}
.wordmark .accent {
  color: hsl(var(--primary));
  text-shadow: 0 0 26px hsla(var(--primary) / 0.45);
}

.nav-sep {
  width: 1px;
  height: 1.7rem;
  flex-shrink: 0;
  align-self: center;
  border-radius: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 20%,
    hsla(var(--primary) / 0.4) 50%,
    rgba(255, 255, 255, 0.12) 80%,
    transparent 100%
  );
}

.nav-main {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: clamp(1.3rem, 4vw, 2.25rem);
  min-width: 0;
}

.nav-link {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s, text-shadow 0.15s;
}
.nav-link:hover { color: hsl(270 100% 80%); }
.nav-link--active {
  color: hsl(var(--primary));
  text-shadow: 0 0 20px hsla(var(--primary) / 0.4);
}
.nav-link:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 4px;
  border-radius: 4px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  justify-self: end;
  flex-shrink: 0;
  margin-right: 0;
}
.nav-right > .nav-sep { margin-right: 0.3rem; }

.cta-iptv {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1.5px solid hsl(var(--primary));
  background: transparent;
  color: hsl(270 100% 80%);
  font-size: clamp(0.625rem, 1.5vw, 0.75rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 0.95rem;
  border-radius: 8px;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s, background 0.15s, box-shadow 0.15s;
  font-family: inherit;
  cursor: pointer;
}
.cta-iptv:hover {
  border-color: hsl(270 100% 80%);
  color: #fff;
  background: hsla(var(--primary) / 0.14);
  box-shadow: 0 0 24px hsla(var(--primary) / 0.22);
}
.cta-iptv__short { display: none; }

.social-sq {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(206, 167, 255, 0.2);
  background: rgba(12, 10, 18, 0.85);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.social-sq:hover {
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
  background: hsla(var(--primary) / 0.1);
}
.social-sq svg { display: block; }

/* Footer */
.footer-blur {
  background: hsla(0, 0%, 6.7%, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

@media (max-width: 720px) {
  .site-nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    column-gap: 0.4rem;
    row-gap: 0;
    padding: 0.5rem 0.7rem;
    min-height: 48px;
  }
  .nav-brand {
    gap: 0.3rem;
    flex: 0 0 auto;
    min-width: 0;
  }
  .nav-brand .nav-sep,
  .nav-right > .nav-sep { display: none; }
  .nav-main {
    flex: 1 1 auto;
    justify-content: center;
    gap: clamp(0.45rem, 2.8vw, 1rem);
    min-width: 0;
  }
  .nav-link {
    font-size: clamp(0.58rem, 2.5vw, 0.72rem);
    letter-spacing: 0.05em;
  }
  .nav-right {
    gap: 0.28rem;
    flex: 0 0 auto;
  }
  .cta-iptv__long { display: none; }
  .cta-iptv__short { display: inline; }
  .cta-iptv {
    padding: 0.35rem 0.5rem;
    font-size: clamp(0.6rem, 2.5vw, 0.7rem);
  }
  .social-sq { width: 32px; height: 32px; }
  .social-sq svg { width: 14px; height: 14px; }
}

.btn-press { transition: transform 0.15s; }
.btn-press:active { transform: scale(0.96); }

/* ── Animations ── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}
.animate-fade-up {
  animation: fade-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ── Hero central : gros wordmark ── */
.hero-center {
  text-align: center;
  padding: 0.75rem 0.5rem 1rem;
  animation: fade-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-wordmark {
  margin: 0;
  font-size: clamp(2.75rem, 9vw, 4.75rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: #fff;
}
.hero-wordmark .accent {
  color: hsl(var(--primary));
  text-shadow: 0 0 42px hsla(var(--primary) / 0.55);
}

.hero-sub {
  margin: 1rem 0 0;
  font-size: clamp(0.95rem, 2.4vw, 1.15rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: hsl(0 0% 70%);
}

@keyframes pulse-dot { 50% { opacity: 0.5; } }

/* ── Grille de cartes (format référence 350×210) ── */
:root {
  --lkz-card-w: 350px;
  --lkz-card-h: 210px;
}

.lkz-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
  width: 100%;
  max-width: 100%;
}

.lkz-grid:has(.lkz-card:only-child) {
  grid-template-columns: minmax(0, min(var(--lkz-card-w), 100%));
  justify-content: start;
}

@media (max-width: 639px) {
  /* Mobile : carrousel horizontal (cartes en ligne, scroll latéral) */
  .lkz-grid,
  .lkz-grid:has(.lkz-card:only-child) {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .lkz-grid::-webkit-scrollbar {
    display: none;
  }

  .lkz-grid .lkz-card.card-match {
    flex: 0 0 clamp(220px, 72vw, 300px);
    width: clamp(220px, 72vw, 300px);
    max-width: clamp(220px, 72vw, 300px);
    height: auto;
    aspect-ratio: 350 / 210;
    /* Pas de min-height:0 — collapse iOS Safari (cartes invisibles) */
    min-height: clamp(132px, calc(72vw * 210 / 350), 180px);
    max-height: none;
    margin: 0;
    scroll-snap-align: start;
    border-radius: 12px;
  }

  .lkz-card .tag-time-text {
    font-size: 12px;
  }

  .lkz-card .match-title {
    font-size: 13px;
    line-height: 1.2;
  }

  .lkz-card .date-kick-row {
    font-size: 11px;
  }

  .lkz-card .info-teams-row .icone,
  .lkz-card .info-teams-row .icone-fallback {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }

  .lkz-card .tag-time,
  .lkz-card .tag-sport {
    font-size: 10px;
    padding: 3px 8px;
  }

  .lkz-card .tag-time {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: hsla(0, 0%, 10%, 0.55);
    padding: 5px 10px;
  }

  .lkz-card .tag-time-text {
    font-size: 13px !important;
    font-weight: 700;
  }

  .lkz-card .icone-min {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    margin-right: 8px;
  }

  .lkz-card .info-teams-row {
    display: flex !important;
  }

  .lkz-grid-shell {
    position: relative;
  }

  .lkz-grid-swipe-hint {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 6px;
    width: 52px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    padding-right: 8px;
    pointer-events: none;
    z-index: 3;
    background: linear-gradient(
      90deg,
      transparent 0%,
      hsl(0 0% 5.1% / 0.55) 42%,
      hsl(0 0% 5.1% / 0.92) 100%
    );
    opacity: 1;
    visibility: visible;
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }

  .lkz-grid-shell--end .lkz-grid-swipe-hint,
  .lkz-grid-shell--single .lkz-grid-swipe-hint {
    opacity: 0;
    visibility: hidden;
  }

  .lkz-grid-swipe-hint__chev {
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    color: hsl(270 90% 72%);
    text-shadow: 0 0 12px hsl(270 90% 65% / 0.45);
    animation: lkz-swipe-nudge 1.35s ease-in-out infinite;
  }

  .lkz-grid-swipe-hint__chev--2 {
    margin-left: -5px;
    opacity: 0.55;
    animation-delay: 0.12s;
  }
}

@keyframes lkz-swipe-nudge {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.35;
  }
  50% {
    transform: translateX(5px);
    opacity: 1;
  }
}

@media (min-width: 640px) {
  .lkz-grid-swipe-hint {
    display: none !important;
  }
}

@media (min-width: 640px) {
  .lkz-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(8px, 1vw, 1rem);
  }

  .lkz-grid:has(.lkz-card:only-child) {
    grid-template-columns: minmax(0, min(var(--lkz-card-w), 100%));
  }

  .lkz-card.card-match {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 350 / 210;
    min-height: 140px;
    max-height: none;
    margin: 0;
  }
}

@media (min-width: 1024px) {
  .lkz-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(10px, 1.1vw, 1.25rem);
  }
}

/* Page chaînes : 5 colonnes desktop, 3 sur téléphone (inspiré LMDS) */
.lkz-grid.lkz-grid--channels,
.lkz-grid.lkz-grid--channels:has(.lkz-card:only-child) {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  overflow: visible;
  flex-wrap: unset;
  flex-direction: unset;
  scroll-snap-type: none;
  padding-bottom: 0;
}

@media (min-width: 1200px) {
  .lkz-grid.lkz-grid--channels,
  .lkz-grid.lkz-grid--channels:has(.lkz-card:only-child) {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .lkz-grid.lkz-grid--channels,
  .lkz-grid.lkz-grid--channels:has(.lkz-card:only-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
  }
}

/* Toolbar recherche + onglets */
.channels-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .channels-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
  }
}

.channels-search {
  width: 100%;
  max-width: 22rem;
  height: 42px;
  padding: 0 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.channels-search::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.channels-search:focus {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
}

/* Onglets Toutes / Favoris — ligne violet qui glisse */
.channels-tabs {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  gap: 1.35rem;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  align-self: flex-start;
}

.channels-tabs__line {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(90deg, #a855f7, #c084fc);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.35);
  pointer-events: none;
  z-index: 1;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.3, 0.64, 1),
    width 0.4s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.channels-tab {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: auto;
  min-height: 40px;
  padding: 0.35rem 0.1rem 0.7rem;
  border: none;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color 0.25s ease;
}

.channels-tab svg {
  width: 12px;
  height: 12px;
  opacity: 0.55;
  transition:
    opacity 0.25s ease,
    color 0.25s ease,
    transform 0.4s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.channels-tab:hover {
  color: rgba(255, 255, 255, 0.78);
}

.channels-tab:hover svg {
  opacity: 0.8;
}

.channels-tab.is-active {
  color: #fff;
  background: transparent;
  box-shadow: none;
}

.channels-tab.is-active svg {
  opacity: 1;
  color: #f5c542;
  transform: scale(1.12) rotate(-8deg);
}

.channels-tab__count {
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: 0.62rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.45);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.4s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.channels-tab.is-active .channels-tab__count {
  background: rgba(168, 85, 247, 0.2);
  color: #e9d5ff;
  transform: scale(1.05);
}

.channels-tab:focus-visible {
  outline: none;
  color: #fff;
}

.channels-tab:focus-visible::after {
  content: "";
  position: absolute;
  inset: 4px -4px 10px;
  border-radius: 6px;
  box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.35);
  pointer-events: none;
}

/* Cartes chaînes — calque LMDS (logo 16:9 + foot) */
.channel-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  height: auto;
  aspect-ratio: unset;
  padding: 0;
  border-radius: 14px;
  cursor: pointer;
  box-sizing: border-box;
  background: transparent;
  border: none;
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.channel-tile:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.05);
}

.channel-tile:focus-visible {
  outline: 2px solid hsl(270 90% 65%);
  outline-offset: 3px;
}

.channel-tile.is-offline {
  opacity: 0.92;
}

.channel-tile.is-offline .channel-tile__logo-inner {
  opacity: 0.72;
}

.channel-tile.is-offline:hover {
  transform: none;
  background: transparent;
  cursor: not-allowed;
}

.channel-tile__head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 1.85rem;
  padding: 0.4rem 0.55rem 0;
  gap: 0.5rem;
}

.channel-tile__fav {
  position: static;
  border: none;
  background: transparent;
  color: rgba(185, 131, 255, 0.55);
  padding: 0.2rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 6px;
  font-size: 1.05rem;
  transition: color 0.15s, background 0.15s, transform 0.15s;
  display: grid;
  place-items: center;
  width: auto;
  height: auto;
  z-index: auto;
}

.channel-tile__fav:hover {
  color: #c084fc;
  background: rgba(168, 85, 247, 0.12);
  transform: none;
}

.channel-tile__fav.is-on {
  color: #facc15;
  text-shadow: 0 0 14px rgba(250, 204, 21, 0.55);
}

.channel-tile__fav.is-on:hover {
  color: #fde047;
  background: rgba(250, 204, 21, 0.08);
}

.channel-tile__fav svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
}

.channel-tile__logo-pane {
  padding: 0.25rem 0.55rem 0.35rem;
  flex: 0 0 auto;
  min-height: 0;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

.channel-tile__logo-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
  overflow: hidden;
}

.channel-tile__logo-inner img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.channel-tile__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.04);
  width: auto;
  height: auto;
  border: none;
  border-radius: 0;
}

.channel-tile__foot {
  padding: 0.55rem 0.65rem 0.75rem;
  border-top: none;
  background: transparent;
}

.channel-tile__name {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
  letter-spacing: 0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.35em;
  text-align: left;
  white-space: normal;
  text-overflow: unset;
  max-width: none;
  padding: 0;
}

.channel-tile__now {
  margin: 0.35rem 0 0;
  max-width: 100%;
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.3;
  color: rgba(216, 180, 254, 0.88);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.channel-tile__now.is-empty {
  color: rgba(255, 255, 255, 0.35);
}

.channel-tile__meta {
  margin-top: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
  padding: 0;
}

.channel-tile__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 600;
  padding: 0.2rem 0.4rem;
  height: auto;
  border-radius: 4px;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(39, 39, 42, 0.85);
  color: #d4d4d8;
}

.channel-tile__chip--cat {
  background: rgba(39, 39, 42, 0.85);
  border-color: rgba(255, 255, 255, 0.1);
  color: #d4d4d8;
}

.channel-tile__chip--hd {
  background: rgba(168, 85, 247, 0.18);
  color: #e8cfff;
  border-color: rgba(192, 132, 252, 0.35);
}

.channel-tile__chip--lang {
  color: #71717a;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 899px) {
  .channel-tile__head {
    min-height: 1.5rem;
    padding: 0.3rem 0.4rem 0;
  }

  .channel-tile__logo-pane {
    padding: 0.15rem 0.4rem 0.25rem;
  }

  .channel-tile__foot {
    padding: 0.4rem 0.45rem 0.6rem;
  }

  .channel-tile__name {
    font-size: 0.72rem;
    min-height: 2.1em;
  }
}

/* ── Cartes match (format Empire Sport 350×210) ── */
.lkz-card.card-match {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  max-width: 100%;
  height: var(--lkz-card-h);
  min-height: var(--lkz-card-h);
  max-height: var(--lkz-card-h);
  margin: 0;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #2f2f2f;
  border: none;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-sizing: border-box;
  --card-tint-left-rgb: 28, 32, 38;
  --card-tint-right-rgb: 20, 24, 30;
  --card-tint-deep-rgb: 10, 10, 12;
}

.lkz-card.card-match:hover {
  transform: translateY(-3px);
  box-shadow:
    0 16px 44px hsla(var(--primary) / 0.22),
    0 0 48px hsla(var(--primary) / 0.14);
}

.lkz-card .img-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
  filter: brightness(1.06) saturate(1.04);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.lkz-card .img-banner-fallback {
  background: linear-gradient(135deg, #1a1228 0%, #0a0a0a 55%, #101820 100%);
}

.lkz-card:hover .img-banner:not(.img-banner-fallback) {
  transform: scale(1.03);
}

.lkz-card .overlay-opacity {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0) 42%,
    rgba(0, 0, 0, 0.35) 100%
  );
}

.lkz-card .overlay-down {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 55%;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.55) 72%,
    rgba(0, 0, 0, 0.78) 100%
  );
  z-index: 0;
}

.lkz-card .tags-card {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  gap: 3px;
  padding: 4px;
  box-sizing: border-box;
  pointer-events: none;
}

.lkz-card .tag-time,
.lkz-card .tag-sport {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 30px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.lkz-card .tag-time {
  background: hsla(0, 0%, 68%, 0.2);
  padding: 4px 8px;
}

.lkz-card .tag-sport {
  background: hsla(0, 0%, 48%, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 6px 12px;
}

.lkz-card .tag-time-text {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}

.lkz-card .tag-sport-text {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  text-transform: capitalize;
}

.lkz-card .tag-bullet {
  display: block;
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  min-width: 12px;
  border-radius: 50%;
}

.lkz-card .tag-bullet.green {
  background-color: #1ab338;
  animation: pulse-dot 1s linear infinite alternate;
}

.lkz-card .tag-bullet.violet {
  background-color: hsl(var(--primary));
  box-shadow: 0 0 8px hsla(var(--primary) / 0.55);
  animation: pulse-dot 1s linear infinite alternate;
}

.lkz-card .tag-bullet.gray {
  background-color: hsl(0 0% 55%);
}

.lkz-card .info {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
  pointer-events: none;
}

.lkz-card .info-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  gap: 4px;
}

.lkz-card .info-teams-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  position: relative;
  z-index: 2;
}

.lkz-card .info-teams-row .icone {
  width: 46px;
  height: 46px;
  min-width: 46px;
  padding: 0;
  box-sizing: border-box;
  object-fit: contain;
  flex-shrink: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.75));
}

.lkz-card .info-teams-row .icone-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.75));
}

.lkz-card .vs-label {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  font-style: italic;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}

.lkz-card .info-meta-row {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
}

.lkz-card .icone-min {
  width: 35px;
  height: 35px;
  min-width: 20px;
  margin-right: 8px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.85));
}

.lkz-card .date-match {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  width: 100%;
}

.lkz-card .match-title {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  text-transform: capitalize;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}

.lkz-card .date-kick-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.15;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}

.lkz-card .date-kick-row p {
  margin: 0;
  white-space: nowrap;
}

.lkz-card .info-simple {
  position: relative;
  z-index: 1;
  max-width: 70%;
}

.lkz-card .event-title {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lkz-card .event-sub {
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lkz-card[data-phase="finished"] .img-banner:not(.img-banner-fallback) {
  filter: grayscale(0.5) brightness(0.72);
}

.lkz-card[data-phase="finished"]:hover {
  transform: none;
  box-shadow: none;
}

.lkz-card[data-phase="finished"]:hover .img-banner:not(.img-banner-fallback) {
  transform: none;
}

/* Status dot (hors cartes) */
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-dot--live     { background: hsl(140 80% 50%); animation: pulse-dot 1.2s ease infinite; box-shadow: 0 0 8px hsl(140 80% 50% / 0.6); }
.status-dot--soon     { background: #f59e0b; animation: pulse-dot 1.2s ease infinite; box-shadow: 0 0 8px rgba(245, 158, 11, 0.55); }
.status-dot--finished { background: hsl(0 0% 55%); }
.status-dot--white    { background: #fff; }
.status-dot--primary  { background: hsl(var(--primary)); }

/* ── Page stream (layout annecy-mont : lecteur + barre noire | chat long) ── */
.stream-body {
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  color: #fff;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.stream-body > .site-nav,
.stream-body > .stream-shell {
  position: relative;
  z-index: 1;
  background: transparent;
}

.stream-body > .stream-shell {
  min-height: 0;
}

.stream-body > .site-nav {
  flex: 0 0 auto;
  z-index: 50;
  position: relative;
}

.stream-body > .stream-shell {
  flex: 1 1 auto;
  z-index: 1;
}

/* Page chaînes — fond stream + grille scrollable */
.stream-body.stream-body--channels {
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
}

.stream-body.stream-body--channels > main.lkz-channels-wrap {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 0.25rem;
  padding-bottom: 1.25rem;
}

.stream-body.stream-body--channels > .site-nav {
  flex: 0 0 auto;
}

/* Fond CDM unique — sur body.stream-body (fixed), pas de couche séparée chat/shell */
.stream-body > .stream-shell::before {
  content: none;
  display: none;
}

.stream-body > .stream-shell > * {
  position: relative;
  z-index: 1;
  background: transparent;
}

.stream-shell {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--stream-chat-w);
  grid-template-rows: minmax(0, 1fr) auto;
  grid-template-areas:
    "stream chat"
    "footer chat";
  column-gap: 0;
  row-gap: 0;
  align-items: stretch;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
  background: transparent;
}

/* Panneau chaînes — desktop uniquement (≥1101px) */
@media (min-width: 1101px) {
  .stream-shell {
    grid-template-columns: var(--stream-channels-w) minmax(0, 1fr) var(--stream-chat-w);
    grid-template-rows: minmax(0, 1fr) auto;
    grid-template-areas:
      "channels stream chat"
      "channels footer chat";
  }
  .stream-shell.is-channels-collapsed {
    grid-template-columns: var(--stream-channels-w-collapsed) minmax(0, 1fr) var(--stream-chat-w);
  }

  .stream-col-chat-stack {
    grid-row: 1 / -1;
  }

  .stream-body--tv-channel .stream-shell {
    grid-template-columns: 272px minmax(0, 1fr) var(--stream-chat-w);
  }
}

.stream-col-chat-stack {
  grid-area: chat;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: transparent;
}

.stream-chat-banner {
  display: none;
  flex-shrink: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  text-decoration: none;
  overflow: hidden;
  background: #000;
}

.stream-chat-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 111px;
  object-fit: cover;
  object-position: center;
}

.stream-col-chat-stack .stream-col-chat {
  grid-area: unset;
  flex: 1 1 auto;
  min-height: 0;
}

.stream-col-channels {
  display: none;
}

.stream-col-channels {
  display: none;
}

@media (min-width: 1101px) {
  .stream-col-channels {
    grid-area: channels;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    height: 100%;
    background: transparent;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
  }
}

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

.stream-channels-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: hsl(0 0% 96%);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9);
}

.stream-channels-toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: hsl(0 0% 75%);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.stream-channels-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.stream-channels-list {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 4px 0 10px;
  scrollbar-width: thin;
  scrollbar-color: hsl(0 0% 22%) transparent;
}

.stream-channels-empty {
  margin: 0;
  padding: 20px 14px;
  font-size: 13px;
  line-height: 1.45;
  color: hsl(0 0% 48%);
  text-align: center;
}

.stream-channel-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  border: none;
  background: transparent;
  color: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
}
.stream-channel-item:hover {
  background: rgba(255, 255, 255, 0.07);
}
.stream-channel-item.is-active {
  background: rgba(255, 255, 255, 0.1);
}

.stream-channel-item__logo {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  padding: 0;
  box-sizing: border-box;
}

.stream-channel-item__logo--cover {
  object-fit: cover;
  border-radius: 6px;
  padding: 0;
}

.stream-channel-item__logo--transparent {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0;
  object-fit: contain;
}

.stream-channel-item__logo--placeholder {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: none;
}

.stream-channel-item__body {
  min-width: 0;
  flex: 1;
}

.stream-channel-item__teams {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stream-channel-item__sub {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.25;
  color: hsl(0 0% 78%);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stream-channel-item__stats {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 4px;
}

.stream-channel-item__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  flex-shrink: 0;
}

.stream-channel-item__viewers {
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: hsl(0 0% 96%);
  min-width: 1.2em;
  text-align: right;
}

@media (min-width: 1101px) {
  .stream-shell.is-channels-collapsed .stream-channels-title,
  .stream-shell.is-channels-collapsed .stream-channels-list {
    display: none;
  }
  .stream-shell.is-channels-collapsed .stream-channels-head {
    justify-content: center;
    padding: 14px 8px;
  }
  .stream-shell.is-channels-collapsed .stream-channels-toggle svg {
    transform: rotate(180deg);
  }
}

.stream-col-center {
  grid-area: stream;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  align-self: stretch;
  background: transparent;
}

.stream-player-wrap {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
  border-radius: 0;
}

.stream-embed-gate {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0;
  padding: 1.5rem;
  border: 0;
  cursor: pointer;
  color: #fff;
  background:
    radial-gradient(ellipse at center, hsl(270 55% 22% / 0.55), hsl(0 0% 0% / 0.82)),
    hsl(0 0% 0% / 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.2s ease;
}

.stream-embed-gate:hover {
  background:
    radial-gradient(ellipse at center, hsl(270 55% 30% / 0.65), hsl(0 0% 0% / 0.78)),
    hsl(0 0% 0% / 0.68);
}

.stream-embed-gate[hidden] {
  display: none !important;
}

.stream-embed-gate__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 999px;
  font-size: 1.5rem;
  background: hsl(270 70% 55% / 0.95);
  box-shadow: 0 8px 28px hsl(270 70% 40% / 0.45);
}

.stream-embed-gate__text {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
}

.stream-jw-player {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: #000;
}
.stream-jw-player[hidden] {
  display: none !important;
}
#jwplayer-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.stream-player-wrap .jwplayer {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  padding-top: 0 !important;
}

.stream-player-wrap .jwplayer.jw-flag-aspect-mode {
  height: 100% !important;
  padding-top: 0 !important;
}

.stream-player-wrap .jwplayer .jw-aspect {
  display: none !important;
}

.stream-player-wrap .jwplayer video,
.stream-player-wrap .jwplayer .jw-media {
  object-fit: cover !important;
}

.stream-clappr-player {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
  contain: layout paint size;
  isolation: isolate;
}
.stream-clappr-player[hidden] {
  display: none !important;
}
.stream-clappr-mount {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.stream-clappr-mount .clappr-player,
.stream-clappr-mount [data-player],
.stream-clappr-mount .player-poster,
.stream-clappr-mount .container {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
}
.stream-clappr-mount video {
  object-fit: cover !important;
}

.stream-iframe-embed {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  touch-action: manipulation;
}
.stream-iframe-embed[hidden] {
  display: none !important;
}

.stream-hls-player {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: #000;
}
.stream-hls-player[hidden] {
  display: none !important;
}
.stream-hls-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.stream-hls-video:focus {
  outline: none;
}
.stream-hls-video::-webkit-media-controls-panel {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
}

.stream-upcoming[hidden] {
  display: none !important;
}

.stream-upcoming {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  background: #050505;
  animation: streamUpcomingIn 0.55s ease-out both;
}

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

.stream-upcoming__bg {
  position: absolute;
  inset: -32px;
  background-color: #050505;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(36px) brightness(0.28) saturate(0.75);
  transform: scale(1.12);
}

.stream-upcoming__poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: blur(6px) brightness(0.45) saturate(0.85);
  transform: scale(1.04);
}

.stream-upcoming__poster[hidden] {
  display: none !important;
}

.stream-upcoming__shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 70% 55% at 50% 45%, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.72) 100%),
    rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.stream-upcoming__content {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3.75rem 1rem 2.25rem;
  text-align: center;
  box-sizing: border-box;
}

.stream-upcoming__eyebrow {
  margin: 0;
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}

.stream-upcoming__title {
  margin: 128px 0 0;
  flex-shrink: 0;
  max-width: 640px;
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
}

.stream-upcoming__countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: auto 0 0;
  width: fit-content;
  max-width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  transform: translateY(-32px);
}

.stream-cd {
  min-width: 0;
  padding: 0;
  text-align: center;
  border: none;
  background: transparent;
}

.stream-cd__val {
  display: block;
  font-size: clamp(4rem, 14vw, 6.5rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #fff;
  transform-origin: center center;
}

.stream-upcoming__countdown.is-ticking .stream-cd__val {
  animation: streamCdPulse 0.65s ease-out;
}

@keyframes streamCdPulse {
  0% {
    transform: scale(1);
    opacity: 0.88;
  }
  35% {
    transform: scale(1.045);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stream-upcoming__countdown.is-ticking .stream-cd__val {
    animation: none;
  }
}

.stream-cd__lab {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.stream-upcoming__countdown[data-hide-days="1"] .stream-cd:first-child {
  display: none;
}

.stream-upcoming__progress {
  flex-shrink: 0;
  width: min(280px, 58%);
  height: 3px;
  margin: 28px 0 auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
  transform: translateY(-32px);
}

.stream-upcoming__progress-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.55), #fff);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
  transition: width 0.85s linear;
}

.stream-upcoming__hint {
  margin: 18px 0 12px;
  flex-shrink: 0;
  max-width: 520px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.42);
}

.stream-upcoming--text {
  background: #0c0c0c;
}

.stream-upcoming--text .stream-upcoming__bg {
  background-image: none !important;
  filter: none;
  transform: none;
}

.stream-upcoming--text .stream-upcoming__poster {
  display: none !important;
}

.stream-upcoming--text .stream-upcoming__shade {
  background: radial-gradient(
      ellipse 70% 50% at 50% 40%,
      rgba(124, 58, 237, 0.12) 0%,
      transparent 60%
    ),
    #0c0c0c;
}

.stream-upcoming--banner-only .stream-upcoming__bg {
  filter: blur(44px) brightness(0.22) saturate(0.7);
  transform: scale(1.14);
}

@media (max-width: 1100px) {
  .stream-upcoming__content {
    padding: 0.55rem 0.7rem 0.5rem;
    justify-content: flex-start;
    gap: 0.25rem;
  }

  .stream-upcoming__eyebrow {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .stream-upcoming__title {
    margin: 0.2rem 0 0;
    max-width: 94%;
    font-size: clamp(0.95rem, 4.2vw, 1.2rem);
    line-height: 1.2;
  }

  .stream-upcoming__countdown {
    gap: 0.7rem;
    margin: auto 0 0;
    transform: none;
    flex: 0 0 auto;
  }

  .stream-cd__val {
    font-size: clamp(1.75rem, 10.5vw, 2.45rem);
  }

  .stream-cd__lab {
    margin-top: 4px;
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .stream-upcoming__progress {
    width: min(170px, 52%);
    height: 2px;
    margin: 0.45rem 0 auto;
    transform: none;
  }

  .stream-upcoming__hint {
    margin: 0;
    padding-top: 0;
    font-size: 10px;
    line-height: 1.35;
    max-width: 92%;
  }
}

.stream-placeholder[hidden] {
  display: none !important;
}

.stream-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  background: #0a0a0a;
}
.stream-placeholder__main {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.stream-player-footer {
  grid-area: footer;
  flex-shrink: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto;
  align-items: center;
  gap: 12px 16px;
  min-height: 110px;
  padding: 18px 20px 20px;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.stream-footer-top-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  align-self: center;
  min-width: 0;
  width: 100%;
  max-width: min(560px, 58vw);
}

.stream-footer-crests,
.stream-footer-crests:not([hidden]) {
  display: none !important;
}

.stream-footer-crests[hidden] {
  display: none !important;
}

.stream-footer-crest {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.65));
}

.stream-footer-crest[hidden] {
  display: none !important;
}

.stream-footer-vs {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.55);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

.stream-footer-vs[hidden] {
  display: none !important;
}

.stream-channel-item__crests {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}

.stream-channel-item__logo--comp {
  width: 34px;
  height: 34px;
  object-fit: contain;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.stream-channel-item__logo--crest {
  width: 22px;
  height: 22px;
  object-fit: contain;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.stream-footer-viewers {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: hsl(0 0% 92%);
}

.stream-footer-viewers[hidden] {
  display: none !important;
}

.stream-footer-viewers__icon {
  display: none;
  flex-shrink: 0;
}

.stream-match-title {
  margin: 0;
  grid-column: auto;
  grid-row: auto;
  justify-self: start;
  align-self: center;
  min-width: 0;
  max-width: 100%;
  font-size: clamp(15px, 2.2vw, 18px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  word-break: break-word;
  text-shadow:
    0 0 12px rgba(0, 0, 0, 0.95),
    0 1px 4px rgba(0, 0, 0, 0.9);
  color: #fff;
}

.stream-footer-comp {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stream-footer-countdown,
.stream-footer-countdown:not([hidden]) {
  display: none !important;
}

.stream-footer-countdown__lab {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.stream-footer-countdown__val {
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.stream-footer-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.stream-footer-bottom-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.stream-footer-comp[hidden] {
  display: none !important;
}

.stream-footer-comp__logo {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* PC : pas de logo compétition à côté du titre (stream uniquement) */
@media (min-width: 761px) {
  .stream-footer-comp {
    display: none !important;
  }
}

.stream-footer-toolbar,
.stream-footer-toolbar.stream-btn-group {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  align-self: center;
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  max-width: 100%;
  flex-shrink: 0;
  visibility: visible;
  opacity: 1;
}

.stream-player-picker {
  display: none;
  flex-shrink: 0;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-sizing: border-box;
}

.stream-player-picker:not([hidden]) {
  display: block;
}

.stream-player-picker--footer:not([hidden]) {
  display: block;
  margin-bottom: 0;
}

.stream-lecteur {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.stream-lecteur--compact {
  gap: 8px;
  align-items: stretch;
}

.stream-lecteur__label {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.stream-lecteur__players {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
}

.stream-lecteur-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(42, 42, 46, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    background 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease,
    border-color 0.15s ease;
}

.stream-lecteur-btn:hover:not(:disabled) {
  background: rgba(53, 53, 58, 0.55);
  border-color: rgba(255, 255, 255, 0.2);
}

.stream-lecteur-btn.is-active {
  background: #7c3aed;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.35);
}

.stream-lecteur-btn.is-active:hover:not(:disabled) {
  background: #8b5cf6;
}

.stream-lecteur-btn:disabled,
.stream-lecteur-btn.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.stream-footer-network-stack {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-width: min(340px, 100%);
}

.stream-lecteur--footer {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  width: auto;
  max-width: 100%;
}

.stream-lecteur--footer .stream-lecteur__label {
  margin: 0;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-shadow: none;
}

.stream-lecteur--footer .stream-lecteur__players {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  width: auto;
  max-width: 100%;
  padding: 3px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  grid-template-columns: none;
  position: relative;
  isolation: isolate;
}

.stream-lecteur--footer .stream-lecteur__thumb {
  position: absolute;
  top: 3px;
  left: 0;
  height: calc(100% - 6px);
  width: 0;
  border-radius: 7px;
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 55%, #6d28d9 100%);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.45);
  pointer-events: none;
  z-index: 0;
  transform: translateX(0);
  opacity: 1;
  transition: none;
  will-change: transform, width;
}

.stream-lecteur--footer .stream-lecteur__players.is-ready .stream-lecteur__thumb {
  opacity: 1;
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.18s ease;
}

.stream-lecteur--footer .stream-lecteur-btn {
  position: relative;
  z-index: 1;
  width: auto;
  min-width: 0;
  max-width: none;
  min-height: 30px;
  height: 30px;
  padding: 0 12px;
  border-radius: 7px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: color 0.2s ease;
}

.stream-lecteur--footer .stream-lecteur-btn:hover:not(:disabled) {
  background: transparent;
  border-color: transparent;
  color: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.stream-lecteur--footer .stream-lecteur-btn.is-active {
  background: #7c3aed;
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.4);
}

.stream-lecteur--footer .stream-lecteur-btn.is-active:hover:not(:disabled) {
  background: #8b5cf6;
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 16px rgba(139, 92, 246, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .stream-lecteur--footer .stream-lecteur__players.is-ready .stream-lecteur__thumb {
    transition: none;
  }
}

.stream-footer-sources {
  display: none;
  width: 100%;
  margin: 0;
}

.stream-footer-sources[hidden] {
  display: none !important;
}

.stream-source-btn {
  display: none;
}

.stream-footer-social-row {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  visibility: visible;
  opacity: 1;
}
.stream-footer-social-row .stream-btn-text {
  display: inline !important;
}

.stream-footer-toolbar .stream-btn.btn-iptv {
  width: auto;
  min-width: 0;
  justify-content: center;
}

.stream-footer-user {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #ef4444;
  cursor: pointer;
  flex-shrink: 0;
}
.stream-footer-user svg {
  width: 22px;
  height: 22px;
}

.stream-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 11px;
  font-weight: 800;
  border: 1px solid transparent;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s,
    filter 0.2s;
}
.stream-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
  z-index: 1;
  pointer-events: none;
}
.stream-btn:hover::before {
  left: 100%;
}
.stream-btn > svg,
.stream-btn > .btn-label,
.stream-btn > .stream-btn-text {
  position: relative;
  z-index: 2;
}
.stream-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px currentColor;
}
.stream-btn:active {
  transform: translateY(-1px) scale(0.98);
}
.stream-btn.stream-btn--sq {
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 0;
}
.stream-btn.stream-btn--sq svg {
  width: 18px;
  height: 18px;
}
.stream-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.stream-btn .btn-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}
.stream-btn-text {
  display: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}
.btn-discord-sm {
  background: #7289da;
  border-color: transparent;
  color: #ffffff;
  box-shadow: none;
}
.btn-x-sm {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  box-shadow: none;
}
.btn-telegram-sm {
  background: #289cd8;
  border-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
.btn-iptv-discord,
.btn-iptv-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.btn-iptv {
  background: #12bb57;
  border-color: transparent;
  min-height: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  color: #ffffff;
  gap: 8px;
  box-shadow: none;
}
.stream-btn.btn-iptv:hover {
  background: #0fa84d;
  filter: brightness(1.05);
}
.btn-iptv .btn-label {
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.02em;
}
/* Chat — pleine hauteur (fond opaque seulement si pas lkz-live-chat) */
.stream-col-chat {
  display: flex;
  flex-direction: column;
  width: var(--stream-chat-w);
  max-width: var(--stream-chat-w);
  min-height: 0;
  min-width: 0;
  height: 100%;
  align-self: stretch;
  overflow: hidden;
  color-scheme: dark;
  border: none;
  padding: 0;
  margin: 0;
}

.stream-col-chat:not(.lkz-live-chat) {
  background: #0a0a0c;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 1100px) {
  .stream-player-wrap .stream-iframe-embed:not([hidden]) {
    z-index: 10;
    pointer-events: auto;
  }
}

@media (min-width: 1101px) {
  .stream-player-wrap .stream-iframe-embed:not([hidden]) {
    width: calc(100% * var(--stream-embed-zoom));
    height: calc(100% * var(--stream-embed-zoom));
    left: calc((100% - 100% * var(--stream-embed-zoom)) / 2);
    top: calc((100% - 100% * var(--stream-embed-zoom)) / 2);
  }
}

.stream-chat-mobile-banner,
.stream-mobile-banner {
  display: none;
}

.stream-mobile-banner__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  vertical-align: top;
}

.stream-chat-embed {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  height: 100%;
  border: 0;
  background: #0a0a0c !important;
  color-scheme: dark;
}

/* Chat live — fond transparent */
.stream-col-chat.lkz-live-chat {
  margin: 0;
  border-radius: 0 !important;
  border: none !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  position: relative;
  color-scheme: dark;
  overflow: hidden;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.stream-col-chat.lkz-live-chat::after {
  content: none !important;
  display: none !important;
}

.stream-col-chat.lkz-live-chat > * {
  position: relative;
  z-index: 1;
}

.lkz-live-chat {
  --lkz-chat-size: 15px;
  --lkz-chat-reply-size: 13px;
  --lkz-chat-line: 1.45;
  --lkz-chat-bar-w: 3px;
}

.lkz-live-chat .lkz-chat-head,
.lkz-live-chat .lkz-chat-body,
.lkz-live-chat .lkz-chat-compose {
  background: transparent !important;
}

.lkz-live-chat.lkz-chat-closed > .lkz-chat-head,
.lkz-live-chat.lkz-chat-closed > .lkz-chat-body,
.lkz-live-chat.lkz-chat-closed > .lkz-chat-compose {
  display: none !important;
}

.lkz-chat-closed-panel {
  display: none;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

.lkz-live-chat.lkz-chat-closed .lkz-chat-closed-panel {
  display: flex;
}

.lkz-chat-closed-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.25rem 1.1rem 1.5rem;
  text-align: center;
}

.lkz-chat-closed-lead {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: hsl(0 0% 100% / 0.92);
}

.lkz-chat-closed-text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: hsl(0 0% 100% / 0.62);
}

.lkz-chat-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: none;
  background: transparent;
}

.lkz-chat-head__right {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.lkz-chat-state {
  display: none !important;
}

.lkz-chat-state__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: hsl(0 100% 59%);
  flex-shrink: 0;
}

.lkz-chat-state.is-connected {
  color: hsl(var(--primary));
}

.lkz-chat-state.is-connected .lkz-chat-state__dot {
  background: hsl(var(--primary));
  box-shadow: 0 0 8px hsla(var(--primary) / 0.55);
}

.lkz-chat-state.is-offline {
  color: hsl(0 100% 59%);
}

.lkz-chat-state.is-connecting {
  color: hsl(0 0% 62%);
}

.lkz-chat-state.is-connecting .lkz-chat-state__dot {
  animation: pulse-dot 1.2s ease infinite;
}

.lkz-chat-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: transparent;
}

.lkz-chat-send-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  --chat-flash-a: 270 90% 65%;
  --chat-flash-b: 285 85% 52%;
  background: radial-gradient(
    ellipse 90% 70% at 50% 100%,
    hsl(var(--chat-flash-a) / 0.42) 0%,
    hsl(var(--chat-flash-b) / 0.16) 42%,
    transparent 72%
  );
  box-shadow: inset 0 0 40px hsl(var(--chat-flash-a) / 0.12);
}

.lkz-chat-send-overlay.hue-0 {
  --chat-flash-a: 270 90% 65%;
  --chat-flash-b: 285 85% 52%;
}

.lkz-chat-send-overlay.hue-1 {
  --chat-flash-a: 200 92% 62%;
  --chat-flash-b: 220 88% 50%;
}

.lkz-chat-send-overlay.hue-2 {
  --chat-flash-a: 155 75% 52%;
  --chat-flash-b: 175 70% 45%;
}

.lkz-chat-send-overlay.hue-3 {
  --chat-flash-a: 45 95% 58%;
  --chat-flash-b: 28 90% 52%;
}

.lkz-chat-send-overlay.hue-4 {
  --chat-flash-a: 350 82% 62%;
  --chat-flash-b: 10 88% 55%;
}

.lkz-chat-send-overlay.hue-5 {
  --chat-flash-a: 310 85% 65%;
  --chat-flash-b: 330 80% 58%;
}

.lkz-chat-send-overlay.hue-6 {
  --chat-flash-a: 120 70% 52%;
  --chat-flash-b: 95 75% 48%;
}

.lkz-chat-send-overlay.hue-7 {
  --chat-flash-a: 260 88% 68%;
  --chat-flash-b: 190 80% 55%;
}

.lkz-chat-send-overlay.is-active {
  animation: lkz-chat-send-flash 0.65s ease-out forwards;
}

.lkz-chat-send.is-sending {
  animation: lkz-chat-send-btn 0.65s ease-out;
}

@keyframes lkz-chat-send-flash {
  0% {
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes lkz-chat-send-btn {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(0.92);
  }
  100% {
    transform: scale(1);
  }
}

.lkz-chat-head__title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  cursor: default;
  user-select: none;
}

.lkz-chat-mod-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.05rem 0.3rem;
  border-radius: 999px;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: hsl(45 95% 72%);
  background: hsl(45 70% 20% / 0.45);
  border: 1px solid hsl(45 80% 50% / 0.28);
}

.lkz-chat-mod-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid hsl(0 0% 100% / 0.1);
  border-radius: 6px;
  background: hsl(0 0% 100% / 0.03);
  color: hsl(0 0% 100% / 0.55);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.lkz-chat-mod-btn[hidden] {
  display: none !important;
}

.lkz-chat-mod-btn:hover {
  background: hsl(0 0% 100% / 0.08);
  color: #fff;
}

.lkz-chat-mod-btn.is-active {
  color: hsl(45 95% 72%);
  border-color: hsl(45 80% 50% / 0.35);
  background: hsl(45 70% 18% / 0.35);
}

.lkz-chat-pinned {
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}

.lkz-chat-pinned[hidden] {
  display: none !important;
}

.lkz-chat-pinned__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.55rem 0.75rem;
  background: linear-gradient(
    90deg,
    hsl(30 28% 14% / 0.55) 0%,
    hsl(0 0% 0% / 0.18) 100%
  );
  border-bottom: 1px solid hsl(0 0% 100% / 0.06);
  border-left: 3px solid hsl(45 92% 55%);
}

.lkz-chat-pinned__head {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.lkz-chat-pinned__label {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: hsl(0 0% 100% / 0.55);
}

.lkz-chat-pinned__mic {
  flex-shrink: 0;
  color: hsl(290 80% 72%);
}

.lkz-chat-pinned__icon {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: hsl(45 92% 58%);
}

.lkz-chat-pinned__content {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.lkz-chat-pinned__name {
  display: inline;
  margin: 0;
  min-width: 0;
  flex: 1 1 auto;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lkz-chat-pinned__text {
  display: block;
  margin: 0;
  padding-left: 0.15rem;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  color: hsl(0 0% 100% / 0.95);
  word-break: break-word;
}

.lkz-chat-pinned__close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 0.05rem;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: hsl(0 0% 100% / 0.45);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.lkz-chat-pinned__close:hover {
  color: #fff;
  background: hsl(0 0% 100% / 0.08);
}

.lkz-chat-pinned__card {
  position: relative;
  overflow: hidden;
  border-radius: 11px;
  border: 1px solid hsl(45 85% 58% / 0.22);
  background: linear-gradient(
    145deg,
    hsl(45 55% 14% / 0.72) 0%,
    hsl(270 38% 12% / 0.68) 52%,
    hsl(0 0% 8% / 0.75) 100%
  );
  box-shadow:
    0 4px 18px hsl(0 0% 0% / 0.28),
    inset 0 1px 0 hsl(45 95% 72% / 0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.lkz-chat-pinned__accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    180deg,
    hsl(45 95% 68%) 0%,
    hsl(35 90% 55%) 45%,
    hsl(270 85% 68%) 100%
  );
  box-shadow: 0 0 12px hsl(45 90% 60% / 0.45);
}

.lkz-chat-pinned__shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 0%,
    hsl(45 100% 85% / 0.06) 42%,
    transparent 68%
  );
}

.lkz-chat-pinned__inner {
  position: relative;
  z-index: 1;
  padding: 0.45rem 0.55rem 0.5rem 0.65rem;
}

.lkz-chat-pinned__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.28rem;
}

.lkz-chat-pinned__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.1rem 0.42rem 0.1rem 0.32rem;
  border-radius: 999px;
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: hsl(45 96% 78%);
  background: hsl(45 70% 18% / 0.55);
  border: 1px solid hsl(45 85% 55% / 0.32);
  box-shadow: 0 0 10px hsl(45 90% 50% / 0.12);
}

.lkz-chat-pinned__badge svg {
  flex-shrink: 0;
  color: hsl(45 100% 72%);
  filter: drop-shadow(0 0 4px hsl(45 100% 60% / 0.45));
  animation: lkz-pin-pulse 2.4s ease-in-out infinite;
}

@keyframes lkz-pin-pulse {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(-1px); opacity: 0.82; }
}

.lkz-chat-pinned__meta {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.18rem;
  min-width: 0;
}

@media (prefers-reduced-motion: reduce) {
  .lkz-chat-pinned__badge svg {
    animation: none;
  }
}

@keyframes lkz-chat-msg-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lkz-chat-msg-self {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lkz-chat-send-pop {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

.lkz-chat-msg--fresh,
.lkz-chat-msg--just-sent {
  animation: lkz-chat-msg-in 0.15s ease-out both;
}

.lkz-chat-send.is-pushed {
  animation: lkz-chat-send-pop 0.35s ease-out;
}

.lkz-chat-gif-wrap,
.lkz-chat-gif-panel,
.lkz-chat-msg__gif-wrap {
  display: none !important;
}

.lkz-chat-messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 6px 10px;
  display: flex;
  flex-direction: column;
  gap: 0;
  font-family: Inter, Roobert, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 22px;
  -webkit-font-smoothing: antialiased;
  user-select: text;
  -webkit-user-select: text;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
  background: transparent;
}

.lkz-chat-messages::-webkit-scrollbar {
  width: 6px;
}

.lkz-chat-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 4px;
}

.lkz-chat-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 10px 16px;
  margin: 0;
  text-align: left;
  font-size: 15px;
  line-height: 22px;
  color: #efeff1;
  text-shadow: none;
  pointer-events: none;
}

.lkz-chat-empty[hidden] {
  display: none !important;
}

.lkz-chat-status {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.45rem;
  margin: 0;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  font-size: 0.68rem;
  line-height: 1.35;
  color: hsl(200 90% 78%);
  background: hsl(200 50% 18% / 0.55);
  border: 1px solid hsl(200 70% 45% / 0.35);
  z-index: 5;
}

.lkz-chat-status.is-error {
  color: hsl(350 90% 78%);
  background: hsl(350 45% 16% / 0.65);
  border-color: hsl(350 70% 45% / 0.4);
}

.lkz-chat-status[hidden] {
  display: none !important;
}

/* Message = ligne Twitch : name: text */
.lkz-chat-msg {
  position: relative;
  display: block;
  width: auto;
  flex-shrink: 0;
  margin: 0;
  padding: 4px 36px 4px 8px;
  min-height: 0;
  border: none;
  border-radius: 4px;
  background: transparent;
  font-size: 15px;
  line-height: 22px;
  color: #efeff1;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  user-select: text;
  -webkit-user-select: text;
  transition: background 0.1s ease;
}

.lkz-chat-msg:hover {
  background: #464649;
}

.lkz-chat-msg__reply {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  margin: 0 0 4px;
  padding: 0;
  border-left: 0;
  font-size: 13px;
  line-height: 18px;
  color: #adadb8;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.lkz-chat-msg__reply:hover {
  color: #dedee3;
}

.lkz-chat-msg__reply-icon {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  opacity: 0.85;
}

.lkz-chat-msg__reply-btn {
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: #1f1f23;
  color: #efeff1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.1s ease, visibility 0.1s ease;
}

.lkz-chat-msg:hover .lkz-chat-msg__reply-btn {
  opacity: 1;
  visibility: visible;
}

.lkz-chat-msg__reply-btn svg {
  width: 16px;
  height: 16px;
}

.lkz-chat-msg__head,
.lkz-chat-msg__body,
.lkz-chat-msg__bar,
.lkz-chat-msg__line,
.lkz-chat-msg__time,
.lkz-chat-msg__meta {
  display: none !important;
}

.lkz-chat-msg__mic {
  display: inline-block;
  vertical-align: -3px;
  margin-right: 3px;
  width: 18px;
  height: 18px;
  color: #bf94ff;
}

.lkz-chat-msg__name {
  display: inline;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 22px;
  text-align: left;
  text-transform: none;
  color: var(--lkz-name-color, #1e90ff);
  -webkit-text-fill-color: var(--lkz-name-color, #1e90ff);
  cursor: pointer;
  vertical-align: baseline;
  appearance: none;
  -webkit-appearance: none;
}

.lkz-chat-msg__name:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lkz-chat-msg__colon {
  display: inline;
  color: #efeff1;
  font-weight: 400;
}

.lkz-chat-msg__text {
  display: inline;
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
  color: #efeff1;
  vertical-align: baseline;
  word-break: break-word;
}

.lkz-chat-msg__mod,
.lkz-chat-msg__reply-btn {
  user-select: none;
  -webkit-user-select: none;
}

.lkz-chat-msg__mod {
  display: none;
  margin-top: 0.35rem;
  flex-direction: row;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.lkz-chat-new-msgs[hidden] {
  display: none !important;
}

.lkz-chat-msg--highlight {
  background: hsl(0 0% 100% / 0.1) !important;
  border-radius: 0.35rem;
}

.stream-col-chat.lkz-live-chat.is-mod .lkz-chat-msg {
  padding-bottom: 1.6rem;
}

.stream-col-chat.lkz-live-chat.is-mod .lkz-chat-msg__mod {
  display: flex;
}

@media (hover: hover) and (pointer: fine) {
  .lkz-chat-msg:hover .lkz-chat-msg__reply-btn {
    opacity: 1;
    visibility: visible;
  }

  .lkz-chat-msg:hover .lkz-chat-msg__mod {
    display: flex;
  }
}

.lkz-chat-messages.is-selecting .lkz-chat-msg,
.lkz-chat-messages.is-selecting .lkz-chat-msg:hover {
  background: transparent !important;
  box-shadow: none !important;
  animation: none !important;
}

.lkz-chat-messages.is-selecting .lkz-chat-msg__reply-btn,
.lkz-chat-messages.is-selecting .lkz-chat-msg__mod,
.lkz-chat-messages.is-selecting .lkz-chat-msg:hover .lkz-chat-msg__reply-btn,
.lkz-chat-messages.is-selecting .lkz-chat-msg:hover .lkz-chat-msg__mod {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.lkz-chat-msg + .lkz-chat-msg {
  margin-top: 0;
}

.lkz-chat-new-msgs {
  position: absolute;
  left: 50%;
  bottom: 0.55rem;
  z-index: 8;
  transform: translateX(-50%);
  padding: 0.38rem 0.9rem;
  border: none;
  border-radius: 999px;
  background: #9147ff;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
}

.lkz-chat-new-msgs:hover {
  background: #772ce8;
}

.lkz-chat-mod-link {
  padding: 0;
  border: none;
  background: none;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.2;
  color: hsl(0 0% 100% / 0.45);
  cursor: pointer;
}

.lkz-chat-mod-link:hover {
  color: hsl(0 0% 100% / 0.85);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lkz-chat-mod-link--danger {
  color: hsl(0 100% 65% / 0.75);
}

.lkz-chat-mod-link--danger:hover {
  color: hsl(0 100% 65%);
}

.lkz-chat-mod-link--pin:hover {
  color: hsl(45 95% 65%);
}

.lkz-chat-mod-act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 0.15rem 0.35rem;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: hsl(0 100% 65% / 0.7);
  cursor: pointer;
}

.lkz-chat-mod-act svg {
  width: 14px;
  height: 14px;
}

.lkz-chat-mod-act:hover {
  color: hsl(0 100% 65%);
  background: hsl(0 100% 59% / 0.1);
}

.lkz-chat-mod-act--danger:hover {
  background: hsl(0 100% 59% / 0.12);
  color: hsl(0 100% 65%);
}

.lkz-chat-mod-act--pin:hover {
  color: hsl(45 95% 65%);
  background: hsl(45 90% 50% / 0.12);
}

.lkz-chat-msg--is-pinned {
  opacity: 0.55;
}

@media (hover: none), (max-width: 1100px) {
  .lkz-chat-msg__reply-btn {
    opacity: 0.72;
    visibility: visible;
    pointer-events: auto;
  }

  .lkz-chat-msg__reply-btn:active {
    opacity: 1;
    background: hsl(0 0% 100% / 0.14);
  }
}

.lkz-chat-msg__reply-btn {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 0.15rem 0.3rem;
  border: 1px solid hsl(0 0% 100% / 0.08);
  border-radius: 0.3rem;
  background: transparent;
  color: hsl(0 0% 100% / 0.45);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.lkz-chat-msg__reply-btn svg {
  width: 14px;
  height: 14px;
}

.lkz-chat-msg__reply-btn:hover {
  color: #fff;
  opacity: 1;
}

.lkz-chat-msg__reply {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  margin: 0 0 0.22rem;
  padding: 0.08rem 0 0.08rem 0.55rem;
  border-left: var(--lkz-chat-bar-w, 3px) solid var(--lkz-name-color, hsl(0 0% 100% / 0.22));
  font-size: var(--lkz-chat-reply-size, 11px);
  line-height: 1.35;
  color: hsl(0 0% 100% / 0.42);
  cursor: pointer;
  overflow: hidden;
}

.lkz-chat-msg__reply:hover {
  color: hsl(0 0% 100% / 0.8);
}

.lkz-chat-msg__reply-icon {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  opacity: 0.7;
}

.lkz-chat-msg__reply-name {
  flex-shrink: 0;
  font-weight: 700;
}

.lkz-chat-msg__reply-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lkz-chat-msg__name-btn {
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: inherit;
  font-weight: 600;
  line-height: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  color: var(--lkz-name-color, #efeff1) !important;
  -webkit-text-fill-color: var(--lkz-name-color, #efeff1);
  text-shadow: none;
  vertical-align: baseline;
  user-select: text;
  -webkit-user-select: text;
}

.lkz-chat-mention {
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: inherit;
  font-weight: 600;
  line-height: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  color: var(--lkz-name-color, #efeff1) !important;
  -webkit-text-fill-color: var(--lkz-name-color, #efeff1);
  text-shadow: none;
  vertical-align: baseline;
  user-select: text;
  -webkit-user-select: text;
}

.lkz-chat-mention--you {
  font-weight: 700;
}

@media (hover: hover) and (pointer: fine) {
  .lkz-chat-msg__name:hover,
  .lkz-chat-msg__name-btn:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .lkz-chat-mention:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
  }
}

.lkz-chat-messages.is-selecting .lkz-chat-msg__name-btn:hover,
.lkz-chat-messages.is-selecting .lkz-chat-mention:hover {
  text-decoration: none;
}

.lkz-chat-reply-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  padding: 0.45rem 0.55rem;
  border-left: 2px solid hsl(var(--primary));
  background: transparent;
  font-size: 0.72rem;
  color: hsl(0 0% 62%);
}

.lkz-chat-reply-bar[hidden] {
  display: none !important;
}

.lkz-chat-reply-bar__content {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.lkz-chat-reply-bar__icon {
  flex-shrink: 0;
  opacity: 0.65;
}

.lkz-chat-reply-bar__label {
  flex-shrink: 0;
  white-space: nowrap;
}

.lkz-chat-reply-bar__label strong {
  font-weight: 700;
}

.lkz-chat-reply-bar__preview {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0.75;
}

.lkz-chat-hint {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  color: hsl(0 0% 62%);
}

.lkz-chat-hint[hidden] {
  display: none !important;
}

.stream-col-chat.lkz-live-chat.is-banned .lkz-chat-hint {
  color: hsl(0 100% 68%);
}

.lkz-chat-reply-bar__cancel {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: hsl(0 0% 100% / 0.88);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.lkz-chat-reply-bar__cancel:hover {
  background: hsl(0 0% 100% / 0.1);
  color: #fff;
}

.lkz-chat-msg--self .lkz-chat-msg__name {
  filter: none;
}

.lkz-chat-msg__meta {
  display: none;
}

.lkz-chat-msg__time {
  flex-shrink: 0;
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: hsl(0 0% 100% / 0.38);
  letter-spacing: 0.01em;
}

.lkz-chat-compose {
  flex: 0 0 auto;
  padding: 0.75rem;
  border-top: none;
  background: transparent;
  position: relative;
  z-index: 6;
}

.lkz-chat-name-wrap {
  display: none;
}

.lkz-chat-name-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(270 50% 75% / 0.65);
  white-space: nowrap;
}

.lkz-chat-name {
  flex: 1 1 auto;
  min-width: 0;
  height: 30px;
  padding: 0 0.55rem;
  border-radius: 8px;
  border: 1px solid hsl(0 0% 100% / 0.12);
  background: transparent;
  color: #fff;
  font-size: 0.78rem;
  outline: none;
  -webkit-user-select: text;
  user-select: text;
  touch-action: manipulation;
}

.lkz-chat-name:focus {
  border-color: hsl(270 85% 65% / 0.65);
  box-shadow: 0 0 0 2px hsl(270 85% 55% / 0.18);
}

.lkz-chat-send-row {
  display: flex;
  align-items: stretch;
  gap: 0.35rem;
}

.lkz-chat-gif-wrap {
  position: relative;
  flex: 0 0 auto;
  align-self: center;
}

.lkz-chat-gif-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid hsl(0 0% 100% / 0.12);
  border-radius: 10px;
  background: hsl(0 0% 100% / 0.04);
  color: hsl(0 0% 100% / 0.78);
  cursor: pointer;
  flex-shrink: 0;
}

.lkz-chat-gif-btn__icon {
  display: block;
  opacity: 0.92;
}

@media (hover: hover) and (pointer: fine) {
  .lkz-chat-gif-btn:hover {
    color: #fff;
    border-color: hsl(270 85% 65% / 0.45);
    background: hsl(270 45% 18% / 0.35);
  }
}

.lkz-chat-gif-btn[aria-expanded="true"] {
  color: #fff;
  border-color: hsl(270 85% 65% / 0.65);
  background: hsl(270 50% 24% / 0.55);
  box-shadow: 0 0 0 2px hsl(270 85% 55% / 0.18);
}

.lkz-chat-gif-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.5rem);
  z-index: 30;
  width: min(19rem, calc(100vw - 2rem));
  max-height: 17rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.55rem;
  border: 1px solid hsl(270 50% 40% / 0.25);
  border-radius: 14px;
  background: hsl(240 8% 8% / 0.98);
  box-shadow:
    0 16px 40px hsl(0 0% 0% / 0.5),
    0 0 0 1px hsl(0 0% 100% / 0.04) inset;
}

.lkz-chat-gif-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0 0.1rem;
}

.lkz-chat-gif-panel__title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(270 80% 82%);
}

.lkz-chat-gif-panel__brand {
  font-size: 0.62rem;
  font-weight: 600;
  color: hsl(0 0% 100% / 0.35);
}

.lkz-chat-gif-panel[hidden] {
  display: none !important;
}

.lkz-chat-gif-search {
  width: 100%;
  height: 34px;
  padding: 0 0.6rem;
  border: 1px solid hsl(0 0% 100% / 0.12);
  border-radius: 8px;
  background: hsl(0 0% 100% / 0.05);
  color: #fff;
  font-size: 0.82rem;
  outline: none;
}

.lkz-chat-gif-search:focus {
  border-color: hsl(270 85% 65% / 0.55);
}

.lkz-chat-gif-status {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.35;
  color: hsl(0 0% 100% / 0.55);
}

.lkz-chat-gif-status.is-error {
  color: hsl(350 90% 78%);
}

.lkz-chat-gif-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  overflow-y: auto;
  min-height: 6rem;
  max-height: 11.5rem;
}

.lkz-chat-gif-grid.is-loading {
  opacity: 0.55;
}

.lkz-chat-gif-item {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: hsl(0 0% 100% / 0.05);
}

@media (hover: hover) and (pointer: fine) {
  .lkz-chat-gif-item:hover {
    border-color: hsl(270 85% 65% / 0.55);
  }
}

.lkz-chat-gif-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lkz-chat-msg__gif-wrap {
  display: block;
  max-width: 100%;
  margin-top: 0.25rem;
}

.lkz-chat-msg__gif {
  display: block;
  max-width: min(120px, 100%);
  max-height: 120px;
  border-radius: 6px;
  object-fit: contain;
}

.lkz-chat-msg--gif .lkz-chat-msg__line {
  display: block;
}

.lkz-chat-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 38px;
  padding: 0 0.75rem;
  border-radius: 0.4rem;
  border: 1px solid hsl(0 0% 100% / 0.12);
  background: transparent;
  color: #fff;
  font-size: 0.88rem;
  outline: none;
  -webkit-user-select: text;
  user-select: text;
  touch-action: manipulation;
}

.lkz-chat-input::placeholder {
  color: hsl(0 0% 62%);
}

.lkz-chat-input:focus {
  box-shadow: 0 0 0 1px hsl(var(--primary));
}

.lkz-chat-send {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0.4rem;
  cursor: pointer;
  color: #000;
  background: hsl(var(--primary));
  box-shadow: none;
  transition: filter 0.15s ease, opacity 0.15s ease;
}

.lkz-chat-send:hover:not(:disabled) {
  filter: brightness(1.08);
}

.lkz-chat-send:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (max-width: 1100px) {
  .stream-body {
    height: 100dvh;
    height: 100svh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .stream-body > .site-nav {
    flex-shrink: 0;
  }

  .stream-shell,
  .stream-shell.is-channels-collapsed {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 1 1 0;
    min-height: 0;
    height: 100%;
    max-height: none;
    overflow: hidden;
    padding-bottom: 0;
    box-sizing: border-box;
  }

  .stream-col-chat.lkz-live-chat .lkz-chat-head {
    display: none !important;
  }

  .stream-col-chat.lkz-live-chat .lkz-chat-body {
    grid-row: 1;
    min-height: 0;
    overflow: hidden;
  }
  .stream-col-center {
    order: 1;
    flex: 0 0 auto;
    flex-shrink: 0;
    width: 100%;
    min-height: 0;
    height: auto !important;
    max-height: none;
    align-self: stretch;
    grid-area: unset;
    overflow: hidden;
    position: relative;
    z-index: 4;
  }
  .stream-player-wrap {
    width: 100%;
    height: auto !important;
    max-height: none;
    aspect-ratio: 16 / 9;
    flex-shrink: 0;
  }
  .stream-col-chat-stack {
    order: 2;
    display: flex !important;
    flex-direction: column;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    width: 100%;
    max-width: none;
    align-self: stretch;
    overflow: hidden;
  }

  /* Style Twitch mobile : pas de bannière pub au-dessus du chat */
  .stream-chat-banner {
    display: none !important;
  }

  .stream-col-chat {
    grid-area: unset;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    min-height: 0;
    height: auto;
    align-self: stretch;
    overflow: hidden;
    position: static;
  }

  .stream-col-chat.lkz-live-chat {
    order: unset;
    grid-area: unset;
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: 1;
    width: 100%;
    max-width: none;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    max-height: none;
    background: transparent !important;
    background-image: none !important;
    color-scheme: dark;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    border: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) auto;
    grid-template-columns: 1fr;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-sizing: border-box;
    overflow: hidden;
  }

  .stream-col-chat.lkz-live-chat .lkz-chat-head {
    display: none !important;
  }

  .stream-col-chat.lkz-live-chat .lkz-chat-compose {
    grid-row: 2;
    flex-shrink: 0;
    background: transparent;
    position: relative;
    z-index: 10;
  }

  .stream-col-chat.lkz-live-chat .lkz-chat-body {
    grid-row: 1;
    min-height: 0 !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .stream-col-chat.lkz-live-chat .lkz-chat-messages {
    flex: 1 1 0;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: transparent;
    touch-action: pan-y;
  }

  .stream-player-footer {
    display: none !important;
  }
  .stream-chat-embed {
    display: block;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    height: 100%;
    border: 0;
    background: #0a0a0c !important;
  }
}

.stream-footer-viewers__icon {
  display: none;
  flex-shrink: 0;
}

.btn-iptv .btn-label__short {
  display: none;
}

@media (max-width: 1100px) {
  .btn-iptv .btn-label__full {
    display: none;
  }
  .btn-iptv .btn-label__short {
    display: inline;
  }
  .stream-footer-bottom-row .btn-iptv .btn-label {
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
  }
}

@media (min-width: 1101px) {
  .btn-iptv .btn-label__short {
    display: none !important;
  }
  .btn-iptv .btn-label__full {
    display: inline;
  }
}

/* Barre match mobile (sous navbar) — clone Twitch */
.stream-match-bar {
  display: none;
}

@media (max-width: 1100px) {
  .stream-match-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    width: 100%;
    height: 50px;
    min-height: 50px;
    max-height: 50px;
    padding: 0 10px 0 2px;
    box-sizing: border-box;
    background: transparent;
    border-bottom: none;
    position: relative;
    z-index: 40;
  }

  .stream-match-bar__back {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0;
    color: #efeff1;
    text-decoration: none;
    border-radius: 4px;
  }

  .stream-match-bar__avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    text-decoration: none;
    background: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 2px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .stream-match-bar__avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .stream-match-bar__text {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding-right: 6px;
  }

  .stream-match-bar__title-row {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    height: 18px;
  }

  .stream-match-bar__title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
    color: #efeff1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 36px);
  }

  .stream-match-bar__badge {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    background: none;
    border-radius: 0;
  }

  .stream-match-bar__badge svg {
    display: block;
    width: 16px;
    height: 16px;
  }

  .stream-match-bar__chev {
    flex-shrink: 0;
    color: #adadb8;
    display: block;
  }

  .stream-match-bar__meta {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 16px;
    font-size: 13px;
    font-weight: 400;
    line-height: 16px;
    color: #adadb8;
  }

  .stream-match-bar__meta[hidden] {
    display: none !important;
  }

  .stream-match-bar__viewers {
    display: inline-flex;
    align-items: center;
    gap: 3px;
  }

  .stream-match-bar__viewers svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    color: #adadb8;
    opacity: 1;
  }

  .stream-match-bar__live {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01em;
  }

  .stream-match-bar__live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #eb0400;
    flex-shrink: 0;
    box-shadow: none;
  }

  .stream-match-bar__comp {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .stream-match-bar__comp[hidden] {
    display: none !important;
  }

  .stream-match-bar__comp-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

@media (max-width: 1100px) {
  /* Footer titre / LECTEUR / viewers : masqué mobile — chat remonte */
  .stream-player-footer {
    display: none !important;
  }
}

@media (max-width: 760px) {
  .stream-col-chat.lkz-live-chat {
    min-height: 0;
  }

  .lkz-chat-compose {
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    z-index: 10;
  }

  .lkz-chat-name,
  .lkz-chat-input {
    font-size: 16px;
  }
}

@media (min-width: 1101px) {
  .stream-footer-network-stack {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    max-width: 100%;
    min-width: 0;
  }

  .stream-footer-sources {
    display: none !important;
  }

  .stream-footer-social-row {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: auto;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .stream-footer-viewers {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    left: auto;
    grid-column: unset;
    grid-row: unset;
    justify-self: end;
    align-self: center;
    margin: 0;
    color: #ef4444;
    font-size: 16px;
    font-weight: 700;
    gap: 8px;
  }
  .stream-footer-toolbar > .stream-footer-viewers {
    display: none !important;
  }
  .stream-footer-bottom-row {
    display: flex;
    position: static;
    width: auto;
    max-width: none;
    justify-content: center;
  }
  .stream-footer-bottom-row .stream-btn.btn-iptv {
    width: auto;
    min-width: 0;
    max-width: none;
    height: 40px;
    flex: none;
  }
  .stream-footer-viewers:not([hidden]) {
    display: inline-flex !important;
  }
  .stream-footer-viewers__icon {
    display: block;
    width: 22px;
    height: 22px;
    color: #ef4444;
  }
  .stream-footer-user {
    display: none !important;
  }
  .stream-footer-toolbar,
  .stream-footer-toolbar.stream-btn-group {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    max-width: 100%;
  }
  /* PC : Discord / X / IPTV — une ligne, style plat */
  .stream-footer-social-row {
    gap: 8px;
  }

  .stream-footer-social-row .stream-btn.btn-x-sm,
  .stream-footer-social-row .stream-btn.btn-discord-sm {
    width: 42px;
    min-width: 42px;
    max-width: 42px;
    height: 42px;
    padding: 0;
    gap: 0;
    border-radius: 12px;
    box-shadow: none;
  }

  .stream-footer-social-row .stream-btn.btn-x-sm:hover,
  .stream-footer-social-row .stream-btn.btn-discord-sm:hover,
  .stream-footer-social-row .stream-btn.btn-iptv:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: none;
  }

  .stream-footer-social-row .stream-btn.btn-x-sm::before,
  .stream-footer-social-row .stream-btn.btn-discord-sm::before,
  .stream-footer-social-row .stream-btn.btn-iptv::before {
    display: none;
  }

  .stream-footer-social-row .stream-btn.btn-telegram-sm {
    display: none !important;
  }
  .stream-footer-social-row .stream-btn-text {
    display: none !important;
  }
  .stream-footer-social-row .stream-btn.btn-iptv {
    width: auto;
    min-width: 0;
    max-width: none;
    height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    gap: 8px;
    box-shadow: none;
  }
  .stream-footer-social-row .stream-btn.btn-iptv .btn-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }
  .stream-footer-social-row .stream-btn.btn-iptv .btn-label__full {
    display: inline;
  }
  .stream-footer-social-row .stream-btn.btn-iptv .btn-label__short {
    display: none;
  }
  .stream-footer-social-row .btn-iptv-discord {
    width: 18px;
    height: 18px;
  }
  .stream-footer-bottom-row:empty {
    display: none !important;
  }
  .stream-footer-toolbar .stream-btn.btn-iptv {
    width: auto;
    min-width: 0;
    max-width: none;
    height: 42px;
  }
}

@media (min-width: 761px) {
  .btn-iptv {
    padding: 0 18px;
  }
  .btn-iptv .btn-label {
    font-size: 12px;
  }
}

/* ── Page match (stream centré — legacy) ── */
.match-page {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.match-header {
  width: 100%;
  text-align: center;
}

.match-back {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: hsl(0 0% 55%);
  text-decoration: none;
  transition: color 0.15s;
}
.match-back:hover { color: hsl(var(--primary)); }

.match-title {
  margin: 0;
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.match-sub {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: hsl(0 0% 55%);
}

.match-stream-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.match-stream {
  position: relative;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: hsl(270 8% 6%);
  border: 1px solid hsl(270 10% 14%);
  box-shadow: 0 20px 60px hsla(0 0% 0% / 0.45);
}

.match-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.match-stream-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.5rem;
  text-align: center;
  color: hsl(0 0% 60%);
  font-size: 0.9rem;
  background: linear-gradient(145deg, hsl(270 12% 8%), hsl(270 8% 5%));
}
.match-stream-placeholder__hint {
  font-size: 0.78rem;
  color: hsl(0 0% 45%);
}

.match-tips {
  width: 100%;
  max-width: 960px;
  padding: 1.25rem 1.35rem;
  border-radius: 14px;
  background: hsl(270 10% 7%);
  border: 1px solid hsl(270 12% 14%);
}
.match-tips__title {
  margin: 0 0 0.85rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(270 90% 72%);
}
.match-tips__list {
  margin: 0;
  padding: 0 0 0 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: hsl(0 0% 78%);
}
.match-tips__list strong { color: #fff; font-weight: 700; }
.match-tips__link {
  color: hsl(270 90% 72%);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.match-tips__link:hover { color: hsl(270 100% 82%); }

@media (max-width: 639px) {
  .match-page { padding: 0.75rem 0.85rem 2rem; gap: 1.1rem; }
  .match-stream { border-radius: 10px; }
  .match-tips { padding: 1rem 1.1rem; }
}

/* ── Programme TV (mode chaîne) ── */
.stream-col-programme {
  grid-area: chat;
  display: none;
  flex-direction: column;
  width: var(--stream-chat-w);
  max-width: var(--stream-chat-w);
  min-width: 0;
  min-height: 0;
  height: 100%;
  align-self: stretch;
  overflow: hidden;
  background: hsl(0 0% 8% / 0.42);
  border-left: 1px solid hsla(var(--primary) / 0.12);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.stream-body--tv-channel .stream-col-chat-stack {
  display: none !important;
}

.stream-body--tv-channel .stream-col-chat {
  display: none !important;
}

.stream-body--tv-channel .stream-col-programme {
  display: flex;
}

@media (min-width: 1101px) {
  .stream-body--tv-channel .stream-col-programme {
    grid-row: 1 / -1;
  }
}

/* Header */
.stream-prog-head {
  position: relative;
  flex-shrink: 0;
  padding: 0.85rem 0.9rem 0.75rem;
  background: transparent;
  border-bottom: 1px solid hsl(0 0% 100% / 0.08);
  overflow: hidden;
}

.stream-prog-head__glow {
  position: absolute;
  top: -30px;
  left: -10px;
  width: 120px;
  height: 70px;
  background: radial-gradient(ellipse, hsla(var(--primary) / 0.12) 0%, transparent 72%);
  pointer-events: none;
}

.stream-prog-head__kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.2rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(270 45% 68%);
}

.stream-prog-head__pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: hsl(var(--primary));
  box-shadow: 0 0 8px hsla(var(--primary) / 0.45);
  animation: progLivePulse 1.8s ease-in-out infinite;
}

.stream-prog-head__title {
  position: relative;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.stream-prog-head__title::after {
  content: "";
  display: block;
  width: 2.4rem;
  height: 2px;
  margin-top: 0.45rem;
  border-radius: 2px;
  background: linear-gradient(90deg, hsl(var(--primary)), hsla(var(--primary) / 0.15));
  box-shadow: 0 0 10px hsla(var(--primary) / 0.35);
}

/* Panel */
.stream-prog-panel {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.75rem 0.8rem 1rem;
  scrollbar-width: thin;
  scrollbar-color: hsla(var(--primary) / 0.28) transparent;
}

.stream-prog-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.stream-prog-block {
  opacity: 1;
  transform: translateY(0);
}

.stream-prog-card.is-refreshing .stream-prog-block {
  animation: progFadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.stream-prog-card.is-refreshing .stream-prog-hero {
  animation: progFadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.stream-prog-card.is-refreshing .stream-prog-channel {
  animation-delay: 0.07s;
}

.stream-prog-card.is-refreshing .stream-prog-now {
  animation-delay: 0.14s;
}

.stream-prog-card.is-refreshing .stream-prog-upnext {
  animation-delay: 0.22s;
}

@keyframes progFadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero */
.stream-prog-hero {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: hsl(0 0% 12%);
  box-shadow:
    0 8px 28px hsl(0 0% 0% / 0.45),
    0 0 0 1px hsla(var(--primary) / 0.1);
}

.stream-prog-card.is-channel-switch .stream-prog-hero__img {
  animation: progHeroKen 7s ease-out forwards;
}

@keyframes progHeroKen {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}

.stream-prog-hero__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 0.35s ease;
}

.stream-prog-hero__shine {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    115deg,
    transparent 30%,
    hsl(0 0% 100% / 0.06) 48%,
    transparent 62%
  );
  transform: translateX(-120%);
  animation: progHeroShine 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes progHeroShine {
  0%, 70% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

.stream-prog-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.35) 55%,
    rgba(0, 0, 0, 0.72) 100%
  );
}

.stream-prog-hero__live,
.stream-prog-hero__type {
  position: absolute;
  top: 0.5rem;
  z-index: 2;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.24rem 0.5rem;
  border-radius: 7px;
  background: hsl(0 0% 0% / 0.55);
  border: 1px solid hsl(0 0% 100% / 0.14);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.stream-prog-hero__live {
  left: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  border-color: hsl(0 72% 55% / 0.35);
  box-shadow: 0 0 16px hsl(0 72% 45% / 0.2);
}

.stream-prog-hero__live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.8);
  animation: progLivePulse 1.6s ease-in-out infinite;
}

@keyframes progLivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.82); }
}

.stream-prog-hero__type {
  right: 0.5rem;
  border-color: hsla(var(--primary) / 0.28);
  color: hsl(270 55% 88%);
}

.stream-prog-hero__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: hsl(0 0% 100% / 0.1);
  z-index: 2;
  overflow: hidden;
}

.stream-prog-hero__bar-fill {
  position: relative;
  display: block;
  height: 100%;
  width: 30%;
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(285 80% 58%));
  box-shadow: 0 0 10px hsla(var(--primary) / 0.4);
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.stream-prog-hero__bar-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    hsl(0 0% 100% / 0.45) 50%,
    transparent 100%
  );
  animation: progBarShimmer 2.4s ease-in-out infinite;
}

@keyframes progBarShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

/* Channel row */
.stream-prog-channel {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
}

.stream-prog-channel__logo-wrap {
  flex-shrink: 0;
  width: 42px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.stream-prog-channel__logo {
  width: 34px;
  height: 26px;
  object-fit: contain;
  border-radius: 4px;
}

.stream-prog-channel__text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.stream-prog-channel__text strong {
  font-size: 0.84rem;
  font-weight: 700;
  color: #fff;
}

.stream-prog-channel__text span {
  font-size: 0.66rem;
  color: hsl(0 0% 55%);
}

/* Now playing */
.stream-prog-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: #fff;
}

.stream-prog-time {
  margin: 0.2rem 0 0;
  font-size: 0.7rem;
  font-weight: 600;
  color: hsl(270 35% 72%);
  letter-spacing: 0.02em;
}

.stream-prog-desc {
  margin: 0.45rem 0 0;
  font-size: 0.76rem;
  line-height: 1.58;
  color: hsl(0 0% 76%);
}

/* Up next */
.stream-prog-upnext {
  margin-top: 0.15rem;
  padding: 0.75rem 0 0;
  border-radius: 0;
  background: transparent;
  border: none;
  border-top: 1px solid hsl(0 0% 100% / 0.1);
  transition: border-color 0.25s;
}

.stream-prog-upnext:hover {
  border-top-color: hsla(var(--primary) / 0.22);
}

.stream-prog-upnext__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(0 0% 50%);
}

.stream-prog-upnext__label {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  color: hsl(270 45% 72%);
}

.stream-prog-upnext__label svg {
  color: hsl(var(--primary));
}

.stream-prog-upnext__remain {
  color: hsl(0 0% 50%);
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.62rem;
}

.stream-prog-upnext__item {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.stream-prog-upnext__time {
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 800;
  color: hsl(270 50% 82%);
}
  min-width: 0;
}

.stream-prog-upnext__body strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.18rem;
  color: #fff;
}

.stream-prog-upnext__body p {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.48;
  color: hsl(0 0% 58%);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stream-tv-channel-item .stream-channel-item__teams {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.3;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stream-tv-channel-item .stream-channel-item__sub {
  font-size: 10px;
  color: hsl(0 0% 50%);
  letter-spacing: 0.06em;
}

.stream-tv-channel-item .stream-channel-item__stats {
  display: none;
}

@keyframes streamChWaveReveal {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stream-tv-channel-item.stream-wave-reveal {
  opacity: 0;
  animation: streamChWaveReveal 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.04s + var(--wave-i, 0) * 0.034s);
}

@media (prefers-reduced-motion: reduce) {
  .stream-tv-channel-item.stream-wave-reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* Sidebar chaînes TV — logos entiers (desktop) */
@media (min-width: 1101px) {
  .stream-body--tv-channel .stream-col-channels {
    background: transparent;
  }

  .stream-body--tv-channel .stream-channels-head {
    padding: 14px 12px 12px;
    background: transparent;
  }

  .stream-body--tv-channel .stream-channels-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: none;
    color: hsl(0 0% 96%);
  }

  .stream-body--tv-channel .stream-channels-list {
    padding: 4px 0 10px;
  }

  .stream-body--tv-channel .stream-tv-channel-item {
    gap: 10px;
    padding: 10px 14px;
    margin-bottom: 0;
    border-radius: 0;
    border: none;
  }

  .stream-body--tv-channel .stream-tv-channel-item:hover {
    background: rgba(255, 255, 255, 0.07);
  }

  .stream-body--tv-channel .stream-tv-channel-item.is-active {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
  }

  .stream-tv-channel-item__logo-wrap {
    flex-shrink: 0;
    width: 64px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }

  .stream-tv-channel-item__logo {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    border: none;
    border-radius: 0;
    background: transparent;
  }
}

@media (max-width: 1100px) {
  .stream-body--tv-channel .stream-col-programme {
    order: 3;
    grid-area: unset;
    position: relative;
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 280px;
    max-height: none;
    flex: 0 0 auto;
    border-left: none;
    border-top: 1px solid hsl(0 0% 100% / 0.08);
  }

  .stream-prog-panel {
    max-height: 48dvh;
  }
}

/* ── Modal ── */
#playerModal.hidden { display: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background-color: rgba(120, 120, 120, 0.35);
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background-color: rgba(120, 120, 120, 0.55); }
* { scrollbar-width: thin; scrollbar-color: rgba(120, 120, 120, 0.35) transparent; }

::selection { background-color: hsla(var(--primary) / 0.35); }

/* ── Invite follow X ── */
@keyframes lkz-follow-backdrop-in {
  from {
    opacity: 0;
    -webkit-backdrop-filter: blur(0);
    backdrop-filter: blur(0);
  }
  to {
    opacity: 1;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
}

@keyframes lkz-follow-card-in {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.8) rotate(-2.5deg);
    filter: blur(16px);
  }
  58% {
    opacity: 1;
    transform: translateY(-10px) scale(1.04) rotate(0.6deg);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0);
    filter: blur(0);
  }
}

@keyframes lkz-follow-card-out {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
  to {
    opacity: 0;
    transform: translateY(22px) scale(0.88);
    filter: blur(10px);
  }
}

@keyframes lkz-follow-piece {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes lkz-follow-ring {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes lkz-follow-glow-pulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.92);
  }
  50% {
    opacity: 0.72;
    transform: scale(1.08);
  }
}

body.lkz-follow-prompt-open {
  overflow: hidden;
}

.lkz-follow-prompt {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: hsl(0 0% 0% / 0.55);
  opacity: 0;
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
}

.lkz-follow-prompt[hidden] {
  display: none !important;
}

.lkz-follow-prompt.is-open {
  animation: lkz-follow-backdrop-in 0.48s ease forwards;
}

.lkz-follow-prompt.is-closing {
  animation: lkz-follow-backdrop-in 0.4s ease reverse forwards;
}

.lkz-follow-prompt__card {
  position: relative;
  width: min(100%, 420px);
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 1.15rem;
  border: 1px solid hsla(var(--primary) / 0.28);
  background: linear-gradient(
    165deg,
    hsl(0 0% 15%) 0%,
    hsl(0 0% 7%) 55%,
    hsl(270 22% 9%) 100%
  );
  box-shadow:
    0 32px 80px hsl(0 0% 0% / 0.65),
    0 0 0 1px hsl(0 0% 100% / 0.05) inset,
    0 0 56px hsla(var(--primary) / 0.16);
  text-align: center;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px) scale(0.8);
}

.lkz-follow-prompt__card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    hsla(var(--primary) / 0.85),
    transparent
  );
  opacity: 0.9;
  pointer-events: none;
}

.lkz-follow-prompt.is-open .lkz-follow-prompt__card {
  animation: lkz-follow-card-in 0.74s cubic-bezier(0.34, 1.38, 0.64, 1) forwards;
}

.lkz-follow-prompt.is-closing .lkz-follow-prompt__card {
  animation: lkz-follow-card-out 0.38s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.lkz-follow-prompt__glow {
  position: absolute;
  inset: -45%;
  background: radial-gradient(
    circle at 50% 40%,
    hsla(var(--primary) / 0.38) 0%,
    transparent 68%
  );
  pointer-events: none;
  z-index: 0;
  opacity: 0;
}

.lkz-follow-prompt.is-open .lkz-follow-prompt__glow {
  opacity: 1;
  animation: lkz-follow-glow-pulse 3.2s ease-in-out 0.55s infinite;
}

.lkz-follow-prompt__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  z-index: 3;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: hsl(0 0% 100% / 0.55);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.2s ease;
}

.lkz-follow-prompt__close:hover {
  background: hsl(0 0% 100% / 0.08);
  color: #fff;
  transform: rotate(90deg);
}

.lkz-follow-prompt__icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.35rem;
  height: 3.35rem;
  margin: 0 auto 1rem;
  border-radius: 999px;
  background: hsl(0 0% 100% / 0.08);
  color: #fff;
  box-shadow: 0 0 24px hsla(var(--primary) / 0.25);
}

.lkz-follow-prompt__icon::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  background: conic-gradient(
    from 0deg,
    hsl(var(--primary)),
    transparent 35%,
    hsl(270 95% 75%),
    transparent 72%
  );
  animation: lkz-follow-ring 3.5s linear infinite;
  opacity: 0.75;
  z-index: -1;
}

.lkz-follow-prompt__piece {
  position: relative;
  z-index: 1;
  opacity: 0;
}

.lkz-follow-prompt.is-open .lkz-follow-prompt__piece {
  animation: lkz-follow-piece 0.54s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.24s + var(--fp-i, 0) * 0.075s);
}

.lkz-follow-prompt__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.15rem, 3.5vw, 1.35rem);
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
}

.lkz-follow-prompt__text {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: hsl(0 0% 100% / 0.72);
}

.lkz-follow-prompt__text strong {
  color: #fff;
  font-weight: 700;
}

.lkz-follow-prompt__handle {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: hsl(270 90% 72%);
  text-shadow: 0 0 20px hsla(var(--primary) / 0.35);
}

.lkz-follow-prompt__actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.lkz-follow-prompt__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border-radius: 0.65rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
}

.lkz-follow-prompt__btn--primary {
  border: none;
  background: #fff;
  color: #000;
  box-shadow: 0 8px 24px hsl(0 0% 100% / 0.12);
}

.lkz-follow-prompt__btn--primary:hover {
  background: hsl(0 0% 92%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px hsl(0 0% 100% / 0.18);
}

.lkz-follow-prompt__btn--ghost {
  border: 1px solid hsl(0 0% 100% / 0.14);
  background: transparent;
  color: hsl(0 0% 100% / 0.72);
}

.lkz-follow-prompt__btn--ghost:hover {
  background: hsl(0 0% 100% / 0.06);
  color: #fff;
  transform: translateY(-1px);
}

@media (min-width: 480px) {
  .lkz-follow-prompt__actions {
    flex-direction: row;
  }

  .lkz-follow-prompt__btn {
    flex: 1 1 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lkz-follow-prompt,
  .lkz-follow-prompt__card,
  .lkz-follow-prompt__piece,
  .lkz-follow-prompt__glow,
  .lkz-follow-prompt__icon::before {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  #lkz-nprogress .lkz-nprogress__bar {
    transition: none !important;
  }
}

/* ── Barre de chargement violette (style NProgress / KXO) ── */
#lkz-nprogress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: 3px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

#lkz-nprogress.is-active {
  opacity: 1;
}

#lkz-nprogress .lkz-nprogress__bar {
  height: 100%;
  width: 0%;
  background: hsl(var(--primary));
  box-shadow:
    0 0 10px hsla(var(--primary) / 0.9),
    0 0 22px hsla(var(--primary) / 0.5);
  transition: width 0.4s cubic-bezier(0.1, 0.05, 0, 1);
}

#lkz-nprogress.is-done .lkz-nprogress__bar {
  transition: width 0.18s ease-out;
}

/* Sous la navbar quand elle est présente */
@media (min-width: 768px) {
  body:has(.site-nav) #lkz-nprogress {
    top: 64px;
  }
}
