/* Match Üzüm's settled phone scale (1485/1206) and visible top edge.
   Keep each original bottom cut; the card grows instead of clipping UI.
   Cover inside a full-width video so native controls stay within the card. */
.project-frame.uzum-scale-video {
  aspect-ratio: 2700 / var(--phone-frame-height);
  border: 0;
}
.uzum-scale-video.hug-video, .uzum-scale-video.slap-video {
  --phone-frame-height: 2251.336207;
  --phone-video-top: -1.089392%;
}
.uzum-scale-video.nearby-video {
  --phone-frame-height: 1989.435360;
  --phone-video-top: -1.228725%;
}
.uzum-scale-video.berd-video {
  --phone-frame-height: 2406.082090;
  --phone-video-top: -2.141832%;
}
.project-frame.uzum-scale-video > video {
  position: absolute;
  top: var(--phone-video-top);
  left: 0;
  width: 100%;
  height: calc(100% - var(--phone-video-top));
  object-fit: cover;
  object-position: center bottom;
}

.uzum-scale-video.reactions-video {
  --phone-frame-height: 2761.535622;
  --phone-video-top: -2.067457%;
}
.project-frame.uzum-chat-video {
  aspect-ratio: 5 / 4;
  border: 0;
  background: #000;
}
@media (hover: none) and (pointer: coarse) {
  .project-frame.uzum-chat-video > video {
    position: absolute;
    inset: -1px;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    object-fit: cover;
  }
}
