#creature-desk{box-sizing:border-box;width:min(930px,96vw);max-height:92dvh;overflow:auto;padding:clamp(12px,2.4vw,23px);border:1px solid #83768d;border-radius:12px;background:#211f2a;color:#f0e8ed;color-scheme:dark}
#creature-desk::backdrop{background:#0f0c17d9;backdrop-filter:blur(4px)}
#creature-desk header{display:flex;align-items:center;justify-content:space-between;gap:10px}#creature-desk small,#cm-repr,#cm-bricks,#cm-bits{font-family:ui-monospace,monospace}#creature-desk small{color:#cab5db}
#creature-desk h2{margin:.15em 0 .4em;font-size:clamp(1.55rem,4vw,2.2rem)}#creature-desk h3{margin:.2em 0 .55em}#creature-desk p{font-size:.94rem;margin:.5em 0;color:#e0d6e2}
.cm-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.55fr);gap:12px}.cm-panel{min-width:0;padding:12px;border-radius:8px;border:1px solid #5d5368;background:#2b2837}.cm-memory{margin-top:12px}
#cm-stage{background:radial-gradient(ellipse at center,#45445b,#252435 68%);border-radius:8px;display:grid;place-items:center}#cm-stage svg{width:200px;max-width:100%;height:130px}#cm-arm{transform-origin:153px 102px;transform:rotate(var(--paw,-10deg));transition:transform .22s ease-out}#cm-sound-rays{opacity:0}.cm-audible #cm-sound-rays{opacity:1}
.cm-row,#cm-timeline,#cm-bricks,#cm-bits{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.cm-row{margin-top:7px}#creature-desk button{padding:6px 9px;font-size:.91rem;min-height:36px}#creature-desk button:disabled{opacity:.48;cursor:default}#creature-desk label{display:inline-flex;align-items:center;gap:5px;font-size:.88rem}
#creature-desk input[type=number],#creature-desk select{background:#1d1a25;border:1px solid #807089;color:inherit;padding:5px;border-radius:4px;font:inherit}#creature-desk input[type=number]{width:4.4em}.cm-track{border-left:3px solid #e3a887;padding:7px 8px;margin-top:9px}.cm-track.pcm{border-color:#95c8d1}
#cm-wave{width:100%;height:66px;background:#131e27;display:block;margin-top:8px;border-radius:4px}#cm-timeline button[aria-pressed=true],#cm-bricks button[aria-pressed=true]{outline:2px solid #f4da95;outline-offset:1px}#cm-timeline .cm-playing,#cm-bricks .cm-playing{box-shadow:inset 0 0 0 2px #e9dd91}#cm-bricks button{display:grid;text-align:left;min-width:92px;border-bottom:4px solid #af765f;background:#493640}#cm-bricks button[data-track="1"]{background:#243d48;border-color:#759aa5}#cm-bricks button[disabled]{border-style:dashed}#cm-bricks small{font-size:.7rem}#cm-bits button{min-width:32px;font-family:ui-monospace,monospace}#cm-bits button[aria-pressed=true]{background:#ded388;color:#191320}#cm-repr{display:block;color:#f8dda3;margin:.65em 0 0;overflow-wrap:anywhere}#cm-goal{color:#d9efa8!important;min-height:1.2em}
@media(max-width:700px){.cm-layout{grid-template-columns:1fr}#creature-desk button{min-height:40px}.cm-panel{padding:9px}#cm-stage svg{height:108px}}
@media(prefers-reduced-motion:reduce){#cm-arm{transition:none}}
