:root{color-scheme:light;--blue:#0066cc;--blue-bg:rgba(0,102,204,0.15);--text:#1d1d1f;--ink:28,28,31;--ink-95:rgba(var(--ink),0.95);--ink-92:rgba(var(--ink),0.92);--ink-90:rgba(var(--ink),0.9);--ink-85:rgba(var(--ink),0.85);--ink-80:rgba(var(--ink),0.8);--ink-75:rgba(var(--ink),0.75);--ink-70:rgba(var(--ink),0.7);--ink-60:rgba(var(--ink),0.6);--ink-55:rgba(var(--ink),0.55);--ink-50:rgba(var(--ink),0.5);--ink-45:rgba(var(--ink),0.45);--ink-42:rgba(var(--ink),0.42);--ink-40:rgba(var(--ink),0.4);--ink-35:rgba(var(--ink),0.35);--ink-32:rgba(var(--ink),0.32);--ink-30:rgba(var(--ink),0.3);--ink-25:rgba(var(--ink),0.25);--ink-20:rgba(var(--ink),0.2);--ink-14:rgba(var(--ink),0.14);--ink-12:rgba(var(--ink),0.12);--ink-10:rgba(var(--ink),0.1);--ink-08:rgba(var(--ink),0.08);--ink-07:rgba(var(--ink),0.07);--ink-06:rgba(var(--ink),0.06);--ink-05:rgba(var(--ink),0.05);--ink-04:rgba(var(--ink),0.04);--bg:#ffffff;--bg-gray:#f5f5f7;--green:#2e9e5b;--green-bg:rgba(46,158,92,0.1);--yellow:#d99a00;--yellow-bg:rgba(217,154,0,0.1);--red:#d14343;--red-bg:rgba(209,67,67,0.1);--plum:#993556;--plum-bg:rgba(153,53,86,0.1);--line:#1d1d1f;--stage-fill:#ffffff;--inv-bg:#1c1c1f;--inv-ink:#ffffff;--glass-1:rgba(255,255,255,0.82);--glass-2:rgba(255,255,255,0.58);--glass-hi:rgba(255,255,255,0.55);--shadow-c1:rgba(28,28,31,0.06);--shadow-c2:rgba(28,28,31,0.08);--shadow-c3:rgba(28,28,31,0.14);--code-bg:#1e1e22;--code-ink:rgba(245,245,247,0.92);--overlay:rgba(28,28,31,0.72);--overlay-light:rgba(28,28,31,0.4)}[data-theme=night]{color-scheme:dark;--blue:#4da3ff;--blue-bg:rgba(77,163,255,0.22);--text:#f5f5f7;--ink:245,245,247;--bg:#0e0e10;--bg-gray:#1c1c1f;--green:#3fbf74;--green-bg:rgba(63,191,116,0.16);--yellow:#e6b649;--yellow-bg:rgba(230,182,73,0.15);--red:#e05b5b;--red-bg:rgba(224,91,91,0.15);--plum:#e08aae;--plum-bg:rgba(224,138,174,0.16);--line:#f5f5f7;--stage-fill:#0e0e10;--inv-bg:#f5f5f7;--inv-ink:#1c1c1f;--glass-1:rgba(28,28,32,0.82);--glass-2:rgba(28,28,32,0.58);--glass-hi:rgba(255,255,255,0.08);--shadow-c1:rgba(0,0,0,0.35);--shadow-c2:rgba(0,0,0,0.5);--shadow-c3:rgba(0,0,0,0.62);--code-bg:#1a1a1f;--code-ink:rgba(245,245,247,0.92);--overlay:rgba(0,0,0,0.72);--overlay-light:rgba(0,0,0,0.55)}:root{--r-panel:28px;--r-input:16px;--r-chip:17px;--r-send:9px;--r-avatar:15px;--font-body:"Noto Sans SC Variable","Noto Sans SC",-apple-system,"PingFang SC","Helvetica Neue",sans-serif;--font-script:"Style Script",cursive;--font-ma:"Ma Shan Zheng",cursive;--font-long:"Long Cang",cursive;--font-mono:"Geist Mono",ui-monospace,"SF Mono",monospace}*{box-sizing:border-box;margin:0;padding:0}body,html{background:var(--bg);color:var(--text);font-family:var(--font-body);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}a{color:inherit;text-decoration:none}button{cursor:pointer}button,input,textarea{font:inherit;color:inherit;background:none;border:none}input,textarea{outline:none}::selection{background:var(--blue-bg)}.nav{height:68px;justify-content:space-between;padding:0 64px}.nav,.nav-brand{display:flex;align-items:center}.nav-brand{flex:1 1;min-width:0;gap:10px}.nav-avatar{width:30px;height:30px;border-radius:15px;background:var(--bg-gray);border:1.5px solid var(--ink-12);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden}.nav-avatar img{width:100%;height:100%;object-fit:cover}.nav-wordmark{font-family:var(--font-script);font-size:24px;line-height:36px;color:var(--text);white-space:nowrap}.nav-links{display:flex;align-items:center;gap:34px;flex-shrink:0}.nav-links a{font-size:14px;line-height:20px;color:var(--ink-70);transition:color .15s ease}.nav-links a:hover{color:var(--ink-95)}.nav-actions{flex:1 1;min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:28px}.nav-actions a{font-size:20px;line-height:20px;color:var(--text);white-space:nowrap;transition:opacity .15s ease}.nav-actions a:hover{opacity:.72}.hairline{height:1px;background:var(--ink-08)}.hairline-content{margin:0 64px}.footer{position:relative;background:var(--bg);padding:48px 64px 44px;overflow:hidden}.footer-watermark{text-align:center;font-family:var(--font-script);font-size:88px;line-height:104px;color:var(--ink-07);pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap;margin-top:4px}.footer-top{position:relative;display:flex;justify-content:space-between;align-items:flex-start}.footer-brand{display:flex;flex-direction:column;gap:16px}.footer-copyright{font-family:var(--font-mono);font-size:11px;line-height:14px;color:var(--ink-30)}.footer-brand-row{display:flex;align-items:center;gap:10px}.footer-avatar{width:28px;height:28px;border-radius:14px;background:var(--bg-gray);border:1.5px solid var(--ink-12);display:inline-flex;align-items:center;justify-content:center}.footer-wordmark{font-family:var(--font-script);font-size:22px;line-height:33px;color:var(--text)}.footer-links{display:flex;gap:72px}.footer-col{display:flex;flex-direction:column;gap:14px}.footer-col h4{font-family:var(--font-mono);font-weight:500;font-size:11px;line-height:14px;color:var(--ink-35);margin-bottom:5px}.footer-col a{font-size:13px;line-height:19px;color:var(--ink-60);transition:color .15s ease}.footer-col a:hover{color:var(--ink-95)}.footer .hairline-content{margin-top:32px}.nav-actions a.app-active{color:var(--text)}.nav-actions a.app-dim{color:var(--ink-45)}.nav-links a.nav-link-active{color:var(--text);font-weight:500}.settings-page{min-height:100vh;display:flex;flex-direction:column}.blog-footer{position:relative;margin-top:56px}.blog-footer .hairline{position:absolute;top:0;left:0;right:0}.blog-copyright{font-family:var(--font-mono);font-size:10px;line-height:13px;color:var(--ink-30)}.blog-footer-row{display:flex;align-items:center;justify-content:space-between;height:84px;padding:0 64px}.blog-footer-brand{display:flex;align-items:center;gap:8px}.blog-footer-avatar{width:22px;height:22px;border-radius:11px;background:var(--bg-gray);display:inline-flex;align-items:center;justify-content:center}.blog-footer-wordmark{font-family:var(--font-script);font-size:18px;line-height:27px;color:var(--text)}.blog-footer-links{display:flex;align-items:baseline;gap:26px}.blog-footer-links a{font-size:12.5px;line-height:18px;color:var(--ink-60)}.blog-footer-links a:hover{color:var(--ink-95)}.blog-footer-links .rss{font-family:var(--font-mono);font-size:10.5px;line-height:14px;color:var(--ink-45)}@media (max-width:960px){.blog-footer-row{padding:0 24px}.blog-footer-links{display:none}.footer{padding-bottom:96px}.footer-top{flex-direction:column;gap:32px}.footer-watermark{font-size:56px;line-height:72px}.nav{padding:0 24px}.nav-links{display:none}.hairline-content{margin:0 24px}.footer{padding:32px 24px 64px}.footer .hairline-content{margin:24px 0 0}}html.theme-anim :not(.dog-celestial):not(.dog-star):not(.dog-clouds){transition:background-color .45s ease,color .45s ease,border-color .45s ease,box-shadow .45s ease,fill .45s ease!important}@media (prefers-reduced-motion:reduce){html.theme-anim :not(.dog-celestial):not(.dog-star):not(.dog-clouds){transition:none!important}}.theme-toggle{width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;color:var(--ink-70);position:relative;flex-shrink:0;transition:color .15s ease}.theme-toggle:hover{color:var(--ink-95)}.theme-toggle svg{display:block}.theme-toggle.is-fixed:after{content:"";position:absolute;right:calc(50% - 11px);bottom:calc(50% - 11px);width:4px;height:4px;border-radius:50%;background:var(--blue)}.theme-toggle[data-tip]:hover:after{content:attr(data-tip);position:absolute;top:calc(100% + 7px);right:0;left:auto;bottom:auto;width:auto;height:auto;transform:none;padding:4px 8px;background:var(--inv-bg);color:var(--inv-ink);font-size:11px;line-height:14px;border-radius:6px;white-space:nowrap;z-index:60;pointer-events:none}.theme-toggle-placeholder{visibility:hidden}.auth-btn{width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;color:var(--ink-70);position:relative;flex-shrink:0;transition:color .15s ease}.auth-btn:hover{color:var(--ink-95)}.auth-btn svg{display:block}.auth-user{display:inline-flex;align-items:center;gap:8px}.auth-name{font-size:13px;line-height:20px;color:var(--ink-60);white-space:nowrap}.auth-btn[data-tip]:hover:after{content:attr(data-tip);position:absolute;top:calc(100% + 7px);right:0;left:auto;bottom:auto;width:auto;height:auto;transform:none;padding:4px 8px;background:var(--inv-bg);color:var(--inv-ink);font-size:11px;line-height:14px;border-radius:6px;white-space:nowrap;z-index:60;pointer-events:none}.auth-overlay{position:fixed;inset:0;background:var(--overlay-light);display:flex;align-items:center;justify-content:center;z-index:200}.auth-modal{width:340px;max-width:calc(100vw - 32px);background:var(--bg);border:1px solid var(--ink-12);border-radius:12px;padding:28px 28px 26px;display:flex;flex-direction:column;gap:18px;box-shadow:0 16px 48px rgba(0,0,0,.16)}.auth-modal-head{display:flex;align-items:center;justify-content:space-between}.auth-title{font-size:20px;font-weight:700;line-height:24px;letter-spacing:.04em;color:var(--text)}.auth-close{width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;font-size:20px;font-weight:400;line-height:1;font-family:var(--font-serif,Georgia,serif);color:var(--ink-50);border-radius:6px;transition:color .15s ease,background .15s ease}.auth-close:hover{color:var(--ink-95);background:var(--ink-06)}.auth-sub{margin-top:-12px;font-size:12px;line-height:16px;letter-spacing:.06em;color:var(--ink-50)}.auth-field{display:flex;flex-direction:column;gap:6px}.auth-field span{font-size:12px;line-height:16px;letter-spacing:.08em;color:var(--ink-60)}.auth-field input{height:42px;padding:0 12px;border:1px solid var(--ink-14);border-radius:8px;font-size:14px;color:var(--text);background:var(--bg);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.auth-field input:focus{border-color:var(--ink-70);box-shadow:0 0 0 3px var(--ink-06)}.auth-error{font-size:12px;line-height:16px;letter-spacing:.02em;color:var(--ink-95)}.auth-submit{height:44px;margin-top:2px;border:none;border-radius:8px;background:var(--ink-95);color:var(--bg);font-size:14px;font-weight:600;letter-spacing:.12em;cursor:pointer;transition:opacity .15s ease}.auth-submit:hover:not(:disabled){opacity:.85}.auth-submit:disabled{opacity:.5;cursor:not-allowed}.auth-tabs{display:flex;margin-top:-6px;border-bottom:1px solid var(--ink-08)}.auth-tab{flex:1 1;height:36px;border:none;background:transparent;font-size:13px;letter-spacing:.08em;color:var(--ink-45);cursor:pointer;position:relative;transition:color .15s ease}.auth-tab:hover{color:var(--ink-80)}.auth-tab.on{color:var(--text);font-weight:600}.auth-tab.on:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--ink-95)}.auth-register-note{margin-top:-10px;font-size:11px;line-height:16px;color:var(--ink-45);letter-spacing:.02em}.cmd-pop{position:absolute;bottom:calc(100% + 10px);left:0;z-index:60;width:min(480px,100%);background:var(--bg);border:1px solid var(--ink-08);border-radius:12px;box-shadow:0 12px 32px var(--shadow-c3);overflow:hidden;display:flex;flex-direction:column}.cmd-list{max-height:320px;overflow-y:auto;padding:5px}.cmd-group{font-size:10px;letter-spacing:.12em;color:var(--ink-35);padding:8px 9px 4px}.cmd-group-v2{padding:12px 12px 8px}.cmd-group-v2:not(:first-child){border-top:1px solid var(--ink-06);margin-top:4px;padding-top:16px}.cmd-group-header{display:flex;align-items:flex-start;gap:8px}.cmd-group-icon{display:inline-flex;flex-shrink:0;color:var(--ink-60);margin-top:1px}.cmd-group-text{flex:1 1;min-width:0}.cmd-group-label{font-size:12.5px;font-weight:600;line-height:16px;color:var(--ink-85);letter-spacing:.01em}.cmd-group-desc{font-size:11px;line-height:15px;color:var(--ink-40);margin-top:2px}.cmd-item{display:flex;align-items:center;gap:10px;width:100%;padding:7px 9px;border:0;border-radius:8px;background:transparent;cursor:pointer;text-align:left;transition:background .12s ease,transform .12s ease}.cmd-item:hover{background:var(--ink-05);transform:translateY(-1px)}.cmd-item.on{background:var(--ink-06);transform:translateY(-1px)}.cmd-item-icon{color:var(--ink-45);display:inline-flex;flex-shrink:0}.cmd-item-main{min-width:0;display:flex;flex-direction:column;gap:1px;flex:1 1}.cmd-item-title{font-size:13px;line-height:17px;color:var(--ink-90)}.cmd-item-sub,.cmd-item-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cmd-item-sub{font-size:11px;line-height:14px;color:var(--ink-40)}.cmd-item-badge{flex-shrink:0;font-size:10px;line-height:1;color:var(--ink-45);border:1px solid var(--ink-12);border-radius:5px;padding:3px 6px}.cmd-empty{padding:20px 16px;text-align:center;font-size:12px;color:var(--ink-35)}.cmd-foot{display:flex;gap:16px;padding:7px 12px;border-top:1px solid var(--ink-06);font-size:10.5px;color:var(--ink-35);white-space:nowrap}.palette-mask{position:fixed;inset:0;z-index:90;background:rgba(var(--ink),.28);display:flex;justify-content:center;align-items:flex-start;padding:18vh 16px 0}.palette{width:min(560px,100%);background:var(--bg);border:1px solid var(--ink-08);border-radius:14px;box-shadow:0 24px 56px var(--shadow-c3);overflow:hidden;display:flex;flex-direction:column}.palette-head{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid var(--ink-06);color:var(--ink-45)}.palette-head input{flex:1 1;min-width:0;border:0;outline:none;background:transparent;font-size:14px;color:var(--ink-90)}.palette-head input::placeholder{color:var(--ink-35)}.palette-esc{font-size:10px;line-height:1;color:var(--ink-35);border:1px solid var(--ink-10);border-radius:5px;padding:3px 6px}.help-title{font-size:13px;font-weight:600;color:var(--ink-90)}.help-body{max-height:60vh;overflow-y:auto;padding:5px}.help-group{padding-bottom:6px}.help-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:7px 9px;border-radius:8px}.help-desc{font-size:13px;color:var(--ink-75)}.help-kbd{font-family:var(--font-mono,ui-monospace,monospace);font-size:11px;color:var(--ink-70);background:var(--bg-gray);border:solid var(--ink-12);border-width:1px 1px 2px;border-radius:6px;padding:3px 8px;white-space:nowrap}.md-download-link{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;background:var(--blue);color:white;border-radius:8px;text-decoration:none;font-weight:500;transition:opacity .15s ease}.md-download-link:hover{opacity:.85}.md-download-link:active{opacity:.7}.file-attachment{display:flex;align-items:center;gap:12px;padding:11px 14px;background:var(--bg);border:1px solid var(--ink-12);border-radius:12px;margin:12px 0;max-width:400px;box-shadow:0 1px 2px var(--shadow-c1),0 10px 28px var(--shadow-c2);transition:border-color .15s ease,box-shadow .15s ease}.file-attachment:hover{border-color:var(--ink-20);box-shadow:0 2px 4px var(--shadow-c1),0 14px 32px var(--shadow-c2)}.file-attachment-icon{width:40px;height:40px;flex-shrink:0;border-radius:10px;background:var(--ink-06);color:var(--ink-75);display:inline-flex;align-items:center;justify-content:center}.file-attachment-info{flex:1 1;min-width:0}.file-attachment-name{font-size:13.5px;font-weight:500;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-attachment-type{font-size:11.5px;color:var(--ink-50);margin-top:2px}.file-attachment-actions{display:flex;gap:4px;flex-shrink:0}.file-attachment-btn{width:30px;height:30px;border-radius:7px;background:transparent;border:1px solid transparent;display:flex;align-items:center;justify-content:center;color:var(--ink-55);cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease;text-decoration:none}.file-attachment-btn:hover{background:var(--ink-06);color:var(--ink-90);border-color:var(--ink-10)}.file-attachment-list{display:flex;flex-direction:column;gap:8px;align-items:flex-start}.file-attachment-list .file-attachment{margin:0}.preview-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:var(--overlay-light);display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.preview-modal{background:var(--bg);border:1px solid var(--ink-10);border-radius:12px;width:100%;max-width:800px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 8px 32px rgba(0,0,0,.24)}.preview-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--ink-10)}.preview-title{font-size:16px;font-weight:600;color:var(--text)}.preview-close{width:32px;height:32px;border-radius:6px;background:transparent;border:none;display:flex;align-items:center;justify-content:center;color:var(--ink-55);cursor:pointer;font-size:20px;transition:all .15s ease}.preview-close:hover{background:var(--ink-06);color:var(--ink-90)}.preview-content{flex:1 1;overflow-y:auto;padding:20px}@media (max-width:640px){.nav{padding:0 16px}.nav-wordmark{display:none}.nav-actions{gap:14px}.nav-actions a{min-height:44px;display:inline-flex;align-items:center}.auth-name{display:none}.auth-btn,.theme-toggle{width:44px;height:44px}.hairline-content{margin:0 16px}.footer-col a{display:inline-flex;align-items:center;min-height:32px}}