/* ===== 棉棉 Puff · 角色组件样式 =====
 * 所有类名以 pf- 开头，不会污染你的 App 样式。
 * 尺寸：--pf-size 控制角色大小（默认 420px），--pf-k = size / 420。
 */
.pf-root{position:relative;width:100%;height:100%;min-height:var(--pf-size,420px);overflow:hidden;display:flex;align-items:center;justify-content:center;background:linear-gradient(165deg,var(--pf-stage-bg,#FFEFF5) 0%,#FFFFFF 62%,var(--pf-stage-bg,#FFEFF5) 100%);transition:background .45s ease;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none}
.pf-root.pf-no-bg{background:none}
.pf-tap{all:unset;cursor:pointer;display:block;border-radius:40px;position:relative;touch-action:manipulation}
.pf-tap:focus-visible{outline:3px solid #2A2730;outline-offset:6px}
.pf-glow{position:absolute;left:50%;top:52%;width:calc(var(--pf-size,420px) * 1.33);height:calc(var(--pf-size,420px) * 1.33);transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,var(--pf-glow,rgba(255,198,218,.55)) 0%,rgba(255,255,255,0) 65%)}
.pf-root.pf-no-bg .pf-glow,.pf-root.pf-no-bg .pf-deco{display:none}
.pf-deco{position:absolute}
.pf-particles{position:absolute;left:50%;top:50%;width:420px;height:420px;margin:-210px 0 0 -210px;transform:scale(var(--pf-k,1));pointer-events:none;z-index:1}
.pf-fogl svg{display:block;width:100%;height:100%}
.pf-g-squeeze{display:none}
.pf-root.is-squeeze .pf-g-awake,.pf-root.is-squeeze .pf-g-sleep{display:none}
.pf-root.is-squeeze .pf-g-squeeze{display:inline}

.pf-stage{position:relative;width:var(--pf-size,420px);height:var(--pf-size,420px);perspective:700px;perspective-origin:50% 40%}
.pf-shadow{position:absolute;left:24%;right:24%;bottom:5%;height:7%;border-radius:50%;background:rgba(60,40,90,.2);filter:blur(7px);animation:pf-shadow 3.4s ease-in-out infinite}
.pf-shadow.hop{animation:pf-shadowhop .9s ease 1}
.pf-shadow.float{animation:pf-shadowfloat 3.6s ease-in-out 1}
.pf-shadow.press{animation:pf-shadowpress 2.6s ease 1}
.pf-hop{position:absolute;inset:0;transform-origin:50% 88%}
.pf-hop.hop{animation:pf-hop .9s cubic-bezier(.3,.7,.4,1) 1}
.pf-hop.float{animation:pf-float 3.6s cubic-bezier(.45,.05,.35,1) 1}
.pf-hop.press{transform-origin:50% 55%;animation:pf-press 2.6s cubic-bezier(.33,.1,.25,1) 1}
.pf-breathe{width:100%;height:100%;transform-origin:50% 88%;animation:pf-breathe 3.4s ease-in-out infinite}
.pf-breathe.slow{animation:pf-breathe-deep 5.6s ease-in-out infinite}
.pf-svg{display:block;width:100%;height:100%;overflow:visible}
.pf-bump{transform-box:fill-box;transform-origin:center;animation:pf-fluff 3.4s ease-in-out infinite}
.pf-d1{animation-delay:-.2s}.pf-d2{animation-delay:-.7s}.pf-d3{animation-delay:-1.2s}.pf-d4{animation-delay:-1.7s}.pf-d5{animation-delay:-2.2s}.pf-d6{animation-delay:-2.7s}.pf-d7{animation-delay:-3.1s}
.pf-eye{transform-box:fill-box;transform-origin:center;animation:pf-blink 4.8s infinite}
.pf-eyes,.pf-blushes{transform-box:fill-box;transform-origin:center}
.pf-patch{opacity:0;transform-box:fill-box;transform-origin:center}
.pf-hop.press .pf-patch{animation:pf-patch 2.6s ease 1}
.pf-hop.press .pf-eyes{animation:pf-squint 2.6s ease 1}
.pf-hop.press .pf-blushes{animation:pf-blushup 2.6s ease 1}
.pf-ln{fill:none;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round}
.pf-mouth{fill:none;stroke-width:2.8;stroke-linecap:round}
.pf-spec{fill:none;stroke-width:4.5;stroke-linecap:round}
.pf-rim{fill:none;stroke-width:3;stroke-linecap:round}
.pf-band{fill:none;stroke-width:7;stroke-linecap:round}
.pf-band2{fill:none;stroke-width:2.2;stroke-linecap:round}
.pf-bandt{fill:none;stroke-width:6;stroke-linecap:round}
.pf-ring{fill:none;stroke-width:1.6}
.s-p1{stop-color:#FFFFFF;stop-opacity:1}.s-p2{stop-color:#C4C5D2;stop-opacity:1}.s-p3{stop-color:#E8E8EF;stop-opacity:1}.s-p4{stop-color:#A9AABA;stop-opacity:1}
.pf-tube{fill:none;stroke-width:7.5;stroke-linecap:round}
.s-a1{stop-color:#F7F8FB;stop-opacity:1}.s-a2{stop-color:#DCDEE6;stop-opacity:1}.s-a3{stop-color:#B3B6C5;stop-opacity:1}.s-d1{stop-color:#E4E6EC;stop-opacity:1}.s-d2{stop-color:#C0C3CF;stop-opacity:1}
.pf-tube2{fill:none;stroke-width:4.5;stroke-linecap:round}
.pf-fold{fill:none;stroke-width:2.4;stroke-linecap:round}
.pf-rib{fill:none;stroke-width:2.2;stroke-linecap:round;opacity:.3}
.pf-z{font-family:Nunito,sans-serif;font-weight:900;font-size:20px;transform-box:fill-box;animation:pf-z 2.8s ease-in-out infinite;opacity:0}
.pf-z2{animation-delay:1.4s;font-size:14px}
.s-w7{stop-color:#FFFFFF;stop-opacity:.8}.s-w5{stop-color:#FFFFFF;stop-opacity:.5}.s-w0{stop-color:#FFFFFF;stop-opacity:0}
@keyframes pf-breathe{0%,100%{transform:scale(.955,.94)}50%{transform:scale(1.045,1.05)}}
@keyframes pf-breathe-deep{0%,100%{transform:scale(.97,.93)}50%{transform:scale(1.06,1.03)}}
@keyframes pf-fluff{0%,100%{transform:scale(.965)}50%{transform:scale(1.045)}}
@keyframes pf-shadow{0%,100%{transform:scaleX(.94)}50%{transform:scaleX(1.05)}}
@keyframes pf-shadowhop{0%{transform:scaleX(1)}15%{transform:scaleX(1.12)}45%{transform:scaleX(.55);opacity:.5}62%{transform:scaleX(.55);opacity:.5}82%{transform:scaleX(1.15);opacity:1}100%{transform:scaleX(1)}}
@keyframes pf-hop{0%{transform:translateY(0) scale(1,1)}15%{transform:translateY(0) scale(1.14,.84)}42%{transform:translateY(-26%) scale(.9,1.12)}60%{transform:translateY(-29%) scale(1,1)}80%{transform:translateY(0) scale(1.13,.87)}91%{transform:translateY(0) scale(.96,1.04)}100%{transform:translateY(0) scale(1,1)}}
@keyframes pf-float{0%{transform:translate(0,0) rotate(0deg) scale(1,1)}10%{transform:translate(0,1%) rotate(0deg) scale(1.08,.9)}22%{transform:translate(-10%,-14%) rotate(-8deg) scale(.95,1.06)}38%{transform:translate(10%,-22%) rotate(8deg) scale(1.02,.98)}54%{transform:translate(-8%,-30%) rotate(-6deg) scale(1,1)}66%{transform:translate(0,-34%) rotate(0deg) scale(1,1)}76%{transform:translate(0,-30%) rotate(0deg) scale(1,1)}86%{transform:translate(0,-33%) rotate(0deg) scale(1,1)}95%{transform:translate(0,0) rotate(0deg) scale(1.1,.9)}100%{transform:translate(0,0) rotate(0deg) scale(1,1)}}
@keyframes pf-shadowfloat{0%{transform:translateX(0) scaleX(1);opacity:1}10%{transform:translateX(0) scaleX(1.1);opacity:1}22%{transform:translateX(-10%) scaleX(.75);opacity:.7}38%{transform:translateX(10%) scaleX(.62);opacity:.55}54%{transform:translateX(-8%) scaleX(.5);opacity:.45}66%,86%{transform:translateX(0) scaleX(.45);opacity:.4}95%{transform:translateX(0) scaleX(1.15);opacity:1}100%{transform:translateX(0) scaleX(1);opacity:1}}
@keyframes pf-press{0%{transform:translateY(0%) translateZ(0px) rotateX(0deg) scale(1,1)}12%{transform:translateY(2%) translateZ(-70px) rotateX(10deg) scale(1.04,.96)}30%{transform:translateY(-3%) translateZ(360px) rotateX(-8deg) scale(.98,1.03)}37%{transform:translateY(0%) translateZ(395px) rotateX(0deg) scale(1.13,.93)}62%{transform:translateY(0%) translateZ(392px) rotateX(0deg) scale(1.11,.94)}72%{transform:translateY(-1%) translateZ(300px) rotateX(6deg) scale(.98,1.02)}86%{transform:translateY(1%) translateZ(-30px) rotateX(-3deg) scale(1.03,.97)}100%{transform:translateY(0%) translateZ(0px) rotateX(0deg) scale(1,1)}}
@keyframes pf-shadowpress{0%{opacity:1;transform:scaleX(1)}12%{opacity:1;transform:scaleX(.9)}30%,70%{opacity:0;transform:scaleX(.5)}100%{opacity:1;transform:scaleX(1)}}
@keyframes pf-patch{0%,33%{opacity:0;transform:scale(.6)}38%,62%{opacity:.28;transform:scale(1)}70%,100%{opacity:0;transform:scale(1.05)}}
@keyframes pf-squint{0%,33%{transform:scale(1,1)}38%,64%{transform:scale(1.3,.45)}72%,100%{transform:scale(1,1)}}
@keyframes pf-blushup{0%,33%{transform:scale(1,1)}38%,64%{transform:scale(1.35,1.15)}74%,100%{transform:scale(1,1)}}
@keyframes pf-blink{0%,93%,100%{transform:scaleY(1)}95.5%{transform:scaleY(.1)}}
@keyframes pf-z{0%{opacity:0;transform:translate(0,0)}25%{opacity:.9}100%{opacity:0;transform:translate(14px,-28px)}}
.pf-bg{position:absolute;inset:0;pointer-events:none}
.pf-bg.press{animation:pf-recede 2.6s ease 1}
@keyframes pf-recede{0%,12%{filter:blur(0px);transform:scale(1)}34%,66%{filter:blur(6px);transform:scale(.92)}100%{filter:blur(0px);transform:scale(1)}}
.pf-glass{position:absolute;inset:0;pointer-events:none;opacity:0;background:radial-gradient(ellipse 46% 34% at 50% 58%,rgba(255,255,255,.34),rgba(255,255,255,0) 72%),linear-gradient(118deg,rgba(255,255,255,0) 26%,rgba(255,255,255,.32) 35%,rgba(255,255,255,0) 42%,rgba(255,255,255,0) 54%,rgba(255,255,255,.16) 58%,rgba(255,255,255,0) 63%),radial-gradient(ellipse 80% 80% at 50% 50%,rgba(20,10,30,0) 60%,rgba(20,10,30,.16) 100%)}
.pf-glass.press{animation:pf-glass 2.6s ease 1}
@keyframes pf-glass{0%,33%{opacity:0}38%,64%{opacity:1}100%{opacity:0}}
.pf-hop.fog{transform-origin:50% 55%;animation:pf-fog 5.2s ease-in-out 1}
.pf-shadow.fog{animation:pf-shadowfog 5.2s ease 1}
.pf-hop.fog .pf-eyes{animation:pf-hah 5.2s ease 1}
@keyframes pf-fog{0%{transform:translateX(0%) translateZ(0px) rotate(0deg) scale(1,1)}12%{transform:translateX(0%) translateZ(230px) rotate(0deg) scale(1,1)}16%{transform:translateX(0%) translateZ(230px) rotate(0deg) scale(.95,1.05)}21%{transform:translateX(0%) translateZ(245px) rotate(0deg) scale(1.1,.92)}30%{transform:translateX(0%) translateZ(230px) rotate(0deg) scale(1,1)}38%{transform:translateX(-5%) translateZ(230px) rotate(-7deg) scale(1,1)}46%{transform:translateX(5%) translateZ(230px) rotate(7deg) scale(1,1)}54%{transform:translateX(-5%) translateZ(230px) rotate(-7deg) scale(1,1)}62%{transform:translateX(5%) translateZ(230px) rotate(7deg) scale(1,1)}70%{transform:translateX(0%) translateZ(230px) rotate(0deg) scale(1,1)}80%{transform:translateX(0%) translateZ(0px) rotate(0deg) scale(1,1)}100%{transform:translateX(0%) translateZ(0px) rotate(0deg) scale(1,1)}}
@keyframes pf-shadowfog{0%{opacity:1}12%,78%{opacity:0}100%{opacity:1}}
@keyframes pf-hah{0%,15%{transform:scale(1,1)}18%,25%{transform:scale(1.15,.3)}30%,100%{transform:scale(1,1)}}
.pf-fogl{position:absolute;inset:0;pointer-events:none;opacity:0;z-index:1}
.pf-fogl.fog{animation:pf-fogin 5.2s ease 1}
@keyframes pf-fogin{0%,16%{opacity:0;transform:scale(.55)}28%{opacity:1;transform:scale(1)}84%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1.02)}}
.s-f8{stop-color:#FFFFFF;stop-opacity:.84}.s-f5{stop-color:#FFFFFF;stop-opacity:.62}
.pf-wp{fill:none;stroke-width:46;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1}
.pf-fogl.fog .pf-wp1{animation:pf-wipe1 5.2s linear 1}
.pf-fogl.fog .pf-wp2{animation:pf-wipe2 5.2s linear 1}
.pf-fogl.fog .pf-wp3{animation:pf-wipe3 5.2s linear 1}
@keyframes pf-wipe1{0%,34%{stroke-dashoffset:1}40%,100%{stroke-dashoffset:0}}
@keyframes pf-wipe2{0%,42%{stroke-dashoffset:1}48%,100%{stroke-dashoffset:0}}
@keyframes pf-wipe3{0%,50%{stroke-dashoffset:1}68%,100%{stroke-dashoffset:0}}
.pf-hop.tapa{animation:pf-tapa .3s ease 1}.pf-hop.tapb{animation:pf-tapb .3s ease 1}
@keyframes pf-tapa{0%{transform:scale(1,1)}35%{transform:scale(1.08,.9)}70%{transform:scale(.97,1.04)}100%{transform:scale(1,1)}}
@keyframes pf-tapb{0%{transform:scale(1,1)}35%{transform:scale(1.08,.9)}70%{transform:scale(.97,1.04)}100%{transform:scale(1,1)}}
.pf-cot{position:absolute;pointer-events:none;z-index:1;opacity:0}
.pf-cot.off{display:none}
.pf-cot svg{display:block;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 3px 3px rgba(60,40,90,.14))}
.pf-wisp{fill:none;stroke-width:1.4;stroke-linecap:round}
.pf-d1a{animation:pf-d1a 2.2s cubic-bezier(.4,0,.6,1) forwards}.pf-d1b{animation:pf-d1b 2.2s cubic-bezier(.4,0,.6,1) forwards}
.pf-d2a{animation:pf-d2a 2.2s cubic-bezier(.4,0,.6,1) forwards}.pf-d2b{animation:pf-d2b 2.2s cubic-bezier(.4,0,.6,1) forwards}
.pf-d3a{animation:pf-d3a 2.2s cubic-bezier(.4,0,.6,1) forwards}.pf-d3b{animation:pf-d3b 2.2s cubic-bezier(.4,0,.6,1) forwards}
.pf-d4a{animation:pf-d4a 2.2s cubic-bezier(.4,0,.6,1) forwards}.pf-d4b{animation:pf-d4b 2.2s cubic-bezier(.4,0,.6,1) forwards}
@keyframes pf-d1a{0%{transform:translate(0px,0px) rotate(0deg) scale(.4,.4);opacity:0}10%{transform:translate(-28px,-34px) rotate(-12deg) scale(1,1);opacity:1}28%{transform:translate(-56px,-26px) rotate(10deg) scale(1,1)}46%{transform:translate(-70px,26px) rotate(-12deg) scale(1,1)}64%{transform:translate(-90px,88px) rotate(10deg) scale(1,1)}82%{transform:translate(-100px,150px) rotate(-4deg) scale(1,1)}88%{transform:translate(-101px,154px) rotate(0deg) scale(1.08,.88)}94%{transform:translate(-101px,152px) rotate(0deg) scale(1,1);opacity:1}100%{transform:translate(-101px,152px) rotate(0deg) scale(.96,.96);opacity:0}}
@keyframes pf-d1b{0%{transform:translate(0px,0px) rotate(0deg) scale(.4,.4);opacity:0}10%{transform:translate(-28px,-34px) rotate(-12deg) scale(1,1);opacity:1}28%{transform:translate(-56px,-26px) rotate(10deg) scale(1,1)}46%{transform:translate(-70px,26px) rotate(-12deg) scale(1,1)}64%{transform:translate(-90px,88px) rotate(10deg) scale(1,1)}82%{transform:translate(-100px,150px) rotate(-4deg) scale(1,1)}88%{transform:translate(-101px,154px) rotate(0deg) scale(1.08,.88)}94%{transform:translate(-101px,152px) rotate(0deg) scale(1,1);opacity:1}100%{transform:translate(-101px,152px) rotate(0deg) scale(.96,.96);opacity:0}}
@keyframes pf-d2a{0%{transform:translate(0px,0px) rotate(0deg) scale(.4,.4);opacity:0}10%{transform:translate(-12px,-44px) rotate(10deg) scale(1,1);opacity:1}28%{transform:translate(-34px,-36px) rotate(-10deg) scale(1,1)}46%{transform:translate(-26px,24px) rotate(12deg) scale(1,1)}64%{transform:translate(-46px,86px) rotate(-8deg) scale(1,1)}82%{transform:translate(-50px,148px) rotate(4deg) scale(1,1)}88%{transform:translate(-50px,152px) rotate(0deg) scale(1.08,.88)}94%{transform:translate(-50px,150px) rotate(0deg) scale(1,1);opacity:1}100%{transform:translate(-50px,150px) rotate(0deg) scale(.96,.96);opacity:0}}
@keyframes pf-d2b{0%{transform:translate(0px,0px) rotate(0deg) scale(.4,.4);opacity:0}10%{transform:translate(-12px,-44px) rotate(10deg) scale(1,1);opacity:1}28%{transform:translate(-34px,-36px) rotate(-10deg) scale(1,1)}46%{transform:translate(-26px,24px) rotate(12deg) scale(1,1)}64%{transform:translate(-46px,86px) rotate(-8deg) scale(1,1)}82%{transform:translate(-50px,148px) rotate(4deg) scale(1,1)}88%{transform:translate(-50px,152px) rotate(0deg) scale(1.08,.88)}94%{transform:translate(-50px,150px) rotate(0deg) scale(1,1);opacity:1}100%{transform:translate(-50px,150px) rotate(0deg) scale(.96,.96);opacity:0}}
@keyframes pf-d3a{0%{transform:translate(0px,0px) rotate(0deg) scale(.4,.4);opacity:0}10%{transform:translate(12px,-44px) rotate(-10deg) scale(1,1);opacity:1}28%{transform:translate(34px,-36px) rotate(10deg) scale(1,1)}46%{transform:translate(26px,24px) rotate(-12deg) scale(1,1)}64%{transform:translate(46px,86px) rotate(8deg) scale(1,1)}82%{transform:translate(50px,148px) rotate(-4deg) scale(1,1)}88%{transform:translate(50px,152px) rotate(0deg) scale(1.08,.88)}94%{transform:translate(50px,150px) rotate(0deg) scale(1,1);opacity:1}100%{transform:translate(50px,150px) rotate(0deg) scale(.96,.96);opacity:0}}
@keyframes pf-d3b{0%{transform:translate(0px,0px) rotate(0deg) scale(.4,.4);opacity:0}10%{transform:translate(12px,-44px) rotate(-10deg) scale(1,1);opacity:1}28%{transform:translate(34px,-36px) rotate(10deg) scale(1,1)}46%{transform:translate(26px,24px) rotate(-12deg) scale(1,1)}64%{transform:translate(46px,86px) rotate(8deg) scale(1,1)}82%{transform:translate(50px,148px) rotate(-4deg) scale(1,1)}88%{transform:translate(50px,152px) rotate(0deg) scale(1.08,.88)}94%{transform:translate(50px,150px) rotate(0deg) scale(1,1);opacity:1}100%{transform:translate(50px,150px) rotate(0deg) scale(.96,.96);opacity:0}}
@keyframes pf-d4a{0%{transform:translate(0px,0px) rotate(0deg) scale(.4,.4);opacity:0}10%{transform:translate(28px,-34px) rotate(12deg) scale(1,1);opacity:1}28%{transform:translate(56px,-26px) rotate(-10deg) scale(1,1)}46%{transform:translate(70px,26px) rotate(12deg) scale(1,1)}64%{transform:translate(90px,88px) rotate(-10deg) scale(1,1)}82%{transform:translate(100px,150px) rotate(4deg) scale(1,1)}88%{transform:translate(101px,154px) rotate(0deg) scale(1.08,.88)}94%{transform:translate(101px,152px) rotate(0deg) scale(1,1);opacity:1}100%{transform:translate(101px,152px) rotate(0deg) scale(.96,.96);opacity:0}}
@keyframes pf-d4b{0%{transform:translate(0px,0px) rotate(0deg) scale(.4,.4);opacity:0}10%{transform:translate(28px,-34px) rotate(12deg) scale(1,1);opacity:1}28%{transform:translate(56px,-26px) rotate(-10deg) scale(1,1)}46%{transform:translate(70px,26px) rotate(12deg) scale(1,1)}64%{transform:translate(90px,88px) rotate(-10deg) scale(1,1)}82%{transform:translate(100px,150px) rotate(4deg) scale(1,1)}88%{transform:translate(101px,154px) rotate(0deg) scale(1.08,.88)}94%{transform:translate(101px,152px) rotate(0deg) scale(1,1);opacity:1}100%{transform:translate(101px,152px) rotate(0deg) scale(.96,.96);opacity:0}}
@media (prefers-reduced-motion: reduce){.pf-hop.tapa,.pf-hop.tapb,.pf-d1a,.pf-d1b,.pf-d2a,.pf-d2b,.pf-d3a,.pf-d3b,.pf-d4a,.pf-d4b{animation:none}}
@media (prefers-reduced-motion: reduce){.pf-hop.fog,.pf-shadow.fog,.pf-fogl.fog,.pf-fogl.fog .pf-wp1,.pf-fogl.fog .pf-wp2,.pf-fogl.fog .pf-wp3,.pf-hop.fog .pf-eyes{animation:none}}
@media (prefers-reduced-motion: reduce){.pf-hop.hop,.pf-hop.float,.pf-hop.press,.pf-shadow,.pf-shadow.hop,.pf-shadow.float,.pf-shadow.press,.pf-breathe,.pf-breathe.slow,.pf-bump,.pf-eye,.pf-z,.pf-glass.press,.pf-bg.press,.pf-hop.press .pf-eyes,.pf-hop.press .pf-blushes,.pf-hop.press .pf-patch{animation:none}.pf-z{opacity:.8}}
