.trim-controls{background:#1e1d21;color:#fff;border-radius:16px;padding:22px 24px 24px;margin-top:30px}
.trim-top{align-items:center;gap:16px}.trim-top label{font-size:15px}.trim-top span{margin-left:auto;color:#c4bec5}.preview-selection{border:0;background:transparent;color:#ffd12f;font-size:13px;font-weight:700;padding:5px 0}.preview-selection:hover{text-decoration:underline}.preview-selection:focus-visible,.filmstrip-play:focus-visible{outline:2px solid #ffd12f;outline-offset:3px}
.filmstrip-shell{display:flex;align-items:stretch;background:#2b292e;border-radius:10px;overflow:hidden;margin-top:15px;height:94px}.filmstrip-play{flex:0 0 70px;border:0;border-right:2px solid #171519;background:#29272b;color:#fff;font-size:34px;line-height:1}.filmstrip-play:hover{background:#38353b}.filmstrip-shell .timeline{flex:1;min-width:0;height:100%;margin:0;overflow:visible;cursor:crosshair}.frame-strip{height:100%;display:flex;overflow:hidden;border-radius:0 9px 9px 0}.frame-strip .frame{flex:1;min-width:0;height:100%;overflow:hidden;border-right:2px solid #171519;background:#554b54}.frame-strip .frame:nth-child(2n){background:#76545e}.frame-strip .frame:nth-child(3n){background:#5e6573}.frame-strip img{width:100%;height:100%;display:block;object-fit:cover}.timeline-dim{position:absolute;top:0;height:100%;background:#171519a8;pointer-events:none;z-index:1}.timeline-selected{position:absolute;top:0;height:100%;border-top:5px solid #ffcf24;border-bottom:5px solid #ffcf24;border-radius:4px;background:transparent;pointer-events:none;z-index:2}.filmstrip-shell .timeline input[type=range]{height:100%;z-index:4}.filmstrip-shell .timeline input[type=range]::-webkit-slider-thumb{height:84px;width:23px;border:0;border-radius:7px;background:#ffcf24;box-shadow:0 0 0 1px #cf9f00,0 3px 12px #0008;cursor:ew-resize}.filmstrip-shell .timeline input[type=range]::-moz-range-thumb{height:84px;width:23px;border:0;border-radius:7px;background:#ffcf24;box-shadow:0 0 0 1px #cf9f00,0 3px 12px #0008;cursor:ew-resize}.playhead{position:absolute;top:-8px;height:calc(100% + 16px);width:2px;background:#fff;box-shadow:0 0 0 1px #1118,0 0 8px #000;z-index:3;pointer-events:none}.playhead:before{content:"";position:absolute;top:-2px;left:-4px;width:10px;height:10px;border-radius:2px;background:#fff}.ruler{display:flex;align-items:center;gap:12px;margin:10px 0 4px 70px;font-size:11px;font-variant-numeric:tabular-nums;color:#a6a0a9}.ruler-ticks{height:15px;flex:1;background:repeating-linear-gradient(90deg,#aaa4aa 0,#aaa4aa 1px,transparent 1px,transparent 14px);mask-image:linear-gradient(#000,#000)}.frame-status{font-size:12px;color:#b6adb4;margin:8px 0 22px 70px}.trim-controls .time-inputs{margin-left:70px}.trim-controls .time-inputs label{color:#c4bec5}.trim-controls .time-inputs input{background:#2d2b30;color:#fff;border-color:#5e5861}.trim-controls .time-inputs input:focus{outline-color:#ffcf24}.trim-controls .trim-hint{color:#aaa3ab;margin:15px 0 0 70px}.trim-controls .time-dash{background:#89828a}.trim-controls .timeline-selected{right:auto}.trim-controls .timeline-dim{right:auto}
@media(max-width:580px){.trim-controls{padding:17px 14px 20px;margin-left:-3px;margin-right:-3px}.trim-top{flex-wrap:wrap;gap:4px 12px}.trim-top span{width:100%;margin-left:0}.filmstrip-shell{height:78px}.filmstrip-play{flex-basis:48px;font-size:26px}.filmstrip-shell .timeline input[type=range]::-webkit-slider-thumb{height:70px;width:20px}.filmstrip-shell .timeline input[type=range]::-moz-range-thumb{height:70px;width:20px}.ruler{margin-left:48px}.frame-status,.trim-controls .time-inputs,.trim-controls .trim-hint{margin-left:0}.frame-strip .frame:nth-child(n+9){display:none}}
