:root{--brand:#007a33;--brand-hover:#00632a;--brand-contrast:#fff;--brand-tint:#e8f4ec;--brand-blue:#00629b;--bg:#fff;--surface:#f5f7f6;--text:#1c2330;--muted:#5b6575;--border:#dde3e0;--code-bg:#f6f8fa;--logo-blue:#00629b;--logo-green:#007a33;--logo-gray1:#595757;--logo-gray2:#898989;--cathode:#c62828;--anode:#1565c0;--copper:#b87333;--imc:#8d8d6e;--solder:#c9ced6;--series:#00629b;--grid:#e8ecea;--max-width:46rem;--max-width-wide:72rem;--font-sans:"Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;--font-mono:ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, monospace;color-scheme:light}:root[data-theme=dark]{color-scheme:dark;--brand:#4cc27a;--brand-hover:#6fd394;--brand-contrast:#0d1117;--brand-tint:#14281c;--brand-blue:#5aa9e0;--bg:#0f141b;--surface:#161d27;--text:#e3e8ef;--muted:#9aa5b4;--border:#2a3442;--code-bg:#161b22;--logo-blue:#f1f4f8;--logo-green:#f1f4f8;--logo-gray1:#f1f4f8;--logo-gray2:#9aa3ad;--cathode:#ef7b7b;--anode:#74aef0;--copper:#d08a4c;--imc:#9a9a7c;--solder:#59616d;--series:#5594da;--grid:#222b37}:root[data-theme=dark] .astro-code,:root[data-theme=dark] .astro-code span{color:var(--shiki-dark)!important;background-color:var(--shiki-dark-bg)!important}*,:before,:after{box-sizing:border-box}body{background:var(--bg);color:var(--text);font-family:var(--font-sans);-webkit-text-size-adjust:100%;margin:0;font-size:1.0625rem;line-height:1.8}a{color:var(--brand);text-underline-offset:.2em}img{max-width:100%;height:auto}.container{max-width:var(--max-width);margin:0 auto;padding:0 1rem}.container-wide{max-width:var(--max-width-wide)}.skip-link{position:absolute;left:-999px}.skip-link:focus{background:var(--bg);z-index:10;padding:.5rem 1rem;top:1rem;left:1rem}.site-header{border-top:4px solid var(--brand);border-bottom:1px solid var(--border);background:var(--bg)}.header-inner{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem 1.5rem;padding-block:.875rem;display:flex}.brand{color:var(--text);align-items:center;gap:.75rem;text-decoration:none;display:flex}.brand-logo{height:2.125rem}.brand-divider{background:var(--border);width:1px;height:1.625rem}.brand-name{letter-spacing:.08em;white-space:nowrap;font-size:1.0625rem;font-weight:700}.site-header nav{flex-wrap:wrap;gap:.25rem 1.25rem;font-size:.9375rem;display:flex}.site-header nav a{color:var(--muted);text-decoration:none}.site-header nav a:hover,.site-header nav a[aria-current=page]{color:var(--brand)}.header-tools{align-items:center;gap:1.25rem;display:flex}.theme-toggle{border:1px solid var(--border);width:2.25rem;height:2.25rem;color:var(--muted);cursor:pointer;background:0 0;border-radius:8px;place-items:center;padding:0;display:grid}.theme-toggle:hover{border-color:var(--brand);color:var(--brand)}.theme-toggle svg{width:1.125rem;height:1.125rem}.theme-toggle .icon-sun,:root[data-theme=dark] .theme-toggle .icon-moon{display:none}:root[data-theme=dark] .theme-toggle .icon-sun{display:block}@media (width<=44rem){.header-tools{display:contents}.site-header nav{flex-basis:100%;order:1;gap:.25rem 1rem}}@media (width<=30rem){.brand{gap:.5rem}.brand-logo{height:1.75rem}.brand-name{letter-spacing:.04em;font-size:.9375rem}}.site-footer{border-top:1px solid var(--border);background:var(--surface);color:var(--muted);margin-top:4rem;padding-block:2rem;font-size:.875rem}.footer-inner{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem 2rem;display:flex}.footer-logo{height:1.75rem}.site-footer p{margin:.25rem 0}.page-header{padding-block:2.5rem .5rem}.page-header h1{margin:.25rem 0 .5rem;font-size:clamp(1.6rem,5vw,2.1rem);line-height:1.35}.page-header p:not(.eyebrow){color:var(--muted);margin:0}.hero{padding-block:2.75rem 2rem}.hero h1{margin:0 0 .5rem;font-size:clamp(1.75rem,5vw,2.4rem);line-height:1.3}.hero p{max-width:40rem;color:var(--muted);margin:0}.eyebrow{color:var(--brand);letter-spacing:.06em;margin:0;font-size:.8125rem;font-weight:700}.post-grid{grid-template-columns:repeat(auto-fill,minmax(17rem,1fr));gap:1.5rem;margin-top:1.5rem;display:grid}.section-title{margin:3rem 0 0;padding-top:.25rem;font-size:1.25rem}.post-card{border:1px solid var(--border);background:var(--bg);border-radius:10px;flex-direction:column;transition:box-shadow .15s,border-color .15s;display:flex;position:relative;overflow:hidden}.post-card:hover{border-color:var(--brand);box-shadow:0 6px 20px #00000014}.post-card:focus-within{outline:2px solid var(--brand);outline-offset:2px}.card-media{aspect-ratio:16/9;background:var(--surface)}.card-media img{object-fit:cover;width:100%;height:100%;display:block}.card-media.placeholder{place-items:center;display:grid}.card-media.placeholder img{opacity:.6;width:4rem;height:4rem}.card-body{flex-direction:column;flex:1;gap:.375rem;padding:1rem 1.125rem 1.25rem;display:flex}.post-card h2,.post-card h3{margin:0;font-size:1.15rem;line-height:1.45}.post-card h2 a,.post-card h3 a{color:var(--text);text-decoration:none}.post-card h2 a:after,.post-card h3 a:after{content:"";position:absolute;inset:0}.post-card:hover h2 a,.post-card:hover h3 a{color:var(--brand)}.post-card a:focus-visible{outline:none}.card-desc{color:var(--muted);-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:.25rem 0 0;font-size:.9375rem;line-height:1.7;display:-webkit-box;overflow:hidden}.read-more{color:var(--brand);margin-top:auto;padding-top:.5rem;font-size:.9375rem;font-weight:700}@media (width>=48rem){.post-card.featured{grid-template-columns:1.3fr 1fr;display:grid}.post-card.featured .card-media{aspect-ratio:auto;min-height:100%}.post-card.featured .card-body{justify-content:center;gap:.5rem;padding:2rem}.post-card.featured h2{font-size:1.6rem;line-height:1.4}.post-card.featured .card-desc{-webkit-line-clamp:4}.post-card.featured .read-more{margin-top:.5rem}}.meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:.25rem .5rem;margin:.25rem 0 0;font-size:.875rem;display:flex}.badge{background:var(--brand-blue);color:#fff;border-radius:999px;padding:0 .5rem;font-size:.75rem;line-height:1.6}.badge-draft{color:#fff;background:#b45309}.tags,.tag-cloud,.author-list{flex-wrap:wrap;gap:.375rem .5rem;padding:0;font-size:.875rem;list-style:none;display:flex}.tags{margin:.75rem 0 0}.tags a,.tag-cloud a{background:var(--brand-tint);color:var(--brand);border-radius:999px;padding:.125rem .625rem;text-decoration:none;display:inline-block}.tags a:hover,.tag-cloud a:hover{background:var(--brand);color:var(--brand-contrast)}.tag-cloud span{opacity:.75;margin-left:.125rem}.author-list{flex-direction:column;font-size:1rem}.post-header{padding-block:2.5rem 1rem}.post-header h1{margin:0 0 .5rem;font-size:clamp(1.6rem,5vw,2.1rem);line-height:1.35}.paper-box{border:1px solid var(--border);border-left:4px solid var(--brand);background:var(--surface);border-radius:6px;margin:1rem 0 2rem;padding:1rem 1.25rem}.paper-box dl{grid-template-columns:max-content 1fr;gap:.25rem 1rem;margin:.5rem 0;font-size:.9375rem;display:grid}.paper-box dt{color:var(--muted)}.paper-box dd{overflow-wrap:anywhere;margin:0}.paper-note{color:var(--muted);margin:.5rem 0 0;font-size:.875rem}.button{background:var(--brand);color:var(--brand-contrast);border-radius:6px;margin-top:.5rem;padding:.375rem 1rem;font-size:.9375rem;text-decoration:none;display:inline-block}.button:hover{background:var(--brand-hover)}.prose h2{margin-top:2.5rem;font-size:1.45rem;line-height:1.4}.prose h3{margin-top:2rem;font-size:1.2rem}.prose table{border-collapse:collapse;font-size:.9375rem;display:block;overflow-x:auto}.prose th,.prose td{border:1px solid var(--border);padding:.375rem .75rem}.prose th{background:var(--surface)}.table-nowrap th,.table-nowrap td{white-space:nowrap}.prose blockquote{border-left:4px solid var(--border);color:var(--muted);margin:1.5rem 0;padding:.25rem 1rem}.prose figure{margin:1.5rem 0}.prose figcaption{color:var(--muted);text-align:center;font-size:.875rem}.prose :not(pre)>code{background:var(--code-bg);font-family:var(--font-mono);border-radius:4px;padding:.1em .35em;font-size:.9em}.prose pre{font-family:var(--font-mono);border-radius:6px;padding:1rem;font-size:.875rem;line-height:1.6;overflow-x:auto}.prose .katex-display{padding-block:.25rem;overflow:auto hidden}.em-figure svg{width:100%;max-width:480px;height:auto;margin:0 auto;display:block}.calc{border:1px solid var(--border);background:var(--surface);border-radius:8px;margin:1.75rem 0;padding:1.25rem}.calc-title{margin:0 0 .75rem;font-weight:700}.calc-inputs{gap:.75rem;display:grid}.calc label{color:var(--muted);gap:.25rem;font-size:.9375rem;display:grid}.calc input[type=number]{border:1px solid var(--border);background:var(--bg);width:8rem;color:var(--text);font:inherit;border-radius:4px;padding:.25rem .5rem}.calc-result{grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:.75rem;margin-top:1rem;display:grid}.calc-result>div{background:var(--bg);border-radius:6px;padding:.75rem;display:grid}.calc-label{color:var(--muted);font-size:.8125rem}.calc-value{font-size:1.125rem}.calc-value output{color:var(--brand);font-variant-numeric:tabular-nums;font-size:1.5rem;font-weight:700}.calc-note{color:var(--muted);margin:.75rem 0 0;font-size:.8125rem;line-height:1.6}.logo[data-astro-cid-f7espo7c]{width:auto;display:block}.lg-blue[data-astro-cid-f7espo7c]{fill:var(--logo-blue)}.lg-green[data-astro-cid-f7espo7c]{fill:var(--logo-green)}.lg-gray1[data-astro-cid-f7espo7c]{fill:var(--logo-gray1)}.lg-gray2[data-astro-cid-f7espo7c]{fill:var(--logo-gray2)}
