/* TigoMeNote · sounds.css — sound picker at sound row (components/sound-picker.js) */

.sp { display: grid; gap: 14px; }
.sp-note { display: flex; gap: 6px; align-items: flex-start; margin: 0; }
.sp-sec h4 { margin: 0 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); }
.sp-list { display: grid; gap: 4px; }
.sp-item { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: var(--r-md); border: 1px solid transparent; }
.sp-item:hover { background: var(--bg-soft); }
.sp-item.on { border-color: var(--line-strong); background: var(--bg-soft); }
.sp-play {
  width: 40px; height: 40px; flex: none; border-radius: 12px; border: 0; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--ring-1), var(--ring-2));
}
.sp-item:nth-child(3n+2) .sp-play { background: linear-gradient(135deg, var(--ring-3), var(--ring-2)); }
.sp-item:nth-child(3n) .sp-play { background: linear-gradient(135deg, var(--ring-1), var(--ring-3)); }
.sp-main { flex: 1; min-width: 0; display: grid; }
.sp-main b { font-size: 15px; }
.sp-best { justify-self: start; width: max-content; display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: var(--r-full); background: var(--accent-soft); color: var(--accent); margin-left: 4px; }
.sp-mix { display: grid; gap: 10px; padding-top: 6px; border-top: 1px solid var(--line); }
.sp-vol { display: grid; grid-template-columns: auto 92px 1fr; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.sp-vol input { width: 100%; accent-color: var(--accent); }
.sp-auto { display: flex; gap: 8px; align-items: center; font-size: 14px; cursor: pointer; }
.sp-auto input { width: 18px; height: 18px; accent-color: var(--accent); }

.sp-row { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 8px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.sp-row.has { background: var(--bg-soft); }
.sp-row-play { width: 36px; height: 36px; flex: none; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--ring-1), var(--ring-2)); }
.sp-row-main { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.sp-row-main b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-row-add { flex: none; }

/* maliit na equalizer (gumagalaw kapag tumutugtog) */
.sp-eq, .snd-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.sp-eq i, .snd-eq i { width: 3px; height: 4px; border-radius: 2px; background: currentColor; }
.sp-eq.on i, .playing .snd-eq i { animation: sndEq .8s ease-in-out infinite; }
.sp-eq.on i:nth-child(2), .playing .snd-eq i:nth-child(2) { animation-delay: .2s; }
.sp-eq.on i:nth-child(3), .playing .snd-eq i:nth-child(3) { animation-delay: .4s; }
@keyframes sndEq { 0%, 100% { height: 4px; } 50% { height: 12px; } }
@media (prefers-reduced-motion: reduce) { .sp-eq i, .snd-eq i { animation: none !important; height: 8px; } }
.sp-newb { background: color-mix(in srgb, #ff5a36 16%, transparent); color: #e8481f; }
