@charset "utf-8"; 
   
* { 

            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   }

body { 
   line-height: 28px; 
   font: 16px/30px "Microsoft YaHei"; 
   margin-bottom: 0px; 
   background: #e7e8eb url(/Template/default/img/bg.jpg); 
   margin:0 auto; 
   max-width:720px; 
   box-shadow: 0 0 15px #ccc;  
   overflow-y: scroll; /* 网页抖动问题处理*/
   }

  a {
     color: #636; 
  }
  input { 
    outline: none; /* 去掉点击输入框时默认出现的轮廓线 */ 
    border: none; /* 先去掉所有边框 */
    border-bottom: 1px solid #507bbf;  
    padding: 5px; 
    border-radius: 5px; 
}
input:focus {   
    border: 1px solid #ff5722; 
    border-style:none;   
    box-shadow: 2px 2px 15px #FF5722;  
}
.kltool { 
   word-break: break-all; 
   background-color: #FCFCFC; 
   padding: 5px; 
   margin: 5px; 
   border-radius: 2px; 
   transition: 0.2s; 
   line-height: 30px; 
   padding: 5px; 
   border: 1px solid #E7E7E7; 
   color: #636363; 
   border-bottom: dashed 0.2px #D1D1D1;
   border-radius:5px;
   max-width: 720px;
   }
.footer {
   word-break: break-all; 
   background-color: #FCFCFC; 
   padding: 5px; 
   margin: 5px; 
   border-radius: 2px; 
   transition: 0.2s; 
   line-height: 30px; 
   border: 1px solid #E7E7E7; 
   color: #636363; 
}
   /* 主页css */
.kltool-index * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}/* 全局重置 - 统一盒模型与对齐基准 */

/* 主容器 - 核心布局 */
.kltool-index {
    display: flex;
    flex-wrap: nowrap; /* 强制不换行 */
   
    margin: 10px auto;
    justify-content: space-between; /* 左中右智能分布 */
    align-items: center; /* 垂直居中 */
    padding: 0 12px;
    gap: 8px; /* 统一间距 */
}

/* 标签样式 - 精确控制 */
.kltool-index label {
    flex: 0 0 30px;
    padding: 0 10px;
    height: 30px;
    line-height: 30px;
    max-width: 30px;
    background-color: #F00; 
    color: white;
    border-radius: 50px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 输入框样式 - 自适应宽度 */
.input-index {
    flex: 1; /* 占据剩余空间 */
    height: 40px;
    padding: 0 12px;
    border-bottom: 1px solid #D8D8D8;
    border-radius: 4px;
    min-width: 200px; /* 防止过小屏幕挤压 */
    display: flex;
    align-items: center;
}
.kltool-index a{
    color: #999;
    text-decoration: none;  
}

/* 按钮样式 - 统一高度 */
.submit-index {
    flex: 0 0 auto;
    padding: 0 16px;
    height: 40px;
    background-color: red;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px; /* 增加上下间距 */
}

.submit-index:hover {
    background-color: #d32f2f; /* 悬停状态 */
}
/* 手机端适配 - 保持不换行并列 */
@media (max-width: 480px) {
    .kltool-index {
        padding: 0 8px; /* 减小内边距 */
        gap: 6px; /* 减小间距 */
    }
    
    .input-index {
        padding: 0 10px; /* 微调内边距 */
        min-width: 120px; /* 调整最小宽度 */
    }
}

/* 终极对齐修复 - 像素级精准对齐 */
.kltool-index > * {
    display: flex;
    align-items: center;
    height: 40px; /* 强制统一高度 */
}
     
.container-kltool * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}/* 全局重置 - 统一盒模型与对齐基准 */

/* 主容器 - 核心布局 */
.container-kltool {
    display: flex;
    flex-wrap: nowrap; /* 强制不换行 */
    width: 100%;
    max-width: 720px;
    margin: 10px auto;
    justify-content: space-between; /* 左中右智能分布 */
    align-items: center; /* 垂直居中 */
    padding: 0 12px;
    gap: 8px; /* 统一间距 */
}

