.post-editor [hidden]{display:none!important}.post-recover{color:#b45309;margin:6px 0;font-size:14px}.post-editor__layout{grid-template-columns:280px minmax(0,1fr);align-items:start;gap:20px;display:grid}.post-editor__layout>*{min-width:0;max-width:100%}.post-editor input,.post-editor select,.post-editor textarea{box-sizing:border-box;min-width:0;max-width:100%}.post-list{gap:6px;max-height:60vh;margin:0;padding:0;list-style:none;display:grid;overflow:auto}.post-list li{border:1px solid var(--sea-line,#e5e7eb);border-radius:8px;flex-direction:column;gap:2px;padding:8px 10px;display:flex}.post-list li[aria-current=true]{border-color:var(--sea-accent,#ef501d)}.post-list button{font:inherit;text-align:left;cursor:pointer;color:inherit;background:0 0;border:0;padding:0}.post-list small,.post-list__empty{color:var(--sea-muted,#6b7280)}.post-list__more{width:100%;margin-top:8px}.post-cover{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.post-cover img{object-fit:cover;border:1px solid var(--sea-line,#e5e7eb);border-radius:6px;width:160px;height:90px}.post-toolbar{flex-wrap:wrap;gap:6px;margin-bottom:6px;display:flex}.post-toolbar .account-secondary{min-height:32px;padding:4px 10px;font-size:13px}.post-toolbar__upload{cursor:pointer;align-items:center;display:inline-flex}.post-sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}textarea[data-post-markdown]{width:100%;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:14px;line-height:1.6}.post-form__head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 16px;margin-bottom:8px;display:flex}.post-form__head h2{margin:0}.post-state{color:var(--sea-muted,#6b7280);flex-wrap:wrap;gap:6px 10px;margin:0;font-size:13px;display:flex}.post-state strong{color:var(--sea-accent,#ef501d);font-weight:600}.post-list li[data-post-state=已发布] small{color:#15803d}.post-list__restore{min-height:32px;margin-top:6px;padding:4px 10px;font-size:13px}.post-list__trash{font:inherit;color:var(--sea-muted,#6b7280);cursor:pointer;background:0 0;border:0;margin-top:8px;padding:4px 0;font-size:13px;text-decoration:underline}.post-delete{font:inherit;color:#b91c1c;cursor:pointer;background:0 0;border:1px solid #fca5a5;border-radius:8px;margin-left:auto;padding:8px 14px}.post-tags__chips{flex-wrap:wrap;gap:6px;margin-bottom:6px;display:flex}.post-tags__chips:empty{display:none}.post-tag-chip{color:#c74b21;background:#fff1e9;border-radius:999px;align-items:center;gap:4px;padding:2px 6px 2px 10px;font-size:13px;line-height:1.6;display:inline-flex}.post-tag-chip__remove{font:inherit;cursor:pointer;color:inherit;background:0 0;border:0;border-radius:50%;min-width:24px;min-height:24px;padding:2px 4px;font-size:15px;line-height:1}.post-tag-chip__remove:hover{background:#fde0d1}.post-tags__common{flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px;font-size:13px;display:flex}.post-tags__common:empty{display:none}.post-tag-common__label{color:var(--sea-muted,#6b7280)}.post-tag-common__item{font:inherit;border:1px solid var(--sea-line,#e5e7eb);cursor:pointer;color:inherit;background:0 0;border-radius:999px;min-height:28px;padding:2px 10px;font-size:13px}.post-tag-common__item[aria-pressed=true]{border-color:var(--sea-accent,#ef501d);color:var(--sea-accent,#ef501d);background:#fff7f2}.post-tags small{color:var(--sea-muted,#6b7280);margin-top:6px;display:block}.post-toolbar__preview{margin-left:auto}.post-toolbar__preview[aria-pressed=true]{border-color:var(--sea-accent,#ef501d);color:var(--sea-accent,#ef501d)}.post-preview{border:1px dashed var(--sea-line,#e5e7eb);overflow-wrap:anywhere;background:#fafafa;border-radius:8px;margin-top:10px;padding:14px 16px;font-size:15px;line-height:1.75}.post-preview h2{margin:16px 0 8px;font-size:20px}.post-preview h3{margin:14px 0 6px;font-size:17px}.post-preview p{margin:0 0 10px}.post-preview blockquote{color:#4b5563;border-left:3px solid #e5e7eb;margin:0 0 10px;padding:4px 12px}.post-preview ul,.post-preview ol{margin:0 0 10px;padding-left:24px}.post-preview img{border-radius:6px;max-width:100%;height:auto;display:block}.post-preview__figure{margin:0 0 10px}.post-preview__figure figcaption{color:var(--sea-muted,#6b7280);margin-top:4px;font-size:13px}.post-preview__missing{color:var(--sea-muted,#6b7280);font-size:13px}.post-preview code{background:#f1f3f6;border-radius:4px;padding:1px 4px;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:.92em}.post-upload-progress{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.post-upload-progress progress{width:min(320px,100%);height:10px}.post-upload-progress small{color:var(--sea-muted,#6b7280)}.post-video__row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.post-video__preview{aspect-ratio:16/9;background:#111;border-radius:8px;width:min(480px,100%);margin-top:10px;display:block}.post-video small{margin-top:6px;display:block}.post-md__autosave{color:#8a929d;margin-top:6px;font-size:12px;display:block}.post-md__autosave:empty{display:none}@media (width<=900px){.post-delete{margin-left:0}}.post-editor__form{padding-top:18px}.post-form{grid-template-columns:minmax(0,1fr);gap:14px}.post-form>*{min-width:0}.post-actions{flex-wrap:wrap}.post-title-field{margin:0 0 6px;display:block}.post-title-field input{border:0;border-bottom:2px solid var(--sea-line,#e5e7eb);width:100%;color:inherit;background:0 0;border-radius:0;outline:none;padding:8px 2px;font-size:26px;font-weight:650;line-height:1.35}.post-title-field input:focus{border-bottom-color:var(--sea-accent,#ef501d)}.post-title-field input::placeholder{color:#b0b6bf;font-weight:500}.post-rte{border:1px solid var(--sea-line,#e5e7eb);background:#fff;border-radius:12px}.post-rte__toolbar,.post-rte__table{border-bottom:1px solid var(--sea-line,#e5e7eb);background:#fafbfc;flex-wrap:wrap;align-items:center;gap:4px;padding:8px 10px;display:flex}.post-rte__emoji{border-bottom:1px solid var(--sea-line,#e5e7eb);background:#fff7f2;flex-wrap:wrap;gap:2px;padding:6px 10px;display:flex}.post-emoji{flex-wrap:wrap;gap:4px;margin-top:6px;display:flex}.post-emoji button,.post-rte__emoji button{font:inherit;border:1px solid var(--sea-line,#e5e7eb);cursor:pointer;min-width:34px;min-height:32px;color:inherit;background:0 0;border-radius:8px;padding:3px 6px;font-size:18px;line-height:1}.post-emoji button:hover,.post-rte__emoji button:hover{background:#fff1e9;border-color:#f6c4ad}.post-rte__head{z-index:5;border-radius:12px 12px 0 0;position:sticky;top:64px}.post-rte__toolbar{border-radius:12px 12px 0 0}.post-rte__table{background:#fff7f2;font-size:13px}.post-rte__table:before{content:"表格：";color:#c74b21;margin-right:4px}.post-rte-btn{font:inherit;color:#374151;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;min-width:36px;min-height:34px;padding:4px 10px;font-size:14px;line-height:1}.post-rte-btn:hover{color:#c74b21;background:#fff1e9}.post-rte-btn[aria-pressed=true]{color:#c74b21;background:#fde7da;border-color:#f6c4ad}.post-rte-btn:disabled{opacity:.4;cursor:default;background:0 0}.post-rte-btn--bold{font-weight:700}.post-rte-btn--italic{font-style:italic}.post-rte-btn--underline{text-decoration:underline}.post-rte-btn--strikethrough{text-decoration:line-through}.post-rte-btn--code{font-family:ui-monospace,Menlo,Consolas,monospace}.post-rte-select{font:inherit;border:1px solid var(--sea-line,#e5e7eb);min-height:34px;color:inherit;background:#fff;border-radius:8px;padding:4px 8px;font-size:14px}.post-rte-sep{background:#e2e6ec;width:1px;height:22px;margin:0 4px}.post-rte__surface{position:relative}.post-rte__placeholder{color:#9aa3ad;pointer-events:none;margin:0;font-size:16px;line-height:1.8;position:absolute;top:22px;left:24px;right:24px}.post-rte__editor{color:#1f2933;overflow-wrap:anywhere;outline:none;min-height:60vh;padding:20px 24px 40px;font-size:16px;line-height:1.85}.post-rte__editor:focus-visible{box-shadow:inset 0 0 0 2px #fde7da}.post-rte__editor p{margin:0 0 12px}.post-rte__editor h2{margin:28px 0 12px;font-size:24px;font-weight:650;line-height:1.4}.post-rte__editor h3{margin:22px 0 10px;font-size:19px;font-weight:650;line-height:1.45}.post-rte__editor ul,.post-rte__editor ol{margin:0 0 12px;padding-left:28px}.post-rte__editor li{margin:4px 0}.post-rte__editor li.post-rte-nested{list-style:none}.post-rte__editor .post-rte-quote{color:#4b5563;background:#fff9f6;border-left:3px solid #f6c4ad;margin:0 0 12px;padding:6px 16px}.post-rte__editor .post-rte-codeblock{white-space:pre-wrap;tab-size:2;background:#f1f3f6;border-radius:8px;margin:0 0 12px;padding:12px 14px;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:14px;line-height:1.6;display:block}.post-rte__editor code{background:#f1f3f6;border-radius:4px;padding:1px 5px;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:.92em}.post-rte__editor .post-rte-codeblock code{background:0 0;padding:0}.post-rte__editor a.post-rte-link{color:#cf481a;text-decoration:underline}.post-rte__editor hr,.post-rte-hr hr{border:0;border-top:1px solid #e2e6ec;margin:20px 0}.post-rte-image{margin:0 0 12px}.post-rte-figure{margin:0}.post-rte-figure img{border-radius:8px;max-width:100%;height:auto;display:block}.post-rte-figure figcaption{color:#6b7280;margin-top:6px;font-size:13px}.post-rte-figure__missing{color:#6b7280;background:#f1f3f6;border-radius:8px;padding:24px;font-size:13px;display:inline-block}.post-rte-image[class*=selected],.post-rte__editor [data-lexical-decorator] .post-rte-figure:focus-within{outline:2px solid #f6c4ad}.post-rte__editor table.post-rte-table{border-collapse:collapse;width:100%;margin:0 0 14px;font-size:15px}.post-rte__editor .post-rte-cell{vertical-align:top;border:1px solid #d8dfe7;min-width:60px;padding:6px 10px}.post-rte__editor .post-rte-cell--head{background:#f6f7f9;font-weight:600}.post-rte__editor .post-rte-cell--selected{background:#fde7da}.post-rte__editor .post-rte-cell p{margin:0}.post-rte__foot{color:#8a929d;border-top:1px solid var(--sea-line,#e5e7eb);background:#fafbfc;border-radius:0 0 12px 12px;justify-content:space-between;gap:12px;padding:6px 12px;font-size:12px;display:flex}.post-settings{border:1px solid var(--sea-line,#e5e7eb);background:#fafbfc;border-radius:12px;padding:0 16px}.post-settings>summary{cursor:pointer;padding:12px 0;font-weight:600;list-style:none}.post-settings>summary::-webkit-details-marker{display:none}.post-settings>summary:before{content:"▸ ";color:#c74b21}.post-settings[open]>summary:before{content:"▾ "}.post-settings__grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 20px;padding:0 0 16px;display:grid}.post-settings__grid>*,.post-cover,.post-video__row{min-width:0}.post-editor input[type=file]:not(.post-sr-only){flex:100%;width:100%;min-width:0;max-width:100%}.post-settings__grid>.account-field:nth-child(2){grid-column:1/-1}.post-actions{border-top:1px solid var(--sea-line,#e5e7eb);z-index:4;background:#fff;padding:12px 0 4px;position:sticky;bottom:0}.post-actions>.account-error,.post-actions>.account-notice,.post-actions>.post-recover{flex:100%;margin:0 0 4px}.post-recover--stale{flex-wrap:wrap;gap:8px;display:flex}.post-actions__more{display:contents}.post-actions .post-more-toggle{display:none}@media (width<=600px){.post-actions{align-items:center;gap:8px;padding-top:8px}.post-actions [data-post-save]{white-space:nowrap;flex:1 1 0;min-width:0}.post-actions .post-more-toggle{white-space:nowrap;flex:none;display:inline-flex}.post-actions:not(:has(.post-actions__more>:not([hidden]))) .post-more-toggle{display:none}.post-actions__more{z-index:5;border:1px solid var(--sea-line,#e5e7eb);background:#fff;border-radius:12px;flex-direction:column;align-items:stretch;gap:6px;min-width:200px;padding:8px;display:none;position:absolute;bottom:calc(100% + 6px);right:0;box-shadow:0 8px 24px #0f172a24}.post-actions--more-open .post-actions__more{display:flex}.post-actions__more>*{justify-content:center;margin:0}}.post-recover-bar{color:#7c2d12;background:#fff7f2;border:1px solid #f6c4ad;border-radius:10px;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 12px;padding:10px 14px;font-size:14px;display:flex}.post-recover-bar>span{flex:240px}.post-recover-bar .account-submit,.post-recover-bar .account-secondary{min-height:36px;padding:4px 14px}.post-rte-image--bad{outline-offset:2px;border-radius:8px;outline:2px solid #ef4444}@media (width<=900px){.post-editor__layout,.post-settings__grid{grid-template-columns:minmax(0,1fr)}.post-rte__head{top:56px}.post-rte__editor{min-height:50vh;padding:16px}.post-rte__placeholder{top:18px;left:16px;right:16px}.post-title-field input{font-size:22px}}
