html, body {
  margin: 0;
  padding: 0;
  background: #000;
  color: #e6e6e6;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: system-ui, sans-serif;
}

/* Auto presence text */
#presence {
  position: absolute;
  top: 18%;
  width: 100%;
  text-align: center;
  font-size: 18px;
  opacity: 0;
  letter-spacing: 0.12em;
  transition: opacity 4s ease;
  pointer-events: none;
}

/* Magic circle */
#circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

#circle:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

/* Phrase container */
#field {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Phrase appearance */
.phrase {
  position: absolute;
  font-size: 20px;
  opacity: 0;
  animation: floatIn 8s ease forwards;
  white-space: nowrap;
}

/* Subtle instability */
@keyframes floatIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-30px);
  }
}

#auto-chat {
  position: fixed;
  bottom: 22%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 3s ease;
}

#auto-chat.active {
  opacity: 1;
}

.bubble {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 14px 20px;
  border-radius: 22px;
  font-size: 16px;
  letter-spacing: 0.08em;
  backdrop-filter: blur(6px);
}

