/* VW_WATCH_PM_VISIBLE_VIDEO_EDGE_ANCHOR_V3_15R5R3P3
   PM surface begins at the actual visible media edge, not the outer .stage edge.
*/
@media (max-width:720px){
  body.vw-android-room-shell.vw-pm-visible-video-anchored.vw-private-thread-open .private-messages-surface,
  body.vw-android-room-shell.vw-pm-visible-video-anchored.vw-private-messages-list .private-messages-surface{
    box-sizing:border-box!important;
    position:fixed!important;
    left:0!important;
    right:0!important;
    top:var(--vw-pm-visible-video-bottom)!important;
    width:100vw!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
    padding-top:0!important;
    border-top:0!important;
    border-radius:0!important;
    transform:none!important;
  }

  body.vw-android-room-shell.vw-pm-visible-video-anchored.vw-private-thread-open:not(.vw-android-keyboard-open):not(.vw-android-ime-session) .private-messages-surface{
    bottom:calc(74px + env(safe-area-inset-bottom,0px))!important;
  }

  body.vw-android-room-shell.vw-pm-visible-video-anchored.vw-private-thread-open.vw-android-keyboard-open .private-messages-surface,
  body.vw-android-room-shell.vw-pm-visible-video-anchored.vw-private-thread-open.vw-android-ime-session .private-messages-surface{
    bottom:calc(
      var(--vw-android-live-composer-bottom,var(--vw-android-floating-composer-bottom,5px))
      + var(--vw-android-floating-composer-height,44px)
      + 6px
    )!important;
  }

  body.vw-android-room-shell.vw-pm-visible-video-anchored.vw-private-messages-list .private-messages-surface{
    bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;
  }

  body.vw-android-room-shell.vw-pm-visible-video-anchored .private-thread-head,
  body.vw-android-room-shell.vw-pm-visible-video-anchored .private-surface-head{
    position:relative!important;
    top:auto!important;
    bottom:auto!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
    margin-top:0!important;
    flex:0 0 auto!important;
  }

  body.vw-android-room-shell.vw-pm-visible-video-anchored .private-thread-messages{
    min-height:0!important;
  }
}
