:root{font-family:system-ui,-apple-system,Segoe UI,Microsoft YaHei,sans-serif;color:#17343a;background:#f3f6f3;font-synthesis:none}*{box-sizing:border-box}body{margin:0}header{max-width:1120px;margin:auto;padding:24px 28px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;gap:12px;font-size:30px;font-weight:750;text-decoration:none;color:inherit}.brand span{font-size:18px}.brand small{display:block;font-size:11px;font-weight:500;letter-spacing:2px;margin-top:4px;color:#69817d}.privacy{font-size:12px;color:#257358;background:#e0f1e8;border-radius:99px;padding:9px 12px}main{max-width:1064px;margin:auto;padding:0 24px 48px}.intro{padding:44px 0 26px;max-width:640px}.eyebrow{font-size:12px;letter-spacing:3px;color:#477d6f}.intro h1{font-size:clamp(36px,6vw,60px);line-height:1.18;letter-spacing:-2px;margin:14px 0 20px}.intro>p:last-child{color:#637a76;line-height:1.8;max-width:480px}.panel{background:#fff;border:1px solid #dfe8e1;border-radius:22px;padding:26px;margin:18px 0;box-shadow:0 5px 20px #18332c03}.picker{background:#e6f0e9;border:1px dashed #9ab7a5;text-align:center;padding:36px 20px}.picker p{font-size:13px;color:#547564;word-break:break-word}.pick-button,.primary{background:#153b3f;color:#fff;border-radius:12px;border:0;display:inline-block;padding:16px 24px;font-size:15px;font-weight:650;cursor:pointer}#file{max-width:100%;display:block;margin:16px auto 0;font-size:12px}button,input,a{touch-action:manipulation}button{font:inherit;cursor:pointer;min-height:44px}button:disabled,input:disabled{opacity:.5;cursor:wait}.subtle{border:1px solid #d8e4dc;background:#f5f9f5;border-radius:10px;padding:10px 14px;color:#315e52;font-size:13px}h2{font-size:13px;letter-spacing:1px;font-weight:500;color:#63887b;margin:0 0 18px}h2 span{color:#163d40;font-weight:700;font-size:19px;letter-spacing:0;margin-left:12px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.section-heading h2{margin:0}video{display:block;width:100%;max-height:60vh;aspect-ratio:16/9;background:#101a1b;border-radius:14px}#result-player{margin-top:18px}.time-row,.row{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.time-row{font-variant-numeric:tabular-nums;color:#638078;font-size:12px;margin:10px 0 20px}.range-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}label{font-size:13px;display:block;color:#40695e}input[type=number],input[type=text]{border:1px solid #cddbd2;border-radius:8px;padding:10px;font:inherit;background:#fff;color:#193e35}input[type=number]{width:95px;margin-left:10px}input[type=range]{display:block;width:100%;accent-color:#267b60;min-height:42px;margin:8px 0}.hint{font-size:12px;color:#6a8079;line-height:1.7}.frames{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.frame{min-width:0}.image-button{padding:0;border:0;background:#152b2d;width:100%;aspect-ratio:16/9;position:relative;border-radius:12px;overflow:hidden}.image-button img{width:100%;height:100%;object-fit:contain;display:block}.image-button span{position:absolute;bottom:6px;right:8px;background:#0008;color:#fff;font-size:10px;padding:4px;border-radius:4px}.frame .row{margin-top:12px;font-size:12px}.frame output{font-variant-numeric:tabular-nums;color:#657c74}.recommend{width:100%;font-size:12px}.export-panel p{font-size:13px;color:#547169;line-height:1.7}.export-panel>.primary{width:100%}progress{width:100%;margin:18px 0;accent-color:#267b60}.downloads{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.downloads a{color:#25654e;font-size:13px;padding:10px;border:1px solid #d7e5dd;border-radius:8px;text-decoration:none}#status{padding:18px 20px;background:#e8efea;border-radius:14px;font-size:13px;line-height:1.7;position:sticky;bottom:12px;z-index:2;border:1px solid #d7e2d9}.help{font-size:13px;line-height:1.8}.help summary{cursor:pointer;font-weight:650;min-height:28px}.help label{margin-top:12px}.help input{display:block;width:100%;margin-top:6px}footer{font-size:11px;color:#788b80;text-align:center;padding:30px}dialog{width:min(96vw,1400px);padding:12px;border:0;border-radius:16px;background:#102c33;color:#fff}dialog::backdrop{background:#000c}dialog img{width:100%;max-height:85vh;object-fit:contain}dialog button{display:block;margin-left:auto;color:#fff;background:transparent;border:0}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #e9a846;outline-offset:3px}[hidden]{display:none!important}@media(max-width:620px){header{padding:18px}.brand{font-size:25px}.brand span{font-size:16px}main{padding:0 14px 30px}.intro{padding:24px 8px 12px}.intro h1{font-size:40px}.panel{padding:18px;border-radius:17px}.picker{padding:24px 12px}.frames{grid-template-columns:1fr;gap:24px}.frame .image-button{aspect-ratio:16/9}.range-grid{gap:12px}.section-heading{gap:8px}.section-heading .subtle{font-size:11px;padding:8px}.row>.primary{width:100%}#status{bottom:8px;padding:12px 16px}input[type=number]{width:82px;margin-left:4px}}.trim-row{display:flex;gap:12px;align-items:center;margin:18px 0}.trim-row>button{width:48px;flex-shrink:0}#trim-track{position:relative;height:64px;flex:1;min-width:0;touch-action:none}#trim-thumbnails{display:flex;height:100%;overflow:hidden;border-radius:8px;background:#a5aba8}.trim-thumb{flex:1;min-width:0;border-right:1px solid #bbc1bd;background:linear-gradient(120deg,#999,#c6ccc9)}.trim-thumb img{width:100%;height:100%;object-fit:cover}.trim-selection{position:absolute;top:0;bottom:0;border-top:5px solid #ffcf00;border-bottom:5px solid #ffcf00;pointer-events:none}#trim-track{overflow:hidden}.trim-handle{position:absolute;inset:0;width:100%;height:100%;margin:0;background:transparent;appearance:none;pointer-events:none}.trim-handle::-webkit-slider-runnable-track{background:transparent}.trim-handle::-webkit-slider-thumb{appearance:none;width:20px;height:64px;border-radius:5px;background:#ffcf00;pointer-events:auto;cursor:ew-resize}.trim-handle::-moz-range-thumb{width:20px;height:60px;border:0;background:#ffcf00;pointer-events:auto}.trim-handle.cursor::-webkit-slider-thumb{width:8px;height:54px;background:#fff;box-shadow:0 0 4px #333}.trim-handle.cursor::-moz-range-thumb{width:8px;height:54px;background:#fff}.trim-handle.cursor{z-index:2}.trim-selection{box-shadow:none;z-index:1}.trim-shade{position:absolute;top:0;bottom:0;background:#0006;pointer-events:none;z-index:1}.trim-handle{z-index:2}.trim-handle.cursor{z-index:3}.player-panel{user-select:none;-webkit-user-select:none}.trim-handle.cursor{left:6px;right:6px;width:calc(100% - 12px)}.trim-selection-label{font-size:13px;font-variant-numeric:tabular-nums;margin:0}.mobile-layout:not(.focus-editing) .player-panel #player,.mobile-layout:not(.focus-editing) .player-panel .time-row,.mobile-layout:not(.focus-editing) .player-panel .trim-row,.mobile-layout:not(.focus-editing) .player-panel .trim-help{display:none}.focus-editing{overflow:hidden;overscroll-behavior:none}.focus-editing .player-panel{position:fixed;top:var(--edit-top,0);left:0;width:100%;height:var(--edit-height,100dvh);max-width:none;z-index:1000;display:flex;flex-direction:column;gap:12px;margin:0;border:0;border-radius:0;background:#000;color:#fff;padding:calc(8px + env(safe-area-inset-top)) calc(12px + env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) calc(12px + env(safe-area-inset-left))}.focus-editing .player-panel .section-heading{order:0;flex:0 0 44px;margin:0}.focus-editing .player-panel h2{font-size:16px;color:#fff}.focus-editing #trim-open{display:none}.focus-editing #trim-done{border:0;background:transparent;color:#ffcf00;padding:0 8px;min-height:44px}.focus-editing #player{order:1;flex:1 1 0;min-height:0;height:0;max-height:none;aspect-ratio:auto;width:100%;object-fit:contain;background:#000;border-radius:0}.focus-editing .player-panel .trim-row{order:2;flex:0 0 64px;margin:0;gap:12px}.focus-editing #trim-play{background:#222;color:#fff;border:0;padding:0;min-height:44px}.focus-editing .player-panel .time-row{order:3;flex:0 0 auto;font-size:12px;margin:0;flex-wrap:nowrap;color:#bbb}.focus-editing .trim-selection-label{order:4;flex:0 0 auto;color:#fff;margin:0}.focus-editing .player-panel .hint{display:none}.focus-editing .player-panel{outline:none}.focus-editing .player-panel h2 span{color:inherit}
