/* Sound maps on the video editor's timeline and in the sound bank (features/vedit_soundmap.js). Only drawn when a
   sound has a map; its own layer inside a sound bar sits behind the bar's name (z 1), edges (z 2) and fade handles (z 3). */
.ve-bar.track .sm-layer { position: absolute; inset: 0; pointer-events: none; }
.ve-bar.track .sm-cv { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.ve-bar.track.sm-mapped .vt-wave { opacity: .4; }
.sm-part { position: absolute; top: 0; bottom: 0; pointer-events: auto; background: rgba(255, 255, 255, .05); border-left: 1px dashed rgba(255, 255, 255, .28); box-sizing: border-box; }
.sm-part.odd { background: rgba(0, 0, 0, .08); }
.sm-part.sm-peak, .sm-part.sm-drop, .sm-part.sm-chorus { background: rgba(255, 236, 170, .1); }
.sm-hit { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #ffe066; box-shadow: 0 0 0 1px rgba(0, 0, 0, .35); pointer-events: auto; }
.sm-hit::before { content: ''; position: absolute; top: 0; left: -4px; border: 5px solid transparent; border-top: 6px solid #ffe066; border-bottom: 0; }
.ve-tlhead .sm-head { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.ve-tlhead .sm-head[hidden] { display: none; }
.ve-tlhead .sm-head .btn.sm-snap.on, .ve-tlhead .sm-head .btn.sm-snap.on:hover { background: #ffe066; color: #222; border-color: #e0be3a; }
.vt-tip .sm-tipx { color: #ffe066; }
/* the sound bank page and the editor's bank picker */
.sb-head .sm-facts { display: inline-flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.sb-head .sm-facts[hidden] { display: none; }
.sm-fact { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sb-head .sm-like { font-style: italic; }
.ve-tlhead .sm-head.sm-compact .sm-word { display: none; }
