
body {

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;      /* 设置字体大小 font-family: 'Roboto', 'Open Sans', 'Lato', 'Nunito', 'Poppins', 'Mulish', sans-serif;*/
  line-height: 1.6;     /* 设置行高，确保内容不挤在一起 */
  font-weight: 400;  /* 设置为细体 */
}

.automa-element-selector {
  direction: ltr !important;
}

[automa-isDragging] {
  user-select: none !important;
}

[automa-el-list] {
  outline: 2px dashed #6366f1 !important;
}

.chapter-container {
  display: flex !important;
  /* 使用 Flexbox */
  flex-wrap: wrap !important;
  /* 允许换行 */
  justify-content: flex-start !important;
  /* 从左侧开始排列 */
  max-width: calc(100% - 200px) !important;

  width: 1500px; /* 设置宽度为固定值 */
  overflow-x: auto; /* 如果内容超出容器，启用横向滚动条 */
  white-space: nowrap; /* 防止内容换行，确保在同一行显示 */

  /* 保留右侧 300px 的空间 */
}

.chapter-number {
  display: inline-block !important;
  /* 允许换行 */
  margin: -2px !important;
  /* 增加间距 */
  width: 50px !important;
  /* 设置宽度 */
  margin-bottom: 5px !important;
  /* 增加垂直间距  */
  text-align: center !important;  /* 水平居中 */
  line-height: 30px !important;   /* 垂直居中：设置与宽度一致的行高 */
}

.chapter-number:hover {
  background-color: #f0f0f0 !important;
  /* 鼠标悬停时的背景颜色 */
}

.chapter-number.active {
  background-color: #d1e7dd !important;
  /* 点击后的背景颜色 */
}


.yellow-block {
  background-color: rgb(249, 249, 245);

  position: absolute;
  left: calc(16.666667% + 10px);
  width: calc(83.333333% - 310px);
 
  z-index: 10;
  display: block;
  white-space: normal;
  /* 如果不需要 Flex 布局，可以移除以下 flex 属性 */
  flex-direction: row;
  flex-wrap: nowrap;
  word-wrap: break-word;
  overflow-x: hidden;
  overflow-y: auto;
  align-items: center;
  padding-top: 60px;
  font-size: 18px;
  font-weight: 400;
  text-align: left; /* 修改为 left */
  height: 300px;
  padding: 10px;
  overscroll-behavior: contain;   /* 阻止滚动链式传递 */
  
}

/* 让每个章节的内容作为横向排列的块 */
.verse-item {
  display: block;
  margin-right: 15px;
  padding: 5px 10px;
  background-color: rgba(250, 242, 242, 0.6);
  border-radius: 5px;
  text-align: left !important; /* 使用 !important 来覆盖父容器设置 */
  white-space: pre-line; /* 根据换行符自动换行显示 */
  
}

#KjvChapter {
  position: relative !important;
  /* 创建定位上下文 */
}

#navigationMenu {
  background-color: rgb(248, 250, 250) !important;
}



/* Search Bar */
.header-container {
  position: relative;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center; /* 居中标题 */
  border-bottom: 1px solid #ccc;
  margin-bottom: 20px;
}

.header-title {
  font-size: 1.5rem;
  margin: 0;
}

.search-bar {
  position: absolute;
  right: 5px;
  width: 200px;
  display: flex;
  align-items: center;
  background: #f1f1f1;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 2px 2px;
}

.search-bar i {
  color: #666;
  margin-right: 2px;
}

.search-bar input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1rem;
}

.custom-btn {
  width: 100px; /* 设置按钮宽度 */
  height: 20px; /* 设置按钮高度 */
  background-color: transparent !important; /* 默认背景色透明 */
  border: none !important; /* 去掉边框 */
  color: #000; /* 设置文字颜色 */
  box-shadow: none; /* 去掉阴影 */
  cursor: pointer; /* 鼠标悬停时显示为指针 */
  border-radius: 10px; /* 设置倒角，圆角半径为10px */
  text-align: left; /* 文本靠左对齐 */
  padding-left: 10px; /* 给文本左侧一些内边距，避免紧贴边框 */
  line-height: 20px; /* 垂直居中 */
}

.custom-btn:hover {
  background-color: rgb(192, 230, 192); /* 鼠标悬停时显示绿色背景 */
  color: rgb(92, 18, 18); /* 悬停时文字颜色改为白色 */
}

#currentBookAbbr {
  color: transparent;
}
/* verse type after Searching */
.verse-results {
  margin-left: 10px;
}
.verse-block {
  width: calc(100vw - 20px - 200px); 
  max-width: 95%;
  white-space: wrap; /* 可选：禁止文本自动换行 */
  padding: 12px;
  margin: 10px 0;
  border-radius: 8px;
  background-color: #f5f5f5;
  cursor: pointer;
  transition: background-color 0.2s ease;
  background-color: rgb(249, 247, 243);
}
.verse-block:hover {
  background-color: #f7f0f0;
}
.verse-block strong {
  display: block;
  font-weight: bold;
  color: #120101;
  margin-bottom: 5px;
}
.verse-text {
  color: #0b0101;
}
/* verse-line beautiful */
.verse-line {
  display: flex;
  flex-wrap: nowrap; /* 不允许换行 */
  align-items: center;
  white-space: wrap; /* 强制所有子元素不换行 */
}

/* 分别设置引用和内容的显示 */
.verse-ref {
  margin-right: 6px;
  white-space: nowrap;
}

.verse-content {
  white-space: wrap;
  overflow: hidden; /* 如果内容过长，可选择隐藏多余部分 */
  text-overflow: ellipsis; /* 或使用省略号提示 */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px; 
  font-weight: 400; /* 
  比默认更细 */

}



.highlight {
  background-color: rgb(250, 250, 248); /* 背景色 */
  color: rgb(123, 223, 9); /* 文字颜色 */
  font-weight: bold; /* 加粗 */
}


.search-summary {
  width: 800px;
  
  margin: 0px auto;
  padding: 6px;
  
  background-color: rgb(250, 250, 248);
}
.search-summary h2 {
  width: 100%;
  margin: 0;
  padding: 6px;
  font-size: 16px;
  line-height: 1.6;
  color: transparent; /* ✅ 字体颜色变透明 */
}



/* 针对整个页面的滚动条 */
::-webkit-scrollbar {
  width: 10px; /* 设置滚动条的宽度 */
}

::-webkit-scrollbar-thumb {
  background-color: #a2a2c3; /* 设置滚动条的颜色 */
  border-radius: 10px; /* 设置滚动条的圆角 */
}

::-webkit-scrollbar-thumb:hover {
  background-color: #4c51bf; /* 鼠标悬停时的颜色 */
}

::-webkit-scrollbar-track {
  background: #f0f0f0; /* 设置滚动条轨道的颜色 */
  border-radius: 10px; /* 设置轨道的圆角 */
}

::-webkit-scrollbar-corner {
  background-color: transparent; /* 如果有交叉角，设置透明 */
}

strong {
  color: rgb(100, 213, 14); /* 将字体颜色设置为蓝色 */
}