/* lmg-shared/chatbot.css — yüzen yardım chatbot'u (panel token'larıyla uyumlu) */
.lmg-bot-fab{position:fixed;right:22px;bottom:22px;z-index:9990;width:56px;height:56px;border-radius:50%;border:0;cursor:pointer;box-shadow:0 12px 34px rgba(0,0,0,.45);overflow:hidden;padding:0;transition:.18s;background:#15171c}
.lmg-bot-fab:hover{transform:translateY(-2px) scale(1.05)}
.lmg-bot-fab img{width:100%;height:100%;display:block;object-fit:cover}
.lmg-bot-panel{position:fixed;right:22px;bottom:90px;z-index:9990;width:346px;max-width:92vw;height:480px;max-height:72vh;background:var(--surface,#16181d);border:1px solid var(--line,rgba(255,255,255,.12));border-radius:16px;display:none;flex-direction:column;overflow:hidden;box-shadow:0 18px 56px rgba(0,0,0,.55)}
.lmg-bot-panel.open{display:flex}
.lmg-bot-hd{padding:11px 14px;border-bottom:1px solid var(--line,rgba(255,255,255,.1));display:flex;align-items:center;gap:10px;color:var(--text,#f4f6f8)}
.lmg-bot-hd .lmg-bot-pp{width:34px;height:34px;border-radius:50%;flex:none;object-fit:cover}
.lmg-bot-hd .lmg-bot-id{display:flex;flex-direction:column;line-height:1.2}
.lmg-bot-hd .lmg-bot-id .nm{font-size:14.5px;font-weight:700}
.lmg-bot-hd .lmg-bot-id .st{font-size:10.5px;color:#10b981;font-weight:600}
.lmg-bot-hd .x{margin-left:auto;background:none;border:0;color:var(--text3,#7c858f);font-size:20px;cursor:pointer;line-height:1;padding:0 2px}
.lmg-bot-msgs{flex:1;overflow:auto;padding:14px;display:flex;flex-direction:column;gap:10px}
.lmg-bot-msg{font-size:13px;line-height:1.55;padding:9px 12px;border-radius:13px;max-width:86%;white-space:pre-wrap;word-break:break-word;font-weight:500}
.lmg-bot-msg.u{align-self:flex-end;background:var(--acc,#6366f1);color:#fff;border-bottom-right-radius:4px}
.lmg-bot-msg.a{align-self:flex-start;background:var(--bg2,#0e1014);color:var(--text2,#aab3bd);border-bottom-left-radius:4px}
.lmg-bot-msg.a.typing{color:var(--text3,#7c858f)}
.lmg-bot-sugg{display:flex;flex-wrap:wrap;gap:6px;padding:0 14px 10px}
.lmg-bot-sugg button{font-size:11.5px;color:var(--text2,#aab3bd);background:var(--bg2,#0e1014);border:1px solid var(--line,rgba(255,255,255,.1));border-radius:999px;padding:6px 11px;cursor:pointer;transition:.14s}
.lmg-bot-sugg button:hover{border-color:var(--acc,#6366f1);color:var(--text,#f4f6f8)}
.lmg-bot-in{display:flex;gap:8px;padding:11px;border-top:1px solid var(--line,rgba(255,255,255,.1))}
.lmg-bot-in input{flex:1;padding:10px 12px;border:1px solid var(--line2,rgba(255,255,255,.17));border-radius:10px;background:var(--bg2,#0e1014);color:var(--text,#f4f6f8);font-size:13px}
.lmg-bot-in input:focus{outline:none;border-color:var(--acc,#6366f1)}
.lmg-bot-in button{border:0;background:var(--acc,#6366f1);color:#fff;border-radius:10px;width:40px;font-size:18px;cursor:pointer}
.lmg-bot-in button:disabled{opacity:.5}

/* ── MOBİL: Lumi tam ekran, güvenli alan (iPhone / iPhone Pro) ── */
@media (max-width:640px){
  .lmg-bot-fab{right:calc(16px + env(safe-area-inset-right));bottom:calc(18px + env(safe-area-inset-bottom))}
  .lmg-bot-panel{right:0;left:0;top:0;bottom:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;border-radius:0;border:0}
  .lmg-bot-panel.open{display:flex}
  .lmg-bot-hd{padding-top:calc(12px + env(safe-area-inset-top))}
  .lmg-bot-hd .lmg-bot-pp{width:38px;height:38px}
  .lmg-bot-hd .x{font-size:26px;padding:4px 8px;margin-right:-4px}
  .lmg-bot-msg{font-size:15px;max-width:88%}
  .lmg-bot-in{padding:11px 12px calc(12px + env(safe-area-inset-bottom))}
  .lmg-bot-in input{font-size:16px;padding:12px 14px}   /* iOS odak-zoom'u engeller */
  .lmg-bot-in button{width:46px;font-size:20px}
  .lmg-bot-sugg button{font-size:13px;padding:8px 13px}
}
