/* A grounded little visitor, not a floating reward icon. */
html body .v2q-pet.pet-delivery{left:32%;width:clamp(86px,10vw,126px);height:clamp(86px,10vw,126px);bottom:calc(30% + env(safe-area-inset-bottom));animation:none!important;isolation:isolate;touch-action:manipulation}
.pet-delivery .pt{position:relative;z-index:2;transform-origin:50% 90%}
.pet-delivery .pt>.toy{position:absolute;inset:0}
.pet-delivery .pd-part{position:absolute;inset:0;pointer-events:none;transform-origin:50% 40%}
.pet-delivery .pd-part>.toy{width:100%!important;height:100%!important;margin:0!important}
.pet-delivery .pd-ear-left{clip-path:polygon(3% 62%,8% 36%,21% 15%,35% 15%,28% 55%,22% 66%);transform-origin:28% 20%}
.pet-delivery .pd-ear-right{clip-path:polygon(65% 15%,79% 15%,92% 36%,97% 62%,78% 66%,72% 55%);transform-origin:72% 20%}
.pet-delivery .pd-paw-left{clip-path:ellipse(7% 7% at 37% 83%);transform-origin:37% 80%}
.pet-delivery .pd-paw-right{clip-path:ellipse(7% 7% at 62% 83%);transform-origin:62% 80%}
html body .pet-delivery .coin{z-index:3;left:39%;top:51%;right:auto;width:36%;height:36%;animation:none;transform:rotate(-12deg);filter:drop-shadow(0 2px 1px #704e4933)}
.pet-delivery .pd-shadow{position:absolute;left:18%;bottom:5%;width:68%;height:10%;border-radius:50%;background:#49304440;filter:blur(3px);z-index:0}
@media(prefers-reduced-motion:no-preference){
 .pet-delivery:is([data-phase=enter],[data-phase=exit]) .pt{animation:pd-trot .34s ease-in-out infinite}
 .pet-delivery:is([data-phase=enter],[data-phase=exit]) .pd-paw-left{animation:pd-step .34s ease-in-out infinite}
 .pet-delivery:is([data-phase=enter],[data-phase=exit]) .pd-paw-right{animation:pd-step .34s .17s ease-in-out infinite}
 .pet-delivery:is([data-phase=enter],[data-phase=exit]) .pd-ear-left{animation:pd-ear .34s .05s ease-in-out infinite}
 .pet-delivery:is([data-phase=enter],[data-phase=exit]) .pd-ear-right{animation:pd-ear .34s .22s ease-in-out infinite reverse}
 .pet-delivery[data-phase=ready] .pt{animation:pd-proud .8s ease-in-out both}
 .pet-delivery[data-phase=happy] .pt{animation:pd-happy .65s ease-out both}
}
@keyframes pd-trot{0%,100%{transform:translateY(0) scale(1.025,.975)}50%{transform:translateY(-4px) scale(.985,1.015)}}
@keyframes pd-step{0%,100%{translate:0 1px}50%{translate:0 -3px}}
@keyframes pd-ear{50%{rotate:3deg;translate:0 1px}}
@keyframes pd-proud{0%,100%{transform:rotate(0)}45%,75%{transform:translateY(-2px) rotate(-5deg)}}
@keyframes pd-happy{0%,100%{transform:scale(1)}28%{transform:scale(1.12,.85)}60%{transform:scale(.97,1.04)}}
/* The reward waits for acknowledgement; its size makes ownership unmistakable. */
html body dialog.pd-receipt{box-sizing:border-box;width:min(88vw,460px);max-height:calc(100dvh - 48px);margin:auto;padding:clamp(20px,4vw,34px);border:4px solid #fffaf0;border-radius:32px;background:linear-gradient(#fffaf0,#fff1dc);color:#674681;text-align:center;box-shadow:0 8px 0 #cdaa8a,0 24px 70px #37204655;overflow:auto}
.pd-receipt::backdrop{background:#44315266;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.pd-receipt h2{font:900 clamp(25px,5vw,36px)/1.15 Grandstander,system-ui;margin:0 0 12px;color:#744b91}
.pd-receipt p{font:700 clamp(17px,3.8vw,21px)/1.4 Grandstander,system-ui;margin:12px 0 22px}
html body .pd-prize{display:grid;place-items:center;position:relative;width:min(54vw,240px,32dvh);height:min(54vw,240px,32dvh);margin:12px auto;border-radius:50%;background:radial-gradient(#fff9c8,transparent 70%);pointer-events:none}
html body .pd-prize>:is(img,.toy){position:static!important;display:block;width:100%!important;height:100%!important;max-width:100%;max-height:100%;margin:0!important;object-fit:contain;transform:none;animation:none;filter:drop-shadow(0 9px 7px #79556833)}
html body .pd-prize .toy img{width:100%;height:100%;object-fit:contain}
.pd-keep{width:100%;min-height:54px;padding:12px 16px;border:3px solid #fffaf0;border-radius:22px;background:#8cdec9;color:#234f4c;box-shadow:0 4px 0 #60ac9b;font:900 clamp(18px,3.8vw,23px)/1.2 Grandstander,system-ui;cursor:pointer}
.pd-keep:focus-visible{outline:4px solid #8658ad;outline-offset:4px}
@media(max-height:500px) and (min-aspect-ratio:1/1){html body dialog.pd-receipt{width:min(90vw,640px);display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:10px;padding:18px}.pd-receipt h2{grid-column:1;grid-row:1}.pd-receipt p{grid-column:1;grid-row:2;margin:0}.pd-receipt .pd-keep{grid-column:1;grid-row:3}.pd-receipt .pd-prize{grid-column:2;grid-row:1/4;width:min(32vw,45dvh);height:min(32vw,45dvh)}html body dialog.pd-receipt:not([open]){display:none}}

/* Old cached explainers must not cover a reward heading. */
html body dialog.pd-receipt .v2l-tip{display:none!important}

/* Reward meaning is visual; words remain available to assistive technology. */
html body .pd-receipt .pd-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.pd-owned{position:absolute;right:-2%;bottom:0;width:clamp(46px,12vw,68px);height:clamp(46px,12vw,68px);filter:drop-shadow(0 3px 2px #327d6533)}
.pd-owned svg{display:block;width:100%;height:100%}
html body .pd-keep{display:flex;justify-content:center;align-items:center;gap:18px;min-height:76px;margin-top:24px}
.pd-keep img{width:64px;height:64px;object-fit:contain;pointer-events:none}
.pd-keep>svg{width:34px;height:34px;pointer-events:none}
@media(max-height:500px) and (min-aspect-ratio:1/1){html body dialog.pd-receipt{grid-template-columns:1fr 1fr}.pd-receipt .pd-keep{grid-column:2;grid-row:1;margin:0}.pd-receipt .pd-prize{grid-column:1;grid-row:1}}
