:root{font-family:Inter,system-ui,sans-serif;color:#27263a;background:#f7f5f0;color-scheme:light}*{box-sizing:border-box}body{margin:0}header,main{width:min(1060px,94%);margin:auto}header{padding:18px 0;border-bottom:1px solid #d8d4cc;display:flex;align-items:center;justify-content:space-between}header a{color:#4d3d76}header span{font-weight:700}h1,legend{font-family:Georgia,serif}h1{font-size:clamp(2rem,5vw,3.8rem);margin:22px 0 16px}.workspace{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);align-items:start;gap:24px;padding-bottom:30px}#stage{position:relative;overflow:hidden;border-radius:18px;background:#151b28;aspect-ratio:9/12;min-width:0}canvas{width:100%;height:100%;display:block}#stage:fullscreen{border-radius:0;width:100vw;height:100vh}#stage:fullscreen #fullscreen{opacity:.18}#stage:fullscreen #fullscreen:focus,#stage:fullscreen #fullscreen:hover{opacity:1}#fullscreen{position:absolute;bottom:12px;right:12px;color:#fff;background:#242638cc;border:0;font-size:.8rem}fieldset{padding:16px 20px 19px;margin:0 0 16px;border:1px solid #ded9d0;border-radius:12px;background:#fff}legend{font-size:1.45rem;font-weight:700;color:#302139;padding:0 .4em}label{display:grid;gap:5px;margin-bottom:12px;font-weight:600;font-size:.88rem}input,select,textarea,button{font:inherit;border:1px solid #c5c1bc;border-radius:8px;background:#fff;padding:8px 10px;min-width:0}input[type=color]{width:100%;height:40px;padding:4px;cursor:pointer}.colors{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}p,output{line-height:1.45;color:#4f4d5b;font-size:.92rem}p{margin:0 0 16px}.repeat{display:flex;gap:8px;align-items:center}.buttons{display:flex;gap:8px}button{cursor:pointer;font-weight:650}button:disabled{opacity:.55;cursor:default}#speak{background:#453861;color:#fff}output{display:block;margin-top:10px}@media(max-width:680px){h1{margin:15px 0}.workspace{grid-template-columns:1fr;gap:14px}#stage{height:min(56vh,540px);width:100%;aspect-ratio:auto}fieldset{padding:12px 14px}}[hidden]{display:none!important}.human-avatar-picker{margin-bottom:10px;padding:0;border:0}.human-avatar-picker legend{font-size:1.13rem;padding:0;margin-bottom:12px}.human-avatar-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
