.poster-viewer{position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:#17191b;color:#e9edf0;overflow:hidden}
.poster-viewer[open]{display:flex;flex-direction:column}
.poster-viewer::backdrop{background:#000c}
.poster-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;padding:max(12px,env(safe-area-inset-top)) 16px 12px;background:#17191b;position:sticky;top:0;z-index:1;border-bottom:1px solid #555}
.poster-toolbar button{min-height:48px;padding:10px 14px;font:inherit;font-size:16px;line-height:1.3;background:#25282b;color:#fff;border:1px solid #777;border-radius:4px;cursor:pointer}
.poster-toolbar button:focus-visible,.poster-zoom:focus-visible{outline:3px solid #fff;outline-offset:3px}
.poster-scroll{flex:1;min-height:0;overflow:auto;padding:16px 16px max(16px,env(safe-area-inset-bottom));text-align:center}
.poster-full-image{display:block;width:auto;max-width:100%;height:auto;max-height:none;margin:0 auto;object-fit:contain}
.poster-scroll .poster-full-image{max-height:calc(100dvh - 155px)}
.poster-scroll .poster-enlarged{max-width:none;max-height:none;width:auto}
.poster-zoom{display:block;margin:12px auto;padding:10px 16px;min-height:44px;background:#25282b;color:#fff;border:1px solid #777;font:inherit;cursor:pointer}
.poster-page{padding-bottom:24px}
@media(max-width:480px){.poster-toolbar{padding-left:10px;padding-right:10px;gap:8px}.poster-toolbar button{font-size:14px;padding:10px}.poster-scroll{padding:12px}.poster-page .poster-full-image{width:100%}}
