.photo-viewer{position:fixed;inset:0;box-sizing:border-box;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:#111114;color:#f5eee5;font:14px/1.4 system-ui,sans-serif;overflow:hidden}.photo-viewer[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}.photo-viewer::backdrop{background:#08080bed}.pv-toolbar,.pv-footer{display:flex;align-items:center;gap:12px;padding:14px 20px;background:#1c1b20;border-color:#ffffff14;border-style:solid;border-width:0 0 1px;z-index:1}.pv-heading{min-width:0;flex:1;display:grid;gap:3px}.pv-heading strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pv-heading span,.pv-hint{color:#bbb4ae;font-size:12px}.pv-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.photo-viewer button,.photo-viewer a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;min-width:40px;padding:7px 12px;border:1px solid #ffffff24;border-radius:10px;background:#ffffff08;color:inherit;text-decoration:none;font:inherit;cursor:pointer;box-sizing:border-box}.photo-viewer button:hover,.photo-viewer a:hover{background:#ffffff18}.photo-viewer button:focus-visible,.photo-viewer a:focus-visible{outline:2px solid #efbc87;outline-offset:2px}.photo-viewer button:disabled{opacity:.3;cursor:default}.photo-viewer [data-pv-download]{color:#f3c18e}.pv-stage{position:relative;min-width:0;min-height:0;overflow:hidden;touch-action:none;user-select:none}.pv-stage img{position:absolute;left:50%;top:50%;max-width:none!important;max-height:none!important;width:auto!important;height:auto!important;transform-origin:center;pointer-events:none;object-fit:initial;border-radius:0!important}.pv-zoomed{cursor:grab}.pv-zoomed:active{cursor:grabbing}.pv-stage p{position:absolute;inset:30% 8%;text-align:center}.pv-footer{border-width:1px 0 0}.pv-hint{margin-left:auto}.episode-gallery figure img,.page-stage img{cursor:zoom-in}.episode-photo-open{display:block;width:100%;padding:0;border:0;background:none;border-radius:12px;cursor:zoom-in}.episode-photo-open:focus-visible{outline:2px solid var(--accent,#efbc87);outline-offset:4px}@media(max-width:700px){.pv-toolbar{align-items:stretch;flex-direction:column;padding:10px;gap:8px}.pv-actions{gap:5px}.photo-viewer button,.photo-viewer a{min-height:44px;padding:6px 10px}.pv-actions [data-pv-close]{margin-left:auto}.pv-footer{padding:8px 12px;justify-content:center}.pv-hint{display:none}.pv-heading strong{max-width:90vw;font-size:13px}}
@media(max-width:700px){.pv-toolbar{position:relative}.pv-heading{padding-right:48px}.pv-actions [data-pv-close]{position:absolute;right:10px;top:8px;margin:0}.pv-actions{justify-content:center}}
