.pm-photos button, .dm-photos button { background:transparent; border:0; padding:0; cursor:zoom-in; border-radius:7px; }
.pn-photo-viewer { position:fixed; inset:0; margin:auto; padding:0; width:max-content; height:max-content; max-width:96vw; max-height:94vh; border:0; border-radius:14px; overflow:hidden; background:#10151e; color:#fff; box-shadow:0 18px 80px #0009; }
.pn-photo-viewer::backdrop { background:rgba(6,9,16,.83); backdrop-filter:blur(6px); }
.pn-photo-stage { position:relative; min-width:120px; min-height:90px; display:grid; place-items:center; }
.pn-photo-stage > img { display:block; max-width:94vw; max-height:88vh; max-height:88dvh; width:auto; height:auto; object-fit:contain; }
.pn-photo-viewer button { display:grid; place-items:center; width:40px; height:40px; padding:0; border:1px solid #ffffff42; border-radius:50%; background:#121824e8; color:white; font:500 26px/1 system-ui,sans-serif; cursor:pointer; }
.pn-photo-viewer button:focus-visible { outline:2px solid white; outline-offset:-4px; }
.pn-photo-viewer [data-close] { position:absolute; top:8px; right:8px; }
.pn-photo-bar { position:absolute; bottom:8px; display:flex; align-items:center; gap:8px; }
.pn-photo-bar span:not(:empty) { background:#10151ecc; border-radius:12px; padding:4px 9px; font:600 13px/1.3 system-ui,sans-serif; }
.pn-photo-bar button[hidden] { display:none; }
.pn-photo-bar button:disabled { opacity:.45; cursor:default; }
