/* NABWORK v82 — mobile parity for the six approved v81 Discover More artworks.
   Only paint/typography/listing presentation changes on phones <= 600px.
   IMPORTANT: Keep v65's card 45.5vw/202px width and 236px height,
   existing 101px cover, responsive carousel scrolling/snap, category buttons,
   authentic live offers/prices and all unrelated functionality untouched.
   Reuse THE SAME self-hosted WebP sprite; no re-encoding or upscale.
*/
@media (max-width:600px) {
  #homeView:not(.nw-v26-catalog-mode) .nw-v30-popular-grid > .nw-v60-direction {
    border-color:#e5eaf2!important;
    background:#fff!important;
    box-shadow:0 6px 17px rgba(17,34,57,.095)!important;
    /* Intentionally no width, height, min/max height, flex-basis or gap. */
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction > .nw-v60-cover {
    position:relative!important;
    isolation:isolate!important;
    display:block!important;
    box-sizing:border-box!important;
    background-image:none!important;
    background-color:#0b493e!important;
    border:0!important;
    overflow:hidden!important;
    /* Keep the original 101px phone cover height and padding. */
  }
  /* A slim premium plate leaves the rest of the existing cover for photography. */
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction > .nw-v60-cover::after {
    content:""!important;
    position:absolute!important;
    display:block!important;
    inset:0 0 auto 0!important;
    z-index:1!important;
    height:39px!important;
    max-height:39px!important;
    border:0!important;
    background:linear-gradient(130deg,#166053,#0a433c)!important;
    pointer-events:none!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-photo-web::after {
    background:linear-gradient(130deg,#166053,#0a433c)!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-photo-design::after {
    background:linear-gradient(130deg,#79475a,#603548)!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-photo-video::after {
    background:linear-gradient(130deg,#2f5382,#173658)!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-photo-social::after {
    background:linear-gradient(130deg,#15574f,#06413b)!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-photo-writing::after {
    background:linear-gradient(130deg,#917949,#736034)!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-photo-business::after {
    background:linear-gradient(130deg,#233f65,#142d4e)!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-photo-other::after {
    background:linear-gradient(130deg,#59466c,#3c3155)!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-cover .nw-v60-cover-label {
    position:absolute!important;
    z-index:2!important;
    display:block!important;
    top:5px!important;
    left:9px!important;
    right:7px!important;
    max-width:calc(100% - 16px)!important;
    margin:0!important;
    padding:0!important;
    color:#fff!important;
    font-family:'Noto Sans Georgian',sans-serif!important;
    font-size:clamp(10.3px,2.8vw,11.7px)!important;
    line-height:1.27!important;
    font-weight:790!important;
    letter-spacing:-.014em!important;
    text-wrap:balance!important;
    text-shadow:0 1px 2px rgba(0,0,0,.12)!important;
    overflow-wrap:normal!important;
  }
  /* Desktop-approved artwork: each 240x130 native tile, displayed at or below
     original resolution. '300% auto' avoids stretching/distorting the imagery.
     A tight viewport crops vertically, never resamples the source asset. */
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-cover .nw-v60-cover-shade {
    box-sizing:border-box!important;
    position:absolute!important;
    inset:39px 0 0 0!important;
    z-index:0!important;
    display:block!important;
    width:100%!important;
    background-image:url('/visuals/nabwork-approved-discover-sprite-v81.webp')!important;
    background-repeat:no-repeat!important;
    background-size:300% auto!important;
    background-position:0% 22%!important;
    background-color:#183a4c!important;
    filter:none!important;
    opacity:1!important;
    transform:none!important;
    border:0!important;
    pointer-events:none!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-photo-web .nw-v60-cover-shade {background-position:0% 22%!important}
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-photo-design .nw-v60-cover-shade {background-position:50% 22%!important}
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-photo-video .nw-v60-cover-shade {background-position:100% 22%!important}
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-photo-social .nw-v60-cover-shade {background-position:0% 84%!important}
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-photo-writing .nw-v60-cover-shade {background-position:50% 84%!important}
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-photo-business .nw-v60-cover-shade {background-position:100% 84%!important}
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-photo-other .nw-v60-cover-shade {
    background-image:none!important;
    background:linear-gradient(145deg,#59466c,#233c63)!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-cover .nw-v60-cover-arrow {
    display:none!important;
  }
  /* Compact genuine seller listings as on desktop. No data/links altered. */
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction > .nw-v60-direction-body {
    display:flex!important;
    flex-direction:column!important;
    gap:0!important;
    background:linear-gradient(#fff,#fbfcff)!important;
    overflow:hidden!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-group-head,
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-more-count {
    display:none!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-gig-list {
    display:flex!important;
    flex-direction:column!important;
    justify-content:space-around!important;
    gap:1px!important;
    min-height:0!important;
    min-width:0!important;
    overflow:hidden!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-gig-list > .nw-v60-offer:nth-of-type(n+3) {
    display:none!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-offer {
    min-width:0!important;
    border-radius:7px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-offer-link {
    gap:5px!important;
    padding:2px 0!important;
    min-height:42px!important;
    border:0!important;
    background:transparent!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-offer-avatar {
    flex:0 0 24px!important;
    width:24px!important;
    height:24px!important;
    font-size:10px!important;
    background:#e8f0ff!important;
    color:#1568c3!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-offer-copy {
    min-width:0!important;
    gap:2px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-offer-title {
    font-size:9.6px!important;
    line-height:1.23!important;
    color:#233048!important;
    font-weight:760!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-offer-name {
    font-size:9px!important;
    line-height:1.22!important;
    color:#617187!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-offer-price {
    max-width:66px!important;
    font-size:9.6px!important;
    font-weight:850!important;
    color:#0866db!important;
    white-space:nowrap!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-gig-placeholder {
    color:#60718b!important;
    font-size:10px!important;
  }
}
