/* 设置播放器的模糊效果 */
.plyr {
  border-radius: 12px;
  /* 设置圆角 */
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  height: auto;
}

/* 在移动设备上的额外适配 */
@media (max-width: 768px) {
  .plyr {
    border-radius: 8px;
  }
}

/* 设置容器样式 */
.plyr_container {
  position: relative;
  /* 设置为相对定位，以便遮罩层绝对定位于其内 */
  max-width: 100%;
  width: 100%;
  margin: 0px;
}

/* 遮罩层样式 */
#countdown {
  position: absolute;
  /* 绝对定位 */
  flex-direction: column;
  /* 设置为列方向 */
  font-family: "Microsoft YaHei", sans-serif;
  border-radius: 12px;
  top: 0;
  /* 从顶部开始 */
  left: 0;
  /* 从左侧开始 */
  max-width: 100%;
  width: 100%;
  height: 100%;
  /* 高度100% */
  background-color: rgba(0, 0, 0, 0.1);
  /* 半透明黑色背景 */
  z-index: 5;
  /* 确保在容器的上方 */

  display: flex;
  /* 使用 Flexbox 布局 */
  justify-content: center;
  /* 水平居中 */
  align-items: center;
  /* 垂直居中 */
  color: white;
  /* 文字颜色为白色 */
  text-align: center;
  /* 文字居中对齐 */
  text-shadow: 0px 0px 10px rgba(36, 0, 90, 1);
  /* 白色阴影，带有模糊效果和透明度 */
}

/* 单独控制时间部分的样式 */
.time {
  font-size: calc(0.07 * (75vw * 0.7));
  /* 相对大小调整的动态能力 */
  color: white;
  /* 字体颜色 */
  font-family: "Microsoft YaHei", sans-serif;
  margin-top: calc(-1 / 3 * 100%);
  /* 向上移动到父元素的1/3位置 */
}

/* 平板电脑端样式，假设屏幕宽度在 768px 到 1023px 之间 */
@media (min-width: 768px) and (max-width: 1023px) {
  .time {
    font-size: calc(0.08 * (80vw * 0.8));
    /* 平板电脑端相对大小调整的动态能力 */
  }
}

/* 手机端样式，假设屏幕宽度小于 768px */
@media (max-width: 767px) {
  .time {
    font-size: calc(0.08 * (100vw * 0.8));
    /* 手机端相对大小调整的动态能力 */
  }
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #ccc;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* 主菜单悬停手型鼠标 */
#menu-item-1952,
#menu-item-1954,
#menu-item-1955,
#menu-item-1953,
#menu-item-3180 {
  cursor: pointer;
  /* 悬停手型鼠标 */
}

.elementor-element-e9f62bd {
  text-align: center;
  font-size: 18px;
}
.wp-image-3055,
.wp-image-3057 {
  cursor: pointer;
  /* 悬停手型鼠标 */
}

/* 右侧悬浮广告 */
#floating-ad {
  position: fixed;
  right: 0;
  top: 70%;
  transform: translateY(-50%);
  z-index: 5;
}

/* 广告关闭按钮 */
#close_ad {
  cursor: pointer;
}

div[data-id="8a5d623"] {
  display: flex;
  width: 100%;
  flex-grow: 1;
  /* 让 ul 元素填充剩余空间 */
  height: 40vh;
  /* 这里对苹果手机聊天区的高度影响很大，40是一个比较好的数值 */
}

[data-id="8a5d623"] .elementor-widget-container {
  display: flex;
  width: 100%;
  flex-grow: 1;
  /* 让 ul 元素填充剩余空间 */
}

/* 这个样式表是覆盖系统主题的一个设置，否则会造成苹果手机聊天区高度错误 */
.e-con>.e-con-inner>.elementor-widget>.elementor-widget-container,
.e-con>.elementor-widget>.elementor-widget-container {
  height: auto !important;
}

.message-container {
  display: flex;
  padding: 0px;
  flex-direction: column;
  width: 100%;
  flex-grow: 1;
  max-height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 12px;
}

/* WebKit 浏览器滚动条样式 */
.message-container::-webkit-scrollbar {
  width: 10px;
  /* 滚动条宽度 */
}

.message-container::-webkit-scrollbar-track {
  background: transparent;
  /* 滚动条轨道背景 */
  border-radius: 0 12px 12px 0;
  /* 轨道圆角，与容器圆角匹配 */
}

.message-container::-webkit-scrollbar-thumb {
  background: rgba(65, 65, 65, 0.5);
  /* 滚动条滑块颜色 */
  border-radius: 12px;
  /* 滑块圆角 */
}

