.story-row{display:flex;gap:18px;overflow-x:auto;overscroll-behavior-x:contain;padding:14px max(20px,calc((100% - 600px)/2));background:#f4f1eb;scrollbar-width:none}.story-row::-webkit-scrollbar{display:none}.story-link{flex:0 0 88px;text-align:center;font:11px/1.35 var(--sans);color:#242520;text-decoration:none}.story-ring{display:block;width:86px;height:86px;border:1px solid #b6a184;border-radius:50%;padding:4px;margin:0 auto 7px}.story-ring img{width:100%;height:100%;object-fit:cover;border-radius:50%}.story-link:focus-visible{outline:2px solid #80744f;outline-offset:3px}.story-dialog{border:0;padding:0;background:#151613;color:#fff;width:100vw;max-width:none;height:100dvh;max-height:none;overflow:hidden}.story-dialog::backdrop{background:#151613}.story-stage{position:relative;height:100%;max-width:calc(100dvh * 9 / 16);margin:auto;display:flex;align-items:center}.story-stage video{width:100%;height:100%;object-fit:contain}.story-top{position:absolute;top:calc(12px + env(safe-area-inset-top));left:16px;right:16px;z-index:3}.story-progress{width:100%;height:2px;accent-color:#d2bf99;display:block}.story-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.story-actions button{border:0;border-radius:50%;background:#171814aa;color:#fff;width:44px;height:44px}.story-step{position:absolute;top:100px;bottom:110px;width:25%;border:0;background:transparent;color:transparent;z-index:1}.story-step.back{left:0}.story-step.forward{right:0}.story-bottom{position:absolute;bottom:calc(24px + env(safe-area-inset-bottom));left:20px;right:20px;text-align:center;z-index:3}.story-bottom a{display:inline-block;background:#f4f1eb;color:#242520;padding:15px 20px;font:11px var(--sans);letter-spacing:1px}.story-error{background:#151613dd;padding:12px}.story-dialog button:focus-visible{outline:2px solid #d2bf99}

/* Override legacy dialog controls so sound, pause and close never overlap. */
.story-dialog .story-actions{display:grid;grid-template-columns:minmax(110px,1fr) 44px 44px;gap:12px;align-items:center}.story-dialog .story-actions button{position:static;inset:auto;transform:none;float:none;margin:0;flex:none;height:44px;width:44px;font-size:22px;line-height:1}.story-dialog .story-actions [data-sound]{width:100%;font-size:11px;border-radius:22px}.story-dialog .story-step{margin:0;transform:none}.story-dialog{margin:0;inset:0}
