.gkc-overlay { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: flex-end; justify-content: center; background: rgba(15, 15, 15, .55); backdrop-filter: blur(3px); font-family: inherit; }
.gkc-sheet { width: 100%; max-width: 480px; height: min(86vh, 640px); display: flex; flex-direction: column; background: #fff; border-radius: 22px 22px 0 0; overflow: hidden; box-shadow: 0 -10px 40px rgba(0, 0, 0, .3); }
@media (min-width: 560px) { .gkc-overlay { align-items: center; } .gkc-sheet { border-radius: 22px; } }
.gkc-head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 16px; background: #111; color: #fff; }
.gkc-avatar { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #e5a420; color: #111; font-weight: 800; }
.gkc-who { min-width: 0; flex: 1; }
.gkc-who b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gkc-who small { display: block; font-size: 11px; opacity: .7; }
.gkc-who small:empty { display: none; }
.gkc-actions { display: flex; gap: 6px; }
.gkc-act { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 0 11px; border-radius: 99px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; }
.gkc-act:hover { background: rgba(255, 255, 255, .25); }
@media (max-width: 420px) { .gkc-act span { display: none; } .gkc-act { width: 38px; padding: 0; justify-content: center; } }
.gkc-x { width: 36px; height: 36px; flex: none; border: 0; border-radius: 50%; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; }
.gkc-list { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: #f4f1ea; }
.gkc-msg { max-width: 80%; padding: 8px 12px 6px; border-radius: 16px; font-size: 14px; line-height: 1.35; word-break: break-word; }
.gkc-msg p { margin: 0; white-space: pre-wrap; }
.gkc-msg time { display: block; margin-top: 2px; font-size: 10px; opacity: .6; text-align: right; }
.gkc-msg.mine { align-self: flex-end; background: #e5a420; color: #111; border-bottom-right-radius: 4px; }
.gkc-msg.theirs { align-self: flex-start; background: #fff; color: #111; border-bottom-left-radius: 4px; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.gkc-empty { margin: auto; text-align: center; color: #7a766c; font-size: 13px; }
.gkc-error { margin: 0; padding: 8px 14px; background: #fdecea; color: #b3261e; font-size: 12px; }
.gkc-closed { margin: 0; padding: 14px; text-align: center; background: #fff; color: #7a766c; font-size: 13px; border-top: 1px solid #eee; }
.gkc-error[hidden], .gkc-closed[hidden], .gkc-form[hidden] { display: none; }
.gkc-quick { display: flex; gap: 6px; overflow-x: auto; padding: 8px 12px 0; background: #fff; }
.gkc-quick:empty { display: none; }
.gkc-chip { flex: none; padding: 7px 12px; border: 1px solid #e3ddcf; border-radius: 99px; background: #fff; color: #111; font: 600 12px inherit; cursor: pointer; }
.gkc-form { display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; }
.gkc-form input { flex: 1; min-width: 0; min-height: 44px; padding: 0 16px; border: 1px solid #e3ddcf; border-radius: 99px; background: #f4f1ea; font: inherit; font-size: 16px; color: #111; }
.gkc-form input:focus { outline: 2px solid #e5a420; background: #fff; }
.gkc-form button { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: #111; color: #e5a420; display: grid; place-items: center; cursor: pointer; }
.gkc-form button:disabled { opacity: .5; }
.gkc-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: 6px; padding: 0 5px; border-radius: 99px; background: #d93025; color: #fff; font-size: 11px; font-weight: 800; }
