/* ONE HIT MUSIC V400 — restore complete desktop home content.
   Desktop/web only. Mobile, tablet and touch layouts at 980px and below are untouched. */
@media (min-width:981px){
  html body #home.page[data-view="home"] > .content{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 330px!important;
    align-items:start!important;
    gap:12px!important;
    width:100%!important;
    max-width:none!important;
    overflow:visible!important;
  }

  html body #home.page[data-view="home"] > .content > .main{
    display:flex!important;
    flex-direction:column!important;
    gap:10px!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
  }

  /* Restore every genuine home section that already exists in the build. */
  html body #home.page[data-view="home"] #statsSection,
  html body #home.page[data-view="home"] #release,
  html body #home.page[data-view="home"] #biharTrending,
  html body #home.page[data-view="home"] #songs,
  html body #home.page[data-view="home"] #reels,
  html body #home.page[data-view="home"] #artists,
  html body #home.page[data-view="home"] #playlists,
  html body #home.page[data-view="home"] > .ohm-mid-content-band{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin-left:0!important;
    margin-right:0!important;
    overflow:visible!important;
  }

  /* V282 previously removed Latest Reels from Home. Restore it on desktop only. */
  html body #home.page[data-view="home"] #reels{
    margin-top:0!important;
    padding:0!important;
    border:1px solid rgba(118,170,219,.27)!important;
    overflow:hidden!important;
  }
  html body #home.page[data-view="home"] #reels > .head{
    display:flex!important;
  }
  html body #home.page[data-view="home"] #reels #reelGrid{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
  }

  /* Keep dedicated Trending page content off Home, as intended. */
  html body #home.page[data-view="home"] #trendingPage{
    display:none!important;
  }

  /* Restore all right-side home bars/cards. */
  html body #home.page[data-view="home"] > .content > aside.side{
    box-sizing:border-box!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    align-content:start!important;
    gap:10px!important;
    width:330px!important;
    min-width:330px!important;
    max-width:330px!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    position:relative!important;
    top:auto!important;
    overflow:visible!important;
    visibility:visible!important;
    opacity:1!important;
  }
  html body #home.page[data-view="home"] > .content > aside.side > .side-card{
    box-sizing:border-box!important;
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:auto!important;
    visibility:visible!important;
    opacity:1!important;
    overflow:hidden!important;
  }
  html body #home.page[data-view="home"] > .content > aside.side .social-grid,
  html body #home.page[data-view="home"] > .content > aside.side .list{
    display:grid!important;
    visibility:visible!important;
    opacity:1!important;
    height:auto!important;
    max-height:none!important;
  }

  /* Compact real content collections so the restored page remains balanced. */
  html body #home.page[data-view="home"] #songs .ohm-song-row{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:8px!important;
  }
  html body #home.page[data-view="home"] #reels .ohm-reel-only-row{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:8px!important;
  }
  html body #home.page[data-view="home"] #playlists .playlist-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:8px!important;
  }
  html body #home.page[data-view="home"] #artists .artist-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:8px!important;
  }

  /* Dedicated artist tools stay on the Artists page; Home shows the compact content area. */
  html body #home.page[data-view="home"] #artists .artist-search-toolbar{
    display:none!important;
  }

  /* Prevent a stale inline style from collapsing a restored section. */
  html body #home.page[data-view="home"] #songs[hidden],
  html body #home.page[data-view="home"] #reels[hidden],
  html body #home.page[data-view="home"] #artists[hidden],
  html body #home.page[data-view="home"] #playlists[hidden]{
    display:block!important;
  }
}
