.back-btn{height:32px;border:0;border-radius:10px;padding:0 12px;display:inline-flex;align-items:center;gap:8px;background:transparent;color:var(--tp-gray-text);font-size:14px;font-weight:500;white-space:nowrap;cursor:pointer;transition:background-color .15s ease}.back-btn:hover{background:var(--tp-surface-hover)}.back-btn svg{flex:none}*{box-sizing:border-box}html.tp-page,body.tp,.tp-overlay{width:100%;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background:var(--tp-page-bg);color:var(--tp-page-text)}.tp-overlay{position:fixed;inset:0;z-index:var(--z-overlay)}body.tp button,.tp-overlay button{font:inherit}.app{position:relative;width:100%;height:100vh;height:100dvh;min-height:520px;background:var(--tp-page-bg);overflow:hidden;overscroll-behavior:none}.app-header{position:absolute;inset:0 0 auto;height:60px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 20px;background:var(--tp-page-bg);transition:background 1.1s cubic-bezier(.45,0,.2,1)}.app.record-dim .app-header{background:transparent;pointer-events:auto}.app-header .header-left{transition:opacity .28s ease,transform .28s ease,visibility .28s ease}.app-header .record-controls{opacity:1;filter:none;transition:opacity .28s ease,filter .28s ease}.app.record-dim .app-header .header-left{opacity:0;visibility:hidden;transform:translateY(-8px) scale(.94)}.app.record-dim .app-header .record-controls{opacity:.6;filter:saturate(.9) brightness(.96);pointer-events:auto}.app.record-dim.mirror-on .app-header .record-controls,.app.record-dim .app-header:hover .record-controls{opacity:.6;filter:saturate(.9) brightness(.96)}.app.record-dim.record-paused .app-header .record-controls{opacity:1;filter:none}.app.record-dim.record-paused .reading-action-button,.app.record-dim.record-paused .pause-button{color:var(--tp-page-text);border-color:var(--tp-page-text)}.app.record-dim.record-paused .pause-button svg{color:var(--tp-page-text)}.app.record-dim:not(.record-paused) .app-header .record-controls:hover,.app.record-dim:not(.record-paused) .record-controls:focus-within{opacity:.6;filter:saturate(.9) brightness(.96)}.header-left{justify-self:start;display:flex;align-items:center;gap:16px;min-width:0}.logo-btn{border:0;padding:0;background:none;color:var(--tp-page-text);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex:none;min-height:44px;min-width:44px}.logo-btn svg{height:28px;width:auto;display:block}.header-divider{width:1px;height:12px;background:var(--tp-divider);flex:none}.record-controls{position:absolute;top:50%;right:20px;transform:translateY(-50%);display:flex;align-items:center;gap:6px;z-index:13}.app-header .record-controls{z-index:48}.reading-action-button{display:none;height:36px;border:1px solid var(--tp-control-border);border-radius:10px;padding:0 11px;align-items:center;justify-content:center;gap:6px;background:var(--tp-surface);color:var(--tp-gray-text);font-size:12px;font-weight:500;white-space:nowrap;cursor:pointer;transition:transform .15s ease,filter .15s ease}.app.record-dim .restart-reading-button,.app.playback-only .exit-playback-button{display:inline-flex}.app.playback-only .record-button{display:none}.reading-action-button:hover{filter:brightness(.97);transform:translateY(-1px)}.reading-action-button:active{transform:translateY(0)}.reading-action-button:focus-visible,.pause-button:focus-visible,.header-play-button:focus-visible,.record-button:focus-visible{outline:2px solid currentColor;outline-offset:2px}.pause-button{display:none;height:32px;border:1px solid var(--tp-control-border);border-radius:10px;padding:0 12px;align-items:center;justify-content:center;gap:6px;background:var(--tp-surface);color:var(--tp-gray-text);font-size:12px;font-weight:500;cursor:pointer;transition:transform .15s ease,filter .15s ease}.pause-button.show{display:inline-flex}.pause-button:hover{filter:brightness(.97);transform:translateY(-1px)}.pause-button:active{transform:translateY(0)}.pause-button svg{color:var(--tp-gray-text)}.pause-button .icon-play,.pause-button.paused .icon-pause{display:none}.pause-button.paused .icon-play{display:block}.header-play-button{height:34px;border:0;border-radius:10px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--tp-page-text);color:var(--tp-page-bg);font-size:14px;font-weight:700;line-height:1;cursor:pointer;transition:transform .15s ease,opacity .15s ease}.header-play-button:hover{opacity:.88;transform:translateY(-1px)}.header-play-button:active{transform:translateY(0)}.header-play-button.hidden{display:none}.header-play-button svg{width:24px;height:24px;color:var(--tp-page-bg)}.header-play-button .icon-pause,.header-play-button.playing .icon-play{display:none}.header-play-button.playing .icon-pause{display:block}.record-button{height:36px;border:0;border-radius:10px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--tp-record-btn);color:var(--tp-white);font-size:14px;font-weight:500;line-height:1;-webkit-font-smoothing:antialiased;box-shadow:none;cursor:pointer;z-index:13;transition:opacity .1s}.record-button:hover{opacity:.92}.record-button:active{opacity:.85}.record-dot{width:12px;height:12px;border-radius:50%;background:var(--tp-record-dot);flex:none}.record-button.recording .record-dot{border-radius:2px;animation:recordPulse 1.1s infinite}.record-button.paused .record-dot{animation-play-state:paused;opacity:.55}@keyframes recordPulse{0%,to{opacity:1}50%{opacity:.45}}.stage{position:absolute;inset:60px 0 0;background:var(--tp-page-bg);overflow:hidden;transition:background 1.1s cubic-bezier(.45,0,.2,1)}.app.record-dim .stage{top:0}.app.cam-on .stage{background:var(--tp-camera-bg)}.app:not(.cam-on) .camera-canvas{display:none}.app:not(.cam-on) .panel{display:none}.app.cam-on .prompt-box{display:none}.app .prompt-box{position:absolute;inset:0;min-height:166px;border:0;padding:28px clamp(80px,14vw,260px) 120px;outline:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color:var(--tp-prompt-text);font-size:clamp(24px,2.3vw,30px);font-weight:400;line-height:1.25;letter-spacing:-.018em;caret-color:var(--tp-blue);overflow:auto;overscroll-behavior:none;white-space:pre-wrap;word-break:break-word;box-shadow:none}html[data-theme=light] .app .prompt-box{color:#000;caret-color:var(--tp-blue)!important}html[data-theme=dark] .app .prompt-box{color:#fff;caret-color:var(--tp-blue)!important}.app.record-dim .prompt-box{scrollbar-width:none}.app.record-dim .prompt-box::-webkit-scrollbar{display:none}.app .prompt-box:focus{box-shadow:none}.app .prompt-box:empty:before{content:attr(data-placeholder);opacity:.45}.app .prompt-box::-webkit-scrollbar{width:7px}.app .prompt-box::-webkit-scrollbar-thumb{background:var(--tp-scrollbar-thumb);border-radius:999px}.app .prompt-box.hidden{display:none}.camera-canvas{position:absolute;top:50%;left:50%;width:100%;height:100%;transform:translate(-50%,-50%);overflow:hidden;background:var(--tp-camera-bg);border-radius:3px;z-index:1}.camera-feed{width:100%;height:100%;object-fit:contain;transform:scaleX(-1);background:var(--tp-camera-bg)}.camera-feed.hidden{visibility:hidden}.camera-loading-status{position:absolute;z-index:var(--tp-z-camera-status);margin:0;color:color-mix(in srgb,var(--tp-white) 72%,transparent);font-family:var(--font-sans);font-size:1.625rem;font-weight:400;line-height:1.4;letter-spacing:.02em;pointer-events:none;transform:translate(-50%,64px);white-space:nowrap}.camera-loading-status[hidden]{display:none}.camera-loading-dots span{display:inline-block;opacity:.25;animation:camera-loading-dot calc(var(--dur-normal) * 4) ease-in-out infinite}.camera-loading-dots span:nth-child(2){animation-delay:var(--dur-fast)}.camera-loading-dots span:nth-child(3){animation-delay:calc(var(--dur-fast) * 2)}@keyframes camera-loading-dot{0%,60%,to{opacity:.25;transform:translateY(0)}30%{opacity:1;transform:translateY(-2px)}}@media(prefers-reduced-motion:reduce){.camera-loading-dots span{opacity:1;animation:none}}.panel{--tp-panel-stage-offset: 0px;position:absolute;top:24px;left:50%;transform:translate(-50%) translateY(var(--tp-panel-stage-offset));width:600px;max-width:min(92%,600px);height:400px;max-height:calc(100% - 130px);background:var(--tp-panel-bg-dark-60);border-radius:20px;overflow:hidden;box-shadow:none;z-index:46}.panel.is-dragging{will-change:transform}.app.record-dim .panel{--tp-panel-stage-offset: 60px}.app.cam-on .stage{overflow:visible}.app.cam-on .layout-frame{z-index:47}.resize-handle{position:absolute;z-index:22;touch-action:none}.resize-handle[data-resize=nw]:hover,.resize-handle[data-resize=ne]:hover,.resize-handle[data-resize=sw]:hover,.resize-handle[data-resize=se]:hover{background:#ffffff1f}.resize-handle[data-resize=n]{top:0;left:18px;right:18px;height:7px;cursor:ns-resize}.resize-handle[data-resize=s]{bottom:0;left:18px;right:18px;height:7px;cursor:ns-resize}.resize-handle[data-resize=e]{right:0;top:18px;bottom:18px;width:7px;cursor:ew-resize}.resize-handle[data-resize=w]{left:0;top:18px;bottom:18px;width:7px;cursor:ew-resize}.resize-handle[data-resize=nw]{top:0;left:0;width:18px;height:18px;cursor:nwse-resize;border-top-left-radius:20px}.resize-handle[data-resize=ne]{top:0;right:0;width:18px;height:18px;cursor:nesw-resize;border-top-right-radius:20px}.resize-handle[data-resize=sw]{bottom:0;left:0;width:18px;height:18px;cursor:nesw-resize;border-bottom-left-radius:20px}.resize-handle[data-resize=se]{bottom:0;right:0;width:18px;height:18px;cursor:nwse-resize;border-bottom-right-radius:20px}.drag-handle{position:absolute;top:6px;left:50%;transform:translate(-50%);display:grid;grid-template-columns:repeat(4,4px);grid-template-rows:repeat(2,4px);gap:4px;z-index:20;cursor:grab;padding:5px 8px;touch-action:none}.drag-handle.dragging{cursor:grabbing}.drag-handle span{width:4px;height:4px;border-radius:50%;background:#ffffff8c}.control-bar-resize,.control-bar .panel-edit-btn{display:none}.app.cam-on:not(.record-dim) .panel-edit-btn{display:flex}.panel-edit-btn:hover,.panel-edit-btn.active{color:var(--tp-green)}.app.record-dim .theme-btn-bar,.app.record-dim .control-bar-resize{display:none}.app.record-dim:not(.playback-only) .control-bar{display:none}.teleprompter{box-sizing:border-box;position:absolute;top:0;left:0;z-index:15;width:100%;height:calc(100% - 40px);margin-top:20px;padding:60px 64px;overflow-y:auto;overscroll-behavior:none;font-size:32px;font-weight:500;line-height:1.25;color:var(--tp-white);background:transparent;border:none;outline:none;scrollbar-width:none;white-space:pre-wrap;word-break:break-word;caret-color:var(--tp-white);text-align:center;-webkit-mask-image:linear-gradient(0deg,transparent 0%,var(--tp-mask-color, rgba(24, 25, 27, 1)) 64px);mask-image:linear-gradient(0deg,transparent 0%,var(--tp-mask-color, rgba(24, 25, 27, 1)) 64px)}.teleprompter::-webkit-scrollbar{display:none}.teleprompter:empty:before{content:attr(data-placeholder);color:#fff9}.app .prompt-box:after,.teleprompter:after,.notch-scroll:after{display:block;height:var(--tp-scroll-tail, 0px);pointer-events:none;content:""}.control-bar{position:absolute;bottom:0;left:0;width:100%;height:40px;background:var(--tp-control-bar-bg);display:flex;align-items:center;justify-content:space-between;padding:0 16px;z-index:20}.control-bar button{background:none;border:none;color:var(--tp-white);cursor:pointer;display:flex;align-items:center;justify-content:center;padding:6px;opacity:.9}.control-bar button:hover{opacity:1}.control-bar #layoutControl{display:flex;flex-direction:row;gap:0;min-width:32px}.control-bar #layoutControl .icon-wrap,.control-bar #layoutControl .action-btn,.control-bar #layoutControl .action-btn svg{width:20px;height:20px}.control-bar #layoutControl .label{display:none}.theme-btn-bar .icon-contrast{display:block}.control-bar .side{display:flex;align-items:center;gap:14px}.control-bar .center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:18px}.play-btn{width:32px;height:32px;border-radius:50%;background:transparent;flex-shrink:0}.play-btn svg{fill:var(--tp-white);width:20px;height:20px}.app.record-dim:not(.playback-only) .play-btn,.app.record-dim:not(.playback-only) .pause-button{display:none}.countdown{position:absolute;inset:0;z-index:25;display:none;align-items:center;justify-content:center;background:#00000059;color:var(--tp-white);font-size:120px;font-weight:700}.countdown.show{display:flex}.toolbar-shell{position:absolute;left:50%;bottom:20px;transform:translate(-50%);z-index:var(--z-overlay);width:fit-content;height:fit-content;max-width:calc(100vw - 24px);background:var(--tp-surface);border:0;border-radius:22px;padding:10px 18px 8px;box-shadow:0 6px 20px #181c2614;transition:opacity .9s cubic-bezier(.45,0,.2,1),visibility .9s;overscroll-behavior:none}.app.cam-on .toolbar-shell{box-shadow:0 6px 20px #181c262e}.app.record-dim .toolbar-shell{opacity:0;visibility:hidden;pointer-events:none}.toolbar{display:flex;align-items:flex-end;justify-content:center;gap:22px;margin-bottom:0;padding:0;background:transparent;border-radius:0;box-shadow:none;flex-wrap:nowrap;white-space:nowrap}.item{display:flex;flex-direction:column;align-items:center;gap:2px;cursor:pointer;-webkit-user-select:none;user-select:none;border:0;background:transparent;padding:0;min-width:48px}.icon-wrap{position:relative;width:36px;height:36px;display:flex;align-items:center;justify-content:center}.item:hover .action-btn{transform:translateY(-1px)}.action-btn{width:36px;height:36px;display:flex;align-items:center;justify-content:center;color:var(--tp-icon-fg);transition:transform .1s ease}.action-btn svg{width:34px;height:34px;color:var(--tp-square-bg);transition:color .15s ease}.item:hover .action-btn svg{color:var(--tp-gray-text)}.item.selected .action-btn svg{color:var(--tp-green)}.scroll-action-icon{color:var(--tp-scroll-icon)}.item:hover .scroll-action-icon{color:var(--tp-gray-text)}.item.active .scroll-action-icon,.item.selected .scroll-action-icon,.item.auto-scroll-active .scroll-action-icon{color:var(--tp-green)}.toolbar-shell .item:has(.action-btn) .icon-wrap,.toolbar-shell .item .action-btn{width:46px;height:46px}.toolbar-shell .item .action-btn svg{width:44px;height:44px}.toolbar-shell #cameraModeControl .icon-wrap,.toolbar-shell #cameraModeControl .action-btn{width:auto}.toolbar-shell #cameraModeControl .action-btn svg{width:auto;height:40px}#cameraModeControl .rec-dot{fill:var(--tp-square-bg);transition:fill .15s ease}.toolbar-shell #cameraModeControl.selected .action-btn svg,.toolbar-shell #cameraModeControl.selected:hover .action-btn svg,#mSharedTools #cameraModeControl.selected .action-btn svg{color:var(--tp-page-text)}#cameraModeControl.selected .rec-dot{fill:var(--tp-record)}.toolbar-shell .item.selected .label,.toolbar-shell .item.active .label,#mSharedTools .item.selected .label,#mSharedTools .item.active .label{color:var(--tp-gray-text)}.app.record-dim #cameraModeControl{display:none!important}.toolbar-shell .item .scroll-action-icon{width:44px;height:44px}.label{max-width:80px;font-size:12px;line-height:1.1;font-weight:550;color:var(--tp-gray-text);white-space:nowrap;text-align:center}.item.active .label,.item.selected .label{color:var(--tp-green-dark)}.badge{position:absolute;top:-7px;left:50%;transform:translate(-50%);background:var(--tp-green-dark);color:var(--tp-white);font-size:8px;line-height:1;font-weight:700;padding:2px 4px;border-radius:4px;white-space:nowrap;z-index:2}.toolbar-value{position:absolute;top:-10px;left:50%;min-width:24px;transform:translate(-50%);border-radius:5px;background:var(--tp-green-dark);color:var(--tp-white);padding:2px 4px;font-size:8px;font-weight:700;line-height:1;letter-spacing:.02em;font-variant-numeric:tabular-nums;z-index:2}.layout-frame{position:absolute;z-index:42;display:none;pointer-events:none}.layout-frame.show{display:block}.layout-eyeline.eye-hidden:before{display:none}.layout-handle,.layout-eyeline{opacity:0;transition:opacity .18s ease}.app.guides-peek .layout-handle,.app.guides-peek .layout-eyeline{opacity:.4}.stage .layout-handle:hover,.stage .layout-handle:focus-visible,.stage .layout-handle:active,.stage .layout-eyeline:hover,.stage .layout-eyeline:focus-visible,.stage .layout-eyeline:active{opacity:1}.app.record-dim .layout-handle{display:none}.app.record-dim .layout-eyeline{opacity:.85;pointer-events:none}.app.record-dim .layout-eye-grip,.app.record-dim .layout-eyeline.eye-hidden,.app.record-dim.notch-on .layout-eyeline{display:none}.layout-handle{position:absolute;border:0;padding:0;background:transparent;box-shadow:none;pointer-events:none;touch-action:none}.layout-handle.left,.layout-handle.right{top:0;bottom:0;width:24px;cursor:ew-resize}.layout-handle.left:before,.layout-handle.right:before{content:"";position:absolute;top:0;bottom:0;width:2px;border-radius:2px;background:var(--tp-margin-guide)}.layout-handle.left:before{right:0;transform:translate(50%)}.layout-handle.right:before{left:0;transform:translate(-50%)}.layout-handle.left{left:-12px}.layout-handle.right{right:-12px}.app.cam-on .layout-handle.left,.app.cam-on .layout-handle.right{bottom:40px}.layout-grip{position:absolute;top:24px;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--tp-margin-grip);color:var(--tp-white);border:1px solid rgba(255,255,255,.2);box-shadow:0 3px 8px #00000059;cursor:grab;white-space:nowrap;pointer-events:auto;touch-action:none;transition:transform var(--dur-fast) var(--ease-out),box-shadow var(--dur-fast) var(--ease-out)}.layout-handle:hover .layout-grip{transform:translate(-50%,-50%) scale(1.15);box-shadow:0 5px 12px #00000073}.layout-handle.is-dragging .layout-grip{transform:translate(-50%,-50%) scale(.95);box-shadow:0 2px 4px #00000040;cursor:grabbing}.layout-grip svg{width:18px;height:18px;flex-shrink:0}.layout-handle.left .layout-grip{left:100%}.layout-handle.right .layout-grip{left:0}.layout-grip-label{display:inline;font-family:inherit;font-size:12px;font-weight:700;line-height:1}.layout-eyeline{position:absolute;left:0;right:0;top:25%;height:24px;transform:translateY(-50%);border:0;padding:0;background:transparent;box-shadow:none;pointer-events:none;touch-action:none;cursor:ns-resize}.layout-eyeline:before{content:"";position:absolute;top:50%;left:0;transform:translateY(-50%);width:16px;height:24px;background:var(--tp-eyeline);clip-path:polygon(0 0,100% 50%,0 100%);filter:drop-shadow(0 1px 2px rgba(0,0,0,.28))}.layout-eye-grip{position:absolute;top:50%;left:22px;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;gap:5px;min-width:32px;height:24px;padding:0 12px;border-radius:999px;background:var(--tp-eyeline-grip);color:var(--tp-eyeline-grip-fg);box-shadow:0 2px 6px #00000040;cursor:grab;white-space:nowrap;pointer-events:auto;touch-action:none}.layout-eyeline:active .layout-eye-grip{cursor:grabbing}.layout-eye-grip svg{width:15px;height:15px;flex-shrink:0}.prompter-mirrored{transform:scaleX(-1)}.record-button[hidden],.header-play-button[hidden]{display:none!important}#layoutControl{display:none}.device-menu{position:absolute;z-index:2000;min-width:240px;max-width:320px;background:var(--tp-surface);border-radius:14px;padding:6px;box-shadow:0 0 0 1px #12151a0f,0 14px 34px #12151a29;display:none}.device-menu.open{display:flex;flex-direction:column}.device-option{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;border:0;border-radius:8px;background:transparent;padding:10px 12px;font-size:13px;font-weight:500;color:var(--tp-page-text);cursor:pointer;text-align:left}.device-option:hover{background:var(--tp-surface-hover)}.device-options{display:contents}.device-status{padding:10px 12px;font-size:13px;line-height:1.4;color:var(--tp-caret-arrow)}.device-option span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.device-check{flex:0 0 auto;width:16px;height:16px;visibility:hidden;color:var(--tp-green-dark)}.device-option.selected .device-check{visibility:visible}.device-menu-divider{height:1px;margin:6px 4px;background:var(--tp-divider)}.device-action{width:100%;border:0;border-radius:8px;background:transparent;padding:10px 12px;font-size:13px;font-weight:500;color:var(--tp-page-text);cursor:pointer;text-align:left}.device-action:hover{background:var(--tp-surface-hover)}.popup-title{padding:4px 10px 10px;margin-bottom:6px;border-bottom:1px solid var(--tp-divider);font-size:12px;font-weight:600;color:var(--tp-gray-text);text-transform:uppercase;letter-spacing:.03em;text-align:center}.quick-menu{position:absolute;z-index:2000;width:196px;padding:8px;border-radius:16px;background:var(--tp-surface);box-shadow:0 0 0 1px #12151a0a,0 4px 6px -1px #12151a0d,0 16px 36px -4px #12151a29,0 24px 48px -8px #12151a1f;display:none;opacity:0;transition:opacity .2s cubic-bezier(.16,1,.3,1)}html[data-theme=dark] .quick-menu{box-shadow:0 0 0 1px #ffffff0d,0 4px 6px -1px #0003,0 16px 36px -4px #0006,0 24px 48px -8px #0000004d}@keyframes quickMenuPopIn{0%{opacity:0;transform:scale(.96) translateY(4px)}to{opacity:1;transform:scale(1) translateY(0)}}.quick-menu.open{display:flex;flex-direction:column;gap:4px;animation:quickMenuPopIn .2s cubic-bezier(.16,1,.3,1) forwards}.speed-menu{width:320px;padding:16px}.scroll-mode-options{display:grid;gap:6px}.scroll-mode-option{overflow:hidden;border-radius:10px;background:var(--tp-surface);border:1px solid var(--tp-control-border);transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease}.scroll-mode-option:hover{background:var(--tp-surface-hover)}.scroll-mode-option:has(.scroll-mode-choice.selected){background:var(--tp-surface)}.scroll-mode-option:has(#speedModeAuto){background:var(--tp-premium-soft);border-color:var(--tp-premium-border)}.scroll-mode-option:has(#speedModeAuto):hover{background:var(--tp-premium-soft);border-color:var(--tp-premium)}.scroll-mode-choice{width:100%;display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:12px;min-height:42px;border:0;border-radius:0;padding:10px 14px;background:transparent;color:var(--tp-page-text);font:inherit;font-size:13px;font-weight:600;text-align:left;cursor:pointer;transition:color .18s ease}.scroll-mode-choice:hover{background:transparent}.scroll-mode-choice.selected{background:transparent;color:var(--tp-green-dark)}.scroll-choice-label-container{display:flex;align-items:center;justify-content:space-between;width:100%}.badge-new{display:inline-flex;align-items:center;justify-content:center;gap:4px;background:var(--tp-premium-gradient);color:var(--tp-premium-ink);font-size:11px;font-weight:800;line-height:1;padding:5px 9px;border-radius:var(--radius-sm);text-transform:uppercase;letter-spacing:.5px;box-shadow:inset 0 1px #ffffff73,0 1px 3px var(--tp-premium-soft)}.badge-new:before{content:"✦";font-size:10px;line-height:1}.scroll-choice-radio{width:16px;height:16px;display:grid;place-items:center;border:2px solid var(--tp-control-border);border-radius:50%;background:var(--tp-surface);transition:border-color .2s cubic-bezier(.16,1,.3,1),box-shadow .2s cubic-bezier(.16,1,.3,1),background-color .2s ease}.scroll-choice-radio:after{width:8px;height:8px;border-radius:50%;background:var(--tp-green-dark);content:"";opacity:0;transform:scale(.4);transition:opacity .2s cubic-bezier(.16,1,.3,1),transform .25s cubic-bezier(.34,1.56,.64,1)}.scroll-mode-choice.selected .scroll-choice-radio{border-color:var(--tp-green-dark)}.scroll-mode-choice.selected .scroll-choice-radio:after{opacity:1;transform:scale(1)}.scroll-mode-choice:active{transform:translateY(1px)}.scroll-mode-choice:focus-visible{outline:2px solid var(--tp-green-dark);outline-offset:-2px}.speed-mode-panel{min-width:0;margin:0;padding:12px 14px 14px;border-top:1px dashed var(--tp-divider)}.speed-editor{display:grid;gap:12px}.speed-input-row{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--tp-page-text);font-size:12px;font-weight:500}.speed-input-row label{color:var(--tp-gray-text)}.speed-editor output{color:var(--tp-green-dark);font-variant-numeric:tabular-nums;font-weight:700;font-size:13px;background:color-mix(in srgb,var(--tp-green-dark) 10%,transparent);padding:2px 8px;border-radius:6px}.speed-range{-webkit-appearance:none;appearance:none;width:100%;height:20px;margin:4px 0;padding:0;border:0;outline:none;background:transparent;cursor:pointer;--fill: 0%}.speed-range::-webkit-slider-runnable-track{height:6px;border:0;border-radius:999px;background:linear-gradient(to right,var(--tp-green-dark) var(--fill),var(--tp-track-bg) var(--fill));transition:height .15s ease}.speed-range:hover::-webkit-slider-runnable-track{height:8px}.speed-range::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:16px;height:16px;margin-top:-5px;border:2px solid var(--tp-surface);border-radius:50%;background:var(--tp-green-dark);transition:transform .15s cubic-bezier(.175,.885,.32,1.275),background-color .15s ease}.speed-range:hover::-webkit-slider-thumb{transform:scale(1.2)}.speed-range::-webkit-slider-thumb:active{transform:scale(1.3);background:var(--tp-green-dark)}.speed-range::-moz-range-track{height:6px;border:0;border-radius:999px;background:var(--tp-track-bg);transition:height .15s ease}.speed-range:hover::-moz-range-track{height:8px}.speed-range::-moz-range-progress{height:6px;border-radius:999px;background:var(--tp-green-dark);transition:height .15s ease}.speed-range:hover::-moz-range-progress{height:8px}.speed-range::-moz-range-thumb{width:16px;height:16px;border:2px solid var(--tp-surface);border-radius:50%;background:var(--tp-green-dark);transition:transform .15s cubic-bezier(.175,.885,.32,1.275)}.speed-range:hover::-moz-range-thumb{transform:scale(1.2)}.speed-number-wrap{width:100px;height:32px;display:flex;align-items:center;gap:6px;border:1.5px solid var(--tp-control-border);border-radius:8px;padding:0 10px;background:var(--tp-surface-hover);color:var(--tp-caret-arrow);font-size:11px;font-weight:600;transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease}.speed-number-wrap:focus-within{border-color:var(--tp-green-dark);box-shadow:0 0 0 3px color-mix(in srgb,var(--tp-green-dark) 12%,transparent);background:var(--tp-surface)}.speed-number-input{width:100%;min-width:0;border:0;outline:0;padding:0;background:transparent;color:var(--tp-page-text);font:inherit;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}.speed-mode-panel[hidden],.speed-editor[hidden],.speed-time-editor[hidden]{display:none}.speed-time-editor{display:grid;gap:12px}.speed-time-editor output{color:var(--tp-green-dark);font-variant-numeric:tabular-nums;font-weight:700;font-size:13px;background:color-mix(in srgb,var(--tp-green-dark) 10%,transparent);padding:2px 8px;border-radius:6px}.scroll-time-inputs{display:grid;grid-template-columns:1fr auto 1fr;align-items:end;gap:12px;margin-top:4px}.scroll-time-inputs label{display:grid;gap:6px;color:var(--tp-gray-text);font-size:11px;font-weight:500}.scroll-time-inputs input{width:100%;height:32px;border:1.5px solid var(--tp-control-border);border-radius:8px;outline:0;padding:0 10px;background:var(--tp-surface-hover);color:var(--tp-page-text);font:inherit;font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;text-align:center;transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease}.scroll-time-inputs input:focus{border-color:var(--tp-green-dark);box-shadow:0 0 0 3px color-mix(in srgb,var(--tp-green-dark) 12%,transparent);background:var(--tp-surface)}.scroll-time-separator{padding-bottom:6px;color:var(--tp-control-border);font-size:18px;font-weight:600;text-align:center}.bar-speed{display:flex;align-items:center;gap:8px;color:var(--tp-bar-muted);cursor:default}.bar-speed-icon{flex-shrink:0;color:var(--tp-bar-muted)}.bar-speed-value{font-size:12px;color:var(--tp-bar-muted);font-variant-numeric:tabular-nums;white-space:nowrap;min-width:52px;text-align:center}.settings-quick{width:248px;padding:8px}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:10px;cursor:pointer;color:var(--tp-page-text);-webkit-user-select:none;user-select:none;transition:background-color .15s ease,transform .1s ease}.settings-row:hover{background:var(--tp-surface-hover)}.settings-row:active{transform:scale(.98)}.settings-row.theme-row{cursor:default}.settings-row.theme-row:hover{background:none}.settings-row.theme-row:active{transform:none}.settings-row-title{font-size:13px;font-weight:600;line-height:1.3}.theme-toggle-group{display:flex;background:var(--tp-track-bg);border-radius:8px;padding:2px;gap:2px;border:1px solid var(--tp-control-border);flex-shrink:0}.theme-btn{display:flex;align-items:center;justify-content:center;width:32px;height:26px;border-radius:6px;border:none;background:transparent;color:var(--tp-gray-text);cursor:pointer;transition:color .15s ease,background-color .15s ease,transform .1s ease;padding:0}.theme-btn:hover{color:var(--tp-page-text);background:#787d871a}.theme-btn:active{transform:scale(.92)}.theme-btn.active{background:var(--tp-surface);color:var(--tp-green-dark);box-shadow:0 1px 3px #00000014,0 1px 2px #0000000a}html[data-theme=dark] .theme-toggle-group{background:#ffffff0f;border-color:#ffffff0a}html[data-theme=dark] .theme-btn:hover{color:var(--tp-white);background:#ffffff14}html[data-theme=dark] .theme-btn.active{background:var(--tp-caret-bg);color:var(--tp-green);box-shadow:0 1px 3px #0000004d}.settings-view{display:flex;flex-direction:column}.settings-view[hidden]{display:none!important}.settings-back-btn{border:0;background:none;font:inherit;text-align:left;padding:10px 12px;border-bottom:1px solid var(--tp-control-border);margin-bottom:6px;border-radius:10px 10px 0 0;display:flex;align-items:center;gap:8px;width:100%;cursor:pointer;color:var(--tp-page-text);-webkit-user-select:none;user-select:none}.settings-back-btn:hover{background:var(--tp-surface-hover)}.settings-back-chevron{color:var(--tp-gray-text);flex-shrink:0;transition:transform .2s ease}.settings-back-btn:hover .settings-back-chevron{transform:translate(-2px)}.settings-group{display:flex;flex-direction:column}.settings-group-content{display:flex;flex-direction:column;background:#00000005;border-radius:8px;margin:2px 4px 6px;padding:2px 0;border-left:2px solid var(--tp-control-border);overflow:hidden}.settings-group-content[hidden]{display:none!important}html[data-theme=dark] .settings-group-content{background:#ffffff05}.settings-group-content .settings-row{padding-left:16px;border-radius:6px;margin:0 4px}.app:not([data-studio-mode=record]) #settingsGroupDevices{display:none!important}.app[data-studio-mode=record] #settingsGroupDevicesBtn{display:none!important}.app[data-studio-mode=record] #settingsGroupDevicesContent{display:flex!important;background:none!important;border-left:none!important;margin:0!important;padding:0!important}.app[data-studio-mode=record] #settingsGroupDevicesContent .settings-media-row{padding:0 12px 0 0!important;margin:0!important;border-radius:10px!important}.settings-switch{position:relative;flex-shrink:0;width:40px;height:22px}.settings-switch input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer;z-index:1}.settings-switch-track{position:absolute;inset:0;border-radius:999px;background:var(--tp-track-bg);border:1px solid var(--tp-control-border);transition:background-color .2s cubic-bezier(.16,1,.3,1),border-color .2s cubic-bezier(.16,1,.3,1)}.settings-switch-track:after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:var(--tp-white);box-shadow:0 1px 3px #00000026;transition:transform .25s cubic-bezier(.34,1.56,.64,1)}.settings-switch input:checked+.settings-switch-track{background:var(--tp-green-dark);border-color:var(--tp-green-dark)}.settings-switch input:checked+.settings-switch-track:after{transform:translate(18px)}.settings-row-nav{width:100%;border:0;background:none;font:inherit;text-align:left;padding-left:12px;padding-right:12px}.settings-row-chevron{color:var(--tp-gray-text);flex-shrink:0;transition:transform .2s ease}.settings-row:hover .settings-row-chevron{transform:translate(2px)}.settings-row-value{font-size:12px;font-weight:500;color:var(--tp-gray-text);flex:0 0 auto}.settings-media-row{gap:4px;padding:0 12px 0 0}.settings-media-row.is-required{background:var(--tp-surface-hover);box-shadow:inset 0 0 0 1px var(--tp-record-btn)}.settings-media-device{min-width:0;flex:1;display:flex;align-items:center;gap:8px;border:0;background:transparent;padding:10px 0 10px 12px;color:inherit;font:inherit;text-align:left;cursor:pointer}.settings-media-device .settings-row-title{margin-right:auto}.settings-media-device:focus-visible,.settings-switch:has(input:focus-visible){outline:2px solid var(--tp-green-dark);outline-offset:2px}.shortcuts-quick{width:248px;padding:8px}.shortcut-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:10px;color:var(--tp-page-text);transition:background-color .15s ease}.shortcut-row:hover{background:var(--tp-surface-hover)}.shortcut-row-label{font-size:13px;font-weight:500}.shortcut-row-keys{display:inline-flex;align-items:center;gap:4px;flex-shrink:0}.shortcut-key{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 8px;border-radius:6px;background:var(--tp-surface);color:var(--tp-page-text);border:1px solid var(--tp-control-border);border-bottom:2px solid var(--tp-control-border);font-family:var(--font-mono, ui-monospace, monospace);font-size:11px;font-weight:700;font-variant-numeric:tabular-nums;box-shadow:0 1px 2px #0000000d}.settings-row label{font-size:12.5px;font-weight:500;color:var(--tp-page-text)}.switch{position:relative;flex:0 0 auto;width:40px;height:24px;border:0;border-radius:999px;padding:2px;background:var(--tp-switch-off);display:inline-flex;align-items:center;cursor:pointer;transition:background .18s ease}.switch .knob{width:20px;height:20px;border-radius:50%;background:var(--tp-white);box-shadow:0 1px 3px #00000040;transform:translate(0);transition:transform .18s ease}.switch[aria-checked=true]{background:var(--tp-green-dark)}.switch[aria-checked=true] .knob{transform:translate(16px)}.record-countdown{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;pointer-events:none;background:#181a1e8c;opacity:0;visibility:hidden;transition:opacity .5s cubic-bezier(.45,0,.2,1),visibility .5s}.record-countdown.show{opacity:1;visibility:visible}.record-countdown .count-box{display:grid;place-items:center}.record-countdown .num{font-size:clamp(92px,14vw,140px);font-weight:700;color:#ffffff8c;line-height:1;animation:countPop 1s cubic-bezier(.45,0,.2,1) both}@keyframes countPop{0%{opacity:0;transform:scale(1.35)}25%{opacity:1;transform:scale(1)}75%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.85)}}.toast{position:absolute;left:50%;bottom:76px;transform:translate(-50%,10px);padding:8px 12px;border-radius:8px;background:var(--tp-toast-bg);color:var(--tp-white);font-size:12px;opacity:0;pointer-events:none;transition:opacity .18s ease,transform .18s ease;z-index:20}.app.cam-on .toast{bottom:108px}.toast.show{opacity:1;transform:translate(-50%)}.toast.toast--warn-subtle{opacity:.78;font-size:11px;background:#282614e0;color:#fde68a;padding:6px 10px;border-radius:6px}@media(max-width:820px){.app .prompt-box{inset:0;padding:20px 32px 110px;min-height:175px;font-size:22px}.panel{max-width:94%;max-height:calc(100% - 150px)}.teleprompter{padding:90px 44px 80px;font-size:24px}.toolbar-shell{left:50%;transform:translate(-50%);overflow-x:auto;width:fit-content;max-width:calc(100vw - 60px);padding:10px 10px 4px;scrollbar-width:none}.toolbar-shell::-webkit-scrollbar{display:none}.toolbar{width:max-content;min-width:100%;gap:16px}}@media(max-width:600px){.app{min-height:100%;--mobile-studio-bar-h: 121px}.stage{inset:60px 0 0}.camera-feed{object-fit:cover}.record-controls{top:50%;right:8px}.app.record-dim .record-controls{position:fixed;top:auto;right:10px;bottom:calc(14px + env(safe-area-inset-bottom));transform:none}.app .prompt-box{inset:0;min-height:0;padding:16px 20px 96px;font-size:16px}.app:not(.record-dim) .prompt-box{padding-bottom:calc(14px + var(--mobile-studio-bar-h) + 56px + env(safe-area-inset-bottom))}.panel{top:12px;width:calc(100% - 24px);max-width:calc(100% - 24px);height:min(400px,52vh);max-height:calc(100% - 182px - env(safe-area-inset-bottom));border-radius:16px}.app.record-dim .panel{--tp-panel-stage-offset: 0px}.teleprompter{padding:64px 30px;font-size:20px}.control-bar{padding:0 10px;justify-content:flex-start;gap:12px}.control-bar .side{gap:10px}.control-bar-resize{display:flex;align-items:center;justify-content:center;align-self:stretch;margin-left:auto;margin-right:-10px;padding:0 14px;color:var(--tp-white);cursor:nwse-resize;touch-action:none;opacity:.9}.resize-handle{display:none}.toolbar-shell{left:50%;transform:translate(-50%);bottom:calc(10px + env(safe-area-inset-bottom));width:fit-content;max-width:calc(100vw - 16px);border-radius:18px;padding:10px 10px 4px;box-shadow:0 6px 20px #181c261f}.toolbar{gap:14px}.toast{bottom:calc(84px + env(safe-area-inset-bottom));max-width:calc(100vw - 24px)}.app.cam-on .toast{bottom:calc(116px + env(safe-area-inset-bottom))}.quick-menu,.device-menu{max-width:calc(100vw - 20px)}}@media(max-height:560px){.app{min-height:100%}.app .prompt-box{top:0}.panel{top:8px;height:min(400px,62vh);max-height:calc(100% - 135px - env(safe-area-inset-bottom))}}@media(pointer:coarse){.resize-handle[data-resize=n],.resize-handle[data-resize=s]{height:14px}.resize-handle[data-resize=e],.resize-handle[data-resize=w]{width:14px}.resize-handle[data-resize=nw],.resize-handle[data-resize=ne],.resize-handle[data-resize=sw],.resize-handle[data-resize=se]{width:26px;height:26px}.drag-handle{padding:8px 14px}.app .prompt-box{scrollbar-width:none}.app .prompt-box::-webkit-scrollbar{display:none}}.format-toolbar{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:2px;padding:4px;background:var(--tp-surface);border-radius:14px;box-shadow:#44444614 0 4px 6px,#4444460a 0 1px 3px;transition:opacity .28s ease,visibility .28s ease}html[data-theme=dark] .format-toolbar,html[data-theme=dark] .toolbar-shell{background:var(--tp-black)}.app.cam-on .format-toolbar,.app.record-dim .format-toolbar,.app.notch-on .format-toolbar{opacity:0;visibility:hidden;pointer-events:none}.app.cam-on.format-edit-open:not(.record-dim):not(.notch-on) #formatToolbar{opacity:1;visibility:visible;pointer-events:auto}.panel>#formatToolbar{inset:auto 0 40px;z-index:21;width:100%;max-width:100%;min-height:44px;padding:4px 8px;overflow-x:auto;border-radius:0;box-shadow:none;transform:none;scrollbar-width:none;background:var(--tp-control-bar-bg);border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08)}.panel>#formatToolbar::-webkit-scrollbar{display:none}.panel:not(.theme-light)>#formatToolbar button,.panel:not(.theme-light)>#formatToolbar select,.panel:not(.theme-light)>#formatToolbar input,.panel:not(.theme-light)>#formatToolbar .ft-line-height-control{color:var(--tp-white)}.panel:not(.theme-light)>#formatToolbar button:hover,.panel:not(.theme-light)>#formatToolbar select:hover:not(.ft-line-height),.panel:not(.theme-light)>#formatToolbar input:hover:not(.ft-line-height),.panel:not(.theme-light)>#formatToolbar .ft-line-height-control:hover{background-color:#ffffff1a;color:var(--tp-white)}.panel:not(.theme-light)>#formatToolbar select option{background:var(--tp-control-bar-bg);color:var(--tp-white)}.panel:not(.theme-light)>#formatToolbar .ft-color-a,.panel:not(.theme-light)>#formatToolbar .ft-caret{color:var(--tp-white)}.panel:not(.theme-light)>#formatToolbar button.active,.panel:not(.theme-light)>#formatToolbar .ft-color.active{background-color:var(--tp-green-active-bg);color:var(--tp-green)}.panel:not(.theme-light)>#formatToolbar .ft-color.active .ft-color-a{color:var(--tp-green)}.panel:not(.theme-light)>#formatToolbar .ft-divider{background-color:#ffffff26}.panel.theme-light>#formatToolbar{background:var(--tp-panel-light-bar);border-top:1px solid rgba(0,0,0,.08);border-bottom:1px solid rgba(0,0,0,.08)}.panel.theme-light>#formatToolbar button,.panel.theme-light>#formatToolbar select,.panel.theme-light>#formatToolbar input,.panel.theme-light>#formatToolbar .ft-line-height-control{color:var(--tp-page-text)}.panel.theme-light>#formatToolbar button:hover,.panel.theme-light>#formatToolbar select:hover:not(.ft-line-height),.panel.theme-light>#formatToolbar input:hover:not(.ft-line-height),.panel.theme-light>#formatToolbar .ft-line-height-control:hover{background-color:#0000000f;color:var(--tp-page-text)}.panel.theme-light>#formatToolbar select option{background:var(--tp-panel-light-bar);color:var(--tp-page-text)}.panel.theme-light>#formatToolbar .ft-color-a,.panel.theme-light>#formatToolbar .ft-caret{color:var(--tp-page-text)}.panel.theme-light>#formatToolbar button.active,.panel.theme-light>#formatToolbar .ft-color.active{background-color:var(--tp-green-light);color:var(--tp-green-dark)}.panel.theme-light>#formatToolbar .ft-color.active .ft-color-a{color:var(--tp-green-dark)}.panel.theme-light>#formatToolbar .ft-divider{background-color:#0000001a}.panel>.layout-frame{z-index:16}.mobile-format-toolbar{display:none;position:fixed;left:0;right:0;top:60px;height:44px;padding:0 12px;transform:none;border-radius:0;box-shadow:none;border-bottom:1px solid var(--tp-divider);flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;z-index:48}.mobile-format-toolbar::-webkit-scrollbar{display:none}.mobile-format-toolbar>*{flex:none}.mff-more{display:none;position:fixed;top:60px;right:0;height:44px;width:52px;z-index:49;align-items:center;justify-content:flex-end;padding-right:10px;border:0;border-bottom:1px solid var(--tp-divider);color:var(--tp-page-text);background:linear-gradient(to right,transparent,var(--tp-surface) 45%);cursor:pointer}.mff-more-left{right:auto;left:0;justify-content:flex-start;padding-right:0;padding-left:10px;background:linear-gradient(to left,transparent,var(--tp-surface) 45%)}html[data-theme=dark] .mff-more{background:linear-gradient(to right,transparent,var(--tp-black) 45%)}html[data-theme=dark] .mff-more-left{background:linear-gradient(to left,transparent,var(--tp-black) 45%)}@media(max-width:768px){.app.mff-has-more:not(.cam-on):not(.record-dim):not(.notch-on) .mff-more:not(.mff-more-left),.app.mff-has-prev:not(.cam-on):not(.record-dim):not(.notch-on) .mff-more-left{display:inline-flex}}@media(max-width:768px){.speed-number-input{font-size:16px}.header-divider,.bar-speed,.app-header .back-btn,#notchControl{display:none}#layoutControl{display:flex}.app.layout-guides-on:not(.record-dim) .layout-handle,.app.layout-guides-on:not(.record-dim) .layout-eyeline{opacity:1!important}}@media(max-width:1024px){#formatToolbar{display:none}.mobile-format-toolbar{display:flex}.app.cam-on .panel>#formatToolbar{display:flex}.app:not(.cam-on):not(.record-dim):not(.notch-on) .stage{top:calc(60px + var(--mobile-toolbar-h, 44px))}.app.layout-guides-on:not(.record-dim) .layout-handle,.app.layout-guides-on:not(.record-dim) .layout-eyeline{opacity:1!important}.app:not(.layout-guides-on) .layout-handle,.app:not(.layout-guides-on):not(.record-dim) .layout-eyeline{display:none!important}#shortcutsControl{display:none!important}}.format-toolbar button{width:36px;height:36px;border:0;border-radius:6px;background:transparent;color:var(--tp-page-text);font-size:14px;font-weight:500;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background-color .15s ease}.format-toolbar button:hover{background:var(--tp-surface-hover);color:var(--tp-page-text)}.format-toolbar button.active{background:var(--tp-green-light);color:var(--tp-green-dark)}.format-toolbar .ft-bold{font-weight:800}.format-toolbar .ft-italic{font-style:italic;font-family:Georgia,serif}.format-toolbar .ft-underline{text-decoration:underline}.format-toolbar .ft-align svg{width:18px;height:18px}.format-toolbar .ft-divider{width:1px;height:12px;background:var(--tp-divider);margin:0 12px;flex:none}.format-toolbar select,.format-toolbar input{height:36px;border:0;border-radius:12px;background:transparent;color:var(--tp-page-text);font-size:14px;font-weight:500;padding:0 10px;max-width:148px;cursor:pointer;outline:none;transition:background-color .15s ease;-webkit-appearance:none;appearance:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.format-toolbar .ft-font-size,.font-size-menu .ft-font-size{width:62px;min-width:0;height:34px;padding:0 4px;border:0;border-radius:7px;color:var(--tp-page-text);background:var(--tp-surface-hover);font:inherit;text-align:right}.font-size-control{position:relative;display:inline-flex;align-items:center;height:36px;min-width:86px;border-radius:12px}.format-toolbar .font-size-trigger{display:inline-flex;width:86px;height:36px;padding:0 9px 0 11px;border-radius:10px;color:inherit;justify-content:space-between;font-size:14px;font-weight:650}.font-size-trigger svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.font-size-menu{position:fixed;z-index:100;width:156px;max-width:calc(100vw - 16px);max-height:min(280px,calc(100vh - 120px));padding:6px;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;gap:2px;background:var(--tp-surface);border:1px solid var(--tp-divider);border-radius:10px;box-shadow:0 8px 22px #0000002e}.font-size-menu[hidden]{display:none}.font-size-menu--dark,.font-size-menu--notch{background:var(--tp-control-bar-bg);border-color:#ffffff29;color:var(--tp-white)}.font-size-menu--notch{z-index:1100}.font-size-menu--dark .font-size-custom-input,.font-size-menu--notch .font-size-custom-input{border-color:#ffffff29;color:#ffffffb8;background:#ffffff14}.font-size-menu--dark .font-size-custom-input em,.font-size-menu--notch .font-size-custom-input em{color:#ffffffb8}.font-size-menu--dark .ft-font-size,.font-size-menu--notch .ft-font-size{color:var(--tp-white);background:#ffffff1a}.font-size-menu--dark button,.font-size-menu--notch button{color:var(--tp-white)}.font-size-custom-input{display:grid;grid-template-columns:50px minmax(0,1fr);gap:6px;align-items:center;position:relative;min-height:36px;margin:0 0 6px;padding:3px 8px 3px 10px;border:1px solid var(--tp-divider);border-radius:8px;background:var(--tp-surface-hover);color:var(--tp-page-text);font-size:12px;font-weight:650}.font-size-custom-input em{position:absolute;right:15px;top:50%;transform:translateY(-50%);pointer-events:none;font-style:normal;color:var(--tp-page-text);opacity:.72}.font-size-slider-row{display:flex;align-items:center;margin:0 0 6px;padding:2px 6px 8px;border-bottom:1px solid var(--tp-divider)}.font-size-slider{-webkit-appearance:none;appearance:none;width:100%;height:16px;margin:0;background:transparent;cursor:pointer}.font-size-slider::-webkit-slider-runnable-track{height:4px;border-radius:999px;background:linear-gradient(to right,var(--tp-blue) 0 var(--fs-fill, 50%),var(--tp-surface-hover) var(--fs-fill, 50%) 100%)}.font-size-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:16px;height:16px;margin-top:-6px;border:2px solid var(--tp-blue);border-radius:50%;background:var(--tp-surface);box-shadow:0 1px 3px #00000040;cursor:grab;transition:transform var(--dur-fast) var(--ease-out)}.font-size-slider:active::-webkit-slider-thumb{cursor:grabbing;transform:scale(1.14)}.font-size-slider::-moz-range-track{height:4px;border-radius:999px;background:var(--tp-surface-hover)}.font-size-slider::-moz-range-progress{height:4px;border-radius:999px;background:var(--tp-blue)}.font-size-slider::-moz-range-thumb{width:16px;height:16px;border:2px solid var(--tp-blue);border-radius:50%;background:var(--tp-surface);box-shadow:0 1px 3px #00000040;cursor:grab}.font-size-slider:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 4px color-mix(in srgb,var(--tp-blue) 30%,transparent)}.font-size-slider:focus-visible::-moz-range-thumb{box-shadow:0 0 0 4px color-mix(in srgb,var(--tp-blue) 30%,transparent)}.font-size-menu--dark .font-size-slider::-webkit-slider-runnable-track,.font-size-menu--notch .font-size-slider::-webkit-slider-runnable-track{background:linear-gradient(to right,var(--tp-blue) 0 var(--fs-fill, 50%),rgba(255,255,255,.16) var(--fs-fill, 50%) 100%)}.font-size-menu--dark .font-size-slider::-moz-range-track,.font-size-menu--notch .font-size-slider::-moz-range-track{background:#ffffff29}.font-size-menu--dark .font-size-slider::-webkit-slider-thumb,.font-size-menu--notch .font-size-slider::-webkit-slider-thumb,.font-size-menu--dark .font-size-slider::-moz-range-thumb,.font-size-menu--notch .font-size-slider::-moz-range-thumb{background:var(--tp-control-bar-bg)}.font-size-menu button{display:flex;width:100%;min-height:34px;border:0;padding:0 10px;color:var(--tp-page-text);background:transparent;border-radius:7px;justify-content:flex-start;font-size:14px;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.font-size-menu button:hover,.font-size-menu button:focus-visible{background:var(--tp-surface-hover)}.font-size-menu .ft-font-size{min-width:0;height:28px;width:100%;padding:0 24px 0 4px;border:1px solid var(--tp-divider);background:var(--tp-surface);box-shadow:inset 0 1px #ffffff59;appearance:textfield;-moz-appearance:textfield}.font-size-menu .ft-font-size::-webkit-inner-spin-button,.font-size-menu .ft-font-size::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.font-size-menu--dark .ft-font-size,.font-size-menu--notch .ft-font-size{border-color:#fff3;background:#00000047;box-shadow:inset 0 1px #ffffff14}html[data-theme=dark] .font-size-custom-input{border-color:#ffffff47;background:#ffffff1f;color:#f5f5f7}html[data-theme=dark] .font-size-custom-input em{color:#d1d1d6;opacity:1}html[data-theme=dark] .font-size-menu .ft-font-size{border-color:#ffffff52;background:#17181b;color:#fff}.font-size-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.format-toolbar select:hover:not(.ft-line-height),.format-toolbar input:hover:not(.ft-line-height){background:var(--tp-surface-hover);color:var(--tp-page-text)}.ft-line-height-control{display:inline-flex;align-items:center;flex:none}.format-toolbar .ft-line-height-control{height:36px;border-radius:12px;color:var(--tp-page-text);transition:background-color .15s ease}.format-toolbar .ft-line-height-control:hover{background:var(--tp-surface-hover)}.format-toolbar .ft-line-height-icon{width:18px;height:18px;margin-left:8px;flex:none}.format-toolbar .ft-line-height{width:46px;padding:0 8px 0 4px}.format-toolbar .ft-line-height-control .ft-line-height:hover,.format-toolbar .ft-line-height-control .ft-line-height:focus{background:transparent;outline:none}.ft-color-split-group{display:inline-flex;align-items:center;gap:0}.format-toolbar .ft-color{position:relative;width:28px;height:36px;border:0;background:transparent;padding:0;color:inherit;border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer;flex:none}.format-toolbar .ft-color-picker-btn{position:relative;width:20px;height:36px;border:0;background:transparent;padding:0;color:inherit;border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer;flex:none}.format-toolbar .ft-color:hover{background:var(--tp-surface-hover)}.format-toolbar .ft-color.active{background:var(--tp-green-light)}.format-toolbar .ft-color.active .ft-color-a{color:var(--tp-green-dark)}.format-toolbar .ft-color-a{font-weight:800;font-size:14px;color:var(--tp-page-text);line-height:1;transform:translateY(-2px)}.format-toolbar .ft-color-bar{position:absolute;left:5px;right:5px;bottom:7px;height:4px;border-radius:1px;background:var(--tp-record)}.format-toolbar .ft-caret{width:10px;height:10px;color:var(--tp-gray-text)}.ft-bi-group,.ft-align-group{display:inline-flex;align-items:center;gap:2px;flex-shrink:0}.mobile-format-toolbar{gap:8px;padding:4px 12px;min-height:38px}.mobile-format-toolbar .ft-divider{display:none}.mobile-format-toolbar button{width:30px;height:30px}.mobile-format-toolbar select{height:30px;padding:0 6px;max-width:100px}.mobile-format-toolbar .ft-line-height-control{height:30px}.mobile-format-toolbar .ft-line-height-icon{width:16px;height:16px;margin-left:6px}.mobile-format-toolbar .ft-line-height{width:42px;padding:0 6px 0 3px}.mobile-format-toolbar .ft-color,.mobile-format-toolbar .ft-color-picker-btn{height:30px}.color-popup{position:fixed;z-index:4000;width:232px;padding:10px;border-radius:18px;background:var(--tp-surface);box-shadow:0 0 0 1px #12151a0f,0 20px 44px #12151a33;opacity:0;transform:translateY(-4px) scale(.97);pointer-events:none;transition:opacity .16s cubic-bezier(.16,1,.3,1),transform .16s cubic-bezier(.16,1,.3,1)}.color-popup.show{opacity:1;transform:translateY(0) scale(1);pointer-events:auto}.color-popup-sv{position:relative;width:100%;height:112px;margin:0 0 10px;border-radius:12px;cursor:crosshair;touch-action:none;box-shadow:inset 0 0 0 1px #12151a14;background:linear-gradient(to top,var(--tp-black),rgba(0,0,0,0)),linear-gradient(to right,var(--tp-white),hsl(var(--hue, 0),100%,50%))}.color-popup-sv-thumb{position:absolute;width:14px;height:14px;border-radius:50%;background:transparent;border:2px solid var(--tp-white);box-shadow:0 0 0 1px #00000059,0 1px 4px #0006;transform:translate(-50%,-50%);pointer-events:none}.color-popup-hue{position:relative;width:100%;height:12px;margin:0 0 12px;border-radius:6px;cursor:pointer;touch-action:none;box-shadow:inset 0 0 0 1px #12151a14;background:var(--tp-hue-gradient)}.color-popup-hue-thumb{position:absolute;top:50%;width:16px;height:16px;border-radius:50%;background:transparent;border:2px solid var(--tp-white);box-shadow:0 0 0 1px #00000059,0 1px 4px #0006;transform:translate(-50%,-50%);pointer-events:none}.color-popup-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;padding:0 4px;margin-bottom:10px}.color-popup-swatch{width:26px;height:26px;border-radius:50%;border:1px solid rgba(18,21,26,.08);padding:0;cursor:pointer;transition:transform .15s cubic-bezier(.16,1,.3,1),box-shadow .15s ease}.color-popup-swatch:hover{transform:scale(1.16)}.color-popup-swatch.selected{box-shadow:0 0 0 2px var(--tp-surface),0 0 0 4px var(--tp-green)}.color-popup-hex{display:flex;align-items:center;gap:8px;background:var(--tp-surface-hover);border:1px solid var(--tp-control-border);border-radius:12px;padding:7px 10px;margin:0 4px;cursor:text}.color-popup-hex-dot{width:18px;height:18px;border-radius:50%;flex:none;border:1px solid rgba(18,21,26,.1)}.color-popup-hex-prefix{color:var(--tp-gray-text);font-size:13px;font-weight:600}.color-popup-hex input{flex:1;min-width:0;border:0;background:transparent;outline:none;font-size:13px;font-weight:500;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.03em;text-transform:uppercase;color:var(--tp-page-text)}.color-popup.dark{background:var(--tp-color-popup-dark-bg);box-shadow:0 0 0 1px #ffffff14,0 20px 44px #00000073}.color-popup.dark .color-popup-sv,.color-popup.dark .color-popup-hue{box-shadow:inset 0 0 0 1px #ffffff24}.color-popup.dark .color-popup-swatch{border-color:#ffffff1f}.color-popup.dark .color-popup-swatch.selected{box-shadow:0 0 0 2px var(--tp-color-popup-dark-bg),0 0 0 4px var(--tp-green)}.color-popup.dark .color-popup-hex{background:#ffffff14;border-color:#ffffff24}.color-popup.dark .color-popup-hex-prefix{color:#ffffff80}.color-popup.dark .color-popup-hex input{color:var(--tp-white)}.color-popup.dark .color-popup-hex-dot{border-color:#ffffff29}.panel{--tp-mask-color: rgba(24, 25, 27, 1)}.panel.theme-light{--tp-page-text: #303136;--tp-mask-color: rgba(245, 245, 245, 1);box-shadow:0 20px 60px #00000040}.panel.panel-theme-dark-60{background:var(--tp-panel-bg-dark-60)}.panel.panel-theme-light-60{background:var(--tp-panel-bg-light-60)}.panel.panel-theme-light-30{background:var(--tp-panel-bg-light-30)}.panel.panel-theme-dark-30{background:var(--tp-panel-bg-dark-30)}.panel.theme-light .resize-handle[data-resize=nw]:hover,.panel.theme-light .resize-handle[data-resize=ne]:hover,.panel.theme-light .resize-handle[data-resize=sw]:hover,.panel.theme-light .resize-handle[data-resize=se]:hover{background:#00000014}.panel.theme-light .drag-handle span{background:#00000059}.panel.theme-light .control-bar-resize{color:var(--tp-page-text)}.panel.theme-light .teleprompter{color:#000;caret-color:#000!important}.panel:not(.theme-light) .teleprompter{color:#fff;caret-color:#fff!important}.panel.theme-light .teleprompter:empty:before{color:#00000073}.panel.theme-light .control-bar{background:var(--tp-panel-light-bar)}.panel.theme-light .control-bar button,.panel.theme-light .bar-speed,.panel.theme-light .bar-speed-value{color:var(--tp-page-text)}.panel.theme-light .bar-speed-icon{color:var(--tp-panel-light-icon)}.panel.theme-light .play-btn svg{fill:var(--tp-page-text)}html.theme-instant,html.theme-instant *,html.theme-instant *:before,html.theme-instant *:after{transition:none!important}.notch-prompter{position:fixed;top:0;left:50%;transform:translate(-50%);z-index:1000;width:340px;height:100px;display:none}.notch-prompter.show{display:block}.app.notch-on .prompt-box,.app.notch-on .panel{display:none!important}.notch-mode-guide{position:absolute;inset:60px 24px 90px;z-index:3;display:none;align-items:center;justify-content:center;flex-direction:column;gap:2px;padding:24px;margin:0;text-align:center;color:var(--tp-gray-text);font-size:clamp(21px,2vw,28px);font-weight:500;line-height:1.6;opacity:.78;pointer-events:none}.notch-mode-guide span{display:block}@media(min-width:601px){.notch-mode-guide span{white-space:nowrap}}.app.notch-on:not(.cam-on):not(.record-dim) .notch-mode-guide{display:flex}.app.notch-on .layout-frame,.app.notch-on .layout-handle,.app.notch-on .layout-eyeline{display:none!important}.app.notch-on #mirrorControl{display:none}.notch-body{position:relative;width:100%;height:100%;background:var(--tp-black);border-radius:0 0 20px 20px;box-shadow:0 6px 14px #00000040;overflow:hidden}.notch-prompter:before{content:"";width:32px;height:32px;clip-path:path("M 0 0 L 32 0 L 32 32 Q 32 0 0 0 Z");background-color:var(--tp-black);position:absolute;top:0;left:-31px}.notch-prompter:after{content:"";width:32px;height:32px;clip-path:path("M 0 0 L 0 32 Q 0 0 32 0 Z");background-color:var(--tp-black);position:absolute;top:0;right:-31px}.notch-fade{position:absolute;top:0;left:0;right:0;height:40px;background:linear-gradient(to bottom,var(--tp-black),transparent);z-index:2;pointer-events:none}.notch-scroll{width:100%;height:100%;overflow-y:auto;padding:40px 16px;scrollbar-width:none}.notch-scroll::-webkit-scrollbar{display:none}.notch-text{margin:0;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:16px;font-weight:600;line-height:1.25;white-space:pre-wrap;word-break:break-word;text-align:center;color:#ffffffe6}.tp-para-mirror{position:fixed;top:0;left:-100000px;margin:0;padding:0;border:0;visibility:hidden;pointer-events:none}.notch-resize{position:absolute;z-index:3}.notch-resize[data-notch-resize=e]{top:0;right:-6px;width:12px;height:100%;cursor:ew-resize}.notch-resize[data-notch-resize=w]{top:0;left:-6px;width:12px;height:100%;cursor:ew-resize}.notch-resize[data-notch-resize=s]{left:12px;right:12px;bottom:-6px;height:12px;cursor:ns-resize}.notch-resize[data-notch-resize=se]{right:-6px;bottom:-6px;width:18px;height:18px;cursor:nwse-resize}.notch-resize[data-notch-resize=sw]{left:-6px;bottom:-6px;width:18px;height:18px;cursor:nesw-resize}.notch-edit-btn{position:absolute;right:8px;bottom:8px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:var(--tp-blue);color:var(--tp-white);cursor:pointer;box-shadow:0 2px 4px #0003;z-index:4;transition:background var(--dur-fast) var(--ease-out),color var(--dur-fast) var(--ease-out),transform var(--dur-fast) var(--ease-out),box-shadow var(--dur-fast) var(--ease-out)}.notch-edit-btn svg{width:16px;height:16px}.notch-edit-btn:hover{background:var(--se-blue-hover);color:var(--tp-white);transform:scale(1.08);box-shadow:0 4px 12px #0000004d}.notch-edit-btn:active{transform:scale(.95)}.notch-edit-btn.active{background:var(--tp-green);color:var(--tp-notch-active-fg);box-shadow:0 0 12px var(--tp-green-active-bg)}.notch-edit-panel{position:absolute;top:calc(100% + 14px);left:50%;width:min(640px,92vw);height:min(380px,70vh);display:flex;flex-direction:column;opacity:0;visibility:hidden;pointer-events:none;transform:translate(-50%);z-index:4}.notch-edit-panel.show{opacity:1;visibility:visible;pointer-events:auto}@media(min-width:1440px){.notch-edit-panel{width:min(760px,92vw)}}@media(min-width:1920px){.notch-edit-panel{width:min(880px,92vw)}}.notch-edit-body{flex:1 1 auto;min-width:0;min-height:0;display:flex;flex-direction:column;background:var(--tp-black);border-radius:20px;box-shadow:0 10px 28px #00000059;overflow:hidden}.notch-edit-panel.dragging{transition:none}.notch-edit-resize{position:absolute;z-index:5;width:18px;height:18px}.notch-edit-resize[data-notch-edit-resize=nw]{top:-6px;left:-6px;cursor:nwse-resize}.notch-edit-resize[data-notch-edit-resize=ne]{top:-6px;right:-6px;cursor:nesw-resize}.notch-edit-resize[data-notch-edit-resize=se]{bottom:-6px;right:-6px;cursor:nwse-resize}.notch-edit-resize[data-notch-edit-resize=sw]{bottom:-6px;left:-6px;cursor:nesw-resize}.notch-edit-toolbar{flex:0 0 auto;display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:12px 14px;border-bottom:1px solid rgba(255,255,255,.1);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.notch-edit-toolbar.dragging{cursor:grabbing}.notch-edit-select{background:#ffffff14;color:var(--tp-white);border:1px solid rgba(255,255,255,.16);border-radius:8px;padding:6px 8px;font-size:13px;max-width:120px;cursor:pointer}#notchEditFontSize{min-width:66px;flex:0 0 auto}.notch-font-size-control{position:relative;display:inline-flex;align-items:center}.notch-font-size-control #notchEditFontSize{width:54px;color:var(--tp-white);background:#ffffff1a}.notch-font-size-control .font-size-trigger{display:inline-flex;width:86px;height:30px;padding:0 8px 0 10px;border:0;color:var(--tp-white);background:transparent;justify-content:space-between}.font-size-menu--notch button{width:100%;min-height:34px;padding:0 10px;border:0;border-radius:6px;color:var(--tp-white);background:transparent;text-align:left}.font-size-menu--notch button:hover,.font-size-menu--notch button:focus-visible{background:#ffffff1a}@media(max-width:1024px){.font-size-menu--mobile button{min-height:40px;font-size:16px}.mobile-format-toolbar .ft-font-size{font-size:16px}.mobile-format-toolbar .font-size-trigger{min-width:94px;height:44px;font-size:16px}.font-size-menu--mobile{width:172px}.font-size-menu--mobile .font-size-custom-input{min-height:38px;font-size:13px}}.notch-edit-line-height-control{height:30px;border:1px solid rgba(255,255,255,.16);border-radius:8px;background:#ffffff14;color:var(--tp-white)}.notch-edit-line-height-control .ft-line-height-icon{width:16px;height:16px;margin-left:6px}.notch-edit-line-height-control .notch-edit-select{width:44px;height:28px;padding:0 6px 0 3px;border:0;background:transparent}.notch-edit-line-height-control .notch-edit-select:hover{background:transparent}.notch-edit-divider{width:1px;height:20px;background:#ffffff24;margin:0 3px}.notch-edit-cmd,.notch-edit-align{width:30px;height:30px;display:flex;align-items:center;justify-content:center;border:0;border-radius:7px;background:transparent;color:#ffffffd9;font-size:13px;cursor:pointer}.notch-edit-cmd:hover,.notch-edit-align:hover,.notch-edit-color:hover{background:#ffffff1a}.notch-edit-cmd.active,.notch-edit-align.active,.notch-edit-color.active{background:var(--tp-green-active-bg);color:var(--tp-green)}.notch-edit-align svg{width:16px;height:16px}.notch-edit-color-split-group{display:inline-flex;align-items:center;gap:0}.notch-edit-color{position:relative;width:24px;height:30px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:0;border-radius:6px;padding:0;background:transparent;color:var(--tp-white);font:inherit;cursor:pointer}.notch-edit-color-picker-btn{position:relative;width:16px;height:30px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:0;border-radius:6px;padding:0;background:transparent;color:var(--tp-white);font:inherit;cursor:pointer}.notch-edit-color-a{font-size:11px;line-height:1;font-weight:700}.notch-edit-color-bar{width:12px;height:3px;border-radius:1px;margin-top:2px;background:var(--tp-white)}.notch-edit-caret{width:8px;height:8px;color:#ffffffa6}.notch-edit-textarea{box-sizing:border-box;width:100%;flex:1 1 auto;min-height:0;overflow-y:auto;color:var(--tp-white);padding:20px 24px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:24px;font-weight:400;line-height:1.25;letter-spacing:-.018em;white-space:pre-wrap;word-break:break-word}.notch-edit-textarea:focus{outline:none}.notch-edit-textarea:empty:before{content:attr(data-placeholder);color:#ffffff59}.app.record-dim~.notch-prompter .notch-edit-btn,.app.record-dim~.notch-prompter .notch-edit-panel{display:none!important}.tp-empty{position:fixed;inset:0;z-index:var(--z-modal);display:flex;align-items:center;justify-content:center;padding:24px;background:var(--tp-page-bg);color:var(--tp-page-text)}.tp-empty[hidden]{display:none}.tp-empty__card{max-width:420px;text-align:center}.tp-empty__title{margin:0 0 10px;font-size:24px;font-weight:700}.tp-empty__body{margin:0 0 20px;color:var(--tp-gray-text);font-size:15px;line-height:1.5}.tp-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;padding:0 18px;border:1px solid var(--tp-control-border);border-radius:10px;background:var(--tp-surface);color:var(--tp-page-text);font-size:14px;font-weight:600;text-decoration:none;cursor:pointer;transition:filter .15s ease,background-color .15s ease}.tp-btn:hover{filter:brightness(.97)}.tp-btn--primary{border-color:transparent;background:var(--tp-green-dark);color:var(--tp-white)}.tp-btn--ghost{background:transparent}.tp-scene-editor[hidden]{display:none}.tp-editor-transition{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-4);padding:max(var(--space-6),env(safe-area-inset-top)) var(--space-6) max(var(--space-6),env(safe-area-inset-bottom));background:var(--tp-page-bg);color:var(--tp-page-text);text-align:center}.tp-editor-transition__spinner{width:28px;height:28px;border:3px solid var(--tp-control-border);border-top-color:var(--tp-green-dark);border-radius:50%;animation:tp-editor-transition-spin .8s linear infinite}.tp-editor-transition.is-error .tp-btn{min-height:44px}@keyframes tp-editor-transition-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.tp-editor-transition__spinner{animation:none}}@media(max-width:768px){.color-popup-hex input{font-size:16px}}.logo-text{font-family:var(--font-sans);font-size:16px;font-weight:600;color:var(--tp-page-text);display:none}.mobile-menu-toggle,.mobile-sidebar-overlay,.mobile-sidebar,.m-studio-bar,.m-shared-tools,.settings-phone-tools{display:none}@media(max-width:600px){.logo-text{display:inline-block}.app-header{display:none!important}.mobile-menu-toggle{display:flex;flex-direction:column;justify-content:space-between;width:22px;height:16px;background:transparent;border:0;padding:0;cursor:pointer;z-index:101}.mobile-menu-toggle .menu-toggle-bar{width:100%;height:2px;background-color:var(--tp-page-text);border-radius:1px;transition:transform var(--dur-fast) var(--ease-out),opacity var(--dur-fast) var(--ease-out)}.mobile-menu-toggle[aria-expanded=true] .menu-toggle-bar:nth-child(1){transform:translateY(7px) rotate(45deg)}.mobile-menu-toggle[aria-expanded=true] .menu-toggle-bar:nth-child(2){opacity:0}.mobile-menu-toggle[aria-expanded=true] .menu-toggle-bar:nth-child(3){transform:translateY(-7px) rotate(-45deg)}.mobile-sidebar-overlay{display:block;position:fixed;inset:0;z-index:299;background:#10131866;opacity:0;transition:opacity var(--dur-normal) var(--ease-out);pointer-events:none}.mobile-sidebar-overlay:not([hidden]){pointer-events:auto}.mobile-sidebar-overlay.is-open{opacity:1}.mobile-sidebar{display:flex;position:fixed;top:0;left:0;bottom:0;width:280px;max-width:80vw;background:var(--tp-surface);border-right:1px solid var(--tp-divider);box-shadow:4px 0 24px #1013181f;z-index:300;flex-direction:column;padding:16px 20px;transform:translate(-100%);transition:transform var(--dur-normal) var(--ease-out)}.mobile-sidebar.is-open{transform:translate(0);background:var(--tp-white);color:#101318}.mobile-sidebar.is-open .mobile-sidebar-title,.mobile-sidebar.is-open .mobile-sidebar-link,.mobile-sidebar.is-open .mobile-sidebar-close{color:#101318}.mobile-sidebar.is-open .mobile-sidebar-link svg,.mobile-sidebar.is-open .mobile-sidebar-close svg{color:#101318}.mobile-sidebar-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:16px;border-bottom:1px solid var(--tp-divider);margin-bottom:16px}.mobile-sidebar-brand{display:flex;align-items:center;gap:8px}.mobile-sidebar-title{font-family:var(--font-sans);font-size:18px;font-weight:600;color:var(--tp-page-text)}.mobile-sidebar-close{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:0;border-radius:var(--radius-md);background:transparent;color:var(--tp-page-text);cursor:pointer;transition:background-color var(--dur-fast)}.mobile-sidebar-close:hover{background-color:var(--tp-surface-hover)}.mobile-sidebar-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}.mobile-sidebar-link{display:flex;align-items:center;gap:12px;padding:12px 16px;text-decoration:none;color:var(--tp-page-text);font-family:var(--font-sans);font-size:15px;font-weight:500;border-radius:var(--radius-md);transition:background-color var(--dur-fast),color var(--dur-fast)}.mobile-sidebar-link:hover{background-color:var(--tp-surface-hover)}.mobile-sidebar-link svg{color:var(--tp-gray-text);transition:color var(--dur-fast);flex-shrink:0}.mobile-sidebar-link:hover svg{color:var(--tp-page-text)}.mobile-format-toolbar,.mff-more{top:env(safe-area-inset-top,0px)}.app:not(.record-dim) .stage{top:env(safe-area-inset-top,0px)}.app:not(.cam-on):not(.record-dim):not(.notch-on) .stage{top:calc(env(safe-area-inset-top,0px) + var(--mobile-toolbar-h, 44px))}.app.cam-on .stage{top:env(safe-area-inset-top,0px)}.app.record-dim .stage{top:0!important}.toolbar-shell{display:none}.m-studio-bar{position:fixed;left:0;right:0;bottom:calc(14px + env(safe-area-inset-bottom));margin:0 auto;width:fit-content;max-width:calc(100vw - 20px);z-index:46;display:flex;flex-direction:column;align-items:stretch;gap:6px;padding:8px 18px 10px;background:var(--tp-surface);border-radius:26px;box-shadow:0 8px 24px #181c2629}#layoutControl{display:none!important}.settings-phone-tools{display:block}.m-mode-panels{display:grid}.m-mode-panel{grid-area:1 / 1;display:flex;align-items:center;justify-content:center;gap:18px;visibility:hidden}.m-mode-panel.active{visibility:visible}.m-shared-tools{display:flex;align-items:flex-start;justify-content:center;gap:6px}.m-shared-tools>.item{flex:0 0 56px;width:56px}.m-shared-tools>.m-mode-panels{flex:0 0 64px;width:64px;align-self:stretch}.m-shared-tools>#cameraModeControl{order:1}.m-shared-tools>#mirrorControl{order:2}.m-shared-tools>.m-mode-panels{order:3}.m-shared-tools>#speedControl{order:4}.m-shared-tools>#settingsControl{order:5}.m-studio-bar .item{min-width:0}.m-studio-bar .item .label{display:block;font-size:10px;margin-top:4px}#mSharedTools .item .icon-wrap,#mSharedTools .item .action-btn{width:44px;height:44px}#mSharedTools .item .action-btn svg{width:44px;height:44px}#mSharedTools #cameraModeControl .icon-wrap,#mSharedTools #cameraModeControl .action-btn{width:auto}#mSharedTools #cameraModeControl .action-btn svg{width:auto;height:40px}#mSharedTools #settingsControl .icon-wrap,#mSharedTools #settingsControl .action-btn{width:44px;height:44px}.app.cam-on #mSharedTools #speedControl,.app.cam-on #mSharedTools #mirrorControl,.app.cam-on #mSharedTools #settingsControl{display:flex}.app:not(.record-dim) #mPanelMain .record-controls{position:static;inset:auto;transform:none;gap:0}.app:not(.record-dim) #mPanelMain #recordButton{width:48px;height:48px;padding:0;border:2px solid var(--tp-page-text);border-radius:50%;background:transparent}.app:not(.record-dim) #mPanelMain #recordButton .record-dot{width:34px;height:34px;border-radius:50%;background:var(--tp-record-btn);display:block}.app:not(.record-dim) #mPanelMain #recordButton .record-label{display:none}.app:not(.record-dim) #mPanelTools .header-play-button{width:48px;height:48px;padding:0;border:2px solid var(--tp-page-text);border-radius:50%;background:transparent;color:var(--tp-page-text);display:inline-flex;align-items:center;justify-content:center}.app:not(.record-dim) #mPanelTools .header-play-button svg{width:30px;height:30px;color:var(--tp-page-text)}.app:not(.record-dim) #mPanelTools .header-play-button .header-play-label{display:none}.m-studio-bar button:focus-visible{outline:2px solid var(--tp-green);outline-offset:2px}.app:not(.record-dim) #mPanelTools .header-play-button:focus-visible,.app:not(.record-dim) #mPanelMain #recordButton:focus-visible{outline-color:var(--tp-page-text)}.app.record-dim .m-studio-bar,.app.notch-on .m-studio-bar{background:transparent;box-shadow:none;padding:0;gap:0}.app.record-dim #mPanelMain,.app.notch-on #mPanelMain{visibility:visible}.app.record-dim .m-shared-tools>:not(.m-mode-panels),.app.notch-on .m-shared-tools>:not(.m-mode-panels),.app.record-dim .m-mode-panel>:not(.record-controls),.app.notch-on .m-mode-panel>:not(.record-controls){display:none!important}#mPanelMain .record-controls{transition:opacity .28s ease,filter .28s ease}.app.record-dim #mPanelMain .record-controls{opacity:.6;filter:saturate(.9) brightness(.96)}.app.record-dim.record-paused #mPanelMain .record-controls{opacity:1;filter:none}html[data-theme=dark] .m-studio-bar{background:var(--tp-black)}}.tp-stale-badge{position:fixed;bottom:var(--space-6);left:var(--space-6);z-index:var(--z-toast);display:inline-flex;align-items:center;max-width:min(80vw,360px);padding:var(--space-2) var(--space-4);border:0;border-radius:var(--radius-md);background:var(--ws-warn);color:var(--ws-primary-ink);font-family:var(--font-sans);font-size:var(--text-sm);font-weight:600;line-height:1.3;text-align:left;cursor:pointer;animation:tp-stale-badge-in var(--dur-normal) var(--ease-out)}@media(max-width:768px){.tp-stale-badge{display:none}.camera-loading-status{display:none!important}}.tp-stale-badge[hidden]{display:none}.tp-stale-badge:hover{filter:brightness(.94)}.tp-stale-badge:focus-visible{outline:2px solid var(--ws-warn);outline-offset:2px}@keyframes tp-stale-badge-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.tp-stale-badge{animation:none}}.custom-tooltip{position:fixed;z-index:10000;background:var(--tp-top-border);color:var(--tp-icon-fg);border:1px solid var(--tp-control-border);border-radius:6px;padding:6px 10px;font-family:inherit;font-size:12px;font-weight:500;line-height:1.2;white-space:nowrap;pointer-events:none;box-shadow:0 4px 12px #00000026;opacity:0;transform:translateY(4px) scale(.95);transition:opacity .12s cubic-bezier(.4,0,.2,1),transform .12s cubic-bezier(.4,0,.2,1)}.custom-tooltip.show{opacity:1;transform:translateY(0) scale(1)}.permission-overlay{position:fixed;inset:0;z-index:var(--z-modal);display:flex;align-items:center;justify-content:center;padding:var(--space-4);background:var(--confirm-scrim);animation:permission-fade var(--dur-fast) ease}.permission-box{position:relative;width:100%;max-width:360px;max-height:78vh;max-height:78dvh;overflow-y:auto;padding:20px 22px;background:var(--confirm-surface);border:1px solid var(--confirm-border);border-radius:var(--radius-md);box-shadow:var(--confirm-shadow);text-align:center;animation:permission-pop var(--dur-fast) var(--ease-out)}@media(max-width:540px){.permission-box{max-height:68dvh}}.permission-x{position:absolute;top:8px;right:8px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--confirm-text);cursor:pointer;transition:background var(--dur-fast) ease}.permission-x:hover{background:var(--confirm-icon-bg)}.permission-x svg{width:16px;height:16px}.permission-title{margin:0 0 16px;font-size:16px;font-weight:700;color:var(--confirm-title)}.permission-steps{margin:0 0 18px;padding:0;list-style:none;counter-reset:permission-step;text-align:left}.permission-step{position:relative;margin:0 0 14px;padding-left:30px;counter-increment:permission-step}.permission-step:last-child{margin-bottom:0}.permission-step-head{font-size:13.5px;line-height:1.45;color:var(--confirm-text)}.permission-step:before{content:counter(permission-step);position:absolute;left:0;top:-1px;display:flex;align-items:center;justify-content:center;width:21px;height:21px;border-radius:50%;background:var(--confirm-icon-bg);color:var(--confirm-title);font-size:12px;font-weight:700}.permission-step-fig{margin:8px 0 2px;border:1px solid var(--confirm-border);border-radius:var(--radius-sm);overflow:hidden}.permission-step-fig img{display:block;width:100%;height:auto}.permission-btn{width:100%;padding:11px 16px;border-radius:9px;border:1px solid transparent;font-family:inherit;font-size:14px;font-weight:600;cursor:pointer;transition:background var(--dur-fast) ease,color var(--dur-fast) ease}.permission-close{background:var(--confirm-accent);color:var(--confirm-accent-ink)}.permission-close:hover{background:var(--confirm-accent-hover);color:var(--confirm-on-accent)}@keyframes permission-fade{0%{opacity:0}to{opacity:1}}@keyframes permission-pop{0%{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}.vs-w,.vs-separator{transition:color .15s,background-color .15s,opacity .15s}.vs-w{position:relative;border-radius:2px}.vs-spoken{opacity:.35}.voice-scroll-active .vs-w{cursor:pointer}.voice-scroll-active .vs-w.vs-active:after{position:absolute;top:calc(100% + .06em);left:0;width:62%;height:3px;pointer-events:none;content:"";background:var(--tp-green);border-radius:999px;transform-origin:left center;animation:vs-word-anchor .7s ease-out both}.voice-scroll-active .vs-w:hover{opacity:.45}.voice-scroll-active .vs-w.vs-spoken:hover{opacity:.2}@keyframes vs-word-anchor{0%{opacity:0;transform:scaleX(.65)}18%{opacity:.8;transform:scaleX(1)}72%{opacity:.7;transform:scaleX(.94)}to{opacity:0;transform:scaleX(.78)}}.vs-line{margin:0;padding:0;line-height:inherit}.first-visit-tour-overlay{position:fixed;inset:0;z-index:var(--z-tour);background:transparent;pointer-events:none;animation:first-visit-tour-fade var(--dur-fast) ease}.first-visit-tour-popup{position:fixed;z-index:2;width:min(280px,calc(100vw - var(--space-8)));padding:var(--space-4);background:var(--tp-white);background:color-mix(in srgb,var(--tp-white) 94%,transparent);border:1px solid var(--confirm-border);border-radius:var(--radius-md);box-shadow:var(--confirm-shadow);color:var(--tp-panel-light-text);cursor:pointer;pointer-events:auto;animation:first-visit-tour-pop var(--dur-fast) var(--ease-out)}.first-visit-tour-arrow{position:absolute;left:var(--first-visit-tour-arrow-left, 50%);width:14px;height:14px;background:var(--tp-white);background:color-mix(in srgb,var(--tp-white) 94%,transparent);border:solid var(--confirm-border);pointer-events:none;transform:translate(-50%) rotate(45deg)}.first-visit-tour-popup[data-placement=below] .first-visit-tour-arrow{top:-8px;border-width:1px 0 0 1px}.first-visit-tour-popup[data-placement=above] .first-visit-tour-arrow{bottom:-8px;border-width:0 1px 1px 0}.first-visit-tour-popup[data-placement=center] .first-visit-tour-arrow,.first-visit-tour-popup[data-placement=above-clamped] .first-visit-tour-arrow,.first-visit-tour-popup[data-placement=below-clamped] .first-visit-tour-arrow{display:none}.first-visit-tour-text{margin:0;font-size:14px;font-weight:600;line-height:1.45}.first-visit-tour-skip{min-width:44px;min-height:44px;margin:var(--space-3) 0 0 auto;padding:0 var(--space-3);border:1px solid var(--confirm-border);border-radius:var(--radius-sm);background:color-mix(in srgb,var(--tp-black) 6%,var(--tp-white));color:var(--tp-panel-light-text);font:inherit;font-size:13px;font-weight:700;cursor:pointer}.first-visit-tour-skip:hover,.first-visit-tour-skip:active{background:var(--tp-black);color:var(--tp-white)}.first-visit-tour-skip:focus-visible{outline:2px solid var(--tp-black);outline-offset:2px}@keyframes first-visit-tour-fade{0%{opacity:0}to{opacity:1}}@keyframes first-visit-tour-pop{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.first-visit-tour-overlay,.first-visit-tour-popup{animation:none}}@media(max-width:600px){.first-visit-tour-skip{min-height:32px;height:32px}}.confirm-overlay,.export-status-overlay,.se,.tp-scene-editor{--se-page-bg: #ffffff;--se-text: #24272a;--se-muted: #6d7074;--se-icon: #35383b;--se-hover: #f7f7f7;--se-border: #f0f1f1;--se-surface: #fbfbfb;--se-surface-hover: #f5f5f5;--se-card-bg: #ffffff;--se-faint: #a5a8aa;--se-scrollbar-thumb: #d9dadb;--se-green: #458ee6;--se-green-hover: #2b74cf;--se-blue: #4598e7;--se-blue-hover: #2e7fd4;--se-brand: #458ee6;--se-brand-hover: #2b74cf;--se-brand-ink: #ffffff;--se-danger: #ef4d62;--se-record-dot: #e5484d;--se-viewer-bg: #161616}.tp-scene-editor{position:fixed;inset:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;background:var(--se-page-bg);-webkit-overflow-scrolling:touch}.se{min-height:100vh;min-height:100dvh;padding-top:env(safe-area-inset-top);display:flex;flex-direction:column;background:var(--se-page-bg);color:var(--se-text);font-family:Arial,Helvetica,sans-serif}.se *{box-sizing:border-box}.se button{font:inherit;color:inherit}.se svg{display:block}.se-header{height:var(--se-header-height);margin-top:12px;display:flex;align-items:flex-start;justify-content:space-between;position:relative;z-index:10}.se-header-left{height:36px;display:flex;align-items:center;gap:16px;padding-left:10px}.se-logo-btn{border:0;padding:0;background:none;color:var(--se-text);display:inline-flex;align-items:center;cursor:pointer}.se-logo-btn svg{height:22px;width:auto}.se-header-divider{width:1px;height:12px;background:var(--se-border)}.se .back-btn{color:var(--se-muted)}.se .back-btn:hover{background:var(--se-hover)}.se-header-actions{height:36px;display:flex;align-items:center;padding-right:12px}.se-export-wrap{position:relative}.se-export-button{height:40px;width:fit-content;border:0;margin:1px 0 1px 4px;padding:0 20px;background:var(--se-brand);color:var(--se-brand-ink);display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:16px;font-weight:800;cursor:pointer;border-radius:10px;box-shadow:0 1px 2px #458ee62e,0 1px 1px #0000000d;transition:background .16s ease,transform .12s ease,box-shadow .16s ease}.se-export-button:hover{background:var(--se-brand-hover);box-shadow:0 2px 8px #458ee647}.se-export-button:active{transform:translateY(1px)}.se-export-button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.se-workspace{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;max-width:960px;margin:0 auto;padding:24px 16px;flex:1 1 auto}.se-preview-stage{width:100%;min-width:0;display:flex;flex-direction:column;gap:20px}.se-trustpilot-widget{width:100%;min-height:52px;display:flex;flex-direction:column;align-items:center;gap:8px;padding-top:2px}.se-trustpilot-prompt{margin:0;color:var(--se-muted);font-size:14px;line-height:1.4;text-align:center}.se-trustpilot-widget .trustpilot-widget{width:100%;min-height:52px}.se-viewer{width:100%;aspect-ratio:16 / 9;position:relative;overflow:hidden;border-radius:var(--se-viewer-radius);background:var(--se-viewer-bg);box-shadow:0 1px 2px #00000014,0 3px 8px #0000000f}.se-viewer-media{width:100%;height:100%;object-fit:contain;display:block;background:var(--se-viewer-bg)}.se-export-button:disabled{opacity:.6;cursor:default}.se-export-button.is-loading{opacity:.85;cursor:progress}.se-export-button.is-loading>svg{display:none}.se-export-spinner{flex:none;width:16px;height:16px;border:2px solid var(--se-brand-ink);border-right-color:transparent;border-radius:50%;animation:se-spin .7s linear infinite}@media(prefers-reduced-motion:reduce){.se-export-spinner{animation-duration:1.6s}}.se-empty-preview,.se-audio-preview{position:absolute;inset:0;display:grid;place-items:center;padding:clamp(22px,5vw,54px);color:var(--se-time-fg);text-align:center}.se-empty-preview{background:var(--se-empty-bg)}.se-audio-preview{overflow:hidden;background:var(--se-audio-gradient)}.se-saving-spinner{width:34px;height:34px;border:3px solid var(--se-time-fg);border-top-color:transparent;border-radius:50%;animation:se-spin .8s linear infinite}.se-media-status{position:absolute;inset:0;z-index:4;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;background:var(--se-viewer-bg);color:var(--se-time-fg);text-align:center}.se-media-status.is-loading{gap:12px;pointer-events:none}.se-media-status.is-loading strong{font-size:14px;font-weight:600}.se-media-status.is-error{gap:8px}.se-media-status.is-error strong{font-size:clamp(18px,2.4vw,26px);letter-spacing:-.02em}.se-media-status.is-error p{max-width:440px;margin:0;color:var(--se-faint);font-size:14px;line-height:1.5}.se-media-status-code{padding:4px 8px;border:1px solid var(--se-faint);border-radius:4px;color:var(--se-time-fg);font-size:12px;letter-spacing:.04em}.se-media-status-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:10px}.se-media-status-actions button{min-height:44px;padding:0 18px;border-radius:var(--radius-pill);font-size:14px;font-weight:600;cursor:pointer}.se-media-status-primary{border:1px solid var(--se-play-bg);background:var(--se-play-bg);color:var(--se-play-fg)}.se-media-status-secondary{border:1px solid var(--se-faint);background:transparent;color:var(--se-time-fg)}.se-media-status-actions button:focus-visible{outline:2px solid var(--se-brand);outline-offset:3px}.se-viewer.has-media-error{min-height:320px;aspect-ratio:auto}@keyframes se-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.se-saving-spinner{animation-duration:1.8s}}@media(min-width:768px){.se-viewer.has-media-error{min-height:0;aspect-ratio:16 / 9}}.se-audio-art{width:min(520px,86%);position:relative;z-index:1;text-shadow:0 1px 4px rgb(0 0 0 / 35%)}.se-audio-kicker{display:block;margin-bottom:14px;color:var(--se-audio-kicker);font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase}.se-waveform-svg{width:min(420px,88%);height:auto;margin:0 auto;fill:var(--se-waveform-art)}.se-empty-preview strong,.se-audio-preview strong{display:block;margin-top:10px;font-size:clamp(18px,2.4vw,28px);letter-spacing:-.03em}.se-audio-duration{display:block;margin-top:8px;color:var(--se-audio-kicker);font-size:13px}.se-empty-record{display:inline-flex;align-items:center;gap:8px;height:34px;margin-top:18px;padding:0 16px;border:0;border-radius:var(--radius-pill);background:var(--se-play-bg);color:var(--se-play-fg);font-size:13px;font-weight:600;cursor:pointer;transition:transform .12s ease}.se-empty-record span{color:var(--se-play-fg)}.se-empty-record:active{transform:scale(.96)}.se-record-dot{width:8px;height:8px;border-radius:50%;background:var(--se-record-dot)}.se-audio-player{position:absolute;right:5%;bottom:16px;left:5%;width:90%;height:40px;background:transparent}.se-sidebar{width:var(--se-sidebar-width);align-self:stretch;display:flex;flex-direction:column;min-height:0}.se-scene-toolbar{height:33px;display:flex;align-items:center;margin-bottom:24px;position:relative}.se-more-button{width:32px;height:32px;border:0;padding:0;margin-left:auto;background:transparent;border-radius:6px;display:grid;place-items:center;cursor:pointer}.se-more-button:hover{background:var(--se-surface-hover)}.se-more-button svg{width:14px;height:14px;fill:var(--se-icon)}.se-more-dropdown{position:absolute;top:38px;left:0;min-width:200px;padding:6px;border-radius:8px;background:var(--se-card-bg);box-shadow:0 4px 12px #00000026;z-index:var(--z-menu)}.se-more-dropdown[hidden]{display:none}.se-more-dropdown-item{width:100%;border:0;padding:8px 12px;display:flex;align-items:center;gap:8px;border-radius:6px;background:transparent;color:var(--se-danger);font-size:13px;font-weight:500;cursor:pointer;transition:background .15s ease}.se-more-dropdown-item:hover{background:var(--se-surface-hover)}.se-more-dropdown-icon{display:inline-flex}.se-more-dropdown-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.se-new-scene{height:32px;border:0;padding:0 9px 0 7px;background:transparent;display:inline-flex;align-items:center;gap:8px;border-radius:6px;color:var(--se-text);font-size:12px;cursor:pointer;white-space:nowrap}.se-new-scene:hover{background:var(--se-surface-hover)}.se-new-scene svg{width:15px;height:15px;stroke:var(--se-icon);stroke-width:1.35;fill:none;stroke-linecap:round}.se-scene-scroll{position:relative;flex:1 1 auto;min-height:0}.se-scene-list{display:grid;gap:15px;align-content:start;overflow-y:auto;max-height:62vh;padding-right:2px;scrollbar-width:thin;scrollbar-color:var(--se-scrollbar-thumb) transparent}.se-scene-item{position:relative;width:151px}.se-scene-index{position:absolute;left:-11px;top:1px;width:8px;color:var(--se-faint);font-size:11px;font-weight:500;line-height:1;text-align:right}.se-scene-item.active .se-scene-index{color:var(--se-green)}.se-scene-card{position:relative;width:151px;height:86px;border:1px solid var(--se-border);padding:0;background:var(--se-viewer-bg);overflow:hidden;border-radius:var(--se-scene-radius);cursor:pointer}.se-scene-item.active .se-scene-card{border:2px solid var(--se-green)}.se-scene-card img,.se-scene-card video{width:100%;height:100%;object-fit:cover;display:block}.se-scene-item.active .se-scene-card img{width:calc(100% + 2px);height:calc(100% + 2px);margin:-1px}.se-scene-media-badge,.se-scene-waveform{position:absolute;inset:0;display:grid;place-items:center;color:var(--se-waveform-art)}.se-scene-media-badge{align-content:center;gap:4px;background:var(--se-media-badge-bg);font-size:10px;font-weight:600}.se-scene-media-badge svg{width:24px;fill:none;stroke:currentColor;stroke-width:1.6}.se-scene-waveform{background:var(--se-audio-gradient)}.se-scene-waveform-svg{width:74%;fill:currentColor}.se-scene-time{position:absolute;right:2px;bottom:2px;min-width:38px;height:16px;padding:0 4px;display:grid;place-items:center;background:#000000e0;color:#fff;border-radius:2px;font-size:10px;line-height:1}.se .se-scene-delete{position:absolute;top:5px;right:5px;width:15px;height:15px;border:0;padding:0;border-radius:50%;background:#17191b66;color:#fff;display:grid;place-items:center;cursor:pointer;opacity:0;transition:opacity .12s ease,background .12s ease;z-index:2}.se-scene-item:hover .se-scene-delete,.se .se-scene-delete:focus-visible{opacity:1}.se .se-scene-delete:hover{background:#17191ba6}.se .se-scene-delete svg{width:9px;height:9px;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round}.se-record-row{width:151px;display:grid;justify-items:center;gap:12px}.se-add-scene{width:151px;height:86px;border:1px dashed var(--se-border);padding:0;background:transparent;border-radius:var(--se-scene-radius);display:grid;place-items:center;color:var(--se-faint);cursor:pointer}.se-add-scene:hover{color:var(--se-green);border-color:var(--se-green);background:var(--se-hover)}.se-add-scene svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.2;fill:none;stroke-linecap:round}.se-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.se-trim-editor{width:100%;overflow:hidden;border-radius:0 0 var(--se-viewer-radius) var(--se-viewer-radius);color:var(--se-text);contain:layout paint}.se-trim-editor[hidden]{display:none}.se-trim-toolbar{height:56px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--se-border);border-top:0;background:var(--se-card-bg)}.se-trim-editor:not(:has(.se-trim-timeline-scroll.open)) .se-trim-toolbar{border-radius:0 0 var(--se-viewer-radius) var(--se-viewer-radius)}.se-trim-editor:has(.se-trim-timeline-scroll.open) .se-trim-toolbar{border-bottom:0}.se-trim-toolbar-left,.se-trim-toolbar-center,.se-trim-toolbar-right{display:flex;align-items:center;min-width:0}.se-trim-toolbar-left{flex:1 1 0;gap:8px}.se-trim-toolbar-center{flex:0 0 auto;gap:16px}.se-trim-toolbar-right{flex:1 1 0;justify-content:flex-end;gap:8px}.se-trim-pill{width:34px;height:34px;flex:0 0 auto;border:0;padding:0;display:grid;place-items:center;border-radius:8px;color:var(--se-icon);background:var(--se-surface);cursor:pointer;transition:background .15s ease,transform .12s ease}.se-trim-pill:hover{background:var(--se-surface-hover)}.se-trim-pill:active{transform:scale(.96)}.se-trim-pill[aria-expanded=true]{color:var(--se-trim-accent);background:var(--se-trim-accent-tint)}.se-trim-pill svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.se-trim-play{width:38px;height:38px;flex:0 0 auto;border:0;padding:0;display:grid;place-items:center;color:var(--se-text);background:transparent;cursor:pointer;transition:color .15s ease,transform .12s ease}.se-trim-play:hover{color:var(--se-muted)}.se-trim-play:active{transform:scale(.9)}.se-trim-play svg{width:22px;height:22px}.se-trim-play .pause-icon,.se-trim-play.is-playing .play-icon{display:none}.se-trim-play.is-playing .pause-icon{display:block}.se-trim-play:disabled,.se-trim-pill:disabled{opacity:.35;cursor:default;pointer-events:none}.se-trim-pill:focus-visible,.se-trim-play:focus-visible,.se-trim-handle:focus-visible{outline:2px solid var(--se-trim-accent);outline-offset:2px}.se-trim-time{display:flex;align-items:center;gap:4px;color:var(--se-muted);font-size:12px}.se-trim-time-box{width:57px;padding:4px;border:0;border-radius:5px;color:var(--se-text);font-size:.8125rem;font-weight:500;font-variant-numeric:tabular-nums;text-align:center;white-space:nowrap}.se-trim-time-sep{color:var(--se-faint)}.se-trim-timeline-scroll{overflow-x:auto;overflow-y:hidden;visibility:hidden;height:0}.se-trim-timeline-scroll.open{visibility:visible;height:130px}.se-trim-timeline{position:relative;width:100%;height:130px;overflow:hidden;background:var(--se-card-bg);border-inline:1px solid var(--se-border);border-bottom:1px solid var(--se-border);touch-action:none;-webkit-user-select:none;user-select:none}.se-trim-ruler{position:absolute;inset:0 12px auto;height:28px;background:var(--se-card-bg)}.se-trim-ruler-label{position:absolute;top:8px;color:var(--se-muted);font-size:11px;font-variant-numeric:tabular-nums;transform:translate(-50%);white-space:nowrap}.se-trim-ruler-label.start{transform:none}.se-trim-ruler-label.end{transform:translate(-100%)}.se-trim-ruler-tick{position:absolute;top:12px;width:3px;height:3px;border-radius:50%;background:var(--se-trim-tick);transform:translate(-50%)}.se-trim-track{position:absolute;inset:auto 12px 12px;height:60px;overflow:hidden;border:1px solid var(--se-border);border-radius:8px;background:var(--se-trim-track-bg)}.se-trim-track-empty{position:absolute;inset:0;display:none;align-items:center;justify-content:center;gap:6px;color:var(--se-faint);font-size:12px;pointer-events:none}.se-trim-editor.is-empty .se-trim-track-empty{display:flex}.se-trim-editor.is-empty .se-trim-visual,.se-trim-editor.is-empty .se-trim-waveform,.se-trim-editor.is-empty .se-trim-shade,.se-trim-editor.is-empty .se-trim-selection,.se-trim-editor.is-empty .se-trim-handle,.se-trim-editor.is-empty .se-trim-playhead{display:none}.se-trim-visual,.se-trim-waveform{position:absolute;inset:0;width:100%;height:100%}.se-trim-visual{display:grid;grid-template-columns:repeat(var(--se-trim-frame-count, 1),minmax(0,1fr));overflow:hidden}.se-trim-frame{width:100%;height:100%;min-width:0;object-fit:cover;background:var(--se-trim-track-bg);border-right:1px solid var(--se-trim-frame-divider)}.se-trim-waveform{display:block}.se-trim-waveform[hidden]{display:none}.se-trim-shade{position:absolute;inset:0 auto;z-index:1;background:var(--se-trim-shade);pointer-events:none}.se-trim-shade.left{left:0}.se-trim-shade.right{right:0}.se-trim-selection{position:absolute;top:0;bottom:0;z-index:2;border-top:3px solid var(--se-trim-accent);border-bottom:3px solid var(--se-trim-accent);border-radius:5px;cursor:grab;touch-action:none}.se-trim-selection.dragging{cursor:grabbing}.se-trim-handle{position:absolute;top:0;bottom:0;z-index:4;width:20px;border:0;padding:0;border-radius:5px;background:var(--se-trim-accent);color:var(--se-trim-handle-grip);cursor:ew-resize;transform:translate(-50%);touch-action:none}.se-trim-handle.start{transform:translate(0);border-radius:5px 0 0 5px}.se-trim-handle.end{transform:translate(-100%);border-radius:0 5px 5px 0}.se-trim-handle:after{content:"";position:absolute;top:50%;left:50%;width:3px;height:20px;border-radius:2px;background:currentColor;transform:translate(-50%,-50%)}.se-trim-playhead{position:absolute;top:0;bottom:0;z-index:6;width:2px;pointer-events:none}.se-trim-playhead:before{content:"";position:absolute;inset:6px 0 0;background:var(--se-trim-playhead-line)}.se-trim-playhead-flag{position:absolute;top:0;left:50%;width:14px;height:16px;transform:translate(-50%);overflow:visible;fill:var(--se-card-bg);stroke:var(--se-trim-playhead-line);stroke-width:2;stroke-linejoin:round}.se-toast{position:fixed;left:50%;bottom:24px;z-index:30;transform:translate(-50%,12px);padding:9px 13px;border-radius:5px;background:#202224eb;color:#fff;font-size:12px;opacity:0;pointer-events:none;transition:opacity .16s ease,transform .16s ease}.se-toast.visible{opacity:1;transform:translate(-50%)}@media(max-width:1080px){.se-workspace{width:calc(100% - 32px);max-width:960px}.se-preview-stage,.se-viewer{width:100%}.se-trim-toolbar{padding-inline:10px;gap:8px}}@media(max-width:760px){.se-workspace{display:flex;flex-direction:column;width:calc(100% - 24px);margin-top:20px;gap:16px;padding-bottom:calc(80px + env(safe-area-inset-bottom))}.se-header-actions{position:fixed;bottom:calc(16px + env(safe-area-inset-bottom));left:16px;right:16px;height:auto;background:none;border-top:none;padding:0;z-index:99;box-shadow:none;display:flex;align-items:center;justify-content:center}.se-export-wrap{width:100%}.se-export-button{width:100%;max-width:none;height:48px;font-size:16px;font-weight:800;margin:0;border-radius:10px}.se-sidebar{order:-1;width:100%;padding-bottom:18px}.se-preview-stage{width:100%}.se-scene-toolbar{width:100%;margin-bottom:12px}.se-scene-scroll{flex:0 0 auto}.se-scene-list{display:flex;max-height:none;gap:10px;overflow-x:auto;overflow-y:hidden;padding:1px 2px calc(10px + env(safe-area-inset-bottom)) 12px}.se-scene-item,.se-scene-card,.se-add-scene{flex:0 0 151px}.se-record-row{flex:0 0 auto;display:flex;align-items:center;gap:10px}.se-toast{bottom:calc(16px + env(safe-area-inset-bottom))}}@media(max-width:460px){.se-workspace{width:calc(100% - 16px)}.se-header-left{padding-left:6px}}@media(hover:none){.se .se-scene-delete{opacity:1;top:4px;right:4px;width:28px;height:28px;background:#17191b9e;touch-action:manipulation}.se .se-scene-delete svg{width:13px;height:13px}}.se-menu-btn{display:none;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:2.5rem;height:2.5rem;padding:0;border:1px solid var(--se-border);border-radius:8px;background:var(--se-card-bg);cursor:pointer;margin-right:12px;align-self:center;z-index:10}.se-menu-btn-bar{display:block;width:18px;height:2px;border-radius:1px;background:var(--se-text)}@media(max-width:760px){.se-menu-btn{display:flex}}.se-media-controls{position:absolute;bottom:0;left:0;right:0;display:flex;flex-direction:column;background:linear-gradient(180deg,transparent 0%,rgba(10,10,12,.85) 100%);padding:16px 20px 14px;z-index:5;pointer-events:auto;touch-action:manipulation;opacity:0;transform:translateY(8px);transition:opacity .3s cubic-bezier(.4,0,.2,1),transform .3s cubic-bezier(.4,0,.2,1)}.se-viewer:hover .se-media-controls,.se-viewer:focus-within .se-media-controls,.se-media-controls.visible{opacity:1;transform:translateY(0)}.se-media-progress{position:relative;width:100%;height:20px;display:flex;align-items:center;margin-bottom:12px;cursor:pointer}.se-media-progress-track{width:100%;height:4px;background:#ffffff3d;border-radius:2px;position:relative;transition:height .15s ease}.se-media-progress:hover .se-media-progress-track{height:6px}.se-media-progress-filled{height:100%;background:var(--se-green);border-radius:inherit;width:0%}.se-media-progress-input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;touch-action:none}.se-media-bar{display:flex;align-items:center;gap:16px;width:100%}.se .se-media-play-btn{background:#ffffff26;border:0;padding:0;margin:0;width:38px;height:38px;border-radius:50%;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s ease,transform .1s ease;touch-action:manipulation}.se .se-media-play-btn:hover{background:#ffffff47;transform:scale(1.05)}.se .se-media-play-btn:active{transform:scale(.95)}.se-media-play-btn svg{width:18px;height:18px;display:block}.se-media-volume{display:flex;align-items:center;gap:8px}.se .se-media-volume-btn{background:transparent;border:0;padding:4px;margin:0;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:6px;transition:color .2s ease,background .2s ease;touch-action:manipulation}.se .se-media-volume-btn:hover{color:#fff;background:#ffffff26}.se-media-volume-btn svg{width:22px;height:22px;display:block}.se-media-volume-slider-wrap{width:0;opacity:0;overflow:hidden;height:20px;display:flex;align-items:center;position:relative;transition:width .2s ease,opacity .2s ease}.se-media-volume:hover .se-media-volume-slider-wrap,.se-media-volume-slider-wrap:focus-within{width:72px;opacity:1;margin-right:4px}.se-media-volume-track{width:100%;height:4px;background:#ffffff40;border-radius:2px;position:relative}.se-media-volume-filled{height:100%;background:var(--se-on-accent);border-radius:inherit;width:100%}.se-media-volume-knob{position:absolute;top:50%;width:8px;height:8px;border-radius:50%;background:var(--se-on-accent);box-shadow:0 1px 3px #00000059;transform:translate(-50%,-50%);pointer-events:none}.se-media-volume-input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;touch-action:none}@media(hover:none),(pointer:coarse){.se-media-volume-slider-wrap{width:88px;height:30px;opacity:1;margin-right:4px}.se-media-progress{height:30px;margin-bottom:8px}.se-media-progress-track{height:5px}.se-media-controls{padding-bottom:calc(14px + env(safe-area-inset-bottom))}}.se-media-time{display:flex;align-items:center;gap:4px;color:#fffc;font-size:13px;font-weight:500;font-family:monospace,system-ui;font-variant-numeric:tabular-nums;margin-left:auto;-webkit-user-select:none;user-select:none}.se-media-time-sep{opacity:.4}.se-media-time-total{opacity:.6}.se-viewer{display:flex;flex-direction:column;justify-content:flex-end}.se-audio-preview{display:flex;flex-direction:column}.se-viewer video::-webkit-media-controls,.se-viewer audio::-webkit-media-controls{display:none!important}
