
  .lishi {
    position: fixed;
    bottom: 5px;
    left: 5px;
    width: 300px;
    margin: 10px auto;
    background: rgba(255, 255, 255, 0.95);
    border: 1px dashed #ddd; /* 虚线边框 */
    border-radius: 8px; /* 圆角样式 */
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: none; /* 初始隐藏容器 */
    z-index: 1;
  }
  .lishi h1 {
    text-align: center; /* 日期标题居中 */
    margin-bottom: 0; /* 移除初始的底部边距 */
    white-space: pre-line; /* 保持换行符 */
    font-size: 20px; /* 减小字体大小 */
    font-weight: 300; /* 使用更细的字体权重 */
  }
  .lishi-riqi {
    width: 100%;
    height: 1px;
    background-color: #000;
    margin: 10px 0;
    display: none; /* 初始隐藏横线 */
  }
  #lishi-neirong {
    padding-left: 20px; /* 为列表项添加左内边距 */
    margin-left: 0; /* 移除左外边距 */
  }
  .lishi-neirongyangshi {
    list-style-type: disc; /* 为列表项添加默认的项目符号（点） */
    margin-bottom: 10px;
    cursor: pointer; /* 鼠标悬停时显示指针 */
    text-align: left; /* 内容靠左显示 */
    transition: color 0.3s; /* 颜色变化的过渡效果 */
    line-height: 1.1;
  }
  .lishi-neirongyangshi:hover {
    color: red; /* 鼠标悬停时文字颜色变为红色 */
  }
/* 夜间样式 */
  .dark-theme .lishi {
     background: rgba(0, 0, 0, 0.95);
  }
  .dark-theme .lishi-riqi {
    background-color: #ccc;
  }
/* 媒体查询，针对屏幕宽度小于768px的设备 */
  @media (max-width: 768px) {
    .lishi {
        display: none !important; /* 在移动端隐藏.lishi容器，增加!important以增加优先级 */
    }
  }
