.iconfont {
  font-size: 16px;
}

.background-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
}

.color-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  width: 60px;
}

.color-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid transparent;
  margin-bottom: 5px;
  position: relative;
  transition: border-color 0.3s;
  border: 1px solid #eee;
}

.color-circle.selected {
  border: 1px solid #03b752;
}

.color-circle.white {
  background-color: #ffffff;
}

.color-circle.night {
  background-color: #454847;
}

.color-circle.cream {
  background-color: #f6f0de;
}

.color-circle.green {
  background-color: #ccefce;
}

.color-circle.blue {
  background-color: #d4eef6;
}

.color-circle.pink {
  background-color: #f7e9e8;
}

.color-option span {
  font-size: 14px;
  color: #666;
  text-align: center;
}
.icon-AI {
  font-size: 25px !important;
  font-weight: normal;
}
.icon-art,
.icon-yuedu,
.icon-fanyi,
.icon-kefu,
.icon-kechengdagang {
  font-size: 20px !important;
}
.icon-ebui-wenjian-bianjiwendang-danse-mianxing,
.icon-ebui-wenjian-gongdanliebiao-danse-mianxing {
  background: linear-gradient(90deg, #0473ee, #6675fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-right: 8px;
  font-size: 23px !important;
}
.icon-siweidaotu {
  background: linear-gradient(90deg, #0473ee, #6675fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-right: 8px;
  font-size: 26px !important;
}



/* 拖拽区域样式 - 只在顶部区域可拖拽 */
.trt_ai_read_drag_area {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 13px;
  cursor: move !important;
  z-index: 1;
  background: transparent;
}

/* 鼠标在拖拽区域时的样式 */
.trt_ai_read_drag_area:hover {
  background: rgba(15, 115, 239, 0.1);
}

.trt_ai_read_tree {
  padding: 10px;
}

.trt_ai_read_title {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.trt_ai_read_title:hover {
  background-color: #f0f0f0;
}
.outline-mode-controls{
  background-color: #f0f1f2;
  padding: 5px 8px;
  border-radius: 5px;
}
.outline-mode-controls button{
   background-color: transparent;

   padding: 3px;
   margin-right: 0px;
    cursor: pointer; color: #666;
     border: none;
 font-size: 12px;
  }
.outline-mode-controls button.active {
    background-color: white;
    box-shadow: 0 2px 4px #1e395747;
    border-radius: 2px;
   }
.level-control-btn {
    background-color: transparent;
    padding: 3px;
    margin-right: 0px;
    cursor: pointer;
    color: #666;
    border: none;
    font-size: 12px;
  }
.level-control-btn.active {
    background-color: white;
    box-shadow: 0 2px 4px #1e395747;
    border-radius: 2px;
  }
.trt_ai_read_icon {
  font-size: 18px;
  margin-right: 8px;
}

.trt_ai_read_text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}

.trt_ai_read_icon_text {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
  text-align: center;
}

.trt_ai_read_icon_text > div {
  line-height: 1.2;
  margin: 0;
}

/* 语言菜单样式 */
.language-menu {
  margin-top: 8px;
  border-top: 1px solid #eee;
  padding-top: 8px;
}

.lang-item {
  padding: 6px 12px;
  cursor: pointer;
  font-size: 13px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.lang-item:hover {
  background-color: #f0f0f0;
}

.lang-item.selected {
  background-color: #e6f7ff;
  color: #1890ff;
  font-weight: 500;
}

/* 翻译容器样式 */
.translation-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
  overflow: hidden;
}

/* 原文部分样式 - 颜色更深 */
.original-section {
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.original-section h4 {
  color: #333;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  margin-top: 0;
}

/* 译文部分样式 - 颜色较浅 */
.translated-section {
  margin-top: 20px;
  transition: all 0.3s ease;
}

.translated-section h4 {
  color: #666;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  margin-top: 0;
}

.translated-content {
  color: #666;
  line-height: 1.8;
  font-size: 14px;
  transition: all 0.3s ease;
}

/* 确保段落间有足够间距 */
.translated-content p {
  margin-bottom: 15px;
}

/* 背景色选项样式 */
.background-colors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 5px 0;
}

.color-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.color-option span {
  font-size: 12px;
}

/* 译文下划线样式 */
.t-underline {
  background-repeat: repeat-x;
  background: linear-gradient(
      90deg,
      #699ef5 0,
      #699ef5 50%,
      transparent 0,
      transparent
    )
    repeat-x 0 100%;
  background-size: 10px 2px;
  padding-bottom: 2.2px;
}

.option-item:hover {
  background-color: #f5f5f5;
}

.option-item input[type="checkbox"] {
  margin-right: 8px;
  cursor: pointer;
  accent-color: #0066cc;
  width: 18px;
  height: 18px;
  position: absolute;
  right: 0;
}

.option-item {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  cursor: pointer;
  padding: 4px 0;
  transition: background-color 0.2s ease;
  font-size: 15px;
}

/* 大纲相关样式 */
.outline-container {
  background: linear-gradient(
    to bottom,
    #f3f8fc 0%,
    #f3f8fc 10%,
    #fff 15%,
    #fff 100%
  );
  width: 280px;
}

.outline-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  padding: 10px 15px;
  padding-bottom: 0;
}
.outline-tip {
  color: #dc2143;
  font-size: 10px;
}

#translation-loading-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 1);
  color: #333;
  padding: 6px 20px;
  border-radius: 4px;
  border: 1px solid #ccc;
  z-index: 99999999;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 1);
  display: none;
}
.dg {
  min-height: 400px;
}
.article-outline {
  max-height: 400px;
  overflow-y: auto;
  border-radius: 4px;
  padding: 8px;
}
.summary-actions {
  padding: 15px 10px;
}
.summary-action-btn {
  background-color: #f0f2f5;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  color: #606266;
}
.summary-action-btn {
  padding: 6px 12px;
  background-color: #f0f2f5;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  color: #606266;
}
.outline-item {
  transition: all 0.2s ease;
  cursor: pointer;
  margin: 8px 0;
  border-radius: 4px;
}