/* 标签样式 - 精确控制 */
.container-kltool label {
    flex: 0 0 100px;
    padding: 0 10px;
    height: 40px;
    background-color: #F0F0F0; 
    color: #999;
    border-radius: 4px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 输入框样式 - 自适应宽度 */
.input-field {
    flex: 1; /* 占据剩余空间 */
    height: 40px;
    padding: 0 12px;
    border: 1px solid #007bff;
    border-radius: 4px;
    min-width: 160px; /* 防止过小屏幕挤压 */
    display: flex;
    align-items: center;
}


/* 按钮样式 - 统一高度 */
.submit-kltool {
    flex: 0 0 auto;
    padding: 0 16px;
    height: 40px;
    background-color: red;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-kltool:hover {
    background-color: #d32f2f; /* 悬停状态 */
}
/* 手机端适配 - 保持不换行并列 */
@media (max-width: 480px) {
    .container-kltool {
        padding: 0 8px; /* 减小内边距 */
        gap: 6px; /* 减小间距 */
    }
    
    .input-field {
        padding: 0 10px; /* 微调内边距 */
        min-width: 120px; /* 调整最小宽度 */
    }
}

/* 终极对齐修复 - 像素级精准对齐 */
.container-kltool > * {
    display: flex;
    align-items: center;
    height: 40px; /* 强制统一高度 */
}
  .subtitle {
   line-height: 30px; 
      margin-left: 10px;  
      margin-top: 5px;  
      margin-bottom: 10px;   
      padding: 10px;   
      border-bottom: 1px dashed #ddd;   
      border-left: 2px solid #ff6699; 
      background-color: #f3f3f3; 
      border-radius: 4px;
   }  
.tip { 

   line-height: 30px; 
      margin-left: 10px;  
      margin-top: 5px;  
      margin-bottom: 10px;   
      padding: 10px;   
      border-bottom: 1px dashed #ddd;   
      border-left: 2px solid #ff6699;  
      border-radius: 4px; 
      color: #ff0000; 
   }

#enable:hover {
    background-color: #ff5722; 
    color: #fff; 
}
#enable{ 
    padding: 5px 10px;
    width: 40px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease; 
    background-color: #23292e;color: white;
}
#deactivated:hover {
    background-color: red; 
    color: #00ffff; 
}
#deactivated{ 
    padding: 5px 10px;
    width: 40px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease; 
    background-color: #d0021b;
    color: white;
}


/* 全局重置 - 统一盒模型与基准样式 */
.form-group-info * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* 表单容器 - 核心布局 */
.form-group-info {
    display: flex;
    flex-wrap: nowrap; /* 强制不换行 */
    width: 100%;
    max-width: 720px;
    margin: 10px auto; /* 增加上下间距 */
    justify-content: flex-start; /* 左对齐布局 */
    align-items: center; /* 垂直居中 */
    padding: 0 12px;
    gap: 10px; /* 元素间距 */
}

/* 标签样式 - 固定宽度+垂直居中 */
.form-group-info label {
    flex: 0 0 100px; /* 固定标签宽度 */
    height: 40px;
    padding: 0 10px;
    background-color: #F0F0F0; 
    color: #999;
    border-radius: 4px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* 标签文字右对齐 */
    margin-right: 5px; /* 标签与输入框间距 */
}

/* 输入框通用样式 */
.form-group-info .group-input-field,
.form-group-info select {
    flex: 1; /* 占据剩余空间 */
    height: 40px;
    padding: 0 12px;
    border: 1px solid #007bff;
    border-radius: 4px;
    min-width: 200px; /* 防止输入框过小 */
    outline: none;
    font-size: 14px;
}

/* 按钮组容器 */
.button-group {
    display: flex;
    justify-content: flex-end; /* 按钮右对齐 */
    width: 100%;
    max-width: 720px;
    margin: 10px auto 0; /* 顶部间距 */
    padding: 0 12px;
}

/* 按钮样式 */
.button-group-button {
    padding: 5px 10px;
    background-color: red;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    min-width: 100px;
    font-size: 16px;
    transition: background-color 0.3s;
}

