.social-media>button.social-image-open{display:block;width:100%;max-width:100%;padding:0;margin:0;border:0;border-radius:inherit;background:transparent;box-shadow:none;cursor:zoom-in;overflow:hidden;min-height:0;touch-action:manipulation}
.social-media>button.social-image-open>img{display:block;width:100%;height:auto;margin:0;object-fit:contain}
.social-media>button.social-image-open:focus-visible{outline:3px solid #3da8ff;outline-offset:3px}
html.social-image-viewer-open{overflow:hidden}
dialog.social-image-viewer{position:fixed;inset:0;box-sizing:border-box;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#09131f;color:#fff;overflow:hidden;box-shadow:none}
dialog.social-image-viewer[open]{display:flex;flex-direction:column}
dialog.social-image-viewer::backdrop{background:rgba(2,8,16,.94)}
.social-image-viewer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;padding:12px 16px;padding-top:max(12px,env(safe-area-inset-top));padding-right:max(16px,env(safe-area-inset-right));padding-left:max(16px,env(safe-area-inset-left));background:#111f30;border-bottom:1px solid #354355}
.social-image-viewer-toolbar h2{font-size:16px;line-height:1.3;margin:0;color:#fff;min-width:0}
.social-image-viewer-toolbar>div{display:flex;align-items:center;gap:10px;flex-shrink:0}
.social-image-viewer-toolbar button{min-height:44px;padding:10px 14px;margin:0;border:1px solid #66788b;border-radius:12px;background:#20334a;color:#fff;font:inherit;font-size:14px;line-height:1.3;box-shadow:none;cursor:pointer;white-space:normal}
.social-image-viewer-toolbar button.social-image-viewer-close{min-width:44px;font-size:30px;line-height:1;padding:4px 10px}
.social-image-viewer-toolbar button:focus-visible{outline:3px solid #71c3ff;outline-offset:2px}
.social-image-viewer-toolbar button:disabled{opacity:.55;cursor:wait}
.social-image-viewer-stage{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);place-items:center;flex:1;min-height:0;min-width:0;padding:12px 12px max(12px,env(safe-area-inset-bottom));overflow:auto;overscroll-behavior:contain;direction:ltr}
.social-image-viewer-stage>img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;border:0;border-radius:0;cursor:zoom-in;box-shadow:none;min-width:0;min-height:0}
.social-image-viewer-stage.is-zoomed{display:block}
.social-image-viewer-stage.is-zoomed>img{width:var(--post-image-zoom-width);height:auto;max-width:none;max-height:none;margin:0 auto;cursor:zoom-out}
.social-image-viewer-stage>[hidden]{display:none}
@media(max-width:480px){.social-image-viewer-toolbar{gap:8px;padding-bottom:10px}.social-image-viewer-toolbar h2{font-size:14px}.social-image-viewer-toolbar button{max-width:145px}.social-image-viewer-stage{padding-left:0;padding-right:0}}
