/* Wimy's little world. All decoration stays clear of pointer interaction. */
.fairy-dust{position:fixed;inset:0;overflow:hidden;z-index:5;pointer-events:none;user-select:none;contain:strict}
.ambient-star{position:absolute;left:var(--x);top:var(--y);font-size:var(--size);line-height:1;color:var(--tint);opacity:.25;will-change:transform;animation:fairy-drift var(--duration) ease-in-out infinite alternate,star-glimmer 4.5s ease-in-out infinite;animation-delay:var(--delay);text-shadow:0 0 12px #fcf8f090}
@keyframes fairy-drift{from{transform:translate3d(-6px,14px,0) rotate(-14deg)}to{transform:translate3d(12px,-24px,0) rotate(24deg)}}
@keyframes star-glimmer{0%,100%{opacity:.12}50%{opacity:.66}}
@keyframes wimy-float{0%,100%{transform:translateY(0) rotate(2deg)}50%{transform:translateY(-9px) rotate(-2deg)}}
@keyframes welcome-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes magic-scatter{0%{opacity:1;transform:translate(-50%,-50%) scale(.45) rotate(0)}75%{opacity:.85}100%{opacity:0;transform:translate(calc(-50% + var(--dx)),calc(-50% + var(--dy))) scale(1) rotate(var(--turn))}}
.hero-mascot{width:155px;bottom:4px;right:-12px;animation:wimy-float 6s ease-in-out infinite;filter:drop-shadow(0 8px 10px #4b304710)}
.hero-sparkle{animation:star-glimmer 5s ease-in-out infinite}
.hero-bottom i{display:inline-block;animation:gentle-turn 10s ease-in-out infinite}
@keyframes gentle-turn{50%{transform:rotate(90deg)}}
.world-art{padding-top:72px;padding-bottom:25px}
.world-art>img{width:235px;max-height:265px;object-fit:contain;animation:wimy-float 7s ease-in-out infinite}
.world-art>p{margin-top:15px;font-size:21px}
.wimy-world-button{font-size:10px;margin-top:20px}
.world-art .star-a,.world-art .star-b,.join-sparkle{animation:star-glimmer 5.5s ease-in-out infinite}
.wimy-companion{position:fixed;right:24px;bottom:17px;z-index:15;pointer-events:none}
.wimy-welcome{pointer-events:auto;width:310px;max-height:calc(100dvh - 145px);overflow-y:auto;overscroll-behavior:contain;position:absolute;right:0;bottom:98px;border:1px solid #4b30472e;border-radius:24px 24px 7px 24px;background:#fcf8f0f7;box-shadow:0 12px 38px #4b304723;padding:25px 24px 17px;backdrop-filter:blur(12px);animation:welcome-in .45s ease both}
.wimy-close{position:absolute;top:6px;right:6px;border:0;background:transparent;width:40px;height:40px;font-size:24px;border-radius:50%;font-weight:400}
.wimy-close:hover{background:#d9c9ec60}
.wimy-badge{font-size:7px;letter-spacing:1.7px;display:block;padding-right:12px;margin-bottom:14px}
.wimy-badge span{color:var(--rose);font-size:16px;vertical-align:middle;letter-spacing:0;padding-left:2px}
.wimy-welcome h2{font-size:34px;letter-spacing:-1px;margin:0 0 12px}
.wimy-welcome p{font-size:12px;line-height:1.85;margin-bottom:17px;min-height:66px;color:var(--ink)}
.wimy-welcome .button{width:100%;padding:12px 15px;font-size:11px;border-radius:3px;justify-content:space-between}
.wimy-magic{display:block;margin:12px auto 0;padding:6px 9px;background:transparent;border:0;font-size:10px;border-radius:5px}
.wimy-magic span{padding-left:8px;color:var(--rose);font-size:14px}
.wimy-magic:hover{background:#e8adbf38}
.wimy-launcher{pointer-events:auto;border:1px solid #4b30471c;background:var(--lilac);border-radius:50%;width:86px;height:86px;display:flex;justify-content:center;align-items:center;position:relative;box-shadow:0 5px 25px #4b304723;margin-left:auto}
.wimy-launcher img{width:76px;height:78px;object-fit:contain;transform-origin:50% 85%;transition:transform .25s}
.wimy-launcher:hover img{transform:translateY(-5px) rotate(-5deg)}
.wimy-launcher-label{position:absolute;right:100px;white-space:nowrap;top:32px;padding:5px 11px;font-size:10px;background:var(--milk);border:1px solid #4b304722;border-radius:20px;box-shadow:0 2px 9px #4b30470b}
.wimy-launcher[aria-expanded=true] .wimy-launcher-label{visibility:hidden}
.wimy-launcher-sparkle{position:absolute;right:-2px;top:0;color:var(--rose);font-size:21px;animation:star-glimmer 3s ease-in-out infinite}
.motion-toggle{position:fixed;left:16px;bottom:18px;z-index:14;background:#fcf8f0ef;color:var(--plum);border:1px solid #4b30472b;border-radius:25px;padding:8px 12px;font-size:9px;letter-spacing:.1px;box-shadow:0 3px 15px #4b304710;backdrop-filter:blur(8px)}
.motion-toggle>span:first-child{font-size:13px;vertical-align:middle;padding-right:4px}
.magic-particle{position:fixed;left:var(--origin-x);top:var(--origin-y);z-index:35;pointer-events:none;user-select:none;color:var(--tint);font-size:var(--size);line-height:1;animation:magic-scatter 1.05s ease-out both;will-change:transform,opacity;text-shadow:0 0 7px var(--milk)}
.wimy-empty-note{display:block;font-family:var(--display);font-style:italic;font-size:14px;margin:0 0 18px}
.bag-empty img{width:125px}
html.magic-paused .ambient-star,html.magic-paused .hero-mascot,html.magic-paused .hero-sparkle,html.magic-paused .hero-bottom i,html.magic-paused .world-art>img,html.magic-paused .star-a,html.magic-paused .star-b,html.magic-paused .join-sparkle,html.magic-paused .wimy-launcher-sparkle{animation-play-state:paused!important}
html.magic-paused .fairy-dust{opacity:.45}
@media(max-width:1100px){.hero-mascot{width:135px;right:-13px}.wimy-companion{right:18px}}
@media(max-width:760px){.hero-mascot{width:112px;right:-5px;bottom:25px}.curved-note{left:125px;font-size:7px}.world-art{padding-top:70px;padding-bottom:24px}.world-art>img{width:215px;max-height:245px}.world-art>p{font-size:18px}.wimy-companion{right:14px;bottom:14px}.wimy-launcher{width:68px;height:68px}.wimy-launcher img{width:61px;height:63px}.wimy-launcher-label{right:80px;top:22px;font-size:9px}.wimy-welcome{width:min(292px,calc(100vw - 28px));bottom:83px;padding:21px 20px 13px}.wimy-welcome h2{font-size:29px}.wimy-welcome p{font-size:11px;line-height:1.8;min-height:59px;margin-bottom:14px}.wimy-badge{font-size:6.5px;letter-spacing:1.4px;margin-bottom:10px}.wimy-welcome .button{padding:11px 13px;font-size:10px}.wimy-magic{font-size:9px;margin-top:8px}.motion-toggle{left:12px;bottom:17px;font-size:8px;padding:7px 10px}.ambient-star:nth-child(n+9){display:none}.footer-bottom{padding-bottom:60px}.toast{bottom:100px}.wimy-world-button{font-size:9px}}
@media(prefers-reduced-motion:reduce){.fairy-dust{display:none}.motion-toggle{display:none}.hero-mascot,.world-art>img{transform:none}.magic-particle{display:none}.wimy-launcher:hover img{transform:none}}
@media(max-width:760px){.hero-copy h1 br:nth-of-type(2){display:initial}}

/* Soft pill shapes for shopping, social and Wimy's action buttons. */
.button,.wimy-welcome .button,.wimy-magic,.quantity-control button{border-radius:999px}
