// 播放器选项控制面板
.PlayerOpts {
  .svg {
    display: block;
  }

  .ant-popover {
    top: -30px !important;
  }
}
.PlayerOpts-Content {
  display: flex;
  flex-direction: column;
  padding: 4px 16px;

  .skip_blank,
  .volume_bar {
    width: 100%;
    height: 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: PingFangSC-Regular, var(--font-family);
    .ant-slider-handle:after {
      position: absolute;
      top: -6px !important;
      right: -6px !important;
      bottom: -6px !important;
      left: -6px !important;
      content: '';
      box-shadow: none !important;
      width: 4px !important;
      height: 12px !important;
      background-color: transparent !important;
      &:hover {
        background-color: var(--Fill_Brand_Primary) !important;
      }
    }
  }

  .skip_blank {
    font-size: 14px;
    color: var(--Text_Primary);
    font-weight: 500;

    .tingwu-switch {
      width: 32px;
      height: 20px;
      background-color: var(--Fill_Brand_Background);
      .tingwu-switch-handle {
        width: 16px;
        height: 16px;
      }

      &:focus {
        box-shadow: none;
        outline: none;
      }
    }
    .tingwu-switch-checked {
      background-color: var(--Fill_Brand_Inverse) !important;
      &:hover {
        background-color: var(--Fill_Brand_Inverse) !important;
      }
    }
    .tingwu-switch.tingwu-switch-small.tingwu-switch-checked
      .tingwu-switch-handle {
      left: calc(100% - 16px);
    }
  }

  .volume_bar {
    font-size: 12px;
    color: var(--Text_Primary);
    gap: 8px;
    .anticon {
      font-size: 20px;
    }
    .ant-slider {
      width: 117px;

      .ant-slider-rail {
        background: var(--Fill_Background);
      }
      .ant-slider-track {
        background: var(--Fill_Brand_Primary);
      }

      .ant-slider-handle {
        width: 4px;
        height: 12px;
        background-color: var(--Fill_Brand_Primary);
        border: solid 2px var(--Fill_Brand_Primary);
        border-radius: 4px;

        &:focus {
          box-shadow: none;
        }
      }
    }

    .ant-slider:hover .ant-slider-handle:not(.ant-tooltip-open) {
      border: solid 2px var(--Fill_Brand_Primary);
    }

    .volume {
      min-width: 31px;
      text-align: center;
    }
  }
}
