/* Sounds library: rows with a play button, title and a waveform you can click to jump; a now-playing bar at the bottom. */
.snd { padding-bottom: 110px; }
.snd-bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.snd-bar .ds-seg small { color: var(--ds-ink-3); font-weight: 500; margin-left: 4px; }
body.lab .snd-search { flex: 1; min-width: 200px; max-width: 360px; height: 36px; border-radius: 10px !important; padding: 0 12px !important; }
.snd-list { padding: 6px !important; display: grid; }
.snd-row { display: grid; grid-template-columns: 40px minmax(140px, 260px) 1fr auto; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 12px; }
.snd-row:hover { background: #f5f5f6; }
.snd-row.on { background: #fff8db; }
body.lab .snd-play, body.lab .snd-pbig { display: grid; place-items: center; width: 40px; height: 40px; padding: 0 !important; border-radius: 50% !important; border: 0 !important; background: #1b1c20 !important; color: #fff !important; }
.snd-row.on .snd-play { background: var(--ds-accent-hi, #FFD84D) !important; color: #14120E !important; }
.snd-play svg, .snd-pbig svg { width: 18px; height: 18px; }
.snd-meta { display: grid; gap: 2px; min-width: 0; } .snd-meta b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .snd-meta small { color: var(--ds-ink-3); font-size: 12px; }
.snd-wave { position: relative; height: 36px; display: flex; align-items: center; gap: 2px; cursor: pointer; }
.snd-wave i { flex: 1; min-width: 2px; border-radius: 2px; background: #d6d7db; }
.snd-row.on .snd-wave i { background: #e9d58a; }
.snd-prog { position: absolute; left: 0; top: 0; bottom: 0; width: 0; pointer-events: none; background: linear-gradient(90deg, rgba(27,28,32,.0), rgba(27,28,32,.0)); box-shadow: inset -2px 0 0 #1b1c20; mix-blend-mode: multiply; }
.snd-row.on .snd-prog, .snd-player .snd-prog { background: rgba(181,137,0,.38); }
.snd-player { position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 50; width: min(980px, calc(100vw - 32px)); display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 12px 18px; border-radius: 18px; background: #1b1c20; color: #fff; box-shadow: 0 16px 40px rgba(20,22,28,.35); }
body.lab .snd-player button { background: transparent !important; border: 0 !important; color: #fff !important; padding: 0 !important; display: grid; place-items: center; width: 34px; height: 34px; }
body.lab .snd-player .snd-pbig { width: 44px !important; height: 44px !important; background: var(--ds-accent-hi, #FFD84D) !important; color: #14120E !important; }
.snd-player svg { width: 18px; height: 18px; }
.snd-pctl { display: flex; align-items: center; gap: 6px; }
.snd-pmain { min-width: 0; display: grid; gap: 4px; } .snd-pmain b { font-size: 13px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.snd-pline { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; font-size: 11.5px; color: #b9b9c0; font-variant-numeric: tabular-nums; }
.snd-player .snd-wave { height: 28px; } .snd-player .snd-wave i { background: #4a4b52; }
.snd-vol { display: flex; align-items: center; gap: 6px; color: #b9b9c0; } .snd-vol svg { width: 18px; height: 18px; } .snd-vol input { width: 90px; accent-color: #FFD84D; }
body.lab .snd-vol input { background: transparent !important; border: 0 !important; height: auto !important; padding: 0 !important; }
@media (max-width: 720px) {
  .snd-row { grid-template-columns: 40px 1fr; } .snd-row .snd-wave { grid-column: 1 / -1; } .snd-row > .ds-btn { grid-column: 1 / -1; justify-self: start; }
  .snd-player { grid-template-columns: auto 1fr; bottom: calc(10px + env(safe-area-inset-bottom)); } .snd-vol { display: none; }
}
.snd-moods { display: flex; gap: 6px; flex-wrap: wrap; }
body.lab .snd-moods button { height: 32px; padding: 0 12px !important; border-radius: 999px !important; border: 1px solid var(--ds-stroke) !important; background: #fff !important; color: var(--ds-ink-2) !important; font-size: 12.5px; font-weight: 600; }
body.lab .snd-moods button[aria-pressed="true"] { background: #1b1c20 !important; color: #fff !important; border-color: #1b1c20 !important; }
body.lab .snd-dl { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; } .snd-dl svg { width: 15px; height: 15px; }
