@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&display=swap");

:root{
  --ef-bg:#06080d;
  --ef-bg-2:#0b0f17;
  --ef-card:#121a27;
  --ef-card-2:#151f31;
  --ef-border:rgba(255,255,255,.12);
  --ef-text:#fff;
  --ef-muted:rgba(255,255,255,.74);
  --ef-soft:rgba(255,255,255,.1);
  --ef-red:#ef0d19;
  --ef-red-dark:#c70712;
  --ef-success:#28a745;
  --ef-radius:24px;
  --ef-shadow:0 20px 60px rgba(0,0,0,.35);
  --ef-header-h:92px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--ef-bg);color:var(--ef-text);font-family:Inter,Arial,Helvetica,sans-serif;line-height:1.45;overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{max-width:100%}
.ef-container{width:min(100% - 40px, 1440px);margin:0 auto}
.ef-header{height:var(--ef-header-h);background:rgba(6,8,13,.96);border-bottom:1px solid var(--ef-border);position:sticky;top:0;z-index:50;backdrop-filter:blur(16px)}
.ef-header-inner{height:100%;display:flex;align-items:center;gap:28px}
.ef-brand{display:inline-flex;align-items:center;gap:14px;font-weight:900;white-space:nowrap}.ef-brand-mark{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,var(--ef-red),#b1000c);box-shadow:0 14px 35px rgba(239,13,25,.3);font-weight:900}.ef-brand-text{font-size:20px;letter-spacing:-.04em}.ef-brand-text span{color:var(--ef-red)}
.ef-nav{display:flex;align-items:center;justify-content:center;gap:18px;margin-left:auto}.ef-nav a{padding:12px 19px;border-radius:999px;color:rgba(255,255,255,.82);font-weight:800;font-size:14px}.ef-nav a:hover,.ef-nav a.is-active{background:rgba(239,13,25,.18);color:#fff;box-shadow:inset 0 0 0 1px rgba(239,13,25,.55)}
.ef-header-actions{display:flex;align-items:center;gap:12px}.ef-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:999px;padding:13px 22px;font-weight:900;text-transform:none;cursor:pointer;max-width:100%;white-space:normal;text-align:center;line-height:1.2}.ef-btn-primary{background:var(--ef-red);color:#fff;box-shadow:0 16px 38px rgba(239,13,25,.24)}.ef-btn-primary:hover{background:var(--ef-red-dark)}.ef-btn-outline{background:rgba(255,255,255,.04);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.2)}.ef-btn-outline:hover{background:rgba(255,255,255,.08)}.ef-btn-lg{padding:17px 32px}.ef-btn-block{width:100%}
.ef-mobile-menu-btn{display:none;margin-left:auto;background:linear-gradient(135deg,var(--ef-red),#a7000a);border:0;border-radius:0;width:68px;height:68px;align-items:center;justify-content:center;flex-direction:column;gap:7px}.ef-mobile-menu-btn span{display:block;width:28px;height:3px;background:#fff;border-radius:5px}
.ef-home-hero{min-height:calc(100vh - var(--ef-header-h));display:flex;align-items:center;background:linear-gradient(90deg,#06080d 0%,rgba(6,8,13,.86) 46%,rgba(6,8,13,.45) 100%),url('https://images.pexels.com/photos/4761792/pexels-photo-4761792.jpeg?auto=compress&cs=tinysrgb&w=1600') center/cover no-repeat}.ef-home-hero-content{padding:70px 0}.ef-pill,.ef-section-badge,.ef-plan-badge,.ef-premium-badge{display:inline-flex;align-items:center;border-radius:999px;background:var(--ef-red);color:#fff;padding:10px 17px;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.02em}.ef-home-hero h1{font-size:clamp(52px,8vw,102px);letter-spacing:-.075em;line-height:.95;margin:22px 0 16px}.ef-home-hero p{font-size:20px;max-width:680px;color:var(--ef-muted)}.ef-hero-tags{display:flex;flex-wrap:wrap;gap:10px;margin:28px 0}.ef-hero-tags span{padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.14);font-size:13px;font-weight:700}.ef-actions-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.ef-page-hero{background:radial-gradient(circle at 10% 10%,rgba(239,13,25,.20),transparent 35%),linear-gradient(180deg,#090d14 0%,#070910 100%);padding:68px 0 34px;border-bottom:1px solid rgba(255,255,255,.04)}.ef-page-hero h1{font-size:clamp(42px,5vw,76px);line-height:.98;letter-spacing:-.075em;margin:0 0 18px}.ef-page-hero p{margin:0;color:var(--ef-muted);font-size:16px}.ef-section{padding:34px 0}.ef-catalog-section{padding-top:42px}.ef-catalog-toolbar{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-bottom:26px}.ef-catalog-search{display:flex;align-items:center;gap:10px;min-height:42px}.ef-search-icon{width:42px;height:42px;border-radius:999px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.04);color:#fff;font-weight:900;font-size:20px;line-height:1;cursor:pointer;display:grid;place-items:center}.ef-search-icon:hover{background:rgba(255,255,255,.09)}.ef-search-input{width:0;opacity:0;pointer-events:none;height:42px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:#101724;color:#fff;padding:0;transition:width .18s ease,opacity .18s ease,padding .18s ease}.ef-catalog-search.is-open .ef-search-input,.ef-search-input:focus{width:min(320px,calc(100vw - 120px));opacity:1;pointer-events:auto;padding:0 16px}.ef-category-heading{display:flex;justify-content:space-between;align-items:end;gap:14px;margin:0 0 18px}.ef-category-heading h2{margin:0;font-size:30px;letter-spacing:-.05em}.ef-category-heading span{color:var(--ef-muted);font-size:13px}.ef-video-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.ef-video-card{background:var(--ef-card);border:1px solid var(--ef-border);border-radius:18px;overflow:hidden;box-shadow:var(--ef-shadow);min-width:0}.ef-video-card.is-hidden{display:none}.ef-video-thumb{height:170px;background-size:cover;background-position:center;position:relative}.ef-video-thumb:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.45))}.ef-play-btn{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);width:58px;height:58px;border-radius:50%;background:#fff;color:#05070c;display:grid;place-items:center;font-size:20px;font-weight:900}.ef-premium-badge{position:absolute;z-index:3;left:12px;top:12px;padding:8px 12px;font-size:11px}.ef-video-body{padding:16px}.ef-video-body h3{margin:0 0 10px;font-size:17px;line-height:1.15}.ef-video-meta{display:flex;gap:8px;margin-bottom:10px}.ef-video-meta span{font-size:12px;color:rgba(255,255,255,.75);padding:6px 9px;background:rgba(255,255,255,.08);border-radius:999px}.ef-video-body p{margin:0;color:var(--ef-muted);font-size:13px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.ef-empty-state{padding:28px;border:1px dashed rgba(255,255,255,.2);border-radius:18px;color:var(--ef-muted);text-align:center}
.ef-pricing-section{padding-top:22px}.ef-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.ef-plan-card{background:var(--ef-card);border:1px solid var(--ef-border);border-radius:24px;padding:26px;display:flex;flex-direction:column;gap:12px;min-height:0}.ef-plan-card.is-featured{background:radial-gradient(circle at top,rgba(239,13,25,.24),rgba(18,26,39,1) 54%);border-color:rgba(239,13,25,.8)}.ef-plan-card h2{font-size:30px;margin:0;letter-spacing:-.05em}.ef-plan-subtitle,.ef-plan-test{color:var(--ef-muted);margin:0}.ef-plan-price{font-size:36px;font-weight:950;letter-spacing:-.06em;margin:14px 0 0}.ef-plan-price span{font-size:15px;color:var(--ef-muted);letter-spacing:0}.ef-plan-card ul{list-style:none;padding:0;margin:10px 0 12px;display:grid;gap:12px}.ef-plan-card li{color:rgba(255,255,255,.86)}.ef-plan-card li::first-letter{color:var(--ef-success)}
.ef-auth-section{min-height:calc(100vh - var(--ef-header-h));display:flex;align-items:center;padding:48px 0}.ef-centered-card-wrap{display:flex;justify-content:center}.ef-auth-card,.ef-intent-card,.ef-info-card{background:var(--ef-card);border:1px solid var(--ef-border);border-radius:24px;padding:28px;box-shadow:var(--ef-shadow);width:min(100%,520px)}.ef-auth-card h1,.ef-intent-card h1{font-size:36px;line-height:1;margin:14px 0 10px;letter-spacing:-.06em}.ef-auth-card p,.ef-intent-card p{color:var(--ef-muted);margin:0 0 24px}.ef-auth-card label{display:block;margin:14px 0 8px;font-weight:800}.ef-auth-card input{width:100%;height:52px;border-radius:14px;border:1px solid rgba(255,255,255,.16);background:#eef4ff;color:#070910;padding:0 16px;font-weight:800}.ef-auth-card button{margin-top:18px}.ef-auth-links{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:18px}.ef-auth-links a,.ef-link-muted{color:#fff;text-decoration:none}.ef-alert{background:#9b4109;color:#fff;border-radius:12px;padding:12px 14px;margin-bottom:12px}.ef-intent-summary{border:1px solid rgba(255,255,255,.12);border-radius:18px;overflow:hidden;margin:18px 0}.ef-intent-summary div{display:flex;justify-content:space-between;gap:16px;padding:14px 0;margin:0 18px;border-bottom:1px solid rgba(255,255,255,.1)}.ef-intent-summary div:last-child{border-bottom:0}.ef-intent-summary span{color:var(--ef-muted)}.ef-actions-stack{display:grid;gap:10px}.ef-account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.ef-info-card{width:auto}.ef-info-card h2{margin-top:0}.ef-footer{border-top:1px solid var(--ef-border);background:#05070c;padding:32px 0}.ef-footer-inner{display:flex;justify-content:space-between;gap:24px;align-items:center}.ef-brand-footer .ef-brand-mark{width:38px;height:38px}.ef-footer p,.ef-footer-copy{color:var(--ef-muted)}.ef-footer-links{display:flex;gap:18px;flex-wrap:wrap}.ef-footer-copy{text-align:center;margin-top:24px;font-size:13px}
@media (max-width:1100px){.ef-video-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ef-nav{gap:6px}.ef-nav a{padding:10px 12px}.ef-header-actions .ef-btn{padding:12px 15px}}
@media (max-width:860px){:root{--ef-header-h:76px}.ef-container{width:min(100% - 28px, 1440px)}.ef-mobile-menu-btn{display:flex}.ef-header-inner{gap:12px}.ef-nav,.ef-header-actions{display:none}.ef-header.is-open .ef-nav,.ef-header.is-open .ef-header-actions{display:flex;position:absolute;left:14px;right:14px;background:#080b12;border:1px solid var(--ef-border);box-shadow:var(--ef-shadow)}.ef-header.is-open .ef-nav{top:82px;flex-direction:column;align-items:stretch;padding:12px;border-radius:18px}.ef-header.is-open .ef-header-actions{top:310px;flex-direction:column;padding:12px;border-radius:18px}.ef-header.is-open .ef-nav a,.ef-header.is-open .ef-header-actions a{width:100%;justify-content:center}.ef-page-hero{padding:42px 0 20px}.ef-page-hero h1{font-size:42px}.ef-home-hero{min-height:calc(100vh - var(--ef-header-h));}.ef-home-hero-content{padding:44px 0}.ef-home-hero h1{font-size:54px}.ef-video-grid,.ef-plan-grid,.ef-account-grid{grid-template-columns:1fr}.ef-category-heading{align-items:flex-start;flex-direction:column}.ef-plan-card{padding:22px}.ef-plan-price{font-size:32px}.ef-btn,.ef-btn-lg{width:100%;padding-left:16px;padding-right:16px}.ef-actions-row{display:grid;gap:10px}.ef-intent-summary div{align-items:flex-start;flex-direction:column;gap:4px}.ef-footer-inner{flex-direction:column;align-items:flex-start}.ef-catalog-section{padding-top:32px}.ef-video-thumb{height:190px}}
@media (max-width:520px){.ef-brand-text{font-size:18px}.ef-brand-mark{width:42px;height:42px}.ef-mobile-menu-btn{width:62px;height:62px}.ef-page-hero h1{font-size:38px}.ef-home-hero h1{font-size:46px}.ef-auth-card,.ef-intent-card,.ef-info-card{padding:22px}.ef-catalog-search.is-open .ef-search-input,.ef-search-input:focus{width:calc(100vw - 96px)}.ef-category-heading h2{font-size:25px}.ef-actions-stack{gap:8px}.ef-actions-stack .ef-btn + .ef-btn,.ef-actions-row .ef-btn + .ef-btn{margin-top:4px}}

/* ============================================================
   EriFaye TV V8.3 - Design polish
   - Police moins grasse
   - Badges à la largeur du contenu
   - Icône Search centrée dans son cercle
   ============================================================ */
body{
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.ef-brand,
.ef-brand-mark,
.ef-brand-text,
.ef-nav a,
.ef-btn,
.ef-pill,
.ef-section-badge,
.ef-plan-badge,
.ef-premium-badge,
.ef-video-body h3,
.ef-auth-card label,
.ef-auth-card input{
  font-weight: 700 !important;
}
.ef-home-hero h1,
.ef-page-hero h1,
.ef-auth-card h1,
.ef-intent-card h1{
  font-weight: 800 !important;
  letter-spacing: -0.045em !important;
}
.ef-category-heading h2,
.ef-plan-card h2{
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
}
.ef-plan-price{
  font-weight: 800 !important;
  letter-spacing: -0.035em !important;
}
.ef-page-hero p,
.ef-home-hero p,
.ef-video-body p,
.ef-plan-subtitle,
.ef-plan-test,
.ef-footer p,
.ef-footer-copy{
  font-weight: 400 !important;
}
.ef-plan-badge,
.ef-premium-badge,
.ef-section-badge,
.ef-pill{
  width: auto !important;
  max-width: max-content !important;
  align-self: flex-start !important;
  white-space: nowrap !important;
}
.ef-search-icon{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  line-height: 0 !important;
  flex: 0 0 42px !important;
  text-align: center !important;
}
.ef-search-icon svg{
  display: block;
  width: 18px;
  height: 18px;
  pointer-events: none;
}
.ef-search-icon:focus-visible{
  outline: 2px solid rgba(255,255,255,.72);
  outline-offset: 3px;
}
@media (max-width:520px){
  .ef-search-icon{
    flex-basis: 40px !important;
    width: 40px !important;
    height: 40px !important;
  }
  .ef-search-icon svg{
    width: 17px;
    height: 17px;
  }
}

/* ============================================================

/* ============================================================
   EriFaye TV V8.5 - Police Manrope
   Objectif : retrouver le rendu moderne, propre et moins gras.
   ============================================================ */
html, body{
  font-family:"Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight:400 !important;
  letter-spacing:0 !important;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}
body,p,li,span,small,div,input,textarea,select{
  font-family:"Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight:400;
}
a,button,.ef-btn,.ef-nav a,.ef-brand,.ef-brand-text,.ef-video-body h3,.ef-auth-card label,.ef-auth-card input,.ef-pill,.ef-section-badge,.ef-plan-badge,.ef-premium-badge{
  font-family:"Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight:500 !important;
}
.ef-brand-mark{font-weight:700 !important;}
.ef-home-hero h1,.ef-page-hero h1,.ef-auth-card h1,.ef-intent-card h1{
  font-family:"Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight:600 !important;
  letter-spacing:-0.026em !important;
}
.ef-category-heading h2,.ef-plan-card h2,.ef-info-card h2{
  font-family:"Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight:600 !important;
  letter-spacing:-0.018em !important;
}
.ef-plan-price{
  font-family:"Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight:600 !important;
  letter-spacing:-0.02em !important;
}
.ef-home-hero p,.ef-page-hero p,.ef-video-body p,.ef-plan-subtitle,.ef-plan-test,.ef-footer p,.ef-footer-copy,.ef-intent-summary span{font-weight:400 !important;}
.ef-pill,.ef-section-badge,.ef-plan-badge,.ef-premium-badge{font-size:11px;font-weight:600 !important;}
.ef-btn,.ef-nav a{font-size:14px;font-weight:500 !important;}
.ef-video-body h3{letter-spacing:-0.01em;}
.ef-auth-card input{font-weight:500 !important;}


/* ============================================================
   EriFaye TV V8.6 - Home carousel propre
   ============================================================ */
.ef-home-carousel{position:relative;min-height:calc(100vh - var(--ef-header-h));overflow:hidden;background:#05070c;border-bottom:1px solid var(--ef-border)}
.ef-home-carousel-track{position:absolute;inset:0}.ef-home-slide{position:absolute;inset:0;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .45s ease,visibility .45s ease}.ef-home-slide.is-active{opacity:1;visibility:visible;pointer-events:auto}.ef-home-slide-bg{position:absolute;inset:0;background-size:cover;background-position:center;transform:scale(1.025);transition:transform 5.8s ease}.ef-home-slide.is-active .ef-home-slide-bg{transform:scale(1)}.ef-home-slide-overlay{position:absolute;inset:0;background:radial-gradient(circle at 72% 45%,rgba(239,13,25,.16),transparent 34%),linear-gradient(90deg,rgba(5,7,12,.98) 0%,rgba(5,7,12,.82) 43%,rgba(5,7,12,.42) 72%,rgba(5,7,12,.78) 100%),linear-gradient(180deg,rgba(5,7,12,.12) 0%,rgba(5,7,12,.92) 100%)}
.ef-home-slide-inner{position:relative;z-index:2;min-height:calc(100vh - var(--ef-header-h));display:flex;align-items:center;padding:62px 0 88px}.ef-home-slide-content{max-width:720px}.ef-home-slide h1{font-size:clamp(50px,7.5vw,98px);line-height:.94;letter-spacing:-.07em;margin:22px 0 16px;font-weight:650}.ef-home-slide p{font-size:20px;line-height:1.6;max-width:670px;color:var(--ef-muted);margin:0}.ef-carousel-arrow{position:absolute;z-index:5;top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;border:1px solid rgba(255,255,255,.18);background:rgba(5,7,12,.55);color:#fff;display:grid;place-items:center;cursor:pointer;transition:background .18s ease,border-color .18s ease;backdrop-filter:blur(10px)}.ef-carousel-arrow:hover{background:rgba(239,13,25,.92);border-color:rgba(239,13,25,.92)}.ef-carousel-arrow svg{width:24px;height:24px;fill:currentColor;display:block}.ef-carousel-prev{left:24px}.ef-carousel-next{right:24px}.ef-carousel-dots{position:absolute;z-index:6;left:50%;bottom:30px;transform:translateX(-50%);display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:999px;background:rgba(5,7,12,.42);border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(10px)}.ef-carousel-dots button{width:10px;height:10px;border-radius:999px;border:0;padding:0;background:rgba(255,255,255,.36);cursor:pointer;transition:width .18s ease,background .18s ease}.ef-carousel-dots button.is-active{width:28px;background:var(--ef-red)}
@media (max-width:860px){.ef-home-carousel,.ef-home-slide-inner{min-height:calc(100vh - var(--ef-header-h))}.ef-home-slide-inner{padding:44px 0 82px;align-items:flex-end}.ef-home-slide h1{font-size:48px;letter-spacing:-.055em}.ef-home-slide p{font-size:16px;line-height:1.55}.ef-carousel-arrow{display:none}.ef-carousel-dots{bottom:20px}}
@media (max-width:520px){.ef-home-slide h1{font-size:42px}.ef-home-slide-inner{padding-bottom:74px}.ef-home-slide-overlay{background:linear-gradient(180deg,rgba(5,7,12,.25) 0%,rgba(5,7,12,.88) 48%,rgba(5,7,12,.96) 100%),linear-gradient(90deg,rgba(5,7,12,.85),rgba(5,7,12,.55))}}

/* ============================================================
   EriFaye TV V8.7 - Carousel mobile swipe
   - Swipe gauche/droite sur mobile à la place des flèches
   ============================================================ */
.ef-home-carousel{
  touch-action: pan-y;
  overscroll-behavior: contain;
  -webkit-user-select: none;
  user-select: none;
}
.ef-home-carousel.is-dragging{
  cursor: grabbing;
}
.ef-home-carousel .ef-home-slide-content,
.ef-home-carousel .ef-carousel-dots,
.ef-home-carousel .ef-carousel-arrow{
  -webkit-user-select: none;
  user-select: none;
}
@media (max-width:860px){
  .ef-home-carousel{
    cursor: grab;
  }
  .ef-home-slide-inner{
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
}

/* ============================================================
   EriFaye TV V8.8 - Catalogue polish propre
   ============================================================ */
body,
button,
input,
select,
textarea{
  font-family:"Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight:400;
}
.ef-brand,
.ef-nav a,
.ef-btn,
.ef-pill,
.ef-section-badge,
.ef-plan-badge,
.ef-premium-badge{
  font-weight:600;
}
.ef-page-hero h1,
.ef-home-slide h1,
.ef-plan-card h2,
.ef-category-heading h2,
.ef-auth-card h1,
.ef-intent-card h1{
  font-weight:650;
}
.ef-catalog-section{
  padding-top:18px;
}
.ef-catalog-toolbar{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:12px;
  margin-bottom:26px;
}
.ef-catalog-search{
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  min-height:44px;
}
.ef-search-icon{
  flex:0 0 auto;
  width:44px;
  height:44px;
  padding:0;
  display:grid;
  place-items:center;
}
.ef-search-icon svg{
  width:19px;
  height:19px;
  display:block;
}
.ef-search-input{
  max-width:100%;
}
.ef-filter-chips{
  display:flex;
  align-items:center;
  gap:8px;
  width:100%;
  overflow-x:auto;
  padding:2px 0 4px;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.ef-filter-chips::-webkit-scrollbar{display:none}
.ef-filter-chips button{
  flex:0 0 auto;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.055);
  color:rgba(255,255,255,.84);
  border-radius:999px;
  padding:9px 13px;
  font-size:12px;
  line-height:1;
  cursor:pointer;
  transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease;
}
.ef-filter-chips button:hover,
.ef-filter-chips button.is-active{
  background:rgba(239,13,25,.18);
  border-color:rgba(239,13,25,.72);
  color:#fff;
  transform:translateY(-1px);
}
.ef-category-heading{
  align-items:flex-end;
  margin:0 0 20px;
}
.ef-category-heading p{
  margin:6px 0 0;
  color:var(--ef-muted);
  font-size:13px;
  max-width:620px;
}
.ef-video-card{
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.ef-video-card:hover{
  transform:translateY(-4px);
  border-color:rgba(239,13,25,.42);
  box-shadow:0 22px 70px rgba(0,0,0,.45),0 0 0 1px rgba(239,13,25,.18);
}
.ef-card-category{
  position:absolute;
  z-index:3;
  left:12px;
  top:12px;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(5,7,12,.70);
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
  font-size:11px;
  font-weight:600;
  backdrop-filter:blur(8px);
}
.ef-premium-badge{
  left:auto;
  right:12px;
  top:12px;
  width:auto;
}
.ef-play-btn svg{
  width:30px;
  height:30px;
}
.ef-card-actions{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:14px;
}
.ef-card-actions a{
  flex:1 1 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  border-radius:999px;
  padding:8px 12px;
  font-size:12px;
  font-weight:600;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.11);
  color:#fff;
}
.ef-card-actions a:last-child{
  background:rgba(239,13,25,.88);
  border-color:rgba(239,13,25,.88);
}
.ef-card-actions a:hover{
  filter:brightness(1.08);
}
.ef-plan-badge{
  width:auto;
  align-self:flex-start;
}
@media (max-width:860px){
  .ef-catalog-section{padding-top:14px}
  .ef-catalog-toolbar{gap:10px;margin-bottom:22px}
  .ef-category-heading{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:6px;
  }
  .ef-category-heading h2{font-size:25px}
  .ef-filter-chips{margin-left:-2px;padding-bottom:6px}
  .ef-card-actions{display:grid;grid-template-columns:1fr;gap:8px}
}
@media (max-width:520px){
  .ef-catalog-search.is-open .ef-search-input,
  .ef-search-input:focus{
    width:calc(100vw - 92px);
  }
  .ef-filter-chips button{padding:9px 12px;font-size:11px}
}

/* ============================================================
   EriFaye TV V8.9 - Catalogue : carrousel par row/catégorie
   ============================================================ */
.ef-catalogue-result-bar{
  display:flex;
  justify-content:flex-end;
  margin:-8px 0 18px;
  color:var(--ef-muted);
  font-size:13px;
}
.ef-catalogue-rows{
  display:grid;
  gap:34px;
}
.ef-catalogue-row{
  min-width:0;
}
.ef-catalogue-row.is-hidden{
  display:none;
}
.ef-catalogue-row .ef-category-heading{
  margin-bottom:16px;
}
.ef-row-controls{
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
}
.ef-row-controls button{
  width:42px;
  height:42px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.055);
  color:#fff;
  display:grid;
  place-items:center;
  cursor:pointer;
  transition:background .16s ease,border-color .16s ease,transform .16s ease,opacity .16s ease;
}
.ef-row-controls button:hover{
  background:rgba(239,13,25,.18);
  border-color:rgba(239,13,25,.58);
  transform:translateY(-1px);
}
.ef-row-controls svg{
  width:20px;
  height:20px;
}
.ef-catalogue-carousel{
  position:relative;
  min-width:0;
}
.ef-catalogue-track{
  display:flex;
  gap:18px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
  padding:2px 2px 18px;
}
.ef-catalogue-track::-webkit-scrollbar{display:none}
.ef-catalogue-track .ef-video-card{
  flex:0 0 calc((100% - 54px) / 4);
  scroll-snap-align:start;
}
.ef-catalogue-track .ef-video-card.is-hidden{
  display:none;
}
@media (max-width:1100px){
  .ef-catalogue-track .ef-video-card{flex-basis:calc((100% - 36px) / 3)}
}
@media (max-width:860px){
  .ef-catalogue-result-bar{justify-content:flex-start;margin:-4px 0 16px}
  .ef-catalogue-rows{gap:30px}
  .ef-row-controls{display:none}
  .ef-catalogue-track{
    gap:14px;
    margin-left:-2px;
    padding-bottom:16px;
  }
  .ef-catalogue-track .ef-video-card{flex-basis:min(78vw,360px)}
}
@media (max-width:520px){
  .ef-catalogue-track .ef-video-card{flex-basis:84vw}
  .ef-catalogue-rows{gap:26px}
}


/* ============================================================
   EriFaye TV V8.10 - Catalogue row carousel style
   - flèches type overlay comme l'autre branche
   - cards plus étroites pour tester le scroll avec 10 contenus/row
   ============================================================ */
.ef-catalogue-row .ef-category-heading{
  align-items:flex-end;
  margin-bottom:14px;
}
.ef-catalogue-carousel{
  position:relative;
  min-width:0;
  --ef-row-arrow-size:44px;
}
.ef-catalogue-track{
  gap:14px;
  padding:2px 46px 18px 2px;
  scroll-padding-left:2px;
}
.ef-catalogue-track .ef-video-card{
  flex:0 0 clamp(198px, 15.2vw, 228px);
  max-width:228px;
}
.ef-catalogue-track .ef-video-thumb{height:132px}
.ef-catalogue-track .ef-video-body{padding:13px}
.ef-catalogue-track .ef-video-body h3{font-size:15px;line-height:1.18;margin-bottom:8px}
.ef-catalogue-track .ef-video-body p{font-size:12px;-webkit-line-clamp:2}
.ef-catalogue-track .ef-video-meta{margin-bottom:8px}
.ef-catalogue-track .ef-video-meta span{font-size:11px;padding:5px 8px}
.ef-catalogue-track .ef-play-btn{width:48px;height:48px}
.ef-catalogue-track .ef-play-btn svg{width:24px;height:24px}
.ef-catalogue-track .ef-card-actions{gap:6px;margin-top:12px}
.ef-catalogue-track .ef-card-actions a{min-height:32px;padding:7px 10px;font-size:11px}
.ef-row-controls{display:none!important}
.ef-row-arrow{
  position:absolute;
  z-index:6;
  top:50%;
  transform:translateY(-50%);
  width:var(--ef-row-arrow-size);
  height:var(--ef-row-arrow-size);
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(7,9,14,.72);
  color:#fff;
  display:grid;
  place-items:center;
  cursor:pointer;
  box-shadow:0 14px 34px rgba(0,0,0,.38);
  backdrop-filter:blur(10px);
  transition:background .16s ease,border-color .16s ease,opacity .16s ease,transform .16s ease;
}
.ef-row-arrow svg{width:22px;height:22px;display:block}
.ef-row-arrow:hover{background:rgba(239,13,25,.94);border-color:rgba(239,13,25,.94);transform:translateY(-50%) scale(1.04)}
.ef-row-arrow-prev{left:8px}
.ef-row-arrow-next{right:8px}
.ef-catalogue-carousel::before,
.ef-catalogue-carousel::after{content:"";position:absolute;z-index:5;top:0;bottom:16px;width:68px;pointer-events:none}
.ef-catalogue-carousel::before{left:0;background:linear-gradient(90deg,var(--ef-bg) 0%,rgba(6,8,13,0) 100%)}
.ef-catalogue-carousel::after{right:0;background:linear-gradient(270deg,var(--ef-bg) 0%,rgba(6,8,13,0) 100%)}
@media (max-width:1280px){.ef-catalogue-track .ef-video-card{flex-basis:210px;max-width:210px}}
@media (max-width:860px){
  .ef-catalogue-row .ef-category-heading{margin-bottom:12px}
  .ef-row-arrow,.ef-catalogue-carousel::before,.ef-catalogue-carousel::after{display:none}
  .ef-catalogue-track{gap:12px;padding:2px 2px 16px}
  .ef-catalogue-track .ef-video-card{flex-basis:62vw;max-width:270px}
  .ef-catalogue-track .ef-video-thumb{height:130px}
}
@media (max-width:520px){
  .ef-catalogue-track .ef-video-card{flex-basis:68vw;max-width:250px}
  .ef-catalogue-track .ef-video-thumb{height:124px}
}

/* ============================================================
   EriFaye TV V8.11 - Auth / intl-tel-input / reset code
   ============================================================ */
.ef-auth-section-compact{
  min-height:auto !important;
  align-items:flex-start !important;
  padding:24px 0 56px !important;
}
.ef-auth-section-compact .ef-centered-card-wrap{align-items:flex-start;}
.ef-auth-card-login,.ef-auth-card-reset,.ef-auth-section-compact .ef-auth-card{margin-top:0 !important;}
.ef-auth-card .ef-section-badge{margin-bottom:8px;}
.ef-auth-card h1,.ef-intent-card h1{font-weight:600 !important;letter-spacing:-.045em !important;}
.ef-auth-card p,.ef-intent-card p{margin-bottom:18px !important;}
.ef-auth-card label{font-weight:600 !important;color:rgba(255,255,255,.92);}
.ef-phone-field{width:100%;margin-bottom:2px;}
.ef-phone-field .iti{width:100%;display:block;}
.ef-phone-field .iti input,.ef-auth-card .ef-phone-input{width:100% !important;}
.ef-auth-card input,.ef-auth-card .iti input{font-family:"Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;font-weight:500 !important;}
.ef-auth-card .iti__selected-country{border-radius:14px 0 0 14px;}
.ef-auth-card .iti__selected-country-primary{padding-left:12px;padding-right:10px;}
.ef-auth-card .iti__dropdown-content{background:#101724;color:#fff;border-color:rgba(255,255,255,.18);box-shadow:0 20px 60px rgba(0,0,0,.45);}
.ef-auth-card .iti__country:hover,.ef-auth-card .iti__country.iti__highlight{background:rgba(239,13,25,.22);}
.ef-auth-card .iti__dial-code,.ef-auth-card .iti__country-name{color:rgba(255,255,255,.88);}
.ef-btn-with-icon svg{width:18px;height:18px;flex:0 0 18px;}
.ef-btn-with-icon span{min-width:0;}
.ef-alert-success{background:#176b35 !important;color:#fff !important;}
.ef-auth-links{gap:9px !important;}
.ef-auth-links a:hover,.ef-link-muted:hover{color:#fff;text-decoration:underline;text-underline-offset:4px;}
.ef-actions-stack .ef-btn + .ef-btn{margin-top:8px;}
@media (max-width:640px){
  .ef-auth-section-compact{padding:18px 0 42px !important;}
  .ef-auth-card,.ef-intent-card{padding:22px !important;border-radius:20px !important;}
  .ef-auth-card h1,.ef-intent-card h1{font-size:30px !important;}
  .ef-auth-card input,.ef-auth-card .iti input{height:50px !important;}
  .ef-auth-links{margin-top:16px !important;}
}

/* ============================================================
   EriFaye TV V8.21 logout icon fix
   Corrige le placeholder {logout_icon} et stabilise le bouton du modal.
   ============================================================ */
.ef-btn-icon,
.ef-btn-icon-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    line-height: 0;
}

.ef-btn-icon svg,
.ef-btn-icon-logout svg {
    display: block;
}

.ef-logout-modal .ef-btn,
.ef-logout-modal button,
.ef-logout-modal a,
.ef-logout-confirm-btn,
.ef-modal-actions .ef-btn,
.ef-modal-actions button,
.ef-modal-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.ef-logout-modal .ef-btn-danger,
.ef-logout-confirm-btn {
    min-width: 180px;
}

@media (max-width: 575.98px) {
    .ef-logout-modal .ef-btn,
    .ef-logout-modal button,
    .ef-logout-modal a,
    .ef-modal-actions .ef-btn,
    .ef-modal-actions button,
    .ef-modal-actions a {
        width: 100%;
        max-width: 100%;
    }

    .ef-logout-modal .ef-btn-danger,
    .ef-logout-confirm-btn {
        min-width: 0;
    }
}

/* ============================================================
   EriFaye TV V8.22 logout icons unify
   Même icône pour Déconnexion top menu, bouton modal et header modal.
   ============================================================ */
.ef-btn-icon-logout,
.ef-logout-modal__icon {
    color: #ffffff;
}

.ef-btn-with-icon .ef-btn-icon-logout {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.ef-btn-with-icon .ef-btn-icon-logout svg {
    display: block;
    width: 18px;
    height: 18px;
}

.ef-logout-modal__icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ef0f1a, #ff2633);
    box-shadow: 0 14px 34px rgba(239, 15, 26, 0.28);
    margin-bottom: 18px;
}

.ef-logout-modal__icon svg {
    display: block;
    width: 24px;
    height: 24px;
}

/* ============================================================
   EriFaye TV V8.23 logout href repair
   Stabilise l'icône unique et le bouton de confirmation.
   ============================================================ */
.ef-btn-with-icon .ef-btn-icon,
.ef-btn-with-icon .ef-btn-icon-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    line-height: 0;
}

.ef-btn-with-icon .ef-btn-icon svg,
.ef-btn-with-icon .ef-btn-icon-logout svg {
    display: block;
    width: 18px;
    height: 18px;
}

.ef-logout-modal__icon {
    color: #ffffff;
}

.ef-logout-modal__icon svg {
    display: block;
    width: 24px;
    height: 24px;
}

.ef-logout-modal__actions .ef-btn {
    white-space: nowrap;
}

/* ============================================================
   EriFaye TV V8.24 catalogue badge cleanup
   Le badge "Catalogue" a été supprimé du HTML source.
   On stabilise simplement le layout restant : search + filtres + rows.
   ============================================================ */
.ef-catalog-section[data-ef-version="EF V8.24 catalogue badge cleanup"] .ef-catalog-toolbar--no-badge {
    gap: 12px;
    margin-bottom: 18px;
}

.ef-catalog-section[data-ef-version="EF V8.24 catalogue badge cleanup"] .ef-catalog-search {
    margin-top: 0;
}

.ef-catalog-section[data-ef-version="EF V8.24 catalogue badge cleanup"] .ef-filter-chips {
    margin-top: 2px;
}

@media (max-width: 640px) {
    .ef-catalog-section[data-ef-version="EF V8.24 catalogue badge cleanup"] .ef-catalog-toolbar--no-badge {
        gap: 10px;
        margin-bottom: 16px;
    }
}

/* clean-catalogue-rebuild-v1 */
.ef-clean-catalogue .ef-catalogue-search input{
  width: min(360px, 100%);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: 11px 16px;
  background: rgba(255,255,255,.06);
  color: #fff;
  outline: none;
}
.ef-clean-catalogue .ef-catalogue-search input::placeholder{color: rgba(255,255,255,.62)}
.ef-clean-catalogue-count{color: rgba(255,255,255,.72); margin: 16px 0 8px; font-size: .95rem;}
.ef-clean-catalogue-card.is-hidden,
.ef-clean-catalogue-row.is-hidden{display:none!important;}
.ef-card-play-btn.is-disabled,
.ef-card-actions .is-disabled{
  opacity:.48;
  cursor:not-allowed!important;
  filter: grayscale(.25);
}
.ef-card-actions .is-disabled{
  border:1px solid rgba(255,255,255,.18);
  color:rgba(255,255,255,.66);
  background:rgba(255,255,255,.05);
}
.ef-clean-player-message{
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  color: #fff;
}
.ef-clean-player-message.is-error{
  background: rgba(239,68,68,.16);
  border: 1px solid rgba(239,68,68,.35);
  color: #fff;
}

/* clean-catalogue-ux-v1 */
.ef-clean-catalogue-hero{padding-bottom:18px}
.ef-clean-catalogue-hero p,.ef-clean-catalogue .ef-section-heading p,.ef-clean-catalogue .ef-eyebrow{display:none!important}
.ef-clean-catalogue-toolbar{display:flex;justify-content:flex-end;align-items:center;margin:-4px 0 14px}
.ef-clean-search-box{position:relative;width:min(360px,100%)}
.ef-clean-search-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:rgba(255,255,255,.7);pointer-events:none;display:grid;place-items:center}
.ef-clean-search-icon svg{width:18px;height:18px}
.ef-clean-catalogue .ef-clean-search-box input{width:100%;height:44px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.07);color:#fff;padding:0 16px 0 42px;outline:none;box-shadow:inset 0 0 0 1px rgba(255,255,255,.02);transition:border-color .18s ease,background .18s ease,box-shadow .18s ease}
.ef-clean-catalogue .ef-clean-search-box input:focus{border-color:rgba(239,13,25,.58);background:rgba(255,255,255,.1);box-shadow:0 0 0 4px rgba(239,13,25,.12)}
.ef-clean-catalogue .ef-clean-search-box input::placeholder{color:rgba(255,255,255,.62)}
.ef-clean-filter-chips{margin-top:0;margin-bottom:12px}
.ef-clean-catalogue-count{color:rgba(255,255,255,.72);margin:12px 0 8px;font-size:.95rem}
.ef-clean-catalogue-card.is-hidden,.ef-clean-catalogue-row.is-hidden{display:none!important}
.ef-clean-catalogue-row .ef-row-heading p{display:none!important}
.ef-card-play-btn.is-disabled,.ef-card-actions .is-disabled,.ef-clean-detail-actions .is-disabled{opacity:.48;cursor:not-allowed!important;filter:grayscale(.25)}
.ef-card-actions .is-disabled,.ef-clean-detail-actions .is-disabled{border:1px solid rgba(255,255,255,.18)!important;color:rgba(255,255,255,.68)!important;background:rgba(255,255,255,.05)!important}
.ef-clean-player-dialog,.ef-clean-detail-dialog{max-width:min(1040px,calc(100vw - 28px));background:linear-gradient(180deg,#111827 0%,#080d16 100%);border:1px solid rgba(255,255,255,.12);box-shadow:0 24px 80px rgba(0,0,0,.55)}
.ef-clean-player-stage{position:relative;border-radius:18px;overflow:hidden;background:#02050a;border:1px solid rgba(255,255,255,.08)}
.ef-clean-player-stage video{display:block;width:100%;max-height:72vh;background:#02050a}
.ef-clean-player-stage video.is-loading{opacity:.45}
.ef-clean-player-loading{position:absolute;z-index:5;inset:0;display:flex;align-items:center;justify-content:center;gap:12px;color:#fff;background:rgba(2,5,10,.58);font-weight:800}
.ef-clean-spinner{width:30px;height:30px;border-radius:999px;border:3px solid rgba(255,255,255,.25);border-top-color:#fff;animation:efCleanSpin .8s linear infinite}
@keyframes efCleanSpin{to{transform:rotate(360deg)}}
.ef-clean-player-message{margin:0 0 12px;padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.08);color:#fff}
.ef-clean-player-message.is-error{background:rgba(239,68,68,.16);border:1px solid rgba(239,68,68,.35);color:#fff}
.ef-clean-detail-grid{display:grid;grid-template-columns:minmax(220px,320px) 1fr;gap:22px;align-items:stretch}
.ef-clean-detail-poster{min-height:420px;border-radius:18px;background-size:cover;background-position:center;border:1px solid rgba(255,255,255,.1);box-shadow:inset 0 -80px 80px rgba(0,0,0,.28)}
.ef-clean-detail-info{display:flex;flex-direction:column;gap:14px;justify-content:center;color:#fff}
.ef-clean-detail-info h2{margin:0;font-size:clamp(28px,3vw,46px);letter-spacing:-.055em;line-height:1.02}
.ef-clean-detail-info p{margin:0;color:rgba(255,255,255,.76);line-height:1.65;font-size:15px}
.ef-clean-detail-actions{margin-top:8px;display:flex;gap:10px;flex-wrap:wrap}
@media (max-width:760px){.ef-clean-catalogue-toolbar{justify-content:flex-start}.ef-clean-search-box{width:100%}.ef-clean-detail-grid{grid-template-columns:1fr}.ef-clean-detail-poster{min-height:260px}.ef-clean-player-dialog,.ef-clean-detail-dialog{max-width:calc(100vw - 18px)}}

/* === EriFaye TV - Clean Catalogue modal UX v2 === */
.ef-video-modal.ef-clean-player-modal,
.ef-video-modal.ef-clean-detail-modal{
  position:fixed;
  inset:0;
  z-index:99999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:clamp(14px,3vw,34px);
}
.ef-video-modal.ef-clean-player-modal.is-open,
.ef-video-modal.ef-clean-detail-modal.is-open{
  display:flex!important;
}
.ef-video-modal.ef-clean-player-modal[aria-hidden="true"],
.ef-video-modal.ef-clean-detail-modal[aria-hidden="true"]{
  display:none;
}
.ef-clean-player-modal .ef-video-modal-backdrop,
.ef-clean-detail-modal .ef-video-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.78);
  backdrop-filter:blur(8px);
}
.ef-clean-player-modal .ef-video-modal-dialog,
.ef-clean-detail-modal .ef-video-modal-dialog{
  position:relative;
  z-index:2;
  width:min(1120px,calc(100vw - 28px));
  max-height:calc(100vh - 38px);
  overflow:auto;
  background:linear-gradient(145deg,rgba(14,20,32,.98),rgba(7,10,18,.98));
  border:1px solid rgba(255,255,255,.14);
  border-radius:26px;
  box-shadow:0 26px 90px rgba(0,0,0,.68);
  color:#fff;
}
.ef-clean-player-modal .ef-video-modal-header,
.ef-clean-detail-modal .ef-video-modal-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:18px 22px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.ef-clean-player-modal .ef-video-modal-title,
.ef-clean-detail-modal .ef-video-modal-title,
.ef-clean-detail-modal h2{
  margin:0;
  color:#fff;
  font-size:clamp(21px,2.2vw,34px);
  line-height:1.08;
  letter-spacing:-.04em;
}
.ef-clean-player-modal .ef-video-modal-close,
.ef-clean-detail-modal .ef-video-modal-close{
  flex:0 0 auto;
  width:42px;
  height:42px;
  border-radius:999px;
  border:0;
  background:#ef0d19;
  color:#fff;
  display:grid;
  place-items:center;
  font-size:28px;
  font-weight:900;
  line-height:1;
  cursor:pointer;
  box-shadow:0 12px 28px rgba(239,13,25,.35);
}
.ef-clean-player-modal .ef-video-modal-close:hover,
.ef-clean-detail-modal .ef-video-modal-close:hover{
  transform:translateY(-1px);
  filter:brightness(1.05);
}
.ef-clean-player-stage{
  position:relative;
  padding:18px;
  background:#05070c;
}
.ef-clean-player-stage video{
  width:100%;
  max-height:72vh;
  display:block;
  border-radius:18px;
  background:#000;
  outline:none;
}
.ef-clean-player-loading{
  position:absolute;
  inset:18px;
  z-index:3;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  color:#fff;
  font-weight:800;
  background:rgba(0,0,0,.46);
  border-radius:18px;
}
.ef-clean-player-loading[hidden],
.ef-clean-player-message[hidden]{
  display:none!important;
}
.ef-clean-spinner{
  width:28px;
  height:28px;
  border-radius:999px;
  border:3px solid rgba(255,255,255,.35);
  border-top-color:#fff;
  animation:efCleanSpin .75s linear infinite;
}
@keyframes efCleanSpin{to{transform:rotate(360deg)}}
.ef-clean-player-message{
  margin:0 18px 18px;
  padding:13px 15px;
  border-radius:14px;
  background:rgba(255,255,255,.08);
  color:#fff;
}
.ef-clean-player-message.is-error{
  background:rgba(239,13,25,.18);
  border:1px solid rgba(239,13,25,.42);
  color:#fff;
}
.ef-clean-detail-dialog{
  width:min(1080px,calc(100vw - 28px));
}
.ef-clean-detail-grid{
  display:grid;
  grid-template-columns:minmax(240px,36%) minmax(0,1fr);
  gap:0;
}
.ef-clean-detail-poster{
  min-height:420px;
  background-size:cover;
  background-position:center;
  position:relative;
}
.ef-clean-detail-poster:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(0,0,0,0),rgba(7,10,18,.32));
}
.ef-clean-detail-info{
  padding:34px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:16px;
}
.ef-clean-detail-info .ef-pill{
  align-self:flex-start;
  background:#ef0d19;
  color:#fff;
  border:0;
}
.ef-detail-meta{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
}
.ef-detail-meta span{
  color:#fff;
  background:rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  padding:7px 12px;
  font-size:13px;
}
.ef-clean-detail-info p{
  color:rgba(255,255,255,.76);
  font-size:15px;
  line-height:1.6;
  margin:0;
}
.ef-clean-detail-actions{
  margin-top:8px;
}
.ef-clean-detail-actions .ef-btn.is-disabled,
.ef-clean-catalogue .is-disabled{
  opacity:.52;
  cursor:not-allowed!important;
  filter:grayscale(.2);
}
.ef-clean-search-box{
  width:min(430px,100%);
  min-height:46px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 16px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}
.ef-clean-search-icon{
  width:22px;
  height:22px;
  color:#fff;
  opacity:.9;
  display:grid;
  place-items:center;
}
.ef-clean-search-icon svg{
  width:20px;
  height:20px;
}
.ef-clean-search-box input{
  flex:1;
  min-width:0;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  color:#fff!important;
  height:46px;
  padding:0!important;
  font-weight:700;
}
.ef-clean-search-box input::placeholder{
  color:rgba(255,255,255,.58);
}
@media (max-width:760px){
  .ef-clean-detail-grid{grid-template-columns:1fr}
  .ef-clean-detail-poster{min-height:260px}
  .ef-clean-detail-info{padding:24px}
  .ef-clean-player-stage{padding:12px}
  .ef-clean-player-loading{inset:12px}
}
/* === /EriFaye TV - Clean Catalogue modal UX v2 === */

/* EF CLEAN CATALOGUE POLISH V3 - modal video stable, search split, detail padding, carousel left fix */
.ef-clean-catalogue-controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:0 0 18px;
}
.ef-clean-catalogue-controls .ef-clean-search-box{
  flex:0 1 430px;
}
.ef-clean-catalogue-controls .ef-clean-filter-chips{
  flex:1 1 auto;
  justify-content:flex-end;
  margin:0;
}
.ef-clean-search-box{
  display:flex!important;
  align-items:stretch!important;
  height:46px;
  max-width:430px;
  width:100%;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  overflow:hidden;
  background:rgba(255,255,255,.055);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}
.ef-clean-search-box .ef-clean-search-icon{
  flex:0 0 54px;
  width:54px;
  min-width:54px;
  display:grid;
  place-items:center;
  color:rgba(255,255,255,.72);
  border-right:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.035);
}
.ef-clean-search-box .ef-clean-search-icon svg{width:19px;height:19px;display:block;}
.ef-clean-search-box input[type="search"]{
  flex:1 1 auto!important;
  width:auto!important;
  min-width:0;
  height:100%;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  color:#fff!important;
  padding:0 18px!important;
  opacity:1!important;
  pointer-events:auto!important;
  font-weight:700;
}
.ef-clean-search-box input[type="search"]::placeholder{color:rgba(255,255,255,.62);font-weight:700;}
.ef-clean-catalogue .ef-catalogue-carousel{padding-left:12px;margin-left:-12px;}
.ef-clean-catalogue .ef-catalogue-track{padding-left:12px;scroll-padding-left:12px;}
.ef-clean-catalogue .ef-row-arrow-prev{left:6px;}
.ef-clean-detail-dialog .ef-clean-detail-grid{padding:22px;gap:26px;align-items:stretch;}
.ef-clean-detail-dialog .ef-clean-detail-poster{border-radius:18px;overflow:hidden;min-height:280px;background-size:cover;background-position:center;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);}
.ef-clean-detail-dialog .ef-clean-detail-info{padding:12px 4px 8px;}
.ef-clean-player-dialog .ef-clean-player-stage{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  min-height:320px;
  border-radius:18px;
  overflow:hidden;
  background-color:#000;
  background-size:contain;
  background-position:center;
  background-repeat:no-repeat;
}
.ef-clean-player-dialog .ef-clean-player-stage::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:rgba(0,0,0,.18);
  opacity:0;
  transition:opacity .15s ease;
  z-index:1;
}
.ef-clean-player-dialog .ef-clean-player-stage.is-preparing::before{opacity:1;}
.ef-clean-player-dialog [data-ef-clean-player]{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
  background:#000;
  z-index:2;
  opacity:1;
  transition:opacity .18s ease;
}
.ef-clean-player-dialog [data-ef-clean-player].is-loading{opacity:.08;}
.ef-clean-player-loading{
  position:absolute;
  inset:0;
  z-index:4;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  color:#fff;
  font-weight:800;
  background:linear-gradient(180deg,rgba(0,0,0,.20),rgba(0,0,0,.38));
  text-shadow:0 2px 12px rgba(0,0,0,.85);
}
.ef-clean-player-loading[hidden]{display:none!important;}
@media (max-width:900px){
  .ef-clean-catalogue-controls{align-items:stretch;flex-direction:column;gap:12px;}
  .ef-clean-catalogue-controls .ef-clean-search-box{flex:0 0 auto;max-width:100%;}
  .ef-clean-catalogue-controls .ef-clean-filter-chips{justify-content:flex-start;}
  .ef-clean-detail-dialog .ef-clean-detail-grid{grid-template-columns:1fr;padding:16px;}
  .ef-clean-detail-dialog .ef-clean-detail-poster{min-height:220px;}
  .ef-clean-player-dialog .ef-clean-player-stage{min-height:220px;}
}

/* EF CLEAN CATALOGUE POLISH V3B - stable player poster, split search, carousel left fix */
.ef-clean-catalogue .ef-clean-catalogue-controls{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  margin-bottom:18px!important;
}
.ef-clean-catalogue .ef-clean-catalogue-controls .ef-clean-search-box{
  position:relative!important;
  display:flex!important;
  align-items:stretch!important;
  flex:0 0 min(420px,38vw)!important;
  max-width:420px!important;
  height:48px!important;
  padding:0!important;
  margin:0!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.24)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.055)!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.025)!important;
}
.ef-clean-catalogue .ef-clean-search-box .ef-clean-search-icon{
  position:static!important;
  left:auto!important;
  top:auto!important;
  transform:none!important;
  width:54px!important;
  min-width:54px!important;
  height:48px!important;
  display:grid!important;
  place-items:center!important;
  flex:0 0 54px!important;
  color:#fff!important;
  background:rgba(255,255,255,.06)!important;
  border-right:1px solid rgba(255,255,255,.18)!important;
  pointer-events:none!important;
  opacity:.95!important;
}
.ef-clean-catalogue .ef-clean-search-box .ef-clean-search-icon svg{
  width:19px!important;
  height:19px!important;
  display:block!important;
}
.ef-clean-catalogue .ef-clean-search-box input,
.ef-clean-catalogue .ef-clean-search-box input[type="search"]{
  flex:1 1 auto!important;
  min-width:0!important;
  width:auto!important;
  height:48px!important;
  margin:0!important;
  padding:0 18px!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  background:transparent!important;
  color:#fff!important;
  font-weight:700!important;
  line-height:48px!important;
  box-shadow:none!important;
}
.ef-clean-catalogue .ef-clean-search-box input::placeholder{
  color:rgba(255,255,255,.64)!important;
  font-weight:700!important;
}
.ef-clean-catalogue .ef-clean-search-box:focus-within{
  border-color:rgba(239,13,25,.64)!important;
  background:rgba(255,255,255,.085)!important;
  box-shadow:0 0 0 4px rgba(239,13,25,.13)!important;
}
.ef-clean-catalogue .ef-clean-catalogue-controls .ef-clean-filter-chips{
  flex:1 1 auto!important;
  justify-content:flex-end!important;
  margin:0!important;
  min-width:0!important;
}
.ef-clean-catalogue .ef-catalogue-carousel{
  padding-left:10px!important;
  margin-left:-10px!important;
}
.ef-clean-catalogue .ef-catalogue-carousel::before{
  display:none!important;
}
.ef-clean-catalogue .ef-catalogue-track{
  padding-left:10px!important;
  scroll-padding-left:10px!important;
}
.ef-clean-player-dialog .ef-clean-player-stage,
.ef-clean-player-stage[data-ef-clean-player-stage]{
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  aspect-ratio:16/9!important;
  width:100%!important;
  min-height:260px!important;
  max-height:72vh!important;
  overflow:hidden!important;
  border-radius:18px!important;
  background-color:#02050a!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
  background-size:contain!important;
  border:1px solid rgba(255,255,255,.08)!important;
}
.ef-clean-player-dialog .ef-clean-player-stage video,
.ef-clean-player-stage[data-ef-clean-player-stage] video{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-height:72vh!important;
  object-fit:contain!important;
  background:#02050a!important;
  border-radius:16px!important;
  transition:opacity .18s ease!important;
}
.ef-clean-player-stage.is-preparing video{
  opacity:0!important;
}
.ef-clean-player-stage .ef-clean-player-loading{
  position:absolute!important;
  inset:0!important;
  z-index:5!important;
  display:flex;
  align-items:center!important;
  justify-content:center!important;
  gap:12px!important;
  color:#fff!important;
  font-weight:800!important;
  background:linear-gradient(180deg,rgba(0,0,0,.22),rgba(0,0,0,.38))!important;
  text-shadow:0 2px 14px rgba(0,0,0,.55)!important;
}
.ef-clean-player-stage .ef-clean-player-loading[hidden]{display:none!important;}
.ef-clean-detail-dialog .ef-clean-detail-grid{
  padding:26px!important;
  gap:28px!important;
}
.ef-clean-detail-dialog .ef-clean-detail-poster{
  border-radius:18px!important;
  overflow:hidden!important;
  min-height:360px!important;
  border:1px solid rgba(255,255,255,.10)!important;
}
@media (max-width:980px){
  .ef-clean-catalogue .ef-clean-catalogue-controls{
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
  }
  .ef-clean-catalogue .ef-clean-catalogue-controls .ef-clean-search-box{
    flex:0 0 auto!important;
    width:100%!important;
    max-width:100%!important;
  }
  .ef-clean-catalogue .ef-clean-catalogue-controls .ef-clean-filter-chips{
    justify-content:flex-start!important;
  }
}
@media (max-width:760px){
  .ef-clean-player-dialog .ef-clean-player-stage,
  .ef-clean-player-stage[data-ef-clean-player-stage]{min-height:220px!important;}
  .ef-clean-detail-dialog .ef-clean-detail-grid{grid-template-columns:1fr!important;padding:16px!important;}
  .ef-clean-detail-dialog .ef-clean-detail-poster{min-height:260px!important;}
}

/* EF CLEAN CATALOGUE POLISH V3C HOTFIX - JS-safe UX finalizer */
.ef-clean-catalogue-controls{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  margin-bottom:18px!important;
}
.ef-clean-catalogue-controls .ef-clean-search-box,
.ef-clean-catalogue .ef-clean-search-box{
  position:relative!important;
  display:flex!important;
  align-items:stretch!important;
  width:min(380px,100%)!important;
  max-width:380px!important;
  height:46px!important;
  border:1px solid rgba(255,255,255,.16)!important;
  border-radius:999px!important;
  overflow:hidden!important;
  background:rgba(255,255,255,.07)!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.025)!important;
}
.ef-clean-catalogue-controls .ef-clean-search-box .ef-clean-search-icon,
.ef-clean-catalogue .ef-clean-search-box .ef-clean-search-icon{
  position:static!important;
  transform:none!important;
  inset:auto!important;
  flex:0 0 52px!important;
  width:52px!important;
  height:44px!important;
  display:grid!important;
  place-items:center!important;
  color:#fff!important;
  background:rgba(255,255,255,.08)!important;
  border-right:1px solid rgba(255,255,255,.12)!important;
  pointer-events:none!important;
  opacity:1!important;
}
.ef-clean-catalogue-controls .ef-clean-search-box input[type="search"],
.ef-clean-catalogue .ef-clean-search-box input[type="search"],
.ef-clean-catalogue .ef-catalogue-search input,
.ef-clean-catalogue .ef-clean-search-box input{
  flex:1 1 auto!important;
  min-width:0!important;
  width:auto!important;
  height:44px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#fff!important;
  padding:0 18px!important;
  outline:none!important;
  box-shadow:none!important;
  font-weight:700!important;
}
.ef-clean-catalogue-controls .ef-clean-filter-chips{
  flex:1 1 auto!important;
  justify-content:flex-end!important;
  margin:0!important;
  min-width:0!important;
}
.ef-clean-catalogue .ef-catalogue-carousel{
  padding-left:8px!important;
  margin-left:-8px!important;
}
.ef-clean-catalogue .ef-catalogue-track{
  padding-left:10px!important;
  scroll-padding-left:10px!important;
}
.ef-clean-detail-dialog .ef-clean-detail-grid{
  padding:24px!important;
  gap:26px!important;
}
.ef-clean-detail-dialog .ef-clean-detail-poster{
  border-radius:20px!important;
  overflow:hidden!important;
  min-height:360px!important;
}
.ef-clean-player-dialog .ef-clean-player-stage{
  position:relative!important;
  width:100%!important;
  aspect-ratio:16/9!important;
  min-height:340px!important;
  border-radius:18px!important;
  overflow:hidden!important;
  background-color:#02050a!important;
  background-size:cover!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
}
.ef-clean-player-dialog .ef-clean-player-stage video{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-height:none!important;
  object-fit:contain!important;
  background:transparent!important;
  z-index:2!important;
}
.ef-clean-player-dialog .ef-clean-player-stage.is-preparing video{
  opacity:0!important;
}
.ef-clean-player-dialog .ef-clean-player-loading{
  position:absolute!important;
  inset:0!important;
  z-index:4!important;
  display:flex;
  align-items:center!important;
  justify-content:center!important;
  flex-direction:column!important;
  gap:12px!important;
  background:linear-gradient(180deg,rgba(2,5,10,.18),rgba(2,5,10,.72))!important;
  color:#fff!important;
  font-weight:900!important;
  text-align:center!important;
}
.ef-clean-player-dialog .ef-clean-player-loading[hidden]{display:none!important;}
@media (max-width:900px){
  .ef-clean-catalogue-controls{align-items:stretch!important;flex-direction:column!important;gap:12px!important;}
  .ef-clean-catalogue-controls .ef-clean-search-box,.ef-clean-catalogue .ef-clean-search-box{width:100%!important;max-width:100%!important;}
  .ef-clean-catalogue-controls .ef-clean-filter-chips{justify-content:flex-start!important;}
  .ef-clean-player-dialog .ef-clean-player-stage{min-height:220px!important;}
  .ef-clean-detail-dialog .ef-clean-detail-grid{grid-template-columns:1fr!important;padding:16px!important;}
  .ef-clean-detail-dialog .ef-clean-detail-poster{min-height:260px!important;}
}

/* EF CLEAN CATALOGUE PREVIEW V1 - previews publiques dans le modal détails */
.ef-clean-detail-media{
  display:flex;
  flex-direction:column;
  gap:14px;
  min-width:0;
}
.ef-clean-detail-preview-wrap{
  border:1px solid rgba(255,255,255,.1);
  border-radius:18px;
  background:#02050a;
  overflow:hidden;
  box-shadow:0 18px 45px rgba(0,0,0,.24);
}
.ef-clean-detail-preview-title{
  padding:10px 14px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.02em;
  color:#fff;
  background:rgba(239,13,25,.92);
}
.ef-clean-detail-preview-video{
  display:block;
  width:100%;
  aspect-ratio:16/9;
  background:#02050a;
  object-fit:contain;
}
.ef-clean-detail-access-note{
  margin:14px 0 0;
  padding:12px 14px;
  border-radius:14px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  font-weight:800;
  line-height:1.35;
}
.ef-clean-detail-access-note.is-locked{
  background:rgba(239,13,25,.13);
  border-color:rgba(239,13,25,.34);
  color:#fff;
}
.ef-clean-detail-actions .ef-btn.is-disabled,
.ef-clean-detail-actions .ef-btn[aria-disabled="true"]{
  opacity:.72;
  cursor:not-allowed;
  background:rgba(255,255,255,.08)!important;
  border-color:rgba(255,255,255,.14)!important;
  color:#fff!important;
}

/* EF CLEAN CATALOGUE PREVIEW V1C - previews publiques et message accès complet */
.ef-clean-detail-media{display:flex;flex-direction:column;gap:14px;min-width:0;}
.ef-clean-detail-preview{background:#02050a;border:1px solid rgba(255,255,255,.10);border-radius:18px;overflow:hidden;padding:10px;box-shadow:0 18px 45px rgba(0,0,0,.32);}
.ef-clean-detail-preview-title{font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#fff;margin:0 0 8px;}
.ef-clean-detail-preview video{display:block;width:100%;aspect-ratio:16/9;border-radius:12px;background:#02050a;object-fit:cover;}
.ef-clean-detail-access-note{margin-top:14px;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.10);color:#fff;font-weight:800;line-height:1.35;}
.ef-clean-detail-access-note.is-locked{background:rgba(239,13,25,.12);border-color:rgba(239,13,25,.34);color:#fff;}
.ef-clean-detail-actions .ef-btn.is-disabled{opacity:.55;cursor:not-allowed;filter:grayscale(.25);}
@media (max-width:760px){.ef-clean-detail-preview{padding:8px}.ef-clean-detail-access-note{font-size:13px}}

/* EF CLEAN CATALOGUE PREVIEW UI V1H - detail preview only, hover preview, close placement */
.ef-clean-detail-modal .ef-video-modal-dialog,
.ef-clean-detail-dialog{
  position:relative !important;
  overflow:visible !important;
}

.ef-clean-detail-modal .ef-video-modal-close{
  position:absolute !important;
  top:18px !important;
  right:18px !important;
  left:auto !important;
  width:44px !important;
  height:44px !important;
  border-radius:999px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#ef0d19 !important;
  color:#fff !important;
  border:0 !important;
  box-shadow:0 12px 32px rgba(239,13,25,.35) !important;
  z-index:20 !important;
  font-size:24px !important;
  font-weight:900 !important;
  line-height:1 !important;
  cursor:pointer !important;
}

.ef-clean-detail-modal .ef-video-modal-header{
  padding-right:78px !important;
}

.ef-clean-detail-dialog .ef-clean-detail-grid{
  grid-template-columns:minmax(320px,420px) 1fr !important;
  align-items:center !important;
}

.ef-clean-detail-media{
  display:flex !important;
  flex-direction:column !important;
  gap:0 !important;
  min-width:0 !important;
}

.ef-clean-detail-poster{
  display:none !important;
}

.ef-clean-detail-preview,
.ef-clean-detail-preview[data-ef-clean-detail-preview-wrap]{
  display:block;
  width:100%;
  background:#02050a;
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  overflow:hidden;
  padding:12px;
  box-shadow:0 18px 45px rgba(0,0,0,.34);
}

.ef-clean-detail-preview[hidden],
.ef-clean-detail-preview[data-ef-clean-detail-preview-wrap][hidden]{
  display:none !important;
}

.ef-clean-detail-preview-title{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  min-height:36px;
  margin:-12px -12px 10px;
  padding:0 14px;
  background:#ef0d19;
  color:#fff;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.ef-clean-detail-preview video{
  display:block;
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  border-radius:12px;
  background:#02050a;
}

.ef-clean-detail-access-note{
  font-weight:900 !important;
}

.ef-card-preview-video{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  opacity:0 !important;
  z-index:1 !important;
  transition:opacity .22s ease, transform .22s ease !important;
  background:#02050a !important;
  pointer-events:none !important;
}

.ef-clean-catalogue-card.is-previewing .ef-card-preview-video,
.ef-video-card.is-previewing .ef-card-preview-video{
  opacity:1 !important;
  transform:scale(1.02) !important;
}

.ef-clean-catalogue-card .ef-card-category,
.ef-clean-catalogue-card .ef-premium-badge,
.ef-clean-catalogue-card .ef-card-play-btn,
.ef-video-card .ef-card-category,
.ef-video-card .ef-premium-badge,
.ef-video-card .ef-card-play-btn{
  position:relative;
  z-index:4;
}

.ef-clean-catalogue-card .ef-video-thumb,
.ef-video-card .ef-video-thumb{
  position:relative;
  overflow:hidden;
}

@media (max-width:760px){
  .ef-clean-detail-dialog .ef-clean-detail-grid{
    grid-template-columns:1fr !important;
    padding:14px !important;
  }
  .ef-clean-detail-modal .ef-video-modal-close{
    top:12px !important;
    right:12px !important;
    width:40px !important;
    height:40px !important;
  }
}

/* EF CATALOGUE PLAYER CLOSE V1I - bouton fermer modal lecture aligné */
.ef-clean-player-modal .ef-video-modal-dialog,
.ef-clean-player-modal .ef-clean-player-dialog{
  position:relative!important;
  overflow:visible!important;
}
.ef-clean-player-modal .ef-video-modal-header{
  position:relative!important;
  padding-right:86px!important;
  min-height:76px!important;
}
.ef-clean-player-modal .ef-video-modal-close{
  position:absolute!important;
  top:18px!important;
  right:22px!important;
  left:auto!important;
  transform:none!important;
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  min-height:46px!important;
  border-radius:999px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  border:0!important;
  background:#ef0d19!important;
  color:#fff!important;
  font-size:26px!important;
  font-weight:900!important;
  line-height:1!important;
  box-shadow:0 14px 34px rgba(239,13,25,.34)!important;
  z-index:30!important;
  cursor:pointer!important;
}
.ef-clean-player-modal .ef-video-modal-close:hover,
.ef-clean-player-modal .ef-video-modal-close:focus{
  background:#ff1724!important;
  color:#fff!important;
  outline:none!important;
  box-shadow:0 0 0 4px rgba(239,13,25,.22), 0 14px 34px rgba(239,13,25,.38)!important;
}
.ef-clean-player-modal .ef-clean-player-stage{
  margin-top:0!important;
}
@media (max-width:760px){
  .ef-clean-player-modal .ef-video-modal-header{
    padding:20px 76px 18px 22px!important;
    min-height:68px!important;
  }
  .ef-clean-player-modal .ef-video-modal-title{
    font-size:clamp(20px,6vw,30px)!important;
    line-height:1.08!important;
  }
  .ef-clean-player-modal .ef-video-modal-close{
    top:14px!important;
    right:16px!important;
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    min-height:42px!important;
    font-size:24px!important;
  }
}

/* EF_CATALOGUE_CARD_MODAL_FIX_V1K - restore card badges/play absolute positioning and robust player close clicks */
.ef-clean-catalogue-card .ef-video-thumb{
  position:relative !important;
  overflow:hidden !important;
  isolation:isolate !important;
}

.ef-clean-catalogue-card .ef-video-thumb::after{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  z-index:2 !important;
  pointer-events:none !important;
  background:linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.48)) !important;
}

.ef-clean-catalogue-card .ef-card-preview-video{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  opacity:0 !important;
  z-index:1 !important;
  transform:scale(1) !important;
  transition:opacity .22s ease, transform .22s ease !important;
  pointer-events:none !important;
  background:#02050a !important;
}

.ef-clean-catalogue-card.is-previewing .ef-card-preview-video{
  opacity:1 !important;
  transform:scale(1.025) !important;
}

.ef-clean-catalogue-card .ef-card-category{
  position:absolute !important;
  top:12px !important;
  left:12px !important;
  right:auto !important;
  bottom:auto !important;
  z-index:5 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  max-width:calc(100% - 24px) !important;
}

.ef-clean-catalogue-card .ef-premium-badge{
  position:absolute !important;
  top:12px !important;
  right:12px !important;
  left:auto !important;
  bottom:auto !important;
  z-index:6 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:32px !important;
  padding:8px 12px !important;
  border-radius:999px !important;
  color:#fff !important;
  background:#ef0d19 !important;
}

.ef-clean-catalogue-card .ef-card-play-btn{
  position:absolute !important;
  left:50% !important;
  top:50% !important;
  right:auto !important;
  bottom:auto !important;
  transform:translate(-50%,-50%) !important;
  z-index:7 !important;
  width:58px !important;
  height:58px !important;
  border-radius:999px !important;
  display:grid !important;
  place-items:center !important;
  padding:0 !important;
}

.ef-clean-catalogue-card .ef-card-play-btn svg{
  width:24px !important;
  height:24px !important;
  display:block !important;
}

.ef-clean-catalogue-card .ef-card-play-btn.is-disabled{
  opacity:.62 !important;
  cursor:not-allowed !important;
}

.ef-clean-player-modal .ef-video-modal-backdrop[data-ef-clean-player-close],
.ef-clean-player-modal .ef-video-modal-close[data-ef-clean-player-close]{
  pointer-events:auto !important;
  cursor:pointer !important;
}

.ef-clean-player-modal .ef-video-modal-close[data-ef-clean-player-close]{
  z-index:80 !important;
}

/* EF_CATALOGUE_AUDIO_BADGE_V1L - premium badge bottom-right + safe card overlays */
.ef-clean-catalogue-card .ef-video-thumb,
.ef-video-card.ef-clean-catalogue-card .ef-video-thumb{
  position:relative!important;
  overflow:hidden!important;
}
.ef-clean-catalogue-card .ef-card-category{
  position:absolute!important;
  top:10px!important;
  left:10px!important;
  right:auto!important;
  bottom:auto!important;
  z-index:8!important;
}
.ef-clean-catalogue-card .ef-premium-badge{
  position:absolute!important;
  top:auto!important;
  left:auto!important;
  right:10px!important;
  bottom:10px!important;
  z-index:8!important;
  padding:8px 12px!important;
  min-height:0!important;
  line-height:1!important;
  box-shadow:0 10px 24px rgba(239,13,25,.35)!important;
}
.ef-clean-catalogue-card .ef-card-play-btn{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  right:auto!important;
  bottom:auto!important;
  transform:translate(-50%,-50%)!important;
  z-index:7!important;
}
.ef-clean-catalogue-card .ef-card-preview-video{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  pointer-events:none!important;
}
@media (max-width:760px){
  .ef-clean-catalogue-card .ef-premium-badge{right:8px!important;bottom:8px!important;padding:7px 10px!important;font-size:10px!important;}
  .ef-clean-catalogue-card .ef-card-category{top:8px!important;left:8px!important;}
}


/* EF_CATALOGUE_AUDIO_BADGE_V1M - Premium badge bottom-right, avoid overlap with category/play */
.ef-clean-catalogue-card .ef-premium-badge{
  position:absolute!important;
  left:auto!important;
  top:auto!important;
  right:12px!important;
  bottom:12px!important;
  z-index:5!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:7px 11px!important;
  border-radius:999px!important;
  background:#ef0d19!important;
  color:#fff!important;
  font-size:10px!important;
  font-weight:900!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
  box-shadow:0 10px 24px rgba(0,0,0,.35)!important;
  pointer-events:none!important;
}
.ef-clean-catalogue-card .ef-card-category{
  left:12px!important;
  top:12px!important;
  right:auto!important;
  bottom:auto!important;
  max-width:calc(100% - 24px)!important;
}
.ef-clean-catalogue-card .ef-card-play-btn{
  left:50%!important;
  top:50%!important;
  right:auto!important;
  bottom:auto!important;
  transform:translate(-50%,-50%)!important;
  z-index:6!important;
}
.ef-clean-catalogue-card.is-previewing .ef-premium-badge,
.ef-clean-catalogue-card.is-previewing .ef-card-category,
.ef-clean-catalogue-card.is-previewing .ef-card-play-btn{
  z-index:7!important;
}

/* EF_MOBILE_DESIGN_FIX_V1_START
   Modal détails mobile : contenu scrollable dans le cadre, boutons Regarder/Fermer inclus.
*/
@media (max-width: 760px) {
  .ef-video-modal.ef-clean-detail-modal {
    align-items: flex-start !important;
    justify-content: center !important;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom)) !important;
    overflow: hidden !important;
  }
  .ef-clean-detail-modal .ef-video-modal-dialog,
  .ef-clean-detail-dialog {
    width: 100% !important;
    max-width: calc(100vw - 20px) !important;
    max-height: calc(100dvh - 20px - env(safe-area-inset-bottom)) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    border-radius: 22px !important;
    box-sizing: border-box !important;
  }
  @supports not (height: 100dvh) {
    .ef-clean-detail-modal .ef-video-modal-dialog,
    .ef-clean-detail-dialog {
      max-height: calc(100vh - 20px - env(safe-area-inset-bottom)) !important;
    }
  }
  .ef-clean-detail-modal .ef-video-modal-header {
    position: relative !important;
    min-height: 66px !important;
    padding: 16px 62px 14px 16px !important;
  }
  .ef-clean-detail-modal .ef-video-modal-close {
    top: 13px !important;
    right: 13px !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    z-index: 30 !important;
  }
  .ef-clean-detail-dialog .ef-clean-detail-grid {
    grid-template-columns: 1fr !important;
    padding: 14px 14px calc(22px + env(safe-area-inset-bottom)) !important;
  }
  .ef-clean-detail-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 14px !important;
    padding-bottom: 2px !important;
  }
  .ef-clean-detail-actions .ef-btn {
    width: 100% !important;
    min-height: 52px !important;
  }
}
/* EF_MOBILE_DESIGN_FIX_V1_END */


/* EF_PATCH_ANCHOR: lot3b-video-access-revoked-v1-2-ux */
.ef-clean-player-stage.is-access-revoked{
  min-height:260px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:clamp(18px,3vw,34px)!important;
  background:
    radial-gradient(circle at top, rgba(239,13,25,.18), transparent 42%),
    #02050a!important;
}

.ef-clean-player-stage.is-access-revoked video,
.ef-clean-player-stage.is-access-revoked [data-ef-clean-player]{
  display:none!important;
}

.ef-clean-player-stage.is-access-revoked .ef-clean-player-loading{
  display:none!important;
}

.ef-clean-player-stage.is-access-revoked .ef-clean-player-message{
  display:block!important;
  position:relative!important;
  z-index:8!important;
  width:min(640px,100%)!important;
  margin:0!important;
  padding:18px 20px!important;
  border-radius:18px!important;
  background:rgba(127,29,29,.34)!important;
  border:1px solid rgba(248,113,113,.52)!important;
  color:#fff!important;
  text-align:center!important;
  box-shadow:0 18px 44px rgba(0,0,0,.35)!important;
}

.ef-clean-player-stage.is-access-revoked .ef-clean-player-message-text{
  color:#fff!important;
  font-weight:800!important;
  line-height:1.45!important;
  margin-bottom:14px!important;
}

.ef-clean-player-stage.is-access-revoked .ef-clean-player-access-action{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:42px!important;
  padding:10px 16px!important;
  border-radius:999px!important;
  background:#ef0d19!important;
  border:1px solid rgba(255,255,255,.16)!important;
  color:#fff!important;
  font-weight:900!important;
  text-decoration:none!important;
}

.ef-clean-player-stage.is-access-revoked .ef-clean-player-access-action:hover,
.ef-clean-player-stage.is-access-revoked .ef-clean-player-access-action:focus{
  background:#ff2632!important;
  color:#fff!important;
  outline:none!important;
}

/* EF_PATCH_ANCHOR: public_catalogue_filters_thumb_hls_fix_v1 */
.ef-clean-catalogue .ef-clean-catalogue-controls{
  display:grid!important;
  grid-template-columns:minmax(260px, 430px) minmax(0, 1fr)!important;
  align-items:start!important;
  gap:14px!important;
  overflow:visible!important;
}
.ef-clean-catalogue .ef-clean-catalogue-controls .ef-clean-search-box{
  width:100%!important;
  max-width:430px!important;
  min-width:0!important;
  flex:none!important;
}
.ef-clean-catalogue .ef-clean-catalogue-controls .ef-clean-filter-chips{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:flex-start!important;
  align-items:center!important;
  gap:8px!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  overflow:visible!important;
}
.ef-clean-more-filters{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  z-index:20!important;
}
.ef-clean-more-filter-toggle{
  color:#fff!important;
}
.ef-clean-more-filter-menu{
  position:absolute!important;
  top:calc(100% + 8px)!important;
  right:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:6px!important;
  min-width:210px!important;
  max-width:min(280px, calc(100vw - 28px))!important;
  padding:10px!important;
  border-radius:16px!important;
  border:1px solid rgba(255,255,255,.16)!important;
  background:#111722!important;
  box-shadow:0 18px 48px rgba(0,0,0,.45)!important;
}
.ef-clean-more-filter-menu[hidden]{
  display:none!important;
}
.ef-clean-more-filter-menu button{
  width:100%!important;
  justify-content:flex-start!important;
  text-align:left!important;
  white-space:normal!important;
  color:#fff!important;
}
.ef-clean-catalogue .ef-video-thumb{
  background-position:center!important;
  background-repeat:no-repeat!important;
  background-size:cover!important;
}
@media (max-width:980px){
  .ef-clean-catalogue .ef-clean-catalogue-controls{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  .ef-clean-catalogue .ef-clean-catalogue-controls .ef-clean-search-box{
    max-width:100%!important;
  }
  .ef-clean-catalogue .ef-clean-catalogue-controls .ef-clean-filter-chips{
    flex-wrap:nowrap!important;
    overflow-x:auto!important;
    overflow-y:visible!important;
    padding-bottom:6px!important;
    scrollbar-width:thin;
  }
  .ef-clean-more-filter-menu{
    left:0!important;
    right:auto!important;
  }
}

