body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: white;
 }
body.page1 {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: white;
}
 /* 链接 */
a {
  color: #00b600;
  text-decoration: none;
}

a:hover,
a:active {
  color: orangered;
}

 /* 导航条 */
 .navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: #fff;
  box-shadow: 0 5px 5px rgba(0,0,0,0.1);
  z-index: 1280;
  border-top: 1px solid #fff;
 }
 .navbar-inner {
  width: 680px;
  height: 48px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
 }
 .navbar .logo img {
  height: 40px;
 }
 .nav-links {
  font-size: 20px;
  display: flex;
  align-items: center;
  font-weight: bold; /* 字体加粗 */
 }
 .nav-links a + a,
 .nav-links a + a img {
  margin-left: 12px;
 }
 .nav-links img {
  height: 20px;
  vertical-align: middle;
 }

 /* 占位 div */
 .top-space {
  height: 50px;
 }
 /* 占位 div */
 .top-spacee {
  height: 150px;
 }
/* 占位 div */
.top-spaceee {
  height: 100px;
}
 /* 正文内容 */
 .content {
  width: 680px;
  margin: 5px auto 5px;
  background: #fff;
  padding: 5px 0;
 }
.content h1 {
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 0px; /* 下外边距 5px */
}
.content .subtitle {
  font-size: 16px;
  color: #666;
  display: flex;
  align-items: center;
  line-height: 1.4;
  margin-top: 0px; /* 上外边距 5px */
}

.content .subtitle img {
  height: 16px;
  margin-left: 6px;
  vertical-align: middle;
}
 
 .content h2 {
  font-size: 20px;
  display: flex;
  align-items: center;
 }
 .content h2 img {
  height: 18px;
  margin-left: 8px;
  vertical-align: middle;
 }
 .content .text {
  font-size: 18px;
  line-height: 1.8;
 }

 /* 小标题 */
 .small-title {
  text-align: center;
  font-size: 20px;
  color: #888;
  margin: 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
 }
 .small-title img {
  height: 14px;
  margin-left: 6px;
  vertical-align: middle;
 }

 /* 圆形头像图片样式 */
.header-box {
  display: flex;
  align-items: center;
  gap: 12px; /* 图片与标题间距 */
  margin-bottom: 10px;
}

.header-box img.avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;  /* 圆形 */
  object-fit: cover;   /* 保持比例裁切 */
}

