/* v65: only photographic thumbnails. Originals, MUSIC covers and video stages excluded. */
.davi-square-frame{position:relative;display:block;aspect-ratio:1;width:100%;overflow:hidden;background:#121212;isolation:isolate;line-height:0}
#page-content [data-photo] .davi-square-frame,.davi-compact-photo .davi-photo-open.davi-square-frame{width:100%;margin:0;aspect-ratio:1;max-height:none}
#page-content [data-photo] .davi-square-frame img,.davi-square-frame>img,.davi-square-frame.davi-photo-open>img{position:absolute;display:block;max-width:none;max-height:none;min-width:0;width:var(--photo-width,100%);height:var(--photo-height,100%);left:var(--photo-left,0);top:var(--photo-top,0);object-fit:cover;object-position:center;opacity:0;transition:opacity .16s ease;transform:none}
.davi-square-frame[data-photo-ready=true]>img,#page-content [data-photo] .davi-square-frame[data-photo-ready=true] img{opacity:1}
.davi-square-frame>.davi-watermark{position:absolute;left:7%;bottom:7%;top:auto;width:12%;z-index:3;pointer-events:none!important}
.davi-square-frame>.davi-watermark[hidden],.davi-square-frame:not([data-photo-ready=true])>.davi-watermark{display:none!important}
.davi-photo-placeholder{position:absolute;inset:0;background:linear-gradient(145deg,#181818,#0d0d0d);pointer-events:none;z-index:0}
.davi-square-frame[data-photo-ready=true]>.davi-photo-placeholder{display:none}
#page-content [data-photo]{min-width:0}.cinema-photo-piece{display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in}
#page-content .home-frames figure>button,#page-content [data-about-gallery] figure>button{display:block;width:100%;background:none;border:0;padding:0;cursor:zoom-in}
.photo-frame-editor{border:1px solid #444;padding:16px;margin-block:20px;min-width:0}.photo-frame-editor legend{font:11px/1.5 monospace;letter-spacing:.06em;padding:0 6px}.photo-frame-preview{width:min(100%,360px);touch-action:none;cursor:grab;margin-inline:auto}.photo-frame-preview:active{cursor:grabbing}.photo-frame-preview>img{opacity:1!important;pointer-events:none;user-select:none;-webkit-user-select:none}.photo-frame-guides{position:absolute;inset:0;pointer-events:none;border:1px solid #ffffff45;background:linear-gradient(to right,transparent 33%,#ffffff22 33%,#ffffff22 33.3%,transparent 33.3%,transparent 66.6%,#ffffff22 66.6%,#ffffff22 66.9%,transparent 66.9%)}.photo-frame-editor label{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;font-size:12px}.photo-frame-editor input[type=range]{width:100%;accent-color:#ed1826}.photo-frame-editor p,.photo-frame-editor small{font-size:12px;color:#bbb;line-height:1.5}.photo-frame-editor small{display:block;margin-top:10px}.photo-frame-editor button{min-height:44px}
@media(prefers-reduced-motion:reduce){.davi-square-frame img{transition:none!important}}
/* Keep caption rules off the new image frame, including before JavaScript starts. */
#page-content [data-photo]>.davi-square-frame{padding:0;margin:0;border:0;line-height:0;font-size:0;box-sizing:border-box}
.davi-managed-photo.davi-compact-photo .davi-photo-open.davi-square-frame>img{position:absolute;width:var(--photo-width,100%);height:var(--photo-height,100%);max-height:none;object-fit:cover;aspect-ratio:auto}
/* Pixels and watermark become visible in the same readiness update. */
.davi-square-frame>img,#page-content [data-photo] .davi-square-frame img{transition:none}
.davi-photo-series[data-multiple=false]{max-width:min(100%,520px)}
