#ssvsp-dialog:not([open]) { display:none; }
#ssvsp-dialog { position:fixed; inset:0; margin:auto; box-sizing:border-box; width: min(620px, 92vw); max-width:92vw; max-height:90vh; padding:8px 8px 38px; border:0; border-radius:10px; background:#fff; color:#222; box-shadow:0 0 0 10px rgba(0,0,0,.35); overflow:auto; }
#ssvsp-dialog::backdrop { background:rgba(0,0,0,.72); }
#ssvsp-dialog .ssvsp-images { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:2px; align-items:center; }
#ssvsp-dialog .ssvsp-choice { display:flex; align-items:center; justify-content:center; box-sizing:border-box; width:100%; min-width:0; margin:0; padding:0; border:0; border-radius:0; background:transparent; text-decoration:none; cursor:pointer; box-shadow:none; }
#ssvsp-dialog .ssvsp-choice img { display:block; width:100%; height:auto; max-height:calc(90vh - 58px); object-fit:contain; margin:0; padding:0; border:0; }
#ssvsp-dialog .ssvsp-close { position:absolute; bottom:6px; right:8px; width:26px; height:26px; display:grid; place-items:center; background:#eee; color:#333; border:1px solid #bbb; border-radius:50%; font:22px/1 Arial,sans-serif; padding:0; cursor:pointer; }
#ssvsp-dialog .ssvsp-choice, #ssvsp-dialog .ssvsp-choice:focus, #ssvsp-dialog .ssvsp-choice:focus-visible, #ssvsp-dialog .ssvsp-choice:hover, #ssvsp-dialog .ssvsp-choice:active, #ssvsp-dialog .ssvsp-choice img { border:0 !important; outline:none !important; box-shadow:none !important; }
#ssvsp-dialog .ssvsp-choice, #ssvsp-dialog .ssvsp-choice img { filter:none !important; opacity:1 !important; }
#ssvsp-dialog .ssvsp-choice:is(:hover,:focus,:focus-visible,:active) img { filter:none !important; opacity:1 !important; }
#ssvsp-dialog .ssvsp-close:focus-visible { outline:2px solid #084a9e; outline-offset:2px; }
html.ssvsp-open, html.ssvsp-open body { overflow:hidden !important; }
