.zoom-portal{position:fixed;inset:0;background:rgba(0,0,0,.8);z-index:9999;overflow:auto;padding:2rem}.zoom-portal,.zoom-portal-inner{display:flex;align-items:center;justify-content:center}.zoom-portal-inner{position:relative;max-width:100%;max-height:100%}.zoom-portal-image-fixed{max-width:100%;max-height:100vh;height:auto;object-fit:contain;display:block;margin:0 auto}.zoom-portal-close{position:absolute;top:.5rem;right:.5rem;background:#fff;font-size:1.5rem;padding:.2rem .6rem;border-radius:4px}.zoom-image-wrapper{position:relative;width:90vw;height:90vh;max-width:1200px;max-height:90vh;margin:0 auto}.invisible{opacity:0;height:1px}.visible{opacity:1;transition:opacity .2s ease}.zoom-portal-close{position:fixed;top:1rem;right:1rem;z-index:9999;background:white;border:none;border-radius:50%;font-size:2rem;line-height:1;padding:.3rem .7rem;box-shadow:0 0 6px rgba(0,0,0,.2);cursor:pointer;transition:background .2s ease}.zoom-portal-close:hover{background:#eee}