:root{
  --tlit-primary:#1f7a8c;
  --tlit-accent:#39b54a;
  --tlit-bg:#0f1418;
  --tlit-text:#e8f1f2;
}

#tlit-launcher{
  position:fixed; right:18px; bottom:18px; z-index:99999;
  width:56px; height:56px; border-radius:50%;
  background:var(--tlit-primary); color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 24px rgba(0,0,0,.25); cursor:pointer; transition:.2s;
}
#tlit-launcher:hover{ transform:translateY(-1px); }
#tlit-launcher .tlit-emoji{ font-size:20px }
#tlit-badge{
  position:absolute; top:-6px; right:-6px; min-width:18px; height:18px; padding:0 5px;
  background:var(--tlit-accent); color:#06240c; border-radius:9px; font-size:11px; line-height:18px; text-align:center; display:none; font-weight:700;
}

#tlit-chatwrap{
  position:fixed; right:18px; bottom:84px; z-index:99998; width:320px; max-width:calc(100vw - 36px);
  background:#111; color:var(--tlit-text); border:1px solid #1f2a33; border-radius:14px;
  box-shadow:0 16px 48px rgba(0,0,0,.35); display:none; overflow:hidden;
  font-family:system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
#tlit-header{
  background:linear-gradient(135deg, var(--tlit-primary), #155a66);
  padding:12px 14px; color:#fff; font-weight:600; display:flex; justify-content:space-between; align-items:center;
}
#tlit-close{
  background:transparent; color:#fff; border:none; font-size:16px; cursor:pointer; opacity:.85;
}
#tlit-messages{ height:340px; overflow:auto; padding:12px; background:#0b1014; }
.msg{ margin:8px 0; display:flex; gap:8px; }
.msg .bubble{
  padding:10px 12px; border-radius:12px; max-width:85%; white-space:pre-wrap;
  box-shadow:0 2px 8px rgba(0,0,0,.2); font-size:14px; line-height:1.4;
}
.me .bubble{ background:#1c2a33; color:#dbe7ea; margin-left:auto; border-bottom-right-radius:4px; }
.bot .bubble{ background:#101a20; color:#e6f3f6; border:1px solid #18323b; border-bottom-left-radius:4px; }

#tlit-inputbar{ display:flex; gap:8px; padding:10px; background:#0f151a; border-top:1px solid #1b2a33; }
#tlit-text{ flex:1; resize:none; height:40px; border-radius:10px; border:1px solid #1f2a33; background:#0b1216; color:#e5eff2; padding:8px 10px; }
#tlit-send{ background:var(--tlit-accent); color:#06240c; border:none; border-radius:10px; padding:0 14px; font-weight:700; cursor:pointer; }
#tlit-send[disabled]{ opacity:.6; cursor:not-allowed; }