.zd,.zd-stage{min-height:100dvh}.zd{--zd-star:var(--accent);--zd-spark2:var(--accent2);--zd-flash:var(--surface);--zd-tile:clamp(108px,36vw,172px);--zd-reach:min(46vw,240px);display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:clamp(12px,2.4dvh,22px);width:100%;max-width:520px;margin:0 auto;color:var(--ink);padding:max(72px,calc(env(safe-area-inset-top, 0px) + 60px)) max(16px,env(safe-area-inset-left,0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(16px,env(safe-area-inset-right,0px))}.zd-head{text-align:center}.zd-title{font-size:clamp(1.7rem,1.2rem + 3vw,2.5rem);line-height:1.1;margin:0}.zd-intro{margin:10px auto 0;max-width:34ch;color:var(--muted);font-family:var(--body);line-height:1.5}.zd-sky{position:relative;display:flex;justify-content:space-between;align-items:flex-start;width:100%;max-width:440px}.zd-person{margin:0;display:flex;flex-direction:column;align-items:center;gap:10px}.zd-person,.zd-tile{width:var(--zd-tile)}.zd-tile{position:relative;z-index:1;box-sizing:border-box;overflow:hidden;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.zd-tile img{display:block;width:100%;height:auto;aspect-ratio:1;border-radius:inherit;pointer-events:none}[data-theme=decembox] .zd-tile img,[data-theme=romantic] .zd-tile img{border-radius:1px}.zd-person--right .zd-tile{z-index:2}[data-theme=decembox] .zd-person--right .zd-tile,[data-theme=romantic] .zd-person--right .zd-tile{transform:rotate(1.5deg)}[data-theme=playful] .zd-person--left .zd-tile{transform:rotate(-2deg)}[data-theme=playful] .zd-person--right .zd-tile{transform:rotate(2deg)}.zd[data-phase=idle] .zd-tile img{animation:zd-float 4.6s ease-in-out infinite alternate}.zd[data-phase=idle] .zd-person--right .zd-tile img{animation-delay:-2.3s}@keyframes zd-float{0%{transform:scale(1)}to{transform:scale(1.045)}}.zd[data-phase=burst] .zd-tile,.zd[data-phase=dance] .zd-tile{will-change:transform}.zd[data-phase=burst] .zd-tile{animation:zd-vanish .22s ease-out both}@keyframes zd-vanish{to{opacity:0}}.zd[data-phase=stars] .zd-tile{animation:zd-back .5s ease-out both}.zd[data-phase=stars] .zd-tile img{animation:zd-back-img .6s cubic-bezier(.23,1,.32,1) both}@keyframes zd-back{0%{opacity:0}to{opacity:1}}@keyframes zd-back-img{0%{transform:scale(.8)}to{transform:scale(1)}}.zd-caption{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center}.zd-constellation{width:44px;height:44px;color:var(--zd-star)}.zd-who{display:flex;flex-direction:column;align-items:center;gap:2px}.zd-name{font-size:.7rem;color:var(--muted)}.zd-sign{font-size:clamp(1.05rem,.9rem + 1vw,1.35rem);line-height:1.15;font-weight:600}.zd-dates{font-family:var(--body);font-size:.78rem;line-height:1.3;color:var(--muted);max-width:17ch;text-wrap:balance}.zd[data-phase=burst] .zd-caption,.zd[data-phase=dance] .zd-caption{opacity:.35}.zd-caption{transition:opacity .3s ease-out}.zd-burst{display:none;position:absolute;left:50%;top:calc(var(--zd-tile) / 2);width:0;height:0;z-index:3;pointer-events:none}.zd[data-phase=burst] .zd-burst,.zd[data-phase=stars] .zd-burst{display:block}.zd-flash,.zd-ring,.zd-spark{position:absolute;left:0;top:0;will-change:transform,opacity}.zd-flash{background:radial-gradient(circle,var(--zd-flash) 0,var(--zd-star) 38%,transparent 70%);animation:zd-flash .7s cubic-bezier(.16,1,.3,1) both}.zd-flash,.zd-ring{width:var(--zd-tile);height:var(--zd-tile);margin:calc(var(--zd-tile) / -2) 0 0 calc(var(--zd-tile) / -2);border-radius:50%}.zd-ring{border:3px solid var(--zd-spark2);box-sizing:border-box;animation:zd-ring .8s cubic-bezier(.16,1,.3,1) both}@keyframes zd-flash{0%{transform:scale(.2);opacity:.95}to{transform:scale(3);opacity:0}}@keyframes zd-ring{0%{transform:scale(.3);opacity:1}to{transform:scale(3.4);opacity:0}}.zd-spark{width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%;background:var(--zd-star);animation:zd-spark .85s cubic-bezier(.16,1,.3,1) var(--sd) both}.zd-spark[data-kind="1"]{background:var(--zd-spark2);border-radius:0;width:16px;height:16px;margin:-8px 0 0 -8px;clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%)}.zd-spark[data-kind="2"]{background:var(--ink);width:7px;height:7px;margin:-3.5px 0 0 -3.5px}@keyframes zd-spark{0%{transform:translateZ(0) scale(.3);opacity:1}70%{opacity:1}to{transform:translate3d(calc(var(--sx) * var(--zd-reach)),calc(var(--sy) * var(--zd-reach)),0) scale(var(--ss)) rotate(140deg);opacity:0}}.zd-result{width:100%;display:flex;flex-direction:column;align-items:center;gap:14px}.zd-result:not([data-shown]){display:none}.zd-rating{display:flex;gap:clamp(4px,1.6vw,10px);margin:0}.zd-star{display:block;width:clamp(34px,10.5vw,50px);height:clamp(34px,10.5vw,50px)}.zd-star svg{display:block;width:100%;height:100%;overflow:visible}.zd-star-line{fill:none;stroke:color-mix(in srgb,var(--ink) 38%,transparent);stroke-width:1.4;stroke-linejoin:round}.zd-star-fill{fill:var(--zd-star);stroke:var(--zd-star);stroke-width:1.4;stroke-linejoin:round}.zd[data-phase=stars] .zd-star{animation:zd-star-in .3s ease-out calc(var(--i) * .19s) both}.zd[data-phase=stars] .zd-star[data-fill]{animation:zd-pop .45s cubic-bezier(.34,1.56,.64,1) calc(var(--i) * .19s) both}@keyframes zd-star-in{0%{opacity:0}to{opacity:1}}@keyframes zd-pop{0%{transform:scale(0) rotate(-40deg);opacity:0}to{transform:scale(1) rotate(0);opacity:1}}.zd-text{width:100%;padding:16px 18px 18px;outline:none;transition:opacity .5s ease-out,transform .5s cubic-bezier(.23,1,.32,1)}.zd[data-phase=stars] .zd-text{opacity:0;transform:translateY(10px)}.zd-text-label{margin:0 0 6px;font-size:.72rem;color:var(--muted)}.zd-text-body{margin:0;font-family:var(--body);font-size:clamp(1rem,.95rem + .3vw,1.12rem);line-height:1.6;white-space:pre-line;overflow-wrap:break-word}.zd-foot{display:flex;align-items:center;justify-content:center;min-height:48px}.zd-button{min-height:48px;padding:0 22px;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.zd-button:active{transform:scale(.97)}.zd-button .theme-label{font-size:.82rem}.zd-working{margin:0;color:var(--muted);font-size:.8rem;animation:zd-wait 1.1s ease-in-out infinite alternate}@keyframes zd-wait{0%{opacity:.45}to{opacity:1}}[data-theme=cozy] .zd{--zd-flash:var(--cozy-hearth,var(--accent2))}[data-theme=cozy] .zd-spark[data-kind="0"]{width:18px;height:18px;margin:-9px 0 0 -9px;background:radial-gradient(circle,var(--zd-star) 0 30%,transparent 70%)}[data-theme=cozy] .zd-spark[data-kind="2"]{background:var(--zd-spark2)}[data-theme=minimal] .zd-spark{width:7px;height:7px;margin:-3.5px 0 0 -3.5px;clip-path:none;border-radius:50%;background:var(--accent)}[data-theme=minimal] .zd-spark[data-kind="2"]{background:var(--ink)}[data-theme=minimal] .zd-ring{border-width:1.5px;border-color:var(--ink)}[data-theme=minimal] .zd-flash{background:radial-gradient(circle,var(--accent) 0 30%,transparent 62%)}[data-theme=minimal] .zd-dates,[data-theme=minimal] .zd-name{font-family:var(--label);letter-spacing:.02em}[data-theme=playful] .zd-spark[data-kind="0"],[data-theme=playful] .zd-spark[data-kind="2"]{width:13px;height:13px;margin:-6.5px 0 0 -6.5px;border-radius:3px;border:2px solid var(--ink);box-sizing:border-box}[data-theme=playful] .zd-spark[data-kind="2"]{background:var(--surface)}[data-theme=playful] .zd-ring{border:5px solid var(--ink)}[data-theme=playful] .zd-star-fill,[data-theme=playful] .zd-star-line{stroke:var(--ink);stroke-width:1.8}[data-theme=night] .zd-spark[data-kind="2"]{background:var(--zd-star);opacity:.8}[data-theme=night] .zd-text-body{font-weight:300}[data-theme=romantic] .zd-spark[data-kind="1"]{clip-path:path("M8 14.5C3 10.6 1 8.2 1 5.4 1 3.3 2.6 1.8 4.6 1.8c1.4 0 2.6.7 3.4 1.9.8-1.2 2-1.9 3.4-1.9 2 0 3.6 1.5 3.6 3.6 0 2.8-2 5.2-7 9.1z")}[data-theme=romantic] .zd-text-body{font-family:var(--label);font-size:clamp(1.35rem,1.15rem + .8vw,1.7rem);line-height:1.3}[data-theme=nordic] .zd-spark[data-kind="1"]{clip-path:polygon(38% 0,62% 0,62% 38%,100% 38%,100% 62%,62% 62%,62% 100%,38% 100%,38% 62%,0 62%,0 38%,38% 38%)}[data-theme=nordic] .zd-spark[data-kind="0"]{border-radius:0;transform-origin:center}[data-theme=decembox] .zd-spark[data-kind="0"],[data-theme=decembox] .zd-spark[data-kind="2"]{width:12px;height:9px;border-radius:1px}[data-theme=decembox] .zd-spark[data-kind="2"]{background:var(--door-ink,var(--ink))}[data-theme=decembox] .zd-text{padding:20px 20px 22px}@media (max-height:640px){.zd{--zd-tile:clamp(96px,30vw,132px);gap:10px}.zd-constellation{width:34px;height:34px}}@media (prefers-reduced-motion:reduce){.zd-star,.zd-tile,.zd-tile img,.zd-working{animation:none!important}.zd-caption,.zd-text{transition:none}.zd-burst{display:none!important}}.zd-others{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:12px 16px;width:100%}.zd-other{display:flex;flex-direction:column;align-items:center;gap:4px;width:clamp(64px,19vw,88px);text-align:center}.zd-other-tile{width:100%;box-sizing:border-box;overflow:hidden}.zd-other-tile img{display:block;width:100%;height:auto;aspect-ratio:1;border-radius:inherit;pointer-events:none}[data-theme=decembox] .zd-other-tile img,[data-theme=romantic] .zd-other-tile img{border-radius:1px}.zd-other-who{display:flex;flex-direction:column;align-items:center;gap:1px}.zd-other-sign{font-size:.9rem;line-height:1.15;font-weight:600}.zd[data-phase=idle] .zd-other-tile{animation:zd-float 4.6s ease-in-out infinite alternate;animation-delay:calc(var(--zo-i) * -1.1s)}.zd-other-tile{position:relative;z-index:2}.zd[data-phase=burst] .zd-other-tile,.zd[data-phase=dance] .zd-other-tile{will-change:transform}.zd[data-phase=burst] .zd-other-who,.zd[data-phase=dance] .zd-other-who{opacity:.35}.zd-other-who{transition:opacity .3s ease-out}.zd[data-phase=burst] .zd-other-tile{animation:zd-vanish .22s ease-out both}.zd[data-phase=stars] .zd-other-tile{animation:zd-back .5s ease-out both}@media (max-height:640px){.zd-other{width:clamp(56px,16vw,72px)}}@media (prefers-reduced-motion:reduce){.zd-other-tile{animation:none!important}.zd-other-who{transition:none}}