/* Decorative guardian stays clear of the navigation and booking controls. */
.hero > .baby-dokkaebi{position:absolute!important;display:block;z-index:3;right:4%;bottom:12%;width:23%;aspect-ratio:1152/1366;background:url('/baby-dokkaebi-v585.webp') center bottom/contain no-repeat;pointer-events:none;}
body.entering .hero > .baby-dokkaebi{visibility:hidden}
@media(min-aspect-ratio:1/1){.hero > .baby-dokkaebi{right:7%;bottom:12%;width:clamp(90px,12vw,190px)}}

@media(max-aspect-ratio:999999/1000000){body.invitation-arrived .hero > .baby-dokkaebi{z-index:100;right:0;bottom:7%;width:18%}}

/* Small staggered gold motes originate at the round head of the wand. */
.baby-dokkaebi .wand-gold-dust{position:absolute;left:23%;top:43%;width:2px;height:2px;border-radius:50%;background:#fff3bc;box-shadow:0 0 3px #ffe29a,0 0 7px #dca441;opacity:0;animation:wand-gold-drift var(--duration) linear var(--delay) infinite;pointer-events:none;will-change:transform,opacity}
.baby-dokkaebi .wand-gold-glint{position:absolute;left:22%;top:42%;width:12%;aspect-ratio:1;transform:translate(-50%,-50%);background:radial-gradient(ellipse,#fffbe2 0%,#ffe39a88 18%,transparent 65%);opacity:0;animation:wand-gold-pulse 2.7s ease-in-out infinite;pointer-events:none}
.baby-dokkaebi .wand-gold-glint::after{content:'';position:absolute;inset:18%;background:#fff6cc;clip-path:polygon(50% 0,58% 40%,100% 50%,58% 58%,50% 100%,42% 58%,0 50%,42% 42%)}
@keyframes wand-gold-drift{0%{opacity:0;transform:translate(0,0) scale(.4)}18%{opacity:.9}45%{opacity:.55}65%{opacity:.95}100%{opacity:0;transform:translate(var(--dx),var(--dy)) scale(.25)}}
@keyframes wand-gold-pulse{0%,100%{opacity:.12}40%{opacity:.8}60%{opacity:.22}75%{opacity:.55}}
body.entering .baby-dokkaebi i,body.entering .baby-dokkaebi b{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.baby-dokkaebi .wand-gold-dust{animation:none;opacity:0}.baby-dokkaebi .wand-gold-glint{animation:none;opacity:.3}}

/* About page guardian is attached to the viewport, outside scrolling panels. */
body > .intro-dokkaebi{display:none;position:fixed;z-index:110;left:max(10px,env(safe-area-inset-left));top:calc(112px + env(safe-area-inset-top));width:clamp(58px,18vw,84px);aspect-ratio:1152/1366;background:url('/baby-dokkaebi-v585.webp') center bottom/contain no-repeat;pointer-events:none}
body[data-manual-page="1"] > .intro-dokkaebi{display:block}
body.entering > .intro-dokkaebi{display:none}
@media(min-aspect-ratio:1/1){body > .intro-dokkaebi{left:24px;top:110px;width:100px}}

.intro-dokkaebi .scroll-gold-dust{position:absolute;width:2px;height:2px;background:#fff1b6;border-radius:50%;box-shadow:0 0 4px #ffda77,0 0 7px #dfb24f;pointer-events:none;animation:dokkaebi-scroll-dust 3s ease-out both}
@keyframes dokkaebi-scroll-dust{0%{opacity:0;transform:translate(0,-2px) scale(.4)}15%{opacity:1}45%{opacity:.65}65%{opacity:.85}100%{opacity:0;transform:translate(var(--trail-x),var(--trail-y)) scale(.15)}}
@media(prefers-reduced-motion:reduce){.intro-dokkaebi .scroll-gold-dust{display:none}}

.footer-card-wrap{position:relative;width:min(100%,440px);margin:22px auto 0;overflow:visible}
.footer-card-wrap .footer-business-card{margin:0!important;width:100%!important}
.card-dokkaebi-seat{position:absolute;top:0;left:-4%;width:22%;transform:translateY(-55%);z-index:3;pointer-events:none}
.card-dokkaebi-seat > .card-dokkaebi{display:block!important;position:relative;inset:auto;width:100%;aspect-ratio:1152/1366;background:url('/dokkaebi-seated-v590.webp') center/contain no-repeat;pointer-events:none}

body[data-dokkaebi-footer="true"] > .intro-dokkaebi{opacity:0;visibility:hidden;transition:opacity .25s ease,visibility .25s}
body > .intro-dokkaebi{transition:opacity .25s ease}
.card-dokkaebi .scroll-gold-dust{position:absolute;width:2px;height:2px;background:#fff1b6;border-radius:50%;box-shadow:0 0 4px #ffda77,0 0 7px #dfb24f;animation:dokkaebi-scroll-dust 3s ease-out both}
