html, body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #000;
  font-family: Arial, sans-serif;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#info {
  position: absolute;
  top: 20px;
  left: 20px;
  color: #111;
  z-index: 10;
  background: #d4af37;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  min-width: 260px;
  max-width: 420px;
  line-height: 1.4;
}

#info.is-active {
  background: #ffcc33;
}

#speech-box {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 10;
  width: min(520px, calc(100vw - 40px));
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  padding: 14px 16px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

#speech-box h3 {
  margin: 0 0 8px 0;
  font-size: 14px;
  color: #ffcc33;
}

#speech-text {
  font-size: 15px;
  line-height: 1.5;
  min-height: 48px;
  white-space: pre-wrap;
  word-break: break-word;
}

.is-recording {
  outline: 3px solid #ffcc33;
  outline-offset: -3px;
}