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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #000;
  color: #fff;
  overflow: hidden;
  
}

/* iMessage Section */
.imessage {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #111;
  transition: opacity 0.6s ease;
}

.imessage.fade-out {
  opacity: 0;
  pointer-events: none;
}

#chat {
  max-width: 400px;
  width: 100%;
}
/* Example bubbles */
.bubble {
  padding: 10px 14px;
  border-radius: 18px;
  margin: 6px 0;
  font-size: 15px;
  max-width: 75%;
  line-height: 1.4;
}

.bubble.me {
  background: #007aff;
  color: white;
  margin-left: auto;
}

.bubble.them {
  background: #e5e5ea;
  color: black;
  margin-right: auto;
}

/* Floating Bubbles */
.ball {
  position: absolute;
  border-radius: 100%;
  opacity: 0.6;
  pointer-events: none; /* so they don’t block clicks */
  z-index: 0; /* make sure they stay behind your UI */
}

.bubble.welcome {
  background: #007aff;
  color: white;
  margin: 20px auto;
  text-align: center;
  font-size: 18px;
  border-radius: 25px;
  max-width: 80%;
  line-height: 1.5;
  opacity: 0;
}
#sound-hint {
  position: center;
  top: 5%; /* moved up a bit */
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.65);
  color: white;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.6rem;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 9999;
  pointer-events: none;
}

#sound-hint.visible {
  opacity: 1;
}

#sound-hint.hidden {
  opacity: 0;
}

