body.home-page{--accent:#2337ff;--accent-dark:#000d8a;--black:15, 18, 25;--gray:96, 115, 159;--gray-light:229, 233, 240;--gray-dark:34, 41, 57;--gray-gradient:rgba(var(--gray-light), 50%), #fff;--box-shadow:0 2px 6px rgba(var(--gray), 25%), 0 8px 24px rgba(var(--gray), 33%), 0 16px 32px rgba(var(--gray), 33%);background:linear-gradient(var(--gray-gradient)) no-repeat;background-size:100% 600px;font-size:20px}:root.dark body.home-page{--accent:#6c7bff;--accent-dark:#9aa6ff;--black:240, 244, 255;--gray:164, 178, 207;--gray-light:48, 54, 71;--gray-dark:214, 222, 240;--gray-gradient:#1e222ed9, #0b0d14;--box-shadow:0 2px 6px #0006, 0 8px 24px #00000073, 0 16px 32px #00000080;background-color:#0b0d14}body.home-page main{width:1100px;max-width:calc(100% - 2em);margin:auto;padding:3em 1em}main:where(.astro-lcdefpme){width:1100px;font-size:16px}section:where(.astro-lcdefpme){margin-bottom:4rem}.hero:where(.astro-lcdefpme){aspect-ratio:2363/1080;background:url(/images/head-bg.PNG) top/100% no-repeat;width:100vw;margin:-3em 0 4rem calc(50% - 50vw);position:relative}.hero:where(.astro-lcdefpme):before{content:"";background:linear-gradient(#fff0 80%,#fffffff2 100%),linear-gradient(100deg,#ffffffd9 0%,#ffffff73 40%,#ffffff0d 65%,#fff0 80%);position:absolute;inset:0}:root.dark .hero:where(.astro-lcdefpme):before{background:linear-gradient(#0b0d1400 80%,#0b0d14f2 100%),linear-gradient(100deg,#0b0d14e0 0%,#0b0d1480 40%,#0b0d141a 65%,#0b0d1400 80%)}.hero-inner:where(.astro-lcdefpme){grid-template-columns:1.2fr 1fr;align-content:center;gap:2rem;max-width:1100px;height:100%;margin:0 auto;padding:0 1rem;display:grid;position:relative}.hero-hello:where(.astro-lcdefpme){color:rgb(var(--gray-dark));margin:0 0 .25rem;font-size:1rem}.hero-name:where(.astro-lcdefpme){letter-spacing:.02em;color:rgb(var(--black));margin:0 0 .75rem;font-size:4rem;font-weight:800}.hero-name:where(.astro-lcdefpme) em:where(.astro-lcdefpme){color:var(--accent);font-style:normal}.hero-role:where(.astro-lcdefpme){color:rgb(var(--gray-dark));margin:0 0 1.25rem;font-size:1.05rem;font-weight:600}.hero-desc:where(.astro-lcdefpme){color:rgb(var(--gray));margin:0 0 1.75rem;font-size:.95rem;line-height:1.8}.hero-actions:where(.astro-lcdefpme){flex-wrap:wrap;gap:.75rem;display:flex}.btn:where(.astro-lcdefpme){border:1px solid rgb(var(--gray-light));color:rgb(var(--gray-dark));background:#ffffffbf;border-radius:8px;align-items:center;gap:.4rem;padding:.6em 1.3em;font-size:.9rem;font-weight:600;text-decoration:none;transition:all .2s;display:inline-flex}:root.dark .btn:where(.astro-lcdefpme){background:#1e222eb3}.btn:where(.astro-lcdefpme):hover{border-color:var(--accent);color:var(--accent);transform:translateY(-2px)}.btn-primary:where(.astro-lcdefpme){background:var(--accent);border-color:var(--accent);color:#fff}.btn-primary:where(.astro-lcdefpme):hover{background:var(--accent-dark);border-color:var(--accent-dark);color:#fff}.hero-poem:where(.astro-lcdefpme){text-align:right;color:rgb(var(--gray-dark));place-self:start end;font-family:Songti SC,STSong,SimSun,serif}.hero-poem:where(.astro-lcdefpme) .line:where(.astro-lcdefpme){letter-spacing:.12em;margin:0;font-size:1.05rem;line-height:2}.hero-poem:where(.astro-lcdefpme) .from:where(.astro-lcdefpme){color:rgb(var(--gray));margin:.6rem 0 0;font-size:.78rem}.hero-chips:where(.astro-lcdefpme){flex-wrap:wrap;grid-column:1/-1;gap:.6rem;margin-top:2.25rem;display:flex}.chip:where(.astro-lcdefpme){border:1px solid rgba(var(--gray-light), .9);color:rgb(var(--gray-dark));backdrop-filter:blur(4px);background:#ffffffb3;border-radius:999px;align-items:center;gap:.35rem;padding:.35em .95em;font-size:.78rem;display:inline-flex}:root.dark .chip:where(.astro-lcdefpme){background:#1e222eb3}.section-title:where(.astro-lcdefpme){justify-content:space-between;align-items:baseline;margin-bottom:1.5rem;display:flex}.section-title:where(.astro-lcdefpme) h2:where(.astro-lcdefpme){margin:0;font-size:1.5rem}.section-title:where(.astro-lcdefpme) .sub:where(.astro-lcdefpme){color:rgb(var(--gray));margin:.35rem 0 0;font-size:.85rem}.section-more:where(.astro-lcdefpme){white-space:nowrap;font-size:.85rem;text-decoration:none}.card-grid:where(.astro-lcdefpme){grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1.25rem;display:grid}.post-card:where(.astro-lcdefpme),.project-card:where(.astro-lcdefpme){border:1px solid rgb(var(--gray-light));background:rgba(var(--gray-light), .15);border-radius:14px;flex-direction:column;text-decoration:none;transition:box-shadow .2s,transform .2s,border-color .2s;display:flex;overflow:hidden}.post-card:where(.astro-lcdefpme):hover,.project-card:where(.astro-lcdefpme):hover{box-shadow:var(--box-shadow);border-color:var(--accent);transform:translateY(-3px)}.post-card:where(.astro-lcdefpme) .cover{aspect-ratio:16/8;width:100%}.post-card:where(.astro-lcdefpme) img{object-fit:cover;width:100%;height:100%}.cover-fallback:where(.astro-lcdefpme){background:linear-gradient(135deg,#1e3a8a 0%,#2563eb 60%,#0ea5e9 100%);justify-content:center;align-items:center;width:100%;height:100%;padding:0 1rem;display:flex}.cover-fallback:where(.astro-lcdefpme) code:where(.astro-lcdefpme){color:#ffffffe6;text-align:center;background:0 0;font-family:JetBrains Mono,Consolas,monospace;font-size:.9rem}.card-body:where(.astro-lcdefpme){flex-direction:column;flex:1;gap:.45rem;padding:1.1rem 1.25rem 1.25rem;display:flex}.card-body:where(.astro-lcdefpme) h3:where(.astro-lcdefpme){color:rgb(var(--black));margin:0;font-size:1rem;line-height:1.4}.post-card:where(.astro-lcdefpme):hover h3:where(.astro-lcdefpme){color:var(--accent)}.card-body:where(.astro-lcdefpme) .desc:where(.astro-lcdefpme){color:rgb(var(--gray));-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:.82rem;line-height:1.6;display:-webkit-box;overflow:hidden}.card-date:where(.astro-lcdefpme){color:rgb(var(--gray));margin:auto 0 0;font-size:.78rem}.project-card:where(.astro-lcdefpme){gap:.6rem;padding:1.25rem}.project-head:where(.astro-lcdefpme){align-items:center;gap:.6rem;display:flex}.project-head:where(.astro-lcdefpme) .icon:where(.astro-lcdefpme){font-size:1.4rem}.project-head:where(.astro-lcdefpme) h3:where(.astro-lcdefpme){color:rgb(var(--black));margin:0;font-size:1rem}.project-card:where(.astro-lcdefpme) .desc:where(.astro-lcdefpme){color:rgb(var(--gray));margin:0;font-size:.82rem;line-height:1.6}.tag-row:where(.astro-lcdefpme){flex-wrap:wrap;gap:.4rem;margin-top:auto;padding-top:.4rem;display:flex}.tag:where(.astro-lcdefpme){background:rgba(var(--gray-light), .6);color:rgb(var(--gray));border-radius:999px;padding:.15em .6em;font-size:.72rem}.about:where(.astro-lcdefpme){border:1px solid rgb(var(--gray-light));background:rgba(var(--gray-light), .15);border-radius:16px;padding:2rem 2.25rem}.about:where(.astro-lcdefpme) p:where(.astro-lcdefpme){color:rgb(var(--gray-dark));margin:0 0 1rem;font-size:.95rem;line-height:1.9}.about:where(.astro-lcdefpme) p:where(.astro-lcdefpme):last-child{margin-bottom:0}@media (width<=860px){.hero:where(.astro-lcdefpme){aspect-ratio:auto;background-position:50%;background-size:cover}.hero-inner:where(.astro-lcdefpme){grid-template-columns:1fr;gap:1.5rem;padding:4rem 1rem 3rem}.hero-poem:where(.astro-lcdefpme){text-align:left;justify-self:start}.hero-name:where(.astro-lcdefpme){font-size:2.6rem}}@media (width<=720px){body.home-page{font-size:18px}body.home-page main,main:where(.astro-lcdefpme){padding:1em}.hero:where(.astro-lcdefpme){margin-top:-1em}section:where(.astro-lcdefpme){margin-bottom:3rem}}
