/* Overrides for the static build: the capture froze React-driven state mid-animation. */

/* Carousel: slides were saved with a hardcoded 1920px width and a mid-scroll
   transform. Drive width from the container instead so it stays responsive. */
.carousel-tmp1 .react-multi-carousel-track {
  will-change: transform;
}
.carousel-tmp1 .react-multi-carousel-item {
  width: var(--slide-w, 100%) !important;
  flex: 0 0 var(--slide-w, 100%) !important;
}
.carousel-tmp1 .react-multi-carousel-item .img {
  width: 100%;
  display: block;
}

/* Static demo: controls look live but do nothing. */
[data-static] {
  cursor: default;
}

/* Toast shown when a dead control is clicked. */
#static-toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%) translateY(20px);
  background: rgba(20, 20, 24, 0.92);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 12px 22px;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.3px;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}
#static-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
