:root{--bg:#fff;--bg-raised:#f2f2f7;--bg-control:#e5e5ea;--text:#000;--text-2:#3c3c43b3;--accent:#0a66d6;--on-accent:#fff;--pinned:#1e8e3e;--danger:#c62828;--warn:#8a5a00;--scrim:#0006;--border:#3c3c434a;--bw:1px;--r-btn:14px;--r-card:16px;--r-sheet:20px;--r-chip:22px;--r-thumb:6px;--ease:cubic-bezier(.2, .8, .2, 1);--safe-t:env(safe-area-inset-top,0px);--safe-b:env(safe-area-inset-bottom,0px);color-scheme:light dark}@media (prefers-color-scheme:dark){:root{--bg:#000;--bg-raised:#1c1c1e;--bg-control:#2c2c2e;--text:#fff;--text-2:#ebebf5b3;--accent:#4da3ff;--on-accent:#000;--pinned:#4cd964;--danger:#ff6961;--warn:#ffd60a;--scrim:#0009;--border:#545458a6}}@media (prefers-contrast:more){:root{--bw:2px}}.dark{--bg:#000;--bg-raised:#1c1c1e;--bg-control:#2c2c2e;--text:#fff;--text-2:#ebebf5b3;--accent:#4da3ff;--on-accent:#000;--pinned:#4cd964;--danger:#ff6961;--warn:#ffd60a;--scrim:#0009;--border:#545458a6;color-scheme:dark}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html{font:-apple-system-body;-webkit-text-size-adjust:100%;font-family:-apple-system,system-ui,Hiragino Sans,sans-serif}html,body{background:var(--bg);height:100%;color:var(--text);overscroll-behavior:none;margin:0}body{-webkit-user-select:none;user-select:none}input,textarea{-webkit-user-select:text;user-select:text;font:inherit}button{font:inherit;color:inherit}#root{height:100%}.num{font-variant-numeric:tabular-nums}.t-large{font:-apple-system-title0;margin:0;font-family:inherit;font-size:2em;font-weight:700;line-height:1.2}.t-title{font:-apple-system-title2;margin:0;font-family:inherit;font-weight:600}.t-head{font:-apple-system-headline;margin:0;font-family:inherit}.t-body{font:-apple-system-body;margin:0;font-family:inherit}.t-callout{font:-apple-system-callout;margin:0;font-family:inherit}.t-foot{font:-apple-system-footnote;color:var(--text-2);margin:0;font-family:inherit}.t-cap{font:-apple-system-caption1;color:var(--text-2);margin:0;font-family:inherit}.muted{color:var(--text-2)}.danger{color:var(--danger)}.screen{background:var(--bg);color:var(--text);padding:calc(var(--safe-t)) 0 var(--safe-b);flex-direction:column;max-width:430px;margin:0 auto;display:flex;position:fixed;inset:0}.scroll{-webkit-overflow-scrolling:touch;flex:1;padding:0 16px;overflow-y:auto}.bottom{flex-direction:column;gap:8px;padding:8px 16px;display:flex}.row{align-items:center;gap:8px;display:flex}.grow{flex:1;min-width:0}.center{flex-direction:column;flex:1;justify-content:center;align-items:stretch;gap:16px;padding:0 16px;display:flex}.topbar{align-items:center;gap:4px;min-height:44px;padding:0 8px;display:flex}.topbar .title,.film .title{text-align:center;text-overflow:ellipsis;white-space:nowrap;min-width:0;font:-apple-system-headline;min-height:44px;color:var(--text);background:0 0;border:0;flex:1;font-family:inherit;overflow:hidden}.btn{border-radius:var(--r-btn);background:var(--bg-control);min-width:44px;min-height:44px;color:var(--text);cursor:pointer;text-align:center;border:0;justify-content:center;align-items:center;gap:8px;padding:8px 16px;display:flex}.btn:disabled{opacity:.4}.btn.primary{background:var(--accent);width:100%;min-height:56px;color:var(--on-accent);font-weight:600}.btn.tall{min-height:56px}.btn.plain{color:var(--accent);background:0 0}.btn.danger{color:var(--danger)}.btn.back{color:var(--accent);background:0 0;padding:0 8px}.btn.icon{background:0 0;width:44px;padding:0}.btn.icon56{width:56px;min-height:56px;padding:0}.btn:focus-visible,.chip:focus-visible,.listrow:focus-visible,.thumb:focus-visible{outline:3px solid var(--accent);outline-offset:2px}svg.i{fill:none;stroke:currentColor;stroke-width:1.75px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px}.list{background:var(--bg-raised);border-radius:var(--r-card);overflow:hidden}.listrow{border:0;border-bottom:var(--bw) solid var(--border);width:100%;min-height:56px;color:var(--text);text-align:left;cursor:pointer;background:0 0;align-items:center;gap:12px;padding:8px 16px;display:flex}.listrow:last-child{border-bottom:0}.listrow .chev{color:var(--text-2)}.section{font:-apple-system-footnote;text-transform:uppercase;color:var(--text-2);margin:24px 4px 8px;font-family:inherit}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{border-radius:var(--r-chip);border:var(--bw) solid var(--border);background:var(--bg-control);min-height:44px;color:var(--text);padding:8px 16px}.chip[aria-checked=true],.chip[aria-pressed=true]{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}.chip:disabled{opacity:.4}.scrim{background:var(--scrim);z-index:20;animation:fade .28s var(--ease);position:fixed;inset:0}.sheet{z-index:21;background:var(--bg);max-width:430px;color:var(--text);border-radius:var(--r-sheet) var(--r-sheet) 0 0;padding-bottom:var(--safe-b);animation:rise .28s var(--ease);flex-direction:column;max-height:92%;margin:0 auto;display:flex;position:fixed;bottom:0;left:0;right:0}.sheet.medium{max-height:60%}.sheet.large{height:92%}.sheet .grabber{background:var(--border);border-radius:3px;width:36px;height:5px;margin:6px auto 0}.sheet .head{align-items:center;gap:4px;min-height:44px;padding:4px 8px 0 16px;display:flex}.sheet .head h2{flex:1}.sheet .body{flex-direction:column;flex:1;gap:12px;padding:8px 16px;display:flex;overflow-y:auto}.sheet .foot{flex-direction:column;gap:8px;padding:0 16px 8px;display:flex}@keyframes rise{0%{transform:translateY(100%)}to{transform:none}}@keyframes fade{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){.sheet{animation:.15s linear fade}.toast{animation:none!important}*{scroll-behavior:auto!important}}.alert{z-index:40;background:var(--scrim);justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.alert .box{background:var(--bg-raised);color:var(--text);border-radius:var(--r-card);flex-direction:column;gap:12px;width:100%;max-width:320px;padding:16px;display:flex}.toast{border-radius:var(--r-btn);background:var(--bg-control);min-height:48px;color:var(--text);animation:toastIn .2s var(--ease);align-items:center;gap:8px;padding:4px 4px 4px 16px;display:flex}.toast .btn{color:var(--accent);background:0 0;font-weight:600}@keyframes toastIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.toastslot{flex-direction:column;justify-content:center;min-height:48px;padding:0 16px;display:flex}.toastslot.floating{left:0;right:0;bottom:calc(var(--safe-b) + 96px);z-index:25;pointer-events:none;max-width:430px;min-height:0;margin:0 auto;position:fixed}.toastslot.floating .toast{pointer-events:auto}.toastslot.sheet{min-height:0;padding:8px 0 0}.toastslot.sheet:empty{padding:0}.banner{border-radius:var(--r-card);background:var(--bg-raised);align-items:center;gap:8px;margin:8px 0;padding:8px 8px 8px 16px;display:flex}.cards{grid-template-columns:1fr 1fr;gap:12px;padding:8px 0 24px;display:grid}.card{background:var(--bg-raised);border-radius:var(--r-card);flex-direction:column;display:flex;position:relative;overflow:hidden}.card .open{text-align:left;color:inherit;cursor:pointer;background:0 0;border:0;flex-direction:column;padding:0;display:flex}.card .poster{aspect-ratio:176/100;background:var(--bg-control);color:var(--text-2);justify-content:center;align-items:center;display:flex}.card.tall .poster{aspect-ratio:176/185}.card .poster img{object-fit:cover;width:100%;height:100%}.card .lines{flex-direction:column;gap:2px;padding:8px 48px 8px 12px;display:flex}.card .name{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.card .dots{position:absolute;bottom:2px;right:2px}.skeleton{background:var(--bg-raised);border-radius:var(--r-card);aspect-ratio:176/151}.empty{text-align:center;flex-direction:column;align-items:center;gap:12px;padding:32px 8px;display:flex}.empty .art{color:var(--text-2)}ol.steps{counter-reset:s;flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}ol.steps li{counter-increment:s;gap:12px;display:flex}ol.steps li:before{content:counter(s);background:var(--accent);width:28px;height:28px;color:var(--on-accent);border-radius:14px;flex:none;justify-content:center;align-items:center;font-weight:600;display:flex}details{background:var(--bg-raised);border-radius:var(--r-card);padding:0 16px}details summary{cursor:pointer;min-height:44px;color:var(--accent);align-items:center;list-style:none;display:flex}details summary::-webkit-details-marker{display:none}details p{margin:0 0 12px}.steplist{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.steplist li{align-items:center;gap:12px;min-height:28px;display:flex}.steplist .mark{text-align:center;width:22px}.steplist li[data-state=todo]{color:var(--text-2)}.bar{background:var(--bg-control);border-radius:4px;height:8px;overflow:hidden}.bar>div{background:var(--accent);height:100%;transition:width .3s linear}.thumbrow{gap:4px;height:64px;display:flex;overflow:hidden}.thumbrow>*{border-radius:var(--r-thumb);background:var(--bg-control);object-fit:cover;flex:none;width:48px;height:64px}.film{grid-template:"back title undo""player player player""time time time""status status status""strip strip strip""gap gap gap"minmax(0,1fr)"acts acts acts"/minmax(88px,max-content) minmax(0,1fr) minmax(88px,max-content);display:grid;overflow:hidden auto}.film>.title{grid-area:title}.film>.a-back{grid-area:back;justify-self:start}.film>.a-undo{grid-area:undo;justify-self:end;min-width:44px;min-height:44px;margin-right:8px}.film>.player{grid-area:player}.film>.timebar{grid-area:time}.film>.status{grid-area:status}.film>.strip{grid-area:strip}.film>.d1acts,.film>.shotacts{grid-area:acts;padding-bottom:8px}.a-undo.floating{z-index:23;top:var(--safe-t);color:#fff;background:0 0;position:fixed;right:max(8px,50vw - 207px)}.player{background:#000;flex:none;justify-content:center;align-items:center;height:min(355px,42vh);min-height:160px;display:flex;position:relative;overflow:hidden}.player canvas{max-width:100%;max-height:100%}.player .tap{background:0 0;border:0;position:absolute;inset:0}.player .poster{color:#ebebf5b3;text-align:center;flex-direction:column;align-items:center;gap:8px;padding:16px;display:flex}.player .expand{color:#fff;position:absolute;bottom:8px;right:8px}.player .playglyph{color:#fff;pointer-events:none;position:absolute}.timebar{align-items:center;gap:8px;min-height:44px;padding:0 16px;display:flex}.timebar .track{touch-action:none;flex:1;min-height:44px;position:relative}.timebar .rail{background:var(--bg-control);border-radius:2px;height:4px;margin-top:-2px;position:absolute;top:50%;left:0;right:0;overflow:hidden}.timebar .fill{background:var(--accent);height:100%}.timebar .knob{pointer-events:none;background:#fff;border-radius:10px;width:20px;height:20px;margin:-10px 0 0 -10px;position:absolute;top:50%;box-shadow:0 0 2px #000}.timebar input[type=range]{opacity:0;pointer-events:none;width:100%;height:100%;margin:0;position:absolute;inset:0}.timebar .track:focus-within .rail{outline:2px solid var(--accent);outline-offset:6px}.status{align-items:center;gap:8px;min-height:44px;padding:0 16px;display:flex}.status .text{text-overflow:ellipsis;flex:1;overflow:hidden}.strip{scroll-snap-type:x proximity;flex:none;gap:4px;height:64px;margin:0;padding:0 16px;list-style:none;display:flex;overflow-x:auto}.thumb{border-radius:var(--r-thumb);background:var(--bg-control);scroll-snap-align:center;width:56px;height:64px;color:var(--text);border:0;flex:none;padding:0;position:relative;overflow:hidden}.thumb img{object-fit:cover;width:100%;height:100%}.thumb .idx{font:-apple-system-caption2;color:#fff;text-shadow:0 0 3px #000;font-family:inherit;position:absolute;top:2px;left:4px}.thumb[aria-current=true]{box-shadow:inset 0 0 0 3px var(--accent)}.thumb[aria-pressed=true]{box-shadow:inset 0 0 0 3px var(--accent);outline:2px solid var(--accent);outline-offset:1px}.shotacts .toastslot{padding:0}.thumb .pin{width:18px;font:-apple-system-caption2;color:#000;background:var(--pinned);border-radius:4px;justify-content:center;align-items:center;gap:2px;padding:0 2px;font-family:inherit;display:flex;position:absolute;bottom:2px;left:2px}.thumb .pin svg.i{width:12px;height:12px}.tools{grid-template-columns:repeat(4,1fr);grid-auto-rows:1fr;gap:8px;padding:0 16px;display:grid}.tools .btn{flex-direction:column;gap:2px;min-height:72px;padding:4px}.actions{gap:8px;padding:8px 16px;display:flex}.actions .save{flex:1;min-height:56px}.axonly{display:none}.shotacts{flex-direction:column;gap:8px;padding:0 16px 8px;display:flex}.shotacts .trio{grid-template-columns:1fr 1fr 56px;gap:8px;display:grid}.shotacts .duo{justify-content:space-between;gap:8px;display:flex}.shotacts .duo .btn{width:160px;min-height:56px}.fullscreen{z-index:30;background:#000;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.fullscreen .ctl{left:0;right:0;bottom:calc(var(--safe-b) + 16px);flex-direction:column;align-items:center;gap:8px;display:flex;position:absolute}.fullscreen .x{left:8px;top:calc(var(--safe-t) + 8px);color:#fff;position:absolute}.slider{width:100%;min-height:44px;accent-color:var(--accent)}.b1main{background:var(--bg);flex-direction:column;gap:12px;padding-top:8px;display:flex;position:sticky;bottom:0}.ax1 .tools{grid-template-columns:1fr 1fr}.ax1 .cards{grid-template-columns:1fr}.ax3 .film{grid-template-rows:auto auto auto auto minmax(24px,1fr) auto;grid-template-areas:"back title undo""player player player""strip strip strip""status status status""time time time""acts acts acts"}.ax3 .film>.player{height:160px;min-height:160px}.ax3 .film>.timebar{align-items:flex-start;height:100%;min-height:0;overflow-y:auto}.ax3 .film .status .text{white-space:nowrap}.ax3 .film>.a-back{padding:0 4px}.ax3 .film>.a-back span{display:none}.ax3 .strip{height:72px}.ax3 .thumb{width:64px;height:72px}.ax3 .tools .btn{flex-direction:row;justify-content:flex-start;min-height:72px;padding:8px 12px}.ax3 .actions{flex-direction:column}.ax3 .actions .more{order:-1;width:100%;min-height:72px}.ax3 .actions .save{min-height:72px}.ax3 .axonly{display:inline}.ax3 .film.d2{grid-template-rows:auto auto auto auto minmax(0,1fr);grid-template-areas:"back title undo""player player player""strip strip strip""status status status""acts acts acts"}.ax3 .film.d2>.timebar{display:none}.ax3 .film.d2>.shotacts{align-self:stretch;padding-bottom:0;overflow-y:auto}.ax3 .shotacts .trio{grid-template-columns:1fr}.ax3 .shotacts .trio .btn{justify-content:flex-start;width:100%;min-height:72px;padding:8px 16px}.ax3 .shotacts .duo{display:contents}.ax3 .shotacts .duo .btn{width:100%;min-height:72px}.ax3 .shotacts .duo .more{order:1}.ax3 .shotacts .duo .done{background:var(--accent);color:var(--on-accent);box-shadow:0 8px 0 var(--bg);order:2;margin-top:auto;position:sticky;bottom:0}.ax3 .sheet.medium{height:92%;max-height:92%}.sr{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}[tabindex="-1"]:focus{outline:none}
