/* Mobile fix: long set names from Browse List should not push the page off screen.
   Keep the set name on one line, but shrink it until it fits. */
@media (max-width: 780px){
  html,
  body{
    max-width:100% !important;
    overflow-x:hidden !important;
  }

  .ccc-set-overview-wrap,
  .ccc-set-overview-card,
  .ccc-set-overview-card .mc-profile-row,
  .ccc-set-overview-card .mc-profile-left{
    min-width:0 !important;
    max-width:100% !important;
  }

  .ccc-set-overview-card .mc-profile-row{
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    width:100% !important;
  }

  .ccc-set-overview-card .mc-profile-left{
    flex:1 1 auto !important;
    overflow:hidden !important;
  }

  .ccc-set-overview-card .mc-cuts-pill{
    flex:0 0 auto !important;
  }

  .ccc-set-overview-card .mc-profile-name{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    white-space:nowrap !important;
    overflow:visible !important;
    text-overflow:clip !important;
    overflow-wrap:normal !important;
    word-break:normal !important;
    line-height:1.05 !important;
    letter-spacing:0 !important;
    transform-origin:left center !important;
  }
}
