
*{box-sizing:border-box}body{margin:0;background:#10161b;color:#eee;font:14px ui-monospace,Consolas,monospace;overflow:hidden}button,a{font:inherit;color:inherit}button{background:#18232c;border:1px solid #536674;padding:8px 12px;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #ff7f50}button:disabled{opacity:.55;cursor:not-allowed}#view{position:absolute;inset:0;width:100%;height:100%;touch-action:none}header,footer{position:fixed;left:0;right:0;z-index:2;display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;padding:10px;background:#10161bea}header{top:0;border-bottom:1px solid #536674}footer{bottom:0;border-top:1px solid #536674}#path{color:#ff7f50;display:flex;gap:5px;flex-wrap:wrap}#path button{border:0;background:none;color:inherit;padding:5px}#hint{position:fixed;bottom:105px;left:12px;color:#c3cdd5;pointer-events:none;font-size:12px}#pet{position:fixed;right:12px;bottom:110px;width:62px;padding:0;background:none;border:0}#pet img{width:100%}dialog{overflow:auto;background:#10161b;color:#eee;border:1px solid #536674;max-width:94vw;max-height:92dvh;padding:16px}dialog::backdrop{background:#000c}#full img{display:block;max-width:88vw;max-height:75dvh;object-fit:contain;margin:auto}#map div{display:grid;gap:8px;margin:12px 0}#map button{text-align:left}#status{font-size:11px;color:#b9c5cd} @media(max-width:600px){button{padding:7px;font-size:12px}#hint{display:none}#pet{width:42px;bottom:130px}}
#veil{position:fixed;inset:0;background:#10161b;opacity:0;pointer-events:none;z-index:4;transition:opacity .22s}#veil.active{opacity:1}#mini{width:88px;height:58px;padding:2px}#mini svg{width:100%;height:100%}#pet{z-index:1;transition:transform 1.8s linear}#pet img{image-rendering:pixelated}#map #links{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}#map .branch{border:1px solid #536674;padding:8px;display:grid;gap:4px} @media(prefers-reduced-motion:reduce){#veil,#pet{transition:none}} 
body.contemplate header,body.contemplate footer,body.contemplate #pet,body.contemplate #hint{visibility:hidden}#exitContemplate{display:none;position:fixed;right:12px;bottom:12px;z-index:3;opacity:.65}body.contemplate #exitContemplate{display:block}#exitContemplate:hover,#exitContemplate:focus{opacity:1}
#portal{position:fixed;inset:0;width:100%;height:100%;z-index:5;pointer-events:none}#portal[hidden]{display:none}