.uos-popup-layer{position:fixed;z-index:2147483000;inset:0;pointer-events:none}.uos-popup-layer .uos-popup-backdrop{position:absolute;inset:0;background:#0008;pointer-events:auto}.uos-popup-card{position:absolute;display:flex;flex-direction:column;max-height:80dvh;background:#fff;border-radius:10px;box-shadow:0 16px 48px #0005;overflow:auto;pointer-events:auto}.uos-popup-card.small{width:min(320px,calc(100vw - 32px));max-height:50dvh}.uos-popup-card.medium{width:min(480px,calc(100vw - 32px));max-height:65dvh}.uos-popup-card.large{width:min(720px,calc(100vw - 32px));max-height:80dvh}.uos-popup-layer.top-left .uos-popup-card{top:max(24px,env(safe-area-inset-top));left:max(24px,env(safe-area-inset-left))}.uos-popup-layer.top-right .uos-popup-card{top:max(24px,env(safe-area-inset-top));right:max(24px,env(safe-area-inset-right))}.uos-popup-layer.bottom-left .uos-popup-card{bottom:max(24px,env(safe-area-inset-bottom));left:max(24px,env(safe-area-inset-left))}.uos-popup-layer.bottom-right .uos-popup-card{bottom:max(24px,env(safe-area-inset-bottom));right:max(24px,env(safe-area-inset-right))}.uos-popup-layer.center .uos-popup-card{top:50%;left:50%;transform:translate(-50%,-50%)}.uos-popup-link{display:block;line-height:0}.uos-popup-card img{display:block;width:100%;height:auto;max-width:100%;object-fit:contain}.uos-popup-actions{display:flex;justify-content:flex-end;gap:6px;padding:8px}.uos-popup-actions button{min-height:44px;border:1px solid #d3d8df;background:#fff;color:#18202b;border-radius:7px;padding:8px 12px}@media(max-width:600px){.uos-popup-card{max-width:calc(100vw - 32px);max-height:80dvh}.uos-popup-layer.top-left .uos-popup-card,.uos-popup-layer.top-right .uos-popup-card{top:max(16px,env(safe-area-inset-top))}.uos-popup-layer.bottom-left .uos-popup-card,.uos-popup-layer.bottom-right .uos-popup-card{bottom:max(16px,env(safe-area-inset-bottom))}.uos-popup-layer.top-left .uos-popup-card,.uos-popup-layer.bottom-left .uos-popup-card{left:max(16px,env(safe-area-inset-left))}.uos-popup-layer.top-right .uos-popup-card,.uos-popup-layer.bottom-right .uos-popup-card{right:max(16px,env(safe-area-inset-right))}}@media(prefers-reduced-motion:reduce){.uos-popup-layer *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
