.photoset-dialog{box-sizing:border-box;position:fixed;inset:0;margin:0;border:0;padding:24px 32px;width:100vw;max-width:none;height:100dvh;max-height:none;background:#171a17;color:#f5f5f0;font-family:Helvetica,Arial,sans-serif;overflow:hidden}
.photoset-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:20px}.photoset-dialog::backdrop{background:#171a17}
.photoset-top,.photoset-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px;letter-spacing:.08em}.photoset-dialog button{font:inherit;letter-spacing:inherit;background:transparent;border:0;color:inherit;cursor:pointer;min-height:44px;padding:10px 12px}.photoset-dialog button:hover{opacity:.65}.photoset-dialog button:focus-visible{outline:1px solid #f5f5f0;outline-offset:3px}
.photoset-stage{min-height:0;min-width:0;position:relative;display:flex;align-items:center;justify-content:center;touch-action:pan-y pinch-zoom}.photoset-stage img{display:block;width:100%;height:100%;object-fit:contain;max-height:100%;transition:opacity .15s;user-select:none}.photoset-status{position:absolute;text-align:center;font-size:12px;letter-spacing:.08em;pointer-events:none}.photoset-count{font-variant-numeric:tabular-nums}
@media(max-width:600px){.photoset-dialog{padding:12px 12px calc(12px + env(safe-area-inset-bottom));gap:12px}.photoset-top,.photoset-bottom{font-size:10px}.photoset-top{padding-top:env(safe-area-inset-top)}.photoset-stage{margin:0 -12px}}
@media(prefers-reduced-motion:reduce){.photoset-stage img{transition:none}}
