/* "Rare footage": a looping clip in a small framed card, with a REC badge, on the desktop board. Not shown on phones. */
.rare-footage {
  position: absolute;
  left: 1380px;
  top: 410px; /* high above the title, off the first screen: found only by dragging the board upward */
  z-index: 2;
  width: 250px;
  margin: 0;
  padding: 8px 8px 12px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(28, 27, 25, 0.12), 0 2px 5px rgba(28, 27, 25, 0.07);
  transform: rotate(1.6deg);
  user-select: none;
  -webkit-user-select: none;
}

.rare-footage__screen {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #1c1b19;
  aspect-ratio: 640 / 540;
}

.rare-footage__screen video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* a camera-style REC badge in the corner */
.rare-footage__rec {
  position: absolute;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px 3px 7px;
  border-radius: 999px;
  background: rgba(28, 27, 25, 0.62);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.rare-footage__rec i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff3b30;
  animation: rare-rec 1.4s steps(1) infinite;
}

@keyframes rare-rec {
  0%, 60% { opacity: 1; }
  61%, 100% { opacity: 0.15; }
}

.rare-footage figcaption {
  margin: 9px 3px 0;
  font-size: 0.74rem;
  font-weight: var(--weight-ui, 400);
  line-height: 1.45;
  color: #3a3835;
}

@media (prefers-reduced-motion: reduce) {
  .rare-footage__rec i {
    animation: none;
  }
}

@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
  body.home .rare-footage {
    display: none;
  }
}
