.live-support{position:fixed;right:18px;bottom:18px;z-index:30;display:grid;justify-items:end;gap:10px;max-width:calc(100vw - 24px)}
.live-support-open{display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:0 16px;border:1px solid #32d583;border-radius:999px;background:#12382c;color:#d9ffe9;font:800 14px/1 Manrope,Arial,sans-serif;cursor:pointer;box-shadow:0 12px 30px #0008}
.live-support-open:hover{background:#1b4d3b}
.live-support-open:focus-visible,.live-support-panel button:focus-visible,.live-support-panel textarea:focus-visible,.live-support-panel input:focus-visible{outline:2px solid #9af4c8;outline-offset:2px}
.live-support-panel{display:flex;flex-direction:column;width:min(380px,calc(100vw - 24px));max-height:min(74dvh,620px);border:1px solid #34506a;border-radius:18px;background:linear-gradient(160deg,#14263b,#0d1726);box-shadow:0 24px 60px #000a;overflow:hidden}
.live-support-panel[hidden]{display:none}
.live-support-panel header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid #294257}
.live-support-panel header strong{color:#f3f8fd;font-size:14px}
.live-support-panel header button{width:32px;height:32px;border:1px solid #304760;border-radius:10px;background:#18293b;color:#d5e2ef;font-size:20px;line-height:1;cursor:pointer}
.live-support-mode{display:flex;align-items:center;gap:8px;margin:0;padding:8px 14px;color:#91a7bd;font:800 13px/1 Manrope,Arial,sans-serif}
.live-support-mode img{width:22px;height:22px;border-radius:50%;object-fit:cover}
.live-support-mode.is-on{color:#9af4c8}
.live-support-mode.is-off img{filter:grayscale(1);opacity:.65}
.live-support-chat{grid-template-columns:auto minmax(0,1fr) auto;align-items:end}
.support-emoji-open{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;min-width:42px;padding:0;border:1px solid #35506a;border-radius:10px;background:#0d1928;color:#f3f8fd;font-size:18px;line-height:1;cursor:pointer}
.support-emoji-box{display:flex;flex-direction:column;gap:8px;grid-column:1/-1;max-height:196px;overflow:auto;padding:0 0 8px}
.support-emoji-box[hidden]{display:none !important}
.support-emoji-tabs{display:flex;gap:6px}
.support-emoji-tabs button{display:inline-flex;align-items:center;justify-content:center;width:auto;height:28px;min-height:28px;padding:0 12px;border:1px solid #35506a;border-radius:999px;background:#0d1928;color:#d5e2ef;font:700 12px/1 Manrope,Arial,sans-serif;cursor:pointer}
.support-emoji-tabs button.is-on{border-color:#32d583;background:#32d583;color:#07251a}
.support-emoji-grid{display:flex;flex-wrap:wrap;gap:6px}
.live-support form .support-emoji-grid button,.live-desk .support-emoji-grid button{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:40px;height:40px;min-width:40px;max-width:40px;min-height:40px;margin:0;padding:0;border:0;border-radius:12px;background:#32d583;color:#07251a;line-height:0;font-size:22px;font-weight:400;cursor:pointer}
.support-emoji-char{display:flex;align-items:center;justify-content:center;width:26px;height:26px;font-size:22px;line-height:1;font-weight:400}
.support-emoji-grid img,.support-emoji{display:block;width:32px;height:32px;margin:0;border-radius:8px;object-fit:contain}
.live-desk-templates,.live-desk-tools{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.live-desk-templates button,.live-desk-lang button{border:1px solid #3a526b;border-radius:999px;background:#0d1726;color:#d5e2ef;padding:4px 10px;cursor:pointer;font:700 12px Manrope,Arial,sans-serif}
.live-desk-lang button.is-on{border-color:#32d583;color:#9af4c8}
.live-desk-extra{display:grid;gap:16px;margin-top:18px}
.live-desk-extra form{display:grid;gap:8px;max-width:720px}
.live-desk-extra input,.live-desk-extra textarea{width:100%;border:1px solid #3a526b;border-radius:10px;background:#0c1624;color:#f8fbff;padding:10px}
.live-emoji-manage{display:flex;flex-wrap:wrap;gap:8px}
.live-emoji-manage figure{display:grid;justify-items:center;gap:4px;margin:0}
.live-emoji-manage img{width:48px;height:48px;border-radius:12px;object-fit:cover}
.live-support-log{display:flex;flex-direction:column;gap:8px;min-height:0;overflow:auto;padding:12px}
.live-support-log:empty{display:none;padding:0}
.live-support-log:not(:empty){flex:1 1 auto}
.live-support-log p{max-width:88%;margin:0;padding:8px 10px;border-radius:12px;font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.live-support-log .mine{align-self:flex-end;background:#174435;color:#e8fff3}
.live-support-log .theirs{align-self:flex-start;background:#101c2c;color:#d5e2ef;border:1px solid #294257}
.live-support-log small{display:block;margin-top:4px;color:#91a7bd;font-size:10px}
.live-support form{display:grid;gap:8px;width:100%;max-width:none;margin:0;padding:0 12px 12px;border:0;border-radius:0;background:transparent}
.live-support form[hidden]{display:none !important}
.live-support form label{display:grid;gap:4px;margin:0;color:#cfdae7;font:700 12px/1.3 Manrope,Arial,sans-serif}
.live-support textarea,.live-support input{width:100%;box-sizing:border-box;min-height:42px;padding:10px;border:1px solid #35506a;border-radius:10px;background:#0d1928;color:#f3f8fd;font:500 14px/1.4 Manrope,Arial,sans-serif}
.live-support textarea{max-height:120px;resize:vertical}
.live-support form button{min-height:42px;padding:0 12px;border:1px solid #32d583;border-radius:10px;background:#32d583;color:#07251a;font:800 13px/1 Manrope,Arial,sans-serif;cursor:pointer}
.live-support form .support-emoji-open,.live-desk .support-emoji-open{display:inline-flex;align-items:center;justify-content:center;width:42px;max-width:42px;min-width:42px;height:42px;min-height:42px;padding:0;border:1px solid #35506a;border-radius:10px;background:#0d1928;color:#f3f8fd;font-size:20px;font-weight:400;line-height:1}
.live-support form .support-emoji-tabs button,.live-desk .support-emoji-tabs button{width:auto;max-width:none;min-width:0;height:28px;min-height:28px;padding:0 12px;border:1px solid #35506a;border-radius:999px;background:#0d1928;color:#d5e2ef;font:700 12px/1 Manrope,Arial,sans-serif}
.live-support form .support-emoji-tabs button.is-on,.live-desk .support-emoji-tabs button.is-on{border-color:#32d583;background:#32d583;color:#07251a}
.live-support form button:disabled{opacity:.6;cursor:wait}
.live-support-note,.live-support-status{margin:0;color:#9af4c8;font-size:12px}
.live-support-status{padding:0 14px 8px}
.live-support-status:empty{display:none}
.live-support-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
@media(max-width:540px){.live-support{right:12px;bottom:12px}.live-support-open{min-height:42px;padding:0 12px;font-size:13px}}
