/* VF_RECEIVE_MOBILE_SELECTORS_V6
   Mobile-only custom asset/network selectors.
   Existing <select> elements remain the source of truth. */

@media(min-width:931px){
  #vfReceiveAssetPickerV6,
  #vfReceiveNetworkPickerV6,
  #vfReceiveSelectorSheetV6{
    display:none !important;
  }
}

@media(max-width:930px){
  body[data-section="receive"].vf-rx-v6-ready
  select[data-vf-rx-v6-role]{
    position:absolute !important;
    width:1px !important;
    height:1px !important;
    min-width:1px !important;
    max-width:1px !important;
    overflow:hidden !important;
    opacity:0 !important;
    pointer-events:none !important;
    clip:rect(0 0 0 0) !important;
    clip-path:inset(50%) !important;
    border:0 !important;
    padding:0 !important;
    margin:0 !important;
  }

  body[data-section="receive"] .vf-rx-v6-host{
    min-width:0 !important;
    width:100% !important;
    max-width:100% !important;
  }

  body[data-section="receive"] #vfReceiveAssetPickerV6,
  body[data-section="receive"] #vfReceiveNetworkPickerV6{
    display:flex !important;
  }
}

.vf-rx-v6-trigger{
  width:100%;
  min-height:68px;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  border:1px solid rgba(47,63,102,.12);
  border-radius:16px;
  color:#162036;
  background:linear-gradient(145deg,#fff,#f7f9fd);
  box-shadow:0 9px 24px rgba(36,49,84,.06);
  text-align:left;
  cursor:pointer;
}

.vf-rx-v6-trigger-main{
  min-width:0;
  display:flex;
  align-items:center;
  gap:11px;
}

.vf-rx-v6-logo{
  width:44px;
  height:44px;
  flex:0 0 44px;
  display:block;
  border-radius:50%;
  background:#fff;
  box-shadow:0 7px 16px rgba(35,48,84,.11);
}

.vf-rx-v6-copy{
  min-width:0;
}

.vf-rx-v6-copy strong{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#142038;
  font-size:14px;
  font-weight:950;
  letter-spacing:-.02em;
}

.vf-rx-v6-copy small{
  display:block;
  margin-top:4px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#7b869b;
  font-size:10px;
  font-weight:750;
}

.vf-rx-v6-chevron{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  flex:0 0 34px;
  border-radius:11px;
  color:#645ad4;
  background:rgba(101,90,213,.07);
  font-size:18px;
}

#vfReceiveSelectorSheetV6{
  position:fixed;
  z-index:2147483600;
  inset:0;
  display:none;
  align-items:flex-end;
  justify-content:center;
  background:rgba(11,18,35,.39);
  -webkit-backdrop-filter:blur(6px);
  backdrop-filter:blur(6px);
}

#vfReceiveSelectorSheetV6.open{
  display:flex;
}

#vfReceiveSelectorSheetV6 .vf-rx-v6-sheet{
  width:100%;
  max-height:min(82dvh,760px);
  display:flex;
  flex-direction:column;
  overflow:hidden;
  padding:10px 12px max(14px,env(safe-area-inset-bottom));
  border:1px solid rgba(255,255,255,.88);
  border-radius:24px 24px 0 0;
  background:rgba(250,251,254,.99);
  box-shadow:0 -24px 70px rgba(24,34,67,.24);
  animation:vfRxV6In .2s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes vfRxV6In{
  from{transform:translateY(18px);opacity:.72}
  to{transform:none;opacity:1}
}

#vfReceiveSelectorSheetV6 .vf-rx-v6-grab{
  width:42px;
  height:4px;
  margin:1px auto 10px;
  border-radius:999px;
  background:#d6dae4;
}

#vfReceiveSelectorSheetV6 .vf-rx-v6-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:3px 3px 10px;
}

#vfReceiveSelectorSheetV6 .vf-rx-v6-head h2{
  margin:0;
  color:#121b30;
  font-size:20px;
  font-weight:950;
  letter-spacing:-.035em;
}

