/* KVANTYRA FEED MOBILE V135 START */

/*
  Phone feed now mirrors the accepted tablet composition:
  - media uses the entire card;
  - actions and author stay as overlays;
  - the complete source image is fitted with contain;
  - no rail/footer space is cut out of the photo;
  - scrolling is handled by native CSS scroll snap only.
*/

#feed.kv-feed-v131-screen.active .kv-feed-v106-list{
  scroll-behavior:auto!important;
  scroll-snap-type:y mandatory!important;
  touch-action:pan-y!important;
  overscroll-behavior-y:contain!important;
}

#feed.kv-feed-v131-screen.active .kv-feed-v106-card{
  overflow-anchor:none!important;
}

@media(max-width:600px){
  #feed.kv-feed-v131-screen.active .kv-feed-v106-card{
    --kv-feed-v134-rail:0px!important;
    --kv-feed-v134-footer:0px!important;
    background:#02030a!important;
  }

  #feed.kv-feed-v131-screen.active .kv-feed-v106-media{
    inset:0!important;
    display:grid!important;
    place-items:center!important;
    min-width:0!important;
    min-height:0!important;
    overflow:hidden!important;
    background:transparent!important;
  }

  #feed.kv-feed-v131-screen.active .kv-feed-v106-media img,
  #feed.kv-feed-v131-screen.active .kv-feed-v106-media video{
    position:relative!important;
    inset:auto!important;
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:100%!important;
    object-fit:contain!important;
    object-position:center center!important;
    background:transparent!important;
  }

  #feed.kv-feed-v131-screen.active .kv-feed-v106-model{
    top:10px!important;
    left:10px!important;
    max-width:calc(100% - 78px)!important;
  }

  #feed.kv-feed-v131-screen.active .kv-feed-v106-actions{
    right:8px!important;
    top:auto!important;
    bottom:86px!important;
    width:50px!important;
    gap:7px!important;
    transform:none!important;
  }

  #feed.kv-feed-v131-screen.active .kv-feed-v106-action{
    width:48px!important;
    min-width:48px!important;
    min-height:48px!important;
    padding:6px 3px!important;
    border-radius:16px!important;
  }

  #feed.kv-feed-v131-screen.active .kv-feed-v106-repeat{
    width:48px!important;
    min-width:48px!important;
    min-height:62px!important;
    padding:6px 2px!important;
    overflow:hidden!important;
  }

  #feed.kv-feed-v131-screen.active .kv-feed-v106-repeat b{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    white-space:normal!important;
    text-align:center!important;
    overflow-wrap:anywhere!important;
    font-size:7.4px!important;
    line-height:1.02!important;
    letter-spacing:-.035em!important;
  }

  #feed.kv-feed-v131-screen.active .kv-feed-v106-author{
    left:12px!important;
    right:68px!important;
    bottom:12px!important;
    min-height:52px!important;
    gap:9px!important;
  }

  #feed.kv-feed-v131-screen.active .kv-feed-v106-avatar{
    width:44px!important;
    height:44px!important;
    flex-basis:44px!important;
    border-radius:15px!important;
  }

  #feed.kv-feed-v131-screen.active .kv-feed-v106-author-name{
    font-size:15px!important;
  }

  #feed.kv-feed-v131-screen.active .kv-feed-v106-caption{
    -webkit-line-clamp:1!important;
    margin-top:3px!important;
    font-size:11px!important;
  }

  /* No opacity animation while the finger is moving between cards. */
  #feed.kv-feed-v131-screen.active .kv-feed-v106-model,
  #feed.kv-feed-v131-screen.active .kv-feed-v106-actions,
  #feed.kv-feed-v131-screen.active .kv-feed-v106-author{
    transition:none!important;
  }
}

@media(max-width:370px){
  #feed.kv-feed-v131-screen.active .kv-feed-v106-actions{
    right:6px!important;
    width:47px!important;
  }

  #feed.kv-feed-v131-screen.active .kv-feed-v106-action,
  #feed.kv-feed-v131-screen.active .kv-feed-v106-repeat{
    width:45px!important;
    min-width:45px!important;
  }

  #feed.kv-feed-v131-screen.active .kv-feed-v106-repeat b{
    font-size:7px!important;
  }

  #feed.kv-feed-v131-screen.active .kv-feed-v106-author{
    right:62px!important;
  }
}

/* KVANTYRA FEED MOBILE V135 END */