.outline-list,
.outline-sublist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.outline-sublist {
  padding-left: 20px;
  display: block;
}
.outline-item {
}
.outline-item-content {
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease;
}

.level-1 .outline-item-content {
  font-weight: bold;
  font-size: 16px;
  color: #263238;
}
.level-2 .outline-item-content {
  font-weight: 600;
  font-size: 15px;
  color: #37474f;
}
.level-3 .outline-item-content {
  font-weight: 500;
  font-size: 14px;
  color: #455a64;
}
.level-4 .outline-item-content {
  font-size: 13px;
  color: #546e7a;
}
.level-5 .outline-item-content {
  font-size: 12px;
  color: #607d8b;
}
.level-6 .outline-item-content {
  font-size: 12px;
  color: #78909c;
  font-style: italic;
}

.outline-loading,
.outline-error {
  color: #666;
}

.outline-error {
  color: #e74c3c;
}

/* 通用按钮样式 */
.btn-outline {
  padding: 6px 12px;
  background-color: #f0f2f5;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  color: #606266;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: #e6e8eb;
  border-color: #c0c4cc;
}

.background-options {
  padding: 20px;
  background: linear-gradient(
    to bottom,
    #f3f8fc 0%,
    #f3f8fc 20%,
    #fff 35%,
    #fff 100%
  );
  width: 300px;
}

/* 全屏阅读器样式 */
#full-screen-reader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: white;
  z-index: 10000;
  display: flex;
  flex-direction: row;
  overflow: hidden;
}

/* 移动端样式 - 上下布局 */
@media (max-width: 768px) {
  #full-screen-reader {
    flex-direction: column;
    width: 100%;
    height: 100%;
  }

  /* 确保在移动端布局下，内容区域能正常显示 */
  #full-screen-reader > div {
    width: 100% !important;
    max-width: 100% !important;
    min-height: auto !important;
  }

  /* 确保reader-content在上方显示 */
  .reader-content {
    border-bottom: 10px solid #e7e7e7;
    padding-bottom: 20px;
    order: -1;
    height: 50% !important;
    padding: 70px 20px 20px;
  }

  /* reader-sidebar在下方显示 */
  #reader-sidebar {
    height: 50% !important;
  }


  /* 防止横向滚动 */
  #full-screen-reader {
    overflow-x: hidden;
    overflow-y: auto;
  }
}

/* 朗读弹出框样式 */
.reading-popup {
  position: fixed;
  bottom: 10px;
  left: calc(50% - 350px / 2);
  transform: translateX(-50%);
  background: #f3f3f3;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 350px;
  max-width: 90%;
}

