:root{color-scheme:dark;--text: #e8f0ff;--muted: #9ab0c8;--accent: #6eb8e8;--accent-soft: rgba(110, 184, 232, .2);--glass-bg: rgba(6, 16, 32, .55);--glass-border: rgba(110, 184, 232, .22);font-family:Segoe UI,PingFang SC,system-ui,sans-serif;line-height:1.6;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}html,body{margin:0;min-height:100vh;min-height:100dvh;overflow-x:hidden;background:#030810;color:var(--text);scroll-padding-top:1.25rem}#bg-root{position:fixed;top:0;right:0;bottom:0;left:0;z-index:0;overflow:hidden;background:#030810}#drift-bg{display:block;width:100%;height:100%;border:0}.scene-vignette{position:fixed;top:0;right:0;bottom:0;left:0;z-index:0;pointer-events:none;background:radial-gradient(ellipse 85% 70% at 50% 45%,transparent 35%,rgba(3,8,16,.55) 100%)}.static-fallback{position:fixed;top:0;right:0;bottom:0;left:0;z-index:0;overflow:hidden;background:#030810}.static-fallback--css{background:radial-gradient(1px 1px at 12% 18%,rgba(220,235,255,.55),transparent),radial-gradient(1px 1px at 72% 12%,rgba(200,220,255,.45),transparent),radial-gradient(1px 1px at 44% 28%,rgba(255,255,255,.35),transparent),radial-gradient(ellipse 90% 55% at 50% 0%,rgba(110,184,232,.14),transparent),linear-gradient(180deg,#030810,#061428 42%,#0a1e38 68%,#020810)}.static-fallback__img{width:100%;height:100%;object-fit:cover;object-position:center 40%}.static-fallback__badge{position:absolute;bottom:1rem;left:50%;transform:translate(-50%);margin:0;padding:.35rem .75rem;font-size:.75rem;color:var(--muted);background:#061020bf;border:1px solid var(--glass-border);border-radius:999px;pointer-events:none}.simple-mode-toggle{display:flex;align-items:flex-start;gap:.5rem;margin:.75rem 0;font-size:.88rem;color:var(--text);cursor:pointer}.mode-hint{display:block;font-size:.75rem;color:var(--muted);font-weight:400}.mode-note,.mode-status{margin:.35rem 0;font-size:.82rem;color:var(--muted)}.ui-root{position:relative;z-index:1;box-sizing:border-box;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1.5rem 1.25rem;pointer-events:none}.ui-inner{width:100%;max-width:34rem;margin:0;padding:0;display:flex;flex-direction:column;gap:1.25rem;pointer-events:none;transition:opacity .8s ease}[data-article-root]:empty{display:none}.ui-inner--idle .glass{opacity:.72}.glass{pointer-events:auto;background:var(--glass-bg);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid var(--glass-border);border-radius:4px;box-shadow:0 8px 32px #00000059;transition:opacity .8s ease,border-color .15s,background .15s}.hero{display:flex;flex-direction:column;align-items:stretch;margin:0;padding:1.1rem 1.25rem 1.25rem;text-align:left}.hero-head{display:flex;flex-direction:column;align-items:stretch;gap:.65rem;width:100%}.hero-intro{flex:0 0 auto;min-width:0;text-align:left}.hero-intro h1{font-size:1.05rem;font-weight:600;line-height:1.2}.hero-intro .handle{font-size:1em}.hero-stack{display:flex;flex-direction:column;justify-content:space-between;gap:2.5rem;width:100%;margin-top:1.5rem}h1{margin:0;font-size:clamp(1.55rem,4.2vw,2.15rem);line-height:1.15;font-weight:650}.brand{color:inherit;text-decoration:none}.brand:hover{color:var(--accent)}.handle{display:block;margin-top:0;font-size:.72em;font-weight:500;line-height:1.2;color:var(--accent)}.links{display:flex;flex:none;flex-direction:row;flex-wrap:nowrap;align-items:stretch;align-self:stretch;width:100%;min-width:0;gap:.45rem}.links a{display:inline-flex;flex:1 1 0;align-items:center;justify-content:center;gap:.35rem;padding:.38rem .75rem;border-radius:4px;border:1px solid var(--glass-border);background:#08183099;color:var(--text);text-decoration:none;font-size:.84rem;white-space:nowrap;transition:border-color .15s,background .15s}.link-emoji{flex:0 0 auto;width:1em;font-size:1em;line-height:1;text-align:center}.link-icon{flex:0 0 auto;width:1em;height:1em;display:block;margin:0;object-fit:contain;object-position:center}.links a:hover{border-color:var(--accent);background:var(--accent-soft)}.links a.link-home{display:none}.home-notes{margin:0;padding:.55rem .45rem .75rem;text-align:left;border-radius:4px;background:#030a1661}.home-notes h2{margin:0 0 .45rem;padding:0 .35rem;font-size:.88rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}.panel{margin:0;padding:1.1rem 1.35rem;text-align:center}.panel--list,.panel--list h2{text-align:left}.note-list{display:flex;flex-direction:column;gap:4px;list-style:none;margin:0;padding:0}.note-item{display:flex;align-items:baseline;gap:.9rem;padding:.5rem .55rem;color:inherit;text-decoration:none;border-radius:4px;transition:background .15s}.note-item:hover{background:var(--accent-soft)}.note-item:hover .note-title{color:var(--accent)}.note-date{flex:0 0 auto;font-size:.72rem;letter-spacing:.08em;color:var(--accent);font-variant-numeric:tabular-nums}.note-title{font-size:.95rem;font-weight:600;color:var(--text);transition:color .15s}.note-back{margin:0 0 .65rem}.note-back a{color:var(--accent);text-decoration:none;font-size:.82rem}.note-back a:hover{text-decoration:underline}.note-article .note-date{display:block;margin:.1rem 0 .35rem}.note-body{margin-top:.65rem;font-size:.88rem;line-height:1.7;color:var(--muted);min-width:0}.note-body h1,.note-body h2{margin:1.05rem 0 .35rem;font-size:.98rem;font-weight:600;color:var(--text)}.note-body h3{margin:1.05rem 0 .35rem;font-size:.92rem;font-weight:600;color:var(--text)}.note-body p{margin:0 0 .75rem}.note-body blockquote{margin:0 0 .9rem;padding:0 0 0 .85rem;border-left:2px solid var(--glass-border);color:var(--text)}.note-body ul,.note-body ol{margin:0 0 .75rem;padding-left:1.15rem}.note-body strong{color:var(--text);font-weight:600}.note-body li{margin:.2rem 0}.note-body .table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%;margin:0 0 1rem}.note-body table{width:max-content;min-width:100%;margin:0;border-collapse:collapse;border-spacing:0;font-size:.82rem;line-height:1.55}.note-body thead th{background:#081830b8;color:var(--accent);font-weight:600;letter-spacing:.02em;white-space:nowrap}.note-body th,.note-body td{padding:.6rem .75rem;border:1px solid var(--glass-border);text-align:left;vertical-align:top;word-break:keep-all;overflow-wrap:break-word}.note-body tbody tr:nth-child(2n){background:#030a1659}.note-body tbody tr:hover{background:var(--accent-soft)}.note-body td:first-child,.note-body th:first-child{white-space:nowrap;width:1%}.note-body :not(pre)>code{font-family:ui-monospace,SF Mono,Cascadia Code,Menlo,monospace;font-size:.85em;padding:.12em .38em;border-radius:5px;border:1px solid rgba(110,184,232,.18);background:#6eb8e81f;color:var(--accent)}.note-body pre{margin:0 0 1rem;padding:.9rem 1rem;overflow-x:auto;border-radius:10px;border:1px solid var(--glass-border);background:#030a16c7;box-shadow:inset 0 1px #6eb8e80f}.note-body pre code{display:block;font-family:ui-monospace,SF Mono,Cascadia Code,Menlo,monospace;font-size:.78rem;line-height:1.5;color:#d4e8ff;white-space:pre;background:transparent;border:0;padding:0}.note-body hr{margin:1.25rem 0;border:0;border-top:1px solid var(--glass-border)}.panel h2{margin:0 0 .5rem;font-size:.95rem;font-weight:600}.hint{margin:0 0 .75rem;font-size:.88rem;color:var(--muted)}.hint code{font-size:.85em;padding:.1em .35em;border-radius:4px;background:var(--accent-soft)}.figures-hint{margin-top:-.35rem;font-size:.82rem}.lore-text{margin:0;font-size:.88rem;line-height:1.65;color:var(--muted)}.lore-text strong{color:var(--text);font-weight:600}.scene-load-status{margin:.5rem 0 0;font-size:.8rem;color:var(--accent)}.sound-toggle{display:flex;align-items:flex-start;gap:.5rem;margin-top:.35rem;font-size:.82rem;color:var(--text);cursor:pointer}.sound-toggle--disabled{cursor:not-allowed;opacity:.65;color:var(--muted)}.footer{padding:1rem 1.35rem;font-size:.82rem;color:var(--muted);text-align:center}.footer p{margin:.3rem 0}.footer a{color:var(--accent)}.footer code{font-size:.9em;padding:.12em .35em;border-radius:4px;background:var(--accent-soft)}.ui-root.is-reading{display:block;min-height:100dvh;padding:0}.ui-root.is-reading .ui-inner{display:block;max-width:none;margin:0;min-height:100dvh;padding:0 1.5rem 3rem}.ui-root.is-reading .home-notes[hidden]{display:none}.ui-root.is-reading .hero{position:sticky;top:0;z-index:3;width:calc(100% + 3rem);max-width:none;margin:0 -1.5rem 1.25rem;align-items:stretch;padding:.65rem 1.25rem;text-align:left;border-radius:0;border-left:none;border-right:none;border-top:none;outline:none}.ui-root.is-reading .hero-head{display:flex;flex-direction:row;align-items:stretch;justify-content:stretch;gap:0;width:100%;max-width:56rem;margin:0 auto}.ui-root.is-reading .hero-intro,.ui-root.is-reading .hero-stack{display:none}.ui-root.is-reading .links{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-items:stretch;align-self:stretch;width:100%;min-width:0;gap:.45rem;max-height:none;margin-top:0;opacity:1;overflow:visible;pointer-events:auto}.ui-root.is-reading .links a.link-home{display:inline-flex}.ui-root.is-reading .links a{flex:1 1 0;justify-content:center;padding:.42rem .65rem;font-size:.82rem}.ui-root.is-reading [data-article-root]{display:block;max-width:42rem;margin:0 auto;padding-top:.25rem}.ui-root.is-reading .note-article{padding:1.45rem 1.55rem 1.7rem}.ui-root.is-reading .note-article h2{font-size:clamp(1.35rem,3vw,1.85rem);line-height:1.3}.ui-root.is-reading .ui-inner--idle .note-article{opacity:1}@media(hover:hover)and (pointer:fine){#bg-root,.drift-mount{pointer-events:none}.ui-root,.ui-inner{pointer-events:auto}}@media(max-width:720px){.ui-root.is-reading .ui-inner{padding:0 .85rem 2rem}.ui-root.is-reading .hero{top:0;width:calc(100% + 1.7rem);margin:0 -.85rem 1rem;padding:.6rem .85rem}.ui-root.is-reading .hero-head{flex-wrap:wrap;gap:.5rem .75rem}.ui-root.is-reading .links{flex:1 1 100%;gap:.4rem}.ui-root.is-reading .links a{padding:.36rem .5rem;font-size:.78rem}}@media(max-width:480px){.hero-intro h1{font-size:.98rem}.links a{padding:.34rem .45rem;font-size:.78rem}.link-emoji,.link-icon{width:.9em;height:.9em}}@media(max-width:768px){.ui-root{padding:1rem .75rem}.ui-root.is-reading{padding:0}.hero,.panel,.footer{padding-left:1rem;padding-right:1rem}.ui-root.is-reading .hero,.ui-root.is-reading .note-article{padding-left:.9rem;padding-right:.9rem}}.drift-mount{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;background:#030810}.drift-mount #drift-canvas{display:block;width:100%;height:100%;background:#030810}.drift-mount #vignette{position:absolute;top:0;right:0;bottom:0;left:0;z-index:4;pointer-events:none;background:radial-gradient(ellipse 85% 75% at 50% 45%,transparent 42%,rgba(3,8,16,.55) 100%);opacity:0;transition:opacity .4s}.drift-mount.vignette-on #vignette{opacity:1}.drift-mount #boost-edge{position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;pointer-events:none;opacity:0;transition:opacity .55s ease}.drift-mount.boost-hyper #boost-edge{opacity:1}.drift-mount #compass{position:absolute;width:10px;height:10px;border-radius:50%;background:#6eb8e8;opacity:0;pointer-events:none;z-index:6}.drift-mount #lore{position:absolute;left:50%;bottom:18%;transform:translate(-50%);z-index:7;pointer-events:none;max-width:22rem;padding:10px 14px;border-radius:10px;background:#061020b8;border:1px solid rgba(110,184,232,.25);color:#c8d8ec;font-size:13px}.drift-webgl-error{position:absolute;top:0;right:0;bottom:0;left:0;z-index:20;display:none;place-items:center;text-align:center;padding:1.5rem;background:#030810eb;color:#e8f0ff}.drift-webgl-error.show{display:grid}.drift-webgl-error__sub{margin-top:.5rem;font-size:13px;color:#9ab0c8}.drift-settings-stub,.drift-mount #ui,.drift-mount #touch-ui{display:none!important}.drift-mount.drift-passive,.drift-mount.drift-passive #drift-canvas{pointer-events:none}
