.container {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;

  & .content {
    width: 100%;
    height: 100%;
    border: none;
    //flex: none;
  }

  & .dragbox {
    display: flex;
    position: fixed;
    top: 2.5rem;
    right: -14.5rem;
    width: 17.6875rem;
    height: 3.2rem;
    z-index: var(--zindex-second);
    //overflow: hidden;

    >img {
      height: 100%;
    }
  }

  & .btnBack {
    display: flex;
    position: fixed;
    top: 1rem;
    left: 1rem;
    width: 2.4rem;
    height: 2.4rem;
    z-index: var(--zindex-popup);
    //overflow: hidden;

    >img {
      width: 100%;
      height: 100%;
    }
  }

  & .backbox {
    display: flex;
    //position: fixed;
    position: absolute;
    //top: 2.5rem;
    //right: -14.5rem;
    top: 0;
    left: 0;
    width: 17.6875rem;
    height: 3.2rem;

    //z-index: var(--zindex-second);
    //overflow: hidden;
    &.open {
      transition: all .3s;
      transform: translate(-7.875rem);
    }

    &.close {
      transition: all .3s;
      transform: translate(0);
    }

    & .back_btn {
      display: flex;
      position: relative;
      align-items: center;
      justify-content: center;
      z-index: 2;
      width: 3.1rem;
      height: 3.1rem;

      & .back_bg {
        width: 100%;
        height: auto;
      }

      & .arrow {
        position: absolute;
        width: 25%;
        height: auto;
        top: .88rem;
        left: 1.1rem;

        &.a_open {
          transition: all .3s;
          transform: rotate(180deg);
        }

        &.a_close {
          transition: all .3s;
          transform: rotate(0);
        }
      }
    }

    & .close_box {
      display: flex;
      position: relative;
      align-items: center;
      justify-content: center;
      z-index: 1;
      width: 9.5rem;
      margin-top: 2rem;
      margin-left: -1.2rem;

      & .bg {
        width: 100%;
      }

      & .close_info {
        position: absolute;
        left: 2rem;
        right: 1.3rem;
        top: -0.3rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: #fff;
      }

      & .line {
        transform: rotate(-72deg);
        opacity: .3;
        background-color: #fff;
        width: 1.25rem;
        height: .0625rem;
      }

      & .close {
        width: 1.2rem;
        height: 1.2rem;
      }
    }
  }
}

.loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

// 奖励按钮样式
.bonusContainer {
  position: fixed;
  top: calc(5rem * var(--view-size));
  left: calc(1rem * var(--view-size));
  z-index: var(--zindex-second);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 5.5rem;
}

.unlockLabel {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.8), rgba(0, 200, 100, 0.8));
  border-radius: 20px;
  padding: 0.3rem 1rem;
  margin-bottom: -0.5rem;
  z-index: 2;
  position: relative;

  span {
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
  }
}

.progressCircle {
  position: relative;
  width: 5rem;
  height: 5rem;
  cursor: pointer;
  transition: transform 0.2s ease;

  &:hover {
    transform: scale(1.05);
  }

  &:active {
    transform: scale(0.95);
  }
}

.progressRing {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.progressTrack {
  opacity: 0.3;
}

.progressBar {
  transition: stroke-dashoffset 0.5s ease-in-out;
  filter: drop-shadow(0 0 4px rgba(0, 255, 136, 0.5));
}

.circleContent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 100, 50, 0.9) 0%, rgba(0, 80, 40, 0.95) 100%);
  border-radius: 50%;
  border: 2px solid rgba(0, 255, 136, 0.3);
}

.lockIcon {
  width: 1.2rem;
  height: 1.2rem;
  color: #ffd700;
  margin-bottom: 0.2rem;

  svg {
    width: 100%;
    height: 100%;
  }
}

.amountDisplay {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.currentAmount {
  color: #ffd700;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.targetAmount {
  color: #fff;
  font-size: 0.6rem;
  font-weight: 500;
  opacity: 0.9;
}

.back_menu {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: var(--zindex-second);

  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0, 0, 0, 0.9);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  color: #fff;
  gap: 2rem;

  .btn_close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: 1.8rem;
    height: 1.8rem;
    fill: #fff;
  }

  .menu_box {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(12, 89, 70, .8), rgba(12, 89, 70, 0) 100%);
    gap: 1rem;
    width: 100%;

    align-items: center;

    >span {
      margin-top: 2rem;
      font-size: 1.7rem;
      font-weight: 600;
      width: 100%;
      text-align: center;
    }

    button {
      width: 80%;
      border: .02rem solid #fff;
      border-radius: .4rem;
      height: 3.2rem;

      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1rem;

      >svg {
        width: 1.5rem;
        height: 1.5rem;
      }
    }
  }

  .menu_line {

    height: .08rem;
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .line1 {
      flex: 1;
      height: .04rem;
      background: linear-gradient(90deg, hsla(0, 0%, 77%, 0), #c4c4c4);
    }

    .line2 {
      flex: 1;
      height: .04rem;
      background: linear-gradient(90deg, #c4c4c4, hsla(0, 0%, 77%, 0));
    }

    >span {
      width: 10rem;
    }
  }

  .game_list {
    display: flex;
  }
}

.popup_node {
  transform: rotate(90deg) !important;
}

.lt_node {
  position: fixed;
  top: calc(5rem * var(--view-size));
  left: calc(1rem * var(--view-size));
  z-index: var(--zindex-second);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 5.5rem;
}

.rt_node {
  position: fixed;
  top: calc(1rem * var(--view-size));
  right: calc(5rem * var(--view-size));
  z-index: var(--zindex-second);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 5.5rem;
}