.sapop-ov { position: fixed; inset: 0; z-index: 999999; background: rgba(0, 0, 0, .62); display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; transition: opacity .25s; box-sizing: border-box; }
.sapop-ov.is-on { opacity: 1; }
.sapop-ov *, .sapop-ov *::before, .sapop-ov *::after { box-sizing: border-box; }
.sapop-box { position: relative; background: #fff; border-radius: 10px; max-width: min(94vw, 520px); max-height: 94vh; overflow: auto; box-shadow: 0 10px 40px rgba(0, 0, 0, .35); text-align: center; }
.sapop-imgl { display: block; line-height: 0; }
.sapop-box img { display: block; width: 100%; height: auto; max-height: 72vh; object-fit: contain; margin: 0; border-radius: 10px 10px 0 0; background: #fff; }
.sapop-x { all: unset; position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #333; font: 700 22px/36px Arial, sans-serif; text-align: center; cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); }
.sapop-x:hover, .sapop-x:focus-visible { background: #fff; outline: 2px solid #783986; }
.sapop-act { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 16px 16px; }
.sapop-go { all: unset; display: inline-block; box-sizing: border-box; padding: 13px 26px; background: #e59635; color: #fff !important; font: 700 16px/1.2 Arial, sans-serif; text-align: center; text-decoration: none !important; border-radius: 6px; cursor: pointer; }
.sapop-go:hover, .sapop-go:focus-visible { background: #cf7f1d; outline: 2px solid #783986; outline-offset: 2px; }
.sapop-no { all: unset; padding: 8px 10px; color: #555; font: 400 14px/1.2 Arial, sans-serif; text-decoration: underline; cursor: pointer; }
.sapop-no:hover, .sapop-no:focus-visible { color: #000; outline: 2px solid #783986; }
body.sapop-lock { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .sapop-ov { transition: none; } }
