.website .ai-launcher{position:fixed;right:26px;bottom:26px;z-index:50;display:flex;align-items:center;gap:10px;min-height:52px;padding:8px 19px 8px 9px;background:#205d36;color:white;border:1px solid #39784a;border-radius:30px;box-shadow:0 5px 22px #12372026;cursor:pointer;font-size:13px;font-weight:550}
.ai-launcher>span,.ai-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e1f0d5;color:#205d36;font-size:12px;font-weight:700;flex-shrink:0}
.website .ai-launcher:hover{background:#174a29;transform:translateY(-2px)}
.website #xintu-chat{position:fixed;inset:auto 26px 26px auto;margin:0;padding:0;width:390px;max-width:calc(100vw - 32px);height:570px;max-height:calc(100dvh - 40px);background:#fff;border:1px solid #d6e1d8;border-radius:15px;box-shadow:0 18px 80px #0d241b38;color:#243b2e;overflow:hidden}
.website #xintu-chat[open]{display:flex;flex-direction:column}
#xintu-chat::backdrop{background:#122b1d22}
.ai-chat-header{display:flex;align-items:center;justify-content:space-between;padding:19px 20px;border-bottom:1px solid #e4ebe5;flex-shrink:0}
.ai-chat-header>div{display:flex;gap:12px;align-items:center}.website #ai-chat-title{font-size:16px;line-height:1.5;margin:0;letter-spacing:0}
.website .ai-chat-header p{font-size:11px;color:#5c7063;margin:3px 0 0;line-height:1.5}
.website .ai-close{border:0;background:transparent;border-radius:5px;width:40px;height:40px;font-size:25px;color:#4e6557;cursor:pointer}.website .ai-close:hover{background:#edf3ea}
.ai-chat-body{flex:1;min-height:0;overflow-y:auto;padding:19px;background:#f5f7f4;overscroll-behavior:contain}
.website .ai-chat-notice{font-size:11px;color:#57695c;text-align:center;margin:0 0 20px}
.ai-messages{display:flex;flex-direction:column;gap:15px}
.ai-bubble{max-width:93%;align-self:flex-start;background:#fff;border:1px solid #e0e7df;border-radius:3px 12px 12px 12px;padding:14px 16px;font-size:13px;line-height:1.85;overflow-wrap:anywhere;white-space:pre-wrap}
.ai-bubble b{font-size:13px;font-weight:600}.website .ai-bubble p{margin:7px 0 0;font-size:12px;line-height:1.85;color:#4d6455}
.ai-bubble.ai-user{align-self:flex-end;border-color:#d3e1cb;background:#e5efde;border-radius:12px 3px 12px 12px}
.ai-compose{padding:15px 19px 12px;border-top:1px solid #e1e8df;flex-shrink:0;background:white}
.ai-compose label{display:block;font-size:11px;color:#536859;margin-bottom:7px}
.website .ai-compose textarea{width:100%;resize:none;max-height:90px;padding:10px 12px;border:1px solid #c9d8cb;border-radius:7px;color:#213e2a;background:#fff;font-size:13px;line-height:1.6;box-sizing:border-box}
.ai-compose textarea::placeholder{color:#65766b;opacity:1}
.ai-compose-bottom{display:flex;justify-content:flex-end;align-items:center;margin-top:8px;gap:10px}.ai-compose-bottom>span{font-size:10px;color:#627367}
.website .ai-compose-bottom button{background:#286b3b;border:0;color:#fff;border-radius:5px;min-height:38px;padding:0 15px;cursor:pointer;font-size:12px}.website .ai-compose-bottom button:disabled{background:#e4eae3;color:#657263;cursor:not-allowed}
.website .ai-send-status{font-size:10px;line-height:1.6;color:#536859;margin:7px 0 0}.ai-send-status:empty{display:none}
@media(max-width:760px){.website .ai-launcher{right:16px;bottom:max(16px,env(safe-area-inset-bottom));min-height:48px;padding-right:15px}.website #xintu-chat{right:12px;bottom:max(12px,env(safe-area-inset-bottom));width:calc(100vw - 24px);max-width:none;height:560px;max-height:calc(100dvh - 24px)}.ai-chat-header{padding:14px 16px}.ai-chat-body{padding:16px}.ai-compose{padding:12px 16px}.website .ai-compose textarea{font-size:16px}.website .ai-compose-bottom button{min-height:44px}}

/* Sprout assistant: drag the character, click to talk. */
.website .ai-launcher{width:116px;height:142px;display:flex;flex-direction:column;justify-content:flex-end;gap:0;padding:0 0 5px;border:0;background:transparent!important;box-shadow:none;border-radius:16px;touch-action:none;user-select:none;cursor:grab;transform:none!important;transition:none;isolation:isolate}
.website .ai-launcher:before{content:'';position:absolute;width:63px;height:12px;background:#23472e20;filter:blur(6px);border-radius:50%;bottom:43px;z-index:-1}
.website .ai-launcher .sprout-mascot{width:99px;height:99px;object-fit:contain;pointer-events:none;filter:drop-shadow(0 5px 6px #193d2520);animation:sprout-breathe 4s ease-in-out infinite}
.website .ai-launcher .sprout-label{width:auto;height:auto;background:#fff;color:#245737;border:1px solid #d7e5d5;box-shadow:0 3px 12px #253d1910;border-radius:20px;padding:5px 11px;display:block;font-size:11px;font-weight:600;line-height:1.5;white-space:nowrap}
.website .ai-launcher .sprout-hint{width:auto;height:auto;display:block;border-radius:0;background:#ffffffeb;color:#4d6655;font-size:9px;font-weight:400;margin-top:3px;line-height:1.5;padding:0 4px}
.website .ai-launcher:hover .sprout-label{background:#edf6e6;border-color:#92b58b}.website .ai-launcher.is-dragging{cursor:grabbing}.website .ai-launcher.is-dragging .sprout-mascot{animation-play-state:paused}
.website #xintu-chat{border-radius:18px;border-color:#cddfcf;box-shadow:0 20px 70px #173d292e}
.website .ai-chat-header{background:linear-gradient(120deg,#f1f8e9,#fff);padding:16px 18px}
.website .ai-avatar{width:54px;height:54px;background:none;border-radius:0}.ai-avatar img{width:54px;height:54px;object-fit:contain}
.website .ai-chat-body{background:#f8faf6}.website .ai-bubble{border-color:#e0e8db;box-shadow:0 3px 10px #183d1704}.website .ai-bubble b{color:#285537}
@keyframes sprout-breathe{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-5px) rotate(2deg)}}
@media(max-width:760px){.website .ai-launcher{width:100px;height:125px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));padding:0 0 3px}.website .ai-launcher .sprout-mascot{width:83px;height:83px}.website .ai-launcher .sprout-label{font-size:10px;padding:4px 9px}.website .ai-launcher .sprout-hint{font-size:8px}.website .ai-launcher:before{bottom:39px}.website .ai-avatar,.ai-avatar img{width:45px;height:45px}}
@media(prefers-reduced-motion:reduce){.website .ai-launcher .sprout-mascot{animation:none}}
/* A little life around the sprout, with copy kept to a minimum. */
.website .ai-launcher{width:100px;height:111px;justify-content:flex-end;padding:0 0 3px;overflow:visible}
.website .ai-launcher:before{bottom:28px;width:52px;height:9px;filter:blur(7px);background:#173d251d}
.website .ai-launcher .sprout-mascot{position:relative;z-index:2;width:92px;height:92px;animation:sprout-bob 3.2s ease-in-out infinite;transform-origin:50% 82%}
.website .ai-launcher .sprout-label{position:relative;z-index:4;padding:4px 15px;font-size:12px;letter-spacing:.08em;box-shadow:0 3px 12px #20392316}
.sprout-orbit{position:absolute;z-index:1;display:block;border-radius:50%;pointer-events:none}
.sprout-orbit.orbit-one{width:7px;height:7px;top:19px;right:13px;background:#b3dc6c;box-shadow:0 0 12px #94c958aa;animation:sprout-twinkle 2.2s ease-in-out infinite}
.sprout-orbit.orbit-two{width:5px;height:5px;top:43px;left:7px;background:#69ba83;animation:sprout-twinkle 2.8s ease-in-out -1s infinite}
.website .ai-launcher:hover .sprout-mascot{animation:sprout-wave .7s ease-in-out 2}
.website .ai-launcher:hover .sprout-label{background:#edf6e6}
@keyframes sprout-bob{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-5px) rotate(2deg)}}
@keyframes sprout-wave{0%,100%{transform:rotate(0) translateY(0)}25%{transform:rotate(-7deg) translateY(-3px)}65%{transform:rotate(6deg) translateY(-3px)}}
@keyframes sprout-twinkle{0%,100%{opacity:.25;transform:scale(.7)}50%{opacity:1;transform:scale(1.35)}}
.website .ai-bubble.ai-user{color:#263d2f}.website .ai-compose label{font-size:0}.website .ai-compose label:after{content:'消息';font-size:11px}
@media(max-width:760px){.website .ai-launcher{width:88px;height:99px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));padding-bottom:2px}.website .ai-launcher .sprout-mascot{width:80px;height:80px}.website .ai-launcher .sprout-label{font-size:11px;padding:4px 13px}.website .ai-launcher:before{bottom:26px}.sprout-orbit.orbit-one{right:10px;top:16px}.sprout-orbit.orbit-two{left:5px;top:39px}}
@media(prefers-reduced-motion:reduce){.website .ai-launcher .sprout-mascot,.sprout-orbit{animation:none!important}}
