:root{--bg:#0b0b0c;--surface:#151517;--surface-2:#1e1e21;--surface-3:#2c2c31;--line:#ffffff14;--text:#f4f4f5;--muted:#9d9da6;--rec:#ff3b30;--reading:#ffb020;--danger:#ff6b61;--chrome:#0e0e10a8;--radius:12px;--safe-t:env(safe-area-inset-top,0px);--safe-r:env(safe-area-inset-right,0px);--safe-b:env(safe-area-inset-bottom,0px);--safe-l:env(safe-area-inset-left,0px);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body,#root{height:100%}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;overscroll-behavior:none;-webkit-text-size-adjust:100%;margin:0;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Roboto,Segoe UI,system-ui,sans-serif;font-size:16px;line-height:1.4}button{font:inherit;color:inherit}button:disabled{opacity:.38;cursor:default}h1,h2{letter-spacing:-.01em;margin:0;font-weight:600}.meta{color:var(--muted);font-variant-numeric:tabular-nums;font-size:13px}.note{color:var(--muted);margin:0;font-size:13px}.btn{border-radius:var(--radius);cursor:pointer;white-space:nowrap;border:0;justify-content:center;align-items:center;gap:8px;height:48px;padding:0 18px;font-size:16px;font-weight:600;display:inline-flex}.btn--primary{background:var(--text);color:#0b0b0c}.btn--secondary{background:var(--surface-2)}.btn--quiet{color:var(--muted);background:0 0;height:40px;padding:0 12px;font-weight:500}.btn--danger{color:var(--danger);background:0 0}.btn:not(:disabled):active{transform:scale(.98)}.icon-btn{background:var(--chrome);width:48px;height:48px;color:var(--text);cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;display:inline-grid}.icon-btn--sm{background:0 0;width:36px;height:36px}.icon-btn--plain{background:0 0}.icon-btn:not(:disabled):active{background:var(--surface-3)}.icon-btn-spacer{flex:none;width:48px;height:48px}.studio{-webkit-user-select:none;user-select:none;touch-action:manipulation;background:#000;position:fixed;inset:0;overflow:hidden}.studio__stage{position:absolute;inset:0}.studio__video{object-fit:contain;background:#000;width:100%;height:100%;display:block}.studio__video.is-mirrored{transform:scaleX(-1)}.studio__status{color:var(--muted);place-items:center;display:grid;position:absolute;inset:0}.studio__error{z-index:8;padding:32px max(24px, var(--safe-l)) 32px max(24px, var(--safe-r));background:var(--bg);flex-direction:column;justify-content:center;gap:12px;max-width:520px;margin:0 auto;display:flex;position:absolute;inset:0}.studio__error h2{font-size:22px}.studio__error p{color:var(--muted);margin:0 0 8px}.studio__rec-error{color:var(--danger);text-align:center;margin:0;font-size:13px}.controls{z-index:6;padding:12px max(16px, var(--safe-l)) calc(16px + var(--safe-b)) max(16px, var(--safe-r));flex-direction:column;align-items:center;gap:12px;display:flex;position:absolute;bottom:0;left:0;right:0}.studio--left .controls,.studio--right .controls{width:auto;padding:calc(12px + var(--safe-t)) calc(16px + var(--safe-r)) calc(12px + var(--safe-b)) 12px;justify-content:center;inset:0 0 0 auto}.studio--right .controls{padding:calc(12px + var(--safe-t)) 12px calc(12px + var(--safe-b)) calc(16px + var(--safe-l));left:0;right:auto}.status-line{order:-1;align-items:center;min-height:28px;display:flex}.status-line .meta{background:var(--chrome);border-radius:999px;padding:4px 10px}.rec-pill{background:var(--rec);color:#fff;font-variant-numeric:tabular-nums;border-radius:999px;align-items:center;gap:8px;height:28px;padding:0 12px;font-size:15px;font-weight:600;display:inline-flex}.rec-pill i{background:#fff;border-radius:50%;width:8px;height:8px;animation:1s steps(2,start) infinite blink}.rec-pill.is-paused{background:var(--surface-3)}.rec-pill.is-paused i{background:var(--rec);animation:none}@keyframes blink{to{visibility:hidden}}.transport{background:var(--chrome);border-radius:999px;align-items:center;gap:4px;padding:4px;display:flex}.transport .icon-btn{background:0 0;width:44px;height:44px}.speed{border-left:1px solid var(--line);align-items:center;gap:2px;margin-left:2px;padding-left:4px;display:flex}.speed__value{flex-direction:column;align-items:center;min-width:44px;line-height:1.05;display:flex}.speed__value b{font-variant-numeric:tabular-nums;font-size:17px}.speed__value small{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:10px}.bar{justify-content:space-between;align-items:center;width:100%;max-width:440px;display:flex}.bar__side{gap:12px;display:flex}.bar__center{place-items:center;display:grid}.studio--left .bar,.studio--right .bar{flex-direction:column;gap:20px;width:auto}.studio--left .bar__side,.studio--right .bar__side{flex-direction:column}.studio--left .transport,.studio--right .transport{border-radius:28px;flex-direction:column}.studio--left .speed,.studio--right .speed{border-left:0;border-top:1px solid var(--line);flex-direction:column-reverse;margin:2px 0 0;padding:4px 0 0}.studio--left .controls{flex-direction:row}.studio--right .controls{flex-direction:row-reverse}.studio--left .status-line,.studio--right .status-line{display:none}.record{cursor:pointer;background:0 0;border:4px solid #fff;border-radius:50%;place-items:center;width:78px;height:78px;padding:0;display:grid}.record span{background:var(--rec);border-radius:50%;width:62px;height:62px;transition:width .18s,height .18s,border-radius .18s}.record.is-recording span{border-radius:7px;width:30px;height:30px}.record.is-arming span{opacity:.6;width:54px;height:54px}.countdown{z-index:7;cursor:pointer;background:#00000047;border:0;flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex;position:absolute;inset:0}.countdown span{font-variant-numeric:tabular-nums;font-size:34vmin;font-weight:200;line-height:1}.countdown small{color:#ffffffb3;font-size:14px}.prompter{z-index:5;background:var(--pt-bg);border-radius:14px;position:absolute;overflow:hidden}.prompter--top{top:calc(var(--safe-t) + var(--pt-offset));width:min(var(--pt-width), calc(100vw - 16px));height:var(--pt-height);left:50%;transform:translate(-50%)}.prompter--left,.prompter--right{top:calc(var(--safe-t) + 8px);bottom:calc(var(--safe-b) + 8px);width:min(var(--pt-width), 58vw)}.prompter--left{left:calc(var(--safe-l) + var(--pt-offset))}.prompter--right{right:calc(var(--safe-r) + var(--pt-offset))}.prompter__viewport{touch-action:none;cursor:grab;-webkit-mask-image:linear-gradient(to bottom, #00000061 0, #000 var(--pt-reading-y), #000 72%, transparent 100%);-webkit-mask-image:linear-gradient(to bottom, #00000061 0, #000 var(--pt-reading-y), #000 72%, transparent 100%);mask-image:linear-gradient(to bottom, #00000061 0, #000 var(--pt-reading-y), #000 72%, transparent 100%);position:absolute;inset:0}.prompter__viewport:active{cursor:grabbing}.prompter__mirror{position:absolute;inset:0}.prompter__content{left:0;right:0;top:var(--pt-reading-y);will-change:transform;padding:0 18px 0 20px;position:absolute}.prompter__text p{font-size:var(--pt-font);line-height:var(--pt-lh);color:var(--pt-color);letter-spacing:.003em;white-space:pre-line;text-wrap:pretty;text-shadow:0 1px 2px #0000008c;margin:0 0 .8em;font-weight:600}.prompter__viewport[data-align=center] .prompter__text p{text-align:center}.prompter__text p.prompter__empty{color:var(--muted);font-size:18px;font-weight:500}.prompter__marker{background:var(--reading);width:3px;left:6px;top:var(--pt-reading-y);height:calc(var(--pt-font) * var(--pt-lh));border-radius:2px;position:absolute}.prompter__progress{pointer-events:none;background:#ffffff1f;border-radius:1px;height:2px;position:absolute;bottom:5px;left:14px;right:14px}.prompter__progress div{transform-origin:0;background:#ffffff8c;height:100%;transform:scaleX(0)}.sheet{z-index:20;position:fixed;inset:0}.sheet__scrim{background:#00000073;position:absolute;inset:0}.sheet__panel{background:var(--surface);border-top:1px solid var(--line);border-radius:16px 16px 0 0;flex-direction:column;max-width:520px;max-height:64dvh;margin:0 auto;animation:.2s ease-out sheet-in;display:flex;position:absolute;bottom:0;left:0;right:0}@keyframes sheet-in{0%{opacity:0;transform:translateY(24px)}}.sheet__head{justify-content:space-between;align-items:center;padding:8px 8px 4px 20px;display:flex}.sheet__head h2{font-size:17px}.sheet__body{-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:4px 20px calc(24px + var(--safe-b));flex-direction:column;gap:18px;display:flex;overflow-y:auto}.stack{flex-direction:column;gap:18px;display:flex}.field{flex-direction:column;gap:8px;display:flex}.field__row{justify-content:space-between;align-items:baseline;display:flex}.field__label{color:var(--text);font-size:14px}.field__value{color:var(--muted);font-variant-numeric:tabular-nums;font-size:14px}.field__hint{color:var(--muted);margin-top:2px;font-size:12px;display:block}.range{appearance:none;background:0 0;width:100%;height:28px;margin:0}.range::-webkit-slider-runnable-track{background:linear-gradient(to right, var(--text) var(--fill), var(--surface-3) var(--fill));border-radius:2px;height:4px}.range::-moz-range-track{background:var(--surface-3);border-radius:2px;height:4px}.range::-moz-range-progress{background:var(--text);border-radius:2px;height:4px}.range::-webkit-slider-thumb{-webkit-appearance:none;background:#fff;border:0;border-radius:50%;width:22px;height:22px;margin-top:-9px;box-shadow:0 1px 3px #00000080}.range::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:22px;height:22px}.segmented{background:var(--surface-2);border-radius:10px;gap:3px;padding:3px;display:flex}.segmented__item{height:36px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;flex:1;font-size:14px;font-weight:500}.segmented__item[aria-checked=true]{background:var(--surface-3);color:var(--text)}.toggle{cursor:pointer;justify-content:space-between;align-items:center;gap:16px;display:flex}.toggle input{appearance:none;background:var(--surface-3);cursor:pointer;border-radius:14px;flex:none;width:46px;height:28px;margin:0;transition:background .15s;position:relative}.toggle input:after{content:"";background:#fff;border-radius:50%;width:22px;height:22px;transition:transform .15s;position:absolute;top:3px;left:3px}.toggle input:checked{background:#34c759}.toggle input:checked:after{transform:translate(18px)}.swatches{gap:12px;display:flex}.swatch{cursor:pointer;border:0;border-radius:50%;width:34px;height:34px;box-shadow:inset 0 0 0 1px #00000040}.swatch[aria-checked=true]{outline:2px solid var(--text);outline-offset:3px}.readout{border-top:1px solid var(--line);flex-direction:column;margin:0;display:flex}.readout div{border-bottom:1px solid var(--line);justify-content:space-between;gap:12px;padding:10px 0;display:flex}.readout dt{color:var(--muted);font-size:14px}.readout dd{font-variant-numeric:tabular-nums;text-align:right;margin:0;font-size:14px}.script{max-width:760px;height:100dvh;padding:calc(12px + var(--safe-t)) max(16px, var(--safe-r)) calc(12px + var(--safe-b)) max(16px, var(--safe-l));flex-direction:column;gap:12px;margin:0 auto;display:flex}.script__head{justify-content:space-between;align-items:center;min-height:44px;display:flex}.script__head h1{font-size:24px}.script__actions{gap:4px;display:flex}.script__editor{resize:none;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);width:100%;min-height:0;color:var(--text);font:inherit;flex:1;padding:16px;font-size:18px;line-height:1.6}.script__editor:focus{border-color:#ffffff3d;outline:none}.script__editor::placeholder{color:#66666e}.script__foot{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.script__notice{margin-top:-4px}.review{max-width:640px;min-height:100dvh;padding:calc(8px + var(--safe-t)) max(16px, var(--safe-r)) calc(24px + var(--safe-b)) max(16px, var(--safe-l));flex-direction:column;gap:14px;margin:0 auto;display:flex}.review__head{grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid}.review__head .btn{justify-self:start;padding-left:0}.review__head h1{font-size:17px}.review__player{border-radius:var(--radius);background:#000;place-items:center;display:grid;overflow:hidden}.review__player video{background:#000;width:100%;max-height:62dvh;display:block}.review__meta{text-align:center;margin:0}.review__actions{flex-direction:column;gap:10px;display:flex}.takes h2{color:var(--muted);margin:8px 0;font-size:15px;font-weight:500}.takes ul{flex-direction:column;gap:6px;margin:0 0 8px;padding:0;list-style:none;display:flex}.takes__item{text-align:left;border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:12px 14px;font-size:14px;display:flex}.takes__item.is-current{border-color:#ffffff4d}.studio__canvas-host{position:absolute;inset:0}.studio__canvas-host.is-mirrored .studio__video{transform:scaleX(-1)}.studio__canvas-host .studio__video{position:absolute;inset:0}.studio__badge{z-index:4;background:var(--chrome);color:var(--text);text-align:center;border-radius:999px;max-width:calc(100vw - 48px);padding:8px 14px;font-size:14px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.studio__badge.is-error{color:var(--danger);border-radius:12px}.note--warn{color:var(--reading)}.bg-grid{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.bg-tile{aspect-ratio:3/4;background:var(--surface-2);cursor:pointer;color:var(--muted);border:0;border-radius:10px;place-items:center;padding:0;display:grid;position:relative;overflow:hidden}.bg-tile img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.bg-tile span{color:#fff;text-align:left;background:linear-gradient(#0000,#000000b3);padding:14px 6px 6px;font-size:11px;font-weight:500;position:absolute;bottom:0;left:0;right:0}.bg-tile--upload span{color:var(--muted);text-align:center;background:0 0}.bg-tile[aria-checked=true]{outline:2px solid var(--text);outline-offset:2px}.import-progress{color:var(--muted);flex-direction:column;gap:8px;font-size:14px;display:flex}.import-progress__bar{background:var(--surface-3);border-radius:2px;height:4px;overflow:hidden}.import-progress__bar div{background:var(--text);transform-origin:0;height:100%;transition:transform .2s linear}.import-review__text{resize:vertical;border:1px solid var(--line);border-radius:var(--radius);background:var(--bg);width:100%;min-height:34dvh;color:var(--text);font:inherit;padding:12px;font-size:16px;line-height:1.55}.import-review__text:focus{border-color:#ffffff3d;outline:none}.import-review__actions{flex-direction:column;gap:8px;display:flex}
