.performance-heading{display:flex;flex-direction:column;gap:5px;margin-bottom:14px}.performance-heading strong{font-size:17px;font-weight:650}.performance-heading span{font-size:12px;color:#727b70}.performance-script-label{font-size:11px;font-weight:600;display:block;margin:8px 0}.performance-panel textarea{box-sizing:border-box;resize:vertical;min-height:130px;max-height:35vh;width:100%;border:1px solid #c9cec1;border-radius:8px;background:#fffdf6;color:#293c33;padding:11px;font:14px/1.55 ui-serif,Georgia,serif;user-select:text;-webkit-user-select:text}.performance-panel input,.performance-panel select{max-width:160px}.performance-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:15px 0}.performance-options label{display:flex;align-items:center;gap:7px;font-size:11px;line-height:1.4}.performance-options input[type=checkbox],.performance-follow-age input{accent-color:#547160}.performance-options input[type=number]{width:58px}.performance-options select{min-width:0;width:100%}.performance-intro{padding:14px 0 0;margin-top:14px;border-top:1px solid #c5cbbb}.performance-intro button{width:100%;font-weight:650}.performance-intro p{font-size:11px;color:#6e796c}.performance-status{min-height:1.4em}.performance-follow-age{display:flex;gap:7px;align-items:center;font-size:11px;margin:0 0 10px}.performance-panel code{font:12px ui-monospace,monospace;color:#72533d}.performance-panel .studio-help{margin:10px 0}.performance-panel button{touch-action:manipulation}
#otterchip-performance-button,#otterchip-intro-button{width:34px;height:34px;min-width:34px;padding:7px;border:1px solid #b5beb055;border-radius:8px;background:#fffdf4df;color:#435d4d;cursor:pointer}#otterchip-performance-button svg,#otterchip-intro-button svg{width:100%;height:100%;stroke:currentColor;stroke-width:1.5;fill:none;stroke-linejoin:round}#otterchip-performance-button[aria-pressed=true]{background:#dce8d6}#otterchip-performance-caption{position:fixed;bottom:calc(58px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);max-width:min(680px,calc(100vw - 40px));box-sizing:border-box;width:max-content;margin:0;padding:8px 13px;border-radius:7px;background:#fffdf3e8;color:#2f4638;font:500 15px/1.45 ui-serif,Georgia,serif;text-align:center;pointer-events:none;z-index:105;box-shadow:0 2px 18px #2834280b}#otterchip-performance-caption:empty{display:none}#otterchip-performance-transport{position:fixed;top:max(16px,env(safe-area-inset-top,0px));left:max(16px,env(safe-area-inset-left,0px));display:flex;gap:5px;padding:4px;border-radius:10px;background:#fffdf3d9;z-index:106}#otterchip-performance-transport[hidden]{display:none}#otterchip-performance-transport button{width:31px;height:31px;border:0;background:transparent;color:#405749;border-radius:6px;cursor:pointer}#otterchip-performance-transport::after{content:'';position:absolute;bottom:0;left:5px;right:5px;height:2px;transform-origin:left;transform:scaleX(var(--progress,0));background:#849d76;border-radius:2px}.otterchip-performing #otterchip-fit-hud,.otterchip-performing #otterchip-fit-overlay{display:none!important}
@media(max-width:600px){#otterchip-performance-button,#otterchip-intro-button{width:30px;min-width:30px;height:30px;padding:6px}#otterchip-compact-bar{column-gap:4px!important}#otterchip-performance-caption{font-size:13px;bottom:calc(57px + env(safe-area-inset-bottom,0px))}.performance-panel textarea{font-size:16px}.performance-options{gap:9px}}
@media(prefers-reduced-motion:reduce){.performance-panel *{scroll-behavior:auto}}
#otterchip-editor .performance-panel textarea{font:14px/1.55 ui-serif,Georgia,serif;color:#293c33;background:#fffdf6;padding:11px}
@media(max-width:600px){#otterchip-editor .performance-panel textarea{font-size:16px}}

#otterchip-film-white{position:fixed;inset:0;background:#fff;opacity:0;pointer-events:none;z-index:10000}#otterchip-film-white[hidden]{display:none}.performance-midi-actions{flex-wrap:wrap;margin-top:8px}.performance-midi-actions input[hidden]{display:none!important}

.otterchip-performing #otterchip-compact-bar{display:none!important}

html.otterchip-home-page #otterchip-performance-caption,html.otterchip-home-page #otterchip-performance-transport,html.otterchip-home-page #otterchip-film-white{position:absolute!important}
html.otterchip-home-page:not(.otterchip-home-configuring) #otterchip-performance-transport,html.otterchip-home-page:not(.otterchip-home-configuring) #otterchip-compact-bar,html.otterchip-home-page:not(.otterchip-home-configuring) #otterchip-screenshot-toggle{display:none!important}
html.otterchip-home-page.otterchip-home-away #otterchip-performance-transport{display:none!important}

html.otterchip-home-page #otterchip-performance-transport{left:auto!important;right:max(16px,env(safe-area-inset-right,0px))}
