.tc-bot{--bot-w:122px;--bot-h:217px;position:fixed;right:max(18px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));z-index:45;color:#f8f6f2;font-family:Arial,"Microsoft YaHei",sans-serif;isolation:isolate;direction:ltr}
.tc-bot *, .tc-bot *::before, .tc-bot *::after{box-sizing:border-box}
.tc-bot [hidden]{display:none!important}
.tc-bot button,.tc-bot a{font:inherit;letter-spacing:normal;text-transform:none}
.tc-bot-launch{position:relative;display:block;width:176px;height:255px;padding:0;border:0;background:transparent;color:inherit;cursor:pointer;touch-action:manipulation;border-radius:24px}
.tc-bot-launch:focus-visible,.tc-bot button:focus-visible,.tc-bot a:focus-visible{outline:3px solid #d8a1b7;outline-offset:4px}
.tc-bot-launch::before{content:"";position:absolute;inset:auto 15% 19px;height:22px;background:radial-gradient(ellipse,rgba(18,8,15,.25),transparent 70%);border-radius:50%;pointer-events:none}
.tc-bot-figure{position:absolute;top:8px;left:27px;width:var(--bot-w);height:var(--bot-h);pointer-events:none}
.tc-bot-part,.tc-bot-whole{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}
.tc-bot-part{background:url('/assets/robot/t-bot.png') center/100% 100% no-repeat;clip-path:var(--clip);transform-origin:var(--origin,50% 50%);transform:translate(var(--x),var(--y)) rotate(var(--r));transition:transform .95s cubic-bezier(.22,.8,.25,1),opacity .2s;transition-delay:var(--delay,0ms);opacity:1}
.tc-bot[data-state="scattered"] .tc-bot-part{transition:transform .28s ease-out,opacity .1s;transition-delay:0ms}
.tc-bot-whole{opacity:0;transition:opacity .18s;filter:drop-shadow(0 4px 4px rgba(0,0,0,.2))}
.tc-bot[data-state="assembling"] .tc-bot-part,.tc-bot[data-state="ready"] .tc-bot-part{transform:translate(0,0) rotate(0deg)}
.tc-bot[data-state="assembling"] .tc-bot-part{will-change:transform}
.tc-bot[data-state="ready"] .tc-bot-whole{opacity:1}
.tc-bot[data-state="ready"] .tc-bot-part{opacity:0;transition-delay:0ms}
.tc-bot-chest{position:absolute;left:39%;top:50.6%;width:27%;height:8.2%;border-radius:8%;background:#fff0ce;mix-blend-mode:screen;box-shadow:0 0 8px 3px #ffd8a3;opacity:0}
.tc-bot[data-state="ready"] .tc-bot-chest{animation:tc-bot-light 1.8s ease-out both}
.tc-bot-label{position:absolute;bottom:0;left:50%;transform:translateX(-50%);display:flex;gap:7px;align-items:center;justify-content:center;white-space:nowrap;padding:9px 13px;background:#231b22;border:1px solid #ffffff3b;border-radius:100px;font-size:10px;box-shadow:0 3px 12px #0002;line-height:1.1}
.tc-bot-label::before{content:"";display:block;width:5px;height:5px;border-radius:50%;background:#cf739d;box-shadow:0 0 7px #d783aa}
.tc-bot-label strong{font-size:10px;letter-spacing:1px}
.tc-bot-label span{color:#dfd2d9;font-size:10px}
.tc-bot-minimize{position:absolute;right:-2px;bottom:226px;display:grid;place-items:center;width:25px;height:25px;padding:0;color:#fff;background:#29212ac7;border:1px solid #ffffff3b;border-radius:50%;font-size:18px!important;line-height:1;cursor:pointer}
.tc-bot-panel{position:absolute;right:4px;bottom:267px;width:308px;max-height:calc(100dvh - 300px);overflow:auto;padding:22px;background:#201b21f5;border:1px solid #907485;border-radius:18px;box-shadow:0 16px 60px #0004;backdrop-filter:blur(15px);text-align:start;direction:inherit}
.tc-bot-panel[dir="rtl"]{direction:rtl}
.tc-bot-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.tc-bot-heading p{font-size:9px;letter-spacing:1.6px;line-height:1.4;color:#d992b4;margin:0 0 8px}
.tc-bot-heading h2{font-size:19px;letter-spacing:-.3px;font-weight:600;line-height:1.3;color:#fff;margin:0}
.tc-bot-close{flex:none;width:28px;height:28px;padding:0;display:grid;place-items:center;color:#fff;border:1px solid #ffffff40;background:transparent;border-radius:50%;font-size:19px!important}
.tc-bot-copy{font-size:12px;line-height:1.8;margin:16px 0 18px;color:#e0d6dc}
.tc-bot-actions{display:grid;gap:9px}
.tc-bot-actions a{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:43px;padding:12px 13px;border-radius:8px;background:#f4eef1;color:#391d2a;font-size:12px;font-weight:600;text-decoration:none;border:1px solid transparent;line-height:1.4}
.tc-bot-actions a:nth-child(2){background:transparent;color:#f7f0f4;border-color:#796572}
.tc-bot-actions a:hover{background:#e5ced9;color:#321321}
.tc-bot-replay{margin:15px 0 0;padding:0;border:0;background:transparent;color:#c4adb9;font-size:10px!important;text-decoration:underline;text-underline-offset:3px}
.tc-bot-note{font-size:10px;line-height:1.7;margin:14px 0 0;padding-top:13px;border-top:1px solid #ffffff20;color:#b7a8b1}
.tc-bot-speech{position:absolute;right:4px;bottom:267px;width:245px;padding:13px 16px;border-radius:12px;background:#241d24f5;color:#fff;border:1px solid #8e7884;font-size:11px;line-height:1.7;box-shadow:0 7px 25px #0003;text-align:start}
.tc-bot.is-minimized .tc-bot-launch{width:86px;height:36px}
.tc-bot.is-minimized .tc-bot-figure,.tc-bot.is-minimized .tc-bot-minimize,.tc-bot.is-minimized .tc-bot-launch::before,.tc-bot.is-minimized .tc-bot-label span{display:none}
.tc-bot.is-minimized .tc-bot-label{bottom:0;height:36px}
.tc-bot.is-minimized .tc-bot-label::after{content:"+";font-size:15px;color:white}
/* Keep the homepage's existing video control clear of the floating assistant. */
.hero .hero-motion{right:210px}
@keyframes tc-bot-light{0%{opacity:0}20%{opacity:.65;box-shadow:0 0 15px 6px #ffd8a3}65%{opacity:.22}100%{opacity:.12}}
@media(max-width:650px){.tc-bot{--bot-w:83px;--bot-h:147.5px;right:12px;bottom:max(12px,env(safe-area-inset-bottom))}.tc-bot-launch{width:124px;height:178px}.tc-bot-figure{left:20px;top:3px}.tc-bot-label{padding:8px 10px}.tc-bot-label span{display:none}.tc-bot-minimize{bottom:150px;right:0}.tc-bot-panel{right:0;bottom:190px;width:min(296px,calc(100vw - 24px));max-height:calc(100dvh - 218px);padding:18px}.tc-bot-speech{right:0;bottom:190px;width:min(245px,calc(100vw - 24px))}}
@media(max-width:650px){.hero .hero-motion{right:150px;max-width:calc(100vw - 175px);letter-spacing:.3px}}
@media(max-height:580px){.tc-bot-panel{bottom:50px;right:160px;max-height:calc(100dvh - 75px)}.tc-bot-speech{bottom:50px;right:160px}}
@media(max-width:650px) and (max-height:580px){.tc-bot-panel{right:0;bottom:48px;max-height:calc(100dvh - 76px)}.tc-bot-panel:not([hidden])~.tc-bot-launch .tc-bot-figure{visibility:hidden}.tc-bot-speech{right:0;bottom:190px}}
@media(prefers-reduced-motion:reduce){.tc-bot-part,.tc-bot-whole{transition:none!important}.tc-bot-chest{animation:none!important}.tc-bot[data-state="ready"] .tc-bot-chest{opacity:.12}}
