/* A small, reversible colour grade. No face retouching or replacement pixels. */
:is(.cover-main,.cover-mini,.book-photo,.date-portrait,.final-photo,.memory-image,.am-photo-mat,.am-window-photo,.unpack-photo,.g-postcard-photo,.g-hug-photo,.sky-portrait,.ples-film-photo,.film-photo-well,.film-last-photo) img{filter:brightness(1.025) contrast(.985) saturate(.94) sepia(.025)}
.am-window-photo{filter:brightness(1.025) contrast(.985) saturate(.94) sepia(.025)}
:is(.book-photo,.memory-image,.am-photo-mat,.pa-photo-mat,.film-photo-well) img[src$="IMG_9018.jpeg"],.pa-bw .pa-photo{filter:brightness(1.02) contrast(.985)}
:is(.book-photo,.am-photo-mat,.pa-photo-mat) img[src$="IMG_9004.jpeg"],:is(.book-photo,.am-photo-mat,.pa-photo-mat) img[src$="IMG_9005.jpeg"],.pa-view-stage>img[src$="IMG_9004.jpeg"],.pa-view-stage>img[src$="IMG_9005.jpeg"]{filter:brightness(1.07) contrast(.98) saturate(.95)}
.pa-dialog[data-pa-original=true] .pa-photo{filter:none}
.book-photo{position:relative;max-width:430px;margin:25px auto 15px;padding:9px 9px 23px;background:#fffaf6;border:1px solid #f2e4df;border-radius:5px;box-shadow:0 14px 35px #81566b13;rotate:-1deg;overflow:hidden}
.book-photo img{display:block;width:100%;height:330px;max-height:330px;object-fit:contain;object-position:center;background:radial-gradient(ellipse,#f6e7e7,#efe4e2);border-radius:2px}
.book-photo::after{content:'маленькое наше ♡';position:absolute;bottom:5px;right:14px;font:italic 12px Georgia,serif;color:#b68b9e;letter-spacing:.02em}
.cover-main>img{object-position:50% 57%}.cover-mini>img{object-position:50% 50%}
.date-portrait>img{object-position:50% 56%}.sky-portrait>img{object-fit:contain;background:#211c27}
.memory-image img{object-fit:contain;background:radial-gradient(ellipse,#f2e2e6,#e9dbe0)}
.memory-print figcaption{font-size:23px}.memory-print figcaption>span{float:none;margin-left:8px}
.pa-invite{isolation:isolate;position:relative}
.pa-invite::after{content:'';position:absolute;pointer-events:none;inset:0;border-radius:inherit;box-shadow:inset 0 0 60px #fff7e845;z-index:-1}
body:has(.pa-dialog[open]){overflow:hidden}
@media(max-width:700px){.book-photo{padding:7px 7px 23px;max-width:320px;margin-top:23px}.book-photo img{height:290px;max-height:290px}.memory-print figcaption{font-size:19px}}
@media(max-width:360px){.book-photo img{height:260px;max-height:260px}.memory-print figcaption{font-size:17px}}
