:root,[data-theme=light]{--bg:#f4efe6;--paper:#fffdf8;--text:#1c1915;--muted:#6b645b;--faint:#8f877c;--accent:#c45c26;--accent-soft:#a84a1c;--line:#e4dcd0;--code:#efe8dc;--chip:#f3ece0;--header:#f4efe6db;--shadow:0 10px 28px #3024160f;--font-sans:ui-sans-serif, system-ui, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;--font-serif:"Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "Songti TC", serif;--font-mono:"IBM Plex Mono", "Sarasa Mono SC", "Cascadia Code", ui-monospace, monospace;--measure:42rem;--wide:56rem}[data-theme=dark]{--bg:#12110f;--paper:#1b1915;--text:#ece6da;--muted:#9b9386;--faint:#6f6a61;--accent:#c45c26;--accent-soft:#e8a06a;--line:#2e2b26;--code:#0e0d0b;--chip:#26231e;--header:#12110fdb;--shadow:0 12px 32px #0000003d}*{box-sizing:border-box}html{background:var(--bg);color:var(--text);font-family:var(--font-sans);-webkit-text-size-adjust:100%;color-scheme:light;line-height:1.6}html[data-theme=dark]{color-scheme:dark}body{background:var(--bg);min-height:100vh;margin:0}.site-shell{min-height:100vh}.site-spark-layer,.site-spark-layer .click-spark{z-index:20;pointer-events:none;position:fixed;inset:0}.site-shell{background:radial-gradient(1100px 420px at 8% -8%, #c45c261a, transparent 55%), var(--bg);flex-direction:column;display:flex;position:relative}[data-theme=dark] .site-shell{background:radial-gradient(1200px 480px at 12% -10%, #c45c2614, transparent 55%), var(--bg)}.aurora-layer{z-index:0;pointer-events:none;opacity:.38;height:28rem;position:absolute;inset:0 0 auto;mask-image:linear-gradient(#000 45%,#0000)}[data-theme=dark] .aurora-layer{opacity:.28}a{color:var(--accent-soft);text-underline-offset:.18em;text-decoration-thickness:1px}a:hover{color:var(--text)}::selection{color:var(--text);background:#c45c2647}.wrap{width:min(var(--wide), calc(100% - 2.5rem));margin:0 auto}.site-header,main,.site-footer{z-index:1;position:relative}.site-header{border-bottom:1px solid var(--line);z-index:10;background:var(--header);backdrop-filter:blur(14px);position:sticky;top:0}.site-header .wrap,.site-footer .wrap{justify-content:space-between;align-items:center;gap:1.25rem;display:flex}.site-header .wrap{height:4rem}.header-end{align-items:center;gap:1.1rem;display:flex}.brand{color:var(--text);letter-spacing:.04em;align-items:center;gap:.7rem;font-weight:600;text-decoration:none;display:flex}.brand-mark{border-radius:.3rem;flex-shrink:0;place-items:center;width:1.7rem;height:1.7rem;display:grid;overflow:hidden}.brand-mark img{object-fit:cover;width:100%;height:100%;display:block}.nav{gap:1.05rem;font-size:.92rem;display:flex}.nav a{color:var(--muted);text-decoration:none}.nav a:hover,.nav a[aria-current=page]{color:var(--text)}.nav a[aria-current=page]{box-shadow:inset 0 -1px 0 var(--accent)}.theme-toggle{position:relative}.theme-toggle-trigger,.theme-menu button{appearance:none;border:1px solid var(--line);background:var(--paper);color:var(--muted);cursor:pointer}.theme-toggle-trigger{border-radius:999px;align-items:center;gap:.15rem;height:2.25rem;padding:0 .55rem 0 .62rem;display:inline-flex}.theme-toggle-trigger .theme-icon{place-items:center;display:none}html[data-theme-pref=light] .theme-toggle-trigger .theme-icon[data-icon=light],html[data-theme-pref=dark] .theme-toggle-trigger .theme-icon[data-icon=dark],html[data-theme-pref=system] .theme-toggle-trigger .theme-icon[data-icon=system]{display:grid}.theme-chevron{opacity:.72}.theme-toggle-trigger[aria-expanded=true] .theme-chevron{transform:rotate(180deg)}.theme-toggle-trigger:hover,.theme-menu button:hover,.theme-toggle-trigger[aria-expanded=true]{color:var(--text)}.theme-menu{z-index:30;border:1px solid var(--line);background:var(--paper);box-shadow:var(--shadow);border-radius:.9rem;gap:.15rem;margin:0;padding:.28rem;display:grid;position:absolute;top:calc(100% + .4rem);right:0}.theme-menu[hidden]{display:none}.theme-menu button{background:0 0;border:0;border-radius:.65rem;place-items:center;width:2.5rem;height:2.35rem;padding:0;display:grid}.theme-menu button.is-active,html[data-theme-pref=light] .theme-menu button[data-option=light],html[data-theme-pref=dark] .theme-menu button[data-option=dark],html[data-theme-pref=system] .theme-menu button[data-option=system]{background:var(--chip);color:var(--text);box-shadow:inset 0 0 0 1px var(--line)}.site-footer{border-top:1px solid var(--line);color:var(--faint);margin-top:4.5rem;font-size:.82rem}.site-footer .wrap{min-height:4.25rem}main{flex:1;padding:3rem 0 1rem}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.hero-kicker,.kicker{color:var(--accent-soft);letter-spacing:.16em;text-transform:uppercase;margin:0 0 .85rem;font-size:.78rem}.hero .animated-gradient-text,.hero-kicker.animated-gradient-text{cursor:default;justify-content:flex-start;margin:0 0 .9rem}.hero-title-anim{pointer-events:none}.hero-title,.page-title,.hero h1{max-width:16em;font-family:var(--font-serif);letter-spacing:.02em;margin:0;font-size:clamp(2rem,5vw,3.15rem);font-weight:600;line-height:1.28}.page-title{font-size:clamp(1.8rem,4vw,2.5rem)}.lede{max-width:36rem;color:var(--muted);margin:1.15rem 0 0;font-size:1.05rem;line-height:1.85}.section{margin-top:3.5rem}.section-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:baseline;gap:1rem;margin-bottom:1.15rem;padding-bottom:.55rem;display:flex}.section-head h2{letter-spacing:.12em;margin:0;font-size:.92rem;font-weight:600}.more{color:var(--muted);font-size:.86rem;text-decoration:none}.note-list,.project-list{gap:.85rem;margin:0;padding:0;list-style:none;display:grid}.glare-hover.note-glare{background:var(--paper);border:1px solid var(--line);width:100%;box-shadow:var(--shadow);place-items:stretch stretch;display:grid}.note-item{grid-template-columns:max-content minmax(0,1fr);align-items:baseline;gap:.3rem 1.15rem;width:100%;padding:1rem 1.1rem;display:grid}.note-item a{color:var(--text);font-size:1.05rem;text-decoration:none}.note-item a:hover{color:var(--accent-soft)}.note-date,.note-meta{color:var(--faint);font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;font-size:.86rem}.note-date{white-space:nowrap;text-align:left;width:10ch}.tags{flex-wrap:wrap;gap:.4rem;margin-top:.4rem;display:flex}.tag,.chip{background:var(--chip);color:var(--muted);border:1px solid var(--line);letter-spacing:.04em;padding:.12rem .45rem;font-size:.74rem;display:inline-block}.project-spotlight.card-spotlight{background:var(--paper);border-color:var(--line);box-shadow:var(--shadow);border-radius:1rem;padding:1.2rem 1.25rem}.project-item{z-index:1;position:static}.project-item h3{margin:0;font-size:1.12rem;font-weight:600}.project-item h3 a{color:var(--text);text-decoration:none}.project-item h3 a:hover{color:var(--accent-soft)}.project-item p{color:var(--muted);margin:.45rem 0 .7rem;line-height:1.75}.project-status{color:var(--faint);margin-left:.55rem;font-size:.8rem;font-weight:400}.page-desc{color:var(--muted);max-width:36rem;margin:.8rem 0 0;line-height:1.85}.article-header{max-width:var(--measure)}.article-header h1{font-family:var(--font-serif);margin:.35rem 0 0;font-size:clamp(1.85rem,4.4vw,2.6rem);line-height:1.32}.prose{max-width:var(--measure);margin-top:2rem;font-size:1.05rem;line-height:1.9}.prose :first-child{margin-top:0}.prose h1,.prose h2,.prose h3{font-family:var(--font-serif);margin:2.2rem 0 .7rem;line-height:1.4}.prose img{max-width:100%;height:auto}.prose table{border-collapse:collapse;width:100%;margin:0 0 1.15rem;font-size:.92rem}.prose th,.prose td{border:1px solid var(--line);text-align:left;vertical-align:top;padding:.4rem .65rem}.prose p,.prose ul,.prose ol{margin:0 0 1.15rem}.prose li+li{margin-top:.35rem}.prose code{font-family:var(--font-mono);background:var(--chip);padding:.1em .35em;font-size:.88em}.prose pre{background:var(--code);border:1px solid var(--line);padding:1rem 1.1rem;font-size:.86rem;line-height:1.65;overflow-x:auto}.prose pre code{background:0 0;padding:0}html[data-theme=light] .astro-code,html[data-theme=light] .astro-code span{color:var(--shiki-light)!important;background-color:var(--shiki-light-bg)!important;font-style:var(--shiki-light-font-style)!important;font-weight:var(--shiki-light-font-weight)!important;text-decoration:var(--shiki-light-text-decoration)!important}html[data-theme=dark] .astro-code,html[data-theme=dark] .astro-code span{color:var(--shiki-dark)!important;background-color:var(--shiki-dark-bg)!important;font-style:var(--shiki-dark-font-style)!important;font-weight:var(--shiki-dark-font-weight)!important;text-decoration:var(--shiki-dark-text-decoration)!important}.prose blockquote{border-left:2px solid var(--accent);color:var(--muted);margin:0 0 1.15rem;padding:0 0 0 1rem}.about p{max-width:var(--measure);color:var(--muted);margin:0 0 1.1rem;line-height:1.9}.about p:first-of-type{color:var(--text);font-size:1.08rem}@media (width<=720px){.wrap{width:min(var(--wide), calc(100% - 1.6rem))}.note-item{grid-template-columns:1fr}.note-date{width:auto}.site-header .wrap{flex-wrap:wrap;height:auto;padding:.85rem 0}.header-end{justify-content:space-between;width:100%}}@media (prefers-reduced-motion:reduce){.aurora-layer,.shiny-text,.animated-gradient-text{animation:none!important}.aurora-layer,.star-trail{display:none}}:root,[data-theme=light]{--trail:#4d96e0;--on-accent:#fff}[data-theme=dark]{--trail:#f5f8ff;--on-accent:#1c1915}html[data-theme=light] body[data-page=home]{--accent:#c45c26;--accent-soft:#9a3d12}html[data-theme=dark] body[data-page=home]{--accent:#e8a06a;--accent-soft:#e8a06a}html[data-theme=light] body[data-page=notes]{--accent:#0f766e;--accent-soft:#0a5c4a}html[data-theme=dark] body[data-page=notes]{--accent:#7ddec0;--accent-soft:#7ddec0}html[data-theme=light] body[data-page=projects]{--accent:#6a45e0;--accent-soft:#4c2aa8}html[data-theme=dark] body[data-page=projects]{--accent:#c9b6ff;--accent-soft:#c9b6ff}html[data-theme=light] body[data-page=about]{--accent:#c2416b;--accent-soft:#8f1840}html[data-theme=dark] body[data-page=about]{--accent:#ffb4c8;--accent-soft:#ffb4c8}.star-trail{z-index:0;pointer-events:none;width:100%;height:100%;position:fixed;inset:0}.site-frame{z-index:1;flex:1;position:relative}.site-aside,.home-widgets{display:none}.side-stack,.widget-stack{gap:.9rem;display:grid}.widget-kicker,.clock-date,.widget-notes time,.activity-list time,.side-latest time{color:var(--faint);font-size:.78rem}.side-nav-links{flex-direction:column;align-items:stretch;gap:.15rem}.side-nav-links a,.nav a{align-items:center;min-height:44px;display:flex}.side-nav-links a{border-radius:.7rem;padding:0 .55rem}.side-latest,.widget-card{border:1px solid var(--line);background:color-mix(in srgb, var(--paper) 88%, transparent);box-shadow:var(--shadow);border-radius:1rem;gap:.3rem;padding:.85rem .9rem;display:grid}.side-latest{color:var(--text);text-decoration:none}.side-latest strong,.now-title,.widget-notes a,.activity-list a{color:var(--text);line-height:1.45;text-decoration:none}.widget-kicker{letter-spacing:.12em;margin:0}.clock-time{font-variant-numeric:tabular-nums;letter-spacing:.04em;min-height:1.2em;margin:0;font-size:1.55rem}.clock-date,.now-status,.widget-fallback{margin:0}.now-title{font-weight:600}.now-status{color:var(--muted);align-items:center;gap:.4rem;display:flex}.now-dot{background:var(--accent);border-radius:999px;width:.45rem;height:.45rem}.tag-cloud,.widget-notes,.activity-list{flex-wrap:wrap;gap:.4rem;margin:0;padding:0;list-style:none;display:flex}.widget-notes,.activity-list{display:grid}.tag-cloud span{border:1px solid var(--line);background:var(--chip);color:var(--muted);font-size:calc(.72rem + var(--w) * .28rem);border-radius:999px;padding:.2rem .45rem}.activity-week{grid-template-columns:repeat(7,1fr);gap:.25rem;display:grid}.activity-cell{background:var(--chip);border-radius:.2rem;height:.7rem}.activity-cell.is-on{background:color-mix(in srgb, var(--accent) 35%, var(--chip));opacity:calc(.45 + var(--n) * .15)}.widget-more{color:var(--muted);font-size:.82rem}.theme-toggle-trigger,.theme-menu button{min-width:44px;min-height:44px}.theme-toggle button:focus-visible,.nav a:focus-visible,.transit-cta:focus-visible,.transit-source a:focus-visible,.transit-back:focus-visible{outline:2px solid var(--accent-soft);outline-offset:3px}.stretch-link{position:static}.stretch-link:after{content:"";z-index:2;position:absolute;inset:0}.project-spotlight:has(.stretch-link),.note-glare:has(.stretch-link){cursor:pointer}.project-spotlight:has(.stretch-link:focus-visible),.note-glare:has(.stretch-link:focus-visible){outline:2px solid var(--accent-soft);outline-offset:3px}.stretch-link:focus-visible{outline:none}.private-badge{border:1px solid var(--line);color:var(--muted);border-radius:999px;margin-left:.45rem;padding:.08rem .42rem;font-size:.72rem;font-weight:500}body[data-page=home] .project-spotlight.card-spotlight,body[data-page=home] .glare-hover.note-glare{border-radius:16px}body[data-page=notes] .note-glare,body[data-page=notes] .project-spotlight.card-spotlight{border-left:3px solid var(--accent);border-radius:0 .6rem .6rem 0}body[data-page=notes] .stretch-link,body[data-page=notes] .prose a{background-image:linear-gradient(currentColor,currentColor);background-position:0 100%;background-repeat:no-repeat;background-size:0 1px;transition:background-size .25s}body[data-page=projects] .project-spotlight.card-spotlight{clip-path:polygon(14px 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%,0 14px);border-radius:0}body[data-page=projects] .project-list li:has(.stretch-link:focus-visible){outline:2px solid var(--accent-soft);outline-offset:4px}body[data-page=projects] .project-spotlight:has(.stretch-link:focus-visible){outline:none}body[data-page=about] .about{background:color-mix(in srgb, var(--paper) 82%, transparent);border-radius:2rem 2.6rem 1.7rem 2.2rem;max-width:40rem;padding:1.15rem 1.3rem .4rem}.site-header .nav a[aria-current=page]{color:var(--text);clip-path:none;background:0 0;border-radius:0;padding-inline:0;box-shadow:inset 0 -2px #c45c26}html[data-theme=dark] .site-header .nav a[aria-current=page]{box-shadow:inset 0 -2px #e8a06a}.project-spotlight,.note-glare,.about{transition:transform .2s,box-shadow .2s}#works,#recent-notes{scroll-margin-top:5.5rem}.transit-source,.transit-missing,.transit-url{color:var(--muted);line-height:1.7}.transit-source a{color:var(--accent-soft)}.transit .prose{max-width:none}.transit-url{overflow-wrap:anywhere}.transit-actions{justify-items:start;gap:.35rem;margin-top:1.2rem;display:grid}.transit-cta{background:var(--accent-soft);min-height:44px;color:var(--on-accent);border-radius:999px;justify-content:center;align-items:center;padding:.45rem 1.1rem;text-decoration:none;display:inline-flex}.transit-cta:hover{color:var(--on-accent)}.transit-back{align-items:center;min-height:44px;display:inline-flex}@media (hover:hover) and (pointer:fine){body[data-page=home] .project-spotlight:hover,body[data-page=home] .note-glare:hover{transform:translateY(-4px);box-shadow:0 16px 34px #9a3d1229}body[data-page=notes] .note-glare:hover .stretch-link,body[data-page=notes] .prose a:hover{background-size:100% 1px}body[data-page=projects] .project-spotlight:hover{transform:perspective(900px)rotateX(2deg)rotateY(-4deg)}body[data-page=about] .about:hover{transform:translateY(-4px)}}@media (hover:none){body[data-page=home] .project-spotlight:active,body[data-page=home] .note-glare:active{transform:translateY(-2px)}body[data-page=notes] .note-glare:active .stretch-link{background-size:100% 1px}body[data-page=projects] .project-spotlight:active,body[data-page=about] .about:active{transform:translateY(-2px)}}@media (width>=1100px){.site-frame{grid-template-columns:14rem minmax(0,1fr);align-items:start;column-gap:1.5rem;width:calc(100% - 2rem);margin-inline:auto;display:grid}body[data-page=home] .site-frame{grid-template-columns:14rem minmax(0,1fr) 15rem}.site-frame>.wrap{justify-self:center;width:min(100%,56rem);max-width:56rem;margin-inline:auto}.site-header .wrap,.site-footer .wrap{width:calc(100% - 2rem)}.home-widgets{min-width:0;padding-top:3rem;display:block}.site-aside{overscroll-behavior-y:auto;align-self:start;max-height:calc(100vh - 6.25rem);display:block;position:sticky;top:5.25rem;overflow:auto}.site-header .nav{display:none}.site-header .wrap{justify-content:space-between}.site-header .header-end{margin-left:auto}.side-nav-links a[aria-current=page]{color:var(--accent-soft);box-shadow:inset 0 -2px 0 var(--accent)}}@media (prefers-reduced-motion:reduce){.star-trail,.now-dot{animation:none!important}.star-trail{display:none!important}.project-spotlight,.note-glare,.about,.nav a,.stretch-link{transition:none!important;transform:none!important}}.shiny-text{color:#b5b5b5a4;background:linear-gradient(120deg,#fff0 40%,#fffc 50%,#fff0 60%) 0 0/200% 100%;-webkit-background-clip:text;background-clip:text;animation:5s linear infinite shine;display:inline-block}@keyframes shine{0%{background-position:100%}to{background-position:-100%}}.shiny-text.disabled{animation:none}.aurora-container{width:100%;height:100%}
