.story-shell .story-open,.story-shell .story-caption {
  position:absolute;z-index:4;color:white;background:#101310eb;
  border:1px solid #ffffff45;border-radius:12px;padding:6px 10px;font:600 14px/1.3 Barlow,sans-serif;
}
.story-shell .story-open {top:6%;right:4%;cursor:pointer}
.story-shell .story-caption {bottom:11%;left:4%;max-width:92%;overflow-wrap:anywhere;pointer-events:none}
.story-thumbnails .story-caption {bottom:21%}
.story-shell .stage-photo {cursor:zoom-in}
body:has(#story-viewer[open]) {overflow:hidden}
#story-viewer {position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;border:0;padding:0;background:#0b0d0c;color:#fff}
#story-viewer::backdrop {background:#0b0d0c}
.viewer-inner {width:min(100%,650px);height:100%;box-sizing:border-box;margin:auto;display:grid;grid-template-rows:auto 4px minmax(0,1fr) auto;gap:12px;padding: max(12px,env(safe-area-inset-top)) 16px max(14px,env(safe-area-inset-bottom))}
.viewer-inner header,.viewer-inner footer {display:flex;align-items:center;justify-content:space-between;gap:12px}
.viewer-inner header strong {font-size:clamp(16px,4vw,24px);overflow-wrap:anywhere}
.viewer-inner button {width:44px;height:44px;border-radius:50%;border:1px solid #596354;background:#202620;color:white;font:26px/1 sans-serif;cursor:pointer}
.viewer-bars {display:flex;gap:4px}
.viewer-bars span {flex:1;border-radius:4px;background:#50574e}
.viewer-bars span.lit {background:var(--accent,#a9ef20)}
.viewer-photo {width:100%;height:100%;object-fit:contain;touch-action:pan-y pinch-zoom}
.viewer-caption,.viewer-count {display:block;overflow-wrap:anywhere}
.viewer-count {color:#c2c9bf}
.viewer-nav:not([hidden]) {display:flex;gap:8px}
