:root { --acc: #9333ea; --accd: #7e22ce; --accbg: #f6effd }
.stage { flex: 1; display: flex; flex-direction: column; padding: 18px 22px; gap: 10px; min-width: 0; overflow: auto }
.vbox { position: relative; background: #111; display: flex; justify-content: center; min-height: 0 } .vbox video { max-width: 100%; max-height: 52vh; display: block }
.cap { position: absolute; left: 0; right: 0; text-align: center; color: #fff; font: 800 clamp(14px, 3.2vw, 34px) Inter, Arial, sans-serif; -webkit-text-stroke: 1.5px #000; paint-order: stroke fill; pointer-events: none }
.cap.bottom { bottom: 46px } .cap.top { top: 12px }
.s { font-size: 12.5px; color: var(--tx2) } .s.warn { color: #b45309; font-weight: 600; margin-top: 4px }
.rng { position: relative; height: 30px } .rng .bar { position: absolute; left: 0; right: 0; top: 12px; height: 6px; border-radius: 3px }
.rng input { position: absolute; left: 0; right: 0; top: 4px; width: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; height: 22px }
.rng input::-webkit-slider-thumb { pointer-events: auto; -webkit-appearance: none; width: 16px; height: 22px; background: var(--accd); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--accd); cursor: ew-resize }
.rng input::-moz-range-thumb { pointer-events: auto; width: 14px; height: 20px; background: var(--accd); border: 2px solid #fff; cursor: ew-resize }
.ctl { display: flex; gap: 8px; align-items: center; flex-wrap: wrap } .ctl .t { font-weight: 700; font-size: 13px } .ctl .sp { flex: 1 }
.prog { display: flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 600; color: var(--tx2) } .pb { flex: 0 0 220px; height: 6px; background: #e2e5ea } .pb i { display: block; height: 100%; width: 0; background: var(--acc) }
.result { display: flex; gap: 14px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); padding: 12px } .result img { max-width: 260px; max-height: 180px } .result b { color: var(--ok) } .result .btn { margin-top: 8px }
.glist { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px }
.gc { background: var(--panel); border: 1px solid var(--line); display: flex; gap: 12px; align-items: center; padding: 10px; position: relative }
.gc img { width: 120px; height: 90px; object-fit: contain; background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 0 0/16px 16px; flex: none }
.gc .b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--tx2) } .gc .b > b { color: var(--tx); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 18px } .gc .ok { color: var(--ok) } .gc em { color: var(--bad); font-style: normal }
.gc .x { position: absolute; top: 4px; right: 6px; border: 0; background: none; color: var(--tx3); cursor: pointer }
#wSeg button, #spSeg button { padding: 0 4px }
