:root{color-scheme:dark;--bg:#22272e;--text:#c8ccd1;--text-strong:#f4f4f5;--muted:#9298a1;--faint:#5a616a;--line:#3b424b;--hover:#ffffff08;--content:680px;--wide:900px;--sans:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;--mono:"SFMono-Regular", Consolas, "Liberation Mono", monospace}*,:before,:after{box-sizing:border-box}html{background:var(--bg);min-width:320px}body{background:var(--bg);min-height:100dvh;color:var(--text);font-family:var(--sans);text-rendering:optimizelegibility;flex-direction:column;margin:0;font-size:1rem;line-height:1.75;display:flex;overflow-x:hidden}main{flex:1 0 auto}a{color:inherit;text-decoration:none}button{color:inherit;font:inherit}::selection{color:var(--text-strong);background:#66819a80}.skip-link{z-index:100;background:var(--text-strong);color:var(--bg);padding:.4rem .7rem;position:fixed;top:.75rem;left:.75rem;transform:translateY(-160%)}.skip-link:focus{transform:translateY(0)}.site-header{flex:none;justify-content:space-between;align-items:flex-start;min-height:6.25rem;padding:1.75rem 2rem;display:flex}.site-logo{color:#b8bdc4;font-family:Dancing Script,Segoe Script,cursive;font-size:2.45rem;font-weight:500;line-height:1;transition:color .16s}.site-logo:hover,.site-logo:focus-visible{color:var(--text-strong)}.site-nav{color:var(--muted);align-items:center;gap:1.25rem;padding-top:.35rem;font-size:1rem;display:flex}.site-nav a{transition:color .16s}.site-nav a:hover,.site-nav a:focus-visible,.site-nav a[aria-current=page]{color:var(--text-strong)}.site-nav__divider{background:var(--line);width:1px;height:1.1rem;margin-inline:-.15rem}.icon-link{place-items:center;width:1.2rem;height:1.2rem;display:inline-grid}.icon-link svg{width:100%;height:100%}.home-content{width:min(calc(100% - 3rem), var(--content));margin:2.4rem auto 2rem;font-size:1.0625rem}.home-content h1{color:var(--text-strong);letter-spacing:-.035em;margin:0 0 1.55rem;font-size:2.35rem;line-height:1.25}.home-content p{margin:0 0 1.25rem}.home-content strong{color:var(--text-strong);font-weight:650}.wechat-code{object-fit:cover;border-radius:.45rem;width:200px;height:200px;margin:2rem auto 0;display:block}.blog-page{width:min(calc(100% - 3rem), var(--content));flex:0 1 var(--content);flex-direction:column;min-height:0;margin:1rem auto 0;display:flex}.blog-page-layout{height:100dvh;overflow:hidden}.blog-page-layout main{flex:auto;justify-content:center;min-height:0;display:flex}.blog-tabs{letter-spacing:-.035em;flex:none;align-items:baseline;gap:2rem;font-size:2.25rem;font-weight:800;display:flex}.blog-tabs span{color:var(--text-strong)}.blog-tabs a{color:#555c65;transition:color .16s}.blog-tabs a:hover,.blog-tabs a:focus-visible{color:var(--text)}.blog-posts{scrollbar-color:var(--faint) transparent;scrollbar-width:thin;flex:1;width:calc(100% + 3rem);min-height:0;margin-left:-3rem;padding-left:3rem;padding-right:.35rem;overflow-y:auto}.post-year{margin-top:3rem;position:relative}.post-year+.post-year{margin-top:3.5rem}.post-year h1{z-index:0;color:#ffffff0b;letter-spacing:-.06em;user-select:none;margin:0;font-size:8rem;font-weight:800;line-height:1;position:absolute;top:0;left:-2.75rem}.post-year ul{z-index:1;margin:0;padding:4rem 0 0;list-style:none;position:relative}.post-year li{color:#a5a9af;align-items:baseline;gap:.75rem;margin-bottom:1rem;font-size:1.1rem;font-weight:400;line-height:1.7;display:flex}.post-year li a{min-width:0;transition:color .16s}.post-year li a:hover,.post-year li a:focus-visible{color:var(--text-strong)}.post-year time{color:var(--faint);flex:none;font-size:.78rem;font-weight:500}.blog-article{width:min(calc(100% - 3rem), var(--content));margin:2.4rem auto 6rem}.blog-article>header{margin-bottom:3rem}.blog-article h1{color:var(--text-strong);letter-spacing:-.035em;margin:0;font-size:2.35rem;line-height:1.35}.blog-article>header time{color:var(--faint);margin-top:.65rem;font-size:.82rem;display:block}.blog-prose{font-size:1.02rem;line-height:1.9}.blog-prose :where(h2,h3){color:var(--text-strong);margin:2.8rem 0 1rem;line-height:1.45}.blog-prose h2{font-size:1.55rem}.blog-prose h3{font-size:1.25rem}.blog-prose :where(p,ul,ol,blockquote){margin:1.1rem 0}.blog-prose :where(ul,ol){padding-left:1.5rem}.blog-prose a{color:var(--text-strong);border-bottom:1px solid var(--faint)}.blog-prose a:hover,.blog-prose a:focus-visible{border-bottom-color:var(--text-strong)}.blog-prose hr{background:var(--line);border:0;height:1px;margin:2.8rem 0}.blog-prose figure{text-align:center;margin:2rem 0}.blog-prose img{border-radius:.35rem;max-width:100%;height:auto}.blog-prose blockquote{border-left:2px solid var(--line);color:var(--muted);padding-left:1rem}.blog-prose :where(code,pre){font-family:var(--mono)}.blog-prose code{font-size:.9em}.blog-prose pre{border:1px solid var(--line);background:#1b2026;border-radius:.35rem;padding:1rem;font-size:.85rem;line-height:1.65;overflow-x:auto}.portfolio{width:min(calc(100% - 4rem), var(--wide));flex:0 1 var(--wide);flex-direction:column;min-height:0;margin:1rem auto 0;display:flex}.portfolio-page{height:100dvh;overflow:hidden}.portfolio-page main{flex:auto;justify-content:center;min-height:0;display:flex}.portfolio__header{width:min(100%, var(--content));margin:0 auto 1.8rem}.portfolio__header h1{color:var(--text-strong);letter-spacing:-.045em;margin:0;font-size:2.35rem;line-height:1.3}.portfolio__header p{color:var(--muted);margin:.65rem 0 0;font-size:1.05rem}.project-filter{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:2rem;min-height:3.2rem;margin-bottom:.55rem;display:flex}.project-filter__options{flex-wrap:wrap;gap:0 1.4rem;display:flex}.project-filter button{color:var(--muted);cursor:pointer;background:0 0;border:0;padding:0 0 .2rem;font-size:.9rem;position:relative}.project-filter button:after{background:var(--text-strong);content:"";height:2px;position:absolute;bottom:-1px;left:0;right:0;transform:scaleX(0)}.project-filter button:hover,.project-filter button:focus-visible,.project-filter button[aria-pressed=true]{color:var(--text-strong)}.project-filter button[aria-pressed=true]:after{transform:scaleX(1)}.project-filter__count{color:var(--faint);flex:none;font-size:.85rem}.project-list{scrollbar-color:var(--faint) transparent;scrollbar-width:thin;flex:1;grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:0 1rem;min-height:0;padding-right:.35rem;display:grid;overflow-y:auto}.project-card{grid-template-columns:3rem minmax(0,1fr);gap:.7rem;min-height:7.25rem;padding:.9rem .7rem;transition:background-color .16s;display:grid}.project-card:hover{background:var(--hover)}.project-card[hidden]{display:none}.project-card__icon{width:2.35rem;height:2.35rem;color:var(--muted);transition:color .16s;display:block}a.project-card__icon:hover,a.project-card__icon:focus-visible{color:var(--text-strong)}.project-icon{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:100%;height:100%;overflow:visible}.project-card__content{min-width:0}.project-card h2{color:var(--text-strong);margin:0;font-size:1.08rem;font-weight:600;line-height:1.55}.project-card h2 a:hover,.project-card h2 a:focus-visible{text-underline-offset:.2em;text-decoration:underline}.project-card p{color:var(--muted);margin:.45rem 0 0;font-size:.88rem;line-height:1.6}.site-footer{color:var(--faint);flex:none;font-size:.72rem}.site-footer--records{justify-content:center;gap:.6rem;padding:1rem 2rem .75rem;display:flex}.site-footer a:hover,.site-footer a:focus-visible{color:var(--muted)}.not-found{width:min(calc(100% - 3rem), var(--content));margin:5rem auto 9rem}.not-found h1{color:var(--text-strong);margin:0;font-size:4rem}.not-found p{color:var(--muted)}.not-found a{border-bottom:1px solid var(--muted)}@media (width<=900px){.project-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=680px){.site-header{min-height:5rem;padding:1.25rem}.site-logo{font-size:2rem}.site-nav{gap:.8rem;font-size:.88rem}.site-nav__divider{display:none}.home-content,.blog-article{width:min(calc(100% - 2.5rem), var(--content));margin-top:2.5rem}.blog-page{width:min(calc(100% - 2.5rem), var(--content));margin-top:1.25rem}.home-content{font-size:1rem}.home-content h1,.blog-article h1,.portfolio__header h1{font-size:2rem}.blog-tabs{gap:1.25rem;font-size:1.65rem}.blog-page{margin-bottom:0}.post-year h1{font-size:6rem;left:-.35rem}.post-year li{flex-direction:column;align-items:flex-start;gap:.1rem;font-size:1rem}.portfolio{width:min(calc(100% - 2.5rem), var(--wide));margin-top:1.25rem}.portfolio__header{margin-bottom:2rem}.project-filter{align-items:flex-end}.project-filter__options{gap:0 1.2rem}.project-filter button{padding-bottom:.2rem;font-size:.82rem}.project-filter__count{padding-bottom:.65rem;font-size:.75rem}.project-list{grid-template-columns:1fr}.project-card{min-height:6.9rem;padding-inline:.25rem}.site-footer--records{text-align:center;flex-wrap:wrap;padding-inline:1.25rem}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important}}
