:global(.eyeProtection) {
  .container {
    background: var(--eye-background-color) !important;
  }
}
.container {
  position: fixed;
  z-index: 9;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  box-sizing: border-box;
  padding: 0 16px;
  background: #fff;
  transition: transform 0.3s ease-out;
}
.outUp {
  transform: translateY(-100%);
}

.moreButton {
  display: flex;
  justify-content: flex-end;
  .button {
    margin: 0;
  }
}

.centerButton {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.leftButton {
  display: flex;
  align-items: center;
  .titleWrap {
    margin-left: 6px;
  }
  .title {
    max-width: 20vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
    color: #985131;
    font-weight: bold;
  }
  .album {
    font-size: 6px;
    color: #ab7f6a;
  }
}
.button {
  height: auto;
  line-height: normal;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  font-size: 0;
  position: relative;
  &.hasText {
    color: #777;
    font-size: 5px;
    padding: 0 4.5px;
    white-space: nowrap;
    img {
      width: 13px;
      height: 13px;
      display: block;
    }
    :global {
      .van-button__text {
        display: flex;
        align-items: center;
        flex-direction: column;
      }
    }
  }
  &.minPadding {
    padding: 0 2px;
  }
  &.bigIcon {
    img {
      width: 25px;
      height: 14px;
      display: block;
      margin: auto;
      margin-bottom: 1px;
    }
  }
  .iconContent {
    position: relative;
    .arrowIcon {
      position: absolute;
      left: 50%;
      top: 14PX;
      transform: translateX(-8PX);
      width: 0;
      height: 0;
      border-bottom: 8PX solid rgba(33, 33, 33, 0.56);
      border-right: 8PX solid transparent;
      border-left: 8PX solid transparent;  
      z-index: 2;      
    }
    .botton-tips {
      position: absolute;
      left: -70PX;
      top: 22PX;
      background: rgba(33, 33, 33, 0.56);
      font-size: 14PX;
      font-weight: 500;
      color: #FFFFFF;
      padding: 3PX 10PX;
      word-break: keep-all;
      z-index: 1;
      border-radius: 20PX;
      z-index: 9;
      &.tipSpec {
        left: -40PX;
      }
    }  
  }
}
.evaluatBtn {
  width: 54px;
}

.start {
  width: 75px;
  height: 75px;
  background-color: transparent;
  background-size: 100%;
  background-position: center;
  color: #fff;
  border-radius: 100%;
  position: fixed;
  top: 50%;
  left: 50%;
  margin-top: 10vh;
  transform: translate(-50%, -50%);
  font-size: 12px;
}
.evaluatStartBtn {
  position: fixed;
  bottom: 17px;
  left: calc(50% - 32px);
  width: 64px;
  height: 20px;
  border-radius: 12px;
  background-size: 100%;
  background-position: center;
  z-index: 10;
}

.icon {
  width: 100%;
}

.onShow {
  transform: translateY(0);
}

.popover {
  :global(.van-popover__content) {
    border-radius: 3px !important;
  }
  :global {
    .van-popover__arrow {
      bottom: 3px;
      border-width: 4px !important;
    }
  }
}
.backbtn {
  width: 15px;
  height: 15px;
}

.speed {
  display: block;
  > div {
    padding: 2px;
  }
  :global {
    .van-slider__button-wrapper {
      background: #ffe8b1;
      border-radius: 20px;
      border: 1px solid #ffffff;
      padding: 2px 4px;
      > div {
        background-color: transparent !important;
      }
      span {
        color: #f67146 !important;
      }
    }
    .van-slider {
      background-color: #ffd571 !important;
      margin-top: 2px !important;
      margin-bottom: 2px !important;
      min-height: 35vh;
    }
    .van-button {
      width: 10px !important;
      height: 10px !important;
      background-color: transparent !important;
      border: none !important;
      margin-left: 0 !important;
      &:last-child {
        margin-top: 4px;
      }
    }
    .van-button__icon,
    img {
      width: 10px !important;
      height: 10px !important;
    }
  }
}

.schedule {
  position: relative;
  circle {
    display: block;
  }
  .ring {
    position: absolute;
    left: 0;
    top: 0;
    transform-origin: center;
    transform: rotate(-90deg);
    display: flex;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }
}

.speedButton {
  position: relative;
  .label {
    position: absolute;
    font-size: 4px;
    padding: 0 2px;
    color: var(--primary-color);
    background: #ffe8b1;
    border-radius: 10px;
    border: 0.5px solid #ffffff;
    right: 0;
    top: 0;
  }
}

.player {
  position: fixed;
  z-index: 8;
  bottom: 10px;
  right: 16px;
  display: inline-block;
  z-index: 9;
}

.fullbtn {
  :global {
    .van-button__text {
      width: 20px;
      height: 20px;
      > div,
      img {
        width: 20px;
        height: 20px;
      }
    }
  }
}

.finish {
  background-color: transparent;
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  width: 64px;
  height: 20px;
  border-radius: 12px;
  border: none;
  color: #6f4900;
  font-size: 9px;
}
:global {
  .start-enter-active,
  .start-leave-active {
    transition: all 0.5s ease-out;
  }
  .start-enter-from {
    opacity: 0;
  }
  .start-enter-to {
    opacity: 1;
  }
  .start-leave-from {
    opacity: 1;
  }
  .start-leave-to {
    margin-top: -100px;
    margin-left: -30px;
    opacity: 0;
    transform: scale(0.1);
    border-radius: 0;
  }

  .finish-enter-active,
  .finish-leave-active {
    transition: all 0.5s ease-out;
  }

  .finish-enter-from {
    transform: scale(0.1);
    opacity: 0;
  }
  .finish-enter-to {
    opacity: 1;
    transform: scale(1);
  }
  .finish-leave-from {
    opacity: 1;
  }
  .finish-leave-to {
    opacity: 0;
    transform: scale(0.1);
  }
}

.dialogueBox {
  position: fixed;
  bottom: -1px;
  right: 0;
  z-index: 9;
  display: flex;
  flex-direction: column;
  align-items: flex-end;

  .dialogue {
    position: fixed;
    bottom: 60px;
  }

  .dialogue > div {
    width: 96px;
    height: 32px;
    background: url('./icons/task-bg.png') no-repeat center;
    background-size: 100% 100%;
    margin-right: 10px;
    color: #fff;
    font-size: 6px;
    line-height: 8px;
    padding: 4px;
    box-sizing: border-box;
  }
  .dialogueIcon {
    width: 66px;
    height: 72px;
    margin-right: 6px;
  }
  .inRadioIcon {
    width: 66px;
    height: 72px;
    margin-right: 6px;
  }
}

.inRadio {
  width: 32px;
  height: 14px;
  font-size: 6px;
  background: linear-gradient(180deg, #ff975b, #ff6a3a);
  border-radius: 7px;
  border: 1px solid #ffffff;
  color: #fff;
  line-height: 12px;
  box-sizing: border-box;
  text-align: center;
  position: fixed;
  bottom: 0.12rem;
  right: 1.2rem;
  z-index: 9;
}

.animation {
  width: 80px;
  height: 67px;
  margin-right: 0;
}

.btnMusicList {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  margin: 0;
  width: 40px;
  img {
    width: 100%;
  }
}

.toggleMusicType {
  :global {
    .van-popover__content {
      padding: 4px 0;
      border-radius: 8px;
    }
    .van-popover__action {
      width: 60px;
      height: 16px;
      padding: 0 6px;
      & > img {
        width: 14px;
        margin-right: 8px;
      }
    }
    .action-text {
      flex: 1;
      font-size: 8px;
      text-align: justify;
      text-align-last: justify;
      text-justify: distribute-all-lines; // 这行必加，兼容ie浏览器
      &::before,
      &::after {
        display: inline-block; /*行内元素*/
        content: '';
        width: 100%; /*可以挤掉文字，保证不跟文字在同一行*/
        height: 0;
        visibility: hidden;
      }
    }
    .action-active {
      color: var(--primary-color);
    }
  }
}
.slider {
  width: 20px;
  color: #fff;
  font-size: 8px;
  line-height: 10px;
  text-align: center;
  background-color: var(--van-primary-color);
  border-radius: 100px;
}
:global(.van-popup.van-popover.cameraPopover) {
  width: 140px;
  :global {
    .van-popover__arrow {
      right: 6px;
      border-width: 4px;
    }
    .cameraOpacity {
      .van-cell__value {
        flex: 2;
        overflow: visible;
      }
    }
  }
}

.followEndBtn {
  background-color: transparent;
  background-size: 100%;
  background-position: center;
  color: #fff;
}
body {
  :global {
    .van-toast--text {
      min-width: fit-content;
    }
  }
}

body {
  :global {
    .popup-scale {
      margin: 0 !important;
    }
  }
}

.noSaveTip {
  background: rgba(0,0,0,0.7);
  font-size: 14Px;
  border-radius: 8Px;
  display: flex;
  align-items: center;
  padding: 8Px 12Px;
  position: fixed;
  left: 50%;
  top: 100Px;
  transform: translateX(-50%);
  z-index: 1;
  color: #fff;
  > i {
    width: 12Px;
    height: 12Px;
    background-image: url('./icons//close_icon.png');
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    margin-left: 16Px;
    cursor: pointer;
  }
}