.reading-popup-content {
  padding: 10px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.reading-popup-header {
  display: flex;
  align-items: center;
  margin-bottom: 0;
  padding: 15px 15px 10px 15px;
  position: relative;
}

.reading-popup-drag-area {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 15px;
  cursor: move;
  z-index: 1;
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.reading-popup-title {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  flex: 1;
  margin-left: 0;
}
.reading-popup-tip {
  color: #94999f;
  font-size: 10px;
}
.reading-popup-close {
  font-size: 20px;
  color: #999;
  cursor: pointer;
  transition: color 0.3s;
}

.reading-popup-close:hover {
  color: #333;
}
.reading-popup-body {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background-color: #fff;
  border-radius: 10px;
  padding: 10px;
}

/* 阅读模式菜单项提示框 */
.trt_ai_read_tooltip {
  border: 1px solid #ccc;
  position: absolute;
  background: #fff;
  color: #333;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 1001;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.trt_ai_read_tooltip.show {
  opacity: 1;
}

/* 控制按钮区域 */
.reading-controls {
  display: flex;
  justify-content: center;
  align-items: center;
}

.control-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: background-color 0.3s;
}
.control-tip {
  font-size: 12px;
  color: #94999f;
}
.control-btn:hover {
  background-color: #f5f5f5;
}

.control-btn i {
  font-size: 21px !important;
  color: #333;
  margin-bottom: 4px;
}

.control-btn span {
  font-size: 12px;
  color: #666;
}

.play-btn {
background: linear-gradient(to right, #0c73ee, #6275fa);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.play-btn i {
  color: #fff;
  margin-bottom: 0;
  font-size: 25px !important;
}

.play-btn:hover {
  background-color: #0056b3;
}

/* 声音选择区域 */
.voice-selection {
  width: 100%;
  display: flex;
  justify-content: center;
}

.voice-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 3px 12px;
  margin-left: 15px;
  background-color: #f8f9fa;
  border: 1px solid #268bff;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.voice-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 8px;
}

.voice-text {
  font-size: 14px;
  color: #333;
  margin-right: 8px;
}

.toggle-arrow {
  position: absolute;
  right: 10px;
  font-size: 20px;
  color: #666;
  transform: rotate(90deg);
}

.voice-image {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 8px;
  vertical-align: middle;
}

.voice-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.voice-option:hover {
  background-color: #f5f5f5;
}

.voice-option.active {
  background-color: #e8f3ff;
  color: #0f73ef;
}

.voice-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.voice-option:hover {
  background-color: #f5f5f5;
}

.voice-option.active {
  background-color: #e3f2fd;
  color: #007bff;
}

.voice-option input[type="radio"] {
  accent-color: #007bff;
}

.icon-liebiao{
  margin-right: 0px !important;
  color: #777777 !important;
}
.icon-siweidaotu1{
  font-weight: 700;
  margin-right: 0px !important;
  color: #777777 !important;
}
.LDICON{
  font-size: 16px !important;
  width: 20px;
  height: 20px;
  width: 20px;
  height: 20px;
  background: linear-gradient(90deg, #0673ed, #6a75fb);
  color: #fff;
  border-radius: 5px;
  padding: 4px;
  margin-right: 5px;
}
/* 高亮当前段落 */
.reading-highlight {
  background-color: #fff9c4 !important;
  transition: background-color 0.3s;
  padding: 10px;
  margin: 5px 0;
  border-radius: 4px;
}

/* 确保图标正确显示 */
.icon-bofang,
.icon-zanting {
  display: inline-block;
  width: 24px;
  height: 24px;
  text-align: center;
  line-height: 24px;
}

/* 音波图样式 */
.wave-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  position: relative;
}

/* 基础样式 - 不设置固定高度，避免动画停止时恢复默认值 */
.wave-bar {
  background-color: #fff;
  width: 3px;
  margin: 0 1px;
  border-radius: 3px;
  /* 移除transition，避免动画切换时产生过渡效果 */
  /* 动画相关属性 */
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-fill-mode: forwards;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
  -webkit-animation-fill-mode: forwards;
}

/* 为每个音波柱设置动画，但默认暂停 */
.wave-bar.bar1 {
  animation-name: wave1;
  animation-duration: 1.2s;
  animation-play-state: paused;
  -webkit-animation-name: wave1;
  -webkit-animation-duration: 1.2s;
  -webkit-animation-play-state: paused;
}

.wave-bar.bar2 {
  animation-name: wave2;
  animation-duration: 1.5s;
  animation-play-state: paused;
  -webkit-animation-name: wave2;
  -webkit-animation-duration: 1.5s;
  -webkit-animation-play-state: paused;
}

.wave-bar.bar3 {
  animation-name: wave3;
  animation-duration: 1.1s;
  animation-play-state: paused;
  -webkit-animation-name: wave3;
  -webkit-animation-duration: 1.1s;
  -webkit-animation-play-state: paused;
}

.wave-bar.bar4 {
  animation-name: wave4;
  animation-duration: 1.3s;
  animation-play-state: paused;
  -webkit-animation-name: wave4;
  -webkit-animation-duration: 1.3s;
  -webkit-animation-play-state: paused;
}

.wave-bar.bar5 {
  animation-name: wave5;
  animation-duration: 1.4s;
  animation-play-state: paused;
  -webkit-animation-name: wave5;
  -webkit-animation-duration: 1.4s;
  -webkit-animation-play-state: paused;
}

/* 播放状态 - 只改变动画播放状态，不添加新的动画定义 */
.wave-container.playing .wave-bar.bar1 {
  animation-play-state: running;
  -webkit-animation-play-state: running;
}

.wave-container.playing .wave-bar.bar2 {
  animation-play-state: running;
  -webkit-animation-play-state: running;
}

.wave-container.playing .wave-bar.bar3 {
  animation-play-state: running;
  -webkit-animation-play-state: running;
}

.wave-container.playing .wave-bar.bar4 {
  animation-play-state: running;
  -webkit-animation-play-state: running;
}

.wave-container.playing .wave-bar.bar5 {
  animation-play-state: running;
  -webkit-animation-play-state: running;
}

/* 动画关键帧 */
@keyframes wave1 {
  0% { height: 8px; }
  50% { height: 16px; }
  100% { height: 20px; }
}

@-webkit-keyframes wave1 {
  0% { height: 8px; }
  50% { height: 16px; }
  100% { height: 20px; }
}

@keyframes wave2 {
  0% { height: 16px; }
  30% { height: 24px; }
  100% { height: 12px; }
}

@-webkit-keyframes wave2 {
  0% { height: 16px; }
  30% { height: 24px; }
  100% { height: 12px; }
}

@keyframes wave3 {
  0% { height: 24px; }
  60% { height: 8px; }
  100% { height: 18px; }
}

@-webkit-keyframes wave3 {
  0% { height: 24px; }
  60% { height: 8px; }
  100% { height: 18px; }
}

@keyframes wave4 {
  0% { height: 16px; }
  40% { height: 8px; }
  100% { height: 22px; }
}

@-webkit-keyframes wave4 {
  0% { height: 16px; }
  40% { height: 8px; }
  100% { height: 22px; }
}

@keyframes wave5 {
  0% { height: 8px; }
  70% { height: 16px; }
  100% { height: 10px; }
}

@-webkit-keyframes wave5 {
  0% { height: 8px; }
  70% { height: 16px; }
  100% { height: 10px; }
}

/* 确保播放按钮仅显示图标，不显示文字 */
.play-btn {
  flex-direction: row;
  background-color: #007bff;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.play-btn i {
  color: #fff;
  margin: 0;
  font-size: 20px;
}

/* 重置并简化工具栏样式 */
.reader-toolbar {
  background-color: #fff;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  padding: 10px 15px;
  border-bottom: 1px solid #e3e3e3;
  z-index: 100;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  overflow: visible;
}

.icon-qp{
  font-size:23px !important;
}
/* 左侧按钮组 */
.reader-toolbar .toolbar-left-group {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* 右侧按钮组 */
.reader-toolbar .toolbar-right-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  white-space: nowrap;
}

.icon-guanbi {
  color: #333;
  cursor: pointer;
  font-size: 23px !important;
}
#reader-sidebar {
  width: 50%;
  height: 100%;
  background-color: #f8f9fa;
  border-right: 1px solid #e3e3e3;
  overflow-y: auto;
  padding: 20px;
  box-sizing: border-box;
}
.article-content{
  padding: 40px 20px;
}
/* 内容区域样式 */
.reader-content {
  flex: 1;
  height: 100%;
  overflow-y: auto;
  padding: 40px 0;
  padding-top: 0;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  position: relative;
}

