.home {
  width: 100%;
  height: 100%;

  &-cover {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('@/assets/images/ylct/home/bg-min.png') no-repeat center / cover;
    z-index: 9999;

    &__title {
      position: absolute;
      top: 166px;
      left: 50%;
      width: 1260px;
      height: 333px;
      background: url('@/assets/images/ylct/home/title-min.png') no-repeat center / contain;
      transform: translateX(-50%);
    }
    &__logo {
      position: absolute;
      right: 364px;
      bottom: 122px;
    }
    &__btn {
      position: absolute;
      left: 50%;
      bottom: 70px;
      cursor: pointer;
      transform: translateX(-50%);
    }
  }
}

#player {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;

  canvas {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
  }
}

#hot {
  position: absolute;
  padding: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;

  > div[pos='right'] {
    transform: translate(20px, -50%);
  }
  > div[pos='top'] {
    transform: translate(-50%, calc(-100% - 20px));
  }
  > div[pos='middle'] {
    transform: translate(-50%, -50%);
  }
  > div[pos='bottom'] {
    transform: translate(-50%, 20px);
  }
  > div[pos='left'] {
    transform: translate(calc(-100% - 20px), -50%);
  }
  > div {
    position: absolute;
    color: #fff;
    user-select: none;
    border-radius: 5px;
    background-color: rgba(34, 34, 34, 0.3);
    padding: 10px;
    max-width: 400px;
    letter-spacing: 1px;
    line-height: 20px;
    z-index: var(--z-index-top);
  }
}

div.cad {
  top: 44px;
  right: 30px;
  width: 150px;
  height: 150px;
  border: 1px solid #c39c6b;
  background: rgba(111, 15, 13, 0.6);

  path {
    stroke-width: 1;
    stroke: #c39c6b;
    fill: RGBA(157, 34, 45, 0.7);
  }
  circle {
    fill: #9d222d;
  }
}

.pinTop {
  display: none;
}

@media only screen and (max-width: 600px) {
  .home {
    &-cover {
      background: url('@/assets/images/ylct/mobile/bg-min.png') no-repeat top center / cover;

      &__title {
        top: 50%;
        width: 202px;
        height: 445px;
        background-image: url('@/assets/images/ylct/mobile/title-min.png');
        transform: translate(-50%, -58%);
      }
      &__logo {
        left: 20px;
        right: unset;
        bottom: 20px;
        width: 41px;
        height: 20px;
      }
      &__btn {
        bottom: 20px;
        width: 90px;
        height: 90px;
      }
    }
  }
  div.cad {
    top: 20px;
    right: 8px;
    width: 90px;
    height: 90px;
  }
}
