:root{color-scheme:light;--bg: #faf8f3;--surface: #fffdf8;--surface-strong: #f0eadf;--ink: #25221d;--muted: #706a60;--line: #ded6c8;--accent: #0f7b75;--accent-strong: #0a5f5a;--warm: #b24a33;--gold: #8c6f2c;--shadow: 0 16px 42px rgba(61, 49, 35, .08);--radius: 8px;--content: 1120px;--measure: 720px;font-family:"Noto Serif SC","Source Han Serif SC",Songti SC,Microsoft YaHei,system-ui,sans-serif}*{box-sizing:border-box}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--bg)}::-webkit-scrollbar-thumb{background:var(--line);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--muted)}html{min-height:100%;background:var(--bg);color:var(--ink);scroll-behavior:smooth}body{min-height:100vh;margin:0;background:linear-gradient(180deg,#fffdf8db 0,#faf8f300 380px),var(--bg);color:var(--ink);font-size:16px;line-height:1.75;text-rendering:optimizeLegibility}a{color:inherit;text-decoration-color:#0f7b7557;text-decoration-thickness:1px;text-underline-offset:.18em;transition:color .16s ease,text-decoration-color .16s ease,border-color .16s ease,background-color .16s ease}a:hover{color:var(--accent-strong);text-decoration-color:currentColor}img{display:block;max-width:100%}::selection{background:#b24a332e}.skip-link{position:fixed;left:1rem;top:1rem;z-index:20;transform:translateY(-140%);border-radius:6px;background:var(--ink);color:var(--surface);padding:.5rem .75rem;text-decoration:none}.skip-link:focus{transform:translateY(0)}.site-header{border-bottom:1px solid rgba(222,214,200,.72);background:#faf8f3e6;backdrop-filter:blur(18px)}.site-header__inner,.site-footer__inner,.page-shell{width:min(100% - 2rem,var(--content));margin-inline:auto}.site-header__inner{display:flex;min-height:74px;align-items:center;justify-content:space-between;gap:1.5rem;padding-block:.85rem}.site-brand{display:inline-flex;align-items:center;gap:.7rem;min-width:max-content;text-decoration:none}.site-brand__mark{display:grid;width:2.25rem;height:2.25rem;place-items:center;border:1px solid rgba(15,123,117,.3);border-radius:8px;background:var(--surface);color:var(--accent-strong);font-weight:700;box-shadow:var(--shadow);transition:transform .4s cubic-bezier(.34,1.56,.64,1),border-color .3s ease,box-shadow .3s ease}.site-brand:hover .site-brand__mark{transform:rotate(8deg) scale(1.05);border-color:var(--accent);box-shadow:0 6px 16px #0f7b7526}.site-brand__name{font-size:1.05rem;font-weight:700;letter-spacing:0}.site-nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.35rem}.site-nav__link{border-radius:6px;color:var(--muted);padding:.4rem .62rem;font-size:.95rem;line-height:1.2;text-decoration:none}.site-nav__link:hover,.site-nav__link.is-active{background:#0f7b7514;color:var(--accent-strong)}main{min-height:calc(100vh - 210px)}.page-shell{padding-block:clamp(2rem,5vw,4rem)}.page-header{max-width:var(--measure);margin-bottom:clamp(2rem,5vw,3.5rem)}.page-kicker{margin:0 0 .65rem;color:var(--warm);font-size:.88rem;font-weight:700}.page-title{margin:0;font-size:clamp(2rem,6vw,4.2rem);font-weight:800;letter-spacing:0;line-height:1.08}.page-description{max-width:44rem;margin:1rem 0 0;color:var(--muted);font-size:clamp(1rem,2vw,1.15rem)}.home-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,320px);gap:clamp(2rem,5vw,4rem);align-items:start}.home-note{border-left:3px solid var(--accent);padding-left:1rem;color:var(--muted)}.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:1rem}.section-heading h2{margin:0;font-size:1rem;letter-spacing:0}.section-heading a{color:var(--accent-strong);font-size:.92rem}.post-list{display:grid;gap:1rem}.post-list--compact{gap:.8rem}.post-card{border:1px solid var(--line);border-radius:var(--radius);background:#fffdf8c7;padding:clamp(1rem,3vw,1.4rem);box-shadow:0 10px 30px #3d31230a;transition:transform .4s cubic-bezier(.16,1,.3,1),border-color .4s cubic-bezier(.16,1,.3,1),box-shadow .4s cubic-bezier(.16,1,.3,1),background-color .4s cubic-bezier(.16,1,.3,1)}.post-card:hover{transform:translateY(-4px);border-color:#0f7b7573;box-shadow:0 18px 36px #3d312314;background:var(--surface)}.post-card__meta,.article-meta{display:flex;flex-wrap:wrap;gap:.5rem .85rem;color:var(--muted);font-size:.86rem}.post-card__title{margin:.45rem 0 0;font-size:clamp(1.2rem,3vw,1.65rem);line-height:1.35;letter-spacing:0}.post-card__title a{text-decoration:none;transition:color .3s ease}.post-card:hover .post-card__title a{color:var(--accent-strong)}.post-card__description{margin:.65rem 0 0;color:var(--muted)}.post-card__tags,.tag-list{display:flex;flex-wrap:wrap;gap:.55rem;margin:0;padding:0;list-style:none}.post-card__tags{margin-top:.85rem}.post-card__tags a,.tag-pill{display:inline-flex;align-items:center;gap:.35rem;border:1px solid rgba(15,123,117,.2);border-radius:999px;background:#0f7b750f;color:var(--accent-strong);padding:.25rem .6rem;font-size:.88rem;line-height:1.3;text-decoration:none;transition:transform .3s cubic-bezier(.16,1,.3,1),background-color .3s ease,border-color .3s ease,color .3s ease}.post-card__tags a:hover,.tag-pill:hover{transform:translateY(-1px) scale(1.02);background-color:var(--accent);border-color:var(--accent);color:var(--surface)!important}.post-card__tags a:hover small,.tag-pill:hover small{color:var(--surface-strong)}.tag-pill small{color:var(--gold);font-family:system-ui,sans-serif;font-size:.76rem;transition:color .3s ease}.tag-list--compact{gap:.42rem}.article-layout{display:grid;grid-template-columns:minmax(0,var(--measure)) minmax(180px,260px);gap:clamp(2rem,5vw,4rem);align-items:start}.article-header{grid-column:1 / -1;max-width:var(--measure)}.article-title{margin:.55rem 0 0;font-size:clamp(2rem,6vw,4rem);font-weight:800;letter-spacing:0;line-height:1.12}.article-description{margin:1rem 0 0;color:var(--muted);font-size:1.08rem}.article-tags{margin-top:1rem}.article-aside{position:sticky;top:1.5rem;border-left:1px solid var(--line);padding-left:1rem;color:var(--muted);font-size:.9rem}.article-aside h2{margin:0 0 .65rem;color:var(--ink);font-size:.95rem}.toc{display:grid;gap:.42rem;margin:0;padding:0;list-style:none}.toc a{text-decoration:none;display:inline-block;transition:transform .2s cubic-bezier(.16,1,.3,1),color .2s ease}.toc a:hover{color:var(--accent-strong);transform:translate(4px)}.prose{max-width:var(--measure);font-size:1.04rem}.prose>*:first-child{margin-top:0}.prose h2,.prose h3,.prose h4{margin:2.1em 0 .75em;line-height:1.3;letter-spacing:0}.prose p,.prose ul,.prose ol,.prose blockquote,.prose pre,.prose table{margin-block:1.05rem}.prose blockquote{border-left:3px solid var(--warm);margin-left:0;padding:.15rem 0 .15rem 1rem;color:var(--muted)}.prose .note-box{display:grid;gap:.25rem;border:1px solid rgba(15,123,117,.22);border-left:3px solid var(--accent);border-radius:var(--radius);background:#0f7b750f;color:var(--muted);padding:.85rem 1rem}.prose .note-box strong{color:var(--ink)}.prose code{border-radius:5px;background:var(--surface-strong);padding:.12rem .28rem;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.92em}.prose pre{overflow-x:auto;border:1px solid var(--line);border-radius:var(--radius);background:#28251f;color:#fff8e8;padding:1rem}.prose pre code{background:transparent;padding:0;color:inherit}.prose img{border-radius:var(--radius);border:1px solid var(--line)}.prose table{width:100%;border-collapse:collapse;font-size:.95rem}.prose th,.prose td{border-bottom:1px solid var(--line);padding:.55rem;text-align:left;vertical-align:top}.archive-list{display:grid;gap:2.5rem}.archive-year{display:grid;grid-template-columns:7rem minmax(0,1fr);gap:clamp(1rem,4vw,2rem);align-items:start}.archive-year>h2{position:sticky;top:1rem;margin:0;color:var(--warm);font-size:1.6rem}.archive-months{display:grid;gap:1.4rem}.archive-month{display:grid;grid-template-columns:4.5rem minmax(0,1fr);gap:1rem}.archive-month h3{margin:.85rem 0 0;color:var(--gold);font-size:.95rem}.about-content{max-width:var(--measure)}.about-content p{margin-block:1.05rem}.empty-state{border:1px dashed var(--line);border-radius:var(--radius);background:#fffdf885;color:var(--muted);padding:1.2rem}.not-found-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.5rem}.text-button{display:inline-flex;align-items:center;min-height:2.4rem;border:1px solid rgba(15,123,117,.28);border-radius:6px;background:#0f7b7514;color:var(--accent-strong);padding:.38rem .8rem;text-decoration:none}.site-footer{border-top:1px solid rgba(222,214,200,.78);color:var(--muted)}.site-footer__inner{display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem;padding-block:1.35rem;font-size:.92rem}.site-footer p{margin:0}.site-footer__links{display:flex;flex-wrap:wrap;gap:.8rem}@media(max-width:860px){.site-header__inner{align-items:flex-start;flex-direction:column;gap:.85rem}.site-nav{justify-content:flex-start}.home-grid,.article-layout{grid-template-columns:1fr}.article-aside{position:static;border-left:0;border-top:1px solid var(--line);padding:1rem 0 0}.archive-year,.archive-month{grid-template-columns:1fr}.archive-year>h2{position:static}.archive-month h3{margin-top:0}}@media(max-width:520px){.site-header__inner,.site-footer__inner,.page-shell{width:min(100% - 1.25rem,var(--content))}.site-nav__link{padding-inline:.5rem}.post-card{padding:1rem}.page-shell{padding-block:1.6rem 2.6rem}}.astro-route-announcer{position:absolute;left:0;top:0;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden;white-space:nowrap;width:1px;height:1px}.back-to-top{position:fixed;bottom:2rem;right:2rem;width:44px;height:44px;border-radius:50%;background:#fffdf8d9;border:1px solid var(--line);color:var(--ink);cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .3s ease,transform .3s ease,visibility .3s ease,background-color .3s ease,border-color .3s ease;box-shadow:0 4px 12px #3d31230f;backdrop-filter:blur(8px);z-index:99}.back-to-top:hover{background:var(--surface);border-color:var(--accent);color:var(--accent-strong);transform:translateY(-2px)}.back-to-top.show{opacity:1;visibility:visible;transform:translateY(0)}@media(max-width:520px){.back-to-top{bottom:1.5rem;right:1.5rem;width:38px;height:38px}}
