:root{--bg: #f5f0e6;--bg2: #fbf8f0;--bg3: #efe8da;--fg: #3a2e28;--fg2: #8b7667;--accent: #b04a3f;--accent2: #8a6b52;--green: #4e7a5b;--red: #c0392b;--orange: #c08a3e;--border: #e3d9c6;--radius: 4px;--radius-lg: 6px;--font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;--mono: "JetBrains Mono", "SF Mono", "Fira Code", monospace;--serif: "Kaiti SC", "STKaiti", "KaiTi", "Songti SC", "Noto Serif SC", "STSong", "SimSun", serif}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body{height:100%;overflow:hidden}body{font-family:var(--font);background:var(--bg);color:var(--fg);display:flex;flex-direction:column}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:var(--fg2)}.toolbar-wrap{flex-shrink:0;background:#fbf8f0d9;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--border);padding:10px 20px;display:flex;align-items:center;gap:6px;flex-wrap:wrap;z-index:10}.toolbar-wrap .brand{font-weight:700;font-size:14px;color:var(--accent);margin-right:14px;white-space:nowrap}.toolbar-wrap .brand small{color:var(--fg2);font-weight:400}.toolbar-group{display:flex;gap:2px;align-items:center;flex-wrap:wrap}.toolbar-divider{width:1px;height:22px;background:var(--border);margin:0 8px}.toolbar-btn{width:34px;height:34px;display:flex;align-items:center;justify-content:center;background:transparent;border:none;color:var(--fg2);border-radius:6px;cursor:pointer;transition:all .3s ease;font-family:var(--font);position:relative}.toolbar-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.toolbar-btn:hover{background:var(--bg3);color:var(--fg)}.toolbar-btn.is-active{background:var(--accent);color:#fff}.main-wrap{display:flex;flex:1;overflow:hidden}.sidebar{width:260px;min-width:0;background:var(--bg);border-right:1px solid var(--border);display:flex;flex-direction:column;transition:width .3s ease,min-width .3s ease,transform .3s ease;overflow:hidden;z-index:5}.sidebar.collapsed{width:0;min-width:0;border:none}.sidebar-header{padding:14px 16px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:600;color:var(--fg2);flex-shrink:0;flex-wrap:wrap;gap:6px}.sidebar-header button{background:var(--accent);color:#fff;border:none;border-radius:6px;padding:5px 12px;font-size:12px;cursor:pointer;font-weight:600;transition:all .3s ease}.sidebar-header button:hover{opacity:.9;transform:translateY(-1px)}.sidebar-search{padding:8px 12px;border-bottom:1px solid var(--border);flex-shrink:0}.sidebar-search input{width:100%;background:var(--bg3);border:1px solid var(--border);border-radius:6px;color:var(--fg);padding:7px 10px;font-size:12px;font-family:var(--font);outline:none;transition:box-shadow .3s ease}.sidebar-search input:focus{box-shadow:0 0 0 2px #b04a3f40}.sidebar-search input::placeholder{color:var(--fg2)}.sidebar-list{flex:1;overflow-y:auto;padding:4px 0}.post-item{padding:12px 16px;cursor:pointer;border-left:3px solid transparent;transition:all .3s ease;font-size:13px}.post-item:hover{background:var(--bg2);transform:translateY(-1px);box-shadow:0 2px 8px #0003}.post-item.active{background:var(--bg2);border-left-color:var(--accent)}.post-item .title{color:var(--fg);font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.post-item .excerpt{color:var(--fg2);font-size:11px;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.post-item .meta{color:var(--fg2);font-size:11px;margin-top:2px}.post-item .draft-badge{display:inline-block;background:var(--orange);color:#000;font-size:10px;padding:1px 6px;border-radius:10px;font-weight:600;margin-left:6px}.post-item .pinned-badge{display:inline-block;background:var(--accent);color:#fff;font-size:10px;padding:1px 6px;border-radius:10px;font-weight:600;margin-left:6px}.cat-group{margin-bottom:2px}.cat-header{display:flex;align-items:center;padding:8px 16px 6px;font-size:11px;font-weight:600;color:var(--accent);text-transform:uppercase;letter-spacing:.5px;cursor:pointer;user-select:none;transition:color .2s;gap:6px}.cat-header:hover{color:var(--accent2)}.cat-header .arrow{display:inline-block;width:10px;transition:transform .2s;font-size:10px;color:var(--fg2)}.cat-header .arrow.collapsed{transform:rotate(-90deg)}.cat-header .count{margin-left:auto;font-size:10px;color:var(--fg2);font-weight:400;background:var(--bg3);padding:0 6px;border-radius:8px}.cat-body.hidden{display:none}.sidebar-overlay{display:none;position:fixed;inset:0;background:#00000080;z-index:20;opacity:0;transition:opacity .3s ease}.sidebar-overlay.visible{display:block;opacity:1}.sidebar.mobile-slide{position:fixed;top:0;left:0;bottom:0;width:280px;z-index:25;background:var(--bg);border-right:1px solid var(--border);transform:translate(-100%);transition:transform .3s ease}.sidebar.mobile-slide.open{transform:translate(0)}.editor-area{flex:1;display:flex;flex-direction:column;overflow:hidden;background:var(--bg)}.meta-bar{flex-shrink:0;padding:18px 28px 10px;border-bottom:1px solid var(--border);background:#fbf8f099;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.meta-bar input,.meta-bar select{background:var(--bg3);border:1px solid var(--border);border-radius:6px;color:var(--fg);padding:8px 12px;font-size:13px;font-family:var(--font);outline:none;transition:box-shadow .3s ease}.meta-bar input:focus,.meta-bar select:focus{box-shadow:0 0 0 2px #b04a3f40}.meta-bar .title-input{width:100%;font-size:22px;font-weight:700;background:transparent;border:none;color:var(--fg);padding:4px 0 14px;outline:none;font-family:var(--font)}.meta-bar .title-input::placeholder{color:var(--fg2)}.meta-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:8px}.meta-row label{font-size:12px;color:var(--fg2);white-space:nowrap}.meta-row input{flex:1;min-width:80px}.meta-row .slug-input{max-width:200px}.meta-row .tags-input{flex:2;min-width:120px}.meta-row .desc-input{width:100%;margin-top:8px}.collapse-btn{display:inline-flex;align-items:center;justify-content:center;background:transparent;border:none;color:var(--fg2);cursor:pointer;padding:2px 6px;border-radius:4px;transition:all .2s;font-size:12px;flex-shrink:0}.collapse-btn:hover{color:var(--fg);background:var(--bg3)}.collapse-btn svg{width:14px;height:14px}.toolbar-wrap.collapsed .toolbar-group{display:none}.meta-bar.collapsed{padding-bottom:6px}.meta-bar.collapsed .meta-row{display:none}.meta-bar.collapsed .title-input{padding-bottom:2px;font-size:16px}.meta-bar.collapsed .meta-header{margin-bottom:0}.meta-header{display:flex;align-items:center;gap:8px;margin-bottom:0}.meta-header .title-input{flex:1}.meta-header .collapse-btn{margin-left:auto}.meta-bar,.toolbar-wrap{transition:padding .2s ease}.meta-row{transition:opacity .2s ease}.toggle-wrap{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.toggle-wrap input[type=checkbox]{appearance:none;width:36px;height:20px;background:var(--bg3);border:1px solid var(--border);border-radius:10px;position:relative;cursor:pointer;transition:all .3s ease;flex:none}.toggle-wrap input[type=checkbox]:after{content:"";position:absolute;width:14px;height:14px;background:var(--fg2);border-radius:50%;top:2px;left:2px;transition:all .3s ease}.toggle-wrap input[type=checkbox]:checked{background:var(--accent);border-color:var(--accent)}.toggle-wrap input[type=checkbox]:checked:after{left:18px;background:#fff}.toggle-wrap label{font-size:12px;color:var(--fg2);cursor:pointer}.action-bar{flex-shrink:0;padding:10px 28px;border-bottom:1px solid var(--border);display:flex;gap:10px;align-items:center;background:#fbf8f099;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.action-bar button{padding:9px 22px;border:none;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;transition:all .3s ease;font-family:var(--font);display:inline-flex;align-items:center;gap:6px}.action-bar button:hover{transform:translateY(-1px)}.btn-draft{background:var(--bg3);color:var(--fg)}.btn-draft:hover{background:var(--border)}.btn-publish{background:var(--accent);color:#fff}.btn-publish:hover{opacity:.9}.btn-delete{background:transparent;color:var(--red);border:1px solid var(--red)!important}.btn-delete:hover{background:var(--red);color:#fff}.btn-sidebar-toggle{background:transparent;border:none;color:var(--fg2);cursor:pointer;font-size:18px;padding:4px 8px;border-radius:4px;margin-right:4px;transition:all .3s ease}.btn-sidebar-toggle:hover{background:var(--bg3);color:var(--fg)}.action-status{font-size:12px;color:var(--fg2);margin-left:auto;display:flex;align-items:center;gap:8px;white-space:nowrap}.action-status .spinner{width:14px;height:14px;border:2px solid var(--border);border-top-color:var(--accent);border-radius:50%;animation:spin .6s linear infinite;display:none}.action-status.loading .spinner{display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.action-status .word-count{color:var(--fg2);opacity:.7;border-left:1px solid var(--border);padding-left:8px}.action-status .autosave-status{font-size:11px;transition:all .3s ease}.kbd-hint{font-size:10px;opacity:.5;font-weight:400;margin-left:4px}.editor-body{flex:1;overflow-y:auto;padding:0}.ProseMirror{max-width:720px;margin:0 auto;padding:40px 28px;min-height:100%;outline:none;font-size:16px;line-height:1.8}.ProseMirror p{margin:.5em 0}.ProseMirror h1{font-size:1.8em;font-weight:700;margin:.8em 0 .4em;color:var(--fg);font-family:var(--serif)}.ProseMirror h2{font-size:1.4em;font-weight:700;margin:.7em 0 .35em;color:var(--fg);font-family:var(--serif)}.ProseMirror h3{font-size:1.15em;font-weight:600;margin:.6em 0 .3em;color:var(--fg);font-family:var(--serif)}.ProseMirror strong{font-weight:700;color:var(--fg)}.ProseMirror a{color:var(--accent);text-decoration:underline;cursor:pointer}.ProseMirror a:hover{opacity:.8}.ProseMirror ul,.ProseMirror ol{padding-left:1.5em;margin:.5em 0}.ProseMirror li{margin:.2em 0}.ProseMirror blockquote{border-left:3px solid var(--accent2);padding-left:1em;margin:.8em 0;color:var(--fg2);font-style:italic}.ProseMirror pre{background:#f0e9dc;border:1px solid var(--border);border-radius:6px;padding:16px;overflow-x:auto;font-family:var(--mono);font-size:13px;line-height:1.6;margin:.8em 0}.ProseMirror code{background:var(--bg3);padding:2px 6px;border-radius:4px;font-family:var(--mono);font-size:.9em}.ProseMirror pre code{background:transparent;padding:0}.ProseMirror img{max-width:100%;border-radius:6px;margin:1em 0}.ProseMirror hr{border:none;border-top:1px solid var(--border);margin:1.5em 0}.ProseMirror table{width:100%;border-collapse:collapse;margin:1em 0;font-size:.9em}.ProseMirror th,.ProseMirror td{border:1px solid var(--border);padding:8px 12px;text-align:left}.ProseMirror th{background:var(--bg2);font-weight:600}.ProseMirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);color:var(--fg2);opacity:.5;pointer-events:none;float:left;height:0}.ProseMirror s{text-decoration:line-through;color:var(--fg2)}.modal-overlay{display:none;position:fixed;inset:0;background:#0000008c;z-index:1000;align-items:center;justify-content:center;opacity:0;transition:opacity .3s ease}.modal-overlay.visible{display:flex;opacity:1}.modal-dialog{background:var(--bg2);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:0 16px 48px #00000080;padding:24px;min-width:320px;max-width:440px;width:90%;transform:scale(.95);transition:transform .3s ease}.modal-overlay.visible .modal-dialog{transform:scale(1)}.modal-dialog h3{font-size:16px;font-weight:600;margin-bottom:16px;color:var(--fg)}.modal-dialog label{display:block;font-size:12px;color:var(--fg2);margin-bottom:6px}.modal-dialog input[type=url],.modal-dialog input[type=text]{width:100%;background:var(--bg3);border:1px solid var(--border);border-radius:6px;color:var(--fg);padding:10px 12px;font-size:14px;font-family:var(--font);outline:none;margin-bottom:16px;transition:box-shadow .3s ease}.modal-dialog input:focus{box-shadow:0 0 0 2px #b04a3f40}.modal-dialog .modal-actions{display:flex;gap:8px;justify-content:flex-end}.modal-dialog .modal-actions button{padding:8px 18px;border:none;border-radius:6px;font-size:13px;font-weight:600;cursor:pointer;font-family:var(--font);transition:all .3s ease}.modal-dialog .modal-actions button:hover{transform:translateY(-1px)}.modal-btn-confirm{background:var(--accent);color:#fff}.modal-btn-cancel{background:var(--bg3);color:var(--fg2)}.modal-btn-cancel:hover{background:var(--border);color:var(--fg)}.modal-preview{margin-bottom:16px;text-align:center}.modal-preview img{max-width:100%;max-height:120px;border-radius:4px;object-fit:contain}.modal-file-upload{display:flex;gap:8px;align-items:center;margin-bottom:12px}.modal-file-btn{padding:7px 14px;background:var(--bg3);border:1px solid var(--border);border-radius:6px;color:var(--fg);font-size:12px;cursor:pointer;font-family:var(--font);transition:all .3s ease}.modal-file-btn:hover{background:var(--border)}.modal-file-upload input[type=file]{display:none}.modal-or-divider{text-align:center;font-size:12px;color:var(--fg2);margin-bottom:12px;position:relative}.modal-or-divider:before,.modal-or-divider:after{content:"";display:inline-block;width:40%;height:1px;background:var(--border);vertical-align:middle;margin:0 8px}.toast{position:fixed;bottom:24px;right:24px;background:var(--bg2);border:1px solid var(--border);border-radius:var(--radius);padding:12px 20px;font-size:13px;color:var(--fg);box-shadow:0 8px 24px #0006;transform:translateY(100px);opacity:0;transition:all .3s ease;z-index:100;max-width:400px}.toast.show{transform:translateY(0);opacity:1}.toast.success{border-color:var(--green)}.toast.error{border-color:var(--red)}.md-hint{position:fixed;bottom:20px;left:50%;transform:translate(-50%);background:var(--bg2);border:1px solid var(--border);border-radius:var(--radius);padding:8px 16px;font-size:12px;color:var(--fg2);box-shadow:0 4px 16px #0000004d;z-index:50;opacity:0;transition:opacity .5s ease;pointer-events:none;white-space:nowrap}.md-hint.visible{opacity:1}.md-hint code{background:var(--bg3);padding:1px 5px;border-radius:3px;font-family:var(--mono);font-size:11px}@media(max-width:768px){.sidebar{width:0;min-width:0;border:none}.sidebar.mobile-slide{width:280px;display:flex}.meta-bar{padding:14px 16px 6px}.meta-bar .title-input{font-size:18px}.ProseMirror{padding:24px 16px;max-width:100%}.toolbar-wrap{padding:8px 12px;gap:2px}.toolbar-wrap .brand{font-size:12px;margin-right:8px}.toolbar-wrap .brand small{display:none}.action-bar{padding:8px 16px}.action-bar button{padding:8px 14px;font-size:12px}.modal-dialog{min-width:280px}.kbd-hint{display:none}.md-hint{font-size:11px;padding:6px 12px;white-space:normal;max-width:90%}}body.writer-v2{min-height:0;height:100dvh;--fg2: #59645f;--bg: #f6f4ee;--bg2: #fffefa;--border: #dcded4;--accent: #a34535}body.writer-v2.xf-themed{overflow:hidden}body.writer-v2 .writer-topbar{display:flex;align-items:center;gap:18px;flex:none;min-height:58px;padding:10px 24px;border-bottom:1px solid #dcded4;background:#f6f4ee;color:#252c2c}body.writer-v2 .writer-heading{display:flex;align-items:center;gap:18px;flex-shrink:0}body.writer-v2 .writer-label{font-size:16px;font-weight:600}body.writer-v2 .btn-sidebar-toggle{display:flex;align-items:center;gap:7px;width:auto;min-height:38px;padding:8px 10px;font-size:14px;color:#3f4942}body.writer-v2 .writer-utilities{display:flex;gap:8px;margin-left:auto}body.writer-v2 .writer-plain{background:transparent;border:1px solid #c4cbbf;border-radius:6px;padding:9px 12px;font:inherit;font-size:14px;color:#3f4942;cursor:pointer;white-space:nowrap}body.writer-v2 .writer-plain[aria-pressed=true],body.writer-v2 .writer-plain[aria-expanded=true]{background:#eeeee5;border-color:#a34535;color:#84382d}body.writer-v2 .writer-topbar .action-bar{display:flex;align-items:center;flex-wrap:nowrap;gap:10px;margin:0;padding:0;background:none;border:0}body.writer-v2 .action-bar button{min-height:38px;padding:9px 14px;font-size:14px;border-radius:6px;white-space:nowrap}body.writer-v2 .action-status{margin:0;order:-1;display:flex;gap:8px;color:#59645f;font-size:13px;min-width:58px}body.writer-v2 .action-status .word-count{display:none}body.writer-v2 .action-status .autosave-status:empty{display:none}body.writer-v2 .kbd-hint{display:none}body.writer-v2 .main-wrap{min-height:0;flex:1}body.writer-v2 .sidebar{width:236px;flex:none;min-height:0}body.writer-v2 .sidebar.collapsed{width:0}body.writer-v2 .sidebar-header{padding:16px;font-size:14px}body.writer-v2 .sidebar-search input{font-size:14px;min-height:40px}body.writer-v2 .post-item{padding:13px 16px}body.writer-v2 .post-item .title{font-size:14px}body.writer-v2 .post-item .meta,body.writer-v2 .cat-header{font-size:12px}body.writer-v2 .editor-area{min-width:0;min-height:0;flex:1;background:#fffefa}body.writer-v2.xf-themed .meta-bar{padding:26px max(24px,calc((100% - 900px)/2 + 40px)) 18px;background:#fffefa;border:0;max-height:45vh;overflow-y:auto;flex:none;backdrop-filter:none}body.writer-v2 .meta-bar .meta-header{margin:0}body.writer-v2.xf-themed .meta-bar .title-input,body.writer-v2.xf-themed .meta-bar.collapsed .title-input{font-size:32px;line-height:1.5;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;min-width:0;font-weight:600;color:#252c2c}body.writer-v2 .meta-bar .title-input::placeholder{color:#838b82;font-weight:400}body.writer-v2 .meta-header .collapse-btn{display:none}body.writer-v2 .meta-bar .meta-row{padding-top:12px;gap:10px;flex-wrap:wrap}body.writer-v2 .meta-row input{min-height:38px;font-size:14px}body.writer-v2 .meta-row label{font-size:13px}body.writer-v2 .writer-danger{align-items:center;font-size:12px;color:#68716a}body.writer-v2.xf-themed .toolbar-wrap{padding:8px max(24px,calc((100% - 900px)/2 + 40px));gap:8px;background:#fffefa;border-bottom:1px solid #e7e8df;flex:none;backdrop-filter:none;flex-wrap:nowrap}body.writer-v2 .toolbar-wrap .brand{display:none}body.writer-v2 .toolbar-group{gap:3px;flex:1;min-width:0}body.writer-v2 .toolbar-divider{display:none}body.writer-v2 .toolbar-btn{width:36px;height:36px;color:#46534c;border-radius:5px}body.writer-v2 .toolbar-wrap:not(.writer-all-tools) [data-cmd]:is([data-cmd=h1],[data-cmd=h3],[data-cmd=strike],[data-cmd=code],[data-cmd=codeblock],[data-cmd=table],[data-cmd=hr],[data-cmd=paste]){display:none}body.writer-v2 #toolbarCollapse{width:auto;min-width:76px;height:36px;font-size:13px;padding:6px 10px;color:#59645f;white-space:nowrap}body.writer-v2 .editor-body{min-height:0;overflow-y:auto;background:#fffefa;scrollbar-gutter:stable}body.writer-v2.xf-themed .editor-body .ProseMirror{max-width:900px;padding:28px 40px 160px;min-height:100%;font-size:18px;line-height:1.95;color:#303833;font-family:var(--font)}body.writer-v2 .ProseMirror p{margin:.8em 0}body.writer-v2 .ProseMirror :is(h1,h2,h3){font-family:var(--font);line-height:1.5}body.writer-v2 .md-hint{display:none!important}body.writer-v2 .sidebar.mobile-slide{top:122px;bottom:0;width:280px}body.writer-v2 .sidebar-overlay.visible{top:122px;z-index:110}body.writer-v2 .sidebar.mobile-slide{z-index:111}body.writer-v2.writer-focused{padding-top:0!important}body.writer-v2.writer-focused :is(#xf-site-header,.sidebar,.sidebar-overlay,.writer-label){display:none!important}body.writer-v2 .writer-plain:focus-visible{outline:2px solid #a34535;outline-offset:3px}@media(max-width:1000px){body.writer-v2 .writer-topbar{gap:10px;padding-inline:16px}body.writer-v2 .writer-label,body.writer-v2 .action-status .autosave-status{display:none}body.writer-v2 .sidebar{width:216px}}@media(max-width:700px){body.writer-v2 .writer-topbar{padding:8px 12px;gap:8px;flex-wrap:wrap}body.writer-v2 .writer-utilities{gap:5px}body.writer-v2 .writer-plain{font-size:13px;padding:8px}body.writer-v2 .writer-topbar .action-bar{width:100%;justify-content:flex-end;gap:8px}body.writer-v2 .action-status{margin-right:auto}body.writer-v2 .action-bar button{font-size:13px}body.writer-v2.xf-themed .meta-bar{padding:20px 22px 12px;max-height:42vh}body.writer-v2.xf-themed .meta-bar .title-input,body.writer-v2.xf-themed .meta-bar.collapsed .title-input{font-size:25px}body.writer-v2.xf-themed .toolbar-wrap{padding:6px 16px;align-items:flex-start}body.writer-v2 .toolbar-group{flex-wrap:nowrap;overflow-x:auto}body.writer-v2 .toolbar-btn{flex-shrink:0}body.writer-v2 #toolbarCollapse{min-width:64px;font-size:12px}body.writer-v2.xf-themed .editor-body .ProseMirror{padding:20px 22px 100px;font-size:17px;line-height:1.9}body.writer-v2 .sidebar.mobile-slide,body.writer-v2 .sidebar-overlay.visible{top:162px}}body.writer-v2 .writer-filters{display:flex;padding:10px 12px;gap:4px;border-bottom:1px solid #dcded4}body.writer-v2 .writer-filters button{flex:1;border:0;background:none;color:#59645f;font-size:13px;padding:8px 4px;border-radius:5px;cursor:pointer}body.writer-v2 .writer-filters [aria-pressed=true]{background:#f3e5dd;color:#84382d}body.writer-v2 .scene-notice{padding:10px 24px;background:#f1eee3;color:#596045;font-size:14px;line-height:1.7;border-bottom:1px solid #dcded4;flex:none}body.writer-v2 .scene-notice a{color:#84382d;text-decoration:underline}body.writer-v2 .writer-preview{flex:1;min-height:0;overflow-y:auto;background:#f6f4ee;padding:20px 24px 100px}body.writer-v2 [hidden]{display:none!important}body.writer-v2 .writer-preview article{max-width:820px;padding:40px;margin:20px auto;background:#fffefa;border:1px solid #dcded4;border-radius:8px;overflow-wrap:anywhere}body.writer-v2 .writer-preview.preview-mobile article{max-width:390px;padding:24px 20px}body.writer-v2 .writer-preview h1{font-size:30px;line-height:1.5;margin-bottom:24px}body.writer-v2 #previewBody{font-size:18px;line-height:1.95;color:#303833}body.writer-v2 #previewBody p{margin:1em 0}body.writer-v2 #previewBody :is(ul,ol){padding-left:1.6em}body.writer-v2 #previewBody :is(h2,h3){margin:1.5em 0 .6em;line-height:1.5}body.writer-v2 #previewBody img{max-width:100%;height:auto;border-radius:6px}body.writer-v2 #previewBody pre{overflow:auto;padding:20px;background:#202c3b;color:#e4e9ef;border-radius:6px;font-size:14px;line-height:1.8}body.writer-v2 #previewBody table{display:block;overflow:auto;border-collapse:collapse;max-width:100%;font-size:15px}body.writer-v2 #previewBody :is(th,td){border:1px solid #c4c9bd;padding:10px 14px;min-width:90px}body.writer-v2 #previewBody blockquote{border-left:3px solid #a34535;background:#eeeee5;padding:10px 20px;margin:1em 0}body.writer-v2 .preview-controls{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px;color:#59645f;font-size:13px}body.writer-v2 .preview-controls button{padding:7px 12px;border:1px solid #c4c9bd;background:#fffefa;border-radius:4px;color:#59645f;cursor:pointer}body.writer-v2 .preview-controls [aria-pressed=true]{border-color:#a34535;color:#84382d}body.writer-v2.writer-previewing .toolbar-wrap{display:none}body.writer-v2 .writer-math{background:#eeeee5;font-family:monospace;padding:2px 5px;border-radius:4px}body.writer-v2 #publishSummary{display:grid;grid-template-columns:60px 1fr;gap:10px;padding:20px 0;font-size:15px}body.writer-v2 #publishSummary dt{color:#626a66}body.writer-v2 #publishSummary dd{margin:0;overflow-wrap:anywhere}body.writer-v2 #publishReview .modal{max-height:85dvh;overflow:auto}body.writer-v2 #publishWarning{font-size:14px;color:#84382d;line-height:1.8;margin-bottom:20px}body.writer-v2 button:disabled{opacity:.55;cursor:wait}@media(max-width:1100px){body.writer-v2 .writer-label{display:none}body.writer-v2 .writer-topbar{flex-wrap:wrap}body.writer-v2 .writer-topbar .action-bar{margin-left:auto}}@media(max-width:700px){body.writer-v2 .writer-preview{padding:12px}body.writer-v2 .writer-preview article{padding:24px 20px}body.writer-v2 #previewBody{font-size:17px}body.writer-v2 .writer-preview h1{font-size:26px}}@media(min-width:701px)and (max-width:767px){body.writer-v2 .sidebar.mobile-slide,body.writer-v2 .sidebar-overlay.visible{top:170px}}.trash-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #dcded4}.trash-row button{padding:8px 12px;color:#84382d;border:1px solid #dcded4;border-radius:5px;background:#fffefa}#sceneNotice button{font:inherit;color:#a34535;background:#fffefa;border:1px solid #a34535;border-radius:4px;padding:7px 12px;cursor:pointer;min-height:40px;margin-top:8px}#sceneNotice button:focus-visible{outline:2px solid #a34535;outline-offset:3px}body.writer-v2.xf-themed{--bg: #101321;--bg2: #191b29;--bg3: #242431;--fg: #eee5dd;--fg2: #b2a5a0;--accent: #dbb69d;--accent2: #c7a28b;--border: #48404a;background:#101321;color:#eee5dd}body.writer-v2.xf-themed :is(.writer-topbar,.sidebar,.toolbar-wrap,.meta-bar){background:#141622;color:#d9cec5;border-color:#37323c}body.writer-v2.xf-themed .editor-area,body.writer-v2.xf-themed .editor-body{background:radial-gradient(ellipse at 50% 35%,rgba(143,99,88,.12),transparent 68%),#101321;color:#eee5dd}body.writer-v2.xf-themed .editor-body .ProseMirror,body.writer-v2.xf-themed .meta-bar .title-input,body.writer-v2.xf-themed .meta-bar.collapsed .title-input{background:transparent;color:#eee5dd;border:0;box-shadow:none}body.writer-v2.xf-themed .editor-body .ProseMirror{outline:none;caret-color:#e4bfa3}body.writer-v2.xf-themed .meta-bar .title-input::placeholder,body.writer-v2.xf-themed .ProseMirror p.is-editor-empty:first-child:before{color:#9b9292}body.writer-v2.xf-themed :is(.writer-label,.writer-plain,.toolbar-btn,#toolbarCollapse,.action-status,.post-item .title,.post-item .meta,.cat-header){color:#c9bbb4}body.writer-v2.xf-themed :is(.modal-dialog,.sidebar-search input,.meta-row input){background:#242431;color:#eee5dd;border-color:#48404a}body.writer-v2.xf-themed .btn-publish{background:#dfc1aa;color:#241e25}body.writer-v2.xf-themed .btn-draft{background:transparent;color:#e1c6b1;border-color:#766860}body.writer-v2.xf-themed #xf-site-header.xf-shell{background:#101321;color:#eadfd6;border-color:#dbc6b226}body.writer-v2.xf-themed #xf-site-header :is(a,.xf-brand-name,.xf-mark){color:#e8d4c4}body.writer-v2.xf-themed .writer-topbar{background:linear-gradient(120deg,#171925,#25232e);border-color:#4a4047;gap:12px}body.writer-v2.xf-themed .writer-label{color:#eee2d7;font-family:"Noto Serif SC",serif;letter-spacing:.08em}body.writer-v2.xf-themed .writer-utilities{gap:4px}body.writer-v2.xf-themed .writer-plain{border-color:transparent;color:#d7c7bc}body.writer-v2.xf-themed .writer-plain:hover,body.writer-v2.xf-themed .writer-plain[aria-pressed=true],body.writer-v2.xf-themed .writer-plain[aria-expanded=true]{color:#fff1e5;background:#39313a;border-color:#76635e}body.writer-v2.xf-themed .btn-sidebar-toggle{color:#dfcdbf}body.writer-v2.xf-themed .editor-area{background:radial-gradient(ellipse at 50% -25%,#b6a69f 0,#7a7079 35%,#272633 85%,#181a27)}body.writer-v2.xf-themed .toolbar-wrap{background:#fffaf4f7;border-color:#e5d8ce}body.writer-v2.xf-themed .toolbar-btn,body.writer-v2.xf-themed #toolbarCollapse{color:#594f4a}body.writer-v2.xf-themed .toolbar-btn:hover,body.writer-v2.xf-themed .toolbar-btn.active{background:#eee0d4;color:#764838}body.writer-v2.xf-themed .editor-body .ProseMirror{background:#fffaf4;color:#383430;box-shadow:0 12px 55px #14111929;min-height:100%}body.writer-v2.xf-themed .editor-body .ProseMirror :is(h1,h2,h3,strong){color:#292624}body.writer-v2.xf-themed .editor-body .ProseMirror a{color:#8b4b3c}body.writer-v2.xf-themed .editor-body .ProseMirror p.is-editor-empty:first-child:before{color:#888078}body.writer-v2.xf-themed .meta-bar:not(.collapsed){background:#fffaf4;color:#383430}body.writer-v2.xf-themed .meta-bar .title-input{color:#292624}body.writer-v2.xf-themed .writer-preview{background:linear-gradient(180deg,#4e4853,#ede4da 55%,#f6f1eb)}body.writer-v2.xf-themed .writer-preview article{background:#fffaf4;color:#383430;border-color:#e5d8ce}body.writer-v2.xf-themed .preview-controls{color:#fffaf4}body.writer-v2.xf-themed .action-status{color:#d9c7ba}@media(max-width:700px){body.writer-v2.xf-themed .writer-topbar{gap:6px}body.writer-v2.xf-themed .writer-plain{padding:8px}body.writer-v2.xf-themed .editor-body .ProseMirror{padding:24px 22px 120px}}body.writer-v2.xf-themed .meta-bar.collapsed{display:block;background:#fffaf4;padding-top:20px;padding-bottom:12px}body.writer-v2.xf-themed .meta-bar .title-input,body.writer-v2.xf-themed .meta-bar.collapsed .title-input{color:#292624}body.writer-v2.xf-themed .meta-bar .title-input::placeholder{color:#8a807a}body.writer-v2.xf-themed .meta-row label{color:#5e514a}body.writer-v2.xf-themed .meta-row input{background:#fff;color:#302b29;border-color:#cfc0b6}body.writer-v2.xf-themed .meta-bar .writer-danger{color:#6a5a51}body.writer-v2.xf-themed{--xf-nav-height: 64px;--accent: #cfaa91;background:#101321}body.writer-v2.xf-themed #xf-site-header.xf-shell{background:#101321;border-bottom:1px solid rgba(219,198,178,.12)}body.writer-v2.xf-themed .xf-shell-inner{max-width:1440px;padding-inline:7.2%}body.writer-v2.xf-themed .xf-brand{font-family:"Noto Serif SC",serif;font-size:17px;font-weight:400;letter-spacing:.16em}body.writer-v2.xf-themed .xf-mark{display:block;width:auto;height:auto;background:none;color:#e9c6a6;font-size:27px}body.writer-v2.xf-themed .xf-shell nav{gap:38px}body.writer-v2.xf-themed .xf-shell nav a{color:#bcb1ae;font-size:12px;border:0}body.writer-v2.xf-themed .xf-shell nav a:hover{color:#f2d5bc}body.writer-v2.xf-themed .writer-topbar{background:#151725;border-color:#dbc6b21a;padding:10px 7.2%}body.writer-v2.xf-themed .writer-heading{gap:10px}body.writer-v2.xf-themed .writer-label{color:#dfc9b9;font-size:14px;font-weight:400}body.writer-v2.xf-themed .writer-utilities{align-items:center}body.writer-v2.xf-themed .writer-more{position:relative}body.writer-v2.xf-themed .writer-more summary{list-style:none;color:#d7c7bc;padding:9px 12px;border-radius:6px;cursor:pointer;white-space:nowrap}body.writer-v2.xf-themed .writer-more summary::-webkit-details-marker{display:none}body.writer-v2.xf-themed .writer-more summary:hover,body.writer-v2.xf-themed .writer-more[open] summary{background:#39313a;color:#fff1e5}body.writer-v2.xf-themed .writer-more-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:120;min-width:132px;display:grid;gap:2px;padding:6px;background:#24222e;border:1px solid #51434a;border-radius:8px;box-shadow:0 12px 36px #0006}body.writer-v2.xf-themed .writer-more-menu .writer-plain{text-align:left}body.writer-v2.xf-themed .sidebar{background:#171925;border-color:#dbc6b21f}body.writer-v2.xf-themed .editor-area{background:#101321}body.writer-v2.xf-themed .meta-bar,body.writer-v2.xf-themed .meta-bar.collapsed{background:#f9f4ee;padding:22px max(24px,calc((100% - 900px)/2 + 40px)) 12px;border:0}body.writer-v2.xf-themed .meta-bar .title-input,body.writer-v2.xf-themed .meta-bar.collapsed .title-input{font-family:"Noto Serif SC",serif;font-size:30px;font-weight:400;color:#2b2928}body.writer-v2.xf-themed .toolbar-wrap{background:#f9f4ee;border:0;padding:8px max(24px,calc((100% - 900px)/2 + 40px))}body.writer-v2.xf-themed .toolbar-btn,body.writer-v2.xf-themed #toolbarCollapse{color:#75665c}body.writer-v2.xf-themed .editor-body{background:#f9f4ee}body.writer-v2.xf-themed .editor-body .ProseMirror{background:transparent;color:#34302d;box-shadow:none;font-family:"Noto Serif SC",Songti SC,serif}body.writer-v2.xf-themed .writer-preview{background:#101321}body.writer-v2.xf-themed .writer-preview article{background:#f9f4ee;border:0}body.writer-v2.xf-themed .btn-publish{background:#e2c4ad;color:#241e25}body.writer-v2.xf-themed .btn-draft{border-color:#766860;color:#e2c4ad}body.writer-v2.xf-themed .action-status{color:#b9a9a0}@media(max-width:700px){body.writer-v2.xf-themed .xf-shell-inner{padding-inline:16px}body.writer-v2.xf-themed .xf-brand-name{display:block}body.writer-v2.xf-themed .xf-shell nav{gap:18px}body.writer-v2.xf-themed .writer-topbar{padding-inline:12px}body.writer-v2.xf-themed .meta-bar,body.writer-v2.xf-themed .meta-bar.collapsed{padding:20px 22px 10px}body.writer-v2.xf-themed .toolbar-wrap{padding:6px 16px}body.writer-v2.xf-themed .editor-body .ProseMirror{padding:20px 22px 100px}}body.writer-v2.xf-themed{background:#101321;color:#eee6dc}body.writer-v2.xf-themed #xf-site-header.xf-shell{background:transparent;border:0;backdrop-filter:none}body.writer-v2.xf-themed #xf-site-header nav{opacity:.7}body.writer-v2.xf-themed .writer-topbar{background:transparent;border:0}body.writer-v2.xf-themed .writer-label{display:none}body.writer-v2.xf-themed .main-wrap{background:#101321}body.writer-v2.xf-themed .editor-area{background:radial-gradient(ellipse at 82% 22%,rgba(172,111,100,.14),transparent 36%),radial-gradient(ellipse at 30% 74%,rgba(92,76,116,.13),transparent 40%),radial-gradient(circle at 18% 18%,rgba(244,218,189,.6) 0 1px,transparent 1.6px),radial-gradient(circle at 78% 48%,rgba(244,218,189,.5) 0 1px,transparent 1.6px),#101321}body.writer-v2.xf-themed .meta-bar,body.writer-v2.xf-themed .meta-bar.collapsed{background:transparent;color:#eee6dc}body.writer-v2.xf-themed .meta-bar.collapsed{display:none}body.writer-v2.xf-themed .meta-bar .title-input{color:#eee6dc}body.writer-v2.xf-themed .meta-bar .title-input::placeholder{color:#9d969b}body.writer-v2.xf-themed .meta-row label,body.writer-v2.xf-themed .meta-bar .writer-danger{color:#c1afa8}body.writer-v2.xf-themed .meta-row input{background:#242431;border-color:#594b51;color:#eee6dc}body.writer-v2.xf-themed .toolbar-wrap{background:#191b29f5;border:0}body.writer-v2.writer-quiet .toolbar-wrap{display:none}body.writer-v2.xf-themed .toolbar-btn,body.writer-v2.xf-themed #toolbarCollapse{color:#ddc7b8}body.writer-v2.xf-themed .editor-body{background:transparent}body.writer-v2.xf-themed .editor-body .ProseMirror{max-width:820px;min-height:100%;margin-inline:auto;padding:clamp(45px,9vh,100px) 38px 160px;background:transparent;color:#eee6dc;box-shadow:none;caret-color:#e5baa0;font-family:"Noto Serif SC",Songti SC,serif;font-size:19px;line-height:2.05}body.writer-v2.xf-themed .editor-body .ProseMirror :is(h1,h2,h3,strong){color:#f4e9df}body.writer-v2.xf-themed .editor-body .ProseMirror a{color:#e4bd9e}body.writer-v2.xf-themed .editor-body .ProseMirror p.is-editor-empty:first-child:before{color:#9f9698}body.writer-v2.xf-themed .writer-more-menu{background:#24232f}body.writer-v2.xf-themed .action-status{color:#c8b5aa}@media(max-width:700px){body.writer-v2.xf-themed .editor-body .ProseMirror{font-size:17px;line-height:2;padding:45px 24px 120px}}body.writer-v2.xf-themed #actionStatus{display:flex!important;visibility:visible;opacity:1;color:#e3cbb9;min-width:72px}body.writer-v2.xf-themed #statusText{display:inline!important;color:#e3cbb9}
