html body #ex1xg-modal:not([hidden]) .ex1xg-stage{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
html body #ex1xg-modal:not([hidden]) .ex1xg-bar,html body #ex1xg-modal:not([hidden]) .ex1xg-bottom{position:absolute!important;left:0;right:0;z-index:5;background:linear-gradient(#0009,transparent)}
html body #ex1xg-modal:not([hidden]) .ex1xg-bar{top:0;padding-top:max(8px,env(safe-area-inset-top))}
html body #ex1xg-modal:not([hidden]) .ex1xg-bottom{bottom:0;background:linear-gradient(transparent,#0009);padding-bottom:max(8px,env(safe-area-inset-bottom))}
html body #ex1xg-modal:not([hidden]) .ex1xg-stage>button{position:absolute!important;top:50%;transform:translateY(-50%);z-index:4}
#ex1xg-prev{left:4px}#ex1xg-next{right:4px}
html body #ex1xg-modal.ex1xg-screen-fill:not([hidden]) #ex1xg-large{object-fit:cover!important}
@media(max-width:600px){#ex1xg-home-insert .ex1xg-grid,#ex1xg-home-bottom .ex1xg-grid,.ex1xg-full .ex1xg-grid{grid-template-columns:1fr!important;grid-auto-rows:auto!important}
#ex1xg-home-insert .ex1xg-tile,#ex1xg-home-bottom .ex1xg-tile,.ex1xg-full .ex1xg-tile{grid-column:auto!important;grid-row:auto!important;height:auto!important;aspect-ratio:16/9!important;min-height:0!important}
}
