#tgb-entry-popup{position:fixed;inset:0;z-index:999980;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:24px;background:rgba(8,4,28,.7);overscroll-behavior:contain}
#tgb-entry-popup .tgb-entry-popup-dialog{position:relative;width:max-content;max-width:min(680px,100%);max-height:calc(100dvh - 48px);padding:0;margin:0;border:0;border-radius:16px;background:#fff;box-shadow:0 20px 80px #0006;box-sizing:border-box;}
#tgb-entry-popup .tgb-entry-popup-dialog>a{display:block;padding:0;margin:0;line-height:0;border-radius:16px;}
#tgb-entry-popup .tgb-entry-popup-dialog img{display:block;width:auto!important;height:auto!important;max-width:min(680px,calc(100vw - 48px))!important;max-height:calc(100dvh - 48px)!important;object-fit:contain;margin:0!important;padding:0!important;border:0;border-radius:16px;}
#tgb-entry-popup button.tgb-entry-popup-close{position:absolute;right:8px;top:8px;z-index:2;display:flex;align-items:center;justify-content:center;appearance:none;-webkit-appearance:none;box-sizing:border-box;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;margin:0!important;border:1px solid #ded8ef!important;border-radius:50%!important;background:#fff!important;color:#30206c!important;box-shadow:0 2px 12px #0002;font:32px/1 Arial,sans-serif!important;cursor:pointer;}
#tgb-entry-popup :focus-visible{outline:3px solid #00c7cc;outline-offset:3px;}
@media(max-width:767px){#tgb-entry-popup{padding:16px}#tgb-entry-popup .tgb-entry-popup-dialog{max-height:calc(100dvh - 32px)}#tgb-entry-popup .tgb-entry-popup-dialog img{max-width:calc(100vw - 32px)!important;max-height:calc(100dvh - 32px)!important;}}

#tgb-entry-popup .tgb-entry-popup-dialog.has-cta img{max-height:calc(100dvh - 140px)!important;border-radius:16px 16px 0 0;}
#tgb-entry-popup .tgb-entry-popup-footer{padding:16px;box-sizing:border-box;text-align:center;}
#tgb-entry-popup a.tgb-entry-popup-cta{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 24px;box-sizing:border-box;border-radius:999px;background:linear-gradient(110deg,#383087,#d92bcd);color:#fff;font:600 16px/1.4 sans-serif;text-decoration:none;white-space:normal;overflow-wrap:anywhere;}
#tgb-entry-popup .tgb-entry-popup-dialog.has-cta{overflow-y:auto;}
@media(max-width:767px){#tgb-entry-popup .tgb-entry-popup-dialog.has-cta img{max-height:calc(100dvh - 124px)!important;}}
