dialog.tk-photo-v2{box-sizing:border-box!important;width:min(1100px,96vw)!important;height:min(880px,94dvh)!important;max-height:94dvh!important;max-width:96vw!important;padding:0!important;border:0!important;border-radius:10px;background:#f5f2eb;color:#17392f;overflow:hidden!important}
dialog.tk-photo-v2[open]{display:grid!important;grid-template-rows:48px minmax(0,1fr) auto!important}
.tk-photo-v2::backdrop{background:#13251ee0}
html:has(.tk-photo-v2[open]){overflow:hidden}
.tk-photo-top{display:flex;justify-content:space-between;align-items:center;padding:4px 12px}
.tk-photo-v2 button{font:24px/1 system-ui!important;border:1px solid #87988c!important;background:#fffdf5!important;color:#17392f!important;border-radius:50%!important;width:44px!important;height:44px!important;min-width:44px!important;cursor:pointer}
.tk-photo-stage{position:relative;min-height:0!important;min-width:0;display:flex;align-items:center;justify-content:center;touch-action:pan-y pinch-zoom;overflow:hidden}
.tk-photo-stage img{display:block!important;max-height:100%!important;max-width:100%!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;margin:0!important;padding:0!important;pointer-events:none}
.tk-photo-stage button{position:absolute;top:50%;transform:translateY(-50%)}
.tk-photo-stage [data-prev]{left:8px}.tk-photo-stage [data-next]{right:8px}
.tk-photo-caption{font-size:16px!important;line-height:1.3!important;margin:0!important;padding:8px 60px!important;text-align:center;max-height:65px;overflow:auto}
