/* Bottom-center toasts (starz_toast.js) */
.starz-toast-root {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 10050;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 10px;
  width: min(380px, calc(100vw - 32px));
  max-width: min(380px, calc(100vw - 32px));
  pointer-events: none;
}

.starz-toast {
  pointer-events: auto;
  box-sizing: border-box;
  width: 100%;
  max-width: 380px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #39ff14;
  color: #000000;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 10px 28px rgba(20, 28, 48, 0.22);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.starz-toast.starz-toast--in {
  opacity: 1;
  transform: translateY(0);
}

.starz-toast.starz-toast--out {
  opacity: 0;
  transform: translateY(8px);
}

.starz-toast.starz-toast--error {
  background: #b42318;
  color: #ffffff;
}

.starz-toast a {
  color: inherit;
  text-decoration: underline;
}

/* Hide source banners once promoted to toast (JS adds this class) */
.starz-toast-source-hidden {
  display: none !important;
}

@media (max-width: 575.98px) {
  .starz-toast-root {
    bottom: 12px;
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  .starz-toast {
    max-width: none;
  }
}
