.file-bpm { max-width: 760px; margin: 50px auto 0; }
.file-bpm [hidden] { display: none !important; }
.file-bpm .dropzone { width: 100%; max-width: none; margin-top: 28px; text-align: center; }
.file-bpm-local { text-align: center; font-size: 12px; line-height: 18px; color: var(--muted); margin: 24px 0 0; }
.file-bpm-status { font-size: 13px; line-height: 20px; text-align: center; color: var(--muted); margin: 16px 0 0; }
.file-bpm-status:empty { display: none; }
.file-bpm-file { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.file-bpm-file > div { display: flex; gap: 8px; align-items: center; min-width: 0; font-size: 14px; }
.file-bpm-file .filename { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-bpm-file .ui-icon, .file-bpm-file button { flex-shrink: 0; }
.file-bpm-file > div > .ui-icon { width: 20px; height: 20px; }
.file-bpm-card { min-height: 240px; display: grid; grid-template-rows: 160px minmax(64px, auto); justify-items: center; gap: 16px; }
.file-bpm-readout { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.file-bpm-feedback { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px; }
.file-bpm-value { display: flex; flex-direction: column; align-items: center; font-size: 72px; font-weight: 600; line-height: 86px; font-variant-numeric: tabular-nums; }
.file-bpm-value > span { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 20px; font-weight: 500; }
.file-bpm-value > .bpm-number-skeleton { width: 138px; height: 86px; margin: 0; border-radius: 12px; }
.file-bpm .bpm-beats { gap: 8px; }
.file-bpm .bpm-beats span { width: 7px; height: 7px; }
.file-bpm-processing { display: grid; justify-items: center; gap: 12px; color: var(--muted); }
.file-bpm-processing p { margin: 0; font-size: 14px; }
.file-bpm-no-result .ui-icon { width: 40px; height: 40px; color: var(--muted); }
.file-bpm-player { display: flex; align-items: center; gap: 16px; padding-block: 20px; border-block: 1px solid var(--line); direction: ltr; }
.file-bpm-player .play-button { width: 44px; height: 44px; flex: 0 0 44px; }
#file-bpm-time { font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.file-bpm-seek { flex: 1; min-width: 0; }
.file-bpm-seek .audio-slider { width: 100%; }
@media (max-width: 767px) {
  .file-bpm { margin-top: 24px; }
  .file-bpm .bpm-heading h1 { font-size: 28px; }
  .file-bpm-file { align-items: flex-start; }
  .file-bpm-file > div { padding-top: 8px; }
  .file-bpm-file button { max-width: 45%; white-space: normal; }
  .file-bpm-player { flex-wrap: wrap; gap: 12px; }
  .file-bpm-seek { flex-basis: 100%; }
}