.button-group-button:hover {
    background-color: #d82f8f; /* 悬停状态 */
}

/* 手机端适配 - 保持不换行布局 */
@media (max-width: 480px) {
    .form-group-info {
        flex-wrap: nowrap;
        gap: 8px;
        padding: 0 8px;
    }
    
    .form-group-info label {
        flex: 0 0 100px; /* 缩小标签宽度 */
        padding: 0 8px;
        justify-content: flex-start; /* 小屏幕标签左对齐 */
    }
    
    .form-group-info .group-input-field,
    .form-group-info select {
        min-width: 150px;
    }
    
    .button-group-button {
        min-width: 100px;
        padding: 8px 15px;
    }
}

/* 终极对齐修复 - 确保所有元素严格垂直居中 */
.form-group-info > * {
    display: flex;
    align-items: center;
    height: 40px;
}
  .white-text { 
    color: white;
}
.white-text a{ 
    color: white;
}/* 这是input */



/* 会员css样式 */

#kltool-info {/*整体容器（#kltool-info）  宽度自适应，最小500px/列*/
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 10px;
  margin-bottom: 5px;
}

#kltool-info-item {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  border: 1px solid #eaeaea;
}

#kltool-info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  background: #eeeeee; 
}
#kltool-info-image-container-info {
  flex-shrink: 0;
  width: 100px;
  height: 100px;/*图片容器  100px × 100px  隐藏 宽度100%，高度100px*/
  position: relative;
  overflow: hidden;
}

#kltool-info-image-container-info img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 手机端隐藏图片并移除占位 */
/* 仅在真·小屏幕设备上隐藏图片 */
@media (max-width: 768px) {
  #kltool-info-image-container-info {
    display: none !important; /* 隐藏图片容器并移除占位 */
  }
  
  /* 调整内容区布局 */
  #kltool-info-content-info {
    padding: 15px; /* 增加内容区边距 */
    height: auto; /* 内容区高度自适应 */
  }
}

#kltool-info-image-overlay-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  height: 40%;
  display: flex;
  align-items: flex-end;
  padding: 5px 10px;
  opacity: 0; /* 默认隐藏 */
  transition: opacity 0.3s ease; /* 添加过渡效果 */
}

#kltool-info-item:hover #kltool-info-image-overlay-info {
  opacity: 1; /* 鼠标悬停时显示 */
}

#kltool-info-image-overlay-info span {
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
}

#kltool-info-content-info {
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    overflow: hidden;
} 

#kltool-info-title-info {
  font-size: 16px;
  font-weight: 700;
  color: #2c3e50;
  height: 30px;
  line-height: 30px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

#kltool-info-title-info a { 
   line-height: 35px; 
   text-indent: 10px; 
   color: #666777;
   font-size: 15px; 
   }
#kltool-info-title-info a:hover { 
   color: #f2b73d; 
   border-left:3px solid #16b777;
   text-decoration: none; 
   background: #e7e8eb url(/Template/default.svg);   /* 背景图片不重复 */
   }
#kltool-info-controls-info {
  margin: 0px 0px 5px 0px;
  color: #5a6d80;
  font-size: 14.32px;
  height: 30px;
  line-height: 30px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;
}

#kltool-info-meta-info {
  display: flex;
  justify-content: space-between;
  font-size: 13.50px;
  color: #7a8a9c;
  margin-top: 1px;
}

#kltool-info-date-info, #kltool-info-views-info {
  display: flex;
  align-items: center;
  gap: 6px;
}
#kltool-info-date-info::before {

  content: "す";
  margin-right: 4px;
}
#kltool-info-views-info::before {
  content: "サ️";
  margin-right: 4px;
}

@media (max-width: 600px) {
  #kltool-info {
    grid-template-columns: 1fr;
    gap: 10px; /* 小屏幕时间距缩小 */
    margin-bottom: 0; /* 移除底部边距 */
  }
  
  #kltool-info-item {
    flex-direction: column;
  }
  
  #kltool-info-image-container-info {
    width: 100%;
    height: 100px;
  }
  
  #kltool-info-content-info {
    height: auto;
    padding: 15px;
  }
  
  #kltool-info {
    gap: 10px;
  }

}

