/* NABWORK v83: mobile high-fidelity artwork parity; phones only.
 * Source: same six designs approved for desktop, recropped from the original
 * full-resolution artwork and encoded once for mobile (1440x576 WebP).
 * IMPORTANT: the card's 236px outer height and 45.5vw/202px width are not
 * modified; horizontal scrolling and actual gig data remain unchanged.
 */
@media (max-width: 600px) {
  /* More of the artwork, inside the SAME 236px card footprint. */
  #homeView:not(.nw-v26-catalog-mode) .nw-v30-popular-grid > .nw-v60-direction > .nw-v60-cover {
    box-sizing: border-box!important;
    display: block!important;
    flex: 0 0 122px!important;
    height: 122px!important;
    min-height: 122px!important;
    max-height: 122px!important;
    overflow: hidden!important;
    padding: 0!important;
    background-image: none!important;
    isolation: isolate!important;
  }
  /* Branded color plates: the same colors as approved desktop cards. */
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction > .nw-v60-cover::after {
    top: 0!important;
    height: 38px!important;
    min-height: 38px!important;
    max-height: 38px!important;
    z-index: 1!important;
    backdrop-filter: none!important;
    -webkit-backdrop-filter: none!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-cover .nw-v60-cover-label {
    top: 5px!important;
    left: 9px!important;
    right: 7px!important;
    font-size: clamp(10px,2.85vw,11.7px)!important;
    line-height: 1.25!important;
    font-weight: 790!important;
    text-wrap: balance!important;
    -webkit-font-smoothing: antialiased;
  }
  /* Same six objects; high-quality source. Each tile stays undistorted.
   * 3 columns x 2 rows; each source tile has aspect 480:288.
   * On phones the 84px viewport reveals nearly the complete photo rather
   * than an over-zoomed 62px strip. Background offsets select exact cells.
   */
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction > .nw-v60-cover > .nw-v60-cover-shade {
    position: absolute!important;
    inset: 38px 0 0!important;
    width: 100%!important;
    height: auto!important;
    background-image: url('/visuals/nabwork-approved-discover-mobile-hq-v83.webp')!important;
    background-repeat: no-repeat!important;
    background-size: 300% auto!important;
    background-color: #17344a!important;
    filter: none!important;
    opacity: 1!important;
    transform: none!important;
    image-rendering: auto!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-photo-web .nw-v60-cover-shade {background-position:0% 9%!important}
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-photo-design .nw-v60-cover-shade {background-position:50% 9%!important}
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-photo-video .nw-v60-cover-shade {background-position:100% 9%!important}
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-photo-social .nw-v60-cover-shade {background-position:0% 91%!important}
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-photo-writing .nw-v60-cover-shade {background-position:50% 91%!important}
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-photo-business .nw-v60-cover-shade {background-position:100% 91%!important}
  /* Seventh category has no matching generated art; keep previous treatment. */
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction > .nw-v60-photo-other > .nw-v60-cover-shade {
    background-image: none!important;
    background: linear-gradient(145deg,#59466c,#233c63)!important;
  }
  /* The photograph gets more of the existing card; compact the TWO genuine
   * offer rows inside the remaining area, without hiding their click targets. */
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction > .nw-v60-direction-body {
    box-sizing: border-box!important;
    flex: 1 1 auto!important;
    min-height: 0!important;
    padding: 5px 8px 7px!important;
    overflow: hidden!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-gig-list {
    min-height: 0!important;
    justify-content: space-around!important;
    gap: 1px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-offer-link {
    box-sizing: border-box!important;
    min-height: 39px!important;
    height: 39px!important;
    padding: 1px 0!important;
    gap: 5px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-offer-avatar {
    flex: 0 0 23px!important;
    width: 23px!important;
    height: 23px!important;
  }
}