/* Les pièces de « J'envoie » (inc/app/envoie-pieces.php), 30/11/2026. La scène, les objets et la barre sont dans cabine.css.
   Décors en cqw (largeur de la scène). Retouche : DJ_ENVOIE_V +1. */
.cab.en{--c:var(--lime);--c-encre:#131A00}.en-studio{--cab-piece:url(/assets/envoie/studio.webp)}.en-studio .cab-image{filter:saturate(.6) brightness(.95)}
.en-titre{position:absolute;z-index:3;left:26px;top:20px;pointer-events:none}.en-titre h1{font-size:clamp(26px,3vw,36px);line-height:1.1;margin:0;text-shadow:0 2px 18px #000}.en-titre p{margin:4px 0 0;color:#E9ECDD;font-size:15px;text-shadow:0 1px 10px #000}
.en a{text-decoration:none}.en .cab-bas .bouton{min-height:54px;gap:8px}.en .cab-bas .bouton svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
.en-fin{margin-left:auto;display:flex;gap:12px;align-items:center;flex:none}.en-dit{display:grid;gap:2px;margin:0;line-height:1.35}.en-dit b{font:700 19px var(--titre)}.en-dit small{color:var(--muet);font-size:14px;max-width:70ch}
/* le mur */
.en-mur{position:absolute;left:31.7%;top:19.7%;width:36.7%;height:32%;overflow:hidden;background:#07080A;display:grid;grid-template-rows:1fr auto}
.en-fondm{position:absolute;inset:-10%;background:var(--im) center/cover;filter:blur(1.4cqw) brightness(.38) saturate(1.3)}
.en-mur-h{position:relative;display:flex;gap:1.5cqw;align-items:center;padding:1.5cqw 1.7cqw .6cqw;min-width:0;color:#fff}.en-mur-h:hover{color:#fff}.en-mur-h>i{width:9.6cqw;height:9.6cqw;background:var(--im) center/cover;flex:none;box-shadow:0 .5cqw 2cqw #000}.en-mur-h>span{min-width:0}
.en-mur-h b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font:700 2.9cqw/1.02 var(--titre);letter-spacing:-.02em;overflow-wrap:anywhere}.en-mur-h small{display:block;font-size:1.2cqw;color:#E7EADB;margin-top:.6cqw}.en-mur-h em{display:inline-block;font:700 1.15cqw/1 var(--corps);font-style:normal;background:var(--c);color:var(--c-encre);border-radius:99px;padding:.55cqw 1.1cqw;margin-top:.9cqw}
.en-onde{position:relative;height:5.4cqw;display:flex;gap:1.1cqw;align-items:center;padding:0 1.7cqw 1.2cqw}.en-lire{width:4cqw;height:4cqw;border-radius:50%;border:0;background:var(--c);color:var(--c-encre);display:grid;place-items:center;cursor:pointer;flex:none;padding:0}.en-lire[hidden]{display:none}.en-lire svg{width:44%;height:44%;fill:currentColor}.en-lire.joue svg path{d:path("M7 5h4v14H7zM14 5h4v14h-4z")}
.en-barres{flex:1;height:100%;display:flex;align-items:flex-end;gap:.22cqw;--p:0}.en-barres i{flex:1;height:var(--h);background:linear-gradient(var(--c),#7D9A1C);border-radius:.1cqw;opacity:.9;transform-origin:bottom}.en-lire.joue+.en-barres i{animation:en-bat .9s ease-in-out infinite alternate;animation-delay:calc(var(--d)*-.13s)}@keyframes en-bat{to{transform:scaleY(.35)}}
.en-mur-vide{align-content:center;justify-items:center;text-align:center;grid-template-rows:auto;color:#fff}.en-mur-vide b{display:block;font:700 2.8cqw/1.08 var(--titre);max-width:24cqw}.en-mur-vide em{display:inline-block;margin-top:1.6cqw;font:700 1.4cqw/1 var(--corps);background:var(--c);color:var(--c-encre);border-radius:99px;padding:1.1cqw 1.8cqw}
/* les chiffres */
.en-chif{position:absolute;top:20%;width:21%;text-align:center;text-shadow:0 0 1cqw #000}.en-chif b{display:block;font:700 5.4cqw/1 var(--titre);color:#fff;text-shadow:0 0 .4cqw var(--k,var(--c)),0 0 2.2cqw var(--k,var(--c)),0 0 5cqw var(--k,var(--c));font-variant-numeric:tabular-nums}.en-chif small{display:block;font-size:max(1.25cqw,11px);font-weight:600;margin-top:.5cqw;color:#F0F2E6}
.en .cab-scene>.en-voyants{left:20.5%;top:62.3%;width:59%;display:grid;grid-template-columns:repeat(5,1fr);gap:.8cqw}.en-voyants>span{font-size:max(1.1cqw,10px);font-weight:600;color:#EDF0E0;text-align:center;background:rgba(8,9,6,.8);border-radius:.5cqw;padding:.5cqw .4cqw}.en-voyants b{font:700 1.9cqw/1 var(--titre);color:var(--k,#fff)}.en-voyants em{font-style:normal}.en-voyants u{display:block;height:.45cqw;border-radius:99px;background:#2C2F22;margin-top:.5cqw;overflow:hidden;text-decoration:none}.en-voyants u i{display:block;height:100%;background:var(--k,var(--c));box-shadow:0 0 .8cqw var(--k,var(--c))}
/* la baie de prises */
.en .cab-scene>.en-baie{left:20.5%;top:69%;width:59%;padding:1cqw 1.2cqw;border-radius:.5cqw;background:linear-gradient(#22231D,#0E0F0B);box-shadow:0 1cqw 2.4cqw rgba(0,0,0,.7),inset 0 .1cqw 0 rgba(255,255,255,.14);display:flex;flex-wrap:wrap;gap:.7cqw .55cqw;justify-content:center;align-items:flex-start}
.en-jack{width:5.55cqw;text-align:center;font-size:max(.95cqw,10px);line-height:1.2;color:#D9DCCB}.en-jack:hover{color:#fff}.en-jack>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.en-jack>i{display:grid;place-items:center;position:relative;width:4.2cqw;aspect-ratio:1;margin:0 auto .5cqw;border-radius:50%;background:var(--im,none) center/cover #14150F;border:.35cqw solid #3A3B30;box-shadow:inset 0 0 0 .2cqw #000;font-style:normal;transition:transform .15s}.en-jack:hover>i{transform:scale(1.08)}.en-jack i b{font:700 1.7cqw/1 var(--titre);color:#fff;text-shadow:0 0 .6cqw #000}
.en-jack.v>i{border-color:#8B8F7C}.en-jack.e>i{border-color:#6FB7FF;box-shadow:0 0 1.2cqw #6FB7FF88}.en-jack.r>i{border-color:#F2F2E8;box-shadow:0 0 1.2cqw #FFF6}.en-jack.o>i{border-color:var(--c);box-shadow:0 0 1.8cqw var(--c)}.en-jack.p>i{border-color:#F2C566;box-shadow:0 0 2cqw #F2C566}.en-jack.x>i{border-color:#5C2630;filter:grayscale(1) brightness(.55)}
.en-jack u{position:absolute;right:-.6cqw;bottom:-.5cqw;min-width:1.8cqw;height:1.8cqw;border-radius:99px;background:#0B0C08;color:#fff;font:700 1.05cqw/1.8cqw var(--corps);padding:0 .35cqw;text-decoration:none;white-space:nowrap}
.en-jack.plus>i{border-style:dashed;color:var(--c)}.en-jack.plus svg{width:50%;height:50%;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round}.en-jack.plus{color:var(--c);white-space:normal}.en-jack.plus>span{white-space:normal}
/* le rayon */
.en-dis{display:flex;align-items:center;gap:12px;padding:7px 18px 7px 7px;border-radius:18px;background:#1B1C17;color:var(--texte);flex:none;line-height:1.25;max-width:270px}.en-dis:hover{background:#272920;color:var(--texte)}.en-dis>i{width:54px;height:54px;border-radius:12px;background:var(--im) center/cover;flex:none}.en-dis>span{display:grid;min-width:0}.en-dis b{font:700 16px/1.2 var(--titre);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.en-dis small{color:var(--muet);font-size:13px;white-space:nowrap}.en-dis[aria-current],.en-dis[aria-current]:hover{background:var(--c);color:var(--c-encre)}.en-dis[aria-current] small{color:inherit;opacity:.85}
.en :is(a,button):focus-visible{outline:3px solid #fff;outline-offset:2px}
.en-studio+.bloc-serre{padding-top:26px}
/* le tiroir (envoie.js) : une partie de la page du titre, sans quitter le studio */
.en-tiroir{border:0;padding:0;margin:0 0 0 auto;width:min(520px,100vw);max-width:none;height:100dvh;max-height:none;background:#131410;color:var(--texte);border-left:1px solid #2B2D22}
.en-tiroir[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;animation:en-vient .3s cubic-bezier(.3,.8,.25,1)}@keyframes en-vient{from{transform:translateX(60px);opacity:0}}.en-tiroir::backdrop{background:rgba(4,5,2,.58)}
.en-tiroir header{display:flex;gap:12px;align-items:center;padding:16px 16px 12px 24px}.en-tiroir header h2{flex:1;margin:0;font-size:26px;min-width:0}.en-tiroir header button{width:48px;height:48px;border-radius:50%;border:0;background:#25271D;color:var(--texte);font-size:22px;cursor:pointer}.en-tiroir header button:hover{background:#34372A}
.en-dedans{overflow:hidden auto;padding:6px 24px 26px;scrollbar-width:thin}.en-dedans>.carte{background:none;border:0;padding:0}.en-dedans .envoi-carte{background:#1C1D18;border-color:#2B2D22;grid-template-columns:36px minmax(0,1fr)}.en-dedans .envoi-statut{grid-column:2;align-items:flex-start;text-align:left;flex-direction:row;flex-wrap:wrap;gap:6px 12px}.en-dedans .grille-2{grid-template-columns:1fr}
.en-tiroir footer{padding:12px 24px;border-top:1px solid #2B2D22;background:#0F100C}.en-tiroir footer .bouton{width:100%;justify-content:center;min-height:52px}
@media (max-width:999px){
  .en-titre{left:16px;top:12px}.en-titre p{display:none}.en-jack{font-size:0;width:8cqw}.en-jack>i{width:6.6cqw}.en-jack i b{font-size:2.8cqw}.en-jack u{font-size:2cqw;line-height:2.8cqw;height:2.8cqw;min-width:2.8cqw}.en .cab-scene>.en-baie{left:8%;width:84%}.en .cab-scene>.en-voyants{left:8%;width:84%;top:54.5%;gap:1.2cqw}.en-voyants>span{font-size:10px;line-height:1.1;padding:.6cqw 0}.en-voyants b{display:block;font-size:4cqw}.en-voyants em{display:block}
  .en .cab-scene{-webkit-mask-image:none;mask-image:none}.en-mur{left:26%;width:48%;height:35%;top:16%}.en-mur-h small,.en-mur-h em{font-size:1.9cqw}.en-chif{width:22%;left:2%!important}.en-chif+.en-chif{left:76%!important}.en-chif small{font-size:max(1.9cqw,9px)}
  .en-fin{margin-left:0;flex:1 1 100%}.en-fin .bouton{flex:1;justify-content:center;text-align:center;white-space:normal;line-height:1.2}.en-dis{max-width:78vw}.en-dit{flex-basis:100%}
  .en-tiroir{width:100vw;height:88dvh;margin:auto 0 0;border-left:0;border-radius:26px 26px 0 0}@keyframes en-vient{from{transform:translateY(60px);opacity:0}}
}
@media (prefers-reduced-motion:reduce){.en-tiroir[open],.en-lire.joue+.en-barres i{animation:none}}
