:root{color-scheme:dark;--bg: #0e0e10;--stage: #070708;--text: #f3f1ea;--dim: #b7b3a8;--faint: #8d897f;--line: rgba(243, 241, 234, .14);--selection: #f0c24b;--danger: #e07a68;--button: #f3f1ea;--button-text: #16140f;--focus: #f3f1ea;--duration-fast: .12s;--duration-state: .2s;--duration-page: .24s;--ease-out: cubic-bezier(0, 0, .2, 1);--ease-in: cubic-bezier(.4, 0, 1, 1);font-family:PingFang SC,Hiragino Sans GB,Noto Sans SC,WenQuanYi Micro Hei,Droid Sans Fallback,system-ui,sans-serif;font-size:16px;line-height:1.45;background:var(--bg);color:var(--text)}*{box-sizing:border-box}html,body,#root{margin:0;height:100%;background:var(--bg)}html{height:100svh;max-height:100svh;overflow:hidden;overscroll-behavior:none;touch-action:pan-x pan-y;-webkit-text-size-adjust:100%}body,#root{overflow:hidden;overscroll-behavior:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}button,input,select{font:inherit;color:inherit}input,textarea,select,pre,.legal-link{user-select:text;-webkit-user-select:text}button{min-height:44px;border:0;background:transparent;padding:0 14px;cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,[role=slider]:focus-visible{outline:2px solid var(--focus);outline-offset:2px}button:disabled{cursor:not-allowed;opacity:.45}.app{width:min(960px,100%);height:100%;min-height:0;margin:0 auto;display:flex;flex-direction:column;overflow:hidden;padding-top:env(safe-area-inset-top);padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}.screens{position:relative;flex:1 1 auto;min-height:0;overflow:hidden}.screen{position:absolute;inset:0;display:flex;flex-direction:column;min-height:0;background:var(--bg);transition:transform var(--duration-page) var(--ease-out)}.screen-library{z-index:1}.screen-clip{z-index:2}.screen-library.is-back{transform:translate(-12%)}.screen-clip{transform:translate(100%);pointer-events:none}.screen-clip.is-open{transform:translate(0);pointer-events:auto}.screen-clip.is-closing{transform:translate(100%);pointer-events:none;transition-timing-function:var(--ease-in)}.top{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:14px 16px 8px}.top h1{margin:0;font-size:20px;font-weight:620;letter-spacing:0;text-wrap:balance}.top-links{display:flex;align-items:center;gap:12px;margin-left:auto}.legal-link{color:var(--dim);font-size:13px;text-decoration:underline;text-underline-offset:3px;min-height:44px;display:inline-flex;align-items:center}.offline{color:var(--selection);font-size:13px;font-weight:600}.lede,.note,.meta,.status-line{color:var(--dim);font-size:14px}.lede{margin:0;padding:0 16px 12px;max-width:62ch;text-wrap:pretty}.actions{display:flex;flex-wrap:wrap;gap:8px;padding:0 16px 12px}.primary,.save{background:var(--selection);color:var(--button-text);border-radius:8px;font-weight:620;transition:transform var(--duration-fast) var(--ease-out),background-color var(--duration-fast) var(--ease-out)}.primary:active,.save:active{transform:scale(.98)}.secondary{border-radius:8px;box-shadow:inset 0 0 0 1px var(--line)}.tools{display:flex;gap:12px;align-items:end;padding:0 16px 8px}.search{flex:1;display:flex;flex-direction:column;gap:4px;color:var(--faint);font-size:13px}.search input,.tools select{width:100%;min-height:44px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;padding:8px 0;font-size:16px}.list{list-style:none;margin:0;padding:0 0 calc(20px + env(safe-area-inset-bottom))}.row{display:grid;grid-template-columns:112px 1fr;gap:12px;width:100%;min-height:84px;padding:10px 16px;text-align:left;border-bottom:1px solid var(--line);content-visibility:auto;contain-intrinsic-size:84px}.row:hover,.row:focus-visible{background:#f3f1ea0a}.thumb-slot{width:112px;height:63px;border-radius:4px;background:#1a1a1d;overflow:hidden}.thumb,.frame{width:112px;height:63px;object-fit:cover;background:#1a1a1d;border-radius:4px}.thumb-slot img.thumb{display:block;width:100%;height:100%;opacity:0;transition:opacity var(--duration-state) var(--ease-out)}.thumb-slot img.thumb.is-in{opacity:1}.thumb-fallback{display:grid;place-items:center;color:var(--faint);font-size:12px}.row-title{margin:0;font-size:15px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row p{margin:2px 0 0}.warn{color:var(--danger)}.update,.note{margin:0 16px 12px}.update{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 0;border-top:1px solid var(--line)}.library,.clip{flex:1 1 auto;height:auto;min-height:0;display:flex;flex-direction:column;overflow:hidden}.library-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;touch-action:pan-y}.text-button{min-height:44px;padding:0 4px;color:var(--dim)}.clip{min-height:0}.clip-head{display:flex;align-items:center;gap:8px;min-height:48px;padding:4px 8px}.clip-head h1{margin:0;flex:1;font-size:16px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stage{flex:0 1 auto;width:100%;aspect-ratio:16 / 9;max-height:100%;min-height:0;background:var(--stage);display:grid;place-items:center;position:relative;overflow:hidden}.stage video{width:100%;height:100%;object-fit:contain;background:transparent}.stage.motion-enter video,.stage.motion-exit video{animation:stage-fade var(--duration-state) var(--ease-out)}@keyframes stage-fade{0%{opacity:.4}to{opacity:1}}.stage-message{margin:0;padding:24px;text-align:center;color:var(--dim);max-width:36ch;align-self:center;justify-self:center}.stage-message.overlay{position:absolute;inset:0;z-index:1;max-width:none;width:100%;height:100%;display:grid;place-items:center;background:var(--stage)}.trim{flex:none}.transport{display:flex;align-items:center;gap:8px;padding:8px 16px 0}.readout{margin:8px 16px 0;color:var(--selection);font-variant-numeric:tabular-nums;font-size:15px;font-weight:600}.caveat{margin:2px 16px 0}.transport .time{margin-left:auto;font-variant-numeric:tabular-nums;color:var(--text);font-size:14px}.film{position:relative;height:64px;margin:8px 16px 0;touch-action:none;-webkit-user-select:none;user-select:none}.film-frames{display:flex;height:100%;overflow:hidden;border-radius:6px;background:#1a1a1d}.film-frames .frame{width:auto;height:100%;flex:1;border-radius:0}.dim{position:absolute;top:0;bottom:0;background:#0000009e;pointer-events:none}.selection{position:absolute;top:0;bottom:0;border:2px solid var(--selection);border-radius:6px;pointer-events:none}.handle{position:absolute;top:-6px;bottom:-6px;width:44px;transform:translate(-50%);pointer-events:none;background:transparent;padding:0}.handle i{position:absolute;top:6px;bottom:6px;left:50%;width:6px;transform:translate(-50%);background:var(--selection);border-radius:3px}.playhead{position:absolute;top:-4px;bottom:-4px;width:2px;background:var(--text);pointer-events:none}.dock{flex:none;margin-top:auto;display:flex;flex-direction:column;gap:8px;padding:8px 16px calc(12px + env(safe-area-inset-bottom));background:var(--bg)}.dock .primary,.dock .secondary,.dock .sheet{width:100%}.export-bar,.sheet{margin:0;padding:0;border:0;background:transparent}.export-bar .primary,.sheet .save,.sheet .secondary,.sheet .primary{width:100%}.sheet{display:flex;flex-direction:column;gap:8px;border-top:1px solid var(--line);background:#121214;animation:sheet-in var(--duration-state) var(--ease-out)}@keyframes sheet-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.sheet h2{margin:0;font-size:16px}.progress{height:4px;background:#2a2a2e;border-radius:99px;overflow:hidden}.progress span{display:block;height:100%;background:var(--text)}.row-actions{display:flex;gap:8px}.row-actions button{flex:1}@media(orientation:landscape)and (max-height:520px){.lede,.status-line{display:none}.top{padding-top:8px;padding-bottom:4px}.top h1{font-size:17px}.clip-head{min-height:40px;padding-block:0}.stage{flex:1 1 auto;width:100%;aspect-ratio:auto;max-height:none;min-height:0}.film{height:48px;margin-top:4px}.transport{padding-top:4px}.readout,.caveat{margin-top:2px}.export-bar,.sheet{padding-top:6px}.sheet h2{font-size:14px}.note{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.stage{min-height:48px}.sheet p{margin:0}}@media(orientation:landscape)and (max-height:360px){.clip{overflow:auto;overscroll-behavior:contain}.clip-head,.clip-head button{min-height:32px}.time-meta{display:none}.transport{padding-top:2px}.transport button{min-height:32px}.film{height:32px;margin-top:2px}.readout{margin:2px 16px}.stage{flex:1 1 56px;min-height:56px}.dock{gap:4px;padding:4px 12px 6px}.dock button,.sheet button{min-height:36px}.sheet{gap:4px;padding-top:4px}}.time-meta{margin:2px 16px 8px}.toast{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);max-width:min(280px,calc(100% - 32px - env(safe-area-inset-left) - env(safe-area-inset-right)));margin:0;padding:12px 16px;border-radius:8px;background:#f3f1ea;color:#16140f;font-size:15px;text-align:center;z-index:30;pointer-events:none;animation:toast-in .16s var(--ease-out)}@keyframes toast-in{0%{opacity:0}to{opacity:1}}.about{position:fixed;inset:0;background:#0000008c;display:flex;align-items:flex-end;z-index:6}.about-card{width:min(640px,100%);margin:0 auto;padding:16px 16px calc(16px + env(safe-area-inset-bottom));background:#16161a;border-radius:16px 16px 0 0;display:flex;flex-direction:column;gap:8px}.about-card h2{margin:0;font-size:18px}.about-card p,.about-card a{margin:0;color:var(--dim);font-size:14px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:0s!important;animation-iteration-count:1!important;transition-duration:0s!important;scroll-behavior:auto!important}.primary:active,.save:active,.screen,.screen-library.is-back,.screen-clip,.screen-clip.is-open,.screen-clip.is-closing{transform:none}.screen-clip,.screen-clip.is-closing{opacity:0}.screen-clip.is-open{opacity:1}}
