/* Section */
.wsp-shorts-section{
  max-width:600px;
  margin:20px auto;
  font-family:system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.wsp-shorts-header{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:20px;
  font-weight:700;
  margin-bottom:10px;
}

/* Row of cards */
.wsp-shorts-row{
  display:flex;
  gap:12px;
  overflow-x:auto;
  padding:4px;
}

.wsp-short-card{
  min-width:150px;
  border-radius:16px;
  overflow:hidden;
  flex:0 0 auto;
  position:relative;
}

.wsp-thumb-wrap{
  position:relative;
  background:#000;
}

.wsp-thumb-wrap img{
  width:100%;
  height:230px;
  object-fit:cover;
}

.wsp-thumb-placeholder{
  width:100%;
  height:230px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#222;
  color:#fff;
}

/* Views tag */
.wsp-views{
  position:absolute;
  left:8px;
  bottom:8px;
  padding:4px 8px;
  background:rgba(0,0,0,0.65);
  border-radius:999px;
  color:#fff;
  font-size:11px;
  display:flex;
  align-items:center;
  gap:4px;
}

/* Fullscreen player */
.wsp-player{
  position:fixed;
  inset:0;
  width:100%;
  height:100vh;
  background:#000;
  z-index:9999;
  overflow:hidden;
}

.wsp-player video{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* tap zones */
.tap-zones{
  position:absolute;
  inset:0;
  display:flex;
  z-index:3;
}
.tap-zones > div{
  flex:1;
}

/* right buttons */
.player-ui{
  position:absolute;
  inset:0;
  z-index:4;
  pointer-events:none;
}

.right-actions{
  position:absolute;
  right:12px;
  bottom:80px;
  display:flex;
  flex-direction:column;
  gap:14px;
  pointer-events:auto;
}

.icon-btn{
  background:rgba(0,0,0,0.55);
  border:none;
  border-radius:999px;
  padding:10px 9px;
  color:#fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  font-size:12px;
}
.icon-btn i{
  font-size:20px;
  margin-bottom:2px;
}

/* toast */
.toast-msg{
  position:absolute;
  left:50%;
  top:40%;
  transform:translate(-50%,-50%);
  background:rgba(0,0,0,0.7);
  color:#fff;
  padding:6px 12px;
  border-radius:999px;
  font-size:14px;
  opacity:0;
  pointer-events:none;
  transition:opacity .2s, transform .2s;
}
.toast-msg.show{
  opacity:1;
  transform:translate(-50%,-60%);
}

/* progress */
.progress-wrap{
  position:absolute;
  left:0;
  right:0;
  bottom:14px;
  padding:0 14px;
}
.progress-bar{
  width:100%;
  height:3px;
  background:rgba(255,255,255,0.3);
  border-radius:999px;
  overflow:hidden;
}
.progress-fill{
  width:0%;
  height:100%;
  background:#fff;
}

/* comments sheet container (shortcode content inside) */
.comments-sheet{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  height:60vh;
  background:#111;
  color:#fff;
  border-radius:16px 16px 0 0;
  transform:translateY(100%);
  transition:transform .25s ease;
  z-index:10000;
}
.comments-sheet.open{
  transform:translateY(0);
}
.comments-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 14px;
  border-bottom:1px solid #333;
}
.close-comments{
  background:transparent;
  border:none;
  color:#fff;
  font-size:20px;
}
.comments-body{
  padding:10px 14px 20px;
  max-height:calc(60vh - 44px);
  overflow-y:auto;
}