.pinBottom-container {
  position: absolute;
  bottom: 0px;
  width: 100%;
  transition: all 0.5s;
  z-index: var(--z-index-top);

  .pinBottom.playing {
    bottom: 20px;
  }
}

.pinBottom.open.noScroll.playing {
  bottom: 175px;
}

.pinBottom {
  position: absolute;
  bottom: 0;
  line-height: 1;
  transition: all 0.5s;

  &.left {
    left: 0;
    width: 450px;
    height: 67px;
    background: url('@/assets/images/zgrs/Subtract-min.png') no-repeat center right / contain;
  }
  &.right {
    right: 40px;
    bottom: 10px;
  }
  &.open {
    bottom: 155px;

    &.playing {
      bottom: 165px;
    }
  }
}

.viewContainer,
.rightViewContainer,
#gui-modes-map {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 100%;
}

.viewContainer {
  padding-left: 35px;
}

#play,
#pause {
  cursor: pointer;

  img {
    width: 57px;
    height: 57px;
  }
}

#pullTab,
.helper-btn,
.good-btn,
.hotList,
#gui-modes-dollhouse,
#gui-modes-floorplan,
#volume,
#sharing {
  display: block;
  width: 57px;
  height: 57px;
  cursor: pointer;
}

#pullTab {
  background: url('@/assets/images/zgrs/auto-suspend.png') no-repeat center / contain;

  &.opened {
    background-image: url('@/assets/images/zgrs/auto.png');
  }
}

.hotList {
  background: url('@/assets/images/zgrs/hotlist.png') no-repeat center / contain;

  &.active {
    background-image: url('@/assets/images/zgrs/hotlist-active.png');
  }
}

#gui-modes-dollhouse {
  background: url('@/assets/images/zgrs/dollhouse.png') no-repeat center / contain;

  &.active {
    background-image: url('@/assets/images/zgrs/dollhouse-active.png');
  }
}

#gui-modes-floorplan {
  background: url('@/assets/images/zgrs/floor.png') no-repeat center / contain;

  &.active {
    background-image: url('@/assets/images/zgrs/floor-active.png');
  }
}

#volume {
  background: url('@/assets/images/zgrs/Volume btn_off.png') no-repeat center / contain;

  &.active {
    background-image: url('@/assets/images/zgrs/Volume btn_on.png');
  }
}

#sharing {
  background: url('@/assets/images/zgrs/share.png') no-repeat center / contain;
}

.helper-btn {
  background: url('@/assets/images/zgrs/helper.png') no-repeat center / contain;
}

.good-btn {
  position: relative;

  &.active div {
    background-image: url('@/assets/images/zgrs/good-active.png');
  }
  div {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 58px;
    height: 67px;
    transition: background-image 0.3s ease-in-out;
    background: url('@/assets/images/zgrs/good.png') no-repeat center / contain;
  }
  span {
    position: absolute;
    top: -9px;
    left: 50%;
    font-size: 12px;
    color: white;
    transform: translateX(-50%);
  }
}

.terms2 {
  display: none;
}

@media only screen and (max-width: 600px) {
  .pinBottom {
    &.open {
      bottom: 122px;

      &.noScroll.playing {
        bottom: 142px;
      }
    }
    &.open.right {
      bottom: 152px;

      &.noScroll.playing {
        bottom: 172px;
      }
    }
    &.left {
      width: 100%;
      height: 55px;

      .viewContainer {
        padding-left: 15px;
      }
    }
    &.right {
      right: 13px;
      bottom: 30px;

      &.playing {
        bottom: 50px;
      }
      .rightViewContainer {
        flex-direction: column;

        .helper-btn,
        #sharing,
        #volume,
        .good-btn {
          width: 47px;
          height: 47px;
        }
        .good-btn {
          &.active {
            div {
              background-image: url('@/assets/images/zgrs/good-active-m.png');
            }
          }
          div {
            width: 47px;
            height: 54px;
            background-image: url('@/assets/images/zgrs/good-m.png');
          }
          span {
            top: -7px;
          }
        }
        .helper-btn {
          background-image: url('@/assets/images/zgrs/helper-m.png');
        }
        #sharing {
          background-image: url('@/assets/images/zgrs/share-m.png');
        }
        #volume {
          background-image: url('@/assets/images/zgrs/Volume btn_off-m.png');

          &.active {
            background-image: url('@/assets/images/zgrs/Volume btn_on-m.png');
          }
        }
      }
    }
  }
  #play img,
  #pause img,
  #gui-modes-map > div,
  .hotList {
    width: 47px;
    height: 47px;
  }
  #gui-modes-map {
    gap: 5px;
  }
}
