:root{color-scheme:dark;--bg:#090e13;--panel:#141b21;--text:#eee7d7;--muted:#c5bdad;--gold:#e2c483;--line:#bca46b55;--serif:"Songti TC","Noto Serif TC","PMingLiU",serif}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 60% 0,#24313a55,transparent 65%),var(--bg);color:var(--text);font:16px/1.8 system-ui,-apple-system,sans-serif}button,a,select{-webkit-tap-highlight-color:transparent}button,select{font:inherit;color:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:var(--gold);text-decoration:none}a:hover{text-decoration:underline}button,select{border:1px solid var(--line);border-radius:9px;background:#111a22;padding:9px 15px;min-height:44px}button:hover{border-color:var(--gold)}:focus-visible{outline:3px solid #f8dda1;outline-offset:4px}header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px max(5%,calc((100vw - 1400px)/2));border-bottom:1px solid var(--line);background:#0b1119e8}.brand{font-family:var(--serif);font-size:19px;letter-spacing:.08em;color:#ead5a4}header nav{display:flex;gap:6px}header nav button{padding:5px 10px;font-size:13px}header nav button[aria-pressed=true]{color:#f4da9e;border-color:#dfc289}main{max-width:1500px;margin:auto;padding:24px 4%}.back{display:inline-block;font-size:13px;margin-bottom:18px}.back:before{content:'← ';}h1,h2,p{margin-top:0}h1,h2{font-family:var(--serif);font-weight:500}h1{font-size:clamp(32px,4vw,56px);line-height:1.25;letter-spacing:.08em;margin-bottom:12px}.hero{position:relative;overflow:hidden;border:1px solid #b9a16c88;border-radius:18px;min-height:310px;background:#111b26}.hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 45%}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#060e17e8,#09132065 58%,#060d1322),linear-gradient(0deg,#081019b3,transparent 70%)}.hero-copy{position:relative;padding:48px 5%;max-width:820px}.eyebrow{font-size:12px;letter-spacing:.18em;color:var(--gold);font-weight:600}.hero-copy>p:last-child{max-width:650px;font:clamp(18px,2vw,25px)/1.6 var(--serif);margin:0}.image-kind{position:absolute;right:18px;bottom:8px;font-size:11px;color:#f1ddb4;background:#071018bb;padding:3px 10px;border-radius:20px}.topic-picker{display:grid;grid-template-columns:auto 220px 1fr;align-items:center;gap:18px;margin:24px 0 36px}.topic-picker label{color:var(--gold);font-size:13px}.topic-picker select{width:100%;background:#18222b}.topic-picker p{margin:0;color:var(--muted);font:19px/1.8 var(--serif)}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:26px;align-items:start}.graph-side{min-width:0}.graph-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding-top:20px}.graph-heading h2{font-size:25px;margin:0}.graph-heading button{font-size:12px;flex-shrink:0}.graph-invitation{font-size:13px;color:var(--muted);margin:10px 0 20px}.graph{position:relative;min-height:560px;isolation:isolate;border-bottom:1px solid var(--line)}.graph-atmosphere{position:absolute;z-index:-2;inset:0;background-image:linear-gradient(#09101878,#091018ac),var(--concept-art);background-size:cover;background-position:center;opacity:.7;mask-image:linear-gradient(transparent,#000 12%,#000 84%,transparent);-webkit-mask-image:linear-gradient(transparent,#000 12%,#000 84%,transparent)}#links{position:absolute;inset:0;width:100%;height:560px;pointer-events:none}.relation-line{stroke:#c0a36777;stroke-width:1.25;fill:none;vector-effect:non-scaling-stroke}.relation-line.active{stroke:#f0d394;stroke-width:2}.relation-line.arrow{stroke:#d6bd80b3}.graph-center{position:absolute;left:50%;top:50%;width:178px;height:178px;transform:translate(-50%,-50%);display:grid;place-content:center;text-align:center;border:1px solid #e6c78377;border-radius:50%;background:radial-gradient(circle,#1d2a33ed,#101820c9 70%);box-shadow:0 0 65px #d9b36612,inset 0 0 35px #e5bb6c0a;padding:20px}.graph-center:before,.graph-center:after{content:'';position:absolute;inset:8px;border:1px solid #d3b57033;border-radius:50%}.graph-center:after{inset:-12px;border-style:dotted;border-color:#d6b77044}.graph-center span{font:24px/1.5 var(--serif);color:#efd9a8}.graph-center i{width:34px;height:1px;margin:12px auto 0;background:var(--gold)}.graph-nodes{position:absolute;inset:0}.concept-node{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);width:170px;min-height:110px;padding:8px 4px;border:0;background:transparent;text-align:center;border-radius:18px;display:flex;align-items:center;flex-direction:column;gap:5px;color:var(--text)}.concept-node:hover{background:#18232bc7}.concept-node .icon{display:grid;place-content:center;width:62px;height:62px;color:#e3c48a;background:radial-gradient(circle at 30% 20%,#4c4434,#141e26 75%);border:1px solid #b39a65b3;border-radius:50%;box-shadow:0 5px 22px #0006,inset 0 0 16px #dfbc7022;transition:box-shadow .2s,color .2s}.icon svg{width:36px;height:36px;stroke:currentColor;stroke-width:1.4;fill:none;stroke-linecap:round;stroke-linejoin:round}.concept-node strong{font:20px/1.45 var(--serif);font-weight:500;text-shadow:0 2px 9px #000}.concept-node small{font-size:11px;line-height:1.55;color:#d1c4a8}.concept-node[aria-pressed=true] .icon{background:radial-gradient(circle at 30% 20%,#efd8a7,#b48b46);color:#17212a;box-shadow:0 0 0 5px #dcc38414,0 0 32px #dfbc7055;border-color:#fae5b8}.concept-node[aria-pressed=true] strong{color:#f6dc9f}.graph[data-layout=groups] .graph-center,.graph[data-layout=scale] .graph-center,.graph[data-layout=sum] .graph-center,.graph[data-layout=compare] .graph-center,.graph[data-layout=path] .graph-center{top:12%;height:auto;min-height:75px;border-radius:50px;width:max-content;max-width:85%;padding:14px 28px;background:#101a24cc}.graph[data-layout=groups] .graph-center:before,.graph[data-layout=groups] .graph-center:after,.graph[data-layout=scale] .graph-center:before,.graph[data-layout=scale] .graph-center:after,.graph[data-layout=sum] .graph-center:before,.graph[data-layout=sum] .graph-center:after,.graph[data-layout=compare] .graph-center:before,.graph[data-layout=compare] .graph-center:after,.graph[data-layout=path] .graph-center:before,.graph[data-layout=path] .graph-center:after{display:none}.graph[data-layout=scale] .concept-node,.graph[data-layout=groups] .concept-node{width:155px}.graph[data-layout=scale] .concept-node small{max-width:145px;font-size:11px}.graph[data-layout=compass] .concept-node{width:100px}.graph[data-layout=compass] .concept-node strong{font-size:18px}.graph[data-layout=compass] .icon{width:46px;height:46px}.graph[data-layout=compass] .icon svg{width:28px;height:28px}.graph[data-layout=compass] .graph-center{width:145px;height:145px}.graph[data-layout=compass] .graph-center span{font-size:20px}.guide{border:1px solid #b79d6855;border-radius:15px;background:linear-gradient(145deg,#202a30,#111b23);padding:22px;position:sticky;top:18px}.guide-person{display:flex;align-items:center;gap:14px;border-bottom:1px solid var(--line);margin-bottom:22px;padding-bottom:16px}.guide-person img{object-fit:contain;width:65px;height:95px;flex-shrink:0}.guide-person p{display:grid;gap:8px;font-size:12px;line-height:1.8;margin:0;color:var(--muted)}.guide-person .eyebrow{font-size:11px;letter-spacing:.1em;color:#e3c88f}.guide-copy h2{font-size:26px;line-height:1.55;color:#ecd7ac;margin:0 0 14px}.guide-copy p{font-size:15px;line-height:1.95}.guide-copy .subtle{font-size:11px;color:#bdaf91;margin-bottom:6px}.node-detail{border-left:2px solid #ccb076;padding:4px 0 4px 14px;color:#ddceb0}.guide-actions{display:flex;flex-direction:column;gap:10px}.primary{color:#111a21;background:linear-gradient(120deg,#f0ddb2,#c5a565);border-color:#cfb679;font-size:13px;font-weight:600}.guide-actions>button:last-child{font-size:12px}details{color:var(--muted)}summary{cursor:pointer;min-height:44px;padding:12px 0;color:var(--gold)}#reading-note{font-size:12px;margin-top:12px}#reading-note p{line-height:1.9}.guides{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:38px;padding:7px 0}.guides summary{display:flex;align-items:center;gap:20px;font:20px/1.6 var(--serif)}.guides summary:before{content:'＋';font-family:system-ui}.guides[open] summary:before{content:'−'}.guides summary small{font:12px/1.7 system-ui;color:var(--muted)}#guide-list{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:12px 0 22px}#guide-list button{text-align:left;background:transparent;display:flex;align-items:center;gap:12px;font-size:13px}#guide-list b{font-size:11px;color:var(--gold)}#guide-list button[aria-current=step]{border-color:var(--gold);background:#2d2b22}.related{margin:38px 0}.related h2{font-size:24px}#related-links{display:flex;flex-wrap:wrap;gap:12px}#related-links a{border-bottom:1px solid #ba9c6455;padding:8px 5px;font-size:14px}#related-links a:after{content:' →'}footer{display:flex;flex-wrap:wrap;gap:24px;border-top:1px solid var(--line);padding:24px 0 8px;font-size:12px;color:var(--muted)}footer span{margin-left:auto}dialog{background:#121b23;color:var(--text);border:1px solid #b69b67b3;border-radius:14px;width:min(850px,94vw);max-height:88dvh;padding:24px;overscroll-behavior:contain}dialog::backdrop{background:#000b;backdrop-filter:blur(3px)}.canon-top{position:sticky;top:-24px;z-index:2;background:#121b23;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:8px 0 14px;border-bottom:1px solid var(--line);margin-bottom:20px}.canon-top p{font-size:12px;margin:0;color:var(--gold)}.canon-top button{font-size:13px}#canon-title{font-size:24px;line-height:1.6}#reading-content h3{font:20px/1.6 var(--serif);margin:24px 0 10px}#reading-content p{line-height:2;font-family:var(--serif);font-size:18px;overflow-wrap:anywhere}#reading-content .source-line{font:12px/1.8 system-ui;color:#d3bf96;white-space:pre-line;border-top:1px solid var(--line);padding-top:12px}#reading-content .verse{padding-left:1em}#source-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}#source-links a{display:inline-block;min-height:44px;border-bottom:1px solid var(--line);font-size:14px}.graph-atmosphere{animation:breath 12s ease-in-out infinite alternate}body[data-light=off] .graph-atmosphere{animation:none;opacity:.45}@keyframes breath{from{opacity:.5}to{opacity:.8}}[hidden]{display:none!important}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media(max-width:1050px){.workspace{grid-template-columns:minmax(0,1fr) 290px;gap:18px}.concept-node{width:145px}.concept-node strong{font-size:18px}.graph-center{width:145px;height:145px}.graph-center span{font-size:22px}.graph[data-layout=groups] .concept-node,.graph[data-layout=scale] .concept-node{width:125px}.guide{padding:18px}.guide-copy h2{font-size:23px}}@media(max-width:820px){header{padding:14px 5%}.brand{font-size:16px;letter-spacing:.03em}main{padding:18px 5%}.hero{min-height:260px}.hero-copy{padding:36px 7%}.hero-copy>p:last-child{font-size:21px}.topic-picker{grid-template-columns:auto minmax(0,1fr);gap:12px;margin:24px 0}.topic-picker p{grid-column:1/-1;font-size:18px}.workspace{display:flex;flex-direction:column;gap:24px}.graph-side,.guide{width:100%}.guide{position:static;padding:22px}.graph-heading h2{font-size:23px}.graph-heading{gap:8px}.graph{min-height:0;padding:22px 10px 28px}.graph-atmosphere{inset:0 -12px;opacity:.55}#links{display:none}.graph-center,.graph[data-layout] .graph-center{position:relative;left:auto;top:auto;transform:none;width:auto;max-width:100%;min-height:0;height:auto;border:0;background:transparent;box-shadow:none;margin:0 0 20px;padding:8px}.graph-center:before,.graph-center:after{display:none}.graph-center span{font-size:22px}.graph-center i{margin-top:10px}.graph-nodes{position:relative;inset:auto;display:grid;grid-template-columns:1fr 1fr;gap:15px 10px}.concept-node,.graph[data-layout] .concept-node{position:relative;left:auto;top:auto;transform:none;width:100%;min-height:125px;padding:12px 3px;border-bottom:1px solid #c3a56c33;border-radius:0;background:transparent;gap:6px}.concept-node strong,.graph[data-layout=compass] .concept-node strong{font-size:20px}.concept-node small{font-size:12px;max-width:100%}.icon,.graph[data-layout=compass] .icon{width:58px;height:58px}.icon svg,.graph[data-layout=compass] .icon svg{width:34px;height:34px}.graph[data-layout=scale] .graph-nodes,.graph[data-layout=path] .graph-nodes{grid-template-columns:1fr}.graph[data-layout=scale] .concept-node,.graph[data-layout=path] .concept-node{display:grid;grid-template-columns:65px 1fr;grid-template-rows:1fr auto;column-gap:18px;text-align:left;min-height:95px;padding:14px 6px}.graph[data-layout=scale] .concept-node .icon,.graph[data-layout=path] .concept-node .icon{grid-row:1/3}.graph[data-layout=scale] .concept-node small{font-size:13px;max-width:none}.guide-person img{width:75px;height:105px}.guide-person p{font-size:13px}.guide-copy h2{font-size:26px}.guide-copy p{font-size:17px}.guide-actions{flex-direction:row;flex-wrap:wrap}.guide-actions .primary{flex:1;min-width:180px}.guides{margin-top:28px}#guide-list{grid-template-columns:1fr 1fr}.related{margin:30px 0}footer{gap:16px}footer span{width:100%;margin-left:0}dialog{padding:18px}.canon-top{top:-18px}#reading-content p{font-size:18px}}@media(max-width:360px){header{padding:12px 4%;gap:6px}.brand{font-size:15px}header nav button{padding:5px 7px}main{padding-left:4%;padding-right:4%}.hero{min-height:245px}.hero-copy{padding:34px 7%}.hero-copy>p:last-child{font-size:19px}.graph-heading h2{font-size:21px}.concept-node strong{font-size:18px}#guide-list{grid-template-columns:1fr}.guides summary{gap:12px}.guide{padding:18px}}

.graph-center span{text-wrap:balance}.concept-node strong{text-shadow:0 2px 9px #000,0 0 18px #000}
