.letter-photo-album{display:flex;justify-content:center;align-items:center;gap:4%;width:100%;padding:7% 6%;isolation:isolate;position:relative;background:#eee4d2 url(/materials/cotton-rag-v1.webp) 50%/420px;border-radius:2px;overflow:hidden}.letter-photo-frame{position:relative;margin:0;width:29%;flex:0 1 auto}.letter-photo-image{display:grid;place-items:center;width:100%;height:100%;overflow:hidden;color:#65594a;background:linear-gradient(135deg,#e6dece,#f3ede2)}.letter-photo-image img{display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;opacity:0}.letter-photo-image[data-status=ready] img{opacity:1}@media (prefers-reduced-motion:no-preference){.letter-photo-image img{transition:opacity .2s ease-out}}.letter-photo-retry{display:grid;place-items:center;min-width:44px;min-height:44px;border-radius:50%;background-color:#fffcf6}.letter-photo-album[data-count="1"] .letter-photo-frame{width:52%}.letter-photo-album[data-count="2"] .letter-photo-frame{width:39%}.letter-photo-album[data-layout=locket]{padding:10% 5% 8%;background:radial-gradient(ellipse at 35% 15%,#537161,#1d3d34 75%)}.letter-photo-album[data-layout=locket]:before{content:"";position:absolute;width:120%;height:60%;border-bottom:2px solid #d7b776;border-radius:50%;top:-17%}.letter-photo-album[data-layout=locket] .letter-photo-frame{aspect-ratio:1;border:clamp(3px,.5vw,7px) ridge #d0ae68;border-radius:50%;box-shadow:0 0 0 1px #5e4525,0 8px 14px #091c1570}.letter-photo-album[data-layout=locket] .letter-photo-frame:before{content:"";position:absolute;width:12%;height:13%;border:2px solid #d4b274;border-radius:50%;left:44%;bottom:100%}.letter-photo-album[data-layout=locket] .letter-photo-image{border-radius:50%}.letter-photo-album[data-layout=locket][data-count="3"] figure:nth-child(2){transform:translateY(12%)}.letter-photo-album[data-layout=prints] figure{aspect-ratio:.87;padding:1.3% 1.3% 5%;background:#fffaf0;box-shadow:0 3px 9px #45351c48;transform:rotate(-6deg)}.letter-photo-album[data-layout=prints] figure:nth-child(2){transform:rotate(5deg) translateY(-4%)}.letter-photo-album[data-layout=prints] figure:nth-child(3){transform:rotate(-2deg)}.letter-photo-album[data-layout=film]{gap:2%;background:#262726;padding:8% 4%}.letter-photo-album[data-layout=film]:after,.letter-photo-album[data-layout=film]:before{content:"";position:absolute;left:2%;right:2%;height:4%;background:repeating-linear-gradient(90deg,#e2d8bf 0 2%,transparent 2% 5%)}.letter-photo-album[data-layout=film]:before{top:4%}.letter-photo-album[data-layout=film]:after{bottom:4%}.letter-photo-album[data-layout=film] figure{aspect-ratio:.94;width:32%}.letter-photo-album[data-layout=gallery]{background-color:#d5c6b5;background-blend-mode:multiply;gap:3%}.letter-photo-album[data-layout=gallery] figure{aspect-ratio:.82;border:4px ridge #ab8651;padding:2%;background:#fff7e8;box-shadow:2px 4px 5px #53422d45}.template-showcase{position:relative;isolation:isolate;overflow:hidden;aspect-ratio:4/5;border-radius:var(--radius-panel);color-scheme:light;pointer-events:none}.template-showcase-texture{position:absolute;inset:0;background:url(/materials/cotton-rag-v1.webp) 50%/420px;opacity:.18;mix-blend-mode:multiply}.template-showcase-stationery.gallery-preview{position:absolute;inset:0;height:100%;min-height:0;background:transparent;border-radius:0;overflow:visible}.template-showcase-stationery .gallery-preview-shade{display:none}.template-showcase-stationery .gallery-preview-paper-window{top:11%;left:13%;width:74%;transform:rotate(-3deg);filter:drop-shadow(0 12px 9px #30241725)}.template-showcase-stationery .gallery-preview-paper{width:360px;transform:scale(calc(100cqw / 360px))}.template-showcase-stationery .letter-card-grain{height:480px;min-height:480px}.template-showcase-photos{position:absolute;z-index:2;left:7%;right:7%;bottom:8%;filter:drop-shadow(0 6px 6px #30241730)}.template-showcase-photos .letter-photo-album{min-height:0;padding:7% 6%}.template-showcase-envelope.tactile-letter{position:absolute;z-index:3;width:26%;right:5%;top:4%;transform:rotate(8deg)}.template-showcase-envelope .tactile-address-name{font-size:12px}.template-showcase-badge{position:absolute;z-index:4;top:12px;left:12px;padding:5px 10px;border-radius:99px;font-size:10px;line-height:1.4;color:#394638;background:#fffcf0ed}.template-showcase-price{position:absolute;z-index:4;bottom:14px;right:14px;padding:5px 11px;border-radius:99px;background:#fff8e9;color:#493c29;font-size:12px;box-shadow:0 2px 8px #0002}.template-showcase[data-layout=locket] .gallery-preview-paper-window{top:8%;left:14%;width:72%;transform:none}.template-showcase[data-layout=locket] .template-showcase-photos{top:auto;bottom:8%;left:1%;right:auto;width:48%}.template-showcase[data-layout=locket] .letter-photo-album{background:none;padding:0 14% 6%}.template-showcase[data-layout=locket] .letter-photo-album:before{border-color:#bc994d;top:-24%}.template-showcase[data-layout=locket] .letter-photo-frame{width:52%}.template-showcase[data-layout=prints] .gallery-preview-paper-window{top:8%;left:22%;width:72%;transform:none}.template-showcase[data-layout=prints] .template-showcase-photos{top:32%;bottom:auto;left:3%;right:auto;width:33%;transform:rotate(-7deg)}.template-showcase[data-layout=prints] .letter-photo-album{flex-direction:column;gap:14px;padding:0;background:none;overflow:visible}.template-showcase[data-layout=prints] .letter-photo-frame{width:90%;flex-shrink:0;padding:4% 4% 16%}.template-showcase[data-layout=film] .gallery-preview-paper-window{top:8%;left:14%;width:72%;transform:none}.template-showcase[data-layout=film] .template-showcase-photos{left:0;right:0;bottom:7%;transform:rotate(-5deg) scale(1.04)}.template-showcase[data-layout=film] .letter-photo-album{padding:8% 4%}.template-showcase[data-layout=gallery] .gallery-preview-paper-window{top:8%;left:14%;width:72%;transform:none}.template-showcase[data-layout=gallery] .template-showcase-photos{left:5%;right:5%;bottom:6%}.template-showcase[data-layout=gallery] .letter-photo-album{background:#d9cdbad9;padding:5% 4%}.template-showcase[data-festive] .gallery-preview-paper-window{top:8%;left:14%;width:72%;transform:none}.template-showcase[data-festive] .letter-card-grain{height:480px;min-height:480px}.template-showcase[data-festive] .template-showcase-envelope{top:auto;bottom:7%;right:auto;left:3%;width:30%;transform:rotate(-12deg)}.template-showcase-pepero{background:#f8eee2}@media (prefers-reduced-motion:reduce){.template-showcase *{transition:none!important}}.template-choice-card{display:grid;min-width:0;grid-template-rows:auto 3rem 3rem 3rem;gap:.5rem}.template-choice-cover{display:block;width:100%;min-width:0;padding:0}.template-choice-cover .template-showcase{width:100%;aspect-ratio:4/5}.template-choice-description,.template-choice-title{margin:0;min-width:0;height:3rem;overflow:hidden;overflow-wrap:anywhere}.template-choice-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.5rem;height:3rem;align-items:stretch}.template-choice-actions>a,.template-choice-actions>button{min-width:0;min-height:44px;height:3rem;text-align:left;line-height:1rem}.template-choice-actions>:last-child{justify-content:flex-end;text-align:right}.template-choice-actions svg{flex-shrink:0}.template-theme-card{display:grid;grid-template-rows:auto 3rem;gap:.5rem}.template-choice-main{display:grid;min-width:0;grid-template-rows:auto 3rem 3rem;gap:.5rem}.template-theme-actions{height:3rem;display:flex;align-items:center}.template-showcase-stationery .gallery-preview-paper>div{margin-top:0}.template-choice-description>span,.template-choice-title>span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.5rem}@media (max-width:639px){.template-choice-card{grid-template-rows:auto}.template-choice-card :is(.template-choice-title,.template-choice-description){height:auto;overflow:visible}.template-choice-card :is(.template-choice-title,.template-choice-description)>span{display:block}.template-choice-card .template-choice-actions{height:auto;margin-top:.25rem;font-size:.875rem}.template-choice-card .template-choice-actions>:is(a,button){justify-content:center;height:auto;min-height:44px;padding:.5rem .75rem;text-align:center;border:1px solid hsl(var(--border));border-radius:9999px}.template-choice-card .template-choice-actions>:last-child{border-color:hsl(var(--primary));background:hsl(var(--primary));color:hsl(var(--primary-foreground))}}.holiday-card-front{position:relative;width:100%;aspect-ratio:4/5;container-type:inline-size;overflow:hidden;isolation:isolate;color-scheme:light}.holiday-card-art{position:absolute;inset:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.holiday-card-heading{position:absolute;top:4%;left:7%;right:7%;text-align:center}.holiday-card-greeting{margin:0;font-family:var(--font-playfair),var(--font-thai-serif),var(--font-cjk-serif),serif;font-size:clamp(17px,9cqw,46px);font-weight:500;line-height:1.08;white-space:pre-line;text-wrap:balance}.holiday-card-line{margin:3% 0 0;font-size:clamp(7px,2.8cqw,13px);line-height:1.4;text-wrap:balance}.holiday-card-front[data-holiday=hanukkah] .holiday-card-greeting{font-family:var(--font-playfair),var(--font-thai-serif),var(--font-cjk-serif),serif;letter-spacing:.015em}.holiday-card-front[data-holiday=christmas] .holiday-card-greeting{font-style:italic}.holiday-card-address{position:absolute;left:6%;bottom:4%;max-width:85%;padding:5px 10px;border-radius:99px;background:#fffbefed;color:#334639;font-size:clamp(10px,3.5cqw,14px);overflow-wrap:anywhere}.holiday-card-opening{width:min(100%,380px);display:flex;flex-direction:column;align-items:center;perspective:1200px}.holiday-card-open-button{display:block;width:100%;padding:0;text-align:inherit;border-radius:5px;transform-origin:left center;box-shadow:0 15px 40px #24312830,0 2px 4px #24312820}.holiday-card-open-button:focus-visible{outline:3px solid hsl(var(--primary));outline-offset:5px}.holiday-card-open-button .holiday-card-front{border-radius:5px}.holiday-card-opening[data-opening=opening] .holiday-card-open-button{animation:holiday-card-fold .7s ease-in forwards}@keyframes holiday-card-fold{0%{transform:rotateY(0);opacity:1}75%{opacity:1}to{transform:rotateY(-100deg);opacity:0}}@media (prefers-reduced-motion:reduce){.holiday-card-opening[data-opening=opening] .holiday-card-open-button{animation:none}}.letter4u-template-card{display:flex;min-width:0;flex-direction:column}.letter4u-template-card>div:last-child{margin-top:auto;padding-top:.75rem}[data-letter4u-paper=moon-post],[data-letter4u-scene=moon-post]{--scene-base:#192447;--scene-envelope:#283966;--scene-flap:#405480;--scene-seal:#eac983;--scene-mark:#363257;--scene-paper:#f1f0fa;--scene-ink:#273459;--scene-rule:#8575a9}[data-letter4u-paper=birthday-parade],[data-letter4u-scene=birthday-parade]{--scene-base:#c66143;--scene-envelope:#d95e41;--scene-flap:#f7885f;--scene-seal:#fbe1a0;--scene-mark:#7f341f;--scene-paper:#fff5e5;--scene-ink:#62331f;--scene-rule:#c9573a}[data-letter4u-paper=windowlight],[data-letter4u-scene=windowlight]{--scene-base:#315d54;--scene-envelope:#426b5d;--scene-flap:#6c9180;--scene-seal:#f1d4a1;--scene-mark:#365348;--scene-paper:#f8f5e8;--scene-ink:#2b483b;--scene-rule:#73937f}.letter4u-scene{position:relative;isolation:isolate;display:grid;place-items:center;overflow:hidden;width:100%;aspect-ratio:3/2;border-radius:var(--radius-panel);background:var(--scene-base)}.letter4u-scene-art{position:absolute;inset:0;background-position:50%;background-size:cover}.letter4u-scene-cover{pointer-events:none}.letter4u-scene-button{min-height:220px}.letter4u-scene-button:focus-visible,.letter4u-template-card>button:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:3px}.letter4u-scene-envelope{position:relative;display:block;width:clamp(92px,37%,244px);aspect-ratio:1.6;perspective:500px;border:1px solid #fff9df88;border-radius:3px 3px 8px 8px;background:linear-gradient(153deg,transparent 49.5%,#fff4cd45 50%,transparent 51%) 0 100% /50% 76% no-repeat,linear-gradient(207deg,transparent 49.5%,#fff4cd45 50%,transparent 51%) 100% 100% /50% 76% no-repeat,linear-gradient(140deg,var(--scene-flap),var(--scene-envelope) 70%);box-shadow:0 12px 36px #151c28a0;transform:rotate(-5deg);transition:opacity .6s ease,transform .55s ease}.letter4u-scene-flap{position:absolute;inset:0 0 31%;background:linear-gradient(180deg,var(--scene-flap),var(--scene-envelope));clip-path:polygon(0 0,100% 0,50% 100%);transform-origin:top;transition:transform .45s ease,opacity .4s ease}.letter4u-scene-seal{position:absolute;top:65%;left:50%;display:grid;place-items:center;width:26%;aspect-ratio:1;border:2px double #fff7d6;border-radius:50%;color:var(--scene-mark);background:radial-gradient(circle at 32% 25%,#fff2c4,var(--scene-seal));box-shadow:0 3px 9px #27172070;transform:translate(-50%,-50%);transition:transform .5s ease,opacity .43s ease}.letter4u-scene-seal svg{width:54%;height:54%}.letter4u-scene[data-letter4u-scene=birthday-parade] .letter4u-scene-envelope{transform:rotate(6deg)}.letter4u-scene[data-letter4u-scene=windowlight] .letter4u-scene-envelope{transform:rotate(-2deg)}.letter4u-scene-button:hover:not(:disabled) .letter4u-scene-envelope{transform:translateY(-5px)}.letter4u-scene[data-opening=true] .letter4u-scene-envelope{transform:translateY(-16%) scale(1.12);opacity:0}.letter4u-scene[data-opening=true] .letter4u-scene-flap{transform:rotateX(164deg);opacity:.2}.letter4u-scene[data-opening=true] .letter4u-scene-seal{transform:translate(-50%,-75%) rotate(45deg);opacity:0}.letter4u-scene[data-letter4u-scene=birthday-parade][data-opening=true] .letter4u-scene-envelope{transform:translateY(-16%) rotate(-12deg) scale(1.18)}.letter4u-scene[data-letter4u-scene=windowlight][data-opening=true] .letter4u-scene-envelope{transform:translateX(38%) rotate(12deg)}.letter4u-scene-address{position:absolute;inset:auto .6rem .65rem;display:grid;justify-items:center;gap:.15rem;width:-moz-fit-content;width:fit-content;max-width:calc(100% - 1.2rem);margin-inline:auto;padding:.3rem .8rem;border-radius:9px;background:#122321dd;color:#fffaf0;overflow-wrap:anywhere;font-size:.73rem}.letter4u-scene-recipient{font-family:var(--font-playfair),var(--font-thai-serif),serif;font-size:clamp(.9rem,3vw,1.3rem)}.letter4u-stationery{position:relative;isolation:isolate;min-height:250px;border:1px solid var(--scene-rule);border-radius:4px;padding:clamp(1.7rem,7vw,3.4rem);background:var(--scene-paper);color:var(--scene-ink);overflow-wrap:anywhere;box-shadow:0 10px 28px #20252629}.letter4u-stationery:before{content:"";position:absolute;inset:.5rem;pointer-events:none;border:1px solid var(--scene-rule);opacity:.45}.letter4u-stationery[data-letter4u-paper=moon-post]:before{border:3px double var(--scene-rule);border-radius:2.25rem 2.25rem .3rem .3rem}.letter4u-stationery[data-letter4u-paper=birthday-parade]:before{border:1px dashed var(--scene-rule)}.letter4u-stationery[data-letter4u-paper=windowlight]{background-image:repeating-linear-gradient(0deg,transparent 0 31px,#3f6d5914 31px 32px)}.letter4u-stationery-compact{min-height:0;padding:1rem}.letter4u-paper-title{margin-bottom:1.45rem;font:500 .7rem/1.4 ui-sans-serif,system-ui,sans-serif;letter-spacing:.11em}.letter4u-paper-recipient{margin-bottom:1rem;font-size:clamp(1.35rem,4vw,2rem)}.letter4u-paper-message{white-space:pre-wrap;font-size:clamp(1.05rem,3vw,1.38rem);line-height:1.85}.letter4u-paper-author{margin-top:1.5rem;text-align:right;font-size:1.15rem}.letter4u-stationery-compact .letter4u-paper-title{margin-bottom:.5rem}.letter4u-stationery-compact .letter4u-paper-message{font-size:.85rem}.letter-photo-enlarge{display:none}.letter-photo-image[data-status=ready]+.letter-photo-enlarge{position:absolute;inset:0;display:block;border-radius:inherit;cursor:zoom-in}.letter-photo-enlarge:focus-visible{outline:3px solid #fff7db;outline-offset:-3px}.letter-photo-enlarge-icon{position:absolute;right:.19rem;bottom:.19rem;box-sizing:content-box;width:.85rem;height:.85rem;padding:.28rem;border-radius:50%;color:#fffaf0;background:#1c2623e6}@media (prefers-reduced-motion:reduce){.letter4u-scene-envelope,.letter4u-scene-flap,.letter4u-scene-seal{transition:none}}