.photo-enhance-screen{background:url('/assets/generated/ceremony/photo-zone-v149.png') center/cover no-repeat!important}.photo-enhance-screen .pe-screen{position:relative;width:100%;height:100%;min-height:0;display:flex;align-items:center;justify-content:center}.pe-content{width:100%;display:flex;flex-direction:column;align-items:center;gap:clamp(7px,1.4vh,12px);text-align:center;color:#fff9e9;text-shadow:0 2px 7px #271720}.pe-content h1{margin:0;font:27px/1.1 Georgia,serif}.pe-content p{margin:0;font:15px/1.3 Georgia,serif}.pe-content .pe-primary,.pe-content .pe-secondary,.pe-content .pe-choice,.pe-ages button{min-height:40px;margin:0;padding:8px 14px;border:1px solid #eac47d;border-radius:999px;color:#573719;text-shadow:none;font:15px/1.15 Georgia,serif;background:linear-gradient(145deg,#fff2cb,#d49b45 46%,#ffe3a0 72%,#b47a2b);box-shadow:inset 0 1px 2px #fff9,0 4px 14px #39220a55}.pe-content .pe-secondary{background:#fff3dcdd;border-color:#ffe8bc;color:#5b3b25}.pe-content button:disabled{opacity:.5}.pe-actions{display:flex;justify-content:center;gap:8px;width:100%}.pe-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}.pe-content .pe-choice{min-height:52px;border-radius:15px;background:#fff7e2d9;font-size:14px}.pe-content .pe-choice[aria-pressed=true]{background:linear-gradient(145deg,#fff2cb,#d49b45 46%,#ffe3a0);box-shadow:0 0 0 2px #fff1c4}.pe-ages{display:grid;gap:7px;width:100%}.pe-ages>div{padding:8px 12px;border:1px solid #fff1ceaa;border-radius:14px;background:#fff7e5df;color:#563a28;text-shadow:none}.pe-ages section{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:4px}.pe-ages section button{width:34px;height:34px;min-height:34px;padding:0;font:22px Georgia,serif}.pe-ages section span{font:13px Georgia,serif}.pe-consent{display:flex;align-items:flex-start;gap:8px;padding:9px;border-radius:12px;background:#fff7e6e6;color:#543a29;text-align:left;text-shadow:none;font:13px/1.25 'Segoe UI',sans-serif}.pe-consent input{width:20px;height:20px;flex:none;accent-color:#b47a2b}.pe-results{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;width:100%}.pe-results .pe-result{padding:0;min-height:0;aspect-ratio:3/4;overflow:hidden;border:2px solid #fff0c5;border-radius:11px;background:#fff8ec99}.pe-results .pe-result[aria-pressed=true]{border-color:#f7b82e;box-shadow:0 0 0 2px #fff5c8}.pe-result img{width:100%;height:100%;object-fit:cover}.pe-sparkle{font:60px Georgia,serif;color:#ffdc93}.pe-error{font:12px/1.3 'Segoe UI',sans-serif!important;color:#fff0b5}.pe-error:empty{display:none}@media(max-height:650px){.pe-content{gap:5px}.pe-content h1{font-size:21px}.pe-content p{font-size:12px}.pe-content .pe-choice{min-height:42px;font-size:12px}.pe-content .pe-primary,.pe-content .pe-secondary{min-height:35px;font-size:13px}.pe-consent{font-size:11px;padding:6px}.pe-ages>div{padding:5px 10px}.pe-results{max-height:160px}.pe-results .pe-result{max-height:160px}}
.photo-enhance-screen .room-stage{overflow:hidden}.pe-preview{display:block;max-width:100%;width:auto;height:clamp(100px,22vh,200px);object-fit:contain;border:2px solid #ffe9ba;border-radius:12px}.pe-content:has(.pe-preview) .pe-results{width:min(75%,240px)}.pe-content:has(.pe-preview) .pe-result{aspect-ratio:3/2;max-height:60px}@media(max-height:650px){.pe-preview{height:min(19vh,110px)}.pe-content:has(.pe-preview) .pe-result{max-height:40px}}

.pe-content .pe-choice[aria-pressed=true]{background:#efb9b9;color:#482c35;border-color:#b45d68;box-shadow:0 0 0 2px #fff1e6}.pe-preview-button{padding:0;border:0;background:transparent}.pe-image-overlay{position:fixed;z-index:100;inset:0;width:100%;height:100%;border:0;background:#21151be8;display:grid;place-items:center}.pe-image-overlay img{max-width:96vw;max-height:90dvh;object-fit:contain}

.pe-content .pe-actions .pe-secondary{background:linear-gradient(145deg,#fff2cb,#d49b45 46%,#ffe3a0 72%,#b47a2b);border-color:#eac47d}.pe-ages section button{background:#fff7e2e6;border-color:#d9bdb0;color:#543a36}
.pe-result-card{min-width:0;display:flex;flex-direction:column;gap:3px;align-items:stretch}.pe-results .pe-result-card .pe-result{width:100%;height:min(14vh,105px);max-height:none;aspect-ratio:3/4}.pe-save-image{padding:4px 2px;border:1px solid #dfc18f;border-radius:999px;background:#fff7e4e8;color:#633c28;font:12px Georgia,serif;min-height:28px}.pe-result-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:80px;border:1px solid #fff3d8aa;border-radius:10px;background:#ffffff66;color:#5a4033;text-shadow:none;font:20px Georgia,serif}.pe-result-empty small{font:10px 'Segoe UI',sans-serif}.pe-content .pe-certificate{height:clamp(150px,35vh,280px);max-width:78vw}@media(max-height:650px){.pe-content .pe-certificate{height:26vh}.pe-save-image{min-height:24px;font-size:10px}.pe-results .pe-result-card .pe-result{height:10vh}}
.photo-enhance-screen .ph-top-back{position:absolute;top:calc(12px + env(safe-area-inset-top));left:14px;z-index:9;width:42px;height:42px;min-height:42px;padding:0;margin:0;border:1px solid #fff0d9a6;border-radius:50%;background:#36252755;backdrop-filter:blur(7px);color:#fff8ed;font:32px/1 Georgia,serif;text-shadow:0 1px 4px #25171b;box-shadow:none}.photo-enhance-screen .pe-content{padding:60px 16px 18px;box-sizing:border-box;max-height:100%;justify-content:center}.pe-content .pe-actions span{align-self:center}.pe-content .pe-actions [data-pe^="design-"]{min-width:45px}
.photo-enhance-screen .brand{padding-left:49px}.photo-enhance-screen .pe-content{padding:4px 8px 8px;gap:clamp(5px,1vh,9px)}.pe-photo-carousel{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:0}.pe-photo-carousel .pe-preview-button{display:flex;align-items:center;justify-content:center;flex:0 1 auto;width:auto;min-width:0;max-width:calc(100% - 100px);padding:0;margin:0;min-height:0;border:0;box-shadow:none;background:transparent;touch-action:pan-y}.pe-photo-carousel .pe-result-preview{display:block;height:clamp(150px,32vh,270px);width:auto;max-width:100%;object-fit:contain}.pe-content .pe-photo-arrow{flex:none;width:42px;height:42px;min-height:42px;margin:0;padding:0;border:1px solid #eac47d;border-radius:50%;background:linear-gradient(145deg,#fff2cb,#d49b45 46%,#ffe3a0 72%,#b47a2b);color:#573719;text-shadow:none;font:30px/1 Georgia,serif}.pe-content .pe-save-current{min-height:30px;margin:0;padding:4px 13px;border:1px solid #fff2d9b3;border-radius:999px;background:#fff7e4df;color:#633c28;text-shadow:none;font:13px Georgia,serif;box-shadow:none}.pe-content:has(.pe-result-preview) h1{font-size:clamp(21px,3vh,27px)}.pe-content:has(.pe-result-preview) .pe-actions>button{width:min(100%,320px);min-height:42px}.pe-content:has(.pe-result-preview) .pe-actions:empty{display:none}@media(max-height:650px){.pe-photo-carousel .pe-result-preview{height:min(25vh,155px)}.pe-content:has(.pe-result-preview) .pe-actions>button{min-height:36px;font-size:13px}.pe-content .pe-save-current{min-height:26px;font-size:12px}}
.photo-enhance-screen{position:relative}.pe-design-carousel{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:0}.photo-enhance-screen .pe-content button.pe-design-arrow{display:grid;place-items:center;flex:none;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;border:0;background:transparent;box-shadow:none;text-shadow:none}.pe-design-arrow span{display:grid;place-items:center;width:31px;height:31px;border:1px solid #e4c48f;border-radius:50%;background:linear-gradient(145deg,#fff3d5,#d8aa68 55%,#ffe8b8);box-shadow:0 2px 7px #51372855;color:#674323;font:24px/1 Georgia,serif}.pe-design-arrow:disabled{opacity:.5}.photo-enhance-screen .pe-content button.pe-design-preview-button{display:flex;align-items:center;justify-content:center;flex:0 1 auto;width:auto;min-width:0;max-width:calc(100% - 104px);min-height:0;margin:0;padding:0;border:0;background:transparent;box-shadow:none}.pe-design-carousel .pe-certificate{height:clamp(150px,35vh,280px);max-width:100%;object-fit:contain}.pe-design-loading{height:clamp(150px,35vh,280px);display:grid;place-items:center;flex:0 1 170px}.pe-content .pe-design-label{margin:0;max-width:100%;font:15px/1.25 Georgia,serif;text-align:center}.photo-enhance-screen .pe-content:has(.pe-design-carousel) h1{font-size:clamp(21px,3vh,27px)}.photo-enhance-screen .pe-content:has(.pe-design-carousel) [data-pe="design-confirm"]{width:min(100%,320px)}@media(max-height:650px){.pe-design-carousel .pe-certificate,.pe-design-loading{height:min(26vh,170px)}.pe-content .pe-design-label{font-size:13px}}

.pe-content button.pe-save-link{display:inline-block;width:auto;min-height:28px;margin:0;padding:4px 8px;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;color:#fff9ee;text-shadow:0 1px 5px #281b20;font:14px/1.2 Georgia,serif;text-decoration:underline;text-underline-offset:3px}
body > .pe-image-overlay{position:fixed;z-index:9999;inset:0;box-sizing:border-box;width:100vw;height:100dvh;max-width:none;min-height:0;margin:0;padding:16px;border:0;border-radius:0;background:#21151be8;display:flex;align-items:center;justify-content:center;transform:none}body > .pe-image-overlay img{display:block;width:auto;height:auto;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);object-fit:contain;margin:auto;transform:none}

.pe-content button.pe-default-zoom{display:flex;align-items:center;justify-content:center;width:auto;max-width:100%;min-height:0;margin:0;padding:0;border:0;background:transparent;box-shadow:none}
.pe-content .pe-gift-note{max-width:320px;margin:0;padding:4px 9px;border:1px solid #efd6a3;border-radius:12px;background:#fff8e8de;color:#593c29;text-shadow:none;font:13px/1.2 Georgia,serif}

.photo-enhance-screen{background:transparent!important}

.pe-design-carousel[data-pe-swipe-design],.pe-design-carousel[data-pe-swipe-design] .pe-design-preview-button{touch-action:pan-y}
.pe-photo-carousel[data-pe-swipe-photo]{touch-action:pan-y;user-select:none}
.pe-offer-actions{display:grid;gap:6px;width:min(100%,320px)}
.photo-enhance-screen .pe-screen{container-type:size}
.photo-enhance-screen .pe-content{height:100%;min-height:0;max-height:none;overflow-y:auto;justify-content:safe center;overscroll-behavior:contain}
.photo-enhance-screen .pe-content > *{flex-shrink:0;min-width:0}
.photo-enhance-screen .pe-content .pe-certificate,
.photo-enhance-screen .pe-design-loading{height:clamp(92px,43cqh,265px);max-height:100%;object-fit:contain}
.photo-enhance-screen .pe-photo-carousel .pe-result-preview{height:clamp(95px,40cqh,245px)}
body > .pe-design-zoom-overlay{touch-action:pan-y pinch-zoom;user-select:none}body > .pe-design-zoom-overlay::backdrop{background:#21151b}body > .pe-design-zoom-overlay .pe-zoom-close{position:absolute;top:calc(12px + env(safe-area-inset-top));right:16px;width:42px;height:42px;min-height:42px;margin:0;padding:0;border:1px solid #fff0d9a6;border-radius:50%;background:#34212be0;color:#fff9ed;font:26px/1 Arial,sans-serif;box-shadow:none}
