.fb-launch {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  display: flex; align-items: center; gap: 8px;
  padding: 12px 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--plum); color: #fff; font: 600 15px/1 inherit; font-family: inherit;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.fb-launch:hover { background: #a347a6; }
.fb-launch svg { width: 18px; height: 18px; }
.fb-panel {
  position: fixed; right: 20px; bottom: 84px; z-index: 50;
  width: 360px; max-width: calc(100vw - 32px); height: 520px; max-height: calc(100vh - 120px);
  display: none; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6); overflow: hidden;
}
.fb-panel.open { display: flex; }
.fb-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--panel-2); }
.fb-head img { width: 28px; height: 28px; border-radius: 6px; }
.fb-head strong { font-size: 15px; display: block; }
.fb-head span { font-size: 12px; color: var(--muted); }
.fb-close { margin-left: auto; background: none; border: 0; color: var(--muted); font-size: 22px; cursor: pointer; line-height: 1; }
.fb-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.fb-msg { max-width: 88%; padding: 10px 13px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; white-space: pre-line; }
.fb-bot { background: var(--panel-2); border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.fb-user { background: var(--plum); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.fb-msg a { color: var(--gold); }
.fb-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fb-chip { background: none; border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: 6px 11px; font: inherit; font-size: 13px; cursor: pointer; }
.fb-chip:hover { background: var(--panel-2); border-color: var(--plum-light); }
.fb-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.fb-form input { flex: 1; min-width: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; color: var(--text); font: inherit; font-size: 14.5px; }
.fb-form input:focus { outline: 2px solid var(--plum-light); outline-offset: 0; }
.fb-form button { background: var(--gold); color: #1a1408; border: 0; border-radius: 999px; padding: 0 16px; font: inherit; font-weight: 700; cursor: pointer; }
@media (max-width: 480px) {
  .fb-panel { right: 16px; left: 16px; width: auto; bottom: 80px; }
  .fb-launch { right: 16px; bottom: 16px; }
}
