/* A real text card stays attached to the gift artwork at every viewport size. */
.prize-artboard{position:absolute;left:50%;top:50%;width:max(100vw,150dvh);height:max(100dvh,66.6666667vw);transform:translate(-50%,-50%)}
.gift-card-anchor{position:absolute;left:35%;top:52%;width:23%;aspect-ratio:2.05;transform:translate(-50%,-50%) rotate(-5deg);z-index:3;pointer-events:none}
.gift-reward-card{position:relative;width:100%;height:100%;container-type:inline-size;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:7% 9%;border:2px solid #b98235;border-radius:8px;color:#592909;text-align:center;background:radial-gradient(ellipse at 45% 25%,#fff7dc,#f2d9a4 70%,#c89950);box-shadow:0 0 0 3px #fce3a399,0 14px 22px #32150688,0 0 48px #ffd98499,inset 0 0 28px #a96e2e44;animation:reward-card-float 4s ease-in-out infinite}
.gift-reward-card:before{content:'';position:absolute;inset:7px;border:1px solid #ac782f99;border-radius:3px;pointer-events:none}
.gift-reward-card:after{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(115deg,transparent 28%,#fff8df88 46%,transparent 62%);background-size:250% 100%;animation:reward-card-shimmer 5s ease-in-out infinite;mix-blend-mode:soft-light}
.card-kicker{font-size:clamp(8px,2.9cqw,13px);letter-spacing:.19em;font-weight:700;color:#87501e}
.gift-reward-card strong{display:block;max-width:100%;font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(23px,11.6cqw,62px);font-weight:600;line-height:.95;text-wrap:balance;text-shadow:0 1px 0 #fff5d4}
.card-flourish{font-size:clamp(10px,4.2cqw,21px);color:#ae7629;line-height:1;white-space:nowrap}
.card-corner{position:absolute;width:15px;height:15px;border-color:#946022;border-style:double;border-width:0;z-index:1}.corner-tl{left:10px;top:10px;border-left-width:3px;border-top-width:3px}.corner-tr{right:10px;top:10px;border-right-width:3px;border-top-width:3px}.corner-bl{left:10px;bottom:10px;border-left-width:3px;border-bottom-width:3px}.corner-br{right:10px;bottom:10px;border-right-width:3px;border-bottom-width:3px}
.screen[data-phase=opening] .gift-card-anchor{animation:reward-card-rise 1.45s .35s cubic-bezier(.2,.7,.2,1) both}
.result-backdrop:after{z-index:1;pointer-events:none}.prize-artboard .gift-card-anchor{z-index:3}
@keyframes reward-card-rise{from{opacity:0;translate:0 60%;scale:.65;filter:brightness(1.5)}35%{opacity:1}to{opacity:1;translate:0 0;scale:1;filter:brightness(1)}}
@keyframes reward-card-float{50%{translate:0 -5px;rotate:1deg}}
@keyframes reward-card-shimmer{0%,30%{background-position:150% 0}65%,100%{background-position:-100% 0}}
@media(max-aspect-ratio:1/1){.prize-artboard{left:32%;transform:translate(-32%,-50%)}.gift-card-anchor{width:23%;top:52%}.gift-reward-card{gap:6px}.result-backdrop:after{background:linear-gradient(0deg,#05101bef,transparent 38%,transparent 75%,#03111a33)}}
@media(max-height:550px) and (min-aspect-ratio:1/1){.gift-reward-card{gap:3px}.gift-reward-card strong{font-size:10.5cqw}.card-corner{width:10px;height:10px}}
@media(prefers-reduced-motion:reduce){.gift-card-anchor,.gift-reward-card,.gift-reward-card:after{animation:none!important}}
