:root{--bg: #f8fafc;--surface: #ffffff;--surface-alt: #f1f5f9;--border: #e2e8f0;--text: #0f172a;--sub: #334155;--muted: #64748b;--accent: #2563eb;--accent-dark: #1d4ed8;--accent-soft: #eff6ff;--radius: 14px;--max-w: 1080px}*{box-sizing:border-box}html{font-family:Noto Sans TC,Microsoft JhengHei,PingFang TC,system-ui,-apple-system,sans-serif;background:var(--bg);color:var(--text);line-height:1.75;scroll-behavior:smooth}body{margin:0;min-height:100vh;display:flex;flex-direction:column}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}.container{width:100%;max-width:var(--max-w);margin:0 auto;padding:0 20px}.site-header{position:sticky;top:0;z-index:20;background:#ffffffeb;backdrop-filter:blur(10px);border-bottom:1px solid var(--border)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:68px}.brand-link{display:inline-flex;align-items:center;gap:10px;color:var(--text);font-weight:800;font-size:19px}.brand-link:hover{text-decoration:none}.brand-pill{padding:4px 10px;border-radius:999px;background:#0f172a;color:#fff;font-size:11px;font-weight:800;letter-spacing:.08em}.nav-links{display:flex;flex-wrap:wrap;align-items:center;gap:18px;font-size:14.5px;font-weight:600}.nav-links a{color:var(--sub)}.nav-links a:hover{color:var(--accent);text-decoration:none}main{flex:1;padding:36px 0 64px}.hero-banner{background:linear-gradient(135deg,#fff,#eff6ff);border:1px solid var(--border);border-radius:20px;padding:34px 32px;margin-bottom:36px}.hero-banner h1{margin:0 0 10px;font-size:clamp(26px,4vw,36px);line-height:1.28}.hero-banner p{margin:0;color:var(--sub);font-size:16px;max-width:720px}.posts-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:24px}.post-card{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:transform .16s ease,box-shadow .16s ease}.post-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px #0f172a14}.post-card-thumb{width:100%;aspect-ratio:4 / 3;object-fit:cover;object-position:top center;border-bottom:1px solid var(--border);background:var(--surface-alt)}.post-card-body{padding:20px;display:flex;flex-direction:column;flex:1;gap:10px}.post-card-title{margin:0;font-size:18px;line-height:1.4}.post-card-title a{color:var(--text)}.post-card-title a:hover{color:var(--accent);text-decoration:none}.post-card-desc{margin:0;font-size:14.5px;color:var(--sub);flex:1}.meta-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;color:var(--muted)}.tag-pill{display:inline-block;padding:3px 10px;border-radius:999px;background:var(--accent-soft);color:var(--accent);font-size:12.5px;font-weight:700}.article-wrap{max-width:820px;margin:0 auto;background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:clamp(22px,4vw,44px)}.article-header{padding-bottom:22px;border-bottom:1px solid var(--border);margin-bottom:28px}.article-header h1{margin:12px 0 14px;font-size:clamp(24px,3.6vw,34px);line-height:1.32}.article-card-figure{margin:0 0 28px;text-align:center}.article-card-figure img{max-width:480px;width:100%;border-radius:16px;border:1px solid var(--border);box-shadow:0 10px 26px #0f172a14}.prose{font-size:16.5px;color:#1e293b}.prose h2{margin:34px 0 14px;font-size:22px;padding-bottom:8px;border-bottom:2px solid var(--accent-soft);color:var(--text)}.prose h3{margin:24px 0 10px;font-size:18.5px;color:var(--text)}.prose p{margin:0 0 16px}.prose ul,.prose ol{margin:0 0 18px;padding-left:24px}.prose li{margin-bottom:8px}.prose blockquote{margin:18px 0;padding:14px 18px;border-left:4px solid var(--accent);background:var(--accent-soft);border-radius:0 10px 10px 0;color:var(--sub)}.prose pre{padding:16px;border-radius:12px;overflow-x:auto;font-size:14px}.prose code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.9em}.prose table{width:100%;border-collapse:collapse;margin:20px 0;font-size:15px}.prose th,.prose td{border:1px solid var(--border);padding:10px 12px;text-align:left}.prose th{background:var(--surface-alt)}.disclosure-box{margin-top:36px;padding:18px 20px;border-radius:12px;background:var(--surface-alt);border:1px solid var(--border);font-size:14px;color:var(--sub)}.site-footer{border-top:1px solid var(--border);background:var(--surface);padding:28px 0;font-size:13.5px;color:var(--muted)}.footer-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.footer-links{display:flex;flex-wrap:wrap;gap:16px}.footer-links a{color:var(--muted)}
