/* ── Focused view overlay ── */
#focused-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  cursor: pointer;
}
#focused-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

#focused-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* ── Full-size image ── */
#focused-img {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 16px 80px rgba(0,0,0,0.4);
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}
#focused-overlay.open #focused-img {
  transform: scale(1);
}
