﻿.story {
  margin-bottom: 15px;
  margin-top: 15px;
}
.story .story__item {
  width: 84px;
  cursor: pointer;
}
.story .story__item .story__thumbnail-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 84px;
  height: 84px;
  background: linear-gradient(225deg, #cb0aba, #fdc55c);
  border-radius: 50%;
}
.story .story__item .story__thumbnail-wrapper img {
  width: 78px;
  height: 78px;
  border: 3px solid #fff;
  border-radius: 50%;
}
.story .story__item .story__title {
  height: 20px;
  margin-top: 10px;
  font-size: 14px;
  text-align: center;
  line-height: 19px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.story__player {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.89);
  overflow: hidden;
  z-index: 10000;
}
.story__player.active {
  display: flex;
}
.story__player .story__player-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 300px;
  margin-bottom: 10px;
}
.story__player .story__player-header .story__player-title {
  width: 300px;
  font-size: 15px;
  color: #fff;
}
.story__player .story__player-header .story__player-close-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  background: #8c0c0b;
  border-radius: 50%;
  cursor: pointer;
}
.story__player .story__player-header .story__player-close-button:before, .story__player .story__player-header .story__player-close-button:after {
  content: "";
  display: inline-block;
  position: absolute;
  width: 12px;
  height: 1px;
  background-color: #fff;
}
.story__player .story__player-header .story__player-close-button:before {
  transform: rotateZ(45deg);
}
.story__player .story__player-header .story__player-close-button:after {
  transform: rotateZ(315deg);
}
.story__player .story__player-media-player {
  position: relative;
  width: 300px;
  height: 500px;
  margin-bottom: 20px;
}
.story__player .story__player-media-player video {
  display: none;
  width: 300px;
  height: 500px;
  background-color: #000;
  border-radius: 12px;
  overflow: hidden;
}
.story__player .story__player-media-player video.active {
  display: block;
}
.story__player .story__player-media-player img {
  display: none;
  width: 300px;
  height: 500px;
  background-color: #000;
  border-radius: 12px;
  overflow: hidden;
}
.story__player .story__player-media-player img.active {
  display: block;
}
.story__player .story__player-media-player .story-nav {
  position: absolute;
  top: 50%;
  color: #fff;
  transform: translateY(-50%);
  font-size: 30px;
  cursor: pointer;
}
.story__player .story__player-media-player .story-nav.disabled {
  display: none;
}
.story__player .story__player-media-player .prev-story {
  right: -25px;
}
.story__player .story__player-media-player .next-story {
  left: -25px;
}
.story__player .story__player-footer {
  width: 300px;
}
.story__player .story__player-footer ::-webkit-scrollbar {
  width: 4px;
}
.story__player .story__player-footer ::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 10px;
}
.story__player .story__player-footer ::-webkit-scrollbar-track {
  background: transparent;
}
.story__player .story__player-footer .stoty__player-description {
  max-height: 80px;
  padding-inline-end: 10px;
  margin-bottom: 10px;
  color: #ddd;
  font-size: 13px;
  line-height: 19px;
  text-align: justify;
  overflow: auto;
}
.story__player .story__player-footer .story__player-link-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  height: 30px;
  padding: 0 30px;
  color: #000;
  background-color: #fecb06;
  font-size: 12px;
  border-radius: 6px;
}

@media (min-width: 430px) {
  .story__player .story__player-media-player .prev-story {
    right: -35px;
  }
  .story__player .story__player-media-player .next-story {
    left: -35px;
  }
}
