/* Burbuja de chat de Lone (asistente de IA de Lone110) */
.lc-fab{
  position:fixed; right:20px; bottom:20px; z-index:900;
  width:60px; height:60px; border:0; border-radius:50%;
  background:var(--orange,#ff6a1f); color:#fff; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 14px 34px -8px #ff6a1faa;
  transition:transform .15s ease, box-shadow .15s ease;
}
.lc-fab:hover{ transform:translateY(-2px); }
.lc-fab:focus-visible,.lc-close:focus-visible,.lc-send:focus-visible{ outline:2px solid #fff; outline-offset:2px; }
.lc-fab svg{ width:28px; height:28px; }
.lc-fab[hidden],.lc-panel[hidden]{ display:none; }

.lc-panel{
  position:fixed; right:20px; bottom:20px; z-index:901;
  width:380px; max-width:calc(100vw - 24px); height:min(560px, calc(100dvh - 40px));
  display:flex; flex-direction:column; overflow:hidden;
  background:var(--panel,#131a2b); color:var(--text,#f6f3ec);
  border:1px solid var(--border-strong,#ffffff22); border-radius:18px;
  box-shadow:0 30px 80px -20px rgba(0,0,0,.7);
  font-family:inherit; font-size:15px; line-height:1.5;
}
.lc-head{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:14px 16px; background:var(--panel-2,#161d31);
  border-bottom:1px solid var(--border,#ffffff14);
}
.lc-title{ font-weight:700; }
.lc-title .num{ color:var(--orange,#ff6a1f); }
.lc-sub{ display:block; font-weight:400; font-size:12px; color:var(--text-dim,#aab0c2); }
.lc-close{ border:0; background:none; color:var(--text-dim,#aab0c2); font-size:26px; line-height:1; cursor:pointer; padding:0 4px; }
.lc-log{ flex:1; overflow-y:auto; display:flex; flex-direction:column; gap:10px; padding:14px 16px; }
.lc-m{
  max-width:88%; padding:9px 13px; border-radius:14px; white-space:pre-wrap; overflow-wrap:anywhere;
  background:var(--panel-2,#161d31); border:1px solid var(--border,#ffffff14);
}
.lc-m.user{ align-self:flex-end; background:var(--orange,#ff6a1f); border-color:var(--orange,#ff6a1f); color:#fff; }
.lc-m.note{ align-self:center; max-width:100%; background:none; border:0; font-size:13px; color:var(--text-dim,#aab0c2); text-align:center; }
.lc-m.note a{ color:var(--orange-2,#ff8a3d); }
.lc-form{ display:flex; gap:8px; padding:12px 14px; border-top:1px solid var(--border,#ffffff14); }
.lc-input{
  flex:1; resize:none; max-height:96px; padding:9px 12px; border-radius:12px;
  border:1px solid var(--border-strong,#ffffff22); background:var(--bg,#0b0f1a); color:inherit; font:inherit;
}
.lc-send{
  border:0; border-radius:12px; padding:0 16px; background:var(--orange,#ff6a1f); color:#fff;
  font:inherit; font-weight:600; cursor:pointer;
}
.lc-send:disabled,.lc-input:disabled{ opacity:.5; cursor:default; }

@media (max-width:520px){
  .lc-panel{ right:0; bottom:0; width:100vw; max-width:100vw; height:100dvh; border-radius:0; }
  .lc-fab{ right:14px; bottom:14px; }
}
@media (prefers-reduced-motion:reduce){ .lc-fab{ transition:none; } }
