/* 悬浮按钮样式 */
#tts-button {
  position: fixed;
  left: 20px;
  bottom: 20px;
  background-color: #1abc9c; /* 蓝绿色调 */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  z-index: 9999;
}

#tts-button:hover::after {
  content: "You can put some sentences in this.";
  position: absolute;
  left: 70px;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

/* 喇叭图标 */
#tts-button svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

/* 文本显示区域 */
#tts-output {
  position: fixed;
  left: 20px;
  bottom: 90px;
  max-width: 300px;
  padding: 10px;
  background: rgba(26, 188, 156, 0.2);
  border-radius: 8px;
  font-size: 14px;
  color: #000;
  z-index: 9998;
}

/* 输入和按钮的区域 */
.tts-control {
  position: fixed;
  left: 100px;
  bottom: 25px;
  z-index: 9999;
}

.tts-control input {
  padding: 5px 8px;
  width: 200px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.tts-control button {
  padding: 5px 10px;
  border: none;
  border-radius: 4px;
  background: #1abc9c;
  color: #fff;
  cursor: pointer;
  margin-left: 5px;
}
