.photo-hover-preview {
    position: fixed;
    z-index: 1000;
    box-sizing: border-box;
    width: min(var(--photo-preview-size, 320px), calc(100vw - 16px));
    height: min(var(--photo-preview-size, 320px), calc(100vh - 16px));
    padding: 8px;
    border: 1px solid #d7dfd7;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 30px #18251e33;
    pointer-events: none;
    object-fit: contain;
}

img[data-photo-preview] {
    cursor: zoom-in;
}
