/* Video editor: basic sound editing (features/vedit_soundedit.js) */
.vsnd-presets { margin: 4px 0 2px; }
.vsnd-plays { margin: 2px 0 6px; opacity: .85; }
.vsnd-loud { display: block; margin: -2px 0 6px; }
.vsnd-loud[hidden] { display: none; }
.vsnd-sidebox { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; margin: 4px 0; }
.vsnd-side { width: 100%; min-width: 0; accent-color: #b0527a; }
.vsnd-siderow { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 2px 0 6px; }
.vsnd-read { font-variant-numeric: tabular-nums; }
.vsnd-own { margin-top: 8px; }
/* small badges on a sound bar (speed, left / right, louder than 100 %): their own element on top of the bar */
.vsnd-badges { position: absolute; right: 16px; bottom: 1px; z-index: 2; display: flex; gap: 3px; pointer-events: none; }
/* the volume line on sound, clip and video bars: its own layer on top of the bar; only the line and points take the mouse */
.vsnd-level { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.vsnd-lvhit { position: absolute; left: 10px; right: 10px; height: 9px; margin-top: -4px; pointer-events: auto; cursor: ns-resize; }
.vsnd-lvline { position: absolute; left: 0; right: 0; top: 4px; height: 0; border-top: 1.5px solid #ffd84d; filter: drop-shadow(0 0 1px rgba(0, 0, 0, .8)); }
.vsnd-lvhit:hover .vsnd-lvline { border-top-width: 2.5px; top: 3px; }
.vsnd-level.off .vsnd-lvline { border-top-style: dashed; opacity: .7; }
.vsnd-level.off .vsnd-lvpath { stroke-dasharray: 4 3; opacity: .7; }
.vsnd-lvsvg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.vsnd-lvpath { fill: none; stroke: #ffd84d; stroke-width: 1.5; }
.vsnd-lvpathhit { fill: none; stroke: transparent; stroke-width: 9; pointer-events: stroke; cursor: ns-resize; }
.vsnd-pt { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #ffd84d; border: 1px solid rgba(0, 0, 0, .6); box-sizing: border-box; pointer-events: auto; cursor: move; z-index: 1; }
.vsnd-badge { font: 600 9px/12px system-ui, sans-serif; padding: 0 4px; border-radius: 6px; color: #fff; background: rgba(0, 0, 0, .55); white-space: nowrap; }
/* a sound bar's name sits in the top strip: the volume line is at half height at 100 % and would strike it through */
.vt-trackrow .ve-bar.track .ve-barname { display: block; line-height: 13px; font-size: 10.5px; }