/* 顶部工具栏样式 */


/* 工具栏按钮样式 */
.toolbar-btn {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #666;
}

.toolbar-btn:hover {
  background-color: #f0f0f0;
  color: #333;
}

/* 下拉面板样式 */
.reader-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  padding: 16px;
  min-width: 200px;
  width: 240px;
  z-index: 101;
}

/* 下拉面板内容样式 */
.dropdown-content h4 {
  margin: 0 0 12px 0;
  font-size: 14px;
  color: #333;
  font-weight: 600;
}

/* 按钮组样式 */
.font-size-options,
.share-options,
.art-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.font-size-options button,
.share-options button,
.art-options button {
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  text-align: left;
}

.font-size-options button:hover,
.share-options button:hover,
.art-options button:hover {
  background-color: #f5f5f5;
  border-color: #d0d0d0;
}

.font-size-options button{
  color: #333;
}
/* 复制成功提示样式 */
.copy-tooltip {
  position: fixed;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 1000;
  animation: fadeInOut 2s ease;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  10% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  90% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
}

/* 确保内容格式正确 */
.original-content p,
.translated-content p {
  margin-bottom: 12px;
  margin-top: 0;
  text-indent: 2em;
}

.original-content h3,
.translated-content h3,
.original-content h4,
.translated-content h4 {
  margin-top: 16px;
  margin-bottom: 12px;
}

