/* Wobble Pals – Premium Rate Us popup (approved game-themed design). */
#wpRateUs[hidden]{display:none!important}
#wpRateUs{position:absolute;inset:0;z-index:75;display:grid;place-items:center;padding:calc(12px + env(safe-area-inset-top,0px)) 10px calc(14px + env(safe-area-inset-bottom,0px));background:#253452b9;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);animation:wp-rate-curtain .25s ease-out both}
.wp-rate-card{position:relative;isolation:isolate;width:min(100%,390px);max-height:100%;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;border:5px solid #a67a52;border-radius:30px;background:linear-gradient(180deg,#caeffc 0%,#f3fbf5 24%,#fff9e6 41%,#fff0d2 100%);box-shadow:inset 0 0 0 3px #fffae9,0 7px 0 #78573e,0 22px 43px #14223b9b;padding:164px 17px 23px;text-align:center;color:#583c2e;font-family:system-ui,-apple-system,BlinkMacSystemFont,sans-serif;animation:wp-rate-enter .52s cubic-bezier(.2,1.26,.3,1) both}
.wp-rate-flora{position:absolute;inset:0;z-index:0;display:block;width:100%;height:100%;object-fit:fill;pointer-events:none;user-select:none}
.wp-rate-close{position:absolute;z-index:8;right:9px;top:9px;display:grid;place-items:center;width:42px;height:42px;border:3px solid #986a47;border-radius:50%;background:linear-gradient(160deg,#fffaf0,#f6deaf 65%,#e5b87b);box-shadow:inset 0 2px #fffdf6,0 4px 0 #75513d,0 7px 10px #6d4c3730;color:#775036;font-size:27px;font-weight:1000;line-height:1;cursor:pointer;touch-action:manipulation;transition:transform .15s ease,filter .15s ease}
.wp-rate-close:active{transform:translateY(3px);filter:brightness(.96)}
.wp-rate-pal{--wp-pal-scale:1;position:absolute;z-index:2;top:10px;left:50%;width:181px;height:145px;transform:translateX(-50%);pointer-events:none;animation:wp-rate-mascot-enter .56s .15s both cubic-bezier(.15,1.6,.3,1)}
.wp-rate-pal:before{content:"";position:absolute;top:10px;left:-18px;width:216px;height:154px;border-radius:50%;background:radial-gradient(ellipse at center,#fff5ae9e 0%,#ffe29e77 34%,#ffea9852 55%,transparent 72%);filter:blur(7px);animation:wp-rate-glow 3s ease-in-out infinite}
.wp-rate-pal canvas{position:relative;display:block;width:181px;height:181px;margin:-12px auto 0;filter:drop-shadow(0 6px 3px #75493c50) drop-shadow(0 0 8px #ffd69f);animation:wp-rate-pal-bob 3.1s ease-in-out infinite}
.wp-rate-spark{position:absolute;z-index:2;display:block;pointer-events:none;color:#ffd455;-webkit-text-stroke:1px #e5a837;text-shadow:0 2px 0 #b77830,0 0 13px #fff19f;animation:wp-rate-spark 2.6s ease-in-out infinite;font-size:23px}
.wp-rate-spark.s1{top:46px;left:16%}.wp-rate-spark.s2{top:84px;right:13%;font-size:29px;animation-delay:.6s}.wp-rate-spark.s3{top:123px;left:23%;font-size:13px;animation-delay:1.1s}.wp-rate-spark.s4{top:163px;right:9%;font-size:13px;animation-delay:1.65s}
.wp-rate-kicker,.wp-rate-heading,.wp-rate-copy,.wp-rate-stars,.wp-rate-now,.wp-rate-later{position:relative;z-index:3}
.wp-rate-kicker{display:flex;align-items:center;justify-content:center;gap:7px;color:#926448;font-size:10px;line-height:1.3;font-weight:1000;letter-spacing:1px}
.wp-rate-kicker .wp-rate-paw{width:15px;height:15px;flex:none}
.wp-rate-heading{display:block;margin:10px -12px 10px;color:#683d29;font-size:clamp(31px,9vw,37px);font-weight:1000;letter-spacing:-1.4px;line-height:1.03;text-shadow:0 2px 0 #fff8e6,0 4px 2px #aa875343}
.wp-rate-heading strong{display:block;margin-top:8px;font-size:clamp(29px,8.8vw,38px);letter-spacing:-1.9px;white-space:nowrap;font-weight:1000;line-height:1.16}
.wp-rate-heading .wp-rate-word{color:#ffc847;-webkit-text-stroke:1.8px #9a602c;paint-order:stroke fill;text-shadow:0 3px #ab6e2b,0 5px 0 #fff9d4,0 6px 7px #64482c33}
.wp-rate-heading .wp-rate-word.blue{color:#83cdf2;-webkit-text-stroke:1.8px #4479a8;text-shadow:0 3px #427eab,0 5px 0 #fff9d4,0 6px 7px #64482c33}
.wp-rate-copy{max-width:320px;margin:18px auto 19px;color:#765140;font-size:clamp(12px,3.6vw,14px);font-weight:850;line-height:1.44;text-wrap:pretty}
.wp-rate-stars{display:flex;justify-content:center;align-items:center;gap:clamp(4px,2vw,9px);margin:0 -3px 21px}
.wp-rate-star{display:block;flex:0 1 55px;max-width:55px;min-width:0;aspect-ratio:1;filter:drop-shadow(0 2px 1px #aa722e) drop-shadow(0 0 6px #ffe382a8);animation:wp-rate-star-pop .52s calc(.50s + var(--i) * .11s) cubic-bezier(.18,1.5,.32,1) backwards}
.wp-rate-star svg{width:100%;height:100%;display:block;overflow:visible}
.wp-rate-star:nth-child(2),.wp-rate-star:nth-child(4){margin-top:3px}
.wp-rate-now{display:flex;justify-content:center;align-items:center;gap:12px;width:100%;min-height:63px;overflow:hidden;border:4px solid #397f38;border-radius:24px;background:linear-gradient(180deg,#d4fc8c 0%,#93df53 28%,#53c33e 58%,#2f9f40 100%);box-shadow:inset 0 4px #edffc4,0 5px 0 #2e7035,0 10px 16px #46663348;color:#fffefa;font:1000 clamp(22px,6vw,27px)/1.1 system-ui,sans-serif;white-space:nowrap;text-shadow:0 3px #337637,0 4px 5px #2f653d6b;cursor:pointer;touch-action:manipulation;animation:wp-rate-button-enter .48s 1.07s ease-out both;transition:transform .14s ease,box-shadow .14s ease}
.wp-rate-now:before{content:"";position:absolute;left:-45%;top:-40%;width:30%;height:185%;transform:skewX(-20deg);background:linear-gradient(90deg,transparent,#fffefa62,transparent);animation:wp-rate-shine 5.8s 1.7s ease-in-out infinite;pointer-events:none}
.wp-rate-now .wp-rate-paw{width:31px;height:31px;flex:none;filter:drop-shadow(0 2px #5c572c44)}
.wp-rate-now .wp-rate-arrow{font-size:35px;font-weight:850;margin-left:0;line-height:0.5}
.wp-rate-now:active{transform:translateY(3px);box-shadow:inset 0 3px #edffc4,0 2px 0 #2e7035,0 5px 10px #46663340}
.wp-rate-later{display:block;width:min(74%,225px);min-height:44px;margin:18px auto 0;border:2px solid #b79577;border-radius:20px;background:linear-gradient(180deg,#fffdfa,#fff3db 70%,#ecd4b2);box-shadow:inset 0 2px #fffefa,0 4px 0 #ac896b;color:#80543e;font:900 15px/1.2 system-ui,sans-serif;cursor:pointer;touch-action:manipulation;transition:transform .14s ease}
.wp-rate-later:active{transform:translateY(3px)}
.wp-rate-close:focus-visible,.wp-rate-later:focus-visible,.wp-rate-now:focus-visible{outline:3px solid #5175bb;outline-offset:3px}
@keyframes wp-rate-curtain{from{opacity:0}to{opacity:1}}
@keyframes wp-rate-enter{from{opacity:0;transform:translateY(33px) scale(.86)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes wp-rate-mascot-enter{from{opacity:0;transform:translate(-50%,24px) scale(calc(var(--wp-pal-scale)*.55))}to{opacity:1;transform:translate(-50%,0) scale(var(--wp-pal-scale))}}
@keyframes wp-rate-pal-bob{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-7px) rotate(3deg)}}
@keyframes wp-rate-spark{0%,100%{opacity:.47;transform:scale(.76) rotate(-6deg)}50%{opacity:1;transform:scale(1.17) rotate(13deg)}}
@keyframes wp-rate-glow{50%{transform:scale(1.07);opacity:.67}}
@keyframes wp-rate-star-pop{from{opacity:0;transform:translateY(17px) scale(.15)}65%{opacity:1;transform:translateY(-3px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes wp-rate-button-enter{from{opacity:0;transform:translateY(12px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes wp-rate-shine{0%,31%,100%{left:-45%}45%{left:120%}}
@media(max-width:350px){.wp-rate-card{padding-left:12px;padding-right:12px}.wp-rate-heading strong{font-size:clamp(27px,8.7vw,32px)}.wp-rate-stars{gap:5px}.wp-rate-now{min-height:56px}}
@media(max-height:725px){.wp-rate-card{padding-top:138px;padding-bottom:16px}.wp-rate-pal{--wp-pal-scale:.88;top:1px;transform-origin:top center}.wp-rate-heading{font-size:30px;margin-top:7px}.wp-rate-heading strong{font-size:31px;margin-top:4px}.wp-rate-copy{margin:12px auto 12px}.wp-rate-stars{margin-bottom:13px}.wp-rate-star{max-width:47px}.wp-rate-now{min-height:53px}.wp-rate-later{min-height:39px;margin-top:12px}}
@media(max-height:580px){.wp-rate-card{padding-top:110px;padding-bottom:11px}.wp-rate-pal{--wp-pal-scale:.70}.wp-rate-heading{font-size:27px}.wp-rate-heading strong{font-size:28px}.wp-rate-copy{margin:8px auto;font-size:12px}.wp-rate-stars{margin-bottom:10px}.wp-rate-star{max-width:42px}.wp-rate-now{min-height:48px}.wp-rate-later{min-height:35px;margin-top:10px}}
@media(prefers-reduced-motion:reduce){#wpRateUs,.wp-rate-card,.wp-rate-pal,.wp-rate-pal canvas,.wp-rate-pal:before,.wp-rate-spark,.wp-rate-star,.wp-rate-now,.wp-rate-now:before{animation:none!important}}
