:root{color-scheme:dark;--ink:#0b0d20;--surface:#14162d;--text:#f8f2e6;--muted:#c7c3d7;--mint:#a7e1cc;--amber:#ffd58b;--violet:#bba6f6;--line:#49425e;--paper:#f1e5cc;--paper-ink:#272237}
*{box-sizing:border-box}html{scroll-padding-top:1.5rem}body{margin:0;background:var(--ink);color:var(--text);font-family:"Avenir Next",Avenir,"PingFang SC","Microsoft YaHei",sans-serif;font-size:1rem;line-height:1.8}a{color:inherit;text-underline-offset:.28em}button{font:inherit;touch-action:manipulation}a,button,summary{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--mint);outline-offset:6px}a:hover{color:var(--amber)}img{display:block;max-width:100%;height:auto}h1,h2,h3,p{overflow-wrap:break-word}h1,h2,h3{font-weight:650}h2{font-size:clamp(1.85rem,3.1vw,2.7rem);line-height:1.4;letter-spacing:-.025em}h3{font-size:1.15rem;line-height:1.5}p{margin:.7rem 0}button,summary{cursor:pointer}button:active,.action:active{transform:translateY(2px)}.shell{width:min(1232px,calc(100% - 5rem));margin-inline:auto}.skip{position:absolute;left:1rem;top:-5rem;z-index:10;padding:.65rem 1rem;background:var(--amber);color:var(--ink)}.skip:focus{top:1rem}
.masthead{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:90px}.wordmark{display:inline-flex;align-items:baseline;flex-wrap:wrap;gap:.35rem;font-weight:750;font-size:1.3rem;text-decoration:none}.wordmark span{color:var(--amber)}.wordmark small{font-size:.8rem;font-weight:500;color:var(--muted);margin-left:.7rem}.edition,.language{font-size:.85rem;color:var(--muted)}.language{display:inline-flex;align-items:center;min-height:44px;padding:.5rem}
.room{position:relative;max-width:1536px;margin:auto;min-height:clamp(720px,63vw,960px);isolation:isolate}.room-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center;image-rendering:pixelated;z-index:-2}.room::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(7,9,26,.45),transparent 52%),linear-gradient(0deg,var(--ink),transparent 12%)}.room-inner{position:relative;padding-top:clamp(60px,8vw,130px);min-height:inherit}.hero-copy{width:43%;max-width:520px}.eyebrow,.chapter{font-family:Menlo,Consolas,monospace;letter-spacing:.09em;font-size:.8rem;font-weight:650;color:var(--amber);margin:0 0 1rem}.room h1{font-size:clamp(2.8rem,4.8vw,4.55rem);line-height:1.3;letter-spacing:-.025em;margin:0 0 1.5rem}.room h1:lang(en){font-size:clamp(2.8rem,4.5vw,4.3rem);line-height:1.14}.room h1 em{font-style:normal;color:var(--amber)}.lead{font-size:1.08rem;color:var(--muted);line-height:1.95;max-width:30rem}.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:1.35rem;margin-top:2rem}.action{display:inline-flex;align-items:center;justify-content:center;background:var(--amber);color:var(--ink);font-weight:750;min-height:52px;padding:.65rem 1.2rem;border:2px solid #fff1c6;box-shadow:4px 4px 0 #805834;text-decoration:none}.action:hover{color:var(--ink);background:#ffe6b5}.secondary-action{min-height:44px;display:inline-flex;align-items:center;font-size:.9rem;color:var(--text)}.hero-meta{color:var(--mint);font-size:.8rem;margin-top:1.4rem}.room-bubble{position:absolute;top:20%;left:60%;padding:.8rem 1.2rem;background:#f5e6c7;color:var(--paper-ink);border:3px solid #aa845d;box-shadow:6px 6px 0 #080b1b;transform:rotate(-3deg);max-width:30%}.room-bubble span{display:block;font-size:.75rem;color:#59435c}.room-bubble strong{font-size:1.3rem}.room-caption{position:absolute;right:0;bottom:2rem;color:#d0c6d5;font-size:.75rem;background:rgba(11,13,32,.86);padding:.25rem .65rem}.subnav{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.4rem 1.5rem;padding:1.05rem 0 1.6rem;border-bottom:1px solid var(--line)}.subnav a{min-height:44px;display:inline-flex;align-items:center;text-decoration:none;color:var(--muted);font-size:.95rem}.subnav a:hover{color:var(--amber)}
.section{padding:5rem 0}.section-head{max-width:47rem;margin-bottom:2rem}.section-head h2{margin:0 0 1rem}.section-head>p:last-child{color:var(--muted);font-size:1rem}.section-head .chapter{margin-bottom:.6rem}.watch-desk{padding-bottom:5.5rem}.bench-note{font-size:.85rem;color:var(--mint);margin-bottom:1.8rem}.control-bench{display:grid;grid-template-columns:minmax(190px,.9fr) minmax(240px,1.15fr) minmax(200px,1fr);gap:2.2rem;align-items:center;padding:2rem 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.state-list{display:grid;gap:.6rem}.state-list button{display:flex;gap:.9rem;align-items:center;min-height:52px;padding:.65rem .9rem;text-align:left;color:var(--muted);background:transparent;border:1px solid #514863;box-shadow:2px 2px 0 #030511}.state-index{font-family:Menlo,Consolas,monospace;font-size:.7rem;opacity:.7}.state-list button[aria-pressed=true]{background:var(--amber);border-color:#ffefca;color:var(--ink);box-shadow:3px 3px 0 #855736}.state-list button:hover:not([aria-pressed=true]){border-color:var(--violet);color:var(--text)}.gallery-image{margin:0;text-align:center}.gallery-image img{width:240px;margin:auto;image-rendering:pixelated}.gallery-image figcaption{margin-top:1.4rem;color:var(--muted);font-size:.8rem}.fixture-label,#fixture-caption,.render-source{display:block}.fixture-label{color:var(--amber)}.render-source{font-family:Menlo,Consolas,monospace;letter-spacing:.03em;font-size:.65rem;color:#aaa6bd;margin-top:.6rem}.guide-buddy{width:128px;image-rendering:pixelated}.buddy-response .guide-buddy{width:110px;margin:0 0 .8rem 1rem}.buddy-line{position:relative;background:#27233e;border:1px solid #75668a;border-left:4px solid var(--amber);padding:1rem 1.2rem;color:var(--text);font-weight:650;line-height:1.7;min-height:5.8rem}.state-description{font-size:.9rem;color:var(--muted);min-height:5rem}.fixture-note{color:#aaa6bd;max-width:48rem;font-size:.8rem;margin-top:1.5rem}
.journal{background:var(--paper);color:var(--paper-ink);border-block:5px solid #a18470}.journal-inner{display:grid;grid-template-columns:.85fr 1.3fr;gap:5rem;padding:4.5rem 0}.journal .chapter{color:#795728}.journal .section-head>p:last-child{color:#594f66}.journal-title .guide-buddy{width:170px;margin-top:1.5rem}.agreement-list{margin:0;border-top:1px solid #bba990}.agreement{padding:1.3rem 0;border-bottom:1px solid #bba990}.agreement dt{display:flex;gap:1rem;align-items:baseline;font-size:1.15rem;font-weight:750}.agreement-index{font-family:Menlo,Consolas,monospace;font-size:.75rem;color:#886744}.agreement dd{margin:.55rem 0 0 2.3rem;color:#594f66;font-size:.95rem}.connection-routes{margin:2.5rem 0 0;border-top:1px solid var(--line)}.connection-row{display:grid;grid-template-columns:9rem 1fr;gap:2rem;padding:1.7rem 0;border-bottom:1px solid var(--line)}.connection-row strong{font-family:Menlo,Consolas,monospace;font-size:1.2rem;color:var(--violet)}.connection-row p{margin:0;max-width:45rem;color:var(--muted)}.connection-row details{margin-top:.6rem}.connection-row summary{font-size:.85rem;color:var(--mint);min-height:44px;display:list-item;padding:.55rem 0}.connection-row .detail{font-size:.85rem;margin-top:.5rem;color:#aba6bd}
.setup{padding:4.5rem 0;background:#161329;border-block:1px solid #4d4262}.setup .chapter{color:var(--violet)}.installation{border-top:1px solid #534760;border-bottom:1px solid #534760;padding:.6rem 0;max-width:60rem}.installation summary,.questions summary{min-height:52px;padding:.7rem 0;font-size:1.05rem;font-weight:650}.installation summary{color:var(--amber)}.installation[open] .steps{margin:2rem 0}.steps{counter-reset:steps;display:grid;gap:2rem}.step{display:grid;grid-template-columns:2.5rem minmax(0,1fr);gap:1rem}.step::before{counter-increment:steps;content:counter(steps,decimal-leading-zero);font-family:Menlo,Consolas,monospace;color:var(--violet)}.step h3{margin:0}.step p{color:var(--muted);max-width:48rem}.command{position:relative;background:#080b1d;border:1px solid #4d4262;padding:1.2rem;margin:1rem 0;max-width:100%;overflow:auto}.command pre{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;padding-right:4rem;font-family:Menlo,Consolas,monospace;font-size:.85rem;line-height:1.8}.copy{position:absolute;right:.8rem;top:.8rem;min-height:44px;padding:.3rem .6rem;border:1px solid #655677;background:#141229;color:var(--amber);font-size:.8rem}.guide-link{margin-top:1.8rem;color:var(--mint);font-size:.9rem}.questions{max-width:60rem}.questions>details{border-top:1px solid var(--line);padding:.5rem 0}.questions>details:last-child{border-bottom:1px solid var(--line)}.questions summary{color:var(--text)}.questions p,.questions ul{color:var(--muted);max-width:50rem}.questions ul{padding-left:1.4rem}.questions li{margin:.6rem 0}.fact-table{display:grid;grid-template-columns:1fr 1fr;gap:0 2rem}.fact{padding:1.1rem 0;border-top:1px solid var(--line)}.fact h3{margin:0 0 .5rem}.fact p{font-size:.9rem;margin:0}.source-flow{display:flex;margin:2rem 0;padding:0;list-style:none;gap:1rem;flex-wrap:wrap}.source-flow li{flex:1;min-width:140px;padding:1rem 0;border-top:2px solid #705f8d;color:var(--text);font-size:.9rem}.source-flow small{display:block;color:var(--muted);font-size:.8rem}.footer{display:flex;justify-content:space-between;gap:3rem;border-top:1px solid var(--line);padding:2rem 0 3rem;font-size:.8rem;color:#aaa6bd}.footer p{max-width:48rem;margin:0}.status{color:var(--amber);white-space:nowrap}
@media(max-width:1000px){.shell{width:calc(100% - 3rem)}.room{min-height:760px}.hero-copy{width:46%}.room h1,.room h1:lang(en){font-size:3.25rem}.room-bubble{left:61%;top:13%}.control-bench{gap:1.2rem;grid-template-columns:minmax(160px,.85fr) 240px minmax(160px,1fr)}.journal-inner{gap:3rem}.wordmark small{display:none}}
@media(max-width:760px){.shell{width:calc(100% - 2rem)}.masthead{min-height:76px}.edition{display:none}.room{--room-floor:clamp(360px,110vw,460px);min-height:0;padding-top:2rem;padding-bottom:var(--room-floor)}.room-art{inset:auto 0 0;height:calc(var(--room-floor) + 80px);object-fit:cover;object-position:75% center}.room::after{background:linear-gradient(180deg,var(--ink) 2%,transparent 35%,transparent 89%,var(--ink) 100%)}.room-inner{padding-top:0;min-height:0}.hero-copy{width:100%;max-width:34rem}.room h1,.room h1:lang(en){font-size:clamp(2.3rem,7vw,3.7rem);max-width:35rem}.lead{max-width:32rem;font-size:1rem}.hero-actions{margin-top:1.5rem}.room-bubble{top:auto;bottom:calc(var(--room-floor) * -.3);left:0;max-width:65%;transform:rotate(-2deg);padding:.6rem 1rem}.room-bubble strong{font-size:1.05rem}.room-caption{bottom:calc(var(--room-floor) * -1 + 32px);font-size:.65rem;right:0}.subnav{justify-content:flex-start;gap:.1rem 1.15rem;padding:1rem 0}.subnav a{font-size:.85rem}.section{padding:3.5rem 0}.section-head{margin-bottom:1.5rem}.control-bench{grid-template-columns:1fr 1fr;gap:1.3rem}.state-list{grid-column:1/-1;grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr));gap:.5rem}.state-list button,.state-list button>span{min-width:0}.state-list button>span:last-child{overflow-wrap:anywhere}.state-list button{min-height:52px;padding:.65rem .7rem;gap:.5rem;font-size:.9rem}.gallery-image img{width:200px;max-width:100%}.buddy-response .guide-buddy{width:90px;margin-left:.3rem}.buddy-line{font-size:.95rem;padding:.75rem .85rem;min-height:0}.state-description{font-size:.85rem;min-height:0}.journal-inner{grid-template-columns:1fr;gap:2rem;padding:3rem 0}.journal-title{position:relative;padding-right:5.8rem}.journal-title .guide-buddy{position:absolute;width:95px;right:0;top:0;margin:0}.journal-title .section-head{margin-bottom:0}.journal-title .section-head h2{font-size:1.9rem}.journal-title .section-head>p:last-child{font-size:.9rem}.agreement dd{margin-left:2rem}.connection-row{grid-template-columns:5rem 1fr;gap:1rem}.setup{padding:3.5rem 0}.questions summary,.installation summary{font-size:1rem}.footer{flex-direction:column;gap:1rem}.source-flow{gap:.5rem 1rem}.fact-table{grid-template-columns:1fr}.command pre{padding-right:0;padding-top:2.6rem}}
@media(max-width:400px){.room-art{height:calc(var(--room-floor) + 64px)}.room h1,.room h1:lang(en){font-size:2.3rem}.hero-actions{gap:1rem}.secondary-action{font-size:.85rem}.control-bench{grid-template-columns:minmax(0,1fr);gap:1.5rem}.gallery-image img{width:220px}.buddy-response{display:grid;grid-template-columns:76px minmax(0,1fr);gap:0 .7rem;align-items:start}.buddy-response .guide-buddy{width:76px;margin:0}.buddy-line{margin:0}.state-description{grid-column:2;margin:.7rem 0}.gallery-image figcaption{margin-top:1rem}.journal-title{padding-right:0}.journal-title .guide-buddy{position:static;width:100px;margin-top:1rem}.connection-row{grid-template-columns:1fr;gap:.4rem}.hero-meta{font-size:.75rem}.wordmark{font-size:1.15rem}.room-bubble{bottom:calc(var(--room-floor) * -.25)}.agreement dt{font-size:1.05rem}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
