.luundy-gcw{position:fixed;bottom:24px;right:24px;z-index:999999;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif}.luundy-gcw.hidden{display:none!important}.luundy-gcw.dragging{opacity:.85;transition:none!important}.luundy-gcw.dragging .luundy-gcw-toggle{box-shadow:0 8px 32px rgba(139,0,0,.5);transform:scale(1.05);cursor:grabbing}.luundy-gcw.snapping{transition:left .28s ease,top .28s ease!important}.luundy-gcw-toggle{width:60px;height:60px;border-radius:50%;background:linear-gradient(135deg,#8b0000 0,brown 100%);border:none;box-shadow:0 4px 20px rgba(139,0,0,.4);cursor:pointer;position:relative;display:flex;align-items:center;justify-content:center;transition:transform .3s,box-shadow .3s}.luundy-gcw-toggle:hover{transform:scale(1.1);box-shadow:0 6px 28px rgba(139,0,0,.5)}.luundy-gcw-toggle:active{transform:scale(.95)}.luundy-gcw-toggle.expanded{transform:scale(.9);opacity:.7}.luundy-gcw-icon{color:#f4e4ba;display:flex;align-items:center;justify-content:center}.luundy-gcw-icon svg{width:28px;height:28px}.luundy-gcw-badge{position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;background:#d4af37;color:#8b0000;border-radius:10px;font-size:12px;font-weight:600;display:flex;align-items:center;justify-content:center;padding:0 6px;box-shadow:0 2px 4px rgba(0,0,0,.2)}.luundy-gcw-badge.hidden{display:none}.luundy-gcw-pulse{position:absolute;width:100%;height:100%;border-radius:50%;background:rgba(212,175,55,.4);pointer-events:none}.luundy-gcw-pulse.active{animation:gcw-pulse 1s ease-out infinite}@keyframes gcw-pulse{0%{transform:scale(1);opacity:1}100%{transform:scale(1.8);opacity:0}}.luundy-gcw-dock-tab{position:fixed;z-index:999999;right:0;top:50%;transform:translateY(-50%);width:40px;height:72px;background:linear-gradient(180deg,#8b0000 0,brown 100%);border-radius:10px 0 0 10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;cursor:pointer;color:#f4e4ba;box-shadow:-3px 2px 16px rgba(139,0,0,.4);transition:transform .2s,box-shadow .2s,width .2s}.luundy-gcw-dock-tab.dock-right{right:0;left:auto;border-radius:10px 0 0 10px;box-shadow:-3px 2px 16px rgba(139,0,0,.4)}.luundy-gcw-dock-tab.dock-left{left:0;right:auto;border-radius:0 10px 10px 0;box-shadow:3px 2px 16px rgba(139,0,0,.4)}.luundy-gcw-dock-tab:hover{width:48px;box-shadow:-4px 4px 24px rgba(139,0,0,.5)}.luundy-gcw-dock-tab:active{transform:translateY(-50%) scale(.95)}.luundy-gcw-dock-tab.hidden{display:none!important}.luundy-gcw-dock-tab svg{width:22px;height:22px;flex-shrink:0}.luundy-gcw-dock-tab .dock-badge{position:absolute;top:-6px;left:-6px;min-width:20px;height:20px;background:#d4af37;color:#8b0000;border-radius:10px;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0 5px;box-shadow:0 2px 8px rgba(0,0,0,.25);animation:gcw-badge-pulse 2s ease-in-out infinite}@keyframes gcw-badge-pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.1)}}.luundy-gcw-dock-tab .dock-badge.hidden{display:none}.luundy-gcw-panel{position:absolute;bottom:80px;right:0;width:380px;height:520px;background:ivory;border-radius:16px;box-shadow:0 8px 40px rgba(0,0,0,.25);display:flex;flex-direction:column;overflow:hidden;border:2px solid #d4af37;animation:gcw-slide-up .3s ease-out}.luundy-gcw-panel.hidden{display:none}@keyframes gcw-slide-up{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.luundy-gcw-header{background:#8b0000;color:#f4e4ba;padding:14px 16px;display:flex;justify-content:space-between;align-items:center;flex-shrink:0}.luundy-gcw-header-info{display:flex;align-items:center;gap:12px}.luundy-gcw-avatar{width:40px;height:40px;border-radius:50%;overflow:hidden;border:2px solid #d4af37;background:#dcfce7;display:flex;align-items:center;justify-content:center}.luundy-gcw-avatar img{width:100%;height:100%;object-fit:cover}.luundy-gcw-avatar svg{width:24px;height:24px;color:#16a34a}.luundy-gcw-title{font-weight:600;font-size:15px}.luundy-gcw-status{font-size:12px;display:flex;align-items:center;gap:6px;opacity:.9}.luundy-gcw-status .status-dot{width:8px;height:8px;border-radius:50%;background:#888;transition:background-color .3s}.luundy-gcw-status .status-dot.online{background:#4ade80;box-shadow:0 0 8px rgba(74,222,128,.6)}.luundy-gcw-header-actions{display:flex;gap:8px}.luundy-gcw-btn{width:32px;height:32px;border-radius:8px;background:rgba(255,255,255,.1);border:none;color:#f4e4ba;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s}.luundy-gcw-btn:hover{background:rgba(255,255,255,.2)}.luundy-gcw-btn svg{width:18px;height:18px}.luundy-gcw-product-context{padding:10px 16px;background:#f5ede0;display:flex;align-items:center;gap:10px;border-bottom:1px solid #e5d5c0;flex-shrink:0}.luundy-gcw-product-context.hidden{display:none}.luundy-gcw-product-context .product-thumb{width:48px;height:48px;border-radius:8px;object-fit:cover;border:1px solid #d4af37;flex-shrink:0}.luundy-gcw-product-context .product-info{flex:1;min-width:0}.luundy-gcw-product-context .product-title{font-size:13px;font-weight:500;color:#8b0000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.luundy-gcw-product-context .product-config{font-size:11px;color:#666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}.view-product-btn{width:32px;height:32px;border-radius:8px;background:#8b0000;border:none;color:#f4e4ba;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background .2s}.view-product-btn:hover{background:brown}.luundy-gcw-messages{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:12px;background:linear-gradient(180deg,#fffff5 0,#fffef0 100%)}.luundy-gcw-welcome{text-align:center;padding:30px 20px;color:#666}.luundy-gcw-welcome .welcome-icon{color:#d4af37;margin-bottom:12px}.luundy-gcw-welcome p{margin:0 0 4px 0;font-size:16px;font-weight:500;color:#8b0000}.luundy-gcw-welcome span{font-size:13px;color:#999}.luundy-gcw-msg{max-width:85%;display:flex;flex-direction:column}.luundy-gcw-msg.user{align-self:flex-end}.luundy-gcw-msg.admin{align-self:flex-start}.luundy-gcw-msg .msg-content{padding:10px 14px;border-radius:16px;font-size:14px;line-height:1.5;word-wrap:break-word}.luundy-gcw-msg.user .msg-content{background:linear-gradient(135deg,#8b0000 0,brown 100%);color:#f4e4ba;border-bottom-right-radius:4px}.luundy-gcw-msg.admin .msg-content{background:#f5ede0;color:#333;border-bottom-left-radius:4px;border:1px solid #e5d5c0}.luundy-gcw-msg .msg-time{font-size:10px;color:#999;margin-top:4px;padding:0 4px}.luundy-gcw-msg.user .msg-time{text-align:right}.luundy-gcw-msg .msg-image{max-width:200px;border-radius:12px;overflow:hidden;margin:4px 0}.luundy-gcw-msg .msg-image img{width:100%;height:auto;display:block}.luundy-gcw-link-card{background:#fff;border:1px solid #e5d5c0;border-radius:12px;padding:12px;margin:4px 0;max-width:240px}.luundy-gcw-link-card .link-title{font-weight:500;color:#8b0000;font-size:13px;margin-bottom:4px}.luundy-gcw-link-card .link-desc{font-size:12px;color:#666;margin-bottom:8px}.luundy-gcw-link-card .link-btn{display:inline-flex;align-items:center;gap:4px;background:#8b0000;color:#f4e4ba;padding:6px 12px;border-radius:6px;font-size:12px;text-decoration:none;transition:background .2s}.luundy-gcw-link-card .link-btn:hover{background:brown}.luundy-gcw-footer{padding:12px 16px;background:#f5ede0;border-top:1px solid #e5d5c0;flex-shrink:0}.luundy-gcw-input-wrapper{display:flex;gap:8px}.luundy-gcw-input{flex:1;padding:10px 14px;border:2px solid #d4af37;border-radius:24px;background:ivory;font-size:16px;outline:0;transition:border-color .2s,box-shadow .2s;touch-action:manipulation}.luundy-gcw-input:focus{border-color:#8b0000;box-shadow:0 0 0 3px rgba(139,0,0,.1)}.luundy-gcw-input::placeholder{color:#999}.luundy-gcw-send{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#8b0000 0,brown 100%);border:none;color:#f4e4ba;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .2s,box-shadow .2s;flex-shrink:0}.luundy-gcw-send:hover{transform:scale(1.05);box-shadow:0 4px 12px rgba(139,0,0,.4)}.luundy-gcw-send:active{transform:scale(.95)}.luundy-gcw-send svg{width:20px;height:20px}.luundy-gcw-send:disabled{opacity:.5;cursor:not-allowed}.luundy-gcw-toast{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);padding:12px 24px;background:#333;color:#fff;border-radius:8px;font-size:14px;z-index:9999999;animation:gcw-toast-in .3s ease}.luundy-gcw-toast.hidden{display:none}.luundy-gcw-toast.error{background:#dc2626}.luundy-gcw-toast.success{background:#16a34a}@keyframes gcw-toast-in{from{opacity:0;transform:translateX(-50%) translateY(20px)}to{opacity:1;transform:translateX(-50%) translateY(0)}}.luundy-gcw-loading{display:flex;justify-content:center;padding:20px}.luundy-gcw-loading::after{content:'';width:24px;height:24px;border:3px solid #e5d5c0;border-top-color:#8b0000;border-radius:50%;animation:gcw-spin .8s linear infinite}@keyframes gcw-spin{to{transform:rotate(360deg)}}@media (max-width:480px){.luundy-gcw{bottom:16px;right:16px}.luundy-gcw-toggle{width:56px;height:56px}.luundy-gcw-panel{position:fixed;top:0;left:0;right:0;bottom:0;width:100%;height:100%;border-radius:0;border:none;animation:gcw-slide-up-full .3s ease-out}.luundy-gcw-toggle.expanded{display:none}.luundy-gcw-header{padding:12px 16px;padding-top:calc(env(safe-area-inset-top) + 12px)}.luundy-gcw-footer{padding-bottom:calc(env(safe-area-inset-bottom) + 12px)}}@keyframes gcw-slide-up-full{from{opacity:0;transform:translateY(100%)}to{opacity:1;transform:translateY(0)}}.luundy-gcw-messages::-webkit-scrollbar{width:6px}.luundy-gcw-messages::-webkit-scrollbar-track{background:0 0}.luundy-gcw-messages::-webkit-scrollbar-thumb{background:#d4af37;border-radius:3px}.luundy-gcw-messages::-webkit-scrollbar-thumb:hover{background:#c4a030}.luundy-gcw-typing{display:flex;align-items:center;gap:4px;padding:8px 12px;background:#f5ede0;border-radius:12px;align-self:flex-start;border:1px solid #e5d5c0}.luundy-gcw-typing .dot{width:6px;height:6px;background:#8b0000;border-radius:50%;animation:gcw-typing 1.4s infinite ease-in-out both}.luundy-gcw-typing .dot:first-child{animation-delay:0s}.luundy-gcw-typing .dot:nth-child(2){animation-delay:.2s}.luundy-gcw-typing .dot:nth-child(3){animation-delay:.4s}@keyframes gcw-typing{0%,100%,80%{transform:scale(.6);opacity:.5}40%{transform:scale(1);opacity:1}}.luundy-gcw-msg.system{align-self:center;max-width:none}.luundy-gcw-msg.system .msg-content{background:#fef9e7;color:#8b6914;border:1px solid #d4af37;border-radius:9999px;padding:8px 16px;font-size:13px;text-align:center}.luundy-gcw-msg .msg-image{max-width:220px;border-radius:12px;overflow:hidden;cursor:pointer}.luundy-gcw-msg .msg-image img{width:100%;height:auto;max-height:200px;object-fit:cover;display:block}.luundy-gcw-product-card{background:#fff;border:2px solid #d4af37;border-radius:12px;overflow:hidden;width:240px;box-shadow:0 2px 8px rgba(0,0,0,.1)}.luundy-gcw-product-card .product-image{width:100%;height:120px;object-fit:cover}.luundy-gcw-product-card .product-body{padding:12px}.luundy-gcw-product-card .product-name{font-size:13px;font-weight:600;color:#2c1810;margin-bottom:6px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.luundy-gcw-product-card .product-price{font-size:16px;font-weight:700;color:#8b0000;margin-bottom:10px}.luundy-gcw-product-card .product-btn{display:block;width:100%;background:linear-gradient(135deg,#8b0000 0,#6b0000 100%);color:#f4e4ba;padding:8px;border-radius:8px;text-align:center;text-decoration:none;font-size:13px;font-weight:500;transition:opacity .2s}.luundy-gcw-product-card .product-btn:hover{opacity:.9}