.llc-widget {
  --llc-bg: #09070b;
  --llc-panel: #131018;
  --llc-panel-2: #1b1522;
  --llc-text: #fff7fb;
  --llc-muted: rgba(255, 247, 251, 0.58);
  --llc-soft: rgba(255, 247, 251, 0.12);
  --llc-hot: #ff2b93;
  --llc-rose: #ff8ac4;
  --llc-gold: #d7b46a;
  --llc-teal: #68f0ce;
  --llc-shadow: 0 20px 60px rgba(0, 0, 0, 0.48);
  color: var(--llc-text);
  font-family: Inter, Montserrat, Raleway, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9000;
}

.llc-launcher {
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 50%;
  color: #12070f;
  background: linear-gradient(135deg, var(--llc-rose), var(--llc-hot) 48%, var(--llc-gold));
  box-shadow: 0 12px 34px rgba(255, 43, 147, 0.34);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.llc-launcher:hover,
.llc-launcher:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(255, 43, 147, 0.48);
  outline: none;
}

.llc-launcher-mark {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 21px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.92);
}

.llc-unread {
  position: absolute;
  right: 2px;
  top: 1px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--llc-teal);
  color: #07100e;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 0 0 3px rgba(9, 7, 11, 0.9);
}

.llc-panel {
  position: absolute;
  right: 0;
  bottom: 78px;
  width: min(390px, calc(100vw - 28px));
  max-height: min(690px, calc(100vh - 112px));
  background: linear-gradient(180deg, rgba(27, 21, 34, 0.98), rgba(9, 7, 11, 0.98));
  border: 1px solid rgba(255, 138, 196, 0.28);
  box-shadow: var(--llc-shadow);
  overflow: hidden;
  display: none;
}

.llc-widget.is-open .llc-panel {
  display: grid;
  grid-template-rows: auto minmax(180px, 1fr) auto;
}

.llc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.llc-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 20px;
  font-weight: 700;
  color: #12070f;
  background: linear-gradient(135deg, #fff, var(--llc-rose));
}

.llc-title {
  min-width: 0;
  flex: 1;
}

.llc-title strong {
  display: block;
  font-size: 13px;
  line-height: 1.2;
}

.llc-title span {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: var(--llc-muted);
  font-size: 11px;
}

.llc-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--llc-teal);
  box-shadow: 0 0 12px rgba(104, 240, 206, 0.8);
}

.llc-close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: var(--llc-muted);
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.llc-close:hover,
.llc-close:focus-visible {
  color: #fff;
  border-color: rgba(255, 138, 196, 0.55);
  outline: none;
}

.llc-messages {
  min-height: 240px;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.llc-message {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.llc-message.is-user {
  justify-content: flex-end;
}

.llc-message .llc-avatar {
  width: 26px;
  height: 26px;
  font-size: 14px;
}

.llc-bubble {
  max-width: 82%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 247, 251, 0.9);
  font-size: 13px;
  line-height: 1.5;
}

.llc-message.is-user .llc-bubble {
  background: rgba(255, 43, 147, 0.18);
  border-color: rgba(255, 43, 147, 0.32);
}

.llc-reco {
  margin: 0 16px 14px;
  padding: 14px;
  border: 1px solid rgba(215, 180, 106, 0.28);
  background:
    linear-gradient(135deg, rgba(215, 180, 106, 0.12), rgba(255, 43, 147, 0.08)),
    var(--llc-panel);
}

.llc-reco-label {
  color: var(--llc-gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.llc-reco-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-style: italic;
  line-height: 1.1;
  margin-bottom: 7px;
}

.llc-reco-body {
  color: var(--llc-muted);
  font-size: 12px;
  line-height: 1.55;
  margin-bottom: 12px;
}

.llc-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.llc-action {
  min-height: 34px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 138, 196, 0.36);
  color: #fff;
  background: rgba(255, 43, 147, 0.13);
  text-decoration: none;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.llc-action:hover,
.llc-action:focus-visible {
  background: rgba(255, 43, 147, 0.24);
  border-color: rgba(255, 138, 196, 0.72);
  outline: none;
}

.llc-capabilities {
  margin: 0 16px 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.llc-capability {
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 247, 251, 0.86);
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
  text-align: left;
  font: inherit;
  font-size: 11px;
  line-height: 1.25;
}

.llc-capability span {
  display: block;
  font-weight: 800;
}

.llc-capability:hover,
.llc-capability:focus-visible {
  border-color: rgba(255, 138, 196, 0.55);
  background: rgba(255, 43, 147, 0.12);
  outline: none;
}

.llc-quick {
  padding: 0 16px 12px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.llc-quick button {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--llc-text);
  background: rgba(255, 255, 255, 0.06);
  font-size: 11px;
  cursor: pointer;
}

.llc-quick button:hover,
.llc-quick button:focus-visible {
  border-color: rgba(255, 138, 196, 0.55);
  outline: none;
}

.llc-form {
  display: flex;
  gap: 8px;
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.18);
}

.llc-input {
  min-width: 0;
  flex: 1;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  padding: 0 12px;
  font: inherit;
  font-size: 13px;
}

.llc-input::placeholder {
  color: rgba(255, 247, 251, 0.38);
}

.llc-input:focus {
  border-color: rgba(255, 138, 196, 0.72);
  outline: none;
}

.llc-send {
  width: 42px;
  height: 42px;
  border: 0;
  color: #12070f;
  background: linear-gradient(135deg, var(--llc-rose), var(--llc-hot));
  cursor: pointer;
  font-size: 18px;
}

.llc-send:hover,
.llc-send:focus-visible {
  filter: brightness(1.08);
  outline: none;
}

@media (max-width: 520px) {
  .llc-widget {
    right: 14px;
    bottom: 14px;
  }

  .llc-panel {
    right: -4px;
    bottom: 74px;
    width: calc(100vw - 20px);
    max-height: calc(100vh - 96px);
  }

  .llc-widget.is-open .llc-panel {
    grid-template-rows: auto minmax(150px, 1fr) auto;
  }
}