/* 翻译容器样式 */
.translation-container {
  max-width: 100%;
  overflow: hidden;
  padding: 15px;
}

/* 恢复按钮样式 */
.translation-restore {
  background-color: #f0f0f0;
  border: 1px solid #d9d9d9;
  color: #333;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  margin-left: 8px;
}

.translation-restore:hover {
  background-color: #e6e6e6;
}

/* 文本样式 */
.trt_ai_text {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  padding: 8px 0;
  border-radius: 4px;
  transition: all 0.3s ease;
  color: #333;
}

/* Tooltip样式 */
.menu-tooltip {
  position: absolute;
  left: 100%;
  margin-left: 10px;
  background-color: white;
  color: #333;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 10001;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 5px 5px;
}

/* Logo样式 */
.trt_ai_read_logo h3 {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.trt_ai_read_logo_icon {
  display: none;
}

.trt_ai_read_logo h3 span {
  font-size: 16px;
  color: #0f73ef;
  display: block;
}

/* 菜单容器样式 */
.menu-items-container {
  display: block;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  overflow: hidden;
  max-height: 500px;
}

/* 菜单项H3样式 */
.trt_ai_read_menu_item h3 {
  cursor: pointer;
}

.trt_ai_read_menu_item h3:hover {
  background-color: #e8f3ff;
}

.trt_ai_read_menu_item h3:hover .trt_ai_text {
  color: #dc2143 !important;
}

.trt_ai_read_menu_item h3:hover .trt_ai_read_icon_text {
  color: #dc2143 !important;
}

/* 语言菜单样式 */
.trt_ai_read_xfk {
  position: absolute;
  left: 100%;
  top: 0;
  margin-left: 10px;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  display: none;
}

.trt_ai_read_boxys {
  /* 可以添加额外样式 */
}
.trt_ai_read_translate {
  background: linear-gradient(
    to bottom,
    #f3f8fc 0%,
    #f3f8fc 10%,
    #fff 15%,
    #fff 100%
  );
  padding: 20px;
  max-height: 400px;
  width: 200px;
  overflow-y: auto;
}
.trt_ai_read_translate h6 {
  margin: 0 0 10px 0;
  font-size: 16px;
  color: #333;
}

.trt_ai_read_translate h5 {
  margin: 0 0 15px 0;
  font-size: 14px;
  color: #666;
  font-weight: normal;
}

.trt_ai_read_translate dl {
  margin: 0;
}

.trt_ai_read_translate dd {
  margin: 5px 0;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.trt_ai_read_translate dd:hover {
  background-color: #f5f5f5;
}

.trt_ai_read_translate em {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-style: normal;
}

.trt_ai_read_translate i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #ccc;
}

.trt_ai_read_translate i.selected {
  background-color: #0f73ef;
  border-color: #0f73ef;
}

/* 选项区域样式 */
.translation-options {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e3e3e3;
}

/* 失败回退按钮样式 */
.translation-fallback-button {
  position: fixed;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  padding: 10px;
  background-color: red;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* 折叠状态样式 */
.trt_ai_read_xfbox.collapsed {
  width: 40px;
}

.trt_ai_read_xfbox.collapsed .menu-items-container {
  max-height: 0;
  opacity: 0;
}

.trt_ai_read_xfbox.collapsed .trt_ai_read_menu_item {
  display: none;
}

.trt_ai_read_xfbox.collapsed .trt_ai_read_logo h3 span {
  font-size: 12px;
}

/* 组件化侧边栏基本样式 - 从index.html移动 */
.trt_ai_read_xfbox {
  position: fixed;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999 !important;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  width: 50px;
  border: 1px solid #e3e3e3;
  display: block;
  visibility: visible;
  opacity: 1;
  transition: all 0.3s ease;
  user-select: none;
}

.trt_ai_read_tree {
  list-style: none;
  padding: 0;
  margin: 0;
}

.trt_ai_read_menu_item h3 {
  margin: 0;
  padding: 10px 0px;
  cursor: pointer;
  font-size: 14px;
  font-weight: normal;
  transition: background-color 0.2s;
}

.trt_ai_read_menu_item h3:hover {
  background-color: #f5f5f5;
}

.icon-kechengdagang {
  display: flex;
  justify-content: center;
  align-items: center;
}
.trt_ai_read_menu_item h3 i {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  background-size: contain;
  background-repeat: no-repeat;
  transition: all 0.3s ease;
}

.trt_ai_read_menu_item h3:hover i {
  background: linear-gradient(90deg, #dc2143, #dc2143);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.trt_ai_read_translate h6 {
  margin: 0 0 10px 0;
  font-size: 16px;
  font-weight: bold;
}

.trt_ai_read_translate h5 {
  margin: 0 0 10px 0;
  font-size: 14px;
  color: #666;
}

.trt_ai_read_translate dl {
  margin: 0;
  padding: 0;
}

.trt_ai_read_translate dd {
  margin: 0;
  padding: 8px 10px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s;
}

.trt_ai_read_translate dd:hover {
  background-color: #f5f5f5;
}

.trt_ai_read_translate dd:last-child {
  border-bottom: none;
}

.trt_ai_read_translate em {
  font-style: normal;
  color: #333;
}

.trt_ai_read_translate i {
  float: right;
  color: #ccc;
}

/* reader-sidebar 样式 */
.reader-sidebar {
  position: fixed;
  right: 20px;
  top: 50px;
  width: 320px;
  background-color: #ffffff;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
}

/* 侧边栏区块样式 */
.sidebar-section {
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.sidebar-section:last-child {
  border-bottom: none;
}

/* 侧边栏标题样式 */
.sidebar-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #4a90e2;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 标题图标样式 */
.sidebar-title::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: #4a90e2;
  border-radius: 4px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 14h-2v-4H8v-2h2V9h2v2h2v2h-2v4zm4-8h-2V7h2v2zm-4 0h-2V7h2v2zm2-4h-2V3h2v2z"/></svg>');
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

/* 文章摘要标题图标 */
#article-summary + .sidebar-title::before {
  background-color: #4a90e2;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/></svg>');
}

/* 关键信息标题图标 */
#key-information + .sidebar-title::before {
  background-color: #4a90e2;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7zm2.85 11.1l-.85.6V16h-4v-2.3l-.85-.6A4.997 4.997 0 0 1 7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 1.63-.8 3.16-2.15 4.1z"/></svg>');
}

/* 脑图大纲标题图标 */
#article-outline + .sidebar-title::before {
  background-color: #4a90e2;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7z"/></svg>');
}

/* 侧边栏内容样式 */
.sidebar-content {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  max-height: 200px;
  overflow-y: auto;
  padding-right: 8px;
}

/* 文章摘要样式 */
#article-summary {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  padding: 12px;
  border-radius: 6px;
}

