.os-photo-trigger{cursor:zoom-in;display:block;border-radius:inherit}
.os-photo-trigger:focus-visible{outline:3px solid #b8943e;outline-offset:5px}
html.os-photo-open{overflow:hidden}
.os-photo-dialog{box-sizing:border-box;border:1px solid #ffffff30;border-radius:14px;padding:0;background:#10271f;color:#fff;width:min(1120px,94vw);max-width:94vw;max-height:94vh;max-height:94dvh;overflow:hidden;box-shadow:0 24px 90px #0009;font:15px/1.5 Arial,sans-serif}
.os-photo-dialog::backdrop{background:rgb(5 15 11 / .86)}
.os-photo-dialog[open]{display:flex;flex-direction:column}
.os-photo-dialog .os-photo-toolbar{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;gap:16px;flex:none;border-bottom:1px solid #ffffff25}
.os-photo-dialog .os-photo-count{margin:0;font-size:14px;font-variant-numeric:tabular-nums}
.os-photo-dialog button{box-sizing:border-box;min-width:44px;min-height:44px;border:1px solid #ffffff50;border-radius:50%;background:#153b30;color:#fff;cursor:pointer;font:28px/1 Arial,sans-serif;display:inline-flex;align-items:center;justify-content:center;padding:0;touch-action:manipulation}
.os-photo-dialog button:hover{background:#285846}
.os-photo-dialog button:focus-visible{outline:3px solid #f0cb77;outline-offset:3px}
.os-photo-dialog button[hidden]{display:none}
.os-photo-dialog figure{margin:0;min-height:0;display:flex;flex-direction:column}
.os-photo-dialog .os-photo-stage{position:relative;min-height:100px;display:flex;align-items:center;justify-content:center;background:#091710;touch-action:manipulation;flex:1;min-width:0}
.os-photo-dialog img.os-photo-image{display:block;width:auto;height:auto;max-width:100%;max-height:calc(94vh - 220px);max-height:calc(94dvh - 220px);object-fit:contain;margin:0 auto}
.os-photo-dialog .os-photo-prev,.os-photo-dialog .os-photo-next{position:absolute;top:50%;transform:translateY(-50%);z-index:1;background:rgb(16 39 31 / .88)}
.os-photo-dialog .os-photo-prev{left:10px}.os-photo-dialog .os-photo-next{right:10px}
.os-photo-dialog figcaption{padding:14px 20px;overflow:auto;max-height:120px;color:#e3ece4;font-size:14px;line-height:1.5;flex:none}
.os-photo-dialog .os-photo-status{padding:0 20px 10px;margin:0;font-size:13px;color:#e3ece4}
.os-photo-dialog .os-photo-status:empty{display:none}
@media(max-width:600px){.os-photo-dialog{width:96vw;max-width:96vw;border-radius:10px}.os-photo-dialog figcaption{padding:12px 14px;font-size:13px}.os-photo-dialog .os-photo-prev{left:4px}.os-photo-dialog .os-photo-next{right:4px}.os-photo-dialog img.os-photo-image{max-height:calc(94vh - 230px);max-height:calc(94dvh - 230px)}}
@media(max-height:450px){.os-photo-dialog img.os-photo-image{max-height:calc(94vh - 150px);max-height:calc(94dvh - 150px)}.os-photo-dialog figcaption{max-height:48px;padding:6px 14px}.os-photo-dialog .os-photo-toolbar{padding:2px 10px}}
