/* PHOTO 1411 — STORIES (fiche plein écran j-annonce.ma). Retour arrière : retirer la ligne PHOTO 1411 de pilote.php. */
.jp-fs.jst .jp-sl{overflow:hidden;scroll-snap-type:none;touch-action:none;-webkit-user-select:none;user-select:none}
.jp-fs.jst .jp-s,.jp-fs.jst .jp-s img{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}
.jp-fs.jst .jp-s{overflow:hidden}
.jp-fs.jst .jp-s img.jst-kb{transform-origin:50% 45%;animation:jstKb 5s linear forwards}
.jp-fs.jst-paused .jp-s img.jst-kb{animation-play-state:paused}
@keyframes jstKb{from{transform:scale(1)}to{transform:scale(1.08) translate(-1.2%,-.8%)}}
.jp-fs.jst .jp-s.jst-in-n img{animation:jstInN .26s ease-out}
.jp-fs.jst .jp-s.jst-in-p img{animation:jstInP .26s ease-out}
.jp-fs.jst .jp-s.jst-in-c img{animation:jstInC .26s ease-out}
.jp-fs.jst .jp-s.jst-in-n img.jst-kb{animation:jstInN .26s ease-out,jstKb 5s linear .26s forwards}
.jp-fs.jst .jp-s.jst-in-p img.jst-kb{animation:jstInP .26s ease-out,jstKb 5s linear .26s forwards}
.jp-fs.jst .jp-s.jst-in-c img.jst-kb{animation:jstInC .26s ease-out,jstKb 5s linear .26s forwards}
@keyframes jstInN{from{opacity:.4;transform:translateX(14%)}to{opacity:1;transform:none}}
@keyframes jstInP{from{opacity:.4;transform:translateX(-14%)}to{opacity:1;transform:none}}
@keyframes jstInC{from{opacity:.3;transform:translateY(10%)}to{opacity:1;transform:none}}
.rtl .jp-fs.jst .jp-s.jst-in-n img,[dir=rtl] .jp-fs.jst .jp-s.jst-in-n img{animation-name:jstInP}
.rtl .jp-fs.jst .jp-s.jst-in-p img,[dir=rtl] .jp-fs.jst .jp-s.jst-in-p img{animation-name:jstInN}
/* barres sous les onglets Suivis / Près de moi / Bons plans */
.jst-top{position:absolute;left:14px;right:14px;top:calc(max(14px,env(safe-area-inset-top)) + 50px);z-index:3;pointer-events:none;transition:opacity 280ms}
.jst-row{display:flex;align-items:center;gap:8px}
.jst-bars{flex:1;display:flex;gap:4px;min-width:0}
.jst-b{flex:1;height:3px;border-radius:3px;background:rgba(255,255,255,.35);overflow:hidden}
.jst-b i{display:block;height:100%;width:0;background:#fff;border-radius:3px}
.jst-pb{pointer-events:auto;flex:none;width:24px;height:24px;border-radius:50%;border:0;background:rgba(0,0,0,.28);color:#fff;font-size:9px;line-height:1;display:grid;place-items:center;opacity:.72;cursor:pointer;padding:0}
.jst-pb[hidden]{display:none}
.jst-lab{margin:7px 2px 0;font-size:11px;font-weight:800;letter-spacing:.3px;color:#fff;opacity:.9;text-shadow:0 1px 3px rgba(0,0,0,.55);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jst-toast{position:absolute;left:50%;top:calc(max(14px,env(safe-area-inset-top)) + 96px);transform:translateX(-50%);z-index:6;background:rgba(0,0,0,.62);color:#fff;font-size:11.5px;font-weight:700;padding:6px 12px;border-radius:999px;opacity:0;transition:opacity .2s;pointer-events:none;white-space:nowrap}
.jst-toast.on{opacity:1}
.jp-fs.jph-pleine .jst-top{opacity:.35}
.jp-fs .jp-fsempty~.jst-top,.jp-fs.jst .jp-sl:has(.jp-fsempty)~.jst-top{display:none}
@media (prefers-reduced-motion: reduce){.jp-fs.jst .jp-s img,.jp-fs.jst .jp-s img.jst-kb{animation:none!important}}
.jst-aide{position:absolute;left:50%;top:38%;transform:translate(-50%,6px);z-index:6;background:rgba(0,0,0,.6);color:#fff;font:800 12.5px Montserrat,system-ui,sans-serif;padding:9px 14px;border-radius:999px;white-space:nowrap;opacity:0;transition:opacity .3s,transform .3s;pointer-events:none;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.jst-aide.on{opacity:1;transform:translate(-50%,0)}
/* PHOTO 1411 b — chaque photo ENTIÈRE (contain, centrée) sur un fond = la même photo en cover, floutée et assombrie (façon Instagram / TikTok) */
.jp-fs.jst .jp-s img{object-fit:contain!important;object-position:50% 34%;z-index:1}
.jp-fs.jph-pleine .jp-s img{object-position:50% 50%}
.jp-fs.jst .jp-s[data-jbg]::before{content:"";position:absolute;inset:0;background:var(--jst-bg) center/cover no-repeat;filter:blur(30px) brightness(.55);transform:scale(1.1);z-index:0;pointer-events:none}
.jp-fs.jst .jp-s::after{z-index:2;background:linear-gradient(180deg,rgba(0,0,0,.3) 0,rgba(0,0,0,0) 20%,rgba(0,0,0,0) 48%,rgba(0,0,0,.6) 100%)!important}
.jp-fs.jst .jp-s.jp-slogo[data-jbg]::before,.jp-fs.jst .jp-s.jp-semo[data-jbg]::before{display:none}
.jp-fs.jph-pleine .jp-s[data-jbg]::before{filter:blur(30px) brightness(.32)}
