/* bpm-finder.css : scoped to #bpm-finder (the af- drop zone classes are shared by name with key-finder.css) */
#bpm-finder .af-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 96px; padding: 14px;
  border: 1.5px dashed var(--line-strong); border-radius: 16px; background: var(--strong); cursor: pointer; text-align: center; }
#bpm-finder .af-drop.over { border-color: var(--ink); background: var(--card); }
#bpm-finder .af-drop:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
#bpm-finder .af-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
#bpm-finder .af-drop-main { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
#bpm-finder .af-drop .btn { pointer-events: none; }
#bpm-finder .af-or { color: var(--muted); font-size: 14px; }
#bpm-finder .af-fname { overflow-wrap: anywhere; }
#bpm-finder .af-private { margin: 8px 0 10px; }
#bpm-finder .af-progress { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
#bpm-finder .af-track { flex: 1; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
#bpm-finder .af-track span { display: block; height: 100%; width: 0; background: var(--primary); transition: width .15s; }
#bpm-finder .notice { margin: 0 0 10px; }
#bpm-finder .bpmf-display { padding-top: 16px; }
#bpm-finder .bpmf-flash { position: absolute; top: 14px; right: 16px; width: 14px; height: 14px; border-radius: 50%; background: #44403c; }
#bpm-finder .bpmf-flash.on { background: #a8c8e8; }
#bpm-finder .bpmf-conf { min-height: 1.4em; }
#bpm-finder .bpmf-conf .ok { color: #4ade80; } #bpm-finder .bpmf-conf .warn { color: #fbbf24; } #bpm-finder .bpmf-conf .bad { color: #f87171; }
#bpm-finder .bpmf-alts { justify-content: center; margin: 10px 0 6px; min-height: 8px; }
#bpm-finder .bpmf-alts { gap: 6px; }
#bpm-finder .bpmf-alts .chip { background: #292524; color: #e7e5e4; min-height: 44px; padding: 6px 12px; font-size: 14px; }
#bpm-finder .bpmf-alts .chip[aria-pressed="true"] { background: #f5f5f4; color: #0c0a09; }
#bpm-finder .bpmf-wave { display: block; width: 100%; height: 96px; margin-top: 8px; border-radius: 10px; background: #1c1917; cursor: pointer; touch-action: manipulation; }
#bpm-finder .bpmf-time { margin-top: 6px; font-variant-numeric: tabular-nums; }
#bpm-finder .bpmf-row { margin-top: 12px; }
#bpm-finder .bpmf-row .chip { min-height: 44px; padding: 8px 14px; }
#bpm-finder [data-send][aria-disabled="true"] { opacity: .45; }
#bpm-finder .bpmf-tap.hit { animation: bpmf-hit .16s ease-out; }
@keyframes bpmf-hit { from { background: var(--family); } to { background: var(--strong); } }
#bpm-finder .bpmf-keys { margin: 12px 0 0; }
@media (max-width: 640px) { #bpm-finder .af-drop { min-height: 80px; } #bpm-finder .bpmf-wave { height: 80px; } }
@media (prefers-reduced-motion: reduce) { #bpm-finder .bpmf-tap.hit { animation: none; } }
