        /* Menu adulte encapsulé */
        #lk-menu-adulte {
            all: initial;
            position: fixed;
            top: 0;
            right: 0;
            z-index: 9999999;
            font-family: Arial, sans-serif;
        }
        .lkMenuAdulteBtn {
            position: fixed;
            top: 20px;
            right: 20px;
            font-size: 24px;
            color: white;
            cursor: pointer;
            z-index: 9999999;
        }
        .lkSideMenuAdulte {
            position: fixed;
            top: 0;
            right: -280px;
            width: 280px;
            height: 100%;
            background: #000;
            transition: right 0.35s ease;
            padding-top: 80px;
            box-shadow: none;
            z-index: 9999999;
        }
        .lkSideMenuAdulte.lk-active {
            right: 0;
            box-shadow: -5px 0 25px rgba(0,0,0,0.6);
        }
        .lkSideMenuAdulte ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .lkSideMenuAdulte li {
            padding: 16px 28px;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }
        .lkSideMenuAdulte a {
            text-decoration: none;
            color: white;
            font-size: 15px;
        }
        .lkSideMenuAdulte a:hover {
            color: #e50914;
            padding-left: 6px;
        }
        .lkCloseBtnAdulte {
            position: absolute;
            top: 20px;
            right: 25px;
            font-size: 22px;
            cursor: pointer;
            color: white;
        }

        /* Barre de menu catégories */
        #menu-categories {
            background-color: #ff0000;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 6px;
            padding: 8px;
            position: sticky;
            z-index: 10;
            box-shadow: 0 2px 6px rgba(0,0,0,0.3);
        }
        #menu-categories button {
            background-color: white;
            color: #c00000;
            border: none;
            padding: 5px 10px;
            font-size: 13px;
            font-weight: bold;
            border-radius: 4px;
            cursor: pointer;
            transition: background 0.3s;
        }
        #menu-categories button:hover {
            background-color: #ffcccc;
        }

        /* Carrousel Netflix */
        #carrousel-netflix-container {
            background-color: #000;
            color: #fff;
            padding: 16px;
            font-family: Arial, sans-serif;
        }
        #carrousel-netflix-container h2 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            font-weight: bold;
        }
        .swiper-netflix .swiper-slide img {
            border-radius: 8px;
            width: 100%;
            height: auto;
        }

        /* Encap Live */
        .lk-encap-live-section {
            background: #000;
            padding: 25px 2px;
        }
        .lk-encap-live-title {
            color: #fff;
            font-size: 26px;
            font-weight: 700;
            margin-bottom: 15px;
            border-left: 5px solid #e50914;
            padding-left: 10px;
            text-transform: uppercase;
        }
        .lk-encap-live-carousel {
            display: flex;
            overflow-x: auto;
            gap: 18px;
            padding-bottom: 10px;
            scroll-snap-type: x mandatory;
        }
        .lk-encap-live-carousel::-webkit-scrollbar {
            height: 8px;
        }
        .lk-encap-live-carousel::-webkit-scrollbar-thumb {
            background: #e50914;
            border-radius: 10px;
        }
        .lk-encap-live-card {
            min-width: 280px;
            max-width: 280px;
            background: #111;
            border-radius: 12px;
            overflow: hidden;
            position: relative;
            scroll-snap-align: center;
            transition: transform .25s ease;
        }
        .lk-encap-live-card:hover {
            transform: scale(1.05);
        }
        .lk-encap-live-card img {
            width: 100%;
            height: 160px;
            object-fit: cover;
        }
        .lk-encap-live-tag {
            position: absolute;
            top: 6px;
            left: 6px;
            background: #e50914;
            color: #fff;
            font-size: 14px;
            font-weight: 700;
            padding: 3px 8px;
            border-radius: 4px;
            z-index: 0;
        }
        .lk-encap-live-info {
            padding: 12px;
            color: #fff;
        }
        .lk-encap-live-info h3 {
            font-size: 18px;
            margin: 0 0 4px;
        }
        .lk-encap-live-info p {
            margin: 0;
            font-size: 14px;
            color: #ccc;
        }
        .lk-live-progress {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 8px;
            background: rgba(255,255,255,0.15);
            z-index: 2;
        }
        .lk-live-progress-bar {
            height: 100%;
            width: 0%;
            background: linear-gradient(to right, #e50914 0%, #e50914 70%, #000000 100%);
            transition: width 0.4s linear;
        }

        /* Carrousel wrapper */
        #lk-carousel-wrapper {
            position: relative;
            width: 100%;
            max-height: 500px;
            overflow: hidden;
        }
        #lk-carousel-wrapper .lk-carousel {
            position: relative;
            width: 100%;
            height: 500px;
        }
        #lk-carousel-wrapper .lk-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            background-size: cover;
            background-position: center;
            transition: opacity 1s ease-in-out;
            z-index: 0;
        }
        #lk-carousel-wrapper .lk-slide.lk-active {
            opacity: 1;
            z-index: 1;
        }
        #lk-carousel-wrapper .lk-controls {
            position: absolute;
            top: 50%;
            width: 100%;
            display: flex;
            justify-content: space-between;
            transform: translateY(-50%);
            z-index: 2;
        }
        #lk-carousel-wrapper .lk-controls button {
            background-color: rgba(0,0,0,0.5);
            border: none;
            color: white;
            padding: 10px;
            cursor: pointer;
            font-size: 18px;
        }
        #lk-carousel-wrapper .lk-slide a {
            display: block;
            width: 100%;
            height: 100%;
        }

        /* Module sports */
        #module-sports-divertissement-wrapper {
            display: flex;
            justify-content: center;
            padding: 40px 20px;
            background: #000000;
        }
        #module-sports-divertissement {
            font-family: Arial, sans-serif;
            max-width: 1000px;
            width: 100%;
            margin: auto;
        }
        #module-sports-divertissement .buttons-container {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            justify-content: center;
        }
        #module-sports-divertissement .sport-button {
            background: linear-gradient(145deg, #ff0000, #b30000);
            color: white;
            width: 150px;
            height: 150px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-decoration: none;
            border-radius: 15px;
            font-size: 18px;
            font-weight: bold;
            box-shadow: 0 6px 15px rgba(0,0,0,0.3), inset 0 0 5px rgba(255,255,255,0.2);
            transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
        }
        #module-sports-divertissement .sport-button:hover {
            background: linear-gradient(145deg, #6b2b15, #3e1f0d);
            transform: scale(1.08);
            box-shadow: 0 8px 20px rgba(0,0,0,0.5), 0 0 15px rgba(255,255,255,0.2);
        }
        #module-sports-divertissement .sport-button i {
            font-size: 38px;
            margin-bottom: 10px;
            filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.3));
        }
        @media (max-width: 600px) {
            #module-sports-divertissement .sport-button {
                width: 45%;
                height: 140px;
            }
        }

        /* Chat container */
        #lookaa-chat-container {
            width: 100%;
            max-width: 900px;
            height: 500px;
            margin: 30px auto;
            background: #000;
            border-radius: 6px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
            display: flex;
            flex-direction: column;
            font-family: Arial, sans-serif;
        }
        #lookaa-chat-header {
            background: #ff0000;
            color: #fff;
            padding: 12px;
            text-align: center;
            font-weight: bold;
            font-size: 15px;
        }
        #lookaa-chat-room {
            flex: 1;
        }
        @media (max-width: 600px) {
            #lookaa-chat-container {
                width: 95%;
                height: 450px;
            }
        }

        /* Share buttons (fixe en bas à gauche) */
        .lookaa-share-wrapper {
            position: fixed;
            bottom: 20px;
            left: 20px;
            font-family: Arial, sans-serif;
            z-index: 9999;
        }
        .lookaa-share-container {
            display: flex;
            align-items: center;
        }
        .lookaa-share-button {
            background-color: #ff0000;
            color: white;
            border: none;
            padding: 11px 10px;
            cursor: pointer;
            border-radius: 5px;
            font-size: 13px;
            font-weight: bold;
            transition: background-color 0.3s;
        }
        .lookaa-share-button:hover {
            background-color: #990000;
        }
        .lookaa-social-buttons {
            background-color: #000000;
            border-radius: 5px;
            display: flex;
            flex-direction: row;
            margin-left: 10px;
            padding: 5px;
        }
        .lookaa-social-btn {
            background-color: #ddd;
            color: black;
            border: none;
            padding: 10px 20px;
            cursor: pointer;
            margin-left: 5px;
            border-radius: 5px;
            font-size: 14px;
        }
        .lookaa-social-btn:hover {
            background-color: #bbb;
        }
        .lookaa-hidden {
            display: none;
        }
        .lookaa-facebook-btn {
            background-color: #351C75;
            color: white;
        }
        .lookaa-twitter-btn {
            background-color: #000000;
            color: white;
        }
        .lookaa-other-btn {
            background-color: #351C75;
            color: white;
        }

        /* Promo box */
        .lookaa-promo-box {
            width: 100%;
            max-width: 500px;
            margin: 20px auto;
            background: transparent;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .lookaa-promo-box img {
            width: 100%;
            height: auto;
            object-fit: contain;
            display: block;
            background: transparent;
        }

        /* Footer */
        .footer {
            background: #000;
            padding: 20px 10px;
            text-align: center;
        }
        .footer-links a {
            color: #fff;
            text-decoration: none;
            margin: 0 10px;
            font-size: 14px;
        }
        .footer-links a:hover {
            text-decoration: underline;
        }

        /* Chat popup (bouton latéral) */
        #lookaa-chat-wrapper {
            position: fixed;
            top: 50%;
            right: 0;
            transform: translateY(-50%);
            z-index: 999999;
            font-family: Arial, sans-serif;
        }
        #lookaa-chat-button {
            background: #cc0000;
            color: #fff;
            border: none;
            border-radius: 12px 0 0 12px;
            padding: 12px 8px;
            cursor: pointer;
            box-shadow: 0 5px 20px rgba(0,0,0,0.4);
            display: flex;
            align-items: center;
            justify-content: center;
            writing-mode: vertical-lr;
            text-orientation: mixed;
            font-weight: bold;
            gap: 5px;
        }
        #lookaa-chat-button span {
            background: #fff;
            color: #cc0000;
            padding: 2px 4px;
            border-radius: 6px;
            font-size: 10px;
            writing-mode: vertical-lr;
        }
        #lookaa-chat-box {
            width: 320px;
            height: 420px;
            background: #000;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.6);
            display: none;
            flex-direction: column;
            position: fixed;
            bottom: 120px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 10002;
        }
        #lookaa-chat-header {
            background: #cc0000;
            color: #fff;
            padding: 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 14px;
        }
        #lookaa-close {
            cursor: pointer;
            font-weight: bold;
            font-size: 16px;
            display: flex;
            align-items: center;
        }
        @media (max-width: 600px) {
            #lookaa-chat-box {
                width: 90%;
                max-width: 360px;
                height: 90%;
                max-height: 500px;
                bottom: 10%;
                left: 50%;
                transform: translateX(-50%);
                border-radius: 12px;
            }
        }

        /* Live News Widget (fixe en bas au centre) */
        #liveNewsWidget * {
            box-sizing: border-box;
        }
        #liveNewsWidget #liveNewsBtn {
            background-color: #f00000;
            color: white;
            border: none;
            padding: 10px 16px;
            font-size: 14px;
            font-weight: bold;
            border-radius: 8px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            box-shadow: 0 4px 8px rgba(0,0,0,5.8);
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 999;
        }
        #liveNewsWidget #liveNewsBtn:hover {
            background-color: #cc0000;
        }
        #liveNewsWidget .blinking-dot {
            width: 16px;
            height: 16px;
            background-color: darkred;
            border-radius: 50%;
        }
        #liveNewsWidget #popup {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            display: none;
            background-color: rgba(0,0,0,0.6);
            z-index: 99999;
            justify-content: center;
            align-items: center;
        }
        #liveNewsWidget .popup-content {
            position: relative;
            width: 98%;
            height: 98%;
            background: white;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            border-radius: 10px;
        }
        #liveNewsWidget .popup-header {
            background-color: #111;
            color: white;
            padding: 4px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        #liveNewsWidget .popup-header button {
            background: none;
            border: none;
            color: white;
            font-size: 18px;
            cursor: pointer;
        }
        #liveNewsWidget .popup-header .left-controls {
            display: flex;
            gap: 10px;
        }
        #liveNewsWidget iframe {
            flex-grow: 1;
            border: none;
            width: 100%;
        }

        /* Bannière Coupe du Monde */
        #lookaaWorldCupBanner {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            border-radius: 24px;
            overflow: hidden;
            position: relative;
            cursor: pointer;
            box-shadow: 0 10px 35px rgba(0,0,0,.30);
        }
        #lookaaWorldCupBanner a {
            display: block;
            text-decoration: none;
        }
        #lookaaWorldCupBanner img {
            width: 100%;
            height: auto;
            display: block;
            object-fit: cover;
            transition: transform .35s ease;
        }
        #lookaaWorldCupBanner:hover img {
            transform: scale(1.02);
        }
        @media (max-width: 900px) {
            #lookaaWorldCupBanner { max-width: 95%; }
        }
        @media (max-width: 600px) {
            #lookaaWorldCupBanner { max-width: 100%; border-radius: 18px; }
        }

        /* Styles pour LIVE+ FILMS et LIVE+ SÉRIES (rétablis) */
        #liveplus-trailers-container, #lpseries-trailers-container, #lpseries-trailers-container-livetv {
            font-family: Arial, sans-serif;
            background: #000;
            color: white;
            padding: 30px 20px;
        }
        #liveplus-trailers-container .trailers-header,
        #lpseries-trailers-container .trailers-header,
        #lpseries-trailers-container-livetv .trailers-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        #liveplus-trailers-container .trailers-header h2,
        #lpseries-trailers-container .trailers-header h2,
        #lpseries-trailers-container-livetv .trailers-header h2 {
            font-size: 1.4rem;
            margin: 0;
        }
        #liveplus-trailers-container .btn-enter,
        #lpseries-trailers-container .btn-enter,
        #lpseries-trailers-container-livetv .btn-enter {
            background: #e50914;
            color: white;
            padding: 6px 14px;
            font-size: 0.95rem;
            font-weight: bold;
            text-decoration: none;
            border-radius: 6px;
            transition: 0.3s;
            box-shadow: 0 4px 12px rgba(229,9,20,0.4);
        }
        #liveplus-trailers-container .btn-enter:hover,
        #lpseries-trailers-container .btn-enter:hover,
        #lpseries-trailers-container-livetv .btn-enter:hover {
            background: #bf0810;
        }
        #liveplus-trailers-container #trailers-container,
        #lpseries-trailers-container #lpseries-trailers-row,
        #lpseries-trailers-container-livetv #lpseries-trailers-row-livetv {
            display: flex;
            gap: 12px;
            overflow-x: auto;
            scrollbar-width: none;
            padding-bottom: 10px;
        }
        #liveplus-trailers-container #trailers-container::-webkit-scrollbar,
        #lpseries-trailers-container #lpseries-trailers-row::-webkit-scrollbar,
        #lpseries-trailers-container-livetv #lpseries-trailers-row-livetv::-webkit-scrollbar {
            display: none;
        }
        #liveplus-trailers-container .trailer-card,
        #lpseries-trailers-container .trailer-card,
        #lpseries-trailers-container-livetv .trailer-card {
            min-width: 140px;
            cursor: pointer;
            transition: transform 0.3s;
            position: relative;
        }
        #liveplus-trailers-container .trailer-card:hover,
        #lpseries-trailers-container .trailer-card:hover,
        #lpseries-trailers-container-livetv .trailer-card:hover {
            transform: scale(1.05);
        }
        #liveplus-trailers-container .trailer-card img,
        #lpseries-trailers-container .trailer-card img,
        #lpseries-trailers-container-livetv .trailer-card img {
            width: 100%;
            border-radius: 6px;
            display: block;
            background: #1a1a1a;
        }
        #liveplus-trailers-container .play-icon,
        #lpseries-trailers-container .play-icon,
        #lpseries-trailers-container-livetv .play-icon {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            background: rgba(0,0,0,0.35);
            border-radius: 6px;
        }
        #liveplus-trailers-container .trailer-info,
        #lpseries-trailers-container .trailer-info,
        #lpseries-trailers-container-livetv .trailer-info {
            margin-top: 6px;
            font-size: 12px;
            text-align: center;
            opacity: 0.85;
        }
        #liveplus-trailers-container .trailer-title,
        #lpseries-trailers-container .trailer-title,
        #lpseries-trailers-container-livetv .trailer-title {
            font-size: 13px;
            text-align: center;
            margin-top: 3px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        #liveplus-trailers-container .trailer-modal,
        #lpseries-trailers-container .trailer-modal {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.95);
            z-index: 9999;
            justify-content: center;
            align-items: flex-start;
            padding-top: 40px;
            overflow-y: auto;
        }
        #liveplus-trailers-container .trailer-content,
        #lpseries-trailers-container .trailer-content {
            width: 90%;
            max-width: 800px;
            background: #000;
            border-radius: 8px;
            padding: 15px;
            color: white;
            position: relative;
            margin-bottom: 40px;
        }
        #liveplus-trailers-container .trailer-title-modal,
        #lpseries-trailers-container .trailer-title-modal {
            font-size: 20px;
            font-weight: bold;
            margin: 10px 0;
        }
        #liveplus-trailers-container .trailer-info-modal,
        #lpseries-trailers-container .trailer-info-modal {
            font-size: 14px;
            margin-bottom: 10px;
            opacity: 0.9;
        }
        #liveplus-trailers-container .trailer-overview,
        #lpseries-trailers-container .trailer-overview {
            font-size: 15px;
            line-height: 1.4;
            margin-bottom: 10px;
        }
        #liveplus-trailers-container .close-trailer,
        #lpseries-trailers-container .close-trailer {
            position: fixed;
            top: 100px;
            right: 20px;
            width: 40px;
            height: 40px;
            border: none;
            border-radius: 50%;
            font-size: 20px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            background: #e50914;
            z-index: 10000;
        }
        #liveplus-trailers-container .close-trailer:hover,
        #lpseries-trailers-container .close-trailer:hover {
            background: #bf0810;
        }

/* Conteneur principal de la popup */
.popup-highlights-container {
  position: relative;
  width: 90%;
  max-width: 900px;
  height: 80%;
  background: #111;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  background: #1a1a1a;
}

/* En-tête (header) */
.popup-highlights-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: #e50914;
  color: #fff;
  font-family: Arial, sans-serif;
  flex-shrink: 0;
}

.popup-highlights-title {
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1px;
}

.popup-highlights-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  padding: 0 8px;
  transition: transform 0.2s;
}

.popup-highlights-close:hover {
  transform: scale(1.2);
}

/* ===== NOUVEAU WRAPPER ===== */
.popup-highlights-iframe-wrapper {
  flex: 1;                /* prend tout l'espace restant */
  overflow: hidden;       /* cache ce qui dépasse (le haut de l'iframe) */
  position: relative;
  background: #000;
}

/* ===== IFRAME MODIFIÉE ===== */
.popup-highlights-iframe {
  width: 100%;
  height: calc(100% + 80px);  /* un peu plus haute pour combler le trou en bas */
  margin-top: -60px;          /* tire l'iframe vers le haut de 60px pour cacher le header du site intégré */
  border: none;
  display: block;
  background: #000;
}