/* L'ESPACE CLIENT EN « NUIT CHAUDE », ET L'ACCUEIL COMPACT (30/11/2026, nuit)
   François, devant l'espace de Maine Recuper : « je suis pas fan noir blanc jaune », « la B c'est bien », puis « fais cette ambiance
   partout sur leur espace », « trop de gros texte, grand, grande image », « on voit mal les vidéos, et la vignette ça doit pas être
   la dernière », « même les fichiers ça fait pas Apple premium », « base-toi réellement sur les designs du Insta ».
   1 · L'ambiance (noir réchauffé, crème, UN accent sable) vaut pour tout l'espace d'un client : la couleur de marque du client ne
       teinte plus les grandes surfaces (elle reste dans son logo et dans ses images).
   2 · L'accueil prend la structure d'un tableau de bord de créateur vidéo (cartes sombres à filet fin, vignettes 16:9 partout, pastille
       pleine pour l'action, étapes en pastilles reliées) à des tailles de logiciel : titre 21 px, sections 15 px, texte 13 px.
   3 · La bibliothèque et les fichiers : barre fine, tableau dense façon liste de vidéos, grille de vignettes, dossiers aux tons de l'ambiance.
   Tout est préfixé par body.ecx-on : rien ne touche le Studio. Chargée en dernier. */
