:root{--ink:#071018;--panel:#0d171b;--brass:#c79a4a;--ivory:#e8dfc9;--sky:#7fb5c2;--green:#16483b;--muted:#91a1a2}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 15% 0,#18363a 0,#071018 34%,#04080b 100%);color:var(--ivory);font:15px/1.5 Inter,ui-sans-serif,system-ui;min-height:100vh}header{padding:54px clamp(22px,6vw,90px) 34px;border-bottom:1px solid #8e6b3666}h1{font:clamp(42px,7vw,88px)/.95 Georgia,serif;letter-spacing:-.04em;margin:8px 0 18px;max-width:980px}header p{max-width:820px;color:#c9d4d1;font-size:18px}.eyebrow{color:var(--brass);letter-spacing:.18em;font-size:12px}.stats{display:flex;gap:18px;flex-wrap:wrap;margin-top:26px}.stat{border-left:2px solid var(--brass);padding-left:10px}.stat b{display:block;font-size:22px}.stat span{color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.09em}nav{position:sticky;top:0;z-index:5;background:#071018e8;backdrop-filter:blur(18px);display:flex;gap:8px;padding:12px clamp(18px,5vw,70px);border-bottom:1px solid #8e6b3644;overflow:auto}nav button,nav a,.graph-tools button{border:1px solid #8e6b3677;background:#0c1518;color:var(--ivory);border-radius:999px;padding:9px 16px;text-decoration:none;white-space:nowrap;cursor:pointer}nav .active{background:var(--brass);color:#12100b}.view{display:none}.view.active{display:block}.controls,.graph-tools{display:flex;gap:12px;padding:24px clamp(18px,4vw,56px);border-bottom:1px solid #ffffff12}.controls input,.controls select,.graph-tools input{background:#101d21;border:1px solid #ffffff20;border-radius:12px;color:var(--ivory);padding:13px 14px}.controls input{flex:1}.layout{display:grid;grid-template-columns:minmax(310px,40%) 1fr;min-height:680px}.node-list{max-height:75vh;overflow:auto;border-right:1px solid #ffffff12;padding:16px}.node{width:100%;text-align:left;padding:15px;border:0;border-bottom:1px solid #ffffff10;background:transparent;color:var(--ivory);cursor:pointer}.node:hover,.node.selected{background:linear-gradient(90deg,#1a4137aa,#101a1d)}.node small{display:block;color:var(--brass);letter-spacing:.06em;margin-bottom:4px}.detail{padding:clamp(26px,5vw,70px);max-width:900px}.detail h2{font:46px/1.05 Georgia,serif;margin:6px 0 18px}.detail .archetype{color:var(--brass);letter-spacing:.12em}.detail blockquote{font:25px/1.35 Georgia,serif;margin:30px 0;padding-left:22px;border-left:3px solid var(--brass)}.pill{display:inline-block;padding:5px 10px;border:1px solid #ffffff20;border-radius:999px;margin:3px;color:#b8c6c5}.giftwound{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:30px}.giftwound div{padding:20px;border:1px solid #ffffff14;border-radius:18px;background:#0d181b}.empty{color:var(--muted);font:30px Georgia,serif;padding-top:120px}#graph{padding:0 clamp(12px,3vw,44px) 40px}#graphCanvas{display:block;width:100%;height:min(70vh,720px);background:radial-gradient(circle,#0f2729,#050b0e);border:1px solid #8e6b3655;border-radius:22px}.graph-tools{padding-left:0;padding-right:0}.graph-tools input{flex:1}.mapshift{max-width:1050px;margin:60px auto;padding:clamp(24px,5vw,70px);display:grid;grid-template-columns:1fr auto 1fr;gap:30px;align-items:center}.mapshift div{min-height:280px;padding:28px;border:1px solid #8e6b3655;border-radius:30px;background:linear-gradient(145deg,#102126,#071014)}.mapshift span{color:var(--brass);font-size:11px;letter-spacing:.18em}.mapshift h2{font:32px/1.25 Georgia,serif}.mapshift button{width:120px;height:120px;border-radius:50%;border:2px solid var(--brass);background:radial-gradient(circle,#d9b66b,#76501f);color:#0a0b09;font-weight:800;cursor:pointer}.mapshift p{grid-column:1/-1;text-align:center;color:var(--sky);font-size:18px}footer{border-top:1px solid #ffffff14;padding:28px clamp(18px,5vw,70px);color:var(--muted)}@media(max-width:760px){.layout{grid-template-columns:1fr}.node-list{max-height:45vh;border-right:0}.giftwound{grid-template-columns:1fr}.mapshift{grid-template-columns:1fr}.mapshift button{margin:auto}.controls{flex-wrap:wrap}.controls input{flex-basis:100%}}
