/* Local demo photos. This file changes media rendering only, never dimensions. */
.media-slot.has-demo-photo {
  position: relative;
  isolation: isolate;
}
.media-slot.has-demo-photo > .timeline-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.interlude-media > img {
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
/* Keep the birthday number readable over its replaceable photo. */
.celebration-media.has-demo-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .48);
  pointer-events: none;
  z-index: 1;
}
.celebration-media.has-demo-photo > span {
  position: relative;
  z-index: 2;
}
