/* ANE Seq — רצף פריימים אינטראקטיבי (גלילה / סיבוב בגרירה / ריחוף / לולאה) */
.ane-seq{position:relative;display:block;width:100%;font-family:'Assistant',system-ui,-apple-system,'Segoe UI',Arial,sans-serif}
.ane-seq-stage{position:relative;width:100%;overflow:hidden;border-radius:var(--ane-seq-radius,24px);background:#0B1410;isolation:isolate;aspect-ratio:16/9}
.ane-seq-stage canvas{position:absolute;inset:0;width:100%;height:100%;display:block;opacity:0;transition:opacity .5s ease}
.ane-seq-stage .ane-seq-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.ane-seq.ane-seq-on .ane-seq-stage canvas{opacity:1}
.ane-seq.ane-seq-on .ane-seq-poster{visibility:hidden}

/* מצב גלילה: המקטע גבוה (--ane-seq-len) והתמונה "נדבקת" באמצע המסך בזמן הגלילה */
.ane-seq-scroll{height:var(--ane-seq-len,260vh)}
/* דביק מתחת לתפריט הקבוע — כך שהתמונה אף פעם לא נחתכת בקצה העליון */
.ane-seq-scroll .ane-seq-stage{position:sticky;top:var(--ane-seq-top,96px);max-height:calc(100vh - var(--ane-seq-gap,128px));width:min(100%,calc((100vh - var(--ane-seq-gap,128px)) * 16 / 9));margin:0 auto}
@supports not (aspect-ratio:1){.ane-seq-stage{height:0;padding-bottom:56.25%}}

/* פס התקדמות עדין + רמז "גללו" */
.ane-seq-scroll .ane-seq-stage::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:linear-gradient(90deg,#12903E,#7BE04B);transform-origin:right center;transform:scaleX(var(--ane-seq-p,0));transition:transform .08s linear;z-index:6}
.ane-seq-scroll .ane-seq-stage::before{content:"גללו לפירוק ↓";position:absolute;right:18px;bottom:14px;z-index:6;color:#fff;background:rgba(11,20,16,.7);border:1px solid rgba(255,255,255,.18);padding:5px 12px;border-radius:999px;font-size:13px;backdrop-filter:blur(6px);opacity:.95;transition:opacity .4s}
.ane-seq-scroll.is-end .ane-seq-stage::before{opacity:0}

/* מצב סיבוב בגרירה */
.ane-seq-drag .ane-seq-stage{cursor:grab;touch-action:pan-y}
.ane-seq-drag.is-dragging .ane-seq-stage{cursor:grabbing}
.ane-seq-drag .ane-seq-stage::before{content:"↔ גררו לסיבוב";position:absolute;right:18px;bottom:14px;z-index:6;color:#fff;background:rgba(11,20,16,.7);border:1px solid rgba(255,255,255,.18);padding:5px 12px;border-radius:999px;font-size:13px;backdrop-filter:blur(6px);transition:opacity .4s}
.ane-seq-drag.is-dragging .ane-seq-stage::before{opacity:0}

/* בולטים בתוך הרצף */
.ane-seq .ane-co{z-index:7;transition:opacity .35s}
.ane-seq .ane-co.is-hidden{opacity:0;pointer-events:none}
@media (max-width:640px){.ane-seq-scroll .ane-seq-stage{--ane-seq-top:78px;--ane-seq-gap:104px}.ane-seq-scroll .ane-seq-stage::before,.ane-seq-drag .ane-seq-stage::before{font-size:12px;padding:4px 10px}}
@media (prefers-reduced-motion:reduce){.ane-seq-stage canvas{transition:none}}
