/* Screenshot slot shared by the documentation (shot.js) and the portal (ScreenshotSlot.tsx).
   The portal loads this very file from /docs/assets/screens/shot.css so both look the same. */
.shot {
  position: relative;
  margin: 1rem 0;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid rgba(128, 128, 128, 0.28);
  background: rgba(128, 128, 128, 0.06);
}
/* No image yet: the slot is invisible and takes no space */
.shot:empty {
  display: none;
}
.shot > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}
.shot > figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.35rem 0.7rem;
  font-size: 0.72rem;
  line-height: 1.3;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
}
.shot-mark {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}
.shot-ring {
  position: absolute;
  left: -16px;
  top: -16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.35);
  animation: shot-ring 2.4s ease-out infinite;
}
.shot-cursor {
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.4));
  animation: shot-cursor 2.4s ease-in-out infinite;
}
@keyframes shot-cursor {
  0% { transform: translate(26px, 26px); opacity: 0; }
  25% { opacity: 1; }
  55%, 100% { transform: translate(0, 0); opacity: 1; }
}
@keyframes shot-ring {
  0%, 50% { transform: scale(0.3); opacity: 0; }
  60% { opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .shot-ring { animation: none; opacity: 0.6; transform: scale(1); }
  .shot-cursor { animation: none; transform: none; }
}
