*{box-sizing:border-box}html{overflow-anchor:none;scrollbar-width:thin;scrollbar-color:#6b7d77 #182224}body{margin:0;background:#182224;color:#e9eee6;font:15px/1.45 "Instrument Sans",system-ui,sans-serif;--rail:clamp(278px,28vw,435px);--head:54px;--foot:54px}button,a,input{touch-action:manipulation}button,a{color:inherit;font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,canvas:focus-visible{outline:2px solid #b4dc8a;outline-offset:3px}header,footer{position:fixed;z-index:5;left:0;right:0;background:#172124;display:flex;align-items:center;gap:16px;padding:0 22px}header{height:var(--head);top:0;border-bottom:1px solid #35454a}header b{font-size:20px;letter-spacing:-.04em;white-space:nowrap}.mark{color:#c1e39c}.tag{font-size:15px;color:#a8b9b7;font-weight:400}header button,footer button,dialog button{border:1px solid #50615e;background:#263331;border-radius:5px;padding:5px 9px;font-size:12px}header a,#detail{font-size:13px;text-decoration:none}header a:hover,#detail:hover{text-decoration:underline}#tasks{max-width:48vw;display:flex;align-items:center;gap:8px;margin-left:auto}#tasks i{background:#b5dc8c;width:7px;height:7px;border-radius:50%;flex:none}#current{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
#stage{position:fixed;inset:var(--head) 0 var(--foot);overflow:hidden;background:radial-gradient(ellipse at 38% 48%,#526060,#273235 62%,#172126)}#world{width:calc(100% - var(--rail));height:100%;display:block;touch-action:pan-y;cursor:grab}#world:active{cursor:grabbing}#caption{position:absolute;top:25px;left:clamp(18px,3.3vw,65px);max-width:calc(100% - var(--rail) - 50px);pointer-events:none;text-shadow:0 2px 6px #172024}#domain,.meter,.guide,footer label,footer output{font:12px/1.4 "IBM Plex Mono",ui-monospace,monospace}#domain{text-transform:uppercase;letter-spacing:.12em;color:#d3e3cf}h1{font-size:clamp(32px,4.2vw,75px);line-height:.99;letter-spacing:-.055em;font-weight:480;margin:9px 0}#load-state{position:absolute;left:30px;bottom:46px;font-size:13px}.guide{position:fixed;left:clamp(16px,3.3vw,65px);bottom:calc(var(--foot) + 14px);font-size:11px;color:#c5d2c9;pointer-events:none}.guide span{padding:0 3px}
#readout{position:fixed;right:0;top:var(--head);bottom:var(--foot);width:var(--rail);background:#eeeae0;color:#1d302b;padding:clamp(22px,3vw,50px);display:flex;flex-direction:column;justify-content:center;gap:19px;border-left:1px solid #65756c}.meter{display:flex;justify-content:space-between;gap:7px;color:#52665a;text-transform:uppercase;font-size:11px;letter-spacing:.07em}#description{margin:0;font-size:clamp(16px,1.32vw,22px);line-height:1.48;letter-spacing:-.01em}#adjust{border-top:1px solid #b4bcae;padding-top:12px;display:grid;grid-template-columns:1fr auto;gap:8px}#adjust label{font-weight:600;font-size:13px}#adjust output{font:12px ui-monospace,monospace;color:#476250}#adjust input{grid-column:1/-1;width:100%;accent-color:#496a51}#detail{align-self:flex-start;color:#385944;border-bottom:1px solid #b8c0b0}footer{bottom:0;height:var(--foot);border-top:1px solid #42524e}footer input{flex:1;min-width:50px;accent-color:#c8e79c}footer output{min-width:90px;text-align:right;color:#deecd3}.bench-label{position:absolute;pointer-events:none;background:#182222d9;color:#e1ebdc;padding:3px 7px;border:1px solid #8b9d8c88;border-radius:3px;font:11px ui-monospace,monospace;transform:translate(-50%,0);white-space:nowrap}dialog{color:#e5ece4;background:#202b2c;border:1px solid #65766c;border-radius:7px;width:min(580px,94vw);max-height:80vh;overflow:auto}dialog::backdrop{background:#0d1315a6}dialog>div{display:flex;gap:8px;align-items:center}dialog>div b{margin-right:auto}dialog ul,dialog ol{padding-left:22px}dialog li{font-size:13px;margin:4px 0}#events{border-top:1px solid #47544b;padding-top:10px}#track{height:30000px;pointer-events:none}[hidden]{display:none!important}
@media(max-width:760px){body{--head:44px;--foot:40px;--panel:clamp(193px,31dvh,285px)}header,footer{gap:7px;padding:0 8px}header b{font-size:16px}.tag{display:none}header a,header button{font-size:11px}#tasks{max-width:32vw}#world{width:100%;height:calc(100% - var(--panel))}#readout{top:auto;bottom:var(--foot);width:100%;height:var(--panel);padding:13px 20px;gap:7px;border-left:0;overflow:auto}#description{font-size:14px;line-height:1.35}#adjust{padding-top:5px;gap:2px}#detail{font-size:11px}.meter{font-size:9px}#caption{left:13px;top:13px;max-width:90%}h1{font-size:29px;margin:3px 0}#domain{font-size:9px}.guide{bottom:calc(var(--foot) + var(--panel) + 7px);left:12px;font-size:9px}footer label,footer output{font-size:10px}footer output{min-width:67px}#load-state{bottom:calc(var(--panel) + 32px)}.bench-label{font-size:8px;padding:1px 3px}}
@media(max-height:520px) and (orientation:landscape){body{--rail:34vw;--head:38px;--foot:35px}#world{width:calc(100% - var(--rail));height:100%}#readout{width:var(--rail);top:var(--head);height:auto;padding:12px;gap:6px}.guide{bottom:calc(var(--foot) + 5px)}#description{font-size:13px}}

#orbit-source{font-size:12px;color:#385944;text-decoration:underline;text-underline-offset:3px}

#selection-bar{position:absolute;bottom:41px;left:clamp(15px,3.3vw,65px);display:flex;align-items:center;gap:7px;max-width:calc(100% - var(--rail) - 32px);background:#192327df;border:1px solid #52625e;border-radius:5px;padding:5px 7px;font:12px system-ui}#selection-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#selection-bar button,#pick-part{font:12px system-ui;cursor:pointer;border:1px solid #89998b;border-radius:4px;padding:3px 7px;background:#edf0e8;color:#233b2c}#pick-label{font-size:12px;font-weight:650;margin-bottom:-14px}#pick-part{width:100%;padding:6px}#world{cursor:crosshair}#parameter:disabled{opacity:.5}@media(max-width:760px){#selection-bar{bottom:calc(var(--panel) + 22px);left:8px;max-width:95%;font-size:10px}#pick-label{margin-bottom:-5px}#readout{justify-content:flex-start;gap:5px}#pick-part{padding:3px}#selection-bar button{font-size:10px}.guide{font-size:8px}}@media(max-height:520px) and (orientation:landscape){#selection-bar{bottom:24px;max-width:58vw}}
/* Keep the controls above the SpaceSheep attribution in its embedded viewport. */
body{--foot:78px}footer{bottom:24px;height:calc(var(--foot) - 24px)}@media(max-width:760px){body{--foot:64px}}@media(max-height:520px) and (orientation:landscape){body{--foot:59px}}
