.bm-youtube-consent {
  width: 100%;
  min-height: 230px;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  background: #111;
  color: #fff;
}

.bm-youtube-placeholder {
  width: 100%;
  padding: clamp(1rem, 4vw, 2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  text-align: center;
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,.16);
}

.bm-youtube-placeholder p {
  max-width: 42rem;
  margin: 0;
  font-size: .92rem;
  line-height: 1.5;
}

.bm-youtube-placeholder button,
.bm-consent-banner button {
  min-height: 44px;
  padding: .7rem 1rem;
  border: 1px solid #fff;
  border-radius: .55rem;
  background: #6a2e52;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.bm-youtube-consent iframe {
  width: 100%;
  height: 100%;
  min-height: 230px;
  border: 0;
}

.bm-consent-banner {
  position: fixed;
  z-index: 100000;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: min(94vw, 720px);
  padding: 1rem;
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: .75rem;
  background: #151515;
  color: #fff;
  box-shadow: 0 12px 40px rgba(0,0,0,.55);
}

.bm-consent-banner p { margin: 0 0 .8rem; line-height: 1.5; }
.bm-consent-banner a { color: #ffb3d1; }
.bm-consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.bm-consent-actions button { width: 100%; }
.bm-consent-actions [data-bm-consent-reject] { background: #333; }

.bm-consent-settings {
  border: 0;
  background: transparent;
  color: inherit;
  opacity: .8;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}

@media (max-width: 520px) {
  .bm-youtube-consent,
  .bm-youtube-consent iframe { min-height: 0; }
  .bm-youtube-placeholder { padding: .7rem; gap: .45rem; }
  .bm-youtube-placeholder p { font-size: .78rem; line-height: 1.3; }
  .bm-consent-actions { grid-template-columns: 1fr; }
  .bm-consent-banner { bottom: .5rem; }
}
