.bauto-tv-bar {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #0f1115;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.20);
}

.bauto-tv-bar__inner {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}

.bauto-tv-bar__left {
  padding: 18px 18px 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,0));
}

.bauto-tv-bar__brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.bauto-tv-bar__brandLogo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: .5px;
  border-radius: 999px;
  padding: 10px 14px;
  background: #d81f26;
  color: #fff;
  line-height: 1;
  min-width: 86px;
}

.bauto-tv-bar__brandTitle {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
}

.bauto-tv-bar__brandSubtitle {
  margin-top: 3px;
  font-size: 12px;
  opacity: .8;
}

.bauto-tv-bar__meta {
  margin-top: 14px;
}

.bauto-tv-bar__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .5px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(216,31,38,.15);
  border: 1px solid rgba(216,31,38,.35);
  color: #ffdde0;
}

.bauto-tv-bar[data-is-live="1"] .bauto-tv-bar__badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ff2a2a;
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(255,42,42,.18);
}

.bauto-tv-bar__videoTitle {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
}

.bauto-tv-bar__actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.bauto-tv-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: #ffffff12;
  border: 1px solid #ffffff22;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}

.bauto-tv-bar__btn:hover {
  background: #ffffff1c;
  border-color: #ffffff35;
}

.bauto-tv-bar__btn--ghost {
  background: transparent;
}

.bauto-tv-bar__player {
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.bauto-tv-bar__ratio {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.bauto-tv-bar__ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.bauto-tv-bar--error {
  padding: 14px;
}

.bauto-tv-bar__error {
  font-weight: 700;
  color: #ffd2d2;
}

@media (max-width: 1024px) {
  .bauto-tv-bar__inner {
    grid-template-columns: 340px minmax(0, 1fr);
  }

  .bauto-tv-bar__left {
    padding: 16px;
  }

  .bauto-tv-bar__brandTitle {
    font-size: 17px;
  }

  .bauto-tv-bar__videoTitle {
    font-size: 13px;
  }
}

@media (max-width: 860px) {
  .bauto-tv-bar__inner {
    grid-template-columns: 1fr;
  }

  .bauto-tv-bar__left {
    padding: 16px;
  }

  .bauto-tv-bar__player {
    width: 100%;
  }

  .bauto-tv-bar__ratio {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 520px) {
  .bauto-tv-bar {
    border-radius: 14px;
  }

  .bauto-tv-bar__left {
    padding: 14px;
  }

  .bauto-tv-bar__brand {
    gap: 10px;
    align-items: flex-start;
  }

  .bauto-tv-bar__brandLogo {
    min-width: auto;
    padding: 9px 12px;
    font-size: 14px;
  }

  .bauto-tv-bar__brandTitle {
    font-size: 16px;
  }

  .bauto-tv-bar__brandSubtitle {
    font-size: 11px;
  }

  .bauto-tv-bar__badge {
    font-size: 11px;
    padding: 6px 9px;
  }

  .bauto-tv-bar__videoTitle {
    font-size: 13px;
  }

  .bauto-tv-bar__actions {
    gap: 8px;
  }

  .bauto-tv-bar__btn {
    width: 100%;
    font-size: 13px;
    padding: 10px 12px;
  }
}