/* shadow */
/* sizing */
/* spacing */
.semi-videoPlayer {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 100%;
}
.semi-videoPlayer ::-webkit-media-controls {
  display: none;
}
.semi-videoPlayer-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  line-height: 0;
}
.semi-videoPlayer-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.semi-videoPlayer-wrapper-dark {
  background-color: rgba(var(--semi-grey-8), 1);
  color: var(--semi-color-bg-0);
}
.semi-videoPlayer-wrapper-light {
  background-color: var(--semi-color-disabled-bg);
  color: rgba(var(--semi-grey-8), 1);
}
.semi-videoPlayer-pause {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}
.semi-videoPlayer-pause svg {
  font-size: 88px;
  color: var(--semi-color-text-1);
  pointer-events: none;
}
.semi-videoPlayer-error {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-weight: 600;
  font-size: 14px;
}
.semi-videoPlayer-error-svg {
  margin-bottom: 12px;
}
.semi-videoPlayer-error-dark {
  background-color: rgba(var(--semi-grey-8), 1);
  color: var(--semi-color-bg-0);
}
.semi-videoPlayer-error-dark path {
  fill: var(--semi-color-bg-0);
}
.semi-videoPlayer-error-light {
  background-color: var(--semi-color-disabled-bg);
  color: rgba(var(--semi-grey-8), 1);
}
.semi-videoPlayer-error-light path {
  fill: rgba(var(--semi-grey-8), 1);
}
.semi-videoPlayer-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.semi-videoPlayer-poster-hide {
  opacity: 0;
}
.semi-videoPlayer-notification {
  position: absolute;
  bottom: 78px;
  left: 8px;
  text-align: center;
  background-color: var(--semi-color-overlay-bg);
  color: var(--semi-color-default);
  padding: 8px 12px;
  line-height: 20px;
  border-radius: 3px;
  font-size: 14px;
}
.semi-videoPlayer-mirror video {
  transform: rotateX(0deg) rotateY(180deg);
}
.semi-videoPlayer-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: fit-content;
  opacity: 1;
  transition: opacity 500ms ease-in-out;
  z-index: 1;
}
.semi-videoPlayer-controls-hide {
  opacity: 0;
}
.semi-videoPlayer-controls-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  height: 56px;
  background-color: rgba(28, 31, 35, 0.8);
  padding: 12px 16px;
}
.semi-videoPlayer-controls-menu-left, .semi-videoPlayer-controls-menu-right {
  display: flex;
  align-items: center;
}
.semi-videoPlayer-controls-menu-item {
  margin-right: 8px;
}
.semi-videoPlayer-controls-menu-button svg {
  color: #fff;
}
.semi-videoPlayer-controls-time {
  color: #fff;
  font-size: 14px;
  margin-right: 8px;
  padding: 0 8px;
  font-variant-numeric: tabular-nums;
}
.semi-videoPlayer-controls-popover {
  background-color: transparent;
}
.semi-videoPlayer-controls-volume {
  box-sizing: border-box;
  width: 40px;
  height: 160px;
  background-color: var(--semi-color-overlay-bg);
  color: rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  padding: 0px 4px;
  line-height: 16px;
  font-size: 12px;
  user-select: none;
}
.semi-videoPlayer-controls-volume-title {
  padding: 10px 0px;
  text-align: center;
}
.semi-videoPlayer-controls-popup {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 24px;
  background-color: var(--semi-color-overlay-bg);
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  border-radius: 3px;
  cursor: pointer;
}
.semi-videoPlayer-controls-popup-menu {
  width: 48px;
  background-color: var(--semi-color-overlay-bg);
  border-radius: 4px;
}
.semi-videoPlayer-controls-popup-menu-item {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0px 8px;
  height: 32px;
  color: #fff;
  font-size: 12px;
}
.semi-videoPlayer-controls-popup-menu-item:hover {
  background-color: rgb(67, 68, 74) !important;
}
.semi-videoPlayer-controls-popup-menu .semi-dropdown-item-active {
  color: var(--semi-color-primary);
  font-weight: 600;
  cursor: pointer;
}
.semi-videoPlayer-progress {
  position: relative;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 0px 8px;
}
.semi-videoPlayer-progress-markers {
  position: absolute;
  width: 100%;
  height: 100%;
}
.semi-videoPlayer-progress-tooltip {
  top: 6px;
}
.semi-videoPlayer-progress-tooltip-content {
  display: flex;
  justify-content: center;
  align-items: center;
}
.semi-videoPlayer-progress-slider {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  bottom: 0;
  border-radius: 999px;
}
.semi-videoPlayer-progress-slider-active .semi-videoPlayer-progress-slider-list,
.semi-videoPlayer-progress-slider-active .semi-videoPlayer-progress-slider-played,
.semi-videoPlayer-progress-slider-active .semi-videoPlayer-progress-slider-buffered, .semi-videoPlayer-progress-slider:hover .semi-videoPlayer-progress-slider-list,
.semi-videoPlayer-progress-slider:hover .semi-videoPlayer-progress-slider-played,
.semi-videoPlayer-progress-slider:hover .semi-videoPlayer-progress-slider-buffered {
  height: 10px;
  transition: transform 300ms;
  transition-timing-function: cubic-bezier(0.62, 0.05, 0.36, 0.95);
}
.semi-videoPlayer-progress-slider-list {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: rgba(var(--semi-grey-5), 1);
  height: 4px;
  width: calc(100% - 2px);
  margin-right: 2px;
  border-radius: 999px;
  transition: transform 300ms;
  transition-timing-function: cubic-bezier(0.62, 0.05, 0.36, 0.95);
}
.semi-videoPlayer-progress-slider-played {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: var(--semi-color-primary);
  height: 4px;
  border-radius: 999px;
  transition: transform 300ms;
  transition-timing-function: cubic-bezier(0.62, 0.05, 0.36, 0.95);
}
.semi-videoPlayer-progress-slider-buffered {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: rgba(var(--semi-grey-3), 1);
  height: 4px;
  border-radius: 999px;
  transition: transform 300ms;
  transition-timing-function: cubic-bezier(0.62, 0.05, 0.36, 0.95);
}
.semi-videoPlayer-progress-handle {
  box-sizing: border-box;
  position: absolute;
  width: 16px;
  height: 16px;
  background-color: #fff;
  border: 1px solid var(--semi-color-primary);
  box-shadow: 0px 0px 4px 0px var(--semi-color-shadow);
  border-radius: 50%;
  top: 15px;
}