:root { --paper:#06172d; --ink:#f7f9fc; --muted:#a5b2c4; --line:rgba(192,214,241,.2); --soft-line:rgba(169,196,230,.07); --accent:#72aaff; --accent-dark:#c5dcff; --panel:rgba(7,24,46,.72); --code:#07172a; --radius:18px; }
:root[data-theme="light"] { --paper:#edf3fa; --ink:#132238; --muted:#61728b; --line:rgba(29,64,108,.18); --soft-line:rgba(29,64,108,.08); --accent:#2d6fcc; --accent-dark:#1a4e9a; --panel:rgba(241,247,254,.76); --code:#10233e; }
:root[data-theme="dark"] { --paper:#06172d; --ink:#f7f9fc; --muted:#a5b2c4; --line:rgba(192,214,241,.2); --soft-line:rgba(169,196,230,.07); --accent:#72aaff; --accent-dark:#c5dcff; --panel:rgba(7,24,46,.72); --code:#07172a; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; min-height:100%; color:var(--ink); background:radial-gradient(ellipse at 55% -5%,rgba(52,110,184,.54),transparent 46%),linear-gradient(155deg,#0c2446 0%,var(--paper) 60%,#04101f 100%); font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif; }
a { color:inherit; }
#scene { position:fixed;inset:0;z-index:0;width:100%;height:100%;pointer-events:none;mix-blend-mode:screen; }
.blueprint { position:fixed; inset:0; overflow:hidden; pointer-events:none; z-index:0; background-image:linear-gradient(var(--soft-line) 1px,transparent 1px),linear-gradient(90deg,var(--soft-line) 1px,transparent 1px); background-size:74px 74px; mask-image:linear-gradient(to bottom,black 0%,rgba(0,0,0,.75) 65%,transparent 100%); }
.blueprint::before,.blueprint::after { content:""; position:absolute; border:1px solid var(--line); border-radius:50%; }
.blueprint::before { width:94vw; height:94vw; left:38%; top:-56vw; }
.blueprint::after { width:70vw; height:70vw; right:45%; bottom:-48vw; }
.blueprint__orb { position:absolute; border-radius:50%; filter:blur(2px); opacity:.75; }
.blueprint__orb--one { width:12px;height:12px;top:16%;right:14%;background:var(--accent);box-shadow:0 0 0 12px color-mix(in srgb,var(--accent) 10%,transparent); }
.blueprint__orb--two { width:8px;height:8px;top:74%;left:42%;background:var(--accent); }
.blueprint__line { position:absolute; height:1px; background:var(--line); transform-origin:left; }
.blueprint__line--one { top:27%;left:0;width:44%;transform:rotate(-18deg); }.blueprint__line--two { top:71%;right:-4%;width:37%;transform:rotate(29deg); }
.site-bar { position:relative;z-index:3;display:flex;align-items:center;justify-content:space-between;width:min(1240px,calc(100% - 48px));height:54px;margin:10px auto 0;padding:0 18px;border:1px solid rgba(220,235,255,.22);border-radius:999px;background:rgba(178,198,223,.22);box-shadow:inset 0 1px rgba(255,255,255,.15),0 12px 35px rgba(0,0,0,.12);backdrop-filter:blur(18px); }
.site-bar__brand { display:flex;align-items:center;gap:7px;color:#fff;text-decoration:none;font-size:1.35rem;font-weight:650;letter-spacing:-.04em; }.site-bar__brand small { padding:2px 8px;border:1px solid rgba(255,255,255,.28);border-radius:999px;color:#edf4ff;font-size:10px;letter-spacing:.06em; }.site-bar__mark { font-size:2.1rem;line-height:1;transform:rotate(-20deg); }.site-bar__actions { display:flex;align-items:center;gap:7px; }.locale-switch,.github-link { min-height:30px;padding:0 11px;border:0;border-radius:999px;background:transparent;color:#eaf2ff;font:600 12px/1 inherit;text-decoration:none; }.locale-switch { cursor:pointer; }.locale-switch.is-active { background:rgba(255,255,255,.21); }.github-link { display:inline-flex;align-items:center;background:#fff;color:#172237; }.github-link::before { content:"●";margin-right:6px;font-size:8px; }
.app-shell { position:relative; z-index:1; display:grid; grid-template-columns:290px minmax(0,820px); gap:clamp(36px,7vw,110px); width:min(1240px,calc(100% - 48px)); margin:0 auto; padding:66px 0 84px; }
.profile-panel { position:sticky; top:30px; align-self:start; }
.profile-card { padding:8px 0 22px; }
.profile-card__inner { display:grid; gap:35px; }
.profile-topbar { display:flex;justify-content:space-between;align-items:center;gap:12px; }
.profile-badge,.profile-kicker,.section-badge,.tag-chip { font-size:10px;font-weight:700;letter-spacing:.13em;text-transform:uppercase; }
.profile-badge { color:var(--ink);text-decoration:none; }.profile-kicker { margin:40px 0 10px;color:var(--accent); }
.profile-name { margin:0;max-width:250px;font-size:clamp(3.1rem,5vw,4.3rem);font-weight:650;letter-spacing:-.085em;line-height:.88; }
.profile-subtitle { margin:16px 0 0;font-size:1rem;color:var(--muted); }.profile-description { margin:12px 0 0;max-width:260px;color:var(--muted);font-size:.93rem;line-height:1.7; }
.profile-actions { display:grid;border-top:1px solid var(--line); }.profile-action { display:flex;align-items:center;gap:16px;padding:13px 0;border-bottom:1px solid var(--line);text-decoration:none;font-size:.94rem;transition:color .18s ease,padding .18s ease; }.profile-action span { width:22px;color:var(--muted);font-size:10px;letter-spacing:.1em; }.profile-action:hover,.profile-action.is-active { padding-left:8px;color:var(--accent-dark); }.profile-action.is-active span { color:var(--accent); }
.profile-info-grid { display:grid;grid-template-columns:1fr 1fr;gap:0;border-top:1px solid var(--line); }.info-pill { min-height:72px;padding:13px 8px 10px 0;border-bottom:1px solid var(--line);display:grid;align-content:start;gap:5px; }.info-pill:nth-child(odd){border-right:1px solid var(--line);}.info-pill:nth-child(even){padding-left:12px;}.info-pill__label { color:var(--muted);font-size:10px;letter-spacing:.1em; }.info-pill__value { font-size:.8rem;overflow-wrap:anywhere; }
.profile-footnote { display:flex;flex-wrap:wrap;gap:8px; }.profile-social-link { display:inline-flex;align-items:center;gap:6px;padding:6px 0;color:var(--muted);font-size:.78rem;text-decoration:none; }.profile-social-link:not(:last-child)::after { content:"/";margin-left:4px;color:var(--line); }.profile-social-link svg { width:14px;height:14px; }.profile-social-link:hover { color:var(--accent-dark); }
.theme-switch { display:inline-flex;cursor:pointer; }.theme-switch__input { position:absolute;opacity:0; }.theme-switch__track { display:flex;align-items:center;width:40px;height:22px;padding:3px;border:1px solid var(--line);border-radius:999px; }.theme-switch__thumb { width:14px;height:14px;border-radius:50%;background:var(--ink);transition:transform .18s ease; }.theme-switch__input:checked + .theme-switch__track .theme-switch__thumb { transform:translateX(18px); }.theme-switch__input:focus-visible + .theme-switch__track { outline:2px solid var(--accent);outline-offset:3px; }
.content-shell { min-width:0;padding-top:84px; }.content-shell__inner { display:grid;gap:24px; }.content-header { padding-bottom:31px;border-bottom:1px solid var(--line); }.section-badge { color:var(--accent); }.content-title { max-width:700px;margin:14px 0 0;font-size:clamp(3rem,7vw,5.8rem);font-weight:620;letter-spacing:-.09em;line-height:.93; }.content-subtitle,.content-intro { margin:18px 0 0;max-width:620px;color:var(--muted);line-height:1.75; }
.post-list { display:grid; }.post-item { position:relative;padding:29px 0;border-bottom:1px solid var(--line); }.post-item::before { content:"";position:absolute;left:-20px;top:38px;width:7px;height:7px;border-radius:50%;background:var(--accent);opacity:0;transition:opacity .18s ease; }.post-item:hover::before { opacity:1; }.meta-bar { display:flex;gap:10px;margin-bottom:15px;color:var(--muted); }.meta-bar a,.meta-bar span { font-size:11px;text-decoration:none;letter-spacing:.05em;text-transform:uppercase; }.meta-bar a:hover {color:var(--accent-dark);}.post-item h2,.article-title { margin:0;max-width:730px;font-size:clamp(1.5rem,3vw,2.25rem);font-weight:600;letter-spacing:-.055em;line-height:1.1; }.post-item h2 a { text-decoration:none; }.post-item h2 a:hover { color:var(--accent-dark); }.post-excerpt { margin:13px 0 20px;max-width:660px;color:var(--muted);line-height:1.75; }.post-item__footer { display:flex;justify-content:space-between;align-items:center; }.tag-chip { color:var(--muted); }.button-link { color:var(--accent-dark);font-size:.88rem;font-weight:650;text-decoration:none; }.button-link::after { content:" ↗"; }.button-link:hover {color:var(--ink);}
.pagination,.post-nav { display:flex;flex-wrap:wrap;gap:8px;padding-top:24px; }.pagination a,.pagination span,.post-nav a { padding:7px 11px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:.82rem;text-decoration:none; }.pagination a:hover,.pagination .is-current,.post-nav a:hover { border-color:var(--accent);color:var(--accent-dark); }
.content-card { padding:38px 0 0; }.markdown-body { max-width:780px;font-size:1.02rem;line-height:1.9; }.markdown-body p,.markdown-body li,.markdown-body dd,.markdown-body td { color:var(--ink); }.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4 { margin:1.9em 0 .65em;letter-spacing:-.055em;line-height:1.1; }.markdown-body h1 {font-size:2.8rem;}.markdown-body h2 {font-size:2rem;}.markdown-body h3 {font-size:1.45rem;}.markdown-body a {color:var(--accent-dark);text-decoration-thickness:1px;text-underline-offset:.18em;}.markdown-body a:hover {color:var(--ink);}.markdown-body blockquote { margin:1.5em 0;padding:.2em 0 .2em 22px;border-left:2px solid var(--accent);color:var(--muted);}.markdown-body code {padding:.15em .35em;border:1px solid var(--line);border-radius:4px;background:color-mix(in srgb,var(--ink) 5%,transparent);font-family:"SFMono-Regular",Consolas,monospace;font-size:.86em;}.markdown-body pre {overflow:auto;padding:20px;background:var(--code);color:#f5f1e8;border-radius:10px;}.markdown-body pre code {padding:0;border:0;background:transparent;}.markdown-body img {max-width:100%;height:auto;border:1px solid var(--line);}.markdown-body table {width:100%;border-collapse:collapse;}.markdown-body th,.markdown-body td {padding:10px;border:1px solid var(--line);text-align:left;}.markdown-body hr {border:0;border-top:1px solid var(--line);margin:2.6em 0;}
.post-nav { justify-content:space-between; }.post-nav > * { flex:1; }.post-nav a { display:flex;flex-direction:column;gap:5px; }.post-nav__label { color:var(--muted);font-size:10px;letter-spacing:.08em; }.container { max-width:780px; }.posts-list,.listing,.error-page__post-list { padding:0;list-style:none; }.posts-list-item,.listing-item,.error-page__post-list li { padding:14px 0;border-bottom:1px solid var(--line); }.posts-list-meta { display:inline-block;min-width:86px;color:var(--muted);font-size:.82rem; }.posts-list-name,.listing-item a { text-decoration:none; }.posts-list-name:hover,.listing-item a:hover { color:var(--accent-dark); }.btn-inline { display:flex;flex-wrap:wrap;gap:8px; }.btn { padding:7px 11px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--ink); }.repo-list { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px; }.card { padding:18px;border:1px solid var(--line);text-decoration:none; }.card:hover { border-color:var(--accent); }.card-text,.lead { color:var(--muted); }.error-page__code { font-size:clamp(5rem,20vw,12rem);font-weight:700;letter-spacing:-.1em;line-height:.8;color:var(--accent); }.error-page__actions { display:flex;gap:12px; }
@media (max-width:800px) { .site-bar { width:calc(100% - 24px);margin-top:8px;padding:0 12px; }.site-bar__brand {font-size:1.1rem;}.site-bar__mark {font-size:1.65rem;}.site-bar__brand small {display:none;}.locale-switch {padding:0 7px;}.github-link {padding:0 9px;}.app-shell { display:block;width:min(100% - 32px,680px);padding-top:40px; }.profile-panel { position:relative;top:auto;border-bottom:1px solid var(--line); }.profile-card { padding-bottom:28px; }.profile-card__inner { gap:24px; }.profile-kicker { margin-top:24px; }.profile-name {font-size:3.3rem;}.profile-info-grid {display:none;}.content-shell {padding-top:44px;}.content-title {font-size:clamp(3rem,15vw,4.7rem);}.post-item {padding:24px 0;}.post-item::before {display:none;}.content-card {padding-top:22px;} }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after {scroll-behavior:auto!important;transition:none!important;} }
