.graph-frame{flex:1;min-height:27.5rem;position:relative;container-type:inline-size}.graph-stage{position:absolute;inset:0}.graph-area{max-height:30rem;margin-block:auto;position:absolute;inset:6px}.graph-ghost{pointer-events:none}.graph-ghost *,.graph-ghost :before,.graph-ghost :after{transition:none!important;animation:none!important}.graph-edges{width:100%;height:100%;position:absolute;inset:0;overflow:visible}.graph-edge{transform-origin:50%;stroke:rgb(var(--line-strong));stroke-width:1.2px}.graph-edge.is-tech{stroke:rgb(var(--accent))}.graph-edge.is-far{stroke-dasharray:3 5;opacity:.55}.graph-edge.is-home{stroke:rgb(var(--now));stroke-dasharray:3 5}.graph-edge.is-root{transition:transform .24s var(--ease-out) .16s, opacity .24s var(--ease-out) .16s}[data-level=topic] .graph-edge.is-root{opacity:0;transition-duration:.16s;transition-delay:0s;transform:scale(0)}.graph-packet{stroke:rgb(var(--accent));stroke-width:2.4px;stroke-dasharray:5 400;animation:2.4s linear infinite packet}[data-playing=false] .graph-packet{animation-play-state:paused}[data-level=topic] .is-root .graph-packet,[data-still=true] .graph-packet{display:none}@keyframes packet{to{stroke-dashoffset:-200px}}.graph-node{top:var(--y);left:var(--x);width:max-content;position:absolute;translate:-50% -50%}.graph-node.is-centre{z-index:2}.graph-node.is-avatar{z-index:3}.graph-node.is-tech:is(.is-lit,:hover,:focus-within){z-index:4}.graph-topic{cursor:pointer;white-space:nowrap;border:1px solid rgb(var(--line-strong));background:rgb(var(--surface));min-width:44px;min-height:44px;box-shadow:2px 2px 0 rgb(var(--line));color:rgb(var(--fg));transition:translate var(--dur-hover) var(--ease-out), scale var(--dur-press) var(--ease-out), border-color var(--dur-hover) var(--ease-out), box-shadow var(--dur-hover) var(--ease-out);border-radius:8px;align-items:center;gap:8px;padding:6px 12px 6px 6px;font:500 13px IBM Plex Mono,monospace;display:flex}.graph-topic:hover{border-color:rgb(var(--accent));box-shadow:2px 4px 0 rgb(var(--line-strong));translate:0 -2px}.graph-topic:active{scale:.96}.graph-topic:focus-visible,.graph-tech:focus-visible .graph-chip,.graph-path:focus-visible{outline:2px solid rgb(var(--accent));outline-offset:3px}.graph-icon{background:rgb(var(--raised));width:30px;height:30px;color:rgb(var(--accent));border-radius:6px;place-items:center;display:grid}.graph-icon svg{width:18px;height:18px}.graph-count{color:rgb(var(--muted));font-size:11px}.is-centre .graph-topic{border:2px solid rgb(var(--accent));box-shadow:3px 3px 0 rgb(var(--line-strong));padding:10px 16px 10px 10px;font-size:16px}.is-centre .graph-icon{background:rgb(var(--accent));width:38px;height:38px;color:rgb(var(--on-accent))}.is-centre .graph-icon svg{width:22px;height:22px}.is-receded .graph-topic{border-color:rgb(var(--line));box-shadow:none;opacity:.72;animation:graph-recede .4s var(--ease-move) 80ms backwards;gap:6px;padding:4px 8px 4px 4px;font-size:11px}.is-receded .graph-topic:is(:hover,:focus-visible){border-color:rgb(var(--accent));opacity:1}.is-receded .graph-count{color:rgb(var(--fg))}.is-receded .graph-icon{width:24px;height:24px}.is-receded .graph-icon svg{width:14px;height:14px}@keyframes graph-recede{0%{opacity:1}}.graph-grow{animation:graph-grow calc(.28s - var(--i) * 40ms) var(--ease-out) calc(.24s + var(--i) * 40ms) both}.graph-edge.is-tech{animation:graph-edge calc(.28s - var(--i) * 40ms) var(--ease-out) calc(.24s + var(--i) * 40ms) both}.graph-edge.is-far,.graph-edge.is-home{animation:graph-fade .28s var(--ease-out) .24s backwards}@keyframes graph-grow{0%{opacity:0;transform:scale(.6)}}@keyframes graph-edge{0%{opacity:0;transform:scale(0)}}@keyframes graph-fade{0%{opacity:0}}.graph-tech{justify-content:center;align-items:center;min-width:44px;min-height:44px;display:flex}button.graph-tech{cursor:pointer}button.graph-tech:focus-visible{outline:none}.graph-chip{white-space:nowrap;border:1px solid rgb(var(--line-strong));background:rgb(var(--bg));min-height:36px;color:rgb(var(--fg));transition:translate var(--dur-hover) var(--ease-out), scale var(--dur-press) var(--ease-out), border-color var(--dur-hover) var(--ease-out), color var(--dur-hover) var(--ease-out);border-radius:6px;align-items:center;padding:0 10px;font:500 12px IBM Plex Mono,monospace;display:inline-flex}button.graph-tech:hover .graph-chip,.is-lit .graph-chip{border-color:rgb(var(--accent));color:rgb(var(--accent));translate:0 -1px}button.graph-tech:active .graph-chip{scale:.97}.graph-tech.is-plain .graph-chip{border-style:dashed}.graph-tooltip,.agent-home-tip{pointer-events:none;background:rgb(var(--fg));width:max-content;max-width:12rem;color:rgb(var(--bg));text-align:center;opacity:0;transition:opacity .12s var(--ease-out), translate .12s var(--ease-out);border-radius:4px;padding:4px 8px;font:500 11px IBM Plex Mono,monospace;position:absolute}.graph-tooltip{left:50%;translate:-50% 4px}.graph-tooltip.is-below{top:100%}.graph-tooltip.is-above{bottom:100%}.graph-tooltip.is-start{left:0;translate:0 4px}.graph-tooltip.is-end{left:auto;right:0;translate:0 4px}.is-lit .graph-tooltip{opacity:1;translate:-50%}.is-lit .graph-tooltip:is(.is-start,.is-end){translate:0}.graph-path{cursor:pointer;color:rgb(var(--accent));transition:background-color var(--dur-hover) var(--ease-out);border-radius:4px;padding:0 3px;position:relative}.graph-path:before{content:"";position:absolute;inset:-14px -17px}.graph-path:hover{background:rgb(var(--raised))}.graph-keyhint kbd{border:1px solid rgb(var(--line-strong));color:rgb(var(--fg));border-bottom-width:3px;border-radius:4px;padding:0 5px;font-family:inherit}.graph-foot{color:rgb(var(--muted));font:11px IBM Plex Mono,monospace;position:absolute;bottom:6px;left:16px}[data-level=topic] .graph-foot{left:50%;translate:-50%}[data-still=true] :is(.graph-grow,.graph-edge,.is-receded .graph-topic){transition:none;animation:none}@container (width<=30rem){.graph-node{left:var(--narrow-x,var(--x))}.graph-node.is-tech{left:clamp(4rem, var(--x), 100% - 4rem)}.graph-topic{gap:6px;padding:4px 10px 4px 4px;font-size:12px}.graph-icon{width:26px;height:26px}.graph-count,.graph-foot,.graph-edge.is-far{display:none}.is-centre .graph-topic{padding:6px 12px 6px 6px;font-size:14px}.is-centre .graph-icon{width:32px;height:32px}[data-level=topic] .graph-area{bottom:62px}[data-level=topic] .graph-area:after{content:"";border-top:1px dashed rgb(var(--line-strong));position:absolute;bottom:-3px;left:0;right:0}.graph-node.is-receded{top:calc(100% + 31px);left:calc(50% + var(--slot) * 52px)}.is-receded .graph-topic{border-color:rgb(var(--line-strong));opacity:1;justify-content:center;width:44px;height:44px;padding:0;animation:none}.is-receded .graph-label{display:none}.is-receded .graph-icon{color:rgb(var(--muted));background:0 0}.is-receded .graph-icon svg{width:18px;height:18px}.graph-chip{white-space:normal;text-align:center;justify-content:center;max-width:7.5rem;min-height:34px;padding:2px 8px;font-size:11px;line-height:14px}}@media (width<=767px){.graph-keyhint{display:none}}@media (width<=1099px){.graph-name.is-long{display:none}}@media (width<=359px){.graph-name{display:none}}.agent-avatar{cursor:pointer;border:2px solid rgb(var(--accent));background:rgb(var(--raised));transition:transform var(--dur-press) var(--ease-out), box-shadow var(--dur-press) var(--ease-out);border-radius:12px;display:block;position:relative}.agent-avatar img{width:72px;height:72px;image-rendering:pixelated;border-radius:10px}.agent-avatar.is-away{border-color:rgb(var(--now));border-radius:9px;padding:1px}.agent-avatar.is-away img{border-radius:7px;width:40px;height:40px}.agent-avatar:hover,.agent-avatar:focus-visible{box-shadow:0 0 0 3px rgb(var(--now));transform:translateY(-2px)}.agent-avatar:focus-visible{outline:2px solid rgb(var(--now));outline-offset:5px}.agent-avatar:active{transform:scale(.97)}.agent-home-tag{background:rgb(var(--now));color:rgb(var(--bg));border-radius:3px;padding:3px 4px;font:10px/1 Silkscreen,monospace;position:absolute;bottom:-7px;right:-9px}.agent-home-tip{top:calc(100% + 10px);left:50%;translate:-50% 4px}.agent-avatar:is(:hover,:focus-visible)+.agent-home-tip{opacity:1;translate:-50%}.agent-wave{animation:.6s steps(4,end) wave}@keyframes wave{25%{rotate:-8deg}75%{rotate:8deg}}.agent-bubble{z-index:5;pointer-events:none;white-space:nowrap;border:2px solid rgb(var(--fg));background:rgb(var(--surface));box-shadow:2px 2px 0 rgb(var(--shadow));color:rgb(var(--fg));text-transform:uppercase;transition:opacity .15s var(--ease-out);padding:4px 8px;font-size:11px;position:absolute;bottom:calc(100% + .75rem);left:50%;translate:-50%}@container (width<=30rem){.agent-avatar:not(.is-away) img{width:60px;height:60px}}@media (prefers-reduced-motion:reduce){html:not(.allow-motion) .agent-avatar:is(:hover,:focus-visible,:active){transform:none}}.reduce-motion .agent-avatar:is(:hover,:focus-visible,:active){transform:none}.surprise-keys{gap:3px;display:inline-flex}.surprise-keys .key-cap{min-width:19px;height:20px;color:rgb(var(--muted));padding:0 3px;font-family:inherit;font-size:12px}.whoami{vertical-align:bottom;white-space:nowrap;width:6ch;animation:.24s steps(6,end) both whoami;display:inline-block;overflow:hidden}@keyframes whoami{0%{width:0}}.xp-cell{background:rgb(var(--line))}.xp-cell.is-lit{background:rgb(var(--accent))}[data-xp=wait] .xp-cell.is-lit{background:rgb(var(--line))}[data-xp=play] .xp-cell.is-lit{animation:xp-light 1ms steps(1) calc(var(--cell) * 60ms) both}@supports (animation-timeline:view()){[data-xp=scroll] .stack-tile{view-timeline:--tile block}[data-xp=scroll] .xp-cell.is-lit{animation:linear both xp-light}[data-xp=scroll] .stack-tile .xp-cell.is-lit{animation-timeline:--tile;animation-range:entry calc(30% + var(--cell) * 8%) entry calc(31% + var(--cell) * 8%)}}@keyframes xp-light{0%{background:rgb(var(--line))}}.meter-next{animation:1.8s ease-in-out infinite meter-next}@keyframes meter-next{50%{opacity:.25}}@media (prefers-reduced-motion:reduce){html:not(.allow-motion) .meter-next{animation:none}}.reduce-motion .meter-next{animation:none}.map-path{fill:none;stroke:rgb(var(--line-strong));stroke-width:3px;stroke-linecap:round;stroke-dasharray:3 9;vector-effect:non-scaling-stroke}[data-playing=true] .map-path{animation:1.2s linear infinite march}@keyframes march{to{stroke-dashoffset:-24px}}.map-node{box-shadow:2px 2px 0 rgb(var(--shadow))}[data-motion=on] .map-level:is(:hover,:focus-visible) .map-node{animation:.24s steps(2,end) forwards node-bob}@keyframes node-bob{to{translate:0 -4px}}.map-tooltip{opacity:0;transition:opacity .12s var(--ease-out)}.map-level:is(:hover,:focus-visible) .map-tooltip{opacity:1}.map-flag{left:calc(var(--x) + 30px);top:calc(var(--y) - 46px);background:rgb(var(--fg));width:3px;height:46px}.map-flag:after{content:"";border:2px solid rgb(var(--fg));background:rgb(var(--now));transform-origin:0;border-left:0;width:24px;height:16px;position:absolute;top:0;left:3px}[data-playing=true] .map-flag:after{animation:.8s steps(4,end) infinite alternate flag}@keyframes flag{0%{transform:skewY(-8deg)}to{transform:skewY(8deg)}}[data-playing=true] .map-bob{animation:1s steps(2,end) infinite alternate avatar-bob}@keyframes avatar-bob{to{translate:0 -4px}}.map-panel:not([hidden]){animation:panel-in .2s var(--ease-out)}@keyframes panel-in{0%{opacity:0;transform:translateY(6px)}}.quote-bubble{box-shadow:2px 2px 0 rgb(var(--shadow))}.chat-log{overflow:hidden;-webkit-mask-image:linear-gradient(#0000 .75rem,#00000040 2rem,#000 3.75rem);mask-image:linear-gradient(#0000 .75rem,#00000040 2rem,#000 3.75rem)}.heart-pop{animation:.24s step-end both heart-pop}@keyframes heart-pop{0%{scale:1.25}50%,to{scale:1}}.quote-caret{position:relative}.quote-caret:after{content:"";background:rgb(var(--accent) / .6);width:.4em;height:1.1em;position:absolute;bottom:-.2em;left:0}.typing-dots span{animation:.9s step-end infinite typing-dot;display:inline-block}.typing-dots span:nth-child(2){animation-delay:.15s}.typing-dots span:nth-child(3){animation-delay:.3s}@keyframes typing-dot{0%{translate:0 -3px}33%,to{translate:0}}@media (prefers-reduced-motion:reduce){.typing-dots span{animation:none}}@media (width>=1024px){body:has(.companion[data-stop=kindwords]:not(.is-seated)) .yuri-tile,body:has(.companion.is-still) .yuri-tile{visibility:hidden}}.companion{z-index:40;pointer-events:none;will-change:transform;position:absolute;top:0;left:0}.companion.is-still{z-index:20}.companion.is-greetable .companion-art{pointer-events:auto}body:has(.map-level:is(:hover,:focus-visible)) .companion{opacity:.25}body:has([aria-modal=true]:not([inert])) :is(.companion,.companion-hello),.companion.is-seated{visibility:hidden}.companion-hello{z-index:41;border:1px solid rgb(var(--edge));background:rgb(var(--surface));box-shadow:0 3px 0 rgb(var(--edge));color:rgb(var(--fg));pointer-events:none;visibility:hidden;opacity:0;transform-origin:bottom;transition:opacity var(--dur-hover) var(--ease-out), transform var(--dur-hover) var(--ease-out), visibility 0s var(--dur-hover);border-radius:4px;padding:4px 10px;font-family:Silkscreen,monospace;font-size:12px;line-height:16px;position:absolute;transform:translateY(4px)scale(.95)}.companion-hello:after{content:"";background:rgb(var(--edge));width:4px;height:4px;position:absolute;bottom:-8px;left:calc(50% - 2px)}.companion-hello.is-shown{visibility:visible;opacity:1;transition-delay:0s;transform:none}.companion-art{image-rendering:pixelated;background-repeat:no-repeat;position:absolute;inset:0}.companion:after{color:rgb(var(--now));font-family:Silkscreen,monospace;font-size:11px;display:none;position:absolute;top:-4px;right:-8px}@media (width<=1023.98px){.companion .companion-art{inset:25%}.companion:after{top:14px;right:6px}}.companion.is-sleeping:after{content:"z";animation:1.5s steps(3,end) infinite companion-z;display:block}.companion.is-cheering:after{content:"";border:2px solid rgb(var(--fg));background:linear-gradient(33deg, transparent 46%, rgb(var(--fg)) 47% 56%, transparent 57%) left / 50% 100% no-repeat, linear-gradient(-33deg, transparent 46%, rgb(var(--fg)) 47% 56%, transparent 57%) right / 50% 100% no-repeat, rgb(var(--now));width:20px;height:14px;display:block}.companion.is-greeting:after{display:none}@keyframes companion-z{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(10px,-16px)}}[data-companion-anchor=avatar] img{transition:opacity .4s ease-out}html.companion-away [data-companion-anchor=avatar] img{opacity:0}html.companion-away [data-companion-anchor=avatar]{outline:2px dashed rgb(var(--line-strong));outline-offset:-2px}
