@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=JetBrains+Mono:wght@400;500&display=swap");:root{--bg:#0f0f12;--surface:#18181c;--surface-hover:#222228;--border:#2a2a32;--text:#e8e8ed;--text-muted:#8b8b98;--accent:#6366f1;--accent-hover:#818cf8;--error:#f87171;--radius:12px;--radius-sm:8px}*{box-sizing:border-box}html{font-size:16px;-webkit-font-smoothing:antialiased;scroll-behavior:smooth}code{font-family:JetBrains Mono,ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.86em;background:rgba(99,102,241,.08);border:1px solid rgba(99,102,241,.18);color:var(--text);padding:.08em .38em;border-radius:4px;white-space:nowrap}pre code{background:transparent;border:none;padding:0;border-radius:0;font-size:inherit;white-space:pre;color:inherit}h1 code,h2 code,h3 code,h4 code,h5 code{font-size:.95em}::selection{background:rgba(99,102,241,.35);color:var(--text)}body{margin:0;font-family:DM Sans,system-ui,sans-serif;background:var(--bg);color:var(--text);min-height:100vh;line-height:1.6}a{color:inherit;text-decoration:none;transition:color .15s ease}a:hover{color:var(--accent)}.page{padding:3rem 1.5rem;max-width:640px;margin:0 auto}.header{margin-bottom:2.5rem}.page .title{font-size:1.75rem;font-weight:600;letter-spacing:-.02em;margin:0 0 .25rem}.subtitle{margin:0;color:var(--text-muted);font-size:.95rem}.hero{display:flex;flex-direction:column;align-items:center;text-align:center;padding:3rem 0 2.5rem;margin-bottom:1rem;position:relative;overflow:hidden}.heroGlow{position:absolute;top:-60px;left:50%;transform:translateX(-50%);width:320px;height:320px;border-radius:50%;background:radial-gradient(circle,var(--accent) 0,transparent 70%);opacity:.06;pointer-events:none}.heroInitial{width:64px;height:64px;border-radius:50%;background:linear-gradient(135deg,var(--accent),#818cf8);display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:700;color:#fff;margin-bottom:1rem;box-shadow:0 0 0 4px var(--bg),0 0 0 5px var(--border)}.heroName{font-size:1.75rem;font-weight:700;letter-spacing:-.02em;margin:0 0 .25rem}.heroRole{margin:0 0 1rem;color:var(--text-muted);font-size:.95rem}.heroLinks{display:flex;gap:.75rem;flex-wrap:wrap;justify-content:center}.heroLink{display:inline-flex;align-items:center;gap:.4rem;padding:.4rem .85rem;font-size:.8rem;font-weight:500;color:var(--text-muted);background:var(--surface);border:1px solid var(--border);border-radius:20px;transition:color .15s ease,border-color .15s ease,background .15s ease}.heroLink:hover{color:var(--text);border-color:var(--accent);background:var(--surface-hover)}.section{margin-bottom:2rem}.sectionTitle{font-size:1.45rem;font-weight:700;letter-spacing:-.015em;color:var(--text);margin:0 0 1rem;padding-bottom:.5rem;border-bottom:1px solid var(--border);position:relative;display:flex;align-items:baseline}.sectionTitle:before{content:"";position:absolute;left:-.95rem;top:.4rem;bottom:.65rem;width:3px;border-radius:2px;background:linear-gradient(to bottom,var(--accent),#818cf8);box-shadow:0 0 12px rgba(99,102,241,.35)}.subsectionTitle{font-size:1.05rem;font-weight:600;color:var(--text);margin:0 0 .6rem;letter-spacing:-.005em;display:inline-flex;align-items:center;gap:.5rem}.subsectionTitle:before{content:"";display:inline-block;width:.4rem;height:.4rem;border-radius:999px;background:var(--accent);flex-shrink:0}.muted{color:var(--text-muted);margin:0}.error{color:var(--error);margin:0}.projectList{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.75rem}.projectCard{display:flex;align-items:center;gap:1rem;padding:1rem 1.25rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);color:inherit;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease}.projectCard:hover{background:var(--surface-hover);border-color:var(--accent);box-shadow:0 0 0 1px var(--accent),0 4px 16px rgba(99,102,241,.08)}.projectIcon{width:40px;height:40px;min-width:40px;border-radius:10px;background:linear-gradient(135deg,#6366f118,#818cf818);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;font-size:.7rem;font-weight:700;font-family:JetBrains Mono,monospace;color:var(--accent);letter-spacing:-.02em}.projectInfo{flex:1;display:flex;flex-direction:column;gap:.15rem;min-width:0}.projectName{font-weight:600;font-size:1rem}.projectDesc{font-size:.8rem;color:var(--text-muted)}.projectArrow{font-size:1.125rem;color:var(--text-muted);transition:color .15s ease,transform .15s ease}.projectCard:hover .projectArrow{color:var(--accent);transform:translateX(2px)}.backLink{display:inline-flex;align-items:center;gap:.35rem;color:var(--text-muted);font-size:.875rem;margin-bottom:1.5rem}.backLink:hover{color:var(--accent)}.projectPage{padding:3rem 1.5rem;max-width:900px;margin:0 auto}.tlSideNav{display:none}.tlTopNav{display:flex}@media (min-width:1480px){.tlSideNav{display:block;position:fixed;left:max(1rem,calc(50vw - 720px));top:5.5rem;width:240px;max-height:calc(100vh - 7rem);overflow-y:auto;padding:1rem .85rem;background:linear-gradient(180deg,var(--surface),rgba(24,24,28,.85));border:1px solid var(--border);border-radius:var(--radius);z-index:5;box-shadow:0 8px 32px rgba(0,0,0,.35),inset 0 1px 0 hsla(0,0%,100%,.03);scrollbar-width:thin;scrollbar-color:var(--border) transparent}.tlSideNav::-webkit-scrollbar{width:6px}.tlSideNav::-webkit-scrollbar-track{background:transparent}.tlSideNav::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}.tlSideNav::-webkit-scrollbar-thumb:hover{background:var(--text-muted)}.tlTopNav{display:none!important}}.projectPage .title{font-size:2rem;font-weight:700;letter-spacing:-.02em;margin:0 0 .4rem;background:linear-gradient(135deg,var(--text) 0,var(--text-muted) 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.projectPage .subtitle{margin-bottom:1.5rem;color:var(--text-muted);font-size:.95rem}.projectPage section{scroll-margin-top:1.5rem}.projectPage pre{box-shadow:inset 0 1px 0 hsla(0,0%,100%,.02);position:relative}.projectPage section a{color:var(--accent);text-decoration:none;transition:color .15s ease,text-decoration-color .15s ease;text-decoration:underline;text-decoration-color:rgba(99,102,241,.25);text-underline-offset:3px}.projectPage section a:hover{color:var(--accent-hover);text-decoration-color:var(--accent-hover)}.tlSideNav a,.tlTopNav a{text-decoration:none!important}.projectPage strong{font-weight:600}.projectPage ol,.projectPage ul{margin-top:.25rem}.projectPage li{margin-bottom:.25rem}.projectPage li:last-child{margin-bottom:0}.sampleGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:1rem}.sampleCard{padding:1rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);text-align:center;transition:border-color .15s ease}.sampleCard:hover{border-color:var(--accent)}.sampleImg{width:56px;height:56px;min-width:56px;min-height:56px;image-rendering:pixelated;object-fit:contain;display:block;margin:0 auto;background:var(--border)}.sampleLabel{font-size:.75rem;font-weight:600;margin-top:.5rem;font-family:JetBrains Mono,monospace;color:var(--text-muted)}.unknownProject{color:var(--text-muted);margin:0}.drawSection{margin-top:2rem;padding-top:2rem;border-top:1px solid var(--border)}.drawSection .sectionTitle{margin-bottom:.75rem}.canvasWrap{display:flex;flex-wrap:wrap;align-items:flex-start;gap:1.5rem;margin-bottom:1rem}.canvasBox{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);padding:8px}.canvasBox canvas{display:block;cursor:crosshair;border-radius:4px;touch-action:none}.drawActions{display:flex;gap:.75rem;flex-wrap:wrap}.btn{padding:.5rem 1rem;font-size:.875rem;font-family:inherit;font-weight:500;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);cursor:pointer;transition:background .15s ease,border-color .15s ease}.btn:hover{background:var(--surface-hover);border-color:var(--text-muted)}.btnPrimary{background:var(--accent);border-color:var(--accent);color:#fff}.btnPrimary:hover{background:var(--accent-hover);border-color:var(--accent-hover)}.predictionResult{margin-top:1rem;padding:1rem 1.25rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm)}.predictionResult .digit{font-size:2rem;font-weight:700;font-family:JetBrains Mono,monospace;color:var(--accent);margin-bottom:.5rem}.probBars{display:flex;flex-direction:column;gap:.35rem;margin-top:.75rem}.probRow{display:flex;align-items:center;gap:.5rem;font-size:.8rem}.probRow span:first-child{width:1.25rem;font-family:JetBrains Mono,monospace;color:var(--text-muted)}.probBarBg{flex:1;height:6px;background:var(--border);border-radius:3px;overflow:hidden}.probBarFill{height:100%;background:var(--accent);border-radius:3px;transition:width .2s ease}