#gchat-bubble {
  position: fixed; right: 20px; bottom: 20px; z-index: 99998;
  width: 60px; height: 60px; border-radius: 50%;
  background: #6e1423; color: #fff; font-size: 28px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,.35);
}
#gchat-bubble:hover { background: #8a1a2e; }
#gchat-panel {
  position: fixed; right: 20px; bottom: 92px; z-index: 99999;
  width: min(360px, 92vw); height: min(520px, 72vh);
  background: #fffdf8; border: 1px solid #e5d9c8; border-radius: 16px;
  box-shadow: 0 10px 34px rgba(0,0,0,.30);
  display: flex; flex-direction: column; overflow: hidden;
  font-family: inherit;
}
#gchat-panel[hidden] { display: none; }
#gchat-header {
  background: #6e1423; color: #fff; padding: 12px 14px;
  display: flex; justify-content: space-between; align-items: center;
}
#gchat-header .gchat-title strong { display: block; font-size: 16px; }
#gchat-header .gchat-title span { font-size: 12px; opacity: .85; }
#gchat-close {
  background: transparent; border: 0; color: #fff; font-size: 18px; cursor: pointer;
}
#gchat-msgs {
  flex: 1; overflow-y: auto; padding: 12px;
  display: flex; flex-direction: column; gap: 8px;
}
.gchat-msg { max-width: 86%; padding: 9px 12px; border-radius: 14px; font-size: 14px; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; }
.gchat-bot { background: #f6ead9; color: #3a2a20; align-self: flex-start; border-bottom-left-radius: 4px; }
.gchat-user { background: #6e1423; color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.gchat-msg a { color: #6e1423; font-weight: 700; text-decoration: underline; }
.gchat-user a { color: #ffd9a0; }
#gchat-quick { padding: 6px 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.gchat-chip {
  border: 1px solid #6e1423; color: #6e1423; background: #fff;
  border-radius: 999px; padding: 5px 10px; font-size: 12.5px; cursor: pointer;
}
.gchat-chip:hover { background: #6e1423; color: #fff; }
#gchat-form { display: flex; border-top: 1px solid #e5d9c8; }
#gchat-input { flex: 1; border: 0; padding: 12px; font-size: 14px; outline: none; background: #fff; }
#gchat-form button {
  background: #6e1423; color: #fff; border: 0; padding: 0 16px; cursor: pointer; font-size: 14px;
}
