.gifts-page{position:relative;isolation:isolate;overflow:hidden;min-height:760px;min-height:calc(100svh - 140px);background:#132c23;color:#f7f2e7}
.gifts-page__background{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#0e291ff2 0%,#0e291fd4 38%,#0e291f1a 100%),url('gifts-background.webp') right center/auto 100% no-repeat}
.gifts-page__inner{padding-top:32px;padding-bottom:100px}
.gifts-page__crumb{display:flex;gap:10px;align-items:center;font-size:12px;color:#e1d8c5;margin-bottom:76px}
.gifts-page__crumb a{color:inherit;text-decoration:none}.gifts-page__crumb a:hover{text-decoration:underline}
.gifts-page__card{max-width:690px;padding:44px;border:1px solid #c9af7955;border-radius:6px;background:#102a218c;box-shadow:0 16px 55px #081a1233}
.gifts-page__card .eyebrow{color:#d8be87;font-size:11px;letter-spacing:.16em}
.gifts-page__card h1{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(48px,5.8vw,84px);font-weight:500;line-height:1.03;letter-spacing:-.025em;margin:24px 0 28px;color:#f7f2e7}
.gifts-page__card h1 em{color:#d6bd87;font-weight:500}
.gifts-page__badge{display:inline-block;border:1px solid #d6bd8766;border-radius:30px;padding:6px 14px;color:#ead5a9;font-size:11px;letter-spacing:.12em;text-transform:uppercase}
.gifts-page__copy{font-size:16px;line-height:1.8;max-width:420px;margin:22px 0 32px;color:#eee7d9}
.gifts-page__actions{display:flex;gap:24px;align-items:center;flex-wrap:wrap}
.gifts-page__back{color:#e1c993;text-decoration:none;font-size:13px}.gifts-page__back:hover{text-decoration:underline}
.gifts-page a:focus-visible{outline:2px solid #e1c993;outline-offset:5px}
@media(max-width:767px){.gifts-page{min-height:calc(100svh - 112px)}.gifts-page__background{background-position:right center;background-image:linear-gradient(90deg,#0e291fe8,#0e291f70),url('gifts-background.webp')}.gifts-page__inner{padding-top:24px;padding-bottom:65px}.gifts-page__crumb{margin-bottom:40px}.gifts-page__card{padding:28px 22px}.gifts-page__card h1{font-size:clamp(42px,11vw,60px)}.gifts-page__copy{font-size:14px}.gifts-page__actions{align-items:flex-start;flex-direction:column;gap:22px}}

.gifts-page__result{padding:18px;border-left:2px solid #d6bd87;background:#0c241dd9;color:#fff6e5;line-height:1.7;margin:20px 0 28px}.gifts-page__actions form{margin:0}.gifts-page__actions button{cursor:pointer;border:0}

.gifts-registration{max-width:450px;margin:22px 0 30px}.gifts-registration h2{font-size:28px;color:#f7f2e7;margin:0 0 12px}.gifts-registration p{color:#e5ddcd;line-height:1.6;font-size:14px}.gifts-registration label{display:block;margin:16px 0 8px;font-size:12px;color:#e1c993}.gifts-registration input{box-sizing:border-box;display:block;width:100%;min-height:46px;padding:12px 14px;border:1px solid #c4aa7566;border-radius:7px;background:#0e2a22e6;color:#fff8ed;font:inherit;font-size:16px;line-height:1.4}.gifts-registration input::placeholder{color:#b8bcb0}.gifts-registration input:focus-visible{outline:2px solid #e1c993;outline-offset:2px}.gifts-registration .gifts-registration__note{font-size:12px;margin:18px 0 20px}.gifts-registration__note a{color:#e1c993}.gifts-registration button{border:0;cursor:pointer}.gifts-registration__change{margin-top:22px}.gifts-registration__change button{background:none;border:0;padding:0;font:inherit;font-size:12px;color:#dac28f;cursor:pointer;text-decoration:underline}.gifts-registration__change button:focus-visible{outline:2px solid #dac28f;outline-offset:4px}

/* Fit the whole photo height; the SVG uses exactly the same aspect ratio and right edge. */
.gifts-page--play{min-height:calc(100svh - 140px)}
.gifts-page--play .gifts-page__inner{position:relative;z-index:2;pointer-events:none}
.gifts-page--play .gifts-page__card{max-width:600px;pointer-events:auto}
.gifts-page--play .gifts-page__crumb{pointer-events:auto;width:fit-content}
.gift-picker{position:absolute;inset:0;z-index:1;pointer-events:none;margin:0}
.gift-picker__map{position:absolute;right:0;top:0;display:block;width:var(--gift-image-width,auto);height:100%;aspect-ratio:1672/941;max-width:none;overflow:hidden;pointer-events:none}
.gift-target{cursor:pointer;transform-box:view-box;transition:transform .25s ease;outline:none;pointer-events:none}
.gift-target__object{opacity:0;pointer-events:none;transition:opacity .2s}
.gift-target__outline{fill:#fff3c403;stroke:#f1d899;stroke-width:1.3;filter:drop-shadow(0 0 4px #fff0ad) drop-shadow(0 0 10px #e3bd62);pointer-events:all;transition:stroke .2s,stroke-width .2s}
.gift-target:hover,.gift-target:focus-visible{transform:scale(1.055)}
.gift-target:hover .gift-target__object,.gift-target:focus-visible .gift-target__object{opacity:1}
.gift-target:hover .gift-target__outline,.gift-target:focus-visible .gift-target__outline{stroke:#fff9e5;stroke-width:2.2;filter:drop-shadow(0 0 6px #fff2bd) drop-shadow(0 0 17px #ffe19a)}
.gift-picker[data-busy] .gift-target__outline{pointer-events:none}
.gift-picker__fallback{position:absolute;right:20px;bottom:20px;max-width:420px;padding:20px;background:#102a21;pointer-events:auto}
.gift-picker__fallback button{margin:5px}
.gift-reveal{position:fixed;inset:0;margin:auto;width:min(520px,calc(100% - 32px));max-height:calc(100svh - 40px);overflow:auto;padding:44px 32px 32px;border:1px solid #cdb57899;border-radius:16px;background:radial-gradient(ellipse at 50% 40%,#254a36,#10291f 72%);color:#faf3e1;text-align:center;box-shadow:0 24px 110px #0009}
.gift-reveal::backdrop{background:#03150ddb;backdrop-filter:blur(9px)}
.gift-reveal__close{position:absolute;right:16px;top:12px;width:40px;height:40px;border:0;background:transparent;color:#fff3d5;font-size:30px;cursor:pointer}
.gift-reveal__close:disabled{visibility:hidden}
.gift-reveal__close:focus-visible{outline:2px solid #e1c993}
.gift-reveal__eyebrow{margin:0 0 12px;color:#d8be87;letter-spacing:.16em;text-transform:uppercase;font-size:11px}
.gift-reveal h2{margin:0;color:#f7edda;font-family:'Cormorant Garamond',Georgia,serif;font-size:38px;font-weight:500}
.gift-reveal__stage{position:relative;display:grid;place-items:center;min-height:290px;margin:15px 0;isolation:isolate}
.gift-reveal__object{position:relative;width:220px;aspect-ratio:1;filter:drop-shadow(0 18px 20px #0008);z-index:2}
.gift-reveal__art{position:absolute;inset:0;width:100%;height:100%;overflow:visible;transition:transform 1.1s cubic-bezier(.2,.7,.2,1),opacity 1.1s}
.gift-reveal__art .gift-target{transform:none!important;pointer-events:none}
.gift-reveal__art .gift-target__object{opacity:1}
.gift-reveal__art .gift-target__outline{display:none}
.gift-reveal__art--lid{clip-path:inset(0 0 60% 0)}
.gift-reveal__art--body{clip-path:inset(40% 0 0 0)}
.gift-reveal[data-kind=ball] .gift-reveal__art--lid{clip-path:inset(0 0 50% 0)}
.gift-reveal[data-kind=ball] .gift-reveal__art--body{clip-path:inset(50% 0 0 0)}
.gift-reveal.is-opening .gift-reveal__art--lid{transform:translate(-22px,-82px) rotate(-19deg)}
.gift-reveal.is-opening .gift-reveal__art--body{transform:translate(8px,30px) rotate(5deg)}
.gift-reveal[data-kind=ball].is-opening .gift-reveal__art--lid{transform:translate(-45px,-60px) rotate(-28deg)}
.gift-reveal[data-kind=ball].is-opening .gift-reveal__art--body{transform:translate(40px,35px) rotate(22deg)}
.gift-reveal__light{position:absolute;inset:20px;background:radial-gradient(ellipse,#fff6b4a8,#eac65c45 35%,transparent 67%);opacity:0;scale:.4;transition:opacity .8s,scale 1.2s}
.gift-reveal.is-opening .gift-reveal__light{opacity:1;scale:1.2}
.gift-reveal__sparks{position:absolute;inset:0;pointer-events:none}
.gift-reveal__sparks span{position:absolute;left:50%;top:50%;color:#ffe9a8;opacity:0;font-size:20px;text-shadow:0 0 14px #fff1b0}
.gift-reveal.is-opening .gift-reveal__sparks span{animation:gift-spark 1.5s var(--delay) both}
.gift-reveal__status{min-height:54px;font-size:16px;line-height:1.6;color:#f3e5c8}
.gift-reveal.is-revealed .gift-reveal__status{animation:gift-result .5s both}
.gift-reveal__refresh{display:block;color:#e1c993;margin:20px 0 0}
.gift-reveal [hidden]{display:none!important}
@keyframes gift-spark{0%{opacity:0;transform:rotate(var(--angle)) translateX(10px) scale(.3)}25%{opacity:1}100%{opacity:0;transform:rotate(var(--angle)) translateX(155px) scale(.8)}}
@keyframes gift-result{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(max-width:1199px){
 .gifts-page--play{min-height:0}
 .gifts-page--play .gifts-page__inner{padding-bottom:560px}
 .gifts-page--play .gifts-page__card{max-width:690px}
 .gifts-page--play .gifts-page__background,.gift-picker{top:var(--gift-scene-top,650px)}
 .gifts-page--play .gifts-page__background{background-image:linear-gradient(90deg,#0e291f22,#0e291f00),url('gifts-background.webp')}
}
@media(max-width:767px){.gift-reveal{padding:44px 20px 24px}.gift-reveal h2{font-size:32px}.gift-reveal__stage{min-height:260px}.gift-reveal__object{width:190px}}
@media(prefers-reduced-motion:reduce){.gift-target,.gift-target__object,.gift-target__outline,.gift-reveal__art,.gift-reveal__light{transition:none}.gift-target:hover,.gift-target:focus-visible{transform:none}.gift-reveal.is-opening .gift-reveal__sparks span,.gift-reveal.is-revealed .gift-reveal__status{animation:none}}