#vfReceiveSelectorSheetV6 .vf-rx-v6-head p{
  margin:3px 0 0;
  color:#808a9e;
  font-size:10px;
  line-height:1.4;
}

#vfReceiveSelectorSheetV6 .vf-rx-v6-close{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border:1px solid rgba(47,63,102,.09);
  border-radius:12px;
  color:#667189;
  background:#fff;
  font-size:22px;
  cursor:pointer;
}

#vfReceiveSelectorSheetV6 .vf-rx-v6-search-wrap{
  padding:0 2px 10px;
}

#vfReceiveSelectorSheetV6 .vf-rx-v6-search{
  width:100%;
  height:48px;
  padding:0 14px;
  border:1px solid rgba(47,63,102,.11);
  border-radius:14px;
  outline:0;
  color:#172137;
  background:#f5f7fb;
  font:750 16px/1 Inter,Arial,sans-serif;
}

#vfReceiveSelectorSheetV6 .vf-rx-v6-list{
  flex:1;
  min-height:0;
  overflow-y:auto;
  padding:2px;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  touch-action:pan-y;
}

#vfReceiveSelectorSheetV6 .vf-rx-v6-row{
  width:100%;
  min-height:74px;
  display:grid;
  grid-template-columns:46px minmax(0,1fr) auto;
  align-items:center;
  gap:11px;
  padding:10px 9px;
  margin-bottom:5px;
  border:1px solid rgba(50,65,101,.075);
  border-radius:16px;
  color:#172137;
  background:#fff;
  box-shadow:0 5px 16px rgba(35,48,84,.04);
  text-align:left;
  cursor:pointer;
}

#vfReceiveSelectorSheetV6 .vf-rx-v6-row.selected{
  border-color:rgba(101,88,218,.22);
  background:linear-gradient(145deg,rgba(240,250,252,.94),rgba(246,241,255,.95));
  box-shadow:0 0 0 3px rgba(101,88,218,.045);
}

#vfReceiveSelectorSheetV6 .vf-rx-v6-row:disabled{
  opacity:.48;
  cursor:not-allowed;
}

#vfReceiveSelectorSheetV6 .vf-rx-v6-row-logo{
  width:44px;
  height:44px;
  display:block;
  border-radius:50%;
  background:#fff;
  box-shadow:0 7px 15px rgba(35,48,84,.10);
}

#vfReceiveSelectorSheetV6 .vf-rx-v6-row-main{
  min-width:0;
}

#vfReceiveSelectorSheetV6 .vf-rx-v6-row-main strong{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#172137;
  font-size:14px;
  font-weight:950;
}

#vfReceiveSelectorSheetV6 .vf-rx-v6-meta{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  margin-top:5px;
}

#vfReceiveSelectorSheetV6 .vf-rx-v6-badge{
  display:inline-flex;
  align-items:center;
  min-height:21px;
  padding:3px 7px;
  border-radius:999px;
  color:#5f6981;
  background:#f0f3f8;
  font-size:9px;
  font-weight:900;
}

#vfReceiveSelectorSheetV6 .vf-rx-v6-check{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#fff;
  background:linear-gradient(145deg,#59c6d4,#7b62e3);
  font-size:12px;
  opacity:0;
}

#vfReceiveSelectorSheetV6 .vf-rx-v6-row.selected .vf-rx-v6-check{
  opacity:1;
}

#vfReceiveSelectorSheetV6 .vf-rx-v6-empty{
  padding:34px 18px;
  color:#7d879b;
  text-align:center;
  font-size:12px;
}

html.vf-rx-v6-lock,
body.vf-rx-v6-lock{
  overflow:hidden !important;
  height:100% !important;
  touch-action:none !important;
}

@media(min-width:700px) and (max-width:930px){
  #vfReceiveSelectorSheetV6{
    align-items:center;
    padding:18px;
  }

  #vfReceiveSelectorSheetV6 .vf-rx-v6-sheet{
    max-width:620px;
    border-radius:24px;
  }
}
