.lc-widget{position:fixed;left:var(--lc-left,18px);bottom:var(--lc-bottom,18px);z-index:100000;font-family:Arial,sans-serif}
.lc-bubble{width:62px;height:62px;padding:0;border:0;border-radius:50%;background:var(--lc-accent,#c6a15b);color:#1b1408;box-shadow:0 12px 30px rgba(0,0,0,.28);cursor:grab;display:grid;place-items:center;overflow:hidden;touch-action:none}
.lc-bubble img{width:100%;height:100%;object-fit:cover}
.lc-bubble.has-new{box-shadow:0 0 0 6px rgba(198,161,91,.28)}
.lc-panel{display:none;position:absolute;left:0;bottom:74px;width:min(360px,calc(100vw - 28px));height:520px;max-height:calc(100vh - 110px);background:var(--lc-bg,#fff);color:var(--lc-text,#1c2430);border-radius:18px;overflow:hidden;box-shadow:0 18px 50px rgba(0,0,0,.28);flex-direction:column}
.lc-widget.open .lc-panel{display:flex}
.lc-head{background:var(--lc-header,#1b212b);color:var(--lc-header-text,#f4f1ea);padding:14px 16px;display:flex;justify-content:space-between;align-items:center}
.lc-head strong{display:block}
.lc-head span{font-size:12px;color:var(--lc-accent,#c6a15b)}
.lc-head-actions{display:flex;align-items:center;gap:4px}
.lc-head button{border:0;background:transparent;color:#fff;font-size:20px;cursor:pointer}
.lc-end{width:32px;height:32px;border-radius:8px;display:none;place-items:center;background:rgba(255,255,255,.08)}
.lc-widget.open .lc-end{display:grid}
.lc-end[hidden]{display:none!important}
.lc-badge{position:absolute;left:50%;bottom:74px;transform:translateX(-50%);display:flex;align-items:center;gap:6px;max-width:180px;padding:6px 8px;border-radius:12px;background:#1b212b;color:#f4f1ea;font-size:11px;line-height:1.3;box-shadow:0 8px 20px rgba(0,0,0,.25)}
.lc-badge[hidden]{display:none}
.lc-badge img{width:28px;height:28px;object-fit:cover;border-radius:6px}
.lc-widget.open .lc-badge{display:none}
.lc-typing{margin:0 14px 8px;font-size:12px;opacity:.75}
.lc-typing[hidden]{display:none}
.lc-body{min-height:0}
.lc-body{flex:1;overflow:auto;padding:14px;background:var(--lc-bg,#f6f7f9);color:var(--lc-text,#1c2430)}
.lc-promo{display:flex;gap:8px;align-items:center;background:rgba(255,255,255,.72);border-radius:10px;padding:8px;margin:0 0 8px}
.lc-promo img{width:42px;height:42px;object-fit:cover;border-radius:8px;flex:none}
.lc-social-title{font-size:13px;font-weight:700;margin:8px 0}
.lc-socials{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 10px}
.lc-socials a{width:38px;height:38px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:var(--lc-header,#1b212b);color:var(--lc-header-text,#fff);text-decoration:none;font-size:12px;font-weight:700}
.lc-socials img{width:100%;height:100%;object-fit:cover}
.lc-form label{display:block;font-size:12px;margin:8px 0 4px}
.lc-form input{width:100%;box-sizing:border-box;height:40px;border:1px solid #d9dee7;border-radius:10px;padding:0 10px;background:#fff;color:#1c2430}
.lc-form button,.lc-send{margin-top:12px;width:100%;height:42px;border:0;border-radius:10px;background:var(--lc-accent,#c6a15b);color:#1b1408;font-weight:700;cursor:pointer}
.lc-msg{max-width:85%;margin:0 0 10px;padding:8px 10px;border-radius:12px;background:var(--lc-visitor-bg,#fff);color:var(--lc-visitor-color,#1c2430);box-shadow:0 1px 2px rgba(0,0,0,.06)}
.lc-msg.admin{margin-left:auto;background:var(--lc-staff-bg,#1b212b);color:var(--lc-staff-color,#fff)}
.lc-msg b{display:block;font-size:12px;margin-bottom:3px}
.lc-msg.admin b{color:#e7d3a4}
.lc-msg small{display:block;opacity:.6;margin-top:4px}
.lc-msg a{color:inherit}
.lc-compose{display:none;gap:6px;padding:10px;border-top:1px solid #e6ebf2;background:#fff}
.lc-compose input[type=text]{flex:1;height:40px;border:1px solid #d9dee7;border-radius:10px;padding:0 10px}
.lc-compose button,.lc-attach{width:40px;height:40px;border:0;border-radius:10px;background:#1b212b;color:#fff;cursor:pointer;display:grid;place-items:center}
.lc-file{display:none}
.lc-idle{margin:0 10px 8px;padding:8px 10px;border-radius:8px;background:#fff6df;color:#5c4814;font-size:12px;line-height:1.45}
.lc-idle[hidden]{display:none}
.lc-compose{align-items:center}
.lc-new{margin-top:8px;height:38px;border:0;border-radius:10px;background:var(--lc-accent,#c6a15b);cursor:pointer;width:100%}
.lc-note{font-size:13px;opacity:.8;margin:0 0 8px}
.lc-offline{margin:12px 0;padding:12px;border-radius:12px;background:rgba(255,255,255,.8);line-height:1.45}
.lc-modal{position:absolute;inset:0;z-index:8;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(16,18,22,.55)}
.lc-modal-box{width:min(280px,100%);background:#fff;color:#1c2430;border-radius:14px;padding:16px;box-shadow:0 16px 40px rgba(0,0,0,.28)}
.lc-modal-box p{margin:0 0 14px;font-weight:700}
.lc-modal-box button{height:36px;border:0;border-radius:8px;margin-right:6px;padding:0 14px;cursor:pointer;background:var(--lc-accent,#c6a15b);font-weight:700}
.lc-confirm-no{background:#e8eaef!important;color:#1c2430}
.lc-alert{margin:8px 0;padding:12px;border-radius:12px;background:#fff;border:1px solid #e4c56a}
.lc-alert p{margin:0 0 8px}
.lc-alert button{height:36px;border:0;border-radius:8px;padding:0 12px;cursor:pointer;background:var(--lc-accent,#c6a15b);font-weight:700}
.lc-stars{display:flex;gap:6px;margin:8px 0}
.lc-stars button{width:36px;height:36px;border:0;border-radius:8px;background:#fff;cursor:pointer;font-size:20px}
.lc-stars button.on{background:var(--lc-accent,#c6a15b)}
.lc-rate textarea{width:100%;box-sizing:border-box;min-height:70px;border:1px solid #d9dee7;border-radius:10px;padding:8px}
@media (min-width:1101px){
.lc-widget.lc-hide-desktop{display:none!important}
.lc-widget.lc-hide-desktop.open{display:block!important}
.lc-widget.open .lc-panel{display:flex}
}
@media(max-width:1100px){
.lc-widget.lc-hide-mobile{display:none!important}
.lc-widget.lc-hide-mobile.open{display:block!important}
.lc-widget{bottom:calc(var(--lc-bottom,18px) + 68px)}
.lc-widget.open{z-index:100070}
.lc-widget.open .lc-panel{display:flex;position:fixed;inset:0;width:100%;height:100%;max-height:none;border-radius:0;z-index:100070}
.lc-widget.open .lc-bubble{display:none}
}
