
/* v1.62: Keep the complete team panel on the left unchanged. Only the AVAILABLE CARDS
   browser is converted to four full, portrait-format cards in a horizontal row. */
@media (min-width:1050px) {
  .nr161-assembly-layout .nr161-available-side .nr129-card-grid {
    display:grid!important;
    grid-template-columns:repeat(4,minmax(218px,1fr))!important;
    grid-template-rows:minmax(0,1fr)!important;
    grid-auto-rows:unset!important;
    grid-auto-flow:column!important;
    align-items:stretch!important;
    align-content:stretch!important;
    gap:9px!important;
    height:100%!important;
    max-height:none!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-width:thin;
    scrollbar-color:#719ec3 #09233e;
    scroll-snap-type:x proximity;
    padding:3px 3px 7px!important;
  }
  .nr161-assembly-layout .nr161-available-side .nr129-card-choice {
    align-self:stretch!important;
    height:100%!important;
    max-height:100%!important;
    min-height:0!important;
    display:flex!important;
    flex-direction:column!important;
    scroll-snap-align:start;
    overflow:hidden!important;
    padding:5px!important;
  }
  .nr161-assembly-layout .nr161-available-side .draft-collectible-card {
    display:flex!important;
    flex-direction:column!important;
    height:100%!important;
    max-height:100%!important;
    min-height:0!important;
    overflow:hidden!important;
    padding:5px!important;
  }
  .nr161-assembly-layout .nr161-available-side .draft-collectible-meta {
    flex:0 0 auto;
    min-height:23px;
    max-height:29px;
    gap:3px;
    font-size:clamp(9px,.75vw,11px);
    white-space:nowrap;
  }
  .nr161-assembly-layout .nr161-available-side .draft-collectible-meta span:nth-child(2) {
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    min-width:0;
  }
  .nr161-assembly-layout .nr161-available-side .draft-collectible-body {
    display:flex!important;
    flex-direction:column!important;
    flex:1 1 auto!important;
    height:auto!important;
    min-height:0!important;
    gap:5px!important;
  }
  .nr161-assembly-layout .nr161-available-side .draft-collectible-art {
    display:block;
    position:relative;
    flex:1 1 auto!important;
    width:100%!important;
    min-height:70px!important;
    height:auto!important;
    overflow:hidden!important;
  }
  .nr161-assembly-layout .nr161-available-side .draft-collectible-art img {
    display:block;
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:center 38%;
  }
  .nr161-assembly-layout .nr161-available-side .draft-collectible-stats {
    display:flex!important;
    flex-direction:column!important;
    flex:0 0 144px!important;
    width:100%!important;
    height:144px!important;
    min-width:0;
    gap:3px!important;
  }
  .nr161-assembly-layout .nr161-available-side .draft-stat {
    padding:3px 6px!important;
    min-height:0!important;
    overflow:hidden;
  }
  .nr161-assembly-layout .nr161-available-side .draft-stat small {
    font-size:clamp(9px,.8vw,12px)!important;
  }
  .nr161-assembly-layout .nr161-available-side .draft-stat strong {
    font-size:clamp(12px,1vw,17px)!important;
    white-space:nowrap!important;
    overflow:visible!important;
    overflow-wrap:normal!important;
  }
  .nr161-assembly-layout .nr161-available-side .draft-collectible-name {
    flex:0 0 auto;
    min-height:26px;
    max-height:32px;
    padding:3px 1px 2px;
    font-size:clamp(14px,1.1vw,18px)!important;
    white-space:nowrap;
  }
  .nr161-assembly-layout .nr161-available-side .draft-bonus-flag {z-index:2;}
}
/* On smaller screens the team panel is still stacked above; card choices swipe
   horizontally instead of making players scroll vertically through the browser. */
@media (max-width:1049px) {
  .nr161-assembly-layout .nr161-available-side .nr129-card-grid {
    display:flex!important;
    flex-flow:row nowrap!important;
    gap:9px!important;
    align-items:stretch!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x mandatory;
    scrollbar-width:thin;
    height:auto!important;
    min-height:0!important;
  }
  .nr161-assembly-layout .nr161-available-side .nr129-card-choice {
    flex:0 0 min(76vw,310px)!important;
    min-height:0!important;
    height:100%!important;
    scroll-snap-align:start;
  }
}
