
.ccbd-gv {
  --blue: #0b5fff;
  --yellow: #ffe14a;
  --text: #fff8d6;
  --muted: #c9d4ff;
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
}
.ccbd-gv * { box-sizing: border-box; }

.ccbd-gv-panel {
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(11,95,255,.55), transparent 55%),
    radial-gradient(700px 400px at 0% 100%, rgba(255,209,0,.18), transparent 50%),
    linear-gradient(180deg, #0a2a7a 0%, #061433 100%);
  border: 3px solid var(--yellow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ccbd-gv:not(.ccbd-gv--float) .ccbd-gv-panel {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  border-radius: 0;
  margin: 0;
}

.ccbd-gv--float .ccbd-gv-panel {
  position: fixed;
  inset: 0;
  z-index: 99991;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  min-height: 0;
  border-radius: 0;
  border: 0;
  border-top: 4px solid var(--yellow);
}
.ccbd-gv--float .ccbd-gv-panel[hidden] { display: none; }

.ccbd-gv-head {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: linear-gradient(90deg, #0b5fff, #0839b8);
  border-bottom: 3px solid var(--yellow);
}
.ccbd-gv-brand { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.ccbd-gv-mark {
  width: 52px; height: 52px;
  border-radius: 14px;
  border: 2px solid var(--yellow);
  object-fit: cover;
  background: #0b5fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.35);
}
.ccbd-gv-head strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--yellow);
  text-transform: uppercase;
  text-shadow: 0 2px 0 #062a8a;
}
.ccbd-gv-head small { color: #dbe4ff; font-size: 12px; }
.ccbd-gv-meta { color: #ffe14a; font-size: 13px; font-weight: 700; }
.ccbd-gv-close {
  background: var(--yellow);
  border: 0;
  color: #061433;
  width: 40px; height: 40px;
  border-radius: 10px;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
}

.ccbd-gv-log {
  flex: 1;
  overflow-y: auto;
  padding: 28px 8vw 16px;
  min-height: 0;
}
.ccbd-gv-msg {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 16px 0;
  max-width: 860px;
  margin: 0 auto;
}
.ccbd-gv-ava {
  width: 48px; height: 48px; border-radius: 14px;
  object-fit: cover;
  border: 2px solid var(--yellow);
  background: #0b5fff;
}
.ccbd-gv-ava.letter {
  display: grid; place-items: center;
  font-weight: 800; color: #061433;
  background: var(--yellow);
  border: 0;
  font-size: 16px;
}
.ccbd-gv-who { font-size: 12px; color: var(--yellow); margin-bottom: 6px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ccbd-gv-bubble { font-size: 17px; line-height: 1.6; color: #fff; }

.ccbd-gv-status {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  padding: 0 16px 10px;
}
.ccbd-gv-status.rec { color: #ffb4b4; font-weight: 700; }

.ccbd-gv-composer {
  margin: 0 auto 22px;
  width: min(860px, calc(100% - 32px));
  background: rgba(6, 20, 51, .82);
  border: 2px solid var(--yellow);
  border-radius: 22px;
  padding: 12px 12px 10px;
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}
.ccbd-gv-text {
  width: 100%;
  background: transparent;
  border: 0;
  color: #fff;
  font: inherit;
  font-size: 16px;
  padding: 8px 8px 6px;
  outline: none;
}
.ccbd-gv-text::placeholder { color: #9eb0e8; }
.ccbd-gv-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px 2px;
}
.ccbd-gv-model { font-size: 13px; color: var(--yellow); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding-left: 6px; }
.ccbd-gv-grow { flex: 1; }
.ccbd-gv-mic, .ccbd-gv-send {
  width: 44px; height: 44px; border-radius: 12px; border: 0;
  cursor: pointer; display: grid; place-items: center;
}
.ccbd-gv-mic { background: #123a9a; color: #fff; border: 2px solid var(--yellow); }
.ccbd-gv-mic.hot { background: #e23d3d; border-color: #fff; animation: ccbd-pulse 1s infinite; }
.ccbd-gv-send { background: var(--yellow); color: #061433; }
@keyframes ccbd-pulse { 50% { box-shadow: 0 0 0 8px rgba(226,61,61,.18); } }

.ccbd-gv-fab {
  position: fixed;
  right: 20px; bottom: 20px; z-index: 99990;
  background: #0b5fff; color: var(--yellow);
  border: 3px solid var(--yellow);
  border-radius: 999px;
  padding: 8px 16px 8px 8px;
  font: inherit; font-size: 16px; font-weight: 800;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  text-transform: uppercase;
  letter-spacing: .03em;
}
.ccbd-gv-fab img {
  width: 40px; height: 40px; border-radius: 10px; object-fit: cover;
}

body.ccbd-gv-open { overflow: hidden; }

body.ccbd-gv-blank .ccbd-gv-panel { position:fixed; inset:0; width:100vw; height:100dvh; min-height:100dvh; border:0; border-radius:0; }