.message-container::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.5);
  /* 鼠标悬停时滑块颜色 */
}

/* 同时选择.message-left和.message-right类，设置共同样式 */
.message-left,
.message-right {
  list-style: none;
  /* 去除列表项默认样式 */
  padding: 12px 12px 0px 12px;
  /* 设置内边距 */
  margin: 12px 5px 12px 0px;
  /* 设置外边距 */
  max-width: 320px;
  /* 设置最大宽度 */
  font-size: 16px;
  /* 设置字体大小 */
  word-wrap: break-word;
  /* 允许长单词换行 */
  text-align: justify;
  -moz-text-align-last: justify;
  /* 适用于 Firefox */
  background-color: rgba(0, 0, 0, 0.3);
  ;
  /* 设置背景颜色为深灰色 */
  color: #ffffff;
  /* 设置字体颜色为浅灰色 */
}

/* 单独设置.message-left类的样式 */
.message-left {
  border-radius: 15px 15px 15px 0px;
  /* 设置边框圆角 */
  align-self: flex-start;
  /* 在弹性容器中左对齐 */
}

/* 单独设置.message-right类的样式 */
.message-right {
  border-radius: 15px 15px 0px 15px;
  /* 设置边框圆角 */
  align-self: flex-end;
  /* 在弹性容器中右对齐 */
}

/* 选择.message-left和.message-right下的p标签内的span标签，设置样式 */
.message-left>p>span,
.message-right>p>span {
  display: block;
  /* 将元素显示为块级元素 */
  font-style: italic;
  /* 设置字体为斜体 */
  font-size: 12px;
  /* 设置字体大小 */
  margin: 8px 0px 0px 0px;
  /* 设置顶部外边距 */
}

.message-right>p>span {
  text-align: right;
  /* 左对齐 */
}

.message-feedback {
  display: flex;
  width: auto;
  list-style: none;
  /* 去除列表项默认样式 */
  padding: 12px 12px 12px 12px;
  /* 设置内边距 */
  margin: 12px 5px 12px 5px;
  /* 设置外边距 */
  word-wrap: break-word;
  /* 允许长单词换行 */
  text-align: justify;
  -moz-text-align-last: justify;
  /* 适用于 Firefox */
  border-radius: 15px;
  /* 设置边框圆角 */
  background-color: rgba(0, 0, 0, 0.5);
  ;
  /* 设置背景颜色为深灰色 */
}

.feedback {
  font-size: 18px;
  padding: 0px;
  margin: 0px;
  color: #ffffa1;
}

.message-feedback>p>span {
  background-color: rgba(161, 84, 66);
  /* 设置背景颜色为深灰色 */
  border-radius: 15px;
  /* 设置边框圆角 */
  padding: 1px 10px 3px 10px;
  /* 设置内边距 */
  margin: 0px 5px 0px 0px;
  /* 设置外边距 */
  color: #ffffff;
}

.message-form {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

input.message-input {
  flex-grow: 1;
  /* 元素按比例填充剩余空间 */
  height: 40px;
  /* 设置元素高度为 40px */
  font-size: 16px;
  /* 设置字体大小为 16px */
  color: white;
  /* 设置文本颜色为白色 */
  padding: 0px 7px 0px 17px;
  /* 设置左右内边距为15px，上下为 0 */
  background-color: rgb(0, 0, 0, 0.1);
  /* 设置半透明白色背景 */
  border-color: rgba(0, 0, 0, 0.616);
  /* 设置边框颜色，后续被覆盖 */
  border: 1px solid #666;
  /* 设置 1px 灰色实线边框 */
  border-radius: 20px 0px 0px 20px;
  /* 设置 20px 圆角边框 */
  transition: all 0.3s;
  /* 所有属性过渡效果 0.3 秒 */
}

.send-button {
  color: rgb(29, 29, 29, 0.8);
  margin: 0px 0px 0px 0px;
  border-radius: 0 20px 20px 0;
  height: 40px;
  font-size: 16px;
  border: none;
  padding: 0px 20px;
  outline: none;
  background-color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.send-button:hover {
  color: rgb(231, 231, 231);
  /* 鼠标悬停时字体颜色变为白色 */
  background-color: rgba(153, 153, 153, 0.5);
  /* 鼠标悬停时背景颜色变为半透明黑色 */
}

/* 昵称输入弹窗背景样式 */
.modal {
  display: none;
  position: fixed;
  /* 增大 z-index 值，确保半透明层在顶层 */
  z-index: 20;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  /* 调大透明度，让背景更暗 */
  background-color: rgba(0, 0, 0, 0.8);
}

/* 弹窗内容样式 */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px 20px 30px 20px;
  border: 1px solid #888;
  width: 300px;
  border-radius: 10px;
  text-align: center;
  /* 确保弹窗内容也在顶层 */
  z-index: 1000;
}

/* 弹窗内容样式 */
.modal-content p {
  font-size: 18px;
  font-weight: bold;
}

/* 确认按钮样式 */
.modal-content button {
  padding: 10px 85px;
  background-color: #3079BD;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.modal-content button:hover {
  color: rgb(255, 255, 255);
  /* 鼠标悬停时字体颜色变为白色 */
  background-color: #3f9bf1;
  /* 鼠标悬停时背景颜色变为半透明黑色 */
}


/* 隐藏错误提示 */
#nickname-error,
#error-message {
  padding: 0px 0px 10px 0px;
  margin: -15px 0px 0px 0px;
  color: red;
  display: none;
}

