/* Decorative overlays preserve the original photographs. */
.where-ellie-photo{display:block;position:relative;overflow:hidden;line-height:0;width:100%;max-width:100%;border-radius:inherit}
.where-ellie-photo>img:not(.where-ellie-cameo){display:block;width:100%;max-width:100%}
.where-ellie-photo>img.where-ellie-cameo{position:absolute!important;display:block!important;width:clamp(14px,5%,48px)!important;height:auto!important;aspect-ratio:auto!important;max-height:25%!important;object-fit:contain!important;right:5%;bottom:28%;border:0!important;box-shadow:none!important;border-radius:0!important;pointer-events:none!important;z-index:3;transform:rotate(-7deg)}
.where-ellie-photo[data-ellie-position="1"]>img.where-ellie-cameo{right:auto;left:7%;bottom:35%;transform:rotate(8deg) scaleX(-1)}
.where-ellie-photo[data-ellie-position="2"]>img.where-ellie-cameo{right:17%;bottom:23%;transform:rotate(-5deg)}
.where-ellie-photo[data-ellie-position="3"]>img.where-ellie-cameo{right:auto;left:24%;bottom:38%;transform:rotate(5deg)}
.where-ellie-photo[data-ellie-position="4"]>img.where-ellie-cameo{right:3%;bottom:30%;transform:rotate(-12deg)}
.ellie-scene:has(.where-ellie-photo)::after,.album-wrap .album-grid figure>a:has(.where-ellie-photo)::after,.album-wrap .monoblock-feature .pair figure>a:has(.where-ellie-photo)::after{display:none!important}
.where-ellie-clue{font:normal 15px/1.5 Georgia,serif;color:inherit;margin:12px 0 20px;opacity:.85}

/* Keep companions inside the photograph and scale them with the enlarged view. */
.where-ellie-photo>img.where-ellie-cameo,.where-ellie-photo>img.photo-surprise-cameo{min-width:0!important;max-width:15%!important;margin:0!important;padding:0!important;aspect-ratio:auto!important;object-fit:contain!important}
.where-ellie-photo>img.photo-surprise-cameo{position:absolute!important;display:block!important;width:3.8%!important;height:auto!important;max-height:18%!important;left:55%;top:70%;border:0!important;box-shadow:none!important;border-radius:0!important;pointer-events:none!important;z-index:3;transform:rotate(-4deg);filter:brightness(.58) saturate(.65);opacity:.88}
.photo-viewer-stage>.where-ellie-photo{width:100%;max-width:100%;margin:auto}
.photo-viewer-stage>.where-ellie-photo>img:not(.where-ellie-cameo):not(.photo-surprise-cameo){width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}

/* Gallery mischief: small, varied cameos, with the real work still visible. */
.where-ellie-photo[data-ellie-position="0"]>img.where-ellie-cameo{right:8%;bottom:25%;transform:rotate(-17deg)}
.where-ellie-photo[data-ellie-position="1"]>img.where-ellie-cameo{left:5%;right:auto;bottom:34%;width:clamp(16px,6%,56px)!important;clip-path:inset(0 0 45% 0);transform:rotate(18deg)}
.where-ellie-photo[data-ellie-position="2"]>img.where-ellie-cameo{right:12%;top:24%;bottom:auto;transform:rotate(170deg)}
.where-ellie-photo[data-ellie-position="3"]>img.where-ellie-cameo{left:31%;right:auto;bottom:25%;transform:rotate(10deg) scaleX(-1)}
.where-ellie-photo[data-ellie-position="4"]>img.where-ellie-cameo{right:5%;bottom:32%;width:clamp(16px,6%,56px)!important;clip-path:inset(0 0 46% 0);transform:rotate(-22deg)}

/* A single smiling head cameo, cropped from the established Ellie artwork. */
.where-ellie-photo>img.where-ellie-cameo{width:clamp(38px,10%,95px)!important;max-height:none!important;clip-path:ellipse(29% 17.5% at 54% 18%)!important;transform-origin:54% 18%}

