/* Формат: аудио / рисованное видео · только .sb-fmt */
.sb-fmt {
  margin: 0 0 14px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 180, 210, 0.28);
  background: linear-gradient(160deg, rgba(40, 10, 28, 0.92), rgba(14, 6, 16, 0.9));
}
.sb-fmt__kicker {
  margin: 0 0 6px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f3c89a;
}
.sb-fmt h2 {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  color: #fff8fb;
}
.sb-fmt__lead {
  margin: 0 0 12px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(255, 236, 245, 0.86);
}
.sb-fmt__stage {
  position: relative;
  width: min(280px, 100%);
  aspect-ratio: 9 / 16;
  margin: 0 auto 12px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 180, 210, 0.22);
  background: #12060e;
}
.sb-fmt__stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sb-fmt__stage.is-audio {
  aspect-ratio: 1 / 1;
  max-width: 200px;
  display: grid;
  place-items: center;
}
.sb-fmt__stage.is-audio img {
  width: 72%;
  height: 72%;
  border-radius: 50%;
  object-fit: cover;
}
.sb-fmt__wave {
  position: absolute;
  inset: auto 12% 14%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 180, 210, 0.25);
  overflow: hidden;
}
.sb-fmt__wave i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #ff7eb3, #f3c89a);
  transition: width 0.2s linear;
}
.sb-fmt__wave.is-on i {
  animation: sbFmtWave 8s linear forwards;
}
@keyframes sbFmtWave {
  from { width: 0; }
  to { width: 100%; }
}
.sb-fmt__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sb-fmt__actions .btn { min-height: 44px; flex: 1 1 140px; }
.sb-fmt__note {
  margin: 10px 0 0;
  font-size: 0.78rem;
  color: rgba(255, 236, 245, 0.68);
  line-height: 1.35;
}
.sb-fmt[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  .sb-fmt__wave.is-on i { animation: none; width: 100%; }
}
