.app-window-content>.CodeStudio-module__fviSoG__studio.app-panel{width:min(1190px,100%);color:var(--app-ink);gap:14px;padding:clamp(10px,2.4vw,24px);display:grid}.CodeStudio-module__fviSoG__workspace{grid-template-columns:minmax(0,1.03fr) minmax(0,1fr);align-items:start;gap:12px;display:grid}.CodeStudio-module__fviSoG__preview,.CodeStudio-module__fviSoG__editor{border:1px solid var(--app-line);background:var(--app-notice);border-radius:16px;gap:9px;min-width:0;padding:clamp(8px,1.4vw,15px);display:grid}.CodeStudio-module__fviSoG__preview{position:sticky;top:0}.CodeStudio-module__fviSoG__stageHeading,.CodeStudio-module__fviSoG__stageControls,.CodeStudio-module__fviSoG__actors,.CodeStudio-module__fviSoG__triggers,.CodeStudio-module__fviSoG__stageFooter,.CodeStudio-module__fviSoG__paletteChoices,.CodeStudio-module__fviSoG__blockRow,.CodeStudio-module__fviSoG__blockValue,.CodeStudio-module__fviSoG__blockControls{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.CodeStudio-module__fviSoG__stageHeading,.CodeStudio-module__fviSoG__blockRow{justify-content:space-between}.CodeStudio-module__fviSoG__studio .CodeStudio-module__fviSoG__stageHeading h2,.CodeStudio-module__fviSoG__studio .CodeStudio-module__fviSoG__stageHeading h3{color:var(--app-ink);margin:0;font-size:clamp(1.05rem,2.3vw,1.35rem);font-weight:850}.CodeStudio-module__fviSoG__studio button{border:1px solid var(--app-line);background:var(--app-control);min-width:44px;min-height:44px;color:var(--app-ink);font:inherit;cursor:pointer;touch-action:manipulation;border-radius:9px;justify-content:center;align-items:center;gap:6px;padding:5px 9px;font-size:.86rem;font-weight:750;display:inline-flex}.CodeStudio-module__fviSoG__studio button:hover:enabled{background:var(--app-control-hover)}.CodeStudio-module__fviSoG__studio button:disabled{cursor:default;opacity:.56}.CodeStudio-module__fviSoG__studio .CodeStudio-module__fviSoG__primary,.CodeStudio-module__fviSoG__studio :is(.CodeStudio-module__fviSoG__actors,.CodeStudio-module__fviSoG__triggers,.CodeStudio-module__fviSoG__loop) button[aria-pressed=true]{border-color:var(--app-selected);background:var(--app-selected);color:#fff}.CodeStudio-module__fviSoG__studio button:is(.CodeStudio-module__fviSoG__primary,[aria-pressed=true]):is(:hover,:active):enabled{background:color-mix(in srgb,var(--app-selected),#000 16%);color:#fff}.CodeStudio-module__fviSoG__stageSurface{aspect-ratio:4/3;border:1px solid var(--app-line);background:#f1edff url(/code-studio/background.png) 50%/100% 100%;border-radius:13px;width:100%;position:relative;overflow:hidden}.CodeStudio-module__fviSoG__canvas{display:block;position:absolute;inset:0;width:100%!important;height:100%!important}.CodeStudio-module__fviSoG__canvas[data-visible=false]{opacity:0;pointer-events:none}.CodeStudio-module__fviSoG__studio .CodeStudio-module__fviSoG__fallbackActor{background:0 0;border:0;width:16.667%;height:22.222%;padding:0;transition:left .22s,top .22s,transform .22s;position:absolute}.CodeStudio-module__fviSoG__studio .CodeStudio-module__fviSoG__fallbackActor:hover:enabled{background:0 0}.CodeStudio-module__fviSoG__fallbackActor img{object-fit:contain;width:100%;height:100%;display:block}.CodeStudio-module__fviSoG__speech{z-index:1;color:#29244b;overflow-wrap:anywhere;pointer-events:none;background:#fff;border:1px solid #9584c4;border-radius:11px;width:max-content;max-width:min(65%,195px);padding:7px 10px;font-size:.85rem;font-weight:750;line-height:1.3;position:absolute;transform:translate(-50%,calc(-100% - 22px))}.CodeStudio-module__fviSoG__stageFooter p,.CodeStudio-module__fviSoG__script>p,.CodeStudio-module__fviSoG__loop>p{color:var(--app-muted);margin:0;font-size:.85rem}.CodeStudio-module__fviSoG__palette,.CodeStudio-module__fviSoG__script{border:1px solid var(--app-line);background:var(--app-control);border-radius:11px;gap:6px;min-width:0;padding:8px;display:grid}.CodeStudio-module__fviSoG__script{align-content:start;min-height:85px}.CodeStudio-module__fviSoG__paletteChoices button{background:color-mix(in srgb,var(--app-control)84%,var(--block-color,#799dec));border-color:color-mix(in srgb,var(--app-line)50%,var(--block-color,#799dec));cursor:grab;touch-action:none}.CodeStudio-module__fviSoG__studio [data-kind=move],.CodeStudio-module__fviSoG__studio [data-kind=turn]{--block-color:#6295eb}.CodeStudio-module__fviSoG__studio [data-kind=say]{--block-color:#b084e7}.CodeStudio-module__fviSoG__studio [data-kind=wait]{--block-color:#45b9a1}.CodeStudio-module__fviSoG__studio [data-kind=repeat]{--block-color:#e8ac4a}.CodeStudio-module__fviSoG__stack{gap:5px;min-width:0;margin:0;padding:0;list-style:none;display:grid}.CodeStudio-module__fviSoG__block{border:1px solid var(--app-line);border-inline-start:4px solid var(--block-color);background:color-mix(in srgb,var(--app-control)94%,var(--block-color));border-radius:8px;min-width:0;padding:4px 5px 4px 7px}.CodeStudio-module__fviSoG__block[data-active=true],.CodeStudio-module__fviSoG__studio [data-over=true]{outline:2px solid var(--app-selected);outline-offset:-1px}.CodeStudio-module__fviSoG__blockValue{min-width:0;font-size:.84rem}.CodeStudio-module__fviSoG__blockValue input{border:1px solid var(--app-line);background:var(--app-control);width:66px;min-height:44px;color:var(--app-ink);font:inherit;border-radius:7px;padding:4px;font-size:1rem}.CodeStudio-module__fviSoG__blockValue input[aria-label="Words to say"]{width:min(172px,100%)}.CodeStudio-module__fviSoG__blockControls button{padding:0}.CodeStudio-module__fviSoG__blockControls{gap:2px}.CodeStudio-module__fviSoG__loop{border:1px dashed var(--app-line);border-radius:8px;gap:6px;min-width:0;margin:5px 0 2px 7px;padding:6px;display:grid}.CodeStudio-module__fviSoG__loopButton{justify-self:start}.CodeStudio-module__fviSoG__ghost{z-index:98;border:2px solid var(--block-color);background:var(--app-control);color:var(--app-ink);pointer-events:none;border-radius:9px;padding:7px 11px;font-size:.85rem;font-weight:800;position:fixed;transform:translate(-50%,-50%)}@media (max-width:820px){.CodeStudio-module__fviSoG__workspace{grid-template-columns:minmax(0,1fr)}.CodeStudio-module__fviSoG__preview{position:static}.CodeStudio-module__fviSoG__stageSurface{max-width:490px;margin-inline:auto}}@media (prefers-reduced-motion:reduce){.CodeStudio-module__fviSoG__studio .CodeStudio-module__fviSoG__fallbackActor{transition:none}}
