/* Beger AI Inspire beta.14.4: popup motion only. No button or loading restyling. */
@keyframes begerPopupBackdropIn144 { from { opacity:0; } to {opacity:1;} }
@keyframes begerPopupBackdropOut144 { from { opacity:1; } to {opacity:0;} }
@keyframes begerPopupPanelIn144 { from { opacity:0; transform:translate3d(0,9px,0) scale(.96); } to { opacity:1; transform:translate3d(0,0,0) scale(1); } }
@keyframes begerPopupPanelOut144 { from {opacity:1; transform:translate3d(0,0,0) scale(1);} to {opacity:0; transform:translate3d(0,5px,0) scale(.98);} }
/* Fullscreen viewer: exact black 80%, no navy or blur. */
html body .wb-ai-lightbox-overlay {
  background:rgba(0,0,0,.80)!important;
  background-image:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
html body .wb-ai-lightbox-overlay.beger-popup-enter {
  display:block!important;
  animation:begerPopupBackdropIn144 250ms ease-out both!important;
}
html body .wb-ai-lightbox-overlay.beger-popup-enter .wb-ai-lightbox-img {
  animation:begerPopupLightboxIn144 250ms ease-out both!important;
}
@keyframes begerPopupLightboxIn144 {from {opacity:0;transform:translate(-50%,-50%) scale(.96);}to {opacity:1;transform:translate(-50%,-50%) scale(1);}}
html body .wb-ai-lightbox-overlay.beger-popup-closing {animation:begerPopupBackdropOut144 180ms ease-in both!important;pointer-events:none!important;}
html body .wb-ai-lightbox-overlay.beger-popup-closing .wb-ai-lightbox-img {animation:begerPopupLightboxOut144 180ms ease-in both!important;}
@keyframes begerPopupLightboxOut144 {from {opacity:1;transform:translate(-50%,-50%) scale(1);}to {opacity:0;transform:translate(-50%,-50%) scale(.98);}}
/* Review, confirmations and auxiliary overlays use same 250/180ms motion. */
html body .beger-review-overlay,
html body .beger-result-confirm-overlay,
html body .beger-pointer-backdrop {
  animation:begerPopupBackdropIn144 250ms ease-out both!important;
}
html body .beger-review-overlay > .beger-review-dialog,
html body .beger-result-confirm-overlay > .beger-result-confirm-dialog,
html body .beger-pointer-backdrop > .beger-pointer-dialog {
  animation:begerPopupPanelIn144 250ms cubic-bezier(.22,1,.36,1) both!important;
}
html body .beger-review-overlay.beger-popup-closing,
html body .beger-result-confirm-overlay.beger-popup-closing,
html body .beger-pointer-backdrop.beger-popup-closing {
  animation:begerPopupBackdropOut144 180ms ease-in both!important;
  pointer-events:none!important;
}
html body .beger-review-overlay.beger-popup-closing > .beger-review-dialog,
html body .beger-result-confirm-overlay.beger-popup-closing > .beger-result-confirm-dialog,
html body .beger-pointer-backdrop.beger-popup-closing > .beger-pointer-dialog {
  animation:begerPopupPanelOut144 180ms ease-in both!important;
}
/* Payload dialog uses its existing visible class, with panel scale. */
html body .wb-ai-modal-overlay.visible .wb-ai-modal {transform:translateY(0) scale(1);}
html body .wb-ai-modal-overlay .wb-ai-modal {transform:translateY(9px) scale(.96);transition:transform 250ms cubic-bezier(.22,1,.36,1), opacity 250ms ease;opacity:0;}
html body .wb-ai-modal-overlay.visible .wb-ai-modal {opacity:1;}
@media (prefers-reduced-motion:reduce) {
 html body .wb-ai-lightbox-overlay,
 html body .wb-ai-lightbox-overlay .wb-ai-lightbox-img,
 html body .beger-review-overlay, html body .beger-review-overlay > .beger-review-dialog,
 html body .beger-result-confirm-overlay, html body .beger-result-confirm-dialog,
 html body .beger-pointer-backdrop, html body .beger-pointer-dialog {
   animation:none!important;transition:none!important;
 }
 html body .wb-ai-modal-overlay .wb-ai-modal {transition:none!important;}
}
