/* Phase42xt: professional fullscreen player, long-press comment delete, group members quick-view */

.sv-cDeleteBtn{display:none!important}
.sv-p42CommentMenu{
  position:absolute; right:14px; bottom:10px; z-index:40;
  background:rgba(15,15,18,.96); border:1px solid rgba(255,255,255,.12);
  border-radius:16px; padding:6px; box-shadow:0 18px 40px rgba(0,0,0,.35)
}
.sv-cRow{position:relative}
.sv-p42CommentDelete{
  border:0; background:transparent; color:#fff; font-weight:800; cursor:pointer;
  padding:10px 14px; border-radius:12px
}
.sv-p42CommentDelete:hover{background:rgba(255,255,255,.08)}

.sv-p42Overlay{background:#000!important}
.sv-p42Overlay .sv-p28fsStage,
.sv-p42Overlay .sv-p28fsStage.is-portrait,
.sv-p42Overlay .sv-p28fsStage.is-landscape{
  width:100vw!important; height:100svh!important; max-width:none!important; max-height:none!important;
  position:relative; display:flex; align-items:center; justify-content:center;
}
.sv-p42Overlay .sv-p42Video,
.sv-p42Overlay iframe,
.sv-p42Overlay .sv-p28fsLockedPoster{
  width:100vw!important; height:100svh!important; object-fit:contain!important; background:#000!important;
  border:0!important; border-radius:0!important; box-shadow:none!important;
}
.sv-p42Overlay .sv-p28FsLockCtx,
.sv-p42Overlay .sv-p28FsLockedFrame,
.sv-p42Overlay .sv-p28fsLockedInner{width:100vw!important;height:100svh!important;border-radius:0!important;background:#000!important}
.sv-p42Overlay .sv-p28fsClose,
.sv-p42Overlay .sv-p42Close{
  position:fixed!important; top:max(16px, env(safe-area-inset-top))!important; right:max(16px, env(safe-area-inset-right))!important;
  z-index:2147483646!important; width:46px!important; height:46px!important; border-radius:999px!important;
  border:1px solid rgba(255,255,255,.14)!important; background:rgba(16,16,20,.68)!important; color:#fff!important;
  backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); box-shadow:0 18px 40px rgba(0,0,0,.28)!important;
}
.sv-p42TopBar,
.sv-p42BottomBar{
  position:fixed; left:max(16px, env(safe-area-inset-left)); right:max(16px, env(safe-area-inset-right));
  z-index:2147483645; display:flex; align-items:center; gap:12px; pointer-events:none;
}
.sv-p42TopBar{top:max(18px, env(safe-area-inset-top)); justify-content:space-between}
.sv-p42BottomBar{bottom:max(18px, env(safe-area-inset-bottom)); justify-content:flex-start; flex-wrap:wrap}
.sv-p42TitlePill,
.sv-p42StatePill,
.sv-p42MetaBadge{
  display:inline-flex; align-items:center; gap:10px; min-height:48px; padding:0 18px;
  border-radius:999px; background:rgba(48,18,86,.76); border:1px solid rgba(255,255,255,.12);
  box-shadow:0 22px 50px rgba(0,0,0,.32); color:#fff; backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
}
.sv-p42StatePill.is-locked{background:rgba(24,24,28,.78)}
.sv-p42StatePill.is-unlocked{background:rgba(24,50,36,.78)}
.sv-p42TitleText{font-weight:900; font-size:clamp(14px, 2vw, 18px); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:min(58vw, 720px)}
.sv-p42TitleIcon,.sv-p42StateIcon{display:inline-flex; width:18px; height:18px}
.sv-p42TitleIcon .sv-ico,.sv-p42StateIcon .sv-ico,.sv-p42Ctl .sv-ico{width:18px; height:18px; display:block; fill:currentColor}
.sv-p42Ctl{
  pointer-events:auto; width:54px; height:54px; border-radius:999px; border:1px solid rgba(255,255,255,.12);
  background:rgba(48,18,86,.78); color:#fff; display:inline-flex; align-items:center; justify-content:center; cursor:pointer;
  box-shadow:0 20px 44px rgba(0,0,0,.3); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px)
}
.sv-p42TimelineWrap{
  pointer-events:auto; flex:1 1 420px; min-width:min(68vw, 420px); display:flex; align-items:center; gap:12px;
  padding:0 16px; min-height:54px; border-radius:999px; background:rgba(16,16,20,.68); border:1px solid rgba(255,255,255,.12);
  box-shadow:0 20px 44px rgba(0,0,0,.3); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px)
}
.sv-p42Seek{flex:1; accent-color:#8a5bff; min-width:140px}
.sv-p42Time{font-weight:800; font-size:14px; color:#fff; min-width:42px}
.sv-p42MetaBadge{pointer-events:none; background:rgba(16,16,20,.7); font-weight:900}
.sv-p42BottomBar.is-frame{justify-content:flex-end}

.sv-ghActions .sv-p42MembersBtn{min-height:38px}
.sv-p42MembersBtn{font-weight:850}

@media (max-width: 720px){
  .sv-p42TopBar,.sv-p42BottomBar{left:max(10px, env(safe-area-inset-left));right:max(10px, env(safe-area-inset-right))}
  .sv-p42TitlePill,.sv-p42StatePill,.sv-p42MetaBadge{min-height:42px;padding:0 14px}
  .sv-p42Ctl{width:48px;height:48px}
  .sv-p42TimelineWrap{min-height:48px;min-width:unset;flex:1 1 100%}
  .sv-p42TitleText{max-width:54vw}
}


/* Phase49xt: cleaner fullscreen UI + group about suggestions */
.sv-p42Overlay .sv-p28FsBtn,
.sv-p42Overlay .sv-openCreatorPlans,
.sv-p42Overlay .sv-unlockPost,
.sv-p42Overlay .sv-buyPost{display:none!important}
.sv-p49FsReady .sv-p42TopBar{display:none!important}
.sv-p49FsReady .sv-p42BottomBar{
  transition:opacity .18s ease, transform .18s ease;
  opacity:1;
}
.sv-p49FsReady.is-ui-hidden .sv-p42BottomBar,
.sv-p49FsReady.is-ui-hidden .sv-p42Close,
.sv-p49FsReady.is-ui-hidden .sv-p28fsClose{
  opacity:0!important;
  transform:translateY(8px);
  pointer-events:none!important;
}
.sv-p49FsReady .sv-p42Ctl{
  width:46px;height:46px;
  background:rgba(12,12,16,.82)!important;
  border-color:rgba(255,255,255,.16)!important;
  box-shadow:0 18px 40px rgba(0,0,0,.34)!important;
}
.sv-p49FsReady .sv-p42TimelineWrap{
  min-height:46px;
  background:rgba(12,12,16,.82)!important;
}
.sv-p49FsReady .sv-p42Close,
.sv-p49FsReady .sv-p28fsClose{
  background:rgba(12,12,16,.72)!important;
  border-color:rgba(255,255,255,.14)!important;
}
.sv-p49FsCenterUnlock{
  position:fixed;
  left:50%; top:50%;
  transform:translate(-50%,-50%);
  z-index:2147483647;
  min-width:120px;
  height:42px;
  border:0;
  border-radius:999px;
  padding:0 18px;
  font-weight:900;
  color:#fff;
  background:rgba(12,12,16,.84);
  box-shadow:0 18px 40px rgba(0,0,0,.34);
}
.sv-p49GroupSuggest{margin-top:12px}
.sv-p49GroupSuggestTitle{font-weight:950;margin-bottom:10px}
.sv-p49GroupSuggestRow{display:flex;gap:10px;overflow:auto;padding-bottom:4px}
.sv-p49GroupChip{
  min-width:220px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:16px;
  text-decoration:none;
  color:inherit;
  background:color-mix(in srgb, var(--sv-card) 92%, transparent);
  border:1px solid color-mix(in srgb, var(--sv-border) 78%, transparent);
}
.sv-p49GroupChipAva{width:42px;height:42px;border-radius:14px;overflow:hidden;flex:0 0 42px;background:rgba(127,127,127,.12)}
.sv-p49GroupChipAva img{width:100%;height:100%;object-fit:cover;display:block}
.sv-p49GroupChipTxt{display:flex;flex-direction:column;min-width:0}
.sv-p49GroupChipName{font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sv-p49GroupChipMeta{font-size:12px;color:var(--sv-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}



/* Phase51xt: fullscreen polish + profile group shelf */
.sv-p51FsReady .sv-p42BottomBar,
.sv-p51FsReady .sv-p42Close,
.sv-p51FsReady .sv-p28fsClose{
  transition:opacity .2s ease, transform .2s ease;
}
.sv-p51FsReady.is-ui-hidden .sv-p42BottomBar,
.sv-p51FsReady.is-ui-hidden .sv-p42Close,
.sv-p51FsReady.is-ui-hidden .sv-p28fsClose{
  opacity:0!important;
  transform:translateY(10px);
  pointer-events:none!important;
}
.sv-p51FsReady .sv-p42Mute{display:none!important}
.sv-p51FsReady .sv-p42Stage,
.sv-p51FsReady .sv-p28fsStage{
  width:100vw!important;
  height:100svh!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
}
.sv-p51FsReady .sv-p42Stage.sv-p51VideoPortrait .sv-p42Video,
.sv-p51FsReady .sv-p42Stage.sv-p51VideoPortrait .sv-p28fsVideo,
.sv-p51FsReady .sv-p28fsStage.sv-p51VideoPortrait .sv-p42Video,
.sv-p51FsReady .sv-p28fsStage.sv-p51VideoPortrait .sv-p28fsVideo{
  width:auto!important;
  max-width:100vw!important;
  height:100svh!important;
  max-height:100svh!important;
  object-fit:contain!important;
}
.sv-p51FsReady .sv-p42Stage.sv-p51VideoLandscape .sv-p42Video,
.sv-p51FsReady .sv-p42Stage.sv-p51VideoLandscape .sv-p28fsVideo,
.sv-p51FsReady .sv-p28fsStage.sv-p51VideoLandscape .sv-p42Video,
.sv-p51FsReady .sv-p28fsStage.sv-p51VideoLandscape .sv-p28fsVideo{
  width:100vw!important;
  max-width:100vw!important;
  height:auto!important;
  max-height:100svh!important;
  object-fit:contain!important;
}
.sv-p51FsReady .sv-p42Stage.sv-p51VideoSquare .sv-p42Video,
.sv-p51FsReady .sv-p42Stage.sv-p51VideoSquare .sv-p28fsVideo,
.sv-p51FsReady .sv-p28fsStage.sv-p51VideoSquare .sv-p42Video,
.sv-p51FsReady .sv-p28fsStage.sv-p51VideoSquare .sv-p28fsVideo{
  width:100vw!important;
  max-width:100vw!important;
  height:100svh!important;
  max-height:100svh!important;
  object-fit:contain!important;
}
.sv-p51FsReady .sv-p42Ctl{
  width:42px!important;
  height:42px!important;
  background:rgba(14,14,18,.82)!important;
  border:1px solid rgba(255,255,255,.16)!important;
  box-shadow:0 10px 30px rgba(0,0,0,.35)!important;
}
.sv-p51FsReady .sv-p42TimelineWrap{
  min-height:42px!important;
  padding:0 12px!important;
  gap:10px!important;
  background:rgba(14,14,18,.82)!important;
  border:1px solid rgba(255,255,255,.14)!important;
  box-shadow:0 10px 30px rgba(0,0,0,.35)!important;
}
.sv-p51FsReady .sv-p42Seek{
  accent-color:#9f6bff;
}
.sv-p51FsReady .sv-p42Time{
  font-size:13px!important;
}
.sv-p51FsReady .sv-p42Close,
.sv-p51FsReady .sv-p28fsClose{
  width:42px!important;
  height:42px!important;
  top:max(14px, env(safe-area-inset-top))!important;
  right:max(14px, env(safe-area-inset-right))!important;
  background:rgba(14,14,18,.72)!important;
}
.sv-profileBio .sv-p49GroupSuggest,
#sv-social-row .sv-p49GroupSuggest,
.sv-stats .sv-p49GroupSuggest{
  margin-top:14px;
}
@media (max-width:720px){
  .sv-p51FsReady .sv-p42BottomBar{
    left:max(10px, env(safe-area-inset-left))!important;
    right:max(10px, env(safe-area-inset-right))!important;
    bottom:max(14px, env(safe-area-inset-bottom))!important;
    gap:8px!important;
  }
  .sv-p51FsReady .sv-p42TimelineWrap{
    min-width:0!important;
    flex:1 1 100%!important;
  }
  .sv-p51FsReady .sv-p49FsCenterUnlock{
    min-width:108px!important;
    height:38px!important;
    font-size:13px!important;
  }
}


/* Phase52xt: final fullscreen and shelf spacing fixes */
.sv-p49GroupSuggest{margin:12px 12px 0!important}
.sv-p49GroupSuggestRow{padding:0 2px 4px!important}
.sv-p51FsReady .sv-p42BottomBar{justify-content:flex-start!important;align-items:center!important}
.sv-p51FsReady .sv-p42BottomBar .sv-p42Ctl{flex:0 0 auto!important}
.sv-p51FsReady .sv-p42Stage,.sv-p51FsReady .sv-p28fsStage{padding:0!important;margin:0!important}
.sv-p51FsReady .sv-p42Video,.sv-p51FsReady .sv-p28fsVideo{display:block!important;margin:auto!important;background:#000!important}
.sv-p51FsReady .sv-p42Stage.sv-p51VideoPortrait .sv-p42Video,
.sv-p51FsReady .sv-p42Stage.sv-p51VideoPortrait .sv-p28fsVideo,
.sv-p51FsReady .sv-p28fsStage.sv-p51VideoPortrait .sv-p42Video,
.sv-p51FsReady .sv-p28fsStage.sv-p51VideoPortrait .sv-p28fsVideo{width:100%!important;height:100svh!important;max-width:100%!important;max-height:100svh!important;object-fit:contain!important}
.sv-p51FsReady .sv-p42Stage.sv-p51VideoLandscape .sv-p42Video,
.sv-p51FsReady .sv-p42Stage.sv-p51VideoLandscape .sv-p28fsVideo,
.sv-p51FsReady .sv-p28fsStage.sv-p51VideoLandscape .sv-p42Video,
.sv-p51FsReady .sv-p28fsStage.sv-p51VideoLandscape .sv-p28fsVideo{width:100vw!important;height:100svh!important;max-width:100vw!important;max-height:100svh!important;object-fit:contain!important}
.sv-p51FsReady .sv-p42TimelineWrap{margin-left:2px!important}