/* 关键信息样式 */
#key-information ol {
  padding-left: 20px;
  margin: 0;
  border-radius: 6px;
}

#key-information li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 5px;
  line-height: 1.5;
}

#key-information li:last-child {
  margin-bottom: 0;
}

/* 关键信息数字样式增强 */
.key-point-number {
  color: #0f73ef;
  cursor: pointer;
  margin-left: 5px;
  font-weight: bold;
  background-color: #e6f0ff;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 12px;
  display: inline-block;
}

.key-point-number:hover {
  background-color: #cce0ff;
  text-decoration: none;
}

/* 脑图大纲样式 */
#article-outline {
  overflow: auto;
}

#article-outline .mind-map-container {
  padding: 0;
  border-radius: 0;
}

/* 脑图大纲标题栏 */
.mind-map-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #e0e0e0;
}

.mind-map-header h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

/* 脑图大纲工具栏 */
.mind-map-toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
}

.mind-map-toolbar button {
  padding: 4px 8px;
  border: 1px solid #ddd;
  background-color: #fff;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  color: #666;
}

.mind-map-toolbar button:hover {
  background-color: #f0f0f0;
}

.mind-map-toolbar button.active {
  background-color: #4a90e2;
  color: white;
  border-color: #4a90e2;
}

/* 脑图内容区域 */
.mind-map-content {
  padding: 15px;
  max-height: 300px;
  overflow: auto;
}

