/* 禁止复制 */
body {
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
}
body {
  margin: 0;
  padding: 0;
  background-color: black;
}

.container {
  width: 100vw;
  height: 100vh;
}

/* 整体翻转90度 */
.transform90 {
  transform: rotate(90deg);
  transform-origin: bottom left;
  position: absolute;
  top: -100vw;
  height: 100vw; 
  width: 100vh;
}

.artplayer-app {
  width: 100%;
  height: 85%;
  flex-direction: row;
}

.artplayer-ad {
  position: relative;
  float: left;
  width: 100%;
  height: 100%;
  z-index: 999999;
  display: none;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
}
.ad-container {
  position: relative;
  width: 80%;
  height: 80%;
  background-color: black;
  border-radius: 5px;
  overflow: hidden;
}
.ad-image {
  width: 100%;
  height: 100%;
}
.ad-close {
  position: absolute;
  margin-top: 0px;
  top: 10px;
  right: 10px;
  padding: 5px 10px;
  font-size: 12px;
  color: #fff;
  border-radius: 13px;
  background-color: rgba(0, 0, 0, 0.7);
}
.artplayer-volume {
  position: relative;
  float: left;
  left: 30%;
  margin-top: 40px;
  width: 40%;
  height: 30px;
  z-index: 999998;
  display: none;
  justify-content: center;
  border-radius: 15px;
  flex-direction: row;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.volume-image {
  flex: 0.1;
  padding: 2px 5px;
  margin-left: 3px;
  object-fit: contain;
}
.volume-progress-container {
  background-color: rgba(255, 255, 255, 0.2);
  flex: 0.9;
}
.volume-progress {
  width: 10%;
  height: 100%;
  background-color: #35b56f;
}

.artplayer-tip {
  position: relative;
  float: left;
  width: 100%;
  height: 100%;
  z-index: 999999;
  display: none;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
}

.tip-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 250px;
  height: 200px;
  background-color: white;
  border-radius: 5px;
  overflow: hidden;
  text-align: center;
  font-size: 16;
}

.tip-title {
  flex-basis:100%;
  padding: 20px;
  color:black;
  font-weight: 600;
}

.tip-cancel {
  flex-basis:35%;
  margin-left: 10%;
  color: #666;
  border:1px solid #999;
  padding: 10px 0px;
  border-radius: 10px;
  align-self:flex-start
}

.tip-confirm {
  flex-basis:35%;
  margin-left: 10%;
  background-color: #DA2538;
  color: white;
  padding: 10px 0px;
  border-radius: 10px;
  align-self:flex-start
}

/* artplayer内部css修改 */
.art-control-aggregate > .art-selector-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20%, 1fr));
  grid-gap: 10px;
  max-width: 320px;
  max-height: 305px;
  margin-bottom: 10px;
}
.art-control-aggregate > .art-selector-list > .art-selector-item {
  flex-shrink: unset;
  color: #bfbfbf;
  font-size: 15px;
}
.art-control-aggregate > .art-selector-list > .checked {
  border: 2px solid #00a1f8;
  border-radius: 5px;
}
/* 广告插件修改 */
.artplayer-plugin-ads
  > .artplayer-plugin-ads-control
  > .artplayer-plugin-ads-fullscreen {
  display: none;
}
.art-icon:active {
  transform: scale(calc(var(--art-control-icon-scale) * 0.8));
}
/* 底部控件位置 */
.art-video-player .art-bottom {
  padding-left: 20px;
}
/* 解决artplayer编译内部问题 https://github.com/zhw2590582/ArtPlayer/issues/579 */
.art-layers > .art-layer-mini-progress-bar {
  height:var(--art-mini-progress-height);
}