.rebel-widget { position:fixed; z-index:30; right:clamp(.7rem,3vw,1.7rem); bottom:clamp(.7rem,3vw,1.7rem); }
.rebel-widget [hidden] { display:none !important; }
.rebel-launch {
  display:grid; place-items:center; width:3.75rem; height:3.75rem; margin-left:auto;
  padding:0; border:1px solid #d39854; border-radius:50%; cursor:pointer; background:#301b1d;
  box-shadow:0 7px 24px #0009; overflow:hidden;
}
.rebel-launch img { width:100%; height:100%; object-fit:cover; }
.rebel-launch:hover { border-color:#ffe0ae; }
.rebel-panel {
  display:grid; gap:.7rem; width:min(24rem, calc(100vw - 1.6rem)); margin-bottom:.6rem;
  padding:.85rem; border:1px solid #725033; border-radius:1rem;
  background:#191418; color:#f4ede4; box-shadow:0 15px 55px #000b;
}
.rebel-panel header { display:flex; gap:.6rem; align-items:center; }
.rebel-panel header img { border-radius:50%; }
.rebel-panel h2 { margin:0; font-size:1.2rem; }
.rebel-panel header button { margin-left:auto; }
.rebel-panel button {
  color:#ffdfb6; background:#392724; border:1px solid #70503a; border-radius:.5rem; padding:.3rem .55rem; cursor:pointer;
}
.rebel-panel button:disabled { opacity:.5; }
.rebel-history {
  display:grid; align-content:start; gap:.5rem; min-height:4.6rem; max-height:min(40dvh,22rem);
  overflow:auto; overflow-wrap:anywhere; font-size:.89rem; padding-right:.12rem;
}
.rebel-history ul { padding-left:1.25rem; margin:.3rem 0; }
.rebel-history a { display:block; }
.rebel-reply,.rebel-question { padding:.5rem .65rem; border-radius:.6rem; background:#302528; }
.rebel-question { background:#4a2928; justify-self:end; max-width:94%; }
.rebel-panel form { display:flex; align-items:stretch; gap:.35rem; margin:0; }
.rebel-panel form input { flex:1; min-width:0; width:auto; padding:.4rem .55rem; }
.rebel-controls { display:flex; flex-wrap:wrap; gap:.32rem .7rem; color:#d5bab0; font-size:.77rem; }
.rebel-controls label { display:flex; align-items:center; gap:.3rem; }
.rebel-controls input { width:auto; }
.rebel-sr { position:absolute; width:1px; height:1px; clip-path:inset(50%); overflow:hidden; }