/* AI问答区域样式 */
.ai-chat-section {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

/* AI内容包装器 - 实现滚动效果 */
.ai-content-wrapper {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding-bottom: 10px;
}

/* 卡片样式 */
.ai-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* 卡片标题栏 */
.ai-card-header {
  padding: 12px 16px;
  display: flex;
  align-items: center;
}

.ai-card-header i {
  font-size: 16px;
  margin-right: 8px;
  color: #0f73ef;
}

.ai-card-header h4 {
  margin: 0;
  font-size: 16px;
  color: #444;
  font-weight: 600;
}

/* 卡片内容区域 */
#article-summary,
#key-information,
#article-outline {
  padding: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

/* 聊天容器 */
#ai-chat-container {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 16px;
  height: 100%;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #c0c0c0 #f0f0f0;
  margin-bottom: 10px;
}

/* 推荐问题样式 */
.recommended-questions {
  background-color: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 12px;
}

.recommended-questions h5 {
  margin: 0 0 12px 0;
  font-size: 14px;
  color: #333;
  font-weight: 600;
}
.recommended-questions-list::before{
  content: "你可以试试这样问我:";
  font-size: 14px;
}
.recommended-questions-list {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: #ededed;
      border-radius: 8px;
}

.recommended-questions-list .loading {
  text-align: center;
  color: #999;
  font-size: 14px;
}

.recommended-questions-list .question-item {
  background-color: #fff;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 13px;
  color: #444;
  cursor: pointer;
  transition: all 0.2s;
  white-space: normal;
  word-break: break-word;
  line-height: 1.5;
}

.recommended-questions-list .question-item:hover {
  border-color: #0f73ef;
  box-shadow: 0 1px 4px rgba(15, 115, 239, 0.1);
  transform: translateY(-1px);
}

/* 输入框容器（固定在底部） */
.chat-input-container {
  position: sticky;
  bottom: 0;
  padding: 12px 16px;
  display: flex;
  gap: 8px;
  align-items: center;
  z-index: 10;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
}

.chat-input-container input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}

.chat-input-container input:focus {
  border-color: #0f73ef;
  box-shadow: 0 0 0 2px rgba(15, 115, 239, 0.1);
}

/* 发送按钮样式 */
.chat-input-container button {
  width: 40px;
  height: 40px;
  background-color: #999999;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s;
}

.chat-input-container button.has-content {
  background: linear-gradient(90deg, #0473ed, #6875fa);
}

.chat-input-container button:hover:not(:disabled) {
  opacity: 0.9;
}

.chat-input-container button i {
  font-size: 18px;
  transform: scale(1.05);
}

.chat-input-container button:active {
  transform: scale(0.95);
}

/* 滚动条样式优化 */
.ai-content-wrapper::-webkit-scrollbar,
#ai-chat-container::-webkit-scrollbar {
  width: 6px;
}

.ai-content-wrapper::-webkit-scrollbar-track,
#ai-chat-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.ai-content-wrapper::-webkit-scrollbar-thumb,
#ai-chat-container::-webkit-scrollbar-thumb {
  background: #c0c0c0;
  border-radius: 3px;
}

.ai-content-wrapper::-webkit-scrollbar-thumb:hover,
#ai-chat-container::-webkit-scrollbar-thumb:hover {
  background: #a0a0a0;
}

/* 欢迎信息 */
.ai-welcome {
  color: #666;
  font-style: italic;
  text-align: center;
  padding: 20px;
}

/* 聊天消息容器 */
.chat-message {
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 8px;
  position: relative;
}

/* 用户消息样式 */
.user-message {
  background-color: #e6f0ff;
  margin-left: auto;
  margin-right: 10px;
  max-width: 90%;
}

/* AI消息样式 */
.ai-message {
  background-color: #ffffff;
  margin-left: 10px;
  margin-right: auto;
  max-width: 90%;
  border: 1px solid #e0e0e0;
}

/* 聊天标签 */
.chat-label {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 5px;
  opacity: 0.8;
}

.user-message .chat-label {
  color: #0f73ef;
}

.ai-message .chat-label {
  color: #666;
}

/* 聊天内容 */
.chat-content {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  word-wrap: break-word;
}

/* 加载动画 */
.loading-dots {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
}

