body{.story-swiper {
    touch-action: pan-y;
}

.story-swiper * {
    touch-action: pan-y;
}

.story-swiper img {
    pointer-events: none;
}

  font-feature-settings: "ss01";
}
h1,h2,h3,h4,h5,h6,p{
  margin: 0;
}

@font-face {
  font-family: 'yekanbakh';
  src: url('font/YekanBakhFaNum-VF.woff') format('woff'),
	url('font/YekanBakhFaNum-VF.woff2') format('woff2');
  font-variation-settings: "DOTS" 1;
}


textarea {
  all: unset;
  resize: none;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
  box-shadow: none;
  resize: none;
  font: inherit;
  color: inherit;
  cursor: auto;
}
*{
  font-family: "yekanbakh";
}
button:not(:disabled), [type="button"]:not(:disabled), [type="reset"]:not(:disabled), [type="submit"]:not(:disabled) {
  cursor: pointer;
  border: none;
  background: none;
  color: black;
}

.story_org {
  width: 200px;
  height: 200px;
  cursor: pointer;
  flex-shrink: 0;
  flex: 0 0 auto;
  margin-bottom: 2%;
}

.circle {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  overflow: visible;
}

.outer {
  width: 100%;
  height: 86px;
  background: conic-gradient(#f3861a, #ef133d, #e01688, #f3861a);
  position: relative;
  margin-bottom: 5%;
}

.middle {
  width: 92%;
  height: 92%;
  background-color: white;
}

.inner {
  width: 90%;
  height: 90%;
  overflow: hidden;
  background-color: #ccc;
  user-select: none;
}
.circleimage {
  border-radius: 50% !important;
}
.story_org img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}

.modal_org {
  display: none;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 99999;
  padding: 25px;
  background: rgba(0, 0, 0, 0.80);
  backdrop-filter: blur(18px);
  position: fixed;
  cursor: crosshair;
  align-items: center;
  justify-content: center;
  opacity: 0;
}
.monitor {
  box-shadow: var(--slide-width);
  display: grid;
  margin: 0;
  max-width: fit-content;
  max-height: 129vh;
  aspect-ratio: 9/16;
  position: relative;
  background: transparent;
}
.story-slide-bg-1, .story-slide-bg-2, .story-slide-bg-3 {
  position: absolute;
  z-index: -1;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
}
.story-slide-bg-1 {
  top: 60px;
  bottom: 20px;
  right: -12px;
  left: 33px;
}
.story-slide-bg-2 {
  top: 48px;
  bottom: 48px;
  right: -25px;
  left: 33px;
}
.story-slide-bg-3 {
  top: 20px;
  bottom: 20px;
  right: 25px;
  left: -12px;
}
.digistory-slide-items {
  border-radius: 20px;
  grid-area: 1/1;
  overflow: hidden;
  position: relative;
}
.digistory-slide-items > * {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
}
.digistory-slide-items .active {
  opacity: 1;
  pointer-events: initial;
  position: relative;
}
.slide_prop {
  display: flex;
  flex-direction: column;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 0 5% 8% 5%;
  gap: 1.6rem;
  background: linear-gradient(to top, black, transparent);
  z-index: 50;
}
.slide_def {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  color: white;
  width: 100%;
  gap: 2rem;
}
.slide_prop .slide_def .right {
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 1.35rem;
  align-items: flex-start;
}
.slide_prop .slide_def .right .slide_title {
  user-select: none;
}
.slide_def p {
  font-family: yekanbakh;
  font-weight: 720;
  font-size: 16px;
  text-align: right;
}
.slide_prop .slide_def .right .digislide_product {
  user-select: none;
}
.slide_prop .slide_def .right .digislide_product a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  justify-content: center;
  text-decoration: none;
    text-decoration-thickness: auto;
  text-decoration-thickness: auto;
}
.slide_prop .slide_def .right .digislide_product img {
  width: 39px;
  height: 39px;
  padding: 2px;
  border-radius: 10px;
  background: rgba(255,255,255,0.6);
}
.digistory-slide-item img , .digistory-slide-item video {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  height: auto;
  width: 100%;
  display: block;
  max-height: 90vh;
  height: auto;
  width: 100%;
  cursor: pointer;
  aspect-ratio: 9 / 16;
  background: black;
}
.slide_prop .slide_def .right .digislide_product .digiproduct_desc {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.10);
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 10px;
  padding-right: 10px;
  line-height: 37px;
  color: #fff;
  height: 39px;
}
.slide_prop .slide_def .right .digislide_product .digiproduct_desc p {
  font-size: 11.5px;
  font-family: yekanbakh;
  font-weight: 640;
}
.slide_def p {
  font-family: yekanbakh;
  font-weight: 720;
  font-size: 16px;
  text-align: right;
}
.slide_prop .slide_def .left {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  justify-content: end;
}
.slide_prop .slide_def .left .item_ex {
  display: flex;
  flex-direction: column;
  font-family: yekanbakh;
  align-items: center;
}
.item_ex button {
  font-size: 24px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.slide_prop .slide_def .left .item_ex .tedad {
  font-size: 14px;
  color: white;
   font-feature-settings: "ss01";
}
.slide_prop .slide_def .right .digislide_product .digiproduct_desc p {
  font-size: 11.5px;
  font-family: yekanbakh;
  font-weight: 640;
}
.story-slide-nav {
  display: grid;
  grid-area: 1/1;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  z-index: 1;
  height: calc(100% - 90px);
  align-self: end;
}
button:not(:disabled), [type="button"]:not(:disabled), [type="reset"]:not(:disabled), [type="submit"]:not(:disabled) {
  cursor: pointer;
  border: none;
  background: none;
  color: black;
  outline: none;
}
.story-slide-thumbs{
  display: flex;
  grid-column: 1 / 3;
  position: absolute;
  top: 20px;
  right: 20px;
  left: 20px;
  gap: 4%;
}
.progress-container {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
  flex: 1;
}
.progress-bar.active {
  background: white;
  width: 0%;
}
.progress-bar {
  width: 100%;
  height: 2px;
  display: block;
  overflow: hidden;
  border-radius: 4px;
}

.story-slide-author{
  position: absolute;
  display: flex;
  top: 46px;
  gap: 9px;
}
.story-slide-author .author-desc{
  display: flex;
  flex-direction: column;
}
.story-slide-author .author-desc .author-name{
  color: white;
  font-size: 13px;
}
.story-slide-author .author-desc .author-date{
  color: #c0c0c0;
  font-size: 11px;
  margin-top: -1px;
}
.story-slide-pause {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 33.33%;
  width: 33.33%;
  background: transparent;
  border: none;
  z-index: 10;
  cursor: pointer;
}
.story_comment {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  top: 0;
  z-index: 100;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.80) 0%, rgba(0, 0, 0, 0.70) 100%);
  backdrop-filter: blur(12px);
  padding: 17px;
  border-radius: 20px;
  color: white;
  overflow-y: auto;
  flex-direction: column;
  justify-content: flex-end;
  display: flex;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.story_comment.active_comment {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.story-comments-top-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: auto;
  padding-bottom: 4px;
}
.story-comments-top-head span {
  color: #FFF;
  font-size: 16px;
  font-weight: 700;
}
.story-comments-top-head .close-story-comments {
  color: white;
}
.slide_prop .slide_controller {
  display: flex;
  justify-content: space-between;
  color: white;
  align-items: center;
  gap: 1rem;
}
.tape {
  position: relative;
  background: rgba(255, 255, 255, 0.3);
  flex: 1;
  border-radius: 3px;
  cursor: pointer;
  border-radius: 0.3rem;
  height: 6px;
}
.tape-fill {
  position: absolute;
  height: 100%;
  background: #fff;
  width: 0%;
}
.tape-handle {
  position: absolute;
  top: -4px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transform: none; /* remove transform */
  pointer-events: auto; /* حتماً این باید auto باشد */
  cursor: grab;
}

