/* GreenTV.com AI assistant — framed like olivia-agent-popup + chat dock */
.gtv-com-assistant-slot {
  width: 100%;
  margin: 0 0 18px;
}
/* Inline only — left sidebar above GreenTV News (no floating overlay) */
#gtv-com-assistant.is-inline {
  position: relative;
  right: auto;
  bottom: auto;
  left: auto;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  color: #f8f5f0;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.22));
}
#gtv-com-assistant.is-inline .gtv-com-assistant__visual {
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: none;
}

.gtv-com-assistant__panel {
  border-radius: 18px;
  border: 1px solid rgba(197, 164, 110, 0.28);
  background:
    radial-gradient(circle at top, rgba(74, 222, 128, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(15, 42, 31, 0.98), rgba(2, 12, 9, 0.99));
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
}

.gtv-com-assistant__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 8px 8px 0;
  flex-wrap: nowrap;
}
.gtv-com-assistant__pill {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #eff8f0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.gtv-com-assistant__actions {
  display: flex;
  gap: 4px;
  margin-left: auto;
  flex-shrink: 0;
}
.gtv-com-assistant__actions button {
  border: 1px solid rgba(0, 177, 64, 0.35);
  background: rgba(0, 0, 0, 0.28);
  color: #e8fff0;
  border-radius: 7px;
  padding: 4px 7px;
  font-size: 0.7rem;
  cursor: pointer;
}
.gtv-com-assistant__actions button:hover { border-color: #00ff6b; }

/* Olivia framed visual — portrait card, video fills edge-to-edge */
.gtv-com-assistant__card {
  margin: 8px 8px 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at top, rgba(74, 222, 128, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(31, 58, 47, 0.95), rgba(7, 22, 15, 0.98));
  overflow: hidden;
}
.gtv-com-assistant__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #0a1611;
}
.gtv-com-assistant__visual video {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  /* Mild zoom kills pillarbox without leaving side gap */
  transform: scale(1.14);
  transform-origin: center center;
  pointer-events: none;
}
.gtv-com-assistant__visual.is-talking {
  box-shadow: inset 0 0 0 2px rgba(0, 255, 107, 0.45);
}
.gtv-com-assistant__visual.is-talking video {
  filter: brightness(1.05) saturate(1.05);
}
.gtv-com-assistant__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.4));
  pointer-events: none;
}
.gtv-com-assistant__caption {
  padding: 8px 10px 10px;
  display: grid;
  gap: 2px;
}
.gtv-com-assistant__caption strong {
  display: block;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.25;
}
.gtv-com-assistant__caption strong br { display: block; content: ""; }
.gtv-com-assistant__caption span {
  color: #d4e1d8;
  font-size: 0.76rem;
  line-height: 1.35;
}

.gtv-com-assistant__body {
  padding: 8px 8px 10px;
}
.gtv-com-assistant__status {
  font-size: 0.76rem;
  line-height: 1.35;
  color: rgba(248, 245, 240, 0.65);
  margin: 0 0 8px;
  min-height: 1.1em;
}
/* legacy tip class unused — keep minimal if present */
.gtv-com-assistant__tip { display: none; }
.gtv-com-assistant__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}
.gtv-com-assistant__chips button {
  border: 1px solid rgba(197, 164, 110, 0.35);
  background: rgba(197, 164, 110, 0.08);
  color: #f0e6d4;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 0.7rem;
  cursor: pointer;
}
.gtv-com-assistant__chips button:hover {
  border-color: #c5a46e;
  color: #fff;
}
.gtv-com-assistant__chat {
  display: flex;
  gap: 6px;
}
.gtv-com-assistant__chat input {
  flex: 1;
  border-radius: 9px;
  border: 1px solid rgba(0, 177, 64, 0.3);
  background: #0a1611;
  color: #e8fff0;
  padding: 7px 8px;
  font: inherit;
  font-size: 0.8rem;
  min-width: 0;
}
.gtv-com-assistant__chat button {
  border: 0;
  border-radius: 9px;
  padding: 0 10px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  color: #07170f;
  background: #00b140;
}


