:root { --acc: #16a34a; --accd: #15803d; --accbg: #ebf8ef }
.stage { flex: 1; display: flex; flex-direction: column; padding: 22px; gap: 12px; min-width: 0; min-height: 0 }
.player { flex: 1; min-height: 280px; background: #0e1013; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative }
.player video { max-width: 100%; max-height: 100%; display: block; transition: transform .2s }
.tl { height: 82px; padding: 10px 14px; position: relative; user-select: none; touch-action: none; flex: none }
.th { height: 60px; display: flex; gap: 1px; background: #dfe2e7; cursor: pointer }
.th canvas, .th i { flex: 1; min-width: 0; height: 60px; object-fit: cover; display: block; background: #dfe2e7 }
.keep { position: absolute; top: 10px; height: 60px; border: 3px solid var(--acc); box-shadow: 0 0 0 4000px rgba(244,245,247,.7); pointer-events: none; box-sizing: border-box }
.tl { overflow: hidden }
.h { position: absolute; top: -3px; bottom: -3px; width: 16px; background: var(--acc); cursor: ew-resize; pointer-events: auto }
.h.l { left: -3px } .h.r { right: -3px }
.h::after { content: ''; position: absolute; left: 5px; top: 50%; height: 22px; margin-top: -11px; width: 6px; border-left: 2px solid #fff; border-right: 2px solid #fff; box-sizing: border-box; opacity: .85 }
.ph { position: absolute; top: 6px; height: 68px; width: 2px; background: var(--ink); pointer-events: none }
.ctl { display: flex; gap: 10px; align-items: center; flex-wrap: wrap } .ctl .sp { flex: 1 } .mono { font: 600 13px var(--mono) }
.side .row { grid-template-columns: 70px 1fr } .side .row .seg button { padding: 0 6px }
.s { font-size: 12.5px; color: var(--tx2); font-family: var(--mono) }
.side h4#fName { text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--tx); overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.donebox .ok { font-weight: 800; font-size: 18px } .donebox .tip { font-size: 12.5px; color: var(--tx2) } .donebox .tip a { color: var(--accd); font-weight: 600 }
.donebox img { max-width: 100%; border: 1px solid var(--line) }