.header-text h1 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.subtitle {
  font-size: 14px;
  color: #555;
  margin-top: 5px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.subtitle img {
  width: auto;
  height: 18px;
  vertical-align: middle;
}

.subtitle a {
  color: #0078ff;
  text-decoration: none;
}

.subtitle .time {
  margin-left: 10px;
  color: #999;
}

 /* 图片样式 */
 .img-inline {
  vertical-align: middle;
  max-height: 24px;
 }
 .img-full {
  display: block;
  width: 100%;
  height: auto;
  margin: 15px 0;
 }

 /* 单独图片 div（在content内部） */
 .fixed-image-container {
  background: #fff;
  padding: 0;
  text-align: center;
 }
 .fixed-image-container img {
  width: 680px;
  height: auto;
  max-width: 100%; /* 手机自适应 */
 }
.image-container {
  width: 680px;
  height: auto;
  margin: 0 auto;  /* 水平居中 */
}

.mage-container img {
  width: 100%;
  height: auto;
}

/* 新的 图片类 custom-image-container */
.custom-image-container {
  width: 680px;
  height: auto;
  margin: 0 auto;  /* 水平居中 */
}

.custom-image-container img {
  width: 100%;
  height: auto;
}
 /* 灰线 */
 .gray-line {
    height: 1px;
    background-color: #ccc;
    margin: 5px 0;
  }
		
 /* 开奖顶部 */
.fixed-div {
  position: fixed; /* 固定不动 */
  top: 48px; /* 上边距，根据需要调整 */
  left: 0;
  right: 0;
  margin: 0 auto;  /* 居中显示 */
  width: 680px; /* 宽度固定为700px */
  padding: 0;/* 内边距全为0 */
  height: 100px; /* 高度可根据内容调整 */
  background-color: #fff;
  border-bottom: 1px solid #ccc; /* 下边灰色1px */
  z-index: 1000;
}
.fixed-divv {
  position: fixed; /* 固定不动 */
  top: 50px; /* 上边距，根据需要调整 */
  left: 0;
  right: 0px;
  margin: 0 auto;  /* 居中显示 */
  width: 700px; /* 宽度固定为700px */
  height: 53px; /* 高度可根据内容调整 */
  background-color: #fff;
  z-index: 1000;
}

/* 绿底标题样式 */
.update-list {
  background: #fff;

}
.update-title {
  text-align: center; /* 居中对齐 */
  font-size: 22px; /* 字体大小 */
  font-weight: bold; /* 字体加粗 */
  background-color:#e0f7e0 ; /* 绿色背景 */
  color: #28a745; /* 白色文字 */
  border-radius: 5px 5px 0 0; /* 上两个角为圆角 */
  padding: 8px 0; /* 上下内边距 */
  margin-top: 10px; /* 上外边距 10px */
  border-bottom: 1px solid #ddd; /* 底部灰线 */
}

/* 绿底列表样式 */
.update-list li {
  font-size: 20px;
  font-weight: bold; /* 加粗字体 */
  background: #fff;
  border-bottom: 1px solid #ddd; /* 增加底部的灰色边框 */
  transition: background 0.3s;
  line-height: 2;  /* 增加行高，使文字更好看 */
  text-decoration: none; /* 去除下划线 */
}
.update-list ul {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}
.update-list li:nth-child(odd) {
  background-color: #ffffff; /* 设置奇数项的背景色 */
}

.update-list li:nth-child(even) {
  background-color: #e0f7e0; /* 设置偶数项的背景色 */
}

.update-list li .period {
  font-weight: bold;
  background: #007bff;
  color: #fff;
  border-radius: 4px;
  padding: 0px 6px;
  margin-right: 8px;
  margin-left: 12px; /* 左边距改为 10px */
line-height: 1.4; /* 调整行高，减少上下间距 */
}
/* 鼠标经过列表项时的样式 */
.update-list li:hover {
  background: #e6f7e6; /* 轻微灰色背景 */
}
.blue-text {
  color: blue;
  font-style: normal;  /* 确保字体是正体 */
}
.red-text {
  color: red;
  background-color: yellow; /* 添加黄色背景 */
  font-style: normal;  /* 确保字体是正体 */
  text-decoration: none;  /* 去掉下划线 */
}
.bold {
  font-weight: bold;  /* 加粗字体 */
}

li {
  <!--display: flex;-->
  justify-content: space-between; /* 让子元素两端对齐 */
  align-items: center; /* 垂直居中 */
}
.right-align {
  margin-left: auto; /* 把右侧内容推到最右边 */
  text-align: right; /* 右对齐文字 */
  margin-right: 20px; /* 右边距 20px */
}
.update-list h2 {
  font-size: 22px;
  color: #fff;
  background: #28a745; /* 绿色背景 */
  text-align: center;
  border-radius: 10px;
  height: 48px;
  line-height: 48px; /* 使文字垂直居中 */
}
.strike-through {
  color: black; /* 更改颜色为黑色 */
  text-decoration: line-through; /* 给文本加上横杠 */
}

/* 首页九肖 */
.news-container {
  text-align: center;
  }
.news-button {
  margin: 5px;
  padding: 5px 10px;
  font-size: 22px  /* 默认字体稍微小一点 */
  background-color: white;
  border: 2px solid #00b600;
  border-radius: 15px;
  color: #00b600;
  transition: all 0.3s ease;
  cursor: pointer; /* 鼠标指针变成手型 */
}

 /*.news-button:hover {
background-color: #f0f0f0;
}*/
#news-buttons-container {
  display: flex;  /* 使得按钮在一行显示 */
  overflow-x: auto;  /* 允许横向滚动 */
  margin: 0 auto;  /* 居中容器 */
  gap: 5px;  /* 按钮间隙 */
  white-space: nowrap;  /* 按钮不换行 */
}
#news-buttons-container::-webkit-scrollbar {
  display: none;  /* 隐藏滑动条（适用于 Chrome 和 Safari） */
}

#news-buttons-container {
  -ms-overflow-style: none;  /* 隐藏 IE 和 Edge 的滚动条 */
  scrollbar-width: none;  /* 隐藏 Firefox 的滚动条 */
}
.current-button {
  background-color: #00b600;
  color: white;
}
.news-content {
  border: none;
  background-color: transparent;
}
ul {
  list-style-type: none;
  padding: 0;
}
li {
margin: 5px 0;
}

