.clips {
  position: relative;
  flex-grow: 1;
  padding-top: 20px;
  background-color: #081425;
  height: calc(76dvh - 56px);
  width: 100%;
}


@media (max-width: 992px) {
  .clips {
    height: 100dvh;
    padding: 0;
    background-color: #081425;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

.clips-back {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  color: #fff;
  z-index: 2;
  width: 48px;
  height: 48px;
  justify-content: center;
  align-items: center;
}
@media (max-width: 992px) {
  .clips-back {
    display: flex;
  }
}

.clips-slider {
  height: 100%;
  width: 100%;
  position: relative;
}
@media (max-width: 992px) {
  .clips-slider {
    max-height: 100dvh;
  }
}

.clips-slider__slide-wrapper {
  width: 100%;
}

.clips-slider__slide {
  margin: 0 auto;
  height: 100%;
  position: relative;
  aspect-ratio: 9/16;
}
@media (any-hover: hover) {
  .clips-slider__slide {
    cursor: pointer;
  }
}
@media (max-width: 992px) {
  .clips-slider__slide {
    aspect-ratio: unset;
    border-radius: 0;
  }
}

.clips-slider__slide video {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  border-radius: 16px;
}
@media (max-width: 992px) {
  .clips-slider__slide video {
    border-radius: 0;
  }
}

.clips-slider__btns {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 1;
}
@media (max-width: 992px) {
  .clips-slider__btns {
    display: none;
  }
}

.clips-slider__btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #272727;
  color: #fff;
}

@media (any-hover: hover) {
  .clips-slider__btn:hover {
    background-color: #535353;
  }
}
.clips-slider__progress-bar {
  position: absolute;
  bottom: 0;
  left: 10px;
  width: calc(100% - 20px);
  height: 4px;
  background-color: hsla(0, 0%, 100%, 0.4);
  display: flex;
  transition: 0.2s;
  border-radius: 0 0 16px 16px;
}
@media (max-width: 992px) {
  .clips-slider__progress-bar {
    left: 0;
    width: 100%;
    border-radius: 0;
  }
}
@media (any-hover: none) {
  .clips-slider__progress-bar {
    height: 6px;
  }
}

.clips-slider__progress-bar::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 24px;
}
@media (max-width: 992px) {
  .clips-slider__progress-bar::before {
    height: 32px;
  }
}

.clips-slider__progress-fill {
  background-color: var(--mainColor);
  position: relative;
  border-radius: 0 0 0 16px;
}
@media (max-width: 992px) {
  .clips-slider__progress-fill {
    border-radius: 0;
  }
}

.clips-slider__progress-fill::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid #AAA;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
}

@media (any-hover: hover) {
  .clips-slider__progress-bar:hover {
    height: 6px;
  }
  .clips-slider__progress-bar:hover .clips-slider__progress-fill::before {
    opacity: 1;
    visibility: visible;
  }
}
.clips-slider__mute-btn {
  position: absolute;
  bottom: 4px;
  right: 0px;
  color: #fff;
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.clips-slider__mute-btn svg:first-child {
  display: none;
}

.clips-slider__mute-btn.on svg:first-child {
  display: flex;
}

.clips-slider__mute-btn.on svg:last-child {
  display: none;
}

.clips-slider__tap-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  pointer-events: none;
}

.clips-slider__tap-icon.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.clips-slider__tap-icon svg:first-child {
  display: none;
}

.clips-slider__tap-icon.play svg:first-child {
  display: flex;
}

.clips-slider__tap-icon.play svg:last-child {
  display: none;
}

.clips-slider__info {
  position: absolute;
  bottom: 16px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #fff;
  font-size: 14px;
}

.clips-slider__user {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  color: #FFF;
}

.clips-slider__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}

.clips-slider__avatar img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}