/* Version 51: quieter image controls, compact mobile movement and the dragon crop. */
.image-interactions .hotspot-target,
.image-interactions .hotspot-outline {
  stroke-opacity: .06;
  stroke-width: 1.25;
  stroke-dasharray: none;
}
.image-interactions text { opacity: 0; }
.image-interactions.highlighted .hotspot-target,
.image-interactions:focus-within .hotspot-target {
  stroke-opacity: .66;
  stroke-width: 2;
}
.image-interactions.highlighted .hotspot-outline,
.image-interactions:focus-within .hotspot-outline { stroke-opacity: .22; }
.image-interactions.highlighted text,
.image-interactions:focus-within text { opacity: .82; }

.caught-polaroid-frame {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #d8d1bf;
}
.caught-polaroid-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.caught-polaroid[data-crop="dragon"] .caught-polaroid-frame img {
  object-position: 7% 70%;
  transform: scale(1.72);
  transform-origin: 8% 67%;
}

.play-story[data-quiet="true"] .scene-tools {
  position: sticky;
  bottom: 0;
  z-index: 12;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: .35rem;
  padding: .45rem;
  background: color-mix(in srgb,#111 88%,transparent);
  backdrop-filter: blur(8px);
}
.play-story[data-quiet="true"] .scene-tools button { min-height: 44px; }
.feedback-loop { border-left: 3px solid currentColor; padding-left: .85rem; }
.feedback-loop label { display: grid; gap: .25rem; margin: .55rem 0; }

@media (max-width: 560px) {
  .play-story[data-quiet="true"] .scene-tools { grid-template-columns: 1fr 1fr; }
  .play-story[data-quiet="true"] .scene-tools > :first-child { grid-column: 1 / -1; }
  .stage-actions button.action-object { min-width: 44px; min-height: 44px; }
}
