.pv-editor{--bg:var(--background);--panel:var(--card);--panel2:var(--accent);--line:var(--border);--text:var(--foreground);--muted:var(--muted-foreground);--blue:var(--primary);--on-blue:var(--primary-foreground);min-width:0;min-height:0;font:13px/1.4 var(--font-sans);color:var(--text);background:var(--bg);flex:1;display:flex}.pv-editor *{box-sizing:border-box}.pv-stage{flex-direction:column;flex:1;gap:10px;min-width:0;min-height:0;padding:16px;display:flex;position:relative}.pv-boardwrap{flex:1;justify-content:center;align-items:center;min-height:0;display:flex;position:relative}.pv-textedit{z-index:5;border:1px dashed var(--blue);background:#ffffffeb;border-radius:3px;outline:none;min-width:60px;max-width:70%;margin:0;padding:1px 2px;font:500 16px/1.15 sans-serif;position:absolute}.pv-board{touch-action:none;-webkit-user-select:none;user-select:none;width:100%;max-width:100%;height:100%;max-height:100%;display:block;overflow:hidden}.pv-video{z-index:0;object-fit:contain;pointer-events:none;background:#000;border-radius:4px;display:none;position:absolute}.pv-editor.video .pv-video{display:block}.pv-editor.video .pv-board{z-index:1;position:relative}.pv-vbar{background:var(--panel);border:1px solid var(--line);border-radius:8px;flex-wrap:wrap;flex:none;align-items:center;gap:8px;padding:7px 9px;display:none}.pv-editor.video .pv-vbar{display:flex}.pv-vbar .pv-vplay{min-width:44px;font-size:14px}.pv-vtrack{flex:1;min-width:120px;position:relative}.pv-vtrack input[type=range]{width:100%;accent-color:var(--blue);margin:0;display:block}.pv-editor.view .pv-vclear,.pv-editor.present .pv-vclear,.pv-editor.view .pv-tclear,.pv-editor.present .pv-tclear{display:none}.pv-tl .pv-tclear{margin-left:auto}.pv-editor.video .pv-tl{display:none}.pv-editor.present .pv-vbar{border-radius:999px;flex-wrap:nowrap;align-self:center;width:min(100%,720px);padding:6px 8px}@media (max-width:760px){.pv-editor.video .pv-vbar{gap:6px;padding:6px}.pv-vbar .pv-vplay,.pv-vtrack input[type=range]{min-height:44px}.pv-editor.present .pv-vbar{width:calc(100% - 4px)}.pv-editor.present .pv-vbar [data-v=clock]{display:none}}.pv-tools{flex:none}.pv-tools:empty{display:none}.pv-tl{background:var(--panel);border:1px solid var(--line);border-radius:8px;flex-wrap:wrap;flex:none;align-items:center;gap:8px;padding:7px 9px;display:flex}.pv-tl input[type=range]:disabled{opacity:.4}.pv-editor button{font:inherit;color:var(--text);cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:6px;padding:6px 10px}.pv-editor button:hover{background:var(--panel2)}.pv-editor button:focus-visible{outline:2px solid var(--blue);outline-offset:1px}.pv-editor button:disabled{opacity:.4;cursor:default}.pv-editor button.ghost{border-color:var(--line)}.pv-tl button{padding:5px 10px}.pv-tl .pv-play{border:1px solid var(--line);min-width:82px}.pv-tl .pv-all{display:none}.pv-tl.multi .pv-all{display:inline-block}.pv-tl .pv-all.on{background:var(--blue);border-color:var(--blue);color:var(--on-blue)}.pv-tl.all select[data-tl=mode],.pv-tl.all .pv-tchk{display:none}.pv-onion{pointer-events:none}.pv-layer .pv-dim{opacity:.15;pointer-events:none}.pv-chip text{paint-order:stroke;-webkit-user-select:none;user-select:none}.pv-chip.pickable{animation:1s ease-in-out infinite pv-pulse}@keyframes pv-pulse{0%,to{opacity:1}50%{opacity:.35}}.pv-editor.picking .pv-board{cursor:crosshair}.pv-editor.picking .pv-ovl{display:none}.pv-tl input[type=range]{min-width:80px;accent-color:var(--blue);flex:1}.pv-editor select{font:inherit;color:var(--text);background:var(--panel2);border:1px solid var(--line);border-radius:6px;margin:0;padding:4px 6px}.pv-tval{color:var(--muted);font:12px var(--font-mono);font-variant-numeric:tabular-nums;white-space:nowrap}.pv-tchk{color:var(--muted);white-space:nowrap;cursor:pointer;align-items:center;gap:5px;display:flex}.pv-tchk input{accent-color:var(--blue)}.pv-editor.playing .pv-props{pointer-events:none;opacity:.5}.pv-props{border-left:1px solid var(--line);background:var(--panel);flex:none;width:244px;padding:12px;overflow:auto}.pv-props h2{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;margin:0 0 10px;font-size:11px;font-weight:500}.pv-props .row{justify-content:space-between;align-items:center;gap:8px;margin:0 0 10px;display:flex}.pv-props .row label{color:var(--muted);flex:none;width:80px}.pv-props .row input[type=range]{min-width:0;accent-color:var(--blue);flex:1}.pv-props .row input[type=text],.pv-props .row input[type=number]{min-width:0;font:inherit;color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:6px;flex:1;padding:5px 8px}.pv-props .row select{flex:1;min-width:0}.pv-props .row input[type=color]{border:1px solid var(--line);background:var(--bg);cursor:pointer;border-radius:6px;width:32px;height:26px;padding:1px}.pv-props .row .val{text-align:right;width:34px;color:var(--muted);font-variant-numeric:tabular-nums}.pv-props .row input[type=checkbox]{accent-color:var(--blue)}.pv-props .sw{flex:1;gap:6px;display:flex}.pv-props .sw button{border:2px solid #0000;border-radius:50%;width:22px;height:22px;padding:0}.pv-props .sw button.on{border-color:#fff}.pv-props .chips{flex-wrap:wrap;gap:4px;margin:-4px 0 12px;display:flex}.pv-props .chips button{border-color:var(--line);min-width:32px;padding:3px 8px;font-size:12px}.pv-props .chips button.on{background:var(--blue);border-color:var(--blue)}.pv-props .btns{flex-wrap:wrap;gap:6px;margin:6px 0 14px;display:flex}.pv-props .btns button{border-color:var(--line);flex:1;padding:5px 8px}.pv-props hr{border:0;border-top:1px solid var(--line);margin:12px 0}.pv-track{background:var(--panel);border:1px solid var(--line);touch-action:none;-webkit-user-select:none;user-select:none;border-radius:8px;flex:none;max-height:224px;overflow:hidden auto}.pv-track.empty,.pv-editor.present .pv-track,.pv-editor.video .pv-track{display:none}.pv-tracksvg{display:block}.pv-tracksvg .tk{stroke:var(--line);stroke-width:1px}.pv-tracksvg .tl{stroke:var(--line);stroke-width:1px;opacity:.5}.pv-tracksvg .tt{fill:var(--muted);text-anchor:middle;font-size:10px}.pv-tracksvg .tn{fill:var(--muted);text-anchor:end;dominant-baseline:central;font-size:11px}.pv-tracksvg .pre{opacity:.25}.pv-tracksvg .bar{cursor:grab}.pv-tracksvg .bar rect{fill-opacity:.85;stroke:#0000;stroke-width:1.5px}.pv-tracksvg .bar.k-pass rect:first-child{fill-opacity:.35;stroke:currentColor}.pv-tracksvg .bar.k-text rect:first-child{fill-opacity:.12;stroke:currentColor;stroke-opacity:.6}.pv-tracksvg .bar.on rect:first-child{fill-opacity:1;stroke:#fff;stroke-width:2px}.pv-tracksvg .bar.pinned rect:first-child{stroke:#fff;stroke-opacity:.5}.pv-tracksvg .bl{dominant-baseline:central;pointer-events:none;font-size:10px;font-weight:700}.pv-tracksvg .bo{fill:var(--muted);font-weight:600}.pv-tracksvg .bh{fill:#0000;cursor:ew-resize}.pv-tracksvg .cl{fill:#0000;cursor:copy}.pv-tracksvg .th{fill:var(--muted);dominant-baseline:central;pointer-events:none;font-size:10.5px}.pv-tracksvg .addc{cursor:pointer}.pv-tracksvg .addc rect{fill:var(--panel2);stroke:var(--line)}.pv-tracksvg .addc text{fill:var(--text);text-anchor:middle;dominant-baseline:central;pointer-events:none;font-size:14px}.pv-tracksvg .ph line{stroke:var(--brand-signal,#d11a2a);stroke-width:1.5px}.pv-tracksvg .ph path{fill:var(--brand-signal,#d11a2a)}.pv-editor.playing .pv-track{pointer-events:auto}@media (max-width:760px){.pv-track{display:none}}.pv-side{border-right:1px solid var(--line);background:var(--panel);flex-direction:column;flex:none;width:216px;min-height:0;display:flex}.pv-side.empty,.pv-editor.present .pv-side,.pv-editor.view .pv-side{display:none}.pv-editor.playing .pv-side{opacity:.6}.pv-side-head{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;align-items:center;gap:4px;padding:8px 8px 4px;font-size:11px;display:flex}.pv-side-head button{border-color:#0000;padding:2px 7px;font-size:15px;line-height:1}.pv-side-body{flex:1;padding:4px 8px 12px;overflow:auto}.pv-side-rail{display:none}.pv-side.collapsed{width:30px}.pv-side.collapsed .pv-side-head,.pv-side.collapsed .pv-side-body{display:none}.pv-side.collapsed .pv-side-rail{height:100%;color:var(--muted);border-color:#0000;border-radius:0;flex-direction:column;align-items:center;gap:8px;padding:8px 0;display:flex}.pv-side-vlabel{writing-mode:vertical-rl;text-transform:uppercase;letter-spacing:.08em;font-size:11px}.pv-side-hint{color:var(--muted);margin:8px 0 0;font-size:12px;line-height:1.5}.pv-side-hint b{color:var(--text);font-weight:500}@media (max-width:760px){.pv-side{display:none}}.pv-moves{flex-direction:column;gap:2px;margin:0 0 8px;display:flex}.pv-moves .mh{text-align:left;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;margin-top:4px;padding:4px 8px;font-size:11px}.pv-moves .mh:first-child{margin-top:0}.pv-moves .mh.on{color:var(--text)}.pv-moves .mv{text-align:left;white-space:normal;border-color:#0000;align-items:center;gap:7px;width:100%;padding:4px 8px;display:flex}.pv-moves .mv.on{background:var(--panel2);border-color:var(--line)}.pv-moves .mchip{text-align:center;background:#fff;border:1.5px solid;border-radius:9px;flex:none;min-width:18px;height:18px;padding:0 5px;font-size:10px;font-weight:700;line-height:16px;display:inline-block}.pv-moves .mname{color:var(--text);font-size:12.5px;line-height:1.25}.pv-props .empty{color:var(--muted);margin:0 0 10px;line-height:1.6}.pv-props .empty b{color:var(--text);font-weight:500}.pv-props .steps{color:var(--muted);margin:0 0 12px;padding-left:18px;line-height:1.6;list-style:decimal}.pv-props .steps b{color:var(--text);font-weight:500}.pv-props details.tips summary{cursor:pointer;color:var(--muted);margin:0 0 8px;font-size:12px}.pv-props details.sec>summary{cursor:pointer;align-items:center;gap:6px;margin:0 0 10px;list-style:none;display:flex}.pv-props details.sec>summary:before{content:"▸";color:var(--muted);font-size:10px;transition:transform .12s}.pv-props details.sec[open]>summary:before{transform:rotate(90deg)}.pv-props details.sec>summary h2{margin:0}.pv-props .mixed{margin:-6px 0 10px;font-size:12px}.pv-props .sheetbar{display:none}.pv-tl .pv-tlhint{white-space:normal;font:12px var(--font-sans);color:var(--muted);flex-basis:100%;display:none}.pv-tl.idle .pv-tlhint{display:block}.pv-editor.present .pv-tlhint{display:none}.pv-props details.tips summary:hover{color:var(--text)}.pv-editor.view .pv-props{display:none}.pv-editor.view .pv-board{cursor:default}@media (max-width:860px){.pv-props{width:200px}}@media (max-width:760px){.pv-editor{-webkit-overflow-scrolling:touch;flex-direction:column;overflow-y:auto}.pv-stage{flex:none;height:62dvh;padding:9px}.pv-tl{gap:6px;padding:6px}.pv-tval{order:9;width:100%}.pv-props{border-left:0;border-top:1px solid var(--line);width:100%;padding-bottom:calc(12px + env(safe-area-inset-bottom))}.pv-editor button,.pv-tl button{min-height:44px}.pv-props .sw button{width:30px;height:30px;min-height:0}.pv-props .chips button{min-height:36px}.pv-editor select,.pv-props .row input[type=text],.pv-props .row input[type=number]{min-height:44px;font-size:16px}.pv-editor input[type=range]{min-height:44px}.pv-props .row input[type=color]{width:44px;height:36px}.pv-props .row input[type=checkbox],.pv-tchk input{width:22px;height:22px}.pv-tchk{min-height:44px}.pv-stage{z-index:2;background:var(--bg);position:sticky;top:0}.pv-editor.has-sel .pv-props{z-index:40;border-top:1px solid var(--line);border-radius:14px 14px 0 0;max-height:46dvh;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -12px 32px #00000073}.pv-editor.has-sel .pv-props .sheetbar{color:var(--muted);justify-content:space-between;align-items:center;margin:-4px 0 8px;display:flex}.pv-editor.has-sel .pv-props .sheetbar button{border-color:var(--line);min-height:36px}.pv-editor.present.has-sel .pv-props{display:none}}.pv-editor.present{z-index:50;background:var(--bg);flex-direction:column;position:fixed;inset:0;overflow:hidden}.pv-editor.present .pv-props,.pv-editor.present .pv-tools,.pv-editor.view .pv-tools{display:none}.pv-editor.present .pv-stage{height:auto;padding:calc(52px + env(safe-area-inset-top)) calc(10px + env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) calc(10px + env(safe-area-inset-left));flex:1;gap:6px}.pv-editor.present .pv-board{cursor:pointer}.pv-editor.present .pv-tl{border-radius:999px;flex-wrap:nowrap;align-self:center;max-width:100%;padding:6px 8px}.pv-editor.present .pv-tl.idle,.pv-editor.present .pv-tl select[data-tl=mode],.pv-editor.present .pv-tchk{display:none}.pv-editor.present .pv-tl input[type=range]{flex:none;width:min(40vw,360px);min-width:120px}.pv-editor.present .pv-tval{order:0;width:auto}.pv-parts{white-space:nowrap;align-items:center;gap:2px;display:none}.pv-parts button{border:1px solid var(--line);border-radius:999px;padding:4px 10px;font-size:16px;line-height:1}.pv-parts .pv-tval{color:var(--text);padding:0 6px;font:13px -apple-system,BlinkMacSystemFont,Segoe UI,Inter,Roboto,sans-serif}.pv-parts .pv-pnum{color:var(--muted);font-variant-numeric:tabular-nums;margin-left:8px}.pv-editor.present .pv-tl.multi .pv-parts{display:flex}.pv-editor.present .pv-tl.multi .pv-parts:before{content:"";background:var(--line);width:1px;height:22px;margin:0 6px 0 2px}.pv-editor.present .pv-tl.idle.multi{display:flex}.pv-editor.present .pv-tl.idle.multi>:not(.pv-parts),.pv-editor.present .pv-tl.idle.multi .pv-parts:before{display:none}@media (max-width:760px){.pv-editor.present .pv-tl select[data-tl=speed]{display:none}.pv-editor.present .pv-tl .pv-play{min-width:0}.pv-editor.present .pv-tl [data-tl=clock],.pv-editor.present .pv-tl [data-tl=rewind],.pv-editor.present .pv-pname{display:none}.pv-editor.present .pv-tl input[type=range]{flex:1;width:auto;min-width:60px}.pv-editor.present .pv-parts .pv-pnum{margin-left:0}.pv-editor.present .pv-tl{width:calc(100% - 4px)}}