.line1, .line2 { 
   word-break: break-all; 
   background-color: #fff; 
   padding: 5px; 
   transition: 0.2s; 
   line-height: 30px; 
   padding: 5px;
   color: #999; 
   border-bottom: 1px solid #D8D8D8; 
   }
.line1 a, .line2 a { 
   color: #006cbf text-decoration: none;
   text-shadow: rgba(50,50,50,.3) 1px 1px 3px; 
   font: bold 14px/1.3 "\5FAE\8F6F\96C5\9ED1", Arial; 
   }

   .item-container {  
    max-width: 720px; 
    padding: 20px;   
    border: 1px solid #ccc;   
    border-radius: 5px;   
    background-color: #f9f9f9;  
    margin: 20px auto;  
}  /* 每一项信息的样式 */ 
.item { 
    margin-bottom: 10px;   
    padding-bottom: 10px;   
    border-bottom: 1px dashed #ccc;  
} /* 移除最后一个元素的底部间距、内边距和边框 */ 
.item:last-child {  
    margin-bottom: 0; 
    padding-bottom: 0;   
    border-bottom: none;  
} 
.item strong { 
    display: inline-block; 
    width: 100px;  color: #333;  
}  
.item span {  
    color: #666; 
}
.right-button {
    margin-left: auto;
    margin-right: 100px;
    padding: 5px 20px;
    border: none;
    border-radius: 5px;
    background-color: red;
    color: white;
    cursor: pointer;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}
.right-button:hover {
    background-color: #45a049;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
}

/* 基本样式重置和页面布局 */
.page-content { 
    padding: 10px 5px;
    max-width: 720px;
    margin: 0 auto;
}
/* 任意添加的前置和后置内容样式 */
.preamble, .postscript {
    margin-bottom: 5px;
}
/* 切换按钮区域的样式 */
.tab-section {
    text-align: center;
}
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
/* 美化按钮 */
.tab-button {
    flex: 1;
    padding: 15px 20px; /* 调整了内边距以增加按钮大小 */
    margin: 0 5px;
    border: none;
    background-color: #16baaa; /* 更改了默认背景色为番茄红 */
    color: white;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px; /* 添加了圆角 */
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); /* 添加了阴影 */
    transition: background-color 0.3s, box-shadow 0.3s;
}
.tab-button a{
    color: #ffffff; 
    text-decoration: none;
}
.tab-button.active {
    background-color: #ff4500; /* 更改了激活状态的背景色为钢蓝 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* 更改了激活状态的阴影 */
}
.tab-button:hover {
    background-color: #23292e; /* 添加了悬停状态的背景色变化 */
}
.tab-content {
    display: none;
    padding: 10px 5px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.tab-content.active {
    display: block;
}/* 响应式设计 */
@media (max-width: 720px) {
    .tab-button {
        font-size: 14px;
        padding: 10px 15px;
    }
}

/* 美化选择框 */
select {
    width: 120px;
    padding: 5px 10px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    appearance: none; /* 移除默认样式（主要用于Webkit浏览器） */
    -moz-appearance: none; /* Firefox */
    -webkit-appearance: none; /* Safari 和 Chrome */
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org/2000%2Fsvg%22%20viewBox%3D%220%200%204%205%22%20fill%3D%22%23333%22%3E%3Cpath%20d%3D%22M2%200L0%202h4zm0%205L0%203h4z%22%2F%3E%3C%2Fsvg%3E');
    background-position: right 10px center;
    background-repeat: no-repeat;
    background-size: 10px;border-radius: 6px;
}
/* 选择框聚焦时的样式 */
select:focus {
       border-width: 1px; /* 修改左边框宽度为1px，使其显示 */
       border-style: solid;
       border-color: #ff0000; /* 上红 右绿 下蓝 左黄 */
       outline: none;
       box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}
/* 选择框聚焦时的样式 */
select:hover {
       border-width: 1px; /* 修改左边框宽度为1px，使其显示 */
       border-style: solid;
       border-color: #ff0000; /* 上红 右绿 下蓝 左黄 */
       outline: none;
       box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}
/* 禁用状态下的选择框样式 */
select:disabled {
    background-color: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
}
@media (max-width: 768px) {
  select {
    color: #333; /* 设置文字颜色为白色，可根据实际情况调整颜色 */
    background-color: #f1f1f1; /* 也可以重新设置背景颜色，确保与文字颜色搭配合理 */
  }
} 
   /* 帖子容器样式 */
  .post-container {
      max-width: 720px;
      margin: 10px auto;
      background-color: #fff;
      border-radius: 5px;
      box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
      padding: 20px;
    }

  .post-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  background: #eeeeee; 
    }
    /* 每个帖子的样式 */
  .post {
      border-bottom: 1px solid #e9ecef;
    }

  .post:last-child {
      border-bottom: none;
    }

    /* 帖子标题样式 */
  .post-title {
      font-size: 16px;
      font-weight: bold;
      margin-bottom: 10px;
      color: #007bff;
    }
