/* Collect It All v40.19 — Collection hover/action hotfix. */

/* Only the current single cover-hover preview is allowed. The obsolete v36 magnifier is disabled in JS too. */
#v36Magnifier,
.v36-magnifier{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}

/* Collection table must fit the available desktop width without clipping the Actions / Comps button. */
#collection .v41-tablewrap{
  width:100%!important;
  max-width:100%!important;
  overflow-x:hidden!important;
}
#collection .v41-collection-table,
#collection .v414-collection-table{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  table-layout:fixed!important;
}
#collection .v414-collection-table col.select{width:36px!important}
#collection .v414-collection-table col.cover{width:104px!important}
#collection .v414-collection-table col.book{width:24%!important}
#collection .v414-collection-table col.grade{width:7%!important}
#collection .v414-collection-table col.purchase{width:7%!important}
#collection .v414-collection-table col.suggest{width:10%!important}
#collection .v414-collection-table col.market{width:11%!important}
#collection .v414-collection-table col.pl{width:7%!important}
#collection .v414-collection-table col.actions{width:232px!important}

#collection .v414-collection-table th,
#collection .v414-collection-table td{
  padding-left:7px!important;
  padding-right:7px!important;
}
#collection .v414-collection-table td.titlecell{
  padding-right:12px!important;
}
#collection .v414-collection-table td.titlecell strong{
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
#collection .v414-collection-table .v412-actions{
  display:grid!important;
  grid-template-columns:repeat(4,max-content)!important;
  justify-content:start!important;
  align-items:center!important;
  gap:5px!important;
  width:100%!important;
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:visible!important;
}
#collection .v414-collection-table .v412-actions .btn{
  min-height:31px!important;
  height:31px!important;
  padding:6px 7px!important;
  font-size:10px!important;
  line-height:1!important;
}
#collection .v414-collection-table .v412-actions a.btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}

/* Moderate desktop widths: reclaim additional book-column space before resorting to stacked rows. */
@media(max-width:1280px) and (min-width:901px){
  #collection .v414-collection-table col.cover{width:92px!important}
  #collection .v414-collection-table col.book{width:20%!important}
  #collection .v414-collection-table col.grade{width:7%!important}
  #collection .v414-collection-table col.purchase{width:7%!important}
  #collection .v414-collection-table col.suggest{width:10%!important}
  #collection .v414-collection-table col.market{width:11%!important}
  #collection .v414-collection-table col.pl{width:7%!important}
  #collection .v414-collection-table col.actions{width:220px!important}
  #collection .v414-collection-table .v412-actions .btn{padding:6px 6px!important;font-size:9px!important}
}
