.bb-live-toast-root {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 99999;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 28px));
  pointer-events: none;
}

.bb-live-toast {
  pointer-events: auto;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: start;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(215, 184, 75, .36);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(18,18,18,.98), rgba(36,31,22,.98));
  box-shadow: 0 18px 45px rgba(0,0,0,.38);
  color: #f7f0dc;
  text-decoration: none;
  animation: bbLiveIn .22s ease-out;
}

.bb-live-toast:hover {
  border-color: rgba(215, 184, 75, .75);
  transform: translateY(-1px);
}

.bb-live-toast-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(215,184,75,.14);
  border: 1px solid rgba(215,184,75,.30);
}

.bb-live-toast-body strong {
  display: block;
  font-size: .95rem;
  line-height: 1.2;
  color: #f7d66e;
  margin-bottom: 3px;
}

.bb-live-toast-body p {
  margin: 0;
  font-size: .83rem;
  line-height: 1.35;
  color: rgba(255,255,255,.82);
}

.bb-live-toast-close,
.bb-live-permission-close {
  appearance: none;
  border: 0;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.86);
  border-radius: 999px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.bb-live-toast-close:hover,
.bb-live-permission-close:hover {
  background: rgba(255,255,255,.16);
}

.bb-live-toast.is-hiding {
  opacity: 0;
  transform: translateY(8px);
  transition: .28s ease;
}

.bb-live-pulse {
  box-shadow: 0 0 0 0 rgba(215,184,75,.65);
  animation: bbLivePulse 1.35s ease-out 2;
}

.bb-live-permission {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 99998;
  width: min(390px, calc(100vw - 28px));
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: rgba(15,15,15,.96);
  border: 1px solid rgba(215,184,75,.35);
  box-shadow: 0 16px 42px rgba(0,0,0,.35);
  color: #fff;
}

.bb-live-permission strong {
  display: block;
  color: #f7d66e;
  font-size: .92rem;
}

.bb-live-permission span {
  display: block;
  color: rgba(255,255,255,.72);
  font-size: .78rem;
  line-height: 1.25;
}

@keyframes bbLiveIn {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes bbLivePulse {
  0% { box-shadow: 0 0 0 0 rgba(215,184,75,.50); }
  100% { box-shadow: 0 0 0 12px rgba(215,184,75,0); }
}

@media (max-width: 640px) {
  .bb-live-toast-root {
    right: 12px;
    left: 12px;
    bottom: 14px;
    width: auto;
  }

  .bb-live-toast {
    grid-template-columns: 36px 1fr auto;
    border-radius: 16px;
    padding: 10px;
  }

  .bb-live-toast-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .bb-live-permission {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    grid-template-columns: 1fr;
  }

  .bb-live-permission .btn,
  .bb-live-permission-close {
    width: 100%;
  }
}