.slide_prop .slide_controller .zaman {
  font-family: yekanbakh;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.4px;
  color: white;
  min-width: 9%;
  direction: ltr;
  font-feature-settings: "ss01";
}
.video-play-pause-btn{
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.like-button.liked svg {
  fill: red;
  stroke: none;
}


/* comments */
.story-comments-list {
  margin-bottom: 10px;
  margin-top: 4px;
  overflow-y: scroll;
  scrollbar-width: thin;
  scrollbar-color: #666 transparent;
}
.story-comments-list .children{
  margin: 12px 0;
}
.comment-content {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}
.comment-avatar img.avatar-40 {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2f3132c2;
  border-radius: 50%;
  max-width: none;
  max-height: none;
}
.comment-text {
  color: #FFF;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 2px;
  text-align: right;
  padding-left: 9px;
  line-height: 20px;
}
.children .comment-text{
  padding-left: 0;
}
.story-comment-top {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 2px;
}
.comment-author {
  color: #FFF;
  font-size: 12px;
  font-weight: 800;
}
.comment-date {
  color: #FFF;
  font-size: 10px;
  font-weight: 500;
  opacity: 0.6;
}
.reply-comment img {
  max-width: 14px !important;
  background: transparent;
}
.story-comment-form {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  align-items: center;
  position: relative;
  transition: background-color 0s;
  background-color: transparent;
}
.story-comment-form textarea {
  width: 80%;
  color: #FFF;
  font-size: 12px;
  font-weight: 500;
  background: transparent;
  resize: none;
  padding: 8px 16px 8px 8px;
  height: 19px;
  border: none;
  user-select: none;
  box-sizing: unset;
  text-align: right;
}
.story-comment-form .submit-comment {
  width: 20%;
  border-radius: 40px;
  background: #09F;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-comment-form .submit-comment svg {
  /*transform: translateY(3px);*/
}
.reply-info {
  background: #eee;
  padding: 5px 10px;
  margin-bottom: 5px;
  border-radius: 8px;
  font-size: 13px;
  display: none;
}
.story_desc {
  font-weight: 400;
  font-size: 11px;
  text-align: center;
  color: #23254f;
  line-height: 1.7;
  margin-top: 13px;
  user-select: none;
  z-index: 1001;
}
.my_tag {
  position: absolute;
  bottom: -8px;
  z-index: 1000;
  border-radius: 6px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(262deg, #E89407 -2.55%, #E60567 48.08%, #D90940 104.01%);
  text-align: center;
  padding: 6px 9px;
  box-shadow: inset 0 0 0 2px #ffffffe3 , rgba(94, 94, 94, 0.35) 0px 5px 15px;
  user-select: none;
}
.my_tag span {
  color: white;
  font-size: 10px;
  font-weight: 600;
}
.square {
  border-radius: 36%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  overflow: visible;
}
.squareimage{
  border-radius: 36% !important;
}
