*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root,[data-theme=dark]{--bg: #2b2b2b;--outer-bg: #1e1f21;--surface: #313335;--border: #3d3f41;--ln-color: #606366;--sy-color: #6e7070;--dim: #808080;--muted: #808080;--body: #a9b7c6;--bright: #ffc66d;--white: #e8e8e8;--accent: #cc7832;--link: #6897bb;--url-dim: #6a8759;--mono: "JetBrains Mono", "Cascadia Code", monospace;--page-shadow: 0 2px 24px rgba(0, 0, 0, .4)}[data-theme=light]{--bg: #ffffff;--outer-bg: #e0e0e0;--surface: #f2f2f2;--border: #d9d9d9;--ln-color: #c0c0c0;--sy-color: #d0d0d0;--dim: #8c8c8c;--muted: #6e6e6e;--body: #24292e;--bright: #00627a;--white: #000000;--accent: #0033b3;--link: #0033b3;--url-dim: #067d17;--mono: "JetBrains Mono", "Cascadia Code", monospace;--page-shadow: 0 2px 16px rgba(0, 0, 0, .12)}html{font-size:14px;scroll-behavior:smooth}body{background:var(--outer-bg);color:var(--body);font-family:var(--mono);min-height:100vh;line-height:1.9;-webkit-font-smoothing:antialiased}.layout{display:flex;max-width:940px;margin:2rem auto;min-height:calc(100vh - 4rem);box-shadow:var(--page-shadow);border-radius:4px;overflow:hidden}.sidebar{width:190px;flex-shrink:0;background:var(--surface);border-right:1px solid var(--border)}.sidebar-inner{position:sticky;top:0;height:100vh;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;scrollbar-width:none}.sidebar-inner::-webkit-scrollbar{display:none}.sidebar-dots{display:flex;gap:6px;align-items:center;padding:12px 14px 10px;flex-shrink:0}.dot{width:11px;height:11px;border-radius:50%}.dot-red{background:#ff5f57}.dot-yellow{background:#ffbd2e}.dot-green{background:#28c840}.sidebar-nav{flex:1;padding:8px 0 1rem}.tree-root{display:flex;align-items:center;gap:.35rem;padding:4px 12px 6px;font-size:.78rem;user-select:none}.tree-folder-icon{color:var(--bright);font-size:.8rem}.tree-root-label{color:var(--body);font-weight:500}.tree-children{position:relative;padding-left:20px}.tree-children:before{content:"";position:absolute;left:5px;top:0;bottom:.95em;width:1px;background:var(--border)}.sidebar-file{position:relative;display:flex;align-items:center;gap:.4rem;padding:0 12px;line-height:1.9;font-size:.76rem;color:var(--dim);text-decoration:none;transition:background .1s,color .1s;white-space:nowrap}.sidebar-file:before{content:"";position:absolute;left:-15px;top:50%;width:13px;height:1px;background:var(--border)}.sidebar-file:hover{background:color-mix(in srgb,var(--accent) 8%,transparent);color:var(--body)}.sidebar-file.active{color:var(--bright);background:color-mix(in srgb,var(--accent) 12%,transparent)}.file-icon-md{display:inline-block;flex-shrink:0;width:9px;height:11px;border:1px solid var(--ln-color);border-radius:1px;position:relative;background:color-mix(in srgb,var(--ln-color) 8%,transparent);transition:border-color .12s}.file-icon-md:after{content:"";position:absolute;top:2px;left:1.5px;right:1.5px;height:1px;background:var(--ln-color);box-shadow:0 2.5px 0 var(--ln-color);opacity:.65}.sidebar-file.active .file-icon-md{border-color:var(--dim);background:color-mix(in srgb,var(--dim) 10%,transparent)}.sidebar-file.active .file-icon-md:after{background:var(--dim);box-shadow:0 2.5px 0 var(--dim)}.theme-toggle{margin-left:auto}.main{flex:1;min-width:0;background:var(--bg)}.theme-toggle{background:none;border:1px solid var(--border);border-radius:3px;color:var(--dim);font-family:var(--mono);font-size:.68rem;padding:1px 7px;cursor:pointer;transition:color .12s,border-color .12s;letter-spacing:.04em}.theme-toggle:hover{color:var(--accent);border-color:var(--accent)}.editor{position:relative;padding:2rem 1.5rem 9rem;counter-reset:ln}.profile-photo{float:right;margin:0 0 1.2rem 1.8rem;width:200px;height:200px;border-radius:10px;border:1px solid var(--border);filter:grayscale(100%);object-fit:cover}@keyframes appear{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.l{display:grid;grid-template-columns:3.2rem 1fr;opacity:0;animation:appear .45s ease forwards;counter-increment:ln}.ln{padding-right:1.4rem;text-align:right;color:var(--ln-color);font-size:.8rem;line-height:1.9;user-select:none}.ln:after{content:counter(ln)}.ct{min-width:0}.l.blank .ct{min-height:1.9em}.l:nth-child(1){animation-delay:.04s}.l:nth-child(2){animation-delay:.09s}.l:nth-child(3){animation-delay:.13s}.l:nth-child(4){animation-delay:.17s}.l:nth-child(5){animation-delay:.21s}.l:nth-child(6){animation-delay:.25s}.l:nth-child(7){animation-delay:.29s}.l:nth-child(8){animation-delay:.33s}.l:nth-child(9){animation-delay:.37s}.l:nth-child(10){animation-delay:.41s}.l:nth-child(11){animation-delay:.45s}.l:nth-child(12){animation-delay:.49s}.l:nth-child(13){animation-delay:.53s}.l:nth-child(14){animation-delay:.57s}.l:nth-child(15){animation-delay:.61s}.l:nth-child(16){animation-delay:.65s}.l:nth-child(17){animation-delay:.69s}.l:nth-child(18){animation-delay:.73s}.l:nth-child(19){animation-delay:.77s}.l:nth-child(20){animation-delay:.81s}.l:nth-child(21){animation-delay:.85s}.l:nth-child(22){animation-delay:.89s}.l:nth-child(23){animation-delay:.93s}.l:nth-child(24){animation-delay:.97s}.l:nth-child(25){animation-delay:1.01s}.l:nth-child(26){animation-delay:1.05s}.l:nth-child(27){animation-delay:1.09s}.l:nth-child(28){animation-delay:1.13s}.l:nth-child(29){animation-delay:1.17s}.l:nth-child(30){animation-delay:1.21s}.l:nth-child(31){animation-delay:1.25s}.l:nth-child(32){animation-delay:1.29s}.l:nth-child(33){animation-delay:1.33s}.l:nth-child(34){animation-delay:1.37s}.l:nth-child(35){animation-delay:1.41s}.l:nth-child(36){animation-delay:1.45s}.l:nth-child(37){animation-delay:1.49s}.l:nth-child(38){animation-delay:1.53s}.l:nth-child(39){animation-delay:1.57s}.l:nth-child(40){animation-delay:1.61s}.sy{color:var(--sy-color);user-select:none}h1{font-size:1.7rem;font-weight:700;color:var(--white);letter-spacing:-.015em;line-height:1.3}h2{font-size:.92rem;font-weight:500;color:var(--bright);text-transform:lowercase;letter-spacing:.02em;line-height:1.9}p{color:var(--body)}blockquote{color:var(--muted);font-style:italic}blockquote .sy{font-style:normal}.hr-line{color:var(--sy-color)}a{color:var(--link);text-decoration:none;transition:color .12s}a:hover{color:var(--accent)}a:hover .url-part{color:var(--muted)}.bk{color:var(--sy-color)}.url-part{color:var(--url-dim);font-size:.87em;transition:color .12s}.cursor{display:inline-block;width:.55em;height:1em;background:var(--accent);vertical-align:text-bottom;animation:blink 1.1s step-end infinite;margin-left:1px}@keyframes blink{0%,to{opacity:1}50%{opacity:0}}.field{display:flex;flex-direction:column;gap:.3rem;margin-bottom:.2rem}.field label{color:var(--muted);font-size:.82rem}.field input,.field textarea{background:transparent;border:none;border-bottom:1px solid var(--border);color:var(--bright);font-family:var(--mono);font-size:.88rem;padding:.3rem 0;outline:none;width:100%;transition:border-color .12s;resize:none}.field input:focus,.field textarea:focus{border-bottom-color:var(--accent)}.field input::placeholder,.field textarea::placeholder{color:var(--sy-color)}.submit-btn{background:transparent;border:1px solid var(--dim);color:var(--body);font-family:var(--mono);font-size:.88rem;padding:.4rem 1.2rem;cursor:pointer;transition:border-color .12s,color .12s;border-radius:2px}.submit-btn:hover{border-color:var(--accent);color:var(--accent)}.form-status{color:var(--muted);font-size:.85rem}.form-status.ok{color:var(--accent)}.form-status.err{color:#e07070}.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(128px,1fr));gap:3px}.photo-thumb{display:block;aspect-ratio:1;overflow:hidden;background:var(--surface);cursor:zoom-in}.photo-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:opacity .2s,transform .3s}.photo-thumb:hover img{opacity:.78;transform:scale(1.04)}.lightbox{display:none;position:fixed;inset:0;background:#000000ed;z-index:1000;align-items:center;justify-content:center}.lightbox.open{display:flex}.lightbox img{max-width:90vw;max-height:90vh;object-fit:contain;cursor:default}.lightbox-close{position:absolute;top:1.2rem;right:1.4rem;background:none;border:1px solid rgba(255,255,255,.25);color:#fff9;font-family:var(--mono);font-size:.78rem;padding:3px 10px;cursor:pointer;border-radius:2px;transition:color .12s,border-color .12s}.lightbox-close:hover{color:#fff;border-color:#ffffff8c}.photo-pager{display:flex;flex-wrap:wrap;gap:4px;margin-top:.4rem}.pager-btn{background:transparent;border:1px solid var(--border);color:var(--dim);font-family:var(--mono);font-size:.75rem;padding:2px 9px;cursor:pointer;border-radius:2px;transition:color .12s,border-color .12s}.pager-btn:hover{color:var(--body);border-color:var(--dim)}.pager-btn.active{color:var(--bright);border-color:var(--accent)}.post-embed{display:flex;flex-direction:column;gap:1rem}.post-embed iframe{max-width:100%;border-radius:2px;display:block}.prose p{color:var(--body);margin-bottom:1em}.prose h2{margin-top:1.5em;margin-bottom:.3em}.prose h3{color:var(--bright);font-size:.88rem;font-weight:500;margin-top:1.2em}.prose ul{list-style:none;margin-bottom:1em}.prose ul li{color:var(--body)}.prose ul li:before{content:"- ";color:var(--sy-color)}.prose a{color:var(--link)}.prose a:hover{color:var(--accent)}.prose code{background:var(--surface);border:1px solid var(--border);padding:.1em .4em;border-radius:2px;font-size:.88em;color:var(--bright)}.prose pre{background:var(--surface);border:1px solid var(--border);padding:1rem;overflow-x:auto;margin-bottom:1em;border-radius:2px}.prose pre code{background:none;border:none;padding:0}.prose blockquote{border-left:2px solid var(--sy-color);padding-left:1rem;color:var(--muted);font-style:italic;margin-bottom:1em}.post-date{color:var(--dim);font-size:.82rem}.press-preview{max-width:58ch;color:var(--muted);font-size:.9rem;line-height:1.7}@media(max-width:680px){.layout{flex-direction:column;margin:0;border-radius:0;min-height:100vh}.sidebar{width:100%;height:auto;position:static;flex-direction:row;align-items:center;border-right:none;border-bottom:1px solid var(--border)}.sidebar-section{display:none}.sidebar-nav{flex:1;display:flex;flex-direction:row;overflow-x:auto;scrollbar-width:none;padding:0}.sidebar-nav::-webkit-scrollbar{display:none}.sidebar-file{padding:8px 12px}}@media(max-width:580px){html{font-size:12.5px}.l{grid-template-columns:2.6rem 1fr}.ln{padding-right:1rem}.editor{padding:1.5rem 1rem 6rem}h1{font-size:1.4rem}.profile-photo{width:120px;margin-left:1rem}.photo-grid{grid-template-columns:repeat(auto-fill,minmax(90px,1fr))}}.astro-route-announcer{position:absolute;left:0;top:0;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden;white-space:nowrap;width:1px;height:1px}
