/* Mobile-only Comic Cut Archive dropdown fix.
   Keep this scoped to the Archive set selector only. The dropdown list was
   being painted in the normal archive flow, so on phones it could be clipped
   or covered by the rows below it. Do not touch My Collection, Favorites,
   For You, filters, sort, or grid behavior. */
@media (max-width:780px){
  #result > .archive-series-row{
    position:relative !important;
    z-index:1800 !important;
    overflow:visible !important;
    isolation:isolate !important;
  }

  #result > .archive-series-row .uniform-dd{
    position:relative !important;
    z-index:1801 !important;
    overflow:visible !important;
  }

  #result > .archive-series-row .uniform-dd.open{
    z-index:2200 !important;
  }

  #result > .archive-series-row .uniform-dd.open .uniform-dd-list{
    display:block !important;
    position:absolute !important;
    top:calc(100% + 6px) !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
    max-height:min(260px, 46dvh) !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
    z-index:9999 !important;
    -webkit-overflow-scrolling:touch !important;
    overscroll-behavior:contain !important;
    touch-action:pan-y !important;
  }

  #result > .archive-series-row .uniform-dd-option{
    white-space:normal !important;
    overflow-wrap:anywhere !important;
  }
}
