:root{font-family:Inter,Segoe UI,Microsoft YaHei,sans-serif;color:#e8f0fa;background:#070f1b;font-synthesis:none}*{box-sizing:border-box}html,body,#app{width:100%;height:100%;margin:0;overflow:hidden;overscroll-behavior:none}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,summary:focus-visible,.card-body:focus-visible{outline:3px solid #88f6db;outline-offset:4px}#scene{position:fixed;inset:0;width:100vw;height:100dvh;overflow:hidden;background:radial-gradient(ellipse at 45% 40%,#152f40,#0a1727 45%,#060c16)}#scene>canvas{display:block;width:100%;height:100%;touch-action:none}#labels{position:absolute;inset:0;pointer-events:none}.node{position:absolute;transform:translate(-50%);pointer-events:auto;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-width:92px;min-height:44px;max-width:165px;padding:0 4px;border:0;background:transparent;color:#dbeafa;cursor:grab;touch-action:none;text-shadow:0 2px 8px #000,0 0 10px #000}.node b{font-size:13px;font-weight:500;line-height:1.5;text-align:center;padding:3px 6px;background:#07132188;border-radius:5px}.node:hover b,.node.selected b{color:var(--accent);background:#0c2135aa;text-decoration:underline;text-underline-offset:5px}.node small{font-size:9px;color:var(--accent);margin-right:5px;font-weight:400}.node svg{width:28px;height:28px;color:var(--accent)}.source-node b{font-size:15px}.process-node b{font-size:12px}.node:active{cursor:grabbing}.reset-node{position:absolute;z-index:8;top:max(18px,env(safe-area-inset-top));width:44px;height:44px;border:1px solid #415c76;border-radius:50%;background:#102236d9;color:#b9eadf;font-size:25px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.reset-node:hover{background:#254455}.back-node{position:absolute;top:max(18px,env(safe-area-inset-top));left:max(18px,env(safe-area-inset-left));z-index:8;width:46px;height:46px;display:grid;place-items:center;border-radius:50%;border:1px solid #415c76;background:#102236d9;box-shadow:0 4px 16px #0004;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.back-node:hover{background:#254455}.back-node svg{width:22px;height:22px;fill:none;stroke:#b9eadf;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round}#card{position:absolute;z-index:6;display:flex;flex-direction:column;border:1px solid color-mix(in srgb,var(--accent) 60%,#23394e);border-radius:17px;background:#0b1829f5;box-shadow:0 20px 70px #0008;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);overflow:hidden;max-height:calc(100dvh - 32px)}.card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:19px 18px 15px;border-bottom:1px solid #294156;flex-shrink:0}.card-head span{font-size:10px;letter-spacing:1.5px;color:var(--accent)}.card-head h2{font-size:21px;line-height:1.5;margin:7px 0 0;font-weight:600}#close-card{flex-shrink:0;display:grid;place-items:center;background:#152a40;border:1px solid #3c566f;border-radius:50%;width:44px;height:44px;font-size:23px;color:#bad5eb}.card-body{padding:0 19px 22px;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:#4b667e #101e30;min-height:0}.card-body dl{margin:0 0 22px}.card-body dt{font-size:11px;letter-spacing:1px;color:var(--accent);border-left:2px solid var(--accent);padding-left:8px;margin:20px 0 9px}.card-body dd{margin:0;color:#c4d5e8;font-size:13px;line-height:1.9}.card-body details{border-top:1px solid #294156;padding:4px 0}.card-body summary{cursor:pointer;font-size:12px;color:#bbd1e7;min-height:44px;display:list-item;padding:12px 0;line-height:1.6}.card-body p,.card-body li{font-size:12px;line-height:1.85;color:#b3c9df;overflow-wrap:anywhere}.card-body h3{font-size:13px;line-height:1.65;margin:18px 0 5px;color:#e0edf8}.card-body ul{padding-left:17px}.card-body code{font:11px Consolas,monospace;color:#b5d8f5;overflow-wrap:anywhere}.card-body .boundary{color:#829eb8;font-size:10px}#anchor{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none}#anchor path{fill:none;stroke:#81cdbf;stroke-width:1;stroke-dasharray:3 5;opacity:.5}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#fallback{position:absolute;inset:70px 18px 18px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-content:center;justify-content:center;gap:18px;padding:20px;overflow:auto;overscroll-behavior:contain}#fallback .node{position:static;transform:none;width:100%;min-width:0;min-height:90px}#fallback-note{position:absolute;top:25px;right:22px;font-size:11px;color:#829db9;letter-spacing:.5px}#labels,#fallback{z-index:4}#fallback .node{position:static;transform:none;cursor:pointer;min-height:90px;gap:10px;align-items:center;justify-content:center;background:#102135;border:1px solid #345069;border-radius:12px}#fallback .node b{background:none}#fallback .node svg{display:block}#fallback .node.selected{border-color:var(--accent)}@media(max-width:1000px){.card-head h2{font-size:18px}.card-body dd{font-size:12px}}@media(max-width:699px){.node{min-width:88px;max-width:112px;min-height:44px;padding:0 2px}.node b{font-size:11px;padding:2px 4px}.source-node b{font-size:12px}.process-node b{font-size:10px}.back-node{width:44px;height:44px;top:max(14px,env(safe-area-inset-top));left:14px}.reset-node{top:max(14px,env(safe-area-inset-top))}.card-head{padding:12px 14px 11px}.card-head span{font-size:9px}.card-head h2{font-size:17px;margin-top:4px}.card-body{padding:0 15px 20px}.card-body dd{font-size:12px}.card-body dt{margin-top:16px}#fallback{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;padding:8px;inset:65px 12px 12px}#fallback .node{min-height:66px;max-width:none}#fallback-note{font-size:10px;right:15px;top:28px}}button{touch-action:manipulation}.node{touch-action:none}
