@media (max-width:899px){
  .nwm-discover-mobile{
    padding-bottom:calc(190px + env(safe-area-inset-bottom))!important;
    scroll-padding-bottom:calc(150px + env(safe-area-inset-bottom))!important;
  }

  .nwm-discover-redundant-nav,
  .nwm-discover-tune-strip{
    display:none!important;
  }

  /* The Discover hero is the only phone section carrying the page H1.
     Keep Bella and both CTAs, but stop the hero from consuming the full first screen. */
  .nwm-discover-mobile section:has(h1),
  .nwm-discover-mobile article:has(h1){
    min-height:clamp(520px,74svh,585px)!important;
    height:clamp(520px,74svh,585px)!important;
    max-height:585px!important;
    overflow:hidden!important;
  }
  .nwm-discover-mobile section:has(h1) h1,
  .nwm-discover-mobile article:has(h1) h1{
    margin-block:8px 10px!important;
  }
  .nwm-discover-mobile section:has(h1) img,
  .nwm-discover-mobile article:has(h1) img{
    object-fit:cover!important;
    object-position:68% center!important;
  }

  .nwm-discover-trending,
  .nwm-discover-hot,
  .nwm-discover-releases,
  .nwm-discover-vibes,
  .nwm-discover-rising,
  .nwm-discover-radio-card{
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }

  .nwm-discover-trending{
    margin-top:18px!important;
    scroll-margin-bottom:calc(150px + env(safe-area-inset-bottom))!important;
  }
  .nwm-discover-trending [data-nwm-discover-scroll="1"]{
    display:flex!important;
    gap:10px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x mandatory;
    scroll-padding-inline:2px;
    padding-right:18px!important;
    padding-bottom:6px!important;
    overscroll-behavior-inline:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  .nwm-discover-trending [data-nwm-discover-scroll="1"]::-webkit-scrollbar{display:none}
  .nwm-discover-trending [data-nwm-discover-scroll="1"]>*{
    flex:0 0 min(78vw,312px)!important;
    min-width:0!important;
    max-width:min(78vw,312px)!important;
    scroll-snap-align:start;
  }

  .nwm-discover-hot [data-nwm-hot-placeholder="1"]{
    display:none!important;
  }
  .nwm-discover-hot-empty{
    display:grid!important;
    gap:6px!important;
    margin-top:16px!important;
    padding:22px 16px!important;
    border:1px dashed rgba(213,59,180,.28)!important;
    border-radius:16px!important;
    background:linear-gradient(145deg,rgba(33,14,43,.72),rgba(7,11,23,.86))!important;
    text-align:center!important;
  }
  .nwm-discover-hot-empty strong{
    color:#f6f7ff!important;
    font-size:16px!important;
    line-height:1.2!important;
  }
  .nwm-discover-hot-empty span{
    color:#9da9bd!important;
    font-size:12px!important;
    line-height:1.45!important;
  }

  .nwm-discover-rising [data-nwm-rising-grid="1"]{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
    align-items:stretch!important;
  }
  .nwm-discover-rising [data-nwm-rising-item="1"]{
    min-width:0!important;
    width:auto!important;
    padding:12px 10px!important;
    border:1px solid rgba(140,87,190,.16)!important;
    border-radius:14px!important;
    background:rgba(7,10,21,.42)!important;
    text-align:center!important;
    overflow:hidden!important;
  }
  .nwm-discover-rising [data-nwm-rising-item="1"] img{
    width:72px!important;
    height:72px!important;
    max-width:72px!important;
    aspect-ratio:1/1!important;
    margin-inline:auto!important;
    object-fit:cover!important;
    border-radius:50%!important;
  }
  .nwm-discover-rising [data-nwm-rising-item="1"] :is(strong,b,a){
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .nwm-discover-rising [data-nwm-rising-item="1"] p,
  .nwm-discover-rising [data-nwm-rising-item="1"] small,
  .nwm-discover-rising [data-nwm-rising-item="1"] span{
    max-width:100%!important;
    overflow-wrap:anywhere!important;
    line-height:1.35!important;
  }

  .nwm-discover-radio-card{
    margin-bottom:36px!important;
    scroll-margin-bottom:calc(150px + env(safe-area-inset-bottom))!important;
  }
  .nwm-discover-radio-card :is(button,a)[class*="tune" i],
  .nwm-discover-radio-card button{
    scroll-margin-bottom:calc(150px + env(safe-area-inset-bottom))!important;
  }
}

@media (max-width:380px){
  .nwm-discover-mobile section:has(h1),
  .nwm-discover-mobile article:has(h1){
    min-height:500px!important;
    height:68svh!important;
    max-height:550px!important;
  }
}

@media (max-width:340px){
  .nwm-discover-rising [data-nwm-rising-grid="1"]{
    grid-template-columns:1fr!important;
  }
}