.loading-dots span {
  width: 8px;
  height: 8px;
  background-color: #0f73ef;
  border-radius: 50%;
  animation: loading 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) {
  animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes loading {
  0%,
  80%,
  100% {
    transform: scale(0);
    opacity: 0.6;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* 错误消息 */
.ai-message.error .chat-content {
  color: #d9534f;
}

/* AI生成内容标识 */
.ai-generated-flag {
  font-size: 11px;
  color: #999;
  text-align: right;
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px dashed #e0e0e0;
}

/* 聊天输入容器 */
.chat-input-container {
  display: flex;
  gap: 8px;
  padding: 0;
}

/* 输入框样式 */
#chat-input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease;
}

#chat-input:focus {
  border-color: #0f73ef;
  box-shadow: 0 0 0 2px rgba(15, 115, 239, 0.1);
}

#chat-input::placeholder {
  color: #999;
}

/* 发送按钮样式 */
#send-question {
  padding: 10px 18px;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  min-width: 60px;
}

#send-question:hover {
  transform: translateY(-3px);
}

#send-question:active {
  transform: translateY(0);
}

#send-question:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transform: none;
}

/* 滚动条样式 */
#ai-chat-container::-webkit-scrollbar {
  width: 6px;
}

#ai-chat-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

#ai-chat-container::-webkit-scrollbar-thumb {
  background: #c0c0c0;
  border-radius: 3px;
}

#ai-chat-container::-webkit-scrollbar-thumb:hover {
  background: #a0a0a0;
}
#chat-input {
  border: 1px solid #add3ff;
  font-size: 14px;
}
.markmap-foreign div{
  cursor: pointer;
}

/* 响应式调整 - 保持移动端与PC端一致的水平布局 */
@media (max-width: 768px) {
  .chat-input-container {
    /* 保持水平布局 */
    flex-direction: row;
    padding: 8px 12px;
  }


  #chat-input {
    font-size: 16px;
    /* 确保输入框在移动端占满剩余空间 */
    flex: 1;
  }

  #send-question {
    /* 保持按钮原有宽度，不占满全屏 */
    width: auto;
  }
}

/* 脑图节点样式优化 */
.mind-map-node {
  position: relative;
  padding: 8px 12px;
  margin-bottom: 6px;
  border-left: 3px solid #4a90e2;
  background-color: #f8f9fa;
  border-radius: 0 4px 4px 0;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.mind-map-node:hover {
  background-color: #e6f3ff;
  transform: translateX(2px);
}

/* 不同层级脑图节点样式增强 */
.mind-map-node.level-0 {
  border-left-color: #4a90e2;
  font-weight: bold;
  background-color: #f0f7ff;
}

.mind-map-node.level-1 {
  border-left-color: #67c23a;
  margin-left: 20px;
  background-color: #f0f9e6;
}

.mind-map-node.level-2 {
  border-left-color: #e6a23c;
  margin-left: 40px;
  background-color: #fff9e6;
}

.mind-map-node.level-3 {
  border-left-color: #f56c6c;
  margin-left: 60px;
  background-color: #ffe6e6;
}
.mindmap-controls{
  background-color: #f0f1f2;
  padding: 5px 8px;
  border-radius: 5px;
}
/* 脑图节点连接线 */
.mind-map-node::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 2px;
  background-color: inherit;
}

.mind-map-node.level-0::before {
  background-color: #4a90e2;
}

.mind-map-node.level-1::before {
  background-color: #67c23a;
}

.mind-map-node.level-2::before {
  background-color: #e6a23c;
}

.mind-map-node.level-3::before {
  background-color: #f56c6c;
}

/* 脑图导出按钮 */
.mind-map-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  background-color: #f8f9fa;
  border-top: 1px solid #e0e0e0;
}

.mind-map-actions button {
  padding: 6px 12px;
  border: 1px solid #ddd;
  background-color: #fff;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  color: #666;
}

.mind-map-actions button:hover {
  background-color: #f0f0f0;
}

/* 脑图文本样式 */
#article-outline .mind-map-text {
  padding: 15px;
  color: #666;
  text-align: center;
  font-style: italic;
}

/* 滚动条样式优化 */
.sidebar-content::-webkit-scrollbar {
  width: 6px;
}

.sidebar-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.sidebar-content::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.sidebar-content::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .reader-sidebar {
    width: 280px;
    right: 10px;
  }
}

@media (max-width: 768px) {
  .reader-sidebar {
    position: static;
    width: 100%;
    max-width: 100%;
    max-height: none;
    margin-top: 20px;
    border-radius: 0;
  }

  .xl-content {
    margin-right: 0;
  }
}
