/* pages/home/body-model/body-model.wxss */
.body-model-wrapper {
  position: relative;
  box-sizing: border-box;
  --button-line-1: 10px;

  .container-bg-image {
    position: static;
    margin: auto;
  }

  .container {
    position: absolute;
    top: 0;
    left: 0;
  }
}

.index-wrapper {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-55%);
  max-width: 80px;
  max-height: 150px;
  box-shadow: inset 0px 1px 18px 7px rgba(161, 19, 57, 0.55);
  border: 1px solid #BD1D34;
  font-size: 12px;
}

.frame-wrapper {
  position: relative;
  width: 110px;
  height: 64px;
  box-sizing: border-box;

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

  .content {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    height: 100%;
    font-size: 12px;
    box-sizing: border-box;
  }
}

.card {
  position: absolute;
  display: flex;
  flex-direction: row;
  align-items: center;
  $border: 1px solid rgba(56, 255, 110, 0.7);

  .line {
    box-sizing: border-box;
  }

  &.LT,
  &.LB {
    transform: translateX(-100%);
  }

  &.LT {
    .line {
      border-top: $border;
      border-right: $border;
      width: 24px;
      height: 16px;
    }

    .content text {
      width: 90%;
    }
  }

  &.LB {
    flex-direction: column;

    .frame-wrapper {
      height: 50px;
    }

    .line {
      width: 100px;
      height: 12px;
      border-left: $border;
      border-bottom: $border;
      transform: translateX(50%);
    }
  }


  &.RT {
    .line-wrapper {
      display: flex;
      flex-direction: row;
    }

    .line {
      width: 20px;
      height: 18px;

      &-1 {
        border-bottom: $border;
      }

      &-2 {
        border-top: $border;
        border-left: $border;
      }
    }
  }

  &.RB {
    .line {
      border-bottom: $border;
      width: 48px;
      height: 2px;
    }
  }
}