/* Preserve the actual photograph. Crops belong only to deliberate puzzle mechanics. */
.editorial-studio img[data-photo-frame=whole]{object-fit:contain!important;object-position:50% 50%!important;border-radius:2px;transform:none!important}
/* The cover uses this portrait's native 1200:1708 proportions, not a landscape crop. */
.editorial-studio .puppy-home-cover .studio-hero-photo{width:100%;max-width:310px;justify-self:center;margin-inline:auto}.editorial-studio .puppy-home-cover .studio-hero-photo>img{display:block;width:100%;height:auto!important;aspect-ratio:auto;max-height:none}.editorial-studio .puppy-home-cover .studio-hero-photo figcaption{flex-wrap:wrap;gap:5px 12px}
/* Narrative photographs follow their own aspect ratio. No face/ear trimming. */
.editorial-studio .puppy-contact-grid img{height:auto;aspect-ratio:auto;width:100%}.editorial-studio .puppy-contact-grid{align-items:start}.editorial-studio .puppy-story-grid img{height:auto;aspect-ratio:auto;width:100%;max-height:none}.editorial-studio .puppy-story-grid{align-items:start}.editorial-studio .puppy-journal-lead>img{height:auto;max-height:410px}.editorial-studio .puppy-journal-pair img{height:250px;background:var(--paper)}.editorial-studio .puppy-blog-feature img{height:380px;background:var(--paper)}
/* Do not clip a fitted photograph again with an arch or circle. */
.editorial-studio .hairold-companion,.editorial-studio .reflex-portrait,.editorial-studio .fi-page-spot,.editorial-studio .pet-care-heading img,.editorial-studio .care-history-heading img{border-radius:3px!important}.editorial-studio .hairold-companion img{border-radius:2px!important}.editorial-studio .fi-page-spot{background:var(--paper);box-shadow:none;transform:none}.editorial-studio .fresh-intro figure{overflow:visible;background:var(--paper)}.editorial-studio .fresh-intro img{object-fit:contain!important}
/* Fixed-size thumbnails retain their full image within the existing compact controls. */
.editorial-studio :is(.fi-home-tool-photo,.fi-card-photo,.fi-need-photo,.fi-reading-photo,.fi-home-play-photo){background:var(--paper)}.editorial-studio .fi-game-art>.fi-game-photo{object-fit:contain!important}.editorial-studio .fi-memory-pair img,.editorial-studio .fi-paw-board img,.editorial-studio .fi-dvd-photo>img{object-fit:contain!important}
/* Runtime-created memory cards / moving game characters also keep the whole photo. */
.editorial-studio :is(.memory-card,.memory-grid,.boop,.catch-target,.reflex-portrait) img,.editorial-studio .arena img.actor{object-fit:contain!important;object-position:center!important;border-radius:2px}.editorial-studio .photo-selection img{object-fit:contain!important}.editorial-studio .photo-boop-reflex{background-size:contain;background-repeat:no-repeat;background-position:center}.editorial-studio .identity-clue{background-size:cover,contain;background-repeat:no-repeat;background-position:center,center}.editorial-studio [data-arcade-photo=treat-tower] .v11-arena.tower{background-size:cover,contain;background-position:center,center;background-repeat:no-repeat}
/* Full-screen viewer is always the entire original composition, with no zoom crop. */
.editorial-studio .gallery-dialog img{object-fit:contain!important;object-position:center!important;width:auto;max-width:100%;height:auto;max-height:75vh}.editorial-studio .gallery-dialog{max-width:min(94vw,1000px);max-height:94dvh;overflow:auto}
@media(max-width:700px){.editorial-studio .puppy-home-cover .studio-hero-photo{max-width:260px}.editorial-studio .puppy-home-cover .studio-hero-photo>img{height:auto!important}.editorial-studio .puppy-journal-lead>img{width:100%;height:auto;max-height:400px}.editorial-studio .puppy-journal-pair img{height:220px}.editorial-studio .puppy-story-grid img{height:auto;max-height:460px}.editorial-studio .puppy-blog-feature img{height:320px}.editorial-studio .gallery-dialog{padding:12px;max-width:96vw}.editorial-studio .gallery-dialog .game-toolbar{gap:8px;flex-wrap:wrap}.editorial-studio .gallery-dialog img{max-height:68dvh}.editorial-studio .hairold-companion{border-radius:3px!important}.editorial-studio .fi-page-spot{border-radius:2px!important}}

/* Legacy aspect-ratio plus min-height must not establish a 440px minimum width. */
@media screen{
.editorial-studio .media.photo{min-width:0!important;min-height:0!important;width:100%!important;max-width:100%!important;aspect-ratio:auto!important;box-sizing:border-box;align-self:start}
.editorial-studio .media.photo img{position:static!important;inset:auto!important;width:100%!important;max-width:100%!important;height:auto!important;min-width:0!important;object-fit:contain!important;display:block;box-sizing:border-box}
.editorial-studio .split>*,.editorial-studio .grid>*{min-width:0}
}
