.story-publish-dialog.story-publish-dialog{box-sizing:border-box;position:fixed;inset:0;width:min(414px,100%);max-width:100vw;max-height:92dvh;margin:auto auto 0;padding:0;overflow:hidden;border:0;border-radius:28px 28px 0 0;background:#1c1c1e;color:#fff;box-shadow:0 20px 80px #0006;font:17px/1.3 -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color-scheme:dark;user-select:none;-webkit-user-select:none}.story-publish-dialog[open]{display:flex;flex-direction:column}.story-publish-dialog:not([open]){display:none}.story-publish-dialog::backdrop{background:#0008}.story-publish-dialog *{box-sizing:border-box}.story-publish-dialog :is(img,svg){flex:none}.story-publish-dialog img{-webkit-user-drag:none;pointer-events:none}.story-publish-dialog button{font:inherit;color:inherit;border:0;background:transparent;cursor:pointer}.story-publish-dialog button:disabled{cursor:default}.story-publish-dialog>header{flex:none;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:8px;min-height:64px;padding:10px 16px}.story-publish-dialog h2{margin:0;padding:0;font-size:17px;font-weight:600;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.story-publish-dialog .story-publish-close{display:grid;place-items:center;flex:none;width:44px;height:44px;min-width:44px;min-height:44px;aspect-ratio:1;padding:0;border-radius:50%;background:#ffffff12}.story-publish-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 16px 12px;scrollbar-width:thin}.story-publish-section-title{margin:16px 16px 8px;color:#8e8e93;font-size:13px;text-transform:uppercase}.story-publish-publisher{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#2c2c2e;border-radius:12px}.story-publish-publisher>div{min-width:0;display:grid;gap:3px}.story-publish-publisher :is(strong,span){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.story-publish-publisher>div>span{color:#8e8e93;font-size:13px}.story-publish-categories,.story-publish-options{overflow:hidden;border-radius:12px;background:#2c2c2e}.story-publish-category{position:relative;height:64px}.story-publish-category+.story-publish-category:before{content:"";position:absolute;top:0;left:106px;right:0;height:.5px;background:#54545899}.story-publish-category>button[role=radio]{display:flex;position:absolute;inset:0;align-items:center;gap:12px;width:100%;padding:0 16px;text-align:left}.story-publish-category>button[role=radio]>.story-publish-check{margin-right:4px}.story-publish-check{display:grid;place-items:center;flex:none;width:22px;height:22px;border:1.5px solid #8e8e9370;border-radius:50%;color:#fff}.story-publish-check[data-checked=true]{background:#0a84ff;border-color:#0a84ff}.story-publish-category-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;overflow:hidden;color:#fff}.story-publish-category>button[role=radio]>strong{align-self:flex-start;margin-top:12px;font-size:17px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.story-publish-dialog .story-publish-secondary{position:absolute;display:flex;align-items:center;gap:4px;left:106px;right:8px;top:33px;min-height:24px;padding:0;text-align:left;color:#8e8e93;font-size:13px}.story-publish-options>button{display:flex;align-items:center;gap:16px;width:100%;min-height:50px;padding:10px 16px;text-align:left}.story-publish-options>button+button{border-top:.5px solid #54545899}.story-publish-note{margin:10px 16px 16px;color:#8e8e93;font-size:13px;line-height:1.4}.story-publish-dialog .story-publish-list-link{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:46px;padding:10px 16px;color:#0a84ff;font-size:15px;text-align:left}.story-publish-list-link>span{display:flex;align-items:center;gap:4px;color:#8e8e93;font-size:13px}.story-publish-dialog .story-publish-cover{display:flex;align-items:center;gap:12px;width:100%;min-height:60px;padding:10px 16px;border-radius:12px;background:#2c2c2e;text-align:left}.story-publish-cover>img{width:30px;height:40px;object-fit:cover;border-radius:5px}.story-publish-cover>span{flex:1}.story-publish-search{display:flex;align-items:center;gap:8px;margin:4px 0 12px;padding:10px 12px;border-radius:12px;color:#8e8e93;background:#ffffff0d}.story-publish-dialog .story-publish-search>input{width:100%;min-width:0;padding:0;border:0;outline:0;font:inherit;color:#fff;background:transparent;user-select:text;-webkit-user-select:text}.story-publish-selection-summary{display:flex;justify-content:space-between;gap:8px;margin:0 8px 10px;color:#8e8e93;font-size:13px}.story-publish-selection-summary>button{color:#0a84ff;padding:0}.story-publish-people>button{display:flex;align-items:center;gap:14px;width:100%;min-height:64px;padding:10px 8px;text-align:left}.story-publish-people>button>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.story-publish-empty{padding:20px;text-align:center;color:#8e8e93}.story-publish-dialog .story-publish-more{width:100%;padding:14px;color:#0a84ff;font-size:15px}.story-publish-dialog>footer{flex:none;padding:12px 16px max(16px,env(safe-area-inset-bottom));border-top:.5px solid #54545855}.story-publish-dialog .story-publish-action{display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;padding:12px;border-radius:12px;font-weight:600;background:#0a84ff;color:#fff}.story-publish-action:disabled{opacity:.55}.story-publish-error{margin:12px 4px;padding:12px;border-radius:12px;color:#ffb4ad;background:#ff453a16;font-size:13px}.story-publish-error p{margin:0}.story-publish-error button{color:#64b5ff;padding:10px 0 0}.story-publish-dialog button:focus-visible{outline:2px solid #64b5ff;outline-offset:-2px}@media(hover:hover){.story-publish-dialog button:enabled:hover{background-color:#ffffff0b}.story-publish-dialog .story-publish-action:enabled:hover{background:#239aff}}@media(min-width:600px){.story-publish-dialog.story-publish-dialog{margin:auto;border-radius:28px}}@media(prefers-reduced-motion:no-preference){.story-publish-dialog[open]{animation:story-publish-enter .35s cubic-bezier(.2,.8,.2,1)}@keyframes story-publish-enter{0%{opacity:0;translate:0 30px}to{opacity:1;translate:0 0}}}.story-duration-menu.story-duration-menu{position:fixed;inset:auto;box-sizing:border-box;width:min(270px,calc(100vw - 16px));max-height:calc(100dvh - 16px);margin:0;padding:6px 0;border:0;border-radius:14px;background:#292929f5;color:#fff;box-shadow:0 8px 40px #0006;backdrop-filter:blur(24px);overflow:auto;color-scheme:dark}.story-duration-menu::backdrop{background:#0004}.story-duration-menu p{margin:0;padding:8px 16px 12px;font:13px/1.35 -apple-system,BlinkMacSystemFont,sans-serif;color:#aaa}.story-duration-menu button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;padding:10px 16px;border:0;border-top:.5px solid #ffffff16;background:transparent;color:#fff;font:17px -apple-system,BlinkMacSystemFont,sans-serif;text-align:left}.story-duration-menu button:focus-visible{outline:2px solid #64b5ff;outline-offset:-2px}.story-editor .story-editor-caption-trigger{padding-right:74px}.story-editor .story-editor-duration{position:absolute;z-index:6;left:calc(var(--story-stage-x,0px) + var(--story-stage-width,100vw) - 72px);top:var(--story-caption-y,calc(100dvh - 116px));display:flex;align-items:center;justify-content:center;gap:3px;width:52px;height:46px;min-width:52px;padding:0;border:0;border-radius:23px;background:transparent;color:#fff;font:600 13px/1 -apple-system,BlinkMacSystemFont,sans-serif}.story-cover-picker.story-cover-picker{position:fixed;inset:auto 0 0;width:min(414px,100%);max-width:100vw;max-height:92dvh;overflow:auto;margin:auto;padding:0 16px max(20px,env(safe-area-inset-bottom));border:0;border-radius:22px 22px 0 0;background:#1c1c1e;color:#fff;color-scheme:dark;box-sizing:border-box;font:15px/1.4 -apple-system,BlinkMacSystemFont,sans-serif}.story-cover-picker::backdrop{background:#0002}.story-cover-picker>header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px}.story-cover-picker h2{margin:0;font-size:17px;font-weight:600}.story-cover-picker button{min-height:44px;padding:0;border:0;background:transparent;color:#0a84ff;font:inherit}.story-cover-picker>p{color:#8e8e93}.story-cover-strip{position:relative;height:64px;margin:16px 0 10px;border-radius:8px;overflow:hidden}.story-cover-strip>div{display:flex;height:100%}.story-cover-strip img{flex:1;width:10%;min-width:0;object-fit:cover;-webkit-user-drag:none;pointer-events:none}.story-cover-strip input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize}.story-cover-strip i{position:absolute;top:0;height:100%;width:8px;margin-left:-4px;box-sizing:border-box;border:3px solid #fff;border-radius:3px;pointer-events:none;box-shadow:0 0 0 1px #0006}.story-cover-picker output{display:block;text-align:center;font-variant-numeric:tabular-nums;color:#8e8e93}.story-cover-strip:focus-within{outline:2px solid #64b5ff;outline-offset:2px}[data-theme=light] .story-publish-dialog.story-publish-dialog{background:#fff;color:#24364a;box-shadow:0 20px 80px #20395626;color-scheme:light}[data-theme=light] .story-publish-dialog::backdrop{background:#e7edf3ad;backdrop-filter:blur(24px) saturate(1.2)}[data-theme=light] .story-publish-dialog .story-publish-close{background:#0000000f}[data-theme=light] .story-cover-picker output,[data-theme=light] .story-cover-picker>p,[data-theme=light] .story-duration-menu p,[data-theme=light] .story-publish-empty,[data-theme=light] .story-publish-list-link>span,[data-theme=light] .story-publish-note,[data-theme=light] .story-publish-publisher>div>span,[data-theme=light] .story-publish-secondary,[data-theme=light] .story-publish-section-title,[data-theme=light] .story-publish-selection-summary{color:#617287}[data-theme=light] .story-publish-categories,[data-theme=light] .story-publish-cover,[data-theme=light] .story-publish-options,[data-theme=light] .story-publish-publisher{background:#f3f5f8}[data-theme=light] .story-publish-category+.story-publish-category:before,[data-theme=light] .story-publish-options>button+button{background:#00000014}[data-theme=light] .story-publish-check{border-color:#61728770;color:#fff}[data-theme=light] .story-publish-search{background:#0000000a;color:#617287}[data-theme=light] .story-publish-dialog .story-publish-search>input{color:#24364a}[data-theme=light] .story-publish-dialog>footer{border-top-color:#00000014}[data-theme=light] .story-publish-error{color:#b3261e;background:#ff453a14}@media(hover:hover){[data-theme=light] .story-publish-dialog button:enabled:hover{background-color:#00000010}}[data-theme=light] .story-duration-menu.story-duration-menu{background:#ffffffeb;color:#24364a;box-shadow:0 8px 40px #20395626;color-scheme:light}[data-theme=light] .story-duration-menu::backdrop{background:#0000}[data-theme=light] .story-duration-menu button{border-top-color:#00000014;color:#24364a}[data-theme=light] .story-cover-picker.story-cover-picker{background:#fff;color:#24364a;color-scheme:light}[data-theme=light] .story-cover-picker::backdrop{background:#e7edf3ad}.story-post-caption.story-post-caption{position:fixed;inset:auto 0 0;width:min(414px,100%);max-width:100vw;max-height:90dvh;margin:auto;padding:0 16px max(16px,env(safe-area-inset-bottom));box-sizing:border-box;border:0;border-radius:24px 24px 0 0;overflow:auto;background:#1c1c1e;color:#fff;color-scheme:dark;font:15px/1.4 -apple-system,BlinkMacSystemFont,sans-serif}.story-post-caption::backdrop{background:#0007}.story-post-caption>header{display:grid;grid-template-columns:60px 1fr 60px;align-items:center;min-height:64px;gap:8px}.story-post-caption h2{margin:0;padding:0;text-align:center;font-size:17px;font-weight:600}.story-post-caption button{min-height:44px;padding:8px 0;border:0;background:transparent;color:#0a84ff;font:600 15px/1.3 -apple-system,BlinkMacSystemFont,sans-serif;cursor:pointer}.story-post-caption button:disabled{opacity:.5;cursor:default}.story-post-label{display:grid;gap:8px;color:#8e8e93;font-size:13px}.story-viewer .story-post-caption textarea{box-sizing:border-box;display:block;width:100%;min-height:150px;max-height:45dvh;padding:14px;border:0;border-radius:12px;background:#2c2c2e;color:#fff;font:17px/1.45 -apple-system,BlinkMacSystemFont,sans-serif;resize:vertical;-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}.story-viewer .story-publish-search input{-webkit-user-select:text;user-select:text}.story-post-count{display:block;padding:6px 0 12px;text-align:right;color:#8e8e93;font-size:12px;font-variant-numeric:tabular-nums}.story-post-caption.story-post-caption>footer{display:block;padding:8px 0 0}.story-post-caption.story-post-caption>footer>button{width:100%;height:auto;min-height:50px;padding:12px;border-radius:12px;background:#0a84ff;color:#fff}.story-post-error{padding:12px 0;color:#ffb4ad;font-size:14px}.story-post-error p{margin:0}.story-post-caption :is(button,textarea):focus-visible{outline:2px solid #64b5ff;outline-offset:2px}@media(min-width:600px){.story-post-caption.story-post-caption{inset:0;height:fit-content;border-radius:24px}}.story-viewer .story-manage-menu{position:fixed;inset:auto;margin:0;box-sizing:border-box;width:270px;padding:6px;overflow:auto;border:0;border-radius:16px;background:#fffffff5;color:#24364a;box-shadow:0 12px 48px #203a5638;backdrop-filter:blur(20px)}.story-manage-menu:not(:popover-open){display:none}.story-manage-menu:popover-open{display:grid}.story-viewer .story-manage-menu>button{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-width:0;min-height:46px;height:auto;padding:10px 12px;border:0;border-radius:10px;background:transparent;color:inherit;font:15px/1.3 -apple-system,BlinkMacSystemFont,sans-serif;text-align:left;cursor:pointer}.story-manage-menu>button>svg{flex:none}.story-viewer .story-manage-menu>button[data-danger=true]{color:#d73535}.story-manage-menu>button:focus-visible{outline:2px solid #0a84ff;outline-offset:-2px}@media(hover:hover){.story-viewer .story-manage-menu>button:enabled:hover{background:#0a84ff12}}.story-create-dialog{margin:auto;width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:24px;border:1px solid var(--ui-border);border-radius:24px;background:var(--ui-surface);color:var(--ui-text);overflow:auto}.story-create-dialog::backdrop,.story-viewer::backdrop{background:#000b;backdrop-filter:blur(8px)}.story-create-dialog header{display:flex;align-items:center;gap:16px;margin-bottom:24px}.story-create-dialog header>div{flex:1}.story-create-dialog h2{font-size:22px;font-weight:600}.story-create-dialog header p{display:flex;gap:6px;align-items:center;color:var(--ui-muted);margin-top:6px}.story-create-dialog form{display:grid;gap:18px}.story-create-dialog label{display:grid;gap:8px}.story-create-dialog label>span{display:flex;gap:8px;align-items:center}.story-upload{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:200px;max-height:300px;padding:24px;border:1px dashed var(--ui-border);border-radius:20px;background:var(--form-surface);color:var(--ui-muted);overflow:hidden}.story-upload>strong{color:var(--ui-text);font-weight:500}.story-upload>span{font-size:16px;line-height:1.5}.story-upload :is(img,video){height:250px;max-width:100%;object-fit:contain;border-radius:12px}.story-create-dialog footer{display:flex;justify-content:flex-end;gap:10px}.story-create-dialog .ds-button{border-radius:24px;min-height:48px}.story-file-name{font-size:16px;overflow-wrap:anywhere;color:var(--ui-muted)}.story-upload-progress{display:grid;gap:8px;color:var(--ui-muted)}.story-upload-progress progress{width:100%;accent-color:var(--ui-accent)}.story-error{color:var(--ui-danger);line-height:1.5}.story-viewer{--ui-text:#24364a;--ui-muted:#617287;--ui-selected:#dceeff;--ui-hover:#edf1f8;--ui-surface:#fff;--ui-bg:#eef2f7;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;margin:auto;width:min(500px,calc(100vw - 24px));height:min(900px,calc(100dvh - 24px));max-width:none;max-height:none;padding:0;border:0;border-radius:24px;background:#eef2f7;color-scheme:light;isolation:isolate;box-shadow:0 22px 80px #203a562e;color:#24364a;overflow:hidden}:is(.story-viewer,.story-create-dialog)::backdrop{background:#e7edf3ad;backdrop-filter:blur(24px) saturate(1.2)}.story-viewer.story-viewer *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-user-drag:none}.story-viewer :is(img,video){-webkit-user-drag:none;pointer-events:none;background:transparent}:is(.story-viewer,.story-create-dialog)>:not(.story-viewer-ambient):not(dialog){position:relative;z-index:1}.story-viewer-ambient{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;background:#eef2f7}.story-viewer-ambient>img{width:100%;height:100%;object-fit:cover;opacity:.35;filter:blur(45px) saturate(.8);transform:scale(1.2)}.story-viewer-ambient:after{content:"";position:absolute;inset:0;background:linear-gradient(145deg,#f9fbfdd9,#eef3f7b8)}.story-viewer[open]{display:flex;flex-direction:column}.story-progress{display:flex;gap:4px;padding:14px 14px 0;flex-shrink:0}.story-progress>span{height:3px;background:#40587526;flex:1;overflow:hidden;border-radius:3px}.story-progress i{display:block;height:100%;background:#0a84ff;transition:width 40ms linear}.story-viewer>header{display:flex;align-items:center;gap:10px;padding:14px;flex-shrink:0}.story-viewer>header>div{display:grid;gap:3px;flex:1;min-width:0}.story-viewer>header strong{font-size:16px;font-weight:500;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.story-viewer>header>div>span{font-size:14px;color:#617287}.story-viewer>header>button{display:grid;place-items:center;width:40px;height:40px;border-radius:50%}.story-viewer>header>button,.theme-root .story-viewer .ui-close-button{background:rgba(0,0,0,.4);backdrop-filter:blur(20px) saturate(1.8);border:1px solid rgba(255,255,255,.18);box-shadow:inset 0 1px 1px rgba(255,255,255,.25),0 4px 16px rgba(0,0,0,.25);color:#fff}.story-viewer[data-theme=light] .story-links :is(a,button),.story-viewer[data-theme=light] .ui-close-button,.story-viewer[data-theme=light] footer>button,.story-viewer[data-theme=light]>button.story-next,.story-viewer[data-theme=light]>button.story-previous,.story-viewer[data-theme=light]>header>button{background:#ffffff;backdrop-filter:none;border-color:transparent;box-shadow:0 2px 14px rgba(0,0,0,.08),0 0 1px rgba(0,0,0,.06);color:#000}.story-viewer[data-theme=light] .story-viewer-seek{background:#ffffff;backdrop-filter:none;border-color:transparent;box-shadow:0 2px 14px rgba(0,0,0,.08),0 0 1px rgba(0,0,0,.06);color:#000}@media (hover:hover){.story-viewer[data-theme=light] .story-links :is(a,button):hover,.story-viewer[data-theme=light] .ui-close-button:enabled:hover,.story-viewer[data-theme=light] footer>button:enabled:hover,.story-viewer[data-theme=light]>button.story-next:enabled:hover,.story-viewer[data-theme=light]>button.story-previous:enabled:hover,.story-viewer[data-theme=light]>header>button:enabled:hover{background:var(--ui-hover)}.story-viewer:not([data-theme=light]) .story-links :is(a,button):hover,.story-viewer:not([data-theme=light]) .ui-close-button:enabled:hover,.story-viewer:not([data-theme=light]) footer>button:enabled:hover,.story-viewer:not([data-theme=light])>button.story-next:enabled:hover,.story-viewer:not([data-theme=light])>button.story-previous:enabled:hover,.story-viewer:not([data-theme=light])>header>button:enabled:hover{background:rgba(255,255,255,.15)}}.story-stage{position:relative;flex:1;min-height:120px;display:grid;place-items:center;overflow:hidden;touch-action:none}.story-stage,.story-stage:active{cursor:default}.story-stage>img,.story-stage>video{-webkit-user-drag:none;display:block;width:100%;height:100%;object-fit:contain}.story-viewer>button.story-next,.story-viewer>button.story-previous{position:absolute;top:calc(50% - 22px);transform:none;transform-origin:center;touch-action:manipulation;display:grid;place-items:center;box-sizing:border-box;width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px;max-height:44px;padding:0;border-radius:50%;background:rgba(0,0,0,.4);backdrop-filter:blur(20px) saturate(1.8);border:1px solid rgba(255,255,255,.18);box-shadow:inset 0 1px 1px rgba(255,255,255,.25),0 4px 16px rgba(0,0,0,.25);color:#fff}.story-previous{left:10px}.story-next{right:10px}.story-viewer>button.story-previous:disabled{opacity:.3}.story-viewer-seek{position:absolute;inset:auto 16px 10px;display:flex;align-items:center;gap:8px;padding:7px 10px;border-radius:20px;background:rgba(0,0,0,.4);backdrop-filter:blur(20px) saturate(1.8);border:1px solid rgba(255,255,255,.18);box-shadow:inset 0 1px 1px rgba(255,255,255,.25),0 4px 16px rgba(0,0,0,.25);color:#fff}.story-viewer-seek input[type=range]{flex:1;width:100%;min-width:0;margin:0;accent-color:#0a84ff}.story-viewer-seek>span{font-size:10px;font-variant-numeric:tabular-nums}@media(prefers-reduced-motion:reduce){.story-progress i{transition:none}}.story-caption{padding:16px 20px;background:#ffffff73;backdrop-filter:blur(12px);flex-shrink:0;max-height:30%;overflow:auto}.story-caption>p{font-size:16px;white-space:pre-wrap;line-height:1.5;margin-bottom:12px}.story-links{display:flex;gap:8px;flex-wrap:wrap}.story-links :is(a,button){display:flex;align-items:center;gap:6px;min-height:40px;padding:8px 14px;border-radius:24px;background:rgba(0,0,0,.4);backdrop-filter:blur(20px) saturate(1.8);border:1px solid rgba(255,255,255,.18);box-shadow:inset 0 1px 1px rgba(255,255,255,.25),0 4px 16px rgba(0,0,0,.25);color:#fff;font-size:16px}.story-viewer footer{display:flex;align-items:center;gap:10px;padding:10px 16px;flex-shrink:0}.story-viewer footer>button.story-viewer-views,.story-viewer footer>span{display:flex;align-items:center;gap:7px;margin-right:auto;color:#617287}.story-viewer footer>button.story-viewer-views{width:auto;height:auto;border-radius:20px;background:none;backdrop-filter:none;border:0;box-shadow:none;padding:0}@media (hover:hover) and (pointer:fine){.story-viewer footer>button.story-viewer-views:hover{color:#fff}.story-viewer[data-theme=light] footer>button.story-viewer-views:hover{color:#000}}.story-viewer footer>button{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:rgba(0,0,0,.4);backdrop-filter:blur(20px) saturate(1.8);border:1px solid rgba(255,255,255,.18);box-shadow:inset 0 1px 1px rgba(255,255,255,.25),0 4px 16px rgba(0,0,0,.25);color:#fff}.story-viewer.story-viewer button:focus-visible{outline:none}.story-viewer[data-theme=light] :is(header,footer,.story-links) :is(button,a) svg,.story-viewer[data-theme=light]>button svg{stroke-width:1.6}.story-viewer-notice{padding:10px 16px;background:#ffffffb8;font-size:16px;flex-shrink:0}.story-viewer[data-theme=dark]{--ui-text:#fff;--ui-muted:#9aa7b4;--ui-selected:#1c3a57;--ui-hover:#1b2430;--ui-surface:#15191f;--ui-bg:#0c0f13;background:#0c0f13;color-scheme:dark;color:#fff}:is(.story-viewer,.story-create-dialog)[data-theme=dark]::backdrop,[data-theme=dark] :is(.story-viewer,.story-create-dialog)::backdrop{background:#000c;backdrop-filter:blur(24px) saturate(1.1)}:is(.story-viewer,.story-create-dialog)[data-theme=dark] .story-viewer-ambient,[data-theme=dark] :is(.story-viewer,.story-create-dialog) .story-viewer-ambient{background:#0c0f13}:is(.story-viewer,.story-create-dialog)[data-theme=dark] .story-viewer-ambient:after,[data-theme=dark] :is(.story-viewer,.story-create-dialog) .story-viewer-ambient:after{background:linear-gradient(145deg,#000000d9,#0c0f13b8)}.story-viewer[data-theme=dark] .story-progress>span{background:#ffffff26}.story-viewer[data-theme=dark]>header>div>span{color:#9aa7b4}.story-viewer[data-theme=dark] .story-caption{background:#00000080}.story-viewer[data-theme=dark] footer>span{color:#9aa7b4}.story-viewer[data-theme=dark] .story-viewer-notice{background:#ffffff1f}@media (max-width:520px){.story-viewer{width:100%;height:100dvh;border-radius:0;border:0}.story-create-dialog{padding:20px}.story-create-dialog footer .ds-button{flex:1}.story-upload{padding:18px}.story-caption{max-height:25%}}.story-editor-stage>img,.story-editor-stage>video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block}.story-editor-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;width:100%;height:100%;padding:24px;text-align:center;color:var(--ui-muted)}.story-editor-empty>svg{box-sizing:content-box;padding:18px;border-radius:22px;background:var(--ui-selected);color:var(--ui-accent)}.story-editor-empty strong{font-size:19px;font-weight:600;color:var(--ui-text);line-height:1.4}.story-editor-empty small,.story-editor-empty span{font-size:16px;line-height:1.5}.story-editor-overlay{position:absolute;inset:auto 0 0;padding:40px 16px 18px;background:linear-gradient(transparent,#000a);color:#fff;pointer-events:none;max-height:45%;overflow:hidden;display:grid;gap:12px}.story-editor-overlay:empty{display:none}.story-editor-link{display:flex;align-items:center;justify-self:center;gap:8px;max-width:100%;padding:9px 12px;border-radius:12px;background:#fff;color:#18232d;font-size:16px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.story-editor-link svg{flex:none}.story-editor .story-editor-tool :is(textarea,input:not([type=range])):not(.symbol-search input){box-sizing:border-box;width:100%;min-width:0;min-height:48px;padding:12px 14px;border:1px solid var(--ui-border)!important;border-radius:12px;background:var(--chosen-input,var(--ui-bg))!important;color:var(--ui-text)!important;font:inherit;font-size:16px!important;line-height:1.5}.story-editor-tool textarea{resize:vertical;max-height:220px}.story-editor-tool :is(textarea,input)::placeholder{color:var(--ui-muted);opacity:1}.story-editor-counter{display:block;margin-top:8px;color:var(--ui-muted);text-align:right;font-size:16px;font-variant-numeric:tabular-nums}.story-link-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;margin-bottom:14px;border:1px solid var(--ui-border);border-radius:12px;background:var(--ui-bg)}.story-link-modes button{min-height:42px;padding:7px;border-radius:9px;color:var(--ui-muted);font-size:16px;line-height:1.3}.story-link-modes button[aria-pressed=true]{background:var(--ui-surface);color:var(--ui-accent);box-shadow:0 1px 5px #0001;font-weight:600}.story-editor-attachment{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--ui-border);border-radius:12px;background:var(--ui-bg);color:var(--ui-accent);font-size:16px}.story-editor-attachment>svg{flex:none}.story-editor-attachment>span{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.story-editor-attachment button{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;color:var(--ui-muted)}.story-editor .story-upload-progress{display:grid;gap:8px;margin:0;padding:0;color:var(--ui-muted);font-size:16px}.story-editor .story-error{margin:0;padding:12px 14px;border:1px solid color-mix(in srgb,var(--ui-danger) 25%,transparent);border-radius:12px;background:color-mix(in srgb,var(--ui-danger) 8%,var(--ui-surface));color:var(--ui-danger);font-size:16px;line-height:1.5}.story-listing-search{position:relative}.story-listing-search>svg{position:absolute;left:12px;top:15px;color:var(--ui-muted);pointer-events:none;z-index:1}.story-editor .story-listing-search>input{padding-left:40px}.story-listing-results{max-height:230px;overflow:auto;overscroll-behavior:contain;margin-top:10px}.story-listing-results>button{display:flex;align-items:center;gap:12px;width:100%;padding:10px 6px;border-radius:10px;text-align:left;color:var(--ui-text)}.story-listing-results>button+button{border-top:1px solid var(--ui-border)}.story-listing-results>button:hover{background:var(--ui-hover)}.story-listing-results .story-listing-cover{position:relative;display:block;width:50px;height:60px;overflow:hidden;flex:none;border:1px solid var(--ui-border);border-radius:9px}.story-listing-cover img{width:100%;height:100%;object-fit:cover}.story-listing-results button>span:last-child{display:grid;gap:5px;min-width:0}.story-listing-results strong{font-size:16px;line-height:1.4;font-weight:600;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.story-listing-results small{font-size:16px;color:var(--ui-muted);line-height:1.4}.story-listing-picker>nav{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px;font-size:16px;color:var(--ui-muted)}.story-listing-picker>nav button{min-height:44px;padding:8px;border-radius:10px;color:var(--ui-accent)}.story-listing-picker>nav button:disabled,.story-listing-state{color:var(--ui-muted)}.story-listing-state{display:flex;flex-direction:column;align-items:center;gap:8px;padding:24px 10px;text-align:center;font-size:16px;line-height:1.5}.story-listing-state strong{font-size:16px;color:var(--ui-text)}.story-listing-state p{margin:0}@media(max-width:700px){.story-editor-tool textarea{min-height:90px;max-height:160px}.story-listing-results{max-height:170px}}.story-viewer .story-link-overlay{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);pointer-events:none;overflow:hidden}.story-viewer .story-link-overlay>a{position:absolute;display:block;pointer-events:auto;border-radius:12px;background:transparent;touch-action:manipulation}.story-viewer .story-link-overlay>a:focus-visible{outline:3px solid #0a84ff;outline-offset:3px;background:#0a84ff12}.story-location-viewer{width:min(540px,calc(100vw - 24px));max-height:calc(100dvh - 32px);margin:auto;padding:0;border:0;border-radius:24px;overflow:auto;background:#f8fafc;color:#24364a;box-shadow:0 22px 80px #203a5633}.story-location-viewer::backdrop{background:#15283c66;backdrop-filter:blur(12px)}.story-location-viewer>header{display:flex;align-items:center;gap:10px;padding:16px}.story-location-viewer>header>strong{flex:1;min-width:0;overflow-wrap:anywhere}.story-location-viewer .story-location-viewer-map{height:min(55dvh,400px);min-height:200px}.story-location-viewer>footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:16px;font-size:13px}.story-location-viewer>footer>span{color:#617287;font-variant-numeric:tabular-nums}.story-location-viewer>footer>a{color:#007aff;text-decoration:none;padding:10px 12px;border-radius:12px;background:#007aff12}.story-location-viewer .ui-close-button{flex:none;width:40px;height:40px;border-radius:50%}.story-viewer .story-location-viewer :is(input,textarea,[contenteditable=true]){-webkit-user-select:text;user-select:text}.story-viewer[data-theme]>button.story-next:is(:hover,:active,:focus-visible),.story-viewer[data-theme]>button.story-previous:is(:hover,:active,:focus-visible){transform:none;translate:none;scale:1}