.desktop {
  z-index: -10;
  top: 0px;
  left: 0px;
  position: absolute;
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(45deg,
  #f5c8aa,
    /* 红色 */
  #ff8196,
    /* 绿色 */
  #ed9f89,
    /* 蓝色 */
  #e89d5c
    /* 黄色 */
  );
  /* 最终渐变背景 */

  animation: fadeIn 2s ease-out forwards;
  /* 动画持续时间2秒，动画完成后保持最终状态 */

}

.desktop_control {
  box-sizing: border-box;
  color: white;
  padding-left: 18px;
  padding-right: 18px;
  display: flex;
  align-items: center;
  height: 32px;
  width: 100%;
  position: absolute;
  bottom: 0px;
  background-color: rgba(138, 58, 11, 0.318);

  opacity: 0;
  /* 初始透明度为0 */
  transform: translateY(100%);
  /* 初始位置在屏幕底部外 */
  animation: slideUpFade 1s ease-out forwards;
  /* 触发动画 */
}


/* 待办面板效果模拟 */
.desktop_widget {
  font-size: 12px;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.164);
  color: white;
  padding: 10px;

}




.desktop_widget_todo_pull {
  opacity: 0.5;
  text-decoration: line-through;
}

.desktop_widget_title {
  border-bottom: 1px solid rgba(255, 255, 255, 0.325);
  margin-bottom: 4px;
  font-size: 12px;
  padding-bottom: 5px;
  font-weight: bold;
}


.desktop_widget_count_down_item {
  display: flex;
  margin-top: 8px;
}

.desktop_widget_count_down_day {
  margin-left: 4px;
  font-size: 10px;
  padding: 3px 5px;
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.336);
}




.desktop_widget_node_content {
  padding-top: 5px;
  font-size: 10px;
}

.desktop_widget_node_title {
  display: flex;
  gap: 4px;
}

.desktop_widget_node_title div {
  border: 1px solid white;
  flex: 1;
  text-align: center;
  font-size: 10px;
  border-radius: 3px;
  padding-left: 5px;
  padding-right: 5px;
}


.desktop_widget_progress_item {
  background-color: rgba(255, 255, 255, 0.664);
  height: 4px;
  width: 130px;
  border-radius: 4px;
}

.desktop_widget_progress_title {
  padding-top: 2px;
  font-size: 10px;
  padding-bottom: 4px;
}

.desktop_widget_progress_item_content {
  height: 4px;
  background-color: white;
}


/* 定义动画 */
@keyframes slideFadeIn {
  0% {
    opacity: 0;
    /* 动画开始时透明 */
    transform: translateX(-100%);
    /* 从左侧外滑动 */
  }

  100% {
    opacity: 1;
    /* 动画结束时完全显示 */
    transform: translateX(0);
    /* 滑动到原位 */
  }
}


.desktop_widget_todo {
  position: absolute;
  left: 10px;
  top: 10px;


  transform: translateX(-100%);
  /* 初始位置在屏幕左侧外 */
  animation: slideFadeIn 0.5s ease-out forwards;
  /* 应用动画 */
}

.desktop_widget_count_down {
  position: absolute;
  left: 10px;
  top: 130px;

  transform: translateX(-100%);
  /* 初始位置在屏幕左侧外 */
  animation: slideFadeIn 0.7s ease-out forwards;
  /* 应用动画 */
}

.desktop_widget_node {
  position: absolute;
  max-width: 130px;
  left: 10px;
  top: 210px;

  transform: translateX(-100%);
  /* 初始位置在屏幕左侧外 */
  animation: slideFadeIn 1.2s ease-out forwards;
  /* 应用动画 */
}

.desktop_widget_progress {
  position: absolute;
  left: 10px;
  top: 295px;

  transform: translateX(-100%);
  /* 初始位置在屏幕左侧外 */
  animation: slideFadeIn 1.5s ease-out forwards;
  /* 应用动画 */
}

.desktop_widget_calendar{
  position: absolute;
  max-width: 150px;
  left: 10px;
  top: 370px;

  transform: translateX(-100%);
  /* 初始位置在屏幕左侧外 */
  animation: slideFadeIn 1.7s ease-out forwards;
  /* 应用动画 */

}

.homeStep2 {
  transition: transform 0.5s ease-in-out !important;
  transform: translateX(50%);
}


.desktop_svg{
  width: auto;
  height: calc(100% - 22px);
}


/* 定义动画 */
@keyframes slideUpFade {
  0% {
    opacity: 0;
    /* 动画开始时透明 */
    transform: translateY(100%);
    /* 从屏幕底部外滑动 */
  }

  100% {
    opacity: 1;
    /* 动画结束时完全显示 */
    transform: translateY(0);
    /* 滑动到原位 */
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    /* 完全不透明 */
  }

  100% {
    opacity: 1;
    /* 完全透明 */
  }
}





/*日历 */


table {
  width: 100%;
  border-collapse: collapse;
}
th{
  background-color: rgba(255, 255, 255, 0.137);
}
th,
td {
  font-weight: normal;
  width: 14%;
  height: 10px;
  text-align: center;
  /* border: 1px solid #ddd; */
}

.textLine{
  animation: showHide 1s infinite; /* 应用动画，3秒循环一次 */
}

.flash{
  animation: flashStyle 2s infinite; /* 应用动画，3秒循环一次 */
}
/* 定义循环的动画 */
@keyframes showHide {
  0% {
    opacity: 1; /* 显示 */
  }
  50% {
    opacity: 0; /* 隐藏 */
  }
  100% {
    opacity: 1; /* 显示 */
  }
}


/* 定义循环的动画 */
@keyframes flashStyle {
  0% {
    opacity: 1; /* 显示 */
  }
  50% {
    opacity: 0.3; /* 隐藏 */
  }
  100% {
    opacity: 1; /* 显示 */
  }
}



@keyframes wiggle {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-1px, -1px) rotate(-0.5deg); }
  50% { transform: translate(1px, 1px) rotate(0.5deg); }
  75% { transform: translate(-1px, 1px) rotate(-0.5deg); }
}

.shake {
  animation: wiggle 2s infinite;
}