
.order-mascot{--th-paper:light-dark(#fff,#1F2A44);--th-ink:light-dark(#1F2A44,#E6ECF8);--th-muted:light-dark(#5D6678,#D5DDEB);--th-tint:light-dark(#F7F8FB,#1F2A44);--th-line:light-dark(#E6ECF8,#1F2A44);--th-brand:light-dark(#4660B0,#D5DDEB);--th-button:light-dark(#1F2A44,#E6ECF8);--th-button-text:light-dark(#fff,#1F2A44);--th-prop:light-dark(#4660B0,#D5DDEB);--th-outline:light-dark(#1F2A44,#1F2A44);--th-cloth:light-dark(#E6ECF8,#E6ECF8);--th-white:light-dark(#fff,#F7F8FB)}
.order-mascot .th-wrap{padding:22px 10px}.order-mascot .th-phone{max-width:430px;margin:auto;background:var(--th-paper);color:var(--th-ink);border:1px solid var(--th-line);border-radius:26px;overflow:hidden;font:14px/1.5 Arial,Helvetica,sans-serif}.order-mascot .th-phone *{box-sizing:border-box}.order-mascot header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:24px;border-bottom:1px solid var(--th-line)}.order-mascot .th-brand{font-size:15px;letter-spacing:1.6px;font-weight:700;color:var(--th-brand)}.order-mascot .th-brand span{display:block;font-size:11px;letter-spacing:4px;margin-top:2px}.order-mascot .th-demo{background:var(--th-tint);font-size:11px;padding:5px 9px;border-radius:20px;letter-spacing:1px}.order-mascot main{padding:24px}.order-mascot .th-kicker{font-size:11px;letter-spacing:1.5px;color:var(--th-muted);margin:0 0 10px}.order-mascot h2{font:700 29px/1.14 Arial,Helvetica,sans-serif;letter-spacing:-1px;margin:0 0 23px;color:var(--th-ink)}.order-mascot .th-status{background:var(--th-tint);border-radius:22px;overflow:hidden}.order-mascot .th-status-copy{padding:0 20px 20px;text-align:center}.order-mascot .th-count{font-size:11px;letter-spacing:1.5px;font-weight:700;color:var(--th-muted)}.order-mascot .th-status h3{font-size:20px;line-height:1.25;letter-spacing:-.4px;margin:8px 0;color:var(--th-ink)}.order-mascot .th-status p{font-size:14px;margin:0;color:var(--th-muted)}.order-mascot .th-estimate{display:grid;gap:3px;border-top:1px solid var(--th-line);padding-top:14px;margin-top:17px;font-size:13px}.order-mascot .th-estimate span{color:var(--th-muted)}.order-mascot .th-section-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:25px 0 18px}.order-mascot .th-section-title h3{font-size:16px;margin:0}.order-mascot .th-section-title>span{font-size:11px;color:var(--th-muted)}.order-mascot .th-timeline{padding:0;margin:0;list-style:none}.order-mascot .th-timeline li{display:flex;gap:13px;position:relative;min-height:64px;padding-bottom:20px}.order-mascot .th-timeline li:not(:last-child):before{content:"";position:absolute;left:13px;top:28px;bottom:0;width:2px;background:var(--th-line)}.order-mascot .th-timeline li.done:before{background:var(--th-brand)}.order-mascot .th-dot{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:50%;background:var(--th-tint);color:var(--th-muted);font-size:12px}.order-mascot .done .th-dot{color:var(--th-brand);font-weight:700}.order-mascot .current .th-dot{background:var(--th-button);color:var(--th-button-text);box-shadow:0 0 0 4px var(--th-tint)}.order-mascot .th-timeline strong{font-size:14px;font-weight:500}.order-mascot .current strong{font-weight:700}.order-mascot .th-timeline small{display:block;font-size:12px;color:var(--th-muted);margin-top:2px}.order-mascot .th-order{border-top:1px solid var(--th-line);border-bottom:1px solid var(--th-line);margin:0 0 20px}.order-mascot summary{padding:17px 0;font-weight:700;min-height:44px}.order-mascot summary span{float:right;font-size:12px;color:var(--th-muted);font-weight:400}.order-mascot .th-order>div{padding:0 0 15px}.order-mascot .th-order p{margin:8px 0 0;color:var(--th-muted)}.order-mascot .th-contact{border:0;border-radius:28px;padding:14px 18px;min-height:48px;display:flex;justify-content:center;align-items:center;gap:10px;width:100%;background:var(--th-button);color:var(--th-button-text);font:700 14px/1.4 Arial,Helvetica,sans-serif}.order-mascot .th-contact svg{width:18px;height:18px}.order-mascot .th-chat{margin-top:15px;padding:16px;background:var(--th-tint);border-radius:14px}.order-mascot .th-chat p{margin:8px 0}.order-mascot .th-chat small{color:var(--th-muted)}.order-mascot .th-update,.order-mascot .th-disclaimer{font-size:11px;color:var(--th-muted);text-align:center;margin:17px 0 0}.order-mascot .th-disclaimer{margin-top:4px}
.order-mascot .th-scene{position:relative;width:260px;max-width:100%;height:200px;margin:0 auto;isolation:isolate;overflow:hidden}.order-mascot .th-halo{position:absolute;width:150px;height:150px;border-radius:50%;left:55px;top:18px;background:var(--th-paper);opacity:.7}.order-mascot .th-spark{position:absolute;font-size:25px;color:var(--th-brand);top:40px;left:25px}.order-mascot .th-mascot{position:absolute;width:175px;height:175px;left:42px;top:-6px;animation:th-bob 3s ease-in-out infinite;z-index:2}.order-mascot .th-mascot img{display:block;width:100%;height:100%;object-fit:contain}.order-mascot .th-eye{position:absolute;left:var(--eye-left);top:var(--eye-top);width:var(--eye-width);height:var(--eye-height);background-image:var(--mascot-image);background-size:var(--crop-size);background-position:var(--blank-position)}.order-mascot .th-eye:after{content:"";position:absolute;inset:0;background-image:var(--mascot-image);background-size:var(--crop-size);background-position:var(--eye-position);animation:th-blink 5.8s ease-in-out infinite}
.order-mascot .th-table{display:none;position:absolute;left:33px;top:151px;width:194px;height:10px;border-radius:4px;background:var(--th-outline);z-index:4}.order-mascot .th-table:before,.order-mascot .th-table:after{content:"";position:absolute;top:8px;width:8px;height:24px;background:var(--th-outline);left:14px;border-radius:0 0 3px 3px}.order-mascot .th-table:after{left:auto;right:14px}.order-mascot .th-cloth{display:none;position:absolute;top:135px;left:50px;width:151px;height:33px;background:repeating-linear-gradient(90deg,var(--th-cloth) 0 13px,var(--th-white) 13px 15px);border:2px solid var(--th-prop);border-radius:3px 3px 9px 9px;z-index:5}.order-mascot .th-cloth span{position:absolute;top:9px;left:10px;right:10px;border-top:2px dashed var(--th-prop)}.order-mascot .th-scissors{display:none;position:absolute;top:112px;left:61px;z-index:6;color:var(--th-outline);animation:th-cut 2.6s ease-in-out infinite}.order-mascot .th-scissors svg{width:37px;height:37px;fill:var(--th-white)}
.order-mascot .th-machine{display:none;position:absolute;top:108px;left:138px;width:69px;height:43px;z-index:6;background:var(--th-prop);border:2px solid var(--th-outline);border-radius:7px 7px 4px 4px}.order-mascot .th-machine:after{content:"";position:absolute;left:-2px;top:18px;width:40px;height:21px;background:var(--th-tint);border-top:2px solid var(--th-outline);border-right:2px solid var(--th-outline);border-radius:0 5px 0 0}.order-mascot .th-spool{position:absolute;top:-10px;right:14px;height:9px;width:10px;background:var(--th-cloth);border:2px solid var(--th-outline);border-radius:2px}.order-mascot .th-needle{position:absolute;left:7px;top:19px;width:2px;height:19px;background:var(--th-outline);z-index:2;animation:th-needle .25s linear infinite alternate}.order-mascot .th-footplate{position:absolute;bottom:-3px;left:-16px;width:85px;height:7px;background:var(--th-prop);border:2px solid var(--th-outline);border-radius:3px;z-index:3}.order-mascot .th-wheel{position:absolute;right:6px;top:8px;width:17px;height:17px;background:var(--th-cloth);border:2px dashed var(--th-outline);border-radius:50%;animation:th-spin 1s linear infinite}
.order-mascot .th-parcel{display:none;position:absolute;width:79px;height:54px;top:122px;left:91px;z-index:6;border:2px solid var(--th-outline);border-radius:3px 3px 6px 6px;background:var(--th-prop);color:var(--th-white)}.order-mascot .th-parcel>svg{position:absolute;width:18px;height:18px;left:29px;top:24px}.order-mascot .th-tape{position:absolute;width:13px;top:0;height:19px;left:31px;background:var(--th-cloth)}.order-mascot .th-flap{position:absolute;top:-12px;height:13px;width:40px;background:var(--th-cloth);border:2px solid var(--th-outline);transform-origin:bottom center;animation:th-pack 2.8s ease-in-out infinite;left:-2px}.order-mascot .th-right{left:37px;animation-delay:.22s}.order-mascot .th-check{display:none;position:absolute;left:169px;top:113px;z-index:6;padding:8px;background:var(--th-paper);border:2px solid var(--th-brand);border-radius:50%;color:var(--th-brand)}.order-mascot .th-check svg{width:22px;height:22px;display:block}
.order-mascot .th-truck{display:none;position:absolute;left:29px;top:88px;width:206px;height:84px;z-index:4;animation:th-drive .8s ease-in-out infinite}.order-mascot .th-cargo{position:absolute;left:0;top:0;width:114px;height:68px;background:var(--th-prop);border:3px solid var(--th-outline);border-radius:8px 8px 2px 4px;color:var(--th-white);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:5px}.order-mascot .th-cargo svg{width:25px;height:25px}.order-mascot .th-cargo span{font-size:11px;letter-spacing:.2px;font-weight:700}.order-mascot .th-cab{position:absolute;left:111px;bottom:16px;width:93px;height:31px;background:var(--th-cloth);border:3px solid var(--th-outline);border-radius:4px 16px 5px 0}.order-mascot .th-tire{position:absolute;bottom:2px;left:20px;width:29px;height:29px;background:var(--th-outline);border:7px solid var(--th-outline);border-radius:50%}.order-mascot .th-tire:after{content:"";position:absolute;inset:0;border:2px dashed var(--th-cloth);border-radius:50%;animation:th-spin 1.3s linear infinite}.order-mascot .th-front{left:160px}.order-mascot .th-road{display:none;position:absolute;left:18px;right:18px;top:177px;height:3px;background:repeating-linear-gradient(90deg,var(--th-brand) 0 19px,transparent 19px 43px);animation:th-road 1.5s linear infinite}
.order-mascot [data-action="cut"] .th-table,.order-mascot [data-action="sew"] .th-table,.order-mascot [data-action="cut"] .th-cloth,.order-mascot [data-action="sew"] .th-cloth,.order-mascot [data-action="prepare"] .th-cloth,.order-mascot [data-action="check"] .th-cloth,.order-mascot [data-action="cut"] .th-scissors,.order-mascot [data-action="sew"] .th-machine,.order-mascot [data-action="pack"] .th-parcel,.order-mascot [data-action="check"] .th-check,.order-mascot [data-action="confirmed"] .th-check,.order-mascot [data-action="delivery"] .th-truck,.order-mascot [data-action="delivery"] .th-road{display:block}.order-mascot [data-action="sew"] .th-cloth{width:107px;animation:th-feed 1.8s ease-in-out infinite}.order-mascot [data-action="delivery"] .th-mascot{width:111px;height:111px;left:129px;top:39px;animation:th-drive .8s ease-in-out infinite;z-index:3}.order-mascot .th-paused *,.order-mascot .th-paused *:after{animation-play-state:paused!important}
@keyframes th-bob{50%{transform:translateY(3px) rotate(1.2deg)}}@keyframes th-blink{0%,30%,36%,100%{transform:scaleY(1)}32.5%,33.5%{transform:scaleY(.08)}}@keyframes th-cut{0%,100%{transform:translateX(0) rotate(-12deg)}50%{transform:translateX(78px) rotate(4deg)}}@keyframes th-needle{to{transform:translateY(5px)}}@keyframes th-feed{50%{transform:translateX(-8px)}}@keyframes th-pack{0%,25%,100%{transform:rotateX(-50deg)}45%,80%{transform:rotateX(85deg)}}@keyframes th-spin{to{transform:rotate(360deg)}}@keyframes th-drive{50%{transform:translateY(2px)}}@keyframes th-road{to{background-position:-43px 0}}
@media(prefers-reduced-motion:reduce){.order-mascot .th-scene *,.order-mascot .th-scene *:after{animation:none!important}}@media(max-width:380px){.order-mascot main{padding:19px}.order-mascot header{padding:20px}.order-mascot h2{font-size:27px}.order-mascot .th-status-copy{padding-left:14px;padding-right:14px}}
/* Articulated work poses: hands and tools share pivots and animation timing. */
/* Flat Bubu has no baked hands, so only the articulated pair touches the tools. */
.order-mascot [data-character="bubu"] { --th-outline:#1F2A44;--th-white:#fff; }
.order-mascot [data-character="bubu"]:not([data-action="payment"]) .th-apron span { visibility:hidden; }
.order-mascot [data-character="bubu"][data-action="confirmed"] .th-apron,
.order-mascot [data-character="bubu"][data-action="balance"] .th-apron,
.order-mascot [data-character="bubu"][data-action="delivery"] .th-apron { display:none; }
.order-mascot .th-brand-label { position:absolute;pointer-events:none;background:#fff url('/assets/mascots/bubu-brand-mark.svg') center/contain no-repeat; }
.order-mascot [data-character="bubu"] .th-brand-label { left:84.8%;top:62.7%;width:5.5%;height:4.3%;transform:rotate(-10deg); }
.order-mascot [data-character="havi"] .th-brand-label { left:85.2%;top:63.3%;width:3.6%;height:3.4%; }
.order-mascot [data-character="guli"] .th-brand-label { left:84.0%;top:34.5%;width:4.0%;height:3.0%;transform:rotate(24deg); }
.order-mascot .th-site-logo{display:block;width:225px;max-width:calc(100% - 64px);height:auto;border-radius:6px}
.order-mascot .th-cargo{background:var(--th-prop)}
.order-mascot .th-scene{height:215px}
.order-mascot .th-mascot{animation:none}
.order-mascot .th-apron{position:absolute;left:98px;top:98px;width:67px;height:40px;background:var(--th-cloth);border:2px solid var(--th-prop);border-radius:7px 7px 18px 18px;z-index:3;text-align:center;color:var(--th-outline);font-size:11px;font-weight:700;padding-top:9px}
.order-mascot .th-arm{position:absolute;top:108px;left:87px;width:43px;height:18px;background:var(--th-white);border:2px solid var(--th-outline);border-radius:14px;z-index:8;transform-origin:8px 9px;transform:rotate(38deg)}
.order-mascot .th-arm-right{left:148px;transform:rotate(42deg)}
/* The rounded arm end is the paw. A second outlined circle creates stacked
   rings at actual tracking size; keep the legacy span non-rendering. */
.order-mascot .th-hand{display:none}
.order-mascot .th-table{top:158px}
.order-mascot .th-cloth{top:142px;height:29px;width:156px}
.order-mascot .th-scissors{display:none!important}
.order-mascot .th-hand-scissors{display:none;position:absolute;left:27px;top:-3px;width:50px;height:24px;z-index:3;transform:rotate(-28deg);transform-origin:0 11px}
.order-mascot .th-blade{position:absolute;left:0;top:10px;width:44px;height:5px;background:var(--th-cloth);border:1.5px solid var(--th-outline);border-radius:6px 70% 70% 6px;transform-origin:13px 2px;animation:th-snip-a .75s ease-in-out infinite}
.order-mascot .th-blade:before{content:"";position:absolute;width:15px;height:11px;left:-9px;top:-5px;border:3px solid var(--th-prop);border-radius:50%;background:var(--th-white)}
.order-mascot .th-blade-two{animation-name:th-snip-b}
.order-mascot .th-pivot{position:absolute;left:11px;top:10px;width:5px;height:5px;border-radius:50%;background:var(--th-outline)}
.order-mascot [data-action="cut"] .th-hand-scissors{display:block}
.order-mascot [data-action="cut"] .th-arm-right{left:168px;top:114px;width:32px;height:18px;animation:none;transform:rotate(123deg);border-radius:14px 16px 16px 12px}
.order-mascot [data-action="cut"] .th-arm-right .th-hand{width:17px;height:15px;right:-1px;top:0;border-width:1.5px;z-index:4}
.order-mascot [data-action="cut"] .th-arm-left{left:89px;top:123px;width:35px;animation:th-cut-arm 3s ease-in-out infinite}
.order-mascot [data-action="cut"] .th-arm-left .th-hand{width:17px;height:15px;top:0;right:-1px;border-width:1.5px;z-index:4}
.order-mascot [data-action="cut"] .th-cloth span{animation:th-cut-line 3s linear infinite;transform-origin:left}
.order-mascot .th-machine{top:115px;left:150px}
.order-mascot [data-action="sew"] .th-cloth{width:120px;animation:th-feed-real 1.8s ease-in-out infinite}
.order-mascot [data-action="sew"] .th-arm-left{top:113px;transform:rotate(55deg);animation:th-guide-left 1.8s ease-in-out infinite}
.order-mascot [data-action="sew"] .th-arm-right{left:144px;top:109px;width:32px;transform:rotate(118deg);animation:th-guide-right 1.8s ease-in-out infinite;z-index:5}
.order-mascot .th-stitch{display:none;position:absolute;left:90px;top:153px;width:69px;border-top:2px dashed var(--th-outline);z-index:6;animation:th-stitch-feed 1.8s linear infinite;transform-origin:right}
.order-mascot [data-action="sew"] .th-stitch{display:block}
.order-mascot .th-parcel{top:138px;left:89px;width:84px;height:48px}
.order-mascot .th-opening{display:none;position:absolute;left:89px;top:124px;width:84px;height:16px;background:var(--th-outline);border:2px solid var(--th-outline);z-index:4}
.order-mascot [data-action="pack"] .th-opening{display:block}
.order-mascot .th-flap{width:42px;height:16px;top:-16px;left:-2px;animation:th-box-left 5s ease-in-out infinite;transform-origin:left bottom;border-radius:2px 0 0 0;z-index:2}
.order-mascot .th-right{left:40px;transform-origin:right bottom;animation-name:th-box-right;animation-delay:0s;border-radius:0 2px 0 0}
.order-mascot [data-action="pack"] .th-tape{left:34px;width:12px;top:-16px;height:34px;z-index:3;transform-origin:top;animation:th-seal 5s ease-in-out infinite}
.order-mascot [data-action="pack"] .th-arm{z-index:5}
.order-mascot [data-action="pack"] .th-arm-left{left:72px;top:103px;width:40px;transform:translate(-7px,-12px) rotate(-12deg);animation:th-pack-left 5s ease-in-out infinite}
.order-mascot [data-action="pack"] .th-arm-right{left:151px;top:103px;width:40px;transform-origin:35px 9px;transform:translate(7px,-12px) rotate(12deg);animation:th-pack-right 5s ease-in-out infinite}
.order-mascot [data-action="pack"] .th-arm-right .th-hand{left:-4px;right:auto}
.order-mascot .th-folded{display:none;position:absolute;left:105px;top:108px;width:53px;height:25px;background:repeating-linear-gradient(0deg,var(--th-white) 0 6px,var(--th-prop) 7px 8px);border:2px solid var(--th-outline);border-radius:7px;z-index:5;animation:th-pack-bedding 5s ease-in-out infinite}
.order-mascot [data-action="pack"] .th-folded,.order-mascot [data-action="pack"] .th-check{display:block}
.order-mascot [data-action="pack"] .th-check{top:81px;left:205px;padding:4px;animation:th-inspect 5s ease-in-out infinite}
.order-mascot [data-action="pack"] .th-check svg{width:16px;height:16px}
.order-mascot .th-steering{display:none;position:absolute;width:31px;height:31px;left:173px;top:111px;border:4px solid var(--th-outline);border-radius:50%;z-index:7;animation:th-steer 2s ease-in-out infinite}
.order-mascot .th-steering:before{content:"";position:absolute;left:10px;top:0;height:22px;width:3px;background:var(--th-outline)}
.order-mascot .th-steering:after{content:"";position:absolute;left:0;top:8px;width:22px;height:3px;background:var(--th-outline)}
.order-mascot [data-action="delivery"] .th-steering{display:block}
.order-mascot [data-action="delivery"] .th-apron{width:43px;height:22px;left:166px;top:107px;padding:0;border-radius:5px 5px 11px 11px;font-size:10px}
.order-mascot [data-action="delivery"] .th-arm{width:24px;height:12px;border-width:1.5px;top:111px;left:158px;transform-origin:4px 5px;transform:rotate(35deg);animation:th-drive-hand-left 2s ease-in-out infinite}
.order-mascot [data-action="delivery"] .th-arm-right{left:190px;transform-origin:20px 5px;transform:rotate(-40deg);animation-name:th-drive-hand-right}
.order-mascot [data-action="delivery"] .th-hand{width:13px;height:12px;top:-1px;border-width:1.5px}
.order-mascot [data-action="delivery"] .th-arm-right .th-hand{left:-4px;right:auto}
.order-mascot [data-action="confirmed"] .th-arm-left{left:62px;top:102px;width:34px;animation:th-wave 2.8s ease-in-out infinite}
.order-mascot [data-action="confirmed"] .th-arm-right{left:182px;top:106px;width:32px;transform:rotate(145deg)}
.order-mascot [data-action="confirmed"] .th-check{left:207px;top:127px;padding:5px}
.order-mascot [data-action="confirmed"] .th-check svg{width:20px;height:20px}
@keyframes th-snip-a{0%,100%{transform:rotate(-22deg)}50%{transform:rotate(-2deg)}}
@keyframes th-snip-b{0%,100%{transform:rotate(22deg)}50%{transform:rotate(2deg)}}
@keyframes th-cut-arm{0%,100%{transform:rotate(28deg)}70%{transform:translateX(4px) rotate(24deg)}}
@keyframes th-cut-line{0%,100%{transform:scaleX(.3)}70%{transform:scaleX(1)}}
@keyframes th-guide-left{0%,100%{transform:translateX(0) rotate(55deg)}65%{transform:translateX(7px) rotate(48deg)}}
@keyframes th-guide-right{0%,100%{transform:translateX(0) rotate(118deg)}65%{transform:translateX(7px) rotate(110deg)}}
@keyframes th-feed-real{0%,100%{transform:translateX(0)}65%{transform:translateX(7px)}}
@keyframes th-stitch-feed{0%{transform:scaleX(.2)}80%,100%{transform:scaleX(1)}}
@keyframes th-pack-bedding{0%,15%{transform:translateY(0);opacity:1}35%{transform:translateY(34px);opacity:1}40%,96%{transform:translateY(34px);opacity:0}100%{transform:translateY(0);opacity:1}}
/* Lower bedding into the opening, withdraw above the full lid sweep, then
   stay clear while both flaps close. Hands never travel across the box face. */
@keyframes th-pack-left{0%,15%,100%{transform:rotate(0deg)}30%{transform:translateY(7px) rotate(0deg)}40%,96%{transform:translate(-7px,-12px) rotate(-12deg)}}
@keyframes th-pack-right{0%,15%,100%{transform:rotate(0deg)}30%{transform:translateY(7px) rotate(0deg)}40%,96%{transform:translate(7px,-12px) rotate(12deg)}}
@keyframes th-box-left{0%,40%,100%{transform:rotateY(-180deg)}58%,96%{transform:rotateY(0deg)}}
@keyframes th-box-right{0%,50%,100%{transform:rotateY(180deg)}68%,96%{transform:rotateY(0deg)}}
@keyframes th-seal{0%,68%,100%{transform:scaleY(0);opacity:0}76%,96%{transform:scaleY(1);opacity:1}}
@keyframes th-inspect{0%,20%{opacity:1;transform:scale(1)}38%,65%{opacity:0;transform:scale(.8)}78%,100%{opacity:1;transform:scale(1)}}
@keyframes th-steer{0%,100%{transform:rotate(-8deg)}50%{transform:rotate(8deg)}}
@keyframes th-drive-hand-left{0%,100%{transform:rotate(35deg)}50%{transform:translateY(2px) rotate(45deg)}}
@keyframes th-drive-hand-right{0%,100%{transform:rotate(-40deg)}50%{transform:translateY(-2px) rotate(-30deg)}}
@keyframes th-wave{0%,100%{transform:rotate(-65deg)}25%,65%{transform:rotate(-105deg)}45%{transform:rotate(-72deg)}}
@media(prefers-reduced-motion:reduce){.order-mascot .th-scene *,.order-mascot .th-scene *:after{animation:none!important}.order-mascot .th-folded{display:none!important}}

/* Waiting poses reuse Bubu's approved articulated arms and parcel.
   No success marks: the customer still needs to confirm their payment. */
.order-mascot [data-action="payment"] .th-mascot{transform-origin:50% 80%;animation:th-wait-read 4.8s ease-in-out infinite}
.order-mascot [data-action="payment"] .th-apron{left:101px;top:108px;width:60px;height:65px;padding-top:10px;border:2px solid var(--th-outline);border-radius:5px;background:var(--th-white);z-index:6;animation:th-wait-slip 4.8s ease-in-out infinite}
.order-mascot [data-action="payment"] .th-apron:after{content:"";position:absolute;left:12px;right:12px;top:33px;height:14px;border-top:2px solid var(--th-brand);border-bottom:2px solid var(--th-line)}
.order-mascot [data-action="payment"] .th-arm-left{left:78px;top:126px;width:29px;transform:rotate(0deg);animation:th-wait-slip 4.8s ease-in-out infinite}
.order-mascot [data-action="payment"] .th-arm-right{left:157px;top:126px;width:29px;transform:rotate(0deg);animation:th-wait-slip 4.8s ease-in-out infinite}
.order-mascot [data-action="payment"] .th-arm-right .th-hand{left:-4px;right:auto}
.order-mascot [data-action="payment"] .th-spark{animation:th-wait-twinkle 4.8s ease-in-out infinite}
.order-mascot [data-action="balance"] .th-mascot{transform-origin:50% 85%;animation:th-wait-cuddle 4s ease-in-out infinite}
.order-mascot [data-action="balance"] .th-parcel{display:block}
.order-mascot [data-action="balance"] .th-flap{animation:none;transform:rotate(0deg)}
.order-mascot [data-action="balance"] .th-tape{left:34px;width:12px;top:-16px;height:34px;z-index:3;animation:none;transform:none;opacity:1}
.order-mascot [data-action="balance"] .th-arm-left{left:63px;top:128px;width:32px;transform-origin:right center;transform:rotate(-8deg);animation:th-wait-paw-left 4s ease-in-out infinite}
.order-mascot [data-action="balance"] .th-arm-right{left:170px;top:128px;width:32px;transform-origin:left center;transform:rotate(8deg);animation:th-wait-paw-right 4s ease-in-out infinite}
.order-mascot [data-action="balance"] .th-arm-right .th-hand{left:-4px;right:auto}
.order-mascot [data-action="balance"] .th-spark{left:206px;top:45px;font-size:29px;animation:th-wait-heart 4s ease-in-out infinite}
@keyframes th-wait-read{0%,15%,85%,100%{transform:rotate(0deg) translateY(0)}35%,65%{transform:rotate(-3deg) translateY(3px)}}
@keyframes th-wait-slip{0%,15%,85%,100%{transform:translateY(0)}35%,65%{transform:translateY(-3px)}}
@keyframes th-wait-twinkle{0%,20%,80%,100%{opacity:.45;transform:scale(.85)}40%,60%{opacity:1;transform:scale(1.1)}}
@keyframes th-wait-cuddle{0%,100%{transform:rotate(-2deg)}50%{transform:rotate(2deg) translateY(2px)}}
@keyframes th-wait-paw-left{0%,100%{transform:rotate(-8deg)}45%,60%{transform:rotate(-2deg)}}
@keyframes th-wait-paw-right{0%,100%{transform:rotate(8deg)}45%,60%{transform:rotate(2deg)}}
@keyframes th-wait-heart{0%,100%{transform:translateY(3px) scale(.9);opacity:.65}50%{transform:translateY(-5px) scale(1.08);opacity:1}}
@media(prefers-reduced-motion:reduce){.order-mascot [data-action="payment"] *,.order-mascot [data-action="balance"] *{animation:none!important}}

/* Return-only poses: Havi and Guli have illustrated hands already.
   Keep Bubu's articulated sewing pose and all production poses unchanged. */
.order-mascot [data-return-stage][data-character="havi"] .th-arm,
.order-mascot [data-return-stage][data-character="havi"] .th-apron,
.order-mascot [data-return-stage][data-character="havi"] .th-steering,
.order-mascot [data-return-stage][data-character="guli"] .th-arm,
.order-mascot [data-return-stage][data-character="guli"] .th-apron{display:none}
.order-mascot [data-action="apology"] .th-mascot{top:5px;transform-origin:50% 85%;animation:th-return-bow 4.8s ease-in-out infinite}
.order-mascot [data-action="apology"] .th-spark{left:205px;top:55px;font-size:30px;animation:th-wait-heart 4.8s ease-in-out infinite}
.order-mascot [data-return-stage="1"][data-action="receive"]::after{content:"";position:absolute;left:159px;top:57px;width:88px;height:118px;background:url('/tracking/return-warehouse.svg') center/contain no-repeat;z-index:1;pointer-events:none}
.order-mascot [data-action="receive"] .th-mascot{top:72px;left:8px;width:140px;height:140px;animation:th-return-to-warehouse 5.2s ease-in-out infinite}
.order-mascot [data-action="receive"] .th-parcel{display:block;top:119px;left:128px;width:48px;height:43px;animation:th-return-to-warehouse 5.2s ease-in-out infinite}
.order-mascot [data-action="receive"] .th-flap{display:none}
.order-mascot [data-action="receive"] .th-tape{top:0;left:17px;width:10px;height:15px}
.order-mascot [data-action="receive"] .th-parcel>svg{top:21px;left:15px;width:15px;height:15px}
/* The cart handle meets Guli's existing illustrated paw. Cart and mascot
   share one motion path so the hand never passes through the parcel. */
.order-mascot [data-action="receive"] .th-parcel::before{content:"";position:absolute;left:-22px;top:35px;width:75px;height:10px;border-left:3px solid var(--th-outline);border-bottom:4px solid var(--th-outline);border-radius:0 0 0 4px}
.order-mascot [data-action="receive"] .th-parcel::after{content:"";position:absolute;left:-8px;top:45px;width:11px;height:11px;background:var(--th-outline);border:3px solid var(--th-cloth);outline:2px solid var(--th-outline);border-radius:50%;box-shadow:43px 0 0 -3px var(--th-outline),43px 0 0 0 var(--th-cloth),43px 0 0 2px var(--th-outline)}
.order-mascot [data-action="receive"] .th-road{display:block;top:178px;left:17px;right:13px;animation:none;background:var(--th-line);height:2px}
.order-mascot [data-action="receive"] .th-spark{left:113px;top:54px;animation:th-wait-twinkle 5.2s ease-in-out infinite}
.order-mascot [data-return-stage="3"] .th-mascot{top:40px;left:133px;width:105px;height:105px}
@keyframes th-return-bow{0%,15%,85%,100%{transform:translateY(0) rotate(0)}40%,60%{transform:translateY(7px) rotate(-6deg)}}
@keyframes th-return-to-warehouse{0%,10%,100%{transform:translateX(0);opacity:1}30%{transform:translate(6px,-1px);opacity:1}50%{transform:translate(14px,0);opacity:1}70%,82%{transform:translateX(22px);opacity:1}90%,95%{transform:translateX(22px);opacity:0}96%{transform:translateX(0);opacity:0}}
@media(prefers-reduced-motion:reduce){.order-mascot [data-action="receive"]::after{animation:none!important}}

/* Remorse belongs only to return confirmation. Use a clean crop of Havi's
   fabric to cover the smile, preserving its texture instead of a flat patch.
   The original eye crops still blink; all layers follow the gentle bow. */
.order-mascot [data-return-stage="0"][data-action="apology"] .th-mascot::before{
 content:"";position:absolute;pointer-events:none;
 left:45.0558%;top:54.2265%;width:9.9681%;height:7.6555%;
 background-image:var(--mascot-image);background-size:1003.2% 1306.25%;
 background-position:51.3729% 44.0415%;
}
.order-mascot [data-return-stage="0"][data-action="apology"] .th-mascot::after{
 content:"";position:absolute;inset:0;pointer-events:none;
 background:url('/tracking/return-apology-face.svg') center/100% 100% no-repeat;
}
.order-mascot [data-return-stage="0"][data-action="apology"] .th-eye::after{translate:0 8%}

/* Ecommerce placement; the original tracking character artwork is preserved. */
.order-mascot{color-scheme:light;display:grid;grid-template-columns:260px 1fr;align-items:center;gap:20px;background:#F7F8FB;border:1px solid #E6ECF8;border-radius:18px;padding:20px 24px;margin:24px 0;overflow:hidden}
.order-mascot *{box-sizing:border-box}.order-mascot-copy{min-width:0}.order-mascot .order-mascot-title{font-size:23px;line-height:1.25;margin:7px 0 10px;color:#1F2A44}.order-mascot p{font-size:14px;line-height:1.65;color:#5D6678;margin:0}.order-mascot small{display:block;color:#4660B0;font-size:11px;letter-spacing:1.1px;text-transform:uppercase}
@media(max-width:700px){.order-mascot{grid-template-columns:1fr;gap:0;padding:8px 16px 24px;text-align:center}.order-mascot .order-mascot-title{font-size:21px}.order-mascot .th-scene{flex-shrink:0}}

/* Keep the artwork's fixed coordinate canvas intact inside compact admin cards. */
.order-mascot .th-scene{width:260px;max-width:none;flex-shrink:0}
.production-card .order-mascot-scene{position:relative;width:164px;height:140px;flex:0 0 164px}
.production-card .order-mascot-scene .th-scene{position:absolute;left:0;top:0;margin:0;transform:scale(.63);transform-origin:top left}
@media(max-width:650px){.production-card .order-mascot-scene{width:164px;height:140px;flex-basis:140px}}
