@font-face{font-family:Nunito;src:url(/fonts/nunito-variable.woff2)format("woff2");font-weight:200 1000;font-style:normal;font-display:swap}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f4f1ee;--surface:#fff;--surface-2:#ece8e4;--surface-3:#e0dad4;--text:#1f1a16;--text-muted:#5c5249;--border:#d3cbc3;--border-strong:#a99f95;--accent:#e8913a;--on-accent:#1d1409;--accent-ink:#8a4508;--accent-soft:#fbe6cc;--danger:#b3261e;--on-danger:#fff;--focus:#1f5fd6;--scrim:#18120c80;--shadow:0 10px 30px #1f1a162e;--viewer-surround:#8a8a8a;--viewer-text:#111;--canvas-bg:#121212;--canvas-edge:#00000073;--canvas-text:#f2f2f2;--sa-top:env(safe-area-inset-top,0px);--sa-right:env(safe-area-inset-right,0px);--sa-bottom:env(safe-area-inset-bottom,0px);--sa-left:env(safe-area-inset-left,0px);--top-extra:0px;--kb:0px;--z-header:20;--z-banner:40;--z-sheet:60;--z-toast:80;--font:"Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif}@media (prefers-color-scheme:dark){:root:not([data-theme]){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#1c1917;--surface:#26211d;--surface-2:#302a25;--surface-3:#3b342e;--text:#f5f0eb;--text-muted:#b8aea4;--border:#4a423b;--border-strong:#6d6258;--accent:#f0a04b;--on-accent:#1d1409;--accent-ink:#f4a95a;--accent-soft:#4a3320;--danger:#ff8a80;--on-danger:#2b0a07;--focus:#7fb0ff;--scrim:#0000009e;--shadow:0 10px 30px #00000080;--viewer-surround:#666;--canvas-edge:#ffffff38;--viewer-text:#eee}}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#1c1917;--surface:#26211d;--surface-2:#302a25;--surface-3:#3b342e;--text:#f5f0eb;--text-muted:#b8aea4;--border:#4a423b;--border-strong:#6d6258;--accent:#f0a04b;--on-accent:#1d1409;--accent-ink:#f4a95a;--accent-soft:#4a3320;--danger:#ff8a80;--on-danger:#2b0a07;--focus:#7fb0ff;--scrim:#0000009e;--shadow:0 10px 30px #00000080;--viewer-surround:#666;--canvas-edge:#ffffff38;--viewer-text:#eee}@media (display-mode:standalone){:root{--top-extra:30px}}:root[data-standalone=true]{--top-extra:30px}*,:before,:after{box-sizing:border-box}html{scrollbar-gutter:stable;-webkit-text-size-adjust:100%}html:has(.editor){scrollbar-gutter:auto;overflow:hidden}html,body{background:var(--bg);color:var(--text);font-family:var(--font);margin:0;font-size:16px;line-height:1.4}body{min-height:100vh;-webkit-tap-highlight-color:transparent;min-height:100dvh}h1,h2,h3,p{margin:0}button{font:inherit;color:inherit}:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.icon{flex:none}.btn{cursor:pointer;background:var(--surface-2);min-width:44px;min-height:44px;color:var(--text);border:1px solid #0000;border-radius:14px;justify-content:center;align-items:center;gap:8px;padding:0 18px;font-size:16px;font-weight:700;display:inline-flex}.btn:disabled{opacity:.55;cursor:default}.btn-primary{background:var(--accent);color:var(--on-accent)}.btn-quiet{background:var(--surface-2);border-color:var(--border)}.btn-ghost{background:0 0}.btn-danger{background:var(--danger);color:var(--on-danger)}.btn-small{padding:0 14px}@media (hover:hover) and (pointer:fine){.btn-quiet:not(:disabled):hover{background:var(--surface-3)}.btn-primary:not(:disabled):hover{filter:brightness(1.06)}}.btn:active:not(:disabled){transform:translateY(1px)}.icon-btn{width:44px;height:44px;color:var(--text);cursor:pointer;background:0 0;border:0;border-radius:14px;flex:none;place-items:center;padding:0;display:inline-grid}.icon-btn:disabled{opacity:.4;cursor:default}@media (hover:hover) and (pointer:fine){.icon-btn:not(:disabled):hover{background:var(--surface-2)}}.input{width:100%;min-height:44px;font:inherit;color:var(--text);background:var(--surface);border:1.5px solid var(--border-strong);border-radius:12px;padding:0 14px;font-size:16px}input,select,textarea{font-size:16px}.input[aria-invalid=true]{border-color:var(--danger)}.form{flex-direction:column;gap:18px;display:flex}.field{flex-direction:column;gap:6px;display:flex}.field-label,.section-title{letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);font-size:.8125rem;font-weight:800}.field-error{color:var(--danger);font-weight:700}.hint{color:var(--text-muted);font-size:.875rem}.form-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.seg{flex-wrap:wrap;gap:8px;display:flex}.seg-chip{border:1.5px solid var(--border);background:var(--surface-2);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;gap:8px;min-width:44px;min-height:44px;padding:0 14px;font-weight:700;display:inline-flex}.seg-chip.on{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.aspect-glyph{border:2px solid;border-radius:3px;display:inline-block}.switch-row{justify-content:space-between;align-items:center;gap:16px;min-height:44px;display:flex}.switch-text{flex-direction:column;display:flex}.switch-label{font-weight:700}.switch{cursor:pointer;background:0 0;border:0;flex:none;width:56px;height:44px;padding:0;position:relative}.switch:before{content:"";background:var(--surface-3);border:1.5px solid var(--border-strong);border-radius:999px;position:absolute;inset:8px 0}.switch.on:before{background:var(--accent);border-color:var(--accent)}.switch-knob{background:var(--surface);border-radius:50%;width:20px;height:20px;transition:transform .15s ease-out;position:absolute;top:12px;left:4px;box-shadow:0 1px 3px #00000059}.switch.on .switch-knob{transform:translate(24px)}kbd{border:1px solid var(--border-strong);background:var(--surface-2);font:inherit;border-bottom-width:2px;border-radius:8px;margin-left:6px;padding:2px 8px;font-size:.875rem;font-weight:700;display:inline-block}.shortcut-group{flex-direction:column;gap:8px;display:flex}.shortcut-list{flex-direction:column;margin:0;display:flex}.shortcut-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:8px 0;display:flex}.shortcut-row dt{font-weight:600}.shortcut-row dd{margin:0}.setting{flex-direction:column;gap:10px;display:flex}.setting-links{align-items:stretch}.about{text-align:center;flex-direction:column;align-items:center;gap:10px;display:flex}.about-name{font-size:1.375rem}.sheet-mascot{justify-content:center;display:flex}.menu-list{flex-direction:column;gap:8px;display:flex}.menu-list .btn{justify-content:flex-start}.mascot{pointer-events:none;-webkit-user-select:none;user-select:none;transform-origin:50% 100%;flex:none;max-width:100%;line-height:0;display:inline-block}.mascot picture{display:block}.mascot img{-webkit-user-drag:none;max-width:100%;height:auto;display:block}@keyframes mascot-pop{0%{opacity:0;transform:scale(.6)}70%{opacity:1;transform:scale(1.08)}to{opacity:1;transform:scale(1)}}@keyframes mascot-wave{0%,to{transform:rotate(0)}20%{transform:rotate(-8deg)}45%{transform:rotate(7deg)}70%{transform:rotate(-5deg)}}@keyframes mascot-bounce{0%,to{transform:translateY(0)}40%{transform:translateY(-10px)}70%{transform:translateY(0)}85%{transform:translateY(-4px)}}@keyframes mascot-wobble{0%,to{transform:rotate(0)}25%{transform:rotate(-6deg)}60%{transform:rotate(5deg)}}.mascot-anim-pop{animation:.4s ease-out both mascot-pop}.mascot-anim-wave{animation:1.2s ease-in-out mascot-wave}.mascot-anim-bounce{animation:1s ease-out mascot-bounce}.mascot-anim-wobble{animation:.7s ease-in-out mascot-wobble}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.mascot-anim,.mascot-anim *{animation:none!important}}.notice{align-items:center;gap:10px;display:flex}.home{min-height:100vh;flex-direction:column;min-height:100dvh;display:flex}.app-header{z-index:var(--z-header);padding:calc(var(--sa-top) + var(--top-extra) + 8px) calc(var(--sa-right) + 16px) 8px calc(var(--sa-left) + 16px);border-bottom:1px solid var(--border);background:var(--surface);align-items:center;gap:12px;display:flex;position:sticky;top:0}.app-header h1{letter-spacing:-.01em;flex:1;min-width:0;font-size:1.5rem;font-weight:900}.home-main{width:100%;max-width:1040px;padding:20px calc(var(--sa-right) + 16px) calc(var(--sa-bottom) + 24px) calc(var(--sa-left) + 16px);flex-direction:column;flex:1;gap:20px;margin:0 auto;display:flex}.home-actions{flex-wrap:wrap;gap:10px;display:flex}.home-actions.centered{justify-content:center}.offline-note{background:var(--accent-soft);border:1px solid var(--border);border-radius:18px;align-items:center;gap:14px;padding:10px 16px;font-weight:700;display:flex}:root[data-theme=dark] .offline-note{color:var(--text)}.empty{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:14px;padding:24px 0;display:flex}.empty-title{font-size:1.375rem;font-weight:800}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:16px;margin:0;padding:0;list-style:none;display:grid}.card{background:var(--surface);border:1px solid var(--border);border-radius:18px;display:flex;position:relative;overflow:hidden;box-shadow:0 1px 2px #1f1a1614}.card-open{text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1;min-width:0;padding:0;display:flex}.card-thumb{aspect-ratio:16/9;background:var(--surface-3);color:var(--text-muted);place-items:center;display:grid;overflow:hidden}.card-thumb img{object-fit:cover;width:100%;height:100%}.card-text{flex-direction:column;gap:2px;min-height:62px;padding:10px 56px 12px 14px;display:flex}.card-name{text-overflow:ellipsis;white-space:nowrap;font-weight:800;overflow:hidden}.card-meta{color:var(--text-muted);font-size:.875rem}.card-menu{position:absolute;bottom:4px;right:4px}.sheet-backdrop{z-index:var(--z-sheet);padding-bottom:var(--kb);background:var(--scrim);overscroll-behavior:contain;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{width:100%;max-width:560px;max-height:calc(100vh - var(--sa-top) - 16px - var(--kb,0px));max-height:calc(100dvh - var(--sa-top) - 16px - var(--kb,0px));background:var(--surface);color:var(--text);box-shadow:var(--shadow);padding:8px max(16px, var(--sa-right)) max(16px, var(--sa-bottom)) max(16px, var(--sa-left));border-radius:24px 24px 0 0;flex-direction:column;animation:.22s ease-out sheet-up;display:flex;position:relative}.sheet-grab{background:var(--border-strong);border-radius:999px;flex:none;align-self:center;width:40px;height:5px;margin-bottom:4px}.sheet-grab,.sheet-header{touch-action:none}.sheet-header{justify-content:space-between;align-items:center;gap:8px;display:flex}.sheet-title{overflow-wrap:anywhere;font-size:1.25rem;font-weight:900}.sheet-body{overscroll-behavior:contain;flex-direction:column;flex:auto;gap:16px;min-height:0;margin:0 -6px;padding:8px 6px;display:flex;overflow-y:auto}.sheet-footer{flex-wrap:wrap;gap:12px;padding-top:8px;display:flex}@media (min-width:768px) and (min-height:500px){.sheet-backdrop:not(.docked){padding:max(24px, var(--sa-top)) max(24px, var(--sa-right)) calc(max(24px, var(--sa-bottom)) + var(--kb)) max(24px, var(--sa-left));align-items:center}.sheet-backdrop:not(.docked) .sheet{max-height:calc(100dvh - max(24px, var(--sa-top)) - max(24px, var(--sa-bottom)) - var(--kb));border-radius:24px;padding:16px 24px 24px}.sheet-backdrop:not(.docked) .sheet-grab{display:none}}@keyframes sheet-up{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}.sheet-backdrop.docked{top:var(--dock-top,0px);left:var(--dock-left,0px);right:0;bottom:max(var(--dock-bottom,0px), var(--kb));pointer-events:none;background:0 0;padding:0;inset-block-end:max(var(--dock-bottom,0px), var(--kb))}.sheet-backdrop.docked .sheet{pointer-events:auto;border:1px solid var(--border);border-bottom:0;border-radius:20px 20px 0 0;max-width:none;height:100%;max-height:100%;padding-bottom:12px;animation:none;box-shadow:0 -6px 24px #0000002e}html[data-dock=landscape] .sheet-backdrop.docked .sheet{padding-bottom:max(12px, var(--sa-bottom));border-radius:20px 0 0}.toast-region{z-index:var(--z-toast);left:max(12px, var(--sa-left));right:max(12px, var(--sa-right));bottom:calc(var(--bottom-bar,var(--sa-bottom)) + 12px);pointer-events:none;flex-direction:column;align-items:center;gap:8px;display:flex;position:fixed}html[data-sheet=open] .toast-region{top:calc(var(--sa-top) + var(--top-extra) + 8px);bottom:auto}@media (min-width:1024px) and (min-height:600px){.toast-region{bottom:max(16px, var(--sa-bottom));align-items:flex-end}html[data-sheet=open] .toast-region{align-items:center;bottom:auto}}.toast{pointer-events:auto;background:var(--text);max-width:min(100%,460px);min-height:52px;color:var(--bg);box-shadow:var(--shadow);border-radius:16px;align-items:center;gap:10px;padding:6px 4px 6px 14px;font-weight:700;animation:.18s ease-out toast-in;display:flex}.toast-warning,.toast-error{background:var(--surface);color:var(--text);border:2px solid var(--accent)}.toast-text{overflow-wrap:anywhere;flex:1;min-width:0}.toast-close{pointer-events:auto;width:44px;height:44px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:12px;flex:none;place-items:center;display:inline-grid}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.update-banner{z-index:var(--z-banner);left:max(12px, var(--sa-left));right:max(12px, var(--sa-right));bottom:calc(var(--bottom-bar,var(--sa-bottom)) + 12px);background:var(--surface);border:2px solid var(--accent);width:-moz-fit-content;width:fit-content;max-width:calc(100% - 24px);box-shadow:var(--shadow);border-radius:20px;align-items:center;gap:10px;margin:0 auto;padding:8px 12px;font-weight:800;display:flex;position:fixed}.update-text{min-width:0}.editor{height:100vh;background:var(--bg);height:100dvh;color:var(--text);display:grid;position:relative}.editor-header{z-index:var(--z-header);padding:calc(var(--sa-top) + var(--top-extra) + 6px) calc(var(--sa-right) + 8px) 6px calc(var(--sa-left) + 8px);background:var(--surface);border-bottom:1px solid var(--border);grid-area:1/1/auto/-1;align-items:center;gap:4px;display:flex;position:sticky;top:0}.project-title{cursor:pointer;background:0 0;border:0;border-radius:14px;flex:1;justify-content:center;align-items:center;gap:8px;min-width:0;min-height:44px;padding:0 12px;font-size:1rem;font-weight:800;display:inline-flex}.project-title-text{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}@media (hover:hover) and (pointer:fine){.project-title:hover{background:var(--surface-2)}}.viewer-cell,.timeline-cell,.panel{min-width:0;min-height:0}.viewer-surround{background:var(--viewer-surround);height:100%;min-height:0;color:var(--viewer-text);flex-direction:column;display:flex}.viewer-stage{flex:1;place-items:center;min-height:0;display:grid;position:relative;overflow:hidden;container-type:size}.viewer-canvas{width:min(100cqw - 24px, calc((100cqh - 24px) * var(--ar,1.7778)));background:var(--canvas-bg);color:var(--canvas-text);place-items:center;font-size:.8125rem;font-weight:700;display:grid;box-shadow:0 2px 14px #00000059}.viewer-gl{object-fit:contain;width:100%;height:100%;display:block}.viewer-overlay{touch-action:none;-webkit-user-select:none;user-select:none;position:absolute;inset:0}.viewer-overlay-svg{pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.vo-box{fill:none;stroke:#fff;stroke-width:1.5px;filter:drop-shadow(0 0 1.5px #000000e6)}.vo-stem{stroke:#fff;stroke-width:1.5px}.vo-handle{fill:#fff;stroke:#1f5fd6;stroke-width:2px}.vo-rotate{fill:#1f5fd6;stroke:#fff}.vo-anchor circle{fill:none;stroke:#fff;stroke-width:2px;filter:drop-shadow(0 0 1.5px #000000e6)}.vo-anchor line{stroke:#fff;stroke-width:1.5px}.vo-path{fill:none;stroke:#ffd166;stroke-width:2px;stroke-dasharray:6 4}.vo-path-point{fill:#ffd166;stroke:#1d1409;stroke-width:1px}.vo-guide{fill:#1f8fff}.viewer-transport{scrollbar-width:none;background:var(--surface);color:var(--text);border-top:1px solid var(--border);flex:none;align-items:center;gap:6px;padding:4px 8px;display:flex;position:relative;overflow-x:auto}.viewer-transport::-webkit-scrollbar{display:none}.vt-group{flex:none;align-items:center;gap:2px;display:flex}.vt-main{margin-inline:auto}.vt-btn{width:36px;height:36px;color:var(--text);cursor:pointer;background:0 0;border:0;border-radius:10px;flex:none;place-items:center;display:inline-grid}.vt-btn:disabled{opacity:.4;cursor:default}.vt-btn.on{background:var(--accent-soft);color:var(--accent-ink)}:root[data-theme=dark] .vt-btn.on{color:var(--text)}@media (hover:hover) and (pointer:fine){.vt-btn:not(.on):not(:disabled):hover{background:var(--surface-2)}}.vt-timecode,.vt-timecode-input{border:1px solid var(--border);background:var(--bg);min-width:118px;min-height:36px;color:var(--text);font-variant-numeric:tabular-nums;cursor:text;border-radius:10px;flex:none;padding:0 8px;font:700 16px/1 ui-monospace,SF Mono,Menlo,Consolas,monospace}.vt-timecode-form{flex:none;display:flex}.vt-timecode-input{width:132px}.vt-timecode-input.bad{border-color:var(--danger)}.vt-speed{flex:none;font-size:.8125rem;font-weight:800}.vt-quality select{border:1px solid var(--border);background:var(--bg);min-height:36px;color:var(--text);border-radius:10px;padding:0 6px;font-size:16px}@media (pointer:coarse){.vt-btn{width:44px;height:44px}.vt-timecode,.vt-timecode-input,.vt-quality select{min-height:44px}}.vt-wrap{flex:none}.viewer-transport.vt-phone{justify-content:space-between;gap:0;padding:4px;overflow:hidden}.viewer-transport.vt-phone .vt-group{gap:0}.viewer-transport.vt-phone .vt-main{margin-inline:0}.viewer-transport.vt-phone .vt-timecode{width:100px;min-width:0;padding:0 4px;font-size:13px}.viewer-transport.vt-phone .vt-timecode-form{z-index:2;background:var(--surface);align-items:center;padding:4px 8px;position:absolute;inset:0}.viewer-transport.vt-phone .vt-timecode-input{width:100%;min-width:0}.vt-menu{flex-direction:column;gap:2px;display:flex}.sheet-backdrop:has([data-testid=vt-menu]){z-index:calc(var(--z-sheet) + 6)}.vt-menu-item{width:100%;min-height:44px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;padding:0 12px;font-weight:700;display:flex}.vt-menu-item.on{background:var(--accent-soft);color:var(--accent-ink)}:root[data-theme=dark] .vt-menu-item.on{color:var(--text)}.vt-menu-row{justify-content:space-between}.vt-menu-row select{border:1px solid var(--border);background:var(--bg);max-width:130px;min-height:44px;color:var(--text);border-radius:10px;padding:0 6px;font-size:16px}.editor[data-layout=phone][data-orientation=landscape] .viewer-transport{padding-bottom:calc(4px + var(--sa-bottom))}.viewer-surround:fullscreen{width:100vw;height:100vh}.viewer-surround.viewer-fs{z-index:calc(var(--z-sheet) + 5);padding:calc(var(--sa-top) + var(--top-extra)) var(--sa-right) var(--sa-bottom) var(--sa-left);position:fixed;inset:0}.timeline-mount{background:var(--surface);--clip-video:#e8913a;--clip-video-ink:#1d1409;--clip-audio:#5d8f7a;--clip-audio-ink:#08140f;--clip-image:#b98ad6;--clip-title:#6f9be0;--clip-adjust:#9a9a9a;--ruler-tick:var(--border-strong);--ruler-text:var(--text-muted);--playhead:#e5484d;--guide:#1f8fff;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;flex-direction:column;height:100%;min-height:0;display:flex;position:relative}.tl-toolbar{border-bottom:1px solid var(--border);background:var(--surface-2);scrollbar-width:thin;flex:none;align-items:center;gap:6px;padding:2px 6px;display:flex;overflow:auto hidden}.tl-group{border-right:1px solid var(--border);flex:none;align-items:center;gap:1px;padding-right:6px;display:flex}.tl-group:last-child{border-right:0}.tl-btn{width:30px;height:30px;color:var(--text);cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;place-items:center;padding:0;display:inline-grid}.tl-btn:disabled{opacity:.38;cursor:default}.tl-btn.on{background:var(--accent);color:var(--on-accent)}@media (hover:hover) and (pointer:fine){.tl-btn:not(:disabled):not(.on):hover{background:var(--surface-3)}}.timeline-mount[data-coarse=true] .tl-btn{border-radius:12px;width:44px;height:44px}.tl-zoom-slider{width:110px;accent-color:var(--accent)}.tl-scroll{overscroll-behavior:contain;touch-action:pan-x pan-y;flex:1;min-height:0;position:relative;overflow:auto}.tl-content{min-width:100%;position:relative}.tl-ruler-row{z-index:6;background:var(--surface-2);border-bottom:1px solid var(--border);display:flex;position:sticky;top:0}.tl-corner{z-index:7;font-variant-numeric:tabular-nums;color:var(--text);background:var(--surface-2);border-right:1px solid var(--border);flex:none;align-items:center;padding:0 8px;font-size:.75rem;font-weight:800;display:flex;position:sticky;left:0}.tl-ruler{cursor:text;touch-action:none;flex:none;position:relative}.ruler-canvas{pointer-events:none;position:absolute;top:0}.ruler-range{background:color-mix(in srgb, var(--guide) 22%, transparent);pointer-events:none;position:absolute;top:0;bottom:0}.range-handle{cursor:ew-resize;touch-action:none;width:14px;margin-left:-7px;position:absolute;top:0;bottom:0}.range-handle:after{content:"";background:var(--guide);border-radius:2px;width:4px;position:absolute;top:2px;bottom:2px;left:5px}.marker{cursor:grab;touch-action:none;z-index:2;width:18px;height:18px;margin-left:-9px;position:absolute;bottom:0}.marker:before{content:"";background:var(--marker,var(--accent));clip-path:polygon(0 0,100% 0,100% 60%,50% 100%,0 60%);width:12px;height:14px;position:absolute;top:2px;left:3px}.marker-name{text-overflow:ellipsis;white-space:nowrap;max-width:120px;color:var(--text);pointer-events:none;font-size:.6875rem;font-weight:800;position:absolute;bottom:2px;left:18px;overflow:hidden}.playhead-head{z-index:3;cursor:ew-resize;touch-action:none;width:16px;margin-left:-8px;position:absolute;top:0;bottom:0}.playhead-head:before{content:"";background:var(--playhead);clip-path:polygon(0 0,100% 0,100% 55%,50% 100%,0 55%);width:12px;height:12px;position:absolute;top:0;left:2px}.playhead-head:after{content:"";background:var(--playhead);width:2px;position:absolute;top:10px;bottom:0;left:7px}.tl-body{position:relative}.track-row{border-bottom:1px solid var(--border);display:flex;position:relative}.track-header{z-index:4;background:var(--surface-2);border-right:1px solid var(--border);cursor:grab;touch-action:pan-y;flex:none;align-items:center;gap:2px;padding:0 4px;display:flex;position:sticky;left:0}.track-header.compact{padding:0 2px}.th-name{min-width:0;min-height:44px;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;flex-direction:column;flex:auto;justify-content:center;align-items:flex-start;padding:0 6px;display:flex}.th-name-text{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:.8125rem;font-weight:800;overflow:hidden}.th-marks{color:var(--text-muted);align-items:center;gap:3px;font-size:.625rem;font-weight:900;display:flex}.th-buttons{flex:none;gap:1px;display:flex}.th-btn{color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:inline-grid;position:relative}.th-small{width:28px;height:28px}.th-touch{width:44px;height:44px}.th-btn.on{background:var(--accent-soft);color:var(--accent-ink)}.th-btn.th-target.on{color:var(--guide);background:0 0}.th-s,.th-s-mark{font-size:.5625rem;font-weight:900}.th-s{position:absolute;bottom:2px;right:3px}.track-lane{flex:none;position:relative}.track-row.locked .track-lane{background:repeating-linear-gradient(135deg, transparent 0 8px, color-mix(in srgb, var(--text) 6%, transparent) 8px 10px)}.track-row.hidden-track .clip-block,.track-row.muted-track .clip-block{opacity:.45}.clip-block{background:var(--clip-video);color:var(--clip-video-ink);cursor:grab;touch-action:pan-x pan-y;border-radius:7px;position:absolute;top:4px;bottom:4px;overflow:hidden;box-shadow:inset 0 0 0 1px #00000040}.clip-audio{background:var(--clip-audio);color:var(--clip-audio-ink)}.clip-image{background:var(--clip-image)}.clip-title{background:var(--clip-title)}.clip-adjustment{background:var(--clip-adjust)}.clip-block.selected{box-shadow:inset 0 0 0 2px #fff, 0 0 0 2px var(--focus);z-index:1}.clip-block.armed{transform:translateY(-2px);box-shadow:0 6px 14px #00000059,inset 0 0 0 2px #fff}.clip-block.locked{cursor:default}.timeline-mount[data-tool=blade] .clip-block{cursor:crosshair}.timeline-mount[data-tool=slip] .clip-block,.timeline-mount[data-tool=slide] .clip-block,.timeline-mount[data-tool=roll] .clip-block{cursor:ew-resize}.clip-canvas{pointer-events:none;position:absolute;top:0}.clip-label{white-space:nowrap;pointer-events:none;align-items:center;gap:4px;max-width:100%;padding:0 6px;font-size:.6875rem;font-weight:800;display:flex;position:absolute;top:2px;left:0}.clip-name,.clip-tag,.clip-link{color:#1d1409;background:#ffffffd1;border-radius:4px;padding:0 4px}.clip-link{place-items:center;padding:1px 2px;display:inline-grid}.clip-name{text-overflow:ellipsis;overflow:hidden}.trim-handle{z-index:2;cursor:ew-resize;width:8px;position:absolute;top:0;bottom:0}.trim-start{left:0}.trim-end{right:0}.clip-block.selected .trim-handle{background:#ffffff8c}.trim-handle.touch{touch-action:none;width:18px}.trim-handle.touch:after{content:"";background:#1d1409;border-radius:2px;width:4px;position:absolute;top:30%;bottom:30%;left:7px}.kf-diamond{z-index:3;cursor:ew-resize;touch-action:none;background:#fff6d9;border:1.5px solid #1d1409;width:12px;height:12px;margin-left:-6px;position:absolute;bottom:3px;transform:rotate(45deg)}.kf-diamond.on{background:var(--guide);border-color:#fff}.timeline-mount[data-coarse=true] .kf-diamond{width:16px;height:16px;margin-left:-8px}.transition-block{z-index:2;pointer-events:none;background:repeating-linear-gradient(135deg,#ffffffd9 0 6px,#1f8fffbf 6px 12px);border-radius:6px;position:absolute;top:10px;bottom:10px;box-shadow:0 0 0 1px #00000059}.trans-edge{pointer-events:auto;cursor:ew-resize;touch-action:none;width:14px;position:absolute;top:-6px;bottom:-6px}.trans-edge.start{left:-7px}.trans-edge.end{right:-7px}.trans-edge:after{content:"";background:var(--guide);border-radius:2px;width:4px;position:absolute;top:4px;bottom:4px;left:5px}.media-ghost{border:2px dashed var(--guide);background:color-mix(in srgb, var(--guide) 18%, transparent);pointer-events:none;border-radius:7px;position:absolute;top:4px;bottom:4px}.media-drag-ghost{z-index:var(--z-toast);background:var(--accent);max-width:180px;color:var(--on-accent);white-space:nowrap;text-overflow:ellipsis;pointer-events:none;box-shadow:var(--shadow);border-radius:10px;padding:6px 10px;font-size:.8125rem;font-weight:800;position:fixed;top:0;left:0;overflow:hidden}.media-item.armed{outline:3px solid var(--accent)}.tl-overlay{z-index:3;pointer-events:none;position:absolute;top:0}.range-shade{background:color-mix(in srgb, var(--guide) 12%, transparent);border-left:1px solid var(--guide);border-right:1px solid var(--guide);position:absolute;top:0;bottom:0}.playhead-line{background:var(--playhead);width:2px;margin-left:-1px;position:absolute;top:0;bottom:0}.snap-guide{background:var(--guide);width:2px;margin-left:-1px;position:absolute;top:0;bottom:0;box-shadow:0 0 0 1px #fff9}.select-box{border:1.5px solid var(--guide);background:color-mix(in srgb, var(--guide) 15%, transparent);position:absolute}.tl-add-row{z-index:4;background:var(--surface);flex-direction:column;gap:2px;padding:4px;display:flex;position:sticky;left:0}.tl-add-btn{border:1px dashed var(--border-strong);min-height:32px;color:var(--text-muted);font:inherit;cursor:pointer;background:0 0;border-radius:8px;align-items:center;gap:6px;padding:0 10px;font-size:.75rem;font-weight:800;display:inline-flex}.tl-add-btn:disabled{opacity:.45;cursor:default}.timeline-mount[data-coarse=true] .tl-add-btn{min-height:44px}.tl-menu{z-index:var(--z-sheet);background:var(--surface);border:1px solid var(--border);min-width:190px;box-shadow:var(--shadow);border-radius:14px;padding:6px;position:fixed}.tl-menu-item{width:100%;min-height:44px;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;padding:0 14px;font-weight:700;display:block}.tl-menu-item:disabled{opacity:.4;cursor:default}.tl-menu-item:not(:disabled):hover,.tl-menu-item:focus-visible{background:var(--surface-2)}.speed-body,.marker-body,.track-sheet-body{flex-direction:column;gap:12px;display:flex}.speed-presets,.marker-colors,.track-sheet-row{flex-wrap:wrap;gap:8px;display:flex}.speed-row{gap:8px;margin-top:6px;display:flex}.marker-swatch{cursor:pointer;border:3px solid #0000;border-radius:50%;width:44px;height:44px}.marker-swatch.on{border-color:var(--text)}.cut-hint{z-index:8;background:var(--surface);border:1px solid var(--border);max-width:min(420px,100% - 20px);box-shadow:var(--shadow);border-radius:14px;align-items:center;gap:10px;padding:10px 12px;display:flex;position:absolute;top:52px;right:10px}.cut-hint-text{flex-direction:column;gap:2px;font-size:.8125rem;display:flex}.inspector-mount{flex-direction:column;gap:10px;padding:12px;display:flex}.sheet-body .inspector-mount{padding:0}.inspector-head{align-items:baseline;gap:8px;min-width:0;display:flex}.inspector-head .panel-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.inspector-type{color:var(--text-muted);flex:none;font-size:.8125rem;font-weight:700}.inspector-section{border-top:1px solid var(--border);flex-direction:column;gap:6px;padding-top:8px;display:flex}.is-head{align-items:center;gap:8px;display:flex}.is-title{flex:1;font-size:.875rem;font-weight:900}.is-reset{min-height:32px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:4px;padding:0 8px;font-size:.8125rem;font-weight:800;display:inline-flex}.is-body{flex-direction:column;gap:6px;display:flex}.if-field{flex-direction:column;gap:4px;display:flex}.if-row,.if-inline,.if-select-row,.if-speed{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;display:flex}.if-row{flex-wrap:nowrap}.if-label{width:80px;color:var(--text-muted);-webkit-user-select:none;user-select:none;flex:none;font-size:.8125rem;font-weight:800}.if-label.draggable{cursor:ew-resize;touch-action:none}.if-input,.if-select{border:1px solid var(--border);background:var(--bg);width:0;min-width:0;min-height:34px;color:var(--text);font-variant-numeric:tabular-nums;border-radius:10px;flex:1;padding:0 8px;font-size:16px}.if-input.bad{border-color:var(--danger)}.if-keys{flex:none;align-items:center;display:inline-flex}.if-key-btn{width:28px;height:28px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;display:inline-grid}.if-key-btn:disabled{opacity:.35;cursor:default}.if-key-btn.diamond.animated,.if-key-btn.diamond.on{color:var(--accent-ink)}.if-key-btn.diamond.on .icon{fill:currentColor}:root[data-theme=dark] .if-key-btn.diamond.on,:root[data-theme=dark] .if-key-btn.diamond.animated{color:var(--accent)}.if-slider{width:100%;min-height:44px;accent-color:var(--accent)}.if-interp{color:var(--text-muted);align-items:center;gap:6px;font-size:.8125rem;font-weight:700;display:flex}.if-interp select{border:1px solid var(--border);background:var(--bg);min-height:32px;color:var(--text);border-radius:8px;font-size:16px}.if-lock-row{padding-left:86px;display:flex}.if-lock,.if-toggle{border:1px solid var(--border);min-height:32px;color:var(--text);cursor:pointer;background:0 0;border-radius:999px;align-items:center;gap:6px;padding:0 10px;font-size:.8125rem;font-weight:800;display:inline-flex}.if-lock.on,.if-toggle.on{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-ink)}:root[data-theme=dark] .if-lock.on,:root[data-theme=dark] .if-toggle.on{color:var(--text)}.if-value{font-weight:800}@media (pointer:coarse){.if-key-btn{width:44px;height:44px}.is-reset,.if-input,.if-select,.if-interp select,.if-lock,.if-toggle{min-height:44px}.if-label{width:64px}.if-lock-row{padding-left:0}}.curve-editor{border:1px solid var(--border);background:var(--surface);border-radius:12px;flex-direction:column;gap:6px;padding:8px;display:flex}.ce-head{align-items:center;gap:2px;display:flex}.ce-title{flex:1;font-size:.875rem;font-weight:900}.ce-box{width:100%;min-width:0}.ce-graph{touch-action:none;display:block}.ce-bg{fill:var(--bg)}.ce-playhead{stroke:#e5484d;stroke-width:1.5px}.ce-axis{fill:var(--text-muted);font-size:10px;font-weight:700}.ce-curve{fill:none;stroke:var(--accent-ink);stroke-width:2px}:root[data-theme=dark] .ce-curve{stroke:var(--accent)}.ce-key{fill:var(--accent);stroke:var(--text);stroke-width:1.5px;cursor:move}.ce-handle{fill:var(--surface);stroke:var(--focus);stroke-width:2px;cursor:move}.ce-handle-line{stroke:var(--focus);stroke-width:1px}.panel-title{font-size:1rem;font-weight:900}.panel-placeholder{text-align:center;color:var(--text-muted);flex-direction:column;align-items:center;gap:8px;padding:16px 8px;display:flex}.editor[data-layout=phone]{grid-template-rows:auto minmax(0,8fr) minmax(172px,11fr) auto;grid-template-columns:minmax(0,1fr)}.editor[data-layout=phone] .viewer-cell{grid-area:2/1}.editor[data-layout=phone] .timeline-cell{border-top:1px solid var(--border);padding:0 var(--sa-right) 0 var(--sa-left);background:var(--surface);grid-area:3/1}.editor-toolbar{z-index:var(--z-header);padding:6px calc(var(--sa-right) + 4px) var(--sa-bottom) calc(var(--sa-left) + 4px);background:var(--surface);border-top:1px solid var(--border);box-shadow:0 40px 0 var(--surface), 0 80px 0 var(--surface), 0 120px 0 var(--surface), 0 160px 0 var(--surface);grid-area:4/1;gap:2px;display:flex;position:sticky;bottom:0}.tool-btn{min-width:44px;min-height:52px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:14px;flex-direction:column;flex:1 1 0;justify-content:center;align-items:center;gap:2px;padding:2px 0;font-size:.75rem;font-weight:800;display:flex}.tool-btn.on{background:var(--accent-soft);color:var(--accent-ink)}:root[data-theme=dark] .tool-btn.on{color:var(--text)}.editor[data-layout=phone][data-orientation=landscape]{grid-template-rows:auto minmax(0,1fr);grid-template-columns:auto minmax(0,1fr) minmax(0,1fr)}.editor[data-layout=phone][data-orientation=landscape] .editor-toolbar{width:calc(76px + var(--sa-left));padding:0 4px var(--sa-bottom) calc(var(--sa-left) + 4px);border-top:0;border-right:1px solid var(--border);flex-direction:column;grid-area:2/1;gap:0;overflow-y:auto}.editor[data-layout=phone][data-orientation=landscape] .tool-btn{flex-direction:row;flex:none;justify-content:flex-start;gap:6px;height:44px;min-height:44px;padding:0 6px;font-size:.6875rem}.editor[data-layout=phone][data-orientation=landscape] .tool-btn .icon{width:18px;height:18px}.editor[data-layout=phone][data-orientation=landscape] .viewer-cell{grid-area:2/2}.editor[data-layout=phone][data-orientation=landscape] .timeline-cell{padding-bottom:var(--sa-bottom);border-top:0;border-left:1px solid var(--border);grid-area:2/3}.editor[data-layout=desktop]{padding:0 var(--sa-right) var(--sa-bottom) var(--sa-left);grid-template-columns:var(--left-w) 6px minmax(0, 1fr) 6px var(--right-w);grid-template-rows:auto minmax(0, 1fr) 6px var(--tl-h)}.editor[data-layout=desktop] .editor-header{margin:0 calc(-1 * var(--sa-right)) 0 calc(-1 * var(--sa-left))}.editor[data-layout=desktop] .panel-left{grid-area:2/1}.editor[data-layout=desktop] .splitter-left{grid-area:2/2}.editor[data-layout=desktop] .viewer-cell{grid-area:2/3}.editor[data-layout=desktop] .splitter-right{grid-area:2/4}.editor[data-layout=desktop] .panel-right{grid-area:2/5}.editor[data-layout=desktop] .splitter-timeline{grid-area:3/1/auto/-1}.editor[data-layout=desktop] .timeline-cell{grid-area:4/1/auto/-1}.panel{background:var(--surface);flex-direction:column;display:flex;overflow:hidden}.panel-right{overflow-y:auto}.panel-right,.sheet-body,.panel-body{overflow-anchor:none}.tabs{border-bottom:1px solid var(--border);gap:4px;padding:6px;display:flex}.tab{min-height:44px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:12px;flex:1;justify-content:center;align-items:center;gap:6px;font-weight:800;display:inline-flex}.tab.on{background:var(--accent-soft);color:var(--accent-ink)}:root[data-theme=dark] .tab.on{color:var(--text)}.panel-body{flex:1;min-height:0;padding:12px;overflow-y:auto}.splitter{background:var(--bg);touch-action:none;position:relative}.splitter-vertical{cursor:col-resize}.splitter-horizontal{cursor:row-resize}.splitter:after{content:"";background:var(--border-strong);border-radius:2px;margin:auto;position:absolute;inset:0}.splitter-vertical:after{width:2px;height:36px}.splitter-horizontal:after{width:36px;height:2px}.splitter:hover:after,.splitter:focus-visible:after{background:var(--accent)}.media-bin{flex-direction:column;gap:14px;display:flex}.media-actions{flex-wrap:wrap;gap:8px;display:flex}.media-grid{grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:10px;margin:0;padding:0;list-style:none;display:grid}.media-item{background:var(--surface-2);text-align:left;cursor:pointer;border:2px solid #0000;border-radius:14px;flex-direction:column;gap:4px;width:100%;min-height:44px;padding:6px;display:flex;position:relative}.media-item.selected{border-color:var(--accent);background:var(--accent-soft)}:root[data-theme=dark] .media-item.selected{color:var(--text)}.media-thumb{aspect-ratio:16/9;background:var(--surface-3);color:var(--text-muted);border-radius:8px;place-items:center;display:grid;overflow:hidden}.media-thumb img{object-fit:cover;width:100%;height:100%}.media-name{text-overflow:ellipsis;white-space:nowrap;font-size:.8125rem;font-weight:800;overflow:hidden}.media-length{color:var(--text-muted);font-size:.75rem;font-weight:700}.drop-overlay{z-index:var(--z-banner);background:var(--scrim);border:4px dashed var(--accent);color:#fff;pointer-events:none;place-items:center;font-size:1.5rem;font-weight:900;display:grid;position:absolute;inset:0}.unsupported{padding:calc(var(--sa-top) + 24px) 24px 24px;max-width:560px;margin:0 auto}.unsupported h1{margin:0 0 16px;font-size:1.5rem}.color-panel{flex-direction:column;gap:8px;min-width:0;display:flex}.color-top{align-items:center;min-height:76px;display:flex}.color-top>*{width:100%}.color-hint{background:var(--surface-2);color:var(--text-muted);border-radius:12px;align-items:center;gap:10px;padding:6px 8px;font-size:.8125rem;font-weight:700;display:flex}.color-hint p{margin:0}.color-actions{flex-wrap:wrap;gap:6px;display:flex}.color-actions .btn,.color-actions .if-toggle{min-height:44px}.color-tabs{z-index:2;background:var(--surface);position:sticky;top:0}.color-tabs,.cg-tabs{scrollbar-width:thin;gap:4px;padding-bottom:2px;display:flex;overflow-x:auto}.color-tab,.cg-tab{border:1px solid var(--border);min-height:44px;color:var(--text);cursor:pointer;background:0 0;border-radius:999px;flex:none;padding:0 12px;font-size:.8125rem;font-weight:800}.color-tab.on,.cg-tab.on{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-ink)}:root[data-theme=dark] .color-tab.on,:root[data-theme=dark] .cg-tab.on{color:var(--text)}.color-body{min-width:0}.color-fields{flex-direction:column;gap:6px;display:flex}.color-sub{color:var(--text-muted);margin:8px 0 0;font-size:.8125rem;font-weight:900}.if-field .if-slider{min-height:32px}@media (pointer:coarse){.if-field .if-slider{min-height:44px}}.cw-grid{grid-template-columns:minmax(0,1fr);gap:14px;display:grid}.cw{flex-direction:column;gap:6px;min-width:0;display:flex}.cw-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px;display:flex}.cw-title{font-size:.875rem;font-weight:900}.cw-wheel{aspect-ratio:1;border:2px solid var(--border-strong);cursor:crosshair;touch-action:none;-webkit-user-select:none;user-select:none;background:radial-gradient(circle,gray 0%,#80808000 72%),conic-gradient(from 30deg,#ffe600 0deg,red 60deg,#f0f 120deg,#00f 180deg,#0ff 240deg,#0f0 300deg,#ffe600 360deg);border-radius:50%;align-self:center;width:max(76px,min(100%,132px,16vh));position:relative}.cw-puck{pointer-events:none;border:3px solid #fff;border-radius:50%;width:18px;height:18px;margin:-9px 0 0 -9px;position:absolute;box-shadow:0 0 0 1.5px #000}.cg{flex-direction:column;gap:8px;display:flex}.cg-svg{aspect-ratio:auto;touch-action:none;cursor:crosshair;background:var(--bg);border-radius:10px;align-self:center;width:min(100%,340px,max(150px,30vh))}.cg-bg,.cg-hue-bg{fill:var(--surface);stroke:var(--border-strong)}.cg-grid line{stroke:var(--border);stroke-width:1px}.cg-line{fill:none;stroke-width:2px}.cg-point{fill:var(--surface);stroke:var(--text);stroke-width:2px;cursor:grab}.cg-point.on{fill:var(--accent)}.cg-point.off{opacity:.35}.cg-point-fields{flex-direction:column;gap:6px;display:flex}.scopes{flex-direction:column;gap:10px;display:flex}.scope{flex-direction:column;gap:4px;margin:0;display:flex}.scope figcaption{justify-content:space-between;align-items:center;gap:6px;font-size:.8125rem;font-weight:900;display:flex}.scope-canvas{width:100%;image-rendering:pixelated;background:#000;border-radius:8px;display:block}.scope-wave{height:120px}.scope-vec{aspect-ratio:1;align-self:center;width:min(100%,160px)}.scope-modes{gap:4px;display:inline-flex}.scope-mode{border:1px solid var(--border);min-height:44px;color:var(--text);cursor:pointer;background:0 0;border-radius:999px;padding:0 10px;font-size:.75rem;font-weight:800}.scope-mode.on{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-ink)}:root[data-theme=dark] .scope-mode.on{color:var(--text)}.preset-grid{grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:8px;display:grid}.preset{border:1px solid var(--border);background:var(--surface);min-height:44px;color:var(--text);cursor:pointer;border-radius:10px;flex-direction:column;gap:4px;padding:4px;font-size:.75rem;font-weight:800;display:flex}.preset:hover{border-color:var(--accent)}.preset-thumb{aspect-ratio:16/9;background:#000;border-radius:6px;width:100%}.lut-list{flex-direction:column;gap:4px;display:flex}.lut-item{border:1px solid var(--border);min-height:44px;color:var(--text);cursor:pointer;text-align:left;background:0 0;border-radius:10px;justify-content:space-between;align-items:center;gap:8px;padding:0 12px;font-size:.875rem;font-weight:800;display:flex}.lut-item.on{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-ink)}:root[data-theme=dark] .lut-item.on{color:var(--text)}.lut-size{color:var(--text-muted);font-size:.75rem}.viewer-overlay.eyedropper{outline:2px dashed var(--accent);outline-offset:-2px;cursor:crosshair!important}.blend{flex-direction:column;gap:4px;display:flex}.blend-current{text-align:left;cursor:pointer;align-items:center;gap:6px;width:100%;min-height:44px;display:flex}.blend-name{flex:1;font-weight:800}.blend-list{border:1px solid var(--border);background:var(--surface);touch-action:pan-y;-webkit-touch-callout:none;border-radius:10px;flex-direction:column;max-height:260px;display:flex;overflow-y:auto}.blend-group{flex-direction:column;display:flex}.blend-sep{background:var(--border-strong);height:1px;margin:2px 8px}.blend-option{min-height:44px;color:var(--text);text-align:left;cursor:pointer;-webkit-user-select:none;user-select:none;background:0 0;border:0;align-items:center;gap:8px;padding:0 10px;font-size:.875rem;font-weight:700;display:flex}.blend-option:hover,.blend-option.on{background:var(--accent-soft);color:var(--accent-ink)}:root[data-theme=dark] .blend-option:hover,:root[data-theme=dark] .blend-option.on{color:var(--text)}.blend-check{flex:none;width:16px}.fx-panel,.fx-tab,.text-tool,.audio-tool{flex-direction:column;gap:10px;min-width:0;display:flex}.fx-search{flex:none;width:100%}.fx-actions{flex-wrap:wrap;gap:8px;display:flex}.fx-hint{min-height:1.25em;margin:0}.fx-group{flex-direction:column;gap:4px;display:flex}.fx-group-title{letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);font-size:.75rem;font-weight:900}.fx-list{grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:6px;margin:0;padding:0;list-style:none;display:grid}.fx-item{background:var(--surface-2);width:100%;min-height:44px;color:var(--text);text-align:left;cursor:pointer;border:2px solid #0000;border-radius:12px;flex-direction:column;justify-content:center;align-items:flex-start;gap:1px;padding:4px 10px;display:flex}.fx-item.picked{border-color:var(--accent);background:var(--accent-soft)}:root[data-theme=dark] .fx-item.picked{color:var(--text)}.fx-item-name{font-size:.875rem;font-weight:800}.fx-item-meta{color:var(--text-muted);font-size:.6875rem}.fx-item.picked .fx-item-meta{color:inherit}.fx-stack{flex-direction:column;gap:8px;display:flex}.fx-cards{flex-direction:column;gap:6px;display:flex}.fx-card{border:1px solid var(--border);background:var(--surface-2);border-radius:12px;position:relative}.fx-card.off .fx-card-body{opacity:.55}.fx-card.drop-before:before,.fx-card.drop-after:after{content:"";background:var(--accent);border-radius:2px;height:3px;position:absolute;left:0;right:0}.fx-card.drop-before:before{top:-4px}.fx-card.drop-after:after{bottom:-4px}.fx-card-head{align-items:center;gap:2px;padding:2px 4px;display:flex}.fx-handle{width:28px;height:32px;color:var(--text-muted);cursor:grab;touch-action:none;background:0 0;border:0;flex:none;place-items:center;display:grid}.fx-name{min-width:0;min-height:32px;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;flex:1;align-items:center;gap:6px;padding:0 4px;font-size:.875rem;font-weight:900;display:flex}.fx-badge{background:var(--accent-soft);color:var(--accent-ink);border-radius:999px;padding:1px 6px;font-size:.6875rem;font-weight:800}:root[data-theme=dark] .fx-badge{color:var(--text)}.fx-card-actions{flex:none;align-items:center;display:flex}.fx-power.on{color:var(--accent-ink)}:root[data-theme=dark] .fx-power.on{color:var(--accent)}.fx-card-body{border-top:1px solid var(--border);flex-direction:column;gap:6px;padding:4px 10px 10px;display:flex}.fx-add-row{align-items:center;gap:6px;display:flex}.fx-add-row select{flex:1;width:auto}@media (pointer:coarse){.fx-handle{width:44px;height:44px}.fx-name{min-height:44px}}.masks,.mask-editor,.mask-point,.mask-drawing{flex-direction:column;gap:6px;display:flex}.mask-target select{flex:1}.mask-add{flex-wrap:wrap;gap:6px;display:flex}.mask-list{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.mask-row{border:1px solid var(--border);background:var(--surface-2);border-radius:10px;align-items:center;gap:4px;display:flex}.mask-row.on{border-color:var(--accent);background:var(--accent-soft);color:var(--text)}.mask-select{min-height:44px;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1;justify-content:center;padding:0 10px;font-size:.875rem;font-weight:800;display:flex}.mask-owner{color:var(--text-muted);font-size:.6875rem;font-weight:700}.mask-row.on .mask-owner{color:inherit}.vo-mask{fill:#1f8fff1f;stroke:#1f8fff;stroke-width:2px;filter:drop-shadow(0 0 1.5px #000000e6)}.vo-mask-handle.sel{fill:#1f8fff}.tf{flex-direction:column;gap:6px;display:flex}.tf-sub{letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);margin-top:6px;font-size:.75rem;font-weight:900}.tf-text{flex-direction:column;align-items:stretch}.tf-textarea{resize:vertical;font-variant-numeric:normal;width:100%;min-height:64px;padding:6px 8px;font-family:inherit}.tf-presets{grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:6px;display:grid}.tf-preset{background:var(--surface-2);min-height:44px;color:var(--text);cursor:pointer;border:2px solid #0000;border-radius:10px;padding:4px 8px;font-size:.8125rem;font-weight:800}.tf-preset.on{border-color:var(--accent);background:var(--accent-soft)}.tf-font{flex-direction:column;gap:4px;display:flex}.tf-font-btn,.tf-font-opt{border:1px solid var(--border);background:var(--bg);width:100%;min-height:44px;color:var(--text);text-align:left;cursor:pointer;border-radius:10px;justify-content:space-between;align-items:center;gap:8px;padding:0 12px;font-size:1.125rem;display:flex}.tf-font-list{border:1px solid var(--border);background:var(--surface);border-radius:10px;flex-direction:column;gap:2px;max-height:260px;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.tf-font-opt{background:0 0;border:0;border-radius:0}.tf-font-opt.on{background:var(--accent-soft)}.tf-swatch{border:1px solid var(--border-strong);cursor:pointer;background:0 0;border-radius:8px;flex:none;width:44px;height:34px;padding:0}.tf-color{gap:2px}.title-editor{z-index:5;border:2px solid var(--accent);color:#fff;min-width:120px;max-width:96%;caret-color:var(--accent);resize:none;touch-action:auto;-webkit-user-select:text;user-select:text;background:#14110ee0;border-radius:8px;outline:none;padding:6px 10px;position:absolute;overflow:hidden}.transition-block .trans-body{pointer-events:auto;cursor:pointer;position:absolute;inset:0}.transition-block.selected{box-shadow:0 0 0 2px var(--accent), 0 0 0 4px #0006}.cut-chip{z-index:3;background:var(--guide,#1f8fff);opacity:.85;cursor:pointer;touch-action:none;border:2px solid #fff;border-radius:50%;width:12px;height:12px;margin-left:-6px;padding:0;position:absolute;top:1px}.cut-chip.picked{background:var(--accent);opacity:1;box-shadow:0 0 0 2px #00000080}@media (pointer:coarse){.cut-chip{width:18px;height:18px;margin-left:-9px}.cut-chip:after{content:"";position:absolute;inset:-8px}}.clip-block[data-fx-drop]{outline:3px solid var(--accent);outline-offset:-3px}.clip-block[data-fx-drop=start]{box-shadow:inset 10px 0 0 var(--accent)}.clip-block[data-fx-drop=end]{box-shadow:inset -10px 0 0 var(--accent)}.cut-chip[data-fx-drop]{outline:3px solid var(--accent);transform:scale(1.4)}.fx-card-body .if-row,.mask-editor .if-row,.tf .if-row{flex-wrap:wrap}.fx-card-body .if-input,.mask-editor .if-input,.tf .if-input:not(.tf-textarea){flex:84px;min-width:84px}.export-panel{flex-direction:column;gap:14px;display:flex}.export-hero{justify-content:center;display:flex}.export-static{font-weight:700}.export-size{color:var(--text-muted);min-height:1.4em;margin:0;font-size:.9375rem}.export-actions{justify-content:stretch}.export-actions .btn{flex:1}.export-more{flex-wrap:wrap;gap:10px;display:flex}.work{text-align:center;flex-direction:column;align-items:center;gap:12px;padding:8px 0;display:flex}.work-art{justify-content:center;display:flex}.work-bar{background:var(--surface-3);border-radius:999px;width:100%;height:14px;overflow:hidden}.work-bar-fill{background:var(--accent);border-radius:999px;height:100%}.work-percent{margin:0;font-size:1.5rem;font-weight:900}.badge-host{display:inline-flex;position:relative}.count-badge{background:var(--danger);min-width:20px;height:20px;color:var(--on-danger);text-align:center;pointer-events:none;border-radius:10px;padding:0 5px;font-size:.75rem;font-weight:800;line-height:20px;position:absolute;top:2px;right:0}.count-badge-inline{margin-left:auto;position:relative;top:auto;right:auto}.feedback-intro{align-items:center;gap:12px;display:flex}.feedback-intro p{margin:0;font-weight:700}.issue-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.issue-row{border:1.5px solid var(--border);background:var(--surface);width:100%;min-height:56px;color:var(--text);font:inherit;text-align:left;cursor:pointer;border-radius:14px;justify-content:space-between;align-items:center;gap:10px;padding:8px 14px;display:flex}.issue-row.unread{border-color:var(--accent);background:var(--accent-soft)}.issue-main{flex-direction:column;gap:2px;min-width:0;display:flex}.issue-title{overflow-wrap:anywhere;align-items:center;gap:8px;font-weight:800;display:flex;position:relative}.unread-dot{background:var(--danger);border-radius:50%;flex:none;width:10px;height:10px}.status-pill{border:1.5px solid var(--border-strong);white-space:nowrap;border-radius:999px;flex:none;padding:2px 10px;font-size:.8125rem;font-weight:800}.status-fixed{background:var(--accent-soft);border-color:var(--accent)}.issue-head{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.issue-page-title{overflow-wrap:anywhere;margin:0;font-size:1.25rem}.fixed-notice{background:var(--accent-soft);border:1.5px solid var(--accent);border-radius:14px;margin:0;padding:10px 14px;font-weight:800}.details-list{flex-direction:column;gap:4px;margin:6px 0 0;display:flex}.details-row{justify-content:space-between;gap:12px;font-size:.9375rem;display:flex}.details-row dt{color:var(--text-muted)}.details-row dd{text-align:right;overflow-wrap:anywhere;margin:0}.thread{flex-direction:column;gap:10px;margin:6px 0 0;padding:0;list-style:none;display:flex}.msg{border:1.5px solid var(--border);background:var(--surface);border-radius:14px;flex-direction:column;gap:4px;padding:10px 14px;display:flex}.msg-support{background:var(--accent-soft);border-color:var(--accent)}.msg-who{color:var(--text-muted);font-size:.8125rem;font-weight:800}.msg-body{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.msg-shots,.shot-previews{flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;display:flex}.shot{border:1.5px solid var(--border-strong);background:var(--surface-2);width:88px;height:88px;color:var(--text);cursor:pointer;border-radius:12px;place-items:center;padding:0;display:grid;overflow:hidden}.shot img,.shot-preview img{object-fit:cover;width:100%;height:100%}.shot-preview{border:1.5px solid var(--border-strong);border-radius:12px;width:88px;height:88px;position:relative;overflow:hidden}.shot-remove{background:var(--surface);border:1px solid var(--border);position:absolute;top:0;right:0}.shot-full{object-fit:contain;max-width:100%;max-height:60vh;margin:0 auto;display:block}.textarea{resize:vertical;min-height:88px;padding:10px 14px}.draft-row{border-style:dashed}
