#appop-popup{box-sizing:border-box;position:fixed;z-index:2147483000;right:20px;bottom:20px;width:min(500px,calc(100vw - 32px));height:380px;max-height:calc(100dvh - 32px);overflow:hidden;border-radius:10px;background-color:#201b1a;background-position:center;background-size:cover;box-shadow:0 12px 38px rgba(0,0,0,.4);color:#fff;font-family:inherit;transform:translateY(calc(100% + 45px));opacity:0;visibility:hidden;transition:transform .42s ease,opacity .42s ease,visibility .42s ease}
#appop-popup.appop-visible{transform:translateY(0);opacity:1;visibility:visible}
#appop-popup,#appop-popup *{box-sizing:border-box}
#appop-popup .appop-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(to top,rgba(0,0,0,.88),rgba(0,0,0,var(--appop-overlay,.55)) 55%,rgba(0,0,0,.08))}
#appop-popup .appop-close{position:absolute;z-index:2;right:10px;top:10px;width:34px;height:34px;border:0;border-radius:50%;background:rgba(0,0,0,.72);color:white;font-size:25px;line-height:30px;cursor:pointer;padding:0;text-align:center}
#appop-popup .appop-close:focus-visible,#appop-popup .appop-button:focus-visible{outline:3px solid white;outline-offset:2px}
#appop-popup .appop-content{position:absolute;z-index:1;bottom:0;left:0;right:0;padding:30px 28px 26px;display:flex;align-items:center;flex-direction:column;gap:18px;text-align:center}
#appop-popup .appop-cta{font-size:clamp(19px,2.8vw,27px);line-height:1.25;font-weight:700;margin:0;color:#fff;text-shadow:0 2px 8px #000;white-space:pre-line;overflow-wrap:anywhere}
#appop-popup .appop-button{display:inline-block;max-width:100%;padding:13px 26px;background:var(--appop-button,#a64038);border-radius:5px;color:white;text-decoration:none;font-size:16px;font-weight:700;line-height:1.3;overflow-wrap:anywhere}
#appop-popup .appop-button:hover{filter:brightness(1.15);color:white}
@media(max-width:540px){#appop-popup{right:16px;bottom:16px;height:min(380px,calc(100dvh - 32px))}#appop-popup .appop-content{padding:22px 18px 22px}}
@media(prefers-reduced-motion:reduce){#appop-popup{transition:none}}