.input-container {
  position: relative;
  margin: 20px;
}

.input-container i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #3079BD;
  /* 设置图标颜色为蓝色 */
}

.input-container input {
  width: 100%;
  padding: 10px 10px 10px 30px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 16px;
}

.input-container input::placeholder {
  color: #acacac;
  /* 设置占位符文本颜色为淡灰色 */
}

/* 表情符号输入部分 */
div.lcep-el-wrap {
  position: relative;
  width: 100%;
}

span.lcep-trigger svg {
  fill: #f5f5f5;
}

/* 引用内容样式 */
#quoted-content {
  display: block;
  border-left: 3px solid rgba(255, 255, 255, 0.5);
  /* 左侧竖线 */
  padding-left: 10px;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.5);
}

/* 隐藏引用消息的 div */
#quoted-message {
  display: none;
  color: rgba(255, 255, 255, 0.589);
  padding: 0px 0px 0px 5px;
  margin: 0px 0px 5px 0px;
  border-left: 3px solid rgba(255, 255, 255, 0.589);
}

/* 关闭图标的样式 */
.close-icon {
  float: right;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.589);
  padding: 3px 0px 0px 0px;
}

/* 举手弹窗背景样式 */
#hands_back {
  display: none;
  position: fixed;
  /* 增大 z-index 值，确保半透明层在顶层 */
  z-index: 20;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  /* 调大透明度，让背景更暗 */
  background-color: rgba(0, 0, 0, 0.8);
}
/* 举手弹窗内容样式 */
.hands_pop {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 0px;
  box-shadow: 0 0 10px 5px rgba(8, 8, 8, 0.644);
  width: 300px;
  border-radius: 12px;
  text-align: center;
  /* 确保弹窗内容也在顶层 */
  z-index: 1000;
}
/* 举手弹窗内容样式 */
.hands_pop p {
  font-size: 18px;
  font-weight: bold;
  margin: 20px 0px 30px 0px;
}
/* 举手弹窗图片样式 */
.hands_pop img {
  border-radius: 12px 12px 0px 0px;
}
/* 举手确认按钮样式 */
.hands_ready,
.hands_abolish {
  padding: 10px 35px;
  background-color: #3079BD;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.hands_ready {
  margin: 0px 10px 20px 0px;
}
.hands_abolish {
  margin: 0px 0px 20px 10px;
}
.hands_ready:hover,
.hands_abolish:hover {
  color: rgb(255, 255, 255);
  /* 鼠标悬停时字体颜色变为白色 */
  background-color: #3f9bf1;
  /* 鼠标悬停时背景颜色变为半透明黑色 */
}
/* 弹窗内容样式 */
.hands_qrcode {
  display: none;
  background-color: #fefefe;
  margin: 15% auto;
  padding: 0px;
  box-shadow: 0 0 10px 5px rgba(8, 8, 8, 0.644);
  width: 300px;
  border-radius: 12px;
  text-align: center;
  /* 确保弹窗内容也在顶层 */
  z-index: 1000;
}
/* 弹窗内容样式 */
.hands_qrcode p {
  font-size: 18px;
  font-weight: bold;
  padding: 20px 20px 0px 20px;
}
/* 弹窗图片样式 */
.hands_close {
  padding: 10px 55px;
  background-color: #3079BD;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 0px 0px 30px 0px;
}
.hands_close:hover {
  color: rgb(255, 255, 255);
  /* 鼠标悬停时字体颜色变为白色 */
  background-color: #3f9bf1;
  /* 鼠标悬停时背景颜色变为半透明黑色 */
}