* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(150deg, #ffe6f2 0%, #f3e6ff 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

#app {
  width: 100%;
  max-width: 420px;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

header {
  background: linear-gradient(135deg, #ff9ecb, #a78bfa);
  color: white;
  padding: 16px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}

.transparency-note {
  font-size: 12px;
  font-weight: normal;
  opacity: 0.9;
  margin-top: 4px;
}

#messages {
  padding: 16px;
  min-height: 320px;
  max-height: 50vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bubble {
  padding: 10px 14px;
  border-radius: 16px;
  max-width: 75%;
}

.bubble.luciana {
  align-self: flex-end;
  background: #a78bfa;
  color: white;
  border-bottom-right-radius: 4px;
}

.bubble.baymax {
  align-self: flex-start;
  background: #f5f0fa;
  border-bottom-left-radius: 4px;
}

.bubble.error {
  align-self: center;
  background: #fff3cd;
  font-size: 14px;
}

footer {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border-top: 1px solid #f0e0f5;
}

#mic-button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #ff9ecb;
  font-size: 20px;
  cursor: pointer;
}

#mic-button.recording {
  background: #ff5c8a;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

#status {
  flex: 1;
  color: #999;
  font-size: 14px;
}

#bug-button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #e0e0e0;
  font-size: 16px;
  cursor: pointer;
  flex-shrink: 0;
}
