.mn-polaroid-screen{position:relative;width:100%;height:90vh;min-height:450px;overflow:hidden;background:linear-gradient(#faf8f3,#f2ece1);color:#344b43;font-family:Georgia,serif;isolation:isolate}.mn-polaroid-screen:fullscreen{height:100vh}.mn-polaroid-header{position:absolute;z-index:2;top:1.4%;left:50%;transform:translateX(-50%);width:min(630px,80%);text-align:center;pointer-events:none;background:#faf6eced;padding:8px 15px;border-radius:10px;box-shadow:0 3px 12px #0001}.mn-polaroid-kicker{font-size:11px;letter-spacing:.2em}.mn-polaroid-header h2{font-size:clamp(23px,3vw,42px);margin:3px 0;color:#344b43}.mn-polaroid-header em{font-weight:normal}.mn-polaroid-scene{position:absolute;inset:0;overflow:hidden}.mn-polaroid-empty{position:absolute;inset:0;display:grid;place-items:center;text-align:center;padding:24px}.mn-polaroid{position:absolute;background:#fff;padding:10px 10px 35px;box-shadow:0 12px 28px #0003;box-sizing:content-box;opacity:0;animation:mn-drift var(--duration) ease-out forwards,mn-fadein .8s ease-out forwards;transform-origin:center}.mn-polaroid img{display:block;width:100%;height:auto;pointer-events:none}.mn-polaroid.out{animation:mn-out 1.5s ease forwards!important}.mn-fullscreen{position:absolute;right:15px;bottom:15px;z-index:5;border:0;border-radius:20px;padding:10px 14px;background:#fff9;color:#344b43;cursor:pointer}@keyframes mn-fadein{from{opacity:0}to{opacity:1}}@keyframes mn-drift{from{transform:translate(0,0) rotate(var(--rot)) scale(.9)}to{transform:translate(var(--dx),var(--dy)) rotate(var(--rot)) scale(1.02)}}@keyframes mn-out{from{opacity:1}to{opacity:0}}
/* Watercolor backdrop: whole original panorama remains visible. */
.mn-polaroid-screen{height:100vh;min-height:0;background-color:#f2ece1;background-image:linear-gradient(rgba(250,248,243,.23),rgba(250,248,243,.23)),url('tanukis.webp');background-size:100% 100%,contain;background-repeat:no-repeat;background-position:center center}
.mn-polaroid-screen::before{content:'';position:absolute;inset:0;background:url('tanukis.webp') center/cover no-repeat;opacity:.16;pointer-events:none}
.mn-polaroid-scene{z-index:1}.mn-polaroid-header{z-index:3}.mn-fullscreen{z-index:5}
@media (max-width:650px){.mn-polaroid-screen{height:100dvh}.mn-polaroid-header{width:84%}}

/* 0.1.5.5: preserve natural image proportions, avoid inherited image sizing rules. */
.mn-polaroid-screen .mn-polaroid-scene .mn-polaroid{height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;display:block!important;padding:10px 10px 36px!important;overflow:visible!important;}
.mn-polaroid-screen .mn-polaroid-scene .mn-polaroid>img{display:block!important;max-width:none!important;max-height:none!important;min-width:0!important;min-height:0!important;aspect-ratio:auto!important;object-fit:fill!important;margin:0!important;padding:0!important;border:0!important;vertical-align:top!important;}

/* 0.1.5.6: narrow, even frame; card height is set to the photo height in JS. */
.mn-polaroid-screen .mn-polaroid-scene .mn-polaroid{padding:5px!important;min-width:0!important;max-width:none!important;line-height:0!important;}
.mn-polaroid-screen .mn-polaroid-scene .mn-polaroid>img{display:block!important;position:static!important;float:none!important;}

/* Dédicace : couleur stable pour chaque photo, sans modifier le JPEG. */
.mn-polaroid-screen .mn-polaroid-scene .mn-polaroid{position:absolute!important;}
.mn-photo-dedication{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);z-index:2;max-width:calc(100% - 22px);box-sizing:border-box;border-radius:5px;padding:7px 11px;color:#fff;font:600 clamp(12px,1.25vw,19px)/1.3 Georgia,serif;letter-spacing:.01em;text-align:center;white-space:normal;overflow-wrap:anywhere;line-height:1.3!important;box-shadow:0 2px 7px #0004;text-shadow:0 1px 2px #0005;opacity:.96;}