html:has(body.ecx-on){--accent:#e9e9ee!important;--accent-soft:#e9e9ee22!important}
body.ecx-on{background:#101011!important;--accent:#e9e9ee!important;--accent-soft:#e9e9ee22!important;--teinte:hsl(240 4% 92%)!important;
  --text:#ededf2;--ecx-mute:rgba(237,237,242,.62);--ecx-faint:rgba(237,237,242,.4);--ecx-line:rgba(238,238,243,.1);--ecx-card:#171718;
  --nc-card:#171718;--nc-card2:#1f1f20;--nc-line:rgba(238,238,243,.1);--nc-line2:rgba(238,238,243,.16);--nc-sable:#e9e9ee;--nc-creme:#ededf2;--nc-clair:#e0e0e5;--nc-encre:#131314}
body.ecx-on *{--teinte:hsl(240 4% 92%)}
/* la lueur colorée du haut : retirée (la page n'en crée plus sur l'accueil ; ailleurs elle reste éteinte) */
body.ecx-on #ecxLueur{display:none!important}

/* ── l'affiche d'un projet (page du projet) : une carte, pas une affiche de cinéma ── */
body.ecx-on .ecx-affiche,body.ecx-on .ecx-affiche.a-image{min-height:0;aspect-ratio:auto;max-height:none;padding:20px 22px;gap:22px;border-radius:16px;clip-path:inset(0 round 16px);border-color:var(--nc-line)}
body.ecx-on .ecx-affiche.a-image{min-height:150px;background:#171718!important}
body.ecx-on .ecx-affiche h2{font-size:21px;line-height:1.15;letter-spacing:-.02em;font-weight:600}
body.ecx-on .ecx-affiche .ecx-statut{font-size:13px}
body.ecx-on .ecx-affiche.a-image .ecx-aff-img{left:auto!important;right:0!important;top:0!important;bottom:0!important;width:36%!important;height:auto!important;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 42%);mask-image:linear-gradient(90deg,transparent 0,#000 42%);opacity:.9}
body.ecx-on .ecx-affiche.a-image::before{background:linear-gradient(90deg,#171718 0%,#171718 60%,rgba(23,23,24,.2) 100%)}
body.ecx-on .ecx-point.encours{background:var(--nc-sable);box-shadow:0 0 0 3px rgba(210,209,204,.18)}
body.ecx-on .ecx-point.livre{background:rgba(237,237,242,.55)}

/* ════════════ L'ACCUEIL COMPACT ════════════ */
body.ecx-on .ecx-acc2{padding-top:20px;padding-bottom:64px;max-width:1240px}
body.ecx-on .ecx-acc2 .ecx-bonjour{align-items:center;margin-bottom:14px;gap:20px}
body.ecx-on .ecx-acc2 .ecx-bonjour h1{font-size:21px;font-weight:600;letter-spacing:-.02em;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ecx-on .ecx-acc2 .ecx-bonjour>div:first-child{min-width:0}
body.ecx-on .ecx-acc2 .ecx-bonjour p{font-size:13px;margin-top:3px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
body.ecx-on .ecx-acc2 .ecx-resume-go{font-size:12.5px}
body.ecx-on .ecx-acc2 .ecx-search{width:300px;flex:none}
body.ecx-on .ecx-acc2 .ecx-search label{min-height:0;height:38px;border-radius:12px;background:var(--nc-card);border-color:var(--nc-line)}
body.ecx-on .ecx-acc2 .ecx-search input{height:36px;font-size:13px}
body.ecx-on .ecx-acc2 .cx-banners:empty,body.ecx-on .ecx-acc2 .cx-banners>div:empty{display:none}
body.ecx-on .ecx-acc2 .cx-banners{margin-bottom:12px}
body.ecx-on .ecx-acc2 .cx-banners>*{margin-top:0!important}

/* la grille : une colonne principale, une colonne « à vous » de 340 px */
body.ecx-on .ecx-acc-g{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:14px;align-items:start}
body.ecx-on .ecx-acc-m,body.ecx-on .ecx-acc-c{display:flex;flex-direction:column;gap:14px;min-width:0}
body.ecx-on .ecx-acc-m>[hidden],body.ecx-on .ecx-acc-c>[hidden]{display:none!important}

/* la carte, sa tête, ses liens */
body.ecx-on .ecx-cd{background:var(--nc-card);border:1px solid var(--nc-line);border-radius:16px;padding:14px 16px;min-width:0;box-shadow:inset 0 1px 0 rgba(238,238,243,.04)}
body.ecx-on .ecx-ch{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px;min-height:24px}
body.ecx-on .ecx-ch h2{font-size:15px;font-weight:600;letter-spacing:-.01em;margin:0;line-height:1.25;color:var(--nc-creme)}
body.ecx-on .ecx-ch p,body.ecx-on .ecx-ch>small{font-size:12px;color:var(--ecx-mute);margin:2px 0 0}
body.ecx-on .ecx-ch-a{display:flex;align-items:center;gap:6px;flex:none}
body.ecx-on .ecx-lien{display:inline-flex;align-items:center;gap:4px;height:30px;padding:0 10px;border-radius:999px;border:1px solid var(--nc-line);background:transparent;color:rgba(237,237,242,.82);font:550 12px var(--font);cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s,color .15s}
body.ecx-on .ecx-lien:hover{background:rgba(238,238,243,.06);border-color:var(--nc-line2);color:var(--nc-creme)}
body.ecx-on .ecx-lien .ecx-i,body.ecx-on .ecx-lien .ecx-fl2{width:14px;height:14px}
body.ecx-on .ecx-compte{min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--nc-sable);color:var(--nc-encre);font:650 11.5px var(--font);display:inline-flex;align-items:center;justify-content:center}
body.ecx-on .ecx-pil{display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:999px;font:550 11px var(--font);white-space:nowrap;background:rgba(238,238,243,.08);color:rgba(237,237,242,.78);border:1px solid var(--nc-line)}
body.ecx-on .ecx-pil-new{background:rgba(210,209,204,.16);color:var(--nc-sable);border-color:rgba(210,209,204,.3)}
body.ecx-on .ecx-pil-ok{color:var(--nc-creme)}
body.ecx-on .ecx-bt1,body.ecx-on .ecx-bt2{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:34px;padding:0 14px;border-radius:999px;font:600 12.5px var(--font);cursor:pointer;white-space:nowrap;transition:background .15s,transform .15s}
body.ecx-on .ecx-bt1{background:var(--nc-creme);color:var(--nc-encre);border:0}
body.ecx-on .ecx-bt1:hover{background:#fff}
body.ecx-on .ecx-bt2{background:rgba(238,238,243,.06);color:var(--nc-creme);border:1px solid var(--nc-line2)}
body.ecx-on .ecx-bt2:hover{background:rgba(238,238,243,.1)}
body.ecx-on .ecx-bt1:active,body.ecx-on .ecx-bt2:active,body.ecx-on .ecx-lien:active{transform:scale(.97)}
body.ecx-on .ecx-bt2 .ecx-i{width:15px;height:15px}
body.ecx-on .ecx-acc2 :is(button,[role=button]):focus-visible{outline:2px solid var(--nc-sable);outline-offset:2px}

/* une vignette 16:9 : image, lecture au centre, format ou durée dans le coin */
body.ecx-on .ecx-une-v,body.ecx-on .ecx-fr-v{position:relative;display:block;aspect-ratio:16/9;border-radius:10px;overflow:hidden;background:#1f1f20;border:0;padding:0;cursor:pointer;flex:none}
body.ecx-on .ecx-une-v>i,body.ecx-on .ecx-fr-v>i{position:absolute;inset:0;background:#1f1f20 center/cover no-repeat;transition:transform .35s cubic-bezier(.23,1,.32,1)}
body.ecx-on .ecx-une-v:hover>i,body.ecx-on .ecx-fr-v:hover>i{transform:scale(1.04)}
body.ecx-on .ecx-play{position:absolute;left:50%;top:50%;width:34px;height:34px;margin:-17px 0 0 -17px;border-radius:50%;background:rgba(16,16,17,.55);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid rgba(238,238,243,.22);transition:background .15s,transform .2s}
body.ecx-on .ecx-play::after{content:"";position:absolute;left:50%;top:50%;margin:-5px 0 0 -3px;border-style:solid;border-width:5px 0 5px 8px;border-color:transparent transparent transparent var(--nc-creme)}
body.ecx-on :is(.ecx-une-v,.ecx-fr-v):hover .ecx-play{background:rgba(16,16,17,.75);transform:scale(1.06)}
body.ecx-on .ecx-coin{position:absolute;right:6px;bottom:6px;height:18px;padding:0 6px;border-radius:5px;background:rgba(16,16,17,.78);color:var(--nc-creme);font:600 10.5px/18px var(--font);letter-spacing:.01em}

/* « Ce mois-ci » : la carte du mois, vignette à gauche */
body.ecx-on .ecx-une2{display:grid;grid-template-columns:300px minmax(0,1fr);gap:6px 18px;align-items:start}
/* 1/12/2026 : un mois qui n'a pas encore de film ne montre pas un grand cadre vide ; la carte reste courte et « Vos films » remonte */
body.ecx-on .ecx-une2:has(.ecx-une-vide){display:block!important}
body.ecx-on .ecx-une2:has(.ecx-une-vide) .ecx-une-t{grid-column:1/-1}
body.ecx-on .ecx-une2:has(.ecx-une-vide) .ecx-une-v{display:none}
body.ecx-on .ecx-une-v{width:100%;grid-column:1;grid-row:1}
body.ecx-on .ecx-une-vide{position:absolute;inset:0;display:grid;place-items:center;color:var(--ecx-faint)}
body.ecx-on .ecx-une-vide .ecx-i{width:26px;height:26px}
body.ecx-on .ecx-une-t{grid-column:2;grid-row:1;align-self:start;min-width:0;display:flex;flex-direction:column;gap:5px;padding-top:2px}
body.ecx-on .ecx-une-k{margin:0;font-size:11.5px;color:var(--ecx-faint);letter-spacing:.02em}
body.ecx-on .ecx-une-t h3{margin:0;font-size:17px;font-weight:600;letter-spacing:-.015em;line-height:1.3;color:var(--nc-creme);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.ecx-on .ecx-une-t .ecx-statut{margin:0;display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--ecx-mute)}
body.ecx-on .ecx-une-s{margin:0;font-size:12.5px;color:var(--ecx-mute);line-height:1.45}
body.ecx-on .ecx-une-a{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px;align-items:center}
body.ecx-on .ecx-une-verrou{font-size:12px;color:var(--ecx-faint)}
/* « Changer l'image » (studio seul) : sous la vignette, sans pousser le texte de la carte (retouche du 1/12 intégrée) */
body.ecx-on .ecx-une-outil{grid-column:1;grid-row:2;justify-self:start;align-self:start;height:26px;padding:0 10px;border-radius:999px;border:1px dashed rgba(210,209,204,.45);background:transparent;color:var(--nc-sable);font:550 11.5px var(--font);cursor:pointer;margin-top:4px}
body.ecx-on .ecx-une-docs{margin-top:8px;display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0}
body.ecx-on .ecx-une-docs>span{font-size:11.5px;color:var(--ecx-faint);margin-right:2px}
body.ecx-on .ecx-une-docs .ecx-trim-doc{height:26px;min-height:0;padding:0 10px;border-radius:999px;font-size:12px;max-width:220px;background:rgba(238,238,243,.05);border:1px solid var(--nc-line)}
body.ecx-on .ecx-une-docs .ecx-trim-doc span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* les étapes : des pastilles reliées */
body.ecx-on .ecx-pas2{grid-column:1/-1;list-style:none;margin:12px 0 0;padding:12px 0 0;border-top:1px solid var(--nc-line);display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:0}
body.ecx-on .ecx-pas2 li{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;cursor:pointer;min-width:0;padding:0 2px;border-radius:8px}
body.ecx-on .ecx-pas2 li::before{content:"";position:absolute;top:10px;left:calc(-50% + 12px);right:calc(50% + 12px);height:2px;background:rgba(238,238,243,.12);border-radius:2px}
body.ecx-on .ecx-pas2 li:first-child::before{display:none}
body.ecx-on .ecx-pas2 li.fait::before,body.ecx-on .ecx-pas2 li.encours::before{background:rgba(210,209,204,.7)}
body.ecx-on .ecx-pas2 i{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;border:2px solid rgba(238,238,243,.2);background:var(--nc-card);position:relative;z-index:1}
body.ecx-on .ecx-pas2 li.fait i{background:var(--nc-sable);border-color:var(--nc-sable)}
body.ecx-on .ecx-pas2 li.fait i .ecx-i{width:12px;height:12px;stroke:var(--nc-encre);stroke-width:3}
body.ecx-on .ecx-pas2 li.encours i{border-color:var(--nc-sable);box-shadow:0 0 0 3px rgba(210,209,204,.18)}
body.ecx-on .ecx-pas2 li.encours i::after{content:"";width:8px;height:8px;border-radius:50%;background:var(--nc-sable)}
body.ecx-on .ecx-pas2 span{font-size:11.5px;color:var(--ecx-faint);text-align:center;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
body.ecx-on .ecx-pas2 li.fait span,body.ecx-on .ecx-pas2 li.encours span{color:rgba(237,237,242,.85)}
body.ecx-on .ecx-pas2 li:hover span{color:var(--nc-creme)}
body.ecx-on .ecx-une-c .ecx-studio-work,body.ecx-on .ecx-une-c .ecx-travaux{margin-top:12px}

/* « Vos films » : des lignes compactes */
body.ecx-on .ecx-flm{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
body.ecx-on .ecx-fr{display:grid;grid-template-columns:124px minmax(0,1fr) auto auto auto 36px;align-items:center;gap:14px;padding:7px 6px;margin:0 -6px;border-radius:12px;transition:background .15s}
body.ecx-on .ecx-fr+.ecx-fr{box-shadow:0 -1px 0 var(--nc-line)}
body.ecx-on .ecx-fr:hover{background:rgba(238,238,243,.04)}
body.ecx-on .ecx-fr-v{width:124px;border-radius:8px}
body.ecx-on .ecx-fr .ecx-play{width:26px;height:26px;margin:-13px 0 0 -13px;opacity:0;transition:opacity .15s}
body.ecx-on .ecx-fr:hover .ecx-play,body.ecx-on .ecx-fr-v:focus-visible .ecx-play{opacity:1}
body.ecx-on .ecx-fr-t{min-width:0;display:flex;flex-direction:column;gap:3px;background:none;border:0;padding:0;text-align:left;cursor:pointer;color:inherit}
body.ecx-on .ecx-fr-t b{font-size:13.5px;font-weight:550;color:var(--nc-creme);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.ecx-on .ecx-fr-t small{font-size:12px;color:var(--ecx-mute);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.ecx-on .ecx-fr-e{display:flex;gap:6px;justify-content:flex-end}
body.ecx-on .ecx-fr-f{font-size:11.5px;color:var(--ecx-faint);white-space:nowrap;text-align:right;min-width:60px}
body.ecx-on .ecx-fr-dl{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--nc-line);background:transparent;color:rgba(237,237,242,.8);cursor:pointer;transition:background .15s,color .15s}
body.ecx-on .ecx-fr-dl:hover{background:rgba(238,238,243,.08);color:var(--nc-creme)}
body.ecx-on .ecx-fr-dl .ecx-i{width:16px;height:16px}
body.ecx-on .ecx-fr-dl-off{opacity:.35;cursor:default}
body.ecx-on .ecx-vide-l{display:flex;align-items:center;gap:10px;margin:2px 0 4px;font-size:13px;color:var(--ecx-mute)}
body.ecx-on .ecx-vide-l .ecx-i{width:18px;height:18px;flex:none;color:var(--ecx-faint)}
/* le menu des formats */
body.ecx-on .ecx-fmenu{position:fixed;z-index:400;padding:6px;border-radius:14px;background:#1f1f20;border:1px solid var(--nc-line2);box-shadow:0 18px 48px rgba(0,0,0,.5);animation:ecxMenu .16s cubic-bezier(.23,1,.32,1)}
body.ecx-on .ecx-fmenu>p{margin:4px 8px 6px;font-size:11.5px;color:var(--ecx-faint);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.ecx-on .ecx-fmenu button{display:flex;flex-direction:column;gap:2px;width:100%;padding:8px 10px;border:0;border-radius:9px;background:transparent;color:var(--nc-creme);text-align:left;cursor:pointer}
body.ecx-on .ecx-fmenu button:hover,body.ecx-on .ecx-fmenu button:focus-visible{background:rgba(238,238,243,.07);outline:none}
body.ecx-on .ecx-fmenu b{display:flex;justify-content:space-between;gap:8px;font-size:13px;font-weight:600}
body.ecx-on .ecx-fmenu b small{font-weight:500;color:var(--ecx-faint);font-size:11.5px}
body.ecx-on .ecx-fmenu span{font-size:11.5px;color:var(--ecx-mute);line-height:1.35}
@keyframes ecxMenu{from{opacity:0;transform:translateY(-4px) scale(.98)}}

/* « À vous » */
body.ecx-on .ecx-avous #ecxTaches:empty{display:none}
body.ecx-on .ecx-avous .ecx-tache{gap:10px;padding:9px 0;margin:0}
body.ecx-on .ecx-avous .ecx-tache:first-child{border-top:0;padding-top:2px}
body.ecx-on .ecx-avous .ecx-ic,body.ecx-on .ecx-notif .ecx-ic{width:30px;height:30px;border-radius:9px;flex:none;display:grid;place-items:center;background:rgba(238,238,243,.06);color:var(--nc-sable)}
body.ecx-on .ecx-avous .ecx-ic .ecx-i,body.ecx-on .ecx-notif .ecx-ic .ecx-i{width:15px;height:15px}
body.ecx-on .ecx-avous .ecx-tt{min-width:0;flex:1}
body.ecx-on .ecx-avous .ecx-tt b{font-size:13px;font-weight:550;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.ecx-on .ecx-avous .ecx-tt span{font-size:11.5px;color:var(--ecx-mute);display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.ecx-on .ecx-avous .ecx-ech{display:none}
body.ecx-on .ecx-avous .ecx-tache .btn{height:30px;padding:0 12px;border-radius:999px;font-size:12px;background:var(--nc-creme);color:var(--nc-encre);border:0}
body.ecx-on .ecx-avous .ecx-tache .btn.ecx-alt{background:rgba(238,238,243,.06);color:var(--nc-creme);border:1px solid var(--nc-line2)}
body.ecx-on .ecx-avous .ecx-notifs{display:flex;flex-direction:column;margin:0;gap:0}
body.ecx-on .ecx-avous .ecx-notifs[hidden]{display:none}
body.ecx-on .ecx-avous .ecx-notif{display:flex;align-items:center;gap:10px;width:100%;padding:9px 0;margin:0;border:0;border-top:1px solid var(--nc-line);border-radius:0;background:none;color:var(--nc-creme);font:550 13px var(--font);text-align:left;cursor:pointer;height:auto}
body.ecx-on .ecx-avous #ecxTaches:empty+.ecx-notifs .ecx-notif:first-child{border-top:0;padding-top:2px}
body.ecx-on .ecx-avous .ecx-notif-t{flex:1;min-width:0}
body.ecx-on .ecx-avous .ecx-notif .ecx-fl2{width:14px;height:14px;color:var(--ecx-faint)}
body.ecx-on .ecx-avous .ecx-notif:hover .ecx-notif-t{text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(237,237,242,.3)}
body.ecx-on .ecx-rien{display:flex;align-items:center;gap:8px;margin:0;font-size:13px;color:var(--ecx-mute);line-height:1.45}
body.ecx-on .ecx-rien[hidden]{display:none}
body.ecx-on .ecx-rien .ecx-i{width:16px;height:16px;flex:none;color:var(--nc-sable)}

/* « Prochaine sortie » */
body.ecx-on .ecx-sortie-p{display:flex;flex-direction:column;gap:7px;width:100%;padding:12px;border-radius:12px;border:1px solid var(--nc-line);background:var(--nc-card2);color:var(--nc-creme);text-align:left;cursor:pointer;transition:border-color .15s}
body.ecx-on .ecx-sortie-p:hover{border-color:var(--nc-line2)}
body.ecx-on .ecx-sortie-d{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--nc-sable)}
body.ecx-on .ecx-sortie-d .ecx-i{width:14px;height:14px}
body.ecx-on .ecx-sortie-x{font-size:13px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.ecx-on .ecx-sortie-m{display:flex;align-items:center;gap:8px}
body.ecx-on .ecx-sortie-m small{font-size:11.5px;color:var(--ecx-faint)}
body.ecx-on .ecx-sortie-l{list-style:none;margin:6px 0 0;padding:0}
body.ecx-on .ecx-sortie-l button{display:grid;grid-template-columns:78px minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;padding:8px 2px;border:0;border-top:1px solid var(--nc-line);background:none;color:var(--nc-creme);text-align:left;cursor:pointer;font-size:12.5px}
body.ecx-on .ecx-sortie-l li:first-child button{border-top:0}
body.ecx-on .ecx-sortie-l time{color:var(--ecx-mute);font-size:12px}
body.ecx-on .ecx-sortie-l span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.ecx-on .ecx-sortie-l em{font-style:normal;font-size:11px;color:var(--ecx-faint)}

/* « Le fil du projet » (client à un film) : court */
body.ecx-on .ecx-filc #ecxFil{max-height:180px;overflow:auto;font-size:12.5px}

/* les cartes de « En bref » dans la colonne : Messages, Prochaines dates, Bibliothèque, Équipe */
body.ecx-on .ecx-acc-c .ecx-bref{margin:0}
body.ecx-on .ecx-acc-c .br-grille{grid-template-columns:minmax(0,1fr);gap:14px}
body.ecx-on .ecx-acc-c .br-carte{background:var(--nc-card);border:1px solid var(--nc-line);border-radius:16px;padding:14px 16px}
body.ecx-on .ecx-acc-c .br-carte h3{font-size:15px;font-weight:600}
body.ecx-on .ecx-acc-c .br-carte header{margin-bottom:8px}
body.ecx-on .ecx-acc-c .br-carte .pl-lien{height:28px;padding:0 10px;border-radius:999px;border:1px solid var(--nc-line);font-size:12px;display:inline-flex;align-items:center;text-decoration:none}
body.ecx-on .ecx-acc-c .br-msg{display:grid;gap:2px;font-size:13px}
body.ecx-on .ecx-acc-c .br-msg span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:rgba(237,237,242,.85)}
body.ecx-on .ecx-acc-c .br-msg small{font-size:11.5px;color:var(--ecx-faint)}
body.ecx-on .ecx-acc-c .br-ia{margin-top:10px;height:34px;border-radius:999px;background:rgba(238,238,243,.05);border:1px solid var(--nc-line)}
body.ecx-on .ecx-acc-c .br-l{font-size:12.5px;padding:6px 0}

/* les chiffres du mois : de petites cartes, seulement quand le chiffre existe */
body.ecx-on .ecx-chiffres{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-top:14px}
/* le tableau de bord en tête (1/12) : cinq cartes au plus sur une ligne, chacune absente sans son chiffre */
body.ecx-on .ecx-acc2 .ecx-kpis{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(176px,calc((100% - 40px) / 5));grid-template-columns:none;gap:10px;margin:0 0 14px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;padding-bottom:2px}
body.ecx-on .ecx-acc2 .ecx-kpis::-webkit-scrollbar{display:none}
body.ecx-on .ecx-acc2 .ecx-kpis>*{scroll-snap-align:start;min-width:0}
body.ecx-on .ecx-acc2 .ecx-kpis>[hidden],body.ecx-on .ecx-acc2 .ecx-kpis>:empty{display:none}
body.ecx-on .ecx-acc2 .ecx-kpis .ecx-chif-c{width:100%;height:100%;min-height:0;box-sizing:border-box;grid-template-rows:auto auto 1fr;align-items:center;align-content:start;padding:13px 14px 12px;row-gap:0}
body.ecx-on .ecx-acc2 .ecx-kpis .ecx-chif-l{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
body.ecx-on .ecx-acc2 .ecx-kpis .ecx-chif-l .ecx-i{vertical-align:-2px;margin-right:6px}
body.ecx-on .ecx-acc2 .ecx-kpis .ecx-chif-c b{grid-column:1/-1;grid-row:2;margin:8px 0 6px;white-space:nowrap}
body.ecx-on .ecx-acc2 .ecx-kpis .ecx-chif-c small{grid-column:1;grid-row:3;align-self:end;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
body.ecx-on .ecx-acc2 .ecx-kpis .ecx-barres,body.ecx-on .ecx-acc2 .ecx-kpis .ecx-anneau,body.ecx-on .ecx-acc2 .ecx-kpis .ecx-jx{grid-column:2;grid-row:2/4;align-self:end}
body.ecx-on .ecx-acc2 .ecx-kpis .ecx-barres{height:28px}
body.ecx-on .ecx-acc2 .ecx-kpis .ecx-jx{grid-row:2;align-self:center}
body.ecx-on .ecx-acc2 .ecx-kpis .ecx-chif-c:has(.ecx-jx) small{grid-column:1/-1}
body.ecx-on .ecx-acc2 .ecx-kpis .ecx-barres-v i{width:3px}
body.ecx-on .ecx-acc2 .ecx-kpis .ecx-anneau{width:30px;height:30px;-webkit-mask:radial-gradient(circle,transparent 9px,#000 10px);mask:radial-gradient(circle,transparent 9px,#000 10px)}
body.ecx-on .ecx-acc2 .ecx-kpis .ecx-chif-c:has(.ecx-barres,.ecx-anneau,.ecx-jx) b{grid-column:1}
body.ecx-on .ecx-acc2 .ecx-kpis .engage-card{text-align:left;padding:13px 14px 12px;gap:0}
body.ecx-on .ecx-acc2 .ecx-kpis .eng-kicker{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ecx-on .ecx-acc2 .ecx-kpis .eng-headline{margin:8px 0 6px;white-space:nowrap}
body.ecx-on .ecx-acc2 .ecx-kpis .engage-card>*{min-width:0;max-width:100%}
body.ecx-on .ecx-acc2 .ecx-kpis .eng-row{overflow:hidden}
body.ecx-on .ecx-acc2 .ecx-kpis .eng-sub{justify-self:start;text-align:left;line-height:1.35}
body.ecx-on .ecx-acc2 .ecx-kpis .eng-bar{margin-top:10px;top:0}
body.ecx-on .ecx-acc2 .ecx-kpis #engageSec{cursor:pointer}
body.ecx-on .ecx-acc2 .ecx-kpis #engageSec .engage-card{transition:border-color .15s;min-height:92px}
body.ecx-on .ecx-acc2 .ecx-kpis #engageSec:hover .engage-card{border-color:var(--nc-line2)}
body.ecx-on .ecx-chif-c b{display:flex;align-items:baseline;gap:8px}
body.ecx-on .ecx-delta{font:600 11px var(--font);font-style:normal;letter-spacing:0;padding:1px 6px;border-radius:999px;background:rgba(210,209,204,.16);color:var(--nc-sable)}
body.ecx-on .ecx-delta.bas{background:rgba(238,238,243,.07);color:var(--ecx-mute)}
body.ecx-on .ecx-jx{grid-column:2;grid-row:2/4;align-self:end;font:600 11.5px var(--font);padding:4px 9px;border-radius:999px;border:1px solid var(--nc-line2);color:var(--nc-sable)}
body.ecx-on .ecx-barres-v{gap:2px}body.ecx-on .ecx-barres-v i{width:4px}
body.ecx-on .ecx-chif-att{cursor:default}
body.ecx-on .ecx-att{display:block;width:72px;height:22px;border-radius:6px;background:linear-gradient(90deg,rgba(238,238,243,.05),rgba(238,238,243,.12),rgba(238,238,243,.05));background-size:200% 100%;animation:ecxAtt 1.4s ease-in-out infinite}
@keyframes ecxAtt{from{background-position:100% 0}to{background-position:-100% 0}}
@media (prefers-reduced-motion:reduce){body.ecx-on .ecx-att{animation:none}}
@media (max-width:1100px){body.ecx-on .ecx-acc2 .ecx-kpis{grid-auto-flow:row;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));overflow:visible}}
@media (max-width:700px){body.ecx-on .ecx-acc2 .ecx-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  body.ecx-on .ecx-acc2 .ecx-kpis .ecx-chif-c,body.ecx-on .ecx-acc2 .ecx-kpis .engage-card{padding:12px;min-height:0}
  body.ecx-on .ecx-acc2 .ecx-kpis .ecx-chif-c{grid-template-columns:minmax(0,1fr)}
  body.ecx-on .ecx-acc2 .ecx-kpis .ecx-barres,body.ecx-on .ecx-acc2 .ecx-kpis .ecx-anneau,body.ecx-on .ecx-acc2 .ecx-kpis .ecx-jx{grid-column:1;grid-row:auto;margin-top:6px}
  body.ecx-on .ecx-acc2 .ecx-kpis .ecx-anneau{width:28px;height:28px;-webkit-mask:radial-gradient(circle,transparent 8px,#000 9px);mask:radial-gradient(circle,transparent 8px,#000 9px)}
  body.ecx-on .ecx-acc2 .ecx-kpis .ecx-jx{justify-self:start}
  body.ecx-on .ecx-acc2 .ecx-kpis .ecx-chif-c b,body.ecx-on .ecx-acc2 .ecx-kpis .eng-headline{font-size:19px}
  body.ecx-on .ecx-acc2 .ecx-kpis .ecx-chif-c small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}

body.ecx-on .ecx-chiffres:not(:has(.engage-card,.ecx-chif-c)){display:none}
body.ecx-on .ecx-chiffres #engageSec:empty{display:none}
body.ecx-on .ecx-chiffres .engage-card{margin:0;height:100%;box-sizing:border-box;padding:14px 16px;border-radius:16px;background:var(--nc-card)!important;border:1px solid var(--nc-line);box-shadow:none;display:flex;flex-direction:column;gap:4px}
body.ecx-on .ecx-chiffres .engage-card::after,body.ecx-on .ecx-chiffres .engage-card::before{display:none}
body.ecx-on .ecx-chiffres .eng-kicker{font-size:11.5px;letter-spacing:0;text-transform:none;font-weight:500;color:var(--ecx-mute)}
body.ecx-on .ecx-chiffres .eng-badge{display:none}
body.ecx-on .ecx-chiffres .eng-headline{font:600 22px/1.15 var(--font);letter-spacing:-.02em;color:var(--nc-creme);margin:4px 0 0}
body.ecx-on .ecx-chiffres .eng-sub{font-size:12px;color:var(--ecx-mute);margin:0}
body.ecx-on .ecx-chiffres .eng-bar{height:4px;margin-top:auto;padding-top:0;border-radius:4px;background:rgba(238,238,243,.1);overflow:hidden;position:relative;top:4px}
body.ecx-on .ecx-chiffres .eng-bar i{display:block;height:100%;border-radius:4px;background:var(--nc-sable)!important;box-shadow:none}
body.ecx-on .ecx-chiffres .eng-cta{margin-top:8px;height:32px;padding:0 12px;border-radius:999px;background:var(--nc-creme);color:var(--nc-encre);font:600 12px var(--font);border:0;align-self:flex-start}
body.ecx-on .ecx-chif-c{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto;align-items:end;gap:2px 12px;padding:14px 16px;border-radius:16px;background:var(--nc-card);border:1px solid var(--nc-line);color:var(--nc-creme);text-align:left;cursor:pointer;min-height:96px;transition:border-color .15s}
body.ecx-on .ecx-chif-c:hover{border-color:var(--nc-line2)}
body.ecx-on .ecx-chif-l{grid-column:1/-1;display:flex;align-items:center;gap:6px;font-size:11.5px;color:var(--ecx-mute);align-self:start}
body.ecx-on .ecx-chif-l .ecx-i{width:14px;height:14px}
body.ecx-on .ecx-chif-c b{font:600 22px/1.15 var(--font);letter-spacing:-.02em;margin-top:6px}
body.ecx-on .ecx-chif-c small{grid-column:1;font-size:12px;color:var(--ecx-mute)}
body.ecx-on .ecx-barres{grid-column:2;grid-row:2/4;display:flex;align-items:flex-end;gap:3px;height:34px}
body.ecx-on .ecx-barres i{width:7px;height:var(--h);border-radius:2px;background:rgba(210,209,204,.32)}
body.ecx-on .ecx-barres i.on{background:var(--nc-sable)}
body.ecx-on .ecx-anneau{grid-column:2;grid-row:2/4;width:38px;height:38px;border-radius:50%;background:conic-gradient(var(--nc-sable) calc(var(--p)*1%),rgba(238,238,243,.1) 0);-webkit-mask:radial-gradient(circle,transparent 12px,#000 13px);mask:radial-gradient(circle,transparent 12px,#000 13px)}

/* en bas, discrets : fichiers, portes, mois, avis, recommandation */
body.ecx-on .ecx-acc2>#ecxTrio,body.ecx-on .ecx-acc2>.ecx-portes,body.ecx-on .ecx-acc2>.ecx-liste{margin-top:26px}
body.ecx-on .ecx-acc2 #ecxTrio .ecx-ch small{font-size:12px;color:var(--ecx-faint)}
body.ecx-on .ecx-acc2 .ecx-trio{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body.ecx-on .ecx-acc2 .ecx-tuile{display:flex;flex-direction:row;align-items:center;gap:12px;padding:8px 12px 8px 8px;border-radius:14px;background:var(--nc-card);border:1px solid var(--nc-line);color:var(--nc-creme);text-align:left;min-height:0;cursor:pointer;transition:border-color .15s}
body.ecx-on .ecx-acc2 .ecx-tuile:hover{border-color:var(--nc-line2);transform:none}
body.ecx-on .ecx-acc2 .ecx-tuile-v{position:relative;display:flex;width:84px;height:48px;flex:none;border-radius:8px;overflow:hidden;background:var(--nc-card2);margin:0;aspect-ratio:auto;gap:2px}
body.ecx-on .ecx-acc2 .ecx-tuile-v i{flex:1;background:var(--nc-card2) center/cover no-repeat;min-width:0}
body.ecx-on .ecx-acc2 .ecx-tuile-d{flex:1;display:grid;place-items:center;color:var(--nc-sable)}
body.ecx-on .ecx-acc2 .ecx-tuile-d .ecx-i{width:20px;height:20px}
body.ecx-on .ecx-acc2 .ecx-tuile-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
body.ecx-on .ecx-acc2 .ecx-tuile-t b{font-size:13px;font-weight:550}
body.ecx-on .ecx-acc2 .ecx-tuile-t small{font-size:12px;color:var(--ecx-mute)}
body.ecx-on .ecx-acc2 .ecx-tuile>.ecx-fl2{width:14px;height:14px;color:var(--ecx-faint)}
body.ecx-on .ecx-acc2 .ecx-portes{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}
body.ecx-on .ecx-acc2 .ecx-porte{min-height:0;padding:10px 12px;border-radius:14px;background:var(--nc-card);border:1px solid var(--nc-line);gap:10px}
body.ecx-on .ecx-acc2 .ecx-porte i{width:32px;height:32px;border-radius:9px}
body.ecx-on .ecx-acc2 .ecx-porte b{font-size:13px;font-weight:550}
body.ecx-on .ecx-acc2 .ecx-porte small{font-size:11.5px}
body.ecx-on .ecx-acc2 .ecx-liste .ecx-h2{margin:0 0 8px}
body.ecx-on .ecx-acc2 .ecx-liste .ecx-h2 h2{font-size:15px;font-weight:600}
body.ecx-on .ecx-acc2 .ecx-liste .ecx-h2 p{font-size:12px;margin-top:2px;color:var(--ecx-faint)}
body.ecx-on .ecx-acc2 .ecx-doss-fil{margin:0 0 8px;font-size:12px}
body.ecx-on .ecx-acc2 .ecx-doss-fil button{font-size:12px;padding:0 4px;min-height:28px}
body.ecx-on .ecx-acc2 .ecx-doss-g{display:flex;flex-wrap:wrap;gap:8px}
body.ecx-on .ecx-acc2 .ecx-doss{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr);grid-template-rows:auto auto;column-gap:10px;align-items:center;width:auto;min-width:180px;min-height:0;padding:8px 14px 8px 10px;border-radius:12px;background:var(--nc-card);border:1px solid var(--nc-line);text-align:left;transition:border-color .15s}
body.ecx-on .ecx-acc2 .ecx-doss:hover{border-color:var(--nc-line2);transform:none;background:var(--nc-card)}
body.ecx-on .ecx-acc2 .ecx-doss svg{grid-row:1/3;width:34px;height:27px;margin:0}
body.ecx-on .ecx-acc2 .ecx-doss b{font-size:13px;font-weight:550;margin:0}
body.ecx-on .ecx-acc2 .ecx-doss small{font-size:11.5px;margin:0;color:var(--ecx-mute)}
body.ecx-on .ecx-acc2 .ecx-doss em{position:static;grid-column:3;grid-row:1/3;margin-left:10px;height:20px;padding:0 8px;border-radius:999px;font:550 11px/20px var(--font);font-style:normal;background:rgba(210,209,204,.16);color:var(--nc-sable)}
body.ecx-on .ecx-acc2 .ecx-lpr{padding:8px 10px;border-radius:12px}
body.ecx-on .ecx-acc2 #ecxAvisAccueil:not(:empty){margin-top:26px}
body.ecx-on .ecx-acc2 #ecxAvisAccueil .ecx-avis{padding:14px 18px;border-radius:16px}
body.ecx-on .ecx-acc2 #ecxAvisAccueil h3,body.ecx-on .ecx-acc2 #ecxAvisAccueil h2{font-size:14.5px}
body.ecx-on .ecx-acc2 .ecx-plus{margin-top:26px;padding-top:18px}
body.ecx-on .ecx-acc2 .ecx-plus .pl-titre{font-size:15px;font-weight:600;margin:0 0 8px}
body.ecx-on .ecx-acc2 .pl-carte{padding:12px 14px;border-radius:14px}
/* les dossiers dessinés de l'espace : tons de l'ambiance */
body.ecx-on .ecx-doss svg path,body.ecx-on svg.ecx-fl path{fill:#888784}
body.ecx-on .ecx-doss svg rect,body.ecx-on svg.ecx-fl rect{fill:#aeada8}

/* téléphone : une colonne, cibles de 44 px, rien qui déborde */
@media (max-width:980px){
  body.ecx-on .ecx-acc-g{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:700px){
  body.ecx-on .ecx-acc2{padding-top:calc(10px + env(safe-area-inset-top,0px));padding-bottom:calc(40px + env(safe-area-inset-bottom,0px))}
  body.ecx-on .ecx-acc2 .ecx-bonjour{flex-direction:column;align-items:stretch;gap:10px}
  body.ecx-on .ecx-acc2 .ecx-bonjour h1{font-size:19px;white-space:normal}
  body.ecx-on .ecx-acc2 .ecx-search{width:100%}
  body.ecx-on .ecx-acc2 .ecx-search label{height:44px}
  body.ecx-on .ecx-cd{padding:12px 14px;border-radius:14px}
  body.ecx-on .ecx-une2{grid-template-columns:minmax(0,1fr)}
  body.ecx-on .ecx-une-v,body.ecx-on .ecx-une-t,body.ecx-on .ecx-une-outil{grid-column:1;grid-row:auto}
  body.ecx-on .ecx-bt1,body.ecx-on .ecx-bt2{height:44px;padding:0 18px;flex:1}
  body.ecx-on .ecx-lien{height:44px}
  body.ecx-on .ecx-pas2 span{font-size:10.5px}
  body.ecx-on .ecx-fr{grid-template-columns:108px minmax(0,1fr) 44px;gap:10px}
  body.ecx-on .ecx-fr-v{width:108px}
  body.ecx-on .ecx-fr-e{grid-column:2;grid-row:2;justify-content:flex-start;margin-top:-4px}
  body.ecx-on .ecx-fr-e:empty{display:none}
  body.ecx-on .ecx-fr-f{display:none}
  body.ecx-on .ecx-fr-v{grid-row:1/3}
  body.ecx-on .ecx-fr-dl{grid-column:3;grid-row:1/3;width:44px;height:44px}
  body.ecx-on .ecx-fr-av{grid-column:1/-1;grid-row:3}
  body.ecx-on .ecx-fr .ecx-play{opacity:1}
  body.ecx-on .ecx-avous .ecx-tache .btn{height:44px;padding:0 16px}
  body.ecx-on .ecx-avous .ecx-notif{min-height:44px}
  body.ecx-on .ecx-sortie-l button{min-height:44px;grid-template-columns:70px minmax(0,1fr)}
  body.ecx-on .ecx-sortie-l em{display:none}
  body.ecx-on .ecx-acc2 .ecx-trio{grid-template-columns:minmax(0,1fr);gap:8px}
  body.ecx-on .ecx-acc2 .ecx-tuile{min-height:60px}
  body.ecx-on .ecx-acc2 .ecx-doss{min-width:0;flex:1 1 100%;min-height:52px}
  body.ecx-on .ecx-acc-c .br-carte .pl-lien,body.ecx-on .ecx-acc-c .br-ia{min-height:44px}
}
@media (prefers-reduced-motion:reduce){
  body.ecx-on .ecx-une-v>i,body.ecx-on .ecx-fr-v>i,body.ecx-on .ecx-play,body.ecx-on .ecx-fmenu{transition:none!important;animation:none!important;transform:none!important}
}
/* le document à signer (bandeau commun du portail) : une ligne basse sur l'accueil compact */
body.ecx-on .ecx-acc2 .ecd-une{display:flex;align-items:center;gap:14px;padding:10px 14px;border-radius:16px;background:var(--nc-card);border:1px solid var(--nc-line);margin:0;min-height:0}
body.ecx-on .ecx-acc2 .ecd-vigs{flex:none;width:auto}
body.ecx-on .ecx-acc2 .ecd-vig{width:44px;height:56px;border-radius:6px}
body.ecx-on .ecx-acc2 .ecd-vigs.deux .ecd-vig:nth-child(n+2){display:none}
body.ecx-on .ecx-acc2 .ecd-une-t{flex:1;min-width:0;display:grid;grid-template-columns:minmax(0,auto) minmax(0,1fr);align-items:center;column-gap:16px}
body.ecx-on .ecx-acc2 .ecd-une-t>*{margin:0}
body.ecx-on .ecx-acc2 .ecd-nouveau{grid-column:1;font-size:11px;color:var(--nc-sable);letter-spacing:.02em}
body.ecx-on .ecx-acc2 .ecd-une-t h2,body.ecx-on .ecx-acc2 .ecd-une-t h3{grid-column:1;font-size:14px;font-weight:600;margin:0}
body.ecx-on .ecx-acc2 .ecd-une-t>p{display:none}
body.ecx-on .ecx-acc2 .ecd-vers{grid-column:2;grid-row:1/4;margin:0;display:flex;flex-direction:column;gap:6px}
body.ecx-on .ecx-acc2 .ecd-ver{padding:6px 6px 6px 12px;border-radius:12px;background:rgba(238,238,243,.04);border:1px solid var(--nc-line);gap:10px}
body.ecx-on .ecx-acc2 .ecd-ver b{font-size:12.5px}
body.ecx-on .ecx-acc2 .ecd-ver span{font-size:11.5px}
body.ecx-on .ecx-acc2 .ecd-ver .btn{height:30px;padding:0 12px;border-radius:999px;font-size:12px;background:var(--nc-creme);color:var(--nc-encre)}
@media (max-width:700px){
  body.ecx-on .ecx-acc2 .ecd-une{align-items:flex-start}
  body.ecx-on .ecx-acc2 .ecd-une-t{grid-template-columns:minmax(0,1fr)}
  body.ecx-on .ecx-acc2 .ecd-vers{grid-column:1;grid-row:auto;margin-top:8px}
  body.ecx-on .ecx-acc2 .ecd-ver{flex-wrap:wrap}
  body.ecx-on .ecx-acc2 .ecd-ver .btn{height:44px}
}
@media (max-width:980px){
  /* une colonne : ce qui attend le client d'abord, puis le mois, les films, la prochaine sortie, les messages */
  body.ecx-on .ecx-acc-g{display:flex;flex-direction:column;align-items:stretch;gap:14px}
  body.ecx-on .ecx-acc-g>*>*{width:auto;max-width:100%;min-width:0}
  body.ecx-on .ecx-acc-g .br-grille>.br-carte{width:100%}
  body.ecx-on .ecx-acc-m,body.ecx-on .ecx-acc-c{display:contents}
  body.ecx-on .ecx-acc-g #ecxAVous{order:1}
  body.ecx-on .ecx-acc-g .ecx-une-c{order:2}
  body.ecx-on .ecx-acc-g #ecxNews{order:3}
  body.ecx-on .ecx-acc-g #ecxCal{order:4}
  body.ecx-on .ecx-acc-g>*>*{order:5}
  body.ecx-on .ecx-acc-g>*>[hidden]{display:none!important}
}
@media (max-width:700px){
  body.ecx-on .ecx-ch{flex-wrap:wrap;row-gap:8px}
  body.ecx-on .ecx-ch h2{white-space:nowrap}
  body.ecx-on .ecx-acc2 .ecd-une{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;align-items:start}
  body.ecx-on .ecx-acc2 .ecd-vigs{height:auto;min-height:0}
  body.ecx-on .ecx-acc2 .ecd-une-t{display:block}
  body.ecx-on .ecx-acc2 .ecd-vers{margin-top:8px}
  body.ecx-on .ecx-acc2 .ecd-ver{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
}
body.ecx-on .ecx-acc2 .ecd-vigs,body.ecx-on .ecx-acc2 .ecd-vigs.deux{width:44px;height:56px}
body.ecx-on .ecx-acc2 .ecd-vig{position:absolute;top:0;left:0}
body.ecx-on .ecx-compte[hidden]{display:none}

/* ── BIBLIOTHÈQUE ET FICHIERS (30/11/2026) · modèle « contenus » de Sorvo, dans la nuit chaude : une carte sobre à filet fin,
   une barre mince, des pastilles, un tableau dense (vignette 16:9, nom, type, taille, date, télécharger), sélection en sable. */
body.ecx-on{--ecx-sel:#868582;--ecx-selbg:rgba(210,209,204,.13)}
body.ecx-on .ecx-finder,body.ecx-on .ecx-finder.ecx-plein{background:var(--nc-card,#171718);border:1px solid var(--nc-line,rgba(238,238,243,.1));border-radius:18px;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none;grid-template-columns:196px minmax(0,1fr) 244px}
body.ecx-on .ecx-arbre{border-right:1px solid var(--nc-line,rgba(238,238,243,.1));padding:16px 10px}
body.ecx-on .ecx-arbre h4{font-size:11.5px;letter-spacing:.02em;color:rgba(237,237,242,.5)}
body.ecx-on .ecx-noeud{min-height:34px;border-radius:99px;font-size:13px;color:rgba(237,237,242,.66);padding:4px 12px}
body.ecx-on .ecx-noeud.n1{padding-left:22px}body.ecx-on .ecx-noeud.n2{padding-left:36px}
body.ecx-on .ecx-noeud:hover{background:rgba(238,238,243,.05);color:#ededf2}
body.ecx-on .ecx-noeud.on{background:rgba(210,209,204,.14);color:#ededf2}
body.ecx-on .ecx-noeud .ecx-fl{width:17px;height:14px;flex:none}
body.ecx-on .ecx-finder svg path[fill="#a3a29e"]{fill:#868582}
body.ecx-on .ecx-finder svg rect[fill="#c7c6c1"],body.ecx-on .ecx-finder svg rect[fill="#c3c2bd"]{fill:#b2b1ad}
body.ecx-on .ecx-fbarre{gap:8px;padding:10px 14px;border-bottom:1px solid var(--nc-line,rgba(238,238,243,.1));flex-wrap:wrap;row-gap:8px}
body.ecx-on .ecx-ariane{font-size:14px}
body.ecx-on .ecx-ariane button{font-size:13.5px;border-radius:99px;padding:4px 8px;color:rgba(237,237,242,.6)}
body.ecx-on .ecx-ariane button:last-of-type{color:#ededf2}
body.ecx-on .ecx-ariane button:hover{background:rgba(238,238,243,.06)}
body.ecx-on .ecx-cherche,body.ecx-on .ecx-tri,body.ecx-on .ecx-genres,body.ecx-on .ecx-vues{background:#1f1f20;border:1px solid var(--nc-line,rgba(238,238,243,.1));border-radius:99px;height:34px}
body.ecx-on .ecx-cherche{width:auto;flex:1 1 120px;min-width:110px;padding:0 12px}
body.ecx-on .ecx-genres,body.ecx-on .ecx-vues{padding:2px;align-items:center}
body.ecx-on .ecx-genres button{height:28px;border-radius:99px;padding:0 9px;font-size:12.5px;color:rgba(237,237,242,.62)}
body.ecx-on .ecx-genres button.on{background:#ededf2;color:#131314}
body.ecx-on .ecx-vues button{height:28px;width:32px;border-radius:99px;color:rgba(237,237,242,.62)}
body.ecx-on .ecx-vues button.on{background:rgba(210,209,204,.18);color:#ededf2}
body.ecx-on .ecx-tri select option{background:#1f1f20}
body.ecx-on .ecx-fbarre .btn{height:34px;border-radius:99px;font-size:12.5px;padding:0 14px}
body.ecx-on .ecx-fbarre #ecxDeposer{background:#ededf2;color:#131314;border:0}
body.ecx-on .ecx-fbarre .btn.ecx-alt{background:none;color:#ededf2;border:1px solid rgba(238,238,243,.16)}
body.ecx-on .ecx-zone{padding:12px 14px}
body.ecx-on .ecx-zone.survol{background:rgba(210,209,204,.05);box-shadow:inset 0 0 0 2px rgba(210,209,204,.45)}
body.ecx-on .ecx-fpied{height:36px;border-top:1px solid var(--nc-line,rgba(238,238,243,.1));font-size:12px;color:rgba(237,237,242,.55)}
/* le tableau */
body.ecx-on .ecx-tl2 .ecx-tete,body.ecx-on .ecx-tl2 .ecx-ligne{grid-template-columns:minmax(0,1fr) 76px 58px 96px 112px;gap:10px;padding:0 8px}
body.ecx-on .ecx-tl2 .ecx-tete{height:34px;border-bottom:1px solid var(--nc-line,rgba(238,238,243,.1));margin-bottom:4px}
body.ecx-on .ecx-tl2 .ecx-tete button{appearance:none;border:0;background:none;padding:0;text-align:left;font:500 11.5px var(--font);letter-spacing:.02em;color:rgba(237,237,242,.5);cursor:pointer;display:flex;align-items:center;gap:4px}
body.ecx-on .ecx-tl2 .ecx-tete button.on,body.ecx-on .ecx-tl2 .ecx-tete button:hover{color:#ededf2}
body.ecx-on .ecx-tl2 .ecx-tete button i{font-style:normal;color:#e9e9ee}
body.ecx-on .ecx-tl2 .ecx-ligne{height:60px;border-radius:12px;font-size:13px;background:none!important;transition:background .15s}
body.ecx-on .ecx-tl2 .ecx-ligne+.ecx-ligne{box-shadow:0 -1px 0 rgba(238,238,243,.06)}
body.ecx-on .ecx-tl2 .ecx-ligne:hover{background:rgba(238,238,243,.04)!important}
body.ecx-on .ecx-tl2 .ecx-ligne.sel{background:var(--ecx-selbg)!important;box-shadow:inset 0 0 0 1px rgba(210,209,204,.4)}
body.ecx-on .ecx-tl2 .ecx-n{gap:12px;position:relative}
body.ecx-on .ecx-tl2 .ecx-coche{position:absolute;left:5px;top:5px;margin:0;width:18px;height:18px;z-index:2}
body.ecx-on .ecx-tl2 .ecx-lv{flex:none;width:72px;aspect-ratio:16/9;border-radius:8px;background:#1f1f20 center/cover;display:grid;place-items:center;position:relative;overflow:hidden;border:1px solid rgba(238,238,243,.06)}
body.ecx-on .ecx-tl2 .ecx-lv .ph,body.ecx-on .ecx-tl2 .ecx-lv .tile-ph{display:none}
body.ecx-on .ecx-tl2 .ecx-lv img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
body.ecx-on .ecx-tl2 .ecx-lv svg{width:30px;height:24px}
body.ecx-on .ecx-tl2 .ecx-lv .ecx-pdf{transform:scale(.42)}
body.ecx-on .ecx-tl2 .ecx-lv em{position:absolute;right:3px;bottom:3px;z-index:1;font:600 9.5px var(--font);font-style:normal;padding:1px 5px;border-radius:99px;background:rgba(16,16,17,.78);color:#ededf2}
body.ecx-on .ecx-tl2 .ecx-nm{display:flex;flex-direction:column;gap:2px;min-width:0}
body.ecx-on .ecx-tl2 .ecx-nm b{font-weight:560;color:#ededf2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.ecx-on .ecx-tl2 .ecx-nm small{font-size:11.5px;color:rgba(237,237,242,.52);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.ecx-on .ecx-tl2 .ecx-ligne .ecx-c{font-size:12.5px;color:rgba(237,237,242,.62);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ecx-on .ecx-tl2 .ecx-la{display:flex;justify-content:flex-end}
body.ecx-on .ecx-tl2 .ecx-ldl{width:34px;height:34px;border-radius:99px;border:1px solid rgba(238,238,243,.14);background:none;color:#ededf2;display:grid;place-items:center;cursor:pointer;transition:background .15s,border-color .15s}
body.ecx-on .ecx-tl2 .ecx-ldl:hover{background:rgba(210,209,204,.16);border-color:rgba(210,209,204,.5)}
body.ecx-on .ecx-tl2 .ecx-ldl svg{width:15px;height:15px}
/* la grille de vignettes */
body.ecx-on .ecx-grid{grid-template-columns:repeat(auto-fill,minmax(176px,1fr));gap:10px}
body.ecx-on .ecx-it{align-items:stretch;gap:7px;padding:8px;border-radius:14px}
body.ecx-on .ecx-it:hover{background:rgba(238,238,243,.04)}
body.ecx-on .ecx-it.sel{background:var(--ecx-selbg);border-color:rgba(210,209,204,.4)}
body.ecx-on .ecx-vig{aspect-ratio:16/9;border-radius:10px;background:#1f1f20}
body.ecx-on .ecx-vig.img{background-color:#1f1f20;box-shadow:none}
body.ecx-on .ecx-it .ecx-nom{text-align:left;font-size:12.5px;padding:0 2px;color:#ededf2;-webkit-line-clamp:1}
body.ecx-on .ecx-it.sel .ecx-nom{background:none;color:#ededf2}
body.ecx-on .ecx-it .ecx-meta{font-size:11.5px;margin-top:-4px;padding:0 2px;color:rgba(237,237,242,.5)}
body.ecx-on .ecx-ren{border-color:#e9e9ee;background:#101011}
/* le panneau d'information */
body.ecx-on .ecx-info{border-left:1px solid var(--nc-line,rgba(238,238,243,.1));padding:16px}
body.ecx-on .ecx-apercu{aspect-ratio:16/9;border-radius:12px;background-color:#1f1f20}
body.ecx-on .ecx-info h4{font-size:14px;font-weight:600}
body.ecx-on .ecx-info dl{font-size:12px;gap:8px 12px}
body.ecx-on .ecx-acts .btn{height:38px;border-radius:99px}
body.ecx-on .ecx-acts .btn:first-child{background:#ededf2;color:#131314;border:0}
/* menus et cibles de dépôt en sable, jamais en bleu */
body.ecx-on .ecx-menu{background:rgba(31,31,32,.98);border-color:rgba(238,238,243,.14)}
body.ecx-on .ecx-menu button:hover{background:rgba(210,209,204,.18);color:#ededf2}
body.ecx-on .ecx-noeud.cible,body.ecx-on .ecx-it.cible,body.ecx-on .ecx-ligne.cible{background:var(--ecx-selbg);outline:2px solid rgba(210,209,204,.6)}
@media (max-width:1100px){body.ecx-on .ecx-finder,body.ecx-on .ecx-finder.ecx-plein{grid-template-columns:190px minmax(0,1fr)}}
@media (max-width:860px){
  body.ecx-on .ecx-finder,body.ecx-on .ecx-finder.ecx-plein{grid-template-columns:1fr}
  body.ecx-on .ecx-cherche{width:100%}
  body.ecx-on .ecx-genres{overflow-x:auto;max-width:100%;scrollbar-width:none}
  body.ecx-on .ecx-tl2 .ecx-tete{display:none}
  body.ecx-on .ecx-tl2 .ecx-ligne{grid-template-columns:minmax(0,1fr) 44px;height:64px;padding:0 4px}
  body.ecx-on .ecx-tl2 .ecx-ligne>.ecx-c{display:none}
  body.ecx-on .ecx-tl2 .ecx-ldl{width:44px;height:44px}
  body.ecx-on .ecx-fbarre .btn,body.ecx-on .ecx-genres button,body.ecx-on .ecx-vues button{min-height:40px}
  body.ecx-on .ecx-cherche,body.ecx-on .ecx-tri,body.ecx-on .ecx-genres,body.ecx-on .ecx-vues{height:44px}
  body.ecx-on .ecx-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
}
@media (max-width:700px){body.ecx-on .ecx-acc2 .ecx-une-v[data-une-ouvrir]{aspect-ratio:auto;height:88px}}

/* CE QUI MARCHE SUR VOS RÉSEAUX (1/12) : les cinq publications les plus vues, façon « top uploads » */
body.ecx-on .ecx-acc2 #ecxTop{margin-top:14px}
body.ecx-on .ecx-tp{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-direction:column}
body.ecx-on .ecx-tp li+li{border-top:1px solid rgba(238,238,243,.06)}
body.ecx-on .ecx-tp-l{appearance:none;width:100%;display:grid;grid-template-columns:18px 56px minmax(0,1fr) auto 52px;align-items:center;gap:12px;padding:8px 4px;border:0;border-radius:12px;background:none;color:var(--nc-creme);font:inherit;text-align:left;cursor:pointer;transition:background .15s}
body.ecx-on .ecx-tp-l:hover{background:rgba(238,238,243,.04)}
body.ecx-on .ecx-tp-l:focus-visible{outline:2px solid var(--nc-sable);outline-offset:2px}
body.ecx-on .ecx-tp-r{font:600 12px var(--font);color:var(--ecx-faint);text-align:center}
body.ecx-on .ecx-tp-v{position:relative;width:56px;aspect-ratio:1;border-radius:10px;overflow:hidden;background:var(--nc-card2);display:grid;place-items:center;color:var(--ecx-faint)}
body.ecx-on .ecx-tp-v img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}
body.ecx-on .ecx-tp-v .ecx-i{width:18px;height:18px}
body.ecx-on .ecx-tp-t{min-width:0;display:flex;flex-direction:column;gap:2px}
body.ecx-on .ecx-tp-t b{font-size:13px;font-weight:550;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.ecx-on .ecx-tp-t small{font-size:11.5px;color:var(--ecx-faint)}
body.ecx-on .ecx-tp-n{display:flex;flex-direction:column;align-items:flex-end;line-height:1.15}
body.ecx-on .ecx-tp-n b{font:600 15px var(--font);letter-spacing:-.01em}
body.ecx-on .ecx-tp-n small{font-size:11px;color:var(--ecx-faint)}
body.ecx-on .ecx-tp-l .ecx-pil{justify-self:end}
@media (max-width:700px){
  body.ecx-on .ecx-tp-l{grid-template-columns:48px minmax(0,1fr) auto;gap:10px;min-height:60px}
  body.ecx-on .ecx-tp-r,body.ecx-on .ecx-tp-l>.ecx-pil,body.ecx-on .ecx-tp-l>span:last-child:empty{display:none}
  body.ecx-on .ecx-tp-v{width:48px}
}
/* le nombre de fichiers sur les pastilles de genre de la bibliothèque */
body.ecx-on .ecx-genres .ecx-gn{font-style:normal;font-size:10.5px;font-weight:600;margin-left:5px;opacity:.6}
body.ecx-on .ecx-genres button.on .ecx-gn{opacity:.75}

/* retouche du 1/12 (vue à l'image sur le vrai site) : avec trois chiffres seulement, la rangée ne remplissait pas la largeur */
@media (min-width:1101px){body.ecx-on .ecx-acc2 .ecx-kpis{grid-auto-columns:minmax(176px,1fr)}}

/* LE POUCE ET LA BULLE (1/12) : deux petits ronds discrets sur chaque film et chaque script ; pouce plein et « Validé le … » une fois
   l'accord donné, nombre de remarques sur la bulle. Toujours visibles (pas de survol nécessaire). */
body.ecx-on .ecx-pb{display:inline-flex;align-items:center;gap:6px;flex:none;vertical-align:middle}
body.ecx-on .ecx-av-b{position:relative;width:30px;height:30px;border-radius:999px;border:1px solid var(--nc-line2);background:transparent;color:rgba(237,237,242,.72);display:grid;place-items:center;cursor:pointer;padding:0;transition:background .15s,border-color .15s,color .15s}
body.ecx-on .ecx-av-b .ecx-i{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body.ecx-on .ecx-av-b:hover{background:rgba(210,209,204,.12);border-color:rgba(210,209,204,.5);color:var(--nc-creme)}
body.ecx-on .ecx-av-b:focus-visible{outline:2px solid var(--nc-sable);outline-offset:2px}
body.ecx-on .ecx-av-ok.on{background:var(--nc-sable);border-color:var(--nc-sable);color:var(--nc-encre)}
body.ecx-on .ecx-av-ok.on .ecx-i{fill:currentColor;stroke:currentColor}
body.ecx-on .ecx-av-ok.lecture:not(.on){opacity:.55;cursor:default}
body.ecx-on .ecx-av-n{position:absolute;top:-5px;right:-6px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:var(--nc-creme);color:var(--nc-encre);font:700 10px/16px var(--font);font-style:normal;text-align:center}
body.ecx-on .ecx-av-l{font-size:11.5px;color:var(--nc-sable);white-space:nowrap}
body.ecx-on .ecx-av-l[hidden],body.ecx-on .ecx-av-n[hidden]{display:none}
body.ecx-on .ecx-fr-av{display:flex;justify-content:flex-end}
body.ecx-on .ecx-fr-av .ecx-av-l{display:none}
body.ecx-on .ecx-une-a .ecx-pb{margin-left:4px}
body.ecx-on .ecx-tl2 .ecx-la{gap:4px;align-items:center}
body.ecx-on .ecx-tl2 .ecx-la .ecx-pb{gap:4px}
body.ecx-on .ecx-tl2 .ecx-la .ecx-av-b{width:28px;height:28px}
body.ecx-on .ecx-tl2 .ecx-la .ecx-av-l{display:none}
body.ecx-on .ecx-sc{display:inline-flex;align-items:center;gap:6px;max-width:100%}
body.ecx-on .ecx-sc .ecx-av-b{width:26px;height:26px}
body.ecx-on .ecx-sc .ecx-av-b .ecx-i{width:13px;height:13px}
body.ecx-on .ecx-sc .ecx-av-l{display:none}
body.ecx-on .ecx-une-docs .ecx-sc{margin-right:6px}
body.ecx-on .ecx-mois-fw{display:flex;flex-direction:column;gap:8px;min-width:0}
body.ecx-on .ecx-mois-fw>.ecx-pb{padding:0 6px}
/* la bulle ouverte : un champ court sur place */
body.ecx-on .ecx-avpop{position:fixed;z-index:400;padding:12px;border-radius:14px;background:#1f1f20;border:1px solid var(--nc-line2);box-shadow:0 18px 48px rgba(0,0,0,.5);display:flex;flex-direction:column;gap:10px;animation:ecxMenu .16s cubic-bezier(.23,1,.32,1)}
body.ecx-on .ecx-avpop-t{margin:0;font-size:12.5px;font-weight:600;color:var(--nc-creme);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.ecx-on .ecx-avpop-l{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;max-height:180px;overflow:auto}
body.ecx-on .ecx-avpop-l li{display:flex;flex-direction:column;gap:2px;font-size:12.5px;color:var(--ecx-mute);line-height:1.4}
body.ecx-on .ecx-avpop-l b{font-size:11.5px;color:var(--nc-creme);font-weight:600}
body.ecx-on .ecx-avpop-l em{font-style:normal;font-size:11px;color:var(--nc-sable)}
body.ecx-on .ecx-avpop textarea{width:100%;box-sizing:border-box;resize:vertical;min-height:72px;padding:10px 12px;border-radius:10px;border:1px solid var(--nc-line2);background:#101011;color:var(--nc-creme);font:13px/1.45 var(--font);outline:none}
body.ecx-on .ecx-avpop textarea:focus{border-color:rgba(210,209,204,.6)}
body.ecx-on .ecx-avpop-a{display:flex;align-items:center;gap:8px}
body.ecx-on .ecx-avpop-a small{flex:1;font-size:11.5px;color:var(--ecx-faint)}
body.ecx-on .ecx-avpop-a button{height:32px;padding:0 14px;border-radius:999px;font:600 12.5px var(--font);cursor:pointer;border:1px solid var(--nc-line2);background:transparent;color:var(--nc-creme)}
body.ecx-on .ecx-avpop-a .ecx-avpop-ok{background:var(--nc-creme);border-color:var(--nc-creme);color:var(--nc-encre)}
body.ecx-on .ecx-avpop-a .ecx-avpop-ok:disabled{opacity:.5}
/* la barre « Annuler » */
body.ecx-on .ecx-snack{position:fixed;z-index:420;left:50%;bottom:calc(20px + env(safe-area-inset-bottom));transform:translateX(-50%);display:flex;align-items:center;gap:14px;padding:10px 10px 10px 16px;border-radius:999px;background:#e0e0e5;color:#131314;font:500 13px var(--font);box-shadow:0 14px 40px rgba(0,0,0,.45);max-width:calc(100vw - 32px);animation:ecxMenu .18s cubic-bezier(.23,1,.32,1)}
body.ecx-on .ecx-snack button{height:32px;padding:0 14px;border-radius:999px;border:0;background:#131314;color:#ededf2;font:600 12.5px var(--font);cursor:pointer}
@media (max-width:700px){
  body.ecx-on .ecx-av-b{width:44px;height:44px}
  body.ecx-on .ecx-av-b .ecx-i{width:18px;height:18px}
  body.ecx-on .ecx-sc .ecx-av-b{width:40px;height:40px}
  body.ecx-on .ecx-fr-av{justify-content:flex-start;padding-left:118px}
  body.ecx-on .ecx-fr-av .ecx-av-l{display:inline}
  body.ecx-on .ecx-tl2 .ecx-ligne{grid-template-columns:minmax(0,1fr) auto;height:auto;min-height:64px;padding:6px 4px}
  body.ecx-on .ecx-tl2 .ecx-la .ecx-av-b{width:36px;height:36px}
  body.ecx-on .ecx-tl2 .ecx-la .ecx-pb .ecx-av-b{width:36px;height:36px}
  body.ecx-on .ecx-snack{border-radius:16px;left:16px;right:16px;transform:none;max-width:none;justify-content:space-between;bottom:calc(84px + env(safe-area-inset-bottom))}
}
@media (prefers-reduced-motion:reduce){body.ecx-on .ecx-avpop,body.ecx-on .ecx-snack{animation:none}}

/* AU TÉLÉPHONE, LA BARRE D'ONGLETS ET LA FEUILLE « PLUS » (1/12) : d'après Sorvo, une capsule flottante en bas, cinq portes,
   l'onglet allumé en sable ; la barre complète de l'espace s'ouvre en feuille par le bas. Zones sûres de l'iPhone respectées. */
body.ecx-on .ecx-tab,body.ecx-on .ecx-voile{display:none}
@media (max-width:860px){
  body.ecx-on.ecx-tab-on:not(.ecx-verre) .ecx-tab{display:flex;position:fixed;z-index:80;left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));bottom:calc(10px + env(safe-area-inset-bottom));height:64px;padding:6px;gap:2px;border-radius:24px;background:rgba(26,26,27,.88);border:1px solid rgba(237,237,242,.1);box-shadow:0 18px 44px -12px rgba(0,0,0,.7),inset 0 1px 0 rgba(255,255,255,.05);-webkit-backdrop-filter:blur(22px) saturate(150%);backdrop-filter:blur(22px) saturate(150%)}
  body.ecx-on .ecx-tab button{position:relative;flex:1 1 0;min-width:0;min-height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:0 2px;border:0;border-radius:18px;background:none;color:rgba(237,237,242,.62);font:560 10.5px/1.1 var(--font);letter-spacing:.01em;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background-color .2s,color .2s}
  body.ecx-on .ecx-tab button span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  body.ecx-on .ecx-tab .ecx-i{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
  body.ecx-on .ecx-tab button.on,body.ecx-on .ecx-tab button[aria-expanded="true"]{background:var(--nc-sable,#e9e9ee);color:var(--nc-encre,#131314)}
  body.ecx-on .ecx-tab button:focus-visible{outline:2px solid var(--nc-sable,#e9e9ee);outline-offset:2px}
  body.ecx-on .ecx-tab-n{position:absolute;top:4px;left:calc(50% + 6px);min-width:16px;height:16px;padding:0 4px;border-radius:99px;background:#e2553f;color:#fff;font:700 9.5px/16px var(--font);font-style:normal;text-align:center}
  body.ecx-on .ecx-tab-n[hidden]{display:none}
  /* la place de la capsule sous le contenu, et la bulle d'équipe qui ferait doublon avec l'onglet Messages */
  body.ecx-on.ecx-tab-on:not(.ecx-verre):not(.ecx-chat-on) #view{padding-bottom:calc(96px + env(safe-area-inset-bottom))!important}
  body.ecx-on.ecx-tab-on:not(.ecx-verre):not(.ecx-chat-on) .foot{padding-bottom:calc(92px + env(safe-area-inset-bottom))}
  body.ecx-on.ecx-tab-on:not(.ecx-verre) .msgc-btn{display:none}
  /* la barre de l'espace : rangée hors de la page, elle s'ouvre en feuille par « Plus » */
  body.ecx-on.ecx-tab-on:not(.ecx-verre) .ecx-side{display:none}
  body.ecx-on.ecx-tab-on.ecx-chat-on:not(.ecx-verre) #view{padding-bottom:calc(84px + env(safe-area-inset-bottom))!important}
  body.ecx-on.ecx-tab-on.ecx-feuille:not(.ecx-verre) .ecx-side{display:flex!important;flex-direction:column;position:fixed!important;z-index:90;left:0!important;right:0!important;top:auto!important;bottom:0!important;width:auto!important;height:auto!important;max-height:min(78vh,640px);overflow-y:auto!important;margin:0!important;padding:10px 14px calc(18px + env(safe-area-inset-bottom))!important;border:0!important;border-top:1px solid rgba(237,237,242,.12)!important;border-radius:24px 24px 0 0!important;background:#181819!important;box-shadow:0 -24px 60px rgba(0,0,0,.6)!important;animation:ecxFeuille .26s cubic-bezier(.2,.8,.2,1)}
  body.ecx-on.ecx-feuille .ecx-side::after{content:"";order:-1;align-self:center;flex:none;width:38px;height:4px;margin:0 0 10px;border-radius:99px;background:rgba(237,237,242,.22)}
  body.ecx-on.ecx-feuille .ecx-side .ecx-nav{display:flex!important;flex-direction:column!important;overflow:visible!important;gap:2px!important}
  body.ecx-on.ecx-feuille .ecx-side .ecx-nav>button,body.ecx-on.ecx-feuille .ecx-side .ecx-pr{width:100%!important;min-height:46px!important;border:0!important;border-radius:12px!important;justify-content:flex-start;font-size:15px!important}
  body.ecx-on.ecx-feuille .ecx-side .ecx-nav h5{display:block!important;margin:12px 10px 4px}
  body.ecx-on.ecx-feuille .ecx-side .ecx-nav>button.ecx-nplus{display:flex!important}
  body.ecx-on.ecx-feuille .ecx-side [data-nplus],body.ecx-on.ecx-feuille .ecx-side .ecx-plier,body.ecx-on.ecx-feuille .ecx-side .ecx-nav-ind{display:none!important}
  body.ecx-on.ecx-feuille .ecx-side .ecx-bas{display:block!important;margin-top:10px}
  body.ecx-on.ecx-feuille .ecx-side .ecx-inviter{min-height:44px}
  body.ecx-on.ecx-tab-on.ecx-feuille .ecx-voile{display:block;position:fixed;inset:0;z-index:85;background:rgba(6,6,6,.58);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
}
@keyframes ecxFeuille{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){body.ecx-on .ecx-side{animation:none}}

/* TÉLÉPHONE, DENSITÉ (1/12) : chiffres en bande qui défile, titres de page plus courts, films du mois en deux colonnes,
   pastilles et boutons à 44 px sous le doigt. */
body.ecx-on .ecx-vtitre .ecx-pb{margin-top:10px}
@media (max-width:700px){
  body.ecx-on .ecx-tab button{font-size:10px;letter-spacing:0}
  body.ecx-on .ecx-acc2 .ecx-kpis{grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:minmax(142px,42%);overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;margin:0 -16px;padding:0 16px 2px;scroll-padding:0 16px}
  body.ecx-on .ecx-acc2 .ecx-kpis::-webkit-scrollbar{display:none}
  body.ecx-on .ecx-acc2 .ecx-kpis>*{scroll-snap-align:start}
  body.ecx-on .ecx-acc2 .ecx-kpis .ecx-barres,body.ecx-on .ecx-acc2 .ecx-kpis .ecx-anneau{display:none}
  body.ecx-on .ecx-ph{flex-wrap:wrap;gap:8px 10px;margin-bottom:14px}
  body.ecx-on .ecx-ph>div:first-child{flex:1 1 100%;min-width:0}
  body.ecx-on .ecx-ph h1{font-size:24px}
  body.ecx-on .ecx-ph p{font-size:13px}
  body.ecx-on .ecx-ph .btn{height:44px}
  body.ecx-on .ecx-mois-films{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  body.ecx-on .ecx-mois-film{padding:6px 6px 10px;border-radius:14px;gap:2px}
  body.ecx-on .ecx-mois-film b{padding:0 4px;font-size:13px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.25}
  body.ecx-on .ecx-mois-film small{padding:0 4px;font-size:11.5px}
  body.ecx-on .ecx-mois-fw>.ecx-pb{padding:0 2px}
  body.ecx-on .ecx-mois-fw .ecx-av-b{width:44px;height:44px}
  body.ecx-on .ecx-mois-fw .ecx-av-l{display:none}
  body.ecx-on .ecx-trim-docs{gap:8px}
  body.ecx-on .ecx-sc{max-width:100%;min-width:0}
  body.ecx-on .ecx-sc .ecx-trim-doc{min-height:44px;min-width:0;flex:0 1 auto}
  body.ecx-on .ecx-sc .ecx-trim-doc span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  body.ecx-on .ecx-sc .ecx-av-b{width:44px;height:44px}
}
@media (max-width:700px){
  /* chiffres de l'accueil : la hauteur du contenu, pas plus */
  body.ecx-on .ecx-acc2 .ecx-kpis .ecx-chif-c{grid-template-rows:auto auto auto;height:auto}
  body.ecx-on .ecx-acc2 .ecx-kpis{align-items:stretch}
  /* la bibliothèque en liste : le titre garde la largeur, le pouce et la bulle passent sous le titre, le téléchargement reste à droite */
  body.ecx-on .ecx-tl2 .ecx-ligne{grid-template-columns:minmax(0,1fr) 44px;grid-template-rows:auto auto;height:auto;min-height:64px;padding:6px 4px;row-gap:0;align-items:center}
  body.ecx-on .ecx-tl2 .ecx-ligne>.ecx-n{grid-column:1;grid-row:1}
  body.ecx-on .ecx-tl2 .ecx-ligne>.ecx-la{display:contents}
  body.ecx-on .ecx-tl2 .ecx-la .ecx-pb{grid-column:1;grid-row:2;justify-self:start;margin:-8px 0 2px 88px}
  body.ecx-on .ecx-tl2 .ecx-la .ecx-pb .ecx-av-b{width:44px;height:44px}
  body.ecx-on .ecx-tl2 .ecx-la .ecx-pb .ecx-av-l{display:inline;font-size:11px}
  body.ecx-on .ecx-tl2 .ecx-la>:not(.ecx-pb){grid-column:2;grid-row:1/3;align-self:center}
  body.ecx-on .ecx-tl2 .ecx-coche{width:24px;height:24px;left:2px;top:2px}
  body.ecx-on .ecx-fbarre .btn,body.ecx-on .ecx-genres button,body.ecx-on .ecx-vues button{min-height:44px}
  body.ecx-on .ecx-vues button{width:44px}
  /* la salle de projection : onglets et zone d'écriture faits pour le doigt */
  body.ecx-on .ecx-onglets button{height:44px}
  body.ecx-on .ecx-bas2{flex-wrap:wrap}
  body.ecx-on .ecx-bas2 small{display:none}
  body.ecx-on .ecx-bas2 .btn{height:44px;padding:0 18px}
  body.ecx-on .ecx-chip{height:32px}
  body.ecx-on .ecx-vfmts button,body.ecx-on .en-fmts.ecx-vfmts button{min-height:44px}
}
@media (max-width:700px){
  body.ecx-on .ecx-fr-t{min-height:44px}
  body.ecx-on .ecx-doss-fil button{min-height:44px}
  body.ecx-on .ecd-ver .ecd-lien{min-height:44px;min-width:44px;padding:0 6px}
  body.ecx-on .pl-code .pl-lien{min-height:44px;padding:0 10px}
  body.ecx-on .ecx-tri select{min-width:44px;height:100%}
  body.ecx-on .ctn-ong{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;margin-left:-16px;margin-right:-16px;padding:0 16px;scroll-padding:0 16px}
  body.ecx-on .ctn-ong button{height:44px}
  body.ecx-on .ctn-ct .ctn-l{min-height:44px;display:inline-flex;align-items:center}
}
@media (max-width:700px){
  body.ecx-on .ecx-acc2 .ecx-kpis .ecx-chif-c,body.ecx-on .ecx-acc2 .ecx-kpis .engage-card{height:100%}
  body.ecx-on .ecx-acc2 .ecx-kpis .eng-sub{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  body.ecx-on .ecx-acc2 .ecx-kpis .eng-headline{margin-top:4px}
  body.ecx-on .ecx-resume-go{min-height:44px}
  body.ecx-on .ecx-doss-fil>button,body.ecx-on .ecx-doss-fil button{min-height:44px;height:44px}
}
@media (max-width:700px){body.ecx-on .ecx-acc2 .cx-banners{margin-top:16px}}

/* LA MESSAGERIE DANS L'AMBIANCE « NUIT CHAUDE » (1/12) : plus de bleu, la bulle envoyée en sable sombre, les gestes en sable */
body.ecx-on .ch-m.moi .ch-b{background:rgba(210,209,204,.16);border:1px solid rgba(210,209,204,.34);color:var(--nc-creme,#ededf2)}
body.ecx-on .ch-m.moi .ch-h{color:rgba(237,237,242,.6)}
body.ecx-on .ch-pj,body.ecx-on .ch-depose .ecx-i,body.ecx-on .ch-fil.nl .ch-fm small{color:var(--nc-sable,#e9e9ee)}
body.ecx-on .ch-nl{background:var(--nc-sable,#e9e9ee);color:var(--nc-encre,#131314)}
body.ecx-on .ch-cite>div{background:rgba(210,209,204,.1)}
body.ecx-on .ch-saisie textarea:focus{border-color:rgba(210,209,204,.55)}
body.ecx-on .ch-depose{border-color:rgba(210,209,204,.5)}
body.ecx-on .ch-saisie textarea{background:#1a1a1a;border-color:rgba(237,237,242,.1)}
body.ecx-on .ch-saisie textarea::placeholder{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:700px){
  body.ecx-on .ch-retour{min-width:44px;min-height:44px}
  body.ecx-on .ch-ic{min-width:44px;min-height:44px}
  body.ecx-on .ch-saisie{gap:4px}
}
@media (max-width:700px){
  body.ecx-on .ecx-ariane button{min-height:44px}
  body.ecx-on #ecxSelInfo button{min-height:44px}
  body.ecx-on.ecx-feuille .ecx-side .ecx-nav h5{min-height:44px;display:flex!important;align-items:center}
}
@media (max-width:380px){body.ecx-on .ecx-tab{padding:6px 4px}body.ecx-on .ecx-tab button{font-size:9.5px;letter-spacing:-.01em;padding:0}}
@media (max-width:860px){body.ecx-on.ecx-feuille .ecx-side .ecx-nav h5{justify-content:flex-start;text-align:left}}
@media (max-width:860px){
  body.ecx-on.ecx-feuille .ecx-side .ecx-ind{display:none!important}
  body.ecx-on.ecx-feuille .ecx-side .ecx-nav>button.on,body.ecx-on.ecx-feuille .ecx-side .ecx-pr.on{background:rgba(210,209,204,.14)!important;color:var(--nc-creme,#ededf2)!important}
}
