/* ONE HIT MUSIC V401 — remove the oversized blank area under the desktop player.
   Desktop/web only. Mobile, tablet and touch layouts at 980px and below are untouched. */
@media (min-width:981px){
  /* The active player section must size itself from its real content instead of
     inheriting a viewport-sized/grid-stretched block. */
  html body #home.page[data-view="home"] #songs,
  html body #home.page[data-view="songs"] #songs,
  html body #home.page[data-view="playlists"] #playlists{
    box-sizing:border-box!important;
    align-self:start!important;
    block-size:max-content!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin-bottom:10px!important;
    padding-bottom:0!important;
    overflow:visible!important;
  }

  html body #home.page[data-view="home"] > .content > .main,
  html body #home.page[data-view="songs"] > .content > .main,
  html body #home.page[data-view="playlists"] > .content > .main{
    align-content:start!important;
    align-items:start!important;
    grid-auto-rows:max-content!important;
  }

  /* Collapse every desktop player wrapper to the rendered player height. */
  html body #songs .songs-player-shell,
  html body #songs .home-media-player-shell,
  html body #songs .ohm-home-pl-v313,
  html body #songs .ohm-home-pl-layout-v313,
  html body #songs .ohm-playlist-v84-player,
  html body #songs .ohm-playlist-v84-layout,
  html body #playlists .ohm-playlist-v84-player,
  html body #playlists .ohm-playlist-v84-layout{
    block-size:auto!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    align-self:start!important;
  }

  html body #songs .ohm-home-pl-layout-v313,
  html body #songs .ohm-playlist-v84-layout,
  html body #playlists .ohm-playlist-v84-layout{
    align-items:start!important;
    grid-auto-rows:max-content!important;
  }

  html body #songs .ohm-home-pl-stage-v313,
  html body #songs .ohm-home-pl-side-v313,
  html body #songs .ohm-playlist-v84-stage,
  html body #songs .ohm-playlist-v84-side,
  html body #playlists .ohm-playlist-v84-stage,
  html body #playlists .ohm-playlist-v84-side{
    align-self:start!important;
    block-size:auto!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
  }

  /* An empty song grid must not reserve a large invisible block below player. */
  html body #songs #videoGrid:empty,
  html body #songs .video-grid:empty{
    display:none!important;
    block-size:0!important;
    height:0!important;
    min-height:0!important;
    max-height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    overflow:hidden!important;
  }

  html body #songs #videoGrid:not(:empty),
  html body #songs .video-grid:not(:empty){
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin-top:0!important;
  }
}
