.written-story{text-align:start;width:100%;min-width:0}.written-story p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font:inherit;margin:1.4em 0}.written-story__media{background:var(--s0);border-radius:16px;margin:20px 0;overflow:hidden}.written-story__media :is(img,video){object-fit:contain;width:100%;max-height:75dvh;display:block}.written-story__media audio{width:100%}.story-editor{width:100%;min-width:0;padding:8px 0}.story-editor__hint{color:var(--fg2);line-height:1.6}.story-editor__block{border-bottom:1px solid var(--line,#ffffff18);padding:12px 0}.story-editor textarea{box-sizing:border-box;resize:vertical;border:1px solid var(--line,#ffffff20);background:var(--s0);width:100%;min-height:120px;color:var(--fg);font:inherit;border-radius:16px;padding:18px;line-height:1.7}.story-editor textarea:focus-visible{outline:2px solid var(--em1);outline-offset:3px}.story-editor__controls{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.story-editor :is(button){border:1px solid var(--line,#ffffff20);min-height:44px;color:inherit;font:inherit;cursor:pointer;background:0 0;border-radius:99px;justify-content:center;align-items:center;gap:7px;padding:8px 14px;transition:background .16s,transform .16s;display:inline-flex}.story-editor button:not(:disabled):hover{background:color-mix(in srgb,var(--em1) 12%,transparent)}.story-editor button:disabled{opacity:.4;cursor:default}.story-editor button:focus-visible{outline:2px solid var(--em1);outline-offset:3px}.story-editor button svg{width:18px;height:18px}.story-editor__add{margin-top:20px;color:var(--em1)!important}.story-editor__count{color:var(--fg2);text-align:end;margin-top:12px;display:block}.story-format{flex-wrap:wrap;gap:8px;padding:12px 0;display:flex}.story-format button{border:1px solid var(--line,#ffffff20);min-height:44px;color:inherit;font:inherit;cursor:pointer;background:0 0;border-radius:99px;padding:10px 18px}.story-format button[aria-pressed=true]{background:var(--em1);color:#fff;border-color:var(--em1)}.pmbox.written-story-composer .pmttlw{display:block!important}.pmbox.written-story-composer .pc-media-strip{display:none}.pmbox.written-story-composer .pc-editor{min-width:0}@media (prefers-reduced-motion:reduce){.story-editor button{transition:none}}@media (width<=600px){.story-editor textarea{font-size:16px}.story-editor__controls button{padding:8px 11px;font-size:12px}}:root:root:root:root:root:root #pmwrap .pmbox.written-story-composer{background:var(--s0);width:min(760px,100vw - 32px);max-width:760px;height:min(860px,100dvh - 36px);max-height:calc(100dvh - 36px);color:var(--fg);flex-direction:column;display:flex;overflow:hidden}:root:root:root:root:root:root #pmwrap .written-story-composer .pmtop{background:var(--s0);border-bottom:1px solid var(--line);flex-shrink:0;gap:16px;min-height:80px;padding:18px 22px;position:relative}#pmwrap .written-story-composer .pc-heading h2{font:800 26px/1.15 var(--sans);letter-spacing:-.035em}#pmwrap .written-story-composer .pc-header-actions{gap:10px;margin-inline-start:auto;display:flex}#pmwrap .written-story-composer .pc-header-actions button{border:1px solid var(--line);min-height:44px;color:var(--fg);font:600 13px/1.3 var(--sans);background:var(--s1);cursor:pointer;border-radius:99px;padding:10px 16px}#pmwrap .written-story-composer .pc-header-actions .pc-publish{background:var(--em1);color:#fff;border-color:var(--em1)}#pmwrap .written-story-composer .pc-header-actions button:disabled{opacity:.45;cursor:default}:root:root:root:root:root:root #pmwrap .written-story-composer .pc-layout{overscroll-behavior:contain;flex:1;min-height:0;padding:0;display:block;overflow:auto}:root:root:root:root:root:root #pmwrap .written-story-composer .pc-editor{padding:20px 22px 0;display:block;overflow:visible}#pmwrap .written-story-composer .pmttlw{margin:8px 0;padding:0}#pmwrap .written-story-composer .pmttlw input{width:100%;font:700 26px/1.3 var(--sans);padding:12px 0}#pmwrap .written-story-composer .pc-library{border:1px solid var(--line);min-height:44px;font:600 13px var(--sans);color:var(--fg);background:var(--s1);border-radius:99px;margin:12px 0;padding:10px 16px}:root:root:root:root:root:root #pmwrap .written-story-composer .pmbar{background:var(--s0);border-top:1px solid var(--line);z-index:2;margin:16px -22px 0;padding:14px 22px;position:sticky;bottom:0}#pmwrap .written-story-composer.panel-open :is(.story-editor,.story-format,.pmttlw,.pc-library,.pmchipwrap){display:none!important}#pmwrap .written-story-composer .pm-review{margin:0}#pmwrap .written-story-composer .pmstate{padding:0 0 8px}@media (width<=600px){:root:root:root:root:root:root #pmwrap .pmbox.written-story-composer{border-radius:22px;width:100%;height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}:root:root:root:root:root:root #pmwrap .written-story-composer .pmtop{min-height:72px;padding:15px 16px}#pmwrap .written-story-composer .pc-heading h2{font-size:23px}#pmwrap .written-story-composer .pc-header-actions .pc-publish{display:none}#pmwrap .written-story-composer .pc-header-actions .pc-draft{padding:8px 11px}:root:root:root:root:root:root #pmwrap .written-story-composer .pc-editor{padding:16px 16px 0}:root:root:root:root:root:root #pmwrap .written-story-composer .pmbar{padding:12px 16px calc(12px + env(safe-area-inset-bottom));margin-inline:-16px}}#pmwrap .pc-full-preview{border:1px solid var(--line);background:var(--s1);width:100%;min-height:44px;color:var(--fg);font:600 14px var(--sans);cursor:pointer;border-radius:12px;order:4;justify-content:center;align-items:center;gap:8px;padding:12px 16px;display:flex}#pmwrap .pc-full-preview svg{width:20px;height:20px}#pmwrap .pc-full-preview:focus-visible{outline:2px solid var(--em1);outline-offset:3px}#pmwrap .pc-full-preview:disabled{opacity:.45;cursor:default}#pmwrap .pm-review .written-story__media{background:var(--s0)}.story-editor select{background:var(--s1);border-radius:99px;padding:8px 12px}#pmwrap .pm-review .written-story p{-webkit-line-clamp:unset;max-height:none;font:400 16px/1.75 var(--sans);white-space:pre-wrap;color:var(--fg);margin:20px 0;display:block;overflow:visible}:root:root:root:root:root:root #pmwrap .reference-post.reviewing-post .pc-editor>:not(.pmmenu):not(.pmbar){display:none!important}:root:root:root:root:root:root #pmwrap :is(.reference-post.reviewing-post,.written-story-composer) .pmmenu.on{background:var(--s0);max-height:none;overflow:visible}#pmwrap .pm-review .written-story p{line-clamp:unset}:root:root:root:root:root:root #pmwrap .pmbox.reference-post.reviewing-post,:root:root:root:root:root:root #pmwrap .reference-post.reviewing-post .pmtop{background:var(--s0);color:var(--fg);border-color:var(--line)}#pmwrap .reference-post.reviewing-post .pc-heading :is(h2,p){color:var(--fg)}#pmwrap .reference-post.reviewing-post .pc-header-actions .pc-draft{background:var(--s1);color:var(--fg);border-color:var(--line)}.story-editor__drag{cursor:grab}.story-editor__drag:active{cursor:grabbing}.story-editor__block.is-drop-target{outline:2px solid var(--em1);outline-offset:4px}@media (prefers-reduced-motion:no-preference){.story-editor__block{transition:background-color .18s,outline-offset .18s}.story-editor__block.is-drop-target{background:var(--s1);outline-offset:1px}}.story-editor select{border:1px solid var(--line);background:var(--s0);min-width:0;max-width:100%;min-height:44px;color:var(--fg);font:inherit;border-radius:12px;padding:10px 14px}.story-editor select:focus-visible{outline:2px solid var(--em1);outline-offset:3px}.story-editor__count{font-variant-numeric:tabular-nums}.story-editor__hint:empty{display:none}
