@font-face{
 font-family:"Tinta de diciembre";
 src:url("/assets/tinta-diciembre.woff") format("woff");
 font-display:swap;
}
.memory-polaroid{
 width:min(100%,332px);margin:18px auto 19px;padding:0;display:flow-root;container-type:inline-size;
 color:#293e33;background:linear-gradient(155deg,#fffdf6,#f5eddb);
 border:1px solid #d9cab0;border-radius:2px;
 box-shadow:0 9px 17px #53452a22,0 2px 4px #53452a17;
 transform:rotate(-1.35deg);
}
.memory-window,.crop-window{
 position:relative;overflow:hidden;aspect-ratio:79/77;
 background:#e9dfcd;
}
.memory-window{width:89.77%;margin:5.11% auto 0}
.memory-window > img,.postcard .memory-window > img,.crop-window > img{
 display:block;position:absolute;inset:0;width:100%;height:100%;max-height:none;margin:0;
 object-fit:cover;object-position:var(--crop-x,50%) var(--crop-y,50%);
 transform-origin:var(--crop-x,50%) var(--crop-y,50%);
 transform:scale(var(--crop-zoom,1));
}
.memory-placeholder{height:100%;margin:0}
.crop-window{width:min(100%,270px);margin:3px auto 8px;cursor:grab;touch-action:none;border:1px solid #c6b38f}
.crop-window.is-dragging{cursor:grabbing}
.crop-controls input[type=range]{accent-color:var(--ink);padding:0;min-height:26px}
.crop-controls output{color:var(--muted);font-weight:400}
.crop-controls #crop-reset{justify-self:start;white-space:normal}
.crop-axes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.memory-polaroid > figcaption{
 box-sizing:border-box;width:89.77%;margin:0 auto;min-height:3.25rem;min-height:28.98cqw;padding:10px 3px 13px;align-content:center;
 color:#334c3f;font-family:"Tinta de diciembre","Bradley Hand","Segoe Print","Comic Sans MS",cursive;
 font-size:clamp(1.32rem,5.6vw,1.74rem);line-height:1.1;letter-spacing:.005em;
 white-space:pre-wrap;overflow-wrap:anywhere;text-align:left;
}
.memory-placeholder{
 display:grid;place-items:center;min-height:126px;border:1px dashed #c6b38f;
 background:#eee4cd;color:var(--muted);font-size:.8rem;text-align:center;
}
.candle-illustration{width:min(70%,230px);margin:5px auto 13px}
.candle-illustration img,.postcard .candle-illustration img{
 display:block;width:100%;height:auto;max-height:none;margin:0;object-fit:contain;
}
.postcard .memory-polaroid{margin-top:13px}
.physical-illustration{width:min(63%,210px);margin:3px auto 16px}
.physical-illustration > img,.postcard .physical-illustration > img{
 display:block;width:100%;height:auto;max-height:155px;object-fit:contain;margin:0;
}
.memory-photo-status{
 position:absolute;inset:0;display:grid;place-content:center;padding:16px;
 margin:0;background:#e9dfcd;color:var(--muted);font-size:.82rem;text-align:center;
}
