.bm-compose, .bm-playback {
  min-width: 0;
  font: inherit;
  color: var(--ink, #152c50);
}
.bm-compose {
  padding: 14px;
  border: 1px solid var(--line, #d7dee8);
  border-radius: 10px;
  background: #fbfcfe;
}
.bm-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.bm-compose [hidden], .bm-playback [hidden] { display: none !important; }
.bm-stage:empty, .bm-status:empty { display: none; }
.bm-stage:not(:empty) { margin-bottom: 12px; }
.bm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  font: 600 0.91rem/1.25 system-ui, sans-serif;
  cursor: pointer;
  border: 1px solid var(--line, #d7dee8);
  border-radius: 7px;
  color: var(--blue, #234dae);
  background: white;
  -webkit-tap-highlight-color: transparent;
}
.bm-button:focus-visible { outline: 2px solid var(--blue, #234dae); outline-offset: 2px; }
.bm-button:disabled { cursor: wait; opacity: 0.65; }
.bm-record, .bm-open { background: var(--soft, #eff4fb); }
.bm-record::before, .bm-stop::before {
  content: '';
  display: block;
  width: 9px;
  height: 9px;
  background: currentColor;
  border-radius: 100%;
}
.bm-stop { color: #913e3e; }
.bm-stop::before { border-radius: 1px; }
.bm-playback { display: grid; gap: 6px; justify-items: start; }
.bm-playback .bm-open { text-align: left; }
.bm-open::before {
  content: '';
  border: 5px solid transparent;
  border-left: 8px solid currentColor;
  border-right: 0;
}
.bm-status { display: block; overflow-wrap: anywhere; color: var(--muted, #53647b); font-size: 0.875rem; line-height: 1.4; margin: 8px 0 0; }
.bm-playback .bm-status { margin: 0; }
.bm-status.bm-error { color: #8a3737; }
.bm-clock { color: var(--ink, #152c50); font: 500 0.94rem/1.2 ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.bm-player { display: block; width: 100%; min-width: 0; }
video.bm-player {
  background: #182239;
  border-radius: 8px;
  max-height: min(52vh, 360px);
  object-fit: contain;
}
audio.bm-player { max-width: 420px; }
video.bm-live {
  width: min(65%, 186px);
  aspect-ratio: 1;
  display: block;
  object-fit: cover;
  border-radius: 100%;
  margin: 0 auto;
  transform: scaleX(-1);
}