/* 修改容器和内容的样式 */
.container {
  background-color: white;  /* 设置背景为白色 */
}
.news-content {
  font-weight: bold;  /* 字体加粗 */
  font-size: 20px;  /* 字体大小为22px */
  color: black;/* 设置字体颜色为黑色 */
  line-height: 1.5; /* 设置行高，提升可读性 */
}

/* 容器设置 */
.tab-container {
  width: 680px;
  margin: 5px auto;
  background: #fff;

  padding: 5px 0;
}

/* 标签样式 */
.tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

.tab {
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 25px;
  background-color: #00b600;
  color: white;
  font-size: 16px;
}

.tab:hover {
  background-color: blue;
}

.active {
  background-color: red;
  color: white;
}

/* 内容样式 */
.tab-content {
  display: none;

  border: 0px solid #ccc;
  border-radius: 0px;
  background-color: white;
  color: #000;
  /* font-weight: bold;*/
  font-size: 20px;
   line-height: 1.7; /* 设置行高，提升可读性 */
}

.tab-content.active {
  display: block;
}  

/* 刷新按钮样式 */
.refresh-button {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  background-color: blue;
  color: white;
  border: none;
  border-radius: 25px;
  transition: background-color 0.3s ease;
}
  
/* 鼠标悬停效果 */
.refresh-button:hover {
  background-color: #0080FF;
}
		/* 生肖属性文字主标题样式 */
		.section-title {
		    font-size: 24px;
		    font-weight: bold;
		    text-align: center;
		    margin-bottom: 20px;
		}
		
		/* 小节标题样式 */
		.subsection-title {
		    font-size: 20px;
		    font-weight: bold;
		    margin-top: 20px;
		}
		
		/* 数字相关内容样式 */
		.numeric-content {
		    font-size: 16px;
		    font-weight: normal;
		    margin: 10px 0;
		    line-height: 1.6;
		}
		
		/* 别名相关内容样式 */
		.alias-content {
		    font-size: 16px;
		    font-weight: normal;
		    margin: 10px 0;
		    line-height: 1.6;
		}
		
		/* 段落之间的间距 */
		.numeric-content p, .alias-content p {
		    margin-bottom: 10px;
		}
		/* 波色 */
        .red-wave {
            color: red;
        }
        .blue-wave {
            color: blue;
        }
        .green-wave {
            color: green;
        }		
 /* 底部区 */
 .footer {
  text-align: center;
  font-size: 16px;
  color: #333;
  margin: 20px 0;
 }
 .footer-links {
  margin-bottom: 10px;
 }

 .footer img {
  height: 20px;
  vertical-align: middle;
 }

 /* 响应式 */
 @media (max-width: 650px) {
.navbar-inner,
.content {
  width: 95%;
}
.navbar .logo img {
  height: 35px;
}

.content h1 {
  font-size: 20px;
  line-height: 1.3;
}
 .content .text {
  font-size: 16px;
  line-height: 1.8;
 }
 .content .subtitle {
   font-size: 14px;
   color: #666;
   display: flex;
   align-items: center;
   line-height: 1.4;
   margin-top: 0px; /* 上外边距 5px */
 }
 
.fixed-image-container img {
  width: 100%;
}
  .fixed-div {
 width: 100%;/* 屏幕小于768px时宽度100% */
 left: 0;
 right: 0;
  }
  .fixed-divv {
 width: calc(100% - 10px); 

  }
  .update-list li {
 font-size: 16px; /* 在手机上设置字体大小为14px */
  }
  .update-title {
 font-size: 18px; /* 调小字体 */
 padding: 6px 0; /* 调整内边距 */
  }

.tab-container {
 width: 100%;
 margin: 5px auto;
}

.tabs {
 align-items: center;
 gap: 10px;
 flex-wrap: nowrap;
}

.tab {
 padding: 8px 16px;
 font-size: 14px;
}

.tab-content {
 font-size: 18px;
 padding: 10px;
}

.news-content {
font-size: 16px;  /* 手机端调整字体大小 */
 line-height: 1.7; /* 设置行高，提升可读性 */
}
.custom-image-container {
width: 100%;  /* 容器宽度变为屏幕的 95% */
}
 }