/* Keep the face inside the central photographic panel, never the card border. */
.where-ellie-photo>img.where-ellie-cameo{left:65%!important;right:auto!important;top:44%!important;bottom:auto!important;width:12%!important;min-width:0!important;max-width:none!important;max-height:none!important;transform-origin:54% 18%;transform:rotate(-10deg)!important}
.where-ellie-photo[data-ellie-position="1"]>img.where-ellie-cameo{left:17%!important;top:47%!important;transform:rotate(12deg)!important}
.where-ellie-photo[data-ellie-position="2"]>img.where-ellie-cameo{left:68%!important;top:53%!important;transform:rotate(-14deg)!important}
.where-ellie-photo[data-ellie-position="3"]>img.where-ellie-cameo{left:25%!important;top:55%!important;transform:rotate(10deg)!important}
.where-ellie-photo[data-ellie-position="4"]>img.where-ellie-cameo{left:61%!important;top:39%!important;transform:rotate(-18deg)!important}
/* A common photo canvas and width across the actual gallery albums. */
.album-wrap .album-grid,.album-wrap .inspiration-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:28px!important;max-width:680px!important;margin:24px auto!important}
.album-wrap .album-grid>figure,.album-wrap .inspiration-grid>figure,.album-wrap .combined-card{width:100%!important;max-width:680px!important;margin:0 auto!important;background:#071e33!important;border:1px solid #dab879!important;border-radius:8px!important;overflow:hidden}
.album-wrap .album-grid>figure>a,.album-wrap .inspiration-grid>figure>a.photo-open,.album-wrap .combined-card>a{display:flex!important;align-items:center;justify-content:center;aspect-ratio:4/5!important;width:100%!important;background:#071e33;overflow:hidden}
.album-wrap .album-grid>figure>a>.where-ellie-photo,.album-wrap .inspiration-grid>figure>a>.where-ellie-photo,.album-wrap .combined-card>a>.where-ellie-photo{flex:0 0 100%;width:100%}
.album-wrap .album-grid figcaption,.album-wrap .combined-card figcaption{padding:18px!important;color:#f4f1e9!important;font:16px/1.5 system-ui,sans-serif!important}

/* True transparent head-and-vest asset: no full-body crop or border placement. */
.where-ellie-photo>img.where-ellie-cameo{width:5%!important;min-width:14px!important;max-width:38px!important;height:auto!important;max-height:none!important;clip-path:none!important;transform-origin:50% 50%!important;filter:none!important;opacity:1!important}

/* Readable at phone size and proportional when enlarged. */
.where-ellie-photo>img.where-ellie-cameo{width:6.5%!important;min-width:24px!important;max-width:none!important}

/* Gallery cameo shows the face only, without the striped shoulders. */
.where-ellie-photo>img.where-ellie-cameo{clip-path:inset(0 0 16% 0)!important}

/* Discreet photographic cameos and a lighter, natural-height gallery. */
.where-ellie-photo>img.where-ellie-cameo{width:3%!important;min-width:8px!important;max-width:24px!important;clip-path:inset(0 0 16% 0)!important;opacity:.88!important}
.where-ellie-photo>img.photo-surprise-cameo{width:2.6%!important;min-width:7px!important;max-width:22px!important;left:79%!important;top:68%!important;opacity:.82!important;filter:brightness(.78) saturate(.75)!important}
.album-wrap .album-grid,.album-wrap .inspiration-grid{max-width:1100px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start;gap:24px!important}
.album-wrap .album-grid>figure,.album-wrap .inspiration-grid>figure,.album-wrap .combined-card{background:#fffdf7!important;border:1px solid #d8cdb8!important;box-shadow:0 8px 24px #1027380c}
.album-wrap .album-grid>figure>a,.album-wrap .inspiration-grid>figure>a.photo-open,.album-wrap .combined-card>a{aspect-ratio:auto!important;background:#fffdf7!important;display:block!important}
.album-wrap .album-grid figcaption,.album-wrap .combined-card figcaption{color:#243747!important;padding:16px 18px!important}
.album-wrap .album-grid img:not(.where-ellie-cameo):not(.photo-surprise-cameo),.album-wrap .inspiration-grid img:not(.where-ellie-cameo):not(.photo-surprise-cameo){height:auto!important;max-height:none!important;object-fit:contain!important}
@media(max-width:700px){.album-wrap .album-grid,.album-wrap .inspiration-grid{grid-template-columns:minmax(0,1fr)!important;gap:20px!important}}
