html:has(.site-photo-dialog[open]){overflow:hidden}.site-photo-dialog{color:#f5f7fb;background:#0c1422;border:1px solid #405069;border-radius:14px;width:min(1100px,100% - 28px);max-width:none;max-height:calc(100dvh - 28px);margin:auto;padding:0;position:fixed;inset:0;overflow:hidden}.site-photo-dialog::backdrop{background:#020710d4}.site-photo-bar{border-bottom:1px solid #405069;align-items:center;gap:8px;min-height:62px;padding:9px 12px;display:flex}.site-photo-bar p{color:#e3eaf3;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;margin:0;font-size:clamp(.8rem,2.5vw,1rem);font-weight:650;overflow:hidden}.site-photo-action{color:#fff;min-width:44px;min-height:44px;font:inherit;cursor:pointer;white-space:nowrap;background:#1b293f;border:1px solid #64748a;border-radius:8px;padding:5px 11px;font-size:.88rem;font-weight:700}.site-photo-close{color:#111a28;background:#d6fa49;border-color:#d6fa49}.site-photo-dialog :is(button,a,[tabindex]):focus-visible{outline-offset:2px;outline:2px solid #d6fa49}.site-photo-image-window{overscroll-behavior:contain;background:#070e19;max-height:calc(100dvh - 92px);overflow:auto}.site-photo-image-window img{object-fit:contain;width:100%;height:auto;max-height:calc(100dvh - 92px);display:block}.site-photo-image-window[data-zoomed] img{object-fit:unset;width:max(145%,900px);max-width:none;max-height:none}.site-photo-error{padding:20px 16px}.site-photo-error a{color:#d6fa49;text-decoration:underline}
