:root {
  --zu-pink: #ec3d9f;
  --bg: #0a0a0b;
  --card: #121214;
  --text: #f6f6f7;
  --muted: #b8b8bf;
  --line: #222226;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #fcf8fb;
  color: var(--text, #333);
  font: 16px/1.5 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.shell {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.logo {
  max-width: 120px;
  height: auto;
}

h1 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0.3px;
}

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 18px 0 10px;
}

button {
  background: var(--zu-pink, #ec3d9f);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

button:hover {
  color: var(--zu-pink, #ec3d9f);
  background-color: transparent;
  box-shadow: inset 0 0 0 2px var(--zu-pink, #ec3d9f);
  text-decoration: none;
}

.btn-fixed:hover {
  background: var(--zu-pink, #ec3d9f);
  color: white;
  box-shadow: none;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.linkish {
  background: none;
  border: none;
  color: var(--zu-pink);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.persona-row {
  display: none;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0 10px;
  justify-content: center;
}

.persona {
  border: 2px solid var(--zu-pink);
  background: transparent;
  color: var(--zu-pink);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.15s, color 0.18s;
  position: relative;
  z-index: 0;
}

.persona:hover,
.persona.active:hover {
  background: var(--zu-pink);
  color: #fff;
}

.persona.active {
  outline: 1px solid var(--zu-pink);
  background: var(--zu-pink);
  color: #fff;
}

.chat {
  display: none;
  margin-top: 10px;
  padding-top: 14px;
  width: 100%;
  max-width: 700px;
}

.stream {
  max-height: 55vh;
  overflow: auto;
  padding-right: 6px;
  margin-bottom: 12px;
}

.msg {
  display: flex;
  gap: 10px;
  margin: 10px 0;
}

.bubble {
  background: #fcf8fb;
  border: 1px solid #ec3d9f;
  padding: 1.5rem;
  border-radius: 14px;
  max-width: 90%;
  color: #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.me .bubble {
  background: #fcf8fb;
  color: #333;
  border: 1px solid #ccc;
}

.ai .bubble {
  background: #fcf8fb;
  color: #333;
  border: 1.5px solid #ec3d9f;
}

.typing .bubble {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dots {
  display: inline-flex;
  gap: 4px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.4;
  animation: blink 1.2s infinite ease-in-out;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}

.dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes blink {
  0%,
  80%,
  100% {
    opacity: 0.3;
  }
  40% {
    opacity: 1;
  }
}

.tag {
  display: inline-block;
  margin: 0 0.5rem 0 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--zu-pink);
  letter-spacing: 0.2px;
  vertical-align: top;
}

.llmInputBox {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.llmInput {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
  background: #fff;
  color: #333;
  transition: all 0.3s ease;
}

.llmInput:focus {
  border-color: var(--zu-pink);
  outline: none;
  background: #fff;
  color: #333;
}

.llmResponse {
  margin-top: 2rem;
  background: #fcf8fb;
  border: 1px solid #ec3d9f;
  padding: 1.5rem;
  border-radius: 12px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  color: #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.llmSubmit {
  padding: 0.75rem 1.25rem;
  background: var(--zu-pink);
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.llmSubmit:hover {
  color: var(--zu-pink);
  background-color: var(--hover-bg);
  box-shadow: inset 0 0 0 2px var(--zu-pink);
  text-decoration: none;
}

.footnote {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.muted {
  color: var(--muted);
}
