:root {
  --polly-bg: #0a0a0f;
  --polly-panel: #0a0a0f;
  --polly-line: rgba(143, 255, 211, 0.15);
  --polly-text: #e7fff7;
  --polly-muted: #9cc8bc;
  --polly-accent: #8fffd3;
  --polly-accent-2: #6dd8ff;
  --polly-shadow: 0 26px 60px rgba(0, 0, 0, 0.42);
}

.polly-launcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 300;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--polly-line);
  background: linear-gradient(135deg, rgba(143,255,211,0.18), rgba(109,216,255,0.16));
  color: var(--polly-text);
  box-shadow: var(--polly-shadow);
  cursor: pointer;
  font: 600 14px/1.2 'IBM Plex Sans', 'Segoe UI', sans-serif;
}

.polly-launcher:hover {
  transform: translateY(-1px);
}

.polly-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--polly-accent), var(--polly-accent-2));
  box-shadow: 0 0 0 6px rgba(143,255,211,0.10);
}

.polly-panel {
  position: fixed;
  right: 20px;
  bottom: 84px;
  z-index: 301;
  width: min(380px, calc(100vw - 24px));
  max-height: min(78vh, 760px);
  overflow: auto;
  border-radius: 24px;
  border: 1px solid var(--polly-line);
  background: #0a0a0f; border: 1px solid rgba(139, 255, 223, 0.30);
  color: var(--polly-text);
  box-shadow: var(--polly-shadow);
  display: none;
}

.polly-panel.open {
  display: block;
}

.polly-panel-inner {
  padding: 22px;
}

.polly-kicker,
.polly-chip {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
}

.polly-kicker {
  color: var(--polly-accent);
}

.polly-title {
  margin: 8px 0 10px;
  font: 700 28px/1.05 'Space Grotesk', 'Segoe UI', sans-serif;
}

.polly-copy,
.polly-list li,
.polly-prompt-copy {
  color: var(--polly-muted);
  line-height: 1.65;
}

.polly-section {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(143,255,211,0.08);
}

.polly-section h3 {
  margin: 0 0 10px;
  font: 700 17px/1.2 'Space Grotesk', 'Segoe UI', sans-serif;
}

.polly-link-grid {
  display: grid;
  gap: 10px;
}

.polly-link {
  display: block;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(143,255,211,0.10);
  background: rgba(255,255,255,0.03);
  color: var(--polly-text);
  text-decoration: none;
}

.polly-link strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.polly-link span {
  display: block;
  color: var(--polly-muted);
  font-size: 13px;
  line-height: 1.5;
}

.polly-prompt {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(143,255,211,0.10);
  background: rgba(255,255,255,0.03);
}

.polly-prompt-copy {
  margin: 0;
  font-size: 13px;
  white-space: pre-wrap;
}

.polly-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.polly-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(143,255,211,0.12);
  background: rgba(143,255,211,0.08);
  color: var(--polly-text);
  text-decoration: none;
  cursor: pointer;
  font: 600 13px/1.2 'IBM Plex Sans', 'Segoe UI', sans-serif;
}

.polly-btn:hover {
  background: rgba(143,255,211,0.14);
}

.polly-status {
  margin-top: 10px;
  color: var(--polly-accent);
  font-size: 12px;
}

@media (max-width: 720px) {
  .polly-launcher {
    right: 12px;
    bottom: 12px;
  }

  .polly-panel {
    right: 12px;
    bottom: 68px;
    width: calc(100vw - 24px);
  }
}
