/* CSS exit + independent JS deadline: no waiting on network or page readiness. */
html body.pearl-champagne .pearl-opening{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;pointer-events:none;background:radial-gradient(ellipse at 50% 42%,#fffdf8 0%,#fbf5eb 55%,#f0e3d2 100%);animation:pearl-opening-exit 1250ms ease both!important}
.pearl-opening-stage{width:min(68vw,310px);perspective:900px;position:relative;padding:28px 16px}
html body.pearl-champagne .pearl-opening-mark{position:relative;transform-style:preserve-3d;animation:pearl-opening-turn 1000ms cubic-bezier(.16,1,.3,1) both!important}
.pearl-opening-mark img{display:block;width:100%;height:auto;object-fit:contain;filter:url(#logo-tone) drop-shadow(0 3px 0 #80675020) drop-shadow(0 16px 13px #44383222)}
html body.pearl-champagne .pearl-opening-mark:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 35%,#fffaf380 49%,transparent 63%);animation:pearl-opening-glint 850ms 100ms ease-out both!important}
.pearl-opening-line{width:78px;height:1px;margin:24px auto 0;background:#d8c3a5;overflow:hidden}
html body.pearl-champagne .pearl-opening-line:after{content:'';display:block;width:100%;height:100%;background:#dd153b;transform-origin:left;animation:pearl-opening-line 850ms cubic-bezier(.22,1,.36,1) both!important}
@keyframes pearl-opening-turn{0%{opacity:.3;transform:translate3d(0,12px,-55px) rotateX(14deg) rotateY(-22deg) scale(.94)}65%{opacity:1;transform:translate3d(0,-3px,12px) rotateX(-3deg) rotateY(5deg) scale(1.015)}100%{opacity:1;transform:translate3d(0,0,0) rotateX(0) rotateY(0) scale(1)}}
@keyframes pearl-opening-exit{0%,72%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}
@keyframes pearl-opening-glint{0%{opacity:0;transform:translateX(-65%)}25%{opacity:.5}100%{opacity:0;transform:translateX(65%)}}
@keyframes pearl-opening-line{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@media(prefers-reduced-motion:reduce){html body.pearl-champagne .pearl-opening{animation:pearl-opening-exit 650ms ease both!important}html body.pearl-champagne .pearl-opening-mark,html body.pearl-champagne .pearl-opening-mark:after,html body.pearl-champagne .pearl-opening-line:after{animation:none!important;transform:none}.pearl-opening-mark:after{display:none}}
