/* The nursery's warm paper, halo and leaf motes, for a confirmed playdate egg. */
.playdate-egg-celebration{color:#5b4a51;text-align:center;padding:0 0 8px}
.pde-eyebrow{margin:0 0 8px;color:#8a785e;font-size:12px;line-height:1.5}
.pde-scene{position:relative;isolation:isolate;width:100%;max-width:460px;height:270px;margin:0 auto;overflow:hidden;border-radius:22px;background:radial-gradient(ellipse at 50% 58%,#f3e8cfc9,transparent 66%)}
.pde-halo{position:absolute;z-index:-1;left:50%;top:49%;width:240px;height:240px;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,#fffdf1 0,#f1db9e80 33%,#ddebd370 53%,transparent 70%);opacity:.7}
.pde-ring{position:absolute;left:50%;top:49%;width:176px;height:176px;border:1px solid #d5b873;border-radius:50%;transform:translate(-50%,-50%);opacity:0}
.pde-ground{position:absolute;left:50%;bottom:30px;width:180px;height:22px;transform:translateX(-50%);border-radius:50%;background:radial-gradient(ellipse,#a48b6940,transparent 72%)}
.pde-result{position:absolute;z-index:3;left:50%;top:50%;width:46%;max-width:210px;aspect-ratio:1;transform:translate(-50%,-50%);transform-origin:50% 85%;opacity:1}
.pde-result>.item-art{display:block;width:100%;height:100%;margin:0;object-fit:contain;filter:drop-shadow(0 8px 10px #8a71551a)}
.pde-parents{position:absolute;inset:0;z-index:2;pointer-events:none}
.pde-parent{position:absolute;top:31%;width:26%;max-width:120px;opacity:1;text-align:center;transform-origin:center}
.pde-parent-left{left:0}.pde-parent-right{right:0}
.pde-parent>.creature-portrait{display:block;width:100%;height:auto;aspect-ratio:1;margin:0}
.pde-parent .kindred-native-portrait,.pde-parent .kindred-native-portrait>img{width:100%;height:100%;object-fit:contain}
.pde-parent strong{display:block;margin-top:3px;font-size:12px;font-weight:600;line-height:1.35;color:#79685e;overflow-wrap:anywhere}
.pde-motes{position:absolute;inset:0;z-index:5;pointer-events:none}
.pde-motes>i{position:absolute;left:50%;top:49%;width:7px;height:10px;border-radius:85% 15% 80% 20%;background:#d8b568;opacity:0}
.pde-motes>i:nth-child(3n){background:#a9c29c;width:8px;height:11px}
.pde-motes>i:nth-child(4n){background:#c6a6c2;width:6px;height:6px;border-radius:50%}
.pde-caption h3{font-family:Outfit,sans-serif;font-weight:600;font-size:27px;letter-spacing:-.025em;line-height:1.2;margin:3px 0 9px;color:#554453;overflow-wrap:anywhere}
.pde-caption p{font-size:14px;line-height:1.6;max-width:350px;margin:0 auto;color:#807160}
.pde-skip{display:inline-flex;align-items:center;justify-content:center;min-height:36px;margin-top:8px;font-size:12px;color:#8c7b66}.pde-skip[hidden]{display:none}
.pde-scene.is-preparing .pde-result{opacity:0}
.pde-scene.is-playing .pde-halo{animation:pde-halo-bloom 2.5s ease-out both}
.pde-scene.is-playing .pde-ring{animation:pde-ring-bloom 1.35s .85s ease-out both}
.pde-scene.is-playing .pde-motes>i{animation:pde-mote-drift 1.3s var(--wait) cubic-bezier(.16,.7,.3,1) both}
.pde-scene.is-playing .pde-parent-left{animation:pde-parent-left 2.25s ease-in-out both}
.pde-scene.is-playing .pde-parent-right{animation:pde-parent-right 2.25s ease-in-out both}
.pde-scene.is-playing .pde-result{animation:pde-egg-arrive 1.5s .75s cubic-bezier(.22,.8,.26,1) both}
@keyframes pde-halo-bloom{0%{opacity:.3;transform:translate(-50%,-50%) scale(.65)}45%{opacity:1;transform:translate(-50%,-50%) scale(1.15)}100%{opacity:.7;transform:translate(-50%,-50%) scale(1)}}
@keyframes pde-ring-bloom{0%{opacity:0;transform:translate(-50%,-50%) scale(.35)}22%{opacity:.7}100%{opacity:0;transform:translate(-50%,-50%) scale(1.5)}}
@keyframes pde-mote-drift{0%{opacity:0;transform:translate(-50%,-50%) scale(.3)}18%{opacity:1}100%{opacity:0;transform:translate(calc(-50% + var(--dx)),calc(-50% + var(--dy))) rotate(var(--turn)) scale(.45)}}
@keyframes pde-parent-left{0%,12%,100%{opacity:1;transform:none}38%{opacity:.8;transform:translate(26px,-8px) scale(.88)}58%{opacity:.35;transform:translate(40px,0) scale(.72)}}
@keyframes pde-parent-right{0%,12%,100%{opacity:1;transform:none}38%{opacity:.8;transform:translate(-26px,-8px) scale(.88)}58%{opacity:.35;transform:translate(-40px,0) scale(.72)}}
@keyframes pde-egg-arrive{0%{opacity:0;transform:translate(-50%,calc(-50% + 20px)) scale(.35) rotate(-8deg)}48%{opacity:1;transform:translate(-50%,calc(-50% - 7px)) scale(1.05) rotate(3deg)}74%{opacity:1;transform:translate(-50%,calc(-50% + 2px)) scale(.98) rotate(-1deg)}100%{opacity:1;transform:translate(-50%,-50%) scale(1) rotate(0)}}
@media(max-width:600px){.pde-scene{height:230px;border-radius:16px}.pde-halo{width:210px;height:210px}.pde-parent{top:34%}.pde-parent strong{font-size:11px}.pde-caption h3{font-size:24px}.pde-caption p{font-size:13px}}
html[data-motion="off"] .pde-scene *{animation:none!important}
html[data-motion="off"] .pde-scene .pde-result{opacity:1!important;transform:translate(-50%,-50%)!important}
html[data-motion="off"] .pde-ring,html[data-motion="off"] .pde-motes,html[data-motion="off"] .pde-skip{display:none}
@media(prefers-reduced-motion:reduce){.pde-scene *{animation:none!important}.pde-scene .pde-result{opacity:1!important;transform:translate(-50%,-50%)!important}.pde-ring,.pde-motes,.pde-skip{display:none}}

.playdate-egg-milestone{margin:16px 0 12px}
.playdate-egg-milestone .friendship-tier-seal strong{font-size:14px;line-height:1.5;color:inherit}
.playdate-egg-milestone .friendship-milestone-reward{display:flex;align-items:center;justify-content:center;gap:6px;font-size:13px;color:#90673d;margin:7px 0 0}