.post-title a{
      color: #666666;
      text-decoration: none;
    }
.post-title a:hover{
      color: #ff0000;
      text-decoration: none;
    }
    /* 帖子信息样式 */
  .post-info {
      font-size: 14px;
      color: #6c757d;
      margin-bottom: 10px;
    }

    /* 帖子内容样式 */
  .post-content {
      font-size: 16px;
      color: #343a40;
    }

    /* 置顶标识样式 */
  .sticky-label {
      background-color: #ffc107;
      color: #fff;
      padding: 3px 8px;
      border-radius: 3px;
      font-size: 12px;
      margin-right: 10px;
    }
    /* 热门标识样式 */
  .sticky-hot {
      background-color: #ff0000;
      color: #fff;
      padding: 3px 8px;
      border-radius: 3px;
      font-size: 12px;
      margin-right: 10px;
    }

    /* s定标识样式 */
  .sticky-suoding {
      background-color: #ff0000;
      color: #fff;
      padding: 3px 8px;
      border-radius: 3px;
      font-size: 12px;
      margin-right: 10px;
    }


    /* 回复和浏览量样式 */
  .post-stats {
      display: flex;
      justify-content: space-between;
      font-size: 14px;
      color: #6c757d;
      margin-top: 10px;
    }

    /* 回复和浏览量样式 */
  .post-stats {
      display: flex;
      justify-content: space-between;
      font-size: 14px;
      color: #6c757d;
      margin-top: 10px;
    }

    /* 回复和浏览量样式 */
  .post-stats span{
      color: #c75;
    }
   /* 确定按钮样式 */
.confirmButton {
    padding: 5px 10px;
    font-size: 16px;
    border: none;
    border-left: 1px solid #ced4da; /* 与输入框分隔的边框 */
    background-color: #ff0b56;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 5px;
}

/* 确定按钮悬停时的样式 */
.confirmButton:hover {
    background-color: #f0bf56;
}

/* 确定按钮禁用时的样式 */
.confirmButton:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

.container-text {
    max-width: 720px; /* 假设容器宽度为300px */
    text-align: left; /* 明确设置文本居左对齐 */
    padding: 20px; /* 内边距 */
    border: 1px solid #ccc; /* 边框 */
    border-radius: 5px; /* 圆角边框 */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* 阴影效果 */
    background-color: #f9f9f9; /* 背景色 */
   
}
/* 管理员名称样式 */
.admin-name {
    font-size: 16px; /* 字体大小 */
    font-weight: bold; /* 加粗 */
    margin-bottom: 10px; /* 下边距 */
}

/* 奖品编号和RMB增加金额样式 */
.prize-info {
    margin-bottom: 10px; /* 下边距 */
    font-size: 14px; /* 字体大小 */
    color: #333; /* 字体颜色 */
}
.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}
.alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1}