/* Keep layout width stable (no scrollbar flicker), and pin the body */
.scroll-lock {
  position: fixed;
  width: 100%;
  overflow-y: scroll; /* reserves scrollbar space */
}


/* Put this in your CSS */
#sentinel { height: 1px; }
.loader {
  height: 64px;                /* reserve space */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
}
.loader img { visibility: hidden; }   /* hidden but space kept */
.loader--active img { visibility: visible; }

.doodle-card { transition: filter .2s ease, opacity .2s ease; }
.doodle-card.is-private img {
  filter: grayscale(1) saturate(0.4) brightness(0.7) blur(2px);
opacity: 0.5;

}

.end { height:64px; display:flex; align-items:center; justify-content:center; }



/* Small corner badge for owners when private */
.doodle-media { position: relative; }
.doodle-card.is-private .private-badge {
  position: absolute; top: 8px; right: 8px;
  padding: 2px 8px; border-radius: 9999px;
  background: rgba(0,0,0,.6); color: #fff; font-size: 12px;
  pointer-events: none; user-select: none;
}
.doodle-card:not(.is-private) .private-badge { display: none; }
