/* Photographic night: the sky slowly approaches, then dissolves into the actual cover. */
.env-scene.constellation-opening{background:#080f1c!important;isolation:isolate;overflow:hidden!important;border-radius:0!important;color:#fff!important;opacity:1;transform:none!important;transition:opacity 1.8s 1s ease!important;}
.env-scene.constellation-opening .constellation-sky{position:absolute;inset:0!important;background:url('/assets/demo-couples/moon/night-lake.webp') center/cover no-repeat!important;animation:night-sky-drift 24s ease-in-out infinite alternate!important;opacity:1!important;transform-origin:50% 42%;transition:transform 3.4s cubic-bezier(.2,.6,.2,1),filter 3.4s ease!important;}
.env-scene.constellation-opening .night-opening-vignette{position:absolute;inset:0;background:linear-gradient(180deg,#06102008 10%,#06102055 46%,#06102010 100%);pointer-events:none;}
.env-scene.constellation-opening .constellation-title{top:34%!important;left:9%!important;width:82%!important;color:white!important;text-shadow:0 2px 20px #0008;transition:opacity .7s,transform 1.2s ease;}
.env-scene.constellation-opening .constellation-title>span{font:400 clamp(11px,3.4cqw,16px)/1.5 InvitationManrope,Arial,sans-serif;letter-spacing:.02em;}
.env-scene.constellation-opening .constellation-title strong{font:400 clamp(32px,12cqw,64px)/1.05 InvitationCormorant,Georgia,serif!important;letter-spacing:-.02em;margin-top:22px!important;}
.env-scene.constellation-opening .constellation-title em{font-size:.48em!important;margin:9px 0!important;}
.env-scene.constellation-opening .env-seal.constellation-star{position:absolute!important;top:auto!important;bottom:19%!important;left:50%!important;transform:translateX(-50%)!important;width:76%!important;max-width:330px!important;min-height:54px!important;height:auto!important;aspect-ratio:auto!important;padding:17px 20px!important;border:1px solid #ffffff80!important;border-radius:99px!important;background:#0a142766!important;backdrop-filter:blur(5px);color:#fff!important;box-shadow:none!important;filter:none!important;display:block!important;transition:opacity .5s,transform .9s ease!important;cursor:pointer;}
.env-scene.constellation-opening .env-seal.constellation-star span{font:500 clamp(13px,3.8cqw,17px)/1.4 InvitationManrope,Arial,sans-serif!important;text-transform:none!important;letter-spacing:0!important;}
.env-scene.constellation-opening .env-seal.constellation-star::before,.env-scene.constellation-opening .env-seal.constellation-star::after{content:none!important;}
.env-scene.constellation-opening .env-seal.constellation-star:focus-visible{outline:2px solid white!important;outline-offset:5px!important;}
.night-opening-note{position:absolute;bottom:12%;left:10%;width:80%;text-align:center;color:#e6ebf4;font:400 clamp(10px,3cqw,13px)/1.5 InvitationManrope,Arial,sans-serif;transition:opacity .5s;}
.env-scene.constellation-opening.is-opening .constellation-sky{animation:none!important;transform:scale(1.15)!important;filter:brightness(1.15);}
.env-scene.constellation-opening.is-opening :is(.constellation-title,.constellation-star,.night-opening-note){opacity:0!important;pointer-events:none;}
.env-scene.constellation-opening.is-opening .constellation-title{transform:translateY(-12px);}
.env-scene.constellation-opening.is-opening{opacity:0!important;transform:none!important;pointer-events:none;}
body:has(#invitation-opening.envelope-is-opening) #invitation[data-theme="moon"]{visibility:visible!important;}
#invitation-opening.envelope-is-opening:has(.constellation-opening){background:transparent!important;}
.env-scene.constellation-opening.env-miniature .constellation-title{top:24%!important;}
.env-scene.constellation-opening.env-miniature .constellation-title>span{font-size:3.5cqw!important;}
.env-scene.constellation-opening.env-miniature .constellation-title strong{font-size:12cqw!important;margin-top:5cqw!important;}
.env-scene.constellation-opening.env-miniature .env-seal.constellation-star{min-height:0!important;padding:4cqw 3cqw!important;bottom:18%!important;}
.env-scene.constellation-opening.env-miniature .env-seal.constellation-star span{font-size:3.6cqw!important;}
.env-scene.constellation-opening.env-miniature .night-opening-note{font-size:2.8cqw!important;bottom:10%!important;}
@keyframes night-sky-drift{from{transform:scale(1)}to{transform:scale(1.035)}}
@media(prefers-reduced-motion:reduce){.env-scene.constellation-opening,.env-scene.constellation-opening *{animation:none!important;transition:none!important;}}
.env-scene.constellation-opening::before,.env-scene.constellation-opening::after{content:none!important;display:none!important;}
.env-scene.constellation-opening.env-forest .constellation-sky{filter:brightness(.8) saturate(.8);background-position:42% center!important;}
.env-scene.constellation-opening.env-velvet .constellation-sky{filter:brightness(1.12) saturate(.72);background-position:58% center!important;}
.env-scene.constellation-opening .env-seal.constellation-star:not(:focus-visible){outline:0!important;}

.env-scene.constellation-opening .env-seal.constellation-star:focus-visible{outline-offset:0!important;}
