.mp2rg-float{
    position: fixed;
    right: 16px;
    /* bottom: 96px; */
    bottom: 120px;
    z-index: 999999;
    border: 0;
    border-radius: 999px;
    padding: 12px 14px;
    font: inherit;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
    background: #111;
    color: #fff;
    display: inline-flex;
    gap: 8px;
    align-items: center;
  }
  .mp2rg-float.is-hidden{ display:none; }
  
  .mp2rg-backdrop{
    position: fixed; inset: 0;
    background: rgba(0,0,0,.35);
    z-index: 999998;
    opacity: 0;
    transition: opacity .15s ease;
  }
  .mp2rg-backdrop.is-on{ opacity: 1; }
  
  .mp2rg-modal{
    position: fixed;
    left: 50%; top: 50%;
    transform: translate(-50%, -48%) scale(.98);
    width: min(680px, calc(100vw - 24px));
    max-height: min(82vh, 740px);
    overflow: auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,.28);
    z-index: 999999;
    opacity: 0;
    transition: opacity .15s ease, transform .15s ease;
  }
  .mp2rg-modal.is-on{
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  
  .mp2rg-modal__head{
    position: sticky; top: 0;
    background: #fff;
    display:flex; align-items:center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(0,0,0,.08);
  }
  .mp2rg-modal__title{ font-weight: 700; font-size: 16px; }
  .mp2rg-x{
    border:0; background:transparent; cursor:pointer;
    font-size: 18px; line-height: 1;
    padding: 6px 10px;
    border-radius: 10px;
  }
  .mp2rg-modal__sub{
    padding: 10px 16px 0 16px;
    color: rgba(0,0,0,.72);
    font-size: 13px;
  }
  .mp2rg-modal__body{ padding: 12px 16px 4px 16px; }
  .mp2rg-loading{ padding: 14px 0; }
  .mp2rg-error{
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(220, 38, 38, .08);
    color: #991b1b;
  }
  .mp2rg-empty{ padding: 12px 0; color: rgba(0,0,0,.7); }
  
  .mp2rg-group{ padding: 10px 0 6px 0; }
  .mp2rg-group__title{
    font-weight: 700;
    margin: 4px 0 8px 0;
  }
  .mp2rg-list{ margin: 0; padding: 0; list-style: none; }
  .mp2rg-item{
    display:flex; gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(0,0,0,.08);
  }
  .mp2rg-item__check{ opacity: .65; }
  .mp2rg-item__text b{ font-weight: 700; }
  
  .mp2rg-modal__foot{
    position: sticky; bottom: 0;
    background: #fff;
    padding: 12px 16px;
    display:flex; align-items:center; gap: 10px;
    border-top: 1px solid rgba(0,0,0,.08);
  }
  .mp2rg-spacer{ flex: 1; }
  
  .mp2rg-btn{
    border: 0;
    border-radius: 12px;
    padding: 10px 12px;
    font: inherit;
    cursor: pointer;
  }
  .mp2rg-btn--ghost{
    background: rgba(0,0,0,.06);
  }
  .mp2rg-btn--primary{
    background: #111;
    color: #fff;
  }


  .mp2rg-inline{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 14px 0;
    padding: 10px 12px;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 12px;
    background: rgba(0,0,0,.04);
    color: inherit;
    cursor: pointer;
    font: inherit;
  }
  .mp2rg-inline:hover{
    background: rgba(0,0,0,.06);
  }
  .mp2rg-inline span{
    font-weight: 700;
  }