
.psp-stories{
  display:flex;
  flex-wrap:nowrap;
  gap:14px;
  overflow-x:auto;
  overflow-y:hidden;
  padding:12px 10px;
  -webkit-overflow-scrolling:touch;
  direction:rtl;
  scrollbar-width:thin;
}
.psp-story{
  flex:0 0 auto;
  width:96px;
  border:0;
  background:transparent;
  padding:0;
  text-align:center;
  cursor:pointer;
  color:#222;
}
.psp-story-ring{
  display:block;
  width:76px;
  height:76px;
  margin:0 auto 8px;
  padding:3px;
  border-radius:50%;
  background:linear-gradient(135deg,#ff2d7a,#7b2cff);
}
.psp-story img{
  width:100%;
  height:100%;
  border-radius:50%;
  object-fit:cover;
  display:block;
  border:3px solid #fff;
  box-sizing:border-box;
}
.psp-story-title{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  line-height:1.35;
  min-height:2.7em;
  font-size:12px;
  font-weight:600;
  color:#333;
}
.psp-story:focus{outline:none}

.psp-viewer{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.96);
  z-index:99999;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  color:#fff;
  padding:18px;
}
.psp-progress{
  position:absolute;
  top:10px;
  left:10px;
  right:10px;
  height:4px;
  background:rgba(255,255,255,.25);
  border-radius:999px;
  overflow:hidden;
}
.psp-progress div{
  height:100%;
  width:0;
  background:#fff;
  border-radius:999px;
}
.psp-close{
  position:absolute;
  top:18px;
  left:18px;
  width:42px;
  height:42px;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:28px;
  line-height:42px;
  cursor:pointer;
}
.psp-viewer-top{
  position:absolute;
  top:60px;
  left:18px;
  right:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.psp-title{
  font-size:18px;
  font-weight:700;
  max-width:70%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.psp-view-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  background:#ff2d7a;
  color:#fff;
  text-decoration:none;
  font-size:14px;
  font-weight:700;
  white-space:nowrap;
}
.psp-view-img{
  max-width:min(92vw, 980px);
  max-height:78vh;
  object-fit:contain;
  border-radius:14px;
  box-shadow:0 16px 60px rgba(0,0,0,.45);
}
.psp-empty{
  padding:18px;
  background:#f5f5f5;
  border-radius:12px;
  text-align:center;
}
@media (max-width:768px){
  .psp-story{width:84px}
  .psp-story-ring{width:68px;height:68px}
  .psp-title{font-size:16px;max-width:62%}
  .psp-view-link{padding:8px 12px;font-size:13px}
  .psp-viewer-top{top:58px}
  .psp-view-img{max-height:70vh}
}
