:root{ --lcu-color:#0073aa; }
.lcu-button{
  position:fixed;bottom:20px;right:20px;z-index:9999;
  background:var(--lcu-color);color:#fff;padding:12px 18px;border-radius:10px;
  font-weight:700;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,.15);
}
.lcu-modal{position:fixed;inset:0;background:rgba(0,0,0,.35);z-index:10000;display:flex;align-items:center;justify-content:center;}
.lcu-modal-card{width:340px;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,.25);}
.lcu-modal-header{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:#f5f5f5;font-weight:700}
.lcu-modal-header button{background:transparent;border:0;font-size:20px;cursor:pointer}
.lcu-namegate{padding:12px;display:flex;gap:8px;flex-direction:column}
.lcu-namegate input{padding:10px;border:1px solid #ddd;border-radius:8px}
.lcu-namegate .lcu-error{color:#c00;font-size:12px}
.lcu-namegate #lcu-start{padding:10px 12px;border-radius:8px;border:0;background:var(--lcu-color);color:#fff;font-weight:700;cursor:pointer}
.lcu-chat{display:flex;flex-direction:column;height:420px}
.lcu-chat-header{padding:8px 12px;background:#fafafa;border-top:1px solid #eee;border-bottom:1px solid #eee}
.lcu-thread{flex:1;padding:12px;overflow:auto;background:#fff}
.lcu-compose{display:flex;gap:8px;padding:10px;border-top:1px solid #eee}
.lcu-compose input{flex:1;padding:10px;border-radius:8px;border:1px solid #ddd}
.lcu-compose button{padding:10px 12px;border:0;border-radius:8px;background:var(--lcu-color);color:#fff;font-weight:700;cursor:pointer}
.lcu-msg{margin-bottom:10px}
.lcu-msg.lcu-admin .lcu-body{border-left:3px solid var(--lcu-color);padding-left:8px}
.lcu-meta{font-size:10px;color:#888;margin-top:2px